]> git.saurik.com Git - wxWidgets.git/blob - configure
call SetCanFocus(false) to prevent the control window itself from getting focus,...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47342 2007-07-11 20:52:41Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.9.0'
274 PACKAGE_STRING='wxWidgets 2.9.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os wx_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS CFLAGS_VISIBILITY CXXFLAGS_VISIBILITY REZ DEREZ SETFILE LIBICONV SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS ALL_WX_LIBS BUILT_WX_LIBS STD_BASE_LIBS STD_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS CXXWARNINGS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET AROPTIONS NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING BK_DEPS GCC_PCH ICC_PCH BK_MAKE_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_STC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_STC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_AUI_1 COND_MONOLITHIC_0_USE_GUI_1 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_HTML_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_0_USE_QA_1 COND_MONOLITHIC_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_USE_STC_1 COND_MONOLITHIC_0_USE_XRC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_TOOLKIT_MGL COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_STC_1 COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_USE_OPENGL_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_STC_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
786 ac_env_PKG_CONFIG_value=$PKG_CONFIG
787 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
788 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
789 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
790 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
791 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
792 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
793 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
794 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
795 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
796 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
797 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
798 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
799 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
800 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
801 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
802 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
803 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
804 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
805 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
806 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
807 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
808 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
809 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
810 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
811 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
812 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
813 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
814 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
815 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
816 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
817 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
818 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
819 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
820 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
821 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
822 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
823 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
824 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
825 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
826 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
827 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
829 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
830 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
831 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
832 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
833 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
834 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
835 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
836 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
837 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
838 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
839 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
840 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
841 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
842 ac_env_HILDON_LIBS_value=$HILDON_LIBS
843 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
844 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
845 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
846 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
847 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
848 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
849 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
850 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
851 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
852 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
853 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
854 ac_env_GST_CFLAGS_value=$GST_CFLAGS
855 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
856 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
857 ac_env_GST_LIBS_set=${GST_LIBS+set}
858 ac_env_GST_LIBS_value=$GST_LIBS
859 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
860 ac_cv_env_GST_LIBS_value=$GST_LIBS
861
862 #
863 # Report the --help message.
864 #
865 if test "$ac_init_help" = "long"; then
866 # Omit some internal or obsolete options to make the list less imposing.
867 # This message is too long to be a string in the A/UX 3.1 sh.
868 cat <<_ACEOF
869 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
870
871 Usage: $0 [OPTION]... [VAR=VALUE]...
872
873 To assign environment variables (e.g., CC, CFLAGS...), specify them as
874 VAR=VALUE. See below for descriptions of some of the useful variables.
875
876 Defaults for the options are specified in brackets.
877
878 Configuration:
879 -h, --help display this help and exit
880 --help=short display options specific to this package
881 --help=recursive display the short help of all the included packages
882 -V, --version display version information and exit
883 -q, --quiet, --silent do not print \`checking...' messages
884 --cache-file=FILE cache test results in FILE [disabled]
885 -C, --config-cache alias for \`--cache-file=config.cache'
886 -n, --no-create do not create output files
887 --srcdir=DIR find the sources in DIR [configure dir or \`..']
888
889 _ACEOF
890
891 cat <<_ACEOF
892 Installation directories:
893 --prefix=PREFIX install architecture-independent files in PREFIX
894 [$ac_default_prefix]
895 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
896 [PREFIX]
897
898 By default, \`make install' will install all the files in
899 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
900 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
901 for instance \`--prefix=\$HOME'.
902
903 For better control, use the options below.
904
905 Fine tuning of the installation directories:
906 --bindir=DIR user executables [EPREFIX/bin]
907 --sbindir=DIR system admin executables [EPREFIX/sbin]
908 --libexecdir=DIR program executables [EPREFIX/libexec]
909 --datadir=DIR read-only architecture-independent data [PREFIX/share]
910 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
911 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
912 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
913 --libdir=DIR object code libraries [EPREFIX/lib]
914 --includedir=DIR C header files [PREFIX/include]
915 --oldincludedir=DIR C header files for non-gcc [/usr/include]
916 --infodir=DIR info documentation [PREFIX/info]
917 --mandir=DIR man documentation [PREFIX/man]
918 _ACEOF
919
920 cat <<\_ACEOF
921
922 X features:
923 --x-includes=DIR X include files are in DIR
924 --x-libraries=DIR X library files are in DIR
925
926 System types:
927 --build=BUILD configure for building on BUILD [guessed]
928 --host=HOST cross-compile to build programs to run on HOST [BUILD]
929 --target=TARGET configure for building compilers for TARGET [HOST]
930 _ACEOF
931 fi
932
933 if test -n "$ac_init_help"; then
934 case $ac_init_help in
935 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
936 esac
937 cat <<\_ACEOF
938
939 Optional Features:
940 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
941 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
942 --disable-gui don't build GUI parts of the library
943 --enable-monolithic build wxWidgets as single library
944 --enable-plugins build parts of wxWidgets as loadable components
945 --enable-official_build official build of wxWidgets (win32 DLL only)
946 --enable-vendor=VENDOR vendor name (win32 DLL only)
947 --disable-all_features disable all optional features to build minimal library
948 --enable-universal use wxWidgets GUI controls instead of native ones
949 --enable-nanox use NanoX
950 --disable-gtk2 use GTK+ 1.2 instead of 2.0
951 --enable-gpe use GNOME PDA Environment features if possible
952 --disable-shared create static library instead of shared
953 --enable-optimise create optimised code
954 --enable-debug same as debug_flag and debug_info
955 --enable-stl use STL for containers
956 --enable-std_iostreams use standard C++ stream classes
957 --enable-std_string use standard C++ string classes
958 --disable-unicode compile without Unicode support
959 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
960 --enable-utf8 use UTF-8 representation for strings (Unix only)
961 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
962 --enable-extended_rtti use extended RTTI (XTI)
963 --enable-omf use OMF object format
964 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
965 --enable-debug_info create code with debugging information
966 --enable-debug_gdb create code with extra GDB debugging information
967 --enable-debug_cntxt use wxDebugContext
968 --enable-mem_tracing create code with memory tracing
969 --enable-profile create code with profiling information
970 --enable-no_rtti create code without RTTI information
971 --enable-no_exceptions create code without C++ exceptions handling
972 --enable-permissive compile code disregarding strict ANSI
973 --enable-no_deps create code without dependency information
974 --disable-vararg_macros don't use vararg macros, even if they are supported
975 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
976 --enable-compat26 enable wxWidgets 2.6 compatibility
977 --disable-compat28 disable wxWidgets 2.8 compatibility
978 --disable-rpath disable use of rpath for uninstalled builds
979 --enable-objc_uniquifying enable Objective-C class name uniquifying
980 --enable-intl use internationalization system
981 --enable-config use wxConfig (and derived) classes
982 --enable-protocols use wxProtocol and derived classes
983 --enable-ftp use wxFTP (requires wxProtocol
984 --enable-http use wxHTTP (requires wxProtocol
985 --enable-fileproto use wxFileProto class (requires wxProtocol
986 --enable-sockets use socket/network classes
987 --enable-ole use OLE classes (Win32 only)
988 --enable-dataobj use data object classes
989 --enable-ipc use interprocess communication (wxSocket etc.)
990 --enable-apple_ieee use the Apple IEEE codec
991 --enable-arcstream use wxArchive streams
992 --enable-base64 use base64 encoding/decoding functions
993 --enable-backtrace use wxStackWalker class for getting backtraces
994 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
995 --enable-cmdline use wxCmdLineParser class
996 --enable-datetime use wxDateTime class
997 --enable-debugreport use wxDebugReport class
998 --enable-dialupman use dialup network classes
999 --enable-dynlib use wxLibrary class for DLL loading
1000 --enable-dynamicloader use (new) wxDynamicLibrary class
1001 --enable-exceptions build exception-safe library
1002 --enable-ffile use wxFFile class
1003 --enable-file use wxFile class
1004 --enable-filesystem use virtual file systems classes
1005 --enable-fontmap use font encodings conversion classes
1006 --enable-fs_archive use virtual archive filesystems
1007 --enable-fs_inet use virtual HTTP/FTP filesystems
1008 --enable-fs_zip now replaced by fs_archive
1009 --enable-geometry use geometry class
1010 --enable-log use logging system
1011 --enable-longlong use wxLongLong class
1012 --enable-mimetype use wxMimeTypesManager
1013 --enable-snglinst use wxSingleInstanceChecker class
1014 --enable-stdpaths use wxStandardPaths class
1015 --enable-stopwatch use wxStopWatch class
1016 --enable-streams use wxStream etc classes
1017 --enable-sysoptions use wxSystemOptions
1018 --enable-tarstream use wxTar streams
1019 --enable-textbuf use wxTextBuffer class
1020 --enable-textfile use wxTextFile class
1021 --enable-timer use wxTimer class
1022 --enable-sound use wxSound class
1023 --enable-mediactrl use wxMediaCtrl class
1024 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1025 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1026 --enable-zipstream use wxZip streams
1027 --enable-url use wxURL class
1028 --enable-variant use wxVariant class
1029 --enable-protocol use wxProtocol class
1030 --enable-protocol-http HTTP support in wxProtocol
1031 --enable-protocol-ftp FTP support in wxProtocol
1032 --enable-protocol-file FILE support in wxProtocol
1033 --enable-threads use threads
1034 --enable-docview use document view architecture
1035 --enable-help use help subsystem
1036 --enable-mshtmlhelp use MS HTML Help (win32)
1037 --enable-html use wxHTML sub-library
1038 --enable-htmlhelp use wxHTML-based help
1039 --enable-xrc use XRC resources sub-library
1040 --enable-aui use AUI docking library
1041 --enable-stc use wxStyledTextCtrl library
1042 --enable-constraints use layout-constraints system
1043 --enable-printarch use printing architecture
1044 --enable-mdi use multiple document interface architecture
1045 --enable-mdidoc use docview architecture with MDI
1046 --enable-loggui use standard GUI logger
1047 --enable-logwin use wxLogWindow
1048 --enable-logdialog use wxLogDialog
1049 --enable-webkit use wxWebKitCtrl (Mac)
1050 --enable-richtext use wxRichTextCtrl
1051 --enable-graphics_ctx use graphics context 2D drawing API
1052 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1053 --enable-svg use wxSVGFileDC device context
1054 --enable-clipboard use wxClipboard class
1055 --enable-dnd use Drag'n'Drop classes
1056 --enable-metafile use win32 metafiles
1057 --enable-controls use all usual controls
1058 --enable-accel use accelerators
1059 --enable-animatectrl use wxAnimationCtrl class
1060 --enable-button use wxButton class
1061 --enable-bmpbutton use wxBitmapButton class
1062 --enable-bmpcombobox use wxBitmapComboBox class
1063 --enable-calendar use wxCalendarCtrl class
1064 --enable-caret use wxCaret class
1065 --enable-checkbox use wxCheckBox class
1066 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1067 --enable-choice use wxChoice class
1068 --enable-choicebook use wxChoicebook class
1069 --enable-collpane use wxCollapsiblePane class
1070 --enable-colourpicker use wxColourPickerCtrl class
1071 --enable-combobox use wxComboBox class
1072 --enable-comboctrl use wxComboCtrl class
1073 --enable-datepick use wxDatePickerCtrl class
1074 --enable-dirpicker use wxDirPickerCtrl class
1075 --enable-display use wxDisplay class
1076 --enable-detect_sm use code to detect X11 session manager
1077 --enable-editablebox use wxEditableListBox class
1078 --enable-filepicker use wxFilePickerCtrl class
1079 --enable-fontpicker use wxFontPickerCtrl class
1080 --enable-gauge use wxGauge class
1081 --enable-grid use wxGrid class
1082 --enable-dataviewctrl use wxDataViewCtrl class
1083 --enable-hyperlink use wxHyperlinkCtrl class
1084 --enable-imaglist use wxImageList class
1085 --enable-listbook use wxListbook class
1086 --enable-listbox use wxListBox class
1087 --enable-listctrl use wxListCtrl class
1088 --enable-notebook use wxNotebook class
1089 --enable-odcombobox use wxOwnerDrawnComboBox class
1090 --enable-radiobox use wxRadioBox class
1091 --enable-radiobtn use wxRadioButton class
1092 --enable-sash use wxSashWindow class
1093 --enable-scrollbar use wxScrollBar class and scrollable windows
1094 --enable-searchctrl use wxSearchCtrl class
1095 --enable-slider use wxSlider class
1096 --enable-spinbtn use wxSpinButton class
1097 --enable-spinctrl use wxSpinCtrl class
1098 --enable-splitter use wxSplitterWindow class
1099 --enable-statbmp use wxStaticBitmap class
1100 --enable-statbox use wxStaticBox class
1101 --enable-statline use wxStaticLine class
1102 --enable-stattext use wxStaticText class
1103 --enable-statusbar use wxStatusBar class
1104 --enable-tabdialog use wxTabControl class
1105 --enable-textctrl use wxTextCtrl class
1106 --enable-togglebtn use wxToggleButton class
1107 --enable-toolbar use wxToolBar class
1108 --enable-tbarnative use native wxToolBar class
1109 --enable-treebook use wxTreebook class
1110 --enable-toolbook use wxToolbook class
1111 --enable-treectrl use wxTreeCtrl class
1112 --enable-tipwindow use wxTipWindow class
1113 --enable-popupwin use wxPopUpWindow class
1114 --enable-commondlg use all common dialogs
1115 --enable-aboutdlg use wxAboutBox
1116 --enable-choicedlg use wxChoiceDialog
1117 --enable-coldlg use wxColourDialog
1118 --enable-filedlg use wxFileDialog
1119 --enable-finddlg use wxFindReplaceDialog
1120 --enable-fontdlg use wxFontDialog
1121 --enable-dirdlg use wxDirDialog
1122 --enable-msgdlg use wxMessageDialog
1123 --enable-numberdlg use wxNumberEntryDialog
1124 --enable-splash use wxSplashScreen
1125 --enable-textdlg use wxTextDialog
1126 --enable-tipdlg use startup tips
1127 --enable-progressdlg use wxProgressDialog
1128 --enable-wizarddlg use wxWizard
1129 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1130 --enable-miniframe use wxMiniFrame class
1131 --enable-tooltips use wxToolTip class
1132 --enable-splines use spline drawing code
1133 --enable-mousewheel use mousewheel
1134 --enable-validators use wxValidator and derived classes
1135 --enable-busyinfo use wxBusyInfo
1136 --enable-joystick use wxJoystick
1137 --enable-metafiles use wxMetaFile (Win32 only)
1138 --enable-dragimage use wxDragImage
1139 --enable-accessibility enable accessibility support
1140 --enable-dccache cache temporary wxDC objects (Win32 only)
1141 --enable-palette use wxPalette class
1142 --enable-image use wxImage class
1143 --enable-gif use gif images (GIF file format)
1144 --enable-pcx use pcx images (PCX file format)
1145 --enable-tga use tga images (TGA file format)
1146 --enable-iff use iff images (IFF file format)
1147 --enable-pnm use pnm images (PNM file format)
1148 --enable-xpm use xpm images (XPM file format)
1149 --enable-icocur use Windows ICO and CUR formats
1150 --disable-largefile omit support for large files
1151 --disable-gtktest do not try to compile and run a test GTK+ program
1152 --disable-gtktest Do not try to compile and run a test GTK program
1153 --disable-sdltest Do not try to compile and run a test SDL program
1154 --enable-omf use OMF object format (OS/2)
1155 --disable-dependency-tracking
1156 don't use dependency tracking even if the compiler
1157 can
1158 --disable-precomp-headers
1159 don't use precompiled headers even if compiler can
1160
1161 Optional Packages:
1162 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1163 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1164 --without-subdirs don't generate makefiles for samples/demos/...
1165 --with-flavour=NAME specify a name to identify this build
1166 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1167 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1168 --with-motif use Motif/Lesstif
1169 --with-mac use Mac OS X
1170 --with-cocoa use Cocoa
1171 --with-wine use Wine
1172 --with-msw use MS-Windows
1173 --with-pm use OS/2 Presentation Manager
1174 --with-mgl use SciTech MGL
1175 --with-directfb use DirectFB
1176 --with-microwin use MicroWindows
1177 --with-x11 use X11
1178 --with-libpng use libpng (PNG image format)
1179 --with-libjpeg use libjpeg (JPEG file format)
1180 --with-libtiff use libtiff (TIFF file format)
1181 --with-libxpm use libxpm (XPM file format)
1182 --with-libmspack use libmspack (CHM help files loading)
1183 --with-sdl use SDL for audio on Unix
1184 --without-gnomeprint don't use GNOME printing libraries
1185 --with-gnomevfs use GNOME VFS for associating MIME types
1186 --with-hildon use Hildon framework for Nokia 770
1187 --with-opengl use OpenGL (or Mesa)
1188 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1189 --with-regex enable support for wxRegEx class
1190 --with-zlib use zlib for LZW compression
1191 --with-odbc use the IODBC and wxODBC classes
1192 --with-expat enable XML support using expat parser
1193 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1194 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1195 --with-x use the X Window System
1196 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1197 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1198 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1199 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1200 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1201
1202 Some influential environment variables:
1203 CC C compiler command
1204 CFLAGS C compiler flags
1205 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1206 nonstandard directory <lib dir>
1207 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1208 headers in a nonstandard directory <include dir>
1209 CPP C preprocessor
1210 CXX C++ compiler command
1211 CXXFLAGS C++ compiler flags
1212 PKG_CONFIG path to pkg-config utility
1213 DIRECTFB_CFLAGS
1214 C compiler flags for DIRECTFB, overriding pkg-config
1215 DIRECTFB_LIBS
1216 linker flags for DIRECTFB, overriding pkg-config
1217 PANGOX_CFLAGS
1218 C compiler flags for PANGOX, overriding pkg-config
1219 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1220 PANGOFT2_CFLAGS
1221 C compiler flags for PANGOFT2, overriding pkg-config
1222 PANGOFT2_LIBS
1223 linker flags for PANGOFT2, overriding pkg-config
1224 PANGOXFT_CFLAGS
1225 C compiler flags for PANGOXFT, overriding pkg-config
1226 PANGOXFT_LIBS
1227 linker flags for PANGOXFT, overriding pkg-config
1228 LIBGNOMEPRINTUI_CFLAGS
1229 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1230 LIBGNOMEPRINTUI_LIBS
1231 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1232 GNOMEVFS_CFLAGS
1233 C compiler flags for GNOMEVFS, overriding pkg-config
1234 GNOMEVFS_LIBS
1235 linker flags for GNOMEVFS, overriding pkg-config
1236 HILDON_CFLAGS
1237 C compiler flags for HILDON, overriding pkg-config
1238 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1239 CAIRO_CFLAGS
1240 C compiler flags for CAIRO, overriding pkg-config
1241 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1242 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1243 GST_LIBS linker flags for GST, overriding pkg-config
1244
1245 Use these variables to override the choices made by `configure' or to help
1246 it to find libraries and programs with nonstandard names/locations.
1247
1248 Report bugs to <wx-dev@lists.wxwidgets.org>.
1249 _ACEOF
1250 fi
1251
1252 if test "$ac_init_help" = "recursive"; then
1253 # If there are subdirs, report their specific --help.
1254 ac_popdir=`pwd`
1255 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1256 test -d $ac_dir || continue
1257 ac_builddir=.
1258
1259 if test "$ac_dir" != .; then
1260 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1261 # A "../" for each directory in $ac_dir_suffix.
1262 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1263 else
1264 ac_dir_suffix= ac_top_builddir=
1265 fi
1266
1267 case $srcdir in
1268 .) # No --srcdir option. We are building in place.
1269 ac_srcdir=.
1270 if test -z "$ac_top_builddir"; then
1271 ac_top_srcdir=.
1272 else
1273 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1274 fi ;;
1275 [\\/]* | ?:[\\/]* ) # Absolute path.
1276 ac_srcdir=$srcdir$ac_dir_suffix;
1277 ac_top_srcdir=$srcdir ;;
1278 *) # Relative path.
1279 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1280 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1281 esac
1282
1283 # Do not use `cd foo && pwd` to compute absolute paths, because
1284 # the directories may not exist.
1285 case `pwd` in
1286 .) ac_abs_builddir="$ac_dir";;
1287 *)
1288 case "$ac_dir" in
1289 .) ac_abs_builddir=`pwd`;;
1290 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1291 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1292 esac;;
1293 esac
1294 case $ac_abs_builddir in
1295 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *)
1297 case ${ac_top_builddir}. in
1298 .) ac_abs_top_builddir=$ac_abs_builddir;;
1299 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1300 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1301 esac;;
1302 esac
1303 case $ac_abs_builddir in
1304 .) ac_abs_srcdir=$ac_srcdir;;
1305 *)
1306 case $ac_srcdir in
1307 .) ac_abs_srcdir=$ac_abs_builddir;;
1308 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1309 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1310 esac;;
1311 esac
1312 case $ac_abs_builddir in
1313 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *)
1315 case $ac_top_srcdir in
1316 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1317 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1318 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1319 esac;;
1320 esac
1321
1322 cd $ac_dir
1323 # Check for guested configure; otherwise get Cygnus style configure.
1324 if test -f $ac_srcdir/configure.gnu; then
1325 echo
1326 $SHELL $ac_srcdir/configure.gnu --help=recursive
1327 elif test -f $ac_srcdir/configure; then
1328 echo
1329 $SHELL $ac_srcdir/configure --help=recursive
1330 elif test -f $ac_srcdir/configure.ac ||
1331 test -f $ac_srcdir/configure.in; then
1332 echo
1333 $ac_configure --help
1334 else
1335 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 fi
1337 cd "$ac_popdir"
1338 done
1339 fi
1340
1341 test -n "$ac_init_help" && exit 0
1342 if $ac_init_version; then
1343 cat <<\_ACEOF
1344 wxWidgets configure 2.9.0
1345 generated by GNU Autoconf 2.59
1346
1347 Copyright (C) 2003 Free Software Foundation, Inc.
1348 This configure script is free software; the Free Software Foundation
1349 gives unlimited permission to copy, distribute and modify it.
1350 _ACEOF
1351 exit 0
1352 fi
1353 exec 5>config.log
1354 cat >&5 <<_ACEOF
1355 This file contains any messages produced by compilers while
1356 running configure, to aid debugging if configure makes a mistake.
1357
1358 It was created by wxWidgets $as_me 2.9.0, which was
1359 generated by GNU Autoconf 2.59. Invocation command line was
1360
1361 $ $0 $@
1362
1363 _ACEOF
1364 {
1365 cat <<_ASUNAME
1366 ## --------- ##
1367 ## Platform. ##
1368 ## --------- ##
1369
1370 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1371 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1372 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1373 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1374 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1375
1376 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1377 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1378
1379 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1380 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1381 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1382 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1383 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1384 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1385 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1386
1387 _ASUNAME
1388
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1390 for as_dir in $PATH
1391 do
1392 IFS=$as_save_IFS
1393 test -z "$as_dir" && as_dir=.
1394 echo "PATH: $as_dir"
1395 done
1396
1397 } >&5
1398
1399 cat >&5 <<_ACEOF
1400
1401
1402 ## ----------- ##
1403 ## Core tests. ##
1404 ## ----------- ##
1405
1406 _ACEOF
1407
1408
1409 # Keep a trace of the command line.
1410 # Strip out --no-create and --no-recursion so they do not pile up.
1411 # Strip out --silent because we don't want to record it for future runs.
1412 # Also quote any args containing shell meta-characters.
1413 # Make two passes to allow for proper duplicate-argument suppression.
1414 ac_configure_args=
1415 ac_configure_args0=
1416 ac_configure_args1=
1417 ac_sep=
1418 ac_must_keep_next=false
1419 for ac_pass in 1 2
1420 do
1421 for ac_arg
1422 do
1423 case $ac_arg in
1424 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1425 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1426 | -silent | --silent | --silen | --sile | --sil)
1427 continue ;;
1428 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1429 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1430 esac
1431 case $ac_pass in
1432 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1433 2)
1434 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1435 if test $ac_must_keep_next = true; then
1436 ac_must_keep_next=false # Got value, back to normal.
1437 else
1438 case $ac_arg in
1439 *=* | --config-cache | -C | -disable-* | --disable-* \
1440 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1441 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1442 | -with-* | --with-* | -without-* | --without-* | --x)
1443 case "$ac_configure_args0 " in
1444 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1445 esac
1446 ;;
1447 -* ) ac_must_keep_next=true ;;
1448 esac
1449 fi
1450 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1451 # Get rid of the leading space.
1452 ac_sep=" "
1453 ;;
1454 esac
1455 done
1456 done
1457 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1458 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1459
1460 # When interrupted or exit'd, cleanup temporary files, and complete
1461 # config.log. We remove comments because anyway the quotes in there
1462 # would cause problems or look ugly.
1463 # WARNING: Be sure not to use single quotes in there, as some shells,
1464 # such as our DU 5.0 friend, will then `close' the trap.
1465 trap 'exit_status=$?
1466 # Save into config.log some information that might help in debugging.
1467 {
1468 echo
1469
1470 cat <<\_ASBOX
1471 ## ---------------- ##
1472 ## Cache variables. ##
1473 ## ---------------- ##
1474 _ASBOX
1475 echo
1476 # The following way of writing the cache mishandles newlines in values,
1477 {
1478 (set) 2>&1 |
1479 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1480 *ac_space=\ *)
1481 sed -n \
1482 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1484 ;;
1485 *)
1486 sed -n \
1487 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1488 ;;
1489 esac;
1490 }
1491 echo
1492
1493 cat <<\_ASBOX
1494 ## ----------------- ##
1495 ## Output variables. ##
1496 ## ----------------- ##
1497 _ASBOX
1498 echo
1499 for ac_var in $ac_subst_vars
1500 do
1501 eval ac_val=$`echo $ac_var`
1502 echo "$ac_var='"'"'$ac_val'"'"'"
1503 done | sort
1504 echo
1505
1506 if test -n "$ac_subst_files"; then
1507 cat <<\_ASBOX
1508 ## ------------- ##
1509 ## Output files. ##
1510 ## ------------- ##
1511 _ASBOX
1512 echo
1513 for ac_var in $ac_subst_files
1514 do
1515 eval ac_val=$`echo $ac_var`
1516 echo "$ac_var='"'"'$ac_val'"'"'"
1517 done | sort
1518 echo
1519 fi
1520
1521 if test -s confdefs.h; then
1522 cat <<\_ASBOX
1523 ## ----------- ##
1524 ## confdefs.h. ##
1525 ## ----------- ##
1526 _ASBOX
1527 echo
1528 sed "/^$/d" confdefs.h | sort
1529 echo
1530 fi
1531 test "$ac_signal" != 0 &&
1532 echo "$as_me: caught signal $ac_signal"
1533 echo "$as_me: exit $exit_status"
1534 } >&5
1535 rm -f core *.core &&
1536 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1537 exit $exit_status
1538 ' 0
1539 for ac_signal in 1 2 13 15; do
1540 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1541 done
1542 ac_signal=0
1543
1544 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1545 rm -rf conftest* confdefs.h
1546 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1547 echo >confdefs.h
1548
1549 # Predefined preprocessor variables.
1550
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_NAME "$PACKAGE_NAME"
1553 _ACEOF
1554
1555
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1558 _ACEOF
1559
1560
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1563 _ACEOF
1564
1565
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_STRING "$PACKAGE_STRING"
1568 _ACEOF
1569
1570
1571 cat >>confdefs.h <<_ACEOF
1572 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1573 _ACEOF
1574
1575
1576 # Let the site file select an alternate cache file if it wants to.
1577 # Prefer explicitly selected file to automatically selected ones.
1578 if test -z "$CONFIG_SITE"; then
1579 if test "x$prefix" != xNONE; then
1580 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1581 else
1582 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1583 fi
1584 fi
1585 for ac_site_file in $CONFIG_SITE; do
1586 if test -r "$ac_site_file"; then
1587 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1588 echo "$as_me: loading site script $ac_site_file" >&6;}
1589 sed 's/^/| /' "$ac_site_file" >&5
1590 . "$ac_site_file"
1591 fi
1592 done
1593
1594 if test -r "$cache_file"; then
1595 # Some versions of bash will fail to source /dev/null (special
1596 # files actually), so we avoid doing that.
1597 if test -f "$cache_file"; then
1598 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1599 echo "$as_me: loading cache $cache_file" >&6;}
1600 case $cache_file in
1601 [\\/]* | ?:[\\/]* ) . $cache_file;;
1602 *) . ./$cache_file;;
1603 esac
1604 fi
1605 else
1606 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1607 echo "$as_me: creating cache $cache_file" >&6;}
1608 >$cache_file
1609 fi
1610
1611 # Check that the precious variables saved in the cache have kept the same
1612 # value.
1613 ac_cache_corrupted=false
1614 for ac_var in `(set) 2>&1 |
1615 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1616 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1617 eval ac_new_set=\$ac_env_${ac_var}_set
1618 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1619 eval ac_new_val="\$ac_env_${ac_var}_value"
1620 case $ac_old_set,$ac_new_set in
1621 set,)
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,set)
1626 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1627 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1628 ac_cache_corrupted=: ;;
1629 ,);;
1630 *)
1631 if test "x$ac_old_val" != "x$ac_new_val"; then
1632 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1633 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1634 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1635 echo "$as_me: former value: $ac_old_val" >&2;}
1636 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1637 echo "$as_me: current value: $ac_new_val" >&2;}
1638 ac_cache_corrupted=:
1639 fi;;
1640 esac
1641 # Pass precious variables to config.status.
1642 if test "$ac_new_set" = set; then
1643 case $ac_new_val in
1644 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1645 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1646 *) ac_arg=$ac_var=$ac_new_val ;;
1647 esac
1648 case " $ac_configure_args " in
1649 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1650 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1651 esac
1652 fi
1653 done
1654 if $ac_cache_corrupted; then
1655 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1656 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1657 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1658 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1659 { (exit 1); exit 1; }; }
1660 fi
1661
1662 ac_ext=c
1663 ac_cpp='$CPP $CPPFLAGS'
1664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697 ac_aux_dir=
1698 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1699 if test -f $ac_dir/install-sh; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/install-sh -c"
1702 break
1703 elif test -f $ac_dir/install.sh; then
1704 ac_aux_dir=$ac_dir
1705 ac_install_sh="$ac_aux_dir/install.sh -c"
1706 break
1707 elif test -f $ac_dir/shtool; then
1708 ac_aux_dir=$ac_dir
1709 ac_install_sh="$ac_aux_dir/shtool install -c"
1710 break
1711 fi
1712 done
1713 if test -z "$ac_aux_dir"; then
1714 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1715 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1716 { (exit 1); exit 1; }; }
1717 fi
1718 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1719 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1720 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1721
1722 # Make sure we can run config.sub.
1723 $ac_config_sub sun4 >/dev/null 2>&1 ||
1724 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1725 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1726 { (exit 1); exit 1; }; }
1727
1728 echo "$as_me:$LINENO: checking build system type" >&5
1729 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1730 if test "${ac_cv_build+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 else
1733 ac_cv_build_alias=$build_alias
1734 test -z "$ac_cv_build_alias" &&
1735 ac_cv_build_alias=`$ac_config_guess`
1736 test -z "$ac_cv_build_alias" &&
1737 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1738 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1739 { (exit 1); exit 1; }; }
1740 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1741 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1742 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1743 { (exit 1); exit 1; }; }
1744
1745 fi
1746 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1747 echo "${ECHO_T}$ac_cv_build" >&6
1748 build=$ac_cv_build
1749 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1750 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1751 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1752
1753
1754 echo "$as_me:$LINENO: checking host system type" >&5
1755 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1756 if test "${ac_cv_host+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 else
1759 ac_cv_host_alias=$host_alias
1760 test -z "$ac_cv_host_alias" &&
1761 ac_cv_host_alias=$ac_cv_build_alias
1762 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1763 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1764 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1765 { (exit 1); exit 1; }; }
1766
1767 fi
1768 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1769 echo "${ECHO_T}$ac_cv_host" >&6
1770 host=$ac_cv_host
1771 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1772 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1773 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1774
1775
1776 echo "$as_me:$LINENO: checking target system type" >&5
1777 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1778 if test "${ac_cv_target+set}" = set; then
1779 echo $ECHO_N "(cached) $ECHO_C" >&6
1780 else
1781 ac_cv_target_alias=$target_alias
1782 test "x$ac_cv_target_alias" = "x" &&
1783 ac_cv_target_alias=$ac_cv_host_alias
1784 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1785 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1786 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1787 { (exit 1); exit 1; }; }
1788
1789 fi
1790 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1791 echo "${ECHO_T}$ac_cv_target" >&6
1792 target=$ac_cv_target
1793 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1794 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1795 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1796
1797
1798 # The aliases save the names the user supplied, while $host etc.
1799 # will get canonicalized.
1800 test -n "$target_alias" &&
1801 test "$program_prefix$program_suffix$program_transform_name" = \
1802 NONENONEs,x,x, &&
1803 program_prefix=${target_alias}-
1804
1805
1806
1807 wx_major_version_number=2
1808 wx_minor_version_number=9
1809 wx_release_number=0
1810 wx_subrelease_number=0
1811
1812 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1813 WX_VERSION=$WX_RELEASE.$wx_release_number
1814 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1815
1816 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1817
1818
1819 wx_top_builddir="`pwd`"
1820
1821
1822
1823
1824 USE_UNIX=1
1825 USE_OS2=0
1826 USE_WIN32=0
1827 USE_DOS=0
1828 USE_BEOS=0
1829 USE_MAC=0
1830
1831 USE_AIX=
1832 USE_BSD= USE_DARWIN= USE_FREEBSD=
1833 USE_GNU= USE_HPUX=
1834 USE_LINUX=
1835 USE_NETBSD=
1836 USE_OPENBSD=
1837 USE_OSF= USE_SGI=
1838 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1839 USE_ULTRIX=
1840 USE_UNIXWARE=
1841
1842 USE_ALPHA=
1843
1844 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1845
1846 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1847
1848 DEFAULT_wxUSE_COCOA=0
1849 DEFAULT_wxUSE_GTK=0
1850 DEFAULT_wxUSE_MAC=0
1851 DEFAULT_wxUSE_MGL=0
1852 DEFAULT_wxUSE_MICROWIN=0
1853 DEFAULT_wxUSE_MOTIF=0
1854 DEFAULT_wxUSE_MSW=0
1855 DEFAULT_wxUSE_PM=0
1856 DEFAULT_wxUSE_X11=0
1857 DEFAULT_wxUSE_DFB=0
1858
1859 DEFAULT_DEFAULT_wxUSE_COCOA=0
1860 DEFAULT_DEFAULT_wxUSE_GTK=0
1861 DEFAULT_DEFAULT_wxUSE_MAC=0
1862 DEFAULT_DEFAULT_wxUSE_MGL=0
1863 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1864 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1865 DEFAULT_DEFAULT_wxUSE_MSW=0
1866 DEFAULT_DEFAULT_wxUSE_PM=0
1867 DEFAULT_DEFAULT_wxUSE_X11=0
1868 DEFAULT_DEFAULT_wxUSE_DFB=0
1869
1870 PROGRAM_EXT=
1871 SO_SUFFIX=so
1872 SAMPLES_RPATH_FLAG=
1873 SAMPLES_RPATH_POSTLINK=
1874
1875 DEFAULT_STD_FLAG=yes
1876
1877 case "${host}" in
1878 *-hp-hpux* )
1879 USE_HPUX=1
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1882 SO_SUFFIX=sl
1883 cat >>confdefs.h <<\_ACEOF
1884 #define __HPUX__ 1
1885 _ACEOF
1886
1887
1888 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1889 ;;
1890 *-*-linux* )
1891 USE_LINUX=1
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __LINUX__ 1
1894 _ACEOF
1895
1896 TMP=`uname -m`
1897 if test "x$TMP" = "xalpha"; then
1898 USE_ALPHA=1
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __ALPHA__ 1
1901 _ACEOF
1902
1903 fi
1904 DEFAULT_DEFAULT_wxUSE_GTK=1
1905 ;;
1906 *-*-gnu* | *-*-k*bsd*-gnu )
1907 USE_GNU=1
1908 TMP=`uname -m`
1909 if test "x$TMP" = "xalpha"; then
1910 USE_ALPHA=1
1911 cat >>confdefs.h <<\_ACEOF
1912 #define __ALPHA__ 1
1913 _ACEOF
1914
1915 fi
1916 DEFAULT_DEFAULT_wxUSE_GTK=1
1917 ;;
1918 *-*-irix5* | *-*-irix6* )
1919 USE_SGI=1
1920 USE_SVR4=1
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __SGI__ 1
1923 _ACEOF
1924
1925 cat >>confdefs.h <<\_ACEOF
1926 #define __SVR4__ 1
1927 _ACEOF
1928
1929 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1930 ;;
1931 *-*-solaris2* )
1932 USE_SUN=1
1933 USE_SOLARIS=1
1934 USE_SVR4=1
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SUN__ 1
1937 _ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __SOLARIS__ 1
1941 _ACEOF
1942
1943 cat >>confdefs.h <<\_ACEOF
1944 #define __SVR4__ 1
1945 _ACEOF
1946
1947 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1948 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1949 ;;
1950 *-*-sunos4* )
1951 USE_SUN=1
1952 USE_SUNOS=1
1953 USE_BSD=1
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __SUN__ 1
1956 _ACEOF
1957
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __SUNOS__ 1
1960 _ACEOF
1961
1962 cat >>confdefs.h <<\_ACEOF
1963 #define __BSD__ 1
1964 _ACEOF
1965
1966 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1967 ;;
1968 *-*-freebsd*)
1969 USE_BSD=1
1970 USE_FREEBSD=1
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __FREEBSD__ 1
1973 _ACEOF
1974
1975 cat >>confdefs.h <<\_ACEOF
1976 #define __BSD__ 1
1977 _ACEOF
1978
1979 DEFAULT_DEFAULT_wxUSE_GTK=1
1980 ;;
1981 *-*-openbsd*|*-*-mirbsd*)
1982 USE_BSD=1
1983 USE_OPENBSD=1
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __OPENBSD__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __BSD__ 1
1990 _ACEOF
1991
1992 DEFAULT_DEFAULT_wxUSE_GTK=1
1993 ;;
1994 *-*-netbsd*)
1995 USE_BSD=1
1996 USE_NETBSD=1
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __NETBSD__ 1
1999 _ACEOF
2000
2001 cat >>confdefs.h <<\_ACEOF
2002 #define __BSD__ 1
2003 _ACEOF
2004
2005 DEFAULT_DEFAULT_wxUSE_GTK=1
2006 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2007
2008 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2009 ;;
2010 *-*-osf* )
2011 USE_ALPHA=1
2012 USE_OSF=1
2013 cat >>confdefs.h <<\_ACEOF
2014 #define __ALPHA__ 1
2015 _ACEOF
2016
2017 cat >>confdefs.h <<\_ACEOF
2018 #define __OSF__ 1
2019 _ACEOF
2020
2021 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2022 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2023 ;;
2024 *-*-dgux5* )
2025 USE_ALPHA=1
2026 USE_SVR4=1
2027 cat >>confdefs.h <<\_ACEOF
2028 #define __ALPHA__ 1
2029 _ACEOF
2030
2031 cat >>confdefs.h <<\_ACEOF
2032 #define __SVR4__ 1
2033 _ACEOF
2034
2035 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2036 ;;
2037 *-*-sysv5* )
2038 USE_SYSV=1
2039 USE_SVR4=1
2040 cat >>confdefs.h <<\_ACEOF
2041 #define __SYSV__ 1
2042 _ACEOF
2043
2044 cat >>confdefs.h <<\_ACEOF
2045 #define __SVR4__ 1
2046 _ACEOF
2047
2048 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2049 ;;
2050 *-*-aix* )
2051 USE_AIX=1
2052 USE_SYSV=1
2053 USE_SVR4=1
2054 SO_SUFFIX=a
2055 cat >>confdefs.h <<\_ACEOF
2056 #define __AIX__ 1
2057 _ACEOF
2058
2059 cat >>confdefs.h <<\_ACEOF
2060 #define __SYSV__ 1
2061 _ACEOF
2062
2063 cat >>confdefs.h <<\_ACEOF
2064 #define __SVR4__ 1
2065 _ACEOF
2066
2067 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2068 ;;
2069
2070 *-*-*UnixWare*)
2071 USE_SYSV=1
2072 USE_SVR4=1
2073 USE_UNIXWARE=1
2074 cat >>confdefs.h <<\_ACEOF
2075 #define __UNIXWARE__ 1
2076 _ACEOF
2077
2078 ;;
2079
2080 *-*-cygwin* | *-*-mingw32* )
2081 SO_SUFFIX=dll
2082 PROGRAM_EXT=".exe"
2083 DEFAULT_DEFAULT_wxUSE_MSW=1
2084 ;;
2085
2086 *-pc-msdosdjgpp )
2087 USE_UNIX=0
2088 USE_DOS=1
2089 cat >>confdefs.h <<\_ACEOF
2090 #define __DOS__ 1
2091 _ACEOF
2092
2093 PROGRAM_EXT=".exe"
2094 DEFAULT_DEFAULT_wxUSE_MGL=1
2095 ;;
2096
2097 *-pc-os2_emx | *-pc-os2-emx )
2098 cat >>confdefs.h <<\_ACEOF
2099 #define __EMX__ 1
2100 _ACEOF
2101
2102 USE_OS2=1
2103 cat >>confdefs.h <<\_ACEOF
2104 #define __OS2__ 1
2105 _ACEOF
2106
2107 PROGRAM_EXT=".exe"
2108 DEFAULT_DEFAULT_wxUSE_PM=1
2109 CXX=gcc
2110 LDFLAGS="$LDFLAGS -Zcrtdll"
2111 ac_executable_extensions=".exe"
2112 export ac_executable_extensions
2113 ac_save_IFS="$IFS"
2114 IFS='\\'
2115 ac_TEMP_PATH=
2116 for ac_dir in $PATH; do
2117 IFS=$ac_save_IFS
2118 if test -z "$ac_TEMP_PATH"; then
2119 ac_TEMP_PATH="$ac_dir"
2120 else
2121 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2122 fi
2123 done
2124 export PATH="$ac_TEMP_PATH"
2125 unset ac_TEMP_PATH
2126 DEFAULT_STD_FLAG=no
2127 ;;
2128
2129 *-*-darwin* )
2130 USE_BSD=1
2131 USE_DARWIN=1
2132 SO_SUFFIX=dylib
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __BSD__ 1
2135 _ACEOF
2136
2137 cat >>confdefs.h <<\_ACEOF
2138 #define __DARWIN__ 1
2139 _ACEOF
2140
2141 cat >>confdefs.h <<\_ACEOF
2142 #define TARGET_CARBON 1
2143 _ACEOF
2144
2145 DEFAULT_DEFAULT_wxUSE_MAC=1
2146 DEFAULT_STD_FLAG=no
2147 ;;
2148 powerpc-apple-macos* )
2149 USE_UNIX=0
2150 ac_cv_c_bigendian=yes
2151 SO_SUFFIX=shlib
2152 DEFAULT_DEFAULT_wxUSE_MAC=1
2153 DEFAULT_STD_FLAG=no
2154 ;;
2155
2156 *-*-beos* )
2157 USE_BEOS=1
2158 cat >>confdefs.h <<\_ACEOF
2159 #define __BEOS__ 1
2160 _ACEOF
2161
2162 ;;
2163
2164 *)
2165 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2166 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2167 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2168 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2169
2170 DEFAULT_DEFAULT_wxUSE_X11=1
2171 DEFAULT_wxUSE_SHARED=no
2172 esac
2173
2174
2175
2176
2177 wx_arg_cache_file="configarg.cache"
2178 echo "loading argument cache $wx_arg_cache_file"
2179 rm -f ${wx_arg_cache_file}.tmp
2180 touch ${wx_arg_cache_file}.tmp
2181 touch ${wx_arg_cache_file}
2182
2183
2184 DEFAULT_wxUSE_ALL_FEATURES=yes
2185
2186 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2187 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2188
2189 DEFAULT_wxUSE_DMALLOC=no
2190 DEFAULT_wxUSE_LIBGNOMEVFS=no
2191 DEFAULT_wxUSE_LIBHILDON=no
2192 DEFAULT_wxUSE_LIBMSPACK=no
2193 DEFAULT_wxUSE_LIBSDL=no
2194 DEFAULT_wxUSE_ODBC=no
2195 DEFAULT_wxUSE_OPENGL=no
2196
2197 DEFAULT_wxUSE_ACCESSIBILITY=no
2198 DEFAULT_wxUSE_DATAVIEWCTRL=no
2199 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2200 DEFAULT_wxUSE_MEDIACTRL=no
2201 DEFAULT_wxUSE_TAB_DIALOG=no
2202
2203 DEFAULT_wxUSE_UNICODE_UTF8=auto
2204 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2205
2206 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2207
2208 DEFAULT_wxUSE_GTK2=yes
2209
2210 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2211
2212
2213 for toolkit in `echo $ALL_TOOLKITS`; do
2214 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2215 if test "x$LINE" != "x" ; then
2216 has_toolkit_in_cache=1
2217 eval "DEFAULT_$LINE"
2218 eval "CACHE_$toolkit=1"
2219
2220 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2221 if test "x$LINE" != "x" ; then
2222 eval "DEFAULT_$LINE"
2223 fi
2224 fi
2225 done
2226
2227
2228
2229
2230
2231 enablestring=disable
2232 defaultval=
2233 if test -z "$defaultval"; then
2234 if test x"$enablestring" = xdisable; then
2235 defaultval=yes
2236 else
2237 defaultval=no
2238 fi
2239 fi
2240
2241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2242 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2243 no_cache=0
2244 # Check whether --enable-gui or --disable-gui was given.
2245 if test "${enable_gui+set}" = set; then
2246 enableval="$enable_gui"
2247
2248 if test "$enableval" = yes; then
2249 ac_cv_use_gui='wxUSE_GUI=yes'
2250 else
2251 ac_cv_use_gui='wxUSE_GUI=no'
2252 fi
2253
2254 else
2255
2256 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2257 if test "x$LINE" != x ; then
2258 eval "DEFAULT_$LINE"
2259 else
2260 no_cache=1
2261 fi
2262
2263 ac_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2264
2265 fi;
2266
2267 eval "$ac_cv_use_gui"
2268 if test "$no_cache" != 1; then
2269 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2270 fi
2271
2272 if test x"$enablestring" = xdisable; then
2273 if test $wxUSE_GUI = yes; then
2274 result=no
2275 else
2276 result=yes
2277 fi
2278 else
2279 result=$wxUSE_GUI
2280 fi
2281
2282 echo "$as_me:$LINENO: result: $result" >&5
2283 echo "${ECHO_T}$result" >&6
2284
2285
2286 enablestring=
2287 defaultval=
2288 if test -z "$defaultval"; then
2289 if test x"$enablestring" = xdisable; then
2290 defaultval=yes
2291 else
2292 defaultval=no
2293 fi
2294 fi
2295
2296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2297 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2298 no_cache=0
2299 # Check whether --enable-monolithic or --disable-monolithic was given.
2300 if test "${enable_monolithic+set}" = set; then
2301 enableval="$enable_monolithic"
2302
2303 if test "$enableval" = yes; then
2304 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2305 else
2306 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2307 fi
2308
2309 else
2310
2311 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
2312 if test "x$LINE" != x ; then
2313 eval "DEFAULT_$LINE"
2314 else
2315 no_cache=1
2316 fi
2317
2318 ac_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
2319
2320 fi;
2321
2322 eval "$ac_cv_use_monolithic"
2323 if test "$no_cache" != 1; then
2324 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2325 fi
2326
2327 if test x"$enablestring" = xdisable; then
2328 if test $wxUSE_MONOLITHIC = yes; then
2329 result=no
2330 else
2331 result=yes
2332 fi
2333 else
2334 result=$wxUSE_MONOLITHIC
2335 fi
2336
2337 echo "$as_me:$LINENO: result: $result" >&5
2338 echo "${ECHO_T}$result" >&6
2339
2340
2341 enablestring=
2342 defaultval=
2343 if test -z "$defaultval"; then
2344 if test x"$enablestring" = xdisable; then
2345 defaultval=yes
2346 else
2347 defaultval=no
2348 fi
2349 fi
2350
2351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2352 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2353 no_cache=0
2354 # Check whether --enable-plugins or --disable-plugins was given.
2355 if test "${enable_plugins+set}" = set; then
2356 enableval="$enable_plugins"
2357
2358 if test "$enableval" = yes; then
2359 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2360 else
2361 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2362 fi
2363
2364 else
2365
2366 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
2367 if test "x$LINE" != x ; then
2368 eval "DEFAULT_$LINE"
2369 else
2370 no_cache=1
2371 fi
2372
2373 ac_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
2374
2375 fi;
2376
2377 eval "$ac_cv_use_plugins"
2378 if test "$no_cache" != 1; then
2379 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2380 fi
2381
2382 if test x"$enablestring" = xdisable; then
2383 if test $wxUSE_PLUGINS = yes; then
2384 result=no
2385 else
2386 result=yes
2387 fi
2388 else
2389 result=$wxUSE_PLUGINS
2390 fi
2391
2392 echo "$as_me:$LINENO: result: $result" >&5
2393 echo "${ECHO_T}$result" >&6
2394
2395
2396 withstring=without
2397 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2398 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2399 no_cache=0
2400
2401 # Check whether --with-subdirs or --without-subdirs was given.
2402 if test "${with_subdirs+set}" = set; then
2403 withval="$with_subdirs"
2404
2405 if test "$withval" = yes; then
2406 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2407 else
2408 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2409 fi
2410
2411 else
2412
2413 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
2414 if test "x$LINE" != x ; then
2415 eval "DEFAULT_$LINE"
2416 else
2417 no_cache=1
2418 fi
2419
2420 ac_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$wxUSE_ALL_FEATURES}"
2421
2422 fi;
2423
2424 eval "$ac_cv_use_subdirs"
2425 if test "$no_cache" != 1; then
2426 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2427 fi
2428
2429 if test x"$withstring" = xwithout; then
2430 if test $wxWITH_SUBDIRS = yes; then
2431 result=no
2432 else
2433 result=yes
2434 fi
2435 else
2436 result=$wxWITH_SUBDIRS
2437 fi
2438
2439 echo "$as_me:$LINENO: result: $result" >&5
2440 echo "${ECHO_T}$result" >&6
2441
2442
2443 # Check whether --with-flavour or --without-flavour was given.
2444 if test "${with_flavour+set}" = set; then
2445 withval="$with_flavour"
2446 WX_FLAVOUR="$withval"
2447 fi;
2448
2449 enablestring=
2450 defaultval=
2451 if test -z "$defaultval"; then
2452 if test x"$enablestring" = xdisable; then
2453 defaultval=yes
2454 else
2455 defaultval=no
2456 fi
2457 fi
2458
2459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
2460 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
2461 no_cache=0
2462 # Check whether --enable-official_build or --disable-official_build was given.
2463 if test "${enable_official_build+set}" = set; then
2464 enableval="$enable_official_build"
2465
2466 if test "$enableval" = yes; then
2467 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
2468 else
2469 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
2470 fi
2471
2472 else
2473
2474 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
2475 if test "x$LINE" != x ; then
2476 eval "DEFAULT_$LINE"
2477 else
2478 no_cache=1
2479 fi
2480
2481 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
2482
2483 fi;
2484
2485 eval "$ac_cv_use_official_build"
2486 if test "$no_cache" != 1; then
2487 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
2488 fi
2489
2490 if test x"$enablestring" = xdisable; then
2491 if test $wxUSE_OFFICIAL_BUILD = yes; then
2492 result=no
2493 else
2494 result=yes
2495 fi
2496 else
2497 result=$wxUSE_OFFICIAL_BUILD
2498 fi
2499
2500 echo "$as_me:$LINENO: result: $result" >&5
2501 echo "${ECHO_T}$result" >&6
2502
2503 # Check whether --enable-vendor or --disable-vendor was given.
2504 if test "${enable_vendor+set}" = set; then
2505 enableval="$enable_vendor"
2506 VENDOR="$enableval"
2507 fi;
2508 if test "x$VENDOR" = "x"; then
2509 VENDOR="custom"
2510 fi
2511
2512
2513 enablestring=disable
2514 defaultval=
2515 if test -z "$defaultval"; then
2516 if test x"$enablestring" = xdisable; then
2517 defaultval=yes
2518 else
2519 defaultval=no
2520 fi
2521 fi
2522
2523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all_features" >&5
2524 echo $ECHO_N "checking for --${enablestring:-enable}-all_features... $ECHO_C" >&6
2525 no_cache=0
2526 # Check whether --enable-all_features or --disable-all_features was given.
2527 if test "${enable_all_features+set}" = set; then
2528 enableval="$enable_all_features"
2529
2530 if test "$enableval" = yes; then
2531 ac_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
2532 else
2533 ac_cv_use_all_features='wxUSE_ALL_FEATURES=no'
2534 fi
2535
2536 else
2537
2538 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
2539 if test "x$LINE" != x ; then
2540 eval "DEFAULT_$LINE"
2541 else
2542 no_cache=1
2543 fi
2544
2545 ac_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
2546
2547 fi;
2548
2549 eval "$ac_cv_use_all_features"
2550 if test "$no_cache" != 1; then
2551 echo $ac_cv_use_all_features >> ${wx_arg_cache_file}.tmp
2552 fi
2553
2554 if test x"$enablestring" = xdisable; then
2555 if test $wxUSE_ALL_FEATURES = yes; then
2556 result=no
2557 else
2558 result=yes
2559 fi
2560 else
2561 result=$wxUSE_ALL_FEATURES
2562 fi
2563
2564 echo "$as_me:$LINENO: result: $result" >&5
2565 echo "${ECHO_T}$result" >&6
2566
2567
2568
2569 if test "$wxUSE_GUI" = "yes"; then
2570
2571
2572 enablestring=
2573 defaultval=
2574 if test -z "$defaultval"; then
2575 if test x"$enablestring" = xdisable; then
2576 defaultval=yes
2577 else
2578 defaultval=no
2579 fi
2580 fi
2581
2582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2583 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2584 no_cache=0
2585 # Check whether --enable-universal or --disable-universal was given.
2586 if test "${enable_universal+set}" = set; then
2587 enableval="$enable_universal"
2588
2589 if test "$enableval" = yes; then
2590 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2591 else
2592 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2593 fi
2594
2595 else
2596
2597 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
2598 if test "x$LINE" != x ; then
2599 eval "DEFAULT_$LINE"
2600 else
2601 no_cache=1
2602 fi
2603
2604 ac_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
2605
2606 fi;
2607
2608 eval "$ac_cv_use_universal"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2611 fi
2612
2613 if test x"$enablestring" = xdisable; then
2614 if test $wxUSE_UNIVERSAL = yes; then
2615 result=no
2616 else
2617 result=yes
2618 fi
2619 else
2620 result=$wxUSE_UNIVERSAL
2621 fi
2622
2623 echo "$as_me:$LINENO: result: $result" >&5
2624 echo "${ECHO_T}$result" >&6
2625
2626 if test "$wxUSE_UNIVERSAL" = "yes"; then
2627
2628 # Check whether --with-themes or --without-themes was given.
2629 if test "${with_themes+set}" = set; then
2630 withval="$with_themes"
2631 wxUNIV_THEMES="$withval"
2632 fi;
2633 fi
2634
2635
2636 # Check whether --with-gtk or --without-gtk was given.
2637 if test "${with_gtk+set}" = set; then
2638 withval="$with_gtk"
2639 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2640 fi;
2641
2642 # Check whether --with-motif or --without-motif was given.
2643 if test "${with_motif+set}" = set; then
2644 withval="$with_motif"
2645 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2646 fi;
2647
2648 # Check whether --with-mac or --without-mac was given.
2649 if test "${with_mac+set}" = set; then
2650 withval="$with_mac"
2651 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2652 fi;
2653
2654 # Check whether --with-cocoa or --without-cocoa was given.
2655 if test "${with_cocoa+set}" = set; then
2656 withval="$with_cocoa"
2657 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2658 fi;
2659
2660 # Check whether --with-wine or --without-wine was given.
2661 if test "${with_wine+set}" = set; then
2662 withval="$with_wine"
2663 wxUSE_WINE="$withval" CACHE_WINE=1
2664 fi;
2665
2666 # Check whether --with-msw or --without-msw was given.
2667 if test "${with_msw+set}" = set; then
2668 withval="$with_msw"
2669 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2670 fi;
2671
2672 # Check whether --with-pm or --without-pm was given.
2673 if test "${with_pm+set}" = set; then
2674 withval="$with_pm"
2675 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2676 fi;
2677
2678 # Check whether --with-mgl or --without-mgl was given.
2679 if test "${with_mgl+set}" = set; then
2680 withval="$with_mgl"
2681 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2682 fi;
2683
2684 # Check whether --with-directfb or --without-directfb was given.
2685 if test "${with_directfb+set}" = set; then
2686 withval="$with_directfb"
2687 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2688 fi;
2689
2690 # Check whether --with-microwin or --without-microwin was given.
2691 if test "${with_microwin+set}" = set; then
2692 withval="$with_microwin"
2693 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2694 fi;
2695
2696 # Check whether --with-x11 or --without-x11 was given.
2697 if test "${with_x11+set}" = set; then
2698 withval="$with_x11"
2699 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2700 fi;
2701
2702 enablestring=
2703 defaultval=
2704 if test -z "$defaultval"; then
2705 if test x"$enablestring" = xdisable; then
2706 defaultval=yes
2707 else
2708 defaultval=no
2709 fi
2710 fi
2711
2712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2713 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2714 no_cache=0
2715 # Check whether --enable-nanox or --disable-nanox was given.
2716 if test "${enable_nanox+set}" = set; then
2717 enableval="$enable_nanox"
2718
2719 if test "$enableval" = yes; then
2720 ac_cv_use_nanox='wxUSE_NANOX=yes'
2721 else
2722 ac_cv_use_nanox='wxUSE_NANOX=no'
2723 fi
2724
2725 else
2726
2727 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
2728 if test "x$LINE" != x ; then
2729 eval "DEFAULT_$LINE"
2730 else
2731 no_cache=1
2732 fi
2733
2734 ac_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
2735
2736 fi;
2737
2738 eval "$ac_cv_use_nanox"
2739 if test "$no_cache" != 1; then
2740 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2741 fi
2742
2743 if test x"$enablestring" = xdisable; then
2744 if test $wxUSE_NANOX = yes; then
2745 result=no
2746 else
2747 result=yes
2748 fi
2749 else
2750 result=$wxUSE_NANOX
2751 fi
2752
2753 echo "$as_me:$LINENO: result: $result" >&5
2754 echo "${ECHO_T}$result" >&6
2755
2756
2757 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2758 if test "${enable_gtk2+set}" = set; then
2759 enableval="$enable_gtk2"
2760 wxUSE_GTK2="$enableval"
2761 fi;
2762
2763 enablestring=
2764 defaultval=
2765 if test -z "$defaultval"; then
2766 if test x"$enablestring" = xdisable; then
2767 defaultval=yes
2768 else
2769 defaultval=no
2770 fi
2771 fi
2772
2773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2774 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2775 no_cache=0
2776 # Check whether --enable-gpe or --disable-gpe was given.
2777 if test "${enable_gpe+set}" = set; then
2778 enableval="$enable_gpe"
2779
2780 if test "$enableval" = yes; then
2781 ac_cv_use_gpe='wxUSE_GPE=yes'
2782 else
2783 ac_cv_use_gpe='wxUSE_GPE=no'
2784 fi
2785
2786 else
2787
2788 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x ; then
2790 eval "DEFAULT_$LINE"
2791 else
2792 no_cache=1
2793 fi
2794
2795 ac_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
2796
2797 fi;
2798
2799 eval "$ac_cv_use_gpe"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2802 fi
2803
2804 if test x"$enablestring" = xdisable; then
2805 if test $wxUSE_GPE = yes; then
2806 result=no
2807 else
2808 result=yes
2809 fi
2810 else
2811 result=$wxUSE_GPE
2812 fi
2813
2814 echo "$as_me:$LINENO: result: $result" >&5
2815 echo "${ECHO_T}$result" >&6
2816
2817
2818
2819
2820 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2821 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2822 no_cache=0
2823
2824 # Check whether --with-libpng or --without-libpng was given.
2825 if test "${with_libpng+set}" = set; then
2826 withval="$with_libpng"
2827
2828 if test "$withval" = yes; then
2829 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2830 elif test "$withval" = no; then
2831 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2832 elif test "$withval" = sys; then
2833 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2834 elif test "$withval" = builtin; then
2835 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2836 else
2837 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2838 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2839 { (exit 1); exit 1; }; }
2840 fi
2841
2842 else
2843
2844 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
2845 if test "x$LINE" != x ; then
2846 eval "DEFAULT_$LINE"
2847 else
2848 no_cache=1
2849 fi
2850
2851 ac_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
2852
2853 fi;
2854
2855 eval "$ac_cv_use_libpng"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2858 fi
2859
2860 if test "$wxUSE_LIBPNG" = yes; then
2861 echo "$as_me:$LINENO: result: yes" >&5
2862 echo "${ECHO_T}yes" >&6
2863 elif test "$wxUSE_LIBPNG" = no; then
2864 echo "$as_me:$LINENO: result: no" >&5
2865 echo "${ECHO_T}no" >&6
2866 elif test "$wxUSE_LIBPNG" = sys; then
2867 echo "$as_me:$LINENO: result: system version" >&5
2868 echo "${ECHO_T}system version" >&6
2869 elif test "$wxUSE_LIBPNG" = builtin; then
2870 echo "$as_me:$LINENO: result: builtin version" >&5
2871 echo "${ECHO_T}builtin version" >&6
2872 else
2873 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2874 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2875 { (exit 1); exit 1; }; }
2876 fi
2877
2878
2879 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2880 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2881 no_cache=0
2882
2883 # Check whether --with-libjpeg or --without-libjpeg was given.
2884 if test "${with_libjpeg+set}" = set; then
2885 withval="$with_libjpeg"
2886
2887 if test "$withval" = yes; then
2888 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2889 elif test "$withval" = no; then
2890 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2891 elif test "$withval" = sys; then
2892 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2893 elif test "$withval" = builtin; then
2894 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2895 else
2896 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2897 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2898 { (exit 1); exit 1; }; }
2899 fi
2900
2901 else
2902
2903 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x ; then
2905 eval "DEFAULT_$LINE"
2906 else
2907 no_cache=1
2908 fi
2909
2910 ac_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
2911
2912 fi;
2913
2914 eval "$ac_cv_use_libjpeg"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2917 fi
2918
2919 if test "$wxUSE_LIBJPEG" = yes; then
2920 echo "$as_me:$LINENO: result: yes" >&5
2921 echo "${ECHO_T}yes" >&6
2922 elif test "$wxUSE_LIBJPEG" = no; then
2923 echo "$as_me:$LINENO: result: no" >&5
2924 echo "${ECHO_T}no" >&6
2925 elif test "$wxUSE_LIBJPEG" = sys; then
2926 echo "$as_me:$LINENO: result: system version" >&5
2927 echo "${ECHO_T}system version" >&6
2928 elif test "$wxUSE_LIBJPEG" = builtin; then
2929 echo "$as_me:$LINENO: result: builtin version" >&5
2930 echo "${ECHO_T}builtin version" >&6
2931 else
2932 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2933 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2934 { (exit 1); exit 1; }; }
2935 fi
2936
2937
2938 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2939 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2940 no_cache=0
2941
2942 # Check whether --with-libtiff or --without-libtiff was given.
2943 if test "${with_libtiff+set}" = set; then
2944 withval="$with_libtiff"
2945
2946 if test "$withval" = yes; then
2947 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2948 elif test "$withval" = no; then
2949 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2950 elif test "$withval" = sys; then
2951 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2952 elif test "$withval" = builtin; then
2953 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2954 else
2955 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2956 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2957 { (exit 1); exit 1; }; }
2958 fi
2959
2960 else
2961
2962 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x ; then
2964 eval "DEFAULT_$LINE"
2965 else
2966 no_cache=1
2967 fi
2968
2969 ac_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
2970
2971 fi;
2972
2973 eval "$ac_cv_use_libtiff"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2976 fi
2977
2978 if test "$wxUSE_LIBTIFF" = yes; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2981 elif test "$wxUSE_LIBTIFF" = no; then
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2984 elif test "$wxUSE_LIBTIFF" = sys; then
2985 echo "$as_me:$LINENO: result: system version" >&5
2986 echo "${ECHO_T}system version" >&6
2987 elif test "$wxUSE_LIBTIFF" = builtin; then
2988 echo "$as_me:$LINENO: result: builtin version" >&5
2989 echo "${ECHO_T}builtin version" >&6
2990 else
2991 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2992 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2993 { (exit 1); exit 1; }; }
2994 fi
2995
2996
2997 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2998 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2999 no_cache=0
3000
3001 # Check whether --with-libxpm or --without-libxpm was given.
3002 if test "${with_libxpm+set}" = set; then
3003 withval="$with_libxpm"
3004
3005 if test "$withval" = yes; then
3006 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3007 elif test "$withval" = no; then
3008 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3009 elif test "$withval" = sys; then
3010 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3011 elif test "$withval" = builtin; then
3012 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3013 else
3014 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3015 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3016 { (exit 1); exit 1; }; }
3017 fi
3018
3019 else
3020
3021 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3022 if test "x$LINE" != x ; then
3023 eval "DEFAULT_$LINE"
3024 else
3025 no_cache=1
3026 fi
3027
3028 ac_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3029
3030 fi;
3031
3032 eval "$ac_cv_use_libxpm"
3033 if test "$no_cache" != 1; then
3034 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3035 fi
3036
3037 if test "$wxUSE_LIBXPM" = yes; then
3038 echo "$as_me:$LINENO: result: yes" >&5
3039 echo "${ECHO_T}yes" >&6
3040 elif test "$wxUSE_LIBXPM" = no; then
3041 echo "$as_me:$LINENO: result: no" >&5
3042 echo "${ECHO_T}no" >&6
3043 elif test "$wxUSE_LIBXPM" = sys; then
3044 echo "$as_me:$LINENO: result: system version" >&5
3045 echo "${ECHO_T}system version" >&6
3046 elif test "$wxUSE_LIBXPM" = builtin; then
3047 echo "$as_me:$LINENO: result: builtin version" >&5
3048 echo "${ECHO_T}builtin version" >&6
3049 else
3050 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3051 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3052 { (exit 1); exit 1; }; }
3053 fi
3054
3055
3056 withstring=
3057 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3058 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3059 no_cache=0
3060
3061 # Check whether --with-libmspack or --without-libmspack was given.
3062 if test "${with_libmspack+set}" = set; then
3063 withval="$with_libmspack"
3064
3065 if test "$withval" = yes; then
3066 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3067 else
3068 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3069 fi
3070
3071 else
3072
3073 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3074 if test "x$LINE" != x ; then
3075 eval "DEFAULT_$LINE"
3076 else
3077 no_cache=1
3078 fi
3079
3080 ac_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$wxUSE_ALL_FEATURES}"
3081
3082 fi;
3083
3084 eval "$ac_cv_use_libmspack"
3085 if test "$no_cache" != 1; then
3086 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3087 fi
3088
3089 if test x"$withstring" = xwithout; then
3090 if test $wxUSE_LIBMSPACK = yes; then
3091 result=no
3092 else
3093 result=yes
3094 fi
3095 else
3096 result=$wxUSE_LIBMSPACK
3097 fi
3098
3099 echo "$as_me:$LINENO: result: $result" >&5
3100 echo "${ECHO_T}$result" >&6
3101
3102
3103 withstring=
3104 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3105 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3106 no_cache=0
3107
3108 # Check whether --with-sdl or --without-sdl was given.
3109 if test "${with_sdl+set}" = set; then
3110 withval="$with_sdl"
3111
3112 if test "$withval" = yes; then
3113 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3114 else
3115 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3116 fi
3117
3118 else
3119
3120 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
3121 if test "x$LINE" != x ; then
3122 eval "DEFAULT_$LINE"
3123 else
3124 no_cache=1
3125 fi
3126
3127 ac_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$wxUSE_ALL_FEATURES}"
3128
3129 fi;
3130
3131 eval "$ac_cv_use_sdl"
3132 if test "$no_cache" != 1; then
3133 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3134 fi
3135
3136 if test x"$withstring" = xwithout; then
3137 if test $wxUSE_LIBSDL = yes; then
3138 result=no
3139 else
3140 result=yes
3141 fi
3142 else
3143 result=$wxUSE_LIBSDL
3144 fi
3145
3146 echo "$as_me:$LINENO: result: $result" >&5
3147 echo "${ECHO_T}$result" >&6
3148
3149
3150 withstring=without
3151 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3152 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3153 no_cache=0
3154
3155 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3156 if test "${with_gnomeprint+set}" = set; then
3157 withval="$with_gnomeprint"
3158
3159 if test "$withval" = yes; then
3160 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3161 else
3162 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3163 fi
3164
3165 else
3166
3167 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3168 if test "x$LINE" != x ; then
3169 eval "DEFAULT_$LINE"
3170 else
3171 no_cache=1
3172 fi
3173
3174 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$wxUSE_ALL_FEATURES}"
3175
3176 fi;
3177
3178 eval "$ac_cv_use_gnomeprint"
3179 if test "$no_cache" != 1; then
3180 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3181 fi
3182
3183 if test x"$withstring" = xwithout; then
3184 if test $wxUSE_LIBGNOMEPRINT = yes; then
3185 result=no
3186 else
3187 result=yes
3188 fi
3189 else
3190 result=$wxUSE_LIBGNOMEPRINT
3191 fi
3192
3193 echo "$as_me:$LINENO: result: $result" >&5
3194 echo "${ECHO_T}$result" >&6
3195
3196
3197 withstring=
3198 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3199 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3200 no_cache=0
3201
3202 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3203 if test "${with_gnomevfs+set}" = set; then
3204 withval="$with_gnomevfs"
3205
3206 if test "$withval" = yes; then
3207 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3208 else
3209 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3210 fi
3211
3212 else
3213
3214 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3215 if test "x$LINE" != x ; then
3216 eval "DEFAULT_$LINE"
3217 else
3218 no_cache=1
3219 fi
3220
3221 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$wxUSE_ALL_FEATURES}"
3222
3223 fi;
3224
3225 eval "$ac_cv_use_gnomevfs"
3226 if test "$no_cache" != 1; then
3227 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3228 fi
3229
3230 if test x"$withstring" = xwithout; then
3231 if test $wxUSE_LIBGNOMEVFS = yes; then
3232 result=no
3233 else
3234 result=yes
3235 fi
3236 else
3237 result=$wxUSE_LIBGNOMEVFS
3238 fi
3239
3240 echo "$as_me:$LINENO: result: $result" >&5
3241 echo "${ECHO_T}$result" >&6
3242
3243
3244 withstring=
3245 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3246 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3247 no_cache=0
3248
3249 # Check whether --with-hildon or --without-hildon was given.
3250 if test "${with_hildon+set}" = set; then
3251 withval="$with_hildon"
3252
3253 if test "$withval" = yes; then
3254 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3255 else
3256 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3257 fi
3258
3259 else
3260
3261 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3262 if test "x$LINE" != x ; then
3263 eval "DEFAULT_$LINE"
3264 else
3265 no_cache=1
3266 fi
3267
3268 ac_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$wxUSE_ALL_FEATURES}"
3269
3270 fi;
3271
3272 eval "$ac_cv_use_hildon"
3273 if test "$no_cache" != 1; then
3274 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3275 fi
3276
3277 if test x"$withstring" = xwithout; then
3278 if test $wxUSE_LIBHILDON = yes; then
3279 result=no
3280 else
3281 result=yes
3282 fi
3283 else
3284 result=$wxUSE_LIBHILDON
3285 fi
3286
3287 echo "$as_me:$LINENO: result: $result" >&5
3288 echo "${ECHO_T}$result" >&6
3289
3290
3291 withstring=
3292 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3293 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3294 no_cache=0
3295
3296 # Check whether --with-opengl or --without-opengl was given.
3297 if test "${with_opengl+set}" = set; then
3298 withval="$with_opengl"
3299
3300 if test "$withval" = yes; then
3301 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3302 else
3303 ac_cv_use_opengl='wxUSE_OPENGL=no'
3304 fi
3305
3306 else
3307
3308 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3309 if test "x$LINE" != x ; then
3310 eval "DEFAULT_$LINE"
3311 else
3312 no_cache=1
3313 fi
3314
3315 ac_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$wxUSE_ALL_FEATURES}"
3316
3317 fi;
3318
3319 eval "$ac_cv_use_opengl"
3320 if test "$no_cache" != 1; then
3321 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3322 fi
3323
3324 if test x"$withstring" = xwithout; then
3325 if test $wxUSE_OPENGL = yes; then
3326 result=no
3327 else
3328 result=yes
3329 fi
3330 else
3331 result=$wxUSE_OPENGL
3332 fi
3333
3334 echo "$as_me:$LINENO: result: $result" >&5
3335 echo "${ECHO_T}$result" >&6
3336
3337
3338 fi
3339
3340
3341 withstring=
3342 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3343 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3344 no_cache=0
3345
3346 # Check whether --with-dmalloc or --without-dmalloc was given.
3347 if test "${with_dmalloc+set}" = set; then
3348 withval="$with_dmalloc"
3349
3350 if test "$withval" = yes; then
3351 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3352 else
3353 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3354 fi
3355
3356 else
3357
3358 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
3359 if test "x$LINE" != x ; then
3360 eval "DEFAULT_$LINE"
3361 else
3362 no_cache=1
3363 fi
3364
3365 ac_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$wxUSE_ALL_FEATURES}"
3366
3367 fi;
3368
3369 eval "$ac_cv_use_dmalloc"
3370 if test "$no_cache" != 1; then
3371 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3372 fi
3373
3374 if test x"$withstring" = xwithout; then
3375 if test $wxUSE_DMALLOC = yes; then
3376 result=no
3377 else
3378 result=yes
3379 fi
3380 else
3381 result=$wxUSE_DMALLOC
3382 fi
3383
3384 echo "$as_me:$LINENO: result: $result" >&5
3385 echo "${ECHO_T}$result" >&6
3386
3387
3388 echo "$as_me:$LINENO: checking for --with-regex" >&5
3389 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3390 no_cache=0
3391
3392 # Check whether --with-regex or --without-regex was given.
3393 if test "${with_regex+set}" = set; then
3394 withval="$with_regex"
3395
3396 if test "$withval" = yes; then
3397 ac_cv_use_regex='wxUSE_REGEX=yes'
3398 elif test "$withval" = no; then
3399 ac_cv_use_regex='wxUSE_REGEX=no'
3400 elif test "$withval" = sys; then
3401 ac_cv_use_regex='wxUSE_REGEX=sys'
3402 elif test "$withval" = builtin; then
3403 ac_cv_use_regex='wxUSE_REGEX=builtin'
3404 else
3405 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3406 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3407 { (exit 1); exit 1; }; }
3408 fi
3409
3410 else
3411
3412 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x ; then
3414 eval "DEFAULT_$LINE"
3415 else
3416 no_cache=1
3417 fi
3418
3419 ac_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
3420
3421 fi;
3422
3423 eval "$ac_cv_use_regex"
3424 if test "$no_cache" != 1; then
3425 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3426 fi
3427
3428 if test "$wxUSE_REGEX" = yes; then
3429 echo "$as_me:$LINENO: result: yes" >&5
3430 echo "${ECHO_T}yes" >&6
3431 elif test "$wxUSE_REGEX" = no; then
3432 echo "$as_me:$LINENO: result: no" >&5
3433 echo "${ECHO_T}no" >&6
3434 elif test "$wxUSE_REGEX" = sys; then
3435 echo "$as_me:$LINENO: result: system version" >&5
3436 echo "${ECHO_T}system version" >&6
3437 elif test "$wxUSE_REGEX" = builtin; then
3438 echo "$as_me:$LINENO: result: builtin version" >&5
3439 echo "${ECHO_T}builtin version" >&6
3440 else
3441 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3442 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3443 { (exit 1); exit 1; }; }
3444 fi
3445
3446
3447 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3448 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3449 no_cache=0
3450
3451 # Check whether --with-zlib or --without-zlib was given.
3452 if test "${with_zlib+set}" = set; then
3453 withval="$with_zlib"
3454
3455 if test "$withval" = yes; then
3456 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3457 elif test "$withval" = no; then
3458 ac_cv_use_zlib='wxUSE_ZLIB=no'
3459 elif test "$withval" = sys; then
3460 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3461 elif test "$withval" = builtin; then
3462 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3463 else
3464 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3465 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3466 { (exit 1); exit 1; }; }
3467 fi
3468
3469 else
3470
3471 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
3472 if test "x$LINE" != x ; then
3473 eval "DEFAULT_$LINE"
3474 else
3475 no_cache=1
3476 fi
3477
3478 ac_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
3479
3480 fi;
3481
3482 eval "$ac_cv_use_zlib"
3483 if test "$no_cache" != 1; then
3484 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3485 fi
3486
3487 if test "$wxUSE_ZLIB" = yes; then
3488 echo "$as_me:$LINENO: result: yes" >&5
3489 echo "${ECHO_T}yes" >&6
3490 elif test "$wxUSE_ZLIB" = no; then
3491 echo "$as_me:$LINENO: result: no" >&5
3492 echo "${ECHO_T}no" >&6
3493 elif test "$wxUSE_ZLIB" = sys; then
3494 echo "$as_me:$LINENO: result: system version" >&5
3495 echo "${ECHO_T}system version" >&6
3496 elif test "$wxUSE_ZLIB" = builtin; then
3497 echo "$as_me:$LINENO: result: builtin version" >&5
3498 echo "${ECHO_T}builtin version" >&6
3499 else
3500 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3501 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3502 { (exit 1); exit 1; }; }
3503 fi
3504
3505
3506 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3507 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3508 no_cache=0
3509
3510 # Check whether --with-odbc or --without-odbc was given.
3511 if test "${with_odbc+set}" = set; then
3512 withval="$with_odbc"
3513
3514 if test "$withval" = yes; then
3515 ac_cv_use_odbc='wxUSE_ODBC=yes'
3516 elif test "$withval" = no; then
3517 ac_cv_use_odbc='wxUSE_ODBC=no'
3518 elif test "$withval" = sys; then
3519 ac_cv_use_odbc='wxUSE_ODBC=sys'
3520 elif test "$withval" = builtin; then
3521 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3522 else
3523 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3524 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3525 { (exit 1); exit 1; }; }
3526 fi
3527
3528 else
3529
3530 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
3531 if test "x$LINE" != x ; then
3532 eval "DEFAULT_$LINE"
3533 else
3534 no_cache=1
3535 fi
3536
3537 ac_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
3538
3539 fi;
3540
3541 eval "$ac_cv_use_odbc"
3542 if test "$no_cache" != 1; then
3543 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3544 fi
3545
3546 if test "$wxUSE_ODBC" = yes; then
3547 echo "$as_me:$LINENO: result: yes" >&5
3548 echo "${ECHO_T}yes" >&6
3549 elif test "$wxUSE_ODBC" = no; then
3550 echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3552 elif test "$wxUSE_ODBC" = sys; then
3553 echo "$as_me:$LINENO: result: system version" >&5
3554 echo "${ECHO_T}system version" >&6
3555 elif test "$wxUSE_ODBC" = builtin; then
3556 echo "$as_me:$LINENO: result: builtin version" >&5
3557 echo "${ECHO_T}builtin version" >&6
3558 else
3559 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3560 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3561 { (exit 1); exit 1; }; }
3562 fi
3563
3564
3565 echo "$as_me:$LINENO: checking for --with-expat" >&5
3566 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3567 no_cache=0
3568
3569 # Check whether --with-expat or --without-expat was given.
3570 if test "${with_expat+set}" = set; then
3571 withval="$with_expat"
3572
3573 if test "$withval" = yes; then
3574 ac_cv_use_expat='wxUSE_EXPAT=yes'
3575 elif test "$withval" = no; then
3576 ac_cv_use_expat='wxUSE_EXPAT=no'
3577 elif test "$withval" = sys; then
3578 ac_cv_use_expat='wxUSE_EXPAT=sys'
3579 elif test "$withval" = builtin; then
3580 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3581 else
3582 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3583 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3584 { (exit 1); exit 1; }; }
3585 fi
3586
3587 else
3588
3589 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
3590 if test "x$LINE" != x ; then
3591 eval "DEFAULT_$LINE"
3592 else
3593 no_cache=1
3594 fi
3595
3596 ac_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
3597
3598 fi;
3599
3600 eval "$ac_cv_use_expat"
3601 if test "$no_cache" != 1; then
3602 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3603 fi
3604
3605 if test "$wxUSE_EXPAT" = yes; then
3606 echo "$as_me:$LINENO: result: yes" >&5
3607 echo "${ECHO_T}yes" >&6
3608 elif test "$wxUSE_EXPAT" = no; then
3609 echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3611 elif test "$wxUSE_EXPAT" = sys; then
3612 echo "$as_me:$LINENO: result: system version" >&5
3613 echo "${ECHO_T}system version" >&6
3614 elif test "$wxUSE_EXPAT" = builtin; then
3615 echo "$as_me:$LINENO: result: builtin version" >&5
3616 echo "${ECHO_T}builtin version" >&6
3617 else
3618 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3619 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3620 { (exit 1); exit 1; }; }
3621 fi
3622
3623
3624
3625
3626 enablestring=disable
3627 defaultval=
3628 if test -z "$defaultval"; then
3629 if test x"$enablestring" = xdisable; then
3630 defaultval=yes
3631 else
3632 defaultval=no
3633 fi
3634 fi
3635
3636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3637 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3638 no_cache=0
3639 # Check whether --enable-shared or --disable-shared was given.
3640 if test "${enable_shared+set}" = set; then
3641 enableval="$enable_shared"
3642
3643 if test "$enableval" = yes; then
3644 ac_cv_use_shared='wxUSE_SHARED=yes'
3645 else
3646 ac_cv_use_shared='wxUSE_SHARED=no'
3647 fi
3648
3649 else
3650
3651 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
3652 if test "x$LINE" != x ; then
3653 eval "DEFAULT_$LINE"
3654 else
3655 no_cache=1
3656 fi
3657
3658 ac_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
3659
3660 fi;
3661
3662 eval "$ac_cv_use_shared"
3663 if test "$no_cache" != 1; then
3664 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3665 fi
3666
3667 if test x"$enablestring" = xdisable; then
3668 if test $wxUSE_SHARED = yes; then
3669 result=no
3670 else
3671 result=yes
3672 fi
3673 else
3674 result=$wxUSE_SHARED
3675 fi
3676
3677 echo "$as_me:$LINENO: result: $result" >&5
3678 echo "${ECHO_T}$result" >&6
3679
3680
3681 enablestring=
3682 defaultval=
3683 if test -z "$defaultval"; then
3684 if test x"$enablestring" = xdisable; then
3685 defaultval=yes
3686 else
3687 defaultval=no
3688 fi
3689 fi
3690
3691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3692 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3693 no_cache=0
3694 # Check whether --enable-optimise or --disable-optimise was given.
3695 if test "${enable_optimise+set}" = set; then
3696 enableval="$enable_optimise"
3697
3698 if test "$enableval" = yes; then
3699 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3700 else
3701 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3702 fi
3703
3704 else
3705
3706 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
3707 if test "x$LINE" != x ; then
3708 eval "DEFAULT_$LINE"
3709 else
3710 no_cache=1
3711 fi
3712
3713 ac_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
3714
3715 fi;
3716
3717 eval "$ac_cv_use_optimise"
3718 if test "$no_cache" != 1; then
3719 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3720 fi
3721
3722 if test x"$enablestring" = xdisable; then
3723 if test $wxUSE_OPTIMISE = yes; then
3724 result=no
3725 else
3726 result=yes
3727 fi
3728 else
3729 result=$wxUSE_OPTIMISE
3730 fi
3731
3732 echo "$as_me:$LINENO: result: $result" >&5
3733 echo "${ECHO_T}$result" >&6
3734
3735
3736 enablestring=
3737 defaultval=
3738 if test -z "$defaultval"; then
3739 if test x"$enablestring" = xdisable; then
3740 defaultval=yes
3741 else
3742 defaultval=no
3743 fi
3744 fi
3745
3746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3747 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3748 no_cache=0
3749 # Check whether --enable-debug or --disable-debug was given.
3750 if test "${enable_debug+set}" = set; then
3751 enableval="$enable_debug"
3752
3753 if test "$enableval" = yes; then
3754 ac_cv_use_debug='wxUSE_DEBUG=yes'
3755 else
3756 ac_cv_use_debug='wxUSE_DEBUG=no'
3757 fi
3758
3759 else
3760
3761 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3764 else
3765 no_cache=1
3766 fi
3767
3768 ac_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
3769
3770 fi;
3771
3772 eval "$ac_cv_use_debug"
3773 if test "$no_cache" != 1; then
3774 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3775 fi
3776
3777 if test x"$enablestring" = xdisable; then
3778 if test $wxUSE_DEBUG = yes; then
3779 result=no
3780 else
3781 result=yes
3782 fi
3783 else
3784 result=$wxUSE_DEBUG
3785 fi
3786
3787 echo "$as_me:$LINENO: result: $result" >&5
3788 echo "${ECHO_T}$result" >&6
3789
3790
3791 enablestring=
3792 defaultval=
3793 if test -z "$defaultval"; then
3794 if test x"$enablestring" = xdisable; then
3795 defaultval=yes
3796 else
3797 defaultval=no
3798 fi
3799 fi
3800
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3803 no_cache=0
3804 # Check whether --enable-stl or --disable-stl was given.
3805 if test "${enable_stl+set}" = set; then
3806 enableval="$enable_stl"
3807
3808 if test "$enableval" = yes; then
3809 ac_cv_use_stl='wxUSE_STL=yes'
3810 else
3811 ac_cv_use_stl='wxUSE_STL=no'
3812 fi
3813
3814 else
3815
3816 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x ; then
3818 eval "DEFAULT_$LINE"
3819 else
3820 no_cache=1
3821 fi
3822
3823 ac_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
3824
3825 fi;
3826
3827 eval "$ac_cv_use_stl"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3830 fi
3831
3832 if test x"$enablestring" = xdisable; then
3833 if test $wxUSE_STL = yes; then
3834 result=no
3835 else
3836 result=yes
3837 fi
3838 else
3839 result=$wxUSE_STL
3840 fi
3841
3842 echo "$as_me:$LINENO: result: $result" >&5
3843 echo "${ECHO_T}$result" >&6
3844
3845
3846 enablestring=
3847 defaultval=
3848 if test -z "$defaultval"; then
3849 if test x"$enablestring" = xdisable; then
3850 defaultval=yes
3851 else
3852 defaultval=no
3853 fi
3854 fi
3855
3856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
3857 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
3858 no_cache=0
3859 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3860 if test "${enable_std_iostreams+set}" = set; then
3861 enableval="$enable_std_iostreams"
3862
3863 if test "$enableval" = yes; then
3864 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3865 else
3866 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3867 fi
3868
3869 else
3870
3871 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
3872 if test "x$LINE" != x ; then
3873 eval "DEFAULT_$LINE"
3874 else
3875 no_cache=1
3876 fi
3877
3878 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
3879
3880 fi;
3881
3882 eval "$ac_cv_use_std_iostreams"
3883 if test "$no_cache" != 1; then
3884 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3885 fi
3886
3887 if test x"$enablestring" = xdisable; then
3888 if test $wxUSE_STD_IOSTREAM = yes; then
3889 result=no
3890 else
3891 result=yes
3892 fi
3893 else
3894 result=$wxUSE_STD_IOSTREAM
3895 fi
3896
3897 echo "$as_me:$LINENO: result: $result" >&5
3898 echo "${ECHO_T}$result" >&6
3899
3900
3901 enablestring=
3902 defaultval=
3903 if test -z "$defaultval"; then
3904 if test x"$enablestring" = xdisable; then
3905 defaultval=yes
3906 else
3907 defaultval=no
3908 fi
3909 fi
3910
3911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
3912 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
3913 no_cache=0
3914 # Check whether --enable-std_string or --disable-std_string was given.
3915 if test "${enable_std_string+set}" = set; then
3916 enableval="$enable_std_string"
3917
3918 if test "$enableval" = yes; then
3919 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
3920 else
3921 ac_cv_use_std_string='wxUSE_STD_STRING=no'
3922 fi
3923
3924 else
3925
3926 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x ; then
3928 eval "DEFAULT_$LINE"
3929 else
3930 no_cache=1
3931 fi
3932
3933 ac_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
3934
3935 fi;
3936
3937 eval "$ac_cv_use_std_string"
3938 if test "$no_cache" != 1; then
3939 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
3940 fi
3941
3942 if test x"$enablestring" = xdisable; then
3943 if test $wxUSE_STD_STRING = yes; then
3944 result=no
3945 else
3946 result=yes
3947 fi
3948 else
3949 result=$wxUSE_STD_STRING
3950 fi
3951
3952 echo "$as_me:$LINENO: result: $result" >&5
3953 echo "${ECHO_T}$result" >&6
3954
3955
3956 enablestring=disable
3957 defaultval=
3958 if test -z "$defaultval"; then
3959 if test x"$enablestring" = xdisable; then
3960 defaultval=yes
3961 else
3962 defaultval=no
3963 fi
3964 fi
3965
3966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
3967 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
3968 no_cache=0
3969 # Check whether --enable-unicode or --disable-unicode was given.
3970 if test "${enable_unicode+set}" = set; then
3971 enableval="$enable_unicode"
3972
3973 if test "$enableval" = yes; then
3974 ac_cv_use_unicode='wxUSE_UNICODE=yes'
3975 else
3976 ac_cv_use_unicode='wxUSE_UNICODE=no'
3977 fi
3978
3979 else
3980
3981 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x ; then
3983 eval "DEFAULT_$LINE"
3984 else
3985 no_cache=1
3986 fi
3987
3988 ac_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
3989
3990 fi;
3991
3992 eval "$ac_cv_use_unicode"
3993 if test "$no_cache" != 1; then
3994 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3995 fi
3996
3997 if test x"$enablestring" = xdisable; then
3998 if test $wxUSE_UNICODE = yes; then
3999 result=no
4000 else
4001 result=yes
4002 fi
4003 else
4004 result=$wxUSE_UNICODE
4005 fi
4006
4007 echo "$as_me:$LINENO: result: $result" >&5
4008 echo "${ECHO_T}$result" >&6
4009
4010
4011 enablestring=
4012 defaultval=
4013 if test -z "$defaultval"; then
4014 if test x"$enablestring" = xdisable; then
4015 defaultval=yes
4016 else
4017 defaultval=no
4018 fi
4019 fi
4020
4021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4022 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4023 no_cache=0
4024 # Check whether --enable-mslu or --disable-mslu was given.
4025 if test "${enable_mslu+set}" = set; then
4026 enableval="$enable_mslu"
4027
4028 if test "$enableval" = yes; then
4029 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4030 else
4031 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4032 fi
4033
4034 else
4035
4036 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x ; then
4038 eval "DEFAULT_$LINE"
4039 else
4040 no_cache=1
4041 fi
4042
4043 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4044
4045 fi;
4046
4047 eval "$ac_cv_use_mslu"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4050 fi
4051
4052 if test x"$enablestring" = xdisable; then
4053 if test $wxUSE_UNICODE_MSLU = yes; then
4054 result=no
4055 else
4056 result=yes
4057 fi
4058 else
4059 result=$wxUSE_UNICODE_MSLU
4060 fi
4061
4062 echo "$as_me:$LINENO: result: $result" >&5
4063 echo "${ECHO_T}$result" >&6
4064
4065
4066 enablestring=
4067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4068 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6
4069 no_cache=0
4070 # Check whether --enable-utf8 or --disable-utf8 was given.
4071 if test "${enable_utf8+set}" = set; then
4072 enableval="$enable_utf8"
4073
4074 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4075
4076 else
4077
4078 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4079 if test "x$LINE" != x ; then
4080 eval "DEFAULT_$LINE"
4081 else
4082 no_cache=1
4083 fi
4084
4085 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4086
4087 fi;
4088
4089 eval "$wx_cv_use_utf8"
4090 if test "$no_cache" != 1; then
4091 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4092 fi
4093
4094 echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4095 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6
4096
4097
4098 enablestring=
4099 defaultval=
4100 if test -z "$defaultval"; then
4101 if test x"$enablestring" = xdisable; then
4102 defaultval=yes
4103 else
4104 defaultval=no
4105 fi
4106 fi
4107
4108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4109 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6
4110 no_cache=0
4111 # Check whether --enable-utf8only or --disable-utf8only was given.
4112 if test "${enable_utf8only+set}" = set; then
4113 enableval="$enable_utf8only"
4114
4115 if test "$enableval" = yes; then
4116 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4117 else
4118 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4119 fi
4120
4121 else
4122
4123 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x ; then
4125 eval "DEFAULT_$LINE"
4126 else
4127 no_cache=1
4128 fi
4129
4130 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4131
4132 fi;
4133
4134 eval "$ac_cv_use_utf8only"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4137 fi
4138
4139 if test x"$enablestring" = xdisable; then
4140 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4141 result=no
4142 else
4143 result=yes
4144 fi
4145 else
4146 result=$wxUSE_UNICODE_UTF8_LOCALE
4147 fi
4148
4149 echo "$as_me:$LINENO: result: $result" >&5
4150 echo "${ECHO_T}$result" >&6
4151
4152
4153 enablestring=
4154 defaultval=
4155 if test -z "$defaultval"; then
4156 if test x"$enablestring" = xdisable; then
4157 defaultval=yes
4158 else
4159 defaultval=no
4160 fi
4161 fi
4162
4163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4164 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
4165 no_cache=0
4166 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
4167 if test "${enable_extended_rtti+set}" = set; then
4168 enableval="$enable_extended_rtti"
4169
4170 if test "$enableval" = yes; then
4171 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4172 else
4173 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4174 fi
4175
4176 else
4177
4178 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4179 if test "x$LINE" != x ; then
4180 eval "DEFAULT_$LINE"
4181 else
4182 no_cache=1
4183 fi
4184
4185 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4186
4187 fi;
4188
4189 eval "$ac_cv_use_extended_rtti"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4192 fi
4193
4194 if test x"$enablestring" = xdisable; then
4195 if test $wxUSE_EXTENDED_RTTI = yes; then
4196 result=no
4197 else
4198 result=yes
4199 fi
4200 else
4201 result=$wxUSE_EXTENDED_RTTI
4202 fi
4203
4204 echo "$as_me:$LINENO: result: $result" >&5
4205 echo "${ECHO_T}$result" >&6
4206
4207 if test "$USE_OS2" = "1"; then
4208 DEFAULT_wxUSE_OMF=no
4209
4210 enablestring=
4211 defaultval=
4212 if test -z "$defaultval"; then
4213 if test x"$enablestring" = xdisable; then
4214 defaultval=yes
4215 else
4216 defaultval=no
4217 fi
4218 fi
4219
4220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4221 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
4222 no_cache=0
4223 # Check whether --enable-omf or --disable-omf was given.
4224 if test "${enable_omf+set}" = set; then
4225 enableval="$enable_omf"
4226
4227 if test "$enableval" = yes; then
4228 ac_cv_use_omf='wxUSE_OMF=yes'
4229 else
4230 ac_cv_use_omf='wxUSE_OMF=no'
4231 fi
4232
4233 else
4234
4235 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x ; then
4237 eval "DEFAULT_$LINE"
4238 else
4239 no_cache=1
4240 fi
4241
4242 ac_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4243
4244 fi;
4245
4246 eval "$ac_cv_use_omf"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4249 fi
4250
4251 if test x"$enablestring" = xdisable; then
4252 if test $wxUSE_OMF = yes; then
4253 result=no
4254 else
4255 result=yes
4256 fi
4257 else
4258 result=$wxUSE_OMF
4259 fi
4260
4261 echo "$as_me:$LINENO: result: $result" >&5
4262 echo "${ECHO_T}$result" >&6
4263
4264 fi
4265
4266 if test "$wxUSE_DEBUG" = "yes"; then
4267 DEFAULT_wxUSE_DEBUG_FLAG=yes
4268 DEFAULT_wxUSE_DEBUG_INFO=yes
4269 BUILD=debug
4270 elif test "$wxUSE_DEBUG" = "no"; then
4271 DEFAULT_wxUSE_DEBUG_FLAG=no
4272 DEFAULT_wxUSE_DEBUG_INFO=no
4273 BUILD=release
4274 fi
4275
4276
4277 enablestring=
4278 defaultval=
4279 if test -z "$defaultval"; then
4280 if test x"$enablestring" = xdisable; then
4281 defaultval=yes
4282 else
4283 defaultval=no
4284 fi
4285 fi
4286
4287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4288 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4289 no_cache=0
4290 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4291 if test "${enable_debug_flag+set}" = set; then
4292 enableval="$enable_debug_flag"
4293
4294 if test "$enableval" = yes; then
4295 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4296 else
4297 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4298 fi
4299
4300 else
4301
4302 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x ; then
4304 eval "DEFAULT_$LINE"
4305 else
4306 no_cache=1
4307 fi
4308
4309 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4310
4311 fi;
4312
4313 eval "$ac_cv_use_debug_flag"
4314 if test "$no_cache" != 1; then
4315 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4316 fi
4317
4318 if test x"$enablestring" = xdisable; then
4319 if test $wxUSE_DEBUG_FLAG = yes; then
4320 result=no
4321 else
4322 result=yes
4323 fi
4324 else
4325 result=$wxUSE_DEBUG_FLAG
4326 fi
4327
4328 echo "$as_me:$LINENO: result: $result" >&5
4329 echo "${ECHO_T}$result" >&6
4330
4331
4332 enablestring=
4333 defaultval=
4334 if test -z "$defaultval"; then
4335 if test x"$enablestring" = xdisable; then
4336 defaultval=yes
4337 else
4338 defaultval=no
4339 fi
4340 fi
4341
4342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4343 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4344 no_cache=0
4345 # Check whether --enable-debug_info or --disable-debug_info was given.
4346 if test "${enable_debug_info+set}" = set; then
4347 enableval="$enable_debug_info"
4348
4349 if test "$enableval" = yes; then
4350 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4351 else
4352 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4353 fi
4354
4355 else
4356
4357 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x ; then
4359 eval "DEFAULT_$LINE"
4360 else
4361 no_cache=1
4362 fi
4363
4364 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4365
4366 fi;
4367
4368 eval "$ac_cv_use_debug_info"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4371 fi
4372
4373 if test x"$enablestring" = xdisable; then
4374 if test $wxUSE_DEBUG_INFO = yes; then
4375 result=no
4376 else
4377 result=yes
4378 fi
4379 else
4380 result=$wxUSE_DEBUG_INFO
4381 fi
4382
4383 echo "$as_me:$LINENO: result: $result" >&5
4384 echo "${ECHO_T}$result" >&6
4385
4386
4387 enablestring=
4388 defaultval=
4389 if test -z "$defaultval"; then
4390 if test x"$enablestring" = xdisable; then
4391 defaultval=yes
4392 else
4393 defaultval=no
4394 fi
4395 fi
4396
4397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4398 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4399 no_cache=0
4400 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4401 if test "${enable_debug_gdb+set}" = set; then
4402 enableval="$enable_debug_gdb"
4403
4404 if test "$enableval" = yes; then
4405 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4406 else
4407 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4408 fi
4409
4410 else
4411
4412 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4413 if test "x$LINE" != x ; then
4414 eval "DEFAULT_$LINE"
4415 else
4416 no_cache=1
4417 fi
4418
4419 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4420
4421 fi;
4422
4423 eval "$ac_cv_use_debug_gdb"
4424 if test "$no_cache" != 1; then
4425 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4426 fi
4427
4428 if test x"$enablestring" = xdisable; then
4429 if test $wxUSE_DEBUG_GDB = yes; then
4430 result=no
4431 else
4432 result=yes
4433 fi
4434 else
4435 result=$wxUSE_DEBUG_GDB
4436 fi
4437
4438 echo "$as_me:$LINENO: result: $result" >&5
4439 echo "${ECHO_T}$result" >&6
4440
4441
4442 enablestring=
4443 defaultval=
4444 if test -z "$defaultval"; then
4445 if test x"$enablestring" = xdisable; then
4446 defaultval=yes
4447 else
4448 defaultval=no
4449 fi
4450 fi
4451
4452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4453 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4454 no_cache=0
4455 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4456 if test "${enable_debug_cntxt+set}" = set; then
4457 enableval="$enable_debug_cntxt"
4458
4459 if test "$enableval" = yes; then
4460 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4461 else
4462 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4463 fi
4464
4465 else
4466
4467 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4468 if test "x$LINE" != x ; then
4469 eval "DEFAULT_$LINE"
4470 else
4471 no_cache=1
4472 fi
4473
4474 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4475
4476 fi;
4477
4478 eval "$ac_cv_use_debug_cntxt"
4479 if test "$no_cache" != 1; then
4480 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4481 fi
4482
4483 if test x"$enablestring" = xdisable; then
4484 if test $wxUSE_DEBUG_CONTEXT = yes; then
4485 result=no
4486 else
4487 result=yes
4488 fi
4489 else
4490 result=$wxUSE_DEBUG_CONTEXT
4491 fi
4492
4493 echo "$as_me:$LINENO: result: $result" >&5
4494 echo "${ECHO_T}$result" >&6
4495
4496
4497 enablestring=
4498 defaultval=
4499 if test -z "$defaultval"; then
4500 if test x"$enablestring" = xdisable; then
4501 defaultval=yes
4502 else
4503 defaultval=no
4504 fi
4505 fi
4506
4507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4509 no_cache=0
4510 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4511 if test "${enable_mem_tracing+set}" = set; then
4512 enableval="$enable_mem_tracing"
4513
4514 if test "$enableval" = yes; then
4515 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4516 else
4517 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4518 fi
4519
4520 else
4521
4522 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4523 if test "x$LINE" != x ; then
4524 eval "DEFAULT_$LINE"
4525 else
4526 no_cache=1
4527 fi
4528
4529 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4530
4531 fi;
4532
4533 eval "$ac_cv_use_mem_tracing"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4536 fi
4537
4538 if test x"$enablestring" = xdisable; then
4539 if test $wxUSE_MEM_TRACING = yes; then
4540 result=no
4541 else
4542 result=yes
4543 fi
4544 else
4545 result=$wxUSE_MEM_TRACING
4546 fi
4547
4548 echo "$as_me:$LINENO: result: $result" >&5
4549 echo "${ECHO_T}$result" >&6
4550
4551
4552 enablestring=
4553 defaultval=
4554 if test -z "$defaultval"; then
4555 if test x"$enablestring" = xdisable; then
4556 defaultval=yes
4557 else
4558 defaultval=no
4559 fi
4560 fi
4561
4562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4563 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4564 no_cache=0
4565 # Check whether --enable-profile or --disable-profile was given.
4566 if test "${enable_profile+set}" = set; then
4567 enableval="$enable_profile"
4568
4569 if test "$enableval" = yes; then
4570 ac_cv_use_profile='wxUSE_PROFILE=yes'
4571 else
4572 ac_cv_use_profile='wxUSE_PROFILE=no'
4573 fi
4574
4575 else
4576
4577 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x ; then
4579 eval "DEFAULT_$LINE"
4580 else
4581 no_cache=1
4582 fi
4583
4584 ac_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4585
4586 fi;
4587
4588 eval "$ac_cv_use_profile"
4589 if test "$no_cache" != 1; then
4590 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4591 fi
4592
4593 if test x"$enablestring" = xdisable; then
4594 if test $wxUSE_PROFILE = yes; then
4595 result=no
4596 else
4597 result=yes
4598 fi
4599 else
4600 result=$wxUSE_PROFILE
4601 fi
4602
4603 echo "$as_me:$LINENO: result: $result" >&5
4604 echo "${ECHO_T}$result" >&6
4605
4606
4607 enablestring=
4608 defaultval=
4609 if test -z "$defaultval"; then
4610 if test x"$enablestring" = xdisable; then
4611 defaultval=yes
4612 else
4613 defaultval=no
4614 fi
4615 fi
4616
4617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4619 no_cache=0
4620 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4621 if test "${enable_no_rtti+set}" = set; then
4622 enableval="$enable_no_rtti"
4623
4624 if test "$enableval" = yes; then
4625 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4626 else
4627 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4628 fi
4629
4630 else
4631
4632 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x ; then
4634 eval "DEFAULT_$LINE"
4635 else
4636 no_cache=1
4637 fi
4638
4639 ac_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4640
4641 fi;
4642
4643 eval "$ac_cv_use_no_rtti"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4646 fi
4647
4648 if test x"$enablestring" = xdisable; then
4649 if test $wxUSE_NO_RTTI = yes; then
4650 result=no
4651 else
4652 result=yes
4653 fi
4654 else
4655 result=$wxUSE_NO_RTTI
4656 fi
4657
4658 echo "$as_me:$LINENO: result: $result" >&5
4659 echo "${ECHO_T}$result" >&6
4660
4661
4662 enablestring=
4663 defaultval=
4664 if test -z "$defaultval"; then
4665 if test x"$enablestring" = xdisable; then
4666 defaultval=yes
4667 else
4668 defaultval=no
4669 fi
4670 fi
4671
4672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4673 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4674 no_cache=0
4675 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4676 if test "${enable_no_exceptions+set}" = set; then
4677 enableval="$enable_no_exceptions"
4678
4679 if test "$enableval" = yes; then
4680 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4681 else
4682 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4683 fi
4684
4685 else
4686
4687 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
4688 if test "x$LINE" != x ; then
4689 eval "DEFAULT_$LINE"
4690 else
4691 no_cache=1
4692 fi
4693
4694 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
4695
4696 fi;
4697
4698 eval "$ac_cv_use_no_exceptions"
4699 if test "$no_cache" != 1; then
4700 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4701 fi
4702
4703 if test x"$enablestring" = xdisable; then
4704 if test $wxUSE_NO_EXCEPTIONS = yes; then
4705 result=no
4706 else
4707 result=yes
4708 fi
4709 else
4710 result=$wxUSE_NO_EXCEPTIONS
4711 fi
4712
4713 echo "$as_me:$LINENO: result: $result" >&5
4714 echo "${ECHO_T}$result" >&6
4715
4716
4717 enablestring=
4718 defaultval=
4719 if test -z "$defaultval"; then
4720 if test x"$enablestring" = xdisable; then
4721 defaultval=yes
4722 else
4723 defaultval=no
4724 fi
4725 fi
4726
4727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4728 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4729 no_cache=0
4730 # Check whether --enable-permissive or --disable-permissive was given.
4731 if test "${enable_permissive+set}" = set; then
4732 enableval="$enable_permissive"
4733
4734 if test "$enableval" = yes; then
4735 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4736 else
4737 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4738 fi
4739
4740 else
4741
4742 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
4743 if test "x$LINE" != x ; then
4744 eval "DEFAULT_$LINE"
4745 else
4746 no_cache=1
4747 fi
4748
4749 ac_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
4750
4751 fi;
4752
4753 eval "$ac_cv_use_permissive"
4754 if test "$no_cache" != 1; then
4755 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4756 fi
4757
4758 if test x"$enablestring" = xdisable; then
4759 if test $wxUSE_PERMISSIVE = yes; then
4760 result=no
4761 else
4762 result=yes
4763 fi
4764 else
4765 result=$wxUSE_PERMISSIVE
4766 fi
4767
4768 echo "$as_me:$LINENO: result: $result" >&5
4769 echo "${ECHO_T}$result" >&6
4770
4771
4772 enablestring=
4773 defaultval=
4774 if test -z "$defaultval"; then
4775 if test x"$enablestring" = xdisable; then
4776 defaultval=yes
4777 else
4778 defaultval=no
4779 fi
4780 fi
4781
4782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4783 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4784 no_cache=0
4785 # Check whether --enable-no_deps or --disable-no_deps was given.
4786 if test "${enable_no_deps+set}" = set; then
4787 enableval="$enable_no_deps"
4788
4789 if test "$enableval" = yes; then
4790 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4791 else
4792 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4793 fi
4794
4795 else
4796
4797 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
4798 if test "x$LINE" != x ; then
4799 eval "DEFAULT_$LINE"
4800 else
4801 no_cache=1
4802 fi
4803
4804 ac_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
4805
4806 fi;
4807
4808 eval "$ac_cv_use_no_deps"
4809 if test "$no_cache" != 1; then
4810 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4811 fi
4812
4813 if test x"$enablestring" = xdisable; then
4814 if test $wxUSE_NO_DEPS = yes; then
4815 result=no
4816 else
4817 result=yes
4818 fi
4819 else
4820 result=$wxUSE_NO_DEPS
4821 fi
4822
4823 echo "$as_me:$LINENO: result: $result" >&5
4824 echo "${ECHO_T}$result" >&6
4825
4826
4827 enablestring=disable
4828 defaultval=
4829 if test -z "$defaultval"; then
4830 if test x"$enablestring" = xdisable; then
4831 defaultval=yes
4832 else
4833 defaultval=no
4834 fi
4835 fi
4836
4837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4838 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4839 no_cache=0
4840 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4841 if test "${enable_vararg_macros+set}" = set; then
4842 enableval="$enable_vararg_macros"
4843
4844 if test "$enableval" = yes; then
4845 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
4846 else
4847 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
4848 fi
4849
4850 else
4851
4852 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
4853 if test "x$LINE" != x ; then
4854 eval "DEFAULT_$LINE"
4855 else
4856 no_cache=1
4857 fi
4858
4859 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
4860
4861 fi;
4862
4863 eval "$ac_cv_use_vararg_macros"
4864 if test "$no_cache" != 1; then
4865 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4866 fi
4867
4868 if test x"$enablestring" = xdisable; then
4869 if test $wxUSE_VARARG_MACROS = yes; then
4870 result=no
4871 else
4872 result=yes
4873 fi
4874 else
4875 result=$wxUSE_VARARG_MACROS
4876 fi
4877
4878 echo "$as_me:$LINENO: result: $result" >&5
4879 echo "${ECHO_T}$result" >&6
4880
4881
4882 enablestring=
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4885 no_cache=0
4886 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4887 if test "${enable_universal_binary+set}" = set; then
4888 enableval="$enable_universal_binary"
4889
4890 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4891
4892 else
4893
4894 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
4895 if test "x$LINE" != x ; then
4896 eval "DEFAULT_$LINE"
4897 else
4898 no_cache=1
4899 fi
4900
4901 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4902
4903 fi;
4904
4905 eval "$wx_cv_use_universal_binary"
4906 if test "$no_cache" != 1; then
4907 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4908 fi
4909
4910 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4911 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4912
4913
4914
4915 enablestring=
4916 defaultval=
4917 if test -z "$defaultval"; then
4918 if test x"$enablestring" = xdisable; then
4919 defaultval=yes
4920 else
4921 defaultval=no
4922 fi
4923 fi
4924
4925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4927 no_cache=0
4928 # Check whether --enable-compat26 or --disable-compat26 was given.
4929 if test "${enable_compat26+set}" = set; then
4930 enableval="$enable_compat26"
4931
4932 if test "$enableval" = yes; then
4933 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4934 else
4935 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4936 fi
4937
4938 else
4939
4940 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x ; then
4942 eval "DEFAULT_$LINE"
4943 else
4944 no_cache=1
4945 fi
4946
4947 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
4948
4949 fi;
4950
4951 eval "$ac_cv_use_compat26"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4954 fi
4955
4956 if test x"$enablestring" = xdisable; then
4957 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
4958 result=no
4959 else
4960 result=yes
4961 fi
4962 else
4963 result=$WXWIN_COMPATIBILITY_2_6
4964 fi
4965
4966 echo "$as_me:$LINENO: result: $result" >&5
4967 echo "${ECHO_T}$result" >&6
4968
4969
4970 enablestring=disable
4971 defaultval=
4972 if test -z "$defaultval"; then
4973 if test x"$enablestring" = xdisable; then
4974 defaultval=yes
4975 else
4976 defaultval=no
4977 fi
4978 fi
4979
4980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
4981 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6
4982 no_cache=0
4983 # Check whether --enable-compat28 or --disable-compat28 was given.
4984 if test "${enable_compat28+set}" = set; then
4985 enableval="$enable_compat28"
4986
4987 if test "$enableval" = yes; then
4988 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
4989 else
4990 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
4991 fi
4992
4993 else
4994
4995 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x ; then
4997 eval "DEFAULT_$LINE"
4998 else
4999 no_cache=1
5000 fi
5001
5002 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5003
5004 fi;
5005
5006 eval "$ac_cv_use_compat28"
5007 if test "$no_cache" != 1; then
5008 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5009 fi
5010
5011 if test x"$enablestring" = xdisable; then
5012 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5013 result=no
5014 else
5015 result=yes
5016 fi
5017 else
5018 result=$WXWIN_COMPATIBILITY_2_8
5019 fi
5020
5021 echo "$as_me:$LINENO: result: $result" >&5
5022 echo "${ECHO_T}$result" >&6
5023
5024
5025
5026 enablestring=disable
5027 defaultval=
5028 if test -z "$defaultval"; then
5029 if test x"$enablestring" = xdisable; then
5030 defaultval=yes
5031 else
5032 defaultval=no
5033 fi
5034 fi
5035
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
5038 no_cache=0
5039 # Check whether --enable-rpath or --disable-rpath was given.
5040 if test "${enable_rpath+set}" = set; then
5041 enableval="$enable_rpath"
5042
5043 if test "$enableval" = yes; then
5044 ac_cv_use_rpath='wxUSE_RPATH=yes'
5045 else
5046 ac_cv_use_rpath='wxUSE_RPATH=no'
5047 fi
5048
5049 else
5050
5051 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5054 else
5055 no_cache=1
5056 fi
5057
5058 ac_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5059
5060 fi;
5061
5062 eval "$ac_cv_use_rpath"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5065 fi
5066
5067 if test x"$enablestring" = xdisable; then
5068 if test $wxUSE_RPATH = yes; then
5069 result=no
5070 else
5071 result=yes
5072 fi
5073 else
5074 result=$wxUSE_RPATH
5075 fi
5076
5077 echo "$as_me:$LINENO: result: $result" >&5
5078 echo "${ECHO_T}$result" >&6
5079
5080
5081
5082 enablestring=
5083 defaultval=
5084 if test -z "$defaultval"; then
5085 if test x"$enablestring" = xdisable; then
5086 defaultval=yes
5087 else
5088 defaultval=no
5089 fi
5090 fi
5091
5092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6
5094 no_cache=0
5095 # Check whether --enable-objc_uniquifying or --disable-objc_uniquifying was given.
5096 if test "${enable_objc_uniquifying+set}" = set; then
5097 enableval="$enable_objc_uniquifying"
5098
5099 if test "$enableval" = yes; then
5100 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5101 else
5102 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5103 fi
5104
5105 else
5106
5107 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x ; then
5109 eval "DEFAULT_$LINE"
5110 else
5111 no_cache=1
5112 fi
5113
5114 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5115
5116 fi;
5117
5118 eval "$ac_cv_use_objc_uniquifying"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5121 fi
5122
5123 if test x"$enablestring" = xdisable; then
5124 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5125 result=no
5126 else
5127 result=yes
5128 fi
5129 else
5130 result=$wxUSE_OBJC_UNIQUIFYING
5131 fi
5132
5133 echo "$as_me:$LINENO: result: $result" >&5
5134 echo "${ECHO_T}$result" >&6
5135
5136
5137
5138
5139 enablestring=
5140 defaultval=$wxUSE_ALL_FEATURES
5141 if test -z "$defaultval"; then
5142 if test x"$enablestring" = xdisable; then
5143 defaultval=yes
5144 else
5145 defaultval=no
5146 fi
5147 fi
5148
5149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5150 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
5151 no_cache=0
5152 # Check whether --enable-intl or --disable-intl was given.
5153 if test "${enable_intl+set}" = set; then
5154 enableval="$enable_intl"
5155
5156 if test "$enableval" = yes; then
5157 ac_cv_use_intl='wxUSE_INTL=yes'
5158 else
5159 ac_cv_use_intl='wxUSE_INTL=no'
5160 fi
5161
5162 else
5163
5164 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5165 if test "x$LINE" != x ; then
5166 eval "DEFAULT_$LINE"
5167 else
5168 no_cache=1
5169 fi
5170
5171 ac_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5172
5173 fi;
5174
5175 eval "$ac_cv_use_intl"
5176 if test "$no_cache" != 1; then
5177 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5178 fi
5179
5180 if test x"$enablestring" = xdisable; then
5181 if test $wxUSE_INTL = yes; then
5182 result=no
5183 else
5184 result=yes
5185 fi
5186 else
5187 result=$wxUSE_INTL
5188 fi
5189
5190 echo "$as_me:$LINENO: result: $result" >&5
5191 echo "${ECHO_T}$result" >&6
5192
5193
5194 enablestring=
5195 defaultval=$wxUSE_ALL_FEATURES
5196 if test -z "$defaultval"; then
5197 if test x"$enablestring" = xdisable; then
5198 defaultval=yes
5199 else
5200 defaultval=no
5201 fi
5202 fi
5203
5204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5205 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
5206 no_cache=0
5207 # Check whether --enable-config or --disable-config was given.
5208 if test "${enable_config+set}" = set; then
5209 enableval="$enable_config"
5210
5211 if test "$enableval" = yes; then
5212 ac_cv_use_config='wxUSE_CONFIG=yes'
5213 else
5214 ac_cv_use_config='wxUSE_CONFIG=no'
5215 fi
5216
5217 else
5218
5219 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5220 if test "x$LINE" != x ; then
5221 eval "DEFAULT_$LINE"
5222 else
5223 no_cache=1
5224 fi
5225
5226 ac_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5227
5228 fi;
5229
5230 eval "$ac_cv_use_config"
5231 if test "$no_cache" != 1; then
5232 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5233 fi
5234
5235 if test x"$enablestring" = xdisable; then
5236 if test $wxUSE_CONFIG = yes; then
5237 result=no
5238 else
5239 result=yes
5240 fi
5241 else
5242 result=$wxUSE_CONFIG
5243 fi
5244
5245 echo "$as_me:$LINENO: result: $result" >&5
5246 echo "${ECHO_T}$result" >&6
5247
5248
5249
5250 enablestring=
5251 defaultval=$wxUSE_ALL_FEATURES
5252 if test -z "$defaultval"; then
5253 if test x"$enablestring" = xdisable; then
5254 defaultval=yes
5255 else
5256 defaultval=no
5257 fi
5258 fi
5259
5260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5261 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
5262 no_cache=0
5263 # Check whether --enable-protocols or --disable-protocols was given.
5264 if test "${enable_protocols+set}" = set; then
5265 enableval="$enable_protocols"
5266
5267 if test "$enableval" = yes; then
5268 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5269 else
5270 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5271 fi
5272
5273 else
5274
5275 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5276 if test "x$LINE" != x ; then
5277 eval "DEFAULT_$LINE"
5278 else
5279 no_cache=1
5280 fi
5281
5282 ac_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5283
5284 fi;
5285
5286 eval "$ac_cv_use_protocols"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5289 fi
5290
5291 if test x"$enablestring" = xdisable; then
5292 if test $wxUSE_PROTOCOL = yes; then
5293 result=no
5294 else
5295 result=yes
5296 fi
5297 else
5298 result=$wxUSE_PROTOCOL
5299 fi
5300
5301 echo "$as_me:$LINENO: result: $result" >&5
5302 echo "${ECHO_T}$result" >&6
5303
5304
5305 enablestring=
5306 defaultval=$wxUSE_ALL_FEATURES
5307 if test -z "$defaultval"; then
5308 if test x"$enablestring" = xdisable; then
5309 defaultval=yes
5310 else
5311 defaultval=no
5312 fi
5313 fi
5314
5315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5316 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
5317 no_cache=0
5318 # Check whether --enable-ftp or --disable-ftp was given.
5319 if test "${enable_ftp+set}" = set; then
5320 enableval="$enable_ftp"
5321
5322 if test "$enableval" = yes; then
5323 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5324 else
5325 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5326 fi
5327
5328 else
5329
5330 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x ; then
5332 eval "DEFAULT_$LINE"
5333 else
5334 no_cache=1
5335 fi
5336
5337 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5338
5339 fi;
5340
5341 eval "$ac_cv_use_ftp"
5342 if test "$no_cache" != 1; then
5343 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5344 fi
5345
5346 if test x"$enablestring" = xdisable; then
5347 if test $wxUSE_PROTOCOL_FTP = yes; then
5348 result=no
5349 else
5350 result=yes
5351 fi
5352 else
5353 result=$wxUSE_PROTOCOL_FTP
5354 fi
5355
5356 echo "$as_me:$LINENO: result: $result" >&5
5357 echo "${ECHO_T}$result" >&6
5358
5359
5360 enablestring=
5361 defaultval=$wxUSE_ALL_FEATURES
5362 if test -z "$defaultval"; then
5363 if test x"$enablestring" = xdisable; then
5364 defaultval=yes
5365 else
5366 defaultval=no
5367 fi
5368 fi
5369
5370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5371 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
5372 no_cache=0
5373 # Check whether --enable-http or --disable-http was given.
5374 if test "${enable_http+set}" = set; then
5375 enableval="$enable_http"
5376
5377 if test "$enableval" = yes; then
5378 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5379 else
5380 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5381 fi
5382
5383 else
5384
5385 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x ; then
5387 eval "DEFAULT_$LINE"
5388 else
5389 no_cache=1
5390 fi
5391
5392 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5393
5394 fi;
5395
5396 eval "$ac_cv_use_http"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5399 fi
5400
5401 if test x"$enablestring" = xdisable; then
5402 if test $wxUSE_PROTOCOL_HTTP = yes; then
5403 result=no
5404 else
5405 result=yes
5406 fi
5407 else
5408 result=$wxUSE_PROTOCOL_HTTP
5409 fi
5410
5411 echo "$as_me:$LINENO: result: $result" >&5
5412 echo "${ECHO_T}$result" >&6
5413
5414
5415 enablestring=
5416 defaultval=$wxUSE_ALL_FEATURES
5417 if test -z "$defaultval"; then
5418 if test x"$enablestring" = xdisable; then
5419 defaultval=yes
5420 else
5421 defaultval=no
5422 fi
5423 fi
5424
5425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5426 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
5427 no_cache=0
5428 # Check whether --enable-fileproto or --disable-fileproto was given.
5429 if test "${enable_fileproto+set}" = set; then
5430 enableval="$enable_fileproto"
5431
5432 if test "$enableval" = yes; then
5433 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5434 else
5435 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5436 fi
5437
5438 else
5439
5440 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5441 if test "x$LINE" != x ; then
5442 eval "DEFAULT_$LINE"
5443 else
5444 no_cache=1
5445 fi
5446
5447 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5448
5449 fi;
5450
5451 eval "$ac_cv_use_fileproto"
5452 if test "$no_cache" != 1; then
5453 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5454 fi
5455
5456 if test x"$enablestring" = xdisable; then
5457 if test $wxUSE_PROTOCOL_FILE = yes; then
5458 result=no
5459 else
5460 result=yes
5461 fi
5462 else
5463 result=$wxUSE_PROTOCOL_FILE
5464 fi
5465
5466 echo "$as_me:$LINENO: result: $result" >&5
5467 echo "${ECHO_T}$result" >&6
5468
5469
5470 enablestring=
5471 defaultval=$wxUSE_ALL_FEATURES
5472 if test -z "$defaultval"; then
5473 if test x"$enablestring" = xdisable; then
5474 defaultval=yes
5475 else
5476 defaultval=no
5477 fi
5478 fi
5479
5480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
5482 no_cache=0
5483 # Check whether --enable-sockets or --disable-sockets was given.
5484 if test "${enable_sockets+set}" = set; then
5485 enableval="$enable_sockets"
5486
5487 if test "$enableval" = yes; then
5488 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5489 else
5490 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5491 fi
5492
5493 else
5494
5495 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x ; then
5497 eval "DEFAULT_$LINE"
5498 else
5499 no_cache=1
5500 fi
5501
5502 ac_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5503
5504 fi;
5505
5506 eval "$ac_cv_use_sockets"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5509 fi
5510
5511 if test x"$enablestring" = xdisable; then
5512 if test $wxUSE_SOCKETS = yes; then
5513 result=no
5514 else
5515 result=yes
5516 fi
5517 else
5518 result=$wxUSE_SOCKETS
5519 fi
5520
5521 echo "$as_me:$LINENO: result: $result" >&5
5522 echo "${ECHO_T}$result" >&6
5523
5524
5525 enablestring=
5526 defaultval=$wxUSE_ALL_FEATURES
5527 if test -z "$defaultval"; then
5528 if test x"$enablestring" = xdisable; then
5529 defaultval=yes
5530 else
5531 defaultval=no
5532 fi
5533 fi
5534
5535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5536 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
5537 no_cache=0
5538 # Check whether --enable-ole or --disable-ole was given.
5539 if test "${enable_ole+set}" = set; then
5540 enableval="$enable_ole"
5541
5542 if test "$enableval" = yes; then
5543 ac_cv_use_ole='wxUSE_OLE=yes'
5544 else
5545 ac_cv_use_ole='wxUSE_OLE=no'
5546 fi
5547
5548 else
5549
5550 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5551 if test "x$LINE" != x ; then
5552 eval "DEFAULT_$LINE"
5553 else
5554 no_cache=1
5555 fi
5556
5557 ac_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5558
5559 fi;
5560
5561 eval "$ac_cv_use_ole"
5562 if test "$no_cache" != 1; then
5563 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5564 fi
5565
5566 if test x"$enablestring" = xdisable; then
5567 if test $wxUSE_OLE = yes; then
5568 result=no
5569 else
5570 result=yes
5571 fi
5572 else
5573 result=$wxUSE_OLE
5574 fi
5575
5576 echo "$as_me:$LINENO: result: $result" >&5
5577 echo "${ECHO_T}$result" >&6
5578
5579
5580 enablestring=
5581 defaultval=$wxUSE_ALL_FEATURES
5582 if test -z "$defaultval"; then
5583 if test x"$enablestring" = xdisable; then
5584 defaultval=yes
5585 else
5586 defaultval=no
5587 fi
5588 fi
5589
5590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5591 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
5592 no_cache=0
5593 # Check whether --enable-dataobj or --disable-dataobj was given.
5594 if test "${enable_dataobj+set}" = set; then
5595 enableval="$enable_dataobj"
5596
5597 if test "$enableval" = yes; then
5598 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5599 else
5600 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5601 fi
5602
5603 else
5604
5605 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5606 if test "x$LINE" != x ; then
5607 eval "DEFAULT_$LINE"
5608 else
5609 no_cache=1
5610 fi
5611
5612 ac_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5613
5614 fi;
5615
5616 eval "$ac_cv_use_dataobj"
5617 if test "$no_cache" != 1; then
5618 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5619 fi
5620
5621 if test x"$enablestring" = xdisable; then
5622 if test $wxUSE_DATAOBJ = yes; then
5623 result=no
5624 else
5625 result=yes
5626 fi
5627 else
5628 result=$wxUSE_DATAOBJ
5629 fi
5630
5631 echo "$as_me:$LINENO: result: $result" >&5
5632 echo "${ECHO_T}$result" >&6
5633
5634
5635
5636 enablestring=
5637 defaultval=$wxUSE_ALL_FEATURES
5638 if test -z "$defaultval"; then
5639 if test x"$enablestring" = xdisable; then
5640 defaultval=yes
5641 else
5642 defaultval=no
5643 fi
5644 fi
5645
5646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5648 no_cache=0
5649 # Check whether --enable-ipc or --disable-ipc was given.
5650 if test "${enable_ipc+set}" = set; then
5651 enableval="$enable_ipc"
5652
5653 if test "$enableval" = yes; then
5654 ac_cv_use_ipc='wxUSE_IPC=yes'
5655 else
5656 ac_cv_use_ipc='wxUSE_IPC=no'
5657 fi
5658
5659 else
5660
5661 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5664 else
5665 no_cache=1
5666 fi
5667
5668 ac_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5669
5670 fi;
5671
5672 eval "$ac_cv_use_ipc"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5675 fi
5676
5677 if test x"$enablestring" = xdisable; then
5678 if test $wxUSE_IPC = yes; then
5679 result=no
5680 else
5681 result=yes
5682 fi
5683 else
5684 result=$wxUSE_IPC
5685 fi
5686
5687 echo "$as_me:$LINENO: result: $result" >&5
5688 echo "${ECHO_T}$result" >&6
5689
5690
5691
5692 enablestring=
5693 defaultval=$wxUSE_ALL_FEATURES
5694 if test -z "$defaultval"; then
5695 if test x"$enablestring" = xdisable; then
5696 defaultval=yes
5697 else
5698 defaultval=no
5699 fi
5700 fi
5701
5702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5703 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5704 no_cache=0
5705 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5706 if test "${enable_apple_ieee+set}" = set; then
5707 enableval="$enable_apple_ieee"
5708
5709 if test "$enableval" = yes; then
5710 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5711 else
5712 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5713 fi
5714
5715 else
5716
5717 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5718 if test "x$LINE" != x ; then
5719 eval "DEFAULT_$LINE"
5720 else
5721 no_cache=1
5722 fi
5723
5724 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
5725
5726 fi;
5727
5728 eval "$ac_cv_use_apple_ieee"
5729 if test "$no_cache" != 1; then
5730 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5731 fi
5732
5733 if test x"$enablestring" = xdisable; then
5734 if test $wxUSE_APPLE_IEEE = yes; then
5735 result=no
5736 else
5737 result=yes
5738 fi
5739 else
5740 result=$wxUSE_APPLE_IEEE
5741 fi
5742
5743 echo "$as_me:$LINENO: result: $result" >&5
5744 echo "${ECHO_T}$result" >&6
5745
5746
5747 enablestring=
5748 defaultval=$wxUSE_ALL_FEATURES
5749 if test -z "$defaultval"; then
5750 if test x"$enablestring" = xdisable; then
5751 defaultval=yes
5752 else
5753 defaultval=no
5754 fi
5755 fi
5756
5757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5758 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5759 no_cache=0
5760 # Check whether --enable-arcstream or --disable-arcstream was given.
5761 if test "${enable_arcstream+set}" = set; then
5762 enableval="$enable_arcstream"
5763
5764 if test "$enableval" = yes; then
5765 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5766 else
5767 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5768 fi
5769
5770 else
5771
5772 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5773 if test "x$LINE" != x ; then
5774 eval "DEFAULT_$LINE"
5775 else
5776 no_cache=1
5777 fi
5778
5779 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
5780
5781 fi;
5782
5783 eval "$ac_cv_use_arcstream"
5784 if test "$no_cache" != 1; then
5785 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5786 fi
5787
5788 if test x"$enablestring" = xdisable; then
5789 if test $wxUSE_ARCHIVE_STREAMS = yes; then
5790 result=no
5791 else
5792 result=yes
5793 fi
5794 else
5795 result=$wxUSE_ARCHIVE_STREAMS
5796 fi
5797
5798 echo "$as_me:$LINENO: result: $result" >&5
5799 echo "${ECHO_T}$result" >&6
5800
5801
5802 enablestring=
5803 defaultval=$wxUSE_ALL_FEATURES
5804 if test -z "$defaultval"; then
5805 if test x"$enablestring" = xdisable; then
5806 defaultval=yes
5807 else
5808 defaultval=no
5809 fi
5810 fi
5811
5812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
5813 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6
5814 no_cache=0
5815 # Check whether --enable-base64 or --disable-base64 was given.
5816 if test "${enable_base64+set}" = set; then
5817 enableval="$enable_base64"
5818
5819 if test "$enableval" = yes; then
5820 ac_cv_use_base64='wxUSE_BASE64=yes'
5821 else
5822 ac_cv_use_base64='wxUSE_BASE64=no'
5823 fi
5824
5825 else
5826
5827 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5830 else
5831 no_cache=1
5832 fi
5833
5834 ac_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
5835
5836 fi;
5837
5838 eval "$ac_cv_use_base64"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_base64 >> ${wx_arg_cache_file}.tmp
5841 fi
5842
5843 if test x"$enablestring" = xdisable; then
5844 if test $wxUSE_BASE64 = yes; then
5845 result=no
5846 else
5847 result=yes
5848 fi
5849 else
5850 result=$wxUSE_BASE64
5851 fi
5852
5853 echo "$as_me:$LINENO: result: $result" >&5
5854 echo "${ECHO_T}$result" >&6
5855
5856
5857 enablestring=
5858 defaultval=$wxUSE_ALL_FEATURES
5859 if test -z "$defaultval"; then
5860 if test x"$enablestring" = xdisable; then
5861 defaultval=yes
5862 else
5863 defaultval=no
5864 fi
5865 fi
5866
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5869 no_cache=0
5870 # Check whether --enable-backtrace or --disable-backtrace was given.
5871 if test "${enable_backtrace+set}" = set; then
5872 enableval="$enable_backtrace"
5873
5874 if test "$enableval" = yes; then
5875 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5876 else
5877 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5878 fi
5879
5880 else
5881
5882 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5885 else
5886 no_cache=1
5887 fi
5888
5889 ac_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
5890
5891 fi;
5892
5893 eval "$ac_cv_use_backtrace"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5896 fi
5897
5898 if test x"$enablestring" = xdisable; then
5899 if test $wxUSE_STACKWALKER = yes; then
5900 result=no
5901 else
5902 result=yes
5903 fi
5904 else
5905 result=$wxUSE_STACKWALKER
5906 fi
5907
5908 echo "$as_me:$LINENO: result: $result" >&5
5909 echo "${ECHO_T}$result" >&6
5910
5911
5912 enablestring=
5913 defaultval=$wxUSE_ALL_FEATURES
5914 if test -z "$defaultval"; then
5915 if test x"$enablestring" = xdisable; then
5916 defaultval=yes
5917 else
5918 defaultval=no
5919 fi
5920 fi
5921
5922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5924 no_cache=0
5925 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5926 if test "${enable_catch_segvs+set}" = set; then
5927 enableval="$enable_catch_segvs"
5928
5929 if test "$enableval" = yes; then
5930 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5931 else
5932 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5933 fi
5934
5935 else
5936
5937 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x ; then
5939 eval "DEFAULT_$LINE"
5940 else
5941 no_cache=1
5942 fi
5943
5944 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
5945
5946 fi;
5947
5948 eval "$ac_cv_use_catch_segvs"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5951 fi
5952
5953 if test x"$enablestring" = xdisable; then
5954 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
5955 result=no
5956 else
5957 result=yes
5958 fi
5959 else
5960 result=$wxUSE_ON_FATAL_EXCEPTION
5961 fi
5962
5963 echo "$as_me:$LINENO: result: $result" >&5
5964 echo "${ECHO_T}$result" >&6
5965
5966
5967 enablestring=
5968 defaultval=$wxUSE_ALL_FEATURES
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5971 defaultval=yes
5972 else
5973 defaultval=no
5974 fi
5975 fi
5976
5977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5979 no_cache=0
5980 # Check whether --enable-cmdline or --disable-cmdline was given.
5981 if test "${enable_cmdline+set}" = set; then
5982 enableval="$enable_cmdline"
5983
5984 if test "$enableval" = yes; then
5985 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5986 else
5987 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5988 fi
5989
5990 else
5991
5992 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
5993 if test "x$LINE" != x ; then
5994 eval "DEFAULT_$LINE"
5995 else
5996 no_cache=1
5997 fi
5998
5999 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6000
6001 fi;
6002
6003 eval "$ac_cv_use_cmdline"
6004 if test "$no_cache" != 1; then
6005 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6006 fi
6007
6008 if test x"$enablestring" = xdisable; then
6009 if test $wxUSE_CMDLINE_PARSER = yes; then
6010 result=no
6011 else
6012 result=yes
6013 fi
6014 else
6015 result=$wxUSE_CMDLINE_PARSER
6016 fi
6017
6018 echo "$as_me:$LINENO: result: $result" >&5
6019 echo "${ECHO_T}$result" >&6
6020
6021
6022 enablestring=
6023 defaultval=$wxUSE_ALL_FEATURES
6024 if test -z "$defaultval"; then
6025 if test x"$enablestring" = xdisable; then
6026 defaultval=yes
6027 else
6028 defaultval=no
6029 fi
6030 fi
6031
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
6034 no_cache=0
6035 # Check whether --enable-datetime or --disable-datetime was given.
6036 if test "${enable_datetime+set}" = set; then
6037 enableval="$enable_datetime"
6038
6039 if test "$enableval" = yes; then
6040 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6041 else
6042 ac_cv_use_datetime='wxUSE_DATETIME=no'
6043 fi
6044
6045 else
6046
6047 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x ; then
6049 eval "DEFAULT_$LINE"
6050 else
6051 no_cache=1
6052 fi
6053
6054 ac_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6055
6056 fi;
6057
6058 eval "$ac_cv_use_datetime"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6061 fi
6062
6063 if test x"$enablestring" = xdisable; then
6064 if test $wxUSE_DATETIME = yes; then
6065 result=no
6066 else
6067 result=yes
6068 fi
6069 else
6070 result=$wxUSE_DATETIME
6071 fi
6072
6073 echo "$as_me:$LINENO: result: $result" >&5
6074 echo "${ECHO_T}$result" >&6
6075
6076
6077 enablestring=
6078 defaultval=$wxUSE_ALL_FEATURES
6079 if test -z "$defaultval"; then
6080 if test x"$enablestring" = xdisable; then
6081 defaultval=yes
6082 else
6083 defaultval=no
6084 fi
6085 fi
6086
6087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6088 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
6089 no_cache=0
6090 # Check whether --enable-debugreport or --disable-debugreport was given.
6091 if test "${enable_debugreport+set}" = set; then
6092 enableval="$enable_debugreport"
6093
6094 if test "$enableval" = yes; then
6095 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6096 else
6097 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6098 fi
6099
6100 else
6101
6102 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6103 if test "x$LINE" != x ; then
6104 eval "DEFAULT_$LINE"
6105 else
6106 no_cache=1
6107 fi
6108
6109 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6110
6111 fi;
6112
6113 eval "$ac_cv_use_debugreport"
6114 if test "$no_cache" != 1; then
6115 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6116 fi
6117
6118 if test x"$enablestring" = xdisable; then
6119 if test $wxUSE_DEBUGREPORT = yes; then
6120 result=no
6121 else
6122 result=yes
6123 fi
6124 else
6125 result=$wxUSE_DEBUGREPORT
6126 fi
6127
6128 echo "$as_me:$LINENO: result: $result" >&5
6129 echo "${ECHO_T}$result" >&6
6130
6131
6132 enablestring=
6133 defaultval=$wxUSE_ALL_FEATURES
6134 if test -z "$defaultval"; then
6135 if test x"$enablestring" = xdisable; then
6136 defaultval=yes
6137 else
6138 defaultval=no
6139 fi
6140 fi
6141
6142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6143 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
6144 no_cache=0
6145 # Check whether --enable-dialupman or --disable-dialupman was given.
6146 if test "${enable_dialupman+set}" = set; then
6147 enableval="$enable_dialupman"
6148
6149 if test "$enableval" = yes; then
6150 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6151 else
6152 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6153 fi
6154
6155 else
6156
6157 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6158 if test "x$LINE" != x ; then
6159 eval "DEFAULT_$LINE"
6160 else
6161 no_cache=1
6162 fi
6163
6164 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6165
6166 fi;
6167
6168 eval "$ac_cv_use_dialupman"
6169 if test "$no_cache" != 1; then
6170 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6171 fi
6172
6173 if test x"$enablestring" = xdisable; then
6174 if test $wxUSE_DIALUP_MANAGER = yes; then
6175 result=no
6176 else
6177 result=yes
6178 fi
6179 else
6180 result=$wxUSE_DIALUP_MANAGER
6181 fi
6182
6183 echo "$as_me:$LINENO: result: $result" >&5
6184 echo "${ECHO_T}$result" >&6
6185
6186
6187 enablestring=
6188 defaultval=$wxUSE_ALL_FEATURES
6189 if test -z "$defaultval"; then
6190 if test x"$enablestring" = xdisable; then
6191 defaultval=yes
6192 else
6193 defaultval=no
6194 fi
6195 fi
6196
6197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
6199 no_cache=0
6200 # Check whether --enable-dynlib or --disable-dynlib was given.
6201 if test "${enable_dynlib+set}" = set; then
6202 enableval="$enable_dynlib"
6203
6204 if test "$enableval" = yes; then
6205 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6206 else
6207 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6208 fi
6209
6210 else
6211
6212 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x ; then
6214 eval "DEFAULT_$LINE"
6215 else
6216 no_cache=1
6217 fi
6218
6219 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6220
6221 fi;
6222
6223 eval "$ac_cv_use_dynlib"
6224 if test "$no_cache" != 1; then
6225 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6226 fi
6227
6228 if test x"$enablestring" = xdisable; then
6229 if test $wxUSE_DYNLIB_CLASS = yes; then
6230 result=no
6231 else
6232 result=yes
6233 fi
6234 else
6235 result=$wxUSE_DYNLIB_CLASS
6236 fi
6237
6238 echo "$as_me:$LINENO: result: $result" >&5
6239 echo "${ECHO_T}$result" >&6
6240
6241
6242 enablestring=
6243 defaultval=$wxUSE_ALL_FEATURES
6244 if test -z "$defaultval"; then
6245 if test x"$enablestring" = xdisable; then
6246 defaultval=yes
6247 else
6248 defaultval=no
6249 fi
6250 fi
6251
6252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6253 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
6254 no_cache=0
6255 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
6256 if test "${enable_dynamicloader+set}" = set; then
6257 enableval="$enable_dynamicloader"
6258
6259 if test "$enableval" = yes; then
6260 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6261 else
6262 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6263 fi
6264
6265 else
6266
6267 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6268 if test "x$LINE" != x ; then
6269 eval "DEFAULT_$LINE"
6270 else
6271 no_cache=1
6272 fi
6273
6274 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6275
6276 fi;
6277
6278 eval "$ac_cv_use_dynamicloader"
6279 if test "$no_cache" != 1; then
6280 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6281 fi
6282
6283 if test x"$enablestring" = xdisable; then
6284 if test $wxUSE_DYNAMIC_LOADER = yes; then
6285 result=no
6286 else
6287 result=yes
6288 fi
6289 else
6290 result=$wxUSE_DYNAMIC_LOADER
6291 fi
6292
6293 echo "$as_me:$LINENO: result: $result" >&5
6294 echo "${ECHO_T}$result" >&6
6295
6296
6297 enablestring=
6298 defaultval=$wxUSE_ALL_FEATURES
6299 if test -z "$defaultval"; then
6300 if test x"$enablestring" = xdisable; then
6301 defaultval=yes
6302 else
6303 defaultval=no
6304 fi
6305 fi
6306
6307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
6309 no_cache=0
6310 # Check whether --enable-exceptions or --disable-exceptions was given.
6311 if test "${enable_exceptions+set}" = set; then
6312 enableval="$enable_exceptions"
6313
6314 if test "$enableval" = yes; then
6315 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6316 else
6317 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6318 fi
6319
6320 else
6321
6322 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6325 else
6326 no_cache=1
6327 fi
6328
6329 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6330
6331 fi;
6332
6333 eval "$ac_cv_use_exceptions"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6336 fi
6337
6338 if test x"$enablestring" = xdisable; then
6339 if test $wxUSE_EXCEPTIONS = yes; then
6340 result=no
6341 else
6342 result=yes
6343 fi
6344 else
6345 result=$wxUSE_EXCEPTIONS
6346 fi
6347
6348 echo "$as_me:$LINENO: result: $result" >&5
6349 echo "${ECHO_T}$result" >&6
6350
6351
6352 enablestring=
6353 defaultval=$wxUSE_ALL_FEATURES
6354 if test -z "$defaultval"; then
6355 if test x"$enablestring" = xdisable; then
6356 defaultval=yes
6357 else
6358 defaultval=no
6359 fi
6360 fi
6361
6362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
6364 no_cache=0
6365 # Check whether --enable-ffile or --disable-ffile was given.
6366 if test "${enable_ffile+set}" = set; then
6367 enableval="$enable_ffile"
6368
6369 if test "$enableval" = yes; then
6370 ac_cv_use_ffile='wxUSE_FFILE=yes'
6371 else
6372 ac_cv_use_ffile='wxUSE_FFILE=no'
6373 fi
6374
6375 else
6376
6377 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6378 if test "x$LINE" != x ; then
6379 eval "DEFAULT_$LINE"
6380 else
6381 no_cache=1
6382 fi
6383
6384 ac_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6385
6386 fi;
6387
6388 eval "$ac_cv_use_ffile"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6391 fi
6392
6393 if test x"$enablestring" = xdisable; then
6394 if test $wxUSE_FFILE = yes; then
6395 result=no
6396 else
6397 result=yes
6398 fi
6399 else
6400 result=$wxUSE_FFILE
6401 fi
6402
6403 echo "$as_me:$LINENO: result: $result" >&5
6404 echo "${ECHO_T}$result" >&6
6405
6406
6407 enablestring=
6408 defaultval=$wxUSE_ALL_FEATURES
6409 if test -z "$defaultval"; then
6410 if test x"$enablestring" = xdisable; then
6411 defaultval=yes
6412 else
6413 defaultval=no
6414 fi
6415 fi
6416
6417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6418 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
6419 no_cache=0
6420 # Check whether --enable-file or --disable-file was given.
6421 if test "${enable_file+set}" = set; then
6422 enableval="$enable_file"
6423
6424 if test "$enableval" = yes; then
6425 ac_cv_use_file='wxUSE_FILE=yes'
6426 else
6427 ac_cv_use_file='wxUSE_FILE=no'
6428 fi
6429
6430 else
6431
6432 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6433 if test "x$LINE" != x ; then
6434 eval "DEFAULT_$LINE"
6435 else
6436 no_cache=1
6437 fi
6438
6439 ac_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6440
6441 fi;
6442
6443 eval "$ac_cv_use_file"
6444 if test "$no_cache" != 1; then
6445 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6446 fi
6447
6448 if test x"$enablestring" = xdisable; then
6449 if test $wxUSE_FILE = yes; then
6450 result=no
6451 else
6452 result=yes
6453 fi
6454 else
6455 result=$wxUSE_FILE
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}-filesystem" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
6474 no_cache=0
6475 # Check whether --enable-filesystem or --disable-filesystem was given.
6476 if test "${enable_filesystem+set}" = set; then
6477 enableval="$enable_filesystem"
6478
6479 if test "$enableval" = yes; then
6480 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6481 else
6482 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6483 fi
6484
6485 else
6486
6487 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6488 if test "x$LINE" != x ; then
6489 eval "DEFAULT_$LINE"
6490 else
6491 no_cache=1
6492 fi
6493
6494 ac_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6495
6496 fi;
6497
6498 eval "$ac_cv_use_filesystem"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6501 fi
6502
6503 if test x"$enablestring" = xdisable; then
6504 if test $wxUSE_FILESYSTEM = yes; then
6505 result=no
6506 else
6507 result=yes
6508 fi
6509 else
6510 result=$wxUSE_FILESYSTEM
6511 fi
6512
6513 echo "$as_me:$LINENO: result: $result" >&5
6514 echo "${ECHO_T}$result" >&6
6515
6516
6517 enablestring=
6518 defaultval=$wxUSE_ALL_FEATURES
6519 if test -z "$defaultval"; then
6520 if test x"$enablestring" = xdisable; then
6521 defaultval=yes
6522 else
6523 defaultval=no
6524 fi
6525 fi
6526
6527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6528 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
6529 no_cache=0
6530 # Check whether --enable-fontmap or --disable-fontmap was given.
6531 if test "${enable_fontmap+set}" = set; then
6532 enableval="$enable_fontmap"
6533
6534 if test "$enableval" = yes; then
6535 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6536 else
6537 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6538 fi
6539
6540 else
6541
6542 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6543 if test "x$LINE" != x ; then
6544 eval "DEFAULT_$LINE"
6545 else
6546 no_cache=1
6547 fi
6548
6549 ac_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6550
6551 fi;
6552
6553 eval "$ac_cv_use_fontmap"
6554 if test "$no_cache" != 1; then
6555 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6556 fi
6557
6558 if test x"$enablestring" = xdisable; then
6559 if test $wxUSE_FONTMAP = yes; then
6560 result=no
6561 else
6562 result=yes
6563 fi
6564 else
6565 result=$wxUSE_FONTMAP
6566 fi
6567
6568 echo "$as_me:$LINENO: result: $result" >&5
6569 echo "${ECHO_T}$result" >&6
6570
6571
6572 enablestring=
6573 defaultval=$wxUSE_ALL_FEATURES
6574 if test -z "$defaultval"; then
6575 if test x"$enablestring" = xdisable; then
6576 defaultval=yes
6577 else
6578 defaultval=no
6579 fi
6580 fi
6581
6582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6583 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
6584 no_cache=0
6585 # Check whether --enable-fs_archive or --disable-fs_archive was given.
6586 if test "${enable_fs_archive+set}" = set; then
6587 enableval="$enable_fs_archive"
6588
6589 if test "$enableval" = yes; then
6590 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6591 else
6592 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6593 fi
6594
6595 else
6596
6597 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x ; then
6599 eval "DEFAULT_$LINE"
6600 else
6601 no_cache=1
6602 fi
6603
6604 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6605
6606 fi;
6607
6608 eval "$ac_cv_use_fs_archive"
6609 if test "$no_cache" != 1; then
6610 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6611 fi
6612
6613 if test x"$enablestring" = xdisable; then
6614 if test $wxUSE_FS_ARCHIVE = yes; then
6615 result=no
6616 else
6617 result=yes
6618 fi
6619 else
6620 result=$wxUSE_FS_ARCHIVE
6621 fi
6622
6623 echo "$as_me:$LINENO: result: $result" >&5
6624 echo "${ECHO_T}$result" >&6
6625
6626
6627 enablestring=
6628 defaultval=$wxUSE_ALL_FEATURES
6629 if test -z "$defaultval"; then
6630 if test x"$enablestring" = xdisable; then
6631 defaultval=yes
6632 else
6633 defaultval=no
6634 fi
6635 fi
6636
6637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6638 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
6639 no_cache=0
6640 # Check whether --enable-fs_inet or --disable-fs_inet was given.
6641 if test "${enable_fs_inet+set}" = set; then
6642 enableval="$enable_fs_inet"
6643
6644 if test "$enableval" = yes; then
6645 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6646 else
6647 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6648 fi
6649
6650 else
6651
6652 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6653 if test "x$LINE" != x ; then
6654 eval "DEFAULT_$LINE"
6655 else
6656 no_cache=1
6657 fi
6658
6659 ac_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6660
6661 fi;
6662
6663 eval "$ac_cv_use_fs_inet"
6664 if test "$no_cache" != 1; then
6665 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6666 fi
6667
6668 if test x"$enablestring" = xdisable; then
6669 if test $wxUSE_FS_INET = yes; then
6670 result=no
6671 else
6672 result=yes
6673 fi
6674 else
6675 result=$wxUSE_FS_INET
6676 fi
6677
6678 echo "$as_me:$LINENO: result: $result" >&5
6679 echo "${ECHO_T}$result" >&6
6680
6681
6682 enablestring=
6683 defaultval=$wxUSE_ALL_FEATURES
6684 if test -z "$defaultval"; then
6685 if test x"$enablestring" = xdisable; then
6686 defaultval=yes
6687 else
6688 defaultval=no
6689 fi
6690 fi
6691
6692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
6694 no_cache=0
6695 # Check whether --enable-fs_zip or --disable-fs_zip was given.
6696 if test "${enable_fs_zip+set}" = set; then
6697 enableval="$enable_fs_zip"
6698
6699 if test "$enableval" = yes; then
6700 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6701 else
6702 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6703 fi
6704
6705 else
6706
6707 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6708 if test "x$LINE" != x ; then
6709 eval "DEFAULT_$LINE"
6710 else
6711 no_cache=1
6712 fi
6713
6714 ac_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6715
6716 fi;
6717
6718 eval "$ac_cv_use_fs_zip"
6719 if test "$no_cache" != 1; then
6720 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6721 fi
6722
6723 if test x"$enablestring" = xdisable; then
6724 if test $wxUSE_FS_ZIP = yes; then
6725 result=no
6726 else
6727 result=yes
6728 fi
6729 else
6730 result=$wxUSE_FS_ZIP
6731 fi
6732
6733 echo "$as_me:$LINENO: result: $result" >&5
6734 echo "${ECHO_T}$result" >&6
6735
6736
6737 enablestring=
6738 defaultval=$wxUSE_ALL_FEATURES
6739 if test -z "$defaultval"; then
6740 if test x"$enablestring" = xdisable; then
6741 defaultval=yes
6742 else
6743 defaultval=no
6744 fi
6745 fi
6746
6747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6748 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
6749 no_cache=0
6750 # Check whether --enable-geometry or --disable-geometry was given.
6751 if test "${enable_geometry+set}" = set; then
6752 enableval="$enable_geometry"
6753
6754 if test "$enableval" = yes; then
6755 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6756 else
6757 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6758 fi
6759
6760 else
6761
6762 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
6763 if test "x$LINE" != x ; then
6764 eval "DEFAULT_$LINE"
6765 else
6766 no_cache=1
6767 fi
6768
6769 ac_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6770
6771 fi;
6772
6773 eval "$ac_cv_use_geometry"
6774 if test "$no_cache" != 1; then
6775 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6776 fi
6777
6778 if test x"$enablestring" = xdisable; then
6779 if test $wxUSE_GEOMETRY = yes; then
6780 result=no
6781 else
6782 result=yes
6783 fi
6784 else
6785 result=$wxUSE_GEOMETRY
6786 fi
6787
6788 echo "$as_me:$LINENO: result: $result" >&5
6789 echo "${ECHO_T}$result" >&6
6790
6791
6792 enablestring=
6793 defaultval=$wxUSE_ALL_FEATURES
6794 if test -z "$defaultval"; then
6795 if test x"$enablestring" = xdisable; then
6796 defaultval=yes
6797 else
6798 defaultval=no
6799 fi
6800 fi
6801
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
6804 no_cache=0
6805 # Check whether --enable-log or --disable-log was given.
6806 if test "${enable_log+set}" = set; then
6807 enableval="$enable_log"
6808
6809 if test "$enableval" = yes; then
6810 ac_cv_use_log='wxUSE_LOG=yes'
6811 else
6812 ac_cv_use_log='wxUSE_LOG=no'
6813 fi
6814
6815 else
6816
6817 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6820 else
6821 no_cache=1
6822 fi
6823
6824 ac_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6825
6826 fi;
6827
6828 eval "$ac_cv_use_log"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6831 fi
6832
6833 if test x"$enablestring" = xdisable; then
6834 if test $wxUSE_LOG = yes; then
6835 result=no
6836 else
6837 result=yes
6838 fi
6839 else
6840 result=$wxUSE_LOG
6841 fi
6842
6843 echo "$as_me:$LINENO: result: $result" >&5
6844 echo "${ECHO_T}$result" >&6
6845
6846
6847 enablestring=
6848 defaultval=$wxUSE_ALL_FEATURES
6849 if test -z "$defaultval"; then
6850 if test x"$enablestring" = xdisable; then
6851 defaultval=yes
6852 else
6853 defaultval=no
6854 fi
6855 fi
6856
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
6859 no_cache=0
6860 # Check whether --enable-longlong or --disable-longlong was given.
6861 if test "${enable_longlong+set}" = set; then
6862 enableval="$enable_longlong"
6863
6864 if test "$enableval" = yes; then
6865 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6866 else
6867 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6868 fi
6869
6870 else
6871
6872 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x ; then
6874 eval "DEFAULT_$LINE"
6875 else
6876 no_cache=1
6877 fi
6878
6879 ac_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
6880
6881 fi;
6882
6883 eval "$ac_cv_use_longlong"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6886 fi
6887
6888 if test x"$enablestring" = xdisable; then
6889 if test $wxUSE_LONGLONG = yes; then
6890 result=no
6891 else
6892 result=yes
6893 fi
6894 else
6895 result=$wxUSE_LONGLONG
6896 fi
6897
6898 echo "$as_me:$LINENO: result: $result" >&5
6899 echo "${ECHO_T}$result" >&6
6900
6901
6902 enablestring=
6903 defaultval=$wxUSE_ALL_FEATURES
6904 if test -z "$defaultval"; then
6905 if test x"$enablestring" = xdisable; then
6906 defaultval=yes
6907 else
6908 defaultval=no
6909 fi
6910 fi
6911
6912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6913 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
6914 no_cache=0
6915 # Check whether --enable-mimetype or --disable-mimetype was given.
6916 if test "${enable_mimetype+set}" = set; then
6917 enableval="$enable_mimetype"
6918
6919 if test "$enableval" = yes; then
6920 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6921 else
6922 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6923 fi
6924
6925 else
6926
6927 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6928 if test "x$LINE" != x ; then
6929 eval "DEFAULT_$LINE"
6930 else
6931 no_cache=1
6932 fi
6933
6934 ac_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
6935
6936 fi;
6937
6938 eval "$ac_cv_use_mimetype"
6939 if test "$no_cache" != 1; then
6940 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6941 fi
6942
6943 if test x"$enablestring" = xdisable; then
6944 if test $wxUSE_MIMETYPE = yes; then
6945 result=no
6946 else
6947 result=yes
6948 fi
6949 else
6950 result=$wxUSE_MIMETYPE
6951 fi
6952
6953 echo "$as_me:$LINENO: result: $result" >&5
6954 echo "${ECHO_T}$result" >&6
6955
6956
6957 enablestring=
6958 defaultval=$wxUSE_ALL_FEATURES
6959 if test -z "$defaultval"; then
6960 if test x"$enablestring" = xdisable; then
6961 defaultval=yes
6962 else
6963 defaultval=no
6964 fi
6965 fi
6966
6967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6968 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
6969 no_cache=0
6970 # Check whether --enable-snglinst or --disable-snglinst was given.
6971 if test "${enable_snglinst+set}" = set; then
6972 enableval="$enable_snglinst"
6973
6974 if test "$enableval" = yes; then
6975 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6976 else
6977 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6978 fi
6979
6980 else
6981
6982 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6983 if test "x$LINE" != x ; then
6984 eval "DEFAULT_$LINE"
6985 else
6986 no_cache=1
6987 fi
6988
6989 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
6990
6991 fi;
6992
6993 eval "$ac_cv_use_snglinst"
6994 if test "$no_cache" != 1; then
6995 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6996 fi
6997
6998 if test x"$enablestring" = xdisable; then
6999 if test $wxUSE_SNGLINST_CHECKER = yes; then
7000 result=no
7001 else
7002 result=yes
7003 fi
7004 else
7005 result=$wxUSE_SNGLINST_CHECKER
7006 fi
7007
7008 echo "$as_me:$LINENO: result: $result" >&5
7009 echo "${ECHO_T}$result" >&6
7010
7011
7012 enablestring=
7013 defaultval=$wxUSE_ALL_FEATURES
7014 if test -z "$defaultval"; then
7015 if test x"$enablestring" = xdisable; then
7016 defaultval=yes
7017 else
7018 defaultval=no
7019 fi
7020 fi
7021
7022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7023 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
7024 no_cache=0
7025 # Check whether --enable-stdpaths or --disable-stdpaths was given.
7026 if test "${enable_stdpaths+set}" = set; then
7027 enableval="$enable_stdpaths"
7028
7029 if test "$enableval" = yes; then
7030 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7031 else
7032 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
7033 fi
7034
7035 else
7036
7037 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7038 if test "x$LINE" != x ; then
7039 eval "DEFAULT_$LINE"
7040 else
7041 no_cache=1
7042 fi
7043
7044 ac_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7045
7046 fi;
7047
7048 eval "$ac_cv_use_stdpaths"
7049 if test "$no_cache" != 1; then
7050 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7051 fi
7052
7053 if test x"$enablestring" = xdisable; then
7054 if test $wxUSE_STDPATHS = yes; then
7055 result=no
7056 else
7057 result=yes
7058 fi
7059 else
7060 result=$wxUSE_STDPATHS
7061 fi
7062
7063 echo "$as_me:$LINENO: result: $result" >&5
7064 echo "${ECHO_T}$result" >&6
7065
7066
7067 enablestring=
7068 defaultval=$wxUSE_ALL_FEATURES
7069 if test -z "$defaultval"; then
7070 if test x"$enablestring" = xdisable; then
7071 defaultval=yes
7072 else
7073 defaultval=no
7074 fi
7075 fi
7076
7077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7078 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
7079 no_cache=0
7080 # Check whether --enable-stopwatch or --disable-stopwatch was given.
7081 if test "${enable_stopwatch+set}" = set; then
7082 enableval="$enable_stopwatch"
7083
7084 if test "$enableval" = yes; then
7085 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7086 else
7087 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7088 fi
7089
7090 else
7091
7092 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7093 if test "x$LINE" != x ; then
7094 eval "DEFAULT_$LINE"
7095 else
7096 no_cache=1
7097 fi
7098
7099 ac_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7100
7101 fi;
7102
7103 eval "$ac_cv_use_stopwatch"
7104 if test "$no_cache" != 1; then
7105 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7106 fi
7107
7108 if test x"$enablestring" = xdisable; then
7109 if test $wxUSE_STOPWATCH = yes; then
7110 result=no
7111 else
7112 result=yes
7113 fi
7114 else
7115 result=$wxUSE_STOPWATCH
7116 fi
7117
7118 echo "$as_me:$LINENO: result: $result" >&5
7119 echo "${ECHO_T}$result" >&6
7120
7121
7122 enablestring=
7123 defaultval=$wxUSE_ALL_FEATURES
7124 if test -z "$defaultval"; then
7125 if test x"$enablestring" = xdisable; then
7126 defaultval=yes
7127 else
7128 defaultval=no
7129 fi
7130 fi
7131
7132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7133 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
7134 no_cache=0
7135 # Check whether --enable-streams or --disable-streams was given.
7136 if test "${enable_streams+set}" = set; then
7137 enableval="$enable_streams"
7138
7139 if test "$enableval" = yes; then
7140 ac_cv_use_streams='wxUSE_STREAMS=yes'
7141 else
7142 ac_cv_use_streams='wxUSE_STREAMS=no'
7143 fi
7144
7145 else
7146
7147 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x ; then
7149 eval "DEFAULT_$LINE"
7150 else
7151 no_cache=1
7152 fi
7153
7154 ac_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7155
7156 fi;
7157
7158 eval "$ac_cv_use_streams"
7159 if test "$no_cache" != 1; then
7160 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7161 fi
7162
7163 if test x"$enablestring" = xdisable; then
7164 if test $wxUSE_STREAMS = yes; then
7165 result=no
7166 else
7167 result=yes
7168 fi
7169 else
7170 result=$wxUSE_STREAMS
7171 fi
7172
7173 echo "$as_me:$LINENO: result: $result" >&5
7174 echo "${ECHO_T}$result" >&6
7175
7176
7177 enablestring=
7178 defaultval=$wxUSE_ALL_FEATURES
7179 if test -z "$defaultval"; then
7180 if test x"$enablestring" = xdisable; then
7181 defaultval=yes
7182 else
7183 defaultval=no
7184 fi
7185 fi
7186
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
7189 no_cache=0
7190 # Check whether --enable-system_options or --disable-system_options was given.
7191 if test "${enable_system_options+set}" = set; then
7192 enableval="$enable_system_options"
7193
7194 if test "$enableval" = yes; then
7195 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7196 else
7197 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7198 fi
7199
7200 else
7201
7202 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x ; then
7204 eval "DEFAULT_$LINE"
7205 else
7206 no_cache=1
7207 fi
7208
7209 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7210
7211 fi;
7212
7213 eval "$ac_cv_use_system_options"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7216 fi
7217
7218 if test x"$enablestring" = xdisable; then
7219 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7220 result=no
7221 else
7222 result=yes
7223 fi
7224 else
7225 result=$wxUSE_SYSTEM_OPTIONS
7226 fi
7227
7228 echo "$as_me:$LINENO: result: $result" >&5
7229 echo "${ECHO_T}$result" >&6
7230
7231
7232 enablestring=
7233 defaultval=$wxUSE_ALL_FEATURES
7234 if test -z "$defaultval"; then
7235 if test x"$enablestring" = xdisable; then
7236 defaultval=yes
7237 else
7238 defaultval=no
7239 fi
7240 fi
7241
7242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7243 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
7244 no_cache=0
7245 # Check whether --enable-tarstream or --disable-tarstream was given.
7246 if test "${enable_tarstream+set}" = set; then
7247 enableval="$enable_tarstream"
7248
7249 if test "$enableval" = yes; then
7250 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7251 else
7252 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7253 fi
7254
7255 else
7256
7257 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x ; then
7259 eval "DEFAULT_$LINE"
7260 else
7261 no_cache=1
7262 fi
7263
7264 ac_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7265
7266 fi;
7267
7268 eval "$ac_cv_use_tarstream"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7271 fi
7272
7273 if test x"$enablestring" = xdisable; then
7274 if test $wxUSE_TARSTREAM = yes; then
7275 result=no
7276 else
7277 result=yes
7278 fi
7279 else
7280 result=$wxUSE_TARSTREAM
7281 fi
7282
7283 echo "$as_me:$LINENO: result: $result" >&5
7284 echo "${ECHO_T}$result" >&6
7285
7286
7287 enablestring=
7288 defaultval=$wxUSE_ALL_FEATURES
7289 if test -z "$defaultval"; then
7290 if test x"$enablestring" = xdisable; then
7291 defaultval=yes
7292 else
7293 defaultval=no
7294 fi
7295 fi
7296
7297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7298 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
7299 no_cache=0
7300 # Check whether --enable-textbuf or --disable-textbuf was given.
7301 if test "${enable_textbuf+set}" = set; then
7302 enableval="$enable_textbuf"
7303
7304 if test "$enableval" = yes; then
7305 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7306 else
7307 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7308 fi
7309
7310 else
7311
7312 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7313 if test "x$LINE" != x ; then
7314 eval "DEFAULT_$LINE"
7315 else
7316 no_cache=1
7317 fi
7318
7319 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7320
7321 fi;
7322
7323 eval "$ac_cv_use_textbuf"
7324 if test "$no_cache" != 1; then
7325 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7326 fi
7327
7328 if test x"$enablestring" = xdisable; then
7329 if test $wxUSE_TEXTBUFFER = yes; then
7330 result=no
7331 else
7332 result=yes
7333 fi
7334 else
7335 result=$wxUSE_TEXTBUFFER
7336 fi
7337
7338 echo "$as_me:$LINENO: result: $result" >&5
7339 echo "${ECHO_T}$result" >&6
7340
7341
7342 enablestring=
7343 defaultval=$wxUSE_ALL_FEATURES
7344 if test -z "$defaultval"; then
7345 if test x"$enablestring" = xdisable; then
7346 defaultval=yes
7347 else
7348 defaultval=no
7349 fi
7350 fi
7351
7352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7353 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
7354 no_cache=0
7355 # Check whether --enable-textfile or --disable-textfile was given.
7356 if test "${enable_textfile+set}" = set; then
7357 enableval="$enable_textfile"
7358
7359 if test "$enableval" = yes; then
7360 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7361 else
7362 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7363 fi
7364
7365 else
7366
7367 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7368 if test "x$LINE" != x ; then
7369 eval "DEFAULT_$LINE"
7370 else
7371 no_cache=1
7372 fi
7373
7374 ac_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7375
7376 fi;
7377
7378 eval "$ac_cv_use_textfile"
7379 if test "$no_cache" != 1; then
7380 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7381 fi
7382
7383 if test x"$enablestring" = xdisable; then
7384 if test $wxUSE_TEXTFILE = yes; then
7385 result=no
7386 else
7387 result=yes
7388 fi
7389 else
7390 result=$wxUSE_TEXTFILE
7391 fi
7392
7393 echo "$as_me:$LINENO: result: $result" >&5
7394 echo "${ECHO_T}$result" >&6
7395
7396
7397 enablestring=
7398 defaultval=$wxUSE_ALL_FEATURES
7399 if test -z "$defaultval"; then
7400 if test x"$enablestring" = xdisable; then
7401 defaultval=yes
7402 else
7403 defaultval=no
7404 fi
7405 fi
7406
7407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7408 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
7409 no_cache=0
7410 # Check whether --enable-timer or --disable-timer was given.
7411 if test "${enable_timer+set}" = set; then
7412 enableval="$enable_timer"
7413
7414 if test "$enableval" = yes; then
7415 ac_cv_use_timer='wxUSE_TIMER=yes'
7416 else
7417 ac_cv_use_timer='wxUSE_TIMER=no'
7418 fi
7419
7420 else
7421
7422 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
7423 if test "x$LINE" != x ; then
7424 eval "DEFAULT_$LINE"
7425 else
7426 no_cache=1
7427 fi
7428
7429 ac_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7430
7431 fi;
7432
7433 eval "$ac_cv_use_timer"
7434 if test "$no_cache" != 1; then
7435 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7436 fi
7437
7438 if test x"$enablestring" = xdisable; then
7439 if test $wxUSE_TIMER = yes; then
7440 result=no
7441 else
7442 result=yes
7443 fi
7444 else
7445 result=$wxUSE_TIMER
7446 fi
7447
7448 echo "$as_me:$LINENO: result: $result" >&5
7449 echo "${ECHO_T}$result" >&6
7450
7451
7452 enablestring=
7453 defaultval=$wxUSE_ALL_FEATURES
7454 if test -z "$defaultval"; then
7455 if test x"$enablestring" = xdisable; then
7456 defaultval=yes
7457 else
7458 defaultval=no
7459 fi
7460 fi
7461
7462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7463 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
7464 no_cache=0
7465 # Check whether --enable-sound or --disable-sound was given.
7466 if test "${enable_sound+set}" = set; then
7467 enableval="$enable_sound"
7468
7469 if test "$enableval" = yes; then
7470 ac_cv_use_sound='wxUSE_SOUND=yes'
7471 else
7472 ac_cv_use_sound='wxUSE_SOUND=no'
7473 fi
7474
7475 else
7476
7477 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7478 if test "x$LINE" != x ; then
7479 eval "DEFAULT_$LINE"
7480 else
7481 no_cache=1
7482 fi
7483
7484 ac_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7485
7486 fi;
7487
7488 eval "$ac_cv_use_sound"
7489 if test "$no_cache" != 1; then
7490 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7491 fi
7492
7493 if test x"$enablestring" = xdisable; then
7494 if test $wxUSE_SOUND = yes; then
7495 result=no
7496 else
7497 result=yes
7498 fi
7499 else
7500 result=$wxUSE_SOUND
7501 fi
7502
7503 echo "$as_me:$LINENO: result: $result" >&5
7504 echo "${ECHO_T}$result" >&6
7505
7506
7507 enablestring=
7508 defaultval=$wxUSE_ALL_FEATURES
7509 if test -z "$defaultval"; then
7510 if test x"$enablestring" = xdisable; then
7511 defaultval=yes
7512 else
7513 defaultval=no
7514 fi
7515 fi
7516
7517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7518 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
7519 no_cache=0
7520 # Check whether --enable-mediactrl or --disable-mediactrl was given.
7521 if test "${enable_mediactrl+set}" = set; then
7522 enableval="$enable_mediactrl"
7523
7524 if test "$enableval" = yes; then
7525 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7526 else
7527 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7528 fi
7529
7530 else
7531
7532 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7533 if test "x$LINE" != x ; then
7534 eval "DEFAULT_$LINE"
7535 else
7536 no_cache=1
7537 fi
7538
7539 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7540
7541 fi;
7542
7543 eval "$ac_cv_use_mediactrl"
7544 if test "$no_cache" != 1; then
7545 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7546 fi
7547
7548 if test x"$enablestring" = xdisable; then
7549 if test $wxUSE_MEDIACTRL = yes; then
7550 result=no
7551 else
7552 result=yes
7553 fi
7554 else
7555 result=$wxUSE_MEDIACTRL
7556 fi
7557
7558 echo "$as_me:$LINENO: result: $result" >&5
7559 echo "${ECHO_T}$result" >&6
7560
7561
7562 enablestring=
7563 defaultval=$wxUSE_ALL_FEATURES
7564 if test -z "$defaultval"; then
7565 if test x"$enablestring" = xdisable; then
7566 defaultval=yes
7567 else
7568 defaultval=no
7569 fi
7570 fi
7571
7572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7573 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
7574 no_cache=0
7575 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
7576 if test "${enable_gstreamer8+set}" = set; then
7577 enableval="$enable_gstreamer8"
7578
7579 if test "$enableval" = yes; then
7580 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7581 else
7582 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7583 fi
7584
7585 else
7586
7587 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
7588 if test "x$LINE" != x ; then
7589 eval "DEFAULT_$LINE"
7590 else
7591 no_cache=1
7592 fi
7593
7594 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7595
7596 fi;
7597
7598 eval "$ac_cv_use_gstreamer8"
7599 if test "$no_cache" != 1; then
7600 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7601 fi
7602
7603 if test x"$enablestring" = xdisable; then
7604 if test $wxUSE_GSTREAMER8 = yes; then
7605 result=no
7606 else
7607 result=yes
7608 fi
7609 else
7610 result=$wxUSE_GSTREAMER8
7611 fi
7612
7613 echo "$as_me:$LINENO: result: $result" >&5
7614 echo "${ECHO_T}$result" >&6
7615
7616
7617 enablestring=
7618 defaultval=$wxUSE_ALL_FEATURES
7619 if test -z "$defaultval"; then
7620 if test x"$enablestring" = xdisable; then
7621 defaultval=yes
7622 else
7623 defaultval=no
7624 fi
7625 fi
7626
7627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7628 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
7629 no_cache=0
7630 # Check whether --enable-printfposparam or --disable-printfposparam was given.
7631 if test "${enable_printfposparam+set}" = set; then
7632 enableval="$enable_printfposparam"
7633
7634 if test "$enableval" = yes; then
7635 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7636 else
7637 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7638 fi
7639
7640 else
7641
7642 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x ; then
7644 eval "DEFAULT_$LINE"
7645 else
7646 no_cache=1
7647 fi
7648
7649 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7650
7651 fi;
7652
7653 eval "$ac_cv_use_printfposparam"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7656 fi
7657
7658 if test x"$enablestring" = xdisable; then
7659 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7660 result=no
7661 else
7662 result=yes
7663 fi
7664 else
7665 result=$wxUSE_PRINTF_POS_PARAMS
7666 fi
7667
7668 echo "$as_me:$LINENO: result: $result" >&5
7669 echo "${ECHO_T}$result" >&6
7670
7671
7672 enablestring=
7673 defaultval=$wxUSE_ALL_FEATURES
7674 if test -z "$defaultval"; then
7675 if test x"$enablestring" = xdisable; then
7676 defaultval=yes
7677 else
7678 defaultval=no
7679 fi
7680 fi
7681
7682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7683 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
7684 no_cache=0
7685 # Check whether --enable-zipstream or --disable-zipstream was given.
7686 if test "${enable_zipstream+set}" = set; then
7687 enableval="$enable_zipstream"
7688
7689 if test "$enableval" = yes; then
7690 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7691 else
7692 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7693 fi
7694
7695 else
7696
7697 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7698 if test "x$LINE" != x ; then
7699 eval "DEFAULT_$LINE"
7700 else
7701 no_cache=1
7702 fi
7703
7704 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7705
7706 fi;
7707
7708 eval "$ac_cv_use_zipstream"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7711 fi
7712
7713 if test x"$enablestring" = xdisable; then
7714 if test $wxUSE_ZIPSTREAM = yes; then
7715 result=no
7716 else
7717 result=yes
7718 fi
7719 else
7720 result=$wxUSE_ZIPSTREAM
7721 fi
7722
7723 echo "$as_me:$LINENO: result: $result" >&5
7724 echo "${ECHO_T}$result" >&6
7725
7726
7727
7728 enablestring=
7729 defaultval=$wxUSE_ALL_FEATURES
7730 if test -z "$defaultval"; then
7731 if test x"$enablestring" = xdisable; then
7732 defaultval=yes
7733 else
7734 defaultval=no
7735 fi
7736 fi
7737
7738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7739 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
7740 no_cache=0
7741 # Check whether --enable-url or --disable-url was given.
7742 if test "${enable_url+set}" = set; then
7743 enableval="$enable_url"
7744
7745 if test "$enableval" = yes; then
7746 ac_cv_use_url='wxUSE_URL=yes'
7747 else
7748 ac_cv_use_url='wxUSE_URL=no'
7749 fi
7750
7751 else
7752
7753 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
7754 if test "x$LINE" != x ; then
7755 eval "DEFAULT_$LINE"
7756 else
7757 no_cache=1
7758 fi
7759
7760 ac_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7761
7762 fi;
7763
7764 eval "$ac_cv_use_url"
7765 if test "$no_cache" != 1; then
7766 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7767 fi
7768
7769 if test x"$enablestring" = xdisable; then
7770 if test $wxUSE_URL = yes; then
7771 result=no
7772 else
7773 result=yes
7774 fi
7775 else
7776 result=$wxUSE_URL
7777 fi
7778
7779 echo "$as_me:$LINENO: result: $result" >&5
7780 echo "${ECHO_T}$result" >&6
7781
7782
7783 enablestring=
7784 defaultval=$wxUSE_ALL_FEATURES
7785 if test -z "$defaultval"; then
7786 if test x"$enablestring" = xdisable; then
7787 defaultval=yes
7788 else
7789 defaultval=no
7790 fi
7791 fi
7792
7793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7794 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
7795 no_cache=0
7796 # Check whether --enable-variant or --disable-variant was given.
7797 if test "${enable_variant+set}" = set; then
7798 enableval="$enable_variant"
7799
7800 if test "$enableval" = yes; then
7801 ac_cv_use_variant='wxUSE_VARIANT=yes'
7802 else
7803 ac_cv_use_variant='wxUSE_VARIANT=no'
7804 fi
7805
7806 else
7807
7808 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7809 if test "x$LINE" != x ; then
7810 eval "DEFAULT_$LINE"
7811 else
7812 no_cache=1
7813 fi
7814
7815 ac_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7816
7817 fi;
7818
7819 eval "$ac_cv_use_variant"
7820 if test "$no_cache" != 1; then
7821 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7822 fi
7823
7824 if test x"$enablestring" = xdisable; then
7825 if test $wxUSE_VARIANT = yes; then
7826 result=no
7827 else
7828 result=yes
7829 fi
7830 else
7831 result=$wxUSE_VARIANT
7832 fi
7833
7834 echo "$as_me:$LINENO: result: $result" >&5
7835 echo "${ECHO_T}$result" >&6
7836
7837
7838 enablestring=
7839 defaultval=$wxUSE_ALL_FEATURES
7840 if test -z "$defaultval"; then
7841 if test x"$enablestring" = xdisable; then
7842 defaultval=yes
7843 else
7844 defaultval=no
7845 fi
7846 fi
7847
7848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7849 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
7850 no_cache=0
7851 # Check whether --enable-protocol or --disable-protocol was given.
7852 if test "${enable_protocol+set}" = set; then
7853 enableval="$enable_protocol"
7854
7855 if test "$enableval" = yes; then
7856 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7857 else
7858 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7859 fi
7860
7861 else
7862
7863 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x ; then
7865 eval "DEFAULT_$LINE"
7866 else
7867 no_cache=1
7868 fi
7869
7870 ac_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7871
7872 fi;
7873
7874 eval "$ac_cv_use_protocol"
7875 if test "$no_cache" != 1; then
7876 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7877 fi
7878
7879 if test x"$enablestring" = xdisable; then
7880 if test $wxUSE_PROTOCOL = yes; then
7881 result=no
7882 else
7883 result=yes
7884 fi
7885 else
7886 result=$wxUSE_PROTOCOL
7887 fi
7888
7889 echo "$as_me:$LINENO: result: $result" >&5
7890 echo "${ECHO_T}$result" >&6
7891
7892
7893 enablestring=
7894 defaultval=$wxUSE_ALL_FEATURES
7895 if test -z "$defaultval"; then
7896 if test x"$enablestring" = xdisable; then
7897 defaultval=yes
7898 else
7899 defaultval=no
7900 fi
7901 fi
7902
7903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
7905 no_cache=0
7906 # Check whether --enable-protocol_http or --disable-protocol_http was given.
7907 if test "${enable_protocol_http+set}" = set; then
7908 enableval="$enable_protocol_http"
7909
7910 if test "$enableval" = yes; then
7911 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7912 else
7913 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7914 fi
7915
7916 else
7917
7918 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7919 if test "x$LINE" != x ; then
7920 eval "DEFAULT_$LINE"
7921 else
7922 no_cache=1
7923 fi
7924
7925 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7926
7927 fi;
7928
7929 eval "$ac_cv_use_protocol_http"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7932 fi
7933
7934 if test x"$enablestring" = xdisable; then
7935 if test $wxUSE_PROTOCOL_HTTP = yes; then
7936 result=no
7937 else
7938 result=yes
7939 fi
7940 else
7941 result=$wxUSE_PROTOCOL_HTTP
7942 fi
7943
7944 echo "$as_me:$LINENO: result: $result" >&5
7945 echo "${ECHO_T}$result" >&6
7946
7947
7948 enablestring=
7949 defaultval=$wxUSE_ALL_FEATURES
7950 if test -z "$defaultval"; then
7951 if test x"$enablestring" = xdisable; then
7952 defaultval=yes
7953 else
7954 defaultval=no
7955 fi
7956 fi
7957
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
7960 no_cache=0
7961 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
7962 if test "${enable_protocol_ftp+set}" = set; then
7963 enableval="$enable_protocol_ftp"
7964
7965 if test "$enableval" = yes; then
7966 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7967 else
7968 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7969 fi
7970
7971 else
7972
7973 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x ; then
7975 eval "DEFAULT_$LINE"
7976 else
7977 no_cache=1
7978 fi
7979
7980 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7981
7982 fi;
7983
7984 eval "$ac_cv_use_protocol_ftp"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7987 fi
7988
7989 if test x"$enablestring" = xdisable; then
7990 if test $wxUSE_PROTOCOL_FTP = yes; then
7991 result=no
7992 else
7993 result=yes
7994 fi
7995 else
7996 result=$wxUSE_PROTOCOL_FTP
7997 fi
7998
7999 echo "$as_me:$LINENO: result: $result" >&5
8000 echo "${ECHO_T}$result" >&6
8001
8002
8003 enablestring=
8004 defaultval=$wxUSE_ALL_FEATURES
8005 if test -z "$defaultval"; then
8006 if test x"$enablestring" = xdisable; then
8007 defaultval=yes
8008 else
8009 defaultval=no
8010 fi
8011 fi
8012
8013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
8015 no_cache=0
8016 # Check whether --enable-protocol_file or --disable-protocol_file was given.
8017 if test "${enable_protocol_file+set}" = set; then
8018 enableval="$enable_protocol_file"
8019
8020 if test "$enableval" = yes; then
8021 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8022 else
8023 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8024 fi
8025
8026 else
8027
8028 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8029 if test "x$LINE" != x ; then
8030 eval "DEFAULT_$LINE"
8031 else
8032 no_cache=1
8033 fi
8034
8035 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8036
8037 fi;
8038
8039 eval "$ac_cv_use_protocol_file"
8040 if test "$no_cache" != 1; then
8041 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
8042 fi
8043
8044 if test x"$enablestring" = xdisable; then
8045 if test $wxUSE_PROTOCOL_FILE = yes; then
8046 result=no
8047 else
8048 result=yes
8049 fi
8050 else
8051 result=$wxUSE_PROTOCOL_FILE
8052 fi
8053
8054 echo "$as_me:$LINENO: result: $result" >&5
8055 echo "${ECHO_T}$result" >&6
8056
8057
8058
8059 enablestring=
8060 defaultval=$wxUSE_ALL_FEATURES
8061 if test -z "$defaultval"; then
8062 if test x"$enablestring" = xdisable; then
8063 defaultval=yes
8064 else
8065 defaultval=no
8066 fi
8067 fi
8068
8069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8070 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
8071 no_cache=0
8072 # Check whether --enable-threads or --disable-threads was given.
8073 if test "${enable_threads+set}" = set; then
8074 enableval="$enable_threads"
8075
8076 if test "$enableval" = yes; then
8077 ac_cv_use_threads='wxUSE_THREADS=yes'
8078 else
8079 ac_cv_use_threads='wxUSE_THREADS=no'
8080 fi
8081
8082 else
8083
8084 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8087 else
8088 no_cache=1
8089 fi
8090
8091 ac_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8092
8093 fi;
8094
8095 eval "$ac_cv_use_threads"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
8098 fi
8099
8100 if test x"$enablestring" = xdisable; then
8101 if test $wxUSE_THREADS = yes; then
8102 result=no
8103 else
8104 result=yes
8105 fi
8106 else
8107 result=$wxUSE_THREADS
8108 fi
8109
8110 echo "$as_me:$LINENO: result: $result" >&5
8111 echo "${ECHO_T}$result" >&6
8112
8113
8114 if test "$wxUSE_GUI" = "yes"; then
8115
8116
8117
8118 enablestring=
8119 defaultval=$wxUSE_ALL_FEATURES
8120 if test -z "$defaultval"; then
8121 if test x"$enablestring" = xdisable; then
8122 defaultval=yes
8123 else
8124 defaultval=no
8125 fi
8126 fi
8127
8128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8129 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
8130 no_cache=0
8131 # Check whether --enable-docview or --disable-docview was given.
8132 if test "${enable_docview+set}" = set; then
8133 enableval="$enable_docview"
8134
8135 if test "$enableval" = yes; then
8136 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8137 else
8138 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8139 fi
8140
8141 else
8142
8143 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8144 if test "x$LINE" != x ; then
8145 eval "DEFAULT_$LINE"
8146 else
8147 no_cache=1
8148 fi
8149
8150 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8151
8152 fi;
8153
8154 eval "$ac_cv_use_docview"
8155 if test "$no_cache" != 1; then
8156 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
8157 fi
8158
8159 if test x"$enablestring" = xdisable; then
8160 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8161 result=no
8162 else
8163 result=yes
8164 fi
8165 else
8166 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8167 fi
8168
8169 echo "$as_me:$LINENO: result: $result" >&5
8170 echo "${ECHO_T}$result" >&6
8171
8172
8173 enablestring=
8174 defaultval=$wxUSE_ALL_FEATURES
8175 if test -z "$defaultval"; then
8176 if test x"$enablestring" = xdisable; then
8177 defaultval=yes
8178 else
8179 defaultval=no
8180 fi
8181 fi
8182
8183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
8185 no_cache=0
8186 # Check whether --enable-help or --disable-help was given.
8187 if test "${enable_help+set}" = set; then
8188 enableval="$enable_help"
8189
8190 if test "$enableval" = yes; then
8191 ac_cv_use_help='wxUSE_HELP=yes'
8192 else
8193 ac_cv_use_help='wxUSE_HELP=no'
8194 fi
8195
8196 else
8197
8198 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
8199 if test "x$LINE" != x ; then
8200 eval "DEFAULT_$LINE"
8201 else
8202 no_cache=1
8203 fi
8204
8205 ac_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8206
8207 fi;
8208
8209 eval "$ac_cv_use_help"
8210 if test "$no_cache" != 1; then
8211 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
8212 fi
8213
8214 if test x"$enablestring" = xdisable; then
8215 if test $wxUSE_HELP = yes; then
8216 result=no
8217 else
8218 result=yes
8219 fi
8220 else
8221 result=$wxUSE_HELP
8222 fi
8223
8224 echo "$as_me:$LINENO: result: $result" >&5
8225 echo "${ECHO_T}$result" >&6
8226
8227
8228 enablestring=
8229 defaultval=$wxUSE_ALL_FEATURES
8230 if test -z "$defaultval"; then
8231 if test x"$enablestring" = xdisable; then
8232 defaultval=yes
8233 else
8234 defaultval=no
8235 fi
8236 fi
8237
8238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
8240 no_cache=0
8241 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
8242 if test "${enable_mshtmlhelp+set}" = set; then
8243 enableval="$enable_mshtmlhelp"
8244
8245 if test "$enableval" = yes; then
8246 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8247 else
8248 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8249 fi
8250
8251 else
8252
8253 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
8254 if test "x$LINE" != x ; then
8255 eval "DEFAULT_$LINE"
8256 else
8257 no_cache=1
8258 fi
8259
8260 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8261
8262 fi;
8263
8264 eval "$ac_cv_use_mshtmlhelp"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
8267 fi
8268
8269 if test x"$enablestring" = xdisable; then
8270 if test $wxUSE_MS_HTML_HELP = yes; then
8271 result=no
8272 else
8273 result=yes
8274 fi
8275 else
8276 result=$wxUSE_MS_HTML_HELP
8277 fi
8278
8279 echo "$as_me:$LINENO: result: $result" >&5
8280 echo "${ECHO_T}$result" >&6
8281
8282
8283 enablestring=
8284 defaultval=$wxUSE_ALL_FEATURES
8285 if test -z "$defaultval"; then
8286 if test x"$enablestring" = xdisable; then
8287 defaultval=yes
8288 else
8289 defaultval=no
8290 fi
8291 fi
8292
8293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8294 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
8295 no_cache=0
8296 # Check whether --enable-html or --disable-html was given.
8297 if test "${enable_html+set}" = set; then
8298 enableval="$enable_html"
8299
8300 if test "$enableval" = yes; then
8301 ac_cv_use_html='wxUSE_HTML=yes'
8302 else
8303 ac_cv_use_html='wxUSE_HTML=no'
8304 fi
8305
8306 else
8307
8308 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
8309 if test "x$LINE" != x ; then
8310 eval "DEFAULT_$LINE"
8311 else
8312 no_cache=1
8313 fi
8314
8315 ac_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8316
8317 fi;
8318
8319 eval "$ac_cv_use_html"
8320 if test "$no_cache" != 1; then
8321 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
8322 fi
8323
8324 if test x"$enablestring" = xdisable; then
8325 if test $wxUSE_HTML = yes; then
8326 result=no
8327 else
8328 result=yes
8329 fi
8330 else
8331 result=$wxUSE_HTML
8332 fi
8333
8334 echo "$as_me:$LINENO: result: $result" >&5
8335 echo "${ECHO_T}$result" >&6
8336
8337
8338 enablestring=
8339 defaultval=$wxUSE_ALL_FEATURES
8340 if test -z "$defaultval"; then
8341 if test x"$enablestring" = xdisable; then
8342 defaultval=yes
8343 else
8344 defaultval=no
8345 fi
8346 fi
8347
8348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
8350 no_cache=0
8351 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
8352 if test "${enable_htmlhelp+set}" = set; then
8353 enableval="$enable_htmlhelp"
8354
8355 if test "$enableval" = yes; then
8356 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8357 else
8358 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8359 fi
8360
8361 else
8362
8363 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8364 if test "x$LINE" != x ; then
8365 eval "DEFAULT_$LINE"
8366 else
8367 no_cache=1
8368 fi
8369
8370 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8371
8372 fi;
8373
8374 eval "$ac_cv_use_htmlhelp"
8375 if test "$no_cache" != 1; then
8376 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8377 fi
8378
8379 if test x"$enablestring" = xdisable; then
8380 if test $wxUSE_WXHTML_HELP = yes; then
8381 result=no
8382 else
8383 result=yes
8384 fi
8385 else
8386 result=$wxUSE_WXHTML_HELP
8387 fi
8388
8389 echo "$as_me:$LINENO: result: $result" >&5
8390 echo "${ECHO_T}$result" >&6
8391
8392
8393 enablestring=
8394 defaultval=$wxUSE_ALL_FEATURES
8395 if test -z "$defaultval"; then
8396 if test x"$enablestring" = xdisable; then
8397 defaultval=yes
8398 else
8399 defaultval=no
8400 fi
8401 fi
8402
8403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
8405 no_cache=0
8406 # Check whether --enable-xrc or --disable-xrc was given.
8407 if test "${enable_xrc+set}" = set; then
8408 enableval="$enable_xrc"
8409
8410 if test "$enableval" = yes; then
8411 ac_cv_use_xrc='wxUSE_XRC=yes'
8412 else
8413 ac_cv_use_xrc='wxUSE_XRC=no'
8414 fi
8415
8416 else
8417
8418 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
8419 if test "x$LINE" != x ; then
8420 eval "DEFAULT_$LINE"
8421 else
8422 no_cache=1
8423 fi
8424
8425 ac_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8426
8427 fi;
8428
8429 eval "$ac_cv_use_xrc"
8430 if test "$no_cache" != 1; then
8431 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8432 fi
8433
8434 if test x"$enablestring" = xdisable; then
8435 if test $wxUSE_XRC = yes; then
8436 result=no
8437 else
8438 result=yes
8439 fi
8440 else
8441 result=$wxUSE_XRC
8442 fi
8443
8444 echo "$as_me:$LINENO: result: $result" >&5
8445 echo "${ECHO_T}$result" >&6
8446
8447
8448 enablestring=
8449 defaultval=$wxUSE_ALL_FEATURES
8450 if test -z "$defaultval"; then
8451 if test x"$enablestring" = xdisable; then
8452 defaultval=yes
8453 else
8454 defaultval=no
8455 fi
8456 fi
8457
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
8460 no_cache=0
8461 # Check whether --enable-aui or --disable-aui was given.
8462 if test "${enable_aui+set}" = set; then
8463 enableval="$enable_aui"
8464
8465 if test "$enableval" = yes; then
8466 ac_cv_use_aui='wxUSE_AUI=yes'
8467 else
8468 ac_cv_use_aui='wxUSE_AUI=no'
8469 fi
8470
8471 else
8472
8473 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x ; then
8475 eval "DEFAULT_$LINE"
8476 else
8477 no_cache=1
8478 fi
8479
8480 ac_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8481
8482 fi;
8483
8484 eval "$ac_cv_use_aui"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8487 fi
8488
8489 if test x"$enablestring" = xdisable; then
8490 if test $wxUSE_AUI = yes; then
8491 result=no
8492 else
8493 result=yes
8494 fi
8495 else
8496 result=$wxUSE_AUI
8497 fi
8498
8499 echo "$as_me:$LINENO: result: $result" >&5
8500 echo "${ECHO_T}$result" >&6
8501
8502
8503 enablestring=
8504 defaultval=$wxUSE_ALL_FEATURES
8505 if test -z "$defaultval"; then
8506 if test x"$enablestring" = xdisable; then
8507 defaultval=yes
8508 else
8509 defaultval=no
8510 fi
8511 fi
8512
8513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8514 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
8515 no_cache=0
8516 # Check whether --enable-stc or --disable-stc was given.
8517 if test "${enable_stc+set}" = set; then
8518 enableval="$enable_stc"
8519
8520 if test "$enableval" = yes; then
8521 ac_cv_use_stc='wxUSE_STC=yes'
8522 else
8523 ac_cv_use_stc='wxUSE_STC=no'
8524 fi
8525
8526 else
8527
8528 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8529 if test "x$LINE" != x ; then
8530 eval "DEFAULT_$LINE"
8531 else
8532 no_cache=1
8533 fi
8534
8535 ac_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8536
8537 fi;
8538
8539 eval "$ac_cv_use_stc"
8540 if test "$no_cache" != 1; then
8541 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8542 fi
8543
8544 if test x"$enablestring" = xdisable; then
8545 if test $wxUSE_STC = yes; then
8546 result=no
8547 else
8548 result=yes
8549 fi
8550 else
8551 result=$wxUSE_STC
8552 fi
8553
8554 echo "$as_me:$LINENO: result: $result" >&5
8555 echo "${ECHO_T}$result" >&6
8556
8557
8558 enablestring=
8559 defaultval=$wxUSE_ALL_FEATURES
8560 if test -z "$defaultval"; then
8561 if test x"$enablestring" = xdisable; then
8562 defaultval=yes
8563 else
8564 defaultval=no
8565 fi
8566 fi
8567
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
8570 no_cache=0
8571 # Check whether --enable-constraints or --disable-constraints was given.
8572 if test "${enable_constraints+set}" = set; then
8573 enableval="$enable_constraints"
8574
8575 if test "$enableval" = yes; then
8576 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8577 else
8578 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8579 fi
8580
8581 else
8582
8583 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x ; then
8585 eval "DEFAULT_$LINE"
8586 else
8587 no_cache=1
8588 fi
8589
8590 ac_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8591
8592 fi;
8593
8594 eval "$ac_cv_use_constraints"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8597 fi
8598
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_CONSTRAINTS = yes; then
8601 result=no
8602 else
8603 result=yes
8604 fi
8605 else
8606 result=$wxUSE_CONSTRAINTS
8607 fi
8608
8609 echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6
8611
8612
8613 enablestring=
8614 defaultval=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x"$enablestring" = xdisable; then
8617 defaultval=yes
8618 else
8619 defaultval=no
8620 fi
8621 fi
8622
8623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
8625 no_cache=0
8626 # Check whether --enable-printarch or --disable-printarch was given.
8627 if test "${enable_printarch+set}" = set; then
8628 enableval="$enable_printarch"
8629
8630 if test "$enableval" = yes; then
8631 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8632 else
8633 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8634 fi
8635
8636 else
8637
8638 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8639 if test "x$LINE" != x ; then
8640 eval "DEFAULT_$LINE"
8641 else
8642 no_cache=1
8643 fi
8644
8645 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8646
8647 fi;
8648
8649 eval "$ac_cv_use_printarch"
8650 if test "$no_cache" != 1; then
8651 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8652 fi
8653
8654 if test x"$enablestring" = xdisable; then
8655 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8656 result=no
8657 else
8658 result=yes
8659 fi
8660 else
8661 result=$wxUSE_PRINTING_ARCHITECTURE
8662 fi
8663
8664 echo "$as_me:$LINENO: result: $result" >&5
8665 echo "${ECHO_T}$result" >&6
8666
8667
8668 enablestring=
8669 defaultval=$wxUSE_ALL_FEATURES
8670 if test -z "$defaultval"; then
8671 if test x"$enablestring" = xdisable; then
8672 defaultval=yes
8673 else
8674 defaultval=no
8675 fi
8676 fi
8677
8678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8679 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
8680 no_cache=0
8681 # Check whether --enable-mdi or --disable-mdi was given.
8682 if test "${enable_mdi+set}" = set; then
8683 enableval="$enable_mdi"
8684
8685 if test "$enableval" = yes; then
8686 ac_cv_use_mdi='wxUSE_MDI=yes'
8687 else
8688 ac_cv_use_mdi='wxUSE_MDI=no'
8689 fi
8690
8691 else
8692
8693 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8694 if test "x$LINE" != x ; then
8695 eval "DEFAULT_$LINE"
8696 else
8697 no_cache=1
8698 fi
8699
8700 ac_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8701
8702 fi;
8703
8704 eval "$ac_cv_use_mdi"
8705 if test "$no_cache" != 1; then
8706 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8707 fi
8708
8709 if test x"$enablestring" = xdisable; then
8710 if test $wxUSE_MDI = yes; then
8711 result=no
8712 else
8713 result=yes
8714 fi
8715 else
8716 result=$wxUSE_MDI
8717 fi
8718
8719 echo "$as_me:$LINENO: result: $result" >&5
8720 echo "${ECHO_T}$result" >&6
8721
8722
8723 enablestring=
8724 defaultval=$wxUSE_ALL_FEATURES
8725 if test -z "$defaultval"; then
8726 if test x"$enablestring" = xdisable; then
8727 defaultval=yes
8728 else
8729 defaultval=no
8730 fi
8731 fi
8732
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
8735 no_cache=0
8736 # Check whether --enable-mdidoc or --disable-mdidoc was given.
8737 if test "${enable_mdidoc+set}" = set; then
8738 enableval="$enable_mdidoc"
8739
8740 if test "$enableval" = yes; then
8741 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8742 else
8743 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8744 fi
8745
8746 else
8747
8748 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x ; then
8750 eval "DEFAULT_$LINE"
8751 else
8752 no_cache=1
8753 fi
8754
8755 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8756
8757 fi;
8758
8759 eval "$ac_cv_use_mdidoc"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8762 fi
8763
8764 if test x"$enablestring" = xdisable; then
8765 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8766 result=no
8767 else
8768 result=yes
8769 fi
8770 else
8771 result=$wxUSE_MDI_ARCHITECTURE
8772 fi
8773
8774 echo "$as_me:$LINENO: result: $result" >&5
8775 echo "${ECHO_T}$result" >&6
8776
8777
8778 enablestring=
8779 defaultval=$wxUSE_ALL_FEATURES
8780 if test -z "$defaultval"; then
8781 if test x"$enablestring" = xdisable; then
8782 defaultval=yes
8783 else
8784 defaultval=no
8785 fi
8786 fi
8787
8788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8789 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
8790 no_cache=0
8791 # Check whether --enable-loggui or --disable-loggui was given.
8792 if test "${enable_loggui+set}" = set; then
8793 enableval="$enable_loggui"
8794
8795 if test "$enableval" = yes; then
8796 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8797 else
8798 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8799 fi
8800
8801 else
8802
8803 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8804 if test "x$LINE" != x ; then
8805 eval "DEFAULT_$LINE"
8806 else
8807 no_cache=1
8808 fi
8809
8810 ac_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8811
8812 fi;
8813
8814 eval "$ac_cv_use_loggui"
8815 if test "$no_cache" != 1; then
8816 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8817 fi
8818
8819 if test x"$enablestring" = xdisable; then
8820 if test $wxUSE_LOGGUI = yes; then
8821 result=no
8822 else
8823 result=yes
8824 fi
8825 else
8826 result=$wxUSE_LOGGUI
8827 fi
8828
8829 echo "$as_me:$LINENO: result: $result" >&5
8830 echo "${ECHO_T}$result" >&6
8831
8832
8833 enablestring=
8834 defaultval=$wxUSE_ALL_FEATURES
8835 if test -z "$defaultval"; then
8836 if test x"$enablestring" = xdisable; then
8837 defaultval=yes
8838 else
8839 defaultval=no
8840 fi
8841 fi
8842
8843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8844 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
8845 no_cache=0
8846 # Check whether --enable-logwin or --disable-logwin was given.
8847 if test "${enable_logwin+set}" = set; then
8848 enableval="$enable_logwin"
8849
8850 if test "$enableval" = yes; then
8851 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8852 else
8853 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8854 fi
8855
8856 else
8857
8858 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8859 if test "x$LINE" != x ; then
8860 eval "DEFAULT_$LINE"
8861 else
8862 no_cache=1
8863 fi
8864
8865 ac_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8866
8867 fi;
8868
8869 eval "$ac_cv_use_logwin"
8870 if test "$no_cache" != 1; then
8871 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8872 fi
8873
8874 if test x"$enablestring" = xdisable; then
8875 if test $wxUSE_LOGWINDOW = yes; then
8876 result=no
8877 else
8878 result=yes
8879 fi
8880 else
8881 result=$wxUSE_LOGWINDOW
8882 fi
8883
8884 echo "$as_me:$LINENO: result: $result" >&5
8885 echo "${ECHO_T}$result" >&6
8886
8887
8888 enablestring=
8889 defaultval=$wxUSE_ALL_FEATURES
8890 if test -z "$defaultval"; then
8891 if test x"$enablestring" = xdisable; then
8892 defaultval=yes
8893 else
8894 defaultval=no
8895 fi
8896 fi
8897
8898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
8900 no_cache=0
8901 # Check whether --enable-logdialog or --disable-logdialog was given.
8902 if test "${enable_logdialog+set}" = set; then
8903 enableval="$enable_logdialog"
8904
8905 if test "$enableval" = yes; then
8906 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8907 else
8908 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8909 fi
8910
8911 else
8912
8913 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
8914 if test "x$LINE" != x ; then
8915 eval "DEFAULT_$LINE"
8916 else
8917 no_cache=1
8918 fi
8919
8920 ac_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8921
8922 fi;
8923
8924 eval "$ac_cv_use_logdialog"
8925 if test "$no_cache" != 1; then
8926 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8927 fi
8928
8929 if test x"$enablestring" = xdisable; then
8930 if test $wxUSE_LOGDIALOG = yes; then
8931 result=no
8932 else
8933 result=yes
8934 fi
8935 else
8936 result=$wxUSE_LOGDIALOG
8937 fi
8938
8939 echo "$as_me:$LINENO: result: $result" >&5
8940 echo "${ECHO_T}$result" >&6
8941
8942
8943 enablestring=
8944 defaultval=$wxUSE_ALL_FEATURES
8945 if test -z "$defaultval"; then
8946 if test x"$enablestring" = xdisable; then
8947 defaultval=yes
8948 else
8949 defaultval=no
8950 fi
8951 fi
8952
8953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8954 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
8955 no_cache=0
8956 # Check whether --enable-webkit or --disable-webkit was given.
8957 if test "${enable_webkit+set}" = set; then
8958 enableval="$enable_webkit"
8959
8960 if test "$enableval" = yes; then
8961 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8962 else
8963 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8964 fi
8965
8966 else
8967
8968 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8969 if test "x$LINE" != x ; then
8970 eval "DEFAULT_$LINE"
8971 else
8972 no_cache=1
8973 fi
8974
8975 ac_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8976
8977 fi;
8978
8979 eval "$ac_cv_use_webkit"
8980 if test "$no_cache" != 1; then
8981 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8982 fi
8983
8984 if test x"$enablestring" = xdisable; then
8985 if test $wxUSE_WEBKIT = yes; then
8986 result=no
8987 else
8988 result=yes
8989 fi
8990 else
8991 result=$wxUSE_WEBKIT
8992 fi
8993
8994 echo "$as_me:$LINENO: result: $result" >&5
8995 echo "${ECHO_T}$result" >&6
8996
8997
8998 enablestring=
8999 defaultval=$wxUSE_ALL_FEATURES
9000 if test -z "$defaultval"; then
9001 if test x"$enablestring" = xdisable; then
9002 defaultval=yes
9003 else
9004 defaultval=no
9005 fi
9006 fi
9007
9008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9009 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
9010 no_cache=0
9011 # Check whether --enable-richtext or --disable-richtext was given.
9012 if test "${enable_richtext+set}" = set; then
9013 enableval="$enable_richtext"
9014
9015 if test "$enableval" = yes; then
9016 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
9017 else
9018 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
9019 fi
9020
9021 else
9022
9023 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9024 if test "x$LINE" != x ; then
9025 eval "DEFAULT_$LINE"
9026 else
9027 no_cache=1
9028 fi
9029
9030 ac_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9031
9032 fi;
9033
9034 eval "$ac_cv_use_richtext"
9035 if test "$no_cache" != 1; then
9036 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
9037 fi
9038
9039 if test x"$enablestring" = xdisable; then
9040 if test $wxUSE_RICHTEXT = yes; then
9041 result=no
9042 else
9043 result=yes
9044 fi
9045 else
9046 result=$wxUSE_RICHTEXT
9047 fi
9048
9049 echo "$as_me:$LINENO: result: $result" >&5
9050 echo "${ECHO_T}$result" >&6
9051
9052
9053 enablestring=
9054 defaultval=$wxUSE_ALL_FEATURES
9055 if test -z "$defaultval"; then
9056 if test x"$enablestring" = xdisable; then
9057 defaultval=yes
9058 else
9059 defaultval=no
9060 fi
9061 fi
9062
9063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
9065 no_cache=0
9066 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
9067 if test "${enable_graphics_ctx+set}" = set; then
9068 enableval="$enable_graphics_ctx"
9069
9070 if test "$enableval" = yes; then
9071 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9072 else
9073 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9074 fi
9075
9076 else
9077
9078 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9079 if test "x$LINE" != x ; then
9080 eval "DEFAULT_$LINE"
9081 else
9082 no_cache=1
9083 fi
9084
9085 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9086
9087 fi;
9088
9089 eval "$ac_cv_use_graphics_ctx"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
9092 fi
9093
9094 if test x"$enablestring" = xdisable; then
9095 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9096 result=no
9097 else
9098 result=yes
9099 fi
9100 else
9101 result=$wxUSE_GRAPHICS_CONTEXT
9102 fi
9103
9104 echo "$as_me:$LINENO: result: $result" >&5
9105 echo "${ECHO_T}$result" >&6
9106
9107
9108 enablestring=
9109 defaultval=$wxUSE_ALL_FEATURES
9110 if test -z "$defaultval"; then
9111 if test x"$enablestring" = xdisable; then
9112 defaultval=yes
9113 else
9114 defaultval=no
9115 fi
9116 fi
9117
9118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
9120 no_cache=0
9121 # Check whether --enable-postscript or --disable-postscript was given.
9122 if test "${enable_postscript+set}" = set; then
9123 enableval="$enable_postscript"
9124
9125 if test "$enableval" = yes; then
9126 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9127 else
9128 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9129 fi
9130
9131 else
9132
9133 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x ; then
9135 eval "DEFAULT_$LINE"
9136 else
9137 no_cache=1
9138 fi
9139
9140 ac_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9141
9142 fi;
9143
9144 eval "$ac_cv_use_postscript"
9145 if test "$no_cache" != 1; then
9146 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
9147 fi
9148
9149 if test x"$enablestring" = xdisable; then
9150 if test $wxUSE_POSTSCRIPT = yes; then
9151 result=no
9152 else
9153 result=yes
9154 fi
9155 else
9156 result=$wxUSE_POSTSCRIPT
9157 fi
9158
9159 echo "$as_me:$LINENO: result: $result" >&5
9160 echo "${ECHO_T}$result" >&6
9161
9162
9163 enablestring=
9164 defaultval=$wxUSE_ALL_FEATURES
9165 if test -z "$defaultval"; then
9166 if test x"$enablestring" = xdisable; then
9167 defaultval=yes
9168 else
9169 defaultval=no
9170 fi
9171 fi
9172
9173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9174 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6
9175 no_cache=0
9176 # Check whether --enable-svg or --disable-svg was given.
9177 if test "${enable_svg+set}" = set; then
9178 enableval="$enable_svg"
9179
9180 if test "$enableval" = yes; then
9181 ac_cv_use_svg='wxUSE_SVG=yes'
9182 else
9183 ac_cv_use_svg='wxUSE_SVG=no'
9184 fi
9185
9186 else
9187
9188 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
9189 if test "x$LINE" != x ; then
9190 eval "DEFAULT_$LINE"
9191 else
9192 no_cache=1
9193 fi
9194
9195 ac_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9196
9197 fi;
9198
9199 eval "$ac_cv_use_svg"
9200 if test "$no_cache" != 1; then
9201 echo $ac_cv_use_svg >> ${wx_arg_cache_file}.tmp
9202 fi
9203
9204 if test x"$enablestring" = xdisable; then
9205 if test $wxUSE_SVG = yes; then
9206 result=no
9207 else
9208 result=yes
9209 fi
9210 else
9211 result=$wxUSE_SVG
9212 fi
9213
9214 echo "$as_me:$LINENO: result: $result" >&5
9215 echo "${ECHO_T}$result" >&6
9216
9217
9218
9219
9220 enablestring=
9221 defaultval=$wxUSE_ALL_FEATURES
9222 if test -z "$defaultval"; then
9223 if test x"$enablestring" = xdisable; then
9224 defaultval=yes
9225 else
9226 defaultval=no
9227 fi
9228 fi
9229
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
9232 no_cache=0
9233 # Check whether --enable-clipboard or --disable-clipboard was given.
9234 if test "${enable_clipboard+set}" = set; then
9235 enableval="$enable_clipboard"
9236
9237 if test "$enableval" = yes; then
9238 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9239 else
9240 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9241 fi
9242
9243 else
9244
9245 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x ; then
9247 eval "DEFAULT_$LINE"
9248 else
9249 no_cache=1
9250 fi
9251
9252 ac_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9253
9254 fi;
9255
9256 eval "$ac_cv_use_clipboard"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
9259 fi
9260
9261 if test x"$enablestring" = xdisable; then
9262 if test $wxUSE_CLIPBOARD = yes; then
9263 result=no
9264 else
9265 result=yes
9266 fi
9267 else
9268 result=$wxUSE_CLIPBOARD
9269 fi
9270
9271 echo "$as_me:$LINENO: result: $result" >&5
9272 echo "${ECHO_T}$result" >&6
9273
9274
9275 enablestring=
9276 defaultval=$wxUSE_ALL_FEATURES
9277 if test -z "$defaultval"; then
9278 if test x"$enablestring" = xdisable; then
9279 defaultval=yes
9280 else
9281 defaultval=no
9282 fi
9283 fi
9284
9285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9286 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
9287 no_cache=0
9288 # Check whether --enable-dnd or --disable-dnd was given.
9289 if test "${enable_dnd+set}" = set; then
9290 enableval="$enable_dnd"
9291
9292 if test "$enableval" = yes; then
9293 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9294 else
9295 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9296 fi
9297
9298 else
9299
9300 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
9301 if test "x$LINE" != x ; then
9302 eval "DEFAULT_$LINE"
9303 else
9304 no_cache=1
9305 fi
9306
9307 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9308
9309 fi;
9310
9311 eval "$ac_cv_use_dnd"
9312 if test "$no_cache" != 1; then
9313 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
9314 fi
9315
9316 if test x"$enablestring" = xdisable; then
9317 if test $wxUSE_DRAG_AND_DROP = yes; then
9318 result=no
9319 else
9320 result=yes
9321 fi
9322 else
9323 result=$wxUSE_DRAG_AND_DROP
9324 fi
9325
9326 echo "$as_me:$LINENO: result: $result" >&5
9327 echo "${ECHO_T}$result" >&6
9328
9329
9330 enablestring=
9331 defaultval=$wxUSE_ALL_FEATURES
9332 if test -z "$defaultval"; then
9333 if test x"$enablestring" = xdisable; then
9334 defaultval=yes
9335 else
9336 defaultval=no
9337 fi
9338 fi
9339
9340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9341 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9342 no_cache=0
9343 # Check whether --enable-metafile or --disable-metafile was given.
9344 if test "${enable_metafile+set}" = set; then
9345 enableval="$enable_metafile"
9346
9347 if test "$enableval" = yes; then
9348 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9349 else
9350 ac_cv_use_metafile='wxUSE_METAFILE=no'
9351 fi
9352
9353 else
9354
9355 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
9356 if test "x$LINE" != x ; then
9357 eval "DEFAULT_$LINE"
9358 else
9359 no_cache=1
9360 fi
9361
9362 ac_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9363
9364 fi;
9365
9366 eval "$ac_cv_use_metafile"
9367 if test "$no_cache" != 1; then
9368 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9369 fi
9370
9371 if test x"$enablestring" = xdisable; then
9372 if test $wxUSE_METAFILE = yes; then
9373 result=no
9374 else
9375 result=yes
9376 fi
9377 else
9378 result=$wxUSE_METAFILE
9379 fi
9380
9381 echo "$as_me:$LINENO: result: $result" >&5
9382 echo "${ECHO_T}$result" >&6
9383
9384
9385
9386
9387 enablestring=
9388 defaultval=$wxUSE_ALL_FEATURES
9389 if test -z "$defaultval"; then
9390 if test x"$enablestring" = xdisable; then
9391 defaultval=yes
9392 else
9393 defaultval=no
9394 fi
9395 fi
9396
9397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9398 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
9399 no_cache=0
9400 # Check whether --enable-controls or --disable-controls was given.
9401 if test "${enable_controls+set}" = set; then
9402 enableval="$enable_controls"
9403
9404 if test "$enableval" = yes; then
9405 ac_cv_use_controls='wxUSE_CONTROLS=yes'
9406 else
9407 ac_cv_use_controls='wxUSE_CONTROLS=no'
9408 fi
9409
9410 else
9411
9412 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
9413 if test "x$LINE" != x ; then
9414 eval "DEFAULT_$LINE"
9415 else
9416 no_cache=1
9417 fi
9418
9419 ac_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9420
9421 fi;
9422
9423 eval "$ac_cv_use_controls"
9424 if test "$no_cache" != 1; then
9425 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
9426 fi
9427
9428 if test x"$enablestring" = xdisable; then
9429 if test $wxUSE_CONTROLS = yes; then
9430 result=no
9431 else
9432 result=yes
9433 fi
9434 else
9435 result=$wxUSE_CONTROLS
9436 fi
9437
9438 echo "$as_me:$LINENO: result: $result" >&5
9439 echo "${ECHO_T}$result" >&6
9440
9441
9442 if test "$wxUSE_CONTROLS" = "yes"; then
9443 DEFAULT_wxUSE_ACCEL=yes
9444 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9445 DEFAULT_wxUSE_BMPBUTTON=yes
9446 DEFAULT_wxUSE_BUTTON=yes
9447 DEFAULT_wxUSE_CALCTRL=yes
9448 DEFAULT_wxUSE_CARET=yes
9449 DEFAULT_wxUSE_COMBOBOX=yes
9450 DEFAULT_wxUSE_CHECKBOX=yes
9451 DEFAULT_wxUSE_CHECKLISTBOX=yes
9452 DEFAULT_wxUSE_CHOICE=yes
9453 DEFAULT_wxUSE_CHOICEBOOK=yes
9454 DEFAULT_wxUSE_COLLPANE=yes
9455 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9456 DEFAULT_wxUSE_COMBOBOX=yes
9457 DEFAULT_wxUSE_DATEPICKCTRL=yes
9458 DEFAULT_wxUSE_DISPLAY=yes
9459 DEFAULT_wxUSE_DETECT_SM=yes
9460 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9461 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9462 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9463 DEFAULT_wxUSE_GAUGE=yes
9464 DEFAULT_wxUSE_GRID=yes
9465 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9466 DEFAULT_wxUSE_DATAVIEWCTRL=no
9467 DEFAULT_wxUSE_IMAGLIST=yes
9468 DEFAULT_wxUSE_LISTBOOK=yes
9469 DEFAULT_wxUSE_LISTBOX=yes
9470 DEFAULT_wxUSE_LISTCTRL=yes
9471 DEFAULT_wxUSE_NOTEBOOK=yes
9472 DEFAULT_wxUSE_RADIOBOX=yes
9473 DEFAULT_wxUSE_RADIOBTN=yes
9474 DEFAULT_wxUSE_SASH=yes
9475 DEFAULT_wxUSE_SCROLLBAR=yes
9476 DEFAULT_wxUSE_SEARCHCTRL=yes
9477 DEFAULT_wxUSE_SLIDER=yes
9478 DEFAULT_wxUSE_SPINBTN=yes
9479 DEFAULT_wxUSE_SPINCTRL=yes
9480 DEFAULT_wxUSE_SPLITTER=yes
9481 DEFAULT_wxUSE_STATBMP=yes
9482 DEFAULT_wxUSE_STATBOX=yes
9483 DEFAULT_wxUSE_STATLINE=yes
9484 DEFAULT_wxUSE_STATUSBAR=yes
9485 DEFAULT_wxUSE_TAB_DIALOG=yes
9486 DEFAULT_wxUSE_TOGGLEBTN=yes
9487 DEFAULT_wxUSE_TOOLBAR=yes
9488 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9489 DEFAULT_wxUSE_TOOLTIPS=yes
9490 DEFAULT_wxUSE_TREEBOOK=yes
9491 DEFAULT_wxUSE_TOOLBOOK=yes
9492 DEFAULT_wxUSE_TREECTRL=yes
9493 DEFAULT_wxUSE_POPUPWIN=yes
9494 DEFAULT_wxUSE_TIPWINDOW=yes
9495 elif test "$wxUSE_CONTROLS" = "no"; then
9496 DEFAULT_wxUSE_ACCEL=no
9497 DEFAULT_wxUSE_ANIMATIONCTRL=no
9498 DEFAULT_wxUSE_BMPBUTTON=no
9499 DEFAULT_wxUSE_BUTTON=no
9500 DEFAULT_wxUSE_CALCTRL=no
9501 DEFAULT_wxUSE_CARET=no
9502 DEFAULT_wxUSE_COLLPANE=no
9503 DEFAULT_wxUSE_COMBOBOX=no
9504 DEFAULT_wxUSE_CHECKBOX=no
9505 DEFAULT_wxUSE_CHECKLISTBOX=no
9506 DEFAULT_wxUSE_CHOICE=no
9507 DEFAULT_wxUSE_CHOICEBOOK=no
9508 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9509 DEFAULT_wxUSE_COMBOBOX=no
9510 DEFAULT_wxUSE_DATEPICKCTRL=no
9511 DEFAULT_wxUSE_DISPLAY=no
9512 DEFAULT_wxUSE_DETECT_SM=no
9513 DEFAULT_wxUSE_DIRPICKERCTRL=no
9514 DEFAULT_wxUSE_FILEPICKERCTRL=no
9515 DEFAULT_wxUSE_FONTPICKERCTRL=no
9516 DEFAULT_wxUSE_GAUGE=no
9517 DEFAULT_wxUSE_GRID=no
9518 DEFAULT_wxUSE_HYPERLINKCTRL=no
9519 DEFAULT_wxUSE_DATAVIEWCTRL=no
9520 DEFAULT_wxUSE_IMAGLIST=no
9521 DEFAULT_wxUSE_LISTBOOK=no
9522 DEFAULT_wxUSE_LISTBOX=no
9523 DEFAULT_wxUSE_LISTCTRL=no
9524 DEFAULT_wxUSE_NOTEBOOK=no
9525 DEFAULT_wxUSE_RADIOBOX=no
9526 DEFAULT_wxUSE_RADIOBTN=no
9527 DEFAULT_wxUSE_SASH=no
9528 DEFAULT_wxUSE_SCROLLBAR=no
9529 DEFAULT_wxUSE_SEARCHCTRL=no
9530 DEFAULT_wxUSE_SLIDER=no
9531 DEFAULT_wxUSE_SPINBTN=no
9532 DEFAULT_wxUSE_SPINCTRL=no
9533 DEFAULT_wxUSE_SPLITTER=no
9534 DEFAULT_wxUSE_STATBMP=no
9535 DEFAULT_wxUSE_STATBOX=no
9536 DEFAULT_wxUSE_STATLINE=no
9537 DEFAULT_wxUSE_STATUSBAR=no
9538 DEFAULT_wxUSE_TAB_DIALOG=no
9539 DEFAULT_wxUSE_TOGGLEBTN=no
9540 DEFAULT_wxUSE_TOOLBAR=no
9541 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9542 DEFAULT_wxUSE_TOOLTIPS=no
9543 DEFAULT_wxUSE_TREEBOOK=no
9544 DEFAULT_wxUSE_TOOLBOOK=no
9545 DEFAULT_wxUSE_TREECTRL=no
9546 DEFAULT_wxUSE_POPUPWIN=no
9547 DEFAULT_wxUSE_TIPWINDOW=no
9548 fi
9549
9550
9551 enablestring=
9552 defaultval=$wxUSE_ALL_FEATURES
9553 if test -z "$defaultval"; then
9554 if test x"$enablestring" = xdisable; then
9555 defaultval=yes
9556 else
9557 defaultval=no
9558 fi
9559 fi
9560
9561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9562 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
9563 no_cache=0
9564 # Check whether --enable-accel or --disable-accel was given.
9565 if test "${enable_accel+set}" = set; then
9566 enableval="$enable_accel"
9567
9568 if test "$enableval" = yes; then
9569 ac_cv_use_accel='wxUSE_ACCEL=yes'
9570 else
9571 ac_cv_use_accel='wxUSE_ACCEL=no'
9572 fi
9573
9574 else
9575
9576 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
9577 if test "x$LINE" != x ; then
9578 eval "DEFAULT_$LINE"
9579 else
9580 no_cache=1
9581 fi
9582
9583 ac_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9584
9585 fi;
9586
9587 eval "$ac_cv_use_accel"
9588 if test "$no_cache" != 1; then
9589 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
9590 fi
9591
9592 if test x"$enablestring" = xdisable; then
9593 if test $wxUSE_ACCEL = yes; then
9594 result=no
9595 else
9596 result=yes
9597 fi
9598 else
9599 result=$wxUSE_ACCEL
9600 fi
9601
9602 echo "$as_me:$LINENO: result: $result" >&5
9603 echo "${ECHO_T}$result" >&6
9604
9605
9606 enablestring=
9607 defaultval=$wxUSE_ALL_FEATURES
9608 if test -z "$defaultval"; then
9609 if test x"$enablestring" = xdisable; then
9610 defaultval=yes
9611 else
9612 defaultval=no
9613 fi
9614 fi
9615
9616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9617 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
9618 no_cache=0
9619 # Check whether --enable-animatectrl or --disable-animatectrl was given.
9620 if test "${enable_animatectrl+set}" = set; then
9621 enableval="$enable_animatectrl"
9622
9623 if test "$enableval" = yes; then
9624 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9625 else
9626 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9627 fi
9628
9629 else
9630
9631 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
9632 if test "x$LINE" != x ; then
9633 eval "DEFAULT_$LINE"
9634 else
9635 no_cache=1
9636 fi
9637
9638 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9639
9640 fi;
9641
9642 eval "$ac_cv_use_animatectrl"
9643 if test "$no_cache" != 1; then
9644 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
9645 fi
9646
9647 if test x"$enablestring" = xdisable; then
9648 if test $wxUSE_ANIMATIONCTRL = yes; then
9649 result=no
9650 else
9651 result=yes
9652 fi
9653 else
9654 result=$wxUSE_ANIMATIONCTRL
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}-button" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
9673 no_cache=0
9674 # Check whether --enable-button or --disable-button was given.
9675 if test "${enable_button+set}" = set; then
9676 enableval="$enable_button"
9677
9678 if test "$enableval" = yes; then
9679 ac_cv_use_button='wxUSE_BUTTON=yes'
9680 else
9681 ac_cv_use_button='wxUSE_BUTTON=no'
9682 fi
9683
9684 else
9685
9686 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
9687 if test "x$LINE" != x ; then
9688 eval "DEFAULT_$LINE"
9689 else
9690 no_cache=1
9691 fi
9692
9693 ac_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9694
9695 fi;
9696
9697 eval "$ac_cv_use_button"
9698 if test "$no_cache" != 1; then
9699 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
9700 fi
9701
9702 if test x"$enablestring" = xdisable; then
9703 if test $wxUSE_BUTTON = yes; then
9704 result=no
9705 else
9706 result=yes
9707 fi
9708 else
9709 result=$wxUSE_BUTTON
9710 fi
9711
9712 echo "$as_me:$LINENO: result: $result" >&5
9713 echo "${ECHO_T}$result" >&6
9714
9715
9716 enablestring=
9717 defaultval=$wxUSE_ALL_FEATURES
9718 if test -z "$defaultval"; then
9719 if test x"$enablestring" = xdisable; then
9720 defaultval=yes
9721 else
9722 defaultval=no
9723 fi
9724 fi
9725
9726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9727 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
9728 no_cache=0
9729 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
9730 if test "${enable_bmpbutton+set}" = set; then
9731 enableval="$enable_bmpbutton"
9732
9733 if test "$enableval" = yes; then
9734 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9735 else
9736 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9737 fi
9738
9739 else
9740
9741 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9742 if test "x$LINE" != x ; then
9743 eval "DEFAULT_$LINE"
9744 else
9745 no_cache=1
9746 fi
9747
9748 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9749
9750 fi;
9751
9752 eval "$ac_cv_use_bmpbutton"
9753 if test "$no_cache" != 1; then
9754 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9755 fi
9756
9757 if test x"$enablestring" = xdisable; then
9758 if test $wxUSE_BMPBUTTON = yes; then
9759 result=no
9760 else
9761 result=yes
9762 fi
9763 else
9764 result=$wxUSE_BMPBUTTON
9765 fi
9766
9767 echo "$as_me:$LINENO: result: $result" >&5
9768 echo "${ECHO_T}$result" >&6
9769
9770
9771 enablestring=
9772 defaultval=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x"$enablestring" = xdisable; then
9775 defaultval=yes
9776 else
9777 defaultval=no
9778 fi
9779 fi
9780
9781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
9783 no_cache=0
9784 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
9785 if test "${enable_bmpcombobox+set}" = set; then
9786 enableval="$enable_bmpcombobox"
9787
9788 if test "$enableval" = yes; then
9789 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9790 else
9791 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9792 fi
9793
9794 else
9795
9796 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9797 if test "x$LINE" != x ; then
9798 eval "DEFAULT_$LINE"
9799 else
9800 no_cache=1
9801 fi
9802
9803 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9804
9805 fi;
9806
9807 eval "$ac_cv_use_bmpcombobox"
9808 if test "$no_cache" != 1; then
9809 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9810 fi
9811
9812 if test x"$enablestring" = xdisable; then
9813 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9814 result=no
9815 else
9816 result=yes
9817 fi
9818 else
9819 result=$wxUSE_BITMAPCOMBOBOX
9820 fi
9821
9822 echo "$as_me:$LINENO: result: $result" >&5
9823 echo "${ECHO_T}$result" >&6
9824
9825
9826 enablestring=
9827 defaultval=$wxUSE_ALL_FEATURES
9828 if test -z "$defaultval"; then
9829 if test x"$enablestring" = xdisable; then
9830 defaultval=yes
9831 else
9832 defaultval=no
9833 fi
9834 fi
9835
9836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9837 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
9838 no_cache=0
9839 # Check whether --enable-calendar or --disable-calendar was given.
9840 if test "${enable_calendar+set}" = set; then
9841 enableval="$enable_calendar"
9842
9843 if test "$enableval" = yes; then
9844 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9845 else
9846 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9847 fi
9848
9849 else
9850
9851 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
9852 if test "x$LINE" != x ; then
9853 eval "DEFAULT_$LINE"
9854 else
9855 no_cache=1
9856 fi
9857
9858 ac_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9859
9860 fi;
9861
9862 eval "$ac_cv_use_calendar"
9863 if test "$no_cache" != 1; then
9864 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9865 fi
9866
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_CALCTRL = yes; then
9869 result=no
9870 else
9871 result=yes
9872 fi
9873 else
9874 result=$wxUSE_CALCTRL
9875 fi
9876
9877 echo "$as_me:$LINENO: result: $result" >&5
9878 echo "${ECHO_T}$result" >&6
9879
9880
9881 enablestring=
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9885 defaultval=yes
9886 else
9887 defaultval=no
9888 fi
9889 fi
9890
9891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
9893 no_cache=0
9894 # Check whether --enable-caret or --disable-caret was given.
9895 if test "${enable_caret+set}" = set; then
9896 enableval="$enable_caret"
9897
9898 if test "$enableval" = yes; then
9899 ac_cv_use_caret='wxUSE_CARET=yes'
9900 else
9901 ac_cv_use_caret='wxUSE_CARET=no'
9902 fi
9903
9904 else
9905
9906 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9907 if test "x$LINE" != x ; then
9908 eval "DEFAULT_$LINE"
9909 else
9910 no_cache=1
9911 fi
9912
9913 ac_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9914
9915 fi;
9916
9917 eval "$ac_cv_use_caret"
9918 if test "$no_cache" != 1; then
9919 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9920 fi
9921
9922 if test x"$enablestring" = xdisable; then
9923 if test $wxUSE_CARET = yes; then
9924 result=no
9925 else
9926 result=yes
9927 fi
9928 else
9929 result=$wxUSE_CARET
9930 fi
9931
9932 echo "$as_me:$LINENO: result: $result" >&5
9933 echo "${ECHO_T}$result" >&6
9934
9935
9936 enablestring=
9937 defaultval=$wxUSE_ALL_FEATURES
9938 if test -z "$defaultval"; then
9939 if test x"$enablestring" = xdisable; then
9940 defaultval=yes
9941 else
9942 defaultval=no
9943 fi
9944 fi
9945
9946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9947 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
9948 no_cache=0
9949 # Check whether --enable-checkbox or --disable-checkbox was given.
9950 if test "${enable_checkbox+set}" = set; then
9951 enableval="$enable_checkbox"
9952
9953 if test "$enableval" = yes; then
9954 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9955 else
9956 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9957 fi
9958
9959 else
9960
9961 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9962 if test "x$LINE" != x ; then
9963 eval "DEFAULT_$LINE"
9964 else
9965 no_cache=1
9966 fi
9967
9968 ac_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9969
9970 fi;
9971
9972 eval "$ac_cv_use_checkbox"
9973 if test "$no_cache" != 1; then
9974 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9975 fi
9976
9977 if test x"$enablestring" = xdisable; then
9978 if test $wxUSE_CHECKBOX = yes; then
9979 result=no
9980 else
9981 result=yes
9982 fi
9983 else
9984 result=$wxUSE_CHECKBOX
9985 fi
9986
9987 echo "$as_me:$LINENO: result: $result" >&5
9988 echo "${ECHO_T}$result" >&6
9989
9990
9991 enablestring=
9992 defaultval=$wxUSE_ALL_FEATURES
9993 if test -z "$defaultval"; then
9994 if test x"$enablestring" = xdisable; then
9995 defaultval=yes
9996 else
9997 defaultval=no
9998 fi
9999 fi
10000
10001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10002 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
10003 no_cache=0
10004 # Check whether --enable-checklst or --disable-checklst was given.
10005 if test "${enable_checklst+set}" = set; then
10006 enableval="$enable_checklst"
10007
10008 if test "$enableval" = yes; then
10009 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
10010 else
10011 ac_cv_use_checklst='wxUSE_CHECKLST=no'
10012 fi
10013
10014 else
10015
10016 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10017 if test "x$LINE" != x ; then
10018 eval "DEFAULT_$LINE"
10019 else
10020 no_cache=1
10021 fi
10022
10023 ac_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10024
10025 fi;
10026
10027 eval "$ac_cv_use_checklst"
10028 if test "$no_cache" != 1; then
10029 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
10030 fi
10031
10032 if test x"$enablestring" = xdisable; then
10033 if test $wxUSE_CHECKLST = yes; then
10034 result=no
10035 else
10036 result=yes
10037 fi
10038 else
10039 result=$wxUSE_CHECKLST
10040 fi
10041
10042 echo "$as_me:$LINENO: result: $result" >&5
10043 echo "${ECHO_T}$result" >&6
10044
10045
10046 enablestring=
10047 defaultval=$wxUSE_ALL_FEATURES
10048 if test -z "$defaultval"; then
10049 if test x"$enablestring" = xdisable; then
10050 defaultval=yes
10051 else
10052 defaultval=no
10053 fi
10054 fi
10055
10056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10057 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
10058 no_cache=0
10059 # Check whether --enable-choice or --disable-choice was given.
10060 if test "${enable_choice+set}" = set; then
10061 enableval="$enable_choice"
10062
10063 if test "$enableval" = yes; then
10064 ac_cv_use_choice='wxUSE_CHOICE=yes'
10065 else
10066 ac_cv_use_choice='wxUSE_CHOICE=no'
10067 fi
10068
10069 else
10070
10071 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10072 if test "x$LINE" != x ; then
10073 eval "DEFAULT_$LINE"
10074 else
10075 no_cache=1
10076 fi
10077
10078 ac_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10079
10080 fi;
10081
10082 eval "$ac_cv_use_choice"
10083 if test "$no_cache" != 1; then
10084 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
10085 fi
10086
10087 if test x"$enablestring" = xdisable; then
10088 if test $wxUSE_CHOICE = yes; then
10089 result=no
10090 else
10091 result=yes
10092 fi
10093 else
10094 result=$wxUSE_CHOICE
10095 fi
10096
10097 echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6
10099
10100
10101 enablestring=
10102 defaultval=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x"$enablestring" = xdisable; then
10105 defaultval=yes
10106 else
10107 defaultval=no
10108 fi
10109 fi
10110
10111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
10113 no_cache=0
10114 # Check whether --enable-choicebook or --disable-choicebook was given.
10115 if test "${enable_choicebook+set}" = set; then
10116 enableval="$enable_choicebook"
10117
10118 if test "$enableval" = yes; then
10119 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10120 else
10121 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10122 fi
10123
10124 else
10125
10126 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10127 if test "x$LINE" != x ; then
10128 eval "DEFAULT_$LINE"
10129 else
10130 no_cache=1
10131 fi
10132
10133 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10134
10135 fi;
10136
10137 eval "$ac_cv_use_choicebook"
10138 if test "$no_cache" != 1; then
10139 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
10140 fi
10141
10142 if test x"$enablestring" = xdisable; then
10143 if test $wxUSE_CHOICEBOOK = yes; then
10144 result=no
10145 else
10146 result=yes
10147 fi
10148 else
10149 result=$wxUSE_CHOICEBOOK
10150 fi
10151
10152 echo "$as_me:$LINENO: result: $result" >&5
10153 echo "${ECHO_T}$result" >&6
10154
10155
10156 enablestring=
10157 defaultval=$wxUSE_ALL_FEATURES
10158 if test -z "$defaultval"; then
10159 if test x"$enablestring" = xdisable; then
10160 defaultval=yes
10161 else
10162 defaultval=no
10163 fi
10164 fi
10165
10166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10167 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
10168 no_cache=0
10169 # Check whether --enable-collpane or --disable-collpane was given.
10170 if test "${enable_collpane+set}" = set; then
10171 enableval="$enable_collpane"
10172
10173 if test "$enableval" = yes; then
10174 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
10175 else
10176 ac_cv_use_collpane='wxUSE_COLLPANE=no'
10177 fi
10178
10179 else
10180
10181 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10182 if test "x$LINE" != x ; then
10183 eval "DEFAULT_$LINE"
10184 else
10185 no_cache=1
10186 fi
10187
10188 ac_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10189
10190 fi;
10191
10192 eval "$ac_cv_use_collpane"
10193 if test "$no_cache" != 1; then
10194 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
10195 fi
10196
10197 if test x"$enablestring" = xdisable; then
10198 if test $wxUSE_COLLPANE = yes; then
10199 result=no
10200 else
10201 result=yes
10202 fi
10203 else
10204 result=$wxUSE_COLLPANE
10205 fi
10206
10207 echo "$as_me:$LINENO: result: $result" >&5
10208 echo "${ECHO_T}$result" >&6
10209
10210
10211 enablestring=
10212 defaultval=$wxUSE_ALL_FEATURES
10213 if test -z "$defaultval"; then
10214 if test x"$enablestring" = xdisable; then
10215 defaultval=yes
10216 else
10217 defaultval=no
10218 fi
10219 fi
10220
10221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10222 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
10223 no_cache=0
10224 # Check whether --enable-colourpicker or --disable-colourpicker was given.
10225 if test "${enable_colourpicker+set}" = set; then
10226 enableval="$enable_colourpicker"
10227
10228 if test "$enableval" = yes; then
10229 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10230 else
10231 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10232 fi
10233
10234 else
10235
10236 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
10237 if test "x$LINE" != x ; then
10238 eval "DEFAULT_$LINE"
10239 else
10240 no_cache=1
10241 fi
10242
10243 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10244
10245 fi;
10246
10247 eval "$ac_cv_use_colourpicker"
10248 if test "$no_cache" != 1; then
10249 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
10250 fi
10251
10252 if test x"$enablestring" = xdisable; then
10253 if test $wxUSE_COLOURPICKERCTRL = yes; then
10254 result=no
10255 else
10256 result=yes
10257 fi
10258 else
10259 result=$wxUSE_COLOURPICKERCTRL
10260 fi
10261
10262 echo "$as_me:$LINENO: result: $result" >&5
10263 echo "${ECHO_T}$result" >&6
10264
10265
10266 enablestring=
10267 defaultval=$wxUSE_ALL_FEATURES
10268 if test -z "$defaultval"; then
10269 if test x"$enablestring" = xdisable; then
10270 defaultval=yes
10271 else
10272 defaultval=no
10273 fi
10274 fi
10275
10276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10277 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
10278 no_cache=0
10279 # Check whether --enable-combobox or --disable-combobox was given.
10280 if test "${enable_combobox+set}" = set; then
10281 enableval="$enable_combobox"
10282
10283 if test "$enableval" = yes; then
10284 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
10285 else
10286 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
10287 fi
10288
10289 else
10290
10291 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x ; then
10293 eval "DEFAULT_$LINE"
10294 else
10295 no_cache=1
10296 fi
10297
10298 ac_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10299
10300 fi;
10301
10302 eval "$ac_cv_use_combobox"
10303 if test "$no_cache" != 1; then
10304 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
10305 fi
10306
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_COMBOBOX = yes; then
10309 result=no
10310 else
10311 result=yes
10312 fi
10313 else
10314 result=$wxUSE_COMBOBOX
10315 fi
10316
10317 echo "$as_me:$LINENO: result: $result" >&5
10318 echo "${ECHO_T}$result" >&6
10319
10320
10321 enablestring=
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10325 defaultval=yes
10326 else
10327 defaultval=no
10328 fi
10329 fi
10330
10331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
10333 no_cache=0
10334 # Check whether --enable-comboctrl or --disable-comboctrl was given.
10335 if test "${enable_comboctrl+set}" = set; then
10336 enableval="$enable_comboctrl"
10337
10338 if test "$enableval" = yes; then
10339 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10340 else
10341 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10342 fi
10343
10344 else
10345
10346 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
10347 if test "x$LINE" != x ; then
10348 eval "DEFAULT_$LINE"
10349 else
10350 no_cache=1
10351 fi
10352
10353 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10354
10355 fi;
10356
10357 eval "$ac_cv_use_comboctrl"
10358 if test "$no_cache" != 1; then
10359 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
10360 fi
10361
10362 if test x"$enablestring" = xdisable; then
10363 if test $wxUSE_COMBOCTRL = yes; then
10364 result=no
10365 else
10366 result=yes
10367 fi
10368 else
10369 result=$wxUSE_COMBOCTRL
10370 fi
10371
10372 echo "$as_me:$LINENO: result: $result" >&5
10373 echo "${ECHO_T}$result" >&6
10374
10375
10376 enablestring=
10377 defaultval=$wxUSE_ALL_FEATURES
10378 if test -z "$defaultval"; then
10379 if test x"$enablestring" = xdisable; then
10380 defaultval=yes
10381 else
10382 defaultval=no
10383 fi
10384 fi
10385
10386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10387 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
10388 no_cache=0
10389 # Check whether --enable-datepick or --disable-datepick was given.
10390 if test "${enable_datepick+set}" = set; then
10391 enableval="$enable_datepick"
10392
10393 if test "$enableval" = yes; then
10394 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10395 else
10396 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10397 fi
10398
10399 else
10400
10401 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
10402 if test "x$LINE" != x ; then
10403 eval "DEFAULT_$LINE"
10404 else
10405 no_cache=1
10406 fi
10407
10408 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10409
10410 fi;
10411
10412 eval "$ac_cv_use_datepick"
10413 if test "$no_cache" != 1; then
10414 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
10415 fi
10416
10417 if test x"$enablestring" = xdisable; then
10418 if test $wxUSE_DATEPICKCTRL = yes; then
10419 result=no
10420 else
10421 result=yes
10422 fi
10423 else
10424 result=$wxUSE_DATEPICKCTRL
10425 fi
10426
10427 echo "$as_me:$LINENO: result: $result" >&5
10428 echo "${ECHO_T}$result" >&6
10429
10430
10431 enablestring=
10432 defaultval=$wxUSE_ALL_FEATURES
10433 if test -z "$defaultval"; then
10434 if test x"$enablestring" = xdisable; then
10435 defaultval=yes
10436 else
10437 defaultval=no
10438 fi
10439 fi
10440
10441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
10443 no_cache=0
10444 # Check whether --enable-dirpicker or --disable-dirpicker was given.
10445 if test "${enable_dirpicker+set}" = set; then
10446 enableval="$enable_dirpicker"
10447
10448 if test "$enableval" = yes; then
10449 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10450 else
10451 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10452 fi
10453
10454 else
10455
10456 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
10457 if test "x$LINE" != x ; then
10458 eval "DEFAULT_$LINE"
10459 else
10460 no_cache=1
10461 fi
10462
10463 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10464
10465 fi;
10466
10467 eval "$ac_cv_use_dirpicker"
10468 if test "$no_cache" != 1; then
10469 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
10470 fi
10471
10472 if test x"$enablestring" = xdisable; then
10473 if test $wxUSE_DIRPICKERCTRL = yes; then
10474 result=no
10475 else
10476 result=yes
10477 fi
10478 else
10479 result=$wxUSE_DIRPICKERCTRL
10480 fi
10481
10482 echo "$as_me:$LINENO: result: $result" >&5
10483 echo "${ECHO_T}$result" >&6
10484
10485
10486 enablestring=
10487 defaultval=$wxUSE_ALL_FEATURES
10488 if test -z "$defaultval"; then
10489 if test x"$enablestring" = xdisable; then
10490 defaultval=yes
10491 else
10492 defaultval=no
10493 fi
10494 fi
10495
10496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10497 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
10498 no_cache=0
10499 # Check whether --enable-display or --disable-display was given.
10500 if test "${enable_display+set}" = set; then
10501 enableval="$enable_display"
10502
10503 if test "$enableval" = yes; then
10504 ac_cv_use_display='wxUSE_DISPLAY=yes'
10505 else
10506 ac_cv_use_display='wxUSE_DISPLAY=no'
10507 fi
10508
10509 else
10510
10511 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
10512 if test "x$LINE" != x ; then
10513 eval "DEFAULT_$LINE"
10514 else
10515 no_cache=1
10516 fi
10517
10518 ac_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10519
10520 fi;
10521
10522 eval "$ac_cv_use_display"
10523 if test "$no_cache" != 1; then
10524 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
10525 fi
10526
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_DISPLAY = yes; then
10529 result=no
10530 else
10531 result=yes
10532 fi
10533 else
10534 result=$wxUSE_DISPLAY
10535 fi
10536
10537 echo "$as_me:$LINENO: result: $result" >&5
10538 echo "${ECHO_T}$result" >&6
10539
10540
10541 enablestring=
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10545 defaultval=yes
10546 else
10547 defaultval=no
10548 fi
10549 fi
10550
10551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
10553 no_cache=0
10554 # Check whether --enable-detect_sm or --disable-detect_sm was given.
10555 if test "${enable_detect_sm+set}" = set; then
10556 enableval="$enable_detect_sm"
10557
10558 if test "$enableval" = yes; then
10559 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10560 else
10561 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10562 fi
10563
10564 else
10565
10566 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
10567 if test "x$LINE" != x ; then
10568 eval "DEFAULT_$LINE"
10569 else
10570 no_cache=1
10571 fi
10572
10573 ac_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10574
10575 fi;
10576
10577 eval "$ac_cv_use_detect_sm"
10578 if test "$no_cache" != 1; then
10579 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
10580 fi
10581
10582 if test x"$enablestring" = xdisable; then
10583 if test $wxUSE_DETECT_SM = yes; then
10584 result=no
10585 else
10586 result=yes
10587 fi
10588 else
10589 result=$wxUSE_DETECT_SM
10590 fi
10591
10592 echo "$as_me:$LINENO: result: $result" >&5
10593 echo "${ECHO_T}$result" >&6
10594
10595
10596 enablestring=
10597 defaultval=$wxUSE_ALL_FEATURES
10598 if test -z "$defaultval"; then
10599 if test x"$enablestring" = xdisable; then
10600 defaultval=yes
10601 else
10602 defaultval=no
10603 fi
10604 fi
10605
10606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10607 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
10608 no_cache=0
10609 # Check whether --enable-editablebox or --disable-editablebox was given.
10610 if test "${enable_editablebox+set}" = set; then
10611 enableval="$enable_editablebox"
10612
10613 if test "$enableval" = yes; then
10614 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10615 else
10616 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10617 fi
10618
10619 else
10620
10621 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
10622 if test "x$LINE" != x ; then
10623 eval "DEFAULT_$LINE"
10624 else
10625 no_cache=1
10626 fi
10627
10628 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10629
10630 fi;
10631
10632 eval "$ac_cv_use_editablebox"
10633 if test "$no_cache" != 1; then
10634 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
10635 fi
10636
10637 if test x"$enablestring" = xdisable; then
10638 if test $wxUSE_EDITABLELISTBOX = yes; then
10639 result=no
10640 else
10641 result=yes
10642 fi
10643 else
10644 result=$wxUSE_EDITABLELISTBOX
10645 fi
10646
10647 echo "$as_me:$LINENO: result: $result" >&5
10648 echo "${ECHO_T}$result" >&6
10649
10650
10651 enablestring=
10652 defaultval=$wxUSE_ALL_FEATURES
10653 if test -z "$defaultval"; then
10654 if test x"$enablestring" = xdisable; then
10655 defaultval=yes
10656 else
10657 defaultval=no
10658 fi
10659 fi
10660
10661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10662 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
10663 no_cache=0
10664 # Check whether --enable-filepicker or --disable-filepicker was given.
10665 if test "${enable_filepicker+set}" = set; then
10666 enableval="$enable_filepicker"
10667
10668 if test "$enableval" = yes; then
10669 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10670 else
10671 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10672 fi
10673
10674 else
10675
10676 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
10677 if test "x$LINE" != x ; then
10678 eval "DEFAULT_$LINE"
10679 else
10680 no_cache=1
10681 fi
10682
10683 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10684
10685 fi;
10686
10687 eval "$ac_cv_use_filepicker"
10688 if test "$no_cache" != 1; then
10689 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
10690 fi
10691
10692 if test x"$enablestring" = xdisable; then
10693 if test $wxUSE_FILEPICKERCTRL = yes; then
10694 result=no
10695 else
10696 result=yes
10697 fi
10698 else
10699 result=$wxUSE_FILEPICKERCTRL
10700 fi
10701
10702 echo "$as_me:$LINENO: result: $result" >&5
10703 echo "${ECHO_T}$result" >&6
10704
10705
10706 enablestring=
10707 defaultval=$wxUSE_ALL_FEATURES
10708 if test -z "$defaultval"; then
10709 if test x"$enablestring" = xdisable; then
10710 defaultval=yes
10711 else
10712 defaultval=no
10713 fi
10714 fi
10715
10716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10717 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
10718 no_cache=0
10719 # Check whether --enable-fontpicker or --disable-fontpicker was given.
10720 if test "${enable_fontpicker+set}" = set; then
10721 enableval="$enable_fontpicker"
10722
10723 if test "$enableval" = yes; then
10724 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10725 else
10726 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10727 fi
10728
10729 else
10730
10731 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
10732 if test "x$LINE" != x ; then
10733 eval "DEFAULT_$LINE"
10734 else
10735 no_cache=1
10736 fi
10737
10738 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10739
10740 fi;
10741
10742 eval "$ac_cv_use_fontpicker"
10743 if test "$no_cache" != 1; then
10744 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
10745 fi
10746
10747 if test x"$enablestring" = xdisable; then
10748 if test $wxUSE_FONTPICKERCTRL = yes; then
10749 result=no
10750 else
10751 result=yes
10752 fi
10753 else
10754 result=$wxUSE_FONTPICKERCTRL
10755 fi
10756
10757 echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6
10759
10760
10761 enablestring=
10762 defaultval=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x"$enablestring" = xdisable; then
10765 defaultval=yes
10766 else
10767 defaultval=no
10768 fi
10769 fi
10770
10771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
10773 no_cache=0
10774 # Check whether --enable-gauge or --disable-gauge was given.
10775 if test "${enable_gauge+set}" = set; then
10776 enableval="$enable_gauge"
10777
10778 if test "$enableval" = yes; then
10779 ac_cv_use_gauge='wxUSE_GAUGE=yes'
10780 else
10781 ac_cv_use_gauge='wxUSE_GAUGE=no'
10782 fi
10783
10784 else
10785
10786 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
10787 if test "x$LINE" != x ; then
10788 eval "DEFAULT_$LINE"
10789 else
10790 no_cache=1
10791 fi
10792
10793 ac_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10794
10795 fi;
10796
10797 eval "$ac_cv_use_gauge"
10798 if test "$no_cache" != 1; then
10799 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
10800 fi
10801
10802 if test x"$enablestring" = xdisable; then
10803 if test $wxUSE_GAUGE = yes; then
10804 result=no
10805 else
10806 result=yes
10807 fi
10808 else
10809 result=$wxUSE_GAUGE
10810 fi
10811
10812 echo "$as_me:$LINENO: result: $result" >&5
10813 echo "${ECHO_T}$result" >&6
10814
10815
10816 enablestring=
10817 defaultval=$wxUSE_ALL_FEATURES
10818 if test -z "$defaultval"; then
10819 if test x"$enablestring" = xdisable; then
10820 defaultval=yes
10821 else
10822 defaultval=no
10823 fi
10824 fi
10825
10826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10827 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
10828 no_cache=0
10829 # Check whether --enable-grid or --disable-grid was given.
10830 if test "${enable_grid+set}" = set; then
10831 enableval="$enable_grid"
10832
10833 if test "$enableval" = yes; then
10834 ac_cv_use_grid='wxUSE_GRID=yes'
10835 else
10836 ac_cv_use_grid='wxUSE_GRID=no'
10837 fi
10838
10839 else
10840
10841 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
10842 if test "x$LINE" != x ; then
10843 eval "DEFAULT_$LINE"
10844 else
10845 no_cache=1
10846 fi
10847
10848 ac_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10849
10850 fi;
10851
10852 eval "$ac_cv_use_grid"
10853 if test "$no_cache" != 1; then
10854 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
10855 fi
10856
10857 if test x"$enablestring" = xdisable; then
10858 if test $wxUSE_GRID = yes; then
10859 result=no
10860 else
10861 result=yes
10862 fi
10863 else
10864 result=$wxUSE_GRID
10865 fi
10866
10867 echo "$as_me:$LINENO: result: $result" >&5
10868 echo "${ECHO_T}$result" >&6
10869
10870
10871 enablestring=
10872 defaultval=$wxUSE_ALL_FEATURES
10873 if test -z "$defaultval"; then
10874 if test x"$enablestring" = xdisable; then
10875 defaultval=yes
10876 else
10877 defaultval=no
10878 fi
10879 fi
10880
10881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10882 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
10883 no_cache=0
10884 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
10885 if test "${enable_dataviewctrl+set}" = set; then
10886 enableval="$enable_dataviewctrl"
10887
10888 if test "$enableval" = yes; then
10889 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10890 else
10891 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10892 fi
10893
10894 else
10895
10896 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
10897 if test "x$LINE" != x ; then
10898 eval "DEFAULT_$LINE"
10899 else
10900 no_cache=1
10901 fi
10902
10903 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10904
10905 fi;
10906
10907 eval "$ac_cv_use_dataviewctrl"
10908 if test "$no_cache" != 1; then
10909 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
10910 fi
10911
10912 if test x"$enablestring" = xdisable; then
10913 if test $wxUSE_DATAVIEWCTRL = yes; then
10914 result=no
10915 else
10916 result=yes
10917 fi
10918 else
10919 result=$wxUSE_DATAVIEWCTRL
10920 fi
10921
10922 echo "$as_me:$LINENO: result: $result" >&5
10923 echo "${ECHO_T}$result" >&6
10924
10925
10926 enablestring=
10927 defaultval=$wxUSE_ALL_FEATURES
10928 if test -z "$defaultval"; then
10929 if test x"$enablestring" = xdisable; then
10930 defaultval=yes
10931 else
10932 defaultval=no
10933 fi
10934 fi
10935
10936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10937 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
10938 no_cache=0
10939 # Check whether --enable-hyperlink or --disable-hyperlink was given.
10940 if test "${enable_hyperlink+set}" = set; then
10941 enableval="$enable_hyperlink"
10942
10943 if test "$enableval" = yes; then
10944 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10945 else
10946 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10947 fi
10948
10949 else
10950
10951 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
10952 if test "x$LINE" != x ; then
10953 eval "DEFAULT_$LINE"
10954 else
10955 no_cache=1
10956 fi
10957
10958 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10959
10960 fi;
10961
10962 eval "$ac_cv_use_hyperlink"
10963 if test "$no_cache" != 1; then
10964 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
10965 fi
10966
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_HYPERLINKCTRL = yes; then
10969 result=no
10970 else
10971 result=yes
10972 fi
10973 else
10974 result=$wxUSE_HYPERLINKCTRL
10975 fi
10976
10977 echo "$as_me:$LINENO: result: $result" >&5
10978 echo "${ECHO_T}$result" >&6
10979
10980
10981 enablestring=
10982 defaultval=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x"$enablestring" = xdisable; then
10985 defaultval=yes
10986 else
10987 defaultval=no
10988 fi
10989 fi
10990
10991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
10993 no_cache=0
10994 # Check whether --enable-imaglist or --disable-imaglist was given.
10995 if test "${enable_imaglist+set}" = set; then
10996 enableval="$enable_imaglist"
10997
10998 if test "$enableval" = yes; then
10999 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11000 else
11001 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
11002 fi
11003
11004 else
11005
11006 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11007 if test "x$LINE" != x ; then
11008 eval "DEFAULT_$LINE"
11009 else
11010 no_cache=1
11011 fi
11012
11013 ac_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11014
11015 fi;
11016
11017 eval "$ac_cv_use_imaglist"
11018 if test "$no_cache" != 1; then
11019 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
11020 fi
11021
11022 if test x"$enablestring" = xdisable; then
11023 if test $wxUSE_IMAGLIST = yes; then
11024 result=no
11025 else
11026 result=yes
11027 fi
11028 else
11029 result=$wxUSE_IMAGLIST
11030 fi
11031
11032 echo "$as_me:$LINENO: result: $result" >&5
11033 echo "${ECHO_T}$result" >&6
11034
11035
11036 enablestring=
11037 defaultval=$wxUSE_ALL_FEATURES
11038 if test -z "$defaultval"; then
11039 if test x"$enablestring" = xdisable; then
11040 defaultval=yes
11041 else
11042 defaultval=no
11043 fi
11044 fi
11045
11046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11047 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
11048 no_cache=0
11049 # Check whether --enable-listbook or --disable-listbook was given.
11050 if test "${enable_listbook+set}" = set; then
11051 enableval="$enable_listbook"
11052
11053 if test "$enableval" = yes; then
11054 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
11055 else
11056 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
11057 fi
11058
11059 else
11060
11061 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11062 if test "x$LINE" != x ; then
11063 eval "DEFAULT_$LINE"
11064 else
11065 no_cache=1
11066 fi
11067
11068 ac_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11069
11070 fi;
11071
11072 eval "$ac_cv_use_listbook"
11073 if test "$no_cache" != 1; then
11074 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
11075 fi
11076
11077 if test x"$enablestring" = xdisable; then
11078 if test $wxUSE_LISTBOOK = yes; then
11079 result=no
11080 else
11081 result=yes
11082 fi
11083 else
11084 result=$wxUSE_LISTBOOK
11085 fi
11086
11087 echo "$as_me:$LINENO: result: $result" >&5
11088 echo "${ECHO_T}$result" >&6
11089
11090
11091 enablestring=
11092 defaultval=$wxUSE_ALL_FEATURES
11093 if test -z "$defaultval"; then
11094 if test x"$enablestring" = xdisable; then
11095 defaultval=yes
11096 else
11097 defaultval=no
11098 fi
11099 fi
11100
11101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11102 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
11103 no_cache=0
11104 # Check whether --enable-listbox or --disable-listbox was given.
11105 if test "${enable_listbox+set}" = set; then
11106 enableval="$enable_listbox"
11107
11108 if test "$enableval" = yes; then
11109 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
11110 else
11111 ac_cv_use_listbox='wxUSE_LISTBOX=no'
11112 fi
11113
11114 else
11115
11116 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11117 if test "x$LINE" != x ; then
11118 eval "DEFAULT_$LINE"
11119 else
11120 no_cache=1
11121 fi
11122
11123 ac_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11124
11125 fi;
11126
11127 eval "$ac_cv_use_listbox"
11128 if test "$no_cache" != 1; then
11129 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
11130 fi
11131
11132 if test x"$enablestring" = xdisable; then
11133 if test $wxUSE_LISTBOX = yes; then
11134 result=no
11135 else
11136 result=yes
11137 fi
11138 else
11139 result=$wxUSE_LISTBOX
11140 fi
11141
11142 echo "$as_me:$LINENO: result: $result" >&5
11143 echo "${ECHO_T}$result" >&6
11144
11145
11146 enablestring=
11147 defaultval=$wxUSE_ALL_FEATURES
11148 if test -z "$defaultval"; then
11149 if test x"$enablestring" = xdisable; then
11150 defaultval=yes
11151 else
11152 defaultval=no
11153 fi
11154 fi
11155
11156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11157 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
11158 no_cache=0
11159 # Check whether --enable-listctrl or --disable-listctrl was given.
11160 if test "${enable_listctrl+set}" = set; then
11161 enableval="$enable_listctrl"
11162
11163 if test "$enableval" = yes; then
11164 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11165 else
11166 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
11167 fi
11168
11169 else
11170
11171 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11172 if test "x$LINE" != x ; then
11173 eval "DEFAULT_$LINE"
11174 else
11175 no_cache=1
11176 fi
11177
11178 ac_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11179
11180 fi;
11181
11182 eval "$ac_cv_use_listctrl"
11183 if test "$no_cache" != 1; then
11184 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
11185 fi
11186
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_LISTCTRL = yes; then
11189 result=no
11190 else
11191 result=yes
11192 fi
11193 else
11194 result=$wxUSE_LISTCTRL
11195 fi
11196
11197 echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6
11199
11200
11201 enablestring=
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11205 defaultval=yes
11206 else
11207 defaultval=no
11208 fi
11209 fi
11210
11211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
11213 no_cache=0
11214 # Check whether --enable-notebook or --disable-notebook was given.
11215 if test "${enable_notebook+set}" = set; then
11216 enableval="$enable_notebook"
11217
11218 if test "$enableval" = yes; then
11219 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11220 else
11221 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
11222 fi
11223
11224 else
11225
11226 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11227 if test "x$LINE" != x ; then
11228 eval "DEFAULT_$LINE"
11229 else
11230 no_cache=1
11231 fi
11232
11233 ac_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11234
11235 fi;
11236
11237 eval "$ac_cv_use_notebook"
11238 if test "$no_cache" != 1; then
11239 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
11240 fi
11241
11242 if test x"$enablestring" = xdisable; then
11243 if test $wxUSE_NOTEBOOK = yes; then
11244 result=no
11245 else
11246 result=yes
11247 fi
11248 else
11249 result=$wxUSE_NOTEBOOK
11250 fi
11251
11252 echo "$as_me:$LINENO: result: $result" >&5
11253 echo "${ECHO_T}$result" >&6
11254
11255
11256 enablestring=
11257 defaultval=$wxUSE_ALL_FEATURES
11258 if test -z "$defaultval"; then
11259 if test x"$enablestring" = xdisable; then
11260 defaultval=yes
11261 else
11262 defaultval=no
11263 fi
11264 fi
11265
11266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11267 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
11268 no_cache=0
11269 # Check whether --enable-odcombobox or --disable-odcombobox was given.
11270 if test "${enable_odcombobox+set}" = set; then
11271 enableval="$enable_odcombobox"
11272
11273 if test "$enableval" = yes; then
11274 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11275 else
11276 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11277 fi
11278
11279 else
11280
11281 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
11282 if test "x$LINE" != x ; then
11283 eval "DEFAULT_$LINE"
11284 else
11285 no_cache=1
11286 fi
11287
11288 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11289
11290 fi;
11291
11292 eval "$ac_cv_use_odcombobox"
11293 if test "$no_cache" != 1; then
11294 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
11295 fi
11296
11297 if test x"$enablestring" = xdisable; then
11298 if test $wxUSE_ODCOMBOBOX = yes; then
11299 result=no
11300 else
11301 result=yes
11302 fi
11303 else
11304 result=$wxUSE_ODCOMBOBOX
11305 fi
11306
11307 echo "$as_me:$LINENO: result: $result" >&5
11308 echo "${ECHO_T}$result" >&6
11309
11310
11311 enablestring=
11312 defaultval=$wxUSE_ALL_FEATURES
11313 if test -z "$defaultval"; then
11314 if test x"$enablestring" = xdisable; then
11315 defaultval=yes
11316 else
11317 defaultval=no
11318 fi
11319 fi
11320
11321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11322 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
11323 no_cache=0
11324 # Check whether --enable-radiobox or --disable-radiobox was given.
11325 if test "${enable_radiobox+set}" = set; then
11326 enableval="$enable_radiobox"
11327
11328 if test "$enableval" = yes; then
11329 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11330 else
11331 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
11332 fi
11333
11334 else
11335
11336 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
11337 if test "x$LINE" != x ; then
11338 eval "DEFAULT_$LINE"
11339 else
11340 no_cache=1
11341 fi
11342
11343 ac_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11344
11345 fi;
11346
11347 eval "$ac_cv_use_radiobox"
11348 if test "$no_cache" != 1; then
11349 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
11350 fi
11351
11352 if test x"$enablestring" = xdisable; then
11353 if test $wxUSE_RADIOBOX = yes; then
11354 result=no
11355 else
11356 result=yes
11357 fi
11358 else
11359 result=$wxUSE_RADIOBOX
11360 fi
11361
11362 echo "$as_me:$LINENO: result: $result" >&5
11363 echo "${ECHO_T}$result" >&6
11364
11365
11366 enablestring=
11367 defaultval=$wxUSE_ALL_FEATURES
11368 if test -z "$defaultval"; then
11369 if test x"$enablestring" = xdisable; then
11370 defaultval=yes
11371 else
11372 defaultval=no
11373 fi
11374 fi
11375
11376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11377 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
11378 no_cache=0
11379 # Check whether --enable-radiobtn or --disable-radiobtn was given.
11380 if test "${enable_radiobtn+set}" = set; then
11381 enableval="$enable_radiobtn"
11382
11383 if test "$enableval" = yes; then
11384 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11385 else
11386 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11387 fi
11388
11389 else
11390
11391 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
11392 if test "x$LINE" != x ; then
11393 eval "DEFAULT_$LINE"
11394 else
11395 no_cache=1
11396 fi
11397
11398 ac_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11399
11400 fi;
11401
11402 eval "$ac_cv_use_radiobtn"
11403 if test "$no_cache" != 1; then
11404 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
11405 fi
11406
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_RADIOBTN = yes; then
11409 result=no
11410 else
11411 result=yes
11412 fi
11413 else
11414 result=$wxUSE_RADIOBTN
11415 fi
11416
11417 echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6
11419
11420
11421 enablestring=
11422 defaultval=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x"$enablestring" = xdisable; then
11425 defaultval=yes
11426 else
11427 defaultval=no
11428 fi
11429 fi
11430
11431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
11433 no_cache=0
11434 # Check whether --enable-sash or --disable-sash was given.
11435 if test "${enable_sash+set}" = set; then
11436 enableval="$enable_sash"
11437
11438 if test "$enableval" = yes; then
11439 ac_cv_use_sash='wxUSE_SASH=yes'
11440 else
11441 ac_cv_use_sash='wxUSE_SASH=no'
11442 fi
11443
11444 else
11445
11446 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
11447 if test "x$LINE" != x ; then
11448 eval "DEFAULT_$LINE"
11449 else
11450 no_cache=1
11451 fi
11452
11453 ac_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11454
11455 fi;
11456
11457 eval "$ac_cv_use_sash"
11458 if test "$no_cache" != 1; then
11459 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
11460 fi
11461
11462 if test x"$enablestring" = xdisable; then
11463 if test $wxUSE_SASH = yes; then
11464 result=no
11465 else
11466 result=yes
11467 fi
11468 else
11469 result=$wxUSE_SASH
11470 fi
11471
11472 echo "$as_me:$LINENO: result: $result" >&5
11473 echo "${ECHO_T}$result" >&6
11474
11475
11476 enablestring=
11477 defaultval=$wxUSE_ALL_FEATURES
11478 if test -z "$defaultval"; then
11479 if test x"$enablestring" = xdisable; then
11480 defaultval=yes
11481 else
11482 defaultval=no
11483 fi
11484 fi
11485
11486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11487 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
11488 no_cache=0
11489 # Check whether --enable-scrollbar or --disable-scrollbar was given.
11490 if test "${enable_scrollbar+set}" = set; then
11491 enableval="$enable_scrollbar"
11492
11493 if test "$enableval" = yes; then
11494 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11495 else
11496 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11497 fi
11498
11499 else
11500
11501 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
11502 if test "x$LINE" != x ; then
11503 eval "DEFAULT_$LINE"
11504 else
11505 no_cache=1
11506 fi
11507
11508 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11509
11510 fi;
11511
11512 eval "$ac_cv_use_scrollbar"
11513 if test "$no_cache" != 1; then
11514 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
11515 fi
11516
11517 if test x"$enablestring" = xdisable; then
11518 if test $wxUSE_SCROLLBAR = yes; then
11519 result=no
11520 else
11521 result=yes
11522 fi
11523 else
11524 result=$wxUSE_SCROLLBAR
11525 fi
11526
11527 echo "$as_me:$LINENO: result: $result" >&5
11528 echo "${ECHO_T}$result" >&6
11529
11530
11531 enablestring=
11532 defaultval=$wxUSE_ALL_FEATURES
11533 if test -z "$defaultval"; then
11534 if test x"$enablestring" = xdisable; then
11535 defaultval=yes
11536 else
11537 defaultval=no
11538 fi
11539 fi
11540
11541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11542 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
11543 no_cache=0
11544 # Check whether --enable-searchctrl or --disable-searchctrl was given.
11545 if test "${enable_searchctrl+set}" = set; then
11546 enableval="$enable_searchctrl"
11547
11548 if test "$enableval" = yes; then
11549 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11550 else
11551 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11552 fi
11553
11554 else
11555
11556 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
11557 if test "x$LINE" != x ; then
11558 eval "DEFAULT_$LINE"
11559 else
11560 no_cache=1
11561 fi
11562
11563 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11564
11565 fi;
11566
11567 eval "$ac_cv_use_searchctrl"
11568 if test "$no_cache" != 1; then
11569 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
11570 fi
11571
11572 if test x"$enablestring" = xdisable; then
11573 if test $wxUSE_SEARCHCTRL = yes; then
11574 result=no
11575 else
11576 result=yes
11577 fi
11578 else
11579 result=$wxUSE_SEARCHCTRL
11580 fi
11581
11582 echo "$as_me:$LINENO: result: $result" >&5
11583 echo "${ECHO_T}$result" >&6
11584
11585
11586 enablestring=
11587 defaultval=$wxUSE_ALL_FEATURES
11588 if test -z "$defaultval"; then
11589 if test x"$enablestring" = xdisable; then
11590 defaultval=yes
11591 else
11592 defaultval=no
11593 fi
11594 fi
11595
11596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11597 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
11598 no_cache=0
11599 # Check whether --enable-slider or --disable-slider was given.
11600 if test "${enable_slider+set}" = set; then
11601 enableval="$enable_slider"
11602
11603 if test "$enableval" = yes; then
11604 ac_cv_use_slider='wxUSE_SLIDER=yes'
11605 else
11606 ac_cv_use_slider='wxUSE_SLIDER=no'
11607 fi
11608
11609 else
11610
11611 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
11612 if test "x$LINE" != x ; then
11613 eval "DEFAULT_$LINE"
11614 else
11615 no_cache=1
11616 fi
11617
11618 ac_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11619
11620 fi;
11621
11622 eval "$ac_cv_use_slider"
11623 if test "$no_cache" != 1; then
11624 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
11625 fi
11626
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_SLIDER = yes; then
11629 result=no
11630 else
11631 result=yes
11632 fi
11633 else
11634 result=$wxUSE_SLIDER
11635 fi
11636
11637 echo "$as_me:$LINENO: result: $result" >&5
11638 echo "${ECHO_T}$result" >&6
11639
11640
11641 enablestring=
11642 defaultval=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x"$enablestring" = xdisable; then
11645 defaultval=yes
11646 else
11647 defaultval=no
11648 fi
11649 fi
11650
11651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11652 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
11653 no_cache=0
11654 # Check whether --enable-spinbtn or --disable-spinbtn was given.
11655 if test "${enable_spinbtn+set}" = set; then
11656 enableval="$enable_spinbtn"
11657
11658 if test "$enableval" = yes; then
11659 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11660 else
11661 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
11662 fi
11663
11664 else
11665
11666 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
11667 if test "x$LINE" != x ; then
11668 eval "DEFAULT_$LINE"
11669 else
11670 no_cache=1
11671 fi
11672
11673 ac_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11674
11675 fi;
11676
11677 eval "$ac_cv_use_spinbtn"
11678 if test "$no_cache" != 1; then
11679 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
11680 fi
11681
11682 if test x"$enablestring" = xdisable; then
11683 if test $wxUSE_SPINBTN = yes; then
11684 result=no
11685 else
11686 result=yes
11687 fi
11688 else
11689 result=$wxUSE_SPINBTN
11690 fi
11691
11692 echo "$as_me:$LINENO: result: $result" >&5
11693 echo "${ECHO_T}$result" >&6
11694
11695
11696 enablestring=
11697 defaultval=$wxUSE_ALL_FEATURES
11698 if test -z "$defaultval"; then
11699 if test x"$enablestring" = xdisable; then
11700 defaultval=yes
11701 else
11702 defaultval=no
11703 fi
11704 fi
11705
11706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11707 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
11708 no_cache=0
11709 # Check whether --enable-spinctrl or --disable-spinctrl was given.
11710 if test "${enable_spinctrl+set}" = set; then
11711 enableval="$enable_spinctrl"
11712
11713 if test "$enableval" = yes; then
11714 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11715 else
11716 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11717 fi
11718
11719 else
11720
11721 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
11722 if test "x$LINE" != x ; then
11723 eval "DEFAULT_$LINE"
11724 else
11725 no_cache=1
11726 fi
11727
11728 ac_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11729
11730 fi;
11731
11732 eval "$ac_cv_use_spinctrl"
11733 if test "$no_cache" != 1; then
11734 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
11735 fi
11736
11737 if test x"$enablestring" = xdisable; then
11738 if test $wxUSE_SPINCTRL = yes; then
11739 result=no
11740 else
11741 result=yes
11742 fi
11743 else
11744 result=$wxUSE_SPINCTRL
11745 fi
11746
11747 echo "$as_me:$LINENO: result: $result" >&5
11748 echo "${ECHO_T}$result" >&6
11749
11750
11751 enablestring=
11752 defaultval=$wxUSE_ALL_FEATURES
11753 if test -z "$defaultval"; then
11754 if test x"$enablestring" = xdisable; then
11755 defaultval=yes
11756 else
11757 defaultval=no
11758 fi
11759 fi
11760
11761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11762 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
11763 no_cache=0
11764 # Check whether --enable-splitter or --disable-splitter was given.
11765 if test "${enable_splitter+set}" = set; then
11766 enableval="$enable_splitter"
11767
11768 if test "$enableval" = yes; then
11769 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
11770 else
11771 ac_cv_use_splitter='wxUSE_SPLITTER=no'
11772 fi
11773
11774 else
11775
11776 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
11777 if test "x$LINE" != x ; then
11778 eval "DEFAULT_$LINE"
11779 else
11780 no_cache=1
11781 fi
11782
11783 ac_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11784
11785 fi;
11786
11787 eval "$ac_cv_use_splitter"
11788 if test "$no_cache" != 1; then
11789 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
11790 fi
11791
11792 if test x"$enablestring" = xdisable; then
11793 if test $wxUSE_SPLITTER = yes; then
11794 result=no
11795 else
11796 result=yes
11797 fi
11798 else
11799 result=$wxUSE_SPLITTER
11800 fi
11801
11802 echo "$as_me:$LINENO: result: $result" >&5
11803 echo "${ECHO_T}$result" >&6
11804
11805
11806 enablestring=
11807 defaultval=$wxUSE_ALL_FEATURES
11808 if test -z "$defaultval"; then
11809 if test x"$enablestring" = xdisable; then
11810 defaultval=yes
11811 else
11812 defaultval=no
11813 fi
11814 fi
11815
11816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11817 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
11818 no_cache=0
11819 # Check whether --enable-statbmp or --disable-statbmp was given.
11820 if test "${enable_statbmp+set}" = set; then
11821 enableval="$enable_statbmp"
11822
11823 if test "$enableval" = yes; then
11824 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
11825 else
11826 ac_cv_use_statbmp='wxUSE_STATBMP=no'
11827 fi
11828
11829 else
11830
11831 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
11832 if test "x$LINE" != x ; then
11833 eval "DEFAULT_$LINE"
11834 else
11835 no_cache=1
11836 fi
11837
11838 ac_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11839
11840 fi;
11841
11842 eval "$ac_cv_use_statbmp"
11843 if test "$no_cache" != 1; then
11844 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
11845 fi
11846
11847 if test x"$enablestring" = xdisable; then
11848 if test $wxUSE_STATBMP = yes; then
11849 result=no
11850 else
11851 result=yes
11852 fi
11853 else
11854 result=$wxUSE_STATBMP
11855 fi
11856
11857 echo "$as_me:$LINENO: result: $result" >&5
11858 echo "${ECHO_T}$result" >&6
11859
11860
11861 enablestring=
11862 defaultval=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x"$enablestring" = xdisable; then
11865 defaultval=yes
11866 else
11867 defaultval=no
11868 fi
11869 fi
11870
11871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
11873 no_cache=0
11874 # Check whether --enable-statbox or --disable-statbox was given.
11875 if test "${enable_statbox+set}" = set; then
11876 enableval="$enable_statbox"
11877
11878 if test "$enableval" = yes; then
11879 ac_cv_use_statbox='wxUSE_STATBOX=yes'
11880 else
11881 ac_cv_use_statbox='wxUSE_STATBOX=no'
11882 fi
11883
11884 else
11885
11886 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
11887 if test "x$LINE" != x ; then
11888 eval "DEFAULT_$LINE"
11889 else
11890 no_cache=1
11891 fi
11892
11893 ac_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11894
11895 fi;
11896
11897 eval "$ac_cv_use_statbox"
11898 if test "$no_cache" != 1; then
11899 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
11900 fi
11901
11902 if test x"$enablestring" = xdisable; then
11903 if test $wxUSE_STATBOX = yes; then
11904 result=no
11905 else
11906 result=yes
11907 fi
11908 else
11909 result=$wxUSE_STATBOX
11910 fi
11911
11912 echo "$as_me:$LINENO: result: $result" >&5
11913 echo "${ECHO_T}$result" >&6
11914
11915
11916 enablestring=
11917 defaultval=$wxUSE_ALL_FEATURES
11918 if test -z "$defaultval"; then
11919 if test x"$enablestring" = xdisable; then
11920 defaultval=yes
11921 else
11922 defaultval=no
11923 fi
11924 fi
11925
11926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11927 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
11928 no_cache=0
11929 # Check whether --enable-statline or --disable-statline was given.
11930 if test "${enable_statline+set}" = set; then
11931 enableval="$enable_statline"
11932
11933 if test "$enableval" = yes; then
11934 ac_cv_use_statline='wxUSE_STATLINE=yes'
11935 else
11936 ac_cv_use_statline='wxUSE_STATLINE=no'
11937 fi
11938
11939 else
11940
11941 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
11942 if test "x$LINE" != x ; then
11943 eval "DEFAULT_$LINE"
11944 else
11945 no_cache=1
11946 fi
11947
11948 ac_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11949
11950 fi;
11951
11952 eval "$ac_cv_use_statline"
11953 if test "$no_cache" != 1; then
11954 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
11955 fi
11956
11957 if test x"$enablestring" = xdisable; then
11958 if test $wxUSE_STATLINE = yes; then
11959 result=no
11960 else
11961 result=yes
11962 fi
11963 else
11964 result=$wxUSE_STATLINE
11965 fi
11966
11967 echo "$as_me:$LINENO: result: $result" >&5
11968 echo "${ECHO_T}$result" >&6
11969
11970
11971 enablestring=
11972 defaultval=$wxUSE_ALL_FEATURES
11973 if test -z "$defaultval"; then
11974 if test x"$enablestring" = xdisable; then
11975 defaultval=yes
11976 else
11977 defaultval=no
11978 fi
11979 fi
11980
11981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11982 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
11983 no_cache=0
11984 # Check whether --enable-stattext or --disable-stattext was given.
11985 if test "${enable_stattext+set}" = set; then
11986 enableval="$enable_stattext"
11987
11988 if test "$enableval" = yes; then
11989 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
11990 else
11991 ac_cv_use_stattext='wxUSE_STATTEXT=no'
11992 fi
11993
11994 else
11995
11996 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
11997 if test "x$LINE" != x ; then
11998 eval "DEFAULT_$LINE"
11999 else
12000 no_cache=1
12001 fi
12002
12003 ac_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12004
12005 fi;
12006
12007 eval "$ac_cv_use_stattext"
12008 if test "$no_cache" != 1; then
12009 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
12010 fi
12011
12012 if test x"$enablestring" = xdisable; then
12013 if test $wxUSE_STATTEXT = yes; then
12014 result=no
12015 else
12016 result=yes
12017 fi
12018 else
12019 result=$wxUSE_STATTEXT
12020 fi
12021
12022 echo "$as_me:$LINENO: result: $result" >&5
12023 echo "${ECHO_T}$result" >&6
12024
12025
12026 enablestring=
12027 defaultval=$wxUSE_ALL_FEATURES
12028 if test -z "$defaultval"; then
12029 if test x"$enablestring" = xdisable; then
12030 defaultval=yes
12031 else
12032 defaultval=no
12033 fi
12034 fi
12035
12036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12037 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
12038 no_cache=0
12039 # Check whether --enable-statusbar or --disable-statusbar was given.
12040 if test "${enable_statusbar+set}" = set; then
12041 enableval="$enable_statusbar"
12042
12043 if test "$enableval" = yes; then
12044 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12045 else
12046 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
12047 fi
12048
12049 else
12050
12051 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12052 if test "x$LINE" != x ; then
12053 eval "DEFAULT_$LINE"
12054 else
12055 no_cache=1
12056 fi
12057
12058 ac_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12059
12060 fi;
12061
12062 eval "$ac_cv_use_statusbar"
12063 if test "$no_cache" != 1; then
12064 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
12065 fi
12066
12067 if test x"$enablestring" = xdisable; then
12068 if test $wxUSE_STATUSBAR = yes; then
12069 result=no
12070 else
12071 result=yes
12072 fi
12073 else
12074 result=$wxUSE_STATUSBAR
12075 fi
12076
12077 echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6
12079
12080
12081 enablestring=
12082 defaultval=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x"$enablestring" = xdisable; then
12085 defaultval=yes
12086 else
12087 defaultval=no
12088 fi
12089 fi
12090
12091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
12093 no_cache=0
12094 # Check whether --enable-tabdialog or --disable-tabdialog was given.
12095 if test "${enable_tabdialog+set}" = set; then
12096 enableval="$enable_tabdialog"
12097
12098 if test "$enableval" = yes; then
12099 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12100 else
12101 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12102 fi
12103
12104 else
12105
12106 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12107 if test "x$LINE" != x ; then
12108 eval "DEFAULT_$LINE"
12109 else
12110 no_cache=1
12111 fi
12112
12113 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12114
12115 fi;
12116
12117 eval "$ac_cv_use_tabdialog"
12118 if test "$no_cache" != 1; then
12119 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
12120 fi
12121
12122 if test x"$enablestring" = xdisable; then
12123 if test $wxUSE_TAB_DIALOG = yes; then
12124 result=no
12125 else
12126 result=yes
12127 fi
12128 else
12129 result=$wxUSE_TAB_DIALOG
12130 fi
12131
12132 echo "$as_me:$LINENO: result: $result" >&5
12133 echo "${ECHO_T}$result" >&6
12134
12135
12136 enablestring=
12137 defaultval=$wxUSE_ALL_FEATURES
12138 if test -z "$defaultval"; then
12139 if test x"$enablestring" = xdisable; then
12140 defaultval=yes
12141 else
12142 defaultval=no
12143 fi
12144 fi
12145
12146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12147 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
12148 no_cache=0
12149 # Check whether --enable-textctrl or --disable-textctrl was given.
12150 if test "${enable_textctrl+set}" = set; then
12151 enableval="$enable_textctrl"
12152
12153 if test "$enableval" = yes; then
12154 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12155 else
12156 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12157 fi
12158
12159 else
12160
12161 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12162 if test "x$LINE" != x ; then
12163 eval "DEFAULT_$LINE"
12164 else
12165 no_cache=1
12166 fi
12167
12168 ac_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12169
12170 fi;
12171
12172 eval "$ac_cv_use_textctrl"
12173 if test "$no_cache" != 1; then
12174 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
12175 fi
12176
12177 if test x"$enablestring" = xdisable; then
12178 if test $wxUSE_TEXTCTRL = yes; then
12179 result=no
12180 else
12181 result=yes
12182 fi
12183 else
12184 result=$wxUSE_TEXTCTRL
12185 fi
12186
12187 echo "$as_me:$LINENO: result: $result" >&5
12188 echo "${ECHO_T}$result" >&6
12189
12190
12191 enablestring=
12192 defaultval=$wxUSE_ALL_FEATURES
12193 if test -z "$defaultval"; then
12194 if test x"$enablestring" = xdisable; then
12195 defaultval=yes
12196 else
12197 defaultval=no
12198 fi
12199 fi
12200
12201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12202 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
12203 no_cache=0
12204 # Check whether --enable-togglebtn or --disable-togglebtn was given.
12205 if test "${enable_togglebtn+set}" = set; then
12206 enableval="$enable_togglebtn"
12207
12208 if test "$enableval" = yes; then
12209 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12210 else
12211 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12212 fi
12213
12214 else
12215
12216 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12217 if test "x$LINE" != x ; then
12218 eval "DEFAULT_$LINE"
12219 else
12220 no_cache=1
12221 fi
12222
12223 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12224
12225 fi;
12226
12227 eval "$ac_cv_use_togglebtn"
12228 if test "$no_cache" != 1; then
12229 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
12230 fi
12231
12232 if test x"$enablestring" = xdisable; then
12233 if test $wxUSE_TOGGLEBTN = yes; then
12234 result=no
12235 else
12236 result=yes
12237 fi
12238 else
12239 result=$wxUSE_TOGGLEBTN
12240 fi
12241
12242 echo "$as_me:$LINENO: result: $result" >&5
12243 echo "${ECHO_T}$result" >&6
12244
12245
12246 enablestring=
12247 defaultval=$wxUSE_ALL_FEATURES
12248 if test -z "$defaultval"; then
12249 if test x"$enablestring" = xdisable; then
12250 defaultval=yes
12251 else
12252 defaultval=no
12253 fi
12254 fi
12255
12256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12257 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
12258 no_cache=0
12259 # Check whether --enable-toolbar or --disable-toolbar was given.
12260 if test "${enable_toolbar+set}" = set; then
12261 enableval="$enable_toolbar"
12262
12263 if test "$enableval" = yes; then
12264 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12265 else
12266 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
12267 fi
12268
12269 else
12270
12271 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
12272 if test "x$LINE" != x ; then
12273 eval "DEFAULT_$LINE"
12274 else
12275 no_cache=1
12276 fi
12277
12278 ac_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12279
12280 fi;
12281
12282 eval "$ac_cv_use_toolbar"
12283 if test "$no_cache" != 1; then
12284 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
12285 fi
12286
12287 if test x"$enablestring" = xdisable; then
12288 if test $wxUSE_TOOLBAR = yes; then
12289 result=no
12290 else
12291 result=yes
12292 fi
12293 else
12294 result=$wxUSE_TOOLBAR
12295 fi
12296
12297 echo "$as_me:$LINENO: result: $result" >&5
12298 echo "${ECHO_T}$result" >&6
12299
12300
12301 enablestring=
12302 defaultval=$wxUSE_ALL_FEATURES
12303 if test -z "$defaultval"; then
12304 if test x"$enablestring" = xdisable; then
12305 defaultval=yes
12306 else
12307 defaultval=no
12308 fi
12309 fi
12310
12311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12312 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
12313 no_cache=0
12314 # Check whether --enable-tbarnative or --disable-tbarnative was given.
12315 if test "${enable_tbarnative+set}" = set; then
12316 enableval="$enable_tbarnative"
12317
12318 if test "$enableval" = yes; then
12319 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12320 else
12321 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12322 fi
12323
12324 else
12325
12326 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
12327 if test "x$LINE" != x ; then
12328 eval "DEFAULT_$LINE"
12329 else
12330 no_cache=1
12331 fi
12332
12333 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12334
12335 fi;
12336
12337 eval "$ac_cv_use_tbarnative"
12338 if test "$no_cache" != 1; then
12339 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
12340 fi
12341
12342 if test x"$enablestring" = xdisable; then
12343 if test $wxUSE_TOOLBAR_NATIVE = yes; then
12344 result=no
12345 else
12346 result=yes
12347 fi
12348 else
12349 result=$wxUSE_TOOLBAR_NATIVE
12350 fi
12351
12352 echo "$as_me:$LINENO: result: $result" >&5
12353 echo "${ECHO_T}$result" >&6
12354
12355
12356 enablestring=
12357 defaultval=$wxUSE_ALL_FEATURES
12358 if test -z "$defaultval"; then
12359 if test x"$enablestring" = xdisable; then
12360 defaultval=yes
12361 else
12362 defaultval=no
12363 fi
12364 fi
12365
12366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12367 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
12368 no_cache=0
12369 # Check whether --enable-treebook or --disable-treebook was given.
12370 if test "${enable_treebook+set}" = set; then
12371 enableval="$enable_treebook"
12372
12373 if test "$enableval" = yes; then
12374 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
12375 else
12376 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
12377 fi
12378
12379 else
12380
12381 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
12382 if test "x$LINE" != x ; then
12383 eval "DEFAULT_$LINE"
12384 else
12385 no_cache=1
12386 fi
12387
12388 ac_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12389
12390 fi;
12391
12392 eval "$ac_cv_use_treebook"
12393 if test "$no_cache" != 1; then
12394 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
12395 fi
12396
12397 if test x"$enablestring" = xdisable; then
12398 if test $wxUSE_TREEBOOK = yes; then
12399 result=no
12400 else
12401 result=yes
12402 fi
12403 else
12404 result=$wxUSE_TREEBOOK
12405 fi
12406
12407 echo "$as_me:$LINENO: result: $result" >&5
12408 echo "${ECHO_T}$result" >&6
12409
12410
12411 enablestring=
12412 defaultval=$wxUSE_ALL_FEATURES
12413 if test -z "$defaultval"; then
12414 if test x"$enablestring" = xdisable; then
12415 defaultval=yes
12416 else
12417 defaultval=no
12418 fi
12419 fi
12420
12421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12422 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
12423 no_cache=0
12424 # Check whether --enable-toolbook or --disable-toolbook was given.
12425 if test "${enable_toolbook+set}" = set; then
12426 enableval="$enable_toolbook"
12427
12428 if test "$enableval" = yes; then
12429 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12430 else
12431 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12432 fi
12433
12434 else
12435
12436 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
12437 if test "x$LINE" != x ; then
12438 eval "DEFAULT_$LINE"
12439 else
12440 no_cache=1
12441 fi
12442
12443 ac_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12444
12445 fi;
12446
12447 eval "$ac_cv_use_toolbook"
12448 if test "$no_cache" != 1; then
12449 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
12450 fi
12451
12452 if test x"$enablestring" = xdisable; then
12453 if test $wxUSE_TOOLBOOK = yes; then
12454 result=no
12455 else
12456 result=yes
12457 fi
12458 else
12459 result=$wxUSE_TOOLBOOK
12460 fi
12461
12462 echo "$as_me:$LINENO: result: $result" >&5
12463 echo "${ECHO_T}$result" >&6
12464
12465
12466 enablestring=
12467 defaultval=$wxUSE_ALL_FEATURES
12468 if test -z "$defaultval"; then
12469 if test x"$enablestring" = xdisable; then
12470 defaultval=yes
12471 else
12472 defaultval=no
12473 fi
12474 fi
12475
12476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12477 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
12478 no_cache=0
12479 # Check whether --enable-treectrl or --disable-treectrl was given.
12480 if test "${enable_treectrl+set}" = set; then
12481 enableval="$enable_treectrl"
12482
12483 if test "$enableval" = yes; then
12484 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
12485 else
12486 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
12487 fi
12488
12489 else
12490
12491 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
12492 if test "x$LINE" != x ; then
12493 eval "DEFAULT_$LINE"
12494 else
12495 no_cache=1
12496 fi
12497
12498 ac_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12499
12500 fi;
12501
12502 eval "$ac_cv_use_treectrl"
12503 if test "$no_cache" != 1; then
12504 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
12505 fi
12506
12507 if test x"$enablestring" = xdisable; then
12508 if test $wxUSE_TREECTRL = yes; then
12509 result=no
12510 else
12511 result=yes
12512 fi
12513 else
12514 result=$wxUSE_TREECTRL
12515 fi
12516
12517 echo "$as_me:$LINENO: result: $result" >&5
12518 echo "${ECHO_T}$result" >&6
12519
12520
12521 enablestring=
12522 defaultval=$wxUSE_ALL_FEATURES
12523 if test -z "$defaultval"; then
12524 if test x"$enablestring" = xdisable; then
12525 defaultval=yes
12526 else
12527 defaultval=no
12528 fi
12529 fi
12530
12531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12532 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
12533 no_cache=0
12534 # Check whether --enable-tipwindow or --disable-tipwindow was given.
12535 if test "${enable_tipwindow+set}" = set; then
12536 enableval="$enable_tipwindow"
12537
12538 if test "$enableval" = yes; then
12539 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12540 else
12541 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12542 fi
12543
12544 else
12545
12546 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
12547 if test "x$LINE" != x ; then
12548 eval "DEFAULT_$LINE"
12549 else
12550 no_cache=1
12551 fi
12552
12553 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12554
12555 fi;
12556
12557 eval "$ac_cv_use_tipwindow"
12558 if test "$no_cache" != 1; then
12559 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
12560 fi
12561
12562 if test x"$enablestring" = xdisable; then
12563 if test $wxUSE_TIPWINDOW = yes; then
12564 result=no
12565 else
12566 result=yes
12567 fi
12568 else
12569 result=$wxUSE_TIPWINDOW
12570 fi
12571
12572 echo "$as_me:$LINENO: result: $result" >&5
12573 echo "${ECHO_T}$result" >&6
12574
12575
12576 enablestring=
12577 defaultval=$wxUSE_ALL_FEATURES
12578 if test -z "$defaultval"; then
12579 if test x"$enablestring" = xdisable; then
12580 defaultval=yes
12581 else
12582 defaultval=no
12583 fi
12584 fi
12585
12586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12587 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
12588 no_cache=0
12589 # Check whether --enable-popupwin or --disable-popupwin was given.
12590 if test "${enable_popupwin+set}" = set; then
12591 enableval="$enable_popupwin"
12592
12593 if test "$enableval" = yes; then
12594 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12595 else
12596 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
12597 fi
12598
12599 else
12600
12601 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
12602 if test "x$LINE" != x ; then
12603 eval "DEFAULT_$LINE"
12604 else
12605 no_cache=1
12606 fi
12607
12608 ac_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12609
12610 fi;
12611
12612 eval "$ac_cv_use_popupwin"
12613 if test "$no_cache" != 1; then
12614 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
12615 fi
12616
12617 if test x"$enablestring" = xdisable; then
12618 if test $wxUSE_POPUPWIN = yes; then
12619 result=no
12620 else
12621 result=yes
12622 fi
12623 else
12624 result=$wxUSE_POPUPWIN
12625 fi
12626
12627 echo "$as_me:$LINENO: result: $result" >&5
12628 echo "${ECHO_T}$result" >&6
12629
12630
12631
12632
12633 enablestring=
12634 defaultval=$wxUSE_ALL_FEATURES
12635 if test -z "$defaultval"; then
12636 if test x"$enablestring" = xdisable; then
12637 defaultval=yes
12638 else
12639 defaultval=no
12640 fi
12641 fi
12642
12643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12644 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
12645 no_cache=0
12646 # Check whether --enable-commondlg or --disable-commondlg was given.
12647 if test "${enable_commondlg+set}" = set; then
12648 enableval="$enable_commondlg"
12649
12650 if test "$enableval" = yes; then
12651 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12652 else
12653 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12654 fi
12655
12656 else
12657
12658 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
12659 if test "x$LINE" != x ; then
12660 eval "DEFAULT_$LINE"
12661 else
12662 no_cache=1
12663 fi
12664
12665 ac_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12666
12667 fi;
12668
12669 eval "$ac_cv_use_commondlg"
12670 if test "$no_cache" != 1; then
12671 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
12672 fi
12673
12674 if test x"$enablestring" = xdisable; then
12675 if test $wxUSE_COMMONDLGS = yes; then
12676 result=no
12677 else
12678 result=yes
12679 fi
12680 else
12681 result=$wxUSE_COMMONDLGS
12682 fi
12683
12684 echo "$as_me:$LINENO: result: $result" >&5
12685 echo "${ECHO_T}$result" >&6
12686
12687
12688 enablestring=
12689 defaultval=$wxUSE_ALL_FEATURES
12690 if test -z "$defaultval"; then
12691 if test x"$enablestring" = xdisable; then
12692 defaultval=yes
12693 else
12694 defaultval=no
12695 fi
12696 fi
12697
12698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12699 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
12700 no_cache=0
12701 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
12702 if test "${enable_aboutdlg+set}" = set; then
12703 enableval="$enable_aboutdlg"
12704
12705 if test "$enableval" = yes; then
12706 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12707 else
12708 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12709 fi
12710
12711 else
12712
12713 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
12714 if test "x$LINE" != x ; then
12715 eval "DEFAULT_$LINE"
12716 else
12717 no_cache=1
12718 fi
12719
12720 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12721
12722 fi;
12723
12724 eval "$ac_cv_use_aboutdlg"
12725 if test "$no_cache" != 1; then
12726 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
12727 fi
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_ABOUTDLG = yes; then
12731 result=no
12732 else
12733 result=yes
12734 fi
12735 else
12736 result=$wxUSE_ABOUTDLG
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}-choicedlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
12755 no_cache=0
12756 # Check whether --enable-choicedlg or --disable-choicedlg was given.
12757 if test "${enable_choicedlg+set}" = set; then
12758 enableval="$enable_choicedlg"
12759
12760 if test "$enableval" = yes; then
12761 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12762 else
12763 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12764 fi
12765
12766 else
12767
12768 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
12769 if test "x$LINE" != x ; then
12770 eval "DEFAULT_$LINE"
12771 else
12772 no_cache=1
12773 fi
12774
12775 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12776
12777 fi;
12778
12779 eval "$ac_cv_use_choicedlg"
12780 if test "$no_cache" != 1; then
12781 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
12782 fi
12783
12784 if test x"$enablestring" = xdisable; then
12785 if test $wxUSE_CHOICEDLG = yes; then
12786 result=no
12787 else
12788 result=yes
12789 fi
12790 else
12791 result=$wxUSE_CHOICEDLG
12792 fi
12793
12794 echo "$as_me:$LINENO: result: $result" >&5
12795 echo "${ECHO_T}$result" >&6
12796
12797
12798 enablestring=
12799 defaultval=$wxUSE_ALL_FEATURES
12800 if test -z "$defaultval"; then
12801 if test x"$enablestring" = xdisable; then
12802 defaultval=yes
12803 else
12804 defaultval=no
12805 fi
12806 fi
12807
12808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12809 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
12810 no_cache=0
12811 # Check whether --enable-coldlg or --disable-coldlg was given.
12812 if test "${enable_coldlg+set}" = set; then
12813 enableval="$enable_coldlg"
12814
12815 if test "$enableval" = yes; then
12816 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12817 else
12818 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
12819 fi
12820
12821 else
12822
12823 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
12824 if test "x$LINE" != x ; then
12825 eval "DEFAULT_$LINE"
12826 else
12827 no_cache=1
12828 fi
12829
12830 ac_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12831
12832 fi;
12833
12834 eval "$ac_cv_use_coldlg"
12835 if test "$no_cache" != 1; then
12836 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
12837 fi
12838
12839 if test x"$enablestring" = xdisable; then
12840 if test $wxUSE_COLOURDLG = yes; then
12841 result=no
12842 else
12843 result=yes
12844 fi
12845 else
12846 result=$wxUSE_COLOURDLG
12847 fi
12848
12849 echo "$as_me:$LINENO: result: $result" >&5
12850 echo "${ECHO_T}$result" >&6
12851
12852
12853 enablestring=
12854 defaultval=$wxUSE_ALL_FEATURES
12855 if test -z "$defaultval"; then
12856 if test x"$enablestring" = xdisable; then
12857 defaultval=yes
12858 else
12859 defaultval=no
12860 fi
12861 fi
12862
12863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12864 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
12865 no_cache=0
12866 # Check whether --enable-filedlg or --disable-filedlg was given.
12867 if test "${enable_filedlg+set}" = set; then
12868 enableval="$enable_filedlg"
12869
12870 if test "$enableval" = yes; then
12871 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
12872 else
12873 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
12874 fi
12875
12876 else
12877
12878 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
12879 if test "x$LINE" != x ; then
12880 eval "DEFAULT_$LINE"
12881 else
12882 no_cache=1
12883 fi
12884
12885 ac_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12886
12887 fi;
12888
12889 eval "$ac_cv_use_filedlg"
12890 if test "$no_cache" != 1; then
12891 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
12892 fi
12893
12894 if test x"$enablestring" = xdisable; then
12895 if test $wxUSE_FILEDLG = yes; then
12896 result=no
12897 else
12898 result=yes
12899 fi
12900 else
12901 result=$wxUSE_FILEDLG
12902 fi
12903
12904 echo "$as_me:$LINENO: result: $result" >&5
12905 echo "${ECHO_T}$result" >&6
12906
12907
12908 enablestring=
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12912 defaultval=yes
12913 else
12914 defaultval=no
12915 fi
12916 fi
12917
12918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12919 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
12920 no_cache=0
12921 # Check whether --enable-finddlg or --disable-finddlg was given.
12922 if test "${enable_finddlg+set}" = set; then
12923 enableval="$enable_finddlg"
12924
12925 if test "$enableval" = yes; then
12926 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12927 else
12928 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12929 fi
12930
12931 else
12932
12933 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
12934 if test "x$LINE" != x ; then
12935 eval "DEFAULT_$LINE"
12936 else
12937 no_cache=1
12938 fi
12939
12940 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12941
12942 fi;
12943
12944 eval "$ac_cv_use_finddlg"
12945 if test "$no_cache" != 1; then
12946 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
12947 fi
12948
12949 if test x"$enablestring" = xdisable; then
12950 if test $wxUSE_FINDREPLDLG = yes; then
12951 result=no
12952 else
12953 result=yes
12954 fi
12955 else
12956 result=$wxUSE_FINDREPLDLG
12957 fi
12958
12959 echo "$as_me:$LINENO: result: $result" >&5
12960 echo "${ECHO_T}$result" >&6
12961
12962
12963 enablestring=
12964 defaultval=$wxUSE_ALL_FEATURES
12965 if test -z "$defaultval"; then
12966 if test x"$enablestring" = xdisable; then
12967 defaultval=yes
12968 else
12969 defaultval=no
12970 fi
12971 fi
12972
12973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12974 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
12975 no_cache=0
12976 # Check whether --enable-fontdlg or --disable-fontdlg was given.
12977 if test "${enable_fontdlg+set}" = set; then
12978 enableval="$enable_fontdlg"
12979
12980 if test "$enableval" = yes; then
12981 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12982 else
12983 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
12984 fi
12985
12986 else
12987
12988 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
12989 if test "x$LINE" != x ; then
12990 eval "DEFAULT_$LINE"
12991 else
12992 no_cache=1
12993 fi
12994
12995 ac_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12996
12997 fi;
12998
12999 eval "$ac_cv_use_fontdlg"
13000 if test "$no_cache" != 1; then
13001 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
13002 fi
13003
13004 if test x"$enablestring" = xdisable; then
13005 if test $wxUSE_FONTDLG = yes; then
13006 result=no
13007 else
13008 result=yes
13009 fi
13010 else
13011 result=$wxUSE_FONTDLG
13012 fi
13013
13014 echo "$as_me:$LINENO: result: $result" >&5
13015 echo "${ECHO_T}$result" >&6
13016
13017
13018 enablestring=
13019 defaultval=$wxUSE_ALL_FEATURES
13020 if test -z "$defaultval"; then
13021 if test x"$enablestring" = xdisable; then
13022 defaultval=yes
13023 else
13024 defaultval=no
13025 fi
13026 fi
13027
13028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13029 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
13030 no_cache=0
13031 # Check whether --enable-dirdlg or --disable-dirdlg was given.
13032 if test "${enable_dirdlg+set}" = set; then
13033 enableval="$enable_dirdlg"
13034
13035 if test "$enableval" = yes; then
13036 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13037 else
13038 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
13039 fi
13040
13041 else
13042
13043 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13044 if test "x$LINE" != x ; then
13045 eval "DEFAULT_$LINE"
13046 else
13047 no_cache=1
13048 fi
13049
13050 ac_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13051
13052 fi;
13053
13054 eval "$ac_cv_use_dirdlg"
13055 if test "$no_cache" != 1; then
13056 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
13057 fi
13058
13059 if test x"$enablestring" = xdisable; then
13060 if test $wxUSE_DIRDLG = yes; then
13061 result=no
13062 else
13063 result=yes
13064 fi
13065 else
13066 result=$wxUSE_DIRDLG
13067 fi
13068
13069 echo "$as_me:$LINENO: result: $result" >&5
13070 echo "${ECHO_T}$result" >&6
13071
13072
13073 enablestring=
13074 defaultval=$wxUSE_ALL_FEATURES
13075 if test -z "$defaultval"; then
13076 if test x"$enablestring" = xdisable; then
13077 defaultval=yes
13078 else
13079 defaultval=no
13080 fi
13081 fi
13082
13083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13084 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
13085 no_cache=0
13086 # Check whether --enable-msgdlg or --disable-msgdlg was given.
13087 if test "${enable_msgdlg+set}" = set; then
13088 enableval="$enable_msgdlg"
13089
13090 if test "$enableval" = yes; then
13091 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13092 else
13093 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
13094 fi
13095
13096 else
13097
13098 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13099 if test "x$LINE" != x ; then
13100 eval "DEFAULT_$LINE"
13101 else
13102 no_cache=1
13103 fi
13104
13105 ac_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13106
13107 fi;
13108
13109 eval "$ac_cv_use_msgdlg"
13110 if test "$no_cache" != 1; then
13111 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
13112 fi
13113
13114 if test x"$enablestring" = xdisable; then
13115 if test $wxUSE_MSGDLG = yes; then
13116 result=no
13117 else
13118 result=yes
13119 fi
13120 else
13121 result=$wxUSE_MSGDLG
13122 fi
13123
13124 echo "$as_me:$LINENO: result: $result" >&5
13125 echo "${ECHO_T}$result" >&6
13126
13127
13128 enablestring=
13129 defaultval=$wxUSE_ALL_FEATURES
13130 if test -z "$defaultval"; then
13131 if test x"$enablestring" = xdisable; then
13132 defaultval=yes
13133 else
13134 defaultval=no
13135 fi
13136 fi
13137
13138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13139 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
13140 no_cache=0
13141 # Check whether --enable-numberdlg or --disable-numberdlg was given.
13142 if test "${enable_numberdlg+set}" = set; then
13143 enableval="$enable_numberdlg"
13144
13145 if test "$enableval" = yes; then
13146 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13147 else
13148 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13149 fi
13150
13151 else
13152
13153 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13154 if test "x$LINE" != x ; then
13155 eval "DEFAULT_$LINE"
13156 else
13157 no_cache=1
13158 fi
13159
13160 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13161
13162 fi;
13163
13164 eval "$ac_cv_use_numberdlg"
13165 if test "$no_cache" != 1; then
13166 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
13167 fi
13168
13169 if test x"$enablestring" = xdisable; then
13170 if test $wxUSE_NUMBERDLG = yes; then
13171 result=no
13172 else
13173 result=yes
13174 fi
13175 else
13176 result=$wxUSE_NUMBERDLG
13177 fi
13178
13179 echo "$as_me:$LINENO: result: $result" >&5
13180 echo "${ECHO_T}$result" >&6
13181
13182
13183 enablestring=
13184 defaultval=$wxUSE_ALL_FEATURES
13185 if test -z "$defaultval"; then
13186 if test x"$enablestring" = xdisable; then
13187 defaultval=yes
13188 else
13189 defaultval=no
13190 fi
13191 fi
13192
13193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13194 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
13195 no_cache=0
13196 # Check whether --enable-splash or --disable-splash was given.
13197 if test "${enable_splash+set}" = set; then
13198 enableval="$enable_splash"
13199
13200 if test "$enableval" = yes; then
13201 ac_cv_use_splash='wxUSE_SPLASH=yes'
13202 else
13203 ac_cv_use_splash='wxUSE_SPLASH=no'
13204 fi
13205
13206 else
13207
13208 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13209 if test "x$LINE" != x ; then
13210 eval "DEFAULT_$LINE"
13211 else
13212 no_cache=1
13213 fi
13214
13215 ac_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13216
13217 fi;
13218
13219 eval "$ac_cv_use_splash"
13220 if test "$no_cache" != 1; then
13221 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
13222 fi
13223
13224 if test x"$enablestring" = xdisable; then
13225 if test $wxUSE_SPLASH = yes; then
13226 result=no
13227 else
13228 result=yes
13229 fi
13230 else
13231 result=$wxUSE_SPLASH
13232 fi
13233
13234 echo "$as_me:$LINENO: result: $result" >&5
13235 echo "${ECHO_T}$result" >&6
13236
13237
13238 enablestring=
13239 defaultval=$wxUSE_ALL_FEATURES
13240 if test -z "$defaultval"; then
13241 if test x"$enablestring" = xdisable; then
13242 defaultval=yes
13243 else
13244 defaultval=no
13245 fi
13246 fi
13247
13248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13249 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
13250 no_cache=0
13251 # Check whether --enable-textdlg or --disable-textdlg was given.
13252 if test "${enable_textdlg+set}" = set; then
13253 enableval="$enable_textdlg"
13254
13255 if test "$enableval" = yes; then
13256 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13257 else
13258 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
13259 fi
13260
13261 else
13262
13263 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13264 if test "x$LINE" != x ; then
13265 eval "DEFAULT_$LINE"
13266 else
13267 no_cache=1
13268 fi
13269
13270 ac_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13271
13272 fi;
13273
13274 eval "$ac_cv_use_textdlg"
13275 if test "$no_cache" != 1; then
13276 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
13277 fi
13278
13279 if test x"$enablestring" = xdisable; then
13280 if test $wxUSE_TEXTDLG = yes; then
13281 result=no
13282 else
13283 result=yes
13284 fi
13285 else
13286 result=$wxUSE_TEXTDLG
13287 fi
13288
13289 echo "$as_me:$LINENO: result: $result" >&5
13290 echo "${ECHO_T}$result" >&6
13291
13292
13293 enablestring=
13294 defaultval=$wxUSE_ALL_FEATURES
13295 if test -z "$defaultval"; then
13296 if test x"$enablestring" = xdisable; then
13297 defaultval=yes
13298 else
13299 defaultval=no
13300 fi
13301 fi
13302
13303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13304 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
13305 no_cache=0
13306 # Check whether --enable-tipdlg or --disable-tipdlg was given.
13307 if test "${enable_tipdlg+set}" = set; then
13308 enableval="$enable_tipdlg"
13309
13310 if test "$enableval" = yes; then
13311 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13312 else
13313 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13314 fi
13315
13316 else
13317
13318 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
13319 if test "x$LINE" != x ; then
13320 eval "DEFAULT_$LINE"
13321 else
13322 no_cache=1
13323 fi
13324
13325 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13326
13327 fi;
13328
13329 eval "$ac_cv_use_tipdlg"
13330 if test "$no_cache" != 1; then
13331 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
13332 fi
13333
13334 if test x"$enablestring" = xdisable; then
13335 if test $wxUSE_STARTUP_TIPS = yes; then
13336 result=no
13337 else
13338 result=yes
13339 fi
13340 else
13341 result=$wxUSE_STARTUP_TIPS
13342 fi
13343
13344 echo "$as_me:$LINENO: result: $result" >&5
13345 echo "${ECHO_T}$result" >&6
13346
13347
13348 enablestring=
13349 defaultval=$wxUSE_ALL_FEATURES
13350 if test -z "$defaultval"; then
13351 if test x"$enablestring" = xdisable; then
13352 defaultval=yes
13353 else
13354 defaultval=no
13355 fi
13356 fi
13357
13358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13359 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
13360 no_cache=0
13361 # Check whether --enable-progressdlg or --disable-progressdlg was given.
13362 if test "${enable_progressdlg+set}" = set; then
13363 enableval="$enable_progressdlg"
13364
13365 if test "$enableval" = yes; then
13366 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13367 else
13368 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13369 fi
13370
13371 else
13372
13373 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
13374 if test "x$LINE" != x ; then
13375 eval "DEFAULT_$LINE"
13376 else
13377 no_cache=1
13378 fi
13379
13380 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13381
13382 fi;
13383
13384 eval "$ac_cv_use_progressdlg"
13385 if test "$no_cache" != 1; then
13386 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
13387 fi
13388
13389 if test x"$enablestring" = xdisable; then
13390 if test $wxUSE_PROGRESSDLG = yes; then
13391 result=no
13392 else
13393 result=yes
13394 fi
13395 else
13396 result=$wxUSE_PROGRESSDLG
13397 fi
13398
13399 echo "$as_me:$LINENO: result: $result" >&5
13400 echo "${ECHO_T}$result" >&6
13401
13402
13403 enablestring=
13404 defaultval=$wxUSE_ALL_FEATURES
13405 if test -z "$defaultval"; then
13406 if test x"$enablestring" = xdisable; then
13407 defaultval=yes
13408 else
13409 defaultval=no
13410 fi
13411 fi
13412
13413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13414 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
13415 no_cache=0
13416 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
13417 if test "${enable_wizarddlg+set}" = set; then
13418 enableval="$enable_wizarddlg"
13419
13420 if test "$enableval" = yes; then
13421 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13422 else
13423 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13424 fi
13425
13426 else
13427
13428 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
13429 if test "x$LINE" != x ; then
13430 eval "DEFAULT_$LINE"
13431 else
13432 no_cache=1
13433 fi
13434
13435 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13436
13437 fi;
13438
13439 eval "$ac_cv_use_wizarddlg"
13440 if test "$no_cache" != 1; then
13441 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
13442 fi
13443
13444 if test x"$enablestring" = xdisable; then
13445 if test $wxUSE_WIZARDDLG = yes; then
13446 result=no
13447 else
13448 result=yes
13449 fi
13450 else
13451 result=$wxUSE_WIZARDDLG
13452 fi
13453
13454 echo "$as_me:$LINENO: result: $result" >&5
13455 echo "${ECHO_T}$result" >&6
13456
13457
13458
13459
13460 enablestring=
13461 defaultval=$wxUSE_ALL_FEATURES
13462 if test -z "$defaultval"; then
13463 if test x"$enablestring" = xdisable; then
13464 defaultval=yes
13465 else
13466 defaultval=no
13467 fi
13468 fi
13469
13470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13471 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
13472 no_cache=0
13473 # Check whether --enable-menus or --disable-menus was given.
13474 if test "${enable_menus+set}" = set; then
13475 enableval="$enable_menus"
13476
13477 if test "$enableval" = yes; then
13478 ac_cv_use_menus='wxUSE_MENUS=yes'
13479 else
13480 ac_cv_use_menus='wxUSE_MENUS=no'
13481 fi
13482
13483 else
13484
13485 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
13486 if test "x$LINE" != x ; then
13487 eval "DEFAULT_$LINE"
13488 else
13489 no_cache=1
13490 fi
13491
13492 ac_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13493
13494 fi;
13495
13496 eval "$ac_cv_use_menus"
13497 if test "$no_cache" != 1; then
13498 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
13499 fi
13500
13501 if test x"$enablestring" = xdisable; then
13502 if test $wxUSE_MENUS = yes; then
13503 result=no
13504 else
13505 result=yes
13506 fi
13507 else
13508 result=$wxUSE_MENUS
13509 fi
13510
13511 echo "$as_me:$LINENO: result: $result" >&5
13512 echo "${ECHO_T}$result" >&6
13513
13514
13515 enablestring=
13516 defaultval=$wxUSE_ALL_FEATURES
13517 if test -z "$defaultval"; then
13518 if test x"$enablestring" = xdisable; then
13519 defaultval=yes
13520 else
13521 defaultval=no
13522 fi
13523 fi
13524
13525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13526 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
13527 no_cache=0
13528 # Check whether --enable-miniframe or --disable-miniframe was given.
13529 if test "${enable_miniframe+set}" = set; then
13530 enableval="$enable_miniframe"
13531
13532 if test "$enableval" = yes; then
13533 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13534 else
13535 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
13536 fi
13537
13538 else
13539
13540 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
13541 if test "x$LINE" != x ; then
13542 eval "DEFAULT_$LINE"
13543 else
13544 no_cache=1
13545 fi
13546
13547 ac_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13548
13549 fi;
13550
13551 eval "$ac_cv_use_miniframe"
13552 if test "$no_cache" != 1; then
13553 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
13554 fi
13555
13556 if test x"$enablestring" = xdisable; then
13557 if test $wxUSE_MINIFRAME = yes; then
13558 result=no
13559 else
13560 result=yes
13561 fi
13562 else
13563 result=$wxUSE_MINIFRAME
13564 fi
13565
13566 echo "$as_me:$LINENO: result: $result" >&5
13567 echo "${ECHO_T}$result" >&6
13568
13569
13570 enablestring=
13571 defaultval=$wxUSE_ALL_FEATURES
13572 if test -z "$defaultval"; then
13573 if test x"$enablestring" = xdisable; then
13574 defaultval=yes
13575 else
13576 defaultval=no
13577 fi
13578 fi
13579
13580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13581 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
13582 no_cache=0
13583 # Check whether --enable-tooltips or --disable-tooltips was given.
13584 if test "${enable_tooltips+set}" = set; then
13585 enableval="$enable_tooltips"
13586
13587 if test "$enableval" = yes; then
13588 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13589 else
13590 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13591 fi
13592
13593 else
13594
13595 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
13596 if test "x$LINE" != x ; then
13597 eval "DEFAULT_$LINE"
13598 else
13599 no_cache=1
13600 fi
13601
13602 ac_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13603
13604 fi;
13605
13606 eval "$ac_cv_use_tooltips"
13607 if test "$no_cache" != 1; then
13608 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
13609 fi
13610
13611 if test x"$enablestring" = xdisable; then
13612 if test $wxUSE_TOOLTIPS = yes; then
13613 result=no
13614 else
13615 result=yes
13616 fi
13617 else
13618 result=$wxUSE_TOOLTIPS
13619 fi
13620
13621 echo "$as_me:$LINENO: result: $result" >&5
13622 echo "${ECHO_T}$result" >&6
13623
13624
13625 enablestring=
13626 defaultval=$wxUSE_ALL_FEATURES
13627 if test -z "$defaultval"; then
13628 if test x"$enablestring" = xdisable; then
13629 defaultval=yes
13630 else
13631 defaultval=no
13632 fi
13633 fi
13634
13635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13636 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
13637 no_cache=0
13638 # Check whether --enable-splines or --disable-splines was given.
13639 if test "${enable_splines+set}" = set; then
13640 enableval="$enable_splines"
13641
13642 if test "$enableval" = yes; then
13643 ac_cv_use_splines='wxUSE_SPLINES=yes'
13644 else
13645 ac_cv_use_splines='wxUSE_SPLINES=no'
13646 fi
13647
13648 else
13649
13650 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
13651 if test "x$LINE" != x ; then
13652 eval "DEFAULT_$LINE"
13653 else
13654 no_cache=1
13655 fi
13656
13657 ac_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13658
13659 fi;
13660
13661 eval "$ac_cv_use_splines"
13662 if test "$no_cache" != 1; then
13663 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
13664 fi
13665
13666 if test x"$enablestring" = xdisable; then
13667 if test $wxUSE_SPLINES = yes; then
13668 result=no
13669 else
13670 result=yes
13671 fi
13672 else
13673 result=$wxUSE_SPLINES
13674 fi
13675
13676 echo "$as_me:$LINENO: result: $result" >&5
13677 echo "${ECHO_T}$result" >&6
13678
13679
13680 enablestring=
13681 defaultval=$wxUSE_ALL_FEATURES
13682 if test -z "$defaultval"; then
13683 if test x"$enablestring" = xdisable; then
13684 defaultval=yes
13685 else
13686 defaultval=no
13687 fi
13688 fi
13689
13690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13691 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
13692 no_cache=0
13693 # Check whether --enable-mousewheel or --disable-mousewheel was given.
13694 if test "${enable_mousewheel+set}" = set; then
13695 enableval="$enable_mousewheel"
13696
13697 if test "$enableval" = yes; then
13698 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13699 else
13700 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13701 fi
13702
13703 else
13704
13705 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
13706 if test "x$LINE" != x ; then
13707 eval "DEFAULT_$LINE"
13708 else
13709 no_cache=1
13710 fi
13711
13712 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13713
13714 fi;
13715
13716 eval "$ac_cv_use_mousewheel"
13717 if test "$no_cache" != 1; then
13718 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
13719 fi
13720
13721 if test x"$enablestring" = xdisable; then
13722 if test $wxUSE_MOUSEWHEEL = yes; then
13723 result=no
13724 else
13725 result=yes
13726 fi
13727 else
13728 result=$wxUSE_MOUSEWHEEL
13729 fi
13730
13731 echo "$as_me:$LINENO: result: $result" >&5
13732 echo "${ECHO_T}$result" >&6
13733
13734
13735 enablestring=
13736 defaultval=$wxUSE_ALL_FEATURES
13737 if test -z "$defaultval"; then
13738 if test x"$enablestring" = xdisable; then
13739 defaultval=yes
13740 else
13741 defaultval=no
13742 fi
13743 fi
13744
13745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13746 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
13747 no_cache=0
13748 # Check whether --enable-validators or --disable-validators was given.
13749 if test "${enable_validators+set}" = set; then
13750 enableval="$enable_validators"
13751
13752 if test "$enableval" = yes; then
13753 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
13754 else
13755 ac_cv_use_validators='wxUSE_VALIDATORS=no'
13756 fi
13757
13758 else
13759
13760 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
13761 if test "x$LINE" != x ; then
13762 eval "DEFAULT_$LINE"
13763 else
13764 no_cache=1
13765 fi
13766
13767 ac_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13768
13769 fi;
13770
13771 eval "$ac_cv_use_validators"
13772 if test "$no_cache" != 1; then
13773 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
13774 fi
13775
13776 if test x"$enablestring" = xdisable; then
13777 if test $wxUSE_VALIDATORS = yes; then
13778 result=no
13779 else
13780 result=yes
13781 fi
13782 else
13783 result=$wxUSE_VALIDATORS
13784 fi
13785
13786 echo "$as_me:$LINENO: result: $result" >&5
13787 echo "${ECHO_T}$result" >&6
13788
13789
13790 enablestring=
13791 defaultval=$wxUSE_ALL_FEATURES
13792 if test -z "$defaultval"; then
13793 if test x"$enablestring" = xdisable; then
13794 defaultval=yes
13795 else
13796 defaultval=no
13797 fi
13798 fi
13799
13800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13801 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
13802 no_cache=0
13803 # Check whether --enable-busyinfo or --disable-busyinfo was given.
13804 if test "${enable_busyinfo+set}" = set; then
13805 enableval="$enable_busyinfo"
13806
13807 if test "$enableval" = yes; then
13808 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13809 else
13810 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13811 fi
13812
13813 else
13814
13815 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
13816 if test "x$LINE" != x ; then
13817 eval "DEFAULT_$LINE"
13818 else
13819 no_cache=1
13820 fi
13821
13822 ac_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13823
13824 fi;
13825
13826 eval "$ac_cv_use_busyinfo"
13827 if test "$no_cache" != 1; then
13828 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
13829 fi
13830
13831 if test x"$enablestring" = xdisable; then
13832 if test $wxUSE_BUSYINFO = yes; then
13833 result=no
13834 else
13835 result=yes
13836 fi
13837 else
13838 result=$wxUSE_BUSYINFO
13839 fi
13840
13841 echo "$as_me:$LINENO: result: $result" >&5
13842 echo "${ECHO_T}$result" >&6
13843
13844
13845 enablestring=
13846 defaultval=$wxUSE_ALL_FEATURES
13847 if test -z "$defaultval"; then
13848 if test x"$enablestring" = xdisable; then
13849 defaultval=yes
13850 else
13851 defaultval=no
13852 fi
13853 fi
13854
13855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13856 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
13857 no_cache=0
13858 # Check whether --enable-joystick or --disable-joystick was given.
13859 if test "${enable_joystick+set}" = set; then
13860 enableval="$enable_joystick"
13861
13862 if test "$enableval" = yes; then
13863 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
13864 else
13865 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
13866 fi
13867
13868 else
13869
13870 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
13871 if test "x$LINE" != x ; then
13872 eval "DEFAULT_$LINE"
13873 else
13874 no_cache=1
13875 fi
13876
13877 ac_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13878
13879 fi;
13880
13881 eval "$ac_cv_use_joystick"
13882 if test "$no_cache" != 1; then
13883 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
13884 fi
13885
13886 if test x"$enablestring" = xdisable; then
13887 if test $wxUSE_JOYSTICK = yes; then
13888 result=no
13889 else
13890 result=yes
13891 fi
13892 else
13893 result=$wxUSE_JOYSTICK
13894 fi
13895
13896 echo "$as_me:$LINENO: result: $result" >&5
13897 echo "${ECHO_T}$result" >&6
13898
13899
13900 enablestring=
13901 defaultval=$wxUSE_ALL_FEATURES
13902 if test -z "$defaultval"; then
13903 if test x"$enablestring" = xdisable; then
13904 defaultval=yes
13905 else
13906 defaultval=no
13907 fi
13908 fi
13909
13910 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13911 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
13912 no_cache=0
13913 # Check whether --enable-metafile or --disable-metafile was given.
13914 if test "${enable_metafile+set}" = set; then
13915 enableval="$enable_metafile"
13916
13917 if test "$enableval" = yes; then
13918 ac_cv_use_metafile='wxUSE_METAFILE=yes'
13919 else
13920 ac_cv_use_metafile='wxUSE_METAFILE=no'
13921 fi
13922
13923 else
13924
13925 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
13926 if test "x$LINE" != x ; then
13927 eval "DEFAULT_$LINE"
13928 else
13929 no_cache=1
13930 fi
13931
13932 ac_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13933
13934 fi;
13935
13936 eval "$ac_cv_use_metafile"
13937 if test "$no_cache" != 1; then
13938 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
13939 fi
13940
13941 if test x"$enablestring" = xdisable; then
13942 if test $wxUSE_METAFILE = yes; then
13943 result=no
13944 else
13945 result=yes
13946 fi
13947 else
13948 result=$wxUSE_METAFILE
13949 fi
13950
13951 echo "$as_me:$LINENO: result: $result" >&5
13952 echo "${ECHO_T}$result" >&6
13953
13954
13955 enablestring=
13956 defaultval=$wxUSE_ALL_FEATURES
13957 if test -z "$defaultval"; then
13958 if test x"$enablestring" = xdisable; then
13959 defaultval=yes
13960 else
13961 defaultval=no
13962 fi
13963 fi
13964
13965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13966 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
13967 no_cache=0
13968 # Check whether --enable-dragimage or --disable-dragimage was given.
13969 if test "${enable_dragimage+set}" = set; then
13970 enableval="$enable_dragimage"
13971
13972 if test "$enableval" = yes; then
13973 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13974 else
13975 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13976 fi
13977
13978 else
13979
13980 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
13981 if test "x$LINE" != x ; then
13982 eval "DEFAULT_$LINE"
13983 else
13984 no_cache=1
13985 fi
13986
13987 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13988
13989 fi;
13990
13991 eval "$ac_cv_use_dragimage"
13992 if test "$no_cache" != 1; then
13993 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
13994 fi
13995
13996 if test x"$enablestring" = xdisable; then
13997 if test $wxUSE_DRAGIMAGE = yes; then
13998 result=no
13999 else
14000 result=yes
14001 fi
14002 else
14003 result=$wxUSE_DRAGIMAGE
14004 fi
14005
14006 echo "$as_me:$LINENO: result: $result" >&5
14007 echo "${ECHO_T}$result" >&6
14008
14009
14010 enablestring=
14011 defaultval=$wxUSE_ALL_FEATURES
14012 if test -z "$defaultval"; then
14013 if test x"$enablestring" = xdisable; then
14014 defaultval=yes
14015 else
14016 defaultval=no
14017 fi
14018 fi
14019
14020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14021 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
14022 no_cache=0
14023 # Check whether --enable-accessibility or --disable-accessibility was given.
14024 if test "${enable_accessibility+set}" = set; then
14025 enableval="$enable_accessibility"
14026
14027 if test "$enableval" = yes; then
14028 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14029 else
14030 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14031 fi
14032
14033 else
14034
14035 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14036 if test "x$LINE" != x ; then
14037 eval "DEFAULT_$LINE"
14038 else
14039 no_cache=1
14040 fi
14041
14042 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14043
14044 fi;
14045
14046 eval "$ac_cv_use_accessibility"
14047 if test "$no_cache" != 1; then
14048 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
14049 fi
14050
14051 if test x"$enablestring" = xdisable; then
14052 if test $wxUSE_ACCESSIBILITY = yes; then
14053 result=no
14054 else
14055 result=yes
14056 fi
14057 else
14058 result=$wxUSE_ACCESSIBILITY
14059 fi
14060
14061 echo "$as_me:$LINENO: result: $result" >&5
14062 echo "${ECHO_T}$result" >&6
14063
14064
14065 if test "$wxUSE_MSW" = "1"; then
14066
14067 enablestring=
14068 defaultval=$wxUSE_ALL_FEATURES
14069 if test -z "$defaultval"; then
14070 if test x"$enablestring" = xdisable; then
14071 defaultval=yes
14072 else
14073 defaultval=no
14074 fi
14075 fi
14076
14077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14078 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
14079 no_cache=0
14080 # Check whether --enable-dccache or --disable-dccache was given.
14081 if test "${enable_dccache+set}" = set; then
14082 enableval="$enable_dccache"
14083
14084 if test "$enableval" = yes; then
14085 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14086 else
14087 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
14088 fi
14089
14090 else
14091
14092 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
14093 if test "x$LINE" != x ; then
14094 eval "DEFAULT_$LINE"
14095 else
14096 no_cache=1
14097 fi
14098
14099 ac_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14100
14101 fi;
14102
14103 eval "$ac_cv_use_dccache"
14104 if test "$no_cache" != 1; then
14105 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
14106 fi
14107
14108 if test x"$enablestring" = xdisable; then
14109 if test $wxUSE_DC_CACHEING = yes; then
14110 result=no
14111 else
14112 result=yes
14113 fi
14114 else
14115 result=$wxUSE_DC_CACHEING
14116 fi
14117
14118 echo "$as_me:$LINENO: result: $result" >&5
14119 echo "${ECHO_T}$result" >&6
14120
14121 fi
14122
14123
14124
14125 enablestring=
14126 defaultval=$wxUSE_ALL_FEATURES
14127 if test -z "$defaultval"; then
14128 if test x"$enablestring" = xdisable; then
14129 defaultval=yes
14130 else
14131 defaultval=no
14132 fi
14133 fi
14134
14135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14136 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
14137 no_cache=0
14138 # Check whether --enable-palette or --disable-palette was given.
14139 if test "${enable_palette+set}" = set; then
14140 enableval="$enable_palette"
14141
14142 if test "$enableval" = yes; then
14143 ac_cv_use_palette='wxUSE_PALETTE=yes'
14144 else
14145 ac_cv_use_palette='wxUSE_PALETTE=no'
14146 fi
14147
14148 else
14149
14150 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14151 if test "x$LINE" != x ; then
14152 eval "DEFAULT_$LINE"
14153 else
14154 no_cache=1
14155 fi
14156
14157 ac_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14158
14159 fi;
14160
14161 eval "$ac_cv_use_palette"
14162 if test "$no_cache" != 1; then
14163 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
14164 fi
14165
14166 if test x"$enablestring" = xdisable; then
14167 if test $wxUSE_PALETTE = yes; then
14168 result=no
14169 else
14170 result=yes
14171 fi
14172 else
14173 result=$wxUSE_PALETTE
14174 fi
14175
14176 echo "$as_me:$LINENO: result: $result" >&5
14177 echo "${ECHO_T}$result" >&6
14178
14179
14180 enablestring=
14181 defaultval=$wxUSE_ALL_FEATURES
14182 if test -z "$defaultval"; then
14183 if test x"$enablestring" = xdisable; then
14184 defaultval=yes
14185 else
14186 defaultval=no
14187 fi
14188 fi
14189
14190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14191 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
14192 no_cache=0
14193 # Check whether --enable-image or --disable-image was given.
14194 if test "${enable_image+set}" = set; then
14195 enableval="$enable_image"
14196
14197 if test "$enableval" = yes; then
14198 ac_cv_use_image='wxUSE_IMAGE=yes'
14199 else
14200 ac_cv_use_image='wxUSE_IMAGE=no'
14201 fi
14202
14203 else
14204
14205 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14206 if test "x$LINE" != x ; then
14207 eval "DEFAULT_$LINE"
14208 else
14209 no_cache=1
14210 fi
14211
14212 ac_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14213
14214 fi;
14215
14216 eval "$ac_cv_use_image"
14217 if test "$no_cache" != 1; then
14218 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
14219 fi
14220
14221 if test x"$enablestring" = xdisable; then
14222 if test $wxUSE_IMAGE = yes; then
14223 result=no
14224 else
14225 result=yes
14226 fi
14227 else
14228 result=$wxUSE_IMAGE
14229 fi
14230
14231 echo "$as_me:$LINENO: result: $result" >&5
14232 echo "${ECHO_T}$result" >&6
14233
14234
14235 enablestring=
14236 defaultval=$wxUSE_ALL_FEATURES
14237 if test -z "$defaultval"; then
14238 if test x"$enablestring" = xdisable; then
14239 defaultval=yes
14240 else
14241 defaultval=no
14242 fi
14243 fi
14244
14245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14246 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
14247 no_cache=0
14248 # Check whether --enable-gif or --disable-gif was given.
14249 if test "${enable_gif+set}" = set; then
14250 enableval="$enable_gif"
14251
14252 if test "$enableval" = yes; then
14253 ac_cv_use_gif='wxUSE_GIF=yes'
14254 else
14255 ac_cv_use_gif='wxUSE_GIF=no'
14256 fi
14257
14258 else
14259
14260 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14261 if test "x$LINE" != x ; then
14262 eval "DEFAULT_$LINE"
14263 else
14264 no_cache=1
14265 fi
14266
14267 ac_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14268
14269 fi;
14270
14271 eval "$ac_cv_use_gif"
14272 if test "$no_cache" != 1; then
14273 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
14274 fi
14275
14276 if test x"$enablestring" = xdisable; then
14277 if test $wxUSE_GIF = yes; then
14278 result=no
14279 else
14280 result=yes
14281 fi
14282 else
14283 result=$wxUSE_GIF
14284 fi
14285
14286 echo "$as_me:$LINENO: result: $result" >&5
14287 echo "${ECHO_T}$result" >&6
14288
14289
14290 enablestring=
14291 defaultval=$wxUSE_ALL_FEATURES
14292 if test -z "$defaultval"; then
14293 if test x"$enablestring" = xdisable; then
14294 defaultval=yes
14295 else
14296 defaultval=no
14297 fi
14298 fi
14299
14300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14301 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
14302 no_cache=0
14303 # Check whether --enable-pcx or --disable-pcx was given.
14304 if test "${enable_pcx+set}" = set; then
14305 enableval="$enable_pcx"
14306
14307 if test "$enableval" = yes; then
14308 ac_cv_use_pcx='wxUSE_PCX=yes'
14309 else
14310 ac_cv_use_pcx='wxUSE_PCX=no'
14311 fi
14312
14313 else
14314
14315 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
14316 if test "x$LINE" != x ; then
14317 eval "DEFAULT_$LINE"
14318 else
14319 no_cache=1
14320 fi
14321
14322 ac_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14323
14324 fi;
14325
14326 eval "$ac_cv_use_pcx"
14327 if test "$no_cache" != 1; then
14328 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
14329 fi
14330
14331 if test x"$enablestring" = xdisable; then
14332 if test $wxUSE_PCX = yes; then
14333 result=no
14334 else
14335 result=yes
14336 fi
14337 else
14338 result=$wxUSE_PCX
14339 fi
14340
14341 echo "$as_me:$LINENO: result: $result" >&5
14342 echo "${ECHO_T}$result" >&6
14343
14344
14345 enablestring=
14346 defaultval=$wxUSE_ALL_FEATURES
14347 if test -z "$defaultval"; then
14348 if test x"$enablestring" = xdisable; then
14349 defaultval=yes
14350 else
14351 defaultval=no
14352 fi
14353 fi
14354
14355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14356 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
14357 no_cache=0
14358 # Check whether --enable-tga or --disable-tga was given.
14359 if test "${enable_tga+set}" = set; then
14360 enableval="$enable_tga"
14361
14362 if test "$enableval" = yes; then
14363 ac_cv_use_tga='wxUSE_TGA=yes'
14364 else
14365 ac_cv_use_tga='wxUSE_TGA=no'
14366 fi
14367
14368 else
14369
14370 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
14371 if test "x$LINE" != x ; then
14372 eval "DEFAULT_$LINE"
14373 else
14374 no_cache=1
14375 fi
14376
14377 ac_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14378
14379 fi;
14380
14381 eval "$ac_cv_use_tga"
14382 if test "$no_cache" != 1; then
14383 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
14384 fi
14385
14386 if test x"$enablestring" = xdisable; then
14387 if test $wxUSE_TGA = yes; then
14388 result=no
14389 else
14390 result=yes
14391 fi
14392 else
14393 result=$wxUSE_TGA
14394 fi
14395
14396 echo "$as_me:$LINENO: result: $result" >&5
14397 echo "${ECHO_T}$result" >&6
14398
14399
14400 enablestring=
14401 defaultval=$wxUSE_ALL_FEATURES
14402 if test -z "$defaultval"; then
14403 if test x"$enablestring" = xdisable; then
14404 defaultval=yes
14405 else
14406 defaultval=no
14407 fi
14408 fi
14409
14410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14411 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
14412 no_cache=0
14413 # Check whether --enable-iff or --disable-iff was given.
14414 if test "${enable_iff+set}" = set; then
14415 enableval="$enable_iff"
14416
14417 if test "$enableval" = yes; then
14418 ac_cv_use_iff='wxUSE_IFF=yes'
14419 else
14420 ac_cv_use_iff='wxUSE_IFF=no'
14421 fi
14422
14423 else
14424
14425 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
14426 if test "x$LINE" != x ; then
14427 eval "DEFAULT_$LINE"
14428 else
14429 no_cache=1
14430 fi
14431
14432 ac_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14433
14434 fi;
14435
14436 eval "$ac_cv_use_iff"
14437 if test "$no_cache" != 1; then
14438 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
14439 fi
14440
14441 if test x"$enablestring" = xdisable; then
14442 if test $wxUSE_IFF = yes; then
14443 result=no
14444 else
14445 result=yes
14446 fi
14447 else
14448 result=$wxUSE_IFF
14449 fi
14450
14451 echo "$as_me:$LINENO: result: $result" >&5
14452 echo "${ECHO_T}$result" >&6
14453
14454
14455 enablestring=
14456 defaultval=$wxUSE_ALL_FEATURES
14457 if test -z "$defaultval"; then
14458 if test x"$enablestring" = xdisable; then
14459 defaultval=yes
14460 else
14461 defaultval=no
14462 fi
14463 fi
14464
14465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14466 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
14467 no_cache=0
14468 # Check whether --enable-pnm or --disable-pnm was given.
14469 if test "${enable_pnm+set}" = set; then
14470 enableval="$enable_pnm"
14471
14472 if test "$enableval" = yes; then
14473 ac_cv_use_pnm='wxUSE_PNM=yes'
14474 else
14475 ac_cv_use_pnm='wxUSE_PNM=no'
14476 fi
14477
14478 else
14479
14480 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
14481 if test "x$LINE" != x ; then
14482 eval "DEFAULT_$LINE"
14483 else
14484 no_cache=1
14485 fi
14486
14487 ac_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14488
14489 fi;
14490
14491 eval "$ac_cv_use_pnm"
14492 if test "$no_cache" != 1; then
14493 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
14494 fi
14495
14496 if test x"$enablestring" = xdisable; then
14497 if test $wxUSE_PNM = yes; then
14498 result=no
14499 else
14500 result=yes
14501 fi
14502 else
14503 result=$wxUSE_PNM
14504 fi
14505
14506 echo "$as_me:$LINENO: result: $result" >&5
14507 echo "${ECHO_T}$result" >&6
14508
14509
14510 enablestring=
14511 defaultval=$wxUSE_ALL_FEATURES
14512 if test -z "$defaultval"; then
14513 if test x"$enablestring" = xdisable; then
14514 defaultval=yes
14515 else
14516 defaultval=no
14517 fi
14518 fi
14519
14520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14521 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
14522 no_cache=0
14523 # Check whether --enable-xpm or --disable-xpm was given.
14524 if test "${enable_xpm+set}" = set; then
14525 enableval="$enable_xpm"
14526
14527 if test "$enableval" = yes; then
14528 ac_cv_use_xpm='wxUSE_XPM=yes'
14529 else
14530 ac_cv_use_xpm='wxUSE_XPM=no'
14531 fi
14532
14533 else
14534
14535 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
14536 if test "x$LINE" != x ; then
14537 eval "DEFAULT_$LINE"
14538 else
14539 no_cache=1
14540 fi
14541
14542 ac_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14543
14544 fi;
14545
14546 eval "$ac_cv_use_xpm"
14547 if test "$no_cache" != 1; then
14548 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
14549 fi
14550
14551 if test x"$enablestring" = xdisable; then
14552 if test $wxUSE_XPM = yes; then
14553 result=no
14554 else
14555 result=yes
14556 fi
14557 else
14558 result=$wxUSE_XPM
14559 fi
14560
14561 echo "$as_me:$LINENO: result: $result" >&5
14562 echo "${ECHO_T}$result" >&6
14563
14564
14565 enablestring=
14566 defaultval=$wxUSE_ALL_FEATURES
14567 if test -z "$defaultval"; then
14568 if test x"$enablestring" = xdisable; then
14569 defaultval=yes
14570 else
14571 defaultval=no
14572 fi
14573 fi
14574
14575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14576 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
14577 no_cache=0
14578 # Check whether --enable-ico_cur or --disable-ico_cur was given.
14579 if test "${enable_ico_cur+set}" = set; then
14580 enableval="$enable_ico_cur"
14581
14582 if test "$enableval" = yes; then
14583 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14584 else
14585 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14586 fi
14587
14588 else
14589
14590 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
14591 if test "x$LINE" != x ; then
14592 eval "DEFAULT_$LINE"
14593 else
14594 no_cache=1
14595 fi
14596
14597 ac_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14598
14599 fi;
14600
14601 eval "$ac_cv_use_ico_cur"
14602 if test "$no_cache" != 1; then
14603 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
14604 fi
14605
14606 if test x"$enablestring" = xdisable; then
14607 if test $wxUSE_ICO_CUR = yes; then
14608 result=no
14609 else
14610 result=yes
14611 fi
14612 else
14613 result=$wxUSE_ICO_CUR
14614 fi
14615
14616 echo "$as_me:$LINENO: result: $result" >&5
14617 echo "${ECHO_T}$result" >&6
14618
14619
14620 fi
14621
14622
14623 echo "saving argument cache $wx_arg_cache_file"
14624 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
14625
14626
14627
14628 echo "$as_me:$LINENO: checking for toolkit" >&5
14629 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
14630
14631 # In Wine, we need to default to MSW, not GTK or MOTIF
14632 if test "$wxUSE_WINE" = "yes"; then
14633 DEFAULT_DEFAULT_wxUSE_GTK=0
14634 DEFAULT_DEFAULT_wxUSE_MOTIF=0
14635 DEFAULT_DEFAULT_wxUSE_MSW=1
14636 wxUSE_SHARED=no
14637 CC=${CC:-winegcc}
14638 CXX=${CXX:-wineg++}
14639 fi
14640
14641
14642 if test "$wxUSE_GUI" = "yes"; then
14643
14644 if test "$USE_BEOS" = 1; then
14645 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
14646 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
14647 { (exit 1); exit 1; }; }
14648 fi
14649
14650 if test "$TOOLKIT_GIVEN" = 1; then
14651 for toolkit in `echo $ALL_TOOLKITS`; do
14652 var=wxUSE_$toolkit
14653 eval "value=\$${var}"
14654 if test "x$value" = "xno"; then
14655 eval "$var=0"
14656 elif test "x$value" != "x"; then
14657 eval "$var=1"
14658 fi
14659
14660 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
14661 eval "wx${toolkit}_VERSION=$value"
14662 fi
14663 done
14664 else
14665 for toolkit in `echo $ALL_TOOLKITS`; do
14666 if test "$has_toolkit_in_cache" != 1; then
14667 var=DEFAULT_DEFAULT_wxUSE_$toolkit
14668 else
14669 var=DEFAULT_wxUSE_$toolkit
14670
14671 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
14672 if test "x$version" != "x"; then
14673 eval "wx${toolkit}_VERSION=$version"
14674 fi
14675 fi
14676 eval "wxUSE_$toolkit=\$${var}"
14677 done
14678 fi
14679
14680 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
14681 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
14682 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
14683
14684 case "${host}" in
14685 *-pc-os2_emx | *-pc-os2-emx )
14686 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
14687 esac
14688
14689 case "$NUM_TOOLKITS" in
14690 1)
14691 ;;
14692 0)
14693 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
14694 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
14695 { (exit 1); exit 1; }; }
14696 ;;
14697 *)
14698 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
14699 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
14700 { (exit 1); exit 1; }; }
14701 esac
14702
14703 # to be removed when --disable-gtk2 isn't needed
14704 if test "x$wxUSE_GTK2" = "xyes"; then
14705 wxGTK_VERSION=2
14706 elif test "x$wxUSE_GTK2" = "xno"; then
14707 wxGTK_VERSION=1
14708 fi
14709
14710 for toolkit in `echo $ALL_TOOLKITS`; do
14711 var=wxUSE_$toolkit
14712 eval "value=\$${var}"
14713 if test "x$value" != x; then
14714 cache_var=CACHE_$toolkit
14715 eval "cache=\$${cache_var}"
14716 if test "$cache" = 1; then
14717 echo "$var=$value" >> ${wx_arg_cache_file}
14718 eval "version=\$wx${toolkit}_VERSION"
14719 if test "x$version" != "x"; then
14720 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
14721 fi
14722 fi
14723 if test "$value" = 1; then
14724 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
14725 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
14726 echo "${ECHO_T}$toolkit_echo" >&6
14727 fi
14728 fi
14729 done
14730 else
14731 if test "x$host_alias" != "x"; then
14732 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
14733 echo "${ECHO_T}base ($host_alias hosted) only" >&6
14734 else
14735 echo "$as_me:$LINENO: result: base only" >&5
14736 echo "${ECHO_T}base only" >&6
14737 fi
14738 fi
14739
14740
14741 cat >confcache <<\_ACEOF
14742 # This file is a shell script that caches the results of configure
14743 # tests run on this system so they can be shared between configure
14744 # scripts and configure runs, see configure's option --config-cache.
14745 # It is not useful on other systems. If it contains results you don't
14746 # want to keep, you may remove or edit it.
14747 #
14748 # config.status only pays attention to the cache file if you give it
14749 # the --recheck option to rerun configure.
14750 #
14751 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14752 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14753 # following values.
14754
14755 _ACEOF
14756
14757 # The following way of writing the cache mishandles newlines in values,
14758 # but we know of no workaround that is simple, portable, and efficient.
14759 # So, don't put newlines in cache variables' values.
14760 # Ultrix sh set writes to stderr and can't be redirected directly,
14761 # and sets the high bit in the cache file unless we assign to the vars.
14762 {
14763 (set) 2>&1 |
14764 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14765 *ac_space=\ *)
14766 # `set' does not quote correctly, so add quotes (double-quote
14767 # substitution turns \\\\ into \\, and sed turns \\ into \).
14768 sed -n \
14769 "s/'/'\\\\''/g;
14770 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14771 ;;
14772 *)
14773 # `set' quotes correctly as required by POSIX, so do not add quotes.
14774 sed -n \
14775 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14776 ;;
14777 esac;
14778 } |
14779 sed '
14780 t clear
14781 : clear
14782 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14783 t end
14784 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14785 : end' >>confcache
14786 if diff $cache_file confcache >/dev/null 2>&1; then :; else
14787 if test -w $cache_file; then
14788 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14789 cat confcache >$cache_file
14790 else
14791 echo "not updating unwritable cache $cache_file"
14792 fi
14793 fi
14794 rm -f confcache
14795
14796 CFLAGS=${CFLAGS:=}
14797
14798
14799
14800 ac_ext=c
14801 ac_cpp='$CPP $CPPFLAGS'
14802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14805 if test -n "$ac_tool_prefix"; then
14806 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14807 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14808 echo "$as_me:$LINENO: checking for $ac_word" >&5
14809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14810 if test "${ac_cv_prog_CC+set}" = set; then
14811 echo $ECHO_N "(cached) $ECHO_C" >&6
14812 else
14813 if test -n "$CC"; then
14814 ac_cv_prog_CC="$CC" # Let the user override the test.
14815 else
14816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14817 for as_dir in $PATH
14818 do
14819 IFS=$as_save_IFS
14820 test -z "$as_dir" && as_dir=.
14821 for ac_exec_ext in '' $ac_executable_extensions; do
14822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14823 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14825 break 2
14826 fi
14827 done
14828 done
14829
14830 fi
14831 fi
14832 CC=$ac_cv_prog_CC
14833 if test -n "$CC"; then
14834 echo "$as_me:$LINENO: result: $CC" >&5
14835 echo "${ECHO_T}$CC" >&6
14836 else
14837 echo "$as_me:$LINENO: result: no" >&5
14838 echo "${ECHO_T}no" >&6
14839 fi
14840
14841 fi
14842 if test -z "$ac_cv_prog_CC"; then
14843 ac_ct_CC=$CC
14844 # Extract the first word of "gcc", so it can be a program name with args.
14845 set dummy gcc; ac_word=$2
14846 echo "$as_me:$LINENO: checking for $ac_word" >&5
14847 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14848 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 else
14851 if test -n "$ac_ct_CC"; then
14852 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14853 else
14854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14855 for as_dir in $PATH
14856 do
14857 IFS=$as_save_IFS
14858 test -z "$as_dir" && as_dir=.
14859 for ac_exec_ext in '' $ac_executable_extensions; do
14860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14861 ac_cv_prog_ac_ct_CC="gcc"
14862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14863 break 2
14864 fi
14865 done
14866 done
14867
14868 fi
14869 fi
14870 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14871 if test -n "$ac_ct_CC"; then
14872 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14873 echo "${ECHO_T}$ac_ct_CC" >&6
14874 else
14875 echo "$as_me:$LINENO: result: no" >&5
14876 echo "${ECHO_T}no" >&6
14877 fi
14878
14879 CC=$ac_ct_CC
14880 else
14881 CC="$ac_cv_prog_CC"
14882 fi
14883
14884 if test -z "$CC"; then
14885 if test -n "$ac_tool_prefix"; then
14886 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14887 set dummy ${ac_tool_prefix}cc; ac_word=$2
14888 echo "$as_me:$LINENO: checking for $ac_word" >&5
14889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14890 if test "${ac_cv_prog_CC+set}" = set; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 else
14893 if test -n "$CC"; then
14894 ac_cv_prog_CC="$CC" # Let the user override the test.
14895 else
14896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14897 for as_dir in $PATH
14898 do
14899 IFS=$as_save_IFS
14900 test -z "$as_dir" && as_dir=.
14901 for ac_exec_ext in '' $ac_executable_extensions; do
14902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14903 ac_cv_prog_CC="${ac_tool_prefix}cc"
14904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14905 break 2
14906 fi
14907 done
14908 done
14909
14910 fi
14911 fi
14912 CC=$ac_cv_prog_CC
14913 if test -n "$CC"; then
14914 echo "$as_me:$LINENO: result: $CC" >&5
14915 echo "${ECHO_T}$CC" >&6
14916 else
14917 echo "$as_me:$LINENO: result: no" >&5
14918 echo "${ECHO_T}no" >&6
14919 fi
14920
14921 fi
14922 if test -z "$ac_cv_prog_CC"; then
14923 ac_ct_CC=$CC
14924 # Extract the first word of "cc", so it can be a program name with args.
14925 set dummy cc; ac_word=$2
14926 echo "$as_me:$LINENO: checking for $ac_word" >&5
14927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14928 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14929 echo $ECHO_N "(cached) $ECHO_C" >&6
14930 else
14931 if test -n "$ac_ct_CC"; then
14932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14933 else
14934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14935 for as_dir in $PATH
14936 do
14937 IFS=$as_save_IFS
14938 test -z "$as_dir" && as_dir=.
14939 for ac_exec_ext in '' $ac_executable_extensions; do
14940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14941 ac_cv_prog_ac_ct_CC="cc"
14942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14943 break 2
14944 fi
14945 done
14946 done
14947
14948 fi
14949 fi
14950 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14951 if test -n "$ac_ct_CC"; then
14952 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14953 echo "${ECHO_T}$ac_ct_CC" >&6
14954 else
14955 echo "$as_me:$LINENO: result: no" >&5
14956 echo "${ECHO_T}no" >&6
14957 fi
14958
14959 CC=$ac_ct_CC
14960 else
14961 CC="$ac_cv_prog_CC"
14962 fi
14963
14964 fi
14965 if test -z "$CC"; then
14966 # Extract the first word of "cc", so it can be a program name with args.
14967 set dummy cc; ac_word=$2
14968 echo "$as_me:$LINENO: checking for $ac_word" >&5
14969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14970 if test "${ac_cv_prog_CC+set}" = set; then
14971 echo $ECHO_N "(cached) $ECHO_C" >&6
14972 else
14973 if test -n "$CC"; then
14974 ac_cv_prog_CC="$CC" # Let the user override the test.
14975 else
14976 ac_prog_rejected=no
14977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14978 for as_dir in $PATH
14979 do
14980 IFS=$as_save_IFS
14981 test -z "$as_dir" && as_dir=.
14982 for ac_exec_ext in '' $ac_executable_extensions; do
14983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14984 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14985 ac_prog_rejected=yes
14986 continue
14987 fi
14988 ac_cv_prog_CC="cc"
14989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14990 break 2
14991 fi
14992 done
14993 done
14994
14995 if test $ac_prog_rejected = yes; then
14996 # We found a bogon in the path, so make sure we never use it.
14997 set dummy $ac_cv_prog_CC
14998 shift
14999 if test $# != 0; then
15000 # We chose a different compiler from the bogus one.
15001 # However, it has the same basename, so the bogon will be chosen
15002 # first if we set CC to just the basename; use the full file name.
15003 shift
15004 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15005 fi
15006 fi
15007 fi
15008 fi
15009 CC=$ac_cv_prog_CC
15010 if test -n "$CC"; then
15011 echo "$as_me:$LINENO: result: $CC" >&5
15012 echo "${ECHO_T}$CC" >&6
15013 else
15014 echo "$as_me:$LINENO: result: no" >&5
15015 echo "${ECHO_T}no" >&6
15016 fi
15017
15018 fi
15019 if test -z "$CC"; then
15020 if test -n "$ac_tool_prefix"; then
15021 for ac_prog in cl
15022 do
15023 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15024 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15025 echo "$as_me:$LINENO: checking for $ac_word" >&5
15026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15027 if test "${ac_cv_prog_CC+set}" = set; then
15028 echo $ECHO_N "(cached) $ECHO_C" >&6
15029 else
15030 if test -n "$CC"; then
15031 ac_cv_prog_CC="$CC" # Let the user override the test.
15032 else
15033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15034 for as_dir in $PATH
15035 do
15036 IFS=$as_save_IFS
15037 test -z "$as_dir" && as_dir=.
15038 for ac_exec_ext in '' $ac_executable_extensions; do
15039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15040 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15042 break 2
15043 fi
15044 done
15045 done
15046
15047 fi
15048 fi
15049 CC=$ac_cv_prog_CC
15050 if test -n "$CC"; then
15051 echo "$as_me:$LINENO: result: $CC" >&5
15052 echo "${ECHO_T}$CC" >&6
15053 else
15054 echo "$as_me:$LINENO: result: no" >&5
15055 echo "${ECHO_T}no" >&6
15056 fi
15057
15058 test -n "$CC" && break
15059 done
15060 fi
15061 if test -z "$CC"; then
15062 ac_ct_CC=$CC
15063 for ac_prog in cl
15064 do
15065 # Extract the first word of "$ac_prog", so it can be a program name with args.
15066 set dummy $ac_prog; ac_word=$2
15067 echo "$as_me:$LINENO: checking for $ac_word" >&5
15068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15069 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 else
15072 if test -n "$ac_ct_CC"; then
15073 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15074 else
15075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15076 for as_dir in $PATH
15077 do
15078 IFS=$as_save_IFS
15079 test -z "$as_dir" && as_dir=.
15080 for ac_exec_ext in '' $ac_executable_extensions; do
15081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15082 ac_cv_prog_ac_ct_CC="$ac_prog"
15083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15084 break 2
15085 fi
15086 done
15087 done
15088
15089 fi
15090 fi
15091 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15092 if test -n "$ac_ct_CC"; then
15093 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15094 echo "${ECHO_T}$ac_ct_CC" >&6
15095 else
15096 echo "$as_me:$LINENO: result: no" >&5
15097 echo "${ECHO_T}no" >&6
15098 fi
15099
15100 test -n "$ac_ct_CC" && break
15101 done
15102
15103 CC=$ac_ct_CC
15104 fi
15105
15106 fi
15107
15108
15109 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15110 See \`config.log' for more details." >&5
15111 echo "$as_me: error: no acceptable C compiler found in \$PATH
15112 See \`config.log' for more details." >&2;}
15113 { (exit 1); exit 1; }; }
15114
15115 # Provide some information about the compiler.
15116 echo "$as_me:$LINENO:" \
15117 "checking for C compiler version" >&5
15118 ac_compiler=`set X $ac_compile; echo $2`
15119 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15120 (eval $ac_compiler --version </dev/null >&5) 2>&5
15121 ac_status=$?
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }
15124 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15125 (eval $ac_compiler -v </dev/null >&5) 2>&5
15126 ac_status=$?
15127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15128 (exit $ac_status); }
15129 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15130 (eval $ac_compiler -V </dev/null >&5) 2>&5
15131 ac_status=$?
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); }
15134
15135 cat >conftest.$ac_ext <<_ACEOF
15136 /* confdefs.h. */
15137 _ACEOF
15138 cat confdefs.h >>conftest.$ac_ext
15139 cat >>conftest.$ac_ext <<_ACEOF
15140 /* end confdefs.h. */
15141
15142 int
15143 main ()
15144 {
15145
15146 ;
15147 return 0;
15148 }
15149 _ACEOF
15150 ac_clean_files_save=$ac_clean_files
15151 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15152 # Try to create an executable without -o first, disregard a.out.
15153 # It will help us diagnose broken compilers, and finding out an intuition
15154 # of exeext.
15155 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15156 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
15157 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15158 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
15159 (eval $ac_link_default) 2>&5
15160 ac_status=$?
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); }; then
15163 # Find the output, starting from the most likely. This scheme is
15164 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
15165 # resort.
15166
15167 # Be careful to initialize this variable, since it used to be cached.
15168 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
15169 ac_cv_exeext=
15170 # b.out is created by i960 compilers.
15171 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
15172 do
15173 test -f "$ac_file" || continue
15174 case $ac_file in
15175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
15176 ;;
15177 conftest.$ac_ext )
15178 # This is the source file.
15179 ;;
15180 [ab].out )
15181 # We found the default executable, but exeext='' is most
15182 # certainly right.
15183 break;;
15184 *.* )
15185 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15186 # FIXME: I believe we export ac_cv_exeext for Libtool,
15187 # but it would be cool to find out if it's true. Does anybody
15188 # maintain Libtool? --akim.
15189 export ac_cv_exeext
15190 break;;
15191 * )
15192 break;;
15193 esac
15194 done
15195 else
15196 echo "$as_me: failed program was:" >&5
15197 sed 's/^/| /' conftest.$ac_ext >&5
15198
15199 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15200 See \`config.log' for more details." >&5
15201 echo "$as_me: error: C compiler cannot create executables
15202 See \`config.log' for more details." >&2;}
15203 { (exit 77); exit 77; }; }
15204 fi
15205
15206 ac_exeext=$ac_cv_exeext
15207 echo "$as_me:$LINENO: result: $ac_file" >&5
15208 echo "${ECHO_T}$ac_file" >&6
15209
15210 # Check the compiler produces executables we can run. If not, either
15211 # the compiler is broken, or we cross compile.
15212 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15213 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
15214 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15215 # If not cross compiling, check that we can run a simple program.
15216 if test "$cross_compiling" != yes; then
15217 if { ac_try='./$ac_file'
15218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15219 (eval $ac_try) 2>&5
15220 ac_status=$?
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); }; }; then
15223 cross_compiling=no
15224 else
15225 if test "$cross_compiling" = maybe; then
15226 cross_compiling=yes
15227 else
15228 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15229 If you meant to cross compile, use \`--host'.
15230 See \`config.log' for more details." >&5
15231 echo "$as_me: error: cannot run C compiled programs.
15232 If you meant to cross compile, use \`--host'.
15233 See \`config.log' for more details." >&2;}
15234 { (exit 1); exit 1; }; }
15235 fi
15236 fi
15237 fi
15238 echo "$as_me:$LINENO: result: yes" >&5
15239 echo "${ECHO_T}yes" >&6
15240
15241 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15242 ac_clean_files=$ac_clean_files_save
15243 # Check the compiler produces executables we can run. If not, either
15244 # the compiler is broken, or we cross compile.
15245 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15246 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
15247 echo "$as_me:$LINENO: result: $cross_compiling" >&5
15248 echo "${ECHO_T}$cross_compiling" >&6
15249
15250 echo "$as_me:$LINENO: checking for suffix of executables" >&5
15251 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
15252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15253 (eval $ac_link) 2>&5
15254 ac_status=$?
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; then
15257 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15258 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15259 # work properly (i.e., refer to `conftest.exe'), while it won't with
15260 # `rm'.
15261 for ac_file in conftest.exe conftest conftest.*; do
15262 test -f "$ac_file" || continue
15263 case $ac_file in
15264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
15265 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15266 export ac_cv_exeext
15267 break;;
15268 * ) break;;
15269 esac
15270 done
15271 else
15272 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15273 See \`config.log' for more details." >&5
15274 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15275 See \`config.log' for more details." >&2;}
15276 { (exit 1); exit 1; }; }
15277 fi
15278
15279 rm -f conftest$ac_cv_exeext
15280 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15281 echo "${ECHO_T}$ac_cv_exeext" >&6
15282
15283 rm -f conftest.$ac_ext
15284 EXEEXT=$ac_cv_exeext
15285 ac_exeext=$EXEEXT
15286 echo "$as_me:$LINENO: checking for suffix of object files" >&5
15287 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
15288 if test "${ac_cv_objext+set}" = set; then
15289 echo $ECHO_N "(cached) $ECHO_C" >&6
15290 else
15291 cat >conftest.$ac_ext <<_ACEOF
15292 /* confdefs.h. */
15293 _ACEOF
15294 cat confdefs.h >>conftest.$ac_ext
15295 cat >>conftest.$ac_ext <<_ACEOF
15296 /* end confdefs.h. */
15297
15298 int
15299 main ()
15300 {
15301
15302 ;
15303 return 0;
15304 }
15305 _ACEOF
15306 rm -f conftest.o conftest.obj
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>&5
15309 ac_status=$?
15310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15311 (exit $ac_status); }; then
15312 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
15313 case $ac_file in
15314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
15315 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15316 break;;
15317 esac
15318 done
15319 else
15320 echo "$as_me: failed program was:" >&5
15321 sed 's/^/| /' conftest.$ac_ext >&5
15322
15323 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15324 See \`config.log' for more details." >&5
15325 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15326 See \`config.log' for more details." >&2;}
15327 { (exit 1); exit 1; }; }
15328 fi
15329
15330 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15331 fi
15332 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15333 echo "${ECHO_T}$ac_cv_objext" >&6
15334 OBJEXT=$ac_cv_objext
15335 ac_objext=$OBJEXT
15336 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15337 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
15338 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15339 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 else
15341 cat >conftest.$ac_ext <<_ACEOF
15342 /* confdefs.h. */
15343 _ACEOF
15344 cat confdefs.h >>conftest.$ac_ext
15345 cat >>conftest.$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15347
15348 int
15349 main ()
15350 {
15351 #ifndef __GNUC__
15352 choke me
15353 #endif
15354
15355 ;
15356 return 0;
15357 }
15358 _ACEOF
15359 rm -f conftest.$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361 (eval $ac_compile) 2>conftest.er1
15362 ac_status=$?
15363 grep -v '^ *+' conftest.er1 >conftest.err
15364 rm -f conftest.er1
15365 cat conftest.err >&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } &&
15368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15370 (eval $ac_try) 2>&5
15371 ac_status=$?
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; } &&
15374 { ac_try='test -s conftest.$ac_objext'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15377 ac_status=$?
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; }; then
15380 ac_compiler_gnu=yes
15381 else
15382 echo "$as_me: failed program was:" >&5
15383 sed 's/^/| /' conftest.$ac_ext >&5
15384
15385 ac_compiler_gnu=no
15386 fi
15387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15388 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15389
15390 fi
15391 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15392 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
15393 GCC=`test $ac_compiler_gnu = yes && echo yes`
15394 ac_test_CFLAGS=${CFLAGS+set}
15395 ac_save_CFLAGS=$CFLAGS
15396 CFLAGS="-g"
15397 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15398 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15399 if test "${ac_cv_prog_cc_g+set}" = set; then
15400 echo $ECHO_N "(cached) $ECHO_C" >&6
15401 else
15402 cat >conftest.$ac_ext <<_ACEOF
15403 /* confdefs.h. */
15404 _ACEOF
15405 cat confdefs.h >>conftest.$ac_ext
15406 cat >>conftest.$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15408
15409 int
15410 main ()
15411 {
15412
15413 ;
15414 return 0;
15415 }
15416 _ACEOF
15417 rm -f conftest.$ac_objext
15418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15419 (eval $ac_compile) 2>conftest.er1
15420 ac_status=$?
15421 grep -v '^ *+' conftest.er1 >conftest.err
15422 rm -f conftest.er1
15423 cat conftest.err >&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); } &&
15426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15428 (eval $ac_try) 2>&5
15429 ac_status=$?
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); }; } &&
15432 { ac_try='test -s conftest.$ac_objext'
15433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15434 (eval $ac_try) 2>&5
15435 ac_status=$?
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; }; then
15438 ac_cv_prog_cc_g=yes
15439 else
15440 echo "$as_me: failed program was:" >&5
15441 sed 's/^/| /' conftest.$ac_ext >&5
15442
15443 ac_cv_prog_cc_g=no
15444 fi
15445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15446 fi
15447 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15448 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15449 if test "$ac_test_CFLAGS" = set; then
15450 CFLAGS=$ac_save_CFLAGS
15451 elif test $ac_cv_prog_cc_g = yes; then
15452 if test "$GCC" = yes; then
15453 CFLAGS="-g -O2"
15454 else
15455 CFLAGS="-g"
15456 fi
15457 else
15458 if test "$GCC" = yes; then
15459 CFLAGS="-O2"
15460 else
15461 CFLAGS=
15462 fi
15463 fi
15464 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
15465 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
15466 if test "${ac_cv_prog_cc_stdc+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15468 else
15469 ac_cv_prog_cc_stdc=no
15470 ac_save_CC=$CC
15471 cat >conftest.$ac_ext <<_ACEOF
15472 /* confdefs.h. */
15473 _ACEOF
15474 cat confdefs.h >>conftest.$ac_ext
15475 cat >>conftest.$ac_ext <<_ACEOF
15476 /* end confdefs.h. */
15477 #include <stdarg.h>
15478 #include <stdio.h>
15479 #include <sys/types.h>
15480 #include <sys/stat.h>
15481 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15482 struct buf { int x; };
15483 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15484 static char *e (p, i)
15485 char **p;
15486 int i;
15487 {
15488 return p[i];
15489 }
15490 static char *f (char * (*g) (char **, int), char **p, ...)
15491 {
15492 char *s;
15493 va_list v;
15494 va_start (v,p);
15495 s = g (p, va_arg (v,int));
15496 va_end (v);
15497 return s;
15498 }
15499
15500 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15501 function prototypes and stuff, but not '\xHH' hex character constants.
15502 These don't provoke an error unfortunately, instead are silently treated
15503 as 'x'. The following induces an error, until -std1 is added to get
15504 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15505 array size at least. It's necessary to write '\x00'==0 to get something
15506 that's true only with -std1. */
15507 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15508
15509 int test (int i, double x);
15510 struct s1 {int (*f) (int a);};
15511 struct s2 {int (*f) (double a);};
15512 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15513 int argc;
15514 char **argv;
15515 int
15516 main ()
15517 {
15518 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15519 ;
15520 return 0;
15521 }
15522 _ACEOF
15523 # Don't try gcc -ansi; that turns off useful extensions and
15524 # breaks some systems' header files.
15525 # AIX -qlanglvl=ansi
15526 # Ultrix and OSF/1 -std1
15527 # HP-UX 10.20 and later -Ae
15528 # HP-UX older versions -Aa -D_HPUX_SOURCE
15529 # SVR4 -Xc -D__EXTENSIONS__
15530 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15531 do
15532 CC="$ac_save_CC $ac_arg"
15533 rm -f conftest.$ac_objext
15534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15535 (eval $ac_compile) 2>conftest.er1
15536 ac_status=$?
15537 grep -v '^ *+' conftest.er1 >conftest.err
15538 rm -f conftest.er1
15539 cat conftest.err >&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); } &&
15542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15544 (eval $ac_try) 2>&5
15545 ac_status=$?
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); }; } &&
15548 { ac_try='test -s conftest.$ac_objext'
15549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15550 (eval $ac_try) 2>&5
15551 ac_status=$?
15552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15553 (exit $ac_status); }; }; then
15554 ac_cv_prog_cc_stdc=$ac_arg
15555 break
15556 else
15557 echo "$as_me: failed program was:" >&5
15558 sed 's/^/| /' conftest.$ac_ext >&5
15559
15560 fi
15561 rm -f conftest.err conftest.$ac_objext
15562 done
15563 rm -f conftest.$ac_ext conftest.$ac_objext
15564 CC=$ac_save_CC
15565
15566 fi
15567
15568 case "x$ac_cv_prog_cc_stdc" in
15569 x|xno)
15570 echo "$as_me:$LINENO: result: none needed" >&5
15571 echo "${ECHO_T}none needed" >&6 ;;
15572 *)
15573 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
15574 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
15575 CC="$CC $ac_cv_prog_cc_stdc" ;;
15576 esac
15577
15578 # Some people use a C++ compiler to compile C. Since we use `exit',
15579 # in C++ we need to declare it. In case someone uses the same compiler
15580 # for both compiling C and C++ we need to have the C++ compiler decide
15581 # the declaration of exit, since it's the most demanding environment.
15582 cat >conftest.$ac_ext <<_ACEOF
15583 #ifndef __cplusplus
15584 choke me
15585 #endif
15586 _ACEOF
15587 rm -f conftest.$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>conftest.er1
15590 ac_status=$?
15591 grep -v '^ *+' conftest.er1 >conftest.err
15592 rm -f conftest.er1
15593 cat conftest.err >&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15599 ac_status=$?
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; } &&
15602 { ac_try='test -s conftest.$ac_objext'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15605 ac_status=$?
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 for ac_declaration in \
15609 '' \
15610 'extern "C" void std::exit (int) throw (); using std::exit;' \
15611 'extern "C" void std::exit (int); using std::exit;' \
15612 'extern "C" void exit (int) throw ();' \
15613 'extern "C" void exit (int);' \
15614 'void exit (int);'
15615 do
15616 cat >conftest.$ac_ext <<_ACEOF
15617 /* confdefs.h. */
15618 _ACEOF
15619 cat confdefs.h >>conftest.$ac_ext
15620 cat >>conftest.$ac_ext <<_ACEOF
15621 /* end confdefs.h. */
15622 $ac_declaration
15623 #include <stdlib.h>
15624 int
15625 main ()
15626 {
15627 exit (42);
15628 ;
15629 return 0;
15630 }
15631 _ACEOF
15632 rm -f conftest.$ac_objext
15633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15634 (eval $ac_compile) 2>conftest.er1
15635 ac_status=$?
15636 grep -v '^ *+' conftest.er1 >conftest.err
15637 rm -f conftest.er1
15638 cat conftest.err >&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); } &&
15641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15643 (eval $ac_try) 2>&5
15644 ac_status=$?
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); }; } &&
15647 { ac_try='test -s conftest.$ac_objext'
15648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15649 (eval $ac_try) 2>&5
15650 ac_status=$?
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); }; }; then
15653 :
15654 else
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.$ac_ext >&5
15657
15658 continue
15659 fi
15660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15661 cat >conftest.$ac_ext <<_ACEOF
15662 /* confdefs.h. */
15663 _ACEOF
15664 cat confdefs.h >>conftest.$ac_ext
15665 cat >>conftest.$ac_ext <<_ACEOF
15666 /* end confdefs.h. */
15667 $ac_declaration
15668 int
15669 main ()
15670 {
15671 exit (42);
15672 ;
15673 return 0;
15674 }
15675 _ACEOF
15676 rm -f conftest.$ac_objext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15678 (eval $ac_compile) 2>conftest.er1
15679 ac_status=$?
15680 grep -v '^ *+' conftest.er1 >conftest.err
15681 rm -f conftest.er1
15682 cat conftest.err >&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15688 ac_status=$?
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; } &&
15691 { ac_try='test -s conftest.$ac_objext'
15692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15693 (eval $ac_try) 2>&5
15694 ac_status=$?
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); }; }; then
15697 break
15698 else
15699 echo "$as_me: failed program was:" >&5
15700 sed 's/^/| /' conftest.$ac_ext >&5
15701
15702 fi
15703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15704 done
15705 rm -f conftest*
15706 if test -n "$ac_declaration"; then
15707 echo '#ifdef __cplusplus' >>confdefs.h
15708 echo $ac_declaration >>confdefs.h
15709 echo '#endif' >>confdefs.h
15710 fi
15711
15712 else
15713 echo "$as_me: failed program was:" >&5
15714 sed 's/^/| /' conftest.$ac_ext >&5
15715
15716 fi
15717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15718 ac_ext=c
15719 ac_cpp='$CPP $CPPFLAGS'
15720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15723
15724
15725
15726
15727 ac_ext=c
15728 ac_cpp='$CPP $CPPFLAGS'
15729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15732
15733 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15734 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
15735 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15736 echo $ECHO_N "(cached) $ECHO_C" >&6
15737 else
15738 cat >conftest.$ac_ext <<_ACEOF
15739 /* confdefs.h. */
15740 _ACEOF
15741 cat confdefs.h >>conftest.$ac_ext
15742 cat >>conftest.$ac_ext <<_ACEOF
15743 /* end confdefs.h. */
15744
15745 int
15746 main ()
15747 {
15748
15749 #ifndef __INTEL_COMPILER
15750 choke me
15751 #endif
15752
15753 ;
15754 return 0;
15755 }
15756 _ACEOF
15757 rm -f conftest.$ac_objext
15758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15759 (eval $ac_compile) 2>conftest.er1
15760 ac_status=$?
15761 grep -v '^ *+' conftest.er1 >conftest.err
15762 rm -f conftest.er1
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } &&
15766 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15768 (eval $ac_try) 2>&5
15769 ac_status=$?
15770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15771 (exit $ac_status); }; } &&
15772 { ac_try='test -s conftest.$ac_objext'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15775 ac_status=$?
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; }; then
15778 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15779 else
15780 echo "$as_me: failed program was:" >&5
15781 sed 's/^/| /' conftest.$ac_ext >&5
15782
15783 bakefile_cv_c_compiler___INTEL_COMPILER=no
15784
15785 fi
15786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15787
15788
15789 fi
15790 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15791 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
15792 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15793 :; INTELCC=yes
15794 else
15795 :;
15796 fi
15797 ac_ext=c
15798 ac_cpp='$CPP $CPPFLAGS'
15799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15802
15803
15804
15805
15806 if test "x$GCC" != "xyes"; then
15807 if test "xCC" = "xC"; then
15808 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15809 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
15810 if test "${bakefile_cv_c_exto+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15812 else
15813 cat >conftest.$ac_ext <<_ACEOF
15814 /* confdefs.h. */
15815 _ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819
15820 int
15821 main ()
15822 {
15823
15824 ;
15825 return 0;
15826 }
15827 _ACEOF
15828 rm -f conftest.$ac_objext conftest.$ac_ext.o
15829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15830 (eval $ac_compile) 2>&5
15831 ac_status=$?
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; then
15834 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15835 case $ac_file in
15836 conftest.$ac_ext.o)
15837 bakefile_cv_c_exto="-ext o"
15838 ;;
15839 *)
15840 ;;
15841 esac
15842 done
15843 else
15844 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15845 See \`config.log' for more details." >&5
15846 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15847 See \`config.log' for more details." >&2;}
15848 { (exit 1); exit 1; }; }
15849
15850 fi
15851
15852 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15853
15854 fi
15855 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15856 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
15857 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15858 if test "c" = "c"; then
15859 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15860 fi
15861 if test "c" = "cxx"; then
15862 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15863 fi
15864 fi
15865
15866 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15867 unset ac_cv_prog_cc_g
15868 ac_test_CFLAGS=${CFLAGS+set}
15869 ac_save_CFLAGS=$CFLAGS
15870 CFLAGS="-g"
15871 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15872 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15873 if test "${ac_cv_prog_cc_g+set}" = set; then
15874 echo $ECHO_N "(cached) $ECHO_C" >&6
15875 else
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882
15883 int
15884 main ()
15885 {
15886
15887 ;
15888 return 0;
15889 }
15890 _ACEOF
15891 rm -f conftest.$ac_objext
15892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15893 (eval $ac_compile) 2>conftest.er1
15894 ac_status=$?
15895 grep -v '^ *+' conftest.er1 >conftest.err
15896 rm -f conftest.er1
15897 cat conftest.err >&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } &&
15900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15903 ac_status=$?
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; } &&
15906 { ac_try='test -s conftest.$ac_objext'
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15909 ac_status=$?
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; }; then
15912 ac_cv_prog_cc_g=yes
15913 else
15914 echo "$as_me: failed program was:" >&5
15915 sed 's/^/| /' conftest.$ac_ext >&5
15916
15917 ac_cv_prog_cc_g=no
15918 fi
15919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15920 fi
15921 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15922 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15923 if test "$ac_test_CFLAGS" = set; then
15924 CFLAGS=$ac_save_CFLAGS
15925 elif test $ac_cv_prog_cc_g = yes; then
15926 if test "$GCC" = yes; then
15927 CFLAGS="-g -O2"
15928 else
15929 CFLAGS="-g"
15930 fi
15931 else
15932 if test "$GCC" = yes; then
15933 CFLAGS="-O2"
15934 else
15935 CFLAGS=
15936 fi
15937 fi
15938 fi
15939 fi
15940
15941 case `uname -s` in
15942 AIX*)
15943
15944
15945 ac_ext=c
15946 ac_cpp='$CPP $CPPFLAGS'
15947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15950
15951 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15952 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
15953 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15954 echo $ECHO_N "(cached) $ECHO_C" >&6
15955 else
15956 cat >conftest.$ac_ext <<_ACEOF
15957 /* confdefs.h. */
15958 _ACEOF
15959 cat confdefs.h >>conftest.$ac_ext
15960 cat >>conftest.$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15962
15963 int
15964 main ()
15965 {
15966
15967 #ifndef __xlC__
15968 choke me
15969 #endif
15970
15971 ;
15972 return 0;
15973 }
15974 _ACEOF
15975 rm -f conftest.$ac_objext
15976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15977 (eval $ac_compile) 2>conftest.er1
15978 ac_status=$?
15979 grep -v '^ *+' conftest.er1 >conftest.err
15980 rm -f conftest.er1
15981 cat conftest.err >&5
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); } &&
15984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15986 (eval $ac_try) 2>&5
15987 ac_status=$?
15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989 (exit $ac_status); }; } &&
15990 { ac_try='test -s conftest.$ac_objext'
15991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15992 (eval $ac_try) 2>&5
15993 ac_status=$?
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; }; then
15996 bakefile_cv_c_compiler___xlC__=yes
15997 else
15998 echo "$as_me: failed program was:" >&5
15999 sed 's/^/| /' conftest.$ac_ext >&5
16000
16001 bakefile_cv_c_compiler___xlC__=no
16002
16003 fi
16004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16005
16006
16007 fi
16008 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16009 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
16010 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16011 :; XLCC=yes
16012 else
16013 :;
16014 fi
16015 ac_ext=c
16016 ac_cpp='$CPP $CPPFLAGS'
16017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16020
16021
16022
16023 ;;
16024
16025 Darwin)
16026
16027
16028 ac_ext=c
16029 ac_cpp='$CPP $CPPFLAGS'
16030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16033
16034 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16035 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
16036 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 else
16039 cat >conftest.$ac_ext <<_ACEOF
16040 /* confdefs.h. */
16041 _ACEOF
16042 cat confdefs.h >>conftest.$ac_ext
16043 cat >>conftest.$ac_ext <<_ACEOF
16044 /* end confdefs.h. */
16045
16046 int
16047 main ()
16048 {
16049
16050 #ifndef __MWERKS__
16051 choke me
16052 #endif
16053
16054 ;
16055 return 0;
16056 }
16057 _ACEOF
16058 rm -f conftest.$ac_objext
16059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16060 (eval $ac_compile) 2>conftest.er1
16061 ac_status=$?
16062 grep -v '^ *+' conftest.er1 >conftest.err
16063 rm -f conftest.er1
16064 cat conftest.err >&5
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } &&
16067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069 (eval $ac_try) 2>&5
16070 ac_status=$?
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); }; } &&
16073 { ac_try='test -s conftest.$ac_objext'
16074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16075 (eval $ac_try) 2>&5
16076 ac_status=$?
16077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078 (exit $ac_status); }; }; then
16079 bakefile_cv_c_compiler___MWERKS__=yes
16080 else
16081 echo "$as_me: failed program was:" >&5
16082 sed 's/^/| /' conftest.$ac_ext >&5
16083
16084 bakefile_cv_c_compiler___MWERKS__=no
16085
16086 fi
16087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16088
16089
16090 fi
16091 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16092 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6
16093 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16094 :; MWCC=yes
16095 else
16096 :;
16097 fi
16098 ac_ext=c
16099 ac_cpp='$CPP $CPPFLAGS'
16100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16103
16104
16105
16106
16107
16108 ac_ext=c
16109 ac_cpp='$CPP $CPPFLAGS'
16110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16113
16114 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16115 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
16116 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16117 echo $ECHO_N "(cached) $ECHO_C" >&6
16118 else
16119 cat >conftest.$ac_ext <<_ACEOF
16120 /* confdefs.h. */
16121 _ACEOF
16122 cat confdefs.h >>conftest.$ac_ext
16123 cat >>conftest.$ac_ext <<_ACEOF
16124 /* end confdefs.h. */
16125
16126 int
16127 main ()
16128 {
16129
16130 #ifndef __xlC__
16131 choke me
16132 #endif
16133
16134 ;
16135 return 0;
16136 }
16137 _ACEOF
16138 rm -f conftest.$ac_objext
16139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16140 (eval $ac_compile) 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } &&
16147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; } &&
16153 { ac_try='test -s conftest.$ac_objext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16156 ac_status=$?
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16159 bakefile_cv_c_compiler___xlC__=yes
16160 else
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.$ac_ext >&5
16163
16164 bakefile_cv_c_compiler___xlC__=no
16165
16166 fi
16167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16168
16169
16170 fi
16171 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16172 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
16173 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16174 :; XLCC=yes
16175 else
16176 :;
16177 fi
16178 ac_ext=c
16179 ac_cpp='$CPP $CPPFLAGS'
16180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16183
16184
16185
16186 ;;
16187
16188 IRIX*)
16189
16190
16191 ac_ext=c
16192 ac_cpp='$CPP $CPPFLAGS'
16193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16196
16197 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16198 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
16199 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 else
16202 cat >conftest.$ac_ext <<_ACEOF
16203 /* confdefs.h. */
16204 _ACEOF
16205 cat confdefs.h >>conftest.$ac_ext
16206 cat >>conftest.$ac_ext <<_ACEOF
16207 /* end confdefs.h. */
16208
16209 int
16210 main ()
16211 {
16212
16213 #ifndef _SGI_COMPILER_VERSION
16214 choke me
16215 #endif
16216
16217 ;
16218 return 0;
16219 }
16220 _ACEOF
16221 rm -f conftest.$ac_objext
16222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16223 (eval $ac_compile) 2>conftest.er1
16224 ac_status=$?
16225 grep -v '^ *+' conftest.er1 >conftest.err
16226 rm -f conftest.er1
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } &&
16230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16232 (eval $ac_try) 2>&5
16233 ac_status=$?
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); }; } &&
16236 { ac_try='test -s conftest.$ac_objext'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16239 ac_status=$?
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; }; then
16242 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16243 else
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.$ac_ext >&5
16246
16247 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16248
16249 fi
16250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16251
16252
16253 fi
16254 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16255 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
16256 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16257 :; SGICC=yes
16258 else
16259 :;
16260 fi
16261 ac_ext=c
16262 ac_cpp='$CPP $CPPFLAGS'
16263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16266
16267
16268
16269 ;;
16270
16271 Linux*)
16272
16273
16274 ac_ext=c
16275 ac_cpp='$CPP $CPPFLAGS'
16276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16279
16280 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16281 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
16282 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16283 echo $ECHO_N "(cached) $ECHO_C" >&6
16284 else
16285 cat >conftest.$ac_ext <<_ACEOF
16286 /* confdefs.h. */
16287 _ACEOF
16288 cat confdefs.h >>conftest.$ac_ext
16289 cat >>conftest.$ac_ext <<_ACEOF
16290 /* end confdefs.h. */
16291
16292 int
16293 main ()
16294 {
16295
16296 #ifndef __SUNPRO_C
16297 choke me
16298 #endif
16299
16300 ;
16301 return 0;
16302 }
16303 _ACEOF
16304 rm -f conftest.$ac_objext
16305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16306 (eval $ac_compile) 2>conftest.er1
16307 ac_status=$?
16308 grep -v '^ *+' conftest.er1 >conftest.err
16309 rm -f conftest.er1
16310 cat conftest.err >&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); } &&
16313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16315 (eval $ac_try) 2>&5
16316 ac_status=$?
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); }; } &&
16319 { ac_try='test -s conftest.$ac_objext'
16320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16321 (eval $ac_try) 2>&5
16322 ac_status=$?
16323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16324 (exit $ac_status); }; }; then
16325 bakefile_cv_c_compiler___SUNPRO_C=yes
16326 else
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16329
16330 bakefile_cv_c_compiler___SUNPRO_C=no
16331
16332 fi
16333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16334
16335
16336 fi
16337 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16338 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
16339 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16340 :; SUNCC=yes
16341 else
16342 :;
16343 fi
16344 ac_ext=c
16345 ac_cpp='$CPP $CPPFLAGS'
16346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16349
16350
16351
16352 ;;
16353
16354 HP-UX*)
16355
16356
16357 ac_ext=c
16358 ac_cpp='$CPP $CPPFLAGS'
16359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16362
16363 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16364 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
16365 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 else
16368 cat >conftest.$ac_ext <<_ACEOF
16369 /* confdefs.h. */
16370 _ACEOF
16371 cat confdefs.h >>conftest.$ac_ext
16372 cat >>conftest.$ac_ext <<_ACEOF
16373 /* end confdefs.h. */
16374
16375 int
16376 main ()
16377 {
16378
16379 #ifndef __HP_cc
16380 choke me
16381 #endif
16382
16383 ;
16384 return 0;
16385 }
16386 _ACEOF
16387 rm -f conftest.$ac_objext
16388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16389 (eval $ac_compile) 2>conftest.er1
16390 ac_status=$?
16391 grep -v '^ *+' conftest.er1 >conftest.err
16392 rm -f conftest.er1
16393 cat conftest.err >&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); } &&
16396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16398 (eval $ac_try) 2>&5
16399 ac_status=$?
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); }; } &&
16402 { ac_try='test -s conftest.$ac_objext'
16403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404 (eval $ac_try) 2>&5
16405 ac_status=$?
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); }; }; then
16408 bakefile_cv_c_compiler___HP_cc=yes
16409 else
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.$ac_ext >&5
16412
16413 bakefile_cv_c_compiler___HP_cc=no
16414
16415 fi
16416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16417
16418
16419 fi
16420 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16421 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
16422 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16423 :; HPCC=yes
16424 else
16425 :;
16426 fi
16427 ac_ext=c
16428 ac_cpp='$CPP $CPPFLAGS'
16429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16432
16433
16434
16435 ;;
16436
16437 OSF1)
16438
16439
16440 ac_ext=c
16441 ac_cpp='$CPP $CPPFLAGS'
16442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16445
16446 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16447 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
16448 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16449 echo $ECHO_N "(cached) $ECHO_C" >&6
16450 else
16451 cat >conftest.$ac_ext <<_ACEOF
16452 /* confdefs.h. */
16453 _ACEOF
16454 cat confdefs.h >>conftest.$ac_ext
16455 cat >>conftest.$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16457
16458 int
16459 main ()
16460 {
16461
16462 #ifndef __DECC
16463 choke me
16464 #endif
16465
16466 ;
16467 return 0;
16468 }
16469 _ACEOF
16470 rm -f conftest.$ac_objext
16471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16472 (eval $ac_compile) 2>conftest.er1
16473 ac_status=$?
16474 grep -v '^ *+' conftest.er1 >conftest.err
16475 rm -f conftest.er1
16476 cat conftest.err >&5
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); } &&
16479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16481 (eval $ac_try) 2>&5
16482 ac_status=$?
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); }; } &&
16485 { ac_try='test -s conftest.$ac_objext'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16488 ac_status=$?
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; }; then
16491 bakefile_cv_c_compiler___DECC=yes
16492 else
16493 echo "$as_me: failed program was:" >&5
16494 sed 's/^/| /' conftest.$ac_ext >&5
16495
16496 bakefile_cv_c_compiler___DECC=no
16497
16498 fi
16499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16500
16501
16502 fi
16503 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16504 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
16505 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16506 :; COMPAQCC=yes
16507 else
16508 :;
16509 fi
16510 ac_ext=c
16511 ac_cpp='$CPP $CPPFLAGS'
16512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16515
16516
16517
16518 ;;
16519
16520 SunOS)
16521
16522
16523 ac_ext=c
16524 ac_cpp='$CPP $CPPFLAGS'
16525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16528
16529 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16530 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
16531 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16532 echo $ECHO_N "(cached) $ECHO_C" >&6
16533 else
16534 cat >conftest.$ac_ext <<_ACEOF
16535 /* confdefs.h. */
16536 _ACEOF
16537 cat confdefs.h >>conftest.$ac_ext
16538 cat >>conftest.$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16540
16541 int
16542 main ()
16543 {
16544
16545 #ifndef __SUNPRO_C
16546 choke me
16547 #endif
16548
16549 ;
16550 return 0;
16551 }
16552 _ACEOF
16553 rm -f conftest.$ac_objext
16554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16555 (eval $ac_compile) 2>conftest.er1
16556 ac_status=$?
16557 grep -v '^ *+' conftest.er1 >conftest.err
16558 rm -f conftest.er1
16559 cat conftest.err >&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } &&
16562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16565 ac_status=$?
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16571 ac_status=$?
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 bakefile_cv_c_compiler___SUNPRO_C=yes
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16578
16579 bakefile_cv_c_compiler___SUNPRO_C=no
16580
16581 fi
16582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16583
16584
16585 fi
16586 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16587 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
16588 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16589 :; SUNCC=yes
16590 else
16591 :;
16592 fi
16593 ac_ext=c
16594 ac_cpp='$CPP $CPPFLAGS'
16595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16598
16599
16600
16601 ;;
16602 esac
16603 fi
16604
16605
16606
16607 ac_ext=c
16608 ac_cpp='$CPP $CPPFLAGS'
16609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16612 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16613 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
16614 # On Suns, sometimes $CPP names a directory.
16615 if test -n "$CPP" && test -d "$CPP"; then
16616 CPP=
16617 fi
16618 if test -z "$CPP"; then
16619 if test "${ac_cv_prog_CPP+set}" = set; then
16620 echo $ECHO_N "(cached) $ECHO_C" >&6
16621 else
16622 # Double quotes because CPP needs to be expanded
16623 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16624 do
16625 ac_preproc_ok=false
16626 for ac_c_preproc_warn_flag in '' yes
16627 do
16628 # Use a header file that comes with gcc, so configuring glibc
16629 # with a fresh cross-compiler works.
16630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16631 # <limits.h> exists even on freestanding compilers.
16632 # On the NeXT, cc -E runs the code through the compiler's parser,
16633 # not just through cpp. "Syntax error" is here to catch this case.
16634 cat >conftest.$ac_ext <<_ACEOF
16635 /* confdefs.h. */
16636 _ACEOF
16637 cat confdefs.h >>conftest.$ac_ext
16638 cat >>conftest.$ac_ext <<_ACEOF
16639 /* end confdefs.h. */
16640 #ifdef __STDC__
16641 # include <limits.h>
16642 #else
16643 # include <assert.h>
16644 #endif
16645 Syntax error
16646 _ACEOF
16647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16649 ac_status=$?
16650 grep -v '^ *+' conftest.er1 >conftest.err
16651 rm -f conftest.er1
16652 cat conftest.err >&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } >/dev/null; then
16655 if test -s conftest.err; then
16656 ac_cpp_err=$ac_c_preproc_warn_flag
16657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16658 else
16659 ac_cpp_err=
16660 fi
16661 else
16662 ac_cpp_err=yes
16663 fi
16664 if test -z "$ac_cpp_err"; then
16665 :
16666 else
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.$ac_ext >&5
16669
16670 # Broken: fails on valid input.
16671 continue
16672 fi
16673 rm -f conftest.err conftest.$ac_ext
16674
16675 # OK, works on sane cases. Now check whether non-existent headers
16676 # can be detected and how.
16677 cat >conftest.$ac_ext <<_ACEOF
16678 /* confdefs.h. */
16679 _ACEOF
16680 cat confdefs.h >>conftest.$ac_ext
16681 cat >>conftest.$ac_ext <<_ACEOF
16682 /* end confdefs.h. */
16683 #include <ac_nonexistent.h>
16684 _ACEOF
16685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16686 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16687 ac_status=$?
16688 grep -v '^ *+' conftest.er1 >conftest.err
16689 rm -f conftest.er1
16690 cat conftest.err >&5
16691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16692 (exit $ac_status); } >/dev/null; then
16693 if test -s conftest.err; then
16694 ac_cpp_err=$ac_c_preproc_warn_flag
16695 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16696 else
16697 ac_cpp_err=
16698 fi
16699 else
16700 ac_cpp_err=yes
16701 fi
16702 if test -z "$ac_cpp_err"; then
16703 # Broken: success on invalid input.
16704 continue
16705 else
16706 echo "$as_me: failed program was:" >&5
16707 sed 's/^/| /' conftest.$ac_ext >&5
16708
16709 # Passes both tests.
16710 ac_preproc_ok=:
16711 break
16712 fi
16713 rm -f conftest.err conftest.$ac_ext
16714
16715 done
16716 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16717 rm -f conftest.err conftest.$ac_ext
16718 if $ac_preproc_ok; then
16719 break
16720 fi
16721
16722 done
16723 ac_cv_prog_CPP=$CPP
16724
16725 fi
16726 CPP=$ac_cv_prog_CPP
16727 else
16728 ac_cv_prog_CPP=$CPP
16729 fi
16730 echo "$as_me:$LINENO: result: $CPP" >&5
16731 echo "${ECHO_T}$CPP" >&6
16732 ac_preproc_ok=false
16733 for ac_c_preproc_warn_flag in '' yes
16734 do
16735 # Use a header file that comes with gcc, so configuring glibc
16736 # with a fresh cross-compiler works.
16737 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16738 # <limits.h> exists even on freestanding compilers.
16739 # On the NeXT, cc -E runs the code through the compiler's parser,
16740 # not just through cpp. "Syntax error" is here to catch this case.
16741 cat >conftest.$ac_ext <<_ACEOF
16742 /* confdefs.h. */
16743 _ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 #ifdef __STDC__
16748 # include <limits.h>
16749 #else
16750 # include <assert.h>
16751 #endif
16752 Syntax error
16753 _ACEOF
16754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16756 ac_status=$?
16757 grep -v '^ *+' conftest.er1 >conftest.err
16758 rm -f conftest.er1
16759 cat conftest.err >&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); } >/dev/null; then
16762 if test -s conftest.err; then
16763 ac_cpp_err=$ac_c_preproc_warn_flag
16764 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16765 else
16766 ac_cpp_err=
16767 fi
16768 else
16769 ac_cpp_err=yes
16770 fi
16771 if test -z "$ac_cpp_err"; then
16772 :
16773 else
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16776
16777 # Broken: fails on valid input.
16778 continue
16779 fi
16780 rm -f conftest.err conftest.$ac_ext
16781
16782 # OK, works on sane cases. Now check whether non-existent headers
16783 # can be detected and how.
16784 cat >conftest.$ac_ext <<_ACEOF
16785 /* confdefs.h. */
16786 _ACEOF
16787 cat confdefs.h >>conftest.$ac_ext
16788 cat >>conftest.$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16790 #include <ac_nonexistent.h>
16791 _ACEOF
16792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16794 ac_status=$?
16795 grep -v '^ *+' conftest.er1 >conftest.err
16796 rm -f conftest.er1
16797 cat conftest.err >&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } >/dev/null; then
16800 if test -s conftest.err; then
16801 ac_cpp_err=$ac_c_preproc_warn_flag
16802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16803 else
16804 ac_cpp_err=
16805 fi
16806 else
16807 ac_cpp_err=yes
16808 fi
16809 if test -z "$ac_cpp_err"; then
16810 # Broken: success on invalid input.
16811 continue
16812 else
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.$ac_ext >&5
16815
16816 # Passes both tests.
16817 ac_preproc_ok=:
16818 break
16819 fi
16820 rm -f conftest.err conftest.$ac_ext
16821
16822 done
16823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16824 rm -f conftest.err conftest.$ac_ext
16825 if $ac_preproc_ok; then
16826 :
16827 else
16828 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16829 See \`config.log' for more details." >&5
16830 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16831 See \`config.log' for more details." >&2;}
16832 { (exit 1); exit 1; }; }
16833 fi
16834
16835 ac_ext=c
16836 ac_cpp='$CPP $CPPFLAGS'
16837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16840
16841
16842 echo "$as_me:$LINENO: checking for egrep" >&5
16843 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
16844 if test "${ac_cv_prog_egrep+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 else
16847 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
16848 then ac_cv_prog_egrep='grep -E'
16849 else ac_cv_prog_egrep='egrep'
16850 fi
16851 fi
16852 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
16853 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
16854 EGREP=$ac_cv_prog_egrep
16855
16856
16857 if test $ac_cv_c_compiler_gnu = yes; then
16858 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16859 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
16860 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16862 else
16863 ac_pattern="Autoconf.*'x'"
16864 cat >conftest.$ac_ext <<_ACEOF
16865 /* confdefs.h. */
16866 _ACEOF
16867 cat confdefs.h >>conftest.$ac_ext
16868 cat >>conftest.$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16870 #include <sgtty.h>
16871 Autoconf TIOCGETP
16872 _ACEOF
16873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16874 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16875 ac_cv_prog_gcc_traditional=yes
16876 else
16877 ac_cv_prog_gcc_traditional=no
16878 fi
16879 rm -f conftest*
16880
16881
16882 if test $ac_cv_prog_gcc_traditional = no; then
16883 cat >conftest.$ac_ext <<_ACEOF
16884 /* confdefs.h. */
16885 _ACEOF
16886 cat confdefs.h >>conftest.$ac_ext
16887 cat >>conftest.$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16889 #include <termio.h>
16890 Autoconf TCGETA
16891 _ACEOF
16892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16893 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16894 ac_cv_prog_gcc_traditional=yes
16895 fi
16896 rm -f conftest*
16897
16898 fi
16899 fi
16900 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16901 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
16902 if test $ac_cv_prog_gcc_traditional = yes; then
16903 CC="$CC -traditional"
16904 fi
16905 fi
16906
16907
16908 CXXFLAGS=${CXXFLAGS:=}
16909
16910
16911
16912 ac_ext=cc
16913 ac_cpp='$CXXCPP $CPPFLAGS'
16914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16917 if test -n "$ac_tool_prefix"; then
16918 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
16919 do
16920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16922 echo "$as_me:$LINENO: checking for $ac_word" >&5
16923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16924 if test "${ac_cv_prog_CXX+set}" = set; then
16925 echo $ECHO_N "(cached) $ECHO_C" >&6
16926 else
16927 if test -n "$CXX"; then
16928 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16929 else
16930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16931 for as_dir in $PATH
16932 do
16933 IFS=$as_save_IFS
16934 test -z "$as_dir" && as_dir=.
16935 for ac_exec_ext in '' $ac_executable_extensions; do
16936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16937 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16939 break 2
16940 fi
16941 done
16942 done
16943
16944 fi
16945 fi
16946 CXX=$ac_cv_prog_CXX
16947 if test -n "$CXX"; then
16948 echo "$as_me:$LINENO: result: $CXX" >&5
16949 echo "${ECHO_T}$CXX" >&6
16950 else
16951 echo "$as_me:$LINENO: result: no" >&5
16952 echo "${ECHO_T}no" >&6
16953 fi
16954
16955 test -n "$CXX" && break
16956 done
16957 fi
16958 if test -z "$CXX"; then
16959 ac_ct_CXX=$CXX
16960 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
16961 do
16962 # Extract the first word of "$ac_prog", so it can be a program name with args.
16963 set dummy $ac_prog; ac_word=$2
16964 echo "$as_me:$LINENO: checking for $ac_word" >&5
16965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16966 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16967 echo $ECHO_N "(cached) $ECHO_C" >&6
16968 else
16969 if test -n "$ac_ct_CXX"; then
16970 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16971 else
16972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16973 for as_dir in $PATH
16974 do
16975 IFS=$as_save_IFS
16976 test -z "$as_dir" && as_dir=.
16977 for ac_exec_ext in '' $ac_executable_extensions; do
16978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16979 ac_cv_prog_ac_ct_CXX="$ac_prog"
16980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16981 break 2
16982 fi
16983 done
16984 done
16985
16986 fi
16987 fi
16988 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16989 if test -n "$ac_ct_CXX"; then
16990 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16991 echo "${ECHO_T}$ac_ct_CXX" >&6
16992 else
16993 echo "$as_me:$LINENO: result: no" >&5
16994 echo "${ECHO_T}no" >&6
16995 fi
16996
16997 test -n "$ac_ct_CXX" && break
16998 done
16999 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
17000
17001 CXX=$ac_ct_CXX
17002 fi
17003
17004
17005 # Provide some information about the compiler.
17006 echo "$as_me:$LINENO:" \
17007 "checking for C++ compiler version" >&5
17008 ac_compiler=`set X $ac_compile; echo $2`
17009 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
17010 (eval $ac_compiler --version </dev/null >&5) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }
17014 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
17015 (eval $ac_compiler -v </dev/null >&5) 2>&5
17016 ac_status=$?
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }
17019 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
17020 (eval $ac_compiler -V </dev/null >&5) 2>&5
17021 ac_status=$?
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }
17024
17025 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17026 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
17027 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 else
17030 cat >conftest.$ac_ext <<_ACEOF
17031 /* confdefs.h. */
17032 _ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17036
17037 int
17038 main ()
17039 {
17040 #ifndef __GNUC__
17041 choke me
17042 #endif
17043
17044 ;
17045 return 0;
17046 }
17047 _ACEOF
17048 rm -f conftest.$ac_objext
17049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17050 (eval $ac_compile) 2>conftest.er1
17051 ac_status=$?
17052 grep -v '^ *+' conftest.er1 >conftest.err
17053 rm -f conftest.er1
17054 cat conftest.err >&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } &&
17057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17060 ac_status=$?
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; } &&
17063 { ac_try='test -s conftest.$ac_objext'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17066 ac_status=$?
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; }; then
17069 ac_compiler_gnu=yes
17070 else
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.$ac_ext >&5
17073
17074 ac_compiler_gnu=no
17075 fi
17076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17077 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17078
17079 fi
17080 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17081 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
17082 GXX=`test $ac_compiler_gnu = yes && echo yes`
17083 ac_test_CXXFLAGS=${CXXFLAGS+set}
17084 ac_save_CXXFLAGS=$CXXFLAGS
17085 CXXFLAGS="-g"
17086 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17087 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
17088 if test "${ac_cv_prog_cxx_g+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 else
17091 cat >conftest.$ac_ext <<_ACEOF
17092 /* confdefs.h. */
17093 _ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097
17098 int
17099 main ()
17100 {
17101
17102 ;
17103 return 0;
17104 }
17105 _ACEOF
17106 rm -f conftest.$ac_objext
17107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17108 (eval $ac_compile) 2>conftest.er1
17109 ac_status=$?
17110 grep -v '^ *+' conftest.er1 >conftest.err
17111 rm -f conftest.er1
17112 cat conftest.err >&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } &&
17115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17118 ac_status=$?
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); }; } &&
17121 { ac_try='test -s conftest.$ac_objext'
17122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17123 (eval $ac_try) 2>&5
17124 ac_status=$?
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); }; }; then
17127 ac_cv_prog_cxx_g=yes
17128 else
17129 echo "$as_me: failed program was:" >&5
17130 sed 's/^/| /' conftest.$ac_ext >&5
17131
17132 ac_cv_prog_cxx_g=no
17133 fi
17134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17135 fi
17136 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17137 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
17138 if test "$ac_test_CXXFLAGS" = set; then
17139 CXXFLAGS=$ac_save_CXXFLAGS
17140 elif test $ac_cv_prog_cxx_g = yes; then
17141 if test "$GXX" = yes; then
17142 CXXFLAGS="-g -O2"
17143 else
17144 CXXFLAGS="-g"
17145 fi
17146 else
17147 if test "$GXX" = yes; then
17148 CXXFLAGS="-O2"
17149 else
17150 CXXFLAGS=
17151 fi
17152 fi
17153 for ac_declaration in \
17154 '' \
17155 'extern "C" void std::exit (int) throw (); using std::exit;' \
17156 'extern "C" void std::exit (int); using std::exit;' \
17157 'extern "C" void exit (int) throw ();' \
17158 'extern "C" void exit (int);' \
17159 'void exit (int);'
17160 do
17161 cat >conftest.$ac_ext <<_ACEOF
17162 /* confdefs.h. */
17163 _ACEOF
17164 cat confdefs.h >>conftest.$ac_ext
17165 cat >>conftest.$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17167 $ac_declaration
17168 #include <stdlib.h>
17169 int
17170 main ()
17171 {
17172 exit (42);
17173 ;
17174 return 0;
17175 }
17176 _ACEOF
17177 rm -f conftest.$ac_objext
17178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17179 (eval $ac_compile) 2>conftest.er1
17180 ac_status=$?
17181 grep -v '^ *+' conftest.er1 >conftest.err
17182 rm -f conftest.er1
17183 cat conftest.err >&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } &&
17186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17188 (eval $ac_try) 2>&5
17189 ac_status=$?
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); }; } &&
17192 { ac_try='test -s conftest.$ac_objext'
17193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17194 (eval $ac_try) 2>&5
17195 ac_status=$?
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); }; }; then
17198 :
17199 else
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17202
17203 continue
17204 fi
17205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17206 cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h. */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 $ac_declaration
17213 int
17214 main ()
17215 {
17216 exit (42);
17217 ;
17218 return 0;
17219 }
17220 _ACEOF
17221 rm -f conftest.$ac_objext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17223 (eval $ac_compile) 2>conftest.er1
17224 ac_status=$?
17225 grep -v '^ *+' conftest.er1 >conftest.err
17226 rm -f conftest.er1
17227 cat conftest.err >&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); } &&
17230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17232 (eval $ac_try) 2>&5
17233 ac_status=$?
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); }; } &&
17236 { ac_try='test -s conftest.$ac_objext'
17237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17238 (eval $ac_try) 2>&5
17239 ac_status=$?
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; }; then
17242 break
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 fi
17248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17249 done
17250 rm -f conftest*
17251 if test -n "$ac_declaration"; then
17252 echo '#ifdef __cplusplus' >>confdefs.h
17253 echo $ac_declaration >>confdefs.h
17254 echo '#endif' >>confdefs.h
17255 fi
17256
17257 ac_ext=c
17258 ac_cpp='$CPP $CPPFLAGS'
17259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17262
17263
17264
17265
17266 ac_ext=cc
17267 ac_cpp='$CXXCPP $CPPFLAGS'
17268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17271
17272 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17273 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
17274 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17275 echo $ECHO_N "(cached) $ECHO_C" >&6
17276 else
17277 cat >conftest.$ac_ext <<_ACEOF
17278 /* confdefs.h. */
17279 _ACEOF
17280 cat confdefs.h >>conftest.$ac_ext
17281 cat >>conftest.$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283
17284 int
17285 main ()
17286 {
17287
17288 #ifndef __INTEL_COMPILER
17289 choke me
17290 #endif
17291
17292 ;
17293 return 0;
17294 }
17295 _ACEOF
17296 rm -f conftest.$ac_objext
17297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17298 (eval $ac_compile) 2>conftest.er1
17299 ac_status=$?
17300 grep -v '^ *+' conftest.er1 >conftest.err
17301 rm -f conftest.er1
17302 cat conftest.err >&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } &&
17305 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17308 ac_status=$?
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; } &&
17311 { ac_try='test -s conftest.$ac_objext'
17312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17313 (eval $ac_try) 2>&5
17314 ac_status=$?
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); }; }; then
17317 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17318 else
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17321
17322 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17323
17324 fi
17325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17326
17327
17328 fi
17329 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17330 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
17331 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17332 :; INTELCXX=yes
17333 else
17334 :;
17335 fi
17336 ac_ext=c
17337 ac_cpp='$CPP $CPPFLAGS'
17338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17341
17342
17343
17344
17345 if test "x$GCXX" != "xyes"; then
17346 if test "xCXX" = "xC"; then
17347 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17348 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
17349 if test "${bakefile_cv_c_exto+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17351 else
17352 cat >conftest.$ac_ext <<_ACEOF
17353 /* confdefs.h. */
17354 _ACEOF
17355 cat confdefs.h >>conftest.$ac_ext
17356 cat >>conftest.$ac_ext <<_ACEOF
17357 /* end confdefs.h. */
17358
17359 int
17360 main ()
17361 {
17362
17363 ;
17364 return 0;
17365 }
17366 _ACEOF
17367 rm -f conftest.$ac_objext conftest.$ac_ext.o
17368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17369 (eval $ac_compile) 2>&5
17370 ac_status=$?
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; then
17373 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17374 case $ac_file in
17375 conftest.$ac_ext.o)
17376 bakefile_cv_c_exto="-ext o"
17377 ;;
17378 *)
17379 ;;
17380 esac
17381 done
17382 else
17383 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17384 See \`config.log' for more details." >&5
17385 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17386 See \`config.log' for more details." >&2;}
17387 { (exit 1); exit 1; }; }
17388
17389 fi
17390
17391 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17392
17393 fi
17394 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17395 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
17396 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17397 if test "c" = "c"; then
17398 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17399 fi
17400 if test "c" = "cxx"; then
17401 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17402 fi
17403 fi
17404
17405 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17406 unset ac_cv_prog_cc_g
17407 ac_test_CFLAGS=${CFLAGS+set}
17408 ac_save_CFLAGS=$CFLAGS
17409 CFLAGS="-g"
17410 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17411 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
17412 if test "${ac_cv_prog_cc_g+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 else
17415 cat >conftest.$ac_ext <<_ACEOF
17416 /* confdefs.h. */
17417 _ACEOF
17418 cat confdefs.h >>conftest.$ac_ext
17419 cat >>conftest.$ac_ext <<_ACEOF
17420 /* end confdefs.h. */
17421
17422 int
17423 main ()
17424 {
17425
17426 ;
17427 return 0;
17428 }
17429 _ACEOF
17430 rm -f conftest.$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17433 ac_status=$?
17434 grep -v '^ *+' conftest.er1 >conftest.err
17435 rm -f conftest.er1
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17441 (eval $ac_try) 2>&5
17442 ac_status=$?
17443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17444 (exit $ac_status); }; } &&
17445 { ac_try='test -s conftest.$ac_objext'
17446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17447 (eval $ac_try) 2>&5
17448 ac_status=$?
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); }; }; then
17451 ac_cv_prog_cc_g=yes
17452 else
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.$ac_ext >&5
17455
17456 ac_cv_prog_cc_g=no
17457 fi
17458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17459 fi
17460 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17461 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
17462 if test "$ac_test_CFLAGS" = set; then
17463 CFLAGS=$ac_save_CFLAGS
17464 elif test $ac_cv_prog_cc_g = yes; then
17465 if test "$GCC" = yes; then
17466 CFLAGS="-g -O2"
17467 else
17468 CFLAGS="-g"
17469 fi
17470 else
17471 if test "$GCC" = yes; then
17472 CFLAGS="-O2"
17473 else
17474 CFLAGS=
17475 fi
17476 fi
17477 fi
17478 fi
17479
17480 case `uname -s` in
17481 AIX*)
17482
17483
17484 ac_ext=cc
17485 ac_cpp='$CXXCPP $CPPFLAGS'
17486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17489
17490 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17491 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
17492 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 else
17495 cat >conftest.$ac_ext <<_ACEOF
17496 /* confdefs.h. */
17497 _ACEOF
17498 cat confdefs.h >>conftest.$ac_ext
17499 cat >>conftest.$ac_ext <<_ACEOF
17500 /* end confdefs.h. */
17501
17502 int
17503 main ()
17504 {
17505
17506 #ifndef __xlC__
17507 choke me
17508 #endif
17509
17510 ;
17511 return 0;
17512 }
17513 _ACEOF
17514 rm -f conftest.$ac_objext
17515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17516 (eval $ac_compile) 2>conftest.er1
17517 ac_status=$?
17518 grep -v '^ *+' conftest.er1 >conftest.err
17519 rm -f conftest.er1
17520 cat conftest.err >&5
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); } &&
17523 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17525 (eval $ac_try) 2>&5
17526 ac_status=$?
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); }; } &&
17529 { ac_try='test -s conftest.$ac_objext'
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17532 ac_status=$?
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 bakefile_cv_cxx_compiler___xlC__=yes
17536 else
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.$ac_ext >&5
17539
17540 bakefile_cv_cxx_compiler___xlC__=no
17541
17542 fi
17543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17544
17545
17546 fi
17547 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17548 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
17549 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17550 :; XLCXX=yes
17551 else
17552 :;
17553 fi
17554 ac_ext=c
17555 ac_cpp='$CPP $CPPFLAGS'
17556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17559
17560
17561
17562 ;;
17563
17564 Darwin)
17565
17566
17567 ac_ext=cc
17568 ac_cpp='$CXXCPP $CPPFLAGS'
17569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17572
17573 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17574 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
17575 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 else
17578 cat >conftest.$ac_ext <<_ACEOF
17579 /* confdefs.h. */
17580 _ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584
17585 int
17586 main ()
17587 {
17588
17589 #ifndef __MWERKS__
17590 choke me
17591 #endif
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext
17598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17599 (eval $ac_compile) 2>conftest.er1
17600 ac_status=$?
17601 grep -v '^ *+' conftest.er1 >conftest.err
17602 rm -f conftest.er1
17603 cat conftest.err >&5
17604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17605 (exit $ac_status); } &&
17606 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17609 ac_status=$?
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; } &&
17612 { ac_try='test -s conftest.$ac_objext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17615 ac_status=$?
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17618 bakefile_cv_cxx_compiler___MWERKS__=yes
17619 else
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.$ac_ext >&5
17622
17623 bakefile_cv_cxx_compiler___MWERKS__=no
17624
17625 fi
17626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17627
17628
17629 fi
17630 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17631 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6
17632 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17633 :; MWCXX=yes
17634 else
17635 :;
17636 fi
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
17644
17645
17646
17647 ac_ext=cc
17648 ac_cpp='$CXXCPP $CPPFLAGS'
17649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17652
17653 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17654 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
17655 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 else
17658 cat >conftest.$ac_ext <<_ACEOF
17659 /* confdefs.h. */
17660 _ACEOF
17661 cat confdefs.h >>conftest.$ac_ext
17662 cat >>conftest.$ac_ext <<_ACEOF
17663 /* end confdefs.h. */
17664
17665 int
17666 main ()
17667 {
17668
17669 #ifndef __xlC__
17670 choke me
17671 #endif
17672
17673 ;
17674 return 0;
17675 }
17676 _ACEOF
17677 rm -f conftest.$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679 (eval $ac_compile) 2>conftest.er1
17680 ac_status=$?
17681 grep -v '^ *+' conftest.er1 >conftest.err
17682 rm -f conftest.er1
17683 cat conftest.err >&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
17686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17688 (eval $ac_try) 2>&5
17689 ac_status=$?
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; } &&
17692 { ac_try='test -s conftest.$ac_objext'
17693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17694 (eval $ac_try) 2>&5
17695 ac_status=$?
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17697 (exit $ac_status); }; }; then
17698 bakefile_cv_cxx_compiler___xlC__=yes
17699 else
17700 echo "$as_me: failed program was:" >&5
17701 sed 's/^/| /' conftest.$ac_ext >&5
17702
17703 bakefile_cv_cxx_compiler___xlC__=no
17704
17705 fi
17706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17707
17708
17709 fi
17710 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17711 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
17712 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17713 :; XLCXX=yes
17714 else
17715 :;
17716 fi
17717 ac_ext=c
17718 ac_cpp='$CPP $CPPFLAGS'
17719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17722
17723
17724
17725 ;;
17726
17727 IRIX*)
17728
17729
17730 ac_ext=cc
17731 ac_cpp='$CXXCPP $CPPFLAGS'
17732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17735
17736 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17737 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
17738 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 else
17741 cat >conftest.$ac_ext <<_ACEOF
17742 /* confdefs.h. */
17743 _ACEOF
17744 cat confdefs.h >>conftest.$ac_ext
17745 cat >>conftest.$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17747
17748 int
17749 main ()
17750 {
17751
17752 #ifndef _SGI_COMPILER_VERSION
17753 choke me
17754 #endif
17755
17756 ;
17757 return 0;
17758 }
17759 _ACEOF
17760 rm -f conftest.$ac_objext
17761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17762 (eval $ac_compile) 2>conftest.er1
17763 ac_status=$?
17764 grep -v '^ *+' conftest.er1 >conftest.err
17765 rm -f conftest.er1
17766 cat conftest.err >&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } &&
17769 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771 (eval $ac_try) 2>&5
17772 ac_status=$?
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; } &&
17775 { ac_try='test -s conftest.$ac_objext'
17776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17777 (eval $ac_try) 2>&5
17778 ac_status=$?
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); }; }; then
17781 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17782 else
17783 echo "$as_me: failed program was:" >&5
17784 sed 's/^/| /' conftest.$ac_ext >&5
17785
17786 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17787
17788 fi
17789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17790
17791
17792 fi
17793 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17794 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
17795 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17796 :; SGICXX=yes
17797 else
17798 :;
17799 fi
17800 ac_ext=c
17801 ac_cpp='$CPP $CPPFLAGS'
17802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17805
17806
17807
17808 ;;
17809
17810 Linux*)
17811
17812
17813 ac_ext=cc
17814 ac_cpp='$CXXCPP $CPPFLAGS'
17815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17818
17819 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17820 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
17821 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17822 echo $ECHO_N "(cached) $ECHO_C" >&6
17823 else
17824 cat >conftest.$ac_ext <<_ACEOF
17825 /* confdefs.h. */
17826 _ACEOF
17827 cat confdefs.h >>conftest.$ac_ext
17828 cat >>conftest.$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830
17831 int
17832 main ()
17833 {
17834
17835 #ifndef __SUNPRO_CC
17836 choke me
17837 #endif
17838
17839 ;
17840 return 0;
17841 }
17842 _ACEOF
17843 rm -f conftest.$ac_objext
17844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17845 (eval $ac_compile) 2>conftest.er1
17846 ac_status=$?
17847 grep -v '^ *+' conftest.er1 >conftest.err
17848 rm -f conftest.er1
17849 cat conftest.err >&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } &&
17852 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; } &&
17858 { ac_try='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17865 else
17866 echo "$as_me: failed program was:" >&5
17867 sed 's/^/| /' conftest.$ac_ext >&5
17868
17869 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17870
17871 fi
17872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17873
17874
17875 fi
17876 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17877 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
17878 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17879 :; SUNCXX=yes
17880 else
17881 :;
17882 fi
17883 ac_ext=c
17884 ac_cpp='$CPP $CPPFLAGS'
17885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17888
17889
17890
17891 ;;
17892
17893 HP-UX*)
17894
17895
17896 ac_ext=cc
17897 ac_cpp='$CXXCPP $CPPFLAGS'
17898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17901
17902 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17903 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
17904 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17905 echo $ECHO_N "(cached) $ECHO_C" >&6
17906 else
17907 cat >conftest.$ac_ext <<_ACEOF
17908 /* confdefs.h. */
17909 _ACEOF
17910 cat confdefs.h >>conftest.$ac_ext
17911 cat >>conftest.$ac_ext <<_ACEOF
17912 /* end confdefs.h. */
17913
17914 int
17915 main ()
17916 {
17917
17918 #ifndef __HP_aCC
17919 choke me
17920 #endif
17921
17922 ;
17923 return 0;
17924 }
17925 _ACEOF
17926 rm -f conftest.$ac_objext
17927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17928 (eval $ac_compile) 2>conftest.er1
17929 ac_status=$?
17930 grep -v '^ *+' conftest.er1 >conftest.err
17931 rm -f conftest.er1
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } &&
17935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17938 ac_status=$?
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; } &&
17941 { ac_try='test -s conftest.$ac_objext'
17942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17943 (eval $ac_try) 2>&5
17944 ac_status=$?
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); }; }; then
17947 bakefile_cv_cxx_compiler___HP_aCC=yes
17948 else
17949 echo "$as_me: failed program was:" >&5
17950 sed 's/^/| /' conftest.$ac_ext >&5
17951
17952 bakefile_cv_cxx_compiler___HP_aCC=no
17953
17954 fi
17955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17956
17957
17958 fi
17959 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17960 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
17961 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17962 :; HPCXX=yes
17963 else
17964 :;
17965 fi
17966 ac_ext=c
17967 ac_cpp='$CPP $CPPFLAGS'
17968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17971
17972
17973
17974 ;;
17975
17976 OSF1)
17977
17978
17979 ac_ext=cc
17980 ac_cpp='$CXXCPP $CPPFLAGS'
17981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17984
17985 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17986 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
17987 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17988 echo $ECHO_N "(cached) $ECHO_C" >&6
17989 else
17990 cat >conftest.$ac_ext <<_ACEOF
17991 /* confdefs.h. */
17992 _ACEOF
17993 cat confdefs.h >>conftest.$ac_ext
17994 cat >>conftest.$ac_ext <<_ACEOF
17995 /* end confdefs.h. */
17996
17997 int
17998 main ()
17999 {
18000
18001 #ifndef __DECCXX
18002 choke me
18003 #endif
18004
18005 ;
18006 return 0;
18007 }
18008 _ACEOF
18009 rm -f conftest.$ac_objext
18010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18011 (eval $ac_compile) 2>conftest.er1
18012 ac_status=$?
18013 grep -v '^ *+' conftest.er1 >conftest.err
18014 rm -f conftest.er1
18015 cat conftest.err >&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); } &&
18018 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18020 (eval $ac_try) 2>&5
18021 ac_status=$?
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); }; } &&
18024 { ac_try='test -s conftest.$ac_objext'
18025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18026 (eval $ac_try) 2>&5
18027 ac_status=$?
18028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18029 (exit $ac_status); }; }; then
18030 bakefile_cv_cxx_compiler___DECCXX=yes
18031 else
18032 echo "$as_me: failed program was:" >&5
18033 sed 's/^/| /' conftest.$ac_ext >&5
18034
18035 bakefile_cv_cxx_compiler___DECCXX=no
18036
18037 fi
18038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18039
18040
18041 fi
18042 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18043 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
18044 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18045 :; COMPAQCXX=yes
18046 else
18047 :;
18048 fi
18049 ac_ext=c
18050 ac_cpp='$CPP $CPPFLAGS'
18051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18054
18055
18056
18057 ;;
18058
18059 SunOS)
18060
18061
18062 ac_ext=cc
18063 ac_cpp='$CXXCPP $CPPFLAGS'
18064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18067
18068 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18069 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
18070 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 else
18073 cat >conftest.$ac_ext <<_ACEOF
18074 /* confdefs.h. */
18075 _ACEOF
18076 cat confdefs.h >>conftest.$ac_ext
18077 cat >>conftest.$ac_ext <<_ACEOF
18078 /* end confdefs.h. */
18079
18080 int
18081 main ()
18082 {
18083
18084 #ifndef __SUNPRO_CC
18085 choke me
18086 #endif
18087
18088 ;
18089 return 0;
18090 }
18091 _ACEOF
18092 rm -f conftest.$ac_objext
18093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18094 (eval $ac_compile) 2>conftest.er1
18095 ac_status=$?
18096 grep -v '^ *+' conftest.er1 >conftest.err
18097 rm -f conftest.er1
18098 cat conftest.err >&5
18099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18100 (exit $ac_status); } &&
18101 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18103 (eval $ac_try) 2>&5
18104 ac_status=$?
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); }; } &&
18107 { ac_try='test -s conftest.$ac_objext'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18110 ac_status=$?
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; }; then
18113 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18114 else
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.$ac_ext >&5
18117
18118 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18119
18120 fi
18121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18122
18123
18124 fi
18125 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18126 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
18127 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18128 :; SUNCXX=yes
18129 else
18130 :;
18131 fi
18132 ac_ext=c
18133 ac_cpp='$CPP $CPPFLAGS'
18134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18137
18138
18139
18140 ;;
18141 esac
18142 fi
18143
18144
18145
18146 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18147 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18148 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18149 { (exit 1); exit 1; }; }
18150 fi
18151
18152 if test -n "$ac_tool_prefix"; then
18153 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
18154 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
18155 echo "$as_me:$LINENO: checking for $ac_word" >&5
18156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18157 if test "${ac_cv_prog_RANLIB+set}" = set; then
18158 echo $ECHO_N "(cached) $ECHO_C" >&6
18159 else
18160 if test -n "$RANLIB"; then
18161 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
18162 else
18163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18164 for as_dir in $PATH
18165 do
18166 IFS=$as_save_IFS
18167 test -z "$as_dir" && as_dir=.
18168 for ac_exec_ext in '' $ac_executable_extensions; do
18169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18170 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
18171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18172 break 2
18173 fi
18174 done
18175 done
18176
18177 fi
18178 fi
18179 RANLIB=$ac_cv_prog_RANLIB
18180 if test -n "$RANLIB"; then
18181 echo "$as_me:$LINENO: result: $RANLIB" >&5
18182 echo "${ECHO_T}$RANLIB" >&6
18183 else
18184 echo "$as_me:$LINENO: result: no" >&5
18185 echo "${ECHO_T}no" >&6
18186 fi
18187
18188 fi
18189 if test -z "$ac_cv_prog_RANLIB"; then
18190 ac_ct_RANLIB=$RANLIB
18191 # Extract the first word of "ranlib", so it can be a program name with args.
18192 set dummy ranlib; ac_word=$2
18193 echo "$as_me:$LINENO: checking for $ac_word" >&5
18194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18195 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18197 else
18198 if test -n "$ac_ct_RANLIB"; then
18199 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
18200 else
18201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18202 for as_dir in $PATH
18203 do
18204 IFS=$as_save_IFS
18205 test -z "$as_dir" && as_dir=.
18206 for ac_exec_ext in '' $ac_executable_extensions; do
18207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18208 ac_cv_prog_ac_ct_RANLIB="ranlib"
18209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18210 break 2
18211 fi
18212 done
18213 done
18214
18215 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
18216 fi
18217 fi
18218 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
18219 if test -n "$ac_ct_RANLIB"; then
18220 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
18221 echo "${ECHO_T}$ac_ct_RANLIB" >&6
18222 else
18223 echo "$as_me:$LINENO: result: no" >&5
18224 echo "${ECHO_T}no" >&6
18225 fi
18226
18227 RANLIB=$ac_ct_RANLIB
18228 else
18229 RANLIB="$ac_cv_prog_RANLIB"
18230 fi
18231
18232
18233 if test "x$SUNCXX" != xyes; then
18234 if test -n "$ac_tool_prefix"; then
18235 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18236 set dummy ${ac_tool_prefix}ar; ac_word=$2
18237 echo "$as_me:$LINENO: checking for $ac_word" >&5
18238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18239 if test "${ac_cv_prog_AR+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 else
18242 if test -n "$AR"; then
18243 ac_cv_prog_AR="$AR" # Let the user override the test.
18244 else
18245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18246 for as_dir in $PATH
18247 do
18248 IFS=$as_save_IFS
18249 test -z "$as_dir" && as_dir=.
18250 for ac_exec_ext in '' $ac_executable_extensions; do
18251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18252 ac_cv_prog_AR="${ac_tool_prefix}ar"
18253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18254 break 2
18255 fi
18256 done
18257 done
18258
18259 fi
18260 fi
18261 AR=$ac_cv_prog_AR
18262 if test -n "$AR"; then
18263 echo "$as_me:$LINENO: result: $AR" >&5
18264 echo "${ECHO_T}$AR" >&6
18265 else
18266 echo "$as_me:$LINENO: result: no" >&5
18267 echo "${ECHO_T}no" >&6
18268 fi
18269
18270 fi
18271 if test -z "$ac_cv_prog_AR"; then
18272 ac_ct_AR=$AR
18273 # Extract the first word of "ar", so it can be a program name with args.
18274 set dummy ar; ac_word=$2
18275 echo "$as_me:$LINENO: checking for $ac_word" >&5
18276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18277 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 else
18280 if test -n "$ac_ct_AR"; then
18281 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18282 else
18283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18284 for as_dir in $PATH
18285 do
18286 IFS=$as_save_IFS
18287 test -z "$as_dir" && as_dir=.
18288 for ac_exec_ext in '' $ac_executable_extensions; do
18289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18290 ac_cv_prog_ac_ct_AR="ar"
18291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18292 break 2
18293 fi
18294 done
18295 done
18296
18297 fi
18298 fi
18299 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18300 if test -n "$ac_ct_AR"; then
18301 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18302 echo "${ECHO_T}$ac_ct_AR" >&6
18303 else
18304 echo "$as_me:$LINENO: result: no" >&5
18305 echo "${ECHO_T}no" >&6
18306 fi
18307
18308 AR=$ac_ct_AR
18309 else
18310 AR="$ac_cv_prog_AR"
18311 fi
18312
18313 if test "x$AR" = "x" ; then
18314 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18315 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18316 { (exit 1); exit 1; }; }
18317 fi
18318 fi
18319
18320 # Find a good install program. We prefer a C program (faster),
18321 # so one script is as good as another. But avoid the broken or
18322 # incompatible versions:
18323 # SysV /etc/install, /usr/sbin/install
18324 # SunOS /usr/etc/install
18325 # IRIX /sbin/install
18326 # AIX /bin/install
18327 # AmigaOS /C/install, which installs bootblocks on floppy discs
18328 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
18329 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
18330 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18331 # OS/2's system install, which has a completely different semantic
18332 # ./install, which can be erroneously created by make from ./install.sh.
18333 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18334 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
18335 if test -z "$INSTALL"; then
18336 if test "${ac_cv_path_install+set}" = set; then
18337 echo $ECHO_N "(cached) $ECHO_C" >&6
18338 else
18339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18340 for as_dir in $PATH
18341 do
18342 IFS=$as_save_IFS
18343 test -z "$as_dir" && as_dir=.
18344 # Account for people who put trailing slashes in PATH elements.
18345 case $as_dir/ in
18346 ./ | .// | /cC/* | \
18347 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
18348 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
18349 /usr/ucb/* ) ;;
18350 *)
18351 # OSF1 and SCO ODT 3.0 have their own names for install.
18352 # Don't use installbsd from OSF since it installs stuff as root
18353 # by default.
18354 for ac_prog in ginstall scoinst install; do
18355 for ac_exec_ext in '' $ac_executable_extensions; do
18356 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
18357 if test $ac_prog = install &&
18358 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18359 # AIX install. It has an incompatible calling convention.
18360 :
18361 elif test $ac_prog = install &&
18362 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18363 # program-specific install script used by HP pwplus--don't use.
18364 :
18365 else
18366 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
18367 break 3
18368 fi
18369 fi
18370 done
18371 done
18372 ;;
18373 esac
18374 done
18375
18376
18377 fi
18378 if test "${ac_cv_path_install+set}" = set; then
18379 INSTALL=$ac_cv_path_install
18380 else
18381 # As a last resort, use the slow shell script. We don't cache a
18382 # path for INSTALL within a source directory, because that will
18383 # break other packages using the cache if that directory is
18384 # removed, or if the path is relative.
18385 INSTALL=$ac_install_sh
18386 fi
18387 fi
18388 echo "$as_me:$LINENO: result: $INSTALL" >&5
18389 echo "${ECHO_T}$INSTALL" >&6
18390
18391 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18392 # It thinks the first close brace ends the variable substitution.
18393 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
18394
18395 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
18396
18397 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18398
18399
18400 case ${INSTALL} in
18401 /* ) # Absolute
18402 ;;
18403 ?:* ) # Drive letter, considered as absolute.
18404 ;;
18405 *)
18406 INSTALL=`pwd`/${INSTALL} ;;
18407 esac
18408
18409
18410 case "${host}" in
18411
18412 *-*-darwin* )
18413 INSTALL_PROGRAM="cp -fp"
18414 INSTALL_DATA="cp -fp"
18415 ;;
18416 *)
18417 ;;
18418 esac
18419
18420 if test -n "$ac_tool_prefix"; then
18421 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
18422 set dummy ${ac_tool_prefix}strip; ac_word=$2
18423 echo "$as_me:$LINENO: checking for $ac_word" >&5
18424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18425 if test "${ac_cv_prog_STRIP+set}" = set; then
18426 echo $ECHO_N "(cached) $ECHO_C" >&6
18427 else
18428 if test -n "$STRIP"; then
18429 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
18430 else
18431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18432 for as_dir in $PATH
18433 do
18434 IFS=$as_save_IFS
18435 test -z "$as_dir" && as_dir=.
18436 for ac_exec_ext in '' $ac_executable_extensions; do
18437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18438 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
18439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18440 break 2
18441 fi
18442 done
18443 done
18444
18445 fi
18446 fi
18447 STRIP=$ac_cv_prog_STRIP
18448 if test -n "$STRIP"; then
18449 echo "$as_me:$LINENO: result: $STRIP" >&5
18450 echo "${ECHO_T}$STRIP" >&6
18451 else
18452 echo "$as_me:$LINENO: result: no" >&5
18453 echo "${ECHO_T}no" >&6
18454 fi
18455
18456 fi
18457 if test -z "$ac_cv_prog_STRIP"; then
18458 ac_ct_STRIP=$STRIP
18459 # Extract the first word of "strip", so it can be a program name with args.
18460 set dummy strip; ac_word=$2
18461 echo "$as_me:$LINENO: checking for $ac_word" >&5
18462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18463 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
18464 echo $ECHO_N "(cached) $ECHO_C" >&6
18465 else
18466 if test -n "$ac_ct_STRIP"; then
18467 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
18468 else
18469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18470 for as_dir in $PATH
18471 do
18472 IFS=$as_save_IFS
18473 test -z "$as_dir" && as_dir=.
18474 for ac_exec_ext in '' $ac_executable_extensions; do
18475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18476 ac_cv_prog_ac_ct_STRIP="strip"
18477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18478 break 2
18479 fi
18480 done
18481 done
18482
18483 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
18484 fi
18485 fi
18486 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
18487 if test -n "$ac_ct_STRIP"; then
18488 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
18489 echo "${ECHO_T}$ac_ct_STRIP" >&6
18490 else
18491 echo "$as_me:$LINENO: result: no" >&5
18492 echo "${ECHO_T}no" >&6
18493 fi
18494
18495 STRIP=$ac_ct_STRIP
18496 else
18497 STRIP="$ac_cv_prog_STRIP"
18498 fi
18499
18500
18501 if test "$wxUSE_WINE" = "yes"; then
18502 if test -n "$ac_tool_prefix"; then
18503 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
18504 set dummy ${ac_tool_prefix}wrc; ac_word=$2
18505 echo "$as_me:$LINENO: checking for $ac_word" >&5
18506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18507 if test "${ac_cv_prog_WINDRES+set}" = set; then
18508 echo $ECHO_N "(cached) $ECHO_C" >&6
18509 else
18510 if test -n "$WINDRES"; then
18511 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
18512 else
18513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18514 for as_dir in $PATH
18515 do
18516 IFS=$as_save_IFS
18517 test -z "$as_dir" && as_dir=.
18518 for ac_exec_ext in '' $ac_executable_extensions; do
18519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18520 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
18521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18522 break 2
18523 fi
18524 done
18525 done
18526
18527 fi
18528 fi
18529 WINDRES=$ac_cv_prog_WINDRES
18530 if test -n "$WINDRES"; then
18531 echo "$as_me:$LINENO: result: $WINDRES" >&5
18532 echo "${ECHO_T}$WINDRES" >&6
18533 else
18534 echo "$as_me:$LINENO: result: no" >&5
18535 echo "${ECHO_T}no" >&6
18536 fi
18537
18538 fi
18539 if test -z "$ac_cv_prog_WINDRES"; then
18540 ac_ct_WINDRES=$WINDRES
18541 # Extract the first word of "wrc", so it can be a program name with args.
18542 set dummy wrc; ac_word=$2
18543 echo "$as_me:$LINENO: checking for $ac_word" >&5
18544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18545 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
18546 echo $ECHO_N "(cached) $ECHO_C" >&6
18547 else
18548 if test -n "$ac_ct_WINDRES"; then
18549 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
18550 else
18551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18552 for as_dir in $PATH
18553 do
18554 IFS=$as_save_IFS
18555 test -z "$as_dir" && as_dir=.
18556 for ac_exec_ext in '' $ac_executable_extensions; do
18557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18558 ac_cv_prog_ac_ct_WINDRES="wrc"
18559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18560 break 2
18561 fi
18562 done
18563 done
18564
18565 fi
18566 fi
18567 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
18568 if test -n "$ac_ct_WINDRES"; then
18569 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
18570 echo "${ECHO_T}$ac_ct_WINDRES" >&6
18571 else
18572 echo "$as_me:$LINENO: result: no" >&5
18573 echo "${ECHO_T}no" >&6
18574 fi
18575
18576 WINDRES=$ac_ct_WINDRES
18577 else
18578 WINDRES="$ac_cv_prog_WINDRES"
18579 fi
18580
18581 RESCOMP="$WINDRES"
18582 else
18583 case "${host}" in
18584 *-*-cygwin* | *-*-mingw32* )
18585 if test -n "$ac_tool_prefix"; then
18586 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
18587 set dummy ${ac_tool_prefix}windres; ac_word=$2
18588 echo "$as_me:$LINENO: checking for $ac_word" >&5
18589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18590 if test "${ac_cv_prog_WINDRES+set}" = set; then
18591 echo $ECHO_N "(cached) $ECHO_C" >&6
18592 else
18593 if test -n "$WINDRES"; then
18594 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
18595 else
18596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18597 for as_dir in $PATH
18598 do
18599 IFS=$as_save_IFS
18600 test -z "$as_dir" && as_dir=.
18601 for ac_exec_ext in '' $ac_executable_extensions; do
18602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18603 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
18604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18605 break 2
18606 fi
18607 done
18608 done
18609
18610 fi
18611 fi
18612 WINDRES=$ac_cv_prog_WINDRES
18613 if test -n "$WINDRES"; then
18614 echo "$as_me:$LINENO: result: $WINDRES" >&5
18615 echo "${ECHO_T}$WINDRES" >&6
18616 else
18617 echo "$as_me:$LINENO: result: no" >&5
18618 echo "${ECHO_T}no" >&6
18619 fi
18620
18621 fi
18622 if test -z "$ac_cv_prog_WINDRES"; then
18623 ac_ct_WINDRES=$WINDRES
18624 # Extract the first word of "windres", so it can be a program name with args.
18625 set dummy windres; ac_word=$2
18626 echo "$as_me:$LINENO: checking for $ac_word" >&5
18627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
18629 echo $ECHO_N "(cached) $ECHO_C" >&6
18630 else
18631 if test -n "$ac_ct_WINDRES"; then
18632 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
18633 else
18634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18635 for as_dir in $PATH
18636 do
18637 IFS=$as_save_IFS
18638 test -z "$as_dir" && as_dir=.
18639 for ac_exec_ext in '' $ac_executable_extensions; do
18640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18641 ac_cv_prog_ac_ct_WINDRES="windres"
18642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18643 break 2
18644 fi
18645 done
18646 done
18647
18648 fi
18649 fi
18650 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
18651 if test -n "$ac_ct_WINDRES"; then
18652 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
18653 echo "${ECHO_T}$ac_ct_WINDRES" >&6
18654 else
18655 echo "$as_me:$LINENO: result: no" >&5
18656 echo "${ECHO_T}no" >&6
18657 fi
18658
18659 WINDRES=$ac_ct_WINDRES
18660 else
18661 WINDRES="$ac_cv_prog_WINDRES"
18662 fi
18663
18664 RESCOMP="$WINDRES"
18665 if test -n "$ac_tool_prefix"; then
18666 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
18667 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
18668 echo "$as_me:$LINENO: checking for $ac_word" >&5
18669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18670 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 else
18673 if test -n "$DLLTOOL"; then
18674 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
18675 else
18676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18677 for as_dir in $PATH
18678 do
18679 IFS=$as_save_IFS
18680 test -z "$as_dir" && as_dir=.
18681 for ac_exec_ext in '' $ac_executable_extensions; do
18682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18683 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
18684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18685 break 2
18686 fi
18687 done
18688 done
18689
18690 fi
18691 fi
18692 DLLTOOL=$ac_cv_prog_DLLTOOL
18693 if test -n "$DLLTOOL"; then
18694 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
18695 echo "${ECHO_T}$DLLTOOL" >&6
18696 else
18697 echo "$as_me:$LINENO: result: no" >&5
18698 echo "${ECHO_T}no" >&6
18699 fi
18700
18701 fi
18702 if test -z "$ac_cv_prog_DLLTOOL"; then
18703 ac_ct_DLLTOOL=$DLLTOOL
18704 # Extract the first word of "dlltool", so it can be a program name with args.
18705 set dummy dlltool; ac_word=$2
18706 echo "$as_me:$LINENO: checking for $ac_word" >&5
18707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18708 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
18709 echo $ECHO_N "(cached) $ECHO_C" >&6
18710 else
18711 if test -n "$ac_ct_DLLTOOL"; then
18712 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
18713 else
18714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18715 for as_dir in $PATH
18716 do
18717 IFS=$as_save_IFS
18718 test -z "$as_dir" && as_dir=.
18719 for ac_exec_ext in '' $ac_executable_extensions; do
18720 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18721 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
18722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18723 break 2
18724 fi
18725 done
18726 done
18727
18728 fi
18729 fi
18730 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
18731 if test -n "$ac_ct_DLLTOOL"; then
18732 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
18733 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
18734 else
18735 echo "$as_me:$LINENO: result: no" >&5
18736 echo "${ECHO_T}no" >&6
18737 fi
18738
18739 DLLTOOL=$ac_ct_DLLTOOL
18740 else
18741 DLLTOOL="$ac_cv_prog_DLLTOOL"
18742 fi
18743
18744 ;;
18745 esac
18746 fi
18747
18748 echo "$as_me:$LINENO: checking if make is GNU make" >&5
18749 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
18750 if test "${wx_cv_prog_makeisgnu+set}" = set; then
18751 echo $ECHO_N "(cached) $ECHO_C" >&6
18752 else
18753
18754 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
18755 $EGREP -s GNU > /dev/null); then
18756 wx_cv_prog_makeisgnu="yes"
18757 else
18758 wx_cv_prog_makeisgnu="no"
18759 fi
18760
18761 fi
18762 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
18763 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
18764
18765 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
18766 IF_GNU_MAKE=""
18767 else
18768 IF_GNU_MAKE="#"
18769 fi
18770
18771
18772
18773 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
18774 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
18775 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
18776 if test "${wx_cv_prog_makevpath+set}" = set; then
18777 echo $ECHO_N "(cached) $ECHO_C" >&6
18778 else
18779
18780 cat - << EOF > confMake
18781 check : file
18782 cp \$? \$@
18783 cp \$? final_file
18784 EOF
18785
18786 if test ! -d sub ; then
18787 mkdir sub
18788 fi
18789 echo dummy > sub/file
18790 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
18791 RESULT=$?
18792 rm -f sub/file check final_file confMake
18793 rmdir sub
18794 if test "$RESULT" = 0; then
18795 wx_cv_prog_makevpath="yes"
18796 else
18797 wx_cv_prog_makevpath="no"
18798 fi
18799
18800 fi
18801 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
18802 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
18803
18804 if test "x$wx_cv_prog_makevpath" != "xyes"; then
18805 { { echo "$as_me:$LINENO: error:
18806 You need a make-utility that is able to use the variable
18807 VPATH correctly.
18808 If your version of make does not support VPATH correctly,
18809 please install GNU-make (possibly as gmake), and start
18810 configure with the following command:
18811 export MAKE=gmake; ./configure for sh-type shells
18812 setenv MAKE gmake; ./configure for csh-type shells
18813 Also please do remember to use gmake in this case every time
18814 you are trying to compile.
18815 " >&5
18816 echo "$as_me: error:
18817 You need a make-utility that is able to use the variable
18818 VPATH correctly.
18819 If your version of make does not support VPATH correctly,
18820 please install GNU-make (possibly as gmake), and start
18821 configure with the following command:
18822 export MAKE=gmake; ./configure for sh-type shells
18823 setenv MAKE gmake; ./configure for csh-type shells
18824 Also please do remember to use gmake in this case every time
18825 you are trying to compile.
18826 " >&2;}
18827 { (exit 1); exit 1; }; }
18828 fi fi
18829 echo "$as_me:$LINENO: checking whether ln -s works" >&5
18830 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
18831 LN_S=$as_ln_s
18832 if test "$LN_S" = "ln -s"; then
18833 echo "$as_me:$LINENO: result: yes" >&5
18834 echo "${ECHO_T}yes" >&6
18835 else
18836 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
18837 echo "${ECHO_T}no, using $LN_S" >&6
18838 fi
18839
18840
18841
18842
18843 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18844 CXXFLAGS="-qunique $CXXFLAGS"
18845 fi
18846
18847 case "${host}" in
18848 powerpc-*-darwin* )
18849 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18850 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
18851 cat >conftest.$ac_ext <<_ACEOF
18852 /* confdefs.h. */
18853 _ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857
18858 int
18859 main ()
18860 {
18861 #ifndef __POWERPC__
18862 choke me for lack of PowerPC
18863 #endif
18864
18865 ;
18866 return 0;
18867 }
18868 _ACEOF
18869 rm -f conftest.$ac_objext
18870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18871 (eval $ac_compile) 2>conftest.er1
18872 ac_status=$?
18873 grep -v '^ *+' conftest.er1 >conftest.err
18874 rm -f conftest.er1
18875 cat conftest.err >&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); } &&
18878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880 (eval $ac_try) 2>&5
18881 ac_status=$?
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; } &&
18884 { ac_try='test -s conftest.$ac_objext'
18885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18886 (eval $ac_try) 2>&5
18887 ac_status=$?
18888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 (exit $ac_status); }; }; then
18890 echo "$as_me:$LINENO: result: yes" >&5
18891 echo "${ECHO_T}yes" >&6
18892 else
18893 echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.$ac_ext >&5
18895
18896 echo "$as_me:$LINENO: result: no" >&5
18897 echo "${ECHO_T}no" >&6
18898 cat >>confdefs.h <<\_ACEOF
18899 #define __POWERPC__ 1
18900 _ACEOF
18901
18902
18903 fi
18904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18905 ;;
18906 esac
18907
18908 case "${host}" in
18909 *-*-darwin* )
18910 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18911 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
18912 cat >conftest.$ac_ext <<_ACEOF
18913 /* confdefs.h. */
18914 _ACEOF
18915 cat confdefs.h >>conftest.$ac_ext
18916 cat >>conftest.$ac_ext <<_ACEOF
18917 /* end confdefs.h. */
18918 #include <CoreFoundation/CFBase.h>
18919
18920 int
18921 main ()
18922 {
18923
18924 ;
18925 return 0;
18926 }
18927 _ACEOF
18928 rm -f conftest.$ac_objext
18929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18930 (eval $ac_compile) 2>conftest.er1
18931 ac_status=$?
18932 grep -v '^ *+' conftest.er1 >conftest.err
18933 rm -f conftest.er1
18934 cat conftest.err >&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); } &&
18937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18940 ac_status=$?
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; } &&
18943 { ac_try='test -s conftest.$ac_objext'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18946 ac_status=$?
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18949 echo "$as_me:$LINENO: result: yes" >&5
18950 echo "${ECHO_T}yes" >&6
18951 else
18952 echo "$as_me: failed program was:" >&5
18953 sed 's/^/| /' conftest.$ac_ext >&5
18954
18955 echo "$as_me:$LINENO: result: no" >&5
18956 echo "${ECHO_T}no" >&6
18957 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18958 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
18959 cat >conftest.$ac_ext <<_ACEOF
18960 /* confdefs.h. */
18961 _ACEOF
18962 cat confdefs.h >>conftest.$ac_ext
18963 cat >>conftest.$ac_ext <<_ACEOF
18964 /* end confdefs.h. */
18965 #define __CF_USE_FRAMEWORK_INCLUDES__
18966 #include <CoreFoundation/CFBase.h>
18967
18968 int
18969 main ()
18970 {
18971
18972 ;
18973 return 0;
18974 }
18975 _ACEOF
18976 rm -f conftest.$ac_objext
18977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18978 (eval $ac_compile) 2>conftest.er1
18979 ac_status=$?
18980 grep -v '^ *+' conftest.er1 >conftest.err
18981 rm -f conftest.er1
18982 cat conftest.err >&5
18983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18984 (exit $ac_status); } &&
18985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18987 (eval $ac_try) 2>&5
18988 ac_status=$?
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); }; } &&
18991 { ac_try='test -s conftest.$ac_objext'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18994 ac_status=$?
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; }; then
18997 echo "$as_me:$LINENO: result: yes" >&5
18998 echo "${ECHO_T}yes" >&6
18999 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19000 else
19001 echo "$as_me: failed program was:" >&5
19002 sed 's/^/| /' conftest.$ac_ext >&5
19003
19004 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19005 See \`config.log' for more details." >&5
19006 echo "$as_me: error: no. CoreFoundation not available.
19007 See \`config.log' for more details." >&2;}
19008 { (exit 1); exit 1; }; }
19009
19010 fi
19011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19012
19013
19014 fi
19015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19016 ;;
19017 esac
19018
19019 wants_win32=0
19020 doesnt_want_win32=0
19021 case "${host}" in
19022 *-*-cygwin*)
19023 if test "$wxUSE_MSW" = 1 ; then
19024 wants_win32=1
19025 else
19026 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19027 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
19028 if test "${wx_cv_nocygwin+set}" = set; then
19029 echo $ECHO_N "(cached) $ECHO_C" >&6
19030 else
19031
19032 cat >conftest.$ac_ext <<_ACEOF
19033 /* confdefs.h. */
19034 _ACEOF
19035 cat confdefs.h >>conftest.$ac_ext
19036 cat >>conftest.$ac_ext <<_ACEOF
19037 /* end confdefs.h. */
19038
19039 int
19040 main ()
19041 {
19042
19043 #ifdef __MINGW32__
19044 choke me
19045 #endif
19046
19047 ;
19048 return 0;
19049 }
19050 _ACEOF
19051 rm -f conftest.$ac_objext
19052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19053 (eval $ac_compile) 2>conftest.er1
19054 ac_status=$?
19055 grep -v '^ *+' conftest.er1 >conftest.err
19056 rm -f conftest.er1
19057 cat conftest.err >&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } &&
19060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19062 (eval $ac_try) 2>&5
19063 ac_status=$?
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }; } &&
19066 { ac_try='test -s conftest.$ac_objext'
19067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19068 (eval $ac_try) 2>&5
19069 ac_status=$?
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); }; }; then
19072 wx_cv_nocygwin=no
19073 else
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.$ac_ext >&5
19076
19077 wx_cv_nocygwin=yes
19078
19079 fi
19080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19081
19082
19083 fi
19084 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19085 echo "${ECHO_T}$wx_cv_nocygwin" >&6
19086
19087 if test "$wx_cv_nocygwin" = "yes"; then
19088 wants_win32=1
19089 else
19090 doesnt_want_win32=1
19091 fi
19092 fi
19093 if test "$wants_win32" = 1 ; then
19094 BAKEFILE_FORCE_PLATFORM=win32
19095 fi
19096 ;;
19097 *-*-mingw*)
19098 wants_win32=1
19099 ;;
19100 esac
19101
19102 if test "$wxUSE_WINE" = "yes"; then
19103 wants_win32=1
19104 LDFLAGS_GUI="-mwindows"
19105 fi
19106
19107 if test "$wants_win32" = 1 ; then
19108 USE_UNIX=0
19109 USE_WIN32=1
19110 cat >>confdefs.h <<\_ACEOF
19111 #define __WIN32__ 1
19112 _ACEOF
19113
19114 cat >>confdefs.h <<\_ACEOF
19115 #define __WIN95__ 1
19116 _ACEOF
19117
19118 cat >>confdefs.h <<\_ACEOF
19119 #define __WINDOWS__ 1
19120 _ACEOF
19121
19122 cat >>confdefs.h <<\_ACEOF
19123 #define __GNUWIN32__ 1
19124 _ACEOF
19125
19126 cat >>confdefs.h <<\_ACEOF
19127 #define STRICT 1
19128 _ACEOF
19129
19130 fi
19131 if test "$doesnt_want_win32" = 1 ; then
19132 USE_UNIX=1
19133 USE_WIN32=0
19134 fi
19135
19136 if test "$USE_UNIX" = 1 ; then
19137 wxUSE_UNIX=yes
19138 cat >>confdefs.h <<\_ACEOF
19139 #define __UNIX__ 1
19140 _ACEOF
19141
19142 fi
19143
19144 case "${host}" in
19145 *-pc-os2_emx | *-pc-os2-emx )
19146 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19147 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19148 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
19149 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19150 echo $ECHO_N "(cached) $ECHO_C" >&6
19151 else
19152 ac_check_lib_save_LIBS=$LIBS
19153 LIBS="-lcExt $LIBS"
19154 cat >conftest.$ac_ext <<_ACEOF
19155 /* confdefs.h. */
19156 _ACEOF
19157 cat confdefs.h >>conftest.$ac_ext
19158 cat >>conftest.$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19160
19161 /* Override any gcc2 internal prototype to avoid an error. */
19162 #ifdef __cplusplus
19163 extern "C"
19164 #endif
19165 /* We use char because int might match the return type of a gcc2
19166 builtin and then its argument prototype would still apply. */
19167 char drand48 ();
19168 int
19169 main ()
19170 {
19171 drand48 ();
19172 ;
19173 return 0;
19174 }
19175 _ACEOF
19176 rm -f conftest.$ac_objext conftest$ac_exeext
19177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19178 (eval $ac_link) 2>conftest.er1
19179 ac_status=$?
19180 grep -v '^ *+' conftest.er1 >conftest.err
19181 rm -f conftest.er1
19182 cat conftest.err >&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } &&
19185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19188 ac_status=$?
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; } &&
19191 { ac_try='test -s conftest$ac_exeext'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19194 ac_status=$?
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; }; then
19197 ac_cv_lib_cExt_drand48=yes
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19201
19202 ac_cv_lib_cExt_drand48=no
19203 fi
19204 rm -f conftest.err conftest.$ac_objext \
19205 conftest$ac_exeext conftest.$ac_ext
19206 LIBS=$ac_check_lib_save_LIBS
19207 fi
19208 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19209 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
19210 if test $ac_cv_lib_cExt_drand48 = yes; then
19211 LIBS="$LIBS -lcExt"
19212 fi
19213
19214 else
19215 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19216 fi
19217 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19218 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
19219 if test "${wx_cv_gccversion+set}" = set; then
19220 echo $ECHO_N "(cached) $ECHO_C" >&6
19221 else
19222
19223 if test "$cross_compiling" = yes; then
19224 wx_cv_gccversion="EMX2"
19225
19226 else
19227 cat >conftest.$ac_ext <<_ACEOF
19228 /* confdefs.h. */
19229 _ACEOF
19230 cat confdefs.h >>conftest.$ac_ext
19231 cat >>conftest.$ac_ext <<_ACEOF
19232 /* end confdefs.h. */
19233
19234 #include <stdio.h>
19235
19236 int main()
19237 {
19238 FILE *f=fopen("conftestval", "w");
19239 if (!f) exit(1);
19240 fprintf(f,
19241 #if (__GNUC__ < 3)
19242 "EMX2"
19243 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19244 "EMX3"
19245 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19246 "Innotek5"
19247 #else
19248 "Innotek6"
19249 #endif
19250 );
19251 exit(0);
19252 }
19253
19254 _ACEOF
19255 rm -f conftest$ac_exeext
19256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19257 (eval $ac_link) 2>&5
19258 ac_status=$?
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262 (eval $ac_try) 2>&5
19263 ac_status=$?
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; }; then
19266 wx_cv_gccversion=`cat conftestval`
19267 else
19268 echo "$as_me: program exited with status $ac_status" >&5
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.$ac_ext >&5
19271
19272 ( exit $ac_status )
19273 wx_cv_gccversion="EMX2"
19274 fi
19275 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19276 fi
19277
19278 fi
19279 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19280 echo "${ECHO_T}$wx_cv_gccversion" >&6
19281 if test "$wx_cv_gccversion" = "EMX2"; then
19282 LIBS="$LIBS -lstdcpp"
19283 LDFLAGS="$LDFLAGS -Zsysv-signals"
19284 else
19285 if test "$wx_cv_gccversion" = "EMX3"; then
19286 LIBS="$LIBS -lstdcxx -lgcc"
19287 LDFLAGS="$LDFLAGS -Zsysv-signals"
19288 else
19289 LIBS="$LIBS -lstdc++"
19290 fi
19291 fi
19292 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19293 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19294 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19295 wxUSE_OMF=yes
19296 enable_omf=yes
19297 fi
19298 ;;
19299 *)
19300
19301 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19302 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
19303 if test "${ac_cv_string_strcasecmp+set}" = set; then
19304 echo $ECHO_N "(cached) $ECHO_C" >&6
19305 else
19306
19307 cat >conftest.$ac_ext <<_ACEOF
19308 /* confdefs.h. */
19309 _ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313
19314 #include <string.h>
19315
19316 int
19317 main ()
19318 {
19319
19320 strcasecmp("foo", "bar");
19321
19322 ;
19323 return 0;
19324 }
19325 _ACEOF
19326 rm -f conftest.$ac_objext conftest$ac_exeext
19327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19328 (eval $ac_link) 2>conftest.er1
19329 ac_status=$?
19330 grep -v '^ *+' conftest.er1 >conftest.err
19331 rm -f conftest.er1
19332 cat conftest.err >&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } &&
19335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19338 ac_status=$?
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; } &&
19341 { ac_try='test -s conftest$ac_exeext'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19344 ac_status=$?
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; }; then
19347 ac_cv_string_strcasecmp=yes
19348 else
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19351
19352 ac_cv_string_strcasecmp=no
19353
19354 fi
19355 rm -f conftest.err conftest.$ac_objext \
19356 conftest$ac_exeext conftest.$ac_ext
19357
19358 fi
19359 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19360 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
19361
19362 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19363 cat >>confdefs.h <<\_ACEOF
19364 #define HAVE_STRCASECMP_IN_STRING_H 1
19365 _ACEOF
19366
19367 else
19368 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19369 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
19370 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19371 echo $ECHO_N "(cached) $ECHO_C" >&6
19372 else
19373
19374 cat >conftest.$ac_ext <<_ACEOF
19375 /* confdefs.h. */
19376 _ACEOF
19377 cat confdefs.h >>conftest.$ac_ext
19378 cat >>conftest.$ac_ext <<_ACEOF
19379 /* end confdefs.h. */
19380
19381 #include <strings.h>
19382
19383 int
19384 main ()
19385 {
19386
19387 strcasecmp("foo", "bar");
19388
19389 ;
19390 return 0;
19391 }
19392 _ACEOF
19393 rm -f conftest.$ac_objext conftest$ac_exeext
19394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19395 (eval $ac_link) 2>conftest.er1
19396 ac_status=$?
19397 grep -v '^ *+' conftest.er1 >conftest.err
19398 rm -f conftest.er1
19399 cat conftest.err >&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } &&
19402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19405 ac_status=$?
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; } &&
19408 { ac_try='test -s conftest$ac_exeext'
19409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19410 (eval $ac_try) 2>&5
19411 ac_status=$?
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); }; }; then
19414 ac_cv_strings_strcasecmp=yes
19415 else
19416 echo "$as_me: failed program was:" >&5
19417 sed 's/^/| /' conftest.$ac_ext >&5
19418
19419 ac_cv_strings_strcasecmp=no
19420
19421 fi
19422 rm -f conftest.err conftest.$ac_objext \
19423 conftest$ac_exeext conftest.$ac_ext
19424
19425 fi
19426 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19427 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
19428
19429 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19430 cat >>confdefs.h <<\_ACEOF
19431 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19432 _ACEOF
19433
19434 else
19435 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19436 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19437 { (exit 1); exit 1; }; }
19438 fi
19439 fi
19440
19441 ;;
19442 esac
19443
19444
19445 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19446 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19447 if test "${ac_cv_header_stdc+set}" = set; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19449 else
19450 cat >conftest.$ac_ext <<_ACEOF
19451 /* confdefs.h. */
19452 _ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456 #include <stdlib.h>
19457 #include <stdarg.h>
19458 #include <string.h>
19459 #include <float.h>
19460
19461 int
19462 main ()
19463 {
19464
19465 ;
19466 return 0;
19467 }
19468 _ACEOF
19469 rm -f conftest.$ac_objext
19470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19471 (eval $ac_compile) 2>conftest.er1
19472 ac_status=$?
19473 grep -v '^ *+' conftest.er1 >conftest.err
19474 rm -f conftest.er1
19475 cat conftest.err >&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); } &&
19478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19481 ac_status=$?
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; } &&
19484 { ac_try='test -s conftest.$ac_objext'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19487 ac_status=$?
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_cv_header_stdc=yes
19491 else
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.$ac_ext >&5
19494
19495 ac_cv_header_stdc=no
19496 fi
19497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19498
19499 if test $ac_cv_header_stdc = yes; then
19500 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19501 cat >conftest.$ac_ext <<_ACEOF
19502 /* confdefs.h. */
19503 _ACEOF
19504 cat confdefs.h >>conftest.$ac_ext
19505 cat >>conftest.$ac_ext <<_ACEOF
19506 /* end confdefs.h. */
19507 #include <string.h>
19508
19509 _ACEOF
19510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19511 $EGREP "memchr" >/dev/null 2>&1; then
19512 :
19513 else
19514 ac_cv_header_stdc=no
19515 fi
19516 rm -f conftest*
19517
19518 fi
19519
19520 if test $ac_cv_header_stdc = yes; then
19521 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19522 cat >conftest.$ac_ext <<_ACEOF
19523 /* confdefs.h. */
19524 _ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 #include <stdlib.h>
19529
19530 _ACEOF
19531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19532 $EGREP "free" >/dev/null 2>&1; then
19533 :
19534 else
19535 ac_cv_header_stdc=no
19536 fi
19537 rm -f conftest*
19538
19539 fi
19540
19541 if test $ac_cv_header_stdc = yes; then
19542 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19543 if test "$cross_compiling" = yes; then
19544 :
19545 else
19546 cat >conftest.$ac_ext <<_ACEOF
19547 /* confdefs.h. */
19548 _ACEOF
19549 cat confdefs.h >>conftest.$ac_ext
19550 cat >>conftest.$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19552 #include <ctype.h>
19553 #if ((' ' & 0x0FF) == 0x020)
19554 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19555 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19556 #else
19557 # define ISLOWER(c) \
19558 (('a' <= (c) && (c) <= 'i') \
19559 || ('j' <= (c) && (c) <= 'r') \
19560 || ('s' <= (c) && (c) <= 'z'))
19561 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19562 #endif
19563
19564 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19565 int
19566 main ()
19567 {
19568 int i;
19569 for (i = 0; i < 256; i++)
19570 if (XOR (islower (i), ISLOWER (i))
19571 || toupper (i) != TOUPPER (i))
19572 exit(2);
19573 exit (0);
19574 }
19575 _ACEOF
19576 rm -f conftest$ac_exeext
19577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19578 (eval $ac_link) 2>&5
19579 ac_status=$?
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19584 ac_status=$?
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; }; then
19587 :
19588 else
19589 echo "$as_me: program exited with status $ac_status" >&5
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19592
19593 ( exit $ac_status )
19594 ac_cv_header_stdc=no
19595 fi
19596 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19597 fi
19598 fi
19599 fi
19600 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19601 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19602 if test $ac_cv_header_stdc = yes; then
19603
19604 cat >>confdefs.h <<\_ACEOF
19605 #define STDC_HEADERS 1
19606 _ACEOF
19607
19608 fi
19609
19610 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19621 inttypes.h stdint.h unistd.h
19622 do
19623 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19624 echo "$as_me:$LINENO: checking for $ac_header" >&5
19625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19627 echo $ECHO_N "(cached) $ECHO_C" >&6
19628 else
19629 cat >conftest.$ac_ext <<_ACEOF
19630 /* confdefs.h. */
19631 _ACEOF
19632 cat confdefs.h >>conftest.$ac_ext
19633 cat >>conftest.$ac_ext <<_ACEOF
19634 /* end confdefs.h. */
19635 $ac_includes_default
19636
19637 #include <$ac_header>
19638 _ACEOF
19639 rm -f conftest.$ac_objext
19640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19641 (eval $ac_compile) 2>conftest.er1
19642 ac_status=$?
19643 grep -v '^ *+' conftest.er1 >conftest.err
19644 rm -f conftest.er1
19645 cat conftest.err >&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); } &&
19648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19651 ac_status=$?
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; } &&
19654 { ac_try='test -s conftest.$ac_objext'
19655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656 (eval $ac_try) 2>&5
19657 ac_status=$?
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; }; then
19660 eval "$as_ac_Header=yes"
19661 else
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19664
19665 eval "$as_ac_Header=no"
19666 fi
19667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19668 fi
19669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19672 cat >>confdefs.h <<_ACEOF
19673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19674 _ACEOF
19675
19676 fi
19677
19678 done
19679
19680
19681
19682
19683
19684
19685
19686
19687 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
19688 do
19689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19690 echo "$as_me:$LINENO: checking for $ac_header" >&5
19691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19693 echo $ECHO_N "(cached) $ECHO_C" >&6
19694 else
19695 cat >conftest.$ac_ext <<_ACEOF
19696 /* confdefs.h. */
19697 _ACEOF
19698 cat confdefs.h >>conftest.$ac_ext
19699 cat >>conftest.$ac_ext <<_ACEOF
19700 /* end confdefs.h. */
19701 $ac_includes_default
19702
19703 #include <$ac_header>
19704 _ACEOF
19705 rm -f conftest.$ac_objext
19706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19707 (eval $ac_compile) 2>conftest.er1
19708 ac_status=$?
19709 grep -v '^ *+' conftest.er1 >conftest.err
19710 rm -f conftest.er1
19711 cat conftest.err >&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); } &&
19714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; } &&
19720 { ac_try='test -s conftest.$ac_objext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19723 ac_status=$?
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 eval "$as_ac_Header=yes"
19727 else
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.$ac_ext >&5
19730
19731 eval "$as_ac_Header=no"
19732 fi
19733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19734 fi
19735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19738 cat >>confdefs.h <<_ACEOF
19739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19740 _ACEOF
19741
19742 fi
19743
19744 done
19745
19746
19747 if test "$ac_cv_header_wchar_h" != "yes"; then
19748 echo "$as_me:$LINENO: checking for wcstr.h" >&5
19749 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6
19750 if test "${ac_cv_header_wcstr_h+set}" = set; then
19751 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 else
19753 cat >conftest.$ac_ext <<_ACEOF
19754 /* confdefs.h. */
19755 _ACEOF
19756 cat confdefs.h >>conftest.$ac_ext
19757 cat >>conftest.$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 $ac_includes_default
19760
19761 #include <wcstr.h>
19762 _ACEOF
19763 rm -f conftest.$ac_objext
19764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19765 (eval $ac_compile) 2>conftest.er1
19766 ac_status=$?
19767 grep -v '^ *+' conftest.er1 >conftest.err
19768 rm -f conftest.er1
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } &&
19772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19774 (eval $ac_try) 2>&5
19775 ac_status=$?
19776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19777 (exit $ac_status); }; } &&
19778 { ac_try='test -s conftest.$ac_objext'
19779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780 (eval $ac_try) 2>&5
19781 ac_status=$?
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); }; }; then
19784 ac_cv_header_wcstr_h=yes
19785 else
19786 echo "$as_me: failed program was:" >&5
19787 sed 's/^/| /' conftest.$ac_ext >&5
19788
19789 ac_cv_header_wcstr_h=no
19790 fi
19791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19792 fi
19793 echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
19794 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6
19795
19796
19797 fi
19798
19799 case "${host}" in
19800 *-pc-os2_emx | *-pc-os2-emx )
19801 if test $ac_cv_header_langinfo_h = "yes" \
19802 -a \( "$wx_cv_gccversion" = "EMX2" \
19803 -o "$wx_cv_gccversion" = "EMX3" \
19804 -o "$wx_cv_gccversion" = "Innotek5" \); then
19805 LIBS="$LIBS -lintl"
19806 fi
19807 ;;
19808 esac
19809
19810 if test "$USE_UNIX" = 1 ; then
19811 echo "$as_me:$LINENO: checking for sys/select.h" >&5
19812 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
19813 if test "${ac_cv_header_sys_select_h+set}" = set; then
19814 echo $ECHO_N "(cached) $ECHO_C" >&6
19815 else
19816 cat >conftest.$ac_ext <<_ACEOF
19817 /* confdefs.h. */
19818 _ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 $ac_includes_default
19823
19824 #include <sys/select.h>
19825 _ACEOF
19826 rm -f conftest.$ac_objext
19827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19828 (eval $ac_compile) 2>conftest.er1
19829 ac_status=$?
19830 grep -v '^ *+' conftest.er1 >conftest.err
19831 rm -f conftest.er1
19832 cat conftest.err >&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } &&
19835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19838 ac_status=$?
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; } &&
19841 { ac_try='test -s conftest.$ac_objext'
19842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19843 (eval $ac_try) 2>&5
19844 ac_status=$?
19845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19846 (exit $ac_status); }; }; then
19847 ac_cv_header_sys_select_h=yes
19848 else
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19851
19852 ac_cv_header_sys_select_h=no
19853 fi
19854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19855 fi
19856 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
19857 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
19858
19859
19860 fi
19861
19862
19863 for ac_header in sys/epoll.h
19864 do
19865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19867 echo "$as_me:$LINENO: checking for $ac_header" >&5
19868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19870 echo $ECHO_N "(cached) $ECHO_C" >&6
19871 fi
19872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19874 else
19875 # Is the header compilable?
19876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19878 cat >conftest.$ac_ext <<_ACEOF
19879 /* confdefs.h. */
19880 _ACEOF
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19884 $ac_includes_default
19885 #include <$ac_header>
19886 _ACEOF
19887 rm -f conftest.$ac_objext
19888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19889 (eval $ac_compile) 2>conftest.er1
19890 ac_status=$?
19891 grep -v '^ *+' conftest.er1 >conftest.err
19892 rm -f conftest.er1
19893 cat conftest.err >&5
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); } &&
19896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19899 ac_status=$?
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; } &&
19902 { ac_try='test -s conftest.$ac_objext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19905 ac_status=$?
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 ac_header_compiler=yes
19909 else
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19912
19913 ac_header_compiler=no
19914 fi
19915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19917 echo "${ECHO_T}$ac_header_compiler" >&6
19918
19919 # Is the header present?
19920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19922 cat >conftest.$ac_ext <<_ACEOF
19923 /* confdefs.h. */
19924 _ACEOF
19925 cat confdefs.h >>conftest.$ac_ext
19926 cat >>conftest.$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 #include <$ac_header>
19929 _ACEOF
19930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19932 ac_status=$?
19933 grep -v '^ *+' conftest.er1 >conftest.err
19934 rm -f conftest.er1
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } >/dev/null; then
19938 if test -s conftest.err; then
19939 ac_cpp_err=$ac_c_preproc_warn_flag
19940 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19941 else
19942 ac_cpp_err=
19943 fi
19944 else
19945 ac_cpp_err=yes
19946 fi
19947 if test -z "$ac_cpp_err"; then
19948 ac_header_preproc=yes
19949 else
19950 echo "$as_me: failed program was:" >&5
19951 sed 's/^/| /' conftest.$ac_ext >&5
19952
19953 ac_header_preproc=no
19954 fi
19955 rm -f conftest.err conftest.$ac_ext
19956 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19957 echo "${ECHO_T}$ac_header_preproc" >&6
19958
19959 # So? What about this header?
19960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19961 yes:no: )
19962 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19963 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19965 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19966 ac_header_preproc=yes
19967 ;;
19968 no:yes:* )
19969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19970 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19972 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19973 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19974 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19975 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19976 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19979 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19980 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19981 (
19982 cat <<\_ASBOX
19983 ## ----------------------------------------- ##
19984 ## Report this to wx-dev@lists.wxwidgets.org ##
19985 ## ----------------------------------------- ##
19986 _ASBOX
19987 ) |
19988 sed "s/^/$as_me: WARNING: /" >&2
19989 ;;
19990 esac
19991 echo "$as_me:$LINENO: checking for $ac_header" >&5
19992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19994 echo $ECHO_N "(cached) $ECHO_C" >&6
19995 else
19996 eval "$as_ac_Header=\$ac_header_preproc"
19997 fi
19998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20000
20001 fi
20002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20003 cat >>confdefs.h <<_ACEOF
20004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20005 _ACEOF
20006
20007 fi
20008
20009 done
20010
20011
20012
20013 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20014 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20015 if test "${ac_cv_c_const+set}" = set; then
20016 echo $ECHO_N "(cached) $ECHO_C" >&6
20017 else
20018 cat >conftest.$ac_ext <<_ACEOF
20019 /* confdefs.h. */
20020 _ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024
20025 int
20026 main ()
20027 {
20028 /* FIXME: Include the comments suggested by Paul. */
20029 #ifndef __cplusplus
20030 /* Ultrix mips cc rejects this. */
20031 typedef int charset[2];
20032 const charset x;
20033 /* SunOS 4.1.1 cc rejects this. */
20034 char const *const *ccp;
20035 char **p;
20036 /* NEC SVR4.0.2 mips cc rejects this. */
20037 struct point {int x, y;};
20038 static struct point const zero = {0,0};
20039 /* AIX XL C 1.02.0.0 rejects this.
20040 It does not let you subtract one const X* pointer from another in
20041 an arm of an if-expression whose if-part is not a constant
20042 expression */
20043 const char *g = "string";
20044 ccp = &g + (g ? g-g : 0);
20045 /* HPUX 7.0 cc rejects these. */
20046 ++ccp;
20047 p = (char**) ccp;
20048 ccp = (char const *const *) p;
20049 { /* SCO 3.2v4 cc rejects this. */
20050 char *t;
20051 char const *s = 0 ? (char *) 0 : (char const *) 0;
20052
20053 *t++ = 0;
20054 }
20055 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20056 int x[] = {25, 17};
20057 const int *foo = &x[0];
20058 ++foo;
20059 }
20060 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20061 typedef const int *iptr;
20062 iptr p = 0;
20063 ++p;
20064 }
20065 { /* AIX XL C 1.02.0.0 rejects this saying
20066 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20067 struct s { int j; const int *ap[3]; };
20068 struct s *b; b->j = 5;
20069 }
20070 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20071 const int foo = 10;
20072 }
20073 #endif
20074
20075 ;
20076 return 0;
20077 }
20078 _ACEOF
20079 rm -f conftest.$ac_objext
20080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20081 (eval $ac_compile) 2>conftest.er1
20082 ac_status=$?
20083 grep -v '^ *+' conftest.er1 >conftest.err
20084 rm -f conftest.er1
20085 cat conftest.err >&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); } &&
20088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20090 (eval $ac_try) 2>&5
20091 ac_status=$?
20092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20093 (exit $ac_status); }; } &&
20094 { ac_try='test -s conftest.$ac_objext'
20095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20096 (eval $ac_try) 2>&5
20097 ac_status=$?
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); }; }; then
20100 ac_cv_c_const=yes
20101 else
20102 echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.$ac_ext >&5
20104
20105 ac_cv_c_const=no
20106 fi
20107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20108 fi
20109 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20110 echo "${ECHO_T}$ac_cv_c_const" >&6
20111 if test $ac_cv_c_const = no; then
20112
20113 cat >>confdefs.h <<\_ACEOF
20114 #define const
20115 _ACEOF
20116
20117 fi
20118
20119 echo "$as_me:$LINENO: checking for inline" >&5
20120 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20121 if test "${ac_cv_c_inline+set}" = set; then
20122 echo $ECHO_N "(cached) $ECHO_C" >&6
20123 else
20124 ac_cv_c_inline=no
20125 for ac_kw in inline __inline__ __inline; do
20126 cat >conftest.$ac_ext <<_ACEOF
20127 /* confdefs.h. */
20128 _ACEOF
20129 cat confdefs.h >>conftest.$ac_ext
20130 cat >>conftest.$ac_ext <<_ACEOF
20131 /* end confdefs.h. */
20132 #ifndef __cplusplus
20133 typedef int foo_t;
20134 static $ac_kw foo_t static_foo () {return 0; }
20135 $ac_kw foo_t foo () {return 0; }
20136 #endif
20137
20138 _ACEOF
20139 rm -f conftest.$ac_objext
20140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20141 (eval $ac_compile) 2>conftest.er1
20142 ac_status=$?
20143 grep -v '^ *+' conftest.er1 >conftest.err
20144 rm -f conftest.er1
20145 cat conftest.err >&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); } &&
20148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20151 ac_status=$?
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; } &&
20154 { ac_try='test -s conftest.$ac_objext'
20155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20156 (eval $ac_try) 2>&5
20157 ac_status=$?
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); }; }; then
20160 ac_cv_c_inline=$ac_kw; break
20161 else
20162 echo "$as_me: failed program was:" >&5
20163 sed 's/^/| /' conftest.$ac_ext >&5
20164
20165 fi
20166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20167 done
20168
20169 fi
20170 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20171 echo "${ECHO_T}$ac_cv_c_inline" >&6
20172
20173
20174 case $ac_cv_c_inline in
20175 inline | yes) ;;
20176 *)
20177 case $ac_cv_c_inline in
20178 no) ac_val=;;
20179 *) ac_val=$ac_cv_c_inline;;
20180 esac
20181 cat >>confdefs.h <<_ACEOF
20182 #ifndef __cplusplus
20183 #define inline $ac_val
20184 #endif
20185 _ACEOF
20186 ;;
20187 esac
20188
20189
20190 echo "$as_me:$LINENO: checking for short" >&5
20191 echo $ECHO_N "checking for short... $ECHO_C" >&6
20192 if test "${ac_cv_type_short+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 else
20195 cat >conftest.$ac_ext <<_ACEOF
20196 /* confdefs.h. */
20197 _ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 $ac_includes_default
20202 int
20203 main ()
20204 {
20205 if ((short *) 0)
20206 return 0;
20207 if (sizeof (short))
20208 return 0;
20209 ;
20210 return 0;
20211 }
20212 _ACEOF
20213 rm -f conftest.$ac_objext
20214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20215 (eval $ac_compile) 2>conftest.er1
20216 ac_status=$?
20217 grep -v '^ *+' conftest.er1 >conftest.err
20218 rm -f conftest.er1
20219 cat conftest.err >&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); } &&
20222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224 (eval $ac_try) 2>&5
20225 ac_status=$?
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); }; } &&
20228 { ac_try='test -s conftest.$ac_objext'
20229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20230 (eval $ac_try) 2>&5
20231 ac_status=$?
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); }; }; then
20234 ac_cv_type_short=yes
20235 else
20236 echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.$ac_ext >&5
20238
20239 ac_cv_type_short=no
20240 fi
20241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20242 fi
20243 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20244 echo "${ECHO_T}$ac_cv_type_short" >&6
20245
20246 echo "$as_me:$LINENO: checking size of short" >&5
20247 echo $ECHO_N "checking size of short... $ECHO_C" >&6
20248 if test "${ac_cv_sizeof_short+set}" = set; then
20249 echo $ECHO_N "(cached) $ECHO_C" >&6
20250 else
20251 if test "$ac_cv_type_short" = yes; then
20252 # The cast to unsigned long works around a bug in the HP C Compiler
20253 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20255 # This bug is HP SR number 8606223364.
20256 if test "$cross_compiling" = yes; then
20257 # Depending upon the size, compute the lo and hi bounds.
20258 cat >conftest.$ac_ext <<_ACEOF
20259 /* confdefs.h. */
20260 _ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 $ac_includes_default
20265 int
20266 main ()
20267 {
20268 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
20269 test_array [0] = 0
20270
20271 ;
20272 return 0;
20273 }
20274 _ACEOF
20275 rm -f conftest.$ac_objext
20276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20277 (eval $ac_compile) 2>conftest.er1
20278 ac_status=$?
20279 grep -v '^ *+' conftest.er1 >conftest.err
20280 rm -f conftest.er1
20281 cat conftest.err >&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); } &&
20284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20286 (eval $ac_try) 2>&5
20287 ac_status=$?
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); }; } &&
20290 { ac_try='test -s conftest.$ac_objext'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20293 ac_status=$?
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; }; then
20296 ac_lo=0 ac_mid=0
20297 while :; do
20298 cat >conftest.$ac_ext <<_ACEOF
20299 /* confdefs.h. */
20300 _ACEOF
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304 $ac_includes_default
20305 int
20306 main ()
20307 {
20308 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20309 test_array [0] = 0
20310
20311 ;
20312 return 0;
20313 }
20314 _ACEOF
20315 rm -f conftest.$ac_objext
20316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20317 (eval $ac_compile) 2>conftest.er1
20318 ac_status=$?
20319 grep -v '^ *+' conftest.er1 >conftest.err
20320 rm -f conftest.er1
20321 cat conftest.err >&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); } &&
20324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20326 (eval $ac_try) 2>&5
20327 ac_status=$?
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; } &&
20330 { ac_try='test -s conftest.$ac_objext'
20331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20332 (eval $ac_try) 2>&5
20333 ac_status=$?
20334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20335 (exit $ac_status); }; }; then
20336 ac_hi=$ac_mid; break
20337 else
20338 echo "$as_me: failed program was:" >&5
20339 sed 's/^/| /' conftest.$ac_ext >&5
20340
20341 ac_lo=`expr $ac_mid + 1`
20342 if test $ac_lo -le $ac_mid; then
20343 ac_lo= ac_hi=
20344 break
20345 fi
20346 ac_mid=`expr 2 '*' $ac_mid + 1`
20347 fi
20348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20349 done
20350 else
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.$ac_ext >&5
20353
20354 cat >conftest.$ac_ext <<_ACEOF
20355 /* confdefs.h. */
20356 _ACEOF
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 $ac_includes_default
20361 int
20362 main ()
20363 {
20364 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
20365 test_array [0] = 0
20366
20367 ;
20368 return 0;
20369 }
20370 _ACEOF
20371 rm -f conftest.$ac_objext
20372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20373 (eval $ac_compile) 2>conftest.er1
20374 ac_status=$?
20375 grep -v '^ *+' conftest.er1 >conftest.err
20376 rm -f conftest.er1
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } &&
20380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20383 ac_status=$?
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; } &&
20386 { ac_try='test -s conftest.$ac_objext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20389 ac_status=$?
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 ac_hi=-1 ac_mid=-1
20393 while :; do
20394 cat >conftest.$ac_ext <<_ACEOF
20395 /* confdefs.h. */
20396 _ACEOF
20397 cat confdefs.h >>conftest.$ac_ext
20398 cat >>conftest.$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20400 $ac_includes_default
20401 int
20402 main ()
20403 {
20404 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
20405 test_array [0] = 0
20406
20407 ;
20408 return 0;
20409 }
20410 _ACEOF
20411 rm -f conftest.$ac_objext
20412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20413 (eval $ac_compile) 2>conftest.er1
20414 ac_status=$?
20415 grep -v '^ *+' conftest.er1 >conftest.err
20416 rm -f conftest.er1
20417 cat conftest.err >&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } &&
20420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20422 (eval $ac_try) 2>&5
20423 ac_status=$?
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); }; } &&
20426 { ac_try='test -s conftest.$ac_objext'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20429 ac_status=$?
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; }; then
20432 ac_lo=$ac_mid; break
20433 else
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20436
20437 ac_hi=`expr '(' $ac_mid ')' - 1`
20438 if test $ac_mid -le $ac_hi; then
20439 ac_lo= ac_hi=
20440 break
20441 fi
20442 ac_mid=`expr 2 '*' $ac_mid`
20443 fi
20444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20445 done
20446 else
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.$ac_ext >&5
20449
20450 ac_lo= ac_hi=
20451 fi
20452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20453 fi
20454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20455 # Binary search between lo and hi bounds.
20456 while test "x$ac_lo" != "x$ac_hi"; do
20457 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20458 cat >conftest.$ac_ext <<_ACEOF
20459 /* confdefs.h. */
20460 _ACEOF
20461 cat confdefs.h >>conftest.$ac_ext
20462 cat >>conftest.$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20464 $ac_includes_default
20465 int
20466 main ()
20467 {
20468 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20469 test_array [0] = 0
20470
20471 ;
20472 return 0;
20473 }
20474 _ACEOF
20475 rm -f conftest.$ac_objext
20476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20477 (eval $ac_compile) 2>conftest.er1
20478 ac_status=$?
20479 grep -v '^ *+' conftest.er1 >conftest.err
20480 rm -f conftest.er1
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20487 ac_status=$?
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; } &&
20490 { ac_try='test -s conftest.$ac_objext'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; }; then
20496 ac_hi=$ac_mid
20497 else
20498 echo "$as_me: failed program was:" >&5
20499 sed 's/^/| /' conftest.$ac_ext >&5
20500
20501 ac_lo=`expr '(' $ac_mid ')' + 1`
20502 fi
20503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20504 done
20505 case $ac_lo in
20506 ?*) ac_cv_sizeof_short=$ac_lo;;
20507 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
20508 See \`config.log' for more details." >&5
20509 echo "$as_me: error: cannot compute sizeof (short), 77
20510 See \`config.log' for more details." >&2;}
20511 { (exit 1); exit 1; }; } ;;
20512 esac
20513 else
20514 if test "$cross_compiling" = yes; then
20515 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20516 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20517 { (exit 1); exit 1; }; }
20518 else
20519 cat >conftest.$ac_ext <<_ACEOF
20520 /* confdefs.h. */
20521 _ACEOF
20522 cat confdefs.h >>conftest.$ac_ext
20523 cat >>conftest.$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 $ac_includes_default
20526 long longval () { return (long) (sizeof (short)); }
20527 unsigned long ulongval () { return (long) (sizeof (short)); }
20528 #include <stdio.h>
20529 #include <stdlib.h>
20530 int
20531 main ()
20532 {
20533
20534 FILE *f = fopen ("conftest.val", "w");
20535 if (! f)
20536 exit (1);
20537 if (((long) (sizeof (short))) < 0)
20538 {
20539 long i = longval ();
20540 if (i != ((long) (sizeof (short))))
20541 exit (1);
20542 fprintf (f, "%ld\n", i);
20543 }
20544 else
20545 {
20546 unsigned long i = ulongval ();
20547 if (i != ((long) (sizeof (short))))
20548 exit (1);
20549 fprintf (f, "%lu\n", i);
20550 }
20551 exit (ferror (f) || fclose (f) != 0);
20552
20553 ;
20554 return 0;
20555 }
20556 _ACEOF
20557 rm -f conftest$ac_exeext
20558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20559 (eval $ac_link) 2>&5
20560 ac_status=$?
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20565 ac_status=$?
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; }; then
20568 ac_cv_sizeof_short=`cat conftest.val`
20569 else
20570 echo "$as_me: program exited with status $ac_status" >&5
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.$ac_ext >&5
20573
20574 ( exit $ac_status )
20575 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
20576 See \`config.log' for more details." >&5
20577 echo "$as_me: error: cannot compute sizeof (short), 77
20578 See \`config.log' for more details." >&2;}
20579 { (exit 1); exit 1; }; }
20580 fi
20581 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20582 fi
20583 fi
20584 rm -f conftest.val
20585 else
20586 ac_cv_sizeof_short=0
20587 fi
20588 fi
20589 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20590 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
20591 cat >>confdefs.h <<_ACEOF
20592 #define SIZEOF_SHORT $ac_cv_sizeof_short
20593 _ACEOF
20594
20595
20596 echo "$as_me:$LINENO: checking for void *" >&5
20597 echo $ECHO_N "checking for void *... $ECHO_C" >&6
20598 if test "${ac_cv_type_void_p+set}" = set; then
20599 echo $ECHO_N "(cached) $ECHO_C" >&6
20600 else
20601 cat >conftest.$ac_ext <<_ACEOF
20602 /* confdefs.h. */
20603 _ACEOF
20604 cat confdefs.h >>conftest.$ac_ext
20605 cat >>conftest.$ac_ext <<_ACEOF
20606 /* end confdefs.h. */
20607 $ac_includes_default
20608 int
20609 main ()
20610 {
20611 if ((void * *) 0)
20612 return 0;
20613 if (sizeof (void *))
20614 return 0;
20615 ;
20616 return 0;
20617 }
20618 _ACEOF
20619 rm -f conftest.$ac_objext
20620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20621 (eval $ac_compile) 2>conftest.er1
20622 ac_status=$?
20623 grep -v '^ *+' conftest.er1 >conftest.err
20624 rm -f conftest.er1
20625 cat conftest.err >&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); } &&
20628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20630 (eval $ac_try) 2>&5
20631 ac_status=$?
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); }; } &&
20634 { ac_try='test -s conftest.$ac_objext'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20637 ac_status=$?
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; }; then
20640 ac_cv_type_void_p=yes
20641 else
20642 echo "$as_me: failed program was:" >&5
20643 sed 's/^/| /' conftest.$ac_ext >&5
20644
20645 ac_cv_type_void_p=no
20646 fi
20647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20648 fi
20649 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20650 echo "${ECHO_T}$ac_cv_type_void_p" >&6
20651
20652 echo "$as_me:$LINENO: checking size of void *" >&5
20653 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
20654 if test "${ac_cv_sizeof_void_p+set}" = set; then
20655 echo $ECHO_N "(cached) $ECHO_C" >&6
20656 else
20657 if test "$ac_cv_type_void_p" = yes; then
20658 # The cast to unsigned long works around a bug in the HP C Compiler
20659 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20660 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20661 # This bug is HP SR number 8606223364.
20662 if test "$cross_compiling" = yes; then
20663 # Depending upon the size, compute the lo and hi bounds.
20664 cat >conftest.$ac_ext <<_ACEOF
20665 /* confdefs.h. */
20666 _ACEOF
20667 cat confdefs.h >>conftest.$ac_ext
20668 cat >>conftest.$ac_ext <<_ACEOF
20669 /* end confdefs.h. */
20670 $ac_includes_default
20671 int
20672 main ()
20673 {
20674 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
20675 test_array [0] = 0
20676
20677 ;
20678 return 0;
20679 }
20680 _ACEOF
20681 rm -f conftest.$ac_objext
20682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20683 (eval $ac_compile) 2>conftest.er1
20684 ac_status=$?
20685 grep -v '^ *+' conftest.er1 >conftest.err
20686 rm -f conftest.er1
20687 cat conftest.err >&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); } &&
20690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20693 ac_status=$?
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; } &&
20696 { ac_try='test -s conftest.$ac_objext'
20697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20698 (eval $ac_try) 2>&5
20699 ac_status=$?
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); }; }; then
20702 ac_lo=0 ac_mid=0
20703 while :; do
20704 cat >conftest.$ac_ext <<_ACEOF
20705 /* confdefs.h. */
20706 _ACEOF
20707 cat confdefs.h >>conftest.$ac_ext
20708 cat >>conftest.$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20710 $ac_includes_default
20711 int
20712 main ()
20713 {
20714 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
20715 test_array [0] = 0
20716
20717 ;
20718 return 0;
20719 }
20720 _ACEOF
20721 rm -f conftest.$ac_objext
20722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20723 (eval $ac_compile) 2>conftest.er1
20724 ac_status=$?
20725 grep -v '^ *+' conftest.er1 >conftest.err
20726 rm -f conftest.er1
20727 cat conftest.err >&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); } &&
20730 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732 (eval $ac_try) 2>&5
20733 ac_status=$?
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; } &&
20736 { ac_try='test -s conftest.$ac_objext'
20737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738 (eval $ac_try) 2>&5
20739 ac_status=$?
20740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741 (exit $ac_status); }; }; then
20742 ac_hi=$ac_mid; break
20743 else
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.$ac_ext >&5
20746
20747 ac_lo=`expr $ac_mid + 1`
20748 if test $ac_lo -le $ac_mid; then
20749 ac_lo= ac_hi=
20750 break
20751 fi
20752 ac_mid=`expr 2 '*' $ac_mid + 1`
20753 fi
20754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20755 done
20756 else
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20759
20760 cat >conftest.$ac_ext <<_ACEOF
20761 /* confdefs.h. */
20762 _ACEOF
20763 cat confdefs.h >>conftest.$ac_ext
20764 cat >>conftest.$ac_ext <<_ACEOF
20765 /* end confdefs.h. */
20766 $ac_includes_default
20767 int
20768 main ()
20769 {
20770 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
20771 test_array [0] = 0
20772
20773 ;
20774 return 0;
20775 }
20776 _ACEOF
20777 rm -f conftest.$ac_objext
20778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20779 (eval $ac_compile) 2>conftest.er1
20780 ac_status=$?
20781 grep -v '^ *+' conftest.er1 >conftest.err
20782 rm -f conftest.er1
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } &&
20786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20788 (eval $ac_try) 2>&5
20789 ac_status=$?
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; } &&
20792 { ac_try='test -s conftest.$ac_objext'
20793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20794 (eval $ac_try) 2>&5
20795 ac_status=$?
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; }; then
20798 ac_hi=-1 ac_mid=-1
20799 while :; do
20800 cat >conftest.$ac_ext <<_ACEOF
20801 /* confdefs.h. */
20802 _ACEOF
20803 cat confdefs.h >>conftest.$ac_ext
20804 cat >>conftest.$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806 $ac_includes_default
20807 int
20808 main ()
20809 {
20810 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
20811 test_array [0] = 0
20812
20813 ;
20814 return 0;
20815 }
20816 _ACEOF
20817 rm -f conftest.$ac_objext
20818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20819 (eval $ac_compile) 2>conftest.er1
20820 ac_status=$?
20821 grep -v '^ *+' conftest.er1 >conftest.err
20822 rm -f conftest.er1
20823 cat conftest.err >&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20829 ac_status=$?
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; } &&
20832 { ac_try='test -s conftest.$ac_objext'
20833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20834 (eval $ac_try) 2>&5
20835 ac_status=$?
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); }; }; then
20838 ac_lo=$ac_mid; break
20839 else
20840 echo "$as_me: failed program was:" >&5
20841 sed 's/^/| /' conftest.$ac_ext >&5
20842
20843 ac_hi=`expr '(' $ac_mid ')' - 1`
20844 if test $ac_mid -le $ac_hi; then
20845 ac_lo= ac_hi=
20846 break
20847 fi
20848 ac_mid=`expr 2 '*' $ac_mid`
20849 fi
20850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20851 done
20852 else
20853 echo "$as_me: failed program was:" >&5
20854 sed 's/^/| /' conftest.$ac_ext >&5
20855
20856 ac_lo= ac_hi=
20857 fi
20858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20859 fi
20860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20861 # Binary search between lo and hi bounds.
20862 while test "x$ac_lo" != "x$ac_hi"; do
20863 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
20875 test_array [0] = 0
20876
20877 ;
20878 return 0;
20879 }
20880 _ACEOF
20881 rm -f conftest.$ac_objext
20882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20883 (eval $ac_compile) 2>conftest.er1
20884 ac_status=$?
20885 grep -v '^ *+' conftest.er1 >conftest.err
20886 rm -f conftest.er1
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } &&
20890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20892 (eval $ac_try) 2>&5
20893 ac_status=$?
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); }; } &&
20896 { ac_try='test -s conftest.$ac_objext'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20899 ac_status=$?
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; }; then
20902 ac_hi=$ac_mid
20903 else
20904 echo "$as_me: failed program was:" >&5
20905 sed 's/^/| /' conftest.$ac_ext >&5
20906
20907 ac_lo=`expr '(' $ac_mid ')' + 1`
20908 fi
20909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20910 done
20911 case $ac_lo in
20912 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20913 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20914 See \`config.log' for more details." >&5
20915 echo "$as_me: error: cannot compute sizeof (void *), 77
20916 See \`config.log' for more details." >&2;}
20917 { (exit 1); exit 1; }; } ;;
20918 esac
20919 else
20920 if test "$cross_compiling" = yes; then
20921 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20922 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20923 { (exit 1); exit 1; }; }
20924 else
20925 cat >conftest.$ac_ext <<_ACEOF
20926 /* confdefs.h. */
20927 _ACEOF
20928 cat confdefs.h >>conftest.$ac_ext
20929 cat >>conftest.$ac_ext <<_ACEOF
20930 /* end confdefs.h. */
20931 $ac_includes_default
20932 long longval () { return (long) (sizeof (void *)); }
20933 unsigned long ulongval () { return (long) (sizeof (void *)); }
20934 #include <stdio.h>
20935 #include <stdlib.h>
20936 int
20937 main ()
20938 {
20939
20940 FILE *f = fopen ("conftest.val", "w");
20941 if (! f)
20942 exit (1);
20943 if (((long) (sizeof (void *))) < 0)
20944 {
20945 long i = longval ();
20946 if (i != ((long) (sizeof (void *))))
20947 exit (1);
20948 fprintf (f, "%ld\n", i);
20949 }
20950 else
20951 {
20952 unsigned long i = ulongval ();
20953 if (i != ((long) (sizeof (void *))))
20954 exit (1);
20955 fprintf (f, "%lu\n", i);
20956 }
20957 exit (ferror (f) || fclose (f) != 0);
20958
20959 ;
20960 return 0;
20961 }
20962 _ACEOF
20963 rm -f conftest$ac_exeext
20964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20965 (eval $ac_link) 2>&5
20966 ac_status=$?
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20971 ac_status=$?
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; }; then
20974 ac_cv_sizeof_void_p=`cat conftest.val`
20975 else
20976 echo "$as_me: program exited with status $ac_status" >&5
20977 echo "$as_me: failed program was:" >&5
20978 sed 's/^/| /' conftest.$ac_ext >&5
20979
20980 ( exit $ac_status )
20981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20982 See \`config.log' for more details." >&5
20983 echo "$as_me: error: cannot compute sizeof (void *), 77
20984 See \`config.log' for more details." >&2;}
20985 { (exit 1); exit 1; }; }
20986 fi
20987 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20988 fi
20989 fi
20990 rm -f conftest.val
20991 else
20992 ac_cv_sizeof_void_p=0
20993 fi
20994 fi
20995 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20996 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
20997 cat >>confdefs.h <<_ACEOF
20998 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20999 _ACEOF
21000
21001
21002 echo "$as_me:$LINENO: checking for int" >&5
21003 echo $ECHO_N "checking for int... $ECHO_C" >&6
21004 if test "${ac_cv_type_int+set}" = set; then
21005 echo $ECHO_N "(cached) $ECHO_C" >&6
21006 else
21007 cat >conftest.$ac_ext <<_ACEOF
21008 /* confdefs.h. */
21009 _ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 $ac_includes_default
21014 int
21015 main ()
21016 {
21017 if ((int *) 0)
21018 return 0;
21019 if (sizeof (int))
21020 return 0;
21021 ;
21022 return 0;
21023 }
21024 _ACEOF
21025 rm -f conftest.$ac_objext
21026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21027 (eval $ac_compile) 2>conftest.er1
21028 ac_status=$?
21029 grep -v '^ *+' conftest.er1 >conftest.err
21030 rm -f conftest.er1
21031 cat conftest.err >&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } &&
21034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21036 (eval $ac_try) 2>&5
21037 ac_status=$?
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); }; } &&
21040 { ac_try='test -s conftest.$ac_objext'
21041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042 (eval $ac_try) 2>&5
21043 ac_status=$?
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); }; }; then
21046 ac_cv_type_int=yes
21047 else
21048 echo "$as_me: failed program was:" >&5
21049 sed 's/^/| /' conftest.$ac_ext >&5
21050
21051 ac_cv_type_int=no
21052 fi
21053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21054 fi
21055 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21056 echo "${ECHO_T}$ac_cv_type_int" >&6
21057
21058 echo "$as_me:$LINENO: checking size of int" >&5
21059 echo $ECHO_N "checking size of int... $ECHO_C" >&6
21060 if test "${ac_cv_sizeof_int+set}" = set; then
21061 echo $ECHO_N "(cached) $ECHO_C" >&6
21062 else
21063 if test "$ac_cv_type_int" = yes; then
21064 # The cast to unsigned long works around a bug in the HP C Compiler
21065 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21066 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21067 # This bug is HP SR number 8606223364.
21068 if test "$cross_compiling" = yes; then
21069 # Depending upon the size, compute the lo and hi bounds.
21070 cat >conftest.$ac_ext <<_ACEOF
21071 /* confdefs.h. */
21072 _ACEOF
21073 cat confdefs.h >>conftest.$ac_ext
21074 cat >>conftest.$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21076 $ac_includes_default
21077 int
21078 main ()
21079 {
21080 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
21081 test_array [0] = 0
21082
21083 ;
21084 return 0;
21085 }
21086 _ACEOF
21087 rm -f conftest.$ac_objext
21088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21089 (eval $ac_compile) 2>conftest.er1
21090 ac_status=$?
21091 grep -v '^ *+' conftest.er1 >conftest.err
21092 rm -f conftest.er1
21093 cat conftest.err >&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); } &&
21096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21099 ac_status=$?
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; } &&
21102 { ac_try='test -s conftest.$ac_objext'
21103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21104 (eval $ac_try) 2>&5
21105 ac_status=$?
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; }; then
21108 ac_lo=0 ac_mid=0
21109 while :; do
21110 cat >conftest.$ac_ext <<_ACEOF
21111 /* confdefs.h. */
21112 _ACEOF
21113 cat confdefs.h >>conftest.$ac_ext
21114 cat >>conftest.$ac_ext <<_ACEOF
21115 /* end confdefs.h. */
21116 $ac_includes_default
21117 int
21118 main ()
21119 {
21120 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21121 test_array [0] = 0
21122
21123 ;
21124 return 0;
21125 }
21126 _ACEOF
21127 rm -f conftest.$ac_objext
21128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21129 (eval $ac_compile) 2>conftest.er1
21130 ac_status=$?
21131 grep -v '^ *+' conftest.er1 >conftest.err
21132 rm -f conftest.er1
21133 cat conftest.err >&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } &&
21136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21138 (eval $ac_try) 2>&5
21139 ac_status=$?
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); }; } &&
21142 { ac_try='test -s conftest.$ac_objext'
21143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144 (eval $ac_try) 2>&5
21145 ac_status=$?
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; }; then
21148 ac_hi=$ac_mid; break
21149 else
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.$ac_ext >&5
21152
21153 ac_lo=`expr $ac_mid + 1`
21154 if test $ac_lo -le $ac_mid; then
21155 ac_lo= ac_hi=
21156 break
21157 fi
21158 ac_mid=`expr 2 '*' $ac_mid + 1`
21159 fi
21160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21161 done
21162 else
21163 echo "$as_me: failed program was:" >&5
21164 sed 's/^/| /' conftest.$ac_ext >&5
21165
21166 cat >conftest.$ac_ext <<_ACEOF
21167 /* confdefs.h. */
21168 _ACEOF
21169 cat confdefs.h >>conftest.$ac_ext
21170 cat >>conftest.$ac_ext <<_ACEOF
21171 /* end confdefs.h. */
21172 $ac_includes_default
21173 int
21174 main ()
21175 {
21176 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
21177 test_array [0] = 0
21178
21179 ;
21180 return 0;
21181 }
21182 _ACEOF
21183 rm -f conftest.$ac_objext
21184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21185 (eval $ac_compile) 2>conftest.er1
21186 ac_status=$?
21187 grep -v '^ *+' conftest.er1 >conftest.err
21188 rm -f conftest.er1
21189 cat conftest.err >&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } &&
21192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21195 ac_status=$?
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; } &&
21198 { ac_try='test -s conftest.$ac_objext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21201 ac_status=$?
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21204 ac_hi=-1 ac_mid=-1
21205 while :; do
21206 cat >conftest.$ac_ext <<_ACEOF
21207 /* confdefs.h. */
21208 _ACEOF
21209 cat confdefs.h >>conftest.$ac_ext
21210 cat >>conftest.$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21212 $ac_includes_default
21213 int
21214 main ()
21215 {
21216 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
21217 test_array [0] = 0
21218
21219 ;
21220 return 0;
21221 }
21222 _ACEOF
21223 rm -f conftest.$ac_objext
21224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21225 (eval $ac_compile) 2>conftest.er1
21226 ac_status=$?
21227 grep -v '^ *+' conftest.er1 >conftest.err
21228 rm -f conftest.er1
21229 cat conftest.err >&5
21230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21231 (exit $ac_status); } &&
21232 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21234 (eval $ac_try) 2>&5
21235 ac_status=$?
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); }; } &&
21238 { ac_try='test -s conftest.$ac_objext'
21239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240 (eval $ac_try) 2>&5
21241 ac_status=$?
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); }; }; then
21244 ac_lo=$ac_mid; break
21245 else
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.$ac_ext >&5
21248
21249 ac_hi=`expr '(' $ac_mid ')' - 1`
21250 if test $ac_mid -le $ac_hi; then
21251 ac_lo= ac_hi=
21252 break
21253 fi
21254 ac_mid=`expr 2 '*' $ac_mid`
21255 fi
21256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21257 done
21258 else
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.$ac_ext >&5
21261
21262 ac_lo= ac_hi=
21263 fi
21264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21265 fi
21266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21267 # Binary search between lo and hi bounds.
21268 while test "x$ac_lo" != "x$ac_hi"; do
21269 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21270 cat >conftest.$ac_ext <<_ACEOF
21271 /* confdefs.h. */
21272 _ACEOF
21273 cat confdefs.h >>conftest.$ac_ext
21274 cat >>conftest.$ac_ext <<_ACEOF
21275 /* end confdefs.h. */
21276 $ac_includes_default
21277 int
21278 main ()
21279 {
21280 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21281 test_array [0] = 0
21282
21283 ;
21284 return 0;
21285 }
21286 _ACEOF
21287 rm -f conftest.$ac_objext
21288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21289 (eval $ac_compile) 2>conftest.er1
21290 ac_status=$?
21291 grep -v '^ *+' conftest.er1 >conftest.err
21292 rm -f conftest.er1
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } &&
21296 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21298 (eval $ac_try) 2>&5
21299 ac_status=$?
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; } &&
21302 { ac_try='test -s conftest.$ac_objext'
21303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21304 (eval $ac_try) 2>&5
21305 ac_status=$?
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); }; }; then
21308 ac_hi=$ac_mid
21309 else
21310 echo "$as_me: failed program was:" >&5
21311 sed 's/^/| /' conftest.$ac_ext >&5
21312
21313 ac_lo=`expr '(' $ac_mid ')' + 1`
21314 fi
21315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21316 done
21317 case $ac_lo in
21318 ?*) ac_cv_sizeof_int=$ac_lo;;
21319 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
21320 See \`config.log' for more details." >&5
21321 echo "$as_me: error: cannot compute sizeof (int), 77
21322 See \`config.log' for more details." >&2;}
21323 { (exit 1); exit 1; }; } ;;
21324 esac
21325 else
21326 if test "$cross_compiling" = yes; then
21327 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21328 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21329 { (exit 1); exit 1; }; }
21330 else
21331 cat >conftest.$ac_ext <<_ACEOF
21332 /* confdefs.h. */
21333 _ACEOF
21334 cat confdefs.h >>conftest.$ac_ext
21335 cat >>conftest.$ac_ext <<_ACEOF
21336 /* end confdefs.h. */
21337 $ac_includes_default
21338 long longval () { return (long) (sizeof (int)); }
21339 unsigned long ulongval () { return (long) (sizeof (int)); }
21340 #include <stdio.h>
21341 #include <stdlib.h>
21342 int
21343 main ()
21344 {
21345
21346 FILE *f = fopen ("conftest.val", "w");
21347 if (! f)
21348 exit (1);
21349 if (((long) (sizeof (int))) < 0)
21350 {
21351 long i = longval ();
21352 if (i != ((long) (sizeof (int))))
21353 exit (1);
21354 fprintf (f, "%ld\n", i);
21355 }
21356 else
21357 {
21358 unsigned long i = ulongval ();
21359 if (i != ((long) (sizeof (int))))
21360 exit (1);
21361 fprintf (f, "%lu\n", i);
21362 }
21363 exit (ferror (f) || fclose (f) != 0);
21364
21365 ;
21366 return 0;
21367 }
21368 _ACEOF
21369 rm -f conftest$ac_exeext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21371 (eval $ac_link) 2>&5
21372 ac_status=$?
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21376 (eval $ac_try) 2>&5
21377 ac_status=$?
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); }; }; then
21380 ac_cv_sizeof_int=`cat conftest.val`
21381 else
21382 echo "$as_me: program exited with status $ac_status" >&5
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.$ac_ext >&5
21385
21386 ( exit $ac_status )
21387 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
21388 See \`config.log' for more details." >&5
21389 echo "$as_me: error: cannot compute sizeof (int), 77
21390 See \`config.log' for more details." >&2;}
21391 { (exit 1); exit 1; }; }
21392 fi
21393 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21394 fi
21395 fi
21396 rm -f conftest.val
21397 else
21398 ac_cv_sizeof_int=0
21399 fi
21400 fi
21401 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21402 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
21403 cat >>confdefs.h <<_ACEOF
21404 #define SIZEOF_INT $ac_cv_sizeof_int
21405 _ACEOF
21406
21407
21408 echo "$as_me:$LINENO: checking for long" >&5
21409 echo $ECHO_N "checking for long... $ECHO_C" >&6
21410 if test "${ac_cv_type_long+set}" = set; then
21411 echo $ECHO_N "(cached) $ECHO_C" >&6
21412 else
21413 cat >conftest.$ac_ext <<_ACEOF
21414 /* confdefs.h. */
21415 _ACEOF
21416 cat confdefs.h >>conftest.$ac_ext
21417 cat >>conftest.$ac_ext <<_ACEOF
21418 /* end confdefs.h. */
21419 $ac_includes_default
21420 int
21421 main ()
21422 {
21423 if ((long *) 0)
21424 return 0;
21425 if (sizeof (long))
21426 return 0;
21427 ;
21428 return 0;
21429 }
21430 _ACEOF
21431 rm -f conftest.$ac_objext
21432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21433 (eval $ac_compile) 2>conftest.er1
21434 ac_status=$?
21435 grep -v '^ *+' conftest.er1 >conftest.err
21436 rm -f conftest.er1
21437 cat conftest.err >&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); } &&
21440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21443 ac_status=$?
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; } &&
21446 { ac_try='test -s conftest.$ac_objext'
21447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21448 (eval $ac_try) 2>&5
21449 ac_status=$?
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); }; }; then
21452 ac_cv_type_long=yes
21453 else
21454 echo "$as_me: failed program was:" >&5
21455 sed 's/^/| /' conftest.$ac_ext >&5
21456
21457 ac_cv_type_long=no
21458 fi
21459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21460 fi
21461 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21462 echo "${ECHO_T}$ac_cv_type_long" >&6
21463
21464 echo "$as_me:$LINENO: checking size of long" >&5
21465 echo $ECHO_N "checking size of long... $ECHO_C" >&6
21466 if test "${ac_cv_sizeof_long+set}" = set; then
21467 echo $ECHO_N "(cached) $ECHO_C" >&6
21468 else
21469 if test "$ac_cv_type_long" = yes; then
21470 # The cast to unsigned long works around a bug in the HP C Compiler
21471 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21472 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21473 # This bug is HP SR number 8606223364.
21474 if test "$cross_compiling" = yes; then
21475 # Depending upon the size, compute the lo and hi bounds.
21476 cat >conftest.$ac_ext <<_ACEOF
21477 /* confdefs.h. */
21478 _ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 $ac_includes_default
21483 int
21484 main ()
21485 {
21486 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
21487 test_array [0] = 0
21488
21489 ;
21490 return 0;
21491 }
21492 _ACEOF
21493 rm -f conftest.$ac_objext
21494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21495 (eval $ac_compile) 2>conftest.er1
21496 ac_status=$?
21497 grep -v '^ *+' conftest.er1 >conftest.err
21498 rm -f conftest.er1
21499 cat conftest.err >&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); } &&
21502 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21504 (eval $ac_try) 2>&5
21505 ac_status=$?
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); }; } &&
21508 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21514 ac_lo=0 ac_mid=0
21515 while :; do
21516 cat >conftest.$ac_ext <<_ACEOF
21517 /* confdefs.h. */
21518 _ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 $ac_includes_default
21523 int
21524 main ()
21525 {
21526 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21527 test_array [0] = 0
21528
21529 ;
21530 return 0;
21531 }
21532 _ACEOF
21533 rm -f conftest.$ac_objext
21534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21535 (eval $ac_compile) 2>conftest.er1
21536 ac_status=$?
21537 grep -v '^ *+' conftest.er1 >conftest.err
21538 rm -f conftest.er1
21539 cat conftest.err >&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } &&
21542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21545 ac_status=$?
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; } &&
21548 { ac_try='test -s conftest.$ac_objext'
21549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21550 (eval $ac_try) 2>&5
21551 ac_status=$?
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); }; }; then
21554 ac_hi=$ac_mid; break
21555 else
21556 echo "$as_me: failed program was:" >&5
21557 sed 's/^/| /' conftest.$ac_ext >&5
21558
21559 ac_lo=`expr $ac_mid + 1`
21560 if test $ac_lo -le $ac_mid; then
21561 ac_lo= ac_hi=
21562 break
21563 fi
21564 ac_mid=`expr 2 '*' $ac_mid + 1`
21565 fi
21566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21567 done
21568 else
21569 echo "$as_me: failed program was:" >&5
21570 sed 's/^/| /' conftest.$ac_ext >&5
21571
21572 cat >conftest.$ac_ext <<_ACEOF
21573 /* confdefs.h. */
21574 _ACEOF
21575 cat confdefs.h >>conftest.$ac_ext
21576 cat >>conftest.$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578 $ac_includes_default
21579 int
21580 main ()
21581 {
21582 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
21583 test_array [0] = 0
21584
21585 ;
21586 return 0;
21587 }
21588 _ACEOF
21589 rm -f conftest.$ac_objext
21590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21591 (eval $ac_compile) 2>conftest.er1
21592 ac_status=$?
21593 grep -v '^ *+' conftest.er1 >conftest.err
21594 rm -f conftest.er1
21595 cat conftest.err >&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } &&
21598 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21600 (eval $ac_try) 2>&5
21601 ac_status=$?
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; } &&
21604 { ac_try='test -s conftest.$ac_objext'
21605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21606 (eval $ac_try) 2>&5
21607 ac_status=$?
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); }; }; then
21610 ac_hi=-1 ac_mid=-1
21611 while :; do
21612 cat >conftest.$ac_ext <<_ACEOF
21613 /* confdefs.h. */
21614 _ACEOF
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618 $ac_includes_default
21619 int
21620 main ()
21621 {
21622 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
21623 test_array [0] = 0
21624
21625 ;
21626 return 0;
21627 }
21628 _ACEOF
21629 rm -f conftest.$ac_objext
21630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21631 (eval $ac_compile) 2>conftest.er1
21632 ac_status=$?
21633 grep -v '^ *+' conftest.er1 >conftest.err
21634 rm -f conftest.er1
21635 cat conftest.err >&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } &&
21638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; } &&
21644 { ac_try='test -s conftest.$ac_objext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 ac_lo=$ac_mid; break
21651 else
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.$ac_ext >&5
21654
21655 ac_hi=`expr '(' $ac_mid ')' - 1`
21656 if test $ac_mid -le $ac_hi; then
21657 ac_lo= ac_hi=
21658 break
21659 fi
21660 ac_mid=`expr 2 '*' $ac_mid`
21661 fi
21662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21663 done
21664 else
21665 echo "$as_me: failed program was:" >&5
21666 sed 's/^/| /' conftest.$ac_ext >&5
21667
21668 ac_lo= ac_hi=
21669 fi
21670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21671 fi
21672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21673 # Binary search between lo and hi bounds.
21674 while test "x$ac_lo" != "x$ac_hi"; do
21675 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21676 cat >conftest.$ac_ext <<_ACEOF
21677 /* confdefs.h. */
21678 _ACEOF
21679 cat confdefs.h >>conftest.$ac_ext
21680 cat >>conftest.$ac_ext <<_ACEOF
21681 /* end confdefs.h. */
21682 $ac_includes_default
21683 int
21684 main ()
21685 {
21686 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21687 test_array [0] = 0
21688
21689 ;
21690 return 0;
21691 }
21692 _ACEOF
21693 rm -f conftest.$ac_objext
21694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21695 (eval $ac_compile) 2>conftest.er1
21696 ac_status=$?
21697 grep -v '^ *+' conftest.er1 >conftest.err
21698 rm -f conftest.er1
21699 cat conftest.err >&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } &&
21702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21705 ac_status=$?
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; } &&
21708 { ac_try='test -s conftest.$ac_objext'
21709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21710 (eval $ac_try) 2>&5
21711 ac_status=$?
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 ac_hi=$ac_mid
21715 else
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21718
21719 ac_lo=`expr '(' $ac_mid ')' + 1`
21720 fi
21721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21722 done
21723 case $ac_lo in
21724 ?*) ac_cv_sizeof_long=$ac_lo;;
21725 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21726 See \`config.log' for more details." >&5
21727 echo "$as_me: error: cannot compute sizeof (long), 77
21728 See \`config.log' for more details." >&2;}
21729 { (exit 1); exit 1; }; } ;;
21730 esac
21731 else
21732 if test "$cross_compiling" = yes; then
21733 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21734 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21735 { (exit 1); exit 1; }; }
21736 else
21737 cat >conftest.$ac_ext <<_ACEOF
21738 /* confdefs.h. */
21739 _ACEOF
21740 cat confdefs.h >>conftest.$ac_ext
21741 cat >>conftest.$ac_ext <<_ACEOF
21742 /* end confdefs.h. */
21743 $ac_includes_default
21744 long longval () { return (long) (sizeof (long)); }
21745 unsigned long ulongval () { return (long) (sizeof (long)); }
21746 #include <stdio.h>
21747 #include <stdlib.h>
21748 int
21749 main ()
21750 {
21751
21752 FILE *f = fopen ("conftest.val", "w");
21753 if (! f)
21754 exit (1);
21755 if (((long) (sizeof (long))) < 0)
21756 {
21757 long i = longval ();
21758 if (i != ((long) (sizeof (long))))
21759 exit (1);
21760 fprintf (f, "%ld\n", i);
21761 }
21762 else
21763 {
21764 unsigned long i = ulongval ();
21765 if (i != ((long) (sizeof (long))))
21766 exit (1);
21767 fprintf (f, "%lu\n", i);
21768 }
21769 exit (ferror (f) || fclose (f) != 0);
21770
21771 ;
21772 return 0;
21773 }
21774 _ACEOF
21775 rm -f conftest$ac_exeext
21776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21777 (eval $ac_link) 2>&5
21778 ac_status=$?
21779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21783 ac_status=$?
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; }; then
21786 ac_cv_sizeof_long=`cat conftest.val`
21787 else
21788 echo "$as_me: program exited with status $ac_status" >&5
21789 echo "$as_me: failed program was:" >&5
21790 sed 's/^/| /' conftest.$ac_ext >&5
21791
21792 ( exit $ac_status )
21793 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21794 See \`config.log' for more details." >&5
21795 echo "$as_me: error: cannot compute sizeof (long), 77
21796 See \`config.log' for more details." >&2;}
21797 { (exit 1); exit 1; }; }
21798 fi
21799 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21800 fi
21801 fi
21802 rm -f conftest.val
21803 else
21804 ac_cv_sizeof_long=0
21805 fi
21806 fi
21807 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21808 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
21809 cat >>confdefs.h <<_ACEOF
21810 #define SIZEOF_LONG $ac_cv_sizeof_long
21811 _ACEOF
21812
21813
21814 echo "$as_me:$LINENO: checking for size_t" >&5
21815 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21816 if test "${ac_cv_type_size_t+set}" = set; then
21817 echo $ECHO_N "(cached) $ECHO_C" >&6
21818 else
21819 cat >conftest.$ac_ext <<_ACEOF
21820 /* confdefs.h. */
21821 _ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21826 int
21827 main ()
21828 {
21829 if ((size_t *) 0)
21830 return 0;
21831 if (sizeof (size_t))
21832 return 0;
21833 ;
21834 return 0;
21835 }
21836 _ACEOF
21837 rm -f conftest.$ac_objext
21838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21839 (eval $ac_compile) 2>conftest.er1
21840 ac_status=$?
21841 grep -v '^ *+' conftest.er1 >conftest.err
21842 rm -f conftest.er1
21843 cat conftest.err >&5
21844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21845 (exit $ac_status); } &&
21846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21848 (eval $ac_try) 2>&5
21849 ac_status=$?
21850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851 (exit $ac_status); }; } &&
21852 { ac_try='test -s conftest.$ac_objext'
21853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21854 (eval $ac_try) 2>&5
21855 ac_status=$?
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); }; }; then
21858 ac_cv_type_size_t=yes
21859 else
21860 echo "$as_me: failed program was:" >&5
21861 sed 's/^/| /' conftest.$ac_ext >&5
21862
21863 ac_cv_type_size_t=no
21864 fi
21865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21866 fi
21867 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21868 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21869
21870 echo "$as_me:$LINENO: checking size of size_t" >&5
21871 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
21872 if test "${ac_cv_sizeof_size_t+set}" = set; then
21873 echo $ECHO_N "(cached) $ECHO_C" >&6
21874 else
21875 if test "$ac_cv_type_size_t" = yes; then
21876 # The cast to unsigned long works around a bug in the HP C Compiler
21877 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21878 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21879 # This bug is HP SR number 8606223364.
21880 if test "$cross_compiling" = yes; then
21881 # Depending upon the size, compute the lo and hi bounds.
21882 cat >conftest.$ac_ext <<_ACEOF
21883 /* confdefs.h. */
21884 _ACEOF
21885 cat confdefs.h >>conftest.$ac_ext
21886 cat >>conftest.$ac_ext <<_ACEOF
21887 /* end confdefs.h. */
21888 $ac_includes_default
21889 int
21890 main ()
21891 {
21892 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
21893 test_array [0] = 0
21894
21895 ;
21896 return 0;
21897 }
21898 _ACEOF
21899 rm -f conftest.$ac_objext
21900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21901 (eval $ac_compile) 2>conftest.er1
21902 ac_status=$?
21903 grep -v '^ *+' conftest.er1 >conftest.err
21904 rm -f conftest.er1
21905 cat conftest.err >&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); } &&
21908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21910 (eval $ac_try) 2>&5
21911 ac_status=$?
21912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 (exit $ac_status); }; } &&
21914 { ac_try='test -s conftest.$ac_objext'
21915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916 (eval $ac_try) 2>&5
21917 ac_status=$?
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); }; }; then
21920 ac_lo=0 ac_mid=0
21921 while :; do
21922 cat >conftest.$ac_ext <<_ACEOF
21923 /* confdefs.h. */
21924 _ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 $ac_includes_default
21929 int
21930 main ()
21931 {
21932 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
21933 test_array [0] = 0
21934
21935 ;
21936 return 0;
21937 }
21938 _ACEOF
21939 rm -f conftest.$ac_objext
21940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21941 (eval $ac_compile) 2>conftest.er1
21942 ac_status=$?
21943 grep -v '^ *+' conftest.er1 >conftest.err
21944 rm -f conftest.er1
21945 cat conftest.err >&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); } &&
21948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21950 (eval $ac_try) 2>&5
21951 ac_status=$?
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); }; } &&
21954 { ac_try='test -s conftest.$ac_objext'
21955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21956 (eval $ac_try) 2>&5
21957 ac_status=$?
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); }; }; then
21960 ac_hi=$ac_mid; break
21961 else
21962 echo "$as_me: failed program was:" >&5
21963 sed 's/^/| /' conftest.$ac_ext >&5
21964
21965 ac_lo=`expr $ac_mid + 1`
21966 if test $ac_lo -le $ac_mid; then
21967 ac_lo= ac_hi=
21968 break
21969 fi
21970 ac_mid=`expr 2 '*' $ac_mid + 1`
21971 fi
21972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21973 done
21974 else
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.$ac_ext >&5
21977
21978 cat >conftest.$ac_ext <<_ACEOF
21979 /* confdefs.h. */
21980 _ACEOF
21981 cat confdefs.h >>conftest.$ac_ext
21982 cat >>conftest.$ac_ext <<_ACEOF
21983 /* end confdefs.h. */
21984 $ac_includes_default
21985 int
21986 main ()
21987 {
21988 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
21989 test_array [0] = 0
21990
21991 ;
21992 return 0;
21993 }
21994 _ACEOF
21995 rm -f conftest.$ac_objext
21996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21997 (eval $ac_compile) 2>conftest.er1
21998 ac_status=$?
21999 grep -v '^ *+' conftest.er1 >conftest.err
22000 rm -f conftest.er1
22001 cat conftest.err >&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } &&
22004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22007 ac_status=$?
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; } &&
22010 { ac_try='test -s conftest.$ac_objext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22013 ac_status=$?
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 ac_hi=-1 ac_mid=-1
22017 while :; do
22018 cat >conftest.$ac_ext <<_ACEOF
22019 /* confdefs.h. */
22020 _ACEOF
22021 cat confdefs.h >>conftest.$ac_ext
22022 cat >>conftest.$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 $ac_includes_default
22025 int
22026 main ()
22027 {
22028 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
22029 test_array [0] = 0
22030
22031 ;
22032 return 0;
22033 }
22034 _ACEOF
22035 rm -f conftest.$ac_objext
22036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22037 (eval $ac_compile) 2>conftest.er1
22038 ac_status=$?
22039 grep -v '^ *+' conftest.er1 >conftest.err
22040 rm -f conftest.er1
22041 cat conftest.err >&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); } &&
22044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22047 ac_status=$?
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; } &&
22050 { ac_try='test -s conftest.$ac_objext'
22051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052 (eval $ac_try) 2>&5
22053 ac_status=$?
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; }; then
22056 ac_lo=$ac_mid; break
22057 else
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.$ac_ext >&5
22060
22061 ac_hi=`expr '(' $ac_mid ')' - 1`
22062 if test $ac_mid -le $ac_hi; then
22063 ac_lo= ac_hi=
22064 break
22065 fi
22066 ac_mid=`expr 2 '*' $ac_mid`
22067 fi
22068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22069 done
22070 else
22071 echo "$as_me: failed program was:" >&5
22072 sed 's/^/| /' conftest.$ac_ext >&5
22073
22074 ac_lo= ac_hi=
22075 fi
22076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22077 fi
22078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22079 # Binary search between lo and hi bounds.
22080 while test "x$ac_lo" != "x$ac_hi"; do
22081 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22082 cat >conftest.$ac_ext <<_ACEOF
22083 /* confdefs.h. */
22084 _ACEOF
22085 cat confdefs.h >>conftest.$ac_ext
22086 cat >>conftest.$ac_ext <<_ACEOF
22087 /* end confdefs.h. */
22088 $ac_includes_default
22089 int
22090 main ()
22091 {
22092 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
22093 test_array [0] = 0
22094
22095 ;
22096 return 0;
22097 }
22098 _ACEOF
22099 rm -f conftest.$ac_objext
22100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22101 (eval $ac_compile) 2>conftest.er1
22102 ac_status=$?
22103 grep -v '^ *+' conftest.er1 >conftest.err
22104 rm -f conftest.er1
22105 cat conftest.err >&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } &&
22108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22110 (eval $ac_try) 2>&5
22111 ac_status=$?
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); }; } &&
22114 { ac_try='test -s conftest.$ac_objext'
22115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22116 (eval $ac_try) 2>&5
22117 ac_status=$?
22118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22119 (exit $ac_status); }; }; then
22120 ac_hi=$ac_mid
22121 else
22122 echo "$as_me: failed program was:" >&5
22123 sed 's/^/| /' conftest.$ac_ext >&5
22124
22125 ac_lo=`expr '(' $ac_mid ')' + 1`
22126 fi
22127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22128 done
22129 case $ac_lo in
22130 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22131 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22132 See \`config.log' for more details." >&5
22133 echo "$as_me: error: cannot compute sizeof (size_t), 77
22134 See \`config.log' for more details." >&2;}
22135 { (exit 1); exit 1; }; } ;;
22136 esac
22137 else
22138 if test "$cross_compiling" = yes; then
22139 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22140 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22141 { (exit 1); exit 1; }; }
22142 else
22143 cat >conftest.$ac_ext <<_ACEOF
22144 /* confdefs.h. */
22145 _ACEOF
22146 cat confdefs.h >>conftest.$ac_ext
22147 cat >>conftest.$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 $ac_includes_default
22150 long longval () { return (long) (sizeof (size_t)); }
22151 unsigned long ulongval () { return (long) (sizeof (size_t)); }
22152 #include <stdio.h>
22153 #include <stdlib.h>
22154 int
22155 main ()
22156 {
22157
22158 FILE *f = fopen ("conftest.val", "w");
22159 if (! f)
22160 exit (1);
22161 if (((long) (sizeof (size_t))) < 0)
22162 {
22163 long i = longval ();
22164 if (i != ((long) (sizeof (size_t))))
22165 exit (1);
22166 fprintf (f, "%ld\n", i);
22167 }
22168 else
22169 {
22170 unsigned long i = ulongval ();
22171 if (i != ((long) (sizeof (size_t))))
22172 exit (1);
22173 fprintf (f, "%lu\n", i);
22174 }
22175 exit (ferror (f) || fclose (f) != 0);
22176
22177 ;
22178 return 0;
22179 }
22180 _ACEOF
22181 rm -f conftest$ac_exeext
22182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22183 (eval $ac_link) 2>&5
22184 ac_status=$?
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188 (eval $ac_try) 2>&5
22189 ac_status=$?
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; }; then
22192 ac_cv_sizeof_size_t=`cat conftest.val`
22193 else
22194 echo "$as_me: program exited with status $ac_status" >&5
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.$ac_ext >&5
22197
22198 ( exit $ac_status )
22199 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22200 See \`config.log' for more details." >&5
22201 echo "$as_me: error: cannot compute sizeof (size_t), 77
22202 See \`config.log' for more details." >&2;}
22203 { (exit 1); exit 1; }; }
22204 fi
22205 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22206 fi
22207 fi
22208 rm -f conftest.val
22209 else
22210 ac_cv_sizeof_size_t=0
22211 fi
22212 fi
22213 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22214 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
22215 cat >>confdefs.h <<_ACEOF
22216 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22217 _ACEOF
22218
22219
22220
22221 case "${host}" in
22222 arm-*-linux* )
22223 echo "$as_me:$LINENO: checking for long long" >&5
22224 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22225 if test "${ac_cv_type_long_long+set}" = set; then
22226 echo $ECHO_N "(cached) $ECHO_C" >&6
22227 else
22228 cat >conftest.$ac_ext <<_ACEOF
22229 /* confdefs.h. */
22230 _ACEOF
22231 cat confdefs.h >>conftest.$ac_ext
22232 cat >>conftest.$ac_ext <<_ACEOF
22233 /* end confdefs.h. */
22234 $ac_includes_default
22235 int
22236 main ()
22237 {
22238 if ((long long *) 0)
22239 return 0;
22240 if (sizeof (long long))
22241 return 0;
22242 ;
22243 return 0;
22244 }
22245 _ACEOF
22246 rm -f conftest.$ac_objext
22247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22248 (eval $ac_compile) 2>conftest.er1
22249 ac_status=$?
22250 grep -v '^ *+' conftest.er1 >conftest.err
22251 rm -f conftest.er1
22252 cat conftest.err >&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } &&
22255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22257 (eval $ac_try) 2>&5
22258 ac_status=$?
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); }; } &&
22261 { ac_try='test -s conftest.$ac_objext'
22262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263 (eval $ac_try) 2>&5
22264 ac_status=$?
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); }; }; then
22267 ac_cv_type_long_long=yes
22268 else
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.$ac_ext >&5
22271
22272 ac_cv_type_long_long=no
22273 fi
22274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22275 fi
22276 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22277 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22278
22279 echo "$as_me:$LINENO: checking size of long long" >&5
22280 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22281 if test "${ac_cv_sizeof_long_long+set}" = set; then
22282 echo $ECHO_N "(cached) $ECHO_C" >&6
22283 else
22284 if test "$ac_cv_type_long_long" = yes; then
22285 # The cast to unsigned long works around a bug in the HP C Compiler
22286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22288 # This bug is HP SR number 8606223364.
22289 if test "$cross_compiling" = yes; then
22290 # Depending upon the size, compute the lo and hi bounds.
22291 cat >conftest.$ac_ext <<_ACEOF
22292 /* confdefs.h. */
22293 _ACEOF
22294 cat confdefs.h >>conftest.$ac_ext
22295 cat >>conftest.$ac_ext <<_ACEOF
22296 /* end confdefs.h. */
22297 $ac_includes_default
22298 int
22299 main ()
22300 {
22301 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
22302 test_array [0] = 0
22303
22304 ;
22305 return 0;
22306 }
22307 _ACEOF
22308 rm -f conftest.$ac_objext
22309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22310 (eval $ac_compile) 2>conftest.er1
22311 ac_status=$?
22312 grep -v '^ *+' conftest.er1 >conftest.err
22313 rm -f conftest.er1
22314 cat conftest.err >&5
22315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22316 (exit $ac_status); } &&
22317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22319 (eval $ac_try) 2>&5
22320 ac_status=$?
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); }; } &&
22323 { ac_try='test -s conftest.$ac_objext'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22326 ac_status=$?
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; }; then
22329 ac_lo=0 ac_mid=0
22330 while :; do
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 $ac_includes_default
22338 int
22339 main ()
22340 {
22341 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22342 test_array [0] = 0
22343
22344 ;
22345 return 0;
22346 }
22347 _ACEOF
22348 rm -f conftest.$ac_objext
22349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22350 (eval $ac_compile) 2>conftest.er1
22351 ac_status=$?
22352 grep -v '^ *+' conftest.er1 >conftest.err
22353 rm -f conftest.er1
22354 cat conftest.err >&5
22355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22356 (exit $ac_status); } &&
22357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359 (eval $ac_try) 2>&5
22360 ac_status=$?
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); }; } &&
22363 { ac_try='test -s conftest.$ac_objext'
22364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22365 (eval $ac_try) 2>&5
22366 ac_status=$?
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); }; }; then
22369 ac_hi=$ac_mid; break
22370 else
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.$ac_ext >&5
22373
22374 ac_lo=`expr $ac_mid + 1`
22375 if test $ac_lo -le $ac_mid; then
22376 ac_lo= ac_hi=
22377 break
22378 fi
22379 ac_mid=`expr 2 '*' $ac_mid + 1`
22380 fi
22381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22382 done
22383 else
22384 echo "$as_me: failed program was:" >&5
22385 sed 's/^/| /' conftest.$ac_ext >&5
22386
22387 cat >conftest.$ac_ext <<_ACEOF
22388 /* confdefs.h. */
22389 _ACEOF
22390 cat confdefs.h >>conftest.$ac_ext
22391 cat >>conftest.$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22393 $ac_includes_default
22394 int
22395 main ()
22396 {
22397 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22398 test_array [0] = 0
22399
22400 ;
22401 return 0;
22402 }
22403 _ACEOF
22404 rm -f conftest.$ac_objext
22405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22406 (eval $ac_compile) 2>conftest.er1
22407 ac_status=$?
22408 grep -v '^ *+' conftest.er1 >conftest.err
22409 rm -f conftest.er1
22410 cat conftest.err >&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } &&
22413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22416 ac_status=$?
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; } &&
22419 { ac_try='test -s conftest.$ac_objext'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22422 ac_status=$?
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; }; then
22425 ac_hi=-1 ac_mid=-1
22426 while :; do
22427 cat >conftest.$ac_ext <<_ACEOF
22428 /* confdefs.h. */
22429 _ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 $ac_includes_default
22434 int
22435 main ()
22436 {
22437 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22438 test_array [0] = 0
22439
22440 ;
22441 return 0;
22442 }
22443 _ACEOF
22444 rm -f conftest.$ac_objext
22445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22446 (eval $ac_compile) 2>conftest.er1
22447 ac_status=$?
22448 grep -v '^ *+' conftest.er1 >conftest.err
22449 rm -f conftest.er1
22450 cat conftest.err >&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); } &&
22453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22455 (eval $ac_try) 2>&5
22456 ac_status=$?
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); }; } &&
22459 { ac_try='test -s conftest.$ac_objext'
22460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22461 (eval $ac_try) 2>&5
22462 ac_status=$?
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); }; }; then
22465 ac_lo=$ac_mid; break
22466 else
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.$ac_ext >&5
22469
22470 ac_hi=`expr '(' $ac_mid ')' - 1`
22471 if test $ac_mid -le $ac_hi; then
22472 ac_lo= ac_hi=
22473 break
22474 fi
22475 ac_mid=`expr 2 '*' $ac_mid`
22476 fi
22477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22478 done
22479 else
22480 echo "$as_me: failed program was:" >&5
22481 sed 's/^/| /' conftest.$ac_ext >&5
22482
22483 ac_lo= ac_hi=
22484 fi
22485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22486 fi
22487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22488 # Binary search between lo and hi bounds.
22489 while test "x$ac_lo" != "x$ac_hi"; do
22490 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22491 cat >conftest.$ac_ext <<_ACEOF
22492 /* confdefs.h. */
22493 _ACEOF
22494 cat confdefs.h >>conftest.$ac_ext
22495 cat >>conftest.$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497 $ac_includes_default
22498 int
22499 main ()
22500 {
22501 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22502 test_array [0] = 0
22503
22504 ;
22505 return 0;
22506 }
22507 _ACEOF
22508 rm -f conftest.$ac_objext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22510 (eval $ac_compile) 2>conftest.er1
22511 ac_status=$?
22512 grep -v '^ *+' conftest.er1 >conftest.err
22513 rm -f conftest.er1
22514 cat conftest.err >&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } &&
22517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22520 ac_status=$?
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; } &&
22523 { ac_try='test -s conftest.$ac_objext'
22524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525 (eval $ac_try) 2>&5
22526 ac_status=$?
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); }; }; then
22529 ac_hi=$ac_mid
22530 else
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.$ac_ext >&5
22533
22534 ac_lo=`expr '(' $ac_mid ')' + 1`
22535 fi
22536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22537 done
22538 case $ac_lo in
22539 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22540 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22541 See \`config.log' for more details." >&5
22542 echo "$as_me: error: cannot compute sizeof (long long), 77
22543 See \`config.log' for more details." >&2;}
22544 { (exit 1); exit 1; }; } ;;
22545 esac
22546 else
22547 if test "$cross_compiling" = yes; then
22548 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22549 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22550 { (exit 1); exit 1; }; }
22551 else
22552 cat >conftest.$ac_ext <<_ACEOF
22553 /* confdefs.h. */
22554 _ACEOF
22555 cat confdefs.h >>conftest.$ac_ext
22556 cat >>conftest.$ac_ext <<_ACEOF
22557 /* end confdefs.h. */
22558 $ac_includes_default
22559 long longval () { return (long) (sizeof (long long)); }
22560 unsigned long ulongval () { return (long) (sizeof (long long)); }
22561 #include <stdio.h>
22562 #include <stdlib.h>
22563 int
22564 main ()
22565 {
22566
22567 FILE *f = fopen ("conftest.val", "w");
22568 if (! f)
22569 exit (1);
22570 if (((long) (sizeof (long long))) < 0)
22571 {
22572 long i = longval ();
22573 if (i != ((long) (sizeof (long long))))
22574 exit (1);
22575 fprintf (f, "%ld\n", i);
22576 }
22577 else
22578 {
22579 unsigned long i = ulongval ();
22580 if (i != ((long) (sizeof (long long))))
22581 exit (1);
22582 fprintf (f, "%lu\n", i);
22583 }
22584 exit (ferror (f) || fclose (f) != 0);
22585
22586 ;
22587 return 0;
22588 }
22589 _ACEOF
22590 rm -f conftest$ac_exeext
22591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22592 (eval $ac_link) 2>&5
22593 ac_status=$?
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597 (eval $ac_try) 2>&5
22598 ac_status=$?
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_cv_sizeof_long_long=`cat conftest.val`
22602 else
22603 echo "$as_me: program exited with status $ac_status" >&5
22604 echo "$as_me: failed program was:" >&5
22605 sed 's/^/| /' conftest.$ac_ext >&5
22606
22607 ( exit $ac_status )
22608 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22609 See \`config.log' for more details." >&5
22610 echo "$as_me: error: cannot compute sizeof (long long), 77
22611 See \`config.log' for more details." >&2;}
22612 { (exit 1); exit 1; }; }
22613 fi
22614 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22615 fi
22616 fi
22617 rm -f conftest.val
22618 else
22619 ac_cv_sizeof_long_long=0
22620 fi
22621 fi
22622 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22623 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
22624 cat >>confdefs.h <<_ACEOF
22625 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22626 _ACEOF
22627
22628
22629 ;;
22630 *-hp-hpux* )
22631 echo "$as_me:$LINENO: checking for long long" >&5
22632 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22633 if test "${ac_cv_type_long_long+set}" = set; then
22634 echo $ECHO_N "(cached) $ECHO_C" >&6
22635 else
22636 cat >conftest.$ac_ext <<_ACEOF
22637 /* confdefs.h. */
22638 _ACEOF
22639 cat confdefs.h >>conftest.$ac_ext
22640 cat >>conftest.$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 $ac_includes_default
22643 int
22644 main ()
22645 {
22646 if ((long long *) 0)
22647 return 0;
22648 if (sizeof (long long))
22649 return 0;
22650 ;
22651 return 0;
22652 }
22653 _ACEOF
22654 rm -f conftest.$ac_objext
22655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22656 (eval $ac_compile) 2>conftest.er1
22657 ac_status=$?
22658 grep -v '^ *+' conftest.er1 >conftest.err
22659 rm -f conftest.er1
22660 cat conftest.err >&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; } &&
22669 { ac_try='test -s conftest.$ac_objext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22672 ac_status=$?
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 ac_cv_type_long_long=yes
22676 else
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22679
22680 ac_cv_type_long_long=no
22681 fi
22682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22683 fi
22684 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22685 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22686
22687 echo "$as_me:$LINENO: checking size of long long" >&5
22688 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22689 if test "${ac_cv_sizeof_long_long+set}" = set; then
22690 echo $ECHO_N "(cached) $ECHO_C" >&6
22691 else
22692 if test "$ac_cv_type_long_long" = yes; then
22693 # The cast to unsigned long works around a bug in the HP C Compiler
22694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22696 # This bug is HP SR number 8606223364.
22697 if test "$cross_compiling" = yes; then
22698 # Depending upon the size, compute the lo and hi bounds.
22699 cat >conftest.$ac_ext <<_ACEOF
22700 /* confdefs.h. */
22701 _ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22705 $ac_includes_default
22706 int
22707 main ()
22708 {
22709 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
22710 test_array [0] = 0
22711
22712 ;
22713 return 0;
22714 }
22715 _ACEOF
22716 rm -f conftest.$ac_objext
22717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22718 (eval $ac_compile) 2>conftest.er1
22719 ac_status=$?
22720 grep -v '^ *+' conftest.er1 >conftest.err
22721 rm -f conftest.er1
22722 cat conftest.err >&5
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); } &&
22725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22727 (eval $ac_try) 2>&5
22728 ac_status=$?
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); }; } &&
22731 { ac_try='test -s conftest.$ac_objext'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22734 ac_status=$?
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; }; then
22737 ac_lo=0 ac_mid=0
22738 while :; do
22739 cat >conftest.$ac_ext <<_ACEOF
22740 /* confdefs.h. */
22741 _ACEOF
22742 cat confdefs.h >>conftest.$ac_ext
22743 cat >>conftest.$ac_ext <<_ACEOF
22744 /* end confdefs.h. */
22745 $ac_includes_default
22746 int
22747 main ()
22748 {
22749 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22750 test_array [0] = 0
22751
22752 ;
22753 return 0;
22754 }
22755 _ACEOF
22756 rm -f conftest.$ac_objext
22757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22758 (eval $ac_compile) 2>conftest.er1
22759 ac_status=$?
22760 grep -v '^ *+' conftest.er1 >conftest.err
22761 rm -f conftest.er1
22762 cat conftest.err >&5
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); } &&
22765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22768 ac_status=$?
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; } &&
22771 { ac_try='test -s conftest.$ac_objext'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22774 ac_status=$?
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; }; then
22777 ac_hi=$ac_mid; break
22778 else
22779 echo "$as_me: failed program was:" >&5
22780 sed 's/^/| /' conftest.$ac_ext >&5
22781
22782 ac_lo=`expr $ac_mid + 1`
22783 if test $ac_lo -le $ac_mid; then
22784 ac_lo= ac_hi=
22785 break
22786 fi
22787 ac_mid=`expr 2 '*' $ac_mid + 1`
22788 fi
22789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22790 done
22791 else
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.$ac_ext >&5
22794
22795 cat >conftest.$ac_ext <<_ACEOF
22796 /* confdefs.h. */
22797 _ACEOF
22798 cat confdefs.h >>conftest.$ac_ext
22799 cat >>conftest.$ac_ext <<_ACEOF
22800 /* end confdefs.h. */
22801 $ac_includes_default
22802 int
22803 main ()
22804 {
22805 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22806 test_array [0] = 0
22807
22808 ;
22809 return 0;
22810 }
22811 _ACEOF
22812 rm -f conftest.$ac_objext
22813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22814 (eval $ac_compile) 2>conftest.er1
22815 ac_status=$?
22816 grep -v '^ *+' conftest.er1 >conftest.err
22817 rm -f conftest.er1
22818 cat conftest.err >&5
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); } &&
22821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
22827 { ac_try='test -s conftest.$ac_objext'
22828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22829 (eval $ac_try) 2>&5
22830 ac_status=$?
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); }; }; then
22833 ac_hi=-1 ac_mid=-1
22834 while :; do
22835 cat >conftest.$ac_ext <<_ACEOF
22836 /* confdefs.h. */
22837 _ACEOF
22838 cat confdefs.h >>conftest.$ac_ext
22839 cat >>conftest.$ac_ext <<_ACEOF
22840 /* end confdefs.h. */
22841 $ac_includes_default
22842 int
22843 main ()
22844 {
22845 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22846 test_array [0] = 0
22847
22848 ;
22849 return 0;
22850 }
22851 _ACEOF
22852 rm -f conftest.$ac_objext
22853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22854 (eval $ac_compile) 2>conftest.er1
22855 ac_status=$?
22856 grep -v '^ *+' conftest.er1 >conftest.err
22857 rm -f conftest.er1
22858 cat conftest.err >&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); } &&
22861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22863 (eval $ac_try) 2>&5
22864 ac_status=$?
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); }; } &&
22867 { ac_try='test -s conftest.$ac_objext'
22868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22869 (eval $ac_try) 2>&5
22870 ac_status=$?
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); }; }; then
22873 ac_lo=$ac_mid; break
22874 else
22875 echo "$as_me: failed program was:" >&5
22876 sed 's/^/| /' conftest.$ac_ext >&5
22877
22878 ac_hi=`expr '(' $ac_mid ')' - 1`
22879 if test $ac_mid -le $ac_hi; then
22880 ac_lo= ac_hi=
22881 break
22882 fi
22883 ac_mid=`expr 2 '*' $ac_mid`
22884 fi
22885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22886 done
22887 else
22888 echo "$as_me: failed program was:" >&5
22889 sed 's/^/| /' conftest.$ac_ext >&5
22890
22891 ac_lo= ac_hi=
22892 fi
22893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22894 fi
22895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22896 # Binary search between lo and hi bounds.
22897 while test "x$ac_lo" != "x$ac_hi"; do
22898 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22899 cat >conftest.$ac_ext <<_ACEOF
22900 /* confdefs.h. */
22901 _ACEOF
22902 cat confdefs.h >>conftest.$ac_ext
22903 cat >>conftest.$ac_ext <<_ACEOF
22904 /* end confdefs.h. */
22905 $ac_includes_default
22906 int
22907 main ()
22908 {
22909 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22910 test_array [0] = 0
22911
22912 ;
22913 return 0;
22914 }
22915 _ACEOF
22916 rm -f conftest.$ac_objext
22917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22918 (eval $ac_compile) 2>conftest.er1
22919 ac_status=$?
22920 grep -v '^ *+' conftest.er1 >conftest.err
22921 rm -f conftest.er1
22922 cat conftest.err >&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22927 (eval $ac_try) 2>&5
22928 ac_status=$?
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); }; } &&
22931 { ac_try='test -s conftest.$ac_objext'
22932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22933 (eval $ac_try) 2>&5
22934 ac_status=$?
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); }; }; then
22937 ac_hi=$ac_mid
22938 else
22939 echo "$as_me: failed program was:" >&5
22940 sed 's/^/| /' conftest.$ac_ext >&5
22941
22942 ac_lo=`expr '(' $ac_mid ')' + 1`
22943 fi
22944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22945 done
22946 case $ac_lo in
22947 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22948 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22949 See \`config.log' for more details." >&5
22950 echo "$as_me: error: cannot compute sizeof (long long), 77
22951 See \`config.log' for more details." >&2;}
22952 { (exit 1); exit 1; }; } ;;
22953 esac
22954 else
22955 if test "$cross_compiling" = yes; then
22956 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22957 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22958 { (exit 1); exit 1; }; }
22959 else
22960 cat >conftest.$ac_ext <<_ACEOF
22961 /* confdefs.h. */
22962 _ACEOF
22963 cat confdefs.h >>conftest.$ac_ext
22964 cat >>conftest.$ac_ext <<_ACEOF
22965 /* end confdefs.h. */
22966 $ac_includes_default
22967 long longval () { return (long) (sizeof (long long)); }
22968 unsigned long ulongval () { return (long) (sizeof (long long)); }
22969 #include <stdio.h>
22970 #include <stdlib.h>
22971 int
22972 main ()
22973 {
22974
22975 FILE *f = fopen ("conftest.val", "w");
22976 if (! f)
22977 exit (1);
22978 if (((long) (sizeof (long long))) < 0)
22979 {
22980 long i = longval ();
22981 if (i != ((long) (sizeof (long long))))
22982 exit (1);
22983 fprintf (f, "%ld\n", i);
22984 }
22985 else
22986 {
22987 unsigned long i = ulongval ();
22988 if (i != ((long) (sizeof (long long))))
22989 exit (1);
22990 fprintf (f, "%lu\n", i);
22991 }
22992 exit (ferror (f) || fclose (f) != 0);
22993
22994 ;
22995 return 0;
22996 }
22997 _ACEOF
22998 rm -f conftest$ac_exeext
22999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23000 (eval $ac_link) 2>&5
23001 ac_status=$?
23002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23005 (eval $ac_try) 2>&5
23006 ac_status=$?
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); }; }; then
23009 ac_cv_sizeof_long_long=`cat conftest.val`
23010 else
23011 echo "$as_me: program exited with status $ac_status" >&5
23012 echo "$as_me: failed program was:" >&5
23013 sed 's/^/| /' conftest.$ac_ext >&5
23014
23015 ( exit $ac_status )
23016 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23017 See \`config.log' for more details." >&5
23018 echo "$as_me: error: cannot compute sizeof (long long), 77
23019 See \`config.log' for more details." >&2;}
23020 { (exit 1); exit 1; }; }
23021 fi
23022 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23023 fi
23024 fi
23025 rm -f conftest.val
23026 else
23027 ac_cv_sizeof_long_long=0
23028 fi
23029 fi
23030 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23031 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
23032 cat >>confdefs.h <<_ACEOF
23033 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23034 _ACEOF
23035
23036
23037 if test "$ac_cv_sizeof_long_long" != "0"; then
23038 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23039 fi
23040 ;;
23041 * )
23042 echo "$as_me:$LINENO: checking for long long" >&5
23043 echo $ECHO_N "checking for long long... $ECHO_C" >&6
23044 if test "${ac_cv_type_long_long+set}" = set; then
23045 echo $ECHO_N "(cached) $ECHO_C" >&6
23046 else
23047 cat >conftest.$ac_ext <<_ACEOF
23048 /* confdefs.h. */
23049 _ACEOF
23050 cat confdefs.h >>conftest.$ac_ext
23051 cat >>conftest.$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23053 $ac_includes_default
23054 int
23055 main ()
23056 {
23057 if ((long long *) 0)
23058 return 0;
23059 if (sizeof (long long))
23060 return 0;
23061 ;
23062 return 0;
23063 }
23064 _ACEOF
23065 rm -f conftest.$ac_objext
23066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23067 (eval $ac_compile) 2>conftest.er1
23068 ac_status=$?
23069 grep -v '^ *+' conftest.er1 >conftest.err
23070 rm -f conftest.er1
23071 cat conftest.err >&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } &&
23074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23076 (eval $ac_try) 2>&5
23077 ac_status=$?
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; } &&
23080 { ac_try='test -s conftest.$ac_objext'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23083 ac_status=$?
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 ac_cv_type_long_long=yes
23087 else
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.$ac_ext >&5
23090
23091 ac_cv_type_long_long=no
23092 fi
23093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23094 fi
23095 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23096 echo "${ECHO_T}$ac_cv_type_long_long" >&6
23097
23098 echo "$as_me:$LINENO: checking size of long long" >&5
23099 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
23100 if test "${ac_cv_sizeof_long_long+set}" = set; then
23101 echo $ECHO_N "(cached) $ECHO_C" >&6
23102 else
23103 if test "$ac_cv_type_long_long" = yes; then
23104 # The cast to unsigned long works around a bug in the HP C Compiler
23105 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23106 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23107 # This bug is HP SR number 8606223364.
23108 if test "$cross_compiling" = yes; then
23109 # Depending upon the size, compute the lo and hi bounds.
23110 cat >conftest.$ac_ext <<_ACEOF
23111 /* confdefs.h. */
23112 _ACEOF
23113 cat confdefs.h >>conftest.$ac_ext
23114 cat >>conftest.$ac_ext <<_ACEOF
23115 /* end confdefs.h. */
23116 $ac_includes_default
23117 int
23118 main ()
23119 {
23120 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
23121 test_array [0] = 0
23122
23123 ;
23124 return 0;
23125 }
23126 _ACEOF
23127 rm -f conftest.$ac_objext
23128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23129 (eval $ac_compile) 2>conftest.er1
23130 ac_status=$?
23131 grep -v '^ *+' conftest.er1 >conftest.err
23132 rm -f conftest.er1
23133 cat conftest.err >&5
23134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23135 (exit $ac_status); } &&
23136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23138 (eval $ac_try) 2>&5
23139 ac_status=$?
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); }; } &&
23142 { ac_try='test -s conftest.$ac_objext'
23143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23144 (eval $ac_try) 2>&5
23145 ac_status=$?
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; }; then
23148 ac_lo=0 ac_mid=0
23149 while :; do
23150 cat >conftest.$ac_ext <<_ACEOF
23151 /* confdefs.h. */
23152 _ACEOF
23153 cat confdefs.h >>conftest.$ac_ext
23154 cat >>conftest.$ac_ext <<_ACEOF
23155 /* end confdefs.h. */
23156 $ac_includes_default
23157 int
23158 main ()
23159 {
23160 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23161 test_array [0] = 0
23162
23163 ;
23164 return 0;
23165 }
23166 _ACEOF
23167 rm -f conftest.$ac_objext
23168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23169 (eval $ac_compile) 2>conftest.er1
23170 ac_status=$?
23171 grep -v '^ *+' conftest.er1 >conftest.err
23172 rm -f conftest.er1
23173 cat conftest.err >&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } &&
23176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23178 (eval $ac_try) 2>&5
23179 ac_status=$?
23180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23181 (exit $ac_status); }; } &&
23182 { ac_try='test -s conftest.$ac_objext'
23183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23184 (eval $ac_try) 2>&5
23185 ac_status=$?
23186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187 (exit $ac_status); }; }; then
23188 ac_hi=$ac_mid; break
23189 else
23190 echo "$as_me: failed program was:" >&5
23191 sed 's/^/| /' conftest.$ac_ext >&5
23192
23193 ac_lo=`expr $ac_mid + 1`
23194 if test $ac_lo -le $ac_mid; then
23195 ac_lo= ac_hi=
23196 break
23197 fi
23198 ac_mid=`expr 2 '*' $ac_mid + 1`
23199 fi
23200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23201 done
23202 else
23203 echo "$as_me: failed program was:" >&5
23204 sed 's/^/| /' conftest.$ac_ext >&5
23205
23206 cat >conftest.$ac_ext <<_ACEOF
23207 /* confdefs.h. */
23208 _ACEOF
23209 cat confdefs.h >>conftest.$ac_ext
23210 cat >>conftest.$ac_ext <<_ACEOF
23211 /* end confdefs.h. */
23212 $ac_includes_default
23213 int
23214 main ()
23215 {
23216 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
23217 test_array [0] = 0
23218
23219 ;
23220 return 0;
23221 }
23222 _ACEOF
23223 rm -f conftest.$ac_objext
23224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23225 (eval $ac_compile) 2>conftest.er1
23226 ac_status=$?
23227 grep -v '^ *+' conftest.er1 >conftest.err
23228 rm -f conftest.er1
23229 cat conftest.err >&5
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } &&
23232 { ac_try='test -z "$ac_c_werror_flag" || 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=-1 ac_mid=-1
23245 while :; do
23246 cat >conftest.$ac_ext <<_ACEOF
23247 /* confdefs.h. */
23248 _ACEOF
23249 cat confdefs.h >>conftest.$ac_ext
23250 cat >>conftest.$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23252 $ac_includes_default
23253 int
23254 main ()
23255 {
23256 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
23257 test_array [0] = 0
23258
23259 ;
23260 return 0;
23261 }
23262 _ACEOF
23263 rm -f conftest.$ac_objext
23264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23265 (eval $ac_compile) 2>conftest.er1
23266 ac_status=$?
23267 grep -v '^ *+' conftest.er1 >conftest.err
23268 rm -f conftest.er1
23269 cat conftest.err >&5
23270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271 (exit $ac_status); } &&
23272 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23274 (eval $ac_try) 2>&5
23275 ac_status=$?
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); }; } &&
23278 { ac_try='test -s conftest.$ac_objext'
23279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23280 (eval $ac_try) 2>&5
23281 ac_status=$?
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; }; then
23284 ac_lo=$ac_mid; break
23285 else
23286 echo "$as_me: failed program was:" >&5
23287 sed 's/^/| /' conftest.$ac_ext >&5
23288
23289 ac_hi=`expr '(' $ac_mid ')' - 1`
23290 if test $ac_mid -le $ac_hi; then
23291 ac_lo= ac_hi=
23292 break
23293 fi
23294 ac_mid=`expr 2 '*' $ac_mid`
23295 fi
23296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23297 done
23298 else
23299 echo "$as_me: failed program was:" >&5
23300 sed 's/^/| /' conftest.$ac_ext >&5
23301
23302 ac_lo= ac_hi=
23303 fi
23304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23305 fi
23306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23307 # Binary search between lo and hi bounds.
23308 while test "x$ac_lo" != "x$ac_hi"; do
23309 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23310 cat >conftest.$ac_ext <<_ACEOF
23311 /* confdefs.h. */
23312 _ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316 $ac_includes_default
23317 int
23318 main ()
23319 {
23320 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23321 test_array [0] = 0
23322
23323 ;
23324 return 0;
23325 }
23326 _ACEOF
23327 rm -f conftest.$ac_objext
23328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23329 (eval $ac_compile) 2>conftest.er1
23330 ac_status=$?
23331 grep -v '^ *+' conftest.er1 >conftest.err
23332 rm -f conftest.er1
23333 cat conftest.err >&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } &&
23336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23338 (eval $ac_try) 2>&5
23339 ac_status=$?
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); }; } &&
23342 { ac_try='test -s conftest.$ac_objext'
23343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23344 (eval $ac_try) 2>&5
23345 ac_status=$?
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); }; }; then
23348 ac_hi=$ac_mid
23349 else
23350 echo "$as_me: failed program was:" >&5
23351 sed 's/^/| /' conftest.$ac_ext >&5
23352
23353 ac_lo=`expr '(' $ac_mid ')' + 1`
23354 fi
23355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23356 done
23357 case $ac_lo in
23358 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23359 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23360 See \`config.log' for more details." >&5
23361 echo "$as_me: error: cannot compute sizeof (long long), 77
23362 See \`config.log' for more details." >&2;}
23363 { (exit 1); exit 1; }; } ;;
23364 esac
23365 else
23366 if test "$cross_compiling" = yes; then
23367 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23368 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23369 { (exit 1); exit 1; }; }
23370 else
23371 cat >conftest.$ac_ext <<_ACEOF
23372 /* confdefs.h. */
23373 _ACEOF
23374 cat confdefs.h >>conftest.$ac_ext
23375 cat >>conftest.$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377 $ac_includes_default
23378 long longval () { return (long) (sizeof (long long)); }
23379 unsigned long ulongval () { return (long) (sizeof (long long)); }
23380 #include <stdio.h>
23381 #include <stdlib.h>
23382 int
23383 main ()
23384 {
23385
23386 FILE *f = fopen ("conftest.val", "w");
23387 if (! f)
23388 exit (1);
23389 if (((long) (sizeof (long long))) < 0)
23390 {
23391 long i = longval ();
23392 if (i != ((long) (sizeof (long long))))
23393 exit (1);
23394 fprintf (f, "%ld\n", i);
23395 }
23396 else
23397 {
23398 unsigned long i = ulongval ();
23399 if (i != ((long) (sizeof (long long))))
23400 exit (1);
23401 fprintf (f, "%lu\n", i);
23402 }
23403 exit (ferror (f) || fclose (f) != 0);
23404
23405 ;
23406 return 0;
23407 }
23408 _ACEOF
23409 rm -f conftest$ac_exeext
23410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23411 (eval $ac_link) 2>&5
23412 ac_status=$?
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23417 ac_status=$?
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); }; }; then
23420 ac_cv_sizeof_long_long=`cat conftest.val`
23421 else
23422 echo "$as_me: program exited with status $ac_status" >&5
23423 echo "$as_me: failed program was:" >&5
23424 sed 's/^/| /' conftest.$ac_ext >&5
23425
23426 ( exit $ac_status )
23427 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23428 See \`config.log' for more details." >&5
23429 echo "$as_me: error: cannot compute sizeof (long long), 77
23430 See \`config.log' for more details." >&2;}
23431 { (exit 1); exit 1; }; }
23432 fi
23433 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23434 fi
23435 fi
23436 rm -f conftest.val
23437 else
23438 ac_cv_sizeof_long_long=0
23439 fi
23440 fi
23441 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23442 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
23443 cat >>confdefs.h <<_ACEOF
23444 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23445 _ACEOF
23446
23447
23448 esac
23449
23450 echo "$as_me:$LINENO: checking for wchar_t" >&5
23451 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
23452 if test "${ac_cv_type_wchar_t+set}" = set; then
23453 echo $ECHO_N "(cached) $ECHO_C" >&6
23454 else
23455 cat >conftest.$ac_ext <<_ACEOF
23456 /* confdefs.h. */
23457 _ACEOF
23458 cat confdefs.h >>conftest.$ac_ext
23459 cat >>conftest.$ac_ext <<_ACEOF
23460 /* end confdefs.h. */
23461
23462 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23463 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23464 # error "fake wchar_t"
23465 #endif
23466 #ifdef HAVE_WCHAR_H
23467 # ifdef __CYGWIN__
23468 # include <stddef.h>
23469 # endif
23470 # include <wchar.h>
23471 #endif
23472 #ifdef HAVE_STDLIB_H
23473 # include <stdlib.h>
23474 #endif
23475 #include <stdio.h>
23476
23477
23478
23479 int
23480 main ()
23481 {
23482 if ((wchar_t *) 0)
23483 return 0;
23484 if (sizeof (wchar_t))
23485 return 0;
23486 ;
23487 return 0;
23488 }
23489 _ACEOF
23490 rm -f conftest.$ac_objext
23491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23492 (eval $ac_compile) 2>conftest.er1
23493 ac_status=$?
23494 grep -v '^ *+' conftest.er1 >conftest.err
23495 rm -f conftest.er1
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } &&
23499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23501 (eval $ac_try) 2>&5
23502 ac_status=$?
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); }; } &&
23505 { ac_try='test -s conftest.$ac_objext'
23506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23507 (eval $ac_try) 2>&5
23508 ac_status=$?
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); }; }; then
23511 ac_cv_type_wchar_t=yes
23512 else
23513 echo "$as_me: failed program was:" >&5
23514 sed 's/^/| /' conftest.$ac_ext >&5
23515
23516 ac_cv_type_wchar_t=no
23517 fi
23518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23519 fi
23520 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23521 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
23522
23523 echo "$as_me:$LINENO: checking size of wchar_t" >&5
23524 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
23525 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23526 echo $ECHO_N "(cached) $ECHO_C" >&6
23527 else
23528 if test "$ac_cv_type_wchar_t" = yes; then
23529 # The cast to unsigned long works around a bug in the HP C Compiler
23530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23532 # This bug is HP SR number 8606223364.
23533 if test "$cross_compiling" = yes; then
23534 # Depending upon the size, compute the lo and hi bounds.
23535 cat >conftest.$ac_ext <<_ACEOF
23536 /* confdefs.h. */
23537 _ACEOF
23538 cat confdefs.h >>conftest.$ac_ext
23539 cat >>conftest.$ac_ext <<_ACEOF
23540 /* end confdefs.h. */
23541
23542 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23543 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23544 # error "fake wchar_t"
23545 #endif
23546 #ifdef HAVE_WCHAR_H
23547 # ifdef __CYGWIN__
23548 # include <stddef.h>
23549 # endif
23550 # include <wchar.h>
23551 #endif
23552 #ifdef HAVE_STDLIB_H
23553 # include <stdlib.h>
23554 #endif
23555 #include <stdio.h>
23556
23557
23558
23559 int
23560 main ()
23561 {
23562 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
23563 test_array [0] = 0
23564
23565 ;
23566 return 0;
23567 }
23568 _ACEOF
23569 rm -f conftest.$ac_objext
23570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23571 (eval $ac_compile) 2>conftest.er1
23572 ac_status=$?
23573 grep -v '^ *+' conftest.er1 >conftest.err
23574 rm -f conftest.er1
23575 cat conftest.err >&5
23576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23577 (exit $ac_status); } &&
23578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23580 (eval $ac_try) 2>&5
23581 ac_status=$?
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); }; } &&
23584 { ac_try='test -s conftest.$ac_objext'
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
23587 ac_status=$?
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; }; then
23590 ac_lo=0 ac_mid=0
23591 while :; do
23592 cat >conftest.$ac_ext <<_ACEOF
23593 /* confdefs.h. */
23594 _ACEOF
23595 cat confdefs.h >>conftest.$ac_ext
23596 cat >>conftest.$ac_ext <<_ACEOF
23597 /* end confdefs.h. */
23598
23599 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23600 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23601 # error "fake wchar_t"
23602 #endif
23603 #ifdef HAVE_WCHAR_H
23604 # ifdef __CYGWIN__
23605 # include <stddef.h>
23606 # endif
23607 # include <wchar.h>
23608 #endif
23609 #ifdef HAVE_STDLIB_H
23610 # include <stdlib.h>
23611 #endif
23612 #include <stdio.h>
23613
23614
23615
23616 int
23617 main ()
23618 {
23619 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
23620 test_array [0] = 0
23621
23622 ;
23623 return 0;
23624 }
23625 _ACEOF
23626 rm -f conftest.$ac_objext
23627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23628 (eval $ac_compile) 2>conftest.er1
23629 ac_status=$?
23630 grep -v '^ *+' conftest.er1 >conftest.err
23631 rm -f conftest.er1
23632 cat conftest.err >&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); } &&
23635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23638 ac_status=$?
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; } &&
23641 { ac_try='test -s conftest.$ac_objext'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23644 ac_status=$?
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; }; then
23647 ac_hi=$ac_mid; break
23648 else
23649 echo "$as_me: failed program was:" >&5
23650 sed 's/^/| /' conftest.$ac_ext >&5
23651
23652 ac_lo=`expr $ac_mid + 1`
23653 if test $ac_lo -le $ac_mid; then
23654 ac_lo= ac_hi=
23655 break
23656 fi
23657 ac_mid=`expr 2 '*' $ac_mid + 1`
23658 fi
23659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23660 done
23661 else
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23664
23665 cat >conftest.$ac_ext <<_ACEOF
23666 /* confdefs.h. */
23667 _ACEOF
23668 cat confdefs.h >>conftest.$ac_ext
23669 cat >>conftest.$ac_ext <<_ACEOF
23670 /* end confdefs.h. */
23671
23672 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23673 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23674 # error "fake wchar_t"
23675 #endif
23676 #ifdef HAVE_WCHAR_H
23677 # ifdef __CYGWIN__
23678 # include <stddef.h>
23679 # endif
23680 # include <wchar.h>
23681 #endif
23682 #ifdef HAVE_STDLIB_H
23683 # include <stdlib.h>
23684 #endif
23685 #include <stdio.h>
23686
23687
23688
23689 int
23690 main ()
23691 {
23692 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
23693 test_array [0] = 0
23694
23695 ;
23696 return 0;
23697 }
23698 _ACEOF
23699 rm -f conftest.$ac_objext
23700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23701 (eval $ac_compile) 2>conftest.er1
23702 ac_status=$?
23703 grep -v '^ *+' conftest.er1 >conftest.err
23704 rm -f conftest.er1
23705 cat conftest.err >&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } &&
23708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23711 ac_status=$?
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; } &&
23714 { ac_try='test -s conftest.$ac_objext'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23717 ac_status=$?
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23720 ac_hi=-1 ac_mid=-1
23721 while :; do
23722 cat >conftest.$ac_ext <<_ACEOF
23723 /* confdefs.h. */
23724 _ACEOF
23725 cat confdefs.h >>conftest.$ac_ext
23726 cat >>conftest.$ac_ext <<_ACEOF
23727 /* end confdefs.h. */
23728
23729 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23730 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23731 # error "fake wchar_t"
23732 #endif
23733 #ifdef HAVE_WCHAR_H
23734 # ifdef __CYGWIN__
23735 # include <stddef.h>
23736 # endif
23737 # include <wchar.h>
23738 #endif
23739 #ifdef HAVE_STDLIB_H
23740 # include <stdlib.h>
23741 #endif
23742 #include <stdio.h>
23743
23744
23745
23746 int
23747 main ()
23748 {
23749 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
23750 test_array [0] = 0
23751
23752 ;
23753 return 0;
23754 }
23755 _ACEOF
23756 rm -f conftest.$ac_objext
23757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23758 (eval $ac_compile) 2>conftest.er1
23759 ac_status=$?
23760 grep -v '^ *+' conftest.er1 >conftest.err
23761 rm -f conftest.er1
23762 cat conftest.err >&5
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); } &&
23765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23767 (eval $ac_try) 2>&5
23768 ac_status=$?
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); }; } &&
23771 { ac_try='test -s conftest.$ac_objext'
23772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23773 (eval $ac_try) 2>&5
23774 ac_status=$?
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); }; }; then
23777 ac_lo=$ac_mid; break
23778 else
23779 echo "$as_me: failed program was:" >&5
23780 sed 's/^/| /' conftest.$ac_ext >&5
23781
23782 ac_hi=`expr '(' $ac_mid ')' - 1`
23783 if test $ac_mid -le $ac_hi; then
23784 ac_lo= ac_hi=
23785 break
23786 fi
23787 ac_mid=`expr 2 '*' $ac_mid`
23788 fi
23789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23790 done
23791 else
23792 echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.$ac_ext >&5
23794
23795 ac_lo= ac_hi=
23796 fi
23797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23798 fi
23799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23800 # Binary search between lo and hi bounds.
23801 while test "x$ac_lo" != "x$ac_hi"; do
23802 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23803 cat >conftest.$ac_ext <<_ACEOF
23804 /* confdefs.h. */
23805 _ACEOF
23806 cat confdefs.h >>conftest.$ac_ext
23807 cat >>conftest.$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23809
23810 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23811 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23812 # error "fake wchar_t"
23813 #endif
23814 #ifdef HAVE_WCHAR_H
23815 # ifdef __CYGWIN__
23816 # include <stddef.h>
23817 # endif
23818 # include <wchar.h>
23819 #endif
23820 #ifdef HAVE_STDLIB_H
23821 # include <stdlib.h>
23822 #endif
23823 #include <stdio.h>
23824
23825
23826
23827 int
23828 main ()
23829 {
23830 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
23831 test_array [0] = 0
23832
23833 ;
23834 return 0;
23835 }
23836 _ACEOF
23837 rm -f conftest.$ac_objext
23838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23839 (eval $ac_compile) 2>conftest.er1
23840 ac_status=$?
23841 grep -v '^ *+' conftest.er1 >conftest.err
23842 rm -f conftest.er1
23843 cat conftest.err >&5
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); } &&
23846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23848 (eval $ac_try) 2>&5
23849 ac_status=$?
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); }; } &&
23852 { ac_try='test -s conftest.$ac_objext'
23853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23854 (eval $ac_try) 2>&5
23855 ac_status=$?
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); }; }; then
23858 ac_hi=$ac_mid
23859 else
23860 echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.$ac_ext >&5
23862
23863 ac_lo=`expr '(' $ac_mid ')' + 1`
23864 fi
23865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23866 done
23867 case $ac_lo in
23868 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23869 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23870 See \`config.log' for more details." >&5
23871 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23872 See \`config.log' for more details." >&2;}
23873 { (exit 1); exit 1; }; } ;;
23874 esac
23875 else
23876 if test "$cross_compiling" = yes; then
23877 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23878 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23879 { (exit 1); exit 1; }; }
23880 else
23881 cat >conftest.$ac_ext <<_ACEOF
23882 /* confdefs.h. */
23883 _ACEOF
23884 cat confdefs.h >>conftest.$ac_ext
23885 cat >>conftest.$ac_ext <<_ACEOF
23886 /* end confdefs.h. */
23887
23888 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23889 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23890 # error "fake wchar_t"
23891 #endif
23892 #ifdef HAVE_WCHAR_H
23893 # ifdef __CYGWIN__
23894 # include <stddef.h>
23895 # endif
23896 # include <wchar.h>
23897 #endif
23898 #ifdef HAVE_STDLIB_H
23899 # include <stdlib.h>
23900 #endif
23901 #include <stdio.h>
23902
23903
23904
23905 long longval () { return (long) (sizeof (wchar_t)); }
23906 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
23907 #include <stdio.h>
23908 #include <stdlib.h>
23909 int
23910 main ()
23911 {
23912
23913 FILE *f = fopen ("conftest.val", "w");
23914 if (! f)
23915 exit (1);
23916 if (((long) (sizeof (wchar_t))) < 0)
23917 {
23918 long i = longval ();
23919 if (i != ((long) (sizeof (wchar_t))))
23920 exit (1);
23921 fprintf (f, "%ld\n", i);
23922 }
23923 else
23924 {
23925 unsigned long i = ulongval ();
23926 if (i != ((long) (sizeof (wchar_t))))
23927 exit (1);
23928 fprintf (f, "%lu\n", i);
23929 }
23930 exit (ferror (f) || fclose (f) != 0);
23931
23932 ;
23933 return 0;
23934 }
23935 _ACEOF
23936 rm -f conftest$ac_exeext
23937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23938 (eval $ac_link) 2>&5
23939 ac_status=$?
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23943 (eval $ac_try) 2>&5
23944 ac_status=$?
23945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23946 (exit $ac_status); }; }; then
23947 ac_cv_sizeof_wchar_t=`cat conftest.val`
23948 else
23949 echo "$as_me: program exited with status $ac_status" >&5
23950 echo "$as_me: failed program was:" >&5
23951 sed 's/^/| /' conftest.$ac_ext >&5
23952
23953 ( exit $ac_status )
23954 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23955 See \`config.log' for more details." >&5
23956 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23957 See \`config.log' for more details." >&2;}
23958 { (exit 1); exit 1; }; }
23959 fi
23960 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23961 fi
23962 fi
23963 rm -f conftest.val
23964 else
23965 ac_cv_sizeof_wchar_t=0
23966 fi
23967 fi
23968 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23969 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
23970 cat >>confdefs.h <<_ACEOF
23971 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23972 _ACEOF
23973
23974
23975 if test "$ac_cv_sizeof_wchar_t" != "0"; then
23976 wxUSE_WCHAR_T=yes
23977 else
23978 wxUSE_WCHAR_T=no
23979 fi
23980
23981 echo "$as_me:$LINENO: checking for va_copy" >&5
23982 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
23983 if test "${wx_cv_func_va_copy+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23985 else
23986
23987 ac_ext=cc
23988 ac_cpp='$CXXCPP $CPPFLAGS'
23989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23992
23993 cat >conftest.$ac_ext <<_ACEOF
23994
23995 #include <stdarg.h>
23996 void foo(char *f, ...)
23997 {
23998 va_list ap1, ap2;
23999 va_start(ap1, f);
24000 va_copy(ap2, ap1);
24001 va_end(ap2);
24002 va_end(ap1);
24003 }
24004 int main()
24005 {
24006 foo("hi", 17);
24007 return 0;
24008 }
24009 _ACEOF
24010 rm -f conftest.$ac_objext conftest$ac_exeext
24011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24012 (eval $ac_link) 2>conftest.er1
24013 ac_status=$?
24014 grep -v '^ *+' conftest.er1 >conftest.err
24015 rm -f conftest.er1
24016 cat conftest.err >&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } &&
24019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24021 (eval $ac_try) 2>&5
24022 ac_status=$?
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); }; } &&
24025 { ac_try='test -s conftest$ac_exeext'
24026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24027 (eval $ac_try) 2>&5
24028 ac_status=$?
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); }; }; then
24031 wx_cv_func_va_copy=yes
24032 else
24033 echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.$ac_ext >&5
24035
24036 wx_cv_func_va_copy=no
24037
24038 fi
24039 rm -f conftest.err conftest.$ac_objext \
24040 conftest$ac_exeext conftest.$ac_ext
24041 ac_ext=c
24042 ac_cpp='$CPP $CPPFLAGS'
24043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24046
24047
24048
24049 fi
24050 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24051 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
24052
24053 if test $wx_cv_func_va_copy = "yes"; then
24054 cat >>confdefs.h <<\_ACEOF
24055 #define HAVE_VA_COPY 1
24056 _ACEOF
24057
24058 else
24059 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24060 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
24061 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24062 echo $ECHO_N "(cached) $ECHO_C" >&6
24063 else
24064
24065 if test "$cross_compiling" = yes; then
24066 wx_cv_type_va_list_lvalue=yes
24067
24068 else
24069 cat >conftest.$ac_ext <<_ACEOF
24070
24071 #include <stdarg.h>
24072 int foo(char *f, ...)
24073 {
24074 va_list ap1, ap2;
24075 va_start(ap1, f);
24076 ap2 = ap1;
24077 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24078 return 1;
24079 va_end(ap2);
24080 va_end(ap1);
24081 return 0;
24082 }
24083 int main()
24084 {
24085 return foo("hi", 17);
24086 }
24087 _ACEOF
24088 rm -f conftest$ac_exeext
24089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24090 (eval $ac_link) 2>&5
24091 ac_status=$?
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095 (eval $ac_try) 2>&5
24096 ac_status=$?
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; }; then
24099 wx_cv_type_va_list_lvalue=yes
24100 else
24101 echo "$as_me: program exited with status $ac_status" >&5
24102 echo "$as_me: failed program was:" >&5
24103 sed 's/^/| /' conftest.$ac_ext >&5
24104
24105 ( exit $ac_status )
24106 wx_cv_type_va_list_lvalue=no
24107 fi
24108 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24109 fi
24110
24111
24112 fi
24113 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24114 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
24115
24116 if test $wx_cv_type_va_list_lvalue != "yes"; then
24117 cat >>confdefs.h <<\_ACEOF
24118 #define VA_LIST_IS_ARRAY 1
24119 _ACEOF
24120
24121 fi
24122 fi
24123
24124 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24125
24126 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24127 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
24128 if test "${wx_cv_have_variadic_macros+set}" = set; then
24129 echo $ECHO_N "(cached) $ECHO_C" >&6
24130 else
24131
24132 ac_ext=cc
24133 ac_cpp='$CXXCPP $CPPFLAGS'
24134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24137
24138 cat >conftest.$ac_ext <<_ACEOF
24139 /* confdefs.h. */
24140 _ACEOF
24141 cat confdefs.h >>conftest.$ac_ext
24142 cat >>conftest.$ac_ext <<_ACEOF
24143 /* end confdefs.h. */
24144
24145 #include <stdio.h>
24146 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24147
24148 int
24149 main ()
24150 {
24151
24152 test("%s %d %p", "test", 1, 0);
24153
24154
24155 ;
24156 return 0;
24157 }
24158 _ACEOF
24159 rm -f conftest.$ac_objext
24160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24161 (eval $ac_compile) 2>conftest.er1
24162 ac_status=$?
24163 grep -v '^ *+' conftest.er1 >conftest.err
24164 rm -f conftest.er1
24165 cat conftest.err >&5
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); } &&
24168 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170 (eval $ac_try) 2>&5
24171 ac_status=$?
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); }; } &&
24174 { ac_try='test -s conftest.$ac_objext'
24175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24176 (eval $ac_try) 2>&5
24177 ac_status=$?
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); }; }; then
24180 wx_cv_have_variadic_macros=yes
24181 else
24182 echo "$as_me: failed program was:" >&5
24183 sed 's/^/| /' conftest.$ac_ext >&5
24184
24185 wx_cv_have_variadic_macros=no
24186
24187 fi
24188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24189 ac_ext=c
24190 ac_cpp='$CPP $CPPFLAGS'
24191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24194
24195
24196
24197 fi
24198 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24199 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
24200
24201 if test $wx_cv_have_variadic_macros = "yes"; then
24202 cat >>confdefs.h <<\_ACEOF
24203 #define HAVE_VARIADIC_MACROS 1
24204 _ACEOF
24205
24206 fi
24207
24208 fi
24209 # Check whether --enable-largefile or --disable-largefile was given.
24210 if test "${enable_largefile+set}" = set; then
24211 enableval="$enable_largefile"
24212
24213 fi;
24214 if test "$enable_largefile" != no; then
24215 wx_largefile=no
24216
24217 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24218 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
24219 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6
24221 else
24222
24223 cat >conftest.$ac_ext <<_ACEOF
24224 /* confdefs.h. */
24225 _ACEOF
24226 cat confdefs.h >>conftest.$ac_ext
24227 cat >>conftest.$ac_ext <<_ACEOF
24228 /* end confdefs.h. */
24229 #define _FILE_OFFSET_BITS 64
24230 #include <sys/types.h>
24231 int
24232 main ()
24233 {
24234 typedef struct {
24235 unsigned int field: sizeof(off_t) == 8;
24236 } wxlf;
24237
24238 ;
24239 return 0;
24240 }
24241 _ACEOF
24242 rm -f conftest.$ac_objext
24243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24244 (eval $ac_compile) 2>conftest.er1
24245 ac_status=$?
24246 grep -v '^ *+' conftest.er1 >conftest.err
24247 rm -f conftest.er1
24248 cat conftest.err >&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); } &&
24251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24253 (eval $ac_try) 2>&5
24254 ac_status=$?
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); }; } &&
24257 { ac_try='test -s conftest.$ac_objext'
24258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24259 (eval $ac_try) 2>&5
24260 ac_status=$?
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); }; }; then
24263 ac_cv_sys_file_offset_bits=64
24264 else
24265 echo "$as_me: failed program was:" >&5
24266 sed 's/^/| /' conftest.$ac_ext >&5
24267
24268 ac_cv_sys_file_offset_bits=no
24269 fi
24270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24271
24272
24273 fi
24274 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24275 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
24276
24277 if test "$ac_cv_sys_file_offset_bits" != no; then
24278 wx_largefile=yes
24279 cat >>confdefs.h <<_ACEOF
24280 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24281 _ACEOF
24282
24283 fi
24284
24285 if test "x$wx_largefile" != "xyes"; then
24286
24287 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24288 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
24289 if test "${ac_cv_sys_large_files+set}" = set; then
24290 echo $ECHO_N "(cached) $ECHO_C" >&6
24291 else
24292
24293 cat >conftest.$ac_ext <<_ACEOF
24294 /* confdefs.h. */
24295 _ACEOF
24296 cat confdefs.h >>conftest.$ac_ext
24297 cat >>conftest.$ac_ext <<_ACEOF
24298 /* end confdefs.h. */
24299 #define _LARGE_FILES 1
24300 #include <sys/types.h>
24301 int
24302 main ()
24303 {
24304 typedef struct {
24305 unsigned int field: sizeof(off_t) == 8;
24306 } wxlf;
24307
24308 ;
24309 return 0;
24310 }
24311 _ACEOF
24312 rm -f conftest.$ac_objext
24313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24314 (eval $ac_compile) 2>conftest.er1
24315 ac_status=$?
24316 grep -v '^ *+' conftest.er1 >conftest.err
24317 rm -f conftest.er1
24318 cat conftest.err >&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); } &&
24321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24324 ac_status=$?
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; } &&
24327 { ac_try='test -s conftest.$ac_objext'
24328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24329 (eval $ac_try) 2>&5
24330 ac_status=$?
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); }; }; then
24333 ac_cv_sys_large_files=1
24334 else
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.$ac_ext >&5
24337
24338 ac_cv_sys_large_files=no
24339 fi
24340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24341
24342
24343 fi
24344 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24345 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
24346
24347 if test "$ac_cv_sys_large_files" != no; then
24348 wx_largefile=yes
24349 cat >>confdefs.h <<_ACEOF
24350 #define _LARGE_FILES $ac_cv_sys_large_files
24351 _ACEOF
24352
24353 fi
24354
24355 fi
24356
24357 echo "$as_me:$LINENO: checking if large file support is available" >&5
24358 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
24359 if test "x$wx_largefile" = "xyes"; then
24360 cat >>confdefs.h <<\_ACEOF
24361 #define HAVE_LARGEFILE_SUPPORT 1
24362 _ACEOF
24363
24364 fi
24365 echo "$as_me:$LINENO: result: $wx_largefile" >&5
24366 echo "${ECHO_T}$wx_largefile" >&6
24367 fi
24368
24369
24370 if test "x$wx_largefile" = "xyes"; then
24371 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
24372 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
24373
24374 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24375 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24376 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
24377 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24378 echo $ECHO_N "(cached) $ECHO_C" >&6
24379 else
24380
24381 ac_ext=cc
24382 ac_cpp='$CXXCPP $CPPFLAGS'
24383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24386
24387 cat >conftest.$ac_ext <<_ACEOF
24388 /* confdefs.h. */
24389 _ACEOF
24390 cat confdefs.h >>conftest.$ac_ext
24391 cat >>conftest.$ac_ext <<_ACEOF
24392 /* end confdefs.h. */
24393
24394 int
24395 main ()
24396 {
24397
24398 #ifndef __STDC_EXT__
24399 choke me
24400 #endif
24401
24402 ;
24403 return 0;
24404 }
24405 _ACEOF
24406 rm -f conftest.$ac_objext
24407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24408 (eval $ac_compile) 2>conftest.er1
24409 ac_status=$?
24410 grep -v '^ *+' conftest.er1 >conftest.err
24411 rm -f conftest.er1
24412 cat conftest.err >&5
24413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414 (exit $ac_status); } &&
24415 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24417 (eval $ac_try) 2>&5
24418 ac_status=$?
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); }; } &&
24421 { ac_try='test -s conftest.$ac_objext'
24422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24423 (eval $ac_try) 2>&5
24424 ac_status=$?
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); }; }; then
24427 wx_cv_STDC_EXT_required=no
24428 else
24429 echo "$as_me: failed program was:" >&5
24430 sed 's/^/| /' conftest.$ac_ext >&5
24431
24432 wx_cv_STDC_EXT_required=yes
24433
24434 fi
24435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24436 ac_ext=c
24437 ac_cpp='$CPP $CPPFLAGS'
24438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24441
24442
24443
24444 fi
24445 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24446 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
24447 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24448 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24449 fi
24450 fi
24451 else
24452 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24453 fi
24454 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24455 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
24456 if test "${ac_cv_sys_largefile_source+set}" = set; then
24457 echo $ECHO_N "(cached) $ECHO_C" >&6
24458 else
24459 while :; do
24460 ac_cv_sys_largefile_source=no
24461 cat >conftest.$ac_ext <<_ACEOF
24462 /* confdefs.h. */
24463 _ACEOF
24464 cat confdefs.h >>conftest.$ac_ext
24465 cat >>conftest.$ac_ext <<_ACEOF
24466 /* end confdefs.h. */
24467 #include <stdio.h>
24468 int
24469 main ()
24470 {
24471 return !fseeko;
24472 ;
24473 return 0;
24474 }
24475 _ACEOF
24476 rm -f conftest.$ac_objext
24477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24478 (eval $ac_compile) 2>conftest.er1
24479 ac_status=$?
24480 grep -v '^ *+' conftest.er1 >conftest.err
24481 rm -f conftest.er1
24482 cat conftest.err >&5
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); } &&
24485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24487 (eval $ac_try) 2>&5
24488 ac_status=$?
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); }; } &&
24491 { ac_try='test -s conftest.$ac_objext'
24492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24493 (eval $ac_try) 2>&5
24494 ac_status=$?
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); }; }; then
24497 break
24498 else
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.$ac_ext >&5
24501
24502 fi
24503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24504 cat >conftest.$ac_ext <<_ACEOF
24505 /* confdefs.h. */
24506 _ACEOF
24507 cat confdefs.h >>conftest.$ac_ext
24508 cat >>conftest.$ac_ext <<_ACEOF
24509 /* end confdefs.h. */
24510 #define _LARGEFILE_SOURCE 1
24511 #include <stdio.h>
24512 int
24513 main ()
24514 {
24515 return !fseeko;
24516 ;
24517 return 0;
24518 }
24519 _ACEOF
24520 rm -f conftest.$ac_objext
24521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24522 (eval $ac_compile) 2>conftest.er1
24523 ac_status=$?
24524 grep -v '^ *+' conftest.er1 >conftest.err
24525 rm -f conftest.er1
24526 cat conftest.err >&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } &&
24529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24531 (eval $ac_try) 2>&5
24532 ac_status=$?
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); }; } &&
24535 { ac_try='test -s conftest.$ac_objext'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24538 ac_status=$?
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; }; then
24541 ac_cv_sys_largefile_source=1; break
24542 else
24543 echo "$as_me: failed program was:" >&5
24544 sed 's/^/| /' conftest.$ac_ext >&5
24545
24546 fi
24547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24548 break
24549 done
24550 fi
24551 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24552 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
24553 if test "$ac_cv_sys_largefile_source" != no; then
24554
24555 cat >>confdefs.h <<_ACEOF
24556 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24557 _ACEOF
24558
24559 fi
24560 rm -f conftest*
24561
24562 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24563 # in glibc 2.1.3, but that breaks too many other things.
24564 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24565 echo "$as_me:$LINENO: checking for fseeko" >&5
24566 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
24567 if test "${ac_cv_func_fseeko+set}" = set; then
24568 echo $ECHO_N "(cached) $ECHO_C" >&6
24569 else
24570 cat >conftest.$ac_ext <<_ACEOF
24571 /* confdefs.h. */
24572 _ACEOF
24573 cat confdefs.h >>conftest.$ac_ext
24574 cat >>conftest.$ac_ext <<_ACEOF
24575 /* end confdefs.h. */
24576 #include <stdio.h>
24577 int
24578 main ()
24579 {
24580 return fseeko && fseeko (stdin, 0, 0);
24581 ;
24582 return 0;
24583 }
24584 _ACEOF
24585 rm -f conftest.$ac_objext conftest$ac_exeext
24586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24587 (eval $ac_link) 2>conftest.er1
24588 ac_status=$?
24589 grep -v '^ *+' conftest.er1 >conftest.err
24590 rm -f conftest.er1
24591 cat conftest.err >&5
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); } &&
24594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24596 (eval $ac_try) 2>&5
24597 ac_status=$?
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); }; } &&
24600 { ac_try='test -s conftest$ac_exeext'
24601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24602 (eval $ac_try) 2>&5
24603 ac_status=$?
24604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24605 (exit $ac_status); }; }; then
24606 ac_cv_func_fseeko=yes
24607 else
24608 echo "$as_me: failed program was:" >&5
24609 sed 's/^/| /' conftest.$ac_ext >&5
24610
24611 ac_cv_func_fseeko=no
24612 fi
24613 rm -f conftest.err conftest.$ac_objext \
24614 conftest$ac_exeext conftest.$ac_ext
24615 fi
24616 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
24617 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
24618 if test $ac_cv_func_fseeko = yes; then
24619
24620 cat >>confdefs.h <<\_ACEOF
24621 #define HAVE_FSEEKO 1
24622 _ACEOF
24623
24624 fi
24625
24626 if test "$ac_cv_sys_largefile_source" != no; then
24627 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24628 fi
24629 fi
24630
24631 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24632 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
24633 if test "${ac_cv_c_bigendian+set}" = set; then
24634 echo $ECHO_N "(cached) $ECHO_C" >&6
24635 else
24636 ac_cv_c_bigendian=unknown
24637 # See if sys/param.h defines the BYTE_ORDER macro.
24638 cat >conftest.$ac_ext <<_ACEOF
24639 /* confdefs.h. */
24640 _ACEOF
24641 cat confdefs.h >>conftest.$ac_ext
24642 cat >>conftest.$ac_ext <<_ACEOF
24643 /* end confdefs.h. */
24644 #include <sys/types.h>
24645 #include <sys/param.h>
24646 int
24647 main ()
24648 {
24649
24650 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24651 bogus endian macros
24652 #endif
24653 ;
24654 return 0;
24655 }
24656 _ACEOF
24657 rm -f conftest.$ac_objext
24658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24659 (eval $ac_compile) 2>conftest.er1
24660 ac_status=$?
24661 grep -v '^ *+' conftest.er1 >conftest.err
24662 rm -f conftest.er1
24663 cat conftest.err >&5
24664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665 (exit $ac_status); } &&
24666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24668 (eval $ac_try) 2>&5
24669 ac_status=$?
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); }; } &&
24672 { ac_try='test -s conftest.$ac_objext'
24673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24674 (eval $ac_try) 2>&5
24675 ac_status=$?
24676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677 (exit $ac_status); }; }; then
24678 # It does; now see whether it defined to BIG_ENDIAN or not.
24679 cat >conftest.$ac_ext <<_ACEOF
24680 /* confdefs.h. */
24681 _ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685 #include <sys/types.h>
24686 #include <sys/param.h>
24687 int
24688 main ()
24689 {
24690
24691 #if BYTE_ORDER != BIG_ENDIAN
24692 not big endian
24693 #endif
24694 ;
24695 return 0;
24696 }
24697 _ACEOF
24698 rm -f conftest.$ac_objext
24699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24700 (eval $ac_compile) 2>conftest.er1
24701 ac_status=$?
24702 grep -v '^ *+' conftest.er1 >conftest.err
24703 rm -f conftest.er1
24704 cat conftest.err >&5
24705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24706 (exit $ac_status); } &&
24707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24709 (eval $ac_try) 2>&5
24710 ac_status=$?
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); }; } &&
24713 { ac_try='test -s conftest.$ac_objext'
24714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24715 (eval $ac_try) 2>&5
24716 ac_status=$?
24717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24718 (exit $ac_status); }; }; then
24719 ac_cv_c_bigendian=yes
24720 else
24721 echo "$as_me: failed program was:" >&5
24722 sed 's/^/| /' conftest.$ac_ext >&5
24723
24724 ac_cv_c_bigendian=no
24725 fi
24726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24727 else
24728 echo "$as_me: failed program was:" >&5
24729 sed 's/^/| /' conftest.$ac_ext >&5
24730
24731 fi
24732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24733 if test $ac_cv_c_bigendian = unknown; then
24734 if test "$cross_compiling" = yes; then
24735 ac_cv_c_bigendian=unknown
24736 else
24737 cat >conftest.$ac_ext <<_ACEOF
24738 /* confdefs.h. */
24739 _ACEOF
24740 cat confdefs.h >>conftest.$ac_ext
24741 cat >>conftest.$ac_ext <<_ACEOF
24742 /* end confdefs.h. */
24743 main () {
24744 /* Are we little or big endian? From Harbison&Steele. */
24745 union
24746 {
24747 long l;
24748 char c[sizeof (long)];
24749 } u;
24750 u.l = 1;
24751 exit (u.c[sizeof (long) - 1] == 1);
24752 }
24753 _ACEOF
24754 rm -f conftest$ac_exeext
24755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24756 (eval $ac_link) 2>&5
24757 ac_status=$?
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24761 (eval $ac_try) 2>&5
24762 ac_status=$?
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); }; }; then
24765 ac_cv_c_bigendian=no
24766 else
24767 echo "$as_me: program exited with status $ac_status" >&5
24768 echo "$as_me: failed program was:" >&5
24769 sed 's/^/| /' conftest.$ac_ext >&5
24770
24771 ( exit $ac_status )
24772 ac_cv_c_bigendian=yes
24773 fi
24774 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24775 fi
24776 fi
24777 fi
24778 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24779 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
24780 if test $ac_cv_c_bigendian = unknown; then
24781 { 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
24782 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;}
24783 fi
24784 if test $ac_cv_c_bigendian = yes; then
24785 cat >>confdefs.h <<\_ACEOF
24786 #define WORDS_BIGENDIAN 1
24787 _ACEOF
24788
24789 fi
24790
24791
24792
24793
24794
24795 ac_ext=cc
24796 ac_cpp='$CXXCPP $CPPFLAGS'
24797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24800
24801
24802 echo "$as_me:$LINENO: checking for iostream" >&5
24803 echo $ECHO_N "checking for iostream... $ECHO_C" >&6
24804 if test "${ac_cv_header_iostream+set}" = set; then
24805 echo $ECHO_N "(cached) $ECHO_C" >&6
24806 else
24807 cat >conftest.$ac_ext <<_ACEOF
24808 /* confdefs.h. */
24809 _ACEOF
24810 cat confdefs.h >>conftest.$ac_ext
24811 cat >>conftest.$ac_ext <<_ACEOF
24812 /* end confdefs.h. */
24813
24814
24815 #include <iostream>
24816 _ACEOF
24817 rm -f conftest.$ac_objext
24818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24819 (eval $ac_compile) 2>conftest.er1
24820 ac_status=$?
24821 grep -v '^ *+' conftest.er1 >conftest.err
24822 rm -f conftest.er1
24823 cat conftest.err >&5
24824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 (exit $ac_status); } &&
24826 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24828 (eval $ac_try) 2>&5
24829 ac_status=$?
24830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24831 (exit $ac_status); }; } &&
24832 { ac_try='test -s conftest.$ac_objext'
24833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24834 (eval $ac_try) 2>&5
24835 ac_status=$?
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); }; }; then
24838 ac_cv_header_iostream=yes
24839 else
24840 echo "$as_me: failed program was:" >&5
24841 sed 's/^/| /' conftest.$ac_ext >&5
24842
24843 ac_cv_header_iostream=no
24844 fi
24845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24846 fi
24847 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
24848 echo "${ECHO_T}$ac_cv_header_iostream" >&6
24849
24850
24851
24852 if test "$ac_cv_header_iostream" = "yes" ; then
24853 :
24854 else
24855 cat >>confdefs.h <<\_ACEOF
24856 #define wxUSE_IOSTREAMH 1
24857 _ACEOF
24858
24859 fi
24860
24861 ac_ext=c
24862 ac_cpp='$CPP $CPPFLAGS'
24863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24866
24867
24868
24869
24870 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
24871 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
24872 if test "${wx_cv_cpp_bool+set}" = set; then
24873 echo $ECHO_N "(cached) $ECHO_C" >&6
24874 else
24875
24876
24877
24878 ac_ext=cc
24879 ac_cpp='$CXXCPP $CPPFLAGS'
24880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24883
24884
24885 cat >conftest.$ac_ext <<_ACEOF
24886 /* confdefs.h. */
24887 _ACEOF
24888 cat confdefs.h >>conftest.$ac_ext
24889 cat >>conftest.$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891
24892
24893 int
24894 main ()
24895 {
24896
24897 bool b = true;
24898
24899 return 0;
24900
24901 ;
24902 return 0;
24903 }
24904 _ACEOF
24905 rm -f conftest.$ac_objext
24906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24907 (eval $ac_compile) 2>conftest.er1
24908 ac_status=$?
24909 grep -v '^ *+' conftest.er1 >conftest.err
24910 rm -f conftest.er1
24911 cat conftest.err >&5
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } &&
24914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24916 (eval $ac_try) 2>&5
24917 ac_status=$?
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); }; } &&
24920 { ac_try='test -s conftest.$ac_objext'
24921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24922 (eval $ac_try) 2>&5
24923 ac_status=$?
24924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24925 (exit $ac_status); }; }; then
24926
24927 wx_cv_cpp_bool=yes
24928
24929 else
24930 echo "$as_me: failed program was:" >&5
24931 sed 's/^/| /' conftest.$ac_ext >&5
24932
24933
24934 wx_cv_cpp_bool=no
24935
24936
24937 fi
24938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24939
24940 ac_ext=c
24941 ac_cpp='$CPP $CPPFLAGS'
24942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24945
24946
24947 fi
24948 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
24949 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
24950
24951 if test "$wx_cv_cpp_bool" = "yes"; then
24952 cat >>confdefs.h <<\_ACEOF
24953 #define HAVE_BOOL 1
24954 _ACEOF
24955
24956 fi
24957
24958
24959
24960 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24961 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
24962 if test "${wx_cv_explicit+set}" = set; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24964 else
24965
24966
24967
24968 ac_ext=cc
24969 ac_cpp='$CXXCPP $CPPFLAGS'
24970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24973
24974
24975 cat >conftest.$ac_ext <<_ACEOF
24976 /* confdefs.h. */
24977 _ACEOF
24978 cat confdefs.h >>conftest.$ac_ext
24979 cat >>conftest.$ac_ext <<_ACEOF
24980 /* end confdefs.h. */
24981
24982 class Foo { public: explicit Foo(int) {} };
24983
24984 int
24985 main ()
24986 {
24987
24988 return 0;
24989
24990 ;
24991 return 0;
24992 }
24993 _ACEOF
24994 rm -f conftest.$ac_objext
24995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24996 (eval $ac_compile) 2>conftest.er1
24997 ac_status=$?
24998 grep -v '^ *+' conftest.er1 >conftest.err
24999 rm -f conftest.er1
25000 cat conftest.err >&5
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); } &&
25003 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25005 (eval $ac_try) 2>&5
25006 ac_status=$?
25007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25008 (exit $ac_status); }; } &&
25009 { ac_try='test -s conftest.$ac_objext'
25010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25011 (eval $ac_try) 2>&5
25012 ac_status=$?
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); }; }; then
25015
25016 cat >conftest.$ac_ext <<_ACEOF
25017 /* confdefs.h. */
25018 _ACEOF
25019 cat confdefs.h >>conftest.$ac_ext
25020 cat >>conftest.$ac_ext <<_ACEOF
25021 /* end confdefs.h. */
25022
25023 class Foo { public: explicit Foo(int) {} };
25024 static void TakeFoo(const Foo& foo) { }
25025
25026 int
25027 main ()
25028 {
25029
25030 TakeFoo(17);
25031 return 0;
25032
25033 ;
25034 return 0;
25035 }
25036 _ACEOF
25037 rm -f conftest.$ac_objext
25038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25039 (eval $ac_compile) 2>conftest.er1
25040 ac_status=$?
25041 grep -v '^ *+' conftest.er1 >conftest.err
25042 rm -f conftest.er1
25043 cat conftest.err >&5
25044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045 (exit $ac_status); } &&
25046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25048 (eval $ac_try) 2>&5
25049 ac_status=$?
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); }; } &&
25052 { ac_try='test -s conftest.$ac_objext'
25053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25054 (eval $ac_try) 2>&5
25055 ac_status=$?
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057 (exit $ac_status); }; }; then
25058 wx_cv_explicit=no
25059 else
25060 echo "$as_me: failed program was:" >&5
25061 sed 's/^/| /' conftest.$ac_ext >&5
25062
25063 wx_cv_explicit=yes
25064
25065 fi
25066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25067
25068 else
25069 echo "$as_me: failed program was:" >&5
25070 sed 's/^/| /' conftest.$ac_ext >&5
25071
25072 wx_cv_explicit=no
25073
25074 fi
25075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25076
25077 ac_ext=c
25078 ac_cpp='$CPP $CPPFLAGS'
25079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25082
25083
25084 fi
25085 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25086 echo "${ECHO_T}$wx_cv_explicit" >&6
25087
25088 if test "$wx_cv_explicit" = "yes"; then
25089 cat >>confdefs.h <<\_ACEOF
25090 #define HAVE_EXPLICIT 1
25091 _ACEOF
25092
25093 fi
25094
25095
25096 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
25097 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
25098 if test "${ac_cv_cxx_const_cast+set}" = set; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25100 else
25101
25102
25103 ac_ext=cc
25104 ac_cpp='$CXXCPP $CPPFLAGS'
25105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25108
25109 cat >conftest.$ac_ext <<_ACEOF
25110 /* confdefs.h. */
25111 _ACEOF
25112 cat confdefs.h >>conftest.$ac_ext
25113 cat >>conftest.$ac_ext <<_ACEOF
25114 /* end confdefs.h. */
25115
25116 int
25117 main ()
25118 {
25119 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
25120 ;
25121 return 0;
25122 }
25123 _ACEOF
25124 rm -f conftest.$ac_objext
25125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25126 (eval $ac_compile) 2>conftest.er1
25127 ac_status=$?
25128 grep -v '^ *+' conftest.er1 >conftest.err
25129 rm -f conftest.er1
25130 cat conftest.err >&5
25131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 (exit $ac_status); } &&
25133 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25135 (eval $ac_try) 2>&5
25136 ac_status=$?
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); }; } &&
25139 { ac_try='test -s conftest.$ac_objext'
25140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25141 (eval $ac_try) 2>&5
25142 ac_status=$?
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); }; }; then
25145 ac_cv_cxx_const_cast=yes
25146 else
25147 echo "$as_me: failed program was:" >&5
25148 sed 's/^/| /' conftest.$ac_ext >&5
25149
25150 ac_cv_cxx_const_cast=no
25151 fi
25152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25153 ac_ext=c
25154 ac_cpp='$CPP $CPPFLAGS'
25155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25158
25159
25160 fi
25161 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
25162 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
25163 if test "$ac_cv_cxx_const_cast" = yes; then
25164
25165 cat >>confdefs.h <<\_ACEOF
25166 #define HAVE_CONST_CAST
25167 _ACEOF
25168
25169 fi
25170
25171 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
25172 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
25173 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 else
25176
25177
25178 ac_ext=cc
25179 ac_cpp='$CXXCPP $CPPFLAGS'
25180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25183
25184 cat >conftest.$ac_ext <<_ACEOF
25185 /* confdefs.h. */
25186 _ACEOF
25187 cat confdefs.h >>conftest.$ac_ext
25188 cat >>conftest.$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25190 #include <typeinfo>
25191 class Base { public : Base () {} virtual void f () = 0;};
25192 class Derived : public Base { public : Derived () {} virtual void f () {} };
25193 class Unrelated { public : Unrelated () {} };
25194 int g (Unrelated&) { return 0; }
25195 int
25196 main ()
25197 {
25198
25199 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
25200 ;
25201 return 0;
25202 }
25203 _ACEOF
25204 rm -f conftest.$ac_objext
25205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25206 (eval $ac_compile) 2>conftest.er1
25207 ac_status=$?
25208 grep -v '^ *+' conftest.er1 >conftest.err
25209 rm -f conftest.er1
25210 cat conftest.err >&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); } &&
25213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25215 (eval $ac_try) 2>&5
25216 ac_status=$?
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); }; } &&
25219 { ac_try='test -s conftest.$ac_objext'
25220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25221 (eval $ac_try) 2>&5
25222 ac_status=$?
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); }; }; then
25225 ac_cv_cxx_reinterpret_cast=yes
25226 else
25227 echo "$as_me: failed program was:" >&5
25228 sed 's/^/| /' conftest.$ac_ext >&5
25229
25230 ac_cv_cxx_reinterpret_cast=no
25231 fi
25232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25233 ac_ext=c
25234 ac_cpp='$CPP $CPPFLAGS'
25235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25238
25239
25240 fi
25241 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
25242 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
25243 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
25244
25245 cat >>confdefs.h <<\_ACEOF
25246 #define HAVE_REINTERPRET_CAST
25247 _ACEOF
25248
25249 fi
25250
25251 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
25252 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
25253 if test "${ac_cv_cxx_static_cast+set}" = set; then
25254 echo $ECHO_N "(cached) $ECHO_C" >&6
25255 else
25256
25257
25258 ac_ext=cc
25259 ac_cpp='$CXXCPP $CPPFLAGS'
25260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25263
25264 cat >conftest.$ac_ext <<_ACEOF
25265 /* confdefs.h. */
25266 _ACEOF
25267 cat confdefs.h >>conftest.$ac_ext
25268 cat >>conftest.$ac_ext <<_ACEOF
25269 /* end confdefs.h. */
25270 #include <typeinfo>
25271 class Base { public : Base () {} virtual void f () = 0; };
25272 class Derived : public Base { public : Derived () {} virtual void f () {} };
25273 int g (Derived&) { return 0; }
25274 int
25275 main ()
25276 {
25277
25278 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
25279 ;
25280 return 0;
25281 }
25282 _ACEOF
25283 rm -f conftest.$ac_objext
25284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25285 (eval $ac_compile) 2>conftest.er1
25286 ac_status=$?
25287 grep -v '^ *+' conftest.er1 >conftest.err
25288 rm -f conftest.er1
25289 cat conftest.err >&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } &&
25292 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25294 (eval $ac_try) 2>&5
25295 ac_status=$?
25296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25297 (exit $ac_status); }; } &&
25298 { ac_try='test -s conftest.$ac_objext'
25299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25300 (eval $ac_try) 2>&5
25301 ac_status=$?
25302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25303 (exit $ac_status); }; }; then
25304 ac_cv_cxx_static_cast=yes
25305 else
25306 echo "$as_me: failed program was:" >&5
25307 sed 's/^/| /' conftest.$ac_ext >&5
25308
25309 ac_cv_cxx_static_cast=no
25310 fi
25311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25312 ac_ext=c
25313 ac_cpp='$CPP $CPPFLAGS'
25314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25317
25318
25319 fi
25320 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
25321 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
25322 if test "$ac_cv_cxx_static_cast" = yes; then
25323
25324 cat >>confdefs.h <<\_ACEOF
25325 #define HAVE_STATIC_CAST
25326 _ACEOF
25327
25328 fi
25329
25330
25331 if test "x$SUNCXX" = xyes; then
25332 CXXFLAGS="-features=tmplife $CXXFLAGS"
25333 fi
25334
25335 if test "x$SUNCC" = xyes; then
25336 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25337 fi
25338
25339 if test "x$SGICC" = "xyes"; then
25340 CFLAGS="-woff 3970 $CFLAGS"
25341 fi
25342 if test "x$SGICXX" = "xyes"; then
25343 CXXFLAGS="-woff 3970 $CXXFLAGS"
25344 fi
25345
25346 if test "x$HPCC" = "xyes"; then
25347 CFLAGS="+W 2011,2450 $CFLAGS"
25348 fi
25349 if test "x$HPCXX" = "xyes"; then
25350 CXXFLAGS="+W 2340 $CXXFLAGS"
25351 fi
25352
25353 if test "x$COMPAQCXX" = "xyes"; then
25354 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25355 fi
25356
25357 ac_ext=cc
25358 ac_cpp='$CXXCPP $CPPFLAGS'
25359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25362
25363
25364 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25365 if test "$wxUSE_UNICODE" = "yes"; then
25366 std_string="std::wstring"
25367 char_type="wchar_t"
25368 else
25369 std_string="std::string"
25370 char_type="char"
25371 fi
25372
25373 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25374 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
25375 if test "${wx_cv_class_stdstring+set}" = set; then
25376 echo $ECHO_N "(cached) $ECHO_C" >&6
25377 else
25378
25379 cat >conftest.$ac_ext <<_ACEOF
25380 /* confdefs.h. */
25381 _ACEOF
25382 cat confdefs.h >>conftest.$ac_ext
25383 cat >>conftest.$ac_ext <<_ACEOF
25384 /* end confdefs.h. */
25385 #include <string>
25386 int
25387 main ()
25388 {
25389 $std_string foo;
25390 ;
25391 return 0;
25392 }
25393 _ACEOF
25394 rm -f conftest.$ac_objext
25395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25396 (eval $ac_compile) 2>conftest.er1
25397 ac_status=$?
25398 grep -v '^ *+' conftest.er1 >conftest.err
25399 rm -f conftest.er1
25400 cat conftest.err >&5
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); } &&
25403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25405 (eval $ac_try) 2>&5
25406 ac_status=$?
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); }; } &&
25409 { ac_try='test -s conftest.$ac_objext'
25410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25411 (eval $ac_try) 2>&5
25412 ac_status=$?
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); }; }; then
25415 wx_cv_class_stdstring=yes
25416 else
25417 echo "$as_me: failed program was:" >&5
25418 sed 's/^/| /' conftest.$ac_ext >&5
25419
25420 wx_cv_class_stdstring=no
25421
25422 fi
25423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25424
25425
25426 fi
25427 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25428 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
25429
25430 if test "$wx_cv_class_stdstring" = yes; then
25431 if test "$wxUSE_UNICODE" = "yes"; then
25432 cat >>confdefs.h <<\_ACEOF
25433 #define HAVE_STD_WSTRING 1
25434 _ACEOF
25435
25436 fi
25437 else
25438 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25439 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
25440 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25441 echo $ECHO_N "(cached) $ECHO_C" >&6
25442 else
25443
25444 cat >conftest.$ac_ext <<_ACEOF
25445 /* confdefs.h. */
25446 _ACEOF
25447 cat confdefs.h >>conftest.$ac_ext
25448 cat >>conftest.$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25450
25451 #ifdef HAVE_WCHAR_H
25452 # ifdef __CYGWIN__
25453 # include <stddef.h>
25454 # endif
25455 # include <wchar.h>
25456 #endif
25457 #ifdef HAVE_STDLIB_H
25458 # include <stdlib.h>
25459 #endif
25460 #include <stdio.h>
25461 #include <string>
25462
25463 int
25464 main ()
25465 {
25466 std::basic_string<$char_type> foo;
25467 const $char_type* dummy = foo.c_str();
25468 ;
25469 return 0;
25470 }
25471 _ACEOF
25472 rm -f conftest.$ac_objext
25473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25474 (eval $ac_compile) 2>conftest.er1
25475 ac_status=$?
25476 grep -v '^ *+' conftest.er1 >conftest.err
25477 rm -f conftest.er1
25478 cat conftest.err >&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); } &&
25481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25484 ac_status=$?
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try='test -s conftest.$ac_objext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 wx_cv_class_stdbasicstring=yes
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25497
25498 wx_cv_class_stdbasicstring=no
25499
25500 fi
25501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25502
25503
25504 fi
25505 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25506 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
25507
25508 if test "$wx_cv_class_stdbasicstring" != yes; then
25509 if test "$wxUSE_STL" = "yes"; then
25510 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25511 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25512 { (exit 1); exit 1; }; }
25513 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
25514 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25515 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25516 { (exit 1); exit 1; }; }
25517 else
25518 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25519 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25520 wxUSE_STD_STRING=no
25521 fi
25522 fi
25523 fi
25524 fi
25525
25526 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25527 echo "$as_me:$LINENO: checking for std::istream" >&5
25528 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
25529 if test "${ac_cv_type_std__istream+set}" = set; then
25530 echo $ECHO_N "(cached) $ECHO_C" >&6
25531 else
25532 cat >conftest.$ac_ext <<_ACEOF
25533 /* confdefs.h. */
25534 _ACEOF
25535 cat confdefs.h >>conftest.$ac_ext
25536 cat >>conftest.$ac_ext <<_ACEOF
25537 /* end confdefs.h. */
25538 #include <iostream>
25539
25540 int
25541 main ()
25542 {
25543 if ((std::istream *) 0)
25544 return 0;
25545 if (sizeof (std::istream))
25546 return 0;
25547 ;
25548 return 0;
25549 }
25550 _ACEOF
25551 rm -f conftest.$ac_objext
25552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25553 (eval $ac_compile) 2>conftest.er1
25554 ac_status=$?
25555 grep -v '^ *+' conftest.er1 >conftest.err
25556 rm -f conftest.er1
25557 cat conftest.err >&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); } &&
25560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25562 (eval $ac_try) 2>&5
25563 ac_status=$?
25564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565 (exit $ac_status); }; } &&
25566 { ac_try='test -s conftest.$ac_objext'
25567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25568 (eval $ac_try) 2>&5
25569 ac_status=$?
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); }; }; then
25572 ac_cv_type_std__istream=yes
25573 else
25574 echo "$as_me: failed program was:" >&5
25575 sed 's/^/| /' conftest.$ac_ext >&5
25576
25577 ac_cv_type_std__istream=no
25578 fi
25579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25580 fi
25581 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25582 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
25583 if test $ac_cv_type_std__istream = yes; then
25584
25585 cat >>confdefs.h <<_ACEOF
25586 #define HAVE_STD__ISTREAM 1
25587 _ACEOF
25588
25589
25590 else
25591 wxUSE_STD_IOSTREAM=no
25592 fi
25593 echo "$as_me:$LINENO: checking for std::ostream" >&5
25594 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
25595 if test "${ac_cv_type_std__ostream+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 else
25598 cat >conftest.$ac_ext <<_ACEOF
25599 /* confdefs.h. */
25600 _ACEOF
25601 cat confdefs.h >>conftest.$ac_ext
25602 cat >>conftest.$ac_ext <<_ACEOF
25603 /* end confdefs.h. */
25604 #include <iostream>
25605
25606 int
25607 main ()
25608 {
25609 if ((std::ostream *) 0)
25610 return 0;
25611 if (sizeof (std::ostream))
25612 return 0;
25613 ;
25614 return 0;
25615 }
25616 _ACEOF
25617 rm -f conftest.$ac_objext
25618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25619 (eval $ac_compile) 2>conftest.er1
25620 ac_status=$?
25621 grep -v '^ *+' conftest.er1 >conftest.err
25622 rm -f conftest.er1
25623 cat conftest.err >&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); } &&
25626 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25628 (eval $ac_try) 2>&5
25629 ac_status=$?
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); }; } &&
25632 { ac_try='test -s conftest.$ac_objext'
25633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25634 (eval $ac_try) 2>&5
25635 ac_status=$?
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); }; }; then
25638 ac_cv_type_std__ostream=yes
25639 else
25640 echo "$as_me: failed program was:" >&5
25641 sed 's/^/| /' conftest.$ac_ext >&5
25642
25643 ac_cv_type_std__ostream=no
25644 fi
25645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25646 fi
25647 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25648 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
25649 if test $ac_cv_type_std__ostream = yes; then
25650
25651 cat >>confdefs.h <<_ACEOF
25652 #define HAVE_STD__OSTREAM 1
25653 _ACEOF
25654
25655
25656 else
25657 wxUSE_STD_IOSTREAM=no
25658 fi
25659
25660
25661 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25662 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
25663 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25664 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25665 { (exit 1); exit 1; }; }
25666 else
25667 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25668 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25669 fi
25670 fi
25671 fi
25672
25673 if test "$wxUSE_STL" = "yes"; then
25674 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25675 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
25676 if test "${wx_cv_lib_stl+set}" = set; then
25677 echo $ECHO_N "(cached) $ECHO_C" >&6
25678 else
25679 cat >conftest.$ac_ext <<_ACEOF
25680 /* confdefs.h. */
25681 _ACEOF
25682 cat confdefs.h >>conftest.$ac_ext
25683 cat >>conftest.$ac_ext <<_ACEOF
25684 /* end confdefs.h. */
25685 #include <string>
25686 #include <functional>
25687 #include <algorithm>
25688 #include <vector>
25689 #include <list>
25690 int
25691 main ()
25692 {
25693 std::vector<int> moo;
25694 std::list<int> foo;
25695 std::vector<int>::iterator it =
25696 std::find_if(moo.begin(), moo.end(),
25697 std::bind2nd(std::less<int>(), 3));
25698 ;
25699 return 0;
25700 }
25701 _ACEOF
25702 rm -f conftest.$ac_objext
25703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25704 (eval $ac_compile) 2>conftest.er1
25705 ac_status=$?
25706 grep -v '^ *+' conftest.er1 >conftest.err
25707 rm -f conftest.er1
25708 cat conftest.err >&5
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); } &&
25711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25713 (eval $ac_try) 2>&5
25714 ac_status=$?
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); }; } &&
25717 { ac_try='test -s conftest.$ac_objext'
25718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719 (eval $ac_try) 2>&5
25720 ac_status=$?
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); }; }; then
25723 wx_cv_lib_stl=yes
25724 else
25725 echo "$as_me: failed program was:" >&5
25726 sed 's/^/| /' conftest.$ac_ext >&5
25727
25728 wx_cv_lib_stl=no
25729
25730 fi
25731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25732
25733 fi
25734 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25735 echo "${ECHO_T}$wx_cv_lib_stl" >&6
25736
25737 if test "$wx_cv_lib_stl" != yes; then
25738 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25739 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25740 { (exit 1); exit 1; }; }
25741 fi
25742
25743 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25744 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
25745 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25746 echo $ECHO_N "(cached) $ECHO_C" >&6
25747 else
25748 cat >conftest.$ac_ext <<_ACEOF
25749 /* confdefs.h. */
25750 _ACEOF
25751 cat confdefs.h >>conftest.$ac_ext
25752 cat >>conftest.$ac_ext <<_ACEOF
25753 /* end confdefs.h. */
25754 #include <string>
25755 int
25756 main ()
25757 {
25758 std::string foo, bar;
25759 foo.compare(bar);
25760 foo.compare(1, 1, bar);
25761 foo.compare(1, 1, bar, 1, 1);
25762 foo.compare("");
25763 foo.compare(1, 1, "");
25764 foo.compare(1, 1, "", 2);
25765 ;
25766 return 0;
25767 }
25768 _ACEOF
25769 rm -f conftest.$ac_objext
25770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25771 (eval $ac_compile) 2>conftest.er1
25772 ac_status=$?
25773 grep -v '^ *+' conftest.er1 >conftest.err
25774 rm -f conftest.er1
25775 cat conftest.err >&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } &&
25778 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25781 ac_status=$?
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; } &&
25784 { ac_try='test -s conftest.$ac_objext'
25785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25786 (eval $ac_try) 2>&5
25787 ac_status=$?
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; }; then
25790 wx_cv_func_stdstring_compare=yes
25791 else
25792 echo "$as_me: failed program was:" >&5
25793 sed 's/^/| /' conftest.$ac_ext >&5
25794
25795 wx_cv_func_stdstring_compare=no
25796
25797 fi
25798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25799
25800 fi
25801 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25802 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
25803
25804 if test "$wx_cv_func_stdstring_compare" = yes; then
25805 cat >>confdefs.h <<\_ACEOF
25806 #define HAVE_STD_STRING_COMPARE 1
25807 _ACEOF
25808
25809 fi
25810
25811 echo "$as_me:$LINENO: checking for hash_map" >&5
25812 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
25813 if test "${ac_cv_header_hash_map+set}" = set; then
25814 echo $ECHO_N "(cached) $ECHO_C" >&6
25815 else
25816 cat >conftest.$ac_ext <<_ACEOF
25817 /* confdefs.h. */
25818 _ACEOF
25819 cat confdefs.h >>conftest.$ac_ext
25820 cat >>conftest.$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25822
25823
25824
25825 #include <hash_map>
25826 _ACEOF
25827 rm -f conftest.$ac_objext
25828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25829 (eval $ac_compile) 2>conftest.er1
25830 ac_status=$?
25831 grep -v '^ *+' conftest.er1 >conftest.err
25832 rm -f conftest.er1
25833 cat conftest.err >&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); } &&
25836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838 (eval $ac_try) 2>&5
25839 ac_status=$?
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); }; } &&
25842 { ac_try='test -s conftest.$ac_objext'
25843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25844 (eval $ac_try) 2>&5
25845 ac_status=$?
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); }; }; then
25848 ac_cv_header_hash_map=yes
25849 else
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.$ac_ext >&5
25852
25853 ac_cv_header_hash_map=no
25854 fi
25855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25856 fi
25857 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25858 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
25859 if test $ac_cv_header_hash_map = yes; then
25860 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
25861 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
25862 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25863 echo $ECHO_N "(cached) $ECHO_C" >&6
25864 else
25865 cat >conftest.$ac_ext <<_ACEOF
25866 /* confdefs.h. */
25867 _ACEOF
25868 cat confdefs.h >>conftest.$ac_ext
25869 cat >>conftest.$ac_ext <<_ACEOF
25870 /* end confdefs.h. */
25871 #include <hash_map>
25872 #include <hash_set>
25873 int
25874 main ()
25875 {
25876 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25877 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25878 ;
25879 return 0;
25880 }
25881 _ACEOF
25882 rm -f conftest.$ac_objext
25883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25884 (eval $ac_compile) 2>conftest.er1
25885 ac_status=$?
25886 grep -v '^ *+' conftest.er1 >conftest.err
25887 rm -f conftest.er1
25888 cat conftest.err >&5
25889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25890 (exit $ac_status); } &&
25891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25893 (eval $ac_try) 2>&5
25894 ac_status=$?
25895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896 (exit $ac_status); }; } &&
25897 { ac_try='test -s conftest.$ac_objext'
25898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25899 (eval $ac_try) 2>&5
25900 ac_status=$?
25901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902 (exit $ac_status); }; }; then
25903 wx_cv_class_stdhashmapset=yes
25904 else
25905 echo "$as_me: failed program was:" >&5
25906 sed 's/^/| /' conftest.$ac_ext >&5
25907
25908 wx_cv_class_stdhashmapset=no
25909 fi
25910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25911
25912
25913 fi
25914 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25915 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
25916 fi
25917
25918
25919
25920 if test "$wx_cv_class_stdhashmapset" = yes; then
25921 cat >>confdefs.h <<\_ACEOF
25922 #define HAVE_HASH_MAP 1
25923 _ACEOF
25924
25925 cat >>confdefs.h <<\_ACEOF
25926 #define HAVE_STD_HASH_MAP 1
25927 _ACEOF
25928
25929 fi
25930
25931 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25932 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
25933 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25934 echo $ECHO_N "(cached) $ECHO_C" >&6
25935 else
25936 cat >conftest.$ac_ext <<_ACEOF
25937 /* confdefs.h. */
25938 _ACEOF
25939 cat confdefs.h >>conftest.$ac_ext
25940 cat >>conftest.$ac_ext <<_ACEOF
25941 /* end confdefs.h. */
25942
25943
25944
25945 #include <ext/hash_map>
25946 _ACEOF
25947 rm -f conftest.$ac_objext
25948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25949 (eval $ac_compile) 2>conftest.er1
25950 ac_status=$?
25951 grep -v '^ *+' conftest.er1 >conftest.err
25952 rm -f conftest.er1
25953 cat conftest.err >&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } &&
25956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25958 (eval $ac_try) 2>&5
25959 ac_status=$?
25960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961 (exit $ac_status); }; } &&
25962 { ac_try='test -s conftest.$ac_objext'
25963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964 (eval $ac_try) 2>&5
25965 ac_status=$?
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); }; }; then
25968 ac_cv_header_ext_hash_map=yes
25969 else
25970 echo "$as_me: failed program was:" >&5
25971 sed 's/^/| /' conftest.$ac_ext >&5
25972
25973 ac_cv_header_ext_hash_map=no
25974 fi
25975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25976 fi
25977 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25978 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
25979 if test $ac_cv_header_ext_hash_map = yes; then
25980 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25981 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
25982 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25983 echo $ECHO_N "(cached) $ECHO_C" >&6
25984 else
25985 cat >conftest.$ac_ext <<_ACEOF
25986 /* confdefs.h. */
25987 _ACEOF
25988 cat confdefs.h >>conftest.$ac_ext
25989 cat >>conftest.$ac_ext <<_ACEOF
25990 /* end confdefs.h. */
25991 #include <ext/hash_map>
25992 #include <ext/hash_set>
25993 int
25994 main ()
25995 {
25996 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25997 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25998 ;
25999 return 0;
26000 }
26001 _ACEOF
26002 rm -f conftest.$ac_objext
26003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26004 (eval $ac_compile) 2>conftest.er1
26005 ac_status=$?
26006 grep -v '^ *+' conftest.er1 >conftest.err
26007 rm -f conftest.er1
26008 cat conftest.err >&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } &&
26011 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013 (eval $ac_try) 2>&5
26014 ac_status=$?
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); }; } &&
26017 { ac_try='test -s conftest.$ac_objext'
26018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26019 (eval $ac_try) 2>&5
26020 ac_status=$?
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); }; }; then
26023 wx_cv_class_gnuhashmapset=yes
26024 else
26025 echo "$as_me: failed program was:" >&5
26026 sed 's/^/| /' conftest.$ac_ext >&5
26027
26028 wx_cv_class_gnuhashmapset=no
26029 fi
26030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26031
26032
26033 fi
26034 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26035 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
26036 fi
26037
26038
26039
26040 if test "$wx_cv_class_gnuhashmapset" = yes; then
26041 cat >>confdefs.h <<\_ACEOF
26042 #define HAVE_EXT_HASH_MAP 1
26043 _ACEOF
26044
26045 cat >>confdefs.h <<\_ACEOF
26046 #define HAVE_GNU_CXX_HASH_MAP 1
26047 _ACEOF
26048
26049 fi
26050 fi
26051
26052 ac_ext=c
26053 ac_cpp='$CPP $CPPFLAGS'
26054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26057
26058
26059
26060 SEARCH_INCLUDE="\
26061 /usr/local/include \
26062 \
26063 /usr/Motif-2.1/include \
26064 /usr/Motif-1.2/include \
26065 /usr/include/Motif1.2 \
26066 \
26067 /usr/dt/include \
26068 /usr/openwin/include \
26069 \
26070 /usr/include/Xm \
26071 \
26072 /usr/X11R6/include \
26073 /usr/X11R6.4/include \
26074 /usr/X11R5/include \
26075 /usr/X11R4/include \
26076 \
26077 /usr/include/X11R6 \
26078 /usr/include/X11R5 \
26079 /usr/include/X11R4 \
26080 \
26081 /usr/local/X11R6/include \
26082 /usr/local/X11R5/include \
26083 /usr/local/X11R4/include \
26084 \
26085 /usr/local/include/X11R6 \
26086 /usr/local/include/X11R5 \
26087 /usr/local/include/X11R4 \
26088 \
26089 /usr/X11/include \
26090 /usr/include/X11 \
26091 /usr/local/X11/include \
26092 /usr/local/include/X11 \
26093 \
26094 /usr/XFree86/include/X11 \
26095 /usr/pkg/include \
26096 \
26097 /usr/openwin/share/include"
26098
26099 echo "$as_me:$LINENO: checking for libraries directory" >&5
26100 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
26101
26102 case "${host}" in
26103 *-*-irix6* )
26104 if test "${wx_cv_std_libpath+set}" = set; then
26105 echo $ECHO_N "(cached) $ECHO_C" >&6
26106 else
26107
26108 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26109 for e in a so sl dylib dll.a; do
26110 libc="$d/libc.$e"
26111 if test -f $libc; then
26112 save_LIBS="$LIBS"
26113 LIBS="$libc"
26114 cat >conftest.$ac_ext <<_ACEOF
26115 int main() { return 0; }
26116 _ACEOF
26117 rm -f conftest.$ac_objext conftest$ac_exeext
26118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26119 (eval $ac_link) 2>conftest.er1
26120 ac_status=$?
26121 grep -v '^ *+' conftest.er1 >conftest.err
26122 rm -f conftest.er1
26123 cat conftest.err >&5
26124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26125 (exit $ac_status); } &&
26126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26128 (eval $ac_try) 2>&5
26129 ac_status=$?
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); }; } &&
26132 { ac_try='test -s conftest$ac_exeext'
26133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26134 (eval $ac_try) 2>&5
26135 ac_status=$?
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); }; }; then
26138 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26139 else
26140 echo "$as_me: failed program was:" >&5
26141 sed 's/^/| /' conftest.$ac_ext >&5
26142
26143 fi
26144 rm -f conftest.err conftest.$ac_objext \
26145 conftest$ac_exeext conftest.$ac_ext
26146 LIBS="$save_LIBS"
26147 if test "x$wx_cv_std_libpath" != "x"; then
26148 break 2
26149 fi
26150 fi
26151 done
26152 done
26153 if test "x$wx_cv_std_libpath" = "x"; then
26154 wx_cv_std_libpath="lib"
26155 fi
26156
26157
26158 fi
26159
26160 ;;
26161
26162 *-*-solaris2* )
26163 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26164 wx_cv_std_libpath="lib/64"
26165 else
26166 wx_cv_std_libpath="lib"
26167 fi
26168 ;;
26169
26170 *-*-linux* )
26171 if test "$ac_cv_sizeof_void_p" = 8 -a \
26172 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26173 wx_cv_std_libpath="lib64"
26174 else
26175 wx_cv_std_libpath="lib"
26176 fi
26177 ;;
26178
26179 *)
26180 wx_cv_std_libpath="lib";
26181 ;;
26182 esac
26183
26184 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26185 echo "${ECHO_T}$wx_cv_std_libpath" >&6
26186
26187 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26188
26189 if test "$build" != "$host" -a "$GCC" = yes; then
26190 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26191 cross_root=`dirname $cross_root`
26192 cross_root=`dirname $cross_root`
26193
26194 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26195 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26196 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26197
26198 if test -z "$PKG_CONFIG_PATH"; then
26199 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26200 export PKG_CONFIG_PATH
26201 fi
26202
26203 if test -z "$x_includes" -o "$x_includes" = NONE; then
26204
26205 ac_find_includes=
26206 for ac_dir in $SEARCH_INCLUDE /usr/include;
26207 do
26208 if test -f "$ac_dir/X11/Intrinsic.h"; then
26209 ac_find_includes=$ac_dir
26210 break
26211 fi
26212 done
26213
26214 x_includes=$ac_find_includes
26215 fi
26216 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26217
26218 ac_find_libraries=
26219 for ac_dir in $SEARCH_LIB;
26220 do
26221 for ac_extension in a so sl dylib dll.a; do
26222 if test -f "$ac_dir/libXt.$ac_extension"; then
26223 ac_find_libraries=$ac_dir
26224 break 2
26225 fi
26226 done
26227 done
26228
26229 x_libraries=$ac_find_libraries
26230 fi
26231 fi
26232 fi
26233
26234
26235 cat >confcache <<\_ACEOF
26236 # This file is a shell script that caches the results of configure
26237 # tests run on this system so they can be shared between configure
26238 # scripts and configure runs, see configure's option --config-cache.
26239 # It is not useful on other systems. If it contains results you don't
26240 # want to keep, you may remove or edit it.
26241 #
26242 # config.status only pays attention to the cache file if you give it
26243 # the --recheck option to rerun configure.
26244 #
26245 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26246 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26247 # following values.
26248
26249 _ACEOF
26250
26251 # The following way of writing the cache mishandles newlines in values,
26252 # but we know of no workaround that is simple, portable, and efficient.
26253 # So, don't put newlines in cache variables' values.
26254 # Ultrix sh set writes to stderr and can't be redirected directly,
26255 # and sets the high bit in the cache file unless we assign to the vars.
26256 {
26257 (set) 2>&1 |
26258 case `(ac_space=' '; set | grep ac_space) 2>&1` in
26259 *ac_space=\ *)
26260 # `set' does not quote correctly, so add quotes (double-quote
26261 # substitution turns \\\\ into \\, and sed turns \\ into \).
26262 sed -n \
26263 "s/'/'\\\\''/g;
26264 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26265 ;;
26266 *)
26267 # `set' quotes correctly as required by POSIX, so do not add quotes.
26268 sed -n \
26269 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
26270 ;;
26271 esac;
26272 } |
26273 sed '
26274 t clear
26275 : clear
26276 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26277 t end
26278 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26279 : end' >>confcache
26280 if diff $cache_file confcache >/dev/null 2>&1; then :; else
26281 if test -w $cache_file; then
26282 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
26283 cat confcache >$cache_file
26284 else
26285 echo "not updating unwritable cache $cache_file"
26286 fi
26287 fi
26288 rm -f confcache
26289
26290 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26291 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26292 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
26293 if test "${wx_cv_lib_glibc21+set}" = set; then
26294 echo $ECHO_N "(cached) $ECHO_C" >&6
26295 else
26296
26297 cat >conftest.$ac_ext <<_ACEOF
26298 /* confdefs.h. */
26299 _ACEOF
26300 cat confdefs.h >>conftest.$ac_ext
26301 cat >>conftest.$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26303 #include <features.h>
26304 int
26305 main ()
26306 {
26307
26308 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26309 not glibc 2.1
26310 #endif
26311
26312 ;
26313 return 0;
26314 }
26315 _ACEOF
26316 rm -f conftest.$ac_objext
26317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26318 (eval $ac_compile) 2>conftest.er1
26319 ac_status=$?
26320 grep -v '^ *+' conftest.er1 >conftest.err
26321 rm -f conftest.er1
26322 cat conftest.err >&5
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); } &&
26325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26327 (eval $ac_try) 2>&5
26328 ac_status=$?
26329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330 (exit $ac_status); }; } &&
26331 { ac_try='test -s conftest.$ac_objext'
26332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26333 (eval $ac_try) 2>&5
26334 ac_status=$?
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; }; then
26337
26338 wx_cv_lib_glibc21=yes
26339
26340 else
26341 echo "$as_me: failed program was:" >&5
26342 sed 's/^/| /' conftest.$ac_ext >&5
26343
26344
26345 wx_cv_lib_glibc21=no
26346
26347
26348 fi
26349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26350
26351 fi
26352 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26353 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
26354 if test "$wx_cv_lib_glibc21" = "yes"; then
26355 cat >>confdefs.h <<\_ACEOF
26356 #define wxHAVE_GLIBC2 1
26357 _ACEOF
26358
26359 fi
26360 fi
26361
26362 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26363 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26364 cat >>confdefs.h <<\_ACEOF
26365 #define _GNU_SOURCE 1
26366 _ACEOF
26367
26368 fi
26369 fi
26370
26371 have_cos=0
26372 have_floor=0
26373
26374 for ac_func in cos
26375 do
26376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26377 echo "$as_me:$LINENO: checking for $ac_func" >&5
26378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26379 if eval "test \"\${$as_ac_var+set}\" = set"; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26381 else
26382 cat >conftest.$ac_ext <<_ACEOF
26383 /* confdefs.h. */
26384 _ACEOF
26385 cat confdefs.h >>conftest.$ac_ext
26386 cat >>conftest.$ac_ext <<_ACEOF
26387 /* end confdefs.h. */
26388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26390 #define $ac_func innocuous_$ac_func
26391
26392 /* System header to define __stub macros and hopefully few prototypes,
26393 which can conflict with char $ac_func (); below.
26394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26395 <limits.h> exists even on freestanding compilers. */
26396
26397 #ifdef __STDC__
26398 # include <limits.h>
26399 #else
26400 # include <assert.h>
26401 #endif
26402
26403 #undef $ac_func
26404
26405 /* Override any gcc2 internal prototype to avoid an error. */
26406 #ifdef __cplusplus
26407 extern "C"
26408 {
26409 #endif
26410 /* We use char because int might match the return type of a gcc2
26411 builtin and then its argument prototype would still apply. */
26412 char $ac_func ();
26413 /* The GNU C library defines this for functions which it implements
26414 to always fail with ENOSYS. Some functions are actually named
26415 something starting with __ and the normal name is an alias. */
26416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26417 choke me
26418 #else
26419 char (*f) () = $ac_func;
26420 #endif
26421 #ifdef __cplusplus
26422 }
26423 #endif
26424
26425 int
26426 main ()
26427 {
26428 return f != $ac_func;
26429 ;
26430 return 0;
26431 }
26432 _ACEOF
26433 rm -f conftest.$ac_objext conftest$ac_exeext
26434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26435 (eval $ac_link) 2>conftest.er1
26436 ac_status=$?
26437 grep -v '^ *+' conftest.er1 >conftest.err
26438 rm -f conftest.er1
26439 cat conftest.err >&5
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); } &&
26442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26444 (eval $ac_try) 2>&5
26445 ac_status=$?
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); }; } &&
26448 { ac_try='test -s conftest$ac_exeext'
26449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26450 (eval $ac_try) 2>&5
26451 ac_status=$?
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); }; }; then
26454 eval "$as_ac_var=yes"
26455 else
26456 echo "$as_me: failed program was:" >&5
26457 sed 's/^/| /' conftest.$ac_ext >&5
26458
26459 eval "$as_ac_var=no"
26460 fi
26461 rm -f conftest.err conftest.$ac_objext \
26462 conftest$ac_exeext conftest.$ac_ext
26463 fi
26464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26466 if test `eval echo '${'$as_ac_var'}'` = yes; then
26467 cat >>confdefs.h <<_ACEOF
26468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26469 _ACEOF
26470 have_cos=1
26471 fi
26472 done
26473
26474
26475 for ac_func in floor
26476 do
26477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26478 echo "$as_me:$LINENO: checking for $ac_func" >&5
26479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26480 if eval "test \"\${$as_ac_var+set}\" = set"; then
26481 echo $ECHO_N "(cached) $ECHO_C" >&6
26482 else
26483 cat >conftest.$ac_ext <<_ACEOF
26484 /* confdefs.h. */
26485 _ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26491 #define $ac_func innocuous_$ac_func
26492
26493 /* System header to define __stub macros and hopefully few prototypes,
26494 which can conflict with char $ac_func (); below.
26495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26496 <limits.h> exists even on freestanding compilers. */
26497
26498 #ifdef __STDC__
26499 # include <limits.h>
26500 #else
26501 # include <assert.h>
26502 #endif
26503
26504 #undef $ac_func
26505
26506 /* Override any gcc2 internal prototype to avoid an error. */
26507 #ifdef __cplusplus
26508 extern "C"
26509 {
26510 #endif
26511 /* We use char because int might match the return type of a gcc2
26512 builtin and then its argument prototype would still apply. */
26513 char $ac_func ();
26514 /* The GNU C library defines this for functions which it implements
26515 to always fail with ENOSYS. Some functions are actually named
26516 something starting with __ and the normal name is an alias. */
26517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26518 choke me
26519 #else
26520 char (*f) () = $ac_func;
26521 #endif
26522 #ifdef __cplusplus
26523 }
26524 #endif
26525
26526 int
26527 main ()
26528 {
26529 return f != $ac_func;
26530 ;
26531 return 0;
26532 }
26533 _ACEOF
26534 rm -f conftest.$ac_objext conftest$ac_exeext
26535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26536 (eval $ac_link) 2>conftest.er1
26537 ac_status=$?
26538 grep -v '^ *+' conftest.er1 >conftest.err
26539 rm -f conftest.er1
26540 cat conftest.err >&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } &&
26543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26545 (eval $ac_try) 2>&5
26546 ac_status=$?
26547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26548 (exit $ac_status); }; } &&
26549 { ac_try='test -s conftest$ac_exeext'
26550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26551 (eval $ac_try) 2>&5
26552 ac_status=$?
26553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554 (exit $ac_status); }; }; then
26555 eval "$as_ac_var=yes"
26556 else
26557 echo "$as_me: failed program was:" >&5
26558 sed 's/^/| /' conftest.$ac_ext >&5
26559
26560 eval "$as_ac_var=no"
26561 fi
26562 rm -f conftest.err conftest.$ac_objext \
26563 conftest$ac_exeext conftest.$ac_ext
26564 fi
26565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26567 if test `eval echo '${'$as_ac_var'}'` = yes; then
26568 cat >>confdefs.h <<_ACEOF
26569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26570 _ACEOF
26571 have_floor=1
26572 fi
26573 done
26574
26575 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26576 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
26577 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26578 echo "$as_me:$LINENO: result: yes" >&5
26579 echo "${ECHO_T}yes" >&6
26580 else
26581 echo "$as_me:$LINENO: result: no" >&5
26582 echo "${ECHO_T}no" >&6
26583 LIBS="$LIBS -lm"
26584 # use different functions to avoid configure caching
26585 have_sin=0
26586 have_ceil=0
26587
26588 for ac_func in sin
26589 do
26590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26591 echo "$as_me:$LINENO: checking for $ac_func" >&5
26592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26593 if eval "test \"\${$as_ac_var+set}\" = set"; then
26594 echo $ECHO_N "(cached) $ECHO_C" >&6
26595 else
26596 cat >conftest.$ac_ext <<_ACEOF
26597 /* confdefs.h. */
26598 _ACEOF
26599 cat confdefs.h >>conftest.$ac_ext
26600 cat >>conftest.$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26604 #define $ac_func innocuous_$ac_func
26605
26606 /* System header to define __stub macros and hopefully few prototypes,
26607 which can conflict with char $ac_func (); below.
26608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26609 <limits.h> exists even on freestanding compilers. */
26610
26611 #ifdef __STDC__
26612 # include <limits.h>
26613 #else
26614 # include <assert.h>
26615 #endif
26616
26617 #undef $ac_func
26618
26619 /* Override any gcc2 internal prototype to avoid an error. */
26620 #ifdef __cplusplus
26621 extern "C"
26622 {
26623 #endif
26624 /* We use char because int might match the return type of a gcc2
26625 builtin and then its argument prototype would still apply. */
26626 char $ac_func ();
26627 /* The GNU C library defines this for functions which it implements
26628 to always fail with ENOSYS. Some functions are actually named
26629 something starting with __ and the normal name is an alias. */
26630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26631 choke me
26632 #else
26633 char (*f) () = $ac_func;
26634 #endif
26635 #ifdef __cplusplus
26636 }
26637 #endif
26638
26639 int
26640 main ()
26641 {
26642 return f != $ac_func;
26643 ;
26644 return 0;
26645 }
26646 _ACEOF
26647 rm -f conftest.$ac_objext conftest$ac_exeext
26648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26649 (eval $ac_link) 2>conftest.er1
26650 ac_status=$?
26651 grep -v '^ *+' conftest.er1 >conftest.err
26652 rm -f conftest.er1
26653 cat conftest.err >&5
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); } &&
26656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26658 (eval $ac_try) 2>&5
26659 ac_status=$?
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); }; } &&
26662 { ac_try='test -s conftest$ac_exeext'
26663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26664 (eval $ac_try) 2>&5
26665 ac_status=$?
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); }; }; then
26668 eval "$as_ac_var=yes"
26669 else
26670 echo "$as_me: failed program was:" >&5
26671 sed 's/^/| /' conftest.$ac_ext >&5
26672
26673 eval "$as_ac_var=no"
26674 fi
26675 rm -f conftest.err conftest.$ac_objext \
26676 conftest$ac_exeext conftest.$ac_ext
26677 fi
26678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26680 if test `eval echo '${'$as_ac_var'}'` = yes; then
26681 cat >>confdefs.h <<_ACEOF
26682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26683 _ACEOF
26684 have_sin=1
26685 fi
26686 done
26687
26688
26689 for ac_func in ceil
26690 do
26691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26692 echo "$as_me:$LINENO: checking for $ac_func" >&5
26693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26694 if eval "test \"\${$as_ac_var+set}\" = set"; then
26695 echo $ECHO_N "(cached) $ECHO_C" >&6
26696 else
26697 cat >conftest.$ac_ext <<_ACEOF
26698 /* confdefs.h. */
26699 _ACEOF
26700 cat confdefs.h >>conftest.$ac_ext
26701 cat >>conftest.$ac_ext <<_ACEOF
26702 /* end confdefs.h. */
26703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26705 #define $ac_func innocuous_$ac_func
26706
26707 /* System header to define __stub macros and hopefully few prototypes,
26708 which can conflict with char $ac_func (); below.
26709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26710 <limits.h> exists even on freestanding compilers. */
26711
26712 #ifdef __STDC__
26713 # include <limits.h>
26714 #else
26715 # include <assert.h>
26716 #endif
26717
26718 #undef $ac_func
26719
26720 /* Override any gcc2 internal prototype to avoid an error. */
26721 #ifdef __cplusplus
26722 extern "C"
26723 {
26724 #endif
26725 /* We use char because int might match the return type of a gcc2
26726 builtin and then its argument prototype would still apply. */
26727 char $ac_func ();
26728 /* The GNU C library defines this for functions which it implements
26729 to always fail with ENOSYS. Some functions are actually named
26730 something starting with __ and the normal name is an alias. */
26731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26732 choke me
26733 #else
26734 char (*f) () = $ac_func;
26735 #endif
26736 #ifdef __cplusplus
26737 }
26738 #endif
26739
26740 int
26741 main ()
26742 {
26743 return f != $ac_func;
26744 ;
26745 return 0;
26746 }
26747 _ACEOF
26748 rm -f conftest.$ac_objext conftest$ac_exeext
26749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26750 (eval $ac_link) 2>conftest.er1
26751 ac_status=$?
26752 grep -v '^ *+' conftest.er1 >conftest.err
26753 rm -f conftest.er1
26754 cat conftest.err >&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); } &&
26757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26759 (eval $ac_try) 2>&5
26760 ac_status=$?
26761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762 (exit $ac_status); }; } &&
26763 { ac_try='test -s conftest$ac_exeext'
26764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765 (eval $ac_try) 2>&5
26766 ac_status=$?
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); }; }; then
26769 eval "$as_ac_var=yes"
26770 else
26771 echo "$as_me: failed program was:" >&5
26772 sed 's/^/| /' conftest.$ac_ext >&5
26773
26774 eval "$as_ac_var=no"
26775 fi
26776 rm -f conftest.err conftest.$ac_objext \
26777 conftest$ac_exeext conftest.$ac_ext
26778 fi
26779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26781 if test `eval echo '${'$as_ac_var'}'` = yes; then
26782 cat >>confdefs.h <<_ACEOF
26783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26784 _ACEOF
26785 have_ceil=1
26786 fi
26787 done
26788
26789 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26790 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
26791 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26792 echo "$as_me:$LINENO: result: yes" >&5
26793 echo "${ECHO_T}yes" >&6
26794 else
26795 echo "$as_me:$LINENO: result: no" >&5
26796 echo "${ECHO_T}no" >&6
26797 # not sure we should warn the user, crash, etc.
26798 fi
26799 fi
26800
26801 ac_ext=cc
26802 ac_cpp='$CXXCPP $CPPFLAGS'
26803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26806
26807 if test "wxUSE_UNICODE" = "yes"; then
26808
26809 for wx_func in wcstoull
26810 do
26811 echo "$as_me:$LINENO: checking for $wx_func" >&5
26812 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
26813 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
26814 echo $ECHO_N "(cached) $ECHO_C" >&6
26815 else
26816
26817 cat >conftest.$ac_ext <<_ACEOF
26818
26819 /* confdefs.h. */
26820 _ACEOF
26821 cat confdefs.h >>conftest.$ac_ext
26822 cat >>conftest.$ac_ext <<_ACEOF
26823 /* end confdefs.h. */
26824
26825
26826 $ac_includes_default
26827
26828 int
26829 main ()
26830 {
26831
26832 #ifndef $wx_func
26833 &$wx_func;
26834 #endif
26835
26836
26837 ;
26838 return 0;
26839 }
26840
26841 _ACEOF
26842 rm -f conftest.$ac_objext conftest$ac_exeext
26843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26844 (eval $ac_link) 2>conftest.er1
26845 ac_status=$?
26846 grep -v '^ *+' conftest.er1 >conftest.err
26847 rm -f conftest.er1
26848 cat conftest.err >&5
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); } &&
26851 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26853 (eval $ac_try) 2>&5
26854 ac_status=$?
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); }; } &&
26857 { ac_try='test -s conftest$ac_exeext'
26858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26859 (eval $ac_try) 2>&5
26860 ac_status=$?
26861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26862 (exit $ac_status); }; }; then
26863 eval wx_cv_func_$wx_func=yes
26864 else
26865 echo "$as_me: failed program was:" >&5
26866 sed 's/^/| /' conftest.$ac_ext >&5
26867
26868 eval wx_cv_func_$wx_func=no
26869 fi
26870 rm -f conftest.err conftest.$ac_objext \
26871 conftest$ac_exeext conftest.$ac_ext
26872
26873 fi
26874 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
26875 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
26876
26877 if eval test \$wx_cv_func_$wx_func = yes
26878 then
26879 cat >>confdefs.h <<_ACEOF
26880 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
26881 _ACEOF
26882
26883
26884 else
26885 :
26886
26887 fi
26888 done
26889
26890 else
26891
26892 for wx_func in strtoull
26893 do
26894 echo "$as_me:$LINENO: checking for $wx_func" >&5
26895 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
26896 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
26897 echo $ECHO_N "(cached) $ECHO_C" >&6
26898 else
26899
26900 cat >conftest.$ac_ext <<_ACEOF
26901
26902 /* confdefs.h. */
26903 _ACEOF
26904 cat confdefs.h >>conftest.$ac_ext
26905 cat >>conftest.$ac_ext <<_ACEOF
26906 /* end confdefs.h. */
26907
26908
26909 $ac_includes_default
26910
26911 int
26912 main ()
26913 {
26914
26915 #ifndef $wx_func
26916 &$wx_func;
26917 #endif
26918
26919
26920 ;
26921 return 0;
26922 }
26923
26924 _ACEOF
26925 rm -f conftest.$ac_objext conftest$ac_exeext
26926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26927 (eval $ac_link) 2>conftest.er1
26928 ac_status=$?
26929 grep -v '^ *+' conftest.er1 >conftest.err
26930 rm -f conftest.er1
26931 cat conftest.err >&5
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); } &&
26934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26936 (eval $ac_try) 2>&5
26937 ac_status=$?
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); }; } &&
26940 { ac_try='test -s conftest$ac_exeext'
26941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26942 (eval $ac_try) 2>&5
26943 ac_status=$?
26944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26945 (exit $ac_status); }; }; then
26946 eval wx_cv_func_$wx_func=yes
26947 else
26948 echo "$as_me: failed program was:" >&5
26949 sed 's/^/| /' conftest.$ac_ext >&5
26950
26951 eval wx_cv_func_$wx_func=no
26952 fi
26953 rm -f conftest.err conftest.$ac_objext \
26954 conftest$ac_exeext conftest.$ac_ext
26955
26956 fi
26957 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
26958 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
26959
26960 if eval test \$wx_cv_func_$wx_func = yes
26961 then
26962 cat >>confdefs.h <<_ACEOF
26963 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
26964 _ACEOF
26965
26966
26967 else
26968 :
26969
26970 fi
26971 done
26972
26973 fi
26974 ac_ext=c
26975 ac_cpp='$CPP $CPPFLAGS'
26976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26979
26980
26981
26982
26983 if test "$wxUSE_REGEX" != "no"; then
26984 cat >>confdefs.h <<\_ACEOF
26985 #define wxUSE_REGEX 1
26986 _ACEOF
26987
26988
26989 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26990 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
26991 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
26992 wxUSE_REGEX=builtin
26993 fi
26994
26995 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26996 echo "$as_me:$LINENO: checking for regex.h" >&5
26997 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
26998 if test "${ac_cv_header_regex_h+set}" = set; then
26999 echo $ECHO_N "(cached) $ECHO_C" >&6
27000 else
27001 cat >conftest.$ac_ext <<_ACEOF
27002 /* confdefs.h. */
27003 _ACEOF
27004 cat confdefs.h >>conftest.$ac_ext
27005 cat >>conftest.$ac_ext <<_ACEOF
27006 /* end confdefs.h. */
27007
27008
27009 #include <regex.h>
27010 _ACEOF
27011 rm -f conftest.$ac_objext
27012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27013 (eval $ac_compile) 2>conftest.er1
27014 ac_status=$?
27015 grep -v '^ *+' conftest.er1 >conftest.err
27016 rm -f conftest.er1
27017 cat conftest.err >&5
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); } &&
27020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27022 (eval $ac_try) 2>&5
27023 ac_status=$?
27024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27025 (exit $ac_status); }; } &&
27026 { ac_try='test -s conftest.$ac_objext'
27027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27028 (eval $ac_try) 2>&5
27029 ac_status=$?
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); }; }; then
27032 ac_cv_header_regex_h=yes
27033 else
27034 echo "$as_me: failed program was:" >&5
27035 sed 's/^/| /' conftest.$ac_ext >&5
27036
27037 ac_cv_header_regex_h=no
27038 fi
27039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27040 fi
27041 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27042 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
27043 if test $ac_cv_header_regex_h = yes; then
27044
27045
27046 for ac_func in regcomp re_search
27047 do
27048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27049 echo "$as_me:$LINENO: checking for $ac_func" >&5
27050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27051 if eval "test \"\${$as_ac_var+set}\" = set"; then
27052 echo $ECHO_N "(cached) $ECHO_C" >&6
27053 else
27054 cat >conftest.$ac_ext <<_ACEOF
27055 /* confdefs.h. */
27056 _ACEOF
27057 cat confdefs.h >>conftest.$ac_ext
27058 cat >>conftest.$ac_ext <<_ACEOF
27059 /* end confdefs.h. */
27060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27062 #define $ac_func innocuous_$ac_func
27063
27064 /* System header to define __stub macros and hopefully few prototypes,
27065 which can conflict with char $ac_func (); below.
27066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27067 <limits.h> exists even on freestanding compilers. */
27068
27069 #ifdef __STDC__
27070 # include <limits.h>
27071 #else
27072 # include <assert.h>
27073 #endif
27074
27075 #undef $ac_func
27076
27077 /* Override any gcc2 internal prototype to avoid an error. */
27078 #ifdef __cplusplus
27079 extern "C"
27080 {
27081 #endif
27082 /* We use char because int might match the return type of a gcc2
27083 builtin and then its argument prototype would still apply. */
27084 char $ac_func ();
27085 /* The GNU C library defines this for functions which it implements
27086 to always fail with ENOSYS. Some functions are actually named
27087 something starting with __ and the normal name is an alias. */
27088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27089 choke me
27090 #else
27091 char (*f) () = $ac_func;
27092 #endif
27093 #ifdef __cplusplus
27094 }
27095 #endif
27096
27097 int
27098 main ()
27099 {
27100 return f != $ac_func;
27101 ;
27102 return 0;
27103 }
27104 _ACEOF
27105 rm -f conftest.$ac_objext conftest$ac_exeext
27106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27107 (eval $ac_link) 2>conftest.er1
27108 ac_status=$?
27109 grep -v '^ *+' conftest.er1 >conftest.err
27110 rm -f conftest.er1
27111 cat conftest.err >&5
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); } &&
27114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27116 (eval $ac_try) 2>&5
27117 ac_status=$?
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); }; } &&
27120 { ac_try='test -s conftest$ac_exeext'
27121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122 (eval $ac_try) 2>&5
27123 ac_status=$?
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); }; }; then
27126 eval "$as_ac_var=yes"
27127 else
27128 echo "$as_me: failed program was:" >&5
27129 sed 's/^/| /' conftest.$ac_ext >&5
27130
27131 eval "$as_ac_var=no"
27132 fi
27133 rm -f conftest.err conftest.$ac_objext \
27134 conftest$ac_exeext conftest.$ac_ext
27135 fi
27136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27138 if test `eval echo '${'$as_ac_var'}'` = yes; then
27139 cat >>confdefs.h <<_ACEOF
27140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27141 _ACEOF
27142
27143 fi
27144 done
27145
27146 fi
27147
27148
27149
27150 if test "x$ac_cv_func_regcomp" != "xyes"; then
27151 if test "$wxUSE_REGEX" = "sys" ; then
27152 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27153 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27154 { (exit 1); exit 1; }; }
27155 else
27156 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27157 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27158 wxUSE_REGEX=builtin
27159 fi
27160 else
27161 wxUSE_REGEX=sys
27162 cat >>confdefs.h <<\_ACEOF
27163 #define WX_NO_REGEX_ADVANCED 1
27164 _ACEOF
27165
27166 fi
27167 fi
27168 fi
27169
27170
27171 ZLIB_LINK=
27172 if test "$wxUSE_ZLIB" != "no" ; then
27173 cat >>confdefs.h <<\_ACEOF
27174 #define wxUSE_ZLIB 1
27175 _ACEOF
27176
27177
27178 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27179 if test "$USE_DARWIN" = 1; then
27180 system_zlib_h_ok="yes"
27181 else
27182 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27183 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
27184 if test "${ac_cv_header_zlib_h+set}" = set; then
27185 echo $ECHO_N "(cached) $ECHO_C" >&6
27186 else
27187 if test "$cross_compiling" = yes; then
27188 unset ac_cv_header_zlib_h
27189
27190 else
27191 cat >conftest.$ac_ext <<_ACEOF
27192 /* confdefs.h. */
27193 _ACEOF
27194 cat confdefs.h >>conftest.$ac_ext
27195 cat >>conftest.$ac_ext <<_ACEOF
27196 /* end confdefs.h. */
27197
27198 #include <zlib.h>
27199 #include <stdio.h>
27200
27201 int main()
27202 {
27203 FILE *f=fopen("conftestval", "w");
27204 if (!f) exit(1);
27205 fprintf(f, "%s",
27206 ZLIB_VERSION[0] == '1' &&
27207 (ZLIB_VERSION[2] > '1' ||
27208 (ZLIB_VERSION[2] == '1' &&
27209 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27210 exit(0);
27211 }
27212
27213 _ACEOF
27214 rm -f conftest$ac_exeext
27215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27216 (eval $ac_link) 2>&5
27217 ac_status=$?
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27221 (eval $ac_try) 2>&5
27222 ac_status=$?
27223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27224 (exit $ac_status); }; }; then
27225 ac_cv_header_zlib_h=`cat conftestval`
27226 else
27227 echo "$as_me: program exited with status $ac_status" >&5
27228 echo "$as_me: failed program was:" >&5
27229 sed 's/^/| /' conftest.$ac_ext >&5
27230
27231 ( exit $ac_status )
27232 ac_cv_header_zlib_h=no
27233 fi
27234 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27235 fi
27236
27237 fi
27238 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27239 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
27240 echo "$as_me:$LINENO: checking for zlib.h" >&5
27241 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
27242 if test "${ac_cv_header_zlib_h+set}" = set; then
27243 echo $ECHO_N "(cached) $ECHO_C" >&6
27244 else
27245 cat >conftest.$ac_ext <<_ACEOF
27246 /* confdefs.h. */
27247 _ACEOF
27248 cat confdefs.h >>conftest.$ac_ext
27249 cat >>conftest.$ac_ext <<_ACEOF
27250 /* end confdefs.h. */
27251
27252
27253 #include <zlib.h>
27254 _ACEOF
27255 rm -f conftest.$ac_objext
27256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27257 (eval $ac_compile) 2>conftest.er1
27258 ac_status=$?
27259 grep -v '^ *+' conftest.er1 >conftest.err
27260 rm -f conftest.er1
27261 cat conftest.err >&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); } &&
27264 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27267 ac_status=$?
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; } &&
27270 { ac_try='test -s conftest.$ac_objext'
27271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27272 (eval $ac_try) 2>&5
27273 ac_status=$?
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); }; }; then
27276 ac_cv_header_zlib_h=yes
27277 else
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.$ac_ext >&5
27280
27281 ac_cv_header_zlib_h=no
27282 fi
27283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27284 fi
27285 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27286 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
27287
27288
27289
27290 system_zlib_h_ok=$ac_cv_header_zlib_h
27291 fi
27292
27293 if test "$system_zlib_h_ok" = "yes"; then
27294 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27295 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
27296 if test "${ac_cv_lib_z_deflate+set}" = set; then
27297 echo $ECHO_N "(cached) $ECHO_C" >&6
27298 else
27299 ac_check_lib_save_LIBS=$LIBS
27300 LIBS="-lz $LIBS"
27301 cat >conftest.$ac_ext <<_ACEOF
27302 /* confdefs.h. */
27303 _ACEOF
27304 cat confdefs.h >>conftest.$ac_ext
27305 cat >>conftest.$ac_ext <<_ACEOF
27306 /* end confdefs.h. */
27307
27308 /* Override any gcc2 internal prototype to avoid an error. */
27309 #ifdef __cplusplus
27310 extern "C"
27311 #endif
27312 /* We use char because int might match the return type of a gcc2
27313 builtin and then its argument prototype would still apply. */
27314 char deflate ();
27315 int
27316 main ()
27317 {
27318 deflate ();
27319 ;
27320 return 0;
27321 }
27322 _ACEOF
27323 rm -f conftest.$ac_objext conftest$ac_exeext
27324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27325 (eval $ac_link) 2>conftest.er1
27326 ac_status=$?
27327 grep -v '^ *+' conftest.er1 >conftest.err
27328 rm -f conftest.er1
27329 cat conftest.err >&5
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); } &&
27332 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
27338 { ac_try='test -s conftest$ac_exeext'
27339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27340 (eval $ac_try) 2>&5
27341 ac_status=$?
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); }; }; then
27344 ac_cv_lib_z_deflate=yes
27345 else
27346 echo "$as_me: failed program was:" >&5
27347 sed 's/^/| /' conftest.$ac_ext >&5
27348
27349 ac_cv_lib_z_deflate=no
27350 fi
27351 rm -f conftest.err conftest.$ac_objext \
27352 conftest$ac_exeext conftest.$ac_ext
27353 LIBS=$ac_check_lib_save_LIBS
27354 fi
27355 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27356 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
27357 if test $ac_cv_lib_z_deflate = yes; then
27358 ZLIB_LINK=" -lz"
27359 fi
27360
27361 fi
27362
27363 if test "x$ZLIB_LINK" = "x" ; then
27364 if test "$wxUSE_ZLIB" = "sys" ; then
27365 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27366 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27367 { (exit 1); exit 1; }; }
27368 else
27369 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27370 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27371 wxUSE_ZLIB=builtin
27372 fi
27373 else
27374 wxUSE_ZLIB=sys
27375 fi
27376 fi
27377 fi
27378
27379
27380 PNG_LINK=
27381 if test "$wxUSE_LIBPNG" != "no" ; then
27382 cat >>confdefs.h <<\_ACEOF
27383 #define wxUSE_LIBPNG 1
27384 _ACEOF
27385
27386
27387 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27388 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27389 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27390 wxUSE_LIBPNG=sys
27391 fi
27392
27393 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27394 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27395 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27396 wxUSE_LIBPNG=builtin
27397 fi
27398
27399 if test "$wxUSE_MGL" != 1 ; then
27400 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27401 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27402 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
27403 if test "${ac_cv_header_png_h+set}" = set; then
27404 echo $ECHO_N "(cached) $ECHO_C" >&6
27405 else
27406 if test "$cross_compiling" = yes; then
27407 unset ac_cv_header_png_h
27408
27409 else
27410 cat >conftest.$ac_ext <<_ACEOF
27411 /* confdefs.h. */
27412 _ACEOF
27413 cat confdefs.h >>conftest.$ac_ext
27414 cat >>conftest.$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27416
27417 #include <png.h>
27418 #include <stdio.h>
27419
27420 int main()
27421 {
27422 FILE *f=fopen("conftestval", "w");
27423 if (!f) exit(1);
27424 fprintf(f, "%s",
27425 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27426 exit(0);
27427 }
27428
27429 _ACEOF
27430 rm -f conftest$ac_exeext
27431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27432 (eval $ac_link) 2>&5
27433 ac_status=$?
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27437 (eval $ac_try) 2>&5
27438 ac_status=$?
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); }; }; then
27441 ac_cv_header_png_h=`cat conftestval`
27442 else
27443 echo "$as_me: program exited with status $ac_status" >&5
27444 echo "$as_me: failed program was:" >&5
27445 sed 's/^/| /' conftest.$ac_ext >&5
27446
27447 ( exit $ac_status )
27448 ac_cv_header_png_h=no
27449 fi
27450 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27451 fi
27452
27453 fi
27454 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27455 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27456 echo "$as_me:$LINENO: checking for png.h" >&5
27457 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
27458 if test "${ac_cv_header_png_h+set}" = set; then
27459 echo $ECHO_N "(cached) $ECHO_C" >&6
27460 else
27461 cat >conftest.$ac_ext <<_ACEOF
27462 /* confdefs.h. */
27463 _ACEOF
27464 cat confdefs.h >>conftest.$ac_ext
27465 cat >>conftest.$ac_ext <<_ACEOF
27466 /* end confdefs.h. */
27467
27468
27469 #include <png.h>
27470 _ACEOF
27471 rm -f conftest.$ac_objext
27472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27473 (eval $ac_compile) 2>conftest.er1
27474 ac_status=$?
27475 grep -v '^ *+' conftest.er1 >conftest.err
27476 rm -f conftest.er1
27477 cat conftest.err >&5
27478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479 (exit $ac_status); } &&
27480 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27482 (eval $ac_try) 2>&5
27483 ac_status=$?
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); }; } &&
27486 { ac_try='test -s conftest.$ac_objext'
27487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27488 (eval $ac_try) 2>&5
27489 ac_status=$?
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); }; }; then
27492 ac_cv_header_png_h=yes
27493 else
27494 echo "$as_me: failed program was:" >&5
27495 sed 's/^/| /' conftest.$ac_ext >&5
27496
27497 ac_cv_header_png_h=no
27498 fi
27499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27500 fi
27501 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27502 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27503
27504
27505
27506 if test "$ac_cv_header_png_h" = "yes"; then
27507 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27508 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
27509 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27510 echo $ECHO_N "(cached) $ECHO_C" >&6
27511 else
27512 ac_check_lib_save_LIBS=$LIBS
27513 LIBS="-lpng -lz -lm $LIBS"
27514 cat >conftest.$ac_ext <<_ACEOF
27515 /* confdefs.h. */
27516 _ACEOF
27517 cat confdefs.h >>conftest.$ac_ext
27518 cat >>conftest.$ac_ext <<_ACEOF
27519 /* end confdefs.h. */
27520
27521 /* Override any gcc2 internal prototype to avoid an error. */
27522 #ifdef __cplusplus
27523 extern "C"
27524 #endif
27525 /* We use char because int might match the return type of a gcc2
27526 builtin and then its argument prototype would still apply. */
27527 char png_check_sig ();
27528 int
27529 main ()
27530 {
27531 png_check_sig ();
27532 ;
27533 return 0;
27534 }
27535 _ACEOF
27536 rm -f conftest.$ac_objext conftest$ac_exeext
27537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27538 (eval $ac_link) 2>conftest.er1
27539 ac_status=$?
27540 grep -v '^ *+' conftest.er1 >conftest.err
27541 rm -f conftest.er1
27542 cat conftest.err >&5
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); } &&
27545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27548 ac_status=$?
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; } &&
27551 { ac_try='test -s conftest$ac_exeext'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; }; then
27557 ac_cv_lib_png_png_check_sig=yes
27558 else
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27561
27562 ac_cv_lib_png_png_check_sig=no
27563 fi
27564 rm -f conftest.err conftest.$ac_objext \
27565 conftest$ac_exeext conftest.$ac_ext
27566 LIBS=$ac_check_lib_save_LIBS
27567 fi
27568 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27569 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
27570 if test $ac_cv_lib_png_png_check_sig = yes; then
27571 PNG_LINK=" -lpng -lz"
27572 fi
27573
27574 fi
27575
27576 if test "x$PNG_LINK" = "x" ; then
27577 if test "$wxUSE_LIBPNG" = "sys" ; then
27578 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27579 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27580 { (exit 1); exit 1; }; }
27581 else
27582 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27583 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27584 wxUSE_LIBPNG=builtin
27585 fi
27586 else
27587 wxUSE_LIBPNG=sys
27588 fi
27589 fi
27590 fi
27591
27592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
27593 fi
27594
27595
27596 JPEG_LINK=
27597 if test "$wxUSE_LIBJPEG" != "no" ; then
27598 cat >>confdefs.h <<\_ACEOF
27599 #define wxUSE_LIBJPEG 1
27600 _ACEOF
27601
27602
27603 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27604 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27605 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27606 wxUSE_LIBJPEG=sys
27607 fi
27608
27609 if test "$wxUSE_MGL" != 1 ; then
27610 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27611 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27612 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
27613 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27614 echo $ECHO_N "(cached) $ECHO_C" >&6
27615 else
27616 cat >conftest.$ac_ext <<_ACEOF
27617 /* confdefs.h. */
27618 _ACEOF
27619 cat confdefs.h >>conftest.$ac_ext
27620 cat >>conftest.$ac_ext <<_ACEOF
27621 /* end confdefs.h. */
27622
27623 #undef HAVE_STDLIB_H
27624 #include <stdio.h>
27625 #include <jpeglib.h>
27626
27627 int
27628 main ()
27629 {
27630
27631
27632 ;
27633 return 0;
27634 }
27635 _ACEOF
27636 rm -f conftest.$ac_objext
27637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27638 (eval $ac_compile) 2>conftest.er1
27639 ac_status=$?
27640 grep -v '^ *+' conftest.er1 >conftest.err
27641 rm -f conftest.er1
27642 cat conftest.err >&5
27643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27644 (exit $ac_status); } &&
27645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27647 (eval $ac_try) 2>&5
27648 ac_status=$?
27649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27650 (exit $ac_status); }; } &&
27651 { ac_try='test -s conftest.$ac_objext'
27652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27653 (eval $ac_try) 2>&5
27654 ac_status=$?
27655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27656 (exit $ac_status); }; }; then
27657 ac_cv_header_jpeglib_h=yes
27658 else
27659 echo "$as_me: failed program was:" >&5
27660 sed 's/^/| /' conftest.$ac_ext >&5
27661
27662 ac_cv_header_jpeglib_h=no
27663
27664 fi
27665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27666
27667 fi
27668
27669 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27670 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
27671
27672 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27673 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27674 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
27675 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27676 echo $ECHO_N "(cached) $ECHO_C" >&6
27677 else
27678 ac_check_lib_save_LIBS=$LIBS
27679 LIBS="-ljpeg $LIBS"
27680 cat >conftest.$ac_ext <<_ACEOF
27681 /* confdefs.h. */
27682 _ACEOF
27683 cat confdefs.h >>conftest.$ac_ext
27684 cat >>conftest.$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27686
27687 /* Override any gcc2 internal prototype to avoid an error. */
27688 #ifdef __cplusplus
27689 extern "C"
27690 #endif
27691 /* We use char because int might match the return type of a gcc2
27692 builtin and then its argument prototype would still apply. */
27693 char jpeg_read_header ();
27694 int
27695 main ()
27696 {
27697 jpeg_read_header ();
27698 ;
27699 return 0;
27700 }
27701 _ACEOF
27702 rm -f conftest.$ac_objext conftest$ac_exeext
27703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27704 (eval $ac_link) 2>conftest.er1
27705 ac_status=$?
27706 grep -v '^ *+' conftest.er1 >conftest.err
27707 rm -f conftest.er1
27708 cat conftest.err >&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); } &&
27711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713 (eval $ac_try) 2>&5
27714 ac_status=$?
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); }; } &&
27717 { ac_try='test -s conftest$ac_exeext'
27718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719 (eval $ac_try) 2>&5
27720 ac_status=$?
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); }; }; then
27723 ac_cv_lib_jpeg_jpeg_read_header=yes
27724 else
27725 echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.$ac_ext >&5
27727
27728 ac_cv_lib_jpeg_jpeg_read_header=no
27729 fi
27730 rm -f conftest.err conftest.$ac_objext \
27731 conftest$ac_exeext conftest.$ac_ext
27732 LIBS=$ac_check_lib_save_LIBS
27733 fi
27734 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27735 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
27736 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27737 JPEG_LINK=" -ljpeg"
27738 fi
27739
27740 fi
27741
27742 if test "x$JPEG_LINK" = "x" ; then
27743 if test "$wxUSE_LIBJPEG" = "sys" ; then
27744 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27745 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27746 { (exit 1); exit 1; }; }
27747 else
27748 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27749 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27750 wxUSE_LIBJPEG=builtin
27751 fi
27752 else
27753 wxUSE_LIBJPEG=sys
27754
27755 if test "$wxUSE_MSW" = 1; then
27756 echo "$as_me:$LINENO: checking for boolean" >&5
27757 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27758 if test "${ac_cv_type_boolean+set}" = set; then
27759 echo $ECHO_N "(cached) $ECHO_C" >&6
27760 else
27761 cat >conftest.$ac_ext <<_ACEOF
27762 /* confdefs.h. */
27763 _ACEOF
27764 cat confdefs.h >>conftest.$ac_ext
27765 cat >>conftest.$ac_ext <<_ACEOF
27766 /* end confdefs.h. */
27767 #include <windows.h>
27768
27769 int
27770 main ()
27771 {
27772 if ((boolean *) 0)
27773 return 0;
27774 if (sizeof (boolean))
27775 return 0;
27776 ;
27777 return 0;
27778 }
27779 _ACEOF
27780 rm -f conftest.$ac_objext
27781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27782 (eval $ac_compile) 2>conftest.er1
27783 ac_status=$?
27784 grep -v '^ *+' conftest.er1 >conftest.err
27785 rm -f conftest.er1
27786 cat conftest.err >&5
27787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788 (exit $ac_status); } &&
27789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27791 (eval $ac_try) 2>&5
27792 ac_status=$?
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); }; } &&
27795 { ac_try='test -s conftest.$ac_objext'
27796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27797 (eval $ac_try) 2>&5
27798 ac_status=$?
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); }; }; then
27801 ac_cv_type_boolean=yes
27802 else
27803 echo "$as_me: failed program was:" >&5
27804 sed 's/^/| /' conftest.$ac_ext >&5
27805
27806 ac_cv_type_boolean=no
27807 fi
27808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27809 fi
27810 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27811 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27812 if test $ac_cv_type_boolean = yes; then
27813
27814 cat >>confdefs.h <<_ACEOF
27815 #define HAVE_BOOLEAN 1
27816 _ACEOF
27817
27818
27819 echo "$as_me:$LINENO: checking for boolean" >&5
27820 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27821 if test "${ac_cv_type_boolean+set}" = set; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27823 else
27824 cat >conftest.$ac_ext <<_ACEOF
27825 /* confdefs.h. */
27826 _ACEOF
27827 cat confdefs.h >>conftest.$ac_ext
27828 cat >>conftest.$ac_ext <<_ACEOF
27829 /* end confdefs.h. */
27830
27831 #undef HAVE_BOOLEAN
27832 #include <stdio.h>
27833 #include <jpeglib.h>
27834
27835
27836 int
27837 main ()
27838 {
27839 if ((boolean *) 0)
27840 return 0;
27841 if (sizeof (boolean))
27842 return 0;
27843 ;
27844 return 0;
27845 }
27846 _ACEOF
27847 rm -f conftest.$ac_objext
27848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27849 (eval $ac_compile) 2>conftest.er1
27850 ac_status=$?
27851 grep -v '^ *+' conftest.er1 >conftest.err
27852 rm -f conftest.er1
27853 cat conftest.err >&5
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); } &&
27856 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27858 (eval $ac_try) 2>&5
27859 ac_status=$?
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); }; } &&
27862 { ac_try='test -s conftest.$ac_objext'
27863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27864 (eval $ac_try) 2>&5
27865 ac_status=$?
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); }; }; then
27868 ac_cv_type_boolean=yes
27869 else
27870 echo "$as_me: failed program was:" >&5
27871 sed 's/^/| /' conftest.$ac_ext >&5
27872
27873 ac_cv_type_boolean=no
27874 fi
27875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27876 fi
27877 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27878 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27879
27880 echo "$as_me:$LINENO: checking size of boolean" >&5
27881 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
27882 if test "${ac_cv_sizeof_boolean+set}" = set; then
27883 echo $ECHO_N "(cached) $ECHO_C" >&6
27884 else
27885 if test "$ac_cv_type_boolean" = yes; then
27886 # The cast to unsigned long works around a bug in the HP C Compiler
27887 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27888 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27889 # This bug is HP SR number 8606223364.
27890 if test "$cross_compiling" = yes; then
27891 # Depending upon the size, compute the lo and hi bounds.
27892 cat >conftest.$ac_ext <<_ACEOF
27893 /* confdefs.h. */
27894 _ACEOF
27895 cat confdefs.h >>conftest.$ac_ext
27896 cat >>conftest.$ac_ext <<_ACEOF
27897 /* end confdefs.h. */
27898
27899 #undef HAVE_BOOLEAN
27900 #include <stdio.h>
27901 #include <jpeglib.h>
27902
27903
27904 int
27905 main ()
27906 {
27907 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
27908 test_array [0] = 0
27909
27910 ;
27911 return 0;
27912 }
27913 _ACEOF
27914 rm -f conftest.$ac_objext
27915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27916 (eval $ac_compile) 2>conftest.er1
27917 ac_status=$?
27918 grep -v '^ *+' conftest.er1 >conftest.err
27919 rm -f conftest.er1
27920 cat conftest.err >&5
27921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27922 (exit $ac_status); } &&
27923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27925 (eval $ac_try) 2>&5
27926 ac_status=$?
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); }; } &&
27929 { ac_try='test -s conftest.$ac_objext'
27930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27931 (eval $ac_try) 2>&5
27932 ac_status=$?
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); }; }; then
27935 ac_lo=0 ac_mid=0
27936 while :; do
27937 cat >conftest.$ac_ext <<_ACEOF
27938 /* confdefs.h. */
27939 _ACEOF
27940 cat confdefs.h >>conftest.$ac_ext
27941 cat >>conftest.$ac_ext <<_ACEOF
27942 /* end confdefs.h. */
27943
27944 #undef HAVE_BOOLEAN
27945 #include <stdio.h>
27946 #include <jpeglib.h>
27947
27948
27949 int
27950 main ()
27951 {
27952 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
27953 test_array [0] = 0
27954
27955 ;
27956 return 0;
27957 }
27958 _ACEOF
27959 rm -f conftest.$ac_objext
27960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27961 (eval $ac_compile) 2>conftest.er1
27962 ac_status=$?
27963 grep -v '^ *+' conftest.er1 >conftest.err
27964 rm -f conftest.er1
27965 cat conftest.err >&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); } &&
27968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27970 (eval $ac_try) 2>&5
27971 ac_status=$?
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); }; } &&
27974 { ac_try='test -s conftest.$ac_objext'
27975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27976 (eval $ac_try) 2>&5
27977 ac_status=$?
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); }; }; then
27980 ac_hi=$ac_mid; break
27981 else
27982 echo "$as_me: failed program was:" >&5
27983 sed 's/^/| /' conftest.$ac_ext >&5
27984
27985 ac_lo=`expr $ac_mid + 1`
27986 if test $ac_lo -le $ac_mid; then
27987 ac_lo= ac_hi=
27988 break
27989 fi
27990 ac_mid=`expr 2 '*' $ac_mid + 1`
27991 fi
27992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27993 done
27994 else
27995 echo "$as_me: failed program was:" >&5
27996 sed 's/^/| /' conftest.$ac_ext >&5
27997
27998 cat >conftest.$ac_ext <<_ACEOF
27999 /* confdefs.h. */
28000 _ACEOF
28001 cat confdefs.h >>conftest.$ac_ext
28002 cat >>conftest.$ac_ext <<_ACEOF
28003 /* end confdefs.h. */
28004
28005 #undef HAVE_BOOLEAN
28006 #include <stdio.h>
28007 #include <jpeglib.h>
28008
28009
28010 int
28011 main ()
28012 {
28013 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
28014 test_array [0] = 0
28015
28016 ;
28017 return 0;
28018 }
28019 _ACEOF
28020 rm -f conftest.$ac_objext
28021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28022 (eval $ac_compile) 2>conftest.er1
28023 ac_status=$?
28024 grep -v '^ *+' conftest.er1 >conftest.err
28025 rm -f conftest.er1
28026 cat conftest.err >&5
28027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028 (exit $ac_status); } &&
28029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28031 (eval $ac_try) 2>&5
28032 ac_status=$?
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); }; } &&
28035 { ac_try='test -s conftest.$ac_objext'
28036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28037 (eval $ac_try) 2>&5
28038 ac_status=$?
28039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040 (exit $ac_status); }; }; then
28041 ac_hi=-1 ac_mid=-1
28042 while :; do
28043 cat >conftest.$ac_ext <<_ACEOF
28044 /* confdefs.h. */
28045 _ACEOF
28046 cat confdefs.h >>conftest.$ac_ext
28047 cat >>conftest.$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28049
28050 #undef HAVE_BOOLEAN
28051 #include <stdio.h>
28052 #include <jpeglib.h>
28053
28054
28055 int
28056 main ()
28057 {
28058 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
28059 test_array [0] = 0
28060
28061 ;
28062 return 0;
28063 }
28064 _ACEOF
28065 rm -f conftest.$ac_objext
28066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28067 (eval $ac_compile) 2>conftest.er1
28068 ac_status=$?
28069 grep -v '^ *+' conftest.er1 >conftest.err
28070 rm -f conftest.er1
28071 cat conftest.err >&5
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); } &&
28074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28076 (eval $ac_try) 2>&5
28077 ac_status=$?
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); }; } &&
28080 { ac_try='test -s conftest.$ac_objext'
28081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28082 (eval $ac_try) 2>&5
28083 ac_status=$?
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); }; }; then
28086 ac_lo=$ac_mid; break
28087 else
28088 echo "$as_me: failed program was:" >&5
28089 sed 's/^/| /' conftest.$ac_ext >&5
28090
28091 ac_hi=`expr '(' $ac_mid ')' - 1`
28092 if test $ac_mid -le $ac_hi; then
28093 ac_lo= ac_hi=
28094 break
28095 fi
28096 ac_mid=`expr 2 '*' $ac_mid`
28097 fi
28098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28099 done
28100 else
28101 echo "$as_me: failed program was:" >&5
28102 sed 's/^/| /' conftest.$ac_ext >&5
28103
28104 ac_lo= ac_hi=
28105 fi
28106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28107 fi
28108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28109 # Binary search between lo and hi bounds.
28110 while test "x$ac_lo" != "x$ac_hi"; do
28111 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28112 cat >conftest.$ac_ext <<_ACEOF
28113 /* confdefs.h. */
28114 _ACEOF
28115 cat confdefs.h >>conftest.$ac_ext
28116 cat >>conftest.$ac_ext <<_ACEOF
28117 /* end confdefs.h. */
28118
28119 #undef HAVE_BOOLEAN
28120 #include <stdio.h>
28121 #include <jpeglib.h>
28122
28123
28124 int
28125 main ()
28126 {
28127 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
28128 test_array [0] = 0
28129
28130 ;
28131 return 0;
28132 }
28133 _ACEOF
28134 rm -f conftest.$ac_objext
28135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28136 (eval $ac_compile) 2>conftest.er1
28137 ac_status=$?
28138 grep -v '^ *+' conftest.er1 >conftest.err
28139 rm -f conftest.er1
28140 cat conftest.err >&5
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); } &&
28143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28145 (eval $ac_try) 2>&5
28146 ac_status=$?
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); }; } &&
28149 { ac_try='test -s conftest.$ac_objext'
28150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28151 (eval $ac_try) 2>&5
28152 ac_status=$?
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); }; }; then
28155 ac_hi=$ac_mid
28156 else
28157 echo "$as_me: failed program was:" >&5
28158 sed 's/^/| /' conftest.$ac_ext >&5
28159
28160 ac_lo=`expr '(' $ac_mid ')' + 1`
28161 fi
28162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28163 done
28164 case $ac_lo in
28165 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28166 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
28167 See \`config.log' for more details." >&5
28168 echo "$as_me: error: cannot compute sizeof (boolean), 77
28169 See \`config.log' for more details." >&2;}
28170 { (exit 1); exit 1; }; } ;;
28171 esac
28172 else
28173 if test "$cross_compiling" = yes; then
28174 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
28175 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
28176 { (exit 1); exit 1; }; }
28177 else
28178 cat >conftest.$ac_ext <<_ACEOF
28179 /* confdefs.h. */
28180 _ACEOF
28181 cat confdefs.h >>conftest.$ac_ext
28182 cat >>conftest.$ac_ext <<_ACEOF
28183 /* end confdefs.h. */
28184
28185 #undef HAVE_BOOLEAN
28186 #include <stdio.h>
28187 #include <jpeglib.h>
28188
28189
28190 long longval () { return (long) (sizeof (boolean)); }
28191 unsigned long ulongval () { return (long) (sizeof (boolean)); }
28192 #include <stdio.h>
28193 #include <stdlib.h>
28194 int
28195 main ()
28196 {
28197
28198 FILE *f = fopen ("conftest.val", "w");
28199 if (! f)
28200 exit (1);
28201 if (((long) (sizeof (boolean))) < 0)
28202 {
28203 long i = longval ();
28204 if (i != ((long) (sizeof (boolean))))
28205 exit (1);
28206 fprintf (f, "%ld\n", i);
28207 }
28208 else
28209 {
28210 unsigned long i = ulongval ();
28211 if (i != ((long) (sizeof (boolean))))
28212 exit (1);
28213 fprintf (f, "%lu\n", i);
28214 }
28215 exit (ferror (f) || fclose (f) != 0);
28216
28217 ;
28218 return 0;
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_sizeof_boolean=`cat conftest.val`
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 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
28240 See \`config.log' for more details." >&5
28241 echo "$as_me: error: cannot compute sizeof (boolean), 77
28242 See \`config.log' for more details." >&2;}
28243 { (exit 1); exit 1; }; }
28244 fi
28245 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28246 fi
28247 fi
28248 rm -f conftest.val
28249 else
28250 ac_cv_sizeof_boolean=0
28251 fi
28252 fi
28253 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28254 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
28255 cat >>confdefs.h <<_ACEOF
28256 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28257 _ACEOF
28258
28259
28260 cat >>confdefs.h <<_ACEOF
28261 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28262 _ACEOF
28263
28264
28265 fi
28266
28267 fi
28268 fi
28269 fi
28270 fi
28271 fi
28272
28273
28274 TIFF_LINK=
28275 TIFF_PREREQ_LINKS=-lm
28276 if test "$wxUSE_LIBTIFF" != "no" ; then
28277 cat >>confdefs.h <<\_ACEOF
28278 #define wxUSE_LIBTIFF 1
28279 _ACEOF
28280
28281
28282 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28283 if test "$wxUSE_LIBJPEG" = "sys"; then
28284 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28285 fi
28286 if test "$wxUSE_ZLIB" = "sys"; then
28287 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28288 fi
28289 echo "$as_me:$LINENO: checking for tiffio.h" >&5
28290 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
28291 if test "${ac_cv_header_tiffio_h+set}" = set; then
28292 echo $ECHO_N "(cached) $ECHO_C" >&6
28293 else
28294 cat >conftest.$ac_ext <<_ACEOF
28295 /* confdefs.h. */
28296 _ACEOF
28297 cat confdefs.h >>conftest.$ac_ext
28298 cat >>conftest.$ac_ext <<_ACEOF
28299 /* end confdefs.h. */
28300
28301
28302
28303 #include <tiffio.h>
28304 _ACEOF
28305 rm -f conftest.$ac_objext
28306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28307 (eval $ac_compile) 2>conftest.er1
28308 ac_status=$?
28309 grep -v '^ *+' conftest.er1 >conftest.err
28310 rm -f conftest.er1
28311 cat conftest.err >&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } &&
28314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28317 ac_status=$?
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; } &&
28320 { ac_try='test -s conftest.$ac_objext'
28321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28322 (eval $ac_try) 2>&5
28323 ac_status=$?
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); }; }; then
28326 ac_cv_header_tiffio_h=yes
28327 else
28328 echo "$as_me: failed program was:" >&5
28329 sed 's/^/| /' conftest.$ac_ext >&5
28330
28331 ac_cv_header_tiffio_h=no
28332 fi
28333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28334 fi
28335 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28336 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
28337 if test $ac_cv_header_tiffio_h = yes; then
28338
28339 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28340 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
28341 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28342 echo $ECHO_N "(cached) $ECHO_C" >&6
28343 else
28344 ac_check_lib_save_LIBS=$LIBS
28345 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28346 cat >conftest.$ac_ext <<_ACEOF
28347 /* confdefs.h. */
28348 _ACEOF
28349 cat confdefs.h >>conftest.$ac_ext
28350 cat >>conftest.$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28352
28353 /* Override any gcc2 internal prototype to avoid an error. */
28354 #ifdef __cplusplus
28355 extern "C"
28356 #endif
28357 /* We use char because int might match the return type of a gcc2
28358 builtin and then its argument prototype would still apply. */
28359 char TIFFError ();
28360 int
28361 main ()
28362 {
28363 TIFFError ();
28364 ;
28365 return 0;
28366 }
28367 _ACEOF
28368 rm -f conftest.$ac_objext conftest$ac_exeext
28369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28370 (eval $ac_link) 2>conftest.er1
28371 ac_status=$?
28372 grep -v '^ *+' conftest.er1 >conftest.err
28373 rm -f conftest.er1
28374 cat conftest.err >&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); } &&
28377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28379 (eval $ac_try) 2>&5
28380 ac_status=$?
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); }; } &&
28383 { ac_try='test -s conftest$ac_exeext'
28384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28385 (eval $ac_try) 2>&5
28386 ac_status=$?
28387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28388 (exit $ac_status); }; }; then
28389 ac_cv_lib_tiff_TIFFError=yes
28390 else
28391 echo "$as_me: failed program was:" >&5
28392 sed 's/^/| /' conftest.$ac_ext >&5
28393
28394 ac_cv_lib_tiff_TIFFError=no
28395 fi
28396 rm -f conftest.err conftest.$ac_objext \
28397 conftest$ac_exeext conftest.$ac_ext
28398 LIBS=$ac_check_lib_save_LIBS
28399 fi
28400 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28401 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
28402 if test $ac_cv_lib_tiff_TIFFError = yes; then
28403 TIFF_LINK=" -ltiff"
28404 fi
28405
28406
28407 fi
28408
28409
28410
28411 if test "x$TIFF_LINK" = "x" ; then
28412 if test "$wxUSE_LIBTIFF" = "sys" ; then
28413 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28414 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28415 { (exit 1); exit 1; }; }
28416 else
28417 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28418 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28419 wxUSE_LIBTIFF=builtin
28420 fi
28421 else
28422 wxUSE_LIBTIFF=sys
28423 fi
28424 fi
28425 fi
28426
28427
28428 if test "$wxUSE_WCHAR_T" != "yes"; then
28429 if test "$wxUSE_EXPAT" != "no"; then
28430 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28431 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28432 wxUSE_EXPAT=no
28433 fi
28434 if test "$wxUSE_XML" != "no"; then
28435 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28436 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28437 wxUSE_XML=no
28438 fi
28439 fi
28440
28441 if test "$wxUSE_EXPAT" != "no"; then
28442 wxUSE_XML=yes
28443 cat >>confdefs.h <<\_ACEOF
28444 #define wxUSE_EXPAT 1
28445 _ACEOF
28446
28447 cat >>confdefs.h <<\_ACEOF
28448 #define wxUSE_XML 1
28449 _ACEOF
28450
28451
28452 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28453 echo "$as_me:$LINENO: checking for expat.h" >&5
28454 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
28455 if test "${ac_cv_header_expat_h+set}" = set; then
28456 echo $ECHO_N "(cached) $ECHO_C" >&6
28457 else
28458 cat >conftest.$ac_ext <<_ACEOF
28459 /* confdefs.h. */
28460 _ACEOF
28461 cat confdefs.h >>conftest.$ac_ext
28462 cat >>conftest.$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28464
28465
28466 #include <expat.h>
28467 _ACEOF
28468 rm -f conftest.$ac_objext
28469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28470 (eval $ac_compile) 2>conftest.er1
28471 ac_status=$?
28472 grep -v '^ *+' conftest.er1 >conftest.err
28473 rm -f conftest.er1
28474 cat conftest.err >&5
28475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28476 (exit $ac_status); } &&
28477 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28479 (eval $ac_try) 2>&5
28480 ac_status=$?
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); }; } &&
28483 { ac_try='test -s conftest.$ac_objext'
28484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28485 (eval $ac_try) 2>&5
28486 ac_status=$?
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); }; }; then
28489 ac_cv_header_expat_h=yes
28490 else
28491 echo "$as_me: failed program was:" >&5
28492 sed 's/^/| /' conftest.$ac_ext >&5
28493
28494 ac_cv_header_expat_h=no
28495 fi
28496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28497 fi
28498 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28499 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
28500 if test $ac_cv_header_expat_h = yes; then
28501 found_expat_h=1
28502 fi
28503
28504
28505 if test "x$found_expat_h" = "x1"; then
28506 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28507 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
28508 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28509 echo $ECHO_N "(cached) $ECHO_C" >&6
28510 else
28511
28512 ac_ext=cc
28513 ac_cpp='$CXXCPP $CPPFLAGS'
28514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28517
28518 cat >conftest.$ac_ext <<_ACEOF
28519 /* confdefs.h. */
28520 _ACEOF
28521 cat confdefs.h >>conftest.$ac_ext
28522 cat >>conftest.$ac_ext <<_ACEOF
28523 /* end confdefs.h. */
28524 #include <expat.h>
28525 int
28526 main ()
28527 {
28528
28529 ;
28530 return 0;
28531 }
28532 _ACEOF
28533 rm -f conftest.$ac_objext
28534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28535 (eval $ac_compile) 2>conftest.er1
28536 ac_status=$?
28537 grep -v '^ *+' conftest.er1 >conftest.err
28538 rm -f conftest.er1
28539 cat conftest.err >&5
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); } &&
28542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28544 (eval $ac_try) 2>&5
28545 ac_status=$?
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); }; } &&
28548 { ac_try='test -s conftest.$ac_objext'
28549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28550 (eval $ac_try) 2>&5
28551 ac_status=$?
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); }; }; then
28554 wx_cv_expat_is_not_broken=yes
28555 else
28556 echo "$as_me: failed program was:" >&5
28557 sed 's/^/| /' conftest.$ac_ext >&5
28558
28559 wx_cv_expat_is_not_broken=no
28560
28561 fi
28562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28563 ac_ext=c
28564 ac_cpp='$CPP $CPPFLAGS'
28565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28568
28569
28570
28571 fi
28572 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28573 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
28574 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28575 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28576 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
28577 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28578 echo $ECHO_N "(cached) $ECHO_C" >&6
28579 else
28580 ac_check_lib_save_LIBS=$LIBS
28581 LIBS="-lexpat $LIBS"
28582 cat >conftest.$ac_ext <<_ACEOF
28583 /* confdefs.h. */
28584 _ACEOF
28585 cat confdefs.h >>conftest.$ac_ext
28586 cat >>conftest.$ac_ext <<_ACEOF
28587 /* end confdefs.h. */
28588
28589 /* Override any gcc2 internal prototype to avoid an error. */
28590 #ifdef __cplusplus
28591 extern "C"
28592 #endif
28593 /* We use char because int might match the return type of a gcc2
28594 builtin and then its argument prototype would still apply. */
28595 char XML_ParserCreate ();
28596 int
28597 main ()
28598 {
28599 XML_ParserCreate ();
28600 ;
28601 return 0;
28602 }
28603 _ACEOF
28604 rm -f conftest.$ac_objext conftest$ac_exeext
28605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28606 (eval $ac_link) 2>conftest.er1
28607 ac_status=$?
28608 grep -v '^ *+' conftest.er1 >conftest.err
28609 rm -f conftest.er1
28610 cat conftest.err >&5
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); } &&
28613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28615 (eval $ac_try) 2>&5
28616 ac_status=$?
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); }; } &&
28619 { ac_try='test -s conftest$ac_exeext'
28620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28621 (eval $ac_try) 2>&5
28622 ac_status=$?
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; }; then
28625 ac_cv_lib_expat_XML_ParserCreate=yes
28626 else
28627 echo "$as_me: failed program was:" >&5
28628 sed 's/^/| /' conftest.$ac_ext >&5
28629
28630 ac_cv_lib_expat_XML_ParserCreate=no
28631 fi
28632 rm -f conftest.err conftest.$ac_objext \
28633 conftest$ac_exeext conftest.$ac_ext
28634 LIBS=$ac_check_lib_save_LIBS
28635 fi
28636 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28637 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
28638 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28639 EXPAT_LINK=" -lexpat"
28640 fi
28641
28642 fi
28643 fi
28644 if test "x$EXPAT_LINK" = "x" ; then
28645 if test "$wxUSE_EXPAT" = "sys" ; then
28646 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28647 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28648 { (exit 1); exit 1; }; }
28649 else
28650 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28651 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28652 wxUSE_EXPAT=builtin
28653 fi
28654 else
28655 wxUSE_EXPAT=sys
28656 fi
28657 fi
28658 if test "$wxUSE_EXPAT" = "builtin" ; then
28659
28660
28661 subdirs="$subdirs src/expat"
28662
28663 fi
28664 fi
28665
28666
28667
28668 if test "$wxUSE_LIBMSPACK" != "no"; then
28669 echo "$as_me:$LINENO: checking for mspack.h" >&5
28670 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
28671 if test "${ac_cv_header_mspack_h+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28673 else
28674 cat >conftest.$ac_ext <<_ACEOF
28675 /* confdefs.h. */
28676 _ACEOF
28677 cat confdefs.h >>conftest.$ac_ext
28678 cat >>conftest.$ac_ext <<_ACEOF
28679 /* end confdefs.h. */
28680
28681
28682 #include <mspack.h>
28683 _ACEOF
28684 rm -f conftest.$ac_objext
28685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28686 (eval $ac_compile) 2>conftest.er1
28687 ac_status=$?
28688 grep -v '^ *+' conftest.er1 >conftest.err
28689 rm -f conftest.er1
28690 cat conftest.err >&5
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); } &&
28693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28696 ac_status=$?
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; } &&
28699 { ac_try='test -s conftest.$ac_objext'
28700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28701 (eval $ac_try) 2>&5
28702 ac_status=$?
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); }; }; then
28705 ac_cv_header_mspack_h=yes
28706 else
28707 echo "$as_me: failed program was:" >&5
28708 sed 's/^/| /' conftest.$ac_ext >&5
28709
28710 ac_cv_header_mspack_h=no
28711 fi
28712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28713 fi
28714 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28715 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
28716 if test $ac_cv_header_mspack_h = yes; then
28717 found_mspack_h=1
28718 fi
28719
28720
28721 if test "x$found_mspack_h" = "x1"; then
28722 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28723 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
28724 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28725 echo $ECHO_N "(cached) $ECHO_C" >&6
28726 else
28727 ac_check_lib_save_LIBS=$LIBS
28728 LIBS="-lmspack $LIBS"
28729 cat >conftest.$ac_ext <<_ACEOF
28730 /* confdefs.h. */
28731 _ACEOF
28732 cat confdefs.h >>conftest.$ac_ext
28733 cat >>conftest.$ac_ext <<_ACEOF
28734 /* end confdefs.h. */
28735
28736 /* Override any gcc2 internal prototype to avoid an error. */
28737 #ifdef __cplusplus
28738 extern "C"
28739 #endif
28740 /* We use char because int might match the return type of a gcc2
28741 builtin and then its argument prototype would still apply. */
28742 char mspack_create_chm_decompressor ();
28743 int
28744 main ()
28745 {
28746 mspack_create_chm_decompressor ();
28747 ;
28748 return 0;
28749 }
28750 _ACEOF
28751 rm -f conftest.$ac_objext conftest$ac_exeext
28752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28753 (eval $ac_link) 2>conftest.er1
28754 ac_status=$?
28755 grep -v '^ *+' conftest.er1 >conftest.err
28756 rm -f conftest.er1
28757 cat conftest.err >&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); } &&
28760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28762 (eval $ac_try) 2>&5
28763 ac_status=$?
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); }; } &&
28766 { ac_try='test -s conftest$ac_exeext'
28767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28768 (eval $ac_try) 2>&5
28769 ac_status=$?
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); }; }; then
28772 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28773 else
28774 echo "$as_me: failed program was:" >&5
28775 sed 's/^/| /' conftest.$ac_ext >&5
28776
28777 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28778 fi
28779 rm -f conftest.err conftest.$ac_objext \
28780 conftest$ac_exeext conftest.$ac_ext
28781 LIBS=$ac_check_lib_save_LIBS
28782 fi
28783 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28784 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
28785 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28786 MSPACK_LINK=" -lmspack"
28787 fi
28788
28789 fi
28790 if test "x$MSPACK_LINK" = "x" ; then
28791 wxUSE_LIBMSPACK=no
28792 fi
28793 fi
28794
28795 if test "$wxUSE_LIBMSPACK" != "no"; then
28796 cat >>confdefs.h <<\_ACEOF
28797 #define wxUSE_LIBMSPACK 1
28798 _ACEOF
28799
28800 fi
28801
28802
28803
28804 AFMINSTALL=
28805 WIN32INSTALL=
28806
28807 TOOLKIT=
28808 TOOLKIT_INCLUDE=
28809 WIDGET_SET=
28810
28811 if test "$USE_WIN32" = 1 ; then
28812 echo "$as_me:$LINENO: checking for w32api.h" >&5
28813 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6
28814 if test "${ac_cv_header_w32api_h+set}" = set; then
28815 echo $ECHO_N "(cached) $ECHO_C" >&6
28816 else
28817 cat >conftest.$ac_ext <<_ACEOF
28818 /* confdefs.h. */
28819 _ACEOF
28820 cat confdefs.h >>conftest.$ac_ext
28821 cat >>conftest.$ac_ext <<_ACEOF
28822 /* end confdefs.h. */
28823
28824
28825 #include <w32api.h>
28826 _ACEOF
28827 rm -f conftest.$ac_objext
28828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28829 (eval $ac_compile) 2>conftest.er1
28830 ac_status=$?
28831 grep -v '^ *+' conftest.er1 >conftest.err
28832 rm -f conftest.er1
28833 cat conftest.err >&5
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); } &&
28836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28838 (eval $ac_try) 2>&5
28839 ac_status=$?
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); }; } &&
28842 { ac_try='test -s conftest.$ac_objext'
28843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28844 (eval $ac_try) 2>&5
28845 ac_status=$?
28846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28847 (exit $ac_status); }; }; then
28848 ac_cv_header_w32api_h=yes
28849 else
28850 echo "$as_me: failed program was:" >&5
28851 sed 's/^/| /' conftest.$ac_ext >&5
28852
28853 ac_cv_header_w32api_h=no
28854 fi
28855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28856 fi
28857 echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
28858 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6
28859
28860
28861 echo "$as_me:$LINENO: checking for windows.h" >&5
28862 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
28863 if test "${ac_cv_header_windows_h+set}" = set; then
28864 echo $ECHO_N "(cached) $ECHO_C" >&6
28865 else
28866 cat >conftest.$ac_ext <<_ACEOF
28867 /* confdefs.h. */
28868 _ACEOF
28869 cat confdefs.h >>conftest.$ac_ext
28870 cat >>conftest.$ac_ext <<_ACEOF
28871 /* end confdefs.h. */
28872
28873
28874 #include <windows.h>
28875 _ACEOF
28876 rm -f conftest.$ac_objext
28877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28878 (eval $ac_compile) 2>conftest.er1
28879 ac_status=$?
28880 grep -v '^ *+' conftest.er1 >conftest.err
28881 rm -f conftest.er1
28882 cat conftest.err >&5
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); } &&
28885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28887 (eval $ac_try) 2>&5
28888 ac_status=$?
28889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28890 (exit $ac_status); }; } &&
28891 { ac_try='test -s conftest.$ac_objext'
28892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28893 (eval $ac_try) 2>&5
28894 ac_status=$?
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); }; }; then
28897 ac_cv_header_windows_h=yes
28898 else
28899 echo "$as_me: failed program was:" >&5
28900 sed 's/^/| /' conftest.$ac_ext >&5
28901
28902 ac_cv_header_windows_h=no
28903 fi
28904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28905 fi
28906 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28907 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
28908 if test $ac_cv_header_windows_h = yes; then
28909 :
28910 else
28911
28912 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28913 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28914 { (exit 1); exit 1; }; }
28915
28916 fi
28917
28918
28919
28920 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28921
28922 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28923 LIBS="$LIBS -loleacc"
28924 fi
28925
28926 case "${host}" in
28927 *-*-cygwin* )
28928 LIBS="$LIBS -lkernel32 -luser32"
28929 esac
28930
28931 if test "$wxUSE_ODBC" = "sys" ; then
28932 wxUSE_ODBC = "yes"
28933 fi
28934 if test "$wxUSE_ODBC" = "yes" ; then
28935 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
28936 cat >>confdefs.h <<\_ACEOF
28937 #define wxUSE_ODBC 1
28938 _ACEOF
28939
28940 fi
28941
28942 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28943 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28944
28945 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28946
28947 WIN32INSTALL=win32install
28948
28949 echo "$as_me:$LINENO: checking for pbt.h" >&5
28950 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
28951 if test "${ac_cv_header_pbt_h+set}" = set; then
28952 echo $ECHO_N "(cached) $ECHO_C" >&6
28953 else
28954 cat >conftest.$ac_ext <<_ACEOF
28955 /* confdefs.h. */
28956 _ACEOF
28957 cat confdefs.h >>conftest.$ac_ext
28958 cat >>conftest.$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28960
28961
28962 #include <pbt.h>
28963 _ACEOF
28964 rm -f conftest.$ac_objext
28965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28966 (eval $ac_compile) 2>conftest.er1
28967 ac_status=$?
28968 grep -v '^ *+' conftest.er1 >conftest.err
28969 rm -f conftest.er1
28970 cat conftest.err >&5
28971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972 (exit $ac_status); } &&
28973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28975 (eval $ac_try) 2>&5
28976 ac_status=$?
28977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28978 (exit $ac_status); }; } &&
28979 { ac_try='test -s conftest.$ac_objext'
28980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981 (eval $ac_try) 2>&5
28982 ac_status=$?
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); }; }; then
28985 ac_cv_header_pbt_h=yes
28986 else
28987 echo "$as_me: failed program was:" >&5
28988 sed 's/^/| /' conftest.$ac_ext >&5
28989
28990 ac_cv_header_pbt_h=no
28991 fi
28992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28993 fi
28994 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28995 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
28996 if test $ac_cv_header_pbt_h = yes; then
28997 :
28998 else
28999 cat >>confdefs.h <<\_ACEOF
29000 #define NEED_PBT_H 1
29001 _ACEOF
29002
29003 fi
29004
29005
29006 fi
29007
29008 if test "$wxUSE_GUI" = "yes"; then
29009 USE_GUI=1
29010
29011 GUI_TK_LIBRARY=
29012
29013 WXGTK12=
29014 WXGTK127=
29015 WXGTK20=
29016 WXGPE=
29017
29018 if test "$wxUSE_COCOA" = 1 ; then
29019 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29020 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29021 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29022 wxUSE_PRINTING_ARCHITECTURE=no
29023 fi
29024 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29025 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29026 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29027 wxUSE_DRAG_AND_DROP=no
29028 fi
29029 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29030 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29031 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29032 wxUSE_DRAGIMAGE=no
29033 fi
29034 fi
29035
29036 if test "$wxUSE_MSW" = 1 ; then
29037 TOOLKIT=MSW
29038 GUIDIST=MSW_DIST
29039
29040 case "${host}" in
29041 *-*-mingw32* )
29042 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29043 esac
29044 fi
29045
29046 if test "$wxUSE_GTK" = 1; then
29047 echo "$as_me:$LINENO: checking for GTK+ version" >&5
29048 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
29049
29050 gtk_version_cached=1
29051 if test "${wx_cv_lib_gtk+set}" = set; then
29052 echo $ECHO_N "(cached) $ECHO_C" >&6
29053 else
29054
29055 gtk_version_cached=0
29056 echo "$as_me:$LINENO: result: " >&5
29057 echo "${ECHO_T}" >&6
29058
29059 GTK_MODULES=
29060 if test "$wxUSE_THREADS" = "yes"; then
29061 GTK_MODULES=gthread
29062 fi
29063
29064 wx_cv_lib_gtk=
29065 if test "x$wxGTK_VERSION" != "x1"
29066 then
29067 case "${host}" in
29068 *-*-solaris2* )
29069 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29070 enable_gtktest=no
29071 fi
29072 esac
29073
29074 # Check whether --enable-gtktest or --disable-gtktest was given.
29075 if test "${enable_gtktest+set}" = set; then
29076 enableval="$enable_gtktest"
29077
29078 else
29079 enable_gtktest=yes
29080 fi;
29081
29082 pkg_config_args=gtk+-2.0
29083 for module in . $GTK_MODULES
29084 do
29085 case "$module" in
29086 gthread)
29087 pkg_config_args="$pkg_config_args gthread-2.0"
29088 ;;
29089 esac
29090 done
29091
29092 no_gtk=""
29093
29094 # Extract the first word of "pkg-config", so it can be a program name with args.
29095 set dummy pkg-config; ac_word=$2
29096 echo "$as_me:$LINENO: checking for $ac_word" >&5
29097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29098 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29099 echo $ECHO_N "(cached) $ECHO_C" >&6
29100 else
29101 case $PKG_CONFIG in
29102 [\\/]* | ?:[\\/]*)
29103 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29104 ;;
29105 *)
29106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29107 for as_dir in $PATH
29108 do
29109 IFS=$as_save_IFS
29110 test -z "$as_dir" && as_dir=.
29111 for ac_exec_ext in '' $ac_executable_extensions; do
29112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29113 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29115 break 2
29116 fi
29117 done
29118 done
29119
29120 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29121 ;;
29122 esac
29123 fi
29124 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29125
29126 if test -n "$PKG_CONFIG"; then
29127 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29128 echo "${ECHO_T}$PKG_CONFIG" >&6
29129 else
29130 echo "$as_me:$LINENO: result: no" >&5
29131 echo "${ECHO_T}no" >&6
29132 fi
29133
29134
29135 if test x$PKG_CONFIG != xno ; then
29136 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29137 :
29138 else
29139 echo "*** pkg-config too old; version 0.7 or better required."
29140 no_gtk=yes
29141 PKG_CONFIG=no
29142 fi
29143 else
29144 no_gtk=yes
29145 fi
29146
29147 min_gtk_version=2.0.0
29148 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29149 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
29150
29151 if test x$PKG_CONFIG != xno ; then
29152 ## don't try to run the test against uninstalled libtool libs
29153 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29154 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29155 enable_gtktest=no
29156 fi
29157
29158 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29159 :
29160 else
29161 no_gtk=yes
29162 fi
29163 fi
29164
29165 if test x"$no_gtk" = x ; then
29166 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29167 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29168 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29170 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29172 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29174 if test "x$enable_gtktest" = "xyes" ; then
29175 ac_save_CFLAGS="$CFLAGS"
29176 ac_save_LIBS="$LIBS"
29177 CFLAGS="$CFLAGS $GTK_CFLAGS"
29178 LIBS="$GTK_LIBS $LIBS"
29179 rm -f conf.gtktest
29180 if test "$cross_compiling" = yes; then
29181 echo $ac_n "cross compiling; assumed OK... $ac_c"
29182 else
29183 cat >conftest.$ac_ext <<_ACEOF
29184 /* confdefs.h. */
29185 _ACEOF
29186 cat confdefs.h >>conftest.$ac_ext
29187 cat >>conftest.$ac_ext <<_ACEOF
29188 /* end confdefs.h. */
29189
29190 #include <gtk/gtk.h>
29191 #include <stdio.h>
29192 #include <stdlib.h>
29193
29194 int
29195 main ()
29196 {
29197 int major, minor, micro;
29198 char *tmp_version;
29199
29200 system ("touch conf.gtktest");
29201
29202 /* HP/UX 9 (%@#!) writes to sscanf strings */
29203 tmp_version = g_strdup("$min_gtk_version");
29204 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29205 printf("%s, bad version string\n", "$min_gtk_version");
29206 exit(1);
29207 }
29208
29209 if ((gtk_major_version != $gtk_config_major_version) ||
29210 (gtk_minor_version != $gtk_config_minor_version) ||
29211 (gtk_micro_version != $gtk_config_micro_version))
29212 {
29213 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29214 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29215 gtk_major_version, gtk_minor_version, gtk_micro_version);
29216 printf ("*** was found! If pkg-config was correct, then it is best\n");
29217 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29218 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29219 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29220 printf("*** required on your system.\n");
29221 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29222 printf("*** to point to the correct configuration files\n");
29223 }
29224 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29225 (gtk_minor_version != GTK_MINOR_VERSION) ||
29226 (gtk_micro_version != GTK_MICRO_VERSION))
29227 {
29228 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29229 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29230 printf("*** library (version %d.%d.%d)\n",
29231 gtk_major_version, gtk_minor_version, gtk_micro_version);
29232 }
29233 else
29234 {
29235 if ((gtk_major_version > major) ||
29236 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29237 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29238 {
29239 return 0;
29240 }
29241 else
29242 {
29243 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29244 gtk_major_version, gtk_minor_version, gtk_micro_version);
29245 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29246 major, minor, micro);
29247 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29248 printf("***\n");
29249 printf("*** If you have already installed a sufficiently new version, this error\n");
29250 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29251 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29252 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29253 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29254 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29255 printf("*** so that the correct libraries are found at run-time))\n");
29256 }
29257 }
29258 return 1;
29259 }
29260
29261 _ACEOF
29262 rm -f conftest$ac_exeext
29263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29264 (eval $ac_link) 2>&5
29265 ac_status=$?
29266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29267 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29269 (eval $ac_try) 2>&5
29270 ac_status=$?
29271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29272 (exit $ac_status); }; }; then
29273 :
29274 else
29275 echo "$as_me: program exited with status $ac_status" >&5
29276 echo "$as_me: failed program was:" >&5
29277 sed 's/^/| /' conftest.$ac_ext >&5
29278
29279 ( exit $ac_status )
29280 no_gtk=yes
29281 fi
29282 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29283 fi
29284 CFLAGS="$ac_save_CFLAGS"
29285 LIBS="$ac_save_LIBS"
29286 fi
29287 fi
29288 if test "x$no_gtk" = x ; then
29289 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29290 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
29291 wx_cv_lib_gtk=2.0
29292 else
29293 echo "$as_me:$LINENO: result: no" >&5
29294 echo "${ECHO_T}no" >&6
29295 if test "$PKG_CONFIG" = "no" ; then
29296 echo "*** A new enough version of pkg-config was not found."
29297 echo "*** See http://pkgconfig.sourceforge.net"
29298 else
29299 if test -f conf.gtktest ; then
29300 :
29301 else
29302 echo "*** Could not run GTK+ test program, checking why..."
29303 ac_save_CFLAGS="$CFLAGS"
29304 ac_save_LIBS="$LIBS"
29305 CFLAGS="$CFLAGS $GTK_CFLAGS"
29306 LIBS="$LIBS $GTK_LIBS"
29307 cat >conftest.$ac_ext <<_ACEOF
29308 /* confdefs.h. */
29309 _ACEOF
29310 cat confdefs.h >>conftest.$ac_ext
29311 cat >>conftest.$ac_ext <<_ACEOF
29312 /* end confdefs.h. */
29313
29314 #include <gtk/gtk.h>
29315 #include <stdio.h>
29316
29317 int
29318 main ()
29319 {
29320 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29321 ;
29322 return 0;
29323 }
29324 _ACEOF
29325 rm -f conftest.$ac_objext conftest$ac_exeext
29326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29327 (eval $ac_link) 2>conftest.er1
29328 ac_status=$?
29329 grep -v '^ *+' conftest.er1 >conftest.err
29330 rm -f conftest.er1
29331 cat conftest.err >&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); } &&
29334 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29336 (eval $ac_try) 2>&5
29337 ac_status=$?
29338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29339 (exit $ac_status); }; } &&
29340 { ac_try='test -s conftest$ac_exeext'
29341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29342 (eval $ac_try) 2>&5
29343 ac_status=$?
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); }; }; then
29346 echo "*** The test program compiled, but did not run. This usually means"
29347 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29348 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29349 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29350 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29351 echo "*** is required on your system"
29352 echo "***"
29353 echo "*** If you have an old version installed, it is best to remove it, although"
29354 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29355 else
29356 echo "$as_me: failed program was:" >&5
29357 sed 's/^/| /' conftest.$ac_ext >&5
29358
29359 echo "*** The test program failed to compile or link. See the file config.log for the"
29360 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29361 fi
29362 rm -f conftest.err conftest.$ac_objext \
29363 conftest$ac_exeext conftest.$ac_ext
29364 CFLAGS="$ac_save_CFLAGS"
29365 LIBS="$ac_save_LIBS"
29366 fi
29367 fi
29368 GTK_CFLAGS=""
29369 GTK_LIBS=""
29370 :
29371 fi
29372
29373
29374 rm -f conf.gtktest
29375
29376
29377 case "${host}" in
29378 *-*-solaris2* )
29379 if test "$wxUSE_SHARED" != "yes"; then
29380 GTK_LIBS="$GTK_LIBS -lX11"
29381 fi
29382 esac
29383 fi
29384
29385 if test -z "$wx_cv_lib_gtk"; then
29386 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29387
29388 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29389 if test "${with_gtk_prefix+set}" = set; then
29390 withval="$with_gtk_prefix"
29391 gtk_config_prefix="$withval"
29392 else
29393 gtk_config_prefix=""
29394 fi;
29395
29396 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29397 if test "${with_gtk_exec_prefix+set}" = set; then
29398 withval="$with_gtk_exec_prefix"
29399 gtk_config_exec_prefix="$withval"
29400 else
29401 gtk_config_exec_prefix=""
29402 fi;
29403 # Check whether --enable-gtktest or --disable-gtktest was given.
29404 if test "${enable_gtktest+set}" = set; then
29405 enableval="$enable_gtktest"
29406
29407 else
29408 enable_gtktest=yes
29409 fi;
29410
29411 for module in . $GTK_MODULES
29412 do
29413 case "$module" in
29414 gthread)
29415 gtk_config_args="$gtk_config_args gthread"
29416 ;;
29417 esac
29418 done
29419
29420 if test x$gtk_config_exec_prefix != x ; then
29421 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29422 if test x${GTK_CONFIG+set} != xset ; then
29423 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29424 fi
29425 fi
29426 if test x$gtk_config_prefix != x ; then
29427 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29428 if test x${GTK_CONFIG+set} != xset ; then
29429 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29430 fi
29431 fi
29432
29433 # Extract the first word of "gtk-config", so it can be a program name with args.
29434 set dummy gtk-config; ac_word=$2
29435 echo "$as_me:$LINENO: checking for $ac_word" >&5
29436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29437 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29438 echo $ECHO_N "(cached) $ECHO_C" >&6
29439 else
29440 case $GTK_CONFIG in
29441 [\\/]* | ?:[\\/]*)
29442 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29443 ;;
29444 *)
29445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29446 for as_dir in $PATH
29447 do
29448 IFS=$as_save_IFS
29449 test -z "$as_dir" && as_dir=.
29450 for ac_exec_ext in '' $ac_executable_extensions; do
29451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29452 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29454 break 2
29455 fi
29456 done
29457 done
29458
29459 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29460 ;;
29461 esac
29462 fi
29463 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29464
29465 if test -n "$GTK_CONFIG"; then
29466 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29467 echo "${ECHO_T}$GTK_CONFIG" >&6
29468 else
29469 echo "$as_me:$LINENO: result: no" >&5
29470 echo "${ECHO_T}no" >&6
29471 fi
29472
29473 min_gtk_version=1.2.7
29474 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29475 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29476 no_gtk=""
29477 if test "$GTK_CONFIG" = "no" ; then
29478 no_gtk=yes
29479 else
29480 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29481 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29482 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29483 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29484 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29485 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29486 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29487 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29488 if test "x$enable_gtktest" = "xyes" ; then
29489 ac_save_CFLAGS="$CFLAGS"
29490 ac_save_LIBS="$LIBS"
29491 CFLAGS="$CFLAGS $GTK_CFLAGS"
29492 LIBS="$GTK_LIBS $LIBS"
29493 rm -f conf.gtktest
29494 if test "$cross_compiling" = yes; then
29495 echo $ac_n "cross compiling; assumed OK... $ac_c"
29496 else
29497 cat >conftest.$ac_ext <<_ACEOF
29498 /* confdefs.h. */
29499 _ACEOF
29500 cat confdefs.h >>conftest.$ac_ext
29501 cat >>conftest.$ac_ext <<_ACEOF
29502 /* end confdefs.h. */
29503
29504 #include <gtk/gtk.h>
29505 #include <stdio.h>
29506 #include <stdlib.h>
29507
29508 int
29509 main ()
29510 {
29511 int major, minor, micro;
29512 char *tmp_version;
29513
29514 system ("touch conf.gtktest");
29515
29516 /* HP/UX 9 (%@#!) writes to sscanf strings */
29517 tmp_version = g_strdup("$min_gtk_version");
29518 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29519 printf("%s, bad version string\n", "$min_gtk_version");
29520 exit(1);
29521 }
29522
29523 if ((gtk_major_version != $gtk_config_major_version) ||
29524 (gtk_minor_version != $gtk_config_minor_version) ||
29525 (gtk_micro_version != $gtk_config_micro_version))
29526 {
29527 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29528 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29529 gtk_major_version, gtk_minor_version, gtk_micro_version);
29530 printf ("*** was found! If gtk-config was correct, then it is best\n");
29531 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29532 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29533 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29534 printf("*** required on your system.\n");
29535 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29536 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29537 printf("*** before re-running configure\n");
29538 }
29539 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29540 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29541 (gtk_minor_version != GTK_MINOR_VERSION) ||
29542 (gtk_micro_version != GTK_MICRO_VERSION))
29543 {
29544 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29545 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29546 printf("*** library (version %d.%d.%d)\n",
29547 gtk_major_version, gtk_minor_version, gtk_micro_version);
29548 }
29549 #endif /* defined (GTK_MAJOR_VERSION) ... */
29550 else
29551 {
29552 if ((gtk_major_version > major) ||
29553 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29554 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29555 {
29556 return 0;
29557 }
29558 else
29559 {
29560 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29561 gtk_major_version, gtk_minor_version, gtk_micro_version);
29562 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29563 major, minor, micro);
29564 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29565 printf("***\n");
29566 printf("*** If you have already installed a sufficiently new version, this error\n");
29567 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29568 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29569 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29570 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29571 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29572 printf("*** so that the correct libraries are found at run-time))\n");
29573 }
29574 }
29575 return 1;
29576 }
29577
29578 _ACEOF
29579 rm -f conftest$ac_exeext
29580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29581 (eval $ac_link) 2>&5
29582 ac_status=$?
29583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29587 ac_status=$?
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; }; then
29590 :
29591 else
29592 echo "$as_me: program exited with status $ac_status" >&5
29593 echo "$as_me: failed program was:" >&5
29594 sed 's/^/| /' conftest.$ac_ext >&5
29595
29596 ( exit $ac_status )
29597 no_gtk=yes
29598 fi
29599 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29600 fi
29601 CFLAGS="$ac_save_CFLAGS"
29602 LIBS="$ac_save_LIBS"
29603 fi
29604 fi
29605 if test "x$no_gtk" = x ; then
29606 echo "$as_me:$LINENO: result: yes" >&5
29607 echo "${ECHO_T}yes" >&6
29608 wx_cv_lib_gtk=1.2.7
29609 else
29610 echo "$as_me:$LINENO: result: no" >&5
29611 echo "${ECHO_T}no" >&6
29612 if test "$GTK_CONFIG" = "no" ; then
29613 echo "*** The gtk-config script installed by GTK could not be found"
29614 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29615 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29616 echo "*** full path to gtk-config."
29617 else
29618 if test -f conf.gtktest ; then
29619 :
29620 else
29621 echo "*** Could not run GTK test program, checking why..."
29622 CFLAGS="$CFLAGS $GTK_CFLAGS"
29623 LIBS="$LIBS $GTK_LIBS"
29624 cat >conftest.$ac_ext <<_ACEOF
29625 /* confdefs.h. */
29626 _ACEOF
29627 cat confdefs.h >>conftest.$ac_ext
29628 cat >>conftest.$ac_ext <<_ACEOF
29629 /* end confdefs.h. */
29630
29631 #include <gtk/gtk.h>
29632 #include <stdio.h>
29633
29634 int
29635 main ()
29636 {
29637 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29638 ;
29639 return 0;
29640 }
29641 _ACEOF
29642 rm -f conftest.$ac_objext conftest$ac_exeext
29643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29644 (eval $ac_link) 2>conftest.er1
29645 ac_status=$?
29646 grep -v '^ *+' conftest.er1 >conftest.err
29647 rm -f conftest.er1
29648 cat conftest.err >&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } &&
29651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; } &&
29657 { ac_try='test -s conftest$ac_exeext'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29660 ac_status=$?
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; }; then
29663 echo "*** The test program compiled, but did not run. This usually means"
29664 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29665 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29666 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29667 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29668 echo "*** is required on your system"
29669 echo "***"
29670 echo "*** If you have an old version installed, it is best to remove it, although"
29671 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29672 echo "***"
29673 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29674 echo "*** came with the system with the command"
29675 echo "***"
29676 echo "*** rpm --erase --nodeps gtk gtk-devel"
29677 else
29678 echo "$as_me: failed program was:" >&5
29679 sed 's/^/| /' conftest.$ac_ext >&5
29680
29681 echo "*** The test program failed to compile or link. See the file config.log for the"
29682 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29683 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29684 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29685 fi
29686 rm -f conftest.err conftest.$ac_objext \
29687 conftest$ac_exeext conftest.$ac_ext
29688 CFLAGS="$ac_save_CFLAGS"
29689 LIBS="$ac_save_LIBS"
29690 fi
29691 fi
29692 GTK_CFLAGS=""
29693 GTK_LIBS=""
29694 :
29695 fi
29696
29697
29698 rm -f conf.gtktest
29699
29700
29701 if test -z "$wx_cv_lib_gtk"; then
29702
29703 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29704 if test "${with_gtk_prefix+set}" = set; then
29705 withval="$with_gtk_prefix"
29706 gtk_config_prefix="$withval"
29707 else
29708 gtk_config_prefix=""
29709 fi;
29710
29711 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29712 if test "${with_gtk_exec_prefix+set}" = set; then
29713 withval="$with_gtk_exec_prefix"
29714 gtk_config_exec_prefix="$withval"
29715 else
29716 gtk_config_exec_prefix=""
29717 fi;
29718 # Check whether --enable-gtktest or --disable-gtktest was given.
29719 if test "${enable_gtktest+set}" = set; then
29720 enableval="$enable_gtktest"
29721
29722 else
29723 enable_gtktest=yes
29724 fi;
29725
29726 for module in . $GTK_MODULES
29727 do
29728 case "$module" in
29729 gthread)
29730 gtk_config_args="$gtk_config_args gthread"
29731 ;;
29732 esac
29733 done
29734
29735 if test x$gtk_config_exec_prefix != x ; then
29736 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29737 if test x${GTK_CONFIG+set} != xset ; then
29738 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29739 fi
29740 fi
29741 if test x$gtk_config_prefix != x ; then
29742 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29743 if test x${GTK_CONFIG+set} != xset ; then
29744 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29745 fi
29746 fi
29747
29748 # Extract the first word of "gtk-config", so it can be a program name with args.
29749 set dummy gtk-config; ac_word=$2
29750 echo "$as_me:$LINENO: checking for $ac_word" >&5
29751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29752 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29754 else
29755 case $GTK_CONFIG in
29756 [\\/]* | ?:[\\/]*)
29757 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29758 ;;
29759 *)
29760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29761 for as_dir in $PATH
29762 do
29763 IFS=$as_save_IFS
29764 test -z "$as_dir" && as_dir=.
29765 for ac_exec_ext in '' $ac_executable_extensions; do
29766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29767 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29769 break 2
29770 fi
29771 done
29772 done
29773
29774 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29775 ;;
29776 esac
29777 fi
29778 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29779
29780 if test -n "$GTK_CONFIG"; then
29781 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29782 echo "${ECHO_T}$GTK_CONFIG" >&6
29783 else
29784 echo "$as_me:$LINENO: result: no" >&5
29785 echo "${ECHO_T}no" >&6
29786 fi
29787
29788 min_gtk_version=1.2.3
29789 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29790 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29791 no_gtk=""
29792 if test "$GTK_CONFIG" = "no" ; then
29793 no_gtk=yes
29794 else
29795 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29796 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29797 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29799 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29801 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29803 if test "x$enable_gtktest" = "xyes" ; then
29804 ac_save_CFLAGS="$CFLAGS"
29805 ac_save_LIBS="$LIBS"
29806 CFLAGS="$CFLAGS $GTK_CFLAGS"
29807 LIBS="$GTK_LIBS $LIBS"
29808 rm -f conf.gtktest
29809 if test "$cross_compiling" = yes; then
29810 echo $ac_n "cross compiling; assumed OK... $ac_c"
29811 else
29812 cat >conftest.$ac_ext <<_ACEOF
29813 /* confdefs.h. */
29814 _ACEOF
29815 cat confdefs.h >>conftest.$ac_ext
29816 cat >>conftest.$ac_ext <<_ACEOF
29817 /* end confdefs.h. */
29818
29819 #include <gtk/gtk.h>
29820 #include <stdio.h>
29821 #include <stdlib.h>
29822
29823 int
29824 main ()
29825 {
29826 int major, minor, micro;
29827 char *tmp_version;
29828
29829 system ("touch conf.gtktest");
29830
29831 /* HP/UX 9 (%@#!) writes to sscanf strings */
29832 tmp_version = g_strdup("$min_gtk_version");
29833 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29834 printf("%s, bad version string\n", "$min_gtk_version");
29835 exit(1);
29836 }
29837
29838 if ((gtk_major_version != $gtk_config_major_version) ||
29839 (gtk_minor_version != $gtk_config_minor_version) ||
29840 (gtk_micro_version != $gtk_config_micro_version))
29841 {
29842 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29843 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29844 gtk_major_version, gtk_minor_version, gtk_micro_version);
29845 printf ("*** was found! If gtk-config was correct, then it is best\n");
29846 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29847 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29848 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29849 printf("*** required on your system.\n");
29850 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29851 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29852 printf("*** before re-running configure\n");
29853 }
29854 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29855 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29856 (gtk_minor_version != GTK_MINOR_VERSION) ||
29857 (gtk_micro_version != GTK_MICRO_VERSION))
29858 {
29859 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29860 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29861 printf("*** library (version %d.%d.%d)\n",
29862 gtk_major_version, gtk_minor_version, gtk_micro_version);
29863 }
29864 #endif /* defined (GTK_MAJOR_VERSION) ... */
29865 else
29866 {
29867 if ((gtk_major_version > major) ||
29868 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29869 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29870 {
29871 return 0;
29872 }
29873 else
29874 {
29875 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29876 gtk_major_version, gtk_minor_version, gtk_micro_version);
29877 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29878 major, minor, micro);
29879 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29880 printf("***\n");
29881 printf("*** If you have already installed a sufficiently new version, this error\n");
29882 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29883 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29884 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29885 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29886 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29887 printf("*** so that the correct libraries are found at run-time))\n");
29888 }
29889 }
29890 return 1;
29891 }
29892
29893 _ACEOF
29894 rm -f conftest$ac_exeext
29895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29896 (eval $ac_link) 2>&5
29897 ac_status=$?
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901 (eval $ac_try) 2>&5
29902 ac_status=$?
29903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904 (exit $ac_status); }; }; then
29905 :
29906 else
29907 echo "$as_me: program exited with status $ac_status" >&5
29908 echo "$as_me: failed program was:" >&5
29909 sed 's/^/| /' conftest.$ac_ext >&5
29910
29911 ( exit $ac_status )
29912 no_gtk=yes
29913 fi
29914 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29915 fi
29916 CFLAGS="$ac_save_CFLAGS"
29917 LIBS="$ac_save_LIBS"
29918 fi
29919 fi
29920 if test "x$no_gtk" = x ; then
29921 echo "$as_me:$LINENO: result: yes" >&5
29922 echo "${ECHO_T}yes" >&6
29923 wx_cv_lib_gtk=1.2.3
29924 else
29925 echo "$as_me:$LINENO: result: no" >&5
29926 echo "${ECHO_T}no" >&6
29927 if test "$GTK_CONFIG" = "no" ; then
29928 echo "*** The gtk-config script installed by GTK could not be found"
29929 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29930 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29931 echo "*** full path to gtk-config."
29932 else
29933 if test -f conf.gtktest ; then
29934 :
29935 else
29936 echo "*** Could not run GTK test program, checking why..."
29937 CFLAGS="$CFLAGS $GTK_CFLAGS"
29938 LIBS="$LIBS $GTK_LIBS"
29939 cat >conftest.$ac_ext <<_ACEOF
29940 /* confdefs.h. */
29941 _ACEOF
29942 cat confdefs.h >>conftest.$ac_ext
29943 cat >>conftest.$ac_ext <<_ACEOF
29944 /* end confdefs.h. */
29945
29946 #include <gtk/gtk.h>
29947 #include <stdio.h>
29948
29949 int
29950 main ()
29951 {
29952 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29953 ;
29954 return 0;
29955 }
29956 _ACEOF
29957 rm -f conftest.$ac_objext conftest$ac_exeext
29958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29959 (eval $ac_link) 2>conftest.er1
29960 ac_status=$?
29961 grep -v '^ *+' conftest.er1 >conftest.err
29962 rm -f conftest.er1
29963 cat conftest.err >&5
29964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29965 (exit $ac_status); } &&
29966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29968 (eval $ac_try) 2>&5
29969 ac_status=$?
29970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971 (exit $ac_status); }; } &&
29972 { ac_try='test -s conftest$ac_exeext'
29973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29974 (eval $ac_try) 2>&5
29975 ac_status=$?
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; }; then
29978 echo "*** The test program compiled, but did not run. This usually means"
29979 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29980 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29981 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29982 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29983 echo "*** is required on your system"
29984 echo "***"
29985 echo "*** If you have an old version installed, it is best to remove it, although"
29986 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29987 echo "***"
29988 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29989 echo "*** came with the system with the command"
29990 echo "***"
29991 echo "*** rpm --erase --nodeps gtk gtk-devel"
29992 else
29993 echo "$as_me: failed program was:" >&5
29994 sed 's/^/| /' conftest.$ac_ext >&5
29995
29996 echo "*** The test program failed to compile or link. See the file config.log for the"
29997 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29998 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29999 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30000 fi
30001 rm -f conftest.err conftest.$ac_objext \
30002 conftest$ac_exeext conftest.$ac_ext
30003 CFLAGS="$ac_save_CFLAGS"
30004 LIBS="$ac_save_LIBS"
30005 fi
30006 fi
30007 GTK_CFLAGS=""
30008 GTK_LIBS=""
30009 :
30010 fi
30011
30012
30013 rm -f conf.gtktest
30014
30015 fi
30016 fi
30017 fi
30018
30019 if test -z "$wx_cv_lib_gtk"; then
30020 wx_cv_lib_gtk=none
30021 else
30022 wx_cv_cflags_gtk=$GTK_CFLAGS
30023 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30024 fi
30025
30026
30027 fi
30028
30029
30030 if test "$gtk_version_cached" = 1; then
30031 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30032 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
30033 fi
30034
30035 case "$wx_cv_lib_gtk" in
30036 2.0) WXGTK20=1
30037 TOOLKIT_VERSION=2
30038 ;;
30039 1.2.7) WXGTK127=1
30040 WXGTK12=1
30041 ;;
30042 1.2.3) WXGTK12=1
30043 ;;
30044 *) { { echo "$as_me:$LINENO: error:
30045 The development files for GTK+ were not found. For GTK+ 2, please
30046 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30047 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30048 and that the version is 1.2.3 or above. Also check that the
30049 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30050 --libs' are in the LD_LIBRARY_PATH or equivalent.
30051 " >&5
30052 echo "$as_me: error:
30053 The development files for GTK+ were not found. For GTK+ 2, please
30054 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30055 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30056 and that the version is 1.2.3 or above. Also check that the
30057 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30058 --libs' are in the LD_LIBRARY_PATH or equivalent.
30059 " >&2;}
30060 { (exit 1); exit 1; }; }
30061 ;;
30062 esac
30063
30064 if test "$WXGTK20" = 1; then
30065 save_CFLAGS="$CFLAGS"
30066 save_LIBS="$LIBS"
30067 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30068 LIBS="$LIBS $wx_cv_libs_gtk"
30069
30070 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30071 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
30072 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
30073 echo $ECHO_N "(cached) $ECHO_C" >&6
30074 else
30075 cat >conftest.$ac_ext <<_ACEOF
30076 /* confdefs.h. */
30077 _ACEOF
30078 cat confdefs.h >>conftest.$ac_ext
30079 cat >>conftest.$ac_ext <<_ACEOF
30080 /* end confdefs.h. */
30081 #include <gtk/gtk.h>
30082
30083 int
30084 main ()
30085 {
30086 #ifndef gtk_icon_size_lookup
30087 char *p = (char *) gtk_icon_size_lookup;
30088 #endif
30089
30090 ;
30091 return 0;
30092 }
30093 _ACEOF
30094 rm -f conftest.$ac_objext
30095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30096 (eval $ac_compile) 2>conftest.er1
30097 ac_status=$?
30098 grep -v '^ *+' conftest.er1 >conftest.err
30099 rm -f conftest.er1
30100 cat conftest.err >&5
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); } &&
30103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30105 (eval $ac_try) 2>&5
30106 ac_status=$?
30107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30108 (exit $ac_status); }; } &&
30109 { ac_try='test -s conftest.$ac_objext'
30110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30111 (eval $ac_try) 2>&5
30112 ac_status=$?
30113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30114 (exit $ac_status); }; }; then
30115 ac_cv_have_decl_gtk_icon_size_lookup=yes
30116 else
30117 echo "$as_me: failed program was:" >&5
30118 sed 's/^/| /' conftest.$ac_ext >&5
30119
30120 ac_cv_have_decl_gtk_icon_size_lookup=no
30121 fi
30122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30123 fi
30124 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
30125 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
30126 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
30127
30128 cat >>confdefs.h <<_ACEOF
30129 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
30130 _ACEOF
30131
30132
30133 else
30134 cat >>confdefs.h <<_ACEOF
30135 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
30136 _ACEOF
30137
30138 cat >>confdefs.h <<\_ACEOF
30139 #define NEED_GTK_ICON_SIZE_LOOKUP 1
30140 _ACEOF
30141
30142 fi
30143
30144
30145
30146
30147 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30148 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
30149 cat >conftest.$ac_ext <<_ACEOF
30150 /* confdefs.h. */
30151 _ACEOF
30152 cat confdefs.h >>conftest.$ac_ext
30153 cat >>conftest.$ac_ext <<_ACEOF
30154 /* end confdefs.h. */
30155
30156 #include <gtk/gtk.h>
30157
30158 int
30159 main ()
30160 {
30161
30162 #if !GTK_CHECK_VERSION(2,10,0)
30163 Not GTK+ 2.10
30164 #endif
30165
30166 ;
30167 return 0;
30168 }
30169 _ACEOF
30170 rm -f conftest.$ac_objext
30171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30172 (eval $ac_compile) 2>conftest.er1
30173 ac_status=$?
30174 grep -v '^ *+' conftest.er1 >conftest.err
30175 rm -f conftest.er1
30176 cat conftest.err >&5
30177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30178 (exit $ac_status); } &&
30179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30181 (eval $ac_try) 2>&5
30182 ac_status=$?
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); }; } &&
30185 { ac_try='test -s conftest.$ac_objext'
30186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30187 (eval $ac_try) 2>&5
30188 ac_status=$?
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); }; }; then
30191
30192 cat >>confdefs.h <<\_ACEOF
30193 #define __WXGTK210__ 1
30194 _ACEOF
30195
30196 cat >>confdefs.h <<\_ACEOF
30197 #define __WXGTK26__ 1
30198 _ACEOF
30199
30200 cat >>confdefs.h <<\_ACEOF
30201 #define __WXGTK24__ 1
30202 _ACEOF
30203
30204 echo "$as_me:$LINENO: result: yes" >&5
30205 echo "${ECHO_T}yes" >&6
30206 ac_wxgtk210=1
30207
30208 else
30209 echo "$as_me: failed program was:" >&5
30210 sed 's/^/| /' conftest.$ac_ext >&5
30211
30212
30213 echo "$as_me:$LINENO: result: no" >&5
30214 echo "${ECHO_T}no" >&6
30215 ac_wxgtk210=0
30216
30217 fi
30218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30219
30220 if test "$ac_wxgtk210" = 0; then
30221 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30222 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
30223 cat >conftest.$ac_ext <<_ACEOF
30224 /* confdefs.h. */
30225 _ACEOF
30226 cat confdefs.h >>conftest.$ac_ext
30227 cat >>conftest.$ac_ext <<_ACEOF
30228 /* end confdefs.h. */
30229
30230 #include <gtk/gtk.h>
30231
30232 int
30233 main ()
30234 {
30235
30236 #if !GTK_CHECK_VERSION(2,6,0)
30237 Not GTK+ 2.6
30238 #endif
30239
30240 ;
30241 return 0;
30242 }
30243 _ACEOF
30244 rm -f conftest.$ac_objext
30245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30246 (eval $ac_compile) 2>conftest.er1
30247 ac_status=$?
30248 grep -v '^ *+' conftest.er1 >conftest.err
30249 rm -f conftest.er1
30250 cat conftest.err >&5
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); } &&
30253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30255 (eval $ac_try) 2>&5
30256 ac_status=$?
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); }; } &&
30259 { ac_try='test -s conftest.$ac_objext'
30260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30261 (eval $ac_try) 2>&5
30262 ac_status=$?
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); }; }; then
30265
30266 cat >>confdefs.h <<\_ACEOF
30267 #define __WXGTK26__ 1
30268 _ACEOF
30269
30270 cat >>confdefs.h <<\_ACEOF
30271 #define __WXGTK24__ 1
30272 _ACEOF
30273
30274 echo "$as_me:$LINENO: result: yes" >&5
30275 echo "${ECHO_T}yes" >&6
30276 ac_wxgtk26=1
30277
30278 else
30279 echo "$as_me: failed program was:" >&5
30280 sed 's/^/| /' conftest.$ac_ext >&5
30281
30282
30283 echo "$as_me:$LINENO: result: no" >&5
30284 echo "${ECHO_T}no" >&6
30285 ac_wxgtk26=0
30286
30287 fi
30288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30289 fi
30290
30291 if test "$ac_wxgtk26" = 0; then
30292 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30293 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
30294 cat >conftest.$ac_ext <<_ACEOF
30295 /* confdefs.h. */
30296 _ACEOF
30297 cat confdefs.h >>conftest.$ac_ext
30298 cat >>conftest.$ac_ext <<_ACEOF
30299 /* end confdefs.h. */
30300
30301 #include <gtk/gtk.h>
30302
30303 int
30304 main ()
30305 {
30306
30307 #if !GTK_CHECK_VERSION(2,4,0)
30308 Not GTK+ 2.4
30309 #endif
30310
30311 ;
30312 return 0;
30313 }
30314 _ACEOF
30315 rm -f conftest.$ac_objext
30316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30317 (eval $ac_compile) 2>conftest.er1
30318 ac_status=$?
30319 grep -v '^ *+' conftest.er1 >conftest.err
30320 rm -f conftest.er1
30321 cat conftest.err >&5
30322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323 (exit $ac_status); } &&
30324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30326 (eval $ac_try) 2>&5
30327 ac_status=$?
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); }; } &&
30330 { ac_try='test -s conftest.$ac_objext'
30331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30332 (eval $ac_try) 2>&5
30333 ac_status=$?
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); }; }; then
30336
30337 cat >>confdefs.h <<\_ACEOF
30338 #define __WXGTK24__ 1
30339 _ACEOF
30340
30341 echo "$as_me:$LINENO: result: yes" >&5
30342 echo "${ECHO_T}yes" >&6
30343
30344 else
30345 echo "$as_me: failed program was:" >&5
30346 sed 's/^/| /' conftest.$ac_ext >&5
30347
30348
30349 echo "$as_me:$LINENO: result: no" >&5
30350 echo "${ECHO_T}no" >&6
30351
30352 fi
30353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30354 fi
30355
30356 CFLAGS="$save_CFLAGS"
30357 LIBS="$save_LIBS"
30358 else
30359 if test "$wxUSE_UNICODE" = "yes"; then
30360 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30361 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30362 wxUSE_UNICODE=no
30363 fi
30364
30365 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30366 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
30367 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30368 echo $ECHO_N "(cached) $ECHO_C" >&6
30369 else
30370 ac_check_lib_save_LIBS=$LIBS
30371 LIBS="-lgdk $LIBS"
30372 cat >conftest.$ac_ext <<_ACEOF
30373 /* confdefs.h. */
30374 _ACEOF
30375 cat confdefs.h >>conftest.$ac_ext
30376 cat >>conftest.$ac_ext <<_ACEOF
30377 /* end confdefs.h. */
30378
30379 /* Override any gcc2 internal prototype to avoid an error. */
30380 #ifdef __cplusplus
30381 extern "C"
30382 #endif
30383 /* We use char because int might match the return type of a gcc2
30384 builtin and then its argument prototype would still apply. */
30385 char gdk_im_open ();
30386 int
30387 main ()
30388 {
30389 gdk_im_open ();
30390 ;
30391 return 0;
30392 }
30393 _ACEOF
30394 rm -f conftest.$ac_objext conftest$ac_exeext
30395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30396 (eval $ac_link) 2>conftest.er1
30397 ac_status=$?
30398 grep -v '^ *+' conftest.er1 >conftest.err
30399 rm -f conftest.er1
30400 cat conftest.err >&5
30401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30402 (exit $ac_status); } &&
30403 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30405 (eval $ac_try) 2>&5
30406 ac_status=$?
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); }; } &&
30409 { ac_try='test -s conftest$ac_exeext'
30410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30411 (eval $ac_try) 2>&5
30412 ac_status=$?
30413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30414 (exit $ac_status); }; }; then
30415 ac_cv_lib_gdk_gdk_im_open=yes
30416 else
30417 echo "$as_me: failed program was:" >&5
30418 sed 's/^/| /' conftest.$ac_ext >&5
30419
30420 ac_cv_lib_gdk_gdk_im_open=no
30421 fi
30422 rm -f conftest.err conftest.$ac_objext \
30423 conftest$ac_exeext conftest.$ac_ext
30424 LIBS=$ac_check_lib_save_LIBS
30425 fi
30426 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30427 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
30428 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30429 cat >>confdefs.h <<\_ACEOF
30430 #define HAVE_XIM 1
30431 _ACEOF
30432
30433 fi
30434
30435
30436 if test "$USE_DARWIN" != 1; then
30437
30438 for ac_func in poll
30439 do
30440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30441 echo "$as_me:$LINENO: checking for $ac_func" >&5
30442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30443 if eval "test \"\${$as_ac_var+set}\" = set"; then
30444 echo $ECHO_N "(cached) $ECHO_C" >&6
30445 else
30446 cat >conftest.$ac_ext <<_ACEOF
30447 /* confdefs.h. */
30448 _ACEOF
30449 cat confdefs.h >>conftest.$ac_ext
30450 cat >>conftest.$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30454 #define $ac_func innocuous_$ac_func
30455
30456 /* System header to define __stub macros and hopefully few prototypes,
30457 which can conflict with char $ac_func (); below.
30458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30459 <limits.h> exists even on freestanding compilers. */
30460
30461 #ifdef __STDC__
30462 # include <limits.h>
30463 #else
30464 # include <assert.h>
30465 #endif
30466
30467 #undef $ac_func
30468
30469 /* Override any gcc2 internal prototype to avoid an error. */
30470 #ifdef __cplusplus
30471 extern "C"
30472 {
30473 #endif
30474 /* We use char because int might match the return type of a gcc2
30475 builtin and then its argument prototype would still apply. */
30476 char $ac_func ();
30477 /* The GNU C library defines this for functions which it implements
30478 to always fail with ENOSYS. Some functions are actually named
30479 something starting with __ and the normal name is an alias. */
30480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30481 choke me
30482 #else
30483 char (*f) () = $ac_func;
30484 #endif
30485 #ifdef __cplusplus
30486 }
30487 #endif
30488
30489 int
30490 main ()
30491 {
30492 return f != $ac_func;
30493 ;
30494 return 0;
30495 }
30496 _ACEOF
30497 rm -f conftest.$ac_objext conftest$ac_exeext
30498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30499 (eval $ac_link) 2>conftest.er1
30500 ac_status=$?
30501 grep -v '^ *+' conftest.er1 >conftest.err
30502 rm -f conftest.er1
30503 cat conftest.err >&5
30504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30505 (exit $ac_status); } &&
30506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30508 (eval $ac_try) 2>&5
30509 ac_status=$?
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); }; } &&
30512 { ac_try='test -s conftest$ac_exeext'
30513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30514 (eval $ac_try) 2>&5
30515 ac_status=$?
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); }; }; then
30518 eval "$as_ac_var=yes"
30519 else
30520 echo "$as_me: failed program was:" >&5
30521 sed 's/^/| /' conftest.$ac_ext >&5
30522
30523 eval "$as_ac_var=no"
30524 fi
30525 rm -f conftest.err conftest.$ac_objext \
30526 conftest$ac_exeext conftest.$ac_ext
30527 fi
30528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30530 if test `eval echo '${'$as_ac_var'}'` = yes; then
30531 cat >>confdefs.h <<_ACEOF
30532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30533 _ACEOF
30534
30535 fi
30536 done
30537
30538 fi
30539 fi
30540
30541 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30542 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30543
30544 AFMINSTALL=afminstall
30545 TOOLKIT=GTK
30546 GUIDIST=GTK_DIST
30547
30548 if test "$wxUSE_GPE" = "yes"; then
30549 echo "$as_me:$LINENO: checking for gpewidget library" >&5
30550 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
30551
30552 ac_find_libraries=
30553 for ac_dir in $SEARCH_LIB;
30554 do
30555 for ac_extension in a so sl dylib dll.a; do
30556 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30557 ac_find_libraries=$ac_dir
30558 break 2
30559 fi
30560 done
30561 done
30562
30563 if test "$ac_find_libraries" != "" ; then
30564
30565 if test "$ac_find_libraries" = "default location"; then
30566 ac_path_to_link=""
30567 else
30568 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30569 result=$?
30570 if test $result = 0; then
30571 ac_path_to_link=""
30572 else
30573 ac_path_to_link=" -L$ac_find_libraries"
30574 fi
30575 fi
30576
30577 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30578 WXGPE=1
30579 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30580 echo "${ECHO_T}found in $ac_find_libraries" >&6
30581 else
30582 echo "$as_me:$LINENO: result: not found" >&5
30583 echo "${ECHO_T}not found" >&6
30584 fi
30585
30586 fi
30587 fi
30588
30589 if test "$wxUSE_MGL" = 1; then
30590 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30591 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
30592 if test "x$MGL_ROOT" = x ; then
30593 echo "$as_me:$LINENO: result: not found" >&5
30594 echo "${ECHO_T}not found" >&6
30595 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30596 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30597 { (exit 1); exit 1; }; }
30598 else
30599 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30600 echo "${ECHO_T}$MGL_ROOT" >&6
30601 fi
30602
30603 echo "$as_me:$LINENO: checking for libmgl location" >&5
30604 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
30605 case "${host}" in
30606 *-*-linux* )
30607 if test "x$wxUSE_SHARED" = xyes ; then
30608 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30609 else
30610 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30611 fi
30612 ;;
30613 *-pc-msdosdjgpp )
30614 mgl_os_candidates="dos32/dj2"
30615 ;;
30616 *)
30617 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30618 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30619 { (exit 1); exit 1; }; }
30620 esac
30621
30622 mgl_lib_type=""
30623 mgl_os=""
30624
30625 for mgl_os_i in $mgl_os_candidates ; do
30626 if test "x$mgl_os" = x ; then
30627 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30628 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30629 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30630 mgl_lib_type=debug
30631 mgl_os=$mgl_os_i
30632 fi
30633 fi
30634 if test "x$mgl_lib_type" = x ; then
30635 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30636 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30637 mgl_lib_type=release
30638 mgl_os=$mgl_os_i
30639 fi
30640 fi
30641 fi
30642 done
30643
30644 if test "x$mgl_os" = x ; then
30645 echo "$as_me:$LINENO: result: not found" >&5
30646 echo "${ECHO_T}not found" >&6
30647 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30648 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30649 { (exit 1); exit 1; }; }
30650 fi
30651 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30652 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
30653
30654 wxUSE_UNIVERSAL="yes"
30655
30656 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30657 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30658
30659 AFMINSTALL=afminstall
30660 TOOLKIT=MGL
30661 GUIDIST=MGL_DIST
30662 fi
30663
30664 if test "$wxUSE_DFB" = 1; then
30665
30666
30667 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30668 if test -n "$ac_tool_prefix"; then
30669 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30670 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30671 echo "$as_me:$LINENO: checking for $ac_word" >&5
30672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30673 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30674 echo $ECHO_N "(cached) $ECHO_C" >&6
30675 else
30676 case $PKG_CONFIG in
30677 [\\/]* | ?:[\\/]*)
30678 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30679 ;;
30680 *)
30681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30682 for as_dir in $PATH
30683 do
30684 IFS=$as_save_IFS
30685 test -z "$as_dir" && as_dir=.
30686 for ac_exec_ext in '' $ac_executable_extensions; do
30687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30688 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30690 break 2
30691 fi
30692 done
30693 done
30694
30695 ;;
30696 esac
30697 fi
30698 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30699
30700 if test -n "$PKG_CONFIG"; then
30701 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30702 echo "${ECHO_T}$PKG_CONFIG" >&6
30703 else
30704 echo "$as_me:$LINENO: result: no" >&5
30705 echo "${ECHO_T}no" >&6
30706 fi
30707
30708 fi
30709 if test -z "$ac_cv_path_PKG_CONFIG"; then
30710 ac_pt_PKG_CONFIG=$PKG_CONFIG
30711 # Extract the first word of "pkg-config", so it can be a program name with args.
30712 set dummy pkg-config; ac_word=$2
30713 echo "$as_me:$LINENO: checking for $ac_word" >&5
30714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30715 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30716 echo $ECHO_N "(cached) $ECHO_C" >&6
30717 else
30718 case $ac_pt_PKG_CONFIG in
30719 [\\/]* | ?:[\\/]*)
30720 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30721 ;;
30722 *)
30723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30724 for as_dir in $PATH
30725 do
30726 IFS=$as_save_IFS
30727 test -z "$as_dir" && as_dir=.
30728 for ac_exec_ext in '' $ac_executable_extensions; do
30729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30730 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30732 break 2
30733 fi
30734 done
30735 done
30736
30737 ;;
30738 esac
30739 fi
30740 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30741
30742 if test -n "$ac_pt_PKG_CONFIG"; then
30743 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30744 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30745 else
30746 echo "$as_me:$LINENO: result: no" >&5
30747 echo "${ECHO_T}no" >&6
30748 fi
30749
30750 PKG_CONFIG=$ac_pt_PKG_CONFIG
30751 else
30752 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30753 fi
30754
30755 fi
30756 if test -n "$PKG_CONFIG"; then
30757 _pkg_min_version=0.9.0
30758 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30759 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30760 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30761 echo "$as_me:$LINENO: result: yes" >&5
30762 echo "${ECHO_T}yes" >&6
30763 else
30764 echo "$as_me:$LINENO: result: no" >&5
30765 echo "${ECHO_T}no" >&6
30766 PKG_CONFIG=""
30767 fi
30768
30769 fi
30770
30771
30772 pkg_failed=no
30773 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30774 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
30775
30776 if test -n "$PKG_CONFIG"; then
30777 if test -n "$DIRECTFB_CFLAGS"; then
30778 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30779 else
30780 if test -n "$PKG_CONFIG" && \
30781 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30782 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30783 ac_status=$?
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); }; then
30786 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30787 else
30788 pkg_failed=yes
30789 fi
30790 fi
30791 else
30792 pkg_failed=untried
30793 fi
30794 if test -n "$PKG_CONFIG"; then
30795 if test -n "$DIRECTFB_LIBS"; then
30796 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30797 else
30798 if test -n "$PKG_CONFIG" && \
30799 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30800 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30801 ac_status=$?
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; then
30804 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30805 else
30806 pkg_failed=yes
30807 fi
30808 fi
30809 else
30810 pkg_failed=untried
30811 fi
30812
30813
30814
30815 if test $pkg_failed = yes; then
30816
30817 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30818 _pkg_short_errors_supported=yes
30819 else
30820 _pkg_short_errors_supported=no
30821 fi
30822 if test $_pkg_short_errors_supported = yes; then
30823 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30824 else
30825 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30826 fi
30827 # Put the nasty error message in config.log where it belongs
30828 echo "$DIRECTFB_PKG_ERRORS" >&5
30829
30830
30831 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30832 echo "$as_me: error: DirectFB not found." >&2;}
30833 { (exit 1); exit 1; }; }
30834
30835
30836 elif test $pkg_failed = untried; then
30837
30838 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30839 echo "$as_me: error: DirectFB not found." >&2;}
30840 { (exit 1); exit 1; }; }
30841
30842
30843 else
30844 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30845 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30846 echo "$as_me:$LINENO: result: yes" >&5
30847 echo "${ECHO_T}yes" >&6
30848
30849 wxUSE_UNIVERSAL="yes"
30850 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30851 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30852 TOOLKIT=DFB
30853 GUIDIST=DFB_DIST
30854
30855 fi
30856 fi
30857
30858 if test "$wxUSE_MICROWIN" = 1; then
30859 echo "$as_me:$LINENO: checking for MicroWindows" >&5
30860 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
30861 if test "x$MICROWINDOWS" = x ; then
30862 echo "$as_me:$LINENO: result: not found" >&5
30863 echo "${ECHO_T}not found" >&6
30864 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30865 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30866 { (exit 1); exit 1; }; }
30867 else
30868 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30869 echo "${ECHO_T}$MICROWINDOWS" >&6
30870 fi
30871
30872 if test -f $MICROWINDOWS/lib/libmwin.a; then
30873 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30874 echo "${ECHO_T}MicroWindows' libraries found." >&6
30875 else
30876 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30877 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30878 { (exit 1); exit 1; }; }
30879 fi
30880
30881 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30882 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30883
30884 wxUSE_UNIVERSAL="yes"
30885
30886 AFMINSTALL=afminstall
30887 TOOLKIT=MICROWIN
30888 GUIDIST=MICROWIN_DIST
30889
30890 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30891 fi
30892
30893 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30894
30895 if test "x$ac_path_x_has_been_run" != xyes; then
30896 echo "$as_me:$LINENO: checking for X" >&5
30897 echo $ECHO_N "checking for X... $ECHO_C" >&6
30898
30899 ac_path_x_has_been_run=yes
30900
30901 # Check whether --with-x or --without-x was given.
30902 if test "${with_x+set}" = set; then
30903 withval="$with_x"
30904
30905 fi;
30906 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30907 if test "x$with_x" = xno; then
30908 # The user explicitly disabled X.
30909 have_x=disabled
30910 else
30911 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
30912 # Both variables are already set.
30913 have_x=yes
30914 else
30915 if test "${ac_cv_have_x+set}" = set; then
30916 echo $ECHO_N "(cached) $ECHO_C" >&6
30917 else
30918 # One or both of the vars are not set, and there is no cached value.
30919 ac_x_includes=no ac_x_libraries=no
30920 rm -fr conftest.dir
30921 if mkdir conftest.dir; then
30922 cd conftest.dir
30923 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
30924 cat >Imakefile <<'_ACEOF'
30925 acfindx:
30926 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
30927 _ACEOF
30928 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
30929 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30930 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
30931 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30932 for ac_extension in a so sl; do
30933 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
30934 test -f $ac_im_libdir/libX11.$ac_extension; then
30935 ac_im_usrlibdir=$ac_im_libdir; break
30936 fi
30937 done
30938 # Screen out bogus values from the imake configuration. They are
30939 # bogus both because they are the default anyway, and because
30940 # using them would break gcc on systems where it needs fixed includes.
30941 case $ac_im_incroot in
30942 /usr/include) ;;
30943 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30944 esac
30945 case $ac_im_usrlibdir in
30946 /usr/lib | /lib) ;;
30947 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30948 esac
30949 fi
30950 cd ..
30951 rm -fr conftest.dir
30952 fi
30953
30954 # Standard set of common directories for X headers.
30955 # Check X11 before X11Rn because it is often a symlink to the current release.
30956 ac_x_header_dirs='
30957 /usr/X11/include
30958 /usr/X11R6/include
30959 /usr/X11R5/include
30960 /usr/X11R4/include
30961
30962 /usr/include/X11
30963 /usr/include/X11R6
30964 /usr/include/X11R5
30965 /usr/include/X11R4
30966
30967 /usr/local/X11/include
30968 /usr/local/X11R6/include
30969 /usr/local/X11R5/include
30970 /usr/local/X11R4/include
30971
30972 /usr/local/include/X11
30973 /usr/local/include/X11R6
30974 /usr/local/include/X11R5
30975 /usr/local/include/X11R4
30976
30977 /usr/X386/include
30978 /usr/x386/include
30979 /usr/XFree86/include/X11
30980
30981 /usr/include
30982 /usr/local/include
30983 /usr/unsupported/include
30984 /usr/athena/include
30985 /usr/local/x11r5/include
30986 /usr/lpp/Xamples/include
30987
30988 /usr/openwin/include
30989 /usr/openwin/share/include'
30990
30991 if test "$ac_x_includes" = no; then
30992 # Guess where to find include files, by looking for a specified header file.
30993 # First, try using that file with no special directory specified.
30994 cat >conftest.$ac_ext <<_ACEOF
30995 /* confdefs.h. */
30996 _ACEOF
30997 cat confdefs.h >>conftest.$ac_ext
30998 cat >>conftest.$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31000 #include <X11/Xlib.h>
31001 _ACEOF
31002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31004 ac_status=$?
31005 grep -v '^ *+' conftest.er1 >conftest.err
31006 rm -f conftest.er1
31007 cat conftest.err >&5
31008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31009 (exit $ac_status); } >/dev/null; then
31010 if test -s conftest.err; then
31011 ac_cpp_err=$ac_c_preproc_warn_flag
31012 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31013 else
31014 ac_cpp_err=
31015 fi
31016 else
31017 ac_cpp_err=yes
31018 fi
31019 if test -z "$ac_cpp_err"; then
31020 # We can compile using X headers with no special include directory.
31021 ac_x_includes=
31022 else
31023 echo "$as_me: failed program was:" >&5
31024 sed 's/^/| /' conftest.$ac_ext >&5
31025
31026 for ac_dir in $ac_x_header_dirs; do
31027 if test -r "$ac_dir/X11/Xlib.h"; then
31028 ac_x_includes=$ac_dir
31029 break
31030 fi
31031 done
31032 fi
31033 rm -f conftest.err conftest.$ac_ext
31034 fi # $ac_x_includes = no
31035
31036 if test "$ac_x_libraries" = no; then
31037 # Check for the libraries.
31038 # See if we find them without any special options.
31039 # Don't add to $LIBS permanently.
31040 ac_save_LIBS=$LIBS
31041 LIBS="-lX11 $LIBS"
31042 cat >conftest.$ac_ext <<_ACEOF
31043 /* confdefs.h. */
31044 _ACEOF
31045 cat confdefs.h >>conftest.$ac_ext
31046 cat >>conftest.$ac_ext <<_ACEOF
31047 /* end confdefs.h. */
31048 #include <X11/Xlib.h>
31049 int
31050 main ()
31051 {
31052 XrmInitialize ()
31053 ;
31054 return 0;
31055 }
31056 _ACEOF
31057 rm -f conftest.$ac_objext conftest$ac_exeext
31058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31059 (eval $ac_link) 2>conftest.er1
31060 ac_status=$?
31061 grep -v '^ *+' conftest.er1 >conftest.err
31062 rm -f conftest.er1
31063 cat conftest.err >&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); } &&
31066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31068 (eval $ac_try) 2>&5
31069 ac_status=$?
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); }; } &&
31072 { ac_try='test -s conftest$ac_exeext'
31073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31074 (eval $ac_try) 2>&5
31075 ac_status=$?
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); }; }; then
31078 LIBS=$ac_save_LIBS
31079 # We can link X programs with no special library path.
31080 ac_x_libraries=
31081 else
31082 echo "$as_me: failed program was:" >&5
31083 sed 's/^/| /' conftest.$ac_ext >&5
31084
31085 LIBS=$ac_save_LIBS
31086 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31087 do
31088 # Don't even attempt the hair of trying to link an X program!
31089 for ac_extension in a so sl; do
31090 if test -r $ac_dir/libX11.$ac_extension; then
31091 ac_x_libraries=$ac_dir
31092 break 2
31093 fi
31094 done
31095 done
31096 fi
31097 rm -f conftest.err conftest.$ac_objext \
31098 conftest$ac_exeext conftest.$ac_ext
31099 fi # $ac_x_libraries = no
31100
31101 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
31102 # Didn't find X anywhere. Cache the known absence of X.
31103 ac_cv_have_x="have_x=no"
31104 else
31105 # Record where we found X for the cache.
31106 ac_cv_have_x="have_x=yes \
31107 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
31108 fi
31109 fi
31110
31111 fi
31112 eval "$ac_cv_have_x"
31113 fi # $with_x != no
31114
31115 if test "$have_x" != yes; then
31116 echo "$as_me:$LINENO: result: $have_x" >&5
31117 echo "${ECHO_T}$have_x" >&6
31118 no_x=yes
31119 else
31120 # If each of the values was on the command line, it overrides each guess.
31121 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31122 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31123 # Update the cache value to reflect the command line values.
31124 ac_cv_have_x="have_x=yes \
31125 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
31126 # It might be that x_includes is empty (headers are found in the
31127 # standard search path. Then output the corresponding message
31128 ac_out_x_includes=$x_includes
31129 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
31130 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
31131 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
31132 fi
31133
31134 fi
31135 if test "$no_x" = yes; then
31136 # Not all programs may use this symbol, but it does not hurt to define it.
31137
31138 cat >>confdefs.h <<\_ACEOF
31139 #define X_DISPLAY_MISSING 1
31140 _ACEOF
31141
31142 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31143 else
31144 if test -n "$x_includes"; then
31145 X_CFLAGS="$X_CFLAGS -I$x_includes"
31146 fi
31147
31148 # It would also be nice to do this for all -L options, not just this one.
31149 if test -n "$x_libraries"; then
31150 X_LIBS="$X_LIBS -L$x_libraries"
31151 # For Solaris; some versions of Sun CC require a space after -R and
31152 # others require no space. Words are not sufficient . . . .
31153 case `(uname -sr) 2>/dev/null` in
31154 "SunOS 5"*)
31155 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31156 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
31157 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31158 cat >conftest.$ac_ext <<_ACEOF
31159 /* confdefs.h. */
31160 _ACEOF
31161 cat confdefs.h >>conftest.$ac_ext
31162 cat >>conftest.$ac_ext <<_ACEOF
31163 /* end confdefs.h. */
31164
31165 int
31166 main ()
31167 {
31168
31169 ;
31170 return 0;
31171 }
31172 _ACEOF
31173 rm -f conftest.$ac_objext conftest$ac_exeext
31174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31175 (eval $ac_link) 2>conftest.er1
31176 ac_status=$?
31177 grep -v '^ *+' conftest.er1 >conftest.err
31178 rm -f conftest.er1
31179 cat conftest.err >&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } &&
31182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31184 (eval $ac_try) 2>&5
31185 ac_status=$?
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; } &&
31188 { ac_try='test -s conftest$ac_exeext'
31189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31190 (eval $ac_try) 2>&5
31191 ac_status=$?
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); }; }; then
31194 ac_R_nospace=yes
31195 else
31196 echo "$as_me: failed program was:" >&5
31197 sed 's/^/| /' conftest.$ac_ext >&5
31198
31199 ac_R_nospace=no
31200 fi
31201 rm -f conftest.err conftest.$ac_objext \
31202 conftest$ac_exeext conftest.$ac_ext
31203 if test $ac_R_nospace = yes; then
31204 echo "$as_me:$LINENO: result: no" >&5
31205 echo "${ECHO_T}no" >&6
31206 X_LIBS="$X_LIBS -R$x_libraries"
31207 else
31208 LIBS="$ac_xsave_LIBS -R $x_libraries"
31209 cat >conftest.$ac_ext <<_ACEOF
31210 /* confdefs.h. */
31211 _ACEOF
31212 cat confdefs.h >>conftest.$ac_ext
31213 cat >>conftest.$ac_ext <<_ACEOF
31214 /* end confdefs.h. */
31215
31216 int
31217 main ()
31218 {
31219
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" || test ! -s conftest.err'
31234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31235 (eval $ac_try) 2>&5
31236 ac_status=$?
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); }; } &&
31239 { ac_try='test -s conftest$ac_exeext'
31240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241 (eval $ac_try) 2>&5
31242 ac_status=$?
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); }; }; then
31245 ac_R_space=yes
31246 else
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.$ac_ext >&5
31249
31250 ac_R_space=no
31251 fi
31252 rm -f conftest.err conftest.$ac_objext \
31253 conftest$ac_exeext conftest.$ac_ext
31254 if test $ac_R_space = yes; then
31255 echo "$as_me:$LINENO: result: yes" >&5
31256 echo "${ECHO_T}yes" >&6
31257 X_LIBS="$X_LIBS -R $x_libraries"
31258 else
31259 echo "$as_me:$LINENO: result: neither works" >&5
31260 echo "${ECHO_T}neither works" >&6
31261 fi
31262 fi
31263 LIBS=$ac_xsave_LIBS
31264 esac
31265 fi
31266
31267 # Check for system-dependent libraries X programs must link with.
31268 # Do this before checking for the system-independent R6 libraries
31269 # (-lICE), since we may need -lsocket or whatever for X linking.
31270
31271 if test "$ISC" = yes; then
31272 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31273 else
31274 # Martyn Johnson says this is needed for Ultrix, if the X
31275 # libraries were built with DECnet support. And Karl Berry says
31276 # the Alpha needs dnet_stub (dnet does not exist).
31277 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31278 cat >conftest.$ac_ext <<_ACEOF
31279 /* confdefs.h. */
31280 _ACEOF
31281 cat confdefs.h >>conftest.$ac_ext
31282 cat >>conftest.$ac_ext <<_ACEOF
31283 /* end confdefs.h. */
31284
31285 /* Override any gcc2 internal prototype to avoid an error. */
31286 #ifdef __cplusplus
31287 extern "C"
31288 #endif
31289 /* We use char because int might match the return type of a gcc2
31290 builtin and then its argument prototype would still apply. */
31291 char XOpenDisplay ();
31292 int
31293 main ()
31294 {
31295 XOpenDisplay ();
31296 ;
31297 return 0;
31298 }
31299 _ACEOF
31300 rm -f conftest.$ac_objext conftest$ac_exeext
31301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31302 (eval $ac_link) 2>conftest.er1
31303 ac_status=$?
31304 grep -v '^ *+' conftest.er1 >conftest.err
31305 rm -f conftest.er1
31306 cat conftest.err >&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); } &&
31309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311 (eval $ac_try) 2>&5
31312 ac_status=$?
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); }; } &&
31315 { ac_try='test -s conftest$ac_exeext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31318 ac_status=$?
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 :
31322 else
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31325
31326 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31327 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
31328 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31329 echo $ECHO_N "(cached) $ECHO_C" >&6
31330 else
31331 ac_check_lib_save_LIBS=$LIBS
31332 LIBS="-ldnet $LIBS"
31333 cat >conftest.$ac_ext <<_ACEOF
31334 /* confdefs.h. */
31335 _ACEOF
31336 cat confdefs.h >>conftest.$ac_ext
31337 cat >>conftest.$ac_ext <<_ACEOF
31338 /* end confdefs.h. */
31339
31340 /* Override any gcc2 internal prototype to avoid an error. */
31341 #ifdef __cplusplus
31342 extern "C"
31343 #endif
31344 /* We use char because int might match the return type of a gcc2
31345 builtin and then its argument prototype would still apply. */
31346 char dnet_ntoa ();
31347 int
31348 main ()
31349 {
31350 dnet_ntoa ();
31351 ;
31352 return 0;
31353 }
31354 _ACEOF
31355 rm -f conftest.$ac_objext conftest$ac_exeext
31356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31357 (eval $ac_link) 2>conftest.er1
31358 ac_status=$?
31359 grep -v '^ *+' conftest.er1 >conftest.err
31360 rm -f conftest.er1
31361 cat conftest.err >&5
31362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363 (exit $ac_status); } &&
31364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31366 (eval $ac_try) 2>&5
31367 ac_status=$?
31368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369 (exit $ac_status); }; } &&
31370 { ac_try='test -s conftest$ac_exeext'
31371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31372 (eval $ac_try) 2>&5
31373 ac_status=$?
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; }; then
31376 ac_cv_lib_dnet_dnet_ntoa=yes
31377 else
31378 echo "$as_me: failed program was:" >&5
31379 sed 's/^/| /' conftest.$ac_ext >&5
31380
31381 ac_cv_lib_dnet_dnet_ntoa=no
31382 fi
31383 rm -f conftest.err conftest.$ac_objext \
31384 conftest$ac_exeext conftest.$ac_ext
31385 LIBS=$ac_check_lib_save_LIBS
31386 fi
31387 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31388 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
31389 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31390 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31391 fi
31392
31393 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31394 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31395 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
31396 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31398 else
31399 ac_check_lib_save_LIBS=$LIBS
31400 LIBS="-ldnet_stub $LIBS"
31401 cat >conftest.$ac_ext <<_ACEOF
31402 /* confdefs.h. */
31403 _ACEOF
31404 cat confdefs.h >>conftest.$ac_ext
31405 cat >>conftest.$ac_ext <<_ACEOF
31406 /* end confdefs.h. */
31407
31408 /* Override any gcc2 internal prototype to avoid an error. */
31409 #ifdef __cplusplus
31410 extern "C"
31411 #endif
31412 /* We use char because int might match the return type of a gcc2
31413 builtin and then its argument prototype would still apply. */
31414 char dnet_ntoa ();
31415 int
31416 main ()
31417 {
31418 dnet_ntoa ();
31419 ;
31420 return 0;
31421 }
31422 _ACEOF
31423 rm -f conftest.$ac_objext conftest$ac_exeext
31424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31425 (eval $ac_link) 2>conftest.er1
31426 ac_status=$?
31427 grep -v '^ *+' conftest.er1 >conftest.err
31428 rm -f conftest.er1
31429 cat conftest.err >&5
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); } &&
31432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31434 (eval $ac_try) 2>&5
31435 ac_status=$?
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); }; } &&
31438 { ac_try='test -s conftest$ac_exeext'
31439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31440 (eval $ac_try) 2>&5
31441 ac_status=$?
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); }; }; then
31444 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31445 else
31446 echo "$as_me: failed program was:" >&5
31447 sed 's/^/| /' conftest.$ac_ext >&5
31448
31449 ac_cv_lib_dnet_stub_dnet_ntoa=no
31450 fi
31451 rm -f conftest.err conftest.$ac_objext \
31452 conftest$ac_exeext conftest.$ac_ext
31453 LIBS=$ac_check_lib_save_LIBS
31454 fi
31455 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31456 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
31457 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31458 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31459 fi
31460
31461 fi
31462 fi
31463 rm -f conftest.err conftest.$ac_objext \
31464 conftest$ac_exeext conftest.$ac_ext
31465 LIBS="$ac_xsave_LIBS"
31466
31467 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31468 # to get the SysV transport functions.
31469 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31470 # needs -lnsl.
31471 # The nsl library prevents programs from opening the X display
31472 # on Irix 5.2, according to T.E. Dickey.
31473 # The functions gethostbyname, getservbyname, and inet_addr are
31474 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31475 echo "$as_me:$LINENO: checking for gethostbyname" >&5
31476 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
31477 if test "${ac_cv_func_gethostbyname+set}" = set; then
31478 echo $ECHO_N "(cached) $ECHO_C" >&6
31479 else
31480 cat >conftest.$ac_ext <<_ACEOF
31481 /* confdefs.h. */
31482 _ACEOF
31483 cat confdefs.h >>conftest.$ac_ext
31484 cat >>conftest.$ac_ext <<_ACEOF
31485 /* end confdefs.h. */
31486 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31488 #define gethostbyname innocuous_gethostbyname
31489
31490 /* System header to define __stub macros and hopefully few prototypes,
31491 which can conflict with char gethostbyname (); below.
31492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31493 <limits.h> exists even on freestanding compilers. */
31494
31495 #ifdef __STDC__
31496 # include <limits.h>
31497 #else
31498 # include <assert.h>
31499 #endif
31500
31501 #undef gethostbyname
31502
31503 /* Override any gcc2 internal prototype to avoid an error. */
31504 #ifdef __cplusplus
31505 extern "C"
31506 {
31507 #endif
31508 /* We use char because int might match the return type of a gcc2
31509 builtin and then its argument prototype would still apply. */
31510 char gethostbyname ();
31511 /* The GNU C library defines this for functions which it implements
31512 to always fail with ENOSYS. Some functions are actually named
31513 something starting with __ and the normal name is an alias. */
31514 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
31515 choke me
31516 #else
31517 char (*f) () = gethostbyname;
31518 #endif
31519 #ifdef __cplusplus
31520 }
31521 #endif
31522
31523 int
31524 main ()
31525 {
31526 return f != gethostbyname;
31527 ;
31528 return 0;
31529 }
31530 _ACEOF
31531 rm -f conftest.$ac_objext conftest$ac_exeext
31532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31533 (eval $ac_link) 2>conftest.er1
31534 ac_status=$?
31535 grep -v '^ *+' conftest.er1 >conftest.err
31536 rm -f conftest.er1
31537 cat conftest.err >&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); } &&
31540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31542 (eval $ac_try) 2>&5
31543 ac_status=$?
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); }; } &&
31546 { ac_try='test -s conftest$ac_exeext'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31549 ac_status=$?
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; }; then
31552 ac_cv_func_gethostbyname=yes
31553 else
31554 echo "$as_me: failed program was:" >&5
31555 sed 's/^/| /' conftest.$ac_ext >&5
31556
31557 ac_cv_func_gethostbyname=no
31558 fi
31559 rm -f conftest.err conftest.$ac_objext \
31560 conftest$ac_exeext conftest.$ac_ext
31561 fi
31562 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31563 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
31564
31565 if test $ac_cv_func_gethostbyname = no; then
31566 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31567 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
31568 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31569 echo $ECHO_N "(cached) $ECHO_C" >&6
31570 else
31571 ac_check_lib_save_LIBS=$LIBS
31572 LIBS="-lnsl $LIBS"
31573 cat >conftest.$ac_ext <<_ACEOF
31574 /* confdefs.h. */
31575 _ACEOF
31576 cat confdefs.h >>conftest.$ac_ext
31577 cat >>conftest.$ac_ext <<_ACEOF
31578 /* end confdefs.h. */
31579
31580 /* Override any gcc2 internal prototype to avoid an error. */
31581 #ifdef __cplusplus
31582 extern "C"
31583 #endif
31584 /* We use char because int might match the return type of a gcc2
31585 builtin and then its argument prototype would still apply. */
31586 char gethostbyname ();
31587 int
31588 main ()
31589 {
31590 gethostbyname ();
31591 ;
31592 return 0;
31593 }
31594 _ACEOF
31595 rm -f conftest.$ac_objext conftest$ac_exeext
31596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31597 (eval $ac_link) 2>conftest.er1
31598 ac_status=$?
31599 grep -v '^ *+' conftest.er1 >conftest.err
31600 rm -f conftest.er1
31601 cat conftest.err >&5
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); } &&
31604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31606 (eval $ac_try) 2>&5
31607 ac_status=$?
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); }; } &&
31610 { ac_try='test -s conftest$ac_exeext'
31611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612 (eval $ac_try) 2>&5
31613 ac_status=$?
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; }; then
31616 ac_cv_lib_nsl_gethostbyname=yes
31617 else
31618 echo "$as_me: failed program was:" >&5
31619 sed 's/^/| /' conftest.$ac_ext >&5
31620
31621 ac_cv_lib_nsl_gethostbyname=no
31622 fi
31623 rm -f conftest.err conftest.$ac_objext \
31624 conftest$ac_exeext conftest.$ac_ext
31625 LIBS=$ac_check_lib_save_LIBS
31626 fi
31627 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31628 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
31629 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31630 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31631 fi
31632
31633 if test $ac_cv_lib_nsl_gethostbyname = no; then
31634 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31635 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
31636 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31637 echo $ECHO_N "(cached) $ECHO_C" >&6
31638 else
31639 ac_check_lib_save_LIBS=$LIBS
31640 LIBS="-lbsd $LIBS"
31641 cat >conftest.$ac_ext <<_ACEOF
31642 /* confdefs.h. */
31643 _ACEOF
31644 cat confdefs.h >>conftest.$ac_ext
31645 cat >>conftest.$ac_ext <<_ACEOF
31646 /* end confdefs.h. */
31647
31648 /* Override any gcc2 internal prototype to avoid an error. */
31649 #ifdef __cplusplus
31650 extern "C"
31651 #endif
31652 /* We use char because int might match the return type of a gcc2
31653 builtin and then its argument prototype would still apply. */
31654 char gethostbyname ();
31655 int
31656 main ()
31657 {
31658 gethostbyname ();
31659 ;
31660 return 0;
31661 }
31662 _ACEOF
31663 rm -f conftest.$ac_objext conftest$ac_exeext
31664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31665 (eval $ac_link) 2>conftest.er1
31666 ac_status=$?
31667 grep -v '^ *+' conftest.er1 >conftest.err
31668 rm -f conftest.er1
31669 cat conftest.err >&5
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); } &&
31672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31674 (eval $ac_try) 2>&5
31675 ac_status=$?
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); }; } &&
31678 { ac_try='test -s conftest$ac_exeext'
31679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31680 (eval $ac_try) 2>&5
31681 ac_status=$?
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); }; }; then
31684 ac_cv_lib_bsd_gethostbyname=yes
31685 else
31686 echo "$as_me: failed program was:" >&5
31687 sed 's/^/| /' conftest.$ac_ext >&5
31688
31689 ac_cv_lib_bsd_gethostbyname=no
31690 fi
31691 rm -f conftest.err conftest.$ac_objext \
31692 conftest$ac_exeext conftest.$ac_ext
31693 LIBS=$ac_check_lib_save_LIBS
31694 fi
31695 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31696 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
31697 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31698 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31699 fi
31700
31701 fi
31702 fi
31703
31704 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31705 # socket/setsockopt and other routines are undefined under SCO ODT
31706 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31707 # on later versions), says Simon Leinen: it contains gethostby*
31708 # variants that don't use the name server (or something). -lsocket
31709 # must be given before -lnsl if both are needed. We assume that
31710 # if connect needs -lnsl, so does gethostbyname.
31711 echo "$as_me:$LINENO: checking for connect" >&5
31712 echo $ECHO_N "checking for connect... $ECHO_C" >&6
31713 if test "${ac_cv_func_connect+set}" = set; then
31714 echo $ECHO_N "(cached) $ECHO_C" >&6
31715 else
31716 cat >conftest.$ac_ext <<_ACEOF
31717 /* confdefs.h. */
31718 _ACEOF
31719 cat confdefs.h >>conftest.$ac_ext
31720 cat >>conftest.$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31722 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31724 #define connect innocuous_connect
31725
31726 /* System header to define __stub macros and hopefully few prototypes,
31727 which can conflict with char connect (); below.
31728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31729 <limits.h> exists even on freestanding compilers. */
31730
31731 #ifdef __STDC__
31732 # include <limits.h>
31733 #else
31734 # include <assert.h>
31735 #endif
31736
31737 #undef connect
31738
31739 /* Override any gcc2 internal prototype to avoid an error. */
31740 #ifdef __cplusplus
31741 extern "C"
31742 {
31743 #endif
31744 /* We use char because int might match the return type of a gcc2
31745 builtin and then its argument prototype would still apply. */
31746 char connect ();
31747 /* The GNU C library defines this for functions which it implements
31748 to always fail with ENOSYS. Some functions are actually named
31749 something starting with __ and the normal name is an alias. */
31750 #if defined (__stub_connect) || defined (__stub___connect)
31751 choke me
31752 #else
31753 char (*f) () = connect;
31754 #endif
31755 #ifdef __cplusplus
31756 }
31757 #endif
31758
31759 int
31760 main ()
31761 {
31762 return f != connect;
31763 ;
31764 return 0;
31765 }
31766 _ACEOF
31767 rm -f conftest.$ac_objext conftest$ac_exeext
31768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31769 (eval $ac_link) 2>conftest.er1
31770 ac_status=$?
31771 grep -v '^ *+' conftest.er1 >conftest.err
31772 rm -f conftest.er1
31773 cat conftest.err >&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); } &&
31776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31778 (eval $ac_try) 2>&5
31779 ac_status=$?
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); }; } &&
31782 { ac_try='test -s conftest$ac_exeext'
31783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31784 (eval $ac_try) 2>&5
31785 ac_status=$?
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); }; }; then
31788 ac_cv_func_connect=yes
31789 else
31790 echo "$as_me: failed program was:" >&5
31791 sed 's/^/| /' conftest.$ac_ext >&5
31792
31793 ac_cv_func_connect=no
31794 fi
31795 rm -f conftest.err conftest.$ac_objext \
31796 conftest$ac_exeext conftest.$ac_ext
31797 fi
31798 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31799 echo "${ECHO_T}$ac_cv_func_connect" >&6
31800
31801 if test $ac_cv_func_connect = no; then
31802 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31803 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
31804 if test "${ac_cv_lib_socket_connect+set}" = set; then
31805 echo $ECHO_N "(cached) $ECHO_C" >&6
31806 else
31807 ac_check_lib_save_LIBS=$LIBS
31808 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31809 cat >conftest.$ac_ext <<_ACEOF
31810 /* confdefs.h. */
31811 _ACEOF
31812 cat confdefs.h >>conftest.$ac_ext
31813 cat >>conftest.$ac_ext <<_ACEOF
31814 /* end confdefs.h. */
31815
31816 /* Override any gcc2 internal prototype to avoid an error. */
31817 #ifdef __cplusplus
31818 extern "C"
31819 #endif
31820 /* We use char because int might match the return type of a gcc2
31821 builtin and then its argument prototype would still apply. */
31822 char connect ();
31823 int
31824 main ()
31825 {
31826 connect ();
31827 ;
31828 return 0;
31829 }
31830 _ACEOF
31831 rm -f conftest.$ac_objext conftest$ac_exeext
31832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31833 (eval $ac_link) 2>conftest.er1
31834 ac_status=$?
31835 grep -v '^ *+' conftest.er1 >conftest.err
31836 rm -f conftest.er1
31837 cat conftest.err >&5
31838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31839 (exit $ac_status); } &&
31840 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31842 (eval $ac_try) 2>&5
31843 ac_status=$?
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); }; } &&
31846 { ac_try='test -s conftest$ac_exeext'
31847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31848 (eval $ac_try) 2>&5
31849 ac_status=$?
31850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 (exit $ac_status); }; }; then
31852 ac_cv_lib_socket_connect=yes
31853 else
31854 echo "$as_me: failed program was:" >&5
31855 sed 's/^/| /' conftest.$ac_ext >&5
31856
31857 ac_cv_lib_socket_connect=no
31858 fi
31859 rm -f conftest.err conftest.$ac_objext \
31860 conftest$ac_exeext conftest.$ac_ext
31861 LIBS=$ac_check_lib_save_LIBS
31862 fi
31863 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31864 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
31865 if test $ac_cv_lib_socket_connect = yes; then
31866 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31867 fi
31868
31869 fi
31870
31871 # Guillermo Gomez says -lposix is necessary on A/UX.
31872 echo "$as_me:$LINENO: checking for remove" >&5
31873 echo $ECHO_N "checking for remove... $ECHO_C" >&6
31874 if test "${ac_cv_func_remove+set}" = set; then
31875 echo $ECHO_N "(cached) $ECHO_C" >&6
31876 else
31877 cat >conftest.$ac_ext <<_ACEOF
31878 /* confdefs.h. */
31879 _ACEOF
31880 cat confdefs.h >>conftest.$ac_ext
31881 cat >>conftest.$ac_ext <<_ACEOF
31882 /* end confdefs.h. */
31883 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31885 #define remove innocuous_remove
31886
31887 /* System header to define __stub macros and hopefully few prototypes,
31888 which can conflict with char remove (); below.
31889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31890 <limits.h> exists even on freestanding compilers. */
31891
31892 #ifdef __STDC__
31893 # include <limits.h>
31894 #else
31895 # include <assert.h>
31896 #endif
31897
31898 #undef remove
31899
31900 /* Override any gcc2 internal prototype to avoid an error. */
31901 #ifdef __cplusplus
31902 extern "C"
31903 {
31904 #endif
31905 /* We use char because int might match the return type of a gcc2
31906 builtin and then its argument prototype would still apply. */
31907 char remove ();
31908 /* The GNU C library defines this for functions which it implements
31909 to always fail with ENOSYS. Some functions are actually named
31910 something starting with __ and the normal name is an alias. */
31911 #if defined (__stub_remove) || defined (__stub___remove)
31912 choke me
31913 #else
31914 char (*f) () = remove;
31915 #endif
31916 #ifdef __cplusplus
31917 }
31918 #endif
31919
31920 int
31921 main ()
31922 {
31923 return f != remove;
31924 ;
31925 return 0;
31926 }
31927 _ACEOF
31928 rm -f conftest.$ac_objext conftest$ac_exeext
31929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31930 (eval $ac_link) 2>conftest.er1
31931 ac_status=$?
31932 grep -v '^ *+' conftest.er1 >conftest.err
31933 rm -f conftest.er1
31934 cat conftest.err >&5
31935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31936 (exit $ac_status); } &&
31937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31939 (eval $ac_try) 2>&5
31940 ac_status=$?
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); }; } &&
31943 { ac_try='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31946 ac_status=$?
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 ac_cv_func_remove=yes
31950 else
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31953
31954 ac_cv_func_remove=no
31955 fi
31956 rm -f conftest.err conftest.$ac_objext \
31957 conftest$ac_exeext conftest.$ac_ext
31958 fi
31959 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31960 echo "${ECHO_T}$ac_cv_func_remove" >&6
31961
31962 if test $ac_cv_func_remove = no; then
31963 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31964 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
31965 if test "${ac_cv_lib_posix_remove+set}" = set; then
31966 echo $ECHO_N "(cached) $ECHO_C" >&6
31967 else
31968 ac_check_lib_save_LIBS=$LIBS
31969 LIBS="-lposix $LIBS"
31970 cat >conftest.$ac_ext <<_ACEOF
31971 /* confdefs.h. */
31972 _ACEOF
31973 cat confdefs.h >>conftest.$ac_ext
31974 cat >>conftest.$ac_ext <<_ACEOF
31975 /* end confdefs.h. */
31976
31977 /* Override any gcc2 internal prototype to avoid an error. */
31978 #ifdef __cplusplus
31979 extern "C"
31980 #endif
31981 /* We use char because int might match the return type of a gcc2
31982 builtin and then its argument prototype would still apply. */
31983 char remove ();
31984 int
31985 main ()
31986 {
31987 remove ();
31988 ;
31989 return 0;
31990 }
31991 _ACEOF
31992 rm -f conftest.$ac_objext conftest$ac_exeext
31993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31994 (eval $ac_link) 2>conftest.er1
31995 ac_status=$?
31996 grep -v '^ *+' conftest.er1 >conftest.err
31997 rm -f conftest.er1
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } &&
32001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32003 (eval $ac_try) 2>&5
32004 ac_status=$?
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); }; } &&
32007 { ac_try='test -s conftest$ac_exeext'
32008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32009 (eval $ac_try) 2>&5
32010 ac_status=$?
32011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32012 (exit $ac_status); }; }; then
32013 ac_cv_lib_posix_remove=yes
32014 else
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.$ac_ext >&5
32017
32018 ac_cv_lib_posix_remove=no
32019 fi
32020 rm -f conftest.err conftest.$ac_objext \
32021 conftest$ac_exeext conftest.$ac_ext
32022 LIBS=$ac_check_lib_save_LIBS
32023 fi
32024 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32025 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
32026 if test $ac_cv_lib_posix_remove = yes; then
32027 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32028 fi
32029
32030 fi
32031
32032 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32033 echo "$as_me:$LINENO: checking for shmat" >&5
32034 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
32035 if test "${ac_cv_func_shmat+set}" = set; then
32036 echo $ECHO_N "(cached) $ECHO_C" >&6
32037 else
32038 cat >conftest.$ac_ext <<_ACEOF
32039 /* confdefs.h. */
32040 _ACEOF
32041 cat confdefs.h >>conftest.$ac_ext
32042 cat >>conftest.$ac_ext <<_ACEOF
32043 /* end confdefs.h. */
32044 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32046 #define shmat innocuous_shmat
32047
32048 /* System header to define __stub macros and hopefully few prototypes,
32049 which can conflict with char shmat (); below.
32050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32051 <limits.h> exists even on freestanding compilers. */
32052
32053 #ifdef __STDC__
32054 # include <limits.h>
32055 #else
32056 # include <assert.h>
32057 #endif
32058
32059 #undef shmat
32060
32061 /* Override any gcc2 internal prototype to avoid an error. */
32062 #ifdef __cplusplus
32063 extern "C"
32064 {
32065 #endif
32066 /* We use char because int might match the return type of a gcc2
32067 builtin and then its argument prototype would still apply. */
32068 char shmat ();
32069 /* The GNU C library defines this for functions which it implements
32070 to always fail with ENOSYS. Some functions are actually named
32071 something starting with __ and the normal name is an alias. */
32072 #if defined (__stub_shmat) || defined (__stub___shmat)
32073 choke me
32074 #else
32075 char (*f) () = shmat;
32076 #endif
32077 #ifdef __cplusplus
32078 }
32079 #endif
32080
32081 int
32082 main ()
32083 {
32084 return f != shmat;
32085 ;
32086 return 0;
32087 }
32088 _ACEOF
32089 rm -f conftest.$ac_objext conftest$ac_exeext
32090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32091 (eval $ac_link) 2>conftest.er1
32092 ac_status=$?
32093 grep -v '^ *+' conftest.er1 >conftest.err
32094 rm -f conftest.er1
32095 cat conftest.err >&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); } &&
32098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32100 (eval $ac_try) 2>&5
32101 ac_status=$?
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; } &&
32104 { ac_try='test -s conftest$ac_exeext'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32107 ac_status=$?
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; }; then
32110 ac_cv_func_shmat=yes
32111 else
32112 echo "$as_me: failed program was:" >&5
32113 sed 's/^/| /' conftest.$ac_ext >&5
32114
32115 ac_cv_func_shmat=no
32116 fi
32117 rm -f conftest.err conftest.$ac_objext \
32118 conftest$ac_exeext conftest.$ac_ext
32119 fi
32120 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32121 echo "${ECHO_T}$ac_cv_func_shmat" >&6
32122
32123 if test $ac_cv_func_shmat = no; then
32124 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32125 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
32126 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32127 echo $ECHO_N "(cached) $ECHO_C" >&6
32128 else
32129 ac_check_lib_save_LIBS=$LIBS
32130 LIBS="-lipc $LIBS"
32131 cat >conftest.$ac_ext <<_ACEOF
32132 /* confdefs.h. */
32133 _ACEOF
32134 cat confdefs.h >>conftest.$ac_ext
32135 cat >>conftest.$ac_ext <<_ACEOF
32136 /* end confdefs.h. */
32137
32138 /* Override any gcc2 internal prototype to avoid an error. */
32139 #ifdef __cplusplus
32140 extern "C"
32141 #endif
32142 /* We use char because int might match the return type of a gcc2
32143 builtin and then its argument prototype would still apply. */
32144 char shmat ();
32145 int
32146 main ()
32147 {
32148 shmat ();
32149 ;
32150 return 0;
32151 }
32152 _ACEOF
32153 rm -f conftest.$ac_objext conftest$ac_exeext
32154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32155 (eval $ac_link) 2>conftest.er1
32156 ac_status=$?
32157 grep -v '^ *+' conftest.er1 >conftest.err
32158 rm -f conftest.er1
32159 cat conftest.err >&5
32160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32161 (exit $ac_status); } &&
32162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32164 (eval $ac_try) 2>&5
32165 ac_status=$?
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); }; } &&
32168 { ac_try='test -s conftest$ac_exeext'
32169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32170 (eval $ac_try) 2>&5
32171 ac_status=$?
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); }; }; then
32174 ac_cv_lib_ipc_shmat=yes
32175 else
32176 echo "$as_me: failed program was:" >&5
32177 sed 's/^/| /' conftest.$ac_ext >&5
32178
32179 ac_cv_lib_ipc_shmat=no
32180 fi
32181 rm -f conftest.err conftest.$ac_objext \
32182 conftest$ac_exeext conftest.$ac_ext
32183 LIBS=$ac_check_lib_save_LIBS
32184 fi
32185 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32186 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
32187 if test $ac_cv_lib_ipc_shmat = yes; then
32188 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32189 fi
32190
32191 fi
32192 fi
32193
32194 # Check for libraries that X11R6 Xt/Xaw programs need.
32195 ac_save_LDFLAGS=$LDFLAGS
32196 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32197 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32198 # check for ICE first), but we must link in the order -lSM -lICE or
32199 # we get undefined symbols. So assume we have SM if we have ICE.
32200 # These have to be linked with before -lX11, unlike the other
32201 # libraries we check for below, so use a different variable.
32202 # John Interrante, Karl Berry
32203 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32204 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
32205 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32207 else
32208 ac_check_lib_save_LIBS=$LIBS
32209 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32210 cat >conftest.$ac_ext <<_ACEOF
32211 /* confdefs.h. */
32212 _ACEOF
32213 cat confdefs.h >>conftest.$ac_ext
32214 cat >>conftest.$ac_ext <<_ACEOF
32215 /* end confdefs.h. */
32216
32217 /* Override any gcc2 internal prototype to avoid an error. */
32218 #ifdef __cplusplus
32219 extern "C"
32220 #endif
32221 /* We use char because int might match the return type of a gcc2
32222 builtin and then its argument prototype would still apply. */
32223 char IceConnectionNumber ();
32224 int
32225 main ()
32226 {
32227 IceConnectionNumber ();
32228 ;
32229 return 0;
32230 }
32231 _ACEOF
32232 rm -f conftest.$ac_objext conftest$ac_exeext
32233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32234 (eval $ac_link) 2>conftest.er1
32235 ac_status=$?
32236 grep -v '^ *+' conftest.er1 >conftest.err
32237 rm -f conftest.er1
32238 cat conftest.err >&5
32239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32240 (exit $ac_status); } &&
32241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32243 (eval $ac_try) 2>&5
32244 ac_status=$?
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); }; } &&
32247 { ac_try='test -s conftest$ac_exeext'
32248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32249 (eval $ac_try) 2>&5
32250 ac_status=$?
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); }; }; then
32253 ac_cv_lib_ICE_IceConnectionNumber=yes
32254 else
32255 echo "$as_me: failed program was:" >&5
32256 sed 's/^/| /' conftest.$ac_ext >&5
32257
32258 ac_cv_lib_ICE_IceConnectionNumber=no
32259 fi
32260 rm -f conftest.err conftest.$ac_objext \
32261 conftest$ac_exeext conftest.$ac_ext
32262 LIBS=$ac_check_lib_save_LIBS
32263 fi
32264 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32265 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
32266 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32267 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32268 fi
32269
32270 LDFLAGS=$ac_save_LDFLAGS
32271
32272 fi
32273
32274
32275 if test "$no_x" = "yes"; then
32276 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32277 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32278 { (exit 1); exit 1; }; }
32279 fi
32280
32281 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32282 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32283 AFMINSTALL=afminstall
32284 COMPILED_X_PROGRAM=0
32285
32286 fi
32287
32288 if test "$wxUSE_X11" = 1; then
32289 if test "$wxUSE_NANOX" = "yes"; then
32290 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32291 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
32292 if test "x$MICROWIN" = x ; then
32293 echo "$as_me:$LINENO: result: not found" >&5
32294 echo "${ECHO_T}not found" >&6
32295 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32296 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32297 { (exit 1); exit 1; }; }
32298 else
32299 echo "$as_me:$LINENO: result: $MICROWIN" >&5
32300 echo "${ECHO_T}$MICROWIN" >&6
32301 cat >>confdefs.h <<\_ACEOF
32302 #define wxUSE_NANOX 1
32303 _ACEOF
32304
32305 fi
32306 fi
32307
32308 if test "$wxUSE_UNICODE" = "yes"; then
32309
32310
32311 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32312 if test -n "$ac_tool_prefix"; then
32313 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32314 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32315 echo "$as_me:$LINENO: checking for $ac_word" >&5
32316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32317 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32318 echo $ECHO_N "(cached) $ECHO_C" >&6
32319 else
32320 case $PKG_CONFIG in
32321 [\\/]* | ?:[\\/]*)
32322 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32323 ;;
32324 *)
32325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32326 for as_dir in $PATH
32327 do
32328 IFS=$as_save_IFS
32329 test -z "$as_dir" && as_dir=.
32330 for ac_exec_ext in '' $ac_executable_extensions; do
32331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32332 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32334 break 2
32335 fi
32336 done
32337 done
32338
32339 ;;
32340 esac
32341 fi
32342 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32343
32344 if test -n "$PKG_CONFIG"; then
32345 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32346 echo "${ECHO_T}$PKG_CONFIG" >&6
32347 else
32348 echo "$as_me:$LINENO: result: no" >&5
32349 echo "${ECHO_T}no" >&6
32350 fi
32351
32352 fi
32353 if test -z "$ac_cv_path_PKG_CONFIG"; then
32354 ac_pt_PKG_CONFIG=$PKG_CONFIG
32355 # Extract the first word of "pkg-config", so it can be a program name with args.
32356 set dummy pkg-config; ac_word=$2
32357 echo "$as_me:$LINENO: checking for $ac_word" >&5
32358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32359 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32360 echo $ECHO_N "(cached) $ECHO_C" >&6
32361 else
32362 case $ac_pt_PKG_CONFIG in
32363 [\\/]* | ?:[\\/]*)
32364 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32365 ;;
32366 *)
32367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32368 for as_dir in $PATH
32369 do
32370 IFS=$as_save_IFS
32371 test -z "$as_dir" && as_dir=.
32372 for ac_exec_ext in '' $ac_executable_extensions; do
32373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32374 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32376 break 2
32377 fi
32378 done
32379 done
32380
32381 ;;
32382 esac
32383 fi
32384 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32385
32386 if test -n "$ac_pt_PKG_CONFIG"; then
32387 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32388 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
32389 else
32390 echo "$as_me:$LINENO: result: no" >&5
32391 echo "${ECHO_T}no" >&6
32392 fi
32393
32394 PKG_CONFIG=$ac_pt_PKG_CONFIG
32395 else
32396 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32397 fi
32398
32399 fi
32400 if test -n "$PKG_CONFIG"; then
32401 _pkg_min_version=0.9.0
32402 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32403 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
32404 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32405 echo "$as_me:$LINENO: result: yes" >&5
32406 echo "${ECHO_T}yes" >&6
32407 else
32408 echo "$as_me:$LINENO: result: no" >&5
32409 echo "${ECHO_T}no" >&6
32410 PKG_CONFIG=""
32411 fi
32412
32413 fi
32414
32415
32416 pkg_failed=no
32417 echo "$as_me:$LINENO: checking for PANGOX" >&5
32418 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
32419
32420 if test -n "$PKG_CONFIG"; then
32421 if test -n "$PANGOX_CFLAGS"; then
32422 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32423 else
32424 if test -n "$PKG_CONFIG" && \
32425 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32426 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32427 ac_status=$?
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); }; then
32430 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32431 else
32432 pkg_failed=yes
32433 fi
32434 fi
32435 else
32436 pkg_failed=untried
32437 fi
32438 if test -n "$PKG_CONFIG"; then
32439 if test -n "$PANGOX_LIBS"; then
32440 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32441 else
32442 if test -n "$PKG_CONFIG" && \
32443 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32444 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32445 ac_status=$?
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); }; then
32448 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32449 else
32450 pkg_failed=yes
32451 fi
32452 fi
32453 else
32454 pkg_failed=untried
32455 fi
32456
32457
32458
32459 if test $pkg_failed = yes; then
32460
32461 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32462 _pkg_short_errors_supported=yes
32463 else
32464 _pkg_short_errors_supported=no
32465 fi
32466 if test $_pkg_short_errors_supported = yes; then
32467 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32468 else
32469 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32470 fi
32471 # Put the nasty error message in config.log where it belongs
32472 echo "$PANGOX_PKG_ERRORS" >&5
32473
32474
32475 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32476 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32477 { (exit 1); exit 1; }; }
32478
32479
32480 elif test $pkg_failed = untried; then
32481
32482 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32483 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32484 { (exit 1); exit 1; }; }
32485
32486
32487 else
32488 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32489 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32490 echo "$as_me:$LINENO: result: yes" >&5
32491 echo "${ECHO_T}yes" >&6
32492
32493 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32494 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32495 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32496
32497 fi
32498
32499 pkg_failed=no
32500 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32501 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
32502
32503 if test -n "$PKG_CONFIG"; then
32504 if test -n "$PANGOFT2_CFLAGS"; then
32505 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32506 else
32507 if test -n "$PKG_CONFIG" && \
32508 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32509 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32510 ac_status=$?
32511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512 (exit $ac_status); }; then
32513 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32514 else
32515 pkg_failed=yes
32516 fi
32517 fi
32518 else
32519 pkg_failed=untried
32520 fi
32521 if test -n "$PKG_CONFIG"; then
32522 if test -n "$PANGOFT2_LIBS"; then
32523 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32524 else
32525 if test -n "$PKG_CONFIG" && \
32526 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32527 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32528 ac_status=$?
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); }; then
32531 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32532 else
32533 pkg_failed=yes
32534 fi
32535 fi
32536 else
32537 pkg_failed=untried
32538 fi
32539
32540
32541
32542 if test $pkg_failed = yes; then
32543
32544 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32545 _pkg_short_errors_supported=yes
32546 else
32547 _pkg_short_errors_supported=no
32548 fi
32549 if test $_pkg_short_errors_supported = yes; then
32550 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32551 else
32552 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32553 fi
32554 # Put the nasty error message in config.log where it belongs
32555 echo "$PANGOFT2_PKG_ERRORS" >&5
32556
32557
32558 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32559 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32560 wxUSE_PRINTING_ARCHITECTURE="no"
32561
32562
32563 elif test $pkg_failed = untried; then
32564
32565 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32566 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32567 wxUSE_PRINTING_ARCHITECTURE="no"
32568
32569
32570 else
32571 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32572 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32573 echo "$as_me:$LINENO: result: yes" >&5
32574 echo "${ECHO_T}yes" >&6
32575
32576 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32577 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32578 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32579
32580 fi
32581
32582 pkg_failed=no
32583 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32584 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
32585
32586 if test -n "$PKG_CONFIG"; then
32587 if test -n "$PANGOXFT_CFLAGS"; then
32588 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32589 else
32590 if test -n "$PKG_CONFIG" && \
32591 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32592 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32593 ac_status=$?
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); }; then
32596 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32597 else
32598 pkg_failed=yes
32599 fi
32600 fi
32601 else
32602 pkg_failed=untried
32603 fi
32604 if test -n "$PKG_CONFIG"; then
32605 if test -n "$PANGOXFT_LIBS"; then
32606 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32607 else
32608 if test -n "$PKG_CONFIG" && \
32609 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32610 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32611 ac_status=$?
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); }; then
32614 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32615 else
32616 pkg_failed=yes
32617 fi
32618 fi
32619 else
32620 pkg_failed=untried
32621 fi
32622
32623
32624
32625 if test $pkg_failed = yes; then
32626
32627 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32628 _pkg_short_errors_supported=yes
32629 else
32630 _pkg_short_errors_supported=no
32631 fi
32632 if test $_pkg_short_errors_supported = yes; then
32633 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32634 else
32635 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32636 fi
32637 # Put the nasty error message in config.log where it belongs
32638 echo "$PANGOXFT_PKG_ERRORS" >&5
32639
32640
32641 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32642 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32643
32644
32645 elif test $pkg_failed = untried; then
32646
32647 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32648 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32649
32650
32651 else
32652 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32653 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32654 echo "$as_me:$LINENO: result: yes" >&5
32655 echo "${ECHO_T}yes" >&6
32656
32657 cat >>confdefs.h <<\_ACEOF
32658 #define HAVE_PANGO_XFT 1
32659 _ACEOF
32660
32661 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32662 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32663 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32664
32665 fi
32666 save_LIBS="$LIBS"
32667 LIBS="$LIBS $PANGOX_LIBS"
32668
32669 for ac_func in pango_font_family_is_monospace
32670 do
32671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32672 echo "$as_me:$LINENO: checking for $ac_func" >&5
32673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32674 if eval "test \"\${$as_ac_var+set}\" = set"; then
32675 echo $ECHO_N "(cached) $ECHO_C" >&6
32676 else
32677 cat >conftest.$ac_ext <<_ACEOF
32678 /* confdefs.h. */
32679 _ACEOF
32680 cat confdefs.h >>conftest.$ac_ext
32681 cat >>conftest.$ac_ext <<_ACEOF
32682 /* end confdefs.h. */
32683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32685 #define $ac_func innocuous_$ac_func
32686
32687 /* System header to define __stub macros and hopefully few prototypes,
32688 which can conflict with char $ac_func (); below.
32689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32690 <limits.h> exists even on freestanding compilers. */
32691
32692 #ifdef __STDC__
32693 # include <limits.h>
32694 #else
32695 # include <assert.h>
32696 #endif
32697
32698 #undef $ac_func
32699
32700 /* Override any gcc2 internal prototype to avoid an error. */
32701 #ifdef __cplusplus
32702 extern "C"
32703 {
32704 #endif
32705 /* We use char because int might match the return type of a gcc2
32706 builtin and then its argument prototype would still apply. */
32707 char $ac_func ();
32708 /* The GNU C library defines this for functions which it implements
32709 to always fail with ENOSYS. Some functions are actually named
32710 something starting with __ and the normal name is an alias. */
32711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32712 choke me
32713 #else
32714 char (*f) () = $ac_func;
32715 #endif
32716 #ifdef __cplusplus
32717 }
32718 #endif
32719
32720 int
32721 main ()
32722 {
32723 return f != $ac_func;
32724 ;
32725 return 0;
32726 }
32727 _ACEOF
32728 rm -f conftest.$ac_objext conftest$ac_exeext
32729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32730 (eval $ac_link) 2>conftest.er1
32731 ac_status=$?
32732 grep -v '^ *+' conftest.er1 >conftest.err
32733 rm -f conftest.er1
32734 cat conftest.err >&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); } &&
32737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32740 ac_status=$?
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; } &&
32743 { ac_try='test -s conftest$ac_exeext'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32746 ac_status=$?
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; }; then
32749 eval "$as_ac_var=yes"
32750 else
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.$ac_ext >&5
32753
32754 eval "$as_ac_var=no"
32755 fi
32756 rm -f conftest.err conftest.$ac_objext \
32757 conftest$ac_exeext conftest.$ac_ext
32758 fi
32759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32761 if test `eval echo '${'$as_ac_var'}'` = yes; then
32762 cat >>confdefs.h <<_ACEOF
32763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32764 _ACEOF
32765
32766 fi
32767 done
32768
32769 LIBS="$save_LIBS"
32770 fi
32771
32772 wxUSE_UNIVERSAL="yes"
32773
32774 if test "$wxUSE_NANOX" = "yes"; then
32775 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32776 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"
32777 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32778 else
32779 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32780 fi
32781
32782 TOOLKIT=X11
32783 GUIDIST=X11_DIST
32784 fi
32785
32786 if test "$wxUSE_MOTIF" = 1; then
32787 if test "$wxUSE_UNICODE" = "yes"; then
32788 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
32789 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
32790 { (exit 1); exit 1; }; }
32791 fi
32792
32793 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32794 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
32795
32796 ac_find_includes=
32797 for ac_dir in $SEARCH_INCLUDE /usr/include;
32798 do
32799 if test -f "$ac_dir/Xm/Xm.h"; then
32800 ac_find_includes=$ac_dir
32801 break
32802 fi
32803 done
32804
32805 if test "$ac_find_includes" != "" ; then
32806 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32807 echo "${ECHO_T}found in $ac_find_includes" >&6
32808
32809 if test "x$ac_find_includes" = "x/usr/include"; then
32810 ac_path_to_include=""
32811 else
32812 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32813 result=$?
32814 if test $result = 0; then
32815 ac_path_to_include=""
32816 else
32817 ac_path_to_include=" -I$ac_find_includes"
32818 fi
32819 fi
32820
32821 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32822 else
32823 save_CFLAGS=$CFLAGS
32824 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32825
32826 cat >conftest.$ac_ext <<_ACEOF
32827 /* confdefs.h. */
32828 _ACEOF
32829 cat confdefs.h >>conftest.$ac_ext
32830 cat >>conftest.$ac_ext <<_ACEOF
32831 /* end confdefs.h. */
32832
32833 #include <Xm/Xm.h>
32834
32835 int
32836 main ()
32837 {
32838
32839 int version;
32840 version = xmUseVersion;
32841
32842 ;
32843 return 0;
32844 }
32845 _ACEOF
32846 rm -f conftest.$ac_objext
32847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32848 (eval $ac_compile) 2>conftest.er1
32849 ac_status=$?
32850 grep -v '^ *+' conftest.er1 >conftest.err
32851 rm -f conftest.er1
32852 cat conftest.err >&5
32853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32854 (exit $ac_status); } &&
32855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32857 (eval $ac_try) 2>&5
32858 ac_status=$?
32859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860 (exit $ac_status); }; } &&
32861 { ac_try='test -s conftest.$ac_objext'
32862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32863 (eval $ac_try) 2>&5
32864 ac_status=$?
32865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32866 (exit $ac_status); }; }; then
32867
32868 echo "$as_me:$LINENO: result: found in default search path" >&5
32869 echo "${ECHO_T}found in default search path" >&6
32870 COMPILED_X_PROGRAM=1
32871
32872 else
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.$ac_ext >&5
32875
32876
32877 echo "$as_me:$LINENO: result: no" >&5
32878 echo "${ECHO_T}no" >&6
32879 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32880 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32881 { (exit 1); exit 1; }; }
32882
32883
32884 fi
32885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32886
32887 CFLAGS=$save_CFLAGS
32888 fi
32889
32890
32891 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32892 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
32893
32894 ac_find_libraries=
32895 for ac_dir in $SEARCH_LIB;
32896 do
32897 for ac_extension in a so sl dylib dll.a; do
32898 if test -f "$ac_dir/libXm.$ac_extension"; then
32899 ac_find_libraries=$ac_dir
32900 break 2
32901 fi
32902 done
32903 done
32904
32905
32906 if test "x$ac_find_libraries" != "x" ; then
32907 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32908 echo "${ECHO_T}found in $ac_find_libraries" >&6
32909
32910
32911 if test "$ac_find_libraries" = "default location"; then
32912 ac_path_to_link=""
32913 else
32914 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32915 result=$?
32916 if test $result = 0; then
32917 ac_path_to_link=""
32918 else
32919 ac_path_to_link=" -L$ac_find_libraries"
32920 fi
32921 fi
32922
32923 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32924 else
32925 save_CFLAGS=$CFLAGS
32926 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32927 save_LIBS="$LIBS"
32928 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32929
32930 cat >conftest.$ac_ext <<_ACEOF
32931 /* confdefs.h. */
32932 _ACEOF
32933 cat confdefs.h >>conftest.$ac_ext
32934 cat >>conftest.$ac_ext <<_ACEOF
32935 /* end confdefs.h. */
32936
32937 #include <Xm/Xm.h>
32938
32939 int
32940 main ()
32941 {
32942
32943 int version;
32944 version = xmUseVersion;
32945
32946 ;
32947 return 0;
32948 }
32949 _ACEOF
32950 rm -f conftest.$ac_objext conftest$ac_exeext
32951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32952 (eval $ac_link) 2>conftest.er1
32953 ac_status=$?
32954 grep -v '^ *+' conftest.er1 >conftest.err
32955 rm -f conftest.er1
32956 cat conftest.err >&5
32957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32958 (exit $ac_status); } &&
32959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32961 (eval $ac_try) 2>&5
32962 ac_status=$?
32963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32964 (exit $ac_status); }; } &&
32965 { ac_try='test -s conftest$ac_exeext'
32966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32967 (eval $ac_try) 2>&5
32968 ac_status=$?
32969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32970 (exit $ac_status); }; }; then
32971
32972 echo "$as_me:$LINENO: result: found in default search path" >&5
32973 echo "${ECHO_T}found in default search path" >&6
32974 COMPILED_X_PROGRAM=1
32975
32976 else
32977 echo "$as_me: failed program was:" >&5
32978 sed 's/^/| /' conftest.$ac_ext >&5
32979
32980
32981 echo "$as_me:$LINENO: result: no" >&5
32982 echo "${ECHO_T}no" >&6
32983 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32984 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32985 { (exit 1); exit 1; }; }
32986
32987
32988 fi
32989 rm -f conftest.err conftest.$ac_objext \
32990 conftest$ac_exeext conftest.$ac_ext
32991
32992 CFLAGS=$save_CFLAGS
32993 LIBS="$save_LIBS"
32994 fi
32995
32996 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32997 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
32998 libp_link=""
32999 libsm_ice_link=""
33000 libs_found=0
33001 for libp in "" " -lXp"; do
33002 if test "$libs_found" = "0"; then
33003 for libsm_ice in "" " -lSM -lICE"; do
33004 if test "$libs_found" = "0"; then
33005 save_LIBS="$LIBS"
33006 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33007 save_CFLAGS=$CFLAGS
33008 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33009
33010 cat >conftest.$ac_ext <<_ACEOF
33011 /* confdefs.h. */
33012 _ACEOF
33013 cat confdefs.h >>conftest.$ac_ext
33014 cat >>conftest.$ac_ext <<_ACEOF
33015 /* end confdefs.h. */
33016
33017 #include <Xm/Xm.h>
33018 #include <Xm/List.h>
33019
33020 int
33021 main ()
33022 {
33023
33024 XmString string = NULL;
33025 Widget w = NULL;
33026 int position = 0;
33027 XmListAddItem(w, string, position);
33028
33029 ;
33030 return 0;
33031 }
33032 _ACEOF
33033 rm -f conftest.$ac_objext conftest$ac_exeext
33034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33035 (eval $ac_link) 2>conftest.er1
33036 ac_status=$?
33037 grep -v '^ *+' conftest.er1 >conftest.err
33038 rm -f conftest.er1
33039 cat conftest.err >&5
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); } &&
33042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33044 (eval $ac_try) 2>&5
33045 ac_status=$?
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); }; } &&
33048 { ac_try='test -s conftest$ac_exeext'
33049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33050 (eval $ac_try) 2>&5
33051 ac_status=$?
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); }; }; then
33054
33055 libp_link="$libp"
33056 libsm_ice_link="$libsm_ice"
33057 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33058 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
33059 libs_found=1
33060
33061 else
33062 echo "$as_me: failed program was:" >&5
33063 sed 's/^/| /' conftest.$ac_ext >&5
33064
33065
33066
33067 fi
33068 rm -f conftest.err conftest.$ac_objext \
33069 conftest$ac_exeext conftest.$ac_ext
33070
33071 LIBS="$save_LIBS"
33072 CFLAGS=$save_CFLAGS
33073 fi
33074 done
33075 fi
33076 done
33077
33078 if test "$libs_found" = "0"; then
33079 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33080 echo "${ECHO_T}can't find the right libraries" >&6
33081 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33082 echo "$as_me: error: can't link a simple motif program" >&2;}
33083 { (exit 1); exit 1; }; }
33084 fi
33085
33086 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33087 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
33088 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33089 echo $ECHO_N "(cached) $ECHO_C" >&6
33090 else
33091 ac_check_lib_save_LIBS=$LIBS
33092 LIBS="-lSgm $LIBS"
33093 cat >conftest.$ac_ext <<_ACEOF
33094 /* confdefs.h. */
33095 _ACEOF
33096 cat confdefs.h >>conftest.$ac_ext
33097 cat >>conftest.$ac_ext <<_ACEOF
33098 /* end confdefs.h. */
33099
33100 /* Override any gcc2 internal prototype to avoid an error. */
33101 #ifdef __cplusplus
33102 extern "C"
33103 #endif
33104 /* We use char because int might match the return type of a gcc2
33105 builtin and then its argument prototype would still apply. */
33106 char SgCreateList ();
33107 int
33108 main ()
33109 {
33110 SgCreateList ();
33111 ;
33112 return 0;
33113 }
33114 _ACEOF
33115 rm -f conftest.$ac_objext conftest$ac_exeext
33116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33117 (eval $ac_link) 2>conftest.er1
33118 ac_status=$?
33119 grep -v '^ *+' conftest.er1 >conftest.err
33120 rm -f conftest.er1
33121 cat conftest.err >&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } &&
33124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33126 (eval $ac_try) 2>&5
33127 ac_status=$?
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); }; } &&
33130 { ac_try='test -s conftest$ac_exeext'
33131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33132 (eval $ac_try) 2>&5
33133 ac_status=$?
33134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135 (exit $ac_status); }; }; then
33136 ac_cv_lib_Sgm_SgCreateList=yes
33137 else
33138 echo "$as_me: failed program was:" >&5
33139 sed 's/^/| /' conftest.$ac_ext >&5
33140
33141 ac_cv_lib_Sgm_SgCreateList=no
33142 fi
33143 rm -f conftest.err conftest.$ac_objext \
33144 conftest$ac_exeext conftest.$ac_ext
33145 LIBS=$ac_check_lib_save_LIBS
33146 fi
33147 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33148 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
33149 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33150 libsgm_link=" -lSgm"
33151 fi
33152
33153
33154 save_CFLAGS=$CFLAGS
33155 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33156
33157 echo "$as_me:$LINENO: checking for Motif 2" >&5
33158 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
33159 if test "${wx_cv_lib_motif2+set}" = set; then
33160 echo $ECHO_N "(cached) $ECHO_C" >&6
33161 else
33162 cat >conftest.$ac_ext <<_ACEOF
33163 /* confdefs.h. */
33164 _ACEOF
33165 cat confdefs.h >>conftest.$ac_ext
33166 cat >>conftest.$ac_ext <<_ACEOF
33167 /* end confdefs.h. */
33168
33169 #include <Xm/Xm.h>
33170
33171 int
33172 main ()
33173 {
33174
33175 #if XmVersion < 2000
33176 Not Motif 2
33177 #endif
33178
33179 ;
33180 return 0;
33181 }
33182 _ACEOF
33183 rm -f conftest.$ac_objext
33184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33185 (eval $ac_compile) 2>conftest.er1
33186 ac_status=$?
33187 grep -v '^ *+' conftest.er1 >conftest.err
33188 rm -f conftest.er1
33189 cat conftest.err >&5
33190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33191 (exit $ac_status); } &&
33192 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33194 (eval $ac_try) 2>&5
33195 ac_status=$?
33196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33197 (exit $ac_status); }; } &&
33198 { ac_try='test -s conftest.$ac_objext'
33199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33200 (eval $ac_try) 2>&5
33201 ac_status=$?
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); }; }; then
33204 wx_cv_lib_motif2="yes"
33205 else
33206 echo "$as_me: failed program was:" >&5
33207 sed 's/^/| /' conftest.$ac_ext >&5
33208
33209 wx_cv_lib_motif2="no"
33210 fi
33211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33212 fi
33213 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33214 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
33215 if test "$wx_cv_lib_motif2" = "yes"; then
33216 cat >>confdefs.h <<\_ACEOF
33217 #define __WXMOTIF20__ 1
33218 _ACEOF
33219
33220 else
33221 cat >>confdefs.h <<\_ACEOF
33222 #define __WXMOTIF20__ 0
33223 _ACEOF
33224
33225 fi
33226
33227 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33228 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
33229 if test "${wx_cv_lib_lesstif+set}" = set; then
33230 echo $ECHO_N "(cached) $ECHO_C" >&6
33231 else
33232 cat >conftest.$ac_ext <<_ACEOF
33233 /* confdefs.h. */
33234 _ACEOF
33235 cat confdefs.h >>conftest.$ac_ext
33236 cat >>conftest.$ac_ext <<_ACEOF
33237 /* end confdefs.h. */
33238
33239 #include <Xm/Xm.h>
33240
33241 int
33242 main ()
33243 {
33244
33245 #if !defined(LesstifVersion) || LesstifVersion <= 0
33246 Not Lesstif
33247 #endif
33248
33249 ;
33250 return 0;
33251 }
33252 _ACEOF
33253 rm -f conftest.$ac_objext
33254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33255 (eval $ac_compile) 2>conftest.er1
33256 ac_status=$?
33257 grep -v '^ *+' conftest.er1 >conftest.err
33258 rm -f conftest.er1
33259 cat conftest.err >&5
33260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33261 (exit $ac_status); } &&
33262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33264 (eval $ac_try) 2>&5
33265 ac_status=$?
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; } &&
33268 { ac_try='test -s conftest.$ac_objext'
33269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33270 (eval $ac_try) 2>&5
33271 ac_status=$?
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); }; }; then
33274 wx_cv_lib_lesstif="yes"
33275 else
33276 echo "$as_me: failed program was:" >&5
33277 sed 's/^/| /' conftest.$ac_ext >&5
33278
33279 wx_cv_lib_lesstif="no"
33280 fi
33281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33282
33283 fi
33284 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33285 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
33286 if test "$wx_cv_lib_lesstif" = "yes"; then
33287 cat >>confdefs.h <<\_ACEOF
33288 #define __WXLESSTIF__ 1
33289 _ACEOF
33290
33291 else
33292 cat >>confdefs.h <<\_ACEOF
33293 #define __WXLESSTIF__ 0
33294 _ACEOF
33295
33296 fi
33297
33298 CFLAGS=$save_CFLAGS
33299
33300 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33301 TOOLKIT=MOTIF
33302 GUIDIST=MOTIF_DIST
33303 fi
33304
33305 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33306 if test "$wxUSE_LIBXPM" = "sys"; then
33307 echo "$as_me:$LINENO: checking for Xpm library" >&5
33308 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
33309
33310 ac_find_libraries=
33311 for ac_dir in $SEARCH_LIB;
33312 do
33313 for ac_extension in a so sl dylib dll.a; do
33314 if test -f "$ac_dir/libXpm.$ac_extension"; then
33315 ac_find_libraries=$ac_dir
33316 break 2
33317 fi
33318 done
33319 done
33320
33321 if test "$ac_find_libraries" != "" ; then
33322
33323 if test "$ac_find_libraries" = "default location"; then
33324 ac_path_to_link=""
33325 else
33326 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33327 result=$?
33328 if test $result = 0; then
33329 ac_path_to_link=""
33330 else
33331 ac_path_to_link=" -L$ac_find_libraries"
33332 fi
33333 fi
33334
33335 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33336 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33337 echo "${ECHO_T}found in $ac_find_libraries" >&6
33338
33339 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33340 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
33341 if test "${wx_cv_x11_xpm_h+set}" = set; then
33342 echo $ECHO_N "(cached) $ECHO_C" >&6
33343 else
33344
33345 save_CFLAGS=$CFLAGS
33346 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33347
33348 cat >conftest.$ac_ext <<_ACEOF
33349 /* confdefs.h. */
33350 _ACEOF
33351 cat confdefs.h >>conftest.$ac_ext
33352 cat >>conftest.$ac_ext <<_ACEOF
33353 /* end confdefs.h. */
33354
33355 #include <X11/xpm.h>
33356
33357 int
33358 main ()
33359 {
33360
33361 int version;
33362 version = XpmLibraryVersion();
33363
33364 ;
33365 return 0;
33366 }
33367 _ACEOF
33368 rm -f conftest.$ac_objext
33369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33370 (eval $ac_compile) 2>conftest.er1
33371 ac_status=$?
33372 grep -v '^ *+' conftest.er1 >conftest.err
33373 rm -f conftest.er1
33374 cat conftest.err >&5
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); } &&
33377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379 (eval $ac_try) 2>&5
33380 ac_status=$?
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; } &&
33383 { ac_try='test -s conftest.$ac_objext'
33384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33385 (eval $ac_try) 2>&5
33386 ac_status=$?
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); }; }; then
33389 wx_cv_x11_xpm_h=yes
33390 else
33391 echo "$as_me: failed program was:" >&5
33392 sed 's/^/| /' conftest.$ac_ext >&5
33393
33394 wx_cv_x11_xpm_h=no
33395
33396 fi
33397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33398
33399 CFLAGS=$save_CFLAGS
33400
33401
33402 fi
33403 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33404 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
33405
33406 if test $wx_cv_x11_xpm_h = "yes"; then
33407 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33408 cat >>confdefs.h <<\_ACEOF
33409 #define wxHAVE_LIB_XPM 1
33410 _ACEOF
33411
33412 else
33413 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33414 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33415 fi
33416 fi
33417
33418 fi
33419
33420 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33421 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
33422 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33423 echo $ECHO_N "(cached) $ECHO_C" >&6
33424 else
33425 ac_check_lib_save_LIBS=$LIBS
33426 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33427 cat >conftest.$ac_ext <<_ACEOF
33428 /* confdefs.h. */
33429 _ACEOF
33430 cat confdefs.h >>conftest.$ac_ext
33431 cat >>conftest.$ac_ext <<_ACEOF
33432 /* end confdefs.h. */
33433
33434 /* Override any gcc2 internal prototype to avoid an error. */
33435 #ifdef __cplusplus
33436 extern "C"
33437 #endif
33438 /* We use char because int might match the return type of a gcc2
33439 builtin and then its argument prototype would still apply. */
33440 char XShapeQueryExtension ();
33441 int
33442 main ()
33443 {
33444 XShapeQueryExtension ();
33445 ;
33446 return 0;
33447 }
33448 _ACEOF
33449 rm -f conftest.$ac_objext conftest$ac_exeext
33450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33451 (eval $ac_link) 2>conftest.er1
33452 ac_status=$?
33453 grep -v '^ *+' conftest.er1 >conftest.err
33454 rm -f conftest.er1
33455 cat conftest.err >&5
33456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33457 (exit $ac_status); } &&
33458 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33460 (eval $ac_try) 2>&5
33461 ac_status=$?
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); }; } &&
33464 { ac_try='test -s conftest$ac_exeext'
33465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33466 (eval $ac_try) 2>&5
33467 ac_status=$?
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); }; }; then
33470 ac_cv_lib_Xext_XShapeQueryExtension=yes
33471 else
33472 echo "$as_me: failed program was:" >&5
33473 sed 's/^/| /' conftest.$ac_ext >&5
33474
33475 ac_cv_lib_Xext_XShapeQueryExtension=no
33476 fi
33477 rm -f conftest.err conftest.$ac_objext \
33478 conftest$ac_exeext conftest.$ac_ext
33479 LIBS=$ac_check_lib_save_LIBS
33480 fi
33481 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33482 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
33483 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33484
33485 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33486 wxHAVE_XEXT_LIB=1
33487
33488 fi
33489
33490
33491 if test "$wxHAVE_XEXT_LIB" = 1; then
33492 save_CFLAGS="$CFLAGS"
33493 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33494
33495 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33496 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
33497 cat >conftest.$ac_ext <<_ACEOF
33498 /* confdefs.h. */
33499 _ACEOF
33500 cat confdefs.h >>conftest.$ac_ext
33501 cat >>conftest.$ac_ext <<_ACEOF
33502 /* end confdefs.h. */
33503
33504 #include <X11/Xlib.h>
33505 #include <X11/extensions/shape.h>
33506
33507 int
33508 main ()
33509 {
33510
33511 int dummy1, dummy2;
33512 XShapeQueryExtension((Display*)NULL,
33513 (int*)NULL, (int*)NULL);
33514
33515 ;
33516 return 0;
33517 }
33518 _ACEOF
33519 rm -f conftest.$ac_objext
33520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33521 (eval $ac_compile) 2>conftest.er1
33522 ac_status=$?
33523 grep -v '^ *+' conftest.er1 >conftest.err
33524 rm -f conftest.er1
33525 cat conftest.err >&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); } &&
33528 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33530 (eval $ac_try) 2>&5
33531 ac_status=$?
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); }; } &&
33534 { ac_try='test -s conftest.$ac_objext'
33535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33536 (eval $ac_try) 2>&5
33537 ac_status=$?
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; }; then
33540
33541 cat >>confdefs.h <<\_ACEOF
33542 #define HAVE_XSHAPE 1
33543 _ACEOF
33544
33545 echo "$as_me:$LINENO: result: found" >&5
33546 echo "${ECHO_T}found" >&6
33547
33548 else
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33551
33552
33553 echo "$as_me:$LINENO: result: not found" >&5
33554 echo "${ECHO_T}not found" >&6
33555
33556 fi
33557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33558 CFLAGS="$save_CFLAGS"
33559
33560 fi
33561 fi
33562
33563 if test "$wxUSE_MAC" = 1; then
33564 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33565 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
33566 if test "$GCC" = yes; then
33567 echo "$as_me:$LINENO: result: gcc" >&5
33568 echo "${ECHO_T}gcc" >&6
33569 CPPFLAGS_PASCAL="-fpascal-strings"
33570 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33571 echo "$as_me:$LINENO: result: xlc" >&5
33572 echo "${ECHO_T}xlc" >&6
33573 CPPFLAGS_PASCAL="-qmacpstr"
33574 else
33575 echo "$as_me:$LINENO: result: none" >&5
33576 echo "${ECHO_T}none" >&6
33577 fi
33578
33579 if test "x$wxUSE_UNIX" = "xyes"; then
33580 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33581 else
33582 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
33583 fi
33584
33585 TOOLKIT=MAC
33586 GUIDIST=MACX_DIST
33587 WXBASEPORT="_carbon"
33588 fi
33589
33590 if test "$wxUSE_COCOA" = 1; then
33591 TOOLKIT=COCOA
33592 GUIDIST=COCOA_DIST
33593 fi
33594
33595 if test "$wxUSE_PM" = 1; then
33596 TOOLKIT=PM
33597 GUIDIST=PM_DIST
33598 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33599 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
33600 if test "${wx_cv_spbcdata+set}" = set; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33602 else
33603
33604 cat >conftest.$ac_ext <<_ACEOF
33605 /* confdefs.h. */
33606 _ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610
33611 #define INCL_PM
33612 #include <os2.h>
33613
33614 int
33615 main ()
33616 {
33617
33618 SPBCDATA test;
33619
33620 ;
33621 return 0;
33622 }
33623 _ACEOF
33624 rm -f conftest.$ac_objext
33625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33626 (eval $ac_compile) 2>conftest.er1
33627 ac_status=$?
33628 grep -v '^ *+' conftest.er1 >conftest.err
33629 rm -f conftest.er1
33630 cat conftest.err >&5
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); } &&
33633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33635 (eval $ac_try) 2>&5
33636 ac_status=$?
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); }; } &&
33639 { ac_try='test -s conftest.$ac_objext'
33640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33641 (eval $ac_try) 2>&5
33642 ac_status=$?
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); }; }; then
33645 wx_cv_spbcdata=yes
33646 else
33647 echo "$as_me: failed program was:" >&5
33648 sed 's/^/| /' conftest.$ac_ext >&5
33649
33650 wx_cv_spbcdata=no
33651
33652 fi
33653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33654
33655
33656 fi
33657 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33658 echo "${ECHO_T}$wx_cv_spbcdata" >&6
33659
33660 if test $wx_cv_spbcdata = "yes"; then
33661 cat >>confdefs.h <<\_ACEOF
33662 #define HAVE_SPBCDATA 1
33663 _ACEOF
33664
33665 fi
33666 fi
33667
33668 if test "$TOOLKIT" = "PM" ; then
33669 TOOLKIT_DIR="os2"
33670 else
33671 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
33672 fi
33673
33674 if test "$wxUSE_UNIVERSAL" = "yes"; then
33675 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33676 WIDGET_SET=univ
33677 fi
33678
33679 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33680 DISTDIR="wx\$(TOOLKIT)"
33681 else
33682 USE_GUI=0
33683
33684 TOOLKIT_DIR="base"
33685
33686 if test "$USE_WIN32" = 1 ; then
33687 TOOLKIT="MSW"
33688 fi
33689
33690 GUIDIST="BASE_DIST"
33691 DISTDIR="wxBase"
33692 fi
33693
33694
33695
33696 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33697 if test "$TOOLKIT" = "DFB" ; then
33698 wxUSE_UNICODE_UTF8=yes
33699 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
33700 wxUSE_UNICODE_UTF8=yes
33701 elif test "$USE_OS2" = "1" ; then
33702 wxUSE_UNICODE_UTF8=yes
33703 else
33704 wxUSE_UNICODE_UTF8=no
33705 fi
33706 fi
33707
33708
33709 if test "$wxUSE_GUI" = "yes"; then
33710 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33711 echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
33712 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6
33713 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
33714 echo $ECHO_N "(cached) $ECHO_C" >&6
33715 else
33716 cat >conftest.$ac_ext <<_ACEOF
33717 /* confdefs.h. */
33718 _ACEOF
33719 cat confdefs.h >>conftest.$ac_ext
33720 cat >>conftest.$ac_ext <<_ACEOF
33721 /* end confdefs.h. */
33722
33723
33724 #include <X11/Xlib.h>
33725 _ACEOF
33726 rm -f conftest.$ac_objext
33727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33728 (eval $ac_compile) 2>conftest.er1
33729 ac_status=$?
33730 grep -v '^ *+' conftest.er1 >conftest.err
33731 rm -f conftest.er1
33732 cat conftest.err >&5
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); } &&
33735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33737 (eval $ac_try) 2>&5
33738 ac_status=$?
33739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33740 (exit $ac_status); }; } &&
33741 { ac_try='test -s conftest.$ac_objext'
33742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33743 (eval $ac_try) 2>&5
33744 ac_status=$?
33745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33746 (exit $ac_status); }; }; then
33747 ac_cv_header_X11_Xlib_h=yes
33748 else
33749 echo "$as_me: failed program was:" >&5
33750 sed 's/^/| /' conftest.$ac_ext >&5
33751
33752 ac_cv_header_X11_Xlib_h=no
33753 fi
33754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33755 fi
33756 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
33757 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6
33758
33759
33760 echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
33761 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6
33762 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33764 else
33765 cat >conftest.$ac_ext <<_ACEOF
33766 /* confdefs.h. */
33767 _ACEOF
33768 cat confdefs.h >>conftest.$ac_ext
33769 cat >>conftest.$ac_ext <<_ACEOF
33770 /* end confdefs.h. */
33771
33772 #if HAVE_X11_XLIB_H
33773 #include <X11/Xlib.h>
33774 #endif
33775
33776
33777 #include <X11/XKBlib.h>
33778 _ACEOF
33779 rm -f conftest.$ac_objext
33780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33781 (eval $ac_compile) 2>conftest.er1
33782 ac_status=$?
33783 grep -v '^ *+' conftest.er1 >conftest.err
33784 rm -f conftest.er1
33785 cat conftest.err >&5
33786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787 (exit $ac_status); } &&
33788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33790 (eval $ac_try) 2>&5
33791 ac_status=$?
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); }; } &&
33794 { ac_try='test -s conftest.$ac_objext'
33795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796 (eval $ac_try) 2>&5
33797 ac_status=$?
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); }; }; then
33800 ac_cv_header_X11_XKBlib_h=yes
33801 else
33802 echo "$as_me: failed program was:" >&5
33803 sed 's/^/| /' conftest.$ac_ext >&5
33804
33805 ac_cv_header_X11_XKBlib_h=no
33806 fi
33807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33808 fi
33809 echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
33810 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6
33811
33812
33813 fi
33814 fi
33815
33816
33817
33818 IODBC_C_SRC=""
33819
33820
33821 if test "$TOOLKIT" != "MSW" ; then
33822
33823 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
33824
33825 echo "$as_me:$LINENO: checking for sql.h" >&5
33826 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33827 if test "${ac_cv_header_sql_h+set}" = set; then
33828 echo $ECHO_N "(cached) $ECHO_C" >&6
33829 else
33830 cat >conftest.$ac_ext <<_ACEOF
33831 /* confdefs.h. */
33832 _ACEOF
33833 cat confdefs.h >>conftest.$ac_ext
33834 cat >>conftest.$ac_ext <<_ACEOF
33835 /* end confdefs.h. */
33836
33837
33838 #include <sql.h>
33839 _ACEOF
33840 rm -f conftest.$ac_objext
33841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33842 (eval $ac_compile) 2>conftest.er1
33843 ac_status=$?
33844 grep -v '^ *+' conftest.er1 >conftest.err
33845 rm -f conftest.er1
33846 cat conftest.err >&5
33847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33848 (exit $ac_status); } &&
33849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33851 (eval $ac_try) 2>&5
33852 ac_status=$?
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); }; } &&
33855 { ac_try='test -s conftest.$ac_objext'
33856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33857 (eval $ac_try) 2>&5
33858 ac_status=$?
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); }; }; then
33861 ac_cv_header_sql_h=yes
33862 else
33863 echo "$as_me: failed program was:" >&5
33864 sed 's/^/| /' conftest.$ac_ext >&5
33865
33866 ac_cv_header_sql_h=no
33867 fi
33868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33869 fi
33870 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33871 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33872 if test $ac_cv_header_sql_h = yes; then
33873 found_sql_h=1
33874 fi
33875
33876
33877 if test "x$found_sql_h" = "x1" ; then
33878 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33879 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
33880 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33881 echo $ECHO_N "(cached) $ECHO_C" >&6
33882 else
33883 ac_check_lib_save_LIBS=$LIBS
33884 LIBS="-liodbc $LIBS"
33885 cat >conftest.$ac_ext <<_ACEOF
33886 /* confdefs.h. */
33887 _ACEOF
33888 cat confdefs.h >>conftest.$ac_ext
33889 cat >>conftest.$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33891
33892 /* Override any gcc2 internal prototype to avoid an error. */
33893 #ifdef __cplusplus
33894 extern "C"
33895 #endif
33896 /* We use char because int might match the return type of a gcc2
33897 builtin and then its argument prototype would still apply. */
33898 char SQLAllocEnv ();
33899 int
33900 main ()
33901 {
33902 SQLAllocEnv ();
33903 ;
33904 return 0;
33905 }
33906 _ACEOF
33907 rm -f conftest.$ac_objext conftest$ac_exeext
33908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33909 (eval $ac_link) 2>conftest.er1
33910 ac_status=$?
33911 grep -v '^ *+' conftest.er1 >conftest.err
33912 rm -f conftest.er1
33913 cat conftest.err >&5
33914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33915 (exit $ac_status); } &&
33916 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33918 (eval $ac_try) 2>&5
33919 ac_status=$?
33920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33921 (exit $ac_status); }; } &&
33922 { ac_try='test -s conftest$ac_exeext'
33923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33924 (eval $ac_try) 2>&5
33925 ac_status=$?
33926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33927 (exit $ac_status); }; }; then
33928 ac_cv_lib_iodbc_SQLAllocEnv=yes
33929 else
33930 echo "$as_me: failed program was:" >&5
33931 sed 's/^/| /' conftest.$ac_ext >&5
33932
33933 ac_cv_lib_iodbc_SQLAllocEnv=no
33934 fi
33935 rm -f conftest.err conftest.$ac_objext \
33936 conftest$ac_exeext conftest.$ac_ext
33937 LIBS=$ac_check_lib_save_LIBS
33938 fi
33939 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33940 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33941 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33942 ODBC_LINK=" -liodbc"
33943 else
33944
33945 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33946 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33947 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33948 echo $ECHO_N "(cached) $ECHO_C" >&6
33949 else
33950 ac_check_lib_save_LIBS=$LIBS
33951 LIBS="-lunixodbc $LIBS"
33952 cat >conftest.$ac_ext <<_ACEOF
33953 /* confdefs.h. */
33954 _ACEOF
33955 cat confdefs.h >>conftest.$ac_ext
33956 cat >>conftest.$ac_ext <<_ACEOF
33957 /* end confdefs.h. */
33958
33959 /* Override any gcc2 internal prototype to avoid an error. */
33960 #ifdef __cplusplus
33961 extern "C"
33962 #endif
33963 /* We use char because int might match the return type of a gcc2
33964 builtin and then its argument prototype would still apply. */
33965 char SQLAllocEnv ();
33966 int
33967 main ()
33968 {
33969 SQLAllocEnv ();
33970 ;
33971 return 0;
33972 }
33973 _ACEOF
33974 rm -f conftest.$ac_objext conftest$ac_exeext
33975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33976 (eval $ac_link) 2>conftest.er1
33977 ac_status=$?
33978 grep -v '^ *+' conftest.er1 >conftest.err
33979 rm -f conftest.er1
33980 cat conftest.err >&5
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); } &&
33983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33985 (eval $ac_try) 2>&5
33986 ac_status=$?
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); }; } &&
33989 { ac_try='test -s conftest$ac_exeext'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33992 ac_status=$?
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; }; then
33995 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33996 else
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.$ac_ext >&5
33999
34000 ac_cv_lib_unixodbc_SQLAllocEnv=no
34001 fi
34002 rm -f conftest.err conftest.$ac_objext \
34003 conftest$ac_exeext conftest.$ac_ext
34004 LIBS=$ac_check_lib_save_LIBS
34005 fi
34006 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34007 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
34008 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34009 ODBC_LINK=" -lunixodbc"
34010 else
34011
34012 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34013 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
34014 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34015 echo $ECHO_N "(cached) $ECHO_C" >&6
34016 else
34017 ac_check_lib_save_LIBS=$LIBS
34018 LIBS="-lodbc $LIBS"
34019 cat >conftest.$ac_ext <<_ACEOF
34020 /* confdefs.h. */
34021 _ACEOF
34022 cat confdefs.h >>conftest.$ac_ext
34023 cat >>conftest.$ac_ext <<_ACEOF
34024 /* end confdefs.h. */
34025
34026 /* Override any gcc2 internal prototype to avoid an error. */
34027 #ifdef __cplusplus
34028 extern "C"
34029 #endif
34030 /* We use char because int might match the return type of a gcc2
34031 builtin and then its argument prototype would still apply. */
34032 char SQLAllocEnv ();
34033 int
34034 main ()
34035 {
34036 SQLAllocEnv ();
34037 ;
34038 return 0;
34039 }
34040 _ACEOF
34041 rm -f conftest.$ac_objext conftest$ac_exeext
34042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34043 (eval $ac_link) 2>conftest.er1
34044 ac_status=$?
34045 grep -v '^ *+' conftest.er1 >conftest.err
34046 rm -f conftest.er1
34047 cat conftest.err >&5
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); } &&
34050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34052 (eval $ac_try) 2>&5
34053 ac_status=$?
34054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34055 (exit $ac_status); }; } &&
34056 { ac_try='test -s conftest$ac_exeext'
34057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34058 (eval $ac_try) 2>&5
34059 ac_status=$?
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); }; }; then
34062 ac_cv_lib_odbc_SQLAllocEnv=yes
34063 else
34064 echo "$as_me: failed program was:" >&5
34065 sed 's/^/| /' conftest.$ac_ext >&5
34066
34067 ac_cv_lib_odbc_SQLAllocEnv=no
34068 fi
34069 rm -f conftest.err conftest.$ac_objext \
34070 conftest$ac_exeext conftest.$ac_ext
34071 LIBS=$ac_check_lib_save_LIBS
34072 fi
34073 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34074 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
34075 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34076 ODBC_LINK=" -lodbc"
34077 fi
34078
34079
34080 fi
34081
34082
34083 fi
34084
34085 fi
34086 if test "x$ODBC_LINK" = "x" ; then
34087 if test "$wxUSE_ODBC" = "sys" ; then
34088 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34089 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34090 { (exit 1); exit 1; }; }
34091 else
34092 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34093 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34094 wxUSE_ODBC=builtin
34095 fi
34096 else
34097 wxUSE_ODBC=sys
34098 fi
34099 fi
34100
34101 if test "$wxUSE_ODBC" = "builtin" ; then
34102 cat >>confdefs.h <<\_ACEOF
34103 #define wxUSE_BUILTIN_IODBC 1
34104 _ACEOF
34105
34106 fi
34107 fi
34108
34109 if test "$wxUSE_ODBC" != "no" ; then
34110 cat >>confdefs.h <<\_ACEOF
34111 #define wxUSE_ODBC 1
34112 _ACEOF
34113
34114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
34115
34116 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
34117 fi
34118
34119
34120 if test "$wxUSE_DISPLAY" = "yes"; then
34121 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34122 echo "$as_me:$LINENO: checking for Xinerama" >&5
34123 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
34124
34125 ac_find_libraries=
34126 for ac_dir in $SEARCH_LIB;
34127 do
34128 for ac_extension in a so sl dylib dll.a; do
34129 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34130 ac_find_libraries=$ac_dir
34131 break 2
34132 fi
34133 done
34134 done
34135
34136 if test "$ac_find_libraries" != "" ; then
34137
34138 if test "$ac_find_libraries" = "default location"; then
34139 ac_path_to_link=""
34140 else
34141 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34142 result=$?
34143 if test $result = 0; then
34144 ac_path_to_link=""
34145 else
34146 ac_path_to_link=" -L$ac_find_libraries"
34147 fi
34148 fi
34149
34150 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34151 LDFLAGS="$LDFLAGS $ac_path_to_link"
34152 fi
34153 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34154 echo "$as_me:$LINENO: result: yes" >&5
34155 echo "${ECHO_T}yes" >&6
34156
34157 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34158 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
34159
34160 ac_find_libraries=
34161 for ac_dir in $SEARCH_LIB;
34162 do
34163 for ac_extension in a so sl dylib dll.a; do
34164 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34165 ac_find_libraries=$ac_dir
34166 break 2
34167 fi
34168 done
34169 done
34170
34171 if test "$ac_find_libraries" != "" ; then
34172 echo "$as_me:$LINENO: result: yes" >&5
34173 echo "${ECHO_T}yes" >&6
34174 echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
34175 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6
34176 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
34177 echo $ECHO_N "(cached) $ECHO_C" >&6
34178 else
34179 cat >conftest.$ac_ext <<_ACEOF
34180 /* confdefs.h. */
34181 _ACEOF
34182 cat confdefs.h >>conftest.$ac_ext
34183 cat >>conftest.$ac_ext <<_ACEOF
34184 /* end confdefs.h. */
34185
34186 #if HAVE_X11_XLIB_H
34187 #include <X11/Xlib.h>
34188 #endif
34189
34190
34191 #include <X11/extensions/xf86vmode.h>
34192 _ACEOF
34193 rm -f conftest.$ac_objext
34194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34195 (eval $ac_compile) 2>conftest.er1
34196 ac_status=$?
34197 grep -v '^ *+' conftest.er1 >conftest.err
34198 rm -f conftest.er1
34199 cat conftest.err >&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } &&
34202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34204 (eval $ac_try) 2>&5
34205 ac_status=$?
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); }; } &&
34208 { ac_try='test -s conftest.$ac_objext'
34209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34210 (eval $ac_try) 2>&5
34211 ac_status=$?
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); }; }; then
34214 ac_cv_header_X11_extensions_xf86vmode_h=yes
34215 else
34216 echo "$as_me: failed program was:" >&5
34217 sed 's/^/| /' conftest.$ac_ext >&5
34218
34219 ac_cv_header_X11_extensions_xf86vmode_h=no
34220 fi
34221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34222 fi
34223 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
34224 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6
34225 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
34226
34227 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34228
34229 fi
34230
34231
34232 else
34233 echo "$as_me:$LINENO: result: no" >&5
34234 echo "${ECHO_T}no" >&6
34235 fi
34236
34237 else
34238 echo "$as_me:$LINENO: result: no" >&5
34239 echo "${ECHO_T}no" >&6
34240 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34241 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34242 wxUSE_DISPLAY="no"
34243 fi
34244 elif test "$wxUSE_MSW" = 1; then
34245 echo "$as_me:$LINENO: checking for ddraw.h" >&5
34246 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
34247 if test "${ac_cv_header_ddraw_h+set}" = set; then
34248 echo $ECHO_N "(cached) $ECHO_C" >&6
34249 else
34250 cat >conftest.$ac_ext <<_ACEOF
34251 /* confdefs.h. */
34252 _ACEOF
34253 cat confdefs.h >>conftest.$ac_ext
34254 cat >>conftest.$ac_ext <<_ACEOF
34255 /* end confdefs.h. */
34256 #include <windows.h>
34257
34258 #include <ddraw.h>
34259 _ACEOF
34260 rm -f conftest.$ac_objext
34261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34262 (eval $ac_compile) 2>conftest.er1
34263 ac_status=$?
34264 grep -v '^ *+' conftest.er1 >conftest.err
34265 rm -f conftest.er1
34266 cat conftest.err >&5
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); } &&
34269 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34271 (eval $ac_try) 2>&5
34272 ac_status=$?
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); }; } &&
34275 { ac_try='test -s conftest.$ac_objext'
34276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34277 (eval $ac_try) 2>&5
34278 ac_status=$?
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); }; }; then
34281 ac_cv_header_ddraw_h=yes
34282 else
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.$ac_ext >&5
34285
34286 ac_cv_header_ddraw_h=no
34287 fi
34288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34289 fi
34290 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34291 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
34292
34293
34294 fi
34295 fi
34296
34297 if test "$wxUSE_DETECT_SM" = "yes"; then
34298 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34299 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34300 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
34301
34302 ac_find_libraries=
34303 for ac_dir in $SEARCH_LIB;
34304 do
34305 for ac_extension in a so sl dylib dll.a; do
34306 if test -f "$ac_dir/libSM.$ac_extension"; then
34307 ac_find_libraries=$ac_dir
34308 break 2
34309 fi
34310 done
34311 done
34312
34313 if test "$ac_find_libraries" != "" ; then
34314
34315 if test "$ac_find_libraries" = "default location"; then
34316 ac_path_to_link=""
34317 else
34318 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34319 result=$?
34320 if test $result = 0; then
34321 ac_path_to_link=""
34322 else
34323 ac_path_to_link=" -L$ac_find_libraries"
34324 fi
34325 fi
34326
34327 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34328 LDFLAGS="$LDFLAGS $ac_path_to_link"
34329 fi
34330 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34331 echo "$as_me:$LINENO: result: yes" >&5
34332 echo "${ECHO_T}yes" >&6
34333 else
34334 echo "$as_me:$LINENO: result: no" >&5
34335 echo "${ECHO_T}no" >&6
34336 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34337 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34338 wxUSE_DETECT_SM="no"
34339 fi
34340 else
34341 wxUSE_DETECT_SM="no"
34342 fi
34343 fi
34344
34345
34346
34347 USE_OPENGL=0
34348 if test "$wxUSE_OPENGL" = "yes"; then
34349 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
34350 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34351 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34352 wxUSE_OPENGL="no"
34353 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
34354 OPENGL_LIBS="-framework OpenGL -framework AGL"
34355 elif test "$wxUSE_MSW" = 1; then
34356 OPENGL_LIBS="-lopengl32 -lglu32"
34357 else
34358 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34359 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
34360
34361 ac_find_includes=
34362 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34363 do
34364 if test -f "$ac_dir/GL/gl.h"; then
34365 ac_find_includes=$ac_dir
34366 break
34367 fi
34368 done
34369
34370 if test "$ac_find_includes" != "" ; then
34371 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34372 echo "${ECHO_T}found in $ac_find_includes" >&6
34373
34374 if test "x$ac_find_includes" = "x/usr/include"; then
34375 ac_path_to_include=""
34376 else
34377 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34378 result=$?
34379 if test $result = 0; then
34380 ac_path_to_include=""
34381 else
34382 ac_path_to_include=" -I$ac_find_includes"
34383 fi
34384 fi
34385
34386 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34387 else
34388 echo "$as_me:$LINENO: result: not found" >&5
34389 echo "${ECHO_T}not found" >&6
34390 fi
34391
34392 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34393 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
34394 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34395 echo $ECHO_N "(cached) $ECHO_C" >&6
34396 else
34397 cat >conftest.$ac_ext <<_ACEOF
34398 /* confdefs.h. */
34399 _ACEOF
34400 cat confdefs.h >>conftest.$ac_ext
34401 cat >>conftest.$ac_ext <<_ACEOF
34402 /* end confdefs.h. */
34403
34404
34405 #include <GL/gl.h>
34406 _ACEOF
34407 rm -f conftest.$ac_objext
34408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34409 (eval $ac_compile) 2>conftest.er1
34410 ac_status=$?
34411 grep -v '^ *+' conftest.er1 >conftest.err
34412 rm -f conftest.er1
34413 cat conftest.err >&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); } &&
34416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34418 (eval $ac_try) 2>&5
34419 ac_status=$?
34420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34421 (exit $ac_status); }; } &&
34422 { ac_try='test -s conftest.$ac_objext'
34423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34424 (eval $ac_try) 2>&5
34425 ac_status=$?
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); }; }; then
34428 ac_cv_header_GL_gl_h=yes
34429 else
34430 echo "$as_me: failed program was:" >&5
34431 sed 's/^/| /' conftest.$ac_ext >&5
34432
34433 ac_cv_header_GL_gl_h=no
34434 fi
34435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34436 fi
34437 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34438 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
34439 if test $ac_cv_header_GL_gl_h = yes; then
34440
34441 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34442 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34443 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
34444 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34445 echo $ECHO_N "(cached) $ECHO_C" >&6
34446 fi
34447 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34448 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
34449 else
34450 # Is the header compilable?
34451 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
34452 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
34453 cat >conftest.$ac_ext <<_ACEOF
34454 /* confdefs.h. */
34455 _ACEOF
34456 cat confdefs.h >>conftest.$ac_ext
34457 cat >>conftest.$ac_ext <<_ACEOF
34458 /* end confdefs.h. */
34459 $ac_includes_default
34460 #include <GL/glu.h>
34461 _ACEOF
34462 rm -f conftest.$ac_objext
34463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34464 (eval $ac_compile) 2>conftest.er1
34465 ac_status=$?
34466 grep -v '^ *+' conftest.er1 >conftest.err
34467 rm -f conftest.er1
34468 cat conftest.err >&5
34469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34470 (exit $ac_status); } &&
34471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34473 (eval $ac_try) 2>&5
34474 ac_status=$?
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); }; } &&
34477 { ac_try='test -s conftest.$ac_objext'
34478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34479 (eval $ac_try) 2>&5
34480 ac_status=$?
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); }; }; then
34483 ac_header_compiler=yes
34484 else
34485 echo "$as_me: failed program was:" >&5
34486 sed 's/^/| /' conftest.$ac_ext >&5
34487
34488 ac_header_compiler=no
34489 fi
34490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34492 echo "${ECHO_T}$ac_header_compiler" >&6
34493
34494 # Is the header present?
34495 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
34496 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
34497 cat >conftest.$ac_ext <<_ACEOF
34498 /* confdefs.h. */
34499 _ACEOF
34500 cat confdefs.h >>conftest.$ac_ext
34501 cat >>conftest.$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34503 #include <GL/glu.h>
34504 _ACEOF
34505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34507 ac_status=$?
34508 grep -v '^ *+' conftest.er1 >conftest.err
34509 rm -f conftest.er1
34510 cat conftest.err >&5
34511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34512 (exit $ac_status); } >/dev/null; then
34513 if test -s conftest.err; then
34514 ac_cpp_err=$ac_c_preproc_warn_flag
34515 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34516 else
34517 ac_cpp_err=
34518 fi
34519 else
34520 ac_cpp_err=yes
34521 fi
34522 if test -z "$ac_cpp_err"; then
34523 ac_header_preproc=yes
34524 else
34525 echo "$as_me: failed program was:" >&5
34526 sed 's/^/| /' conftest.$ac_ext >&5
34527
34528 ac_header_preproc=no
34529 fi
34530 rm -f conftest.err conftest.$ac_ext
34531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34532 echo "${ECHO_T}$ac_header_preproc" >&6
34533
34534 # So? What about this header?
34535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34536 yes:no: )
34537 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
34538 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34539 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
34540 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
34541 ac_header_preproc=yes
34542 ;;
34543 no:yes:* )
34544 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
34545 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
34546 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
34547 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
34548 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
34549 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
34550 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
34551 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
34552 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
34553 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
34554 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
34555 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
34556 (
34557 cat <<\_ASBOX
34558 ## ----------------------------------------- ##
34559 ## Report this to wx-dev@lists.wxwidgets.org ##
34560 ## ----------------------------------------- ##
34561 _ASBOX
34562 ) |
34563 sed "s/^/$as_me: WARNING: /" >&2
34564 ;;
34565 esac
34566 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34567 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
34568 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34569 echo $ECHO_N "(cached) $ECHO_C" >&6
34570 else
34571 ac_cv_header_GL_glu_h=$ac_header_preproc
34572 fi
34573 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34574 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
34575
34576 fi
34577 if test $ac_cv_header_GL_glu_h = yes; then
34578
34579 found_gl=0
34580
34581 echo "$as_me:$LINENO: checking for -lGL" >&5
34582 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
34583
34584 ac_find_libraries=
34585 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34586 do
34587 for ac_extension in a so sl dylib dll.a; do
34588 if test -f "$ac_dir/libGL.$ac_extension"; then
34589 ac_find_libraries=$ac_dir
34590 break 2
34591 fi
34592 done
34593 done
34594
34595 if test "$ac_find_libraries" != "" ; then
34596 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34597 echo "${ECHO_T}found in $ac_find_libraries" >&6
34598
34599
34600 if test "$ac_find_libraries" = "default location"; then
34601 ac_path_to_link=""
34602 else
34603 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34604 result=$?
34605 if test $result = 0; then
34606 ac_path_to_link=""
34607 else
34608 ac_path_to_link=" -L$ac_find_libraries"
34609 fi
34610 fi
34611
34612 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34613 LDFLAGS_GL="$ac_path_to_link"
34614 fi
34615
34616 echo "$as_me:$LINENO: checking for -lGLU" >&5
34617 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
34618
34619 ac_find_libraries=
34620 for ac_dir in $SEARCH_LIB;
34621 do
34622 for ac_extension in a so sl dylib dll.a; do
34623 if test -f "$ac_dir/libGLU.$ac_extension"; then
34624 ac_find_libraries=$ac_dir
34625 break 2
34626 fi
34627 done
34628 done
34629
34630 if test "$ac_find_libraries" != "" ; then
34631
34632 if test "$ac_find_libraries" = "default location"; then
34633 ac_path_to_link=""
34634 else
34635 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34636 result=$?
34637 if test $result = 0; then
34638 ac_path_to_link=""
34639 else
34640 ac_path_to_link=" -L$ac_find_libraries"
34641 fi
34642 fi
34643
34644 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34645 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34646 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34647 fi
34648
34649 found_gl=1
34650 OPENGL_LIBS="-lGL -lGLU"
34651 echo "$as_me:$LINENO: result: yes" >&5
34652 echo "${ECHO_T}yes" >&6
34653 else
34654 echo "$as_me:$LINENO: result: no" >&5
34655 echo "${ECHO_T}no" >&6
34656 fi
34657 else
34658 echo "$as_me:$LINENO: result: no" >&5
34659 echo "${ECHO_T}no" >&6
34660 fi
34661
34662 if test "$found_gl" != 1; then
34663 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34664 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
34665
34666 ac_find_libraries=
34667 for ac_dir in $SEARCH_LIB;
34668 do
34669 for ac_extension in a so sl dylib dll.a; do
34670 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34671 ac_find_libraries=$ac_dir
34672 break 2
34673 fi
34674 done
34675 done
34676
34677 if test "$ac_find_libraries" != "" ; then
34678
34679 if test "$ac_find_libraries" = "default location"; then
34680 ac_path_to_link=""
34681 else
34682 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34683 result=$?
34684 if test $result = 0; then
34685 ac_path_to_link=""
34686 else
34687 ac_path_to_link=" -L$ac_find_libraries"
34688 fi
34689 fi
34690
34691 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34692 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34693 echo "$as_me:$LINENO: result: yes" >&5
34694 echo "${ECHO_T}yes" >&6
34695 else
34696 echo "$as_me:$LINENO: result: no" >&5
34697 echo "${ECHO_T}no" >&6
34698 fi
34699 fi
34700
34701 fi
34702
34703
34704
34705 fi
34706
34707
34708
34709 if test "x$OPENGL_LIBS" = "x"; then
34710 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34711 echo "$as_me: error: OpenGL libraries not available" >&2;}
34712 { (exit 1); exit 1; }; }
34713 fi
34714 fi
34715
34716 if test "$wxUSE_OPENGL" = "yes"; then
34717 USE_OPENGL=1
34718 cat >>confdefs.h <<\_ACEOF
34719 #define wxUSE_OPENGL 1
34720 _ACEOF
34721
34722 cat >>confdefs.h <<\_ACEOF
34723 #define wxUSE_GLCANVAS 1
34724 _ACEOF
34725
34726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34727 fi
34728 fi
34729
34730
34731 if test -n "$TOOLKIT" ; then
34732 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34733 fi
34734
34735
34736
34737 if test "$wxUSE_SHARED" = "yes"; then
34738 case "${host}" in
34739 *-pc-msdosdjgpp )
34740 wxUSE_SHARED=no
34741 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34742 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34743 ;;
34744 esac
34745 fi
34746
34747 if test "$wxUSE_SHARED" = "yes"; then
34748
34749
34750 case "${host}" in
34751 *-*-cygwin* | *-*-mingw* )
34752 wx_cv_version_script=no
34753 ;;
34754
34755 *)
34756 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34757 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
34758 if test "${wx_cv_version_script+set}" = set; then
34759 echo $ECHO_N "(cached) $ECHO_C" >&6
34760 else
34761
34762 echo "VER_1 { *; };" >conftest.sym
34763 echo "int main() { return 0; }" >conftest.cpp
34764
34765 if { ac_try='
34766 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34767 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34769 (eval $ac_try) 2>&5
34770 ac_status=$?
34771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 (exit $ac_status); }; } ; then
34773 if test -s conftest.stderr ; then
34774 wx_cv_version_script=no
34775 else
34776 wx_cv_version_script=yes
34777 fi
34778 else
34779 wx_cv_version_script=no
34780 fi
34781
34782 if test $wx_cv_version_script = yes
34783 then
34784 echo "struct B { virtual ~B() { } }; \
34785 struct D : public B { }; \
34786 void F() { D d; }" > conftest.cpp
34787
34788 if { ac_try='
34789 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34790 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34793 ac_status=$?
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; } &&
34796 { ac_try='
34797 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34798 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34800 (eval $ac_try) 2>&5
34801 ac_status=$?
34802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34803 (exit $ac_status); }; }
34804 then
34805 if { ac_try='
34806 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34807 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34809 (eval $ac_try) 2>&5
34810 ac_status=$?
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); }; }
34813 then
34814 wx_cv_version_script=yes
34815 else
34816 wx_cv_version_script=no
34817 fi
34818 fi
34819 fi
34820
34821 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34822 rm -f conftest1.output conftest2.output conftest3.output
34823
34824 fi
34825 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34826 echo "${ECHO_T}$wx_cv_version_script" >&6
34827
34828 if test $wx_cv_version_script = yes ; then
34829 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34830 fi
34831 ;;
34832 esac
34833
34834
34835
34836
34837 if test -n "$GCC"; then
34838 CFLAGS_VISIBILITY="-fvisibility=hidden"
34839 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34840 echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34841 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6
34842 if test "${wx_cv_cc_visibility+set}" = set; then
34843 echo $ECHO_N "(cached) $ECHO_C" >&6
34844 else
34845
34846 wx_save_CXXFLAGS="$CXXFLAGS"
34847 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34848 ac_ext=cc
34849 ac_cpp='$CXXCPP $CPPFLAGS'
34850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34853
34854 cat >conftest.$ac_ext <<_ACEOF
34855 /* confdefs.h. */
34856 _ACEOF
34857 cat confdefs.h >>conftest.$ac_ext
34858 cat >>conftest.$ac_ext <<_ACEOF
34859 /* end confdefs.h. */
34860
34861 /* we need gcc >= 4.0, older versions with visibility support
34862 didn't have class visibility: */
34863 #if defined(__GNUC__) && __GNUC__ < 4
34864 error this gcc is too old;
34865 #endif
34866
34867 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34868 extern __attribute__((__visibility__("default"))) int exportedvar;
34869 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34870 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34871 class __attribute__((__visibility__("default"))) Foo {
34872 Foo() {}
34873 };
34874
34875 int
34876 main ()
34877 {
34878
34879 ;
34880 return 0;
34881 }
34882 _ACEOF
34883 rm -f conftest.$ac_objext
34884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34885 (eval $ac_compile) 2>conftest.er1
34886 ac_status=$?
34887 grep -v '^ *+' conftest.er1 >conftest.err
34888 rm -f conftest.er1
34889 cat conftest.err >&5
34890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34891 (exit $ac_status); } &&
34892 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34894 (eval $ac_try) 2>&5
34895 ac_status=$?
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); }; } &&
34898 { ac_try='test -s conftest.$ac_objext'
34899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34900 (eval $ac_try) 2>&5
34901 ac_status=$?
34902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34903 (exit $ac_status); }; }; then
34904 wx_cv_cc_visibility=yes
34905 else
34906 echo "$as_me: failed program was:" >&5
34907 sed 's/^/| /' conftest.$ac_ext >&5
34908
34909 wx_cv_cc_visibility=no
34910 fi
34911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34912 ac_ext=c
34913 ac_cpp='$CPP $CPPFLAGS'
34914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34917
34918 CXXFLAGS="$wx_save_CXXFLAGS"
34919 fi
34920
34921 echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34922 echo "${ECHO_T}$wx_cv_cc_visibility" >&6
34923 if test $wx_cv_cc_visibility = yes; then
34924 cat >>confdefs.h <<\_ACEOF
34925 #define HAVE_VISIBILITY 1
34926 _ACEOF
34927
34928 else
34929 CFLAGS_VISIBILITY=""
34930 CXXFLAGS_VISIBILITY=""
34931 fi
34932
34933
34934 fi
34935
34936
34937 if test "x$SUNCXX" = xyes; then
34938 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34939 WXCONFIG_RPATH="-R\$libdir"
34940 else
34941 case "${host}" in
34942 *-*-linux* | *-*-gnu* )
34943 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34944 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34945 ;;
34946
34947 *-*-solaris2* )
34948
34949 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34950
34951 saveLdflags="$LDFLAGS"
34952 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34953 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34954 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
34955 cat >conftest.$ac_ext <<_ACEOF
34956 /* confdefs.h. */
34957 _ACEOF
34958 cat confdefs.h >>conftest.$ac_ext
34959 cat >>conftest.$ac_ext <<_ACEOF
34960 /* end confdefs.h. */
34961
34962 int
34963 main ()
34964 {
34965
34966 ;
34967 return 0;
34968 }
34969 _ACEOF
34970 rm -f conftest.$ac_objext conftest$ac_exeext
34971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34972 (eval $ac_link) 2>conftest.er1
34973 ac_status=$?
34974 grep -v '^ *+' conftest.er1 >conftest.err
34975 rm -f conftest.er1
34976 cat conftest.err >&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); } &&
34979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34981 (eval $ac_try) 2>&5
34982 ac_status=$?
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); }; } &&
34985 { ac_try='test -s conftest$ac_exeext'
34986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34987 (eval $ac_try) 2>&5
34988 ac_status=$?
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); }; }; then
34991
34992 echo "$as_me:$LINENO: result: yes" >&5
34993 echo "${ECHO_T}yes" >&6
34994 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34995 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34996
34997 else
34998 echo "$as_me: failed program was:" >&5
34999 sed 's/^/| /' conftest.$ac_ext >&5
35000
35001
35002 echo "$as_me:$LINENO: result: no" >&5
35003 echo "${ECHO_T}no" >&6
35004 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35005 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
35006 LDFLAGS="$saveLdflags -Wl,-R,/"
35007 cat >conftest.$ac_ext <<_ACEOF
35008 /* confdefs.h. */
35009 _ACEOF
35010 cat confdefs.h >>conftest.$ac_ext
35011 cat >>conftest.$ac_ext <<_ACEOF
35012 /* end confdefs.h. */
35013
35014 int
35015 main ()
35016 {
35017
35018 ;
35019 return 0;
35020 }
35021 _ACEOF
35022 rm -f conftest.$ac_objext conftest$ac_exeext
35023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35024 (eval $ac_link) 2>conftest.er1
35025 ac_status=$?
35026 grep -v '^ *+' conftest.er1 >conftest.err
35027 rm -f conftest.er1
35028 cat conftest.err >&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } &&
35031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35033 (eval $ac_try) 2>&5
35034 ac_status=$?
35035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35036 (exit $ac_status); }; } &&
35037 { ac_try='test -s conftest$ac_exeext'
35038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35039 (eval $ac_try) 2>&5
35040 ac_status=$?
35041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35042 (exit $ac_status); }; }; then
35043
35044 echo "$as_me:$LINENO: result: yes" >&5
35045 echo "${ECHO_T}yes" >&6
35046 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35047 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35048
35049 else
35050 echo "$as_me: failed program was:" >&5
35051 sed 's/^/| /' conftest.$ac_ext >&5
35052
35053
35054 echo "$as_me:$LINENO: result: no" >&5
35055 echo "${ECHO_T}no" >&6
35056
35057 fi
35058 rm -f conftest.err conftest.$ac_objext \
35059 conftest$ac_exeext conftest.$ac_ext
35060
35061 fi
35062 rm -f conftest.err conftest.$ac_objext \
35063 conftest$ac_exeext conftest.$ac_ext
35064 LDFLAGS="$saveLdflags"
35065 ;;
35066
35067 *-*-darwin* )
35068 install_name_tool=`which install_name_tool`
35069 if test "$install_name_tool" -a -x "$install_name_tool"; then
35070 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35071 cat <<EOF >change-install-names
35072 #!/bin/sh
35073 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35074 inst_cmd="install_name_tool "
35075 for i in \${libnames} ; do
35076 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35077 done
35078 \${inst_cmd} \${3}
35079 EOF
35080 chmod +x change-install-names
35081 fi
35082 ;;
35083
35084 *-*-cygwin* | *-*-mingw32* )
35085 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35086 ;;
35087
35088 *-*-hpux* )
35089 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35090 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35091 ;;
35092
35093 esac
35094 fi
35095
35096 if test $wxUSE_RPATH = "no"; then
35097 SAMPLES_RPATH_FLAG=''
35098 SAMPLES_RPATH_POSTLINK=''
35099 WXCONFIG_RPATH=''
35100 fi
35101
35102 SHARED=1
35103
35104 else
35105
35106 config_linkage_component="-static"
35107 SHARED=0
35108
35109 fi
35110
35111
35112 UNICODE=0
35113 lib_unicode_suffix=
35114 WX_CHARTYPE="ansi"
35115 if test "$wxUSE_UNICODE" = "yes"; then
35116 lib_unicode_suffix=u
35117 WX_CHARTYPE="unicode"
35118 UNICODE=1
35119 fi
35120
35121 lib_debug_suffix=
35122 WX_DEBUGTYPE="release"
35123 DEBUG_FLAG=0
35124 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
35125 lib_debug_suffix=d
35126 WX_DEBUGTYPE="debug"
35127 DEBUG_FLAG=1
35128 fi
35129
35130 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35131 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35132
35133 DEBUG_INFO=0
35134 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35135 DEBUG_INFO=1
35136 fi
35137
35138 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
35139
35140 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
35141
35142 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35143
35144 if test "$cross_compiling" = "yes"; then
35145 HOST_SUFFIX="-$host_alias"
35146 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
35147 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
35148 fi
35149
35150 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35151 if test "${TOOLKIT_DIR}" = "os2"; then
35152 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35153 else
35154 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35155 fi
35156
35157
35158
35159 if test "$wxUSE_COCOA" = 1; then
35160
35161
35162 ac_ext=c
35163 ac_cpp='$CPP $CPPFLAGS'
35164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35167
35168 ac_ext=m
35169
35170 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35171 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
35172 cat >conftest.$ac_ext <<_ACEOF
35173 /* confdefs.h. */
35174 _ACEOF
35175 cat confdefs.h >>conftest.$ac_ext
35176 cat >>conftest.$ac_ext <<_ACEOF
35177 /* end confdefs.h. */
35178 #include <AppKit/NSEvent.h>
35179 #include <CoreFoundation/CoreFoundation.h>
35180
35181 int
35182 main ()
35183 {
35184
35185 ;
35186 return 0;
35187 }
35188 _ACEOF
35189 rm -f conftest.$ac_objext
35190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35191 (eval $ac_compile) 2>conftest.er1
35192 ac_status=$?
35193 grep -v '^ *+' conftest.er1 >conftest.err
35194 rm -f conftest.er1
35195 cat conftest.err >&5
35196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197 (exit $ac_status); } &&
35198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35200 (eval $ac_try) 2>&5
35201 ac_status=$?
35202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203 (exit $ac_status); }; } &&
35204 { ac_try='test -s conftest.$ac_objext'
35205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35206 (eval $ac_try) 2>&5
35207 ac_status=$?
35208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35209 (exit $ac_status); }; }; then
35210 echo "$as_me:$LINENO: result: no" >&5
35211 echo "${ECHO_T}no" >&6
35212 else
35213 echo "$as_me: failed program was:" >&5
35214 sed 's/^/| /' conftest.$ac_ext >&5
35215
35216 echo "$as_me:$LINENO: result: yes" >&5
35217 echo "${ECHO_T}yes" >&6
35218 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35219 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
35220 cat >conftest.$ac_ext <<_ACEOF
35221 /* confdefs.h. */
35222 _ACEOF
35223 cat confdefs.h >>conftest.$ac_ext
35224 cat >>conftest.$ac_ext <<_ACEOF
35225 /* end confdefs.h. */
35226 #define __Point__ 1
35227 #include <AppKit/NSEvent.h>
35228 #include <CoreFoundation/CoreFoundation.h>
35229
35230 int
35231 main ()
35232 {
35233
35234 ;
35235 return 0;
35236 }
35237 _ACEOF
35238 rm -f conftest.$ac_objext
35239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35240 (eval $ac_compile) 2>conftest.er1
35241 ac_status=$?
35242 grep -v '^ *+' conftest.er1 >conftest.err
35243 rm -f conftest.er1
35244 cat conftest.err >&5
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); } &&
35247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35250 ac_status=$?
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; } &&
35253 { ac_try='test -s conftest.$ac_objext'
35254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35255 (eval $ac_try) 2>&5
35256 ac_status=$?
35257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258 (exit $ac_status); }; }; then
35259 echo "$as_me:$LINENO: result: yes" >&5
35260 echo "${ECHO_T}yes" >&6
35261 cat >>confdefs.h <<\_ACEOF
35262 #define __Point__ 1
35263 _ACEOF
35264
35265
35266 else
35267 echo "$as_me: failed program was:" >&5
35268 sed 's/^/| /' conftest.$ac_ext >&5
35269
35270 { { echo "$as_me:$LINENO: error: no
35271 See \`config.log' for more details." >&5
35272 echo "$as_me: error: no
35273 See \`config.log' for more details." >&2;}
35274 { (exit 1); exit 1; }; }
35275
35276 fi
35277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35278
35279 fi
35280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35281 ac_ext=c
35282 ac_cpp='$CPP $CPPFLAGS'
35283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35286
35287 fi
35288
35289 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35290 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
35291 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
35292
35293 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
35294
35295 # Extract the first word of "Rez", so it can be a program name with args.
35296 set dummy Rez; ac_word=$2
35297 echo "$as_me:$LINENO: checking for $ac_word" >&5
35298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35299 if test "${ac_cv_prog_REZ+set}" = set; then
35300 echo $ECHO_N "(cached) $ECHO_C" >&6
35301 else
35302 if test -n "$REZ"; then
35303 ac_cv_prog_REZ="$REZ" # Let the user override the test.
35304 else
35305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35306 for as_dir in $PATH
35307 do
35308 IFS=$as_save_IFS
35309 test -z "$as_dir" && as_dir=.
35310 for ac_exec_ext in '' $ac_executable_extensions; do
35311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35312 ac_cv_prog_REZ="Rez"
35313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35314 break 2
35315 fi
35316 done
35317 done
35318
35319 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
35320 fi
35321 fi
35322 REZ=$ac_cv_prog_REZ
35323 if test -n "$REZ"; then
35324 echo "$as_me:$LINENO: result: $REZ" >&5
35325 echo "${ECHO_T}$REZ" >&6
35326 else
35327 echo "$as_me:$LINENO: result: no" >&5
35328 echo "${ECHO_T}no" >&6
35329 fi
35330
35331 # Extract the first word of "DeRez", so it can be a program name with args.
35332 set dummy DeRez; ac_word=$2
35333 echo "$as_me:$LINENO: checking for $ac_word" >&5
35334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35335 if test "${ac_cv_prog_DEREZ+set}" = set; then
35336 echo $ECHO_N "(cached) $ECHO_C" >&6
35337 else
35338 if test -n "$DEREZ"; then
35339 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
35340 else
35341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35342 for as_dir in $PATH
35343 do
35344 IFS=$as_save_IFS
35345 test -z "$as_dir" && as_dir=.
35346 for ac_exec_ext in '' $ac_executable_extensions; do
35347 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35348 ac_cv_prog_DEREZ="DeRez"
35349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35350 break 2
35351 fi
35352 done
35353 done
35354
35355 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
35356 fi
35357 fi
35358 DEREZ=$ac_cv_prog_DEREZ
35359 if test -n "$DEREZ"; then
35360 echo "$as_me:$LINENO: result: $DEREZ" >&5
35361 echo "${ECHO_T}$DEREZ" >&6
35362 else
35363 echo "$as_me:$LINENO: result: no" >&5
35364 echo "${ECHO_T}no" >&6
35365 fi
35366
35367 # Extract the first word of "SetFile", so it can be a program name with args.
35368 set dummy SetFile; ac_word=$2
35369 echo "$as_me:$LINENO: checking for $ac_word" >&5
35370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35371 if test "${ac_cv_prog_SETFILE+set}" = set; then
35372 echo $ECHO_N "(cached) $ECHO_C" >&6
35373 else
35374 if test -n "$SETFILE"; then
35375 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35376 else
35377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35378 for as_dir in $PATH
35379 do
35380 IFS=$as_save_IFS
35381 test -z "$as_dir" && as_dir=.
35382 for ac_exec_ext in '' $ac_executable_extensions; do
35383 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35384 ac_cv_prog_SETFILE="SetFile"
35385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35386 break 2
35387 fi
35388 done
35389 done
35390
35391 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35392 fi
35393 fi
35394 SETFILE=$ac_cv_prog_SETFILE
35395 if test -n "$SETFILE"; then
35396 echo "$as_me:$LINENO: result: $SETFILE" >&5
35397 echo "${ECHO_T}$SETFILE" >&6
35398 else
35399 echo "$as_me:$LINENO: result: no" >&5
35400 echo "${ECHO_T}no" >&6
35401 fi
35402
35403
35404 MACSETFILE="\$(SETFILE)"
35405
35406 if test "$wxUSE_MAC" = 1; then
35407 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
35408 RESCOMP="$REZ"
35409 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
35410 else
35411 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
35412 RESCOMP="echo -n \| $REZ"
35413 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
35414 fi
35415
35416 else
35417 MACSETFILE="@true"
35418
35419 if test "$wxUSE_PM" = 1; then
35420 RESCOMP="emxbind"
35421 WXCONFIG_RESFLAGS="-ep"
35422
35423 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
35424 else
35425 POSTLINK_COMMAND="@true"
35426 fi
35427
35428 fi
35429
35430
35431
35432 echo "$as_me:$LINENO: checking for mode_t" >&5
35433 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
35434 if test "${ac_cv_type_mode_t+set}" = set; then
35435 echo $ECHO_N "(cached) $ECHO_C" >&6
35436 else
35437 cat >conftest.$ac_ext <<_ACEOF
35438 /* confdefs.h. */
35439 _ACEOF
35440 cat confdefs.h >>conftest.$ac_ext
35441 cat >>conftest.$ac_ext <<_ACEOF
35442 /* end confdefs.h. */
35443 $ac_includes_default
35444 int
35445 main ()
35446 {
35447 if ((mode_t *) 0)
35448 return 0;
35449 if (sizeof (mode_t))
35450 return 0;
35451 ;
35452 return 0;
35453 }
35454 _ACEOF
35455 rm -f conftest.$ac_objext
35456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35457 (eval $ac_compile) 2>conftest.er1
35458 ac_status=$?
35459 grep -v '^ *+' conftest.er1 >conftest.err
35460 rm -f conftest.er1
35461 cat conftest.err >&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); } &&
35464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466 (eval $ac_try) 2>&5
35467 ac_status=$?
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); }; } &&
35470 { ac_try='test -s conftest.$ac_objext'
35471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35472 (eval $ac_try) 2>&5
35473 ac_status=$?
35474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35475 (exit $ac_status); }; }; then
35476 ac_cv_type_mode_t=yes
35477 else
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.$ac_ext >&5
35480
35481 ac_cv_type_mode_t=no
35482 fi
35483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35484 fi
35485 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35486 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
35487 if test $ac_cv_type_mode_t = yes; then
35488 :
35489 else
35490
35491 cat >>confdefs.h <<_ACEOF
35492 #define mode_t int
35493 _ACEOF
35494
35495 fi
35496
35497 echo "$as_me:$LINENO: checking for off_t" >&5
35498 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
35499 if test "${ac_cv_type_off_t+set}" = set; then
35500 echo $ECHO_N "(cached) $ECHO_C" >&6
35501 else
35502 cat >conftest.$ac_ext <<_ACEOF
35503 /* confdefs.h. */
35504 _ACEOF
35505 cat confdefs.h >>conftest.$ac_ext
35506 cat >>conftest.$ac_ext <<_ACEOF
35507 /* end confdefs.h. */
35508 $ac_includes_default
35509 int
35510 main ()
35511 {
35512 if ((off_t *) 0)
35513 return 0;
35514 if (sizeof (off_t))
35515 return 0;
35516 ;
35517 return 0;
35518 }
35519 _ACEOF
35520 rm -f conftest.$ac_objext
35521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35522 (eval $ac_compile) 2>conftest.er1
35523 ac_status=$?
35524 grep -v '^ *+' conftest.er1 >conftest.err
35525 rm -f conftest.er1
35526 cat conftest.err >&5
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); } &&
35529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35531 (eval $ac_try) 2>&5
35532 ac_status=$?
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); }; } &&
35535 { ac_try='test -s conftest.$ac_objext'
35536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35537 (eval $ac_try) 2>&5
35538 ac_status=$?
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); }; }; then
35541 ac_cv_type_off_t=yes
35542 else
35543 echo "$as_me: failed program was:" >&5
35544 sed 's/^/| /' conftest.$ac_ext >&5
35545
35546 ac_cv_type_off_t=no
35547 fi
35548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35549 fi
35550 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35551 echo "${ECHO_T}$ac_cv_type_off_t" >&6
35552 if test $ac_cv_type_off_t = yes; then
35553 :
35554 else
35555
35556 cat >>confdefs.h <<_ACEOF
35557 #define off_t long
35558 _ACEOF
35559
35560 fi
35561
35562 echo "$as_me:$LINENO: checking for pid_t" >&5
35563 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
35564 if test "${ac_cv_type_pid_t+set}" = set; then
35565 echo $ECHO_N "(cached) $ECHO_C" >&6
35566 else
35567 cat >conftest.$ac_ext <<_ACEOF
35568 /* confdefs.h. */
35569 _ACEOF
35570 cat confdefs.h >>conftest.$ac_ext
35571 cat >>conftest.$ac_ext <<_ACEOF
35572 /* end confdefs.h. */
35573 $ac_includes_default
35574 int
35575 main ()
35576 {
35577 if ((pid_t *) 0)
35578 return 0;
35579 if (sizeof (pid_t))
35580 return 0;
35581 ;
35582 return 0;
35583 }
35584 _ACEOF
35585 rm -f conftest.$ac_objext
35586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35587 (eval $ac_compile) 2>conftest.er1
35588 ac_status=$?
35589 grep -v '^ *+' conftest.er1 >conftest.err
35590 rm -f conftest.er1
35591 cat conftest.err >&5
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } &&
35594 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35596 (eval $ac_try) 2>&5
35597 ac_status=$?
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); }; } &&
35600 { ac_try='test -s conftest.$ac_objext'
35601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35602 (eval $ac_try) 2>&5
35603 ac_status=$?
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); }; }; then
35606 ac_cv_type_pid_t=yes
35607 else
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.$ac_ext >&5
35610
35611 ac_cv_type_pid_t=no
35612 fi
35613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35614 fi
35615 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35616 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
35617 if test $ac_cv_type_pid_t = yes; then
35618 :
35619 else
35620
35621 cat >>confdefs.h <<_ACEOF
35622 #define pid_t int
35623 _ACEOF
35624
35625 fi
35626
35627 echo "$as_me:$LINENO: checking for size_t" >&5
35628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
35629 if test "${ac_cv_type_size_t+set}" = set; then
35630 echo $ECHO_N "(cached) $ECHO_C" >&6
35631 else
35632 cat >conftest.$ac_ext <<_ACEOF
35633 /* confdefs.h. */
35634 _ACEOF
35635 cat confdefs.h >>conftest.$ac_ext
35636 cat >>conftest.$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638 $ac_includes_default
35639 int
35640 main ()
35641 {
35642 if ((size_t *) 0)
35643 return 0;
35644 if (sizeof (size_t))
35645 return 0;
35646 ;
35647 return 0;
35648 }
35649 _ACEOF
35650 rm -f conftest.$ac_objext
35651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35652 (eval $ac_compile) 2>conftest.er1
35653 ac_status=$?
35654 grep -v '^ *+' conftest.er1 >conftest.err
35655 rm -f conftest.er1
35656 cat conftest.err >&5
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); } &&
35659 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35661 (eval $ac_try) 2>&5
35662 ac_status=$?
35663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35664 (exit $ac_status); }; } &&
35665 { ac_try='test -s conftest.$ac_objext'
35666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35667 (eval $ac_try) 2>&5
35668 ac_status=$?
35669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35670 (exit $ac_status); }; }; then
35671 ac_cv_type_size_t=yes
35672 else
35673 echo "$as_me: failed program was:" >&5
35674 sed 's/^/| /' conftest.$ac_ext >&5
35675
35676 ac_cv_type_size_t=no
35677 fi
35678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35679 fi
35680 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35681 echo "${ECHO_T}$ac_cv_type_size_t" >&6
35682 if test $ac_cv_type_size_t = yes; then
35683 :
35684 else
35685
35686 cat >>confdefs.h <<_ACEOF
35687 #define size_t unsigned
35688 _ACEOF
35689
35690 fi
35691
35692 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
35693 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
35694 if test "${ac_cv_type_uid_t+set}" = set; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35696 else
35697 cat >conftest.$ac_ext <<_ACEOF
35698 /* confdefs.h. */
35699 _ACEOF
35700 cat confdefs.h >>conftest.$ac_ext
35701 cat >>conftest.$ac_ext <<_ACEOF
35702 /* end confdefs.h. */
35703 #include <sys/types.h>
35704
35705 _ACEOF
35706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35707 $EGREP "uid_t" >/dev/null 2>&1; then
35708 ac_cv_type_uid_t=yes
35709 else
35710 ac_cv_type_uid_t=no
35711 fi
35712 rm -f conftest*
35713
35714 fi
35715 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
35716 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
35717 if test $ac_cv_type_uid_t = no; then
35718
35719 cat >>confdefs.h <<\_ACEOF
35720 #define uid_t int
35721 _ACEOF
35722
35723
35724 cat >>confdefs.h <<\_ACEOF
35725 #define gid_t int
35726 _ACEOF
35727
35728 fi
35729
35730
35731 echo "$as_me:$LINENO: checking for ssize_t" >&5
35732 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
35733 if test "${ac_cv_type_ssize_t+set}" = set; then
35734 echo $ECHO_N "(cached) $ECHO_C" >&6
35735 else
35736 cat >conftest.$ac_ext <<_ACEOF
35737 /* confdefs.h. */
35738 _ACEOF
35739 cat confdefs.h >>conftest.$ac_ext
35740 cat >>conftest.$ac_ext <<_ACEOF
35741 /* end confdefs.h. */
35742 $ac_includes_default
35743 int
35744 main ()
35745 {
35746 if ((ssize_t *) 0)
35747 return 0;
35748 if (sizeof (ssize_t))
35749 return 0;
35750 ;
35751 return 0;
35752 }
35753 _ACEOF
35754 rm -f conftest.$ac_objext
35755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35756 (eval $ac_compile) 2>conftest.er1
35757 ac_status=$?
35758 grep -v '^ *+' conftest.er1 >conftest.err
35759 rm -f conftest.er1
35760 cat conftest.err >&5
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); } &&
35763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35765 (eval $ac_try) 2>&5
35766 ac_status=$?
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); }; } &&
35769 { ac_try='test -s conftest.$ac_objext'
35770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35771 (eval $ac_try) 2>&5
35772 ac_status=$?
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); }; }; then
35775 ac_cv_type_ssize_t=yes
35776 else
35777 echo "$as_me: failed program was:" >&5
35778 sed 's/^/| /' conftest.$ac_ext >&5
35779
35780 ac_cv_type_ssize_t=no
35781 fi
35782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35783 fi
35784 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35785 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
35786 if test $ac_cv_type_ssize_t = yes; then
35787
35788 cat >>confdefs.h <<_ACEOF
35789 #define HAVE_SSIZE_T 1
35790 _ACEOF
35791
35792
35793 fi
35794
35795
35796 ac_ext=cc
35797 ac_cpp='$CXXCPP $CPPFLAGS'
35798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35801 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35802 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
35803 if test "${wx_cv_size_t_is_uint+set}" = set; then
35804 echo $ECHO_N "(cached) $ECHO_C" >&6
35805 else
35806
35807 cat >conftest.$ac_ext <<_ACEOF
35808 /* confdefs.h. */
35809 _ACEOF
35810 cat confdefs.h >>conftest.$ac_ext
35811 cat >>conftest.$ac_ext <<_ACEOF
35812 /* end confdefs.h. */
35813 #include <stddef.h>
35814 int
35815 main ()
35816 {
35817
35818 return 0; }
35819
35820 struct Foo { void foo(size_t); void foo(unsigned int); };
35821
35822 int bar() {
35823
35824 ;
35825 return 0;
35826 }
35827 _ACEOF
35828 rm -f conftest.$ac_objext
35829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35830 (eval $ac_compile) 2>conftest.er1
35831 ac_status=$?
35832 grep -v '^ *+' conftest.er1 >conftest.err
35833 rm -f conftest.er1
35834 cat conftest.err >&5
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); } &&
35837 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35839 (eval $ac_try) 2>&5
35840 ac_status=$?
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); }; } &&
35843 { ac_try='test -s conftest.$ac_objext'
35844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35845 (eval $ac_try) 2>&5
35846 ac_status=$?
35847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848 (exit $ac_status); }; }; then
35849 wx_cv_size_t_is_uint=no
35850 else
35851 echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.$ac_ext >&5
35853
35854 wx_cv_size_t_is_uint=yes
35855
35856 fi
35857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35858
35859
35860 fi
35861 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35862 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
35863
35864 if test "$wx_cv_size_t_is_uint" = "yes"; then
35865 cat >>confdefs.h <<\_ACEOF
35866 #define wxSIZE_T_IS_UINT 1
35867 _ACEOF
35868
35869 else
35870 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35871 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
35872 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35873 echo $ECHO_N "(cached) $ECHO_C" >&6
35874 else
35875 cat >conftest.$ac_ext <<_ACEOF
35876 /* confdefs.h. */
35877 _ACEOF
35878 cat confdefs.h >>conftest.$ac_ext
35879 cat >>conftest.$ac_ext <<_ACEOF
35880 /* end confdefs.h. */
35881 #include <stddef.h>
35882 int
35883 main ()
35884 {
35885
35886 return 0; }
35887
35888 struct Foo { void foo(size_t); void foo(unsigned long); };
35889
35890 int bar() {
35891
35892 ;
35893 return 0;
35894 }
35895 _ACEOF
35896 rm -f conftest.$ac_objext
35897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35898 (eval $ac_compile) 2>conftest.er1
35899 ac_status=$?
35900 grep -v '^ *+' conftest.er1 >conftest.err
35901 rm -f conftest.er1
35902 cat conftest.err >&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); } &&
35905 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35907 (eval $ac_try) 2>&5
35908 ac_status=$?
35909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35910 (exit $ac_status); }; } &&
35911 { ac_try='test -s conftest.$ac_objext'
35912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35913 (eval $ac_try) 2>&5
35914 ac_status=$?
35915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); }; }; then
35917 wx_cv_size_t_is_ulong=no
35918 else
35919 echo "$as_me: failed program was:" >&5
35920 sed 's/^/| /' conftest.$ac_ext >&5
35921
35922 wx_cv_size_t_is_ulong=yes
35923
35924 fi
35925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35926
35927 fi
35928 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35929 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
35930
35931 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35932 cat >>confdefs.h <<\_ACEOF
35933 #define wxSIZE_T_IS_ULONG 1
35934 _ACEOF
35935
35936 fi
35937 fi
35938
35939 echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35940 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6
35941 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35942 echo $ECHO_N "(cached) $ECHO_C" >&6
35943 else
35944 cat >conftest.$ac_ext <<_ACEOF
35945 /* confdefs.h. */
35946 _ACEOF
35947 cat confdefs.h >>conftest.$ac_ext
35948 cat >>conftest.$ac_ext <<_ACEOF
35949 /* end confdefs.h. */
35950 #include <wchar.h>
35951 int
35952 main ()
35953 {
35954
35955 return 0; }
35956
35957 struct Foo { void foo(wchar_t);
35958 void foo(unsigned short);
35959 void foo(unsigned int);
35960 void foo(unsigned long); };
35961
35962 int bar() {
35963
35964 ;
35965 return 0;
35966 }
35967 _ACEOF
35968 rm -f conftest.$ac_objext
35969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35970 (eval $ac_compile) 2>conftest.er1
35971 ac_status=$?
35972 grep -v '^ *+' conftest.er1 >conftest.err
35973 rm -f conftest.er1
35974 cat conftest.err >&5
35975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35976 (exit $ac_status); } &&
35977 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35979 (eval $ac_try) 2>&5
35980 ac_status=$?
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); }; } &&
35983 { ac_try='test -s conftest.$ac_objext'
35984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35985 (eval $ac_try) 2>&5
35986 ac_status=$?
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); }; }; then
35989 wx_cv_wchar_t_is_separate_type=yes
35990 else
35991 echo "$as_me: failed program was:" >&5
35992 sed 's/^/| /' conftest.$ac_ext >&5
35993
35994 wx_cv_wchar_t_is_separate_type=no
35995
35996 fi
35997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35998
35999 fi
36000 echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36001 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6
36002
36003 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36004 cat >>confdefs.h <<\_ACEOF
36005 #define wxWCHAR_T_IS_REAL_TYPE 1
36006 _ACEOF
36007
36008 else
36009 cat >>confdefs.h <<\_ACEOF
36010 #define wxWCHAR_T_IS_REAL_TYPE 0
36011 _ACEOF
36012
36013 fi
36014
36015 ac_ext=c
36016 ac_cpp='$CPP $CPPFLAGS'
36017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36020
36021
36022 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36023 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
36024 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36025 echo $ECHO_N "(cached) $ECHO_C" >&6
36026 else
36027
36028 cat >conftest.$ac_ext <<_ACEOF
36029 /* confdefs.h. */
36030 _ACEOF
36031 cat confdefs.h >>conftest.$ac_ext
36032 cat >>conftest.$ac_ext <<_ACEOF
36033 /* end confdefs.h. */
36034 #include <pwd.h>
36035 int
36036 main ()
36037 {
36038
36039 char *p;
36040 struct passwd *pw;
36041 p = pw->pw_gecos;
36042
36043 ;
36044 return 0;
36045 }
36046 _ACEOF
36047 rm -f conftest.$ac_objext
36048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36049 (eval $ac_compile) 2>conftest.er1
36050 ac_status=$?
36051 grep -v '^ *+' conftest.er1 >conftest.err
36052 rm -f conftest.er1
36053 cat conftest.err >&5
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); } &&
36056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36059 ac_status=$?
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; } &&
36062 { ac_try='test -s conftest.$ac_objext'
36063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36064 (eval $ac_try) 2>&5
36065 ac_status=$?
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); }; }; then
36068
36069 wx_cv_struct_pw_gecos=yes
36070
36071 else
36072 echo "$as_me: failed program was:" >&5
36073 sed 's/^/| /' conftest.$ac_ext >&5
36074
36075
36076 wx_cv_struct_pw_gecos=no
36077
36078
36079 fi
36080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36081
36082
36083 fi
36084 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36085 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
36086
36087 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36088 cat >>confdefs.h <<\_ACEOF
36089 #define HAVE_PW_GECOS 1
36090 _ACEOF
36091
36092 fi
36093
36094
36095 if test "$wxUSE_WCHAR_T" = "yes"; then
36096 cat >>confdefs.h <<\_ACEOF
36097 #define wxUSE_WCHAR_T 1
36098 _ACEOF
36099
36100
36101 WCSLEN_FOUND=0
36102 WCHAR_LINK=
36103
36104 for ac_func in wcslen
36105 do
36106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36107 echo "$as_me:$LINENO: checking for $ac_func" >&5
36108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36109 if eval "test \"\${$as_ac_var+set}\" = set"; then
36110 echo $ECHO_N "(cached) $ECHO_C" >&6
36111 else
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 $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36120 #define $ac_func innocuous_$ac_func
36121
36122 /* System header to define __stub macros and hopefully few prototypes,
36123 which can conflict with char $ac_func (); below.
36124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36125 <limits.h> exists even on freestanding compilers. */
36126
36127 #ifdef __STDC__
36128 # include <limits.h>
36129 #else
36130 # include <assert.h>
36131 #endif
36132
36133 #undef $ac_func
36134
36135 /* Override any gcc2 internal prototype to avoid an error. */
36136 #ifdef __cplusplus
36137 extern "C"
36138 {
36139 #endif
36140 /* We use char because int might match the return type of a gcc2
36141 builtin and then its argument prototype would still apply. */
36142 char $ac_func ();
36143 /* The GNU C library defines this for functions which it implements
36144 to always fail with ENOSYS. Some functions are actually named
36145 something starting with __ and the normal name is an alias. */
36146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36147 choke me
36148 #else
36149 char (*f) () = $ac_func;
36150 #endif
36151 #ifdef __cplusplus
36152 }
36153 #endif
36154
36155 int
36156 main ()
36157 {
36158 return f != $ac_func;
36159 ;
36160 return 0;
36161 }
36162 _ACEOF
36163 rm -f conftest.$ac_objext conftest$ac_exeext
36164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36165 (eval $ac_link) 2>conftest.er1
36166 ac_status=$?
36167 grep -v '^ *+' conftest.er1 >conftest.err
36168 rm -f conftest.er1
36169 cat conftest.err >&5
36170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36171 (exit $ac_status); } &&
36172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36174 (eval $ac_try) 2>&5
36175 ac_status=$?
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); }; } &&
36178 { ac_try='test -s conftest$ac_exeext'
36179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36180 (eval $ac_try) 2>&5
36181 ac_status=$?
36182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36183 (exit $ac_status); }; }; then
36184 eval "$as_ac_var=yes"
36185 else
36186 echo "$as_me: failed program was:" >&5
36187 sed 's/^/| /' conftest.$ac_ext >&5
36188
36189 eval "$as_ac_var=no"
36190 fi
36191 rm -f conftest.err conftest.$ac_objext \
36192 conftest$ac_exeext conftest.$ac_ext
36193 fi
36194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36196 if test `eval echo '${'$as_ac_var'}'` = yes; then
36197 cat >>confdefs.h <<_ACEOF
36198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36199 _ACEOF
36200 WCSLEN_FOUND=1
36201 fi
36202 done
36203
36204
36205 if test "$WCSLEN_FOUND" = 0; then
36206 if test "$TOOLKIT" = "MSW"; then
36207 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36208 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
36209 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36210 echo $ECHO_N "(cached) $ECHO_C" >&6
36211 else
36212 ac_check_lib_save_LIBS=$LIBS
36213 LIBS="-lmsvcrt $LIBS"
36214 cat >conftest.$ac_ext <<_ACEOF
36215 /* confdefs.h. */
36216 _ACEOF
36217 cat confdefs.h >>conftest.$ac_ext
36218 cat >>conftest.$ac_ext <<_ACEOF
36219 /* end confdefs.h. */
36220
36221 /* Override any gcc2 internal prototype to avoid an error. */
36222 #ifdef __cplusplus
36223 extern "C"
36224 #endif
36225 /* We use char because int might match the return type of a gcc2
36226 builtin and then its argument prototype would still apply. */
36227 char wcslen ();
36228 int
36229 main ()
36230 {
36231 wcslen ();
36232 ;
36233 return 0;
36234 }
36235 _ACEOF
36236 rm -f conftest.$ac_objext conftest$ac_exeext
36237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36238 (eval $ac_link) 2>conftest.er1
36239 ac_status=$?
36240 grep -v '^ *+' conftest.er1 >conftest.err
36241 rm -f conftest.er1
36242 cat conftest.err >&5
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); } &&
36245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36247 (eval $ac_try) 2>&5
36248 ac_status=$?
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); }; } &&
36251 { ac_try='test -s conftest$ac_exeext'
36252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36253 (eval $ac_try) 2>&5
36254 ac_status=$?
36255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36256 (exit $ac_status); }; }; then
36257 ac_cv_lib_msvcrt_wcslen=yes
36258 else
36259 echo "$as_me: failed program was:" >&5
36260 sed 's/^/| /' conftest.$ac_ext >&5
36261
36262 ac_cv_lib_msvcrt_wcslen=no
36263 fi
36264 rm -f conftest.err conftest.$ac_objext \
36265 conftest$ac_exeext conftest.$ac_ext
36266 LIBS=$ac_check_lib_save_LIBS
36267 fi
36268 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36269 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
36270 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36271 WCHAR_OK=1
36272 fi
36273
36274 else
36275 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36276 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
36277 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 else
36280 ac_check_lib_save_LIBS=$LIBS
36281 LIBS="-lw $LIBS"
36282 cat >conftest.$ac_ext <<_ACEOF
36283 /* confdefs.h. */
36284 _ACEOF
36285 cat confdefs.h >>conftest.$ac_ext
36286 cat >>conftest.$ac_ext <<_ACEOF
36287 /* end confdefs.h. */
36288
36289 /* Override any gcc2 internal prototype to avoid an error. */
36290 #ifdef __cplusplus
36291 extern "C"
36292 #endif
36293 /* We use char because int might match the return type of a gcc2
36294 builtin and then its argument prototype would still apply. */
36295 char wcslen ();
36296 int
36297 main ()
36298 {
36299 wcslen ();
36300 ;
36301 return 0;
36302 }
36303 _ACEOF
36304 rm -f conftest.$ac_objext conftest$ac_exeext
36305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36306 (eval $ac_link) 2>conftest.er1
36307 ac_status=$?
36308 grep -v '^ *+' conftest.er1 >conftest.err
36309 rm -f conftest.er1
36310 cat conftest.err >&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); } &&
36313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36316 ac_status=$?
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; } &&
36319 { ac_try='test -s conftest$ac_exeext'
36320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36321 (eval $ac_try) 2>&5
36322 ac_status=$?
36323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324 (exit $ac_status); }; }; then
36325 ac_cv_lib_w_wcslen=yes
36326 else
36327 echo "$as_me: failed program was:" >&5
36328 sed 's/^/| /' conftest.$ac_ext >&5
36329
36330 ac_cv_lib_w_wcslen=no
36331 fi
36332 rm -f conftest.err conftest.$ac_objext \
36333 conftest$ac_exeext conftest.$ac_ext
36334 LIBS=$ac_check_lib_save_LIBS
36335 fi
36336 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36337 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
36338 if test $ac_cv_lib_w_wcslen = yes; then
36339
36340 WCHAR_LINK=" -lw"
36341 WCSLEN_FOUND=1
36342
36343 fi
36344
36345 fi
36346 fi
36347
36348 if test "$WCSLEN_FOUND" = 1; then
36349 cat >>confdefs.h <<\_ACEOF
36350 #define HAVE_WCSLEN 1
36351 _ACEOF
36352
36353 fi
36354
36355
36356 for ac_func in wcsdup
36357 do
36358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36359 echo "$as_me:$LINENO: checking for $ac_func" >&5
36360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36361 if eval "test \"\${$as_ac_var+set}\" = set"; then
36362 echo $ECHO_N "(cached) $ECHO_C" >&6
36363 else
36364 cat >conftest.$ac_ext <<_ACEOF
36365 /* confdefs.h. */
36366 _ACEOF
36367 cat confdefs.h >>conftest.$ac_ext
36368 cat >>conftest.$ac_ext <<_ACEOF
36369 /* end confdefs.h. */
36370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36372 #define $ac_func innocuous_$ac_func
36373
36374 /* System header to define __stub macros and hopefully few prototypes,
36375 which can conflict with char $ac_func (); below.
36376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36377 <limits.h> exists even on freestanding compilers. */
36378
36379 #ifdef __STDC__
36380 # include <limits.h>
36381 #else
36382 # include <assert.h>
36383 #endif
36384
36385 #undef $ac_func
36386
36387 /* Override any gcc2 internal prototype to avoid an error. */
36388 #ifdef __cplusplus
36389 extern "C"
36390 {
36391 #endif
36392 /* We use char because int might match the return type of a gcc2
36393 builtin and then its argument prototype would still apply. */
36394 char $ac_func ();
36395 /* The GNU C library defines this for functions which it implements
36396 to always fail with ENOSYS. Some functions are actually named
36397 something starting with __ and the normal name is an alias. */
36398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36399 choke me
36400 #else
36401 char (*f) () = $ac_func;
36402 #endif
36403 #ifdef __cplusplus
36404 }
36405 #endif
36406
36407 int
36408 main ()
36409 {
36410 return f != $ac_func;
36411 ;
36412 return 0;
36413 }
36414 _ACEOF
36415 rm -f conftest.$ac_objext conftest$ac_exeext
36416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36417 (eval $ac_link) 2>conftest.er1
36418 ac_status=$?
36419 grep -v '^ *+' conftest.er1 >conftest.err
36420 rm -f conftest.er1
36421 cat conftest.err >&5
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); } &&
36424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36426 (eval $ac_try) 2>&5
36427 ac_status=$?
36428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429 (exit $ac_status); }; } &&
36430 { ac_try='test -s conftest$ac_exeext'
36431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36432 (eval $ac_try) 2>&5
36433 ac_status=$?
36434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 (exit $ac_status); }; }; then
36436 eval "$as_ac_var=yes"
36437 else
36438 echo "$as_me: failed program was:" >&5
36439 sed 's/^/| /' conftest.$ac_ext >&5
36440
36441 eval "$as_ac_var=no"
36442 fi
36443 rm -f conftest.err conftest.$ac_objext \
36444 conftest$ac_exeext conftest.$ac_ext
36445 fi
36446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36448 if test `eval echo '${'$as_ac_var'}'` = yes; then
36449 cat >>confdefs.h <<_ACEOF
36450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36451 _ACEOF
36452
36453 fi
36454 done
36455
36456
36457 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36458 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36459 fi
36460
36461 echo "$as_me:$LINENO: checking for mbstate_t" >&5
36462 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
36463 if test "${ac_cv_type_mbstate_t+set}" = set; then
36464 echo $ECHO_N "(cached) $ECHO_C" >&6
36465 else
36466 cat >conftest.$ac_ext <<_ACEOF
36467 /* confdefs.h. */
36468 _ACEOF
36469 cat confdefs.h >>conftest.$ac_ext
36470 cat >>conftest.$ac_ext <<_ACEOF
36471 /* end confdefs.h. */
36472 #include <wchar.h>
36473
36474 int
36475 main ()
36476 {
36477 if ((mbstate_t *) 0)
36478 return 0;
36479 if (sizeof (mbstate_t))
36480 return 0;
36481 ;
36482 return 0;
36483 }
36484 _ACEOF
36485 rm -f conftest.$ac_objext
36486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36487 (eval $ac_compile) 2>conftest.er1
36488 ac_status=$?
36489 grep -v '^ *+' conftest.er1 >conftest.err
36490 rm -f conftest.er1
36491 cat conftest.err >&5
36492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36493 (exit $ac_status); } &&
36494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36496 (eval $ac_try) 2>&5
36497 ac_status=$?
36498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36499 (exit $ac_status); }; } &&
36500 { ac_try='test -s conftest.$ac_objext'
36501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36502 (eval $ac_try) 2>&5
36503 ac_status=$?
36504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36505 (exit $ac_status); }; }; then
36506 ac_cv_type_mbstate_t=yes
36507 else
36508 echo "$as_me: failed program was:" >&5
36509 sed 's/^/| /' conftest.$ac_ext >&5
36510
36511 ac_cv_type_mbstate_t=no
36512 fi
36513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36514 fi
36515 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36516 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
36517 if test $ac_cv_type_mbstate_t = yes; then
36518
36519 cat >>confdefs.h <<_ACEOF
36520 #define HAVE_MBSTATE_T 1
36521 _ACEOF
36522
36523
36524 for ac_func in wcsrtombs
36525 do
36526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36527 echo "$as_me:$LINENO: checking for $ac_func" >&5
36528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36529 if eval "test \"\${$as_ac_var+set}\" = set"; then
36530 echo $ECHO_N "(cached) $ECHO_C" >&6
36531 else
36532 cat >conftest.$ac_ext <<_ACEOF
36533 /* confdefs.h. */
36534 _ACEOF
36535 cat confdefs.h >>conftest.$ac_ext
36536 cat >>conftest.$ac_ext <<_ACEOF
36537 /* end confdefs.h. */
36538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36540 #define $ac_func innocuous_$ac_func
36541
36542 /* System header to define __stub macros and hopefully few prototypes,
36543 which can conflict with char $ac_func (); below.
36544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36545 <limits.h> exists even on freestanding compilers. */
36546
36547 #ifdef __STDC__
36548 # include <limits.h>
36549 #else
36550 # include <assert.h>
36551 #endif
36552
36553 #undef $ac_func
36554
36555 /* Override any gcc2 internal prototype to avoid an error. */
36556 #ifdef __cplusplus
36557 extern "C"
36558 {
36559 #endif
36560 /* We use char because int might match the return type of a gcc2
36561 builtin and then its argument prototype would still apply. */
36562 char $ac_func ();
36563 /* The GNU C library defines this for functions which it implements
36564 to always fail with ENOSYS. Some functions are actually named
36565 something starting with __ and the normal name is an alias. */
36566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36567 choke me
36568 #else
36569 char (*f) () = $ac_func;
36570 #endif
36571 #ifdef __cplusplus
36572 }
36573 #endif
36574
36575 int
36576 main ()
36577 {
36578 return f != $ac_func;
36579 ;
36580 return 0;
36581 }
36582 _ACEOF
36583 rm -f conftest.$ac_objext conftest$ac_exeext
36584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36585 (eval $ac_link) 2>conftest.er1
36586 ac_status=$?
36587 grep -v '^ *+' conftest.er1 >conftest.err
36588 rm -f conftest.er1
36589 cat conftest.err >&5
36590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36591 (exit $ac_status); } &&
36592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36594 (eval $ac_try) 2>&5
36595 ac_status=$?
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); }; } &&
36598 { ac_try='test -s conftest$ac_exeext'
36599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36600 (eval $ac_try) 2>&5
36601 ac_status=$?
36602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36603 (exit $ac_status); }; }; then
36604 eval "$as_ac_var=yes"
36605 else
36606 echo "$as_me: failed program was:" >&5
36607 sed 's/^/| /' conftest.$ac_ext >&5
36608
36609 eval "$as_ac_var=no"
36610 fi
36611 rm -f conftest.err conftest.$ac_objext \
36612 conftest$ac_exeext conftest.$ac_ext
36613 fi
36614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36616 if test `eval echo '${'$as_ac_var'}'` = yes; then
36617 cat >>confdefs.h <<_ACEOF
36618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36619 _ACEOF
36620
36621 fi
36622 done
36623
36624 fi
36625
36626 else
36627 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36628 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36629 fi
36630
36631
36632
36633 for ac_func in snprintf vsnprintf
36634 do
36635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36636 echo "$as_me:$LINENO: checking for $ac_func" >&5
36637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36638 if eval "test \"\${$as_ac_var+set}\" = set"; then
36639 echo $ECHO_N "(cached) $ECHO_C" >&6
36640 else
36641 cat >conftest.$ac_ext <<_ACEOF
36642 /* confdefs.h. */
36643 _ACEOF
36644 cat confdefs.h >>conftest.$ac_ext
36645 cat >>conftest.$ac_ext <<_ACEOF
36646 /* end confdefs.h. */
36647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36649 #define $ac_func innocuous_$ac_func
36650
36651 /* System header to define __stub macros and hopefully few prototypes,
36652 which can conflict with char $ac_func (); below.
36653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36654 <limits.h> exists even on freestanding compilers. */
36655
36656 #ifdef __STDC__
36657 # include <limits.h>
36658 #else
36659 # include <assert.h>
36660 #endif
36661
36662 #undef $ac_func
36663
36664 /* Override any gcc2 internal prototype to avoid an error. */
36665 #ifdef __cplusplus
36666 extern "C"
36667 {
36668 #endif
36669 /* We use char because int might match the return type of a gcc2
36670 builtin and then its argument prototype would still apply. */
36671 char $ac_func ();
36672 /* The GNU C library defines this for functions which it implements
36673 to always fail with ENOSYS. Some functions are actually named
36674 something starting with __ and the normal name is an alias. */
36675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36676 choke me
36677 #else
36678 char (*f) () = $ac_func;
36679 #endif
36680 #ifdef __cplusplus
36681 }
36682 #endif
36683
36684 int
36685 main ()
36686 {
36687 return f != $ac_func;
36688 ;
36689 return 0;
36690 }
36691 _ACEOF
36692 rm -f conftest.$ac_objext conftest$ac_exeext
36693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36694 (eval $ac_link) 2>conftest.er1
36695 ac_status=$?
36696 grep -v '^ *+' conftest.er1 >conftest.err
36697 rm -f conftest.er1
36698 cat conftest.err >&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); } &&
36701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36703 (eval $ac_try) 2>&5
36704 ac_status=$?
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); }; } &&
36707 { ac_try='test -s conftest$ac_exeext'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36710 ac_status=$?
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; }; then
36713 eval "$as_ac_var=yes"
36714 else
36715 echo "$as_me: failed program was:" >&5
36716 sed 's/^/| /' conftest.$ac_ext >&5
36717
36718 eval "$as_ac_var=no"
36719 fi
36720 rm -f conftest.err conftest.$ac_objext \
36721 conftest$ac_exeext conftest.$ac_ext
36722 fi
36723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36725 if test `eval echo '${'$as_ac_var'}'` = yes; then
36726 cat >>confdefs.h <<_ACEOF
36727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36728 _ACEOF
36729
36730 fi
36731 done
36732
36733
36734 if test "$ac_cv_func_vsnprintf" = "yes"; then
36735 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36736 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
36737 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36738 echo $ECHO_N "(cached) $ECHO_C" >&6
36739 else
36740
36741 cat >conftest.$ac_ext <<_ACEOF
36742 /* confdefs.h. */
36743 _ACEOF
36744 cat confdefs.h >>conftest.$ac_ext
36745 cat >>conftest.$ac_ext <<_ACEOF
36746 /* end confdefs.h. */
36747
36748 #include <stdio.h>
36749 #include <stdarg.h>
36750 #ifdef __MSL__
36751 #if __MSL__ >= 0x6000
36752 namespace std {}
36753 using namespace std;
36754 #endif
36755 #endif
36756
36757 int
36758 main ()
36759 {
36760
36761 char *buf;
36762 va_list ap;
36763 vsnprintf(buf, 10u, "%s", ap);
36764
36765 ;
36766 return 0;
36767 }
36768 _ACEOF
36769 rm -f conftest.$ac_objext
36770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36771 (eval $ac_compile) 2>conftest.er1
36772 ac_status=$?
36773 grep -v '^ *+' conftest.er1 >conftest.err
36774 rm -f conftest.er1
36775 cat conftest.err >&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); } &&
36778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36780 (eval $ac_try) 2>&5
36781 ac_status=$?
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); }; } &&
36784 { ac_try='test -s conftest.$ac_objext'
36785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36786 (eval $ac_try) 2>&5
36787 ac_status=$?
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); }; }; then
36790 wx_cv_func_vsnprintf_decl=yes
36791 else
36792 echo "$as_me: failed program was:" >&5
36793 sed 's/^/| /' conftest.$ac_ext >&5
36794
36795 wx_cv_func_vsnprintf_decl=no
36796
36797 fi
36798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36799
36800
36801 fi
36802 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36803 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
36804
36805 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36806 cat >>confdefs.h <<\_ACEOF
36807 #define HAVE_VSNPRINTF_DECL 1
36808 _ACEOF
36809
36810
36811 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36812 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
36813 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36814 echo $ECHO_N "(cached) $ECHO_C" >&6
36815 else
36816
36817 cat >conftest.$ac_ext <<_ACEOF
36818 /* confdefs.h. */
36819 _ACEOF
36820 cat confdefs.h >>conftest.$ac_ext
36821 cat >>conftest.$ac_ext <<_ACEOF
36822 /* end confdefs.h. */
36823
36824 #include <stdio.h>
36825 #include <stdarg.h>
36826 #ifdef __MSL__
36827 #if __MSL__ >= 0x6000
36828 namespace std {}
36829 using namespace std;
36830 #endif
36831 #endif
36832
36833 int
36834 main ()
36835 {
36836
36837 char *buf;
36838 va_list ap;
36839 const char *fmt = "%s";
36840 vsnprintf(buf, 10u, fmt, ap);
36841
36842 ;
36843 return 0;
36844 }
36845 _ACEOF
36846 rm -f conftest.$ac_objext
36847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36848 (eval $ac_compile) 2>conftest.er1
36849 ac_status=$?
36850 grep -v '^ *+' conftest.er1 >conftest.err
36851 rm -f conftest.er1
36852 cat conftest.err >&5
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); } &&
36855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36857 (eval $ac_try) 2>&5
36858 ac_status=$?
36859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36860 (exit $ac_status); }; } &&
36861 { ac_try='test -s conftest.$ac_objext'
36862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36863 (eval $ac_try) 2>&5
36864 ac_status=$?
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); }; }; then
36867 wx_cv_func_broken_vsnprintf_decl=no
36868 else
36869 echo "$as_me: failed program was:" >&5
36870 sed 's/^/| /' conftest.$ac_ext >&5
36871
36872 wx_cv_func_broken_vsnprintf_decl=yes
36873
36874 fi
36875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36876
36877
36878 fi
36879 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36880 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
36881
36882 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36883 cat >>confdefs.h <<\_ACEOF
36884 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36885 _ACEOF
36886
36887 fi
36888 fi
36889 fi
36890
36891 if test "$ac_cv_func_snprintf" = "yes"; then
36892 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36893 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
36894 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36895 echo $ECHO_N "(cached) $ECHO_C" >&6
36896 else
36897
36898 cat >conftest.$ac_ext <<_ACEOF
36899 /* confdefs.h. */
36900 _ACEOF
36901 cat confdefs.h >>conftest.$ac_ext
36902 cat >>conftest.$ac_ext <<_ACEOF
36903 /* end confdefs.h. */
36904
36905 #include <stdio.h>
36906 #include <stdarg.h>
36907 #ifdef __MSL__
36908 #if __MSL__ >= 0x6000
36909 namespace std {}
36910 using namespace std;
36911 #endif
36912 #endif
36913
36914 int
36915 main ()
36916 {
36917
36918 char *buf;
36919 snprintf(buf, 10u, "%s", "wx");
36920
36921 ;
36922 return 0;
36923 }
36924 _ACEOF
36925 rm -f conftest.$ac_objext
36926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36927 (eval $ac_compile) 2>conftest.er1
36928 ac_status=$?
36929 grep -v '^ *+' conftest.er1 >conftest.err
36930 rm -f conftest.er1
36931 cat conftest.err >&5
36932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36933 (exit $ac_status); } &&
36934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36936 (eval $ac_try) 2>&5
36937 ac_status=$?
36938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939 (exit $ac_status); }; } &&
36940 { ac_try='test -s conftest.$ac_objext'
36941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36942 (eval $ac_try) 2>&5
36943 ac_status=$?
36944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36945 (exit $ac_status); }; }; then
36946 wx_cv_func_snprintf_decl=yes
36947 else
36948 echo "$as_me: failed program was:" >&5
36949 sed 's/^/| /' conftest.$ac_ext >&5
36950
36951 wx_cv_func_snprintf_decl=no
36952
36953 fi
36954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36955
36956
36957 fi
36958 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36959 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
36960
36961 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36962 cat >>confdefs.h <<\_ACEOF
36963 #define HAVE_SNPRINTF_DECL 1
36964 _ACEOF
36965
36966
36967 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
36968 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
36969 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
36970 echo $ECHO_N "(cached) $ECHO_C" >&6
36971 else
36972
36973 cat >conftest.$ac_ext <<_ACEOF
36974 /* confdefs.h. */
36975 _ACEOF
36976 cat confdefs.h >>conftest.$ac_ext
36977 cat >>conftest.$ac_ext <<_ACEOF
36978 /* end confdefs.h. */
36979
36980 #include <stdio.h>
36981 #include <stdarg.h>
36982 #ifdef __MSL__
36983 #if __MSL__ >= 0x6000
36984 namespace std {}
36985 using namespace std;
36986 #endif
36987 #endif
36988
36989 int
36990 main ()
36991 {
36992
36993 char *buf;
36994 const char *fmt = "%s";
36995 snprintf(buf, 10u, fmt, "wx");
36996
36997 ;
36998 return 0;
36999 }
37000 _ACEOF
37001 rm -f conftest.$ac_objext
37002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37003 (eval $ac_compile) 2>conftest.er1
37004 ac_status=$?
37005 grep -v '^ *+' conftest.er1 >conftest.err
37006 rm -f conftest.er1
37007 cat conftest.err >&5
37008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37009 (exit $ac_status); } &&
37010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37012 (eval $ac_try) 2>&5
37013 ac_status=$?
37014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37015 (exit $ac_status); }; } &&
37016 { ac_try='test -s conftest.$ac_objext'
37017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37018 (eval $ac_try) 2>&5
37019 ac_status=$?
37020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021 (exit $ac_status); }; }; then
37022 wx_cv_func_broken_snprintf_decl=no
37023 else
37024 echo "$as_me: failed program was:" >&5
37025 sed 's/^/| /' conftest.$ac_ext >&5
37026
37027 wx_cv_func_broken_snprintf_decl=yes
37028
37029 fi
37030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37031
37032
37033 fi
37034 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37035 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
37036
37037 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37038 cat >>confdefs.h <<\_ACEOF
37039 #define HAVE_BROKEN_SNPRINTF_DECL 1
37040 _ACEOF
37041
37042 fi
37043 fi
37044
37045 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37046
37047 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37048 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
37049 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37050 echo $ECHO_N "(cached) $ECHO_C" >&6
37051 else
37052
37053 if test "$cross_compiling" = yes; then
37054
37055 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37056 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37057 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37058 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37059 wx_cv_func_snprintf_pos_params=no
37060
37061
37062 else
37063 cat >conftest.$ac_ext <<_ACEOF
37064 /* confdefs.h. */
37065 _ACEOF
37066 cat confdefs.h >>conftest.$ac_ext
37067 cat >>conftest.$ac_ext <<_ACEOF
37068 /* end confdefs.h. */
37069
37070 #include <stdio.h>
37071
37072 int main (void)
37073 {
37074 char buffer[128];
37075 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37076 if (strcmp ("2 3 1", buffer) == 0)
37077 exit (0);
37078 exit (1);
37079 }
37080
37081 _ACEOF
37082 rm -f conftest$ac_exeext
37083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37084 (eval $ac_link) 2>&5
37085 ac_status=$?
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37089 (eval $ac_try) 2>&5
37090 ac_status=$?
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); }; }; then
37093 wx_cv_func_snprintf_pos_params=no
37094 else
37095 echo "$as_me: program exited with status $ac_status" >&5
37096 echo "$as_me: failed program was:" >&5
37097 sed 's/^/| /' conftest.$ac_ext >&5
37098
37099 ( exit $ac_status )
37100 wx_cv_func_snprintf_pos_params=yes
37101 fi
37102 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37103 fi
37104
37105
37106 fi
37107 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37108 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
37109
37110 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37111 cat >>confdefs.h <<\_ACEOF
37112 #define HAVE_UNIX98_PRINTF 1
37113 _ACEOF
37114
37115 fi
37116 fi
37117 fi
37118
37119 if test "$wxUSE_UNICODE" = yes; then
37120
37121
37122 for ac_func in swprintf
37123 do
37124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37125 echo "$as_me:$LINENO: checking for $ac_func" >&5
37126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37127 if eval "test \"\${$as_ac_var+set}\" = set"; then
37128 echo $ECHO_N "(cached) $ECHO_C" >&6
37129 else
37130 cat >conftest.$ac_ext <<_ACEOF
37131 /* confdefs.h. */
37132 _ACEOF
37133 cat confdefs.h >>conftest.$ac_ext
37134 cat >>conftest.$ac_ext <<_ACEOF
37135 /* end confdefs.h. */
37136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37138 #define $ac_func innocuous_$ac_func
37139
37140 /* System header to define __stub macros and hopefully few prototypes,
37141 which can conflict with char $ac_func (); below.
37142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37143 <limits.h> exists even on freestanding compilers. */
37144
37145 #ifdef __STDC__
37146 # include <limits.h>
37147 #else
37148 # include <assert.h>
37149 #endif
37150
37151 #undef $ac_func
37152
37153 /* Override any gcc2 internal prototype to avoid an error. */
37154 #ifdef __cplusplus
37155 extern "C"
37156 {
37157 #endif
37158 /* We use char because int might match the return type of a gcc2
37159 builtin and then its argument prototype would still apply. */
37160 char $ac_func ();
37161 /* The GNU C library defines this for functions which it implements
37162 to always fail with ENOSYS. Some functions are actually named
37163 something starting with __ and the normal name is an alias. */
37164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37165 choke me
37166 #else
37167 char (*f) () = $ac_func;
37168 #endif
37169 #ifdef __cplusplus
37170 }
37171 #endif
37172
37173 int
37174 main ()
37175 {
37176 return f != $ac_func;
37177 ;
37178 return 0;
37179 }
37180 _ACEOF
37181 rm -f conftest.$ac_objext conftest$ac_exeext
37182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37183 (eval $ac_link) 2>conftest.er1
37184 ac_status=$?
37185 grep -v '^ *+' conftest.er1 >conftest.err
37186 rm -f conftest.er1
37187 cat conftest.err >&5
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); } &&
37190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37192 (eval $ac_try) 2>&5
37193 ac_status=$?
37194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37195 (exit $ac_status); }; } &&
37196 { ac_try='test -s conftest$ac_exeext'
37197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37198 (eval $ac_try) 2>&5
37199 ac_status=$?
37200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37201 (exit $ac_status); }; }; then
37202 eval "$as_ac_var=yes"
37203 else
37204 echo "$as_me: failed program was:" >&5
37205 sed 's/^/| /' conftest.$ac_ext >&5
37206
37207 eval "$as_ac_var=no"
37208 fi
37209 rm -f conftest.err conftest.$ac_objext \
37210 conftest$ac_exeext conftest.$ac_ext
37211 fi
37212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37214 if test `eval echo '${'$as_ac_var'}'` = yes; then
37215 cat >>confdefs.h <<_ACEOF
37216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37217 _ACEOF
37218
37219 fi
37220 done
37221
37222
37223 if test "$ac_cv_func_swprintf" = "yes"; then
37224 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
37225 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
37226 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
37227 echo $ECHO_N "(cached) $ECHO_C" >&6
37228 else
37229
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
37237 #include <stdio.h>
37238 #include <stdarg.h>
37239 #include <wchar.h>
37240
37241 int
37242 main ()
37243 {
37244
37245 wchar_t *buf;
37246 const wchar_t *fmt = L"test";
37247 swprintf(buf, 10u, fmt);
37248
37249 ;
37250 return 0;
37251 }
37252 _ACEOF
37253 rm -f conftest.$ac_objext
37254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37255 (eval $ac_compile) 2>conftest.er1
37256 ac_status=$?
37257 grep -v '^ *+' conftest.er1 >conftest.err
37258 rm -f conftest.er1
37259 cat conftest.err >&5
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); } &&
37262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37264 (eval $ac_try) 2>&5
37265 ac_status=$?
37266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37267 (exit $ac_status); }; } &&
37268 { ac_try='test -s conftest.$ac_objext'
37269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37270 (eval $ac_try) 2>&5
37271 ac_status=$?
37272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273 (exit $ac_status); }; }; then
37274 wx_cv_func_broken_swprintf_decl=no
37275 else
37276 echo "$as_me: failed program was:" >&5
37277 sed 's/^/| /' conftest.$ac_ext >&5
37278
37279 wx_cv_func_broken_swprintf_decl=yes
37280
37281 fi
37282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37283
37284
37285 fi
37286 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
37287 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
37288
37289 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
37290 cat >>confdefs.h <<\_ACEOF
37291 #define HAVE_BROKEN_SWPRINTF_DECL 1
37292 _ACEOF
37293
37294 fi
37295 fi
37296
37297 wchar_headers="#include <stdio.h>
37298 #include <wchar.h>"
37299 case "${host}" in
37300 *-*-solaris2* )
37301 echo "$as_me:$LINENO: checking for widec.h" >&5
37302 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6
37303 if test "${ac_cv_header_widec_h+set}" = set; then
37304 echo $ECHO_N "(cached) $ECHO_C" >&6
37305 else
37306 cat >conftest.$ac_ext <<_ACEOF
37307 /* confdefs.h. */
37308 _ACEOF
37309 cat confdefs.h >>conftest.$ac_ext
37310 cat >>conftest.$ac_ext <<_ACEOF
37311 /* end confdefs.h. */
37312 $ac_includes_default
37313
37314 #include <widec.h>
37315 _ACEOF
37316 rm -f conftest.$ac_objext
37317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37318 (eval $ac_compile) 2>conftest.er1
37319 ac_status=$?
37320 grep -v '^ *+' conftest.er1 >conftest.err
37321 rm -f conftest.er1
37322 cat conftest.err >&5
37323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37324 (exit $ac_status); } &&
37325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37327 (eval $ac_try) 2>&5
37328 ac_status=$?
37329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330 (exit $ac_status); }; } &&
37331 { ac_try='test -s conftest.$ac_objext'
37332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37333 (eval $ac_try) 2>&5
37334 ac_status=$?
37335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37336 (exit $ac_status); }; }; then
37337 ac_cv_header_widec_h=yes
37338 else
37339 echo "$as_me: failed program was:" >&5
37340 sed 's/^/| /' conftest.$ac_ext >&5
37341
37342 ac_cv_header_widec_h=no
37343 fi
37344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37345 fi
37346 echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
37347 echo "${ECHO_T}$ac_cv_header_widec_h" >&6
37348
37349
37350 if test "$ac_cv_header_widec_h" = "yes"; then
37351 wchar_headers="$wchar_headers
37352 #include <widec.h>"
37353 fi
37354 esac
37355
37356
37357 for wx_func in wputc wputchar putws fputws wprintf vswprintf
37358 do
37359 echo "$as_me:$LINENO: checking for $wx_func" >&5
37360 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37361 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37362 echo $ECHO_N "(cached) $ECHO_C" >&6
37363 else
37364
37365 cat >conftest.$ac_ext <<_ACEOF
37366
37367 /* confdefs.h. */
37368 _ACEOF
37369 cat confdefs.h >>conftest.$ac_ext
37370 cat >>conftest.$ac_ext <<_ACEOF
37371 /* end confdefs.h. */
37372
37373 $wchar_headers
37374 $ac_includes_default
37375
37376 int
37377 main ()
37378 {
37379
37380 #ifndef $wx_func
37381 &$wx_func;
37382 #endif
37383
37384
37385 ;
37386 return 0;
37387 }
37388
37389 _ACEOF
37390 rm -f conftest.$ac_objext conftest$ac_exeext
37391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37392 (eval $ac_link) 2>conftest.er1
37393 ac_status=$?
37394 grep -v '^ *+' conftest.er1 >conftest.err
37395 rm -f conftest.er1
37396 cat conftest.err >&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); } &&
37399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37401 (eval $ac_try) 2>&5
37402 ac_status=$?
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); }; } &&
37405 { ac_try='test -s conftest$ac_exeext'
37406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37407 (eval $ac_try) 2>&5
37408 ac_status=$?
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); }; }; then
37411 eval wx_cv_func_$wx_func=yes
37412 else
37413 echo "$as_me: failed program was:" >&5
37414 sed 's/^/| /' conftest.$ac_ext >&5
37415
37416 eval wx_cv_func_$wx_func=no
37417 fi
37418 rm -f conftest.err conftest.$ac_objext \
37419 conftest$ac_exeext conftest.$ac_ext
37420
37421 fi
37422 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37423 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37424
37425 if eval test \$wx_cv_func_$wx_func = yes
37426 then
37427 cat >>confdefs.h <<_ACEOF
37428 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37429 _ACEOF
37430
37431
37432 else
37433 :
37434
37435 fi
37436 done
37437
37438
37439 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37440 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
37441 cat >conftest.$ac_ext <<_ACEOF
37442 /* confdefs.h. */
37443 _ACEOF
37444 cat confdefs.h >>conftest.$ac_ext
37445 cat >>conftest.$ac_ext <<_ACEOF
37446 /* end confdefs.h. */
37447 #include <wchar.h>
37448 int
37449 main ()
37450 {
37451 &_vsnwprintf;
37452 ;
37453 return 0;
37454 }
37455 _ACEOF
37456 rm -f conftest.$ac_objext
37457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37458 (eval $ac_compile) 2>conftest.er1
37459 ac_status=$?
37460 grep -v '^ *+' conftest.er1 >conftest.err
37461 rm -f conftest.er1
37462 cat conftest.err >&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } &&
37465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37467 (eval $ac_try) 2>&5
37468 ac_status=$?
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); }; } &&
37471 { ac_try='test -s conftest.$ac_objext'
37472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37473 (eval $ac_try) 2>&5
37474 ac_status=$?
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); }; }; then
37477 echo "$as_me:$LINENO: result: yes" >&5
37478 echo "${ECHO_T}yes" >&6
37479 cat >>confdefs.h <<\_ACEOF
37480 #define HAVE__VSNWPRINTF 1
37481 _ACEOF
37482
37483 else
37484 echo "$as_me: failed program was:" >&5
37485 sed 's/^/| /' conftest.$ac_ext >&5
37486
37487 echo "$as_me:$LINENO: result: no" >&5
37488 echo "${ECHO_T}no" >&6
37489 fi
37490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
37491 fi
37492
37493 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
37494
37495 for wx_func in fnmatch
37496 do
37497 echo "$as_me:$LINENO: checking for $wx_func" >&5
37498 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37499 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37500 echo $ECHO_N "(cached) $ECHO_C" >&6
37501 else
37502
37503 cat >conftest.$ac_ext <<_ACEOF
37504
37505 /* confdefs.h. */
37506 _ACEOF
37507 cat confdefs.h >>conftest.$ac_ext
37508 cat >>conftest.$ac_ext <<_ACEOF
37509 /* end confdefs.h. */
37510
37511 #include <fnmatch.h>
37512 $ac_includes_default
37513
37514 int
37515 main ()
37516 {
37517
37518 #ifndef $wx_func
37519 &$wx_func;
37520 #endif
37521
37522
37523 ;
37524 return 0;
37525 }
37526
37527 _ACEOF
37528 rm -f conftest.$ac_objext conftest$ac_exeext
37529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37530 (eval $ac_link) 2>conftest.er1
37531 ac_status=$?
37532 grep -v '^ *+' conftest.er1 >conftest.err
37533 rm -f conftest.er1
37534 cat conftest.err >&5
37535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37536 (exit $ac_status); } &&
37537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37539 (eval $ac_try) 2>&5
37540 ac_status=$?
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); }; } &&
37543 { ac_try='test -s conftest$ac_exeext'
37544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37545 (eval $ac_try) 2>&5
37546 ac_status=$?
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); }; }; then
37549 eval wx_cv_func_$wx_func=yes
37550 else
37551 echo "$as_me: failed program was:" >&5
37552 sed 's/^/| /' conftest.$ac_ext >&5
37553
37554 eval wx_cv_func_$wx_func=no
37555 fi
37556 rm -f conftest.err conftest.$ac_objext \
37557 conftest$ac_exeext conftest.$ac_ext
37558
37559 fi
37560 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37561 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37562
37563 if eval test \$wx_cv_func_$wx_func = yes
37564 then
37565 cat >>confdefs.h <<_ACEOF
37566 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37567 _ACEOF
37568
37569
37570 else
37571 :
37572
37573 fi
37574 done
37575
37576 fi
37577
37578 if test "$wxUSE_FILE" = "yes"; then
37579
37580 for wx_func in fsync
37581 do
37582 echo "$as_me:$LINENO: checking for $wx_func" >&5
37583 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37584 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37586 else
37587
37588 cat >conftest.$ac_ext <<_ACEOF
37589
37590 /* confdefs.h. */
37591 _ACEOF
37592 cat confdefs.h >>conftest.$ac_ext
37593 cat >>conftest.$ac_ext <<_ACEOF
37594 /* end confdefs.h. */
37595
37596
37597 $ac_includes_default
37598
37599 int
37600 main ()
37601 {
37602
37603 #ifndef $wx_func
37604 &$wx_func;
37605 #endif
37606
37607
37608 ;
37609 return 0;
37610 }
37611
37612 _ACEOF
37613 rm -f conftest.$ac_objext conftest$ac_exeext
37614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37615 (eval $ac_link) 2>conftest.er1
37616 ac_status=$?
37617 grep -v '^ *+' conftest.er1 >conftest.err
37618 rm -f conftest.er1
37619 cat conftest.err >&5
37620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621 (exit $ac_status); } &&
37622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37624 (eval $ac_try) 2>&5
37625 ac_status=$?
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); }; } &&
37628 { ac_try='test -s conftest$ac_exeext'
37629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37630 (eval $ac_try) 2>&5
37631 ac_status=$?
37632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37633 (exit $ac_status); }; }; then
37634 eval wx_cv_func_$wx_func=yes
37635 else
37636 echo "$as_me: failed program was:" >&5
37637 sed 's/^/| /' conftest.$ac_ext >&5
37638
37639 eval wx_cv_func_$wx_func=no
37640 fi
37641 rm -f conftest.err conftest.$ac_objext \
37642 conftest$ac_exeext conftest.$ac_ext
37643
37644 fi
37645 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37646 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37647
37648 if eval test \$wx_cv_func_$wx_func = yes
37649 then
37650 cat >>confdefs.h <<_ACEOF
37651 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37652 _ACEOF
37653
37654
37655 else
37656 :
37657
37658 fi
37659 done
37660
37661 fi
37662
37663 ac_ext=cc
37664 ac_cpp='$CXXCPP $CPPFLAGS'
37665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37668
37669
37670 for wx_func in round
37671 do
37672 echo "$as_me:$LINENO: checking for $wx_func" >&5
37673 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37674 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37675 echo $ECHO_N "(cached) $ECHO_C" >&6
37676 else
37677
37678 cat >conftest.$ac_ext <<_ACEOF
37679
37680 /* confdefs.h. */
37681 _ACEOF
37682 cat confdefs.h >>conftest.$ac_ext
37683 cat >>conftest.$ac_ext <<_ACEOF
37684 /* end confdefs.h. */
37685
37686 #include <math.h>
37687 $ac_includes_default
37688
37689 int
37690 main ()
37691 {
37692
37693 #ifndef $wx_func
37694 &$wx_func;
37695 #endif
37696
37697
37698 ;
37699 return 0;
37700 }
37701
37702 _ACEOF
37703 rm -f conftest.$ac_objext conftest$ac_exeext
37704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37705 (eval $ac_link) 2>conftest.er1
37706 ac_status=$?
37707 grep -v '^ *+' conftest.er1 >conftest.err
37708 rm -f conftest.er1
37709 cat conftest.err >&5
37710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37711 (exit $ac_status); } &&
37712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37714 (eval $ac_try) 2>&5
37715 ac_status=$?
37716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37717 (exit $ac_status); }; } &&
37718 { ac_try='test -s conftest$ac_exeext'
37719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37720 (eval $ac_try) 2>&5
37721 ac_status=$?
37722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37723 (exit $ac_status); }; }; then
37724 eval wx_cv_func_$wx_func=yes
37725 else
37726 echo "$as_me: failed program was:" >&5
37727 sed 's/^/| /' conftest.$ac_ext >&5
37728
37729 eval wx_cv_func_$wx_func=no
37730 fi
37731 rm -f conftest.err conftest.$ac_objext \
37732 conftest$ac_exeext conftest.$ac_ext
37733
37734 fi
37735 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37736 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37737
37738 if eval test \$wx_cv_func_$wx_func = yes
37739 then
37740 cat >>confdefs.h <<_ACEOF
37741 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37742 _ACEOF
37743
37744
37745 else
37746 :
37747
37748 fi
37749 done
37750
37751 ac_ext=c
37752 ac_cpp='$CPP $CPPFLAGS'
37753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37756
37757
37758 if test "$TOOLKIT" != "MSW"; then
37759
37760
37761
37762
37763
37764 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
37765 if test "${with_libiconv_prefix+set}" = set; then
37766 withval="$with_libiconv_prefix"
37767
37768 for dir in `echo "$withval" | tr : ' '`; do
37769 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37770 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37771 done
37772
37773 fi;
37774
37775 echo "$as_me:$LINENO: checking for iconv" >&5
37776 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
37777 if test "${am_cv_func_iconv+set}" = set; then
37778 echo $ECHO_N "(cached) $ECHO_C" >&6
37779 else
37780
37781 am_cv_func_iconv="no, consider installing GNU libiconv"
37782 am_cv_lib_iconv=no
37783 cat >conftest.$ac_ext <<_ACEOF
37784 /* confdefs.h. */
37785 _ACEOF
37786 cat confdefs.h >>conftest.$ac_ext
37787 cat >>conftest.$ac_ext <<_ACEOF
37788 /* end confdefs.h. */
37789 #include <stdlib.h>
37790 #include <iconv.h>
37791 int
37792 main ()
37793 {
37794 iconv_t cd = iconv_open("","");
37795 iconv(cd,NULL,NULL,NULL,NULL);
37796 iconv_close(cd);
37797 ;
37798 return 0;
37799 }
37800 _ACEOF
37801 rm -f conftest.$ac_objext conftest$ac_exeext
37802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37803 (eval $ac_link) 2>conftest.er1
37804 ac_status=$?
37805 grep -v '^ *+' conftest.er1 >conftest.err
37806 rm -f conftest.er1
37807 cat conftest.err >&5
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); } &&
37810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37812 (eval $ac_try) 2>&5
37813 ac_status=$?
37814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37815 (exit $ac_status); }; } &&
37816 { ac_try='test -s conftest$ac_exeext'
37817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37818 (eval $ac_try) 2>&5
37819 ac_status=$?
37820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37821 (exit $ac_status); }; }; then
37822 am_cv_func_iconv=yes
37823 else
37824 echo "$as_me: failed program was:" >&5
37825 sed 's/^/| /' conftest.$ac_ext >&5
37826
37827 fi
37828 rm -f conftest.err conftest.$ac_objext \
37829 conftest$ac_exeext conftest.$ac_ext
37830 if test "$am_cv_func_iconv" != yes; then
37831 am_save_LIBS="$LIBS"
37832 LIBS="$LIBS -liconv"
37833 cat >conftest.$ac_ext <<_ACEOF
37834 /* confdefs.h. */
37835 _ACEOF
37836 cat confdefs.h >>conftest.$ac_ext
37837 cat >>conftest.$ac_ext <<_ACEOF
37838 /* end confdefs.h. */
37839 #include <stdlib.h>
37840 #include <iconv.h>
37841 int
37842 main ()
37843 {
37844 iconv_t cd = iconv_open("","");
37845 iconv(cd,NULL,NULL,NULL,NULL);
37846 iconv_close(cd);
37847 ;
37848 return 0;
37849 }
37850 _ACEOF
37851 rm -f conftest.$ac_objext conftest$ac_exeext
37852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37853 (eval $ac_link) 2>conftest.er1
37854 ac_status=$?
37855 grep -v '^ *+' conftest.er1 >conftest.err
37856 rm -f conftest.er1
37857 cat conftest.err >&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); } &&
37860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862 (eval $ac_try) 2>&5
37863 ac_status=$?
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); }; } &&
37866 { ac_try='test -s conftest$ac_exeext'
37867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37868 (eval $ac_try) 2>&5
37869 ac_status=$?
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); }; }; then
37872 am_cv_lib_iconv=yes
37873 am_cv_func_iconv=yes
37874 else
37875 echo "$as_me: failed program was:" >&5
37876 sed 's/^/| /' conftest.$ac_ext >&5
37877
37878 fi
37879 rm -f conftest.err conftest.$ac_objext \
37880 conftest$ac_exeext conftest.$ac_ext
37881 LIBS="$am_save_LIBS"
37882 fi
37883
37884 fi
37885 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37886 echo "${ECHO_T}$am_cv_func_iconv" >&6
37887 if test "$am_cv_func_iconv" = yes; then
37888
37889 cat >>confdefs.h <<\_ACEOF
37890 #define HAVE_ICONV 1
37891 _ACEOF
37892
37893 echo "$as_me:$LINENO: checking if iconv needs const" >&5
37894 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
37895 if test "${wx_cv_func_iconv_const+set}" = set; then
37896 echo $ECHO_N "(cached) $ECHO_C" >&6
37897 else
37898 cat >conftest.$ac_ext <<_ACEOF
37899 /* confdefs.h. */
37900 _ACEOF
37901 cat confdefs.h >>conftest.$ac_ext
37902 cat >>conftest.$ac_ext <<_ACEOF
37903 /* end confdefs.h. */
37904
37905 #include <stdlib.h>
37906 #include <iconv.h>
37907 extern
37908 #ifdef __cplusplus
37909 "C"
37910 #endif
37911 #if defined(__STDC__) || defined(__cplusplus)
37912 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37913 #else
37914 size_t iconv();
37915 #endif
37916
37917 int
37918 main ()
37919 {
37920
37921 ;
37922 return 0;
37923 }
37924 _ACEOF
37925 rm -f conftest.$ac_objext
37926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37927 (eval $ac_compile) 2>conftest.er1
37928 ac_status=$?
37929 grep -v '^ *+' conftest.er1 >conftest.err
37930 rm -f conftest.er1
37931 cat conftest.err >&5
37932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933 (exit $ac_status); } &&
37934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37936 (eval $ac_try) 2>&5
37937 ac_status=$?
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); }; } &&
37940 { ac_try='test -s conftest.$ac_objext'
37941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37942 (eval $ac_try) 2>&5
37943 ac_status=$?
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); }; }; then
37946 wx_cv_func_iconv_const="no"
37947 else
37948 echo "$as_me: failed program was:" >&5
37949 sed 's/^/| /' conftest.$ac_ext >&5
37950
37951 wx_cv_func_iconv_const="yes"
37952
37953 fi
37954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37955
37956 fi
37957 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37958 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
37959
37960 iconv_const=
37961 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37962 iconv_const="const"
37963 fi
37964
37965
37966 cat >>confdefs.h <<_ACEOF
37967 #define ICONV_CONST $iconv_const
37968 _ACEOF
37969
37970 fi
37971 LIBICONV=
37972 if test "$am_cv_lib_iconv" = yes; then
37973 LIBICONV="-liconv"
37974 fi
37975
37976
37977 LIBS="$LIBICONV $LIBS"
37978
37979 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37980
37981 for ac_func in sigaction
37982 do
37983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37984 echo "$as_me:$LINENO: checking for $ac_func" >&5
37985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37986 if eval "test \"\${$as_ac_var+set}\" = set"; then
37987 echo $ECHO_N "(cached) $ECHO_C" >&6
37988 else
37989 cat >conftest.$ac_ext <<_ACEOF
37990 /* confdefs.h. */
37991 _ACEOF
37992 cat confdefs.h >>conftest.$ac_ext
37993 cat >>conftest.$ac_ext <<_ACEOF
37994 /* end confdefs.h. */
37995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37997 #define $ac_func innocuous_$ac_func
37998
37999 /* System header to define __stub macros and hopefully few prototypes,
38000 which can conflict with char $ac_func (); below.
38001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38002 <limits.h> exists even on freestanding compilers. */
38003
38004 #ifdef __STDC__
38005 # include <limits.h>
38006 #else
38007 # include <assert.h>
38008 #endif
38009
38010 #undef $ac_func
38011
38012 /* Override any gcc2 internal prototype to avoid an error. */
38013 #ifdef __cplusplus
38014 extern "C"
38015 {
38016 #endif
38017 /* We use char because int might match the return type of a gcc2
38018 builtin and then its argument prototype would still apply. */
38019 char $ac_func ();
38020 /* The GNU C library defines this for functions which it implements
38021 to always fail with ENOSYS. Some functions are actually named
38022 something starting with __ and the normal name is an alias. */
38023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38024 choke me
38025 #else
38026 char (*f) () = $ac_func;
38027 #endif
38028 #ifdef __cplusplus
38029 }
38030 #endif
38031
38032 int
38033 main ()
38034 {
38035 return f != $ac_func;
38036 ;
38037 return 0;
38038 }
38039 _ACEOF
38040 rm -f conftest.$ac_objext conftest$ac_exeext
38041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38042 (eval $ac_link) 2>conftest.er1
38043 ac_status=$?
38044 grep -v '^ *+' conftest.er1 >conftest.err
38045 rm -f conftest.er1
38046 cat conftest.err >&5
38047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38048 (exit $ac_status); } &&
38049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38051 (eval $ac_try) 2>&5
38052 ac_status=$?
38053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38054 (exit $ac_status); }; } &&
38055 { ac_try='test -s conftest$ac_exeext'
38056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38057 (eval $ac_try) 2>&5
38058 ac_status=$?
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); }; }; then
38061 eval "$as_ac_var=yes"
38062 else
38063 echo "$as_me: failed program was:" >&5
38064 sed 's/^/| /' conftest.$ac_ext >&5
38065
38066 eval "$as_ac_var=no"
38067 fi
38068 rm -f conftest.err conftest.$ac_objext \
38069 conftest$ac_exeext conftest.$ac_ext
38070 fi
38071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38073 if test `eval echo '${'$as_ac_var'}'` = yes; then
38074 cat >>confdefs.h <<_ACEOF
38075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38076 _ACEOF
38077
38078 fi
38079 done
38080
38081
38082 if test "$ac_cv_func_sigaction" = "no"; then
38083 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38084 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38085 wxUSE_ON_FATAL_EXCEPTION=no
38086 fi
38087
38088 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38089 echo "$as_me:$LINENO: checking for sa_handler type" >&5
38090 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
38091 if test "${wx_cv_type_sa_handler+set}" = set; then
38092 echo $ECHO_N "(cached) $ECHO_C" >&6
38093 else
38094
38095 ac_ext=cc
38096 ac_cpp='$CXXCPP $CPPFLAGS'
38097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38100
38101 cat >conftest.$ac_ext <<_ACEOF
38102 /* confdefs.h. */
38103 _ACEOF
38104 cat confdefs.h >>conftest.$ac_ext
38105 cat >>conftest.$ac_ext <<_ACEOF
38106 /* end confdefs.h. */
38107 #include <signal.h>
38108 int
38109 main ()
38110 {
38111
38112 extern void testSigHandler(int);
38113
38114 struct sigaction sa;
38115 sa.sa_handler = testSigHandler;
38116
38117 ;
38118 return 0;
38119 }
38120 _ACEOF
38121 rm -f conftest.$ac_objext
38122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38123 (eval $ac_compile) 2>conftest.er1
38124 ac_status=$?
38125 grep -v '^ *+' conftest.er1 >conftest.err
38126 rm -f conftest.er1
38127 cat conftest.err >&5
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); } &&
38130 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38132 (eval $ac_try) 2>&5
38133 ac_status=$?
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); }; } &&
38136 { ac_try='test -s conftest.$ac_objext'
38137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38138 (eval $ac_try) 2>&5
38139 ac_status=$?
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; }; then
38142
38143 wx_cv_type_sa_handler=int
38144
38145 else
38146 echo "$as_me: failed program was:" >&5
38147 sed 's/^/| /' conftest.$ac_ext >&5
38148
38149
38150 wx_cv_type_sa_handler=void
38151
38152 fi
38153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38154 ac_ext=c
38155 ac_cpp='$CPP $CPPFLAGS'
38156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38159
38160
38161 fi
38162 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38163 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
38164
38165 cat >>confdefs.h <<_ACEOF
38166 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38167 _ACEOF
38168
38169 fi
38170 fi
38171
38172 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38173 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38174 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
38175 if test "${wx_cv_func_backtrace+set}" = set; then
38176 echo $ECHO_N "(cached) $ECHO_C" >&6
38177 else
38178
38179 ac_ext=cc
38180 ac_cpp='$CXXCPP $CPPFLAGS'
38181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38184
38185 cat >conftest.$ac_ext <<_ACEOF
38186 /* confdefs.h. */
38187 _ACEOF
38188 cat confdefs.h >>conftest.$ac_ext
38189 cat >>conftest.$ac_ext <<_ACEOF
38190 /* end confdefs.h. */
38191 #include <execinfo.h>
38192 int
38193 main ()
38194 {
38195
38196 void *trace[1];
38197 char **messages;
38198
38199 backtrace(trace, 1);
38200 messages = backtrace_symbols(trace, 1);
38201
38202 ;
38203 return 0;
38204 }
38205 _ACEOF
38206 rm -f conftest.$ac_objext
38207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38208 (eval $ac_compile) 2>conftest.er1
38209 ac_status=$?
38210 grep -v '^ *+' conftest.er1 >conftest.err
38211 rm -f conftest.er1
38212 cat conftest.err >&5
38213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38214 (exit $ac_status); } &&
38215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38217 (eval $ac_try) 2>&5
38218 ac_status=$?
38219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38220 (exit $ac_status); }; } &&
38221 { ac_try='test -s conftest.$ac_objext'
38222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38223 (eval $ac_try) 2>&5
38224 ac_status=$?
38225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38226 (exit $ac_status); }; }; then
38227 wx_cv_func_backtrace=yes
38228 else
38229 echo "$as_me: failed program was:" >&5
38230 sed 's/^/| /' conftest.$ac_ext >&5
38231
38232 wx_cv_func_backtrace=no
38233
38234 fi
38235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38236 ac_ext=c
38237 ac_cpp='$CPP $CPPFLAGS'
38238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38241
38242
38243
38244 fi
38245 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38246 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
38247
38248
38249 if test "$wx_cv_func_backtrace" = "no"; then
38250 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38251 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38252 wxUSE_STACKWALKER=no
38253 else
38254 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38255 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
38256 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38257 echo $ECHO_N "(cached) $ECHO_C" >&6
38258 else
38259
38260 ac_ext=cc
38261 ac_cpp='$CXXCPP $CPPFLAGS'
38262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38265
38266 cat >conftest.$ac_ext <<_ACEOF
38267 /* confdefs.h. */
38268 _ACEOF
38269 cat confdefs.h >>conftest.$ac_ext
38270 cat >>conftest.$ac_ext <<_ACEOF
38271 /* end confdefs.h. */
38272 #include <cxxabi.h>
38273 int
38274 main ()
38275 {
38276
38277 int rc;
38278 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38279
38280 ;
38281 return 0;
38282 }
38283 _ACEOF
38284 rm -f conftest.$ac_objext conftest$ac_exeext
38285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38286 (eval $ac_link) 2>conftest.er1
38287 ac_status=$?
38288 grep -v '^ *+' conftest.er1 >conftest.err
38289 rm -f conftest.er1
38290 cat conftest.err >&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); } &&
38293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38296 ac_status=$?
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; } &&
38299 { ac_try='test -s conftest$ac_exeext'
38300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38301 (eval $ac_try) 2>&5
38302 ac_status=$?
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); }; }; then
38305 wx_cv_func_cxa_demangle=yes
38306 else
38307 echo "$as_me: failed program was:" >&5
38308 sed 's/^/| /' conftest.$ac_ext >&5
38309
38310 wx_cv_func_cxa_demangle=no
38311
38312 fi
38313 rm -f conftest.err conftest.$ac_objext \
38314 conftest$ac_exeext conftest.$ac_ext
38315 ac_ext=c
38316 ac_cpp='$CPP $CPPFLAGS'
38317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38320
38321
38322
38323 fi
38324 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38325 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
38326
38327 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38328 cat >>confdefs.h <<\_ACEOF
38329 #define HAVE_CXA_DEMANGLE 1
38330 _ACEOF
38331
38332 fi
38333 fi
38334 fi
38335
38336 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
38337 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38338 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38339 wxUSE_STACKWALKER=no
38340 fi
38341
38342
38343
38344
38345 for ac_func in mkstemp mktemp
38346 do
38347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38348 echo "$as_me:$LINENO: checking for $ac_func" >&5
38349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38350 if eval "test \"\${$as_ac_var+set}\" = set"; then
38351 echo $ECHO_N "(cached) $ECHO_C" >&6
38352 else
38353 cat >conftest.$ac_ext <<_ACEOF
38354 /* confdefs.h. */
38355 _ACEOF
38356 cat confdefs.h >>conftest.$ac_ext
38357 cat >>conftest.$ac_ext <<_ACEOF
38358 /* end confdefs.h. */
38359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38361 #define $ac_func innocuous_$ac_func
38362
38363 /* System header to define __stub macros and hopefully few prototypes,
38364 which can conflict with char $ac_func (); below.
38365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38366 <limits.h> exists even on freestanding compilers. */
38367
38368 #ifdef __STDC__
38369 # include <limits.h>
38370 #else
38371 # include <assert.h>
38372 #endif
38373
38374 #undef $ac_func
38375
38376 /* Override any gcc2 internal prototype to avoid an error. */
38377 #ifdef __cplusplus
38378 extern "C"
38379 {
38380 #endif
38381 /* We use char because int might match the return type of a gcc2
38382 builtin and then its argument prototype would still apply. */
38383 char $ac_func ();
38384 /* The GNU C library defines this for functions which it implements
38385 to always fail with ENOSYS. Some functions are actually named
38386 something starting with __ and the normal name is an alias. */
38387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38388 choke me
38389 #else
38390 char (*f) () = $ac_func;
38391 #endif
38392 #ifdef __cplusplus
38393 }
38394 #endif
38395
38396 int
38397 main ()
38398 {
38399 return f != $ac_func;
38400 ;
38401 return 0;
38402 }
38403 _ACEOF
38404 rm -f conftest.$ac_objext conftest$ac_exeext
38405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38406 (eval $ac_link) 2>conftest.er1
38407 ac_status=$?
38408 grep -v '^ *+' conftest.er1 >conftest.err
38409 rm -f conftest.er1
38410 cat conftest.err >&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } &&
38413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38415 (eval $ac_try) 2>&5
38416 ac_status=$?
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); }; } &&
38419 { ac_try='test -s conftest$ac_exeext'
38420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38421 (eval $ac_try) 2>&5
38422 ac_status=$?
38423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424 (exit $ac_status); }; }; then
38425 eval "$as_ac_var=yes"
38426 else
38427 echo "$as_me: failed program was:" >&5
38428 sed 's/^/| /' conftest.$ac_ext >&5
38429
38430 eval "$as_ac_var=no"
38431 fi
38432 rm -f conftest.err conftest.$ac_objext \
38433 conftest$ac_exeext conftest.$ac_ext
38434 fi
38435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38437 if test `eval echo '${'$as_ac_var'}'` = yes; then
38438 cat >>confdefs.h <<_ACEOF
38439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38440 _ACEOF
38441 break
38442 fi
38443 done
38444
38445
38446 echo "$as_me:$LINENO: checking for statfs" >&5
38447 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
38448 if test "${wx_cv_func_statfs+set}" = set; then
38449 echo $ECHO_N "(cached) $ECHO_C" >&6
38450 else
38451 cat >conftest.$ac_ext <<_ACEOF
38452 /* confdefs.h. */
38453 _ACEOF
38454 cat confdefs.h >>conftest.$ac_ext
38455 cat >>conftest.$ac_ext <<_ACEOF
38456 /* end confdefs.h. */
38457
38458 #if defined(__BSD__)
38459 #include <sys/param.h>
38460 #include <sys/mount.h>
38461 #else
38462 #include <sys/vfs.h>
38463 #endif
38464
38465 int
38466 main ()
38467 {
38468
38469 long l;
38470 struct statfs fs;
38471 statfs("/", &fs);
38472 l = fs.f_bsize;
38473 l += fs.f_blocks;
38474 l += fs.f_bavail;
38475
38476 ;
38477 return 0;
38478 }
38479 _ACEOF
38480 rm -f conftest.$ac_objext
38481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38482 (eval $ac_compile) 2>conftest.er1
38483 ac_status=$?
38484 grep -v '^ *+' conftest.er1 >conftest.err
38485 rm -f conftest.er1
38486 cat conftest.err >&5
38487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38488 (exit $ac_status); } &&
38489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38491 (eval $ac_try) 2>&5
38492 ac_status=$?
38493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38494 (exit $ac_status); }; } &&
38495 { ac_try='test -s conftest.$ac_objext'
38496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38497 (eval $ac_try) 2>&5
38498 ac_status=$?
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); }; }; then
38501 wx_cv_func_statfs=yes
38502 else
38503 echo "$as_me: failed program was:" >&5
38504 sed 's/^/| /' conftest.$ac_ext >&5
38505
38506 wx_cv_func_statfs=no
38507
38508 fi
38509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38510
38511 fi
38512 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38513 echo "${ECHO_T}$wx_cv_func_statfs" >&6
38514
38515 if test "$wx_cv_func_statfs" = "yes"; then
38516 echo "$as_me:$LINENO: checking for statfs declaration" >&5
38517 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
38518 if test "${wx_cv_func_statfs_decl+set}" = set; then
38519 echo $ECHO_N "(cached) $ECHO_C" >&6
38520 else
38521 ac_ext=cc
38522 ac_cpp='$CXXCPP $CPPFLAGS'
38523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38526
38527 cat >conftest.$ac_ext <<_ACEOF
38528 /* confdefs.h. */
38529 _ACEOF
38530 cat confdefs.h >>conftest.$ac_ext
38531 cat >>conftest.$ac_ext <<_ACEOF
38532 /* end confdefs.h. */
38533
38534 #if defined(__BSD__)
38535 #include <sys/param.h>
38536 #include <sys/mount.h>
38537 #else
38538 #include <sys/vfs.h>
38539 #endif
38540
38541 int
38542 main ()
38543 {
38544
38545 struct statfs fs;
38546 statfs("", &fs);
38547
38548 ;
38549 return 0;
38550 }
38551 _ACEOF
38552 rm -f conftest.$ac_objext
38553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38554 (eval $ac_compile) 2>conftest.er1
38555 ac_status=$?
38556 grep -v '^ *+' conftest.er1 >conftest.err
38557 rm -f conftest.er1
38558 cat conftest.err >&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); } &&
38561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38563 (eval $ac_try) 2>&5
38564 ac_status=$?
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); }; } &&
38567 { ac_try='test -s conftest.$ac_objext'
38568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38569 (eval $ac_try) 2>&5
38570 ac_status=$?
38571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38572 (exit $ac_status); }; }; then
38573 wx_cv_func_statfs_decl=yes
38574 else
38575 echo "$as_me: failed program was:" >&5
38576 sed 's/^/| /' conftest.$ac_ext >&5
38577
38578 wx_cv_func_statfs_decl=no
38579
38580 fi
38581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38582 ac_ext=c
38583 ac_cpp='$CPP $CPPFLAGS'
38584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38587
38588
38589 fi
38590 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38591 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
38592
38593 if test "$wx_cv_func_statfs_decl" = "yes"; then
38594 cat >>confdefs.h <<\_ACEOF
38595 #define HAVE_STATFS_DECL 1
38596 _ACEOF
38597
38598 fi
38599
38600 wx_cv_type_statvfs_t="struct statfs"
38601 cat >>confdefs.h <<\_ACEOF
38602 #define HAVE_STATFS 1
38603 _ACEOF
38604
38605 else
38606 echo "$as_me:$LINENO: checking for statvfs" >&5
38607 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
38608 if test "${wx_cv_func_statvfs+set}" = set; then
38609 echo $ECHO_N "(cached) $ECHO_C" >&6
38610 else
38611 cat >conftest.$ac_ext <<_ACEOF
38612 /* confdefs.h. */
38613 _ACEOF
38614 cat confdefs.h >>conftest.$ac_ext
38615 cat >>conftest.$ac_ext <<_ACEOF
38616 /* end confdefs.h. */
38617
38618 #include <stddef.h>
38619 #include <sys/statvfs.h>
38620
38621 int
38622 main ()
38623 {
38624
38625 statvfs("/", NULL);
38626
38627 ;
38628 return 0;
38629 }
38630 _ACEOF
38631 rm -f conftest.$ac_objext
38632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38633 (eval $ac_compile) 2>conftest.er1
38634 ac_status=$?
38635 grep -v '^ *+' conftest.er1 >conftest.err
38636 rm -f conftest.er1
38637 cat conftest.err >&5
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); } &&
38640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38642 (eval $ac_try) 2>&5
38643 ac_status=$?
38644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 (exit $ac_status); }; } &&
38646 { ac_try='test -s conftest.$ac_objext'
38647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38648 (eval $ac_try) 2>&5
38649 ac_status=$?
38650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38651 (exit $ac_status); }; }; then
38652 wx_cv_func_statvfs=yes
38653 else
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.$ac_ext >&5
38656
38657 wx_cv_func_statvfs=no
38658
38659 fi
38660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38661
38662 fi
38663 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38664 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
38665
38666 if test "$wx_cv_func_statvfs" = "yes"; then
38667 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38668 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
38669 if test "${wx_cv_type_statvfs_t+set}" = set; then
38670 echo $ECHO_N "(cached) $ECHO_C" >&6
38671 else
38672 ac_ext=cc
38673 ac_cpp='$CXXCPP $CPPFLAGS'
38674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38677
38678 cat >conftest.$ac_ext <<_ACEOF
38679 /* confdefs.h. */
38680 _ACEOF
38681 cat confdefs.h >>conftest.$ac_ext
38682 cat >>conftest.$ac_ext <<_ACEOF
38683 /* end confdefs.h. */
38684
38685 #include <sys/statvfs.h>
38686
38687 int
38688 main ()
38689 {
38690
38691 long l;
38692 statvfs_t fs;
38693 statvfs("/", &fs);
38694 l = fs.f_bsize;
38695 l += fs.f_blocks;
38696 l += fs.f_bavail;
38697
38698 ;
38699 return 0;
38700 }
38701 _ACEOF
38702 rm -f conftest.$ac_objext
38703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38704 (eval $ac_compile) 2>conftest.er1
38705 ac_status=$?
38706 grep -v '^ *+' conftest.er1 >conftest.err
38707 rm -f conftest.er1
38708 cat conftest.err >&5
38709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38710 (exit $ac_status); } &&
38711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38713 (eval $ac_try) 2>&5
38714 ac_status=$?
38715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38716 (exit $ac_status); }; } &&
38717 { ac_try='test -s conftest.$ac_objext'
38718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38719 (eval $ac_try) 2>&5
38720 ac_status=$?
38721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38722 (exit $ac_status); }; }; then
38723 wx_cv_type_statvfs_t=statvfs_t
38724 else
38725 echo "$as_me: failed program was:" >&5
38726 sed 's/^/| /' conftest.$ac_ext >&5
38727
38728
38729 cat >conftest.$ac_ext <<_ACEOF
38730 /* confdefs.h. */
38731 _ACEOF
38732 cat confdefs.h >>conftest.$ac_ext
38733 cat >>conftest.$ac_ext <<_ACEOF
38734 /* end confdefs.h. */
38735
38736 #include <sys/statvfs.h>
38737
38738 int
38739 main ()
38740 {
38741
38742 long l;
38743 struct statvfs fs;
38744 statvfs("/", &fs);
38745 l = fs.f_bsize;
38746 l += fs.f_blocks;
38747 l += fs.f_bavail;
38748
38749 ;
38750 return 0;
38751 }
38752 _ACEOF
38753 rm -f conftest.$ac_objext
38754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38755 (eval $ac_compile) 2>conftest.er1
38756 ac_status=$?
38757 grep -v '^ *+' conftest.er1 >conftest.err
38758 rm -f conftest.er1
38759 cat conftest.err >&5
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); } &&
38762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38764 (eval $ac_try) 2>&5
38765 ac_status=$?
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); }; } &&
38768 { ac_try='test -s conftest.$ac_objext'
38769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38770 (eval $ac_try) 2>&5
38771 ac_status=$?
38772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38773 (exit $ac_status); }; }; then
38774 wx_cv_type_statvfs_t="struct statvfs"
38775 else
38776 echo "$as_me: failed program was:" >&5
38777 sed 's/^/| /' conftest.$ac_ext >&5
38778
38779 wx_cv_type_statvfs_t="unknown"
38780
38781 fi
38782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38783
38784
38785 fi
38786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38787 ac_ext=c
38788 ac_cpp='$CPP $CPPFLAGS'
38789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38792
38793
38794 fi
38795 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38796 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
38797
38798 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38799 cat >>confdefs.h <<\_ACEOF
38800 #define HAVE_STATVFS 1
38801 _ACEOF
38802
38803 fi
38804 else
38805 wx_cv_type_statvfs_t="unknown"
38806 fi
38807 fi
38808
38809 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38810 cat >>confdefs.h <<_ACEOF
38811 #define WX_STATFS_T $wx_cv_type_statvfs_t
38812 _ACEOF
38813
38814 else
38815 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38816 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38817 fi
38818
38819 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38820
38821
38822 for ac_func in fcntl flock
38823 do
38824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38825 echo "$as_me:$LINENO: checking for $ac_func" >&5
38826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38827 if eval "test \"\${$as_ac_var+set}\" = set"; then
38828 echo $ECHO_N "(cached) $ECHO_C" >&6
38829 else
38830 cat >conftest.$ac_ext <<_ACEOF
38831 /* confdefs.h. */
38832 _ACEOF
38833 cat confdefs.h >>conftest.$ac_ext
38834 cat >>conftest.$ac_ext <<_ACEOF
38835 /* end confdefs.h. */
38836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38838 #define $ac_func innocuous_$ac_func
38839
38840 /* System header to define __stub macros and hopefully few prototypes,
38841 which can conflict with char $ac_func (); below.
38842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38843 <limits.h> exists even on freestanding compilers. */
38844
38845 #ifdef __STDC__
38846 # include <limits.h>
38847 #else
38848 # include <assert.h>
38849 #endif
38850
38851 #undef $ac_func
38852
38853 /* Override any gcc2 internal prototype to avoid an error. */
38854 #ifdef __cplusplus
38855 extern "C"
38856 {
38857 #endif
38858 /* We use char because int might match the return type of a gcc2
38859 builtin and then its argument prototype would still apply. */
38860 char $ac_func ();
38861 /* The GNU C library defines this for functions which it implements
38862 to always fail with ENOSYS. Some functions are actually named
38863 something starting with __ and the normal name is an alias. */
38864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38865 choke me
38866 #else
38867 char (*f) () = $ac_func;
38868 #endif
38869 #ifdef __cplusplus
38870 }
38871 #endif
38872
38873 int
38874 main ()
38875 {
38876 return f != $ac_func;
38877 ;
38878 return 0;
38879 }
38880 _ACEOF
38881 rm -f conftest.$ac_objext conftest$ac_exeext
38882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38883 (eval $ac_link) 2>conftest.er1
38884 ac_status=$?
38885 grep -v '^ *+' conftest.er1 >conftest.err
38886 rm -f conftest.er1
38887 cat conftest.err >&5
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); } &&
38890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38892 (eval $ac_try) 2>&5
38893 ac_status=$?
38894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38895 (exit $ac_status); }; } &&
38896 { ac_try='test -s conftest$ac_exeext'
38897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38898 (eval $ac_try) 2>&5
38899 ac_status=$?
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); }; }; then
38902 eval "$as_ac_var=yes"
38903 else
38904 echo "$as_me: failed program was:" >&5
38905 sed 's/^/| /' conftest.$ac_ext >&5
38906
38907 eval "$as_ac_var=no"
38908 fi
38909 rm -f conftest.err conftest.$ac_objext \
38910 conftest$ac_exeext conftest.$ac_ext
38911 fi
38912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38914 if test `eval echo '${'$as_ac_var'}'` = yes; then
38915 cat >>confdefs.h <<_ACEOF
38916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38917 _ACEOF
38918 break
38919 fi
38920 done
38921
38922
38923 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38924 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38925 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38926 wxUSE_SNGLINST_CHECKER=no
38927 fi
38928 fi
38929
38930
38931 for ac_func in timegm
38932 do
38933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38934 echo "$as_me:$LINENO: checking for $ac_func" >&5
38935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38936 if eval "test \"\${$as_ac_var+set}\" = set"; then
38937 echo $ECHO_N "(cached) $ECHO_C" >&6
38938 else
38939 cat >conftest.$ac_ext <<_ACEOF
38940 /* confdefs.h. */
38941 _ACEOF
38942 cat confdefs.h >>conftest.$ac_ext
38943 cat >>conftest.$ac_ext <<_ACEOF
38944 /* end confdefs.h. */
38945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38947 #define $ac_func innocuous_$ac_func
38948
38949 /* System header to define __stub macros and hopefully few prototypes,
38950 which can conflict with char $ac_func (); below.
38951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38952 <limits.h> exists even on freestanding compilers. */
38953
38954 #ifdef __STDC__
38955 # include <limits.h>
38956 #else
38957 # include <assert.h>
38958 #endif
38959
38960 #undef $ac_func
38961
38962 /* Override any gcc2 internal prototype to avoid an error. */
38963 #ifdef __cplusplus
38964 extern "C"
38965 {
38966 #endif
38967 /* We use char because int might match the return type of a gcc2
38968 builtin and then its argument prototype would still apply. */
38969 char $ac_func ();
38970 /* The GNU C library defines this for functions which it implements
38971 to always fail with ENOSYS. Some functions are actually named
38972 something starting with __ and the normal name is an alias. */
38973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38974 choke me
38975 #else
38976 char (*f) () = $ac_func;
38977 #endif
38978 #ifdef __cplusplus
38979 }
38980 #endif
38981
38982 int
38983 main ()
38984 {
38985 return f != $ac_func;
38986 ;
38987 return 0;
38988 }
38989 _ACEOF
38990 rm -f conftest.$ac_objext conftest$ac_exeext
38991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38992 (eval $ac_link) 2>conftest.er1
38993 ac_status=$?
38994 grep -v '^ *+' conftest.er1 >conftest.err
38995 rm -f conftest.er1
38996 cat conftest.err >&5
38997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38998 (exit $ac_status); } &&
38999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39001 (eval $ac_try) 2>&5
39002 ac_status=$?
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); }; } &&
39005 { ac_try='test -s conftest$ac_exeext'
39006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39007 (eval $ac_try) 2>&5
39008 ac_status=$?
39009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010 (exit $ac_status); }; }; then
39011 eval "$as_ac_var=yes"
39012 else
39013 echo "$as_me: failed program was:" >&5
39014 sed 's/^/| /' conftest.$ac_ext >&5
39015
39016 eval "$as_ac_var=no"
39017 fi
39018 rm -f conftest.err conftest.$ac_objext \
39019 conftest$ac_exeext conftest.$ac_ext
39020 fi
39021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39023 if test `eval echo '${'$as_ac_var'}'` = yes; then
39024 cat >>confdefs.h <<_ACEOF
39025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39026 _ACEOF
39027
39028 fi
39029 done
39030
39031
39032
39033
39034 for ac_func in putenv setenv
39035 do
39036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39037 echo "$as_me:$LINENO: checking for $ac_func" >&5
39038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39039 if eval "test \"\${$as_ac_var+set}\" = set"; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39041 else
39042 cat >conftest.$ac_ext <<_ACEOF
39043 /* confdefs.h. */
39044 _ACEOF
39045 cat confdefs.h >>conftest.$ac_ext
39046 cat >>conftest.$ac_ext <<_ACEOF
39047 /* end confdefs.h. */
39048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39050 #define $ac_func innocuous_$ac_func
39051
39052 /* System header to define __stub macros and hopefully few prototypes,
39053 which can conflict with char $ac_func (); below.
39054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39055 <limits.h> exists even on freestanding compilers. */
39056
39057 #ifdef __STDC__
39058 # include <limits.h>
39059 #else
39060 # include <assert.h>
39061 #endif
39062
39063 #undef $ac_func
39064
39065 /* Override any gcc2 internal prototype to avoid an error. */
39066 #ifdef __cplusplus
39067 extern "C"
39068 {
39069 #endif
39070 /* We use char because int might match the return type of a gcc2
39071 builtin and then its argument prototype would still apply. */
39072 char $ac_func ();
39073 /* The GNU C library defines this for functions which it implements
39074 to always fail with ENOSYS. Some functions are actually named
39075 something starting with __ and the normal name is an alias. */
39076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39077 choke me
39078 #else
39079 char (*f) () = $ac_func;
39080 #endif
39081 #ifdef __cplusplus
39082 }
39083 #endif
39084
39085 int
39086 main ()
39087 {
39088 return f != $ac_func;
39089 ;
39090 return 0;
39091 }
39092 _ACEOF
39093 rm -f conftest.$ac_objext conftest$ac_exeext
39094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39095 (eval $ac_link) 2>conftest.er1
39096 ac_status=$?
39097 grep -v '^ *+' conftest.er1 >conftest.err
39098 rm -f conftest.er1
39099 cat conftest.err >&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); } &&
39102 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39104 (eval $ac_try) 2>&5
39105 ac_status=$?
39106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39107 (exit $ac_status); }; } &&
39108 { ac_try='test -s conftest$ac_exeext'
39109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39110 (eval $ac_try) 2>&5
39111 ac_status=$?
39112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113 (exit $ac_status); }; }; then
39114 eval "$as_ac_var=yes"
39115 else
39116 echo "$as_me: failed program was:" >&5
39117 sed 's/^/| /' conftest.$ac_ext >&5
39118
39119 eval "$as_ac_var=no"
39120 fi
39121 rm -f conftest.err conftest.$ac_objext \
39122 conftest$ac_exeext conftest.$ac_ext
39123 fi
39124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39126 if test `eval echo '${'$as_ac_var'}'` = yes; then
39127 cat >>confdefs.h <<_ACEOF
39128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39129 _ACEOF
39130 break
39131 fi
39132 done
39133
39134
39135 HAVE_SOME_SLEEP_FUNC=0
39136 if test "$USE_BEOS" = 1; then
39137 cat >>confdefs.h <<\_ACEOF
39138 #define HAVE_SLEEP 1
39139 _ACEOF
39140
39141 HAVE_SOME_SLEEP_FUNC=1
39142 fi
39143
39144 if test "$USE_DARWIN" = 1; then
39145 cat >>confdefs.h <<\_ACEOF
39146 #define HAVE_USLEEP 1
39147 _ACEOF
39148
39149 HAVE_SOME_SLEEP_FUNC=1
39150 fi
39151
39152 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39153 POSIX4_LINK=
39154
39155 for ac_func in nanosleep
39156 do
39157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39158 echo "$as_me:$LINENO: checking for $ac_func" >&5
39159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39160 if eval "test \"\${$as_ac_var+set}\" = set"; then
39161 echo $ECHO_N "(cached) $ECHO_C" >&6
39162 else
39163 cat >conftest.$ac_ext <<_ACEOF
39164 /* confdefs.h. */
39165 _ACEOF
39166 cat confdefs.h >>conftest.$ac_ext
39167 cat >>conftest.$ac_ext <<_ACEOF
39168 /* end confdefs.h. */
39169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39171 #define $ac_func innocuous_$ac_func
39172
39173 /* System header to define __stub macros and hopefully few prototypes,
39174 which can conflict with char $ac_func (); below.
39175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39176 <limits.h> exists even on freestanding compilers. */
39177
39178 #ifdef __STDC__
39179 # include <limits.h>
39180 #else
39181 # include <assert.h>
39182 #endif
39183
39184 #undef $ac_func
39185
39186 /* Override any gcc2 internal prototype to avoid an error. */
39187 #ifdef __cplusplus
39188 extern "C"
39189 {
39190 #endif
39191 /* We use char because int might match the return type of a gcc2
39192 builtin and then its argument prototype would still apply. */
39193 char $ac_func ();
39194 /* The GNU C library defines this for functions which it implements
39195 to always fail with ENOSYS. Some functions are actually named
39196 something starting with __ and the normal name is an alias. */
39197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39198 choke me
39199 #else
39200 char (*f) () = $ac_func;
39201 #endif
39202 #ifdef __cplusplus
39203 }
39204 #endif
39205
39206 int
39207 main ()
39208 {
39209 return f != $ac_func;
39210 ;
39211 return 0;
39212 }
39213 _ACEOF
39214 rm -f conftest.$ac_objext conftest$ac_exeext
39215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39216 (eval $ac_link) 2>conftest.er1
39217 ac_status=$?
39218 grep -v '^ *+' conftest.er1 >conftest.err
39219 rm -f conftest.er1
39220 cat conftest.err >&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } &&
39223 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39225 (eval $ac_try) 2>&5
39226 ac_status=$?
39227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39228 (exit $ac_status); }; } &&
39229 { ac_try='test -s conftest$ac_exeext'
39230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39231 (eval $ac_try) 2>&5
39232 ac_status=$?
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); }; }; then
39235 eval "$as_ac_var=yes"
39236 else
39237 echo "$as_me: failed program was:" >&5
39238 sed 's/^/| /' conftest.$ac_ext >&5
39239
39240 eval "$as_ac_var=no"
39241 fi
39242 rm -f conftest.err conftest.$ac_objext \
39243 conftest$ac_exeext conftest.$ac_ext
39244 fi
39245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39247 if test `eval echo '${'$as_ac_var'}'` = yes; then
39248 cat >>confdefs.h <<_ACEOF
39249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39250 _ACEOF
39251 cat >>confdefs.h <<\_ACEOF
39252 #define HAVE_NANOSLEEP 1
39253 _ACEOF
39254
39255 else
39256
39257 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39258 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
39259 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39260 echo $ECHO_N "(cached) $ECHO_C" >&6
39261 else
39262 ac_check_lib_save_LIBS=$LIBS
39263 LIBS="-lposix4 $LIBS"
39264 cat >conftest.$ac_ext <<_ACEOF
39265 /* confdefs.h. */
39266 _ACEOF
39267 cat confdefs.h >>conftest.$ac_ext
39268 cat >>conftest.$ac_ext <<_ACEOF
39269 /* end confdefs.h. */
39270
39271 /* Override any gcc2 internal prototype to avoid an error. */
39272 #ifdef __cplusplus
39273 extern "C"
39274 #endif
39275 /* We use char because int might match the return type of a gcc2
39276 builtin and then its argument prototype would still apply. */
39277 char nanosleep ();
39278 int
39279 main ()
39280 {
39281 nanosleep ();
39282 ;
39283 return 0;
39284 }
39285 _ACEOF
39286 rm -f conftest.$ac_objext conftest$ac_exeext
39287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39288 (eval $ac_link) 2>conftest.er1
39289 ac_status=$?
39290 grep -v '^ *+' conftest.er1 >conftest.err
39291 rm -f conftest.er1
39292 cat conftest.err >&5
39293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39294 (exit $ac_status); } &&
39295 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39297 (eval $ac_try) 2>&5
39298 ac_status=$?
39299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300 (exit $ac_status); }; } &&
39301 { ac_try='test -s conftest$ac_exeext'
39302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39303 (eval $ac_try) 2>&5
39304 ac_status=$?
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); }; }; then
39307 ac_cv_lib_posix4_nanosleep=yes
39308 else
39309 echo "$as_me: failed program was:" >&5
39310 sed 's/^/| /' conftest.$ac_ext >&5
39311
39312 ac_cv_lib_posix4_nanosleep=no
39313 fi
39314 rm -f conftest.err conftest.$ac_objext \
39315 conftest$ac_exeext conftest.$ac_ext
39316 LIBS=$ac_check_lib_save_LIBS
39317 fi
39318 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39319 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
39320 if test $ac_cv_lib_posix4_nanosleep = yes; then
39321
39322 cat >>confdefs.h <<\_ACEOF
39323 #define HAVE_NANOSLEEP 1
39324 _ACEOF
39325
39326 POSIX4_LINK=" -lposix4"
39327
39328 else
39329
39330
39331 for wx_func in usleep
39332 do
39333 echo "$as_me:$LINENO: checking for $wx_func" >&5
39334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39335 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39336 echo $ECHO_N "(cached) $ECHO_C" >&6
39337 else
39338
39339 cat >conftest.$ac_ext <<_ACEOF
39340
39341 /* confdefs.h. */
39342 _ACEOF
39343 cat confdefs.h >>conftest.$ac_ext
39344 cat >>conftest.$ac_ext <<_ACEOF
39345 /* end confdefs.h. */
39346
39347
39348 $ac_includes_default
39349
39350 int
39351 main ()
39352 {
39353
39354 #ifndef $wx_func
39355 &$wx_func;
39356 #endif
39357
39358
39359 ;
39360 return 0;
39361 }
39362
39363 _ACEOF
39364 rm -f conftest.$ac_objext conftest$ac_exeext
39365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39366 (eval $ac_link) 2>conftest.er1
39367 ac_status=$?
39368 grep -v '^ *+' conftest.er1 >conftest.err
39369 rm -f conftest.er1
39370 cat conftest.err >&5
39371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39372 (exit $ac_status); } &&
39373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39375 (eval $ac_try) 2>&5
39376 ac_status=$?
39377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39378 (exit $ac_status); }; } &&
39379 { ac_try='test -s conftest$ac_exeext'
39380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39381 (eval $ac_try) 2>&5
39382 ac_status=$?
39383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39384 (exit $ac_status); }; }; then
39385 eval wx_cv_func_$wx_func=yes
39386 else
39387 echo "$as_me: failed program was:" >&5
39388 sed 's/^/| /' conftest.$ac_ext >&5
39389
39390 eval wx_cv_func_$wx_func=no
39391 fi
39392 rm -f conftest.err conftest.$ac_objext \
39393 conftest$ac_exeext conftest.$ac_ext
39394
39395 fi
39396 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39397 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39398
39399 if eval test \$wx_cv_func_$wx_func = yes
39400 then
39401 cat >>confdefs.h <<_ACEOF
39402 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39403 _ACEOF
39404
39405
39406 else
39407 :
39408 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39409 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39410
39411 fi
39412 done
39413
39414
39415
39416 fi
39417
39418
39419
39420 fi
39421 done
39422
39423 fi
39424
39425
39426 for wx_func in uname
39427 do
39428 echo "$as_me:$LINENO: checking for $wx_func" >&5
39429 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39430 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39431 echo $ECHO_N "(cached) $ECHO_C" >&6
39432 else
39433
39434 cat >conftest.$ac_ext <<_ACEOF
39435
39436 /* confdefs.h. */
39437 _ACEOF
39438 cat confdefs.h >>conftest.$ac_ext
39439 cat >>conftest.$ac_ext <<_ACEOF
39440 /* end confdefs.h. */
39441
39442 #include <sys/utsname.h>
39443 $ac_includes_default
39444
39445 int
39446 main ()
39447 {
39448
39449 #ifndef $wx_func
39450 &$wx_func;
39451 #endif
39452
39453
39454 ;
39455 return 0;
39456 }
39457
39458 _ACEOF
39459 rm -f conftest.$ac_objext conftest$ac_exeext
39460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39461 (eval $ac_link) 2>conftest.er1
39462 ac_status=$?
39463 grep -v '^ *+' conftest.er1 >conftest.err
39464 rm -f conftest.er1
39465 cat conftest.err >&5
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); } &&
39468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39470 (eval $ac_try) 2>&5
39471 ac_status=$?
39472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39473 (exit $ac_status); }; } &&
39474 { ac_try='test -s conftest$ac_exeext'
39475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39476 (eval $ac_try) 2>&5
39477 ac_status=$?
39478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39479 (exit $ac_status); }; }; then
39480 eval wx_cv_func_$wx_func=yes
39481 else
39482 echo "$as_me: failed program was:" >&5
39483 sed 's/^/| /' conftest.$ac_ext >&5
39484
39485 eval wx_cv_func_$wx_func=no
39486 fi
39487 rm -f conftest.err conftest.$ac_objext \
39488 conftest$ac_exeext conftest.$ac_ext
39489
39490 fi
39491 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39492 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39493
39494 if eval test \$wx_cv_func_$wx_func = yes
39495 then
39496 cat >>confdefs.h <<_ACEOF
39497 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39498 _ACEOF
39499
39500
39501 else
39502 :
39503
39504 fi
39505 done
39506
39507 if test "$wx_cv_func_uname" != yes; then
39508
39509 for wx_func in gethostname
39510 do
39511 echo "$as_me:$LINENO: checking for $wx_func" >&5
39512 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39513 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39514 echo $ECHO_N "(cached) $ECHO_C" >&6
39515 else
39516
39517 cat >conftest.$ac_ext <<_ACEOF
39518
39519 /* confdefs.h. */
39520 _ACEOF
39521 cat confdefs.h >>conftest.$ac_ext
39522 cat >>conftest.$ac_ext <<_ACEOF
39523 /* end confdefs.h. */
39524
39525
39526 $ac_includes_default
39527
39528 int
39529 main ()
39530 {
39531
39532 #ifndef $wx_func
39533 &$wx_func;
39534 #endif
39535
39536
39537 ;
39538 return 0;
39539 }
39540
39541 _ACEOF
39542 rm -f conftest.$ac_objext conftest$ac_exeext
39543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39544 (eval $ac_link) 2>conftest.er1
39545 ac_status=$?
39546 grep -v '^ *+' conftest.er1 >conftest.err
39547 rm -f conftest.er1
39548 cat conftest.err >&5
39549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39550 (exit $ac_status); } &&
39551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39553 (eval $ac_try) 2>&5
39554 ac_status=$?
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); }; } &&
39557 { ac_try='test -s conftest$ac_exeext'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39560 ac_status=$?
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; }; then
39563 eval wx_cv_func_$wx_func=yes
39564 else
39565 echo "$as_me: failed program was:" >&5
39566 sed 's/^/| /' conftest.$ac_ext >&5
39567
39568 eval wx_cv_func_$wx_func=no
39569 fi
39570 rm -f conftest.err conftest.$ac_objext \
39571 conftest$ac_exeext conftest.$ac_ext
39572
39573 fi
39574 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39575 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39576
39577 if eval test \$wx_cv_func_$wx_func = yes
39578 then
39579 cat >>confdefs.h <<_ACEOF
39580 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39581 _ACEOF
39582
39583
39584 else
39585 :
39586
39587 fi
39588 done
39589
39590 fi
39591
39592
39593 for wx_func in strtok_r
39594 do
39595 echo "$as_me:$LINENO: checking for $wx_func" >&5
39596 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39597 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39598 echo $ECHO_N "(cached) $ECHO_C" >&6
39599 else
39600
39601 cat >conftest.$ac_ext <<_ACEOF
39602
39603 /* confdefs.h. */
39604 _ACEOF
39605 cat confdefs.h >>conftest.$ac_ext
39606 cat >>conftest.$ac_ext <<_ACEOF
39607 /* end confdefs.h. */
39608
39609 #define _REENTRANT
39610 $ac_includes_default
39611
39612 int
39613 main ()
39614 {
39615
39616 #ifndef $wx_func
39617 &$wx_func;
39618 #endif
39619
39620
39621 ;
39622 return 0;
39623 }
39624
39625 _ACEOF
39626 rm -f conftest.$ac_objext conftest$ac_exeext
39627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39628 (eval $ac_link) 2>conftest.er1
39629 ac_status=$?
39630 grep -v '^ *+' conftest.er1 >conftest.err
39631 rm -f conftest.er1
39632 cat conftest.err >&5
39633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39634 (exit $ac_status); } &&
39635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39637 (eval $ac_try) 2>&5
39638 ac_status=$?
39639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39640 (exit $ac_status); }; } &&
39641 { ac_try='test -s conftest$ac_exeext'
39642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39643 (eval $ac_try) 2>&5
39644 ac_status=$?
39645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39646 (exit $ac_status); }; }; then
39647 eval wx_cv_func_$wx_func=yes
39648 else
39649 echo "$as_me: failed program was:" >&5
39650 sed 's/^/| /' conftest.$ac_ext >&5
39651
39652 eval wx_cv_func_$wx_func=no
39653 fi
39654 rm -f conftest.err conftest.$ac_objext \
39655 conftest$ac_exeext conftest.$ac_ext
39656
39657 fi
39658 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39659 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39660
39661 if eval test \$wx_cv_func_$wx_func = yes
39662 then
39663 cat >>confdefs.h <<_ACEOF
39664 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39665 _ACEOF
39666
39667
39668 else
39669 :
39670
39671 fi
39672 done
39673
39674
39675 INET_LINK=
39676
39677 for ac_func in inet_addr
39678 do
39679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39680 echo "$as_me:$LINENO: checking for $ac_func" >&5
39681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39682 if eval "test \"\${$as_ac_var+set}\" = set"; then
39683 echo $ECHO_N "(cached) $ECHO_C" >&6
39684 else
39685 cat >conftest.$ac_ext <<_ACEOF
39686 /* confdefs.h. */
39687 _ACEOF
39688 cat confdefs.h >>conftest.$ac_ext
39689 cat >>conftest.$ac_ext <<_ACEOF
39690 /* end confdefs.h. */
39691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39693 #define $ac_func innocuous_$ac_func
39694
39695 /* System header to define __stub macros and hopefully few prototypes,
39696 which can conflict with char $ac_func (); below.
39697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39698 <limits.h> exists even on freestanding compilers. */
39699
39700 #ifdef __STDC__
39701 # include <limits.h>
39702 #else
39703 # include <assert.h>
39704 #endif
39705
39706 #undef $ac_func
39707
39708 /* Override any gcc2 internal prototype to avoid an error. */
39709 #ifdef __cplusplus
39710 extern "C"
39711 {
39712 #endif
39713 /* We use char because int might match the return type of a gcc2
39714 builtin and then its argument prototype would still apply. */
39715 char $ac_func ();
39716 /* The GNU C library defines this for functions which it implements
39717 to always fail with ENOSYS. Some functions are actually named
39718 something starting with __ and the normal name is an alias. */
39719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39720 choke me
39721 #else
39722 char (*f) () = $ac_func;
39723 #endif
39724 #ifdef __cplusplus
39725 }
39726 #endif
39727
39728 int
39729 main ()
39730 {
39731 return f != $ac_func;
39732 ;
39733 return 0;
39734 }
39735 _ACEOF
39736 rm -f conftest.$ac_objext conftest$ac_exeext
39737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39738 (eval $ac_link) 2>conftest.er1
39739 ac_status=$?
39740 grep -v '^ *+' conftest.er1 >conftest.err
39741 rm -f conftest.er1
39742 cat conftest.err >&5
39743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39744 (exit $ac_status); } &&
39745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39747 (eval $ac_try) 2>&5
39748 ac_status=$?
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); }; } &&
39751 { ac_try='test -s conftest$ac_exeext'
39752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39753 (eval $ac_try) 2>&5
39754 ac_status=$?
39755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39756 (exit $ac_status); }; }; then
39757 eval "$as_ac_var=yes"
39758 else
39759 echo "$as_me: failed program was:" >&5
39760 sed 's/^/| /' conftest.$ac_ext >&5
39761
39762 eval "$as_ac_var=no"
39763 fi
39764 rm -f conftest.err conftest.$ac_objext \
39765 conftest$ac_exeext conftest.$ac_ext
39766 fi
39767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39769 if test `eval echo '${'$as_ac_var'}'` = yes; then
39770 cat >>confdefs.h <<_ACEOF
39771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39772 _ACEOF
39773 cat >>confdefs.h <<\_ACEOF
39774 #define HAVE_INET_ADDR 1
39775 _ACEOF
39776
39777 else
39778
39779 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39780 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
39781 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39782 echo $ECHO_N "(cached) $ECHO_C" >&6
39783 else
39784 ac_check_lib_save_LIBS=$LIBS
39785 LIBS="-lnsl $LIBS"
39786 cat >conftest.$ac_ext <<_ACEOF
39787 /* confdefs.h. */
39788 _ACEOF
39789 cat confdefs.h >>conftest.$ac_ext
39790 cat >>conftest.$ac_ext <<_ACEOF
39791 /* end confdefs.h. */
39792
39793 /* Override any gcc2 internal prototype to avoid an error. */
39794 #ifdef __cplusplus
39795 extern "C"
39796 #endif
39797 /* We use char because int might match the return type of a gcc2
39798 builtin and then its argument prototype would still apply. */
39799 char inet_addr ();
39800 int
39801 main ()
39802 {
39803 inet_addr ();
39804 ;
39805 return 0;
39806 }
39807 _ACEOF
39808 rm -f conftest.$ac_objext conftest$ac_exeext
39809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39810 (eval $ac_link) 2>conftest.er1
39811 ac_status=$?
39812 grep -v '^ *+' conftest.er1 >conftest.err
39813 rm -f conftest.er1
39814 cat conftest.err >&5
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); } &&
39817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39819 (eval $ac_try) 2>&5
39820 ac_status=$?
39821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39822 (exit $ac_status); }; } &&
39823 { ac_try='test -s conftest$ac_exeext'
39824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39825 (eval $ac_try) 2>&5
39826 ac_status=$?
39827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39828 (exit $ac_status); }; }; then
39829 ac_cv_lib_nsl_inet_addr=yes
39830 else
39831 echo "$as_me: failed program was:" >&5
39832 sed 's/^/| /' conftest.$ac_ext >&5
39833
39834 ac_cv_lib_nsl_inet_addr=no
39835 fi
39836 rm -f conftest.err conftest.$ac_objext \
39837 conftest$ac_exeext conftest.$ac_ext
39838 LIBS=$ac_check_lib_save_LIBS
39839 fi
39840 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39841 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
39842 if test $ac_cv_lib_nsl_inet_addr = yes; then
39843 INET_LINK="nsl"
39844 else
39845
39846 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39847 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
39848 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39849 echo $ECHO_N "(cached) $ECHO_C" >&6
39850 else
39851 ac_check_lib_save_LIBS=$LIBS
39852 LIBS="-lresolv $LIBS"
39853 cat >conftest.$ac_ext <<_ACEOF
39854 /* confdefs.h. */
39855 _ACEOF
39856 cat confdefs.h >>conftest.$ac_ext
39857 cat >>conftest.$ac_ext <<_ACEOF
39858 /* end confdefs.h. */
39859
39860 /* Override any gcc2 internal prototype to avoid an error. */
39861 #ifdef __cplusplus
39862 extern "C"
39863 #endif
39864 /* We use char because int might match the return type of a gcc2
39865 builtin and then its argument prototype would still apply. */
39866 char inet_addr ();
39867 int
39868 main ()
39869 {
39870 inet_addr ();
39871 ;
39872 return 0;
39873 }
39874 _ACEOF
39875 rm -f conftest.$ac_objext conftest$ac_exeext
39876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39877 (eval $ac_link) 2>conftest.er1
39878 ac_status=$?
39879 grep -v '^ *+' conftest.er1 >conftest.err
39880 rm -f conftest.er1
39881 cat conftest.err >&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); } &&
39884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39886 (eval $ac_try) 2>&5
39887 ac_status=$?
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); }; } &&
39890 { ac_try='test -s conftest$ac_exeext'
39891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39892 (eval $ac_try) 2>&5
39893 ac_status=$?
39894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39895 (exit $ac_status); }; }; then
39896 ac_cv_lib_resolv_inet_addr=yes
39897 else
39898 echo "$as_me: failed program was:" >&5
39899 sed 's/^/| /' conftest.$ac_ext >&5
39900
39901 ac_cv_lib_resolv_inet_addr=no
39902 fi
39903 rm -f conftest.err conftest.$ac_objext \
39904 conftest$ac_exeext conftest.$ac_ext
39905 LIBS=$ac_check_lib_save_LIBS
39906 fi
39907 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39908 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
39909 if test $ac_cv_lib_resolv_inet_addr = yes; then
39910 INET_LINK="resolv"
39911 else
39912
39913 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39914 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
39915 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39916 echo $ECHO_N "(cached) $ECHO_C" >&6
39917 else
39918 ac_check_lib_save_LIBS=$LIBS
39919 LIBS="-lsocket $LIBS"
39920 cat >conftest.$ac_ext <<_ACEOF
39921 /* confdefs.h. */
39922 _ACEOF
39923 cat confdefs.h >>conftest.$ac_ext
39924 cat >>conftest.$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39926
39927 /* Override any gcc2 internal prototype to avoid an error. */
39928 #ifdef __cplusplus
39929 extern "C"
39930 #endif
39931 /* We use char because int might match the return type of a gcc2
39932 builtin and then its argument prototype would still apply. */
39933 char inet_addr ();
39934 int
39935 main ()
39936 {
39937 inet_addr ();
39938 ;
39939 return 0;
39940 }
39941 _ACEOF
39942 rm -f conftest.$ac_objext conftest$ac_exeext
39943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39944 (eval $ac_link) 2>conftest.er1
39945 ac_status=$?
39946 grep -v '^ *+' conftest.er1 >conftest.err
39947 rm -f conftest.er1
39948 cat conftest.err >&5
39949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39950 (exit $ac_status); } &&
39951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39953 (eval $ac_try) 2>&5
39954 ac_status=$?
39955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39956 (exit $ac_status); }; } &&
39957 { ac_try='test -s conftest$ac_exeext'
39958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39959 (eval $ac_try) 2>&5
39960 ac_status=$?
39961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39962 (exit $ac_status); }; }; then
39963 ac_cv_lib_socket_inet_addr=yes
39964 else
39965 echo "$as_me: failed program was:" >&5
39966 sed 's/^/| /' conftest.$ac_ext >&5
39967
39968 ac_cv_lib_socket_inet_addr=no
39969 fi
39970 rm -f conftest.err conftest.$ac_objext \
39971 conftest$ac_exeext conftest.$ac_ext
39972 LIBS=$ac_check_lib_save_LIBS
39973 fi
39974 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39975 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
39976 if test $ac_cv_lib_socket_inet_addr = yes; then
39977 INET_LINK="socket"
39978
39979 fi
39980
39981
39982
39983 fi
39984
39985
39986
39987 fi
39988
39989
39990
39991 fi
39992 done
39993
39994
39995
39996 for ac_func in inet_aton
39997 do
39998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39999 echo "$as_me:$LINENO: checking for $ac_func" >&5
40000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40001 if eval "test \"\${$as_ac_var+set}\" = set"; then
40002 echo $ECHO_N "(cached) $ECHO_C" >&6
40003 else
40004 cat >conftest.$ac_ext <<_ACEOF
40005 /* confdefs.h. */
40006 _ACEOF
40007 cat confdefs.h >>conftest.$ac_ext
40008 cat >>conftest.$ac_ext <<_ACEOF
40009 /* end confdefs.h. */
40010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40012 #define $ac_func innocuous_$ac_func
40013
40014 /* System header to define __stub macros and hopefully few prototypes,
40015 which can conflict with char $ac_func (); below.
40016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40017 <limits.h> exists even on freestanding compilers. */
40018
40019 #ifdef __STDC__
40020 # include <limits.h>
40021 #else
40022 # include <assert.h>
40023 #endif
40024
40025 #undef $ac_func
40026
40027 /* Override any gcc2 internal prototype to avoid an error. */
40028 #ifdef __cplusplus
40029 extern "C"
40030 {
40031 #endif
40032 /* We use char because int might match the return type of a gcc2
40033 builtin and then its argument prototype would still apply. */
40034 char $ac_func ();
40035 /* The GNU C library defines this for functions which it implements
40036 to always fail with ENOSYS. Some functions are actually named
40037 something starting with __ and the normal name is an alias. */
40038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40039 choke me
40040 #else
40041 char (*f) () = $ac_func;
40042 #endif
40043 #ifdef __cplusplus
40044 }
40045 #endif
40046
40047 int
40048 main ()
40049 {
40050 return f != $ac_func;
40051 ;
40052 return 0;
40053 }
40054 _ACEOF
40055 rm -f conftest.$ac_objext conftest$ac_exeext
40056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40057 (eval $ac_link) 2>conftest.er1
40058 ac_status=$?
40059 grep -v '^ *+' conftest.er1 >conftest.err
40060 rm -f conftest.er1
40061 cat conftest.err >&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); } &&
40064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40066 (eval $ac_try) 2>&5
40067 ac_status=$?
40068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40069 (exit $ac_status); }; } &&
40070 { ac_try='test -s conftest$ac_exeext'
40071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40072 (eval $ac_try) 2>&5
40073 ac_status=$?
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); }; }; then
40076 eval "$as_ac_var=yes"
40077 else
40078 echo "$as_me: failed program was:" >&5
40079 sed 's/^/| /' conftest.$ac_ext >&5
40080
40081 eval "$as_ac_var=no"
40082 fi
40083 rm -f conftest.err conftest.$ac_objext \
40084 conftest$ac_exeext conftest.$ac_ext
40085 fi
40086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40088 if test `eval echo '${'$as_ac_var'}'` = yes; then
40089 cat >>confdefs.h <<_ACEOF
40090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40091 _ACEOF
40092 cat >>confdefs.h <<\_ACEOF
40093 #define HAVE_INET_ATON 1
40094 _ACEOF
40095
40096 else
40097
40098 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40099 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40100 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
40101 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
40102 echo $ECHO_N "(cached) $ECHO_C" >&6
40103 else
40104 ac_check_lib_save_LIBS=$LIBS
40105 LIBS="-l$INET_LINK $LIBS"
40106 cat >conftest.$ac_ext <<_ACEOF
40107 /* confdefs.h. */
40108 _ACEOF
40109 cat confdefs.h >>conftest.$ac_ext
40110 cat >>conftest.$ac_ext <<_ACEOF
40111 /* end confdefs.h. */
40112
40113 /* Override any gcc2 internal prototype to avoid an error. */
40114 #ifdef __cplusplus
40115 extern "C"
40116 #endif
40117 /* We use char because int might match the return type of a gcc2
40118 builtin and then its argument prototype would still apply. */
40119 char inet_aton ();
40120 int
40121 main ()
40122 {
40123 inet_aton ();
40124 ;
40125 return 0;
40126 }
40127 _ACEOF
40128 rm -f conftest.$ac_objext conftest$ac_exeext
40129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40130 (eval $ac_link) 2>conftest.er1
40131 ac_status=$?
40132 grep -v '^ *+' conftest.er1 >conftest.err
40133 rm -f conftest.er1
40134 cat conftest.err >&5
40135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40136 (exit $ac_status); } &&
40137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40139 (eval $ac_try) 2>&5
40140 ac_status=$?
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); }; } &&
40143 { ac_try='test -s conftest$ac_exeext'
40144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40145 (eval $ac_try) 2>&5
40146 ac_status=$?
40147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40148 (exit $ac_status); }; }; then
40149 eval "$as_ac_Lib=yes"
40150 else
40151 echo "$as_me: failed program was:" >&5
40152 sed 's/^/| /' conftest.$ac_ext >&5
40153
40154 eval "$as_ac_Lib=no"
40155 fi
40156 rm -f conftest.err conftest.$ac_objext \
40157 conftest$ac_exeext conftest.$ac_ext
40158 LIBS=$ac_check_lib_save_LIBS
40159 fi
40160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
40161 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
40162 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40163 cat >>confdefs.h <<\_ACEOF
40164 #define HAVE_INET_ATON 1
40165 _ACEOF
40166
40167 fi
40168
40169
40170 fi
40171 done
40172
40173
40174 if test "x$INET_LINK" != "x"; then
40175 cat >>confdefs.h <<\_ACEOF
40176 #define HAVE_INET_ADDR 1
40177 _ACEOF
40178
40179 INET_LINK=" -l$INET_LINK"
40180 fi
40181
40182
40183 for wx_func in fdopen
40184 do
40185 echo "$as_me:$LINENO: checking for $wx_func" >&5
40186 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40187 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40188 echo $ECHO_N "(cached) $ECHO_C" >&6
40189 else
40190
40191 cat >conftest.$ac_ext <<_ACEOF
40192
40193 /* confdefs.h. */
40194 _ACEOF
40195 cat confdefs.h >>conftest.$ac_ext
40196 cat >>conftest.$ac_ext <<_ACEOF
40197 /* end confdefs.h. */
40198
40199
40200 $ac_includes_default
40201
40202 int
40203 main ()
40204 {
40205
40206 #ifndef $wx_func
40207 &$wx_func;
40208 #endif
40209
40210
40211 ;
40212 return 0;
40213 }
40214
40215 _ACEOF
40216 rm -f conftest.$ac_objext conftest$ac_exeext
40217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40218 (eval $ac_link) 2>conftest.er1
40219 ac_status=$?
40220 grep -v '^ *+' conftest.er1 >conftest.err
40221 rm -f conftest.er1
40222 cat conftest.err >&5
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); } &&
40225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40227 (eval $ac_try) 2>&5
40228 ac_status=$?
40229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230 (exit $ac_status); }; } &&
40231 { ac_try='test -s conftest$ac_exeext'
40232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40233 (eval $ac_try) 2>&5
40234 ac_status=$?
40235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40236 (exit $ac_status); }; }; then
40237 eval wx_cv_func_$wx_func=yes
40238 else
40239 echo "$as_me: failed program was:" >&5
40240 sed 's/^/| /' conftest.$ac_ext >&5
40241
40242 eval wx_cv_func_$wx_func=no
40243 fi
40244 rm -f conftest.err conftest.$ac_objext \
40245 conftest$ac_exeext conftest.$ac_ext
40246
40247 fi
40248 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40249 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40250
40251 if eval test \$wx_cv_func_$wx_func = yes
40252 then
40253 cat >>confdefs.h <<_ACEOF
40254 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40255 _ACEOF
40256
40257
40258 else
40259 :
40260
40261 fi
40262 done
40263
40264
40265 fi
40266
40267
40268
40269 cat >confcache <<\_ACEOF
40270 # This file is a shell script that caches the results of configure
40271 # tests run on this system so they can be shared between configure
40272 # scripts and configure runs, see configure's option --config-cache.
40273 # It is not useful on other systems. If it contains results you don't
40274 # want to keep, you may remove or edit it.
40275 #
40276 # config.status only pays attention to the cache file if you give it
40277 # the --recheck option to rerun configure.
40278 #
40279 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40280 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40281 # following values.
40282
40283 _ACEOF
40284
40285 # The following way of writing the cache mishandles newlines in values,
40286 # but we know of no workaround that is simple, portable, and efficient.
40287 # So, don't put newlines in cache variables' values.
40288 # Ultrix sh set writes to stderr and can't be redirected directly,
40289 # and sets the high bit in the cache file unless we assign to the vars.
40290 {
40291 (set) 2>&1 |
40292 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40293 *ac_space=\ *)
40294 # `set' does not quote correctly, so add quotes (double-quote
40295 # substitution turns \\\\ into \\, and sed turns \\ into \).
40296 sed -n \
40297 "s/'/'\\\\''/g;
40298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40299 ;;
40300 *)
40301 # `set' quotes correctly as required by POSIX, so do not add quotes.
40302 sed -n \
40303 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40304 ;;
40305 esac;
40306 } |
40307 sed '
40308 t clear
40309 : clear
40310 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40311 t end
40312 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40313 : end' >>confcache
40314 if diff $cache_file confcache >/dev/null 2>&1; then :; else
40315 if test -w $cache_file; then
40316 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40317 cat confcache >$cache_file
40318 else
40319 echo "not updating unwritable cache $cache_file"
40320 fi
40321 fi
40322 rm -f confcache
40323
40324
40325 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40326
40327
40328 THREADS_LINK=
40329 THREADS_CFLAGS=
40330
40331 if test "$wxUSE_THREADS" = "yes" ; then
40332 if test "$USE_BEOS" = 1; then
40333 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40334 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40335 wxUSE_THREADS="no"
40336 fi
40337 fi
40338
40339 if test "$wxUSE_THREADS" = "yes" ; then
40340
40341
40342 THREAD_OPTS="-pthread"
40343 if test "x$SUNCXX" = xyes; then
40344 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40345 fi
40346
40347 case "${host}" in
40348 *-*-solaris2* | *-*-sunos4* )
40349 if test "x$GCC" = "xyes"; then
40350 THREAD_OPTS="-pthreads $THREAD_OPTS"
40351 fi
40352 ;;
40353 *-*-freebsd*)
40354 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40355 ;;
40356 *-*-darwin* | *-*-cygwin* )
40357 THREAD_OPTS=""
40358 ;;
40359 *-*-aix*)
40360 THREAD_OPTS="pthreads"
40361 ;;
40362 *-hp-hpux* )
40363 if test "x$GCC" = "xyes"; then
40364 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40365 THREAD_OPTS=""
40366 else
40367 THREAD_OPTS="-mt"
40368 fi
40369 ;;
40370
40371 *-*-irix* )
40372 if test "x$GCC" = "xyes"; then
40373 THREAD_OPTS=""
40374 fi
40375 ;;
40376
40377 *-*-*UnixWare*)
40378 if test "x$GCC" != "xyes"; then
40379 THREAD_OPTS="-Ethread"
40380 fi
40381 ;;
40382 esac
40383
40384 THREAD_OPTS="$THREAD_OPTS pthread none"
40385
40386 THREADS_OK=no
40387 for flag in $THREAD_OPTS; do
40388 case $flag in
40389 none)
40390 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40391 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
40392 ;;
40393
40394 -*)
40395 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40396 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
40397 THREADS_CFLAGS="$flag"
40398 ;;
40399
40400 *)
40401 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40402 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
40403 THREADS_LINK="-l$flag"
40404 ;;
40405 esac
40406
40407 save_LIBS="$LIBS"
40408 save_CFLAGS="$CFLAGS"
40409 LIBS="$THREADS_LINK $LIBS"
40410 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40411
40412 cat >conftest.$ac_ext <<_ACEOF
40413 /* confdefs.h. */
40414 _ACEOF
40415 cat confdefs.h >>conftest.$ac_ext
40416 cat >>conftest.$ac_ext <<_ACEOF
40417 /* end confdefs.h. */
40418 #include <pthread.h>
40419 int
40420 main ()
40421 {
40422 pthread_create(0,0,0,0);
40423 ;
40424 return 0;
40425 }
40426 _ACEOF
40427 rm -f conftest.$ac_objext conftest$ac_exeext
40428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40429 (eval $ac_link) 2>conftest.er1
40430 ac_status=$?
40431 grep -v '^ *+' conftest.er1 >conftest.err
40432 rm -f conftest.er1
40433 cat conftest.err >&5
40434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40435 (exit $ac_status); } &&
40436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40438 (eval $ac_try) 2>&5
40439 ac_status=$?
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); }; } &&
40442 { ac_try='test -s conftest$ac_exeext'
40443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40444 (eval $ac_try) 2>&5
40445 ac_status=$?
40446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447 (exit $ac_status); }; }; then
40448 THREADS_OK=yes
40449 else
40450 echo "$as_me: failed program was:" >&5
40451 sed 's/^/| /' conftest.$ac_ext >&5
40452
40453 fi
40454 rm -f conftest.err conftest.$ac_objext \
40455 conftest$ac_exeext conftest.$ac_ext
40456
40457 LIBS="$save_LIBS"
40458 CFLAGS="$save_CFLAGS"
40459
40460 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40461 echo "${ECHO_T}$THREADS_OK" >&6
40462 if test "x$THREADS_OK" = "xyes"; then
40463 break;
40464 fi
40465
40466 THREADS_LINK=""
40467 THREADS_CFLAGS=""
40468 done
40469
40470 if test "x$THREADS_OK" != "xyes"; then
40471 wxUSE_THREADS=no
40472 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40473 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40474 else
40475 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40476 LIBS="$THREADS_LINK $LIBS"
40477
40478 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40479 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
40480 flag=no
40481 case "${host}" in
40482 *-aix*)
40483 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40484 flag="-D_THREAD_SAFE"
40485 ;;
40486 *-freebsd*)
40487 flag="-D_THREAD_SAFE"
40488 ;;
40489 *-hp-hpux* )
40490 flag="-D_REENTRANT"
40491 if test "x$GCC" != "xyes"; then
40492 flag="$flag -D_RWSTD_MULTI_THREAD"
40493 fi
40494 ;;
40495 *solaris* | alpha*-osf*)
40496 flag="-D_REENTRANT"
40497 ;;
40498 esac
40499 echo "$as_me:$LINENO: result: ${flag}" >&5
40500 echo "${ECHO_T}${flag}" >&6
40501 if test "x$flag" != xno; then
40502 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40503 fi
40504
40505 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40506 fi
40507 fi
40508
40509 if test "$wxUSE_THREADS" = "yes" ; then
40510
40511 for ac_func in thr_setconcurrency
40512 do
40513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40514 echo "$as_me:$LINENO: checking for $ac_func" >&5
40515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40516 if eval "test \"\${$as_ac_var+set}\" = set"; then
40517 echo $ECHO_N "(cached) $ECHO_C" >&6
40518 else
40519 cat >conftest.$ac_ext <<_ACEOF
40520 /* confdefs.h. */
40521 _ACEOF
40522 cat confdefs.h >>conftest.$ac_ext
40523 cat >>conftest.$ac_ext <<_ACEOF
40524 /* end confdefs.h. */
40525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40527 #define $ac_func innocuous_$ac_func
40528
40529 /* System header to define __stub macros and hopefully few prototypes,
40530 which can conflict with char $ac_func (); below.
40531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40532 <limits.h> exists even on freestanding compilers. */
40533
40534 #ifdef __STDC__
40535 # include <limits.h>
40536 #else
40537 # include <assert.h>
40538 #endif
40539
40540 #undef $ac_func
40541
40542 /* Override any gcc2 internal prototype to avoid an error. */
40543 #ifdef __cplusplus
40544 extern "C"
40545 {
40546 #endif
40547 /* We use char because int might match the return type of a gcc2
40548 builtin and then its argument prototype would still apply. */
40549 char $ac_func ();
40550 /* The GNU C library defines this for functions which it implements
40551 to always fail with ENOSYS. Some functions are actually named
40552 something starting with __ and the normal name is an alias. */
40553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40554 choke me
40555 #else
40556 char (*f) () = $ac_func;
40557 #endif
40558 #ifdef __cplusplus
40559 }
40560 #endif
40561
40562 int
40563 main ()
40564 {
40565 return f != $ac_func;
40566 ;
40567 return 0;
40568 }
40569 _ACEOF
40570 rm -f conftest.$ac_objext conftest$ac_exeext
40571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40572 (eval $ac_link) 2>conftest.er1
40573 ac_status=$?
40574 grep -v '^ *+' conftest.er1 >conftest.err
40575 rm -f conftest.er1
40576 cat conftest.err >&5
40577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40578 (exit $ac_status); } &&
40579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40581 (eval $ac_try) 2>&5
40582 ac_status=$?
40583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40584 (exit $ac_status); }; } &&
40585 { ac_try='test -s conftest$ac_exeext'
40586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40587 (eval $ac_try) 2>&5
40588 ac_status=$?
40589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40590 (exit $ac_status); }; }; then
40591 eval "$as_ac_var=yes"
40592 else
40593 echo "$as_me: failed program was:" >&5
40594 sed 's/^/| /' conftest.$ac_ext >&5
40595
40596 eval "$as_ac_var=no"
40597 fi
40598 rm -f conftest.err conftest.$ac_objext \
40599 conftest$ac_exeext conftest.$ac_ext
40600 fi
40601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40603 if test `eval echo '${'$as_ac_var'}'` = yes; then
40604 cat >>confdefs.h <<_ACEOF
40605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40606 _ACEOF
40607
40608 fi
40609 done
40610
40611
40612 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40613 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
40614 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40615 echo $ECHO_N "(cached) $ECHO_C" >&6
40616 else
40617
40618 ac_ext=cc
40619 ac_cpp='$CXXCPP $CPPFLAGS'
40620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40623
40624 cat >conftest.$ac_ext <<_ACEOF
40625 /* confdefs.h. */
40626 _ACEOF
40627 cat confdefs.h >>conftest.$ac_ext
40628 cat >>conftest.$ac_ext <<_ACEOF
40629 /* end confdefs.h. */
40630 #include <pthread.h>
40631 void ThreadCleanupFunc(void *p);
40632
40633 int
40634 main ()
40635 {
40636
40637 void *p;
40638 pthread_cleanup_push(ThreadCleanupFunc, p);
40639 pthread_cleanup_pop(0);
40640
40641 ;
40642 return 0;
40643 }
40644 _ACEOF
40645 rm -f conftest.$ac_objext
40646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40647 (eval $ac_compile) 2>conftest.er1
40648 ac_status=$?
40649 grep -v '^ *+' conftest.er1 >conftest.err
40650 rm -f conftest.er1
40651 cat conftest.err >&5
40652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40653 (exit $ac_status); } &&
40654 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40656 (eval $ac_try) 2>&5
40657 ac_status=$?
40658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40659 (exit $ac_status); }; } &&
40660 { ac_try='test -s conftest.$ac_objext'
40661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40662 (eval $ac_try) 2>&5
40663 ac_status=$?
40664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665 (exit $ac_status); }; }; then
40666
40667 wx_cv_func_pthread_cleanup=yes
40668
40669 else
40670 echo "$as_me: failed program was:" >&5
40671 sed 's/^/| /' conftest.$ac_ext >&5
40672
40673
40674 wx_cv_func_pthread_cleanup=no
40675
40676
40677 fi
40678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40679 ac_ext=c
40680 ac_cpp='$CPP $CPPFLAGS'
40681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40684
40685
40686 fi
40687 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40688 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
40689 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40690 cat >>confdefs.h <<\_ACEOF
40691 #define wxHAVE_PTHREAD_CLEANUP 1
40692 _ACEOF
40693
40694 fi
40695
40696 echo "$as_me:$LINENO: checking for sched.h" >&5
40697 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6
40698 if test "${ac_cv_header_sched_h+set}" = set; then
40699 echo $ECHO_N "(cached) $ECHO_C" >&6
40700 else
40701 cat >conftest.$ac_ext <<_ACEOF
40702 /* confdefs.h. */
40703 _ACEOF
40704 cat confdefs.h >>conftest.$ac_ext
40705 cat >>conftest.$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40707 $ac_includes_default
40708
40709 #include <sched.h>
40710 _ACEOF
40711 rm -f conftest.$ac_objext
40712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40713 (eval $ac_compile) 2>conftest.er1
40714 ac_status=$?
40715 grep -v '^ *+' conftest.er1 >conftest.err
40716 rm -f conftest.er1
40717 cat conftest.err >&5
40718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40719 (exit $ac_status); } &&
40720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40722 (eval $ac_try) 2>&5
40723 ac_status=$?
40724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40725 (exit $ac_status); }; } &&
40726 { ac_try='test -s conftest.$ac_objext'
40727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40728 (eval $ac_try) 2>&5
40729 ac_status=$?
40730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40731 (exit $ac_status); }; }; then
40732 ac_cv_header_sched_h=yes
40733 else
40734 echo "$as_me: failed program was:" >&5
40735 sed 's/^/| /' conftest.$ac_ext >&5
40736
40737 ac_cv_header_sched_h=no
40738 fi
40739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40740 fi
40741 echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
40742 echo "${ECHO_T}$ac_cv_header_sched_h" >&6
40743
40744
40745 if test "$ac_cv_header_sched_h" = "yes"; then
40746 echo "$as_me:$LINENO: checking for sched_yield" >&5
40747 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
40748 if test "${ac_cv_func_sched_yield+set}" = set; then
40749 echo $ECHO_N "(cached) $ECHO_C" >&6
40750 else
40751 cat >conftest.$ac_ext <<_ACEOF
40752 /* confdefs.h. */
40753 _ACEOF
40754 cat confdefs.h >>conftest.$ac_ext
40755 cat >>conftest.$ac_ext <<_ACEOF
40756 /* end confdefs.h. */
40757 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40759 #define sched_yield innocuous_sched_yield
40760
40761 /* System header to define __stub macros and hopefully few prototypes,
40762 which can conflict with char sched_yield (); below.
40763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40764 <limits.h> exists even on freestanding compilers. */
40765
40766 #ifdef __STDC__
40767 # include <limits.h>
40768 #else
40769 # include <assert.h>
40770 #endif
40771
40772 #undef sched_yield
40773
40774 /* Override any gcc2 internal prototype to avoid an error. */
40775 #ifdef __cplusplus
40776 extern "C"
40777 {
40778 #endif
40779 /* We use char because int might match the return type of a gcc2
40780 builtin and then its argument prototype would still apply. */
40781 char sched_yield ();
40782 /* The GNU C library defines this for functions which it implements
40783 to always fail with ENOSYS. Some functions are actually named
40784 something starting with __ and the normal name is an alias. */
40785 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40786 choke me
40787 #else
40788 char (*f) () = sched_yield;
40789 #endif
40790 #ifdef __cplusplus
40791 }
40792 #endif
40793
40794 int
40795 main ()
40796 {
40797 return f != sched_yield;
40798 ;
40799 return 0;
40800 }
40801 _ACEOF
40802 rm -f conftest.$ac_objext conftest$ac_exeext
40803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40804 (eval $ac_link) 2>conftest.er1
40805 ac_status=$?
40806 grep -v '^ *+' conftest.er1 >conftest.err
40807 rm -f conftest.er1
40808 cat conftest.err >&5
40809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40810 (exit $ac_status); } &&
40811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40813 (eval $ac_try) 2>&5
40814 ac_status=$?
40815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40816 (exit $ac_status); }; } &&
40817 { ac_try='test -s conftest$ac_exeext'
40818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40819 (eval $ac_try) 2>&5
40820 ac_status=$?
40821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40822 (exit $ac_status); }; }; then
40823 ac_cv_func_sched_yield=yes
40824 else
40825 echo "$as_me: failed program was:" >&5
40826 sed 's/^/| /' conftest.$ac_ext >&5
40827
40828 ac_cv_func_sched_yield=no
40829 fi
40830 rm -f conftest.err conftest.$ac_objext \
40831 conftest$ac_exeext conftest.$ac_ext
40832 fi
40833 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40834 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40835 if test $ac_cv_func_sched_yield = yes; then
40836 cat >>confdefs.h <<\_ACEOF
40837 #define HAVE_SCHED_YIELD 1
40838 _ACEOF
40839
40840 else
40841
40842 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40843 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40844 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40845 echo $ECHO_N "(cached) $ECHO_C" >&6
40846 else
40847 ac_check_lib_save_LIBS=$LIBS
40848 LIBS="-lposix4 $LIBS"
40849 cat >conftest.$ac_ext <<_ACEOF
40850 /* confdefs.h. */
40851 _ACEOF
40852 cat confdefs.h >>conftest.$ac_ext
40853 cat >>conftest.$ac_ext <<_ACEOF
40854 /* end confdefs.h. */
40855
40856 /* Override any gcc2 internal prototype to avoid an error. */
40857 #ifdef __cplusplus
40858 extern "C"
40859 #endif
40860 /* We use char because int might match the return type of a gcc2
40861 builtin and then its argument prototype would still apply. */
40862 char sched_yield ();
40863 int
40864 main ()
40865 {
40866 sched_yield ();
40867 ;
40868 return 0;
40869 }
40870 _ACEOF
40871 rm -f conftest.$ac_objext conftest$ac_exeext
40872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40873 (eval $ac_link) 2>conftest.er1
40874 ac_status=$?
40875 grep -v '^ *+' conftest.er1 >conftest.err
40876 rm -f conftest.er1
40877 cat conftest.err >&5
40878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40879 (exit $ac_status); } &&
40880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40882 (eval $ac_try) 2>&5
40883 ac_status=$?
40884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40885 (exit $ac_status); }; } &&
40886 { ac_try='test -s conftest$ac_exeext'
40887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40888 (eval $ac_try) 2>&5
40889 ac_status=$?
40890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40891 (exit $ac_status); }; }; then
40892 ac_cv_lib_posix4_sched_yield=yes
40893 else
40894 echo "$as_me: failed program was:" >&5
40895 sed 's/^/| /' conftest.$ac_ext >&5
40896
40897 ac_cv_lib_posix4_sched_yield=no
40898 fi
40899 rm -f conftest.err conftest.$ac_objext \
40900 conftest$ac_exeext conftest.$ac_ext
40901 LIBS=$ac_check_lib_save_LIBS
40902 fi
40903 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40904 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40905 if test $ac_cv_lib_posix4_sched_yield = yes; then
40906 cat >>confdefs.h <<\_ACEOF
40907 #define HAVE_SCHED_YIELD 1
40908 _ACEOF
40909 POSIX4_LINK=" -lposix4"
40910 else
40911 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40912 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40913
40914 fi
40915
40916
40917
40918 fi
40919
40920 fi
40921
40922 HAVE_PRIOR_FUNCS=0
40923 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40924 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40925 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40926 echo $ECHO_N "(cached) $ECHO_C" >&6
40927 else
40928 cat >conftest.$ac_ext <<_ACEOF
40929 /* confdefs.h. */
40930 _ACEOF
40931 cat confdefs.h >>conftest.$ac_ext
40932 cat >>conftest.$ac_ext <<_ACEOF
40933 /* end confdefs.h. */
40934 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40936 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40937
40938 /* System header to define __stub macros and hopefully few prototypes,
40939 which can conflict with char pthread_attr_getschedpolicy (); below.
40940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40941 <limits.h> exists even on freestanding compilers. */
40942
40943 #ifdef __STDC__
40944 # include <limits.h>
40945 #else
40946 # include <assert.h>
40947 #endif
40948
40949 #undef pthread_attr_getschedpolicy
40950
40951 /* Override any gcc2 internal prototype to avoid an error. */
40952 #ifdef __cplusplus
40953 extern "C"
40954 {
40955 #endif
40956 /* We use char because int might match the return type of a gcc2
40957 builtin and then its argument prototype would still apply. */
40958 char pthread_attr_getschedpolicy ();
40959 /* The GNU C library defines this for functions which it implements
40960 to always fail with ENOSYS. Some functions are actually named
40961 something starting with __ and the normal name is an alias. */
40962 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40963 choke me
40964 #else
40965 char (*f) () = pthread_attr_getschedpolicy;
40966 #endif
40967 #ifdef __cplusplus
40968 }
40969 #endif
40970
40971 int
40972 main ()
40973 {
40974 return f != pthread_attr_getschedpolicy;
40975 ;
40976 return 0;
40977 }
40978 _ACEOF
40979 rm -f conftest.$ac_objext conftest$ac_exeext
40980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40981 (eval $ac_link) 2>conftest.er1
40982 ac_status=$?
40983 grep -v '^ *+' conftest.er1 >conftest.err
40984 rm -f conftest.er1
40985 cat conftest.err >&5
40986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40987 (exit $ac_status); } &&
40988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40990 (eval $ac_try) 2>&5
40991 ac_status=$?
40992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40993 (exit $ac_status); }; } &&
40994 { ac_try='test -s conftest$ac_exeext'
40995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40996 (eval $ac_try) 2>&5
40997 ac_status=$?
40998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999 (exit $ac_status); }; }; then
41000 ac_cv_func_pthread_attr_getschedpolicy=yes
41001 else
41002 echo "$as_me: failed program was:" >&5
41003 sed 's/^/| /' conftest.$ac_ext >&5
41004
41005 ac_cv_func_pthread_attr_getschedpolicy=no
41006 fi
41007 rm -f conftest.err conftest.$ac_objext \
41008 conftest$ac_exeext conftest.$ac_ext
41009 fi
41010 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41011 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
41012 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41013 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41014 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
41015 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41016 echo $ECHO_N "(cached) $ECHO_C" >&6
41017 else
41018 cat >conftest.$ac_ext <<_ACEOF
41019 /* confdefs.h. */
41020 _ACEOF
41021 cat confdefs.h >>conftest.$ac_ext
41022 cat >>conftest.$ac_ext <<_ACEOF
41023 /* end confdefs.h. */
41024 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41026 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41027
41028 /* System header to define __stub macros and hopefully few prototypes,
41029 which can conflict with char pthread_attr_setschedparam (); below.
41030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41031 <limits.h> exists even on freestanding compilers. */
41032
41033 #ifdef __STDC__
41034 # include <limits.h>
41035 #else
41036 # include <assert.h>
41037 #endif
41038
41039 #undef pthread_attr_setschedparam
41040
41041 /* Override any gcc2 internal prototype to avoid an error. */
41042 #ifdef __cplusplus
41043 extern "C"
41044 {
41045 #endif
41046 /* We use char because int might match the return type of a gcc2
41047 builtin and then its argument prototype would still apply. */
41048 char pthread_attr_setschedparam ();
41049 /* The GNU C library defines this for functions which it implements
41050 to always fail with ENOSYS. Some functions are actually named
41051 something starting with __ and the normal name is an alias. */
41052 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
41053 choke me
41054 #else
41055 char (*f) () = pthread_attr_setschedparam;
41056 #endif
41057 #ifdef __cplusplus
41058 }
41059 #endif
41060
41061 int
41062 main ()
41063 {
41064 return f != pthread_attr_setschedparam;
41065 ;
41066 return 0;
41067 }
41068 _ACEOF
41069 rm -f conftest.$ac_objext conftest$ac_exeext
41070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41071 (eval $ac_link) 2>conftest.er1
41072 ac_status=$?
41073 grep -v '^ *+' conftest.er1 >conftest.err
41074 rm -f conftest.er1
41075 cat conftest.err >&5
41076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); } &&
41078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41080 (eval $ac_try) 2>&5
41081 ac_status=$?
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); }; } &&
41084 { ac_try='test -s conftest$ac_exeext'
41085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41086 (eval $ac_try) 2>&5
41087 ac_status=$?
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); }; }; then
41090 ac_cv_func_pthread_attr_setschedparam=yes
41091 else
41092 echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.$ac_ext >&5
41094
41095 ac_cv_func_pthread_attr_setschedparam=no
41096 fi
41097 rm -f conftest.err conftest.$ac_objext \
41098 conftest$ac_exeext conftest.$ac_ext
41099 fi
41100 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41101 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
41102 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41103 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41104 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
41105 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41106 echo $ECHO_N "(cached) $ECHO_C" >&6
41107 else
41108 cat >conftest.$ac_ext <<_ACEOF
41109 /* confdefs.h. */
41110 _ACEOF
41111 cat confdefs.h >>conftest.$ac_ext
41112 cat >>conftest.$ac_ext <<_ACEOF
41113 /* end confdefs.h. */
41114 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41116 #define sched_get_priority_max innocuous_sched_get_priority_max
41117
41118 /* System header to define __stub macros and hopefully few prototypes,
41119 which can conflict with char sched_get_priority_max (); below.
41120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41121 <limits.h> exists even on freestanding compilers. */
41122
41123 #ifdef __STDC__
41124 # include <limits.h>
41125 #else
41126 # include <assert.h>
41127 #endif
41128
41129 #undef sched_get_priority_max
41130
41131 /* Override any gcc2 internal prototype to avoid an error. */
41132 #ifdef __cplusplus
41133 extern "C"
41134 {
41135 #endif
41136 /* We use char because int might match the return type of a gcc2
41137 builtin and then its argument prototype would still apply. */
41138 char sched_get_priority_max ();
41139 /* The GNU C library defines this for functions which it implements
41140 to always fail with ENOSYS. Some functions are actually named
41141 something starting with __ and the normal name is an alias. */
41142 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
41143 choke me
41144 #else
41145 char (*f) () = sched_get_priority_max;
41146 #endif
41147 #ifdef __cplusplus
41148 }
41149 #endif
41150
41151 int
41152 main ()
41153 {
41154 return f != sched_get_priority_max;
41155 ;
41156 return 0;
41157 }
41158 _ACEOF
41159 rm -f conftest.$ac_objext conftest$ac_exeext
41160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41161 (eval $ac_link) 2>conftest.er1
41162 ac_status=$?
41163 grep -v '^ *+' conftest.er1 >conftest.err
41164 rm -f conftest.er1
41165 cat conftest.err >&5
41166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41167 (exit $ac_status); } &&
41168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41170 (eval $ac_try) 2>&5
41171 ac_status=$?
41172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41173 (exit $ac_status); }; } &&
41174 { ac_try='test -s conftest$ac_exeext'
41175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41176 (eval $ac_try) 2>&5
41177 ac_status=$?
41178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41179 (exit $ac_status); }; }; then
41180 ac_cv_func_sched_get_priority_max=yes
41181 else
41182 echo "$as_me: failed program was:" >&5
41183 sed 's/^/| /' conftest.$ac_ext >&5
41184
41185 ac_cv_func_sched_get_priority_max=no
41186 fi
41187 rm -f conftest.err conftest.$ac_objext \
41188 conftest$ac_exeext conftest.$ac_ext
41189 fi
41190 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41191 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
41192 if test $ac_cv_func_sched_get_priority_max = yes; then
41193 HAVE_PRIOR_FUNCS=1
41194 else
41195 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41196 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
41197 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41198 echo $ECHO_N "(cached) $ECHO_C" >&6
41199 else
41200 ac_check_lib_save_LIBS=$LIBS
41201 LIBS="-lposix4 $LIBS"
41202 cat >conftest.$ac_ext <<_ACEOF
41203 /* confdefs.h. */
41204 _ACEOF
41205 cat confdefs.h >>conftest.$ac_ext
41206 cat >>conftest.$ac_ext <<_ACEOF
41207 /* end confdefs.h. */
41208
41209 /* Override any gcc2 internal prototype to avoid an error. */
41210 #ifdef __cplusplus
41211 extern "C"
41212 #endif
41213 /* We use char because int might match the return type of a gcc2
41214 builtin and then its argument prototype would still apply. */
41215 char sched_get_priority_max ();
41216 int
41217 main ()
41218 {
41219 sched_get_priority_max ();
41220 ;
41221 return 0;
41222 }
41223 _ACEOF
41224 rm -f conftest.$ac_objext conftest$ac_exeext
41225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41226 (eval $ac_link) 2>conftest.er1
41227 ac_status=$?
41228 grep -v '^ *+' conftest.er1 >conftest.err
41229 rm -f conftest.er1
41230 cat conftest.err >&5
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); } &&
41233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41235 (eval $ac_try) 2>&5
41236 ac_status=$?
41237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41238 (exit $ac_status); }; } &&
41239 { ac_try='test -s conftest$ac_exeext'
41240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41241 (eval $ac_try) 2>&5
41242 ac_status=$?
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); }; }; then
41245 ac_cv_lib_posix4_sched_get_priority_max=yes
41246 else
41247 echo "$as_me: failed program was:" >&5
41248 sed 's/^/| /' conftest.$ac_ext >&5
41249
41250 ac_cv_lib_posix4_sched_get_priority_max=no
41251 fi
41252 rm -f conftest.err conftest.$ac_objext \
41253 conftest$ac_exeext conftest.$ac_ext
41254 LIBS=$ac_check_lib_save_LIBS
41255 fi
41256 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41257 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
41258 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41259
41260 HAVE_PRIOR_FUNCS=1
41261 POSIX4_LINK=" -lposix4"
41262
41263 fi
41264
41265
41266 fi
41267
41268
41269 fi
41270
41271
41272 fi
41273
41274
41275 if test "$HAVE_PRIOR_FUNCS" = 1; then
41276 cat >>confdefs.h <<\_ACEOF
41277 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41278 _ACEOF
41279
41280 else
41281 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41282 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41283 fi
41284
41285 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41286 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
41287 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41288 echo $ECHO_N "(cached) $ECHO_C" >&6
41289 else
41290 cat >conftest.$ac_ext <<_ACEOF
41291 /* confdefs.h. */
41292 _ACEOF
41293 cat confdefs.h >>conftest.$ac_ext
41294 cat >>conftest.$ac_ext <<_ACEOF
41295 /* end confdefs.h. */
41296 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41298 #define pthread_cancel innocuous_pthread_cancel
41299
41300 /* System header to define __stub macros and hopefully few prototypes,
41301 which can conflict with char pthread_cancel (); below.
41302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41303 <limits.h> exists even on freestanding compilers. */
41304
41305 #ifdef __STDC__
41306 # include <limits.h>
41307 #else
41308 # include <assert.h>
41309 #endif
41310
41311 #undef pthread_cancel
41312
41313 /* Override any gcc2 internal prototype to avoid an error. */
41314 #ifdef __cplusplus
41315 extern "C"
41316 {
41317 #endif
41318 /* We use char because int might match the return type of a gcc2
41319 builtin and then its argument prototype would still apply. */
41320 char pthread_cancel ();
41321 /* The GNU C library defines this for functions which it implements
41322 to always fail with ENOSYS. Some functions are actually named
41323 something starting with __ and the normal name is an alias. */
41324 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
41325 choke me
41326 #else
41327 char (*f) () = pthread_cancel;
41328 #endif
41329 #ifdef __cplusplus
41330 }
41331 #endif
41332
41333 int
41334 main ()
41335 {
41336 return f != pthread_cancel;
41337 ;
41338 return 0;
41339 }
41340 _ACEOF
41341 rm -f conftest.$ac_objext conftest$ac_exeext
41342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41343 (eval $ac_link) 2>conftest.er1
41344 ac_status=$?
41345 grep -v '^ *+' conftest.er1 >conftest.err
41346 rm -f conftest.er1
41347 cat conftest.err >&5
41348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41349 (exit $ac_status); } &&
41350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41352 (eval $ac_try) 2>&5
41353 ac_status=$?
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); }; } &&
41356 { ac_try='test -s conftest$ac_exeext'
41357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41358 (eval $ac_try) 2>&5
41359 ac_status=$?
41360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41361 (exit $ac_status); }; }; then
41362 ac_cv_func_pthread_cancel=yes
41363 else
41364 echo "$as_me: failed program was:" >&5
41365 sed 's/^/| /' conftest.$ac_ext >&5
41366
41367 ac_cv_func_pthread_cancel=no
41368 fi
41369 rm -f conftest.err conftest.$ac_objext \
41370 conftest$ac_exeext conftest.$ac_ext
41371 fi
41372 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41373 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
41374 if test $ac_cv_func_pthread_cancel = yes; then
41375 cat >>confdefs.h <<\_ACEOF
41376 #define HAVE_PTHREAD_CANCEL 1
41377 _ACEOF
41378
41379 else
41380 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41381 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41382 fi
41383
41384
41385 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41386 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
41387 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41388 echo $ECHO_N "(cached) $ECHO_C" >&6
41389 else
41390 cat >conftest.$ac_ext <<_ACEOF
41391 /* confdefs.h. */
41392 _ACEOF
41393 cat confdefs.h >>conftest.$ac_ext
41394 cat >>conftest.$ac_ext <<_ACEOF
41395 /* end confdefs.h. */
41396 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41398 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41399
41400 /* System header to define __stub macros and hopefully few prototypes,
41401 which can conflict with char pthread_mutex_timedlock (); below.
41402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41403 <limits.h> exists even on freestanding compilers. */
41404
41405 #ifdef __STDC__
41406 # include <limits.h>
41407 #else
41408 # include <assert.h>
41409 #endif
41410
41411 #undef pthread_mutex_timedlock
41412
41413 /* Override any gcc2 internal prototype to avoid an error. */
41414 #ifdef __cplusplus
41415 extern "C"
41416 {
41417 #endif
41418 /* We use char because int might match the return type of a gcc2
41419 builtin and then its argument prototype would still apply. */
41420 char pthread_mutex_timedlock ();
41421 /* The GNU C library defines this for functions which it implements
41422 to always fail with ENOSYS. Some functions are actually named
41423 something starting with __ and the normal name is an alias. */
41424 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
41425 choke me
41426 #else
41427 char (*f) () = pthread_mutex_timedlock;
41428 #endif
41429 #ifdef __cplusplus
41430 }
41431 #endif
41432
41433 int
41434 main ()
41435 {
41436 return f != pthread_mutex_timedlock;
41437 ;
41438 return 0;
41439 }
41440 _ACEOF
41441 rm -f conftest.$ac_objext conftest$ac_exeext
41442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41443 (eval $ac_link) 2>conftest.er1
41444 ac_status=$?
41445 grep -v '^ *+' conftest.er1 >conftest.err
41446 rm -f conftest.er1
41447 cat conftest.err >&5
41448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41449 (exit $ac_status); } &&
41450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41452 (eval $ac_try) 2>&5
41453 ac_status=$?
41454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41455 (exit $ac_status); }; } &&
41456 { ac_try='test -s conftest$ac_exeext'
41457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41458 (eval $ac_try) 2>&5
41459 ac_status=$?
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); }; }; then
41462 ac_cv_func_pthread_mutex_timedlock=yes
41463 else
41464 echo "$as_me: failed program was:" >&5
41465 sed 's/^/| /' conftest.$ac_ext >&5
41466
41467 ac_cv_func_pthread_mutex_timedlock=no
41468 fi
41469 rm -f conftest.err conftest.$ac_objext \
41470 conftest$ac_exeext conftest.$ac_ext
41471 fi
41472 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41473 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
41474 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41475 cat >>confdefs.h <<\_ACEOF
41476 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41477 _ACEOF
41478
41479 else
41480 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41481 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41482 fi
41483
41484
41485 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41486 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
41487 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41488 echo $ECHO_N "(cached) $ECHO_C" >&6
41489 else
41490 cat >conftest.$ac_ext <<_ACEOF
41491 /* confdefs.h. */
41492 _ACEOF
41493 cat confdefs.h >>conftest.$ac_ext
41494 cat >>conftest.$ac_ext <<_ACEOF
41495 /* end confdefs.h. */
41496 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41498 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41499
41500 /* System header to define __stub macros and hopefully few prototypes,
41501 which can conflict with char pthread_attr_setstacksize (); below.
41502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41503 <limits.h> exists even on freestanding compilers. */
41504
41505 #ifdef __STDC__
41506 # include <limits.h>
41507 #else
41508 # include <assert.h>
41509 #endif
41510
41511 #undef pthread_attr_setstacksize
41512
41513 /* Override any gcc2 internal prototype to avoid an error. */
41514 #ifdef __cplusplus
41515 extern "C"
41516 {
41517 #endif
41518 /* We use char because int might match the return type of a gcc2
41519 builtin and then its argument prototype would still apply. */
41520 char pthread_attr_setstacksize ();
41521 /* The GNU C library defines this for functions which it implements
41522 to always fail with ENOSYS. Some functions are actually named
41523 something starting with __ and the normal name is an alias. */
41524 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
41525 choke me
41526 #else
41527 char (*f) () = pthread_attr_setstacksize;
41528 #endif
41529 #ifdef __cplusplus
41530 }
41531 #endif
41532
41533 int
41534 main ()
41535 {
41536 return f != pthread_attr_setstacksize;
41537 ;
41538 return 0;
41539 }
41540 _ACEOF
41541 rm -f conftest.$ac_objext conftest$ac_exeext
41542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41543 (eval $ac_link) 2>conftest.er1
41544 ac_status=$?
41545 grep -v '^ *+' conftest.er1 >conftest.err
41546 rm -f conftest.er1
41547 cat conftest.err >&5
41548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41549 (exit $ac_status); } &&
41550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41552 (eval $ac_try) 2>&5
41553 ac_status=$?
41554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41555 (exit $ac_status); }; } &&
41556 { ac_try='test -s conftest$ac_exeext'
41557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41558 (eval $ac_try) 2>&5
41559 ac_status=$?
41560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41561 (exit $ac_status); }; }; then
41562 ac_cv_func_pthread_attr_setstacksize=yes
41563 else
41564 echo "$as_me: failed program was:" >&5
41565 sed 's/^/| /' conftest.$ac_ext >&5
41566
41567 ac_cv_func_pthread_attr_setstacksize=no
41568 fi
41569 rm -f conftest.err conftest.$ac_objext \
41570 conftest$ac_exeext conftest.$ac_ext
41571 fi
41572 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41573 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
41574 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41575 cat >>confdefs.h <<\_ACEOF
41576 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41577 _ACEOF
41578
41579 fi
41580
41581
41582
41583 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41584 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
41585 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41586 echo $ECHO_N "(cached) $ECHO_C" >&6
41587 else
41588
41589 cat >conftest.$ac_ext <<_ACEOF
41590 /* confdefs.h. */
41591 _ACEOF
41592 cat confdefs.h >>conftest.$ac_ext
41593 cat >>conftest.$ac_ext <<_ACEOF
41594 /* end confdefs.h. */
41595 #include <pthread.h>
41596 int
41597 main ()
41598 {
41599
41600 pthread_mutexattr_t attr;
41601 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41602
41603 ;
41604 return 0;
41605 }
41606 _ACEOF
41607 rm -f conftest.$ac_objext
41608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41609 (eval $ac_compile) 2>conftest.er1
41610 ac_status=$?
41611 grep -v '^ *+' conftest.er1 >conftest.err
41612 rm -f conftest.er1
41613 cat conftest.err >&5
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); } &&
41616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41618 (eval $ac_try) 2>&5
41619 ac_status=$?
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); }; } &&
41622 { ac_try='test -s conftest.$ac_objext'
41623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41624 (eval $ac_try) 2>&5
41625 ac_status=$?
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); }; }; then
41628 wx_cv_type_pthread_mutexattr_t=yes
41629 else
41630 echo "$as_me: failed program was:" >&5
41631 sed 's/^/| /' conftest.$ac_ext >&5
41632
41633 wx_cv_type_pthread_mutexattr_t=no
41634
41635 fi
41636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41637
41638 fi
41639 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41640 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
41641
41642 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41643 cat >>confdefs.h <<\_ACEOF
41644 #define HAVE_PTHREAD_MUTEXATTR_T 1
41645 _ACEOF
41646
41647
41648 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41649 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
41650 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41651 echo $ECHO_N "(cached) $ECHO_C" >&6
41652 else
41653
41654 cat >conftest.$ac_ext <<_ACEOF
41655 /* confdefs.h. */
41656 _ACEOF
41657 cat confdefs.h >>conftest.$ac_ext
41658 cat >>conftest.$ac_ext <<_ACEOF
41659 /* end confdefs.h. */
41660 #include <pthread.h>
41661 int
41662 main ()
41663 {
41664
41665 pthread_mutexattr_t attr;
41666 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41667
41668 ;
41669 return 0;
41670 }
41671 _ACEOF
41672 rm -f conftest.$ac_objext
41673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41674 (eval $ac_compile) 2>conftest.er1
41675 ac_status=$?
41676 grep -v '^ *+' conftest.er1 >conftest.err
41677 rm -f conftest.er1
41678 cat conftest.err >&5
41679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41680 (exit $ac_status); } &&
41681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41683 (eval $ac_try) 2>&5
41684 ac_status=$?
41685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41686 (exit $ac_status); }; } &&
41687 { ac_try='test -s conftest.$ac_objext'
41688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41689 (eval $ac_try) 2>&5
41690 ac_status=$?
41691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41692 (exit $ac_status); }; }; then
41693 wx_cv_func_pthread_mutexattr_settype_decl=yes
41694 else
41695 echo "$as_me: failed program was:" >&5
41696 sed 's/^/| /' conftest.$ac_ext >&5
41697
41698 wx_cv_func_pthread_mutexattr_settype_decl=no
41699
41700 fi
41701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41702
41703 fi
41704 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41705 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
41706 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41707 cat >>confdefs.h <<\_ACEOF
41708 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41709 _ACEOF
41710
41711 fi
41712 else
41713 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41714 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
41715 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41716 echo $ECHO_N "(cached) $ECHO_C" >&6
41717 else
41718
41719 cat >conftest.$ac_ext <<_ACEOF
41720 /* confdefs.h. */
41721 _ACEOF
41722 cat confdefs.h >>conftest.$ac_ext
41723 cat >>conftest.$ac_ext <<_ACEOF
41724 /* end confdefs.h. */
41725 #include <pthread.h>
41726 int
41727 main ()
41728 {
41729
41730 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41731
41732 ;
41733 return 0;
41734 }
41735 _ACEOF
41736 rm -f conftest.$ac_objext
41737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41738 (eval $ac_compile) 2>conftest.er1
41739 ac_status=$?
41740 grep -v '^ *+' conftest.er1 >conftest.err
41741 rm -f conftest.er1
41742 cat conftest.err >&5
41743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744 (exit $ac_status); } &&
41745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41747 (eval $ac_try) 2>&5
41748 ac_status=$?
41749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41750 (exit $ac_status); }; } &&
41751 { ac_try='test -s conftest.$ac_objext'
41752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41753 (eval $ac_try) 2>&5
41754 ac_status=$?
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); }; }; then
41757
41758 wx_cv_type_pthread_rec_mutex_init=yes
41759
41760 else
41761 echo "$as_me: failed program was:" >&5
41762 sed 's/^/| /' conftest.$ac_ext >&5
41763
41764
41765 wx_cv_type_pthread_rec_mutex_init=no
41766
41767
41768 fi
41769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41770
41771 fi
41772 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41773 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
41774 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41775 cat >>confdefs.h <<\_ACEOF
41776 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41777 _ACEOF
41778
41779 else
41780 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41781 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41782 fi
41783 fi
41784 fi
41785
41786 else
41787 if test "$wxUSE_THREADS" = "yes" ; then
41788 case "${host}" in
41789 *-*-mingw32* )
41790 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41791 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
41792 if test "${wx_cv_cflags_mthread+set}" = set; then
41793 echo $ECHO_N "(cached) $ECHO_C" >&6
41794 else
41795
41796 CFLAGS_OLD="$CFLAGS"
41797 CFLAGS="-mthreads $CFLAGS"
41798 cat >conftest.$ac_ext <<_ACEOF
41799 /* confdefs.h. */
41800 _ACEOF
41801 cat confdefs.h >>conftest.$ac_ext
41802 cat >>conftest.$ac_ext <<_ACEOF
41803 /* end confdefs.h. */
41804
41805 int
41806 main ()
41807 {
41808
41809 ;
41810 return 0;
41811 }
41812 _ACEOF
41813 rm -f conftest.$ac_objext
41814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41815 (eval $ac_compile) 2>conftest.er1
41816 ac_status=$?
41817 grep -v '^ *+' conftest.er1 >conftest.err
41818 rm -f conftest.er1
41819 cat conftest.err >&5
41820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41821 (exit $ac_status); } &&
41822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41824 (eval $ac_try) 2>&5
41825 ac_status=$?
41826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41827 (exit $ac_status); }; } &&
41828 { ac_try='test -s conftest.$ac_objext'
41829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41830 (eval $ac_try) 2>&5
41831 ac_status=$?
41832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41833 (exit $ac_status); }; }; then
41834 wx_cv_cflags_mthread=yes
41835 else
41836 echo "$as_me: failed program was:" >&5
41837 sed 's/^/| /' conftest.$ac_ext >&5
41838
41839 wx_cv_cflags_mthread=no
41840
41841 fi
41842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41843
41844
41845 fi
41846 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41847 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
41848
41849 if test "$wx_cv_cflags_mthread" = "yes"; then
41850 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41851 LDFLAGS="$LDFLAGS -mthreads"
41852 else
41853 CFLAGS="$CFLAGS_OLD"
41854 fi
41855 ;;
41856 *-pc-os2*emx )
41857 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41858 LDFLAGS="$LDFLAGS -Zmt"
41859 ;;
41860 esac
41861 fi
41862 fi
41863
41864 echo "$as_me:$LINENO: checking for localtime_r" >&5
41865 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41866 if test "${ac_cv_func_localtime_r+set}" = set; then
41867 echo $ECHO_N "(cached) $ECHO_C" >&6
41868 else
41869 cat >conftest.$ac_ext <<_ACEOF
41870 /* confdefs.h. */
41871 _ACEOF
41872 cat confdefs.h >>conftest.$ac_ext
41873 cat >>conftest.$ac_ext <<_ACEOF
41874 /* end confdefs.h. */
41875 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41877 #define localtime_r innocuous_localtime_r
41878
41879 /* System header to define __stub macros and hopefully few prototypes,
41880 which can conflict with char localtime_r (); below.
41881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41882 <limits.h> exists even on freestanding compilers. */
41883
41884 #ifdef __STDC__
41885 # include <limits.h>
41886 #else
41887 # include <assert.h>
41888 #endif
41889
41890 #undef localtime_r
41891
41892 /* Override any gcc2 internal prototype to avoid an error. */
41893 #ifdef __cplusplus
41894 extern "C"
41895 {
41896 #endif
41897 /* We use char because int might match the return type of a gcc2
41898 builtin and then its argument prototype would still apply. */
41899 char localtime_r ();
41900 /* The GNU C library defines this for functions which it implements
41901 to always fail with ENOSYS. Some functions are actually named
41902 something starting with __ and the normal name is an alias. */
41903 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41904 choke me
41905 #else
41906 char (*f) () = localtime_r;
41907 #endif
41908 #ifdef __cplusplus
41909 }
41910 #endif
41911
41912 int
41913 main ()
41914 {
41915 return f != localtime_r;
41916 ;
41917 return 0;
41918 }
41919 _ACEOF
41920 rm -f conftest.$ac_objext conftest$ac_exeext
41921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41922 (eval $ac_link) 2>conftest.er1
41923 ac_status=$?
41924 grep -v '^ *+' conftest.er1 >conftest.err
41925 rm -f conftest.er1
41926 cat conftest.err >&5
41927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41928 (exit $ac_status); } &&
41929 { ac_try='test -z "$ac_c_werror_flag" || 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_localtime_r=yes
41942 else
41943 echo "$as_me: failed program was:" >&5
41944 sed 's/^/| /' conftest.$ac_ext >&5
41945
41946 ac_cv_func_localtime_r=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_localtime_r" >&5
41952 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41953 if test $ac_cv_func_localtime_r = yes; then
41954 cat >>confdefs.h <<\_ACEOF
41955 #define HAVE_LOCALTIME_R 1
41956 _ACEOF
41957
41958 fi
41959
41960 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41961 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41962 if test "${ac_cv_func_gmtime_r+set}" = set; then
41963 echo $ECHO_N "(cached) $ECHO_C" >&6
41964 else
41965 cat >conftest.$ac_ext <<_ACEOF
41966 /* confdefs.h. */
41967 _ACEOF
41968 cat confdefs.h >>conftest.$ac_ext
41969 cat >>conftest.$ac_ext <<_ACEOF
41970 /* end confdefs.h. */
41971 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41973 #define gmtime_r innocuous_gmtime_r
41974
41975 /* System header to define __stub macros and hopefully few prototypes,
41976 which can conflict with char gmtime_r (); below.
41977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41978 <limits.h> exists even on freestanding compilers. */
41979
41980 #ifdef __STDC__
41981 # include <limits.h>
41982 #else
41983 # include <assert.h>
41984 #endif
41985
41986 #undef gmtime_r
41987
41988 /* Override any gcc2 internal prototype to avoid an error. */
41989 #ifdef __cplusplus
41990 extern "C"
41991 {
41992 #endif
41993 /* We use char because int might match the return type of a gcc2
41994 builtin and then its argument prototype would still apply. */
41995 char gmtime_r ();
41996 /* The GNU C library defines this for functions which it implements
41997 to always fail with ENOSYS. Some functions are actually named
41998 something starting with __ and the normal name is an alias. */
41999 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
42000 choke me
42001 #else
42002 char (*f) () = gmtime_r;
42003 #endif
42004 #ifdef __cplusplus
42005 }
42006 #endif
42007
42008 int
42009 main ()
42010 {
42011 return f != gmtime_r;
42012 ;
42013 return 0;
42014 }
42015 _ACEOF
42016 rm -f conftest.$ac_objext conftest$ac_exeext
42017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42018 (eval $ac_link) 2>conftest.er1
42019 ac_status=$?
42020 grep -v '^ *+' conftest.er1 >conftest.err
42021 rm -f conftest.er1
42022 cat conftest.err >&5
42023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42024 (exit $ac_status); } &&
42025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42027 (eval $ac_try) 2>&5
42028 ac_status=$?
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); }; } &&
42031 { ac_try='test -s conftest$ac_exeext'
42032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42033 (eval $ac_try) 2>&5
42034 ac_status=$?
42035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42036 (exit $ac_status); }; }; then
42037 ac_cv_func_gmtime_r=yes
42038 else
42039 echo "$as_me: failed program was:" >&5
42040 sed 's/^/| /' conftest.$ac_ext >&5
42041
42042 ac_cv_func_gmtime_r=no
42043 fi
42044 rm -f conftest.err conftest.$ac_objext \
42045 conftest$ac_exeext conftest.$ac_ext
42046 fi
42047 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42048 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
42049 if test $ac_cv_func_gmtime_r = yes; then
42050 cat >>confdefs.h <<\_ACEOF
42051 #define HAVE_GMTIME_R 1
42052 _ACEOF
42053
42054 fi
42055
42056 echo "$as_me:$LINENO: checking for readdir_r" >&5
42057 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
42058 if test "${ac_cv_func_readdir_r+set}" = set; then
42059 echo $ECHO_N "(cached) $ECHO_C" >&6
42060 else
42061 cat >conftest.$ac_ext <<_ACEOF
42062 /* confdefs.h. */
42063 _ACEOF
42064 cat confdefs.h >>conftest.$ac_ext
42065 cat >>conftest.$ac_ext <<_ACEOF
42066 /* end confdefs.h. */
42067 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42069 #define readdir_r innocuous_readdir_r
42070
42071 /* System header to define __stub macros and hopefully few prototypes,
42072 which can conflict with char readdir_r (); below.
42073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42074 <limits.h> exists even on freestanding compilers. */
42075
42076 #ifdef __STDC__
42077 # include <limits.h>
42078 #else
42079 # include <assert.h>
42080 #endif
42081
42082 #undef readdir_r
42083
42084 /* Override any gcc2 internal prototype to avoid an error. */
42085 #ifdef __cplusplus
42086 extern "C"
42087 {
42088 #endif
42089 /* We use char because int might match the return type of a gcc2
42090 builtin and then its argument prototype would still apply. */
42091 char readdir_r ();
42092 /* The GNU C library defines this for functions which it implements
42093 to always fail with ENOSYS. Some functions are actually named
42094 something starting with __ and the normal name is an alias. */
42095 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
42096 choke me
42097 #else
42098 char (*f) () = readdir_r;
42099 #endif
42100 #ifdef __cplusplus
42101 }
42102 #endif
42103
42104 int
42105 main ()
42106 {
42107 return f != readdir_r;
42108 ;
42109 return 0;
42110 }
42111 _ACEOF
42112 rm -f conftest.$ac_objext conftest$ac_exeext
42113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42114 (eval $ac_link) 2>conftest.er1
42115 ac_status=$?
42116 grep -v '^ *+' conftest.er1 >conftest.err
42117 rm -f conftest.er1
42118 cat conftest.err >&5
42119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42120 (exit $ac_status); } &&
42121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42123 (eval $ac_try) 2>&5
42124 ac_status=$?
42125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126 (exit $ac_status); }; } &&
42127 { ac_try='test -s conftest$ac_exeext'
42128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42129 (eval $ac_try) 2>&5
42130 ac_status=$?
42131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42132 (exit $ac_status); }; }; then
42133 ac_cv_func_readdir_r=yes
42134 else
42135 echo "$as_me: failed program was:" >&5
42136 sed 's/^/| /' conftest.$ac_ext >&5
42137
42138 ac_cv_func_readdir_r=no
42139 fi
42140 rm -f conftest.err conftest.$ac_objext \
42141 conftest$ac_exeext conftest.$ac_ext
42142 fi
42143 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42144 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
42145 if test $ac_cv_func_readdir_r = yes; then
42146 cat >>confdefs.h <<\_ACEOF
42147 #define HAVE_READDIR_R 1
42148 _ACEOF
42149
42150 fi
42151
42152
42153
42154
42155 ac_ext=c
42156 ac_cpp='$CPP $CPPFLAGS'
42157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42160
42161 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42162 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
42163
42164 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42165 echo $ECHO_N "(cached) $ECHO_C" >&6
42166 else
42167
42168
42169 ################################################################
42170
42171 ac_cv_func_which_gethostbyname_r=unknown
42172
42173 #
42174 # ONE ARGUMENT (sanity check)
42175 #
42176
42177 # This should fail, as there is no variant of gethostbyname_r() that takes
42178 # a single argument. If it actually compiles, then we can assume that
42179 # netdb.h is not declaring the function, and the compiler is thereby
42180 # assuming an implicit prototype. In which case, we're out of luck.
42181 #
42182 cat >conftest.$ac_ext <<_ACEOF
42183 /* confdefs.h. */
42184 _ACEOF
42185 cat confdefs.h >>conftest.$ac_ext
42186 cat >>conftest.$ac_ext <<_ACEOF
42187 /* end confdefs.h. */
42188 #include <netdb.h>
42189 int
42190 main ()
42191 {
42192
42193 char *name = "www.gnu.org";
42194 (void)gethostbyname_r(name) /* ; */
42195
42196 ;
42197 return 0;
42198 }
42199 _ACEOF
42200 rm -f conftest.$ac_objext
42201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42202 (eval $ac_compile) 2>conftest.er1
42203 ac_status=$?
42204 grep -v '^ *+' conftest.er1 >conftest.err
42205 rm -f conftest.er1
42206 cat conftest.err >&5
42207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42208 (exit $ac_status); } &&
42209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42211 (eval $ac_try) 2>&5
42212 ac_status=$?
42213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42214 (exit $ac_status); }; } &&
42215 { ac_try='test -s conftest.$ac_objext'
42216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42217 (eval $ac_try) 2>&5
42218 ac_status=$?
42219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); }; }; then
42221 ac_cv_func_which_gethostbyname_r=no
42222 else
42223 echo "$as_me: failed program was:" >&5
42224 sed 's/^/| /' conftest.$ac_ext >&5
42225
42226 fi
42227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42228
42229 #
42230 # SIX ARGUMENTS
42231 # (e.g. Linux)
42232 #
42233
42234 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42235
42236 cat >conftest.$ac_ext <<_ACEOF
42237 /* confdefs.h. */
42238 _ACEOF
42239 cat confdefs.h >>conftest.$ac_ext
42240 cat >>conftest.$ac_ext <<_ACEOF
42241 /* end confdefs.h. */
42242 #include <netdb.h>
42243 int
42244 main ()
42245 {
42246
42247 char *name = "www.gnu.org";
42248 struct hostent ret, *retp;
42249 char buf[1024];
42250 int buflen = 1024;
42251 int my_h_errno;
42252 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42253
42254 ;
42255 return 0;
42256 }
42257 _ACEOF
42258 rm -f conftest.$ac_objext
42259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42260 (eval $ac_compile) 2>conftest.er1
42261 ac_status=$?
42262 grep -v '^ *+' conftest.er1 >conftest.err
42263 rm -f conftest.er1
42264 cat conftest.err >&5
42265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42266 (exit $ac_status); } &&
42267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42269 (eval $ac_try) 2>&5
42270 ac_status=$?
42271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42272 (exit $ac_status); }; } &&
42273 { ac_try='test -s conftest.$ac_objext'
42274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42275 (eval $ac_try) 2>&5
42276 ac_status=$?
42277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278 (exit $ac_status); }; }; then
42279 ac_cv_func_which_gethostbyname_r=six
42280 else
42281 echo "$as_me: failed program was:" >&5
42282 sed 's/^/| /' conftest.$ac_ext >&5
42283
42284 fi
42285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42286
42287 fi
42288
42289 #
42290 # FIVE ARGUMENTS
42291 # (e.g. Solaris)
42292 #
42293
42294 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42295
42296 cat >conftest.$ac_ext <<_ACEOF
42297 /* confdefs.h. */
42298 _ACEOF
42299 cat confdefs.h >>conftest.$ac_ext
42300 cat >>conftest.$ac_ext <<_ACEOF
42301 /* end confdefs.h. */
42302 #include <netdb.h>
42303 int
42304 main ()
42305 {
42306
42307 char *name = "www.gnu.org";
42308 struct hostent ret;
42309 char buf[1024];
42310 int buflen = 1024;
42311 int my_h_errno;
42312 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42313
42314 ;
42315 return 0;
42316 }
42317 _ACEOF
42318 rm -f conftest.$ac_objext
42319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42320 (eval $ac_compile) 2>conftest.er1
42321 ac_status=$?
42322 grep -v '^ *+' conftest.er1 >conftest.err
42323 rm -f conftest.er1
42324 cat conftest.err >&5
42325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42326 (exit $ac_status); } &&
42327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42329 (eval $ac_try) 2>&5
42330 ac_status=$?
42331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42332 (exit $ac_status); }; } &&
42333 { ac_try='test -s conftest.$ac_objext'
42334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42335 (eval $ac_try) 2>&5
42336 ac_status=$?
42337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42338 (exit $ac_status); }; }; then
42339 ac_cv_func_which_gethostbyname_r=five
42340 else
42341 echo "$as_me: failed program was:" >&5
42342 sed 's/^/| /' conftest.$ac_ext >&5
42343
42344 fi
42345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42346
42347 fi
42348
42349 #
42350 # THREE ARGUMENTS
42351 # (e.g. AIX, HP-UX, Tru64)
42352 #
42353
42354 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42355
42356 cat >conftest.$ac_ext <<_ACEOF
42357 /* confdefs.h. */
42358 _ACEOF
42359 cat confdefs.h >>conftest.$ac_ext
42360 cat >>conftest.$ac_ext <<_ACEOF
42361 /* end confdefs.h. */
42362 #include <netdb.h>
42363 int
42364 main ()
42365 {
42366
42367 char *name = "www.gnu.org";
42368 struct hostent ret;
42369 struct hostent_data data;
42370 (void)gethostbyname_r(name, &ret, &data) /* ; */
42371
42372 ;
42373 return 0;
42374 }
42375 _ACEOF
42376 rm -f conftest.$ac_objext
42377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42378 (eval $ac_compile) 2>conftest.er1
42379 ac_status=$?
42380 grep -v '^ *+' conftest.er1 >conftest.err
42381 rm -f conftest.er1
42382 cat conftest.err >&5
42383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42384 (exit $ac_status); } &&
42385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42387 (eval $ac_try) 2>&5
42388 ac_status=$?
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); }; } &&
42391 { ac_try='test -s conftest.$ac_objext'
42392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42393 (eval $ac_try) 2>&5
42394 ac_status=$?
42395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42396 (exit $ac_status); }; }; then
42397 ac_cv_func_which_gethostbyname_r=three
42398 else
42399 echo "$as_me: failed program was:" >&5
42400 sed 's/^/| /' conftest.$ac_ext >&5
42401
42402 fi
42403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42404
42405 fi
42406
42407 ################################################################
42408
42409
42410 fi
42411
42412 case "$ac_cv_func_which_gethostbyname_r" in
42413 three)
42414 echo "$as_me:$LINENO: result: three" >&5
42415 echo "${ECHO_T}three" >&6
42416 cat >>confdefs.h <<\_ACEOF
42417 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42418 _ACEOF
42419
42420 ;;
42421
42422 five)
42423 echo "$as_me:$LINENO: result: five" >&5
42424 echo "${ECHO_T}five" >&6
42425 cat >>confdefs.h <<\_ACEOF
42426 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42427 _ACEOF
42428
42429 ;;
42430
42431 six)
42432 echo "$as_me:$LINENO: result: six" >&5
42433 echo "${ECHO_T}six" >&6
42434 cat >>confdefs.h <<\_ACEOF
42435 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42436 _ACEOF
42437
42438 ;;
42439
42440 no)
42441 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42442 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
42443 ;;
42444
42445 unknown)
42446 echo "$as_me:$LINENO: result: can't tell" >&5
42447 echo "${ECHO_T}can't tell" >&6
42448 ;;
42449
42450 *)
42451 { { echo "$as_me:$LINENO: error: internal error" >&5
42452 echo "$as_me: error: internal error" >&2;}
42453 { (exit 1); exit 1; }; }
42454 ;;
42455 esac
42456
42457 ac_ext=c
42458 ac_cpp='$CPP $CPPFLAGS'
42459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42462
42463
42464
42465 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42466 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42467 echo "$as_me:$LINENO: checking for gethostbyname" >&5
42468 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
42469 if test "${ac_cv_func_gethostbyname+set}" = set; then
42470 echo $ECHO_N "(cached) $ECHO_C" >&6
42471 else
42472 cat >conftest.$ac_ext <<_ACEOF
42473 /* confdefs.h. */
42474 _ACEOF
42475 cat confdefs.h >>conftest.$ac_ext
42476 cat >>conftest.$ac_ext <<_ACEOF
42477 /* end confdefs.h. */
42478 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42480 #define gethostbyname innocuous_gethostbyname
42481
42482 /* System header to define __stub macros and hopefully few prototypes,
42483 which can conflict with char gethostbyname (); below.
42484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42485 <limits.h> exists even on freestanding compilers. */
42486
42487 #ifdef __STDC__
42488 # include <limits.h>
42489 #else
42490 # include <assert.h>
42491 #endif
42492
42493 #undef gethostbyname
42494
42495 /* Override any gcc2 internal prototype to avoid an error. */
42496 #ifdef __cplusplus
42497 extern "C"
42498 {
42499 #endif
42500 /* We use char because int might match the return type of a gcc2
42501 builtin and then its argument prototype would still apply. */
42502 char gethostbyname ();
42503 /* The GNU C library defines this for functions which it implements
42504 to always fail with ENOSYS. Some functions are actually named
42505 something starting with __ and the normal name is an alias. */
42506 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
42507 choke me
42508 #else
42509 char (*f) () = gethostbyname;
42510 #endif
42511 #ifdef __cplusplus
42512 }
42513 #endif
42514
42515 int
42516 main ()
42517 {
42518 return f != gethostbyname;
42519 ;
42520 return 0;
42521 }
42522 _ACEOF
42523 rm -f conftest.$ac_objext conftest$ac_exeext
42524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42525 (eval $ac_link) 2>conftest.er1
42526 ac_status=$?
42527 grep -v '^ *+' conftest.er1 >conftest.err
42528 rm -f conftest.er1
42529 cat conftest.err >&5
42530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531 (exit $ac_status); } &&
42532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42534 (eval $ac_try) 2>&5
42535 ac_status=$?
42536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42537 (exit $ac_status); }; } &&
42538 { ac_try='test -s conftest$ac_exeext'
42539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42540 (eval $ac_try) 2>&5
42541 ac_status=$?
42542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42543 (exit $ac_status); }; }; then
42544 ac_cv_func_gethostbyname=yes
42545 else
42546 echo "$as_me: failed program was:" >&5
42547 sed 's/^/| /' conftest.$ac_ext >&5
42548
42549 ac_cv_func_gethostbyname=no
42550 fi
42551 rm -f conftest.err conftest.$ac_objext \
42552 conftest$ac_exeext conftest.$ac_ext
42553 fi
42554 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42555 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
42556 if test $ac_cv_func_gethostbyname = yes; then
42557 cat >>confdefs.h <<\_ACEOF
42558 #define HAVE_GETHOSTBYNAME 1
42559 _ACEOF
42560
42561 fi
42562
42563 fi
42564
42565 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42566 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
42567 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42568 echo $ECHO_N "(cached) $ECHO_C" >&6
42569 else
42570
42571 ac_ext=cc
42572 ac_cpp='$CXXCPP $CPPFLAGS'
42573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42576
42577
42578 cat >conftest.$ac_ext <<_ACEOF
42579 /* confdefs.h. */
42580 _ACEOF
42581 cat confdefs.h >>conftest.$ac_ext
42582 cat >>conftest.$ac_ext <<_ACEOF
42583 /* end confdefs.h. */
42584 #include <netdb.h>
42585 int
42586 main ()
42587 {
42588
42589 char *name;
42590 char *proto;
42591 struct servent *se, *res;
42592 char buffer[2048];
42593 int buflen = 2048;
42594 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42595
42596 ;
42597 return 0;
42598 }
42599 _ACEOF
42600 rm -f conftest.$ac_objext
42601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42602 (eval $ac_compile) 2>conftest.er1
42603 ac_status=$?
42604 grep -v '^ *+' conftest.er1 >conftest.err
42605 rm -f conftest.er1
42606 cat conftest.err >&5
42607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42608 (exit $ac_status); } &&
42609 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42611 (eval $ac_try) 2>&5
42612 ac_status=$?
42613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42614 (exit $ac_status); }; } &&
42615 { ac_try='test -s conftest.$ac_objext'
42616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42617 (eval $ac_try) 2>&5
42618 ac_status=$?
42619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620 (exit $ac_status); }; }; then
42621 ac_cv_func_which_getservbyname_r=six
42622 else
42623 echo "$as_me: failed program was:" >&5
42624 sed 's/^/| /' conftest.$ac_ext >&5
42625
42626
42627 cat >conftest.$ac_ext <<_ACEOF
42628 /* confdefs.h. */
42629 _ACEOF
42630 cat confdefs.h >>conftest.$ac_ext
42631 cat >>conftest.$ac_ext <<_ACEOF
42632 /* end confdefs.h. */
42633 #include <netdb.h>
42634 int
42635 main ()
42636 {
42637
42638 char *name;
42639 char *proto;
42640 struct servent *se;
42641 char buffer[2048];
42642 int buflen = 2048;
42643 (void) getservbyname_r(name, proto, se, buffer, buflen)
42644
42645 ;
42646 return 0;
42647 }
42648 _ACEOF
42649 rm -f conftest.$ac_objext
42650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42651 (eval $ac_compile) 2>conftest.er1
42652 ac_status=$?
42653 grep -v '^ *+' conftest.er1 >conftest.err
42654 rm -f conftest.er1
42655 cat conftest.err >&5
42656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42657 (exit $ac_status); } &&
42658 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42660 (eval $ac_try) 2>&5
42661 ac_status=$?
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); }; } &&
42664 { ac_try='test -s conftest.$ac_objext'
42665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42666 (eval $ac_try) 2>&5
42667 ac_status=$?
42668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42669 (exit $ac_status); }; }; then
42670 ac_cv_func_which_getservbyname_r=five
42671 else
42672 echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.$ac_ext >&5
42674
42675
42676 cat >conftest.$ac_ext <<_ACEOF
42677 /* confdefs.h. */
42678 _ACEOF
42679 cat confdefs.h >>conftest.$ac_ext
42680 cat >>conftest.$ac_ext <<_ACEOF
42681 /* end confdefs.h. */
42682 #include <netdb.h>
42683 int
42684 main ()
42685 {
42686
42687 char *name;
42688 char *proto;
42689 struct servent *se;
42690 struct servent_data data;
42691 (void) getservbyname_r(name, proto, se, &data);
42692
42693 ;
42694 return 0;
42695 }
42696 _ACEOF
42697 rm -f conftest.$ac_objext
42698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42699 (eval $ac_compile) 2>conftest.er1
42700 ac_status=$?
42701 grep -v '^ *+' conftest.er1 >conftest.err
42702 rm -f conftest.er1
42703 cat conftest.err >&5
42704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42705 (exit $ac_status); } &&
42706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42708 (eval $ac_try) 2>&5
42709 ac_status=$?
42710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42711 (exit $ac_status); }; } &&
42712 { ac_try='test -s conftest.$ac_objext'
42713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42714 (eval $ac_try) 2>&5
42715 ac_status=$?
42716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42717 (exit $ac_status); }; }; then
42718 ac_cv_func_which_getservbyname_r=four
42719 else
42720 echo "$as_me: failed program was:" >&5
42721 sed 's/^/| /' conftest.$ac_ext >&5
42722
42723 ac_cv_func_which_getservbyname_r=no
42724
42725 fi
42726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42727
42728
42729 fi
42730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42731
42732
42733 fi
42734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42735 ac_ext=c
42736 ac_cpp='$CPP $CPPFLAGS'
42737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42740
42741
42742
42743 fi
42744 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42745 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
42746
42747 if test $ac_cv_func_which_getservbyname_r = six; then
42748 cat >>confdefs.h <<\_ACEOF
42749 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42750 _ACEOF
42751
42752 elif test $ac_cv_func_which_getservbyname_r = five; then
42753 cat >>confdefs.h <<\_ACEOF
42754 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42755 _ACEOF
42756
42757 elif test $ac_cv_func_which_getservbyname_r = four; then
42758 cat >>confdefs.h <<\_ACEOF
42759 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42760 _ACEOF
42761
42762 fi
42763
42764
42765 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42766 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42767
42768 for ac_func in getservbyname
42769 do
42770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42771 echo "$as_me:$LINENO: checking for $ac_func" >&5
42772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42773 if eval "test \"\${$as_ac_var+set}\" = set"; then
42774 echo $ECHO_N "(cached) $ECHO_C" >&6
42775 else
42776 cat >conftest.$ac_ext <<_ACEOF
42777 /* confdefs.h. */
42778 _ACEOF
42779 cat confdefs.h >>conftest.$ac_ext
42780 cat >>conftest.$ac_ext <<_ACEOF
42781 /* end confdefs.h. */
42782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42784 #define $ac_func innocuous_$ac_func
42785
42786 /* System header to define __stub macros and hopefully few prototypes,
42787 which can conflict with char $ac_func (); below.
42788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42789 <limits.h> exists even on freestanding compilers. */
42790
42791 #ifdef __STDC__
42792 # include <limits.h>
42793 #else
42794 # include <assert.h>
42795 #endif
42796
42797 #undef $ac_func
42798
42799 /* Override any gcc2 internal prototype to avoid an error. */
42800 #ifdef __cplusplus
42801 extern "C"
42802 {
42803 #endif
42804 /* We use char because int might match the return type of a gcc2
42805 builtin and then its argument prototype would still apply. */
42806 char $ac_func ();
42807 /* The GNU C library defines this for functions which it implements
42808 to always fail with ENOSYS. Some functions are actually named
42809 something starting with __ and the normal name is an alias. */
42810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42811 choke me
42812 #else
42813 char (*f) () = $ac_func;
42814 #endif
42815 #ifdef __cplusplus
42816 }
42817 #endif
42818
42819 int
42820 main ()
42821 {
42822 return f != $ac_func;
42823 ;
42824 return 0;
42825 }
42826 _ACEOF
42827 rm -f conftest.$ac_objext conftest$ac_exeext
42828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42829 (eval $ac_link) 2>conftest.er1
42830 ac_status=$?
42831 grep -v '^ *+' conftest.er1 >conftest.err
42832 rm -f conftest.er1
42833 cat conftest.err >&5
42834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42835 (exit $ac_status); } &&
42836 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42838 (eval $ac_try) 2>&5
42839 ac_status=$?
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); }; } &&
42842 { ac_try='test -s conftest$ac_exeext'
42843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42844 (eval $ac_try) 2>&5
42845 ac_status=$?
42846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42847 (exit $ac_status); }; }; then
42848 eval "$as_ac_var=yes"
42849 else
42850 echo "$as_me: failed program was:" >&5
42851 sed 's/^/| /' conftest.$ac_ext >&5
42852
42853 eval "$as_ac_var=no"
42854 fi
42855 rm -f conftest.err conftest.$ac_objext \
42856 conftest$ac_exeext conftest.$ac_ext
42857 fi
42858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42860 if test `eval echo '${'$as_ac_var'}'` = yes; then
42861 cat >>confdefs.h <<_ACEOF
42862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42863 _ACEOF
42864 cat >>confdefs.h <<\_ACEOF
42865 #define HAVE_GETSERVBYNAME 1
42866 _ACEOF
42867
42868 fi
42869 done
42870
42871 fi
42872
42873 if test "$wxUSE_THREADS" = "yes"; then
42874 cat >>confdefs.h <<\_ACEOF
42875 #define wxUSE_THREADS 1
42876 _ACEOF
42877
42878
42879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42880 else
42881 if test "$wx_cv_func_strtok_r" = "yes"; then
42882 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42883 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42884 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42885 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42886 echo "$as_me:$LINENO: result: yes" >&5
42887 echo "${ECHO_T}yes" >&6
42888 else
42889 echo "$as_me:$LINENO: result: no" >&5
42890 echo "${ECHO_T}no" >&6
42891 fi
42892 fi
42893 fi
42894
42895 if test "$WXGTK20" = 1 ; then
42896 cat >>confdefs.h <<_ACEOF
42897 #define __WXGTK20__ $WXGTK20
42898 _ACEOF
42899
42900 WXGTK12=1
42901 fi
42902
42903 if test "$WXGTK12" = 1 ; then
42904 cat >>confdefs.h <<_ACEOF
42905 #define __WXGTK12__ $WXGTK12
42906 _ACEOF
42907
42908 fi
42909
42910 if test "$WXGTK127" = 1 ; then
42911 cat >>confdefs.h <<_ACEOF
42912 #define __WXGTK127__ $WXGTK127
42913 _ACEOF
42914
42915 fi
42916
42917 if test "$WXGPE" = 1 ; then
42918 cat >>confdefs.h <<_ACEOF
42919 #define __WXGPE__ $WXGPE
42920 _ACEOF
42921
42922 fi
42923
42924 DEBUG_CFLAGS=
42925 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42926 DEBUG_CFLAGS="-g"
42927 wxUSE_OPTIMISE=no
42928 fi
42929
42930 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42931 wxUSE_DEBUG_INFO=yes
42932 if test "$GCC" = yes; then
42933 DEBUG_CFLAGS="-ggdb"
42934 fi
42935 fi
42936
42937 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42938 cat >>confdefs.h <<\_ACEOF
42939 #define WXDEBUG 1
42940 _ACEOF
42941
42942 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42943 else
42944 if test "$wxUSE_GTK" = 1 ; then
42945 if test "x$wxGTK_VERSION" = "x1" ; then
42946 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42947 fi
42948 fi
42949 fi
42950
42951 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42952 cat >>confdefs.h <<\_ACEOF
42953 #define wxUSE_MEMORY_TRACING 1
42954 _ACEOF
42955
42956 cat >>confdefs.h <<\_ACEOF
42957 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42958 _ACEOF
42959
42960 cat >>confdefs.h <<\_ACEOF
42961 #define wxUSE_DEBUG_NEW_ALWAYS 1
42962 _ACEOF
42963
42964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42965 fi
42966
42967 if test "$wxUSE_DMALLOC" = "yes" ; then
42968 DMALLOC_LIBS="-ldmallocthcxx"
42969 fi
42970
42971 PROFILE_FLAGS=
42972 if test "$wxUSE_PROFILE" = "yes" ; then
42973 PROFILE_FLAGS=" -pg"
42974 fi
42975
42976 if test "$GCC" = "yes" ; then
42977 if test "$wxUSE_NO_RTTI" = "yes" ; then
42978 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42979 fi
42980 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42981 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42982 fi
42983 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42984 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42985 fi
42986
42987 case "${host}" in
42988 powerpc*-*-aix* )
42989 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42990 ;;
42991 *-hppa* )
42992 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42993 ;;
42994 esac
42995 fi
42996
42997 OPTIMISE_CFLAGS=
42998 if test "$wxUSE_OPTIMISE" = "no" ; then
42999 if test "$GCC" = yes ; then
43000 OPTIMISE_CFLAGS="-O0"
43001 fi
43002 else
43003 if test "$GCC" = yes ; then
43004 case "${host}" in
43005 *-pc-os2_emx | *-pc-os2-emx )
43006 OPTIMISE_CFLAGS="-O2"
43007 ;;
43008 *)
43009 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43010 ;;
43011 esac
43012 else
43013 OPTIMISE_CFLAGS="-O"
43014 fi
43015 fi
43016
43017
43018 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43019 cat >>confdefs.h <<\_ACEOF
43020 #define WXWIN_COMPATIBILITY_2_6 1
43021 _ACEOF
43022
43023
43024 WXWIN_COMPATIBILITY_2_8="yes"
43025 fi
43026
43027 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43028 cat >>confdefs.h <<\_ACEOF
43029 #define WXWIN_COMPATIBILITY_2_8 1
43030 _ACEOF
43031
43032 fi
43033
43034
43035 if test "$wxUSE_GUI" = "yes"; then
43036 cat >>confdefs.h <<\_ACEOF
43037 #define wxUSE_GUI 1
43038 _ACEOF
43039
43040
43041 fi
43042
43043
43044 if test "$wxUSE_UNIX" = "yes"; then
43045 cat >>confdefs.h <<\_ACEOF
43046 #define wxUSE_UNIX 1
43047 _ACEOF
43048
43049 fi
43050
43051
43052 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43053
43054 HAVE_DL_FUNCS=0
43055 HAVE_SHL_FUNCS=0
43056 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43057 if test "$USE_DARWIN" = 1; then
43058 HAVE_DL_FUNCS=1
43059 elif test "$USE_DOS" = 1; then
43060 HAVE_DL_FUNCS=0
43061 else
43062
43063 for ac_func in dlopen
43064 do
43065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43066 echo "$as_me:$LINENO: checking for $ac_func" >&5
43067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43068 if eval "test \"\${$as_ac_var+set}\" = set"; then
43069 echo $ECHO_N "(cached) $ECHO_C" >&6
43070 else
43071 cat >conftest.$ac_ext <<_ACEOF
43072 /* confdefs.h. */
43073 _ACEOF
43074 cat confdefs.h >>conftest.$ac_ext
43075 cat >>conftest.$ac_ext <<_ACEOF
43076 /* end confdefs.h. */
43077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43079 #define $ac_func innocuous_$ac_func
43080
43081 /* System header to define __stub macros and hopefully few prototypes,
43082 which can conflict with char $ac_func (); below.
43083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43084 <limits.h> exists even on freestanding compilers. */
43085
43086 #ifdef __STDC__
43087 # include <limits.h>
43088 #else
43089 # include <assert.h>
43090 #endif
43091
43092 #undef $ac_func
43093
43094 /* Override any gcc2 internal prototype to avoid an error. */
43095 #ifdef __cplusplus
43096 extern "C"
43097 {
43098 #endif
43099 /* We use char because int might match the return type of a gcc2
43100 builtin and then its argument prototype would still apply. */
43101 char $ac_func ();
43102 /* The GNU C library defines this for functions which it implements
43103 to always fail with ENOSYS. Some functions are actually named
43104 something starting with __ and the normal name is an alias. */
43105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43106 choke me
43107 #else
43108 char (*f) () = $ac_func;
43109 #endif
43110 #ifdef __cplusplus
43111 }
43112 #endif
43113
43114 int
43115 main ()
43116 {
43117 return f != $ac_func;
43118 ;
43119 return 0;
43120 }
43121 _ACEOF
43122 rm -f conftest.$ac_objext conftest$ac_exeext
43123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43124 (eval $ac_link) 2>conftest.er1
43125 ac_status=$?
43126 grep -v '^ *+' conftest.er1 >conftest.err
43127 rm -f conftest.er1
43128 cat conftest.err >&5
43129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43130 (exit $ac_status); } &&
43131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43133 (eval $ac_try) 2>&5
43134 ac_status=$?
43135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43136 (exit $ac_status); }; } &&
43137 { ac_try='test -s conftest$ac_exeext'
43138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43139 (eval $ac_try) 2>&5
43140 ac_status=$?
43141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43142 (exit $ac_status); }; }; then
43143 eval "$as_ac_var=yes"
43144 else
43145 echo "$as_me: failed program was:" >&5
43146 sed 's/^/| /' conftest.$ac_ext >&5
43147
43148 eval "$as_ac_var=no"
43149 fi
43150 rm -f conftest.err conftest.$ac_objext \
43151 conftest$ac_exeext conftest.$ac_ext
43152 fi
43153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43155 if test `eval echo '${'$as_ac_var'}'` = yes; then
43156 cat >>confdefs.h <<_ACEOF
43157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43158 _ACEOF
43159
43160 cat >>confdefs.h <<\_ACEOF
43161 #define HAVE_DLOPEN 1
43162 _ACEOF
43163
43164 HAVE_DL_FUNCS=1
43165
43166 else
43167
43168 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43169 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
43170 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43171 echo $ECHO_N "(cached) $ECHO_C" >&6
43172 else
43173 ac_check_lib_save_LIBS=$LIBS
43174 LIBS="-ldl $LIBS"
43175 cat >conftest.$ac_ext <<_ACEOF
43176 /* confdefs.h. */
43177 _ACEOF
43178 cat confdefs.h >>conftest.$ac_ext
43179 cat >>conftest.$ac_ext <<_ACEOF
43180 /* end confdefs.h. */
43181
43182 /* Override any gcc2 internal prototype to avoid an error. */
43183 #ifdef __cplusplus
43184 extern "C"
43185 #endif
43186 /* We use char because int might match the return type of a gcc2
43187 builtin and then its argument prototype would still apply. */
43188 char dlopen ();
43189 int
43190 main ()
43191 {
43192 dlopen ();
43193 ;
43194 return 0;
43195 }
43196 _ACEOF
43197 rm -f conftest.$ac_objext conftest$ac_exeext
43198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43199 (eval $ac_link) 2>conftest.er1
43200 ac_status=$?
43201 grep -v '^ *+' conftest.er1 >conftest.err
43202 rm -f conftest.er1
43203 cat conftest.err >&5
43204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43205 (exit $ac_status); } &&
43206 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43208 (eval $ac_try) 2>&5
43209 ac_status=$?
43210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43211 (exit $ac_status); }; } &&
43212 { ac_try='test -s conftest$ac_exeext'
43213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43214 (eval $ac_try) 2>&5
43215 ac_status=$?
43216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43217 (exit $ac_status); }; }; then
43218 ac_cv_lib_dl_dlopen=yes
43219 else
43220 echo "$as_me: failed program was:" >&5
43221 sed 's/^/| /' conftest.$ac_ext >&5
43222
43223 ac_cv_lib_dl_dlopen=no
43224 fi
43225 rm -f conftest.err conftest.$ac_objext \
43226 conftest$ac_exeext conftest.$ac_ext
43227 LIBS=$ac_check_lib_save_LIBS
43228 fi
43229 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43230 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
43231 if test $ac_cv_lib_dl_dlopen = yes; then
43232
43233 cat >>confdefs.h <<\_ACEOF
43234 #define HAVE_DLOPEN 1
43235 _ACEOF
43236
43237 HAVE_DL_FUNCS=1
43238 DL_LINK=" -ldl$DL_LINK"
43239
43240 else
43241
43242
43243 for ac_func in shl_load
43244 do
43245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43246 echo "$as_me:$LINENO: checking for $ac_func" >&5
43247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43248 if eval "test \"\${$as_ac_var+set}\" = set"; then
43249 echo $ECHO_N "(cached) $ECHO_C" >&6
43250 else
43251 cat >conftest.$ac_ext <<_ACEOF
43252 /* confdefs.h. */
43253 _ACEOF
43254 cat confdefs.h >>conftest.$ac_ext
43255 cat >>conftest.$ac_ext <<_ACEOF
43256 /* end confdefs.h. */
43257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43259 #define $ac_func innocuous_$ac_func
43260
43261 /* System header to define __stub macros and hopefully few prototypes,
43262 which can conflict with char $ac_func (); below.
43263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43264 <limits.h> exists even on freestanding compilers. */
43265
43266 #ifdef __STDC__
43267 # include <limits.h>
43268 #else
43269 # include <assert.h>
43270 #endif
43271
43272 #undef $ac_func
43273
43274 /* Override any gcc2 internal prototype to avoid an error. */
43275 #ifdef __cplusplus
43276 extern "C"
43277 {
43278 #endif
43279 /* We use char because int might match the return type of a gcc2
43280 builtin and then its argument prototype would still apply. */
43281 char $ac_func ();
43282 /* The GNU C library defines this for functions which it implements
43283 to always fail with ENOSYS. Some functions are actually named
43284 something starting with __ and the normal name is an alias. */
43285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43286 choke me
43287 #else
43288 char (*f) () = $ac_func;
43289 #endif
43290 #ifdef __cplusplus
43291 }
43292 #endif
43293
43294 int
43295 main ()
43296 {
43297 return f != $ac_func;
43298 ;
43299 return 0;
43300 }
43301 _ACEOF
43302 rm -f conftest.$ac_objext conftest$ac_exeext
43303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43304 (eval $ac_link) 2>conftest.er1
43305 ac_status=$?
43306 grep -v '^ *+' conftest.er1 >conftest.err
43307 rm -f conftest.er1
43308 cat conftest.err >&5
43309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43310 (exit $ac_status); } &&
43311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43313 (eval $ac_try) 2>&5
43314 ac_status=$?
43315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43316 (exit $ac_status); }; } &&
43317 { ac_try='test -s conftest$ac_exeext'
43318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43319 (eval $ac_try) 2>&5
43320 ac_status=$?
43321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43322 (exit $ac_status); }; }; then
43323 eval "$as_ac_var=yes"
43324 else
43325 echo "$as_me: failed program was:" >&5
43326 sed 's/^/| /' conftest.$ac_ext >&5
43327
43328 eval "$as_ac_var=no"
43329 fi
43330 rm -f conftest.err conftest.$ac_objext \
43331 conftest$ac_exeext conftest.$ac_ext
43332 fi
43333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43335 if test `eval echo '${'$as_ac_var'}'` = yes; then
43336 cat >>confdefs.h <<_ACEOF
43337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43338 _ACEOF
43339
43340 cat >>confdefs.h <<\_ACEOF
43341 #define HAVE_SHL_LOAD 1
43342 _ACEOF
43343
43344 HAVE_SHL_FUNCS=1
43345
43346 else
43347
43348 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43349 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
43350 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43351 echo $ECHO_N "(cached) $ECHO_C" >&6
43352 else
43353 ac_check_lib_save_LIBS=$LIBS
43354 LIBS="-lshl_load $LIBS"
43355 cat >conftest.$ac_ext <<_ACEOF
43356 /* confdefs.h. */
43357 _ACEOF
43358 cat confdefs.h >>conftest.$ac_ext
43359 cat >>conftest.$ac_ext <<_ACEOF
43360 /* end confdefs.h. */
43361
43362 /* Override any gcc2 internal prototype to avoid an error. */
43363 #ifdef __cplusplus
43364 extern "C"
43365 #endif
43366 /* We use char because int might match the return type of a gcc2
43367 builtin and then its argument prototype would still apply. */
43368 char dld ();
43369 int
43370 main ()
43371 {
43372 dld ();
43373 ;
43374 return 0;
43375 }
43376 _ACEOF
43377 rm -f conftest.$ac_objext conftest$ac_exeext
43378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43379 (eval $ac_link) 2>conftest.er1
43380 ac_status=$?
43381 grep -v '^ *+' conftest.er1 >conftest.err
43382 rm -f conftest.er1
43383 cat conftest.err >&5
43384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43385 (exit $ac_status); } &&
43386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43388 (eval $ac_try) 2>&5
43389 ac_status=$?
43390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43391 (exit $ac_status); }; } &&
43392 { ac_try='test -s conftest$ac_exeext'
43393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43394 (eval $ac_try) 2>&5
43395 ac_status=$?
43396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397 (exit $ac_status); }; }; then
43398 ac_cv_lib_shl_load_dld=yes
43399 else
43400 echo "$as_me: failed program was:" >&5
43401 sed 's/^/| /' conftest.$ac_ext >&5
43402
43403 ac_cv_lib_shl_load_dld=no
43404 fi
43405 rm -f conftest.err conftest.$ac_objext \
43406 conftest$ac_exeext conftest.$ac_ext
43407 LIBS=$ac_check_lib_save_LIBS
43408 fi
43409 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43410 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
43411 if test $ac_cv_lib_shl_load_dld = yes; then
43412
43413 HAVE_SHL_FUNCS=1
43414 DL_LINK=" -ldld$DL_LINK"
43415
43416 fi
43417
43418
43419 fi
43420 done
43421
43422
43423 fi
43424
43425
43426 fi
43427 done
43428
43429
43430 if test "$HAVE_DL_FUNCS" = 1; then
43431
43432 for ac_func in dlerror
43433 do
43434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43435 echo "$as_me:$LINENO: checking for $ac_func" >&5
43436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43437 if eval "test \"\${$as_ac_var+set}\" = set"; then
43438 echo $ECHO_N "(cached) $ECHO_C" >&6
43439 else
43440 cat >conftest.$ac_ext <<_ACEOF
43441 /* confdefs.h. */
43442 _ACEOF
43443 cat confdefs.h >>conftest.$ac_ext
43444 cat >>conftest.$ac_ext <<_ACEOF
43445 /* end confdefs.h. */
43446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43448 #define $ac_func innocuous_$ac_func
43449
43450 /* System header to define __stub macros and hopefully few prototypes,
43451 which can conflict with char $ac_func (); below.
43452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43453 <limits.h> exists even on freestanding compilers. */
43454
43455 #ifdef __STDC__
43456 # include <limits.h>
43457 #else
43458 # include <assert.h>
43459 #endif
43460
43461 #undef $ac_func
43462
43463 /* Override any gcc2 internal prototype to avoid an error. */
43464 #ifdef __cplusplus
43465 extern "C"
43466 {
43467 #endif
43468 /* We use char because int might match the return type of a gcc2
43469 builtin and then its argument prototype would still apply. */
43470 char $ac_func ();
43471 /* The GNU C library defines this for functions which it implements
43472 to always fail with ENOSYS. Some functions are actually named
43473 something starting with __ and the normal name is an alias. */
43474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43475 choke me
43476 #else
43477 char (*f) () = $ac_func;
43478 #endif
43479 #ifdef __cplusplus
43480 }
43481 #endif
43482
43483 int
43484 main ()
43485 {
43486 return f != $ac_func;
43487 ;
43488 return 0;
43489 }
43490 _ACEOF
43491 rm -f conftest.$ac_objext conftest$ac_exeext
43492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43493 (eval $ac_link) 2>conftest.er1
43494 ac_status=$?
43495 grep -v '^ *+' conftest.er1 >conftest.err
43496 rm -f conftest.er1
43497 cat conftest.err >&5
43498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43499 (exit $ac_status); } &&
43500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43502 (eval $ac_try) 2>&5
43503 ac_status=$?
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); }; } &&
43506 { ac_try='test -s conftest$ac_exeext'
43507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43508 (eval $ac_try) 2>&5
43509 ac_status=$?
43510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511 (exit $ac_status); }; }; then
43512 eval "$as_ac_var=yes"
43513 else
43514 echo "$as_me: failed program was:" >&5
43515 sed 's/^/| /' conftest.$ac_ext >&5
43516
43517 eval "$as_ac_var=no"
43518 fi
43519 rm -f conftest.err conftest.$ac_objext \
43520 conftest$ac_exeext conftest.$ac_ext
43521 fi
43522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43524 if test `eval echo '${'$as_ac_var'}'` = yes; then
43525 cat >>confdefs.h <<_ACEOF
43526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43527 _ACEOF
43528 cat >>confdefs.h <<\_ACEOF
43529 #define HAVE_DLERROR 1
43530 _ACEOF
43531
43532 else
43533
43534 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43535 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
43536 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43537 echo $ECHO_N "(cached) $ECHO_C" >&6
43538 else
43539 ac_check_lib_save_LIBS=$LIBS
43540 LIBS="-ldl $LIBS"
43541 cat >conftest.$ac_ext <<_ACEOF
43542 /* confdefs.h. */
43543 _ACEOF
43544 cat confdefs.h >>conftest.$ac_ext
43545 cat >>conftest.$ac_ext <<_ACEOF
43546 /* end confdefs.h. */
43547
43548 /* Override any gcc2 internal prototype to avoid an error. */
43549 #ifdef __cplusplus
43550 extern "C"
43551 #endif
43552 /* We use char because int might match the return type of a gcc2
43553 builtin and then its argument prototype would still apply. */
43554 char dlerror ();
43555 int
43556 main ()
43557 {
43558 dlerror ();
43559 ;
43560 return 0;
43561 }
43562 _ACEOF
43563 rm -f conftest.$ac_objext conftest$ac_exeext
43564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43565 (eval $ac_link) 2>conftest.er1
43566 ac_status=$?
43567 grep -v '^ *+' conftest.er1 >conftest.err
43568 rm -f conftest.er1
43569 cat conftest.err >&5
43570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43571 (exit $ac_status); } &&
43572 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43574 (eval $ac_try) 2>&5
43575 ac_status=$?
43576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43577 (exit $ac_status); }; } &&
43578 { ac_try='test -s conftest$ac_exeext'
43579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43580 (eval $ac_try) 2>&5
43581 ac_status=$?
43582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43583 (exit $ac_status); }; }; then
43584 ac_cv_lib_dl_dlerror=yes
43585 else
43586 echo "$as_me: failed program was:" >&5
43587 sed 's/^/| /' conftest.$ac_ext >&5
43588
43589 ac_cv_lib_dl_dlerror=no
43590 fi
43591 rm -f conftest.err conftest.$ac_objext \
43592 conftest$ac_exeext conftest.$ac_ext
43593 LIBS=$ac_check_lib_save_LIBS
43594 fi
43595 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43596 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
43597 if test $ac_cv_lib_dl_dlerror = yes; then
43598 cat >>confdefs.h <<\_ACEOF
43599 #define HAVE_DLERROR 1
43600 _ACEOF
43601
43602 fi
43603
43604
43605
43606 fi
43607 done
43608
43609 fi
43610 fi
43611
43612 if test "$HAVE_DL_FUNCS" = 0; then
43613 if test "$HAVE_SHL_FUNCS" = 0; then
43614 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43615 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43616 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43617 wxUSE_DYNAMIC_LOADER=no
43618 wxUSE_DYNLIB_CLASS=no
43619 else
43620 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43621 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43622 fi
43623 fi
43624 fi
43625 fi
43626 fi
43627
43628 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43629 cat >>confdefs.h <<\_ACEOF
43630 #define wxUSE_DYNAMIC_LOADER 1
43631 _ACEOF
43632
43633 fi
43634 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43635 cat >>confdefs.h <<\_ACEOF
43636 #define wxUSE_DYNLIB_CLASS 1
43637 _ACEOF
43638
43639 fi
43640
43641
43642
43643 if test "$wxUSE_PLUGINS" = "yes" ; then
43644 if test "$wxUSE_SHARED" = "no" ; then
43645 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43646 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43647 wxUSE_PLUGINS=no
43648 fi
43649 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43650 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43651 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43652 wxUSE_PLUGINS=no
43653 fi
43654 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43655 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43656 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43657 wxUSE_PLUGINS=no
43658 fi
43659 if test "$wxUSE_PLUGINS" = "yes" ; then
43660 cat >>confdefs.h <<\_ACEOF
43661 #define wxUSE_PLUGINS 1
43662 _ACEOF
43663
43664 fi
43665 fi
43666
43667
43668 if test "$wxUSE_STL" = "yes"; then
43669 cat >>confdefs.h <<\_ACEOF
43670 #define wxUSE_STL 1
43671 _ACEOF
43672
43673 fi
43674
43675 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43676 cat >>confdefs.h <<\_ACEOF
43677 #define wxUSE_EXTENDED_RTTI 1
43678 _ACEOF
43679
43680 fi
43681
43682 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43683 cat >>confdefs.h <<\_ACEOF
43684 #define wxUSE_APPLE_IEEE 1
43685 _ACEOF
43686
43687 fi
43688
43689 if test "$wxUSE_TIMER" = "yes"; then
43690 cat >>confdefs.h <<\_ACEOF
43691 #define wxUSE_TIMER 1
43692 _ACEOF
43693
43694 fi
43695
43696 if test "$USE_UNIX" = "1" ; then
43697 if test "$wxUSE_MGL" != 1; then
43698 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43699 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
43700 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43701 echo $ECHO_N "(cached) $ECHO_C" >&6
43702 else
43703
43704 cat >conftest.$ac_ext <<_ACEOF
43705 /* confdefs.h. */
43706 _ACEOF
43707 cat confdefs.h >>conftest.$ac_ext
43708 cat >>conftest.$ac_ext <<_ACEOF
43709 /* end confdefs.h. */
43710
43711 #include <sys/ioctl.h>
43712 #include <sys/soundcard.h>
43713
43714 int
43715 main ()
43716 {
43717
43718 ioctl(0, SNDCTL_DSP_SPEED, 0);
43719
43720 ;
43721 return 0;
43722 }
43723 _ACEOF
43724 rm -f conftest.$ac_objext conftest$ac_exeext
43725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43726 (eval $ac_link) 2>conftest.er1
43727 ac_status=$?
43728 grep -v '^ *+' conftest.er1 >conftest.err
43729 rm -f conftest.er1
43730 cat conftest.err >&5
43731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43732 (exit $ac_status); } &&
43733 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43735 (eval $ac_try) 2>&5
43736 ac_status=$?
43737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); }; } &&
43739 { ac_try='test -s conftest$ac_exeext'
43740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43741 (eval $ac_try) 2>&5
43742 ac_status=$?
43743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43744 (exit $ac_status); }; }; then
43745 ac_cv_header_sys_soundcard=yes
43746 else
43747 echo "$as_me: failed program was:" >&5
43748 sed 's/^/| /' conftest.$ac_ext >&5
43749
43750
43751 saveLibs="$LIBS"
43752 LIBS="$saveLibs -lossaudio"
43753 cat >conftest.$ac_ext <<_ACEOF
43754 /* confdefs.h. */
43755 _ACEOF
43756 cat confdefs.h >>conftest.$ac_ext
43757 cat >>conftest.$ac_ext <<_ACEOF
43758 /* end confdefs.h. */
43759
43760 #include <sys/ioctl.h>
43761 #include <sys/soundcard.h>
43762
43763 int
43764 main ()
43765 {
43766
43767 ioctl(0, SNDCTL_DSP_SPEED, 0);
43768
43769 ;
43770 return 0;
43771 }
43772 _ACEOF
43773 rm -f conftest.$ac_objext conftest$ac_exeext
43774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43775 (eval $ac_link) 2>conftest.er1
43776 ac_status=$?
43777 grep -v '^ *+' conftest.er1 >conftest.err
43778 rm -f conftest.er1
43779 cat conftest.err >&5
43780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43781 (exit $ac_status); } &&
43782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43784 (eval $ac_try) 2>&5
43785 ac_status=$?
43786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43787 (exit $ac_status); }; } &&
43788 { ac_try='test -s conftest$ac_exeext'
43789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43790 (eval $ac_try) 2>&5
43791 ac_status=$?
43792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43793 (exit $ac_status); }; }; then
43794 ac_cv_header_sys_soundcard=yes
43795 else
43796 echo "$as_me: failed program was:" >&5
43797 sed 's/^/| /' conftest.$ac_ext >&5
43798
43799
43800 LIBS="$saveLibs"
43801 ac_cv_header_sys_soundcard=no
43802
43803
43804 fi
43805 rm -f conftest.err conftest.$ac_objext \
43806 conftest$ac_exeext conftest.$ac_ext
43807
43808
43809 fi
43810 rm -f conftest.err conftest.$ac_objext \
43811 conftest$ac_exeext conftest.$ac_ext
43812
43813 fi
43814 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43815 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
43816 fi
43817
43818 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43819 cat >>confdefs.h <<\_ACEOF
43820 #define HAVE_SYS_SOUNDCARD_H 1
43821 _ACEOF
43822
43823 fi
43824 fi
43825
43826 WITH_PLUGIN_SDL=0
43827 if test "$wxUSE_SOUND" = "yes"; then
43828 if test "$USE_UNIX" = "1" ; then
43829 if test "$wxUSE_LIBSDL" != "no"; then
43830
43831 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
43832 if test "${with_sdl_prefix+set}" = set; then
43833 withval="$with_sdl_prefix"
43834 sdl_prefix="$withval"
43835 else
43836 sdl_prefix=""
43837 fi;
43838
43839 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
43840 if test "${with_sdl_exec_prefix+set}" = set; then
43841 withval="$with_sdl_exec_prefix"
43842 sdl_exec_prefix="$withval"
43843 else
43844 sdl_exec_prefix=""
43845 fi;
43846 # Check whether --enable-sdltest or --disable-sdltest was given.
43847 if test "${enable_sdltest+set}" = set; then
43848 enableval="$enable_sdltest"
43849
43850 else
43851 enable_sdltest=yes
43852 fi;
43853
43854 if test x$sdl_exec_prefix != x ; then
43855 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43856 if test x${SDL_CONFIG+set} != xset ; then
43857 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43858 fi
43859 fi
43860 if test x$sdl_prefix != x ; then
43861 sdl_args="$sdl_args --prefix=$sdl_prefix"
43862 if test x${SDL_CONFIG+set} != xset ; then
43863 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43864 fi
43865 fi
43866
43867 if test "x$prefix" != xNONE; then
43868 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43869 fi
43870 # Extract the first word of "sdl-config", so it can be a program name with args.
43871 set dummy sdl-config; ac_word=$2
43872 echo "$as_me:$LINENO: checking for $ac_word" >&5
43873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43874 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43875 echo $ECHO_N "(cached) $ECHO_C" >&6
43876 else
43877 case $SDL_CONFIG in
43878 [\\/]* | ?:[\\/]*)
43879 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43880 ;;
43881 *)
43882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43883 for as_dir in $PATH
43884 do
43885 IFS=$as_save_IFS
43886 test -z "$as_dir" && as_dir=.
43887 for ac_exec_ext in '' $ac_executable_extensions; do
43888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43889 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43891 break 2
43892 fi
43893 done
43894 done
43895
43896 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43897 ;;
43898 esac
43899 fi
43900 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43901
43902 if test -n "$SDL_CONFIG"; then
43903 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43904 echo "${ECHO_T}$SDL_CONFIG" >&6
43905 else
43906 echo "$as_me:$LINENO: result: no" >&5
43907 echo "${ECHO_T}no" >&6
43908 fi
43909
43910 min_sdl_version=1.2.0
43911 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43912 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43913 no_sdl=""
43914 if test "$SDL_CONFIG" = "no" ; then
43915 no_sdl=yes
43916 else
43917 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43918 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43919
43920 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43921 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43922 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43924 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43926 if test "x$enable_sdltest" = "xyes" ; then
43927 ac_save_CFLAGS="$CFLAGS"
43928 ac_save_CXXFLAGS="$CXXFLAGS"
43929 ac_save_LIBS="$LIBS"
43930 CFLAGS="$CFLAGS $SDL_CFLAGS"
43931 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43932 LIBS="$LIBS $SDL_LIBS"
43933 rm -f conf.sdltest
43934 if test "$cross_compiling" = yes; then
43935 echo $ac_n "cross compiling; assumed OK... $ac_c"
43936 else
43937 cat >conftest.$ac_ext <<_ACEOF
43938 /* confdefs.h. */
43939 _ACEOF
43940 cat confdefs.h >>conftest.$ac_ext
43941 cat >>conftest.$ac_ext <<_ACEOF
43942 /* end confdefs.h. */
43943
43944 #include <stdio.h>
43945 #include <stdlib.h>
43946 #include <string.h>
43947 #include "SDL.h"
43948
43949 char*
43950 my_strdup (char *str)
43951 {
43952 char *new_str;
43953
43954 if (str)
43955 {
43956 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43957 strcpy (new_str, str);
43958 }
43959 else
43960 new_str = NULL;
43961
43962 return new_str;
43963 }
43964
43965 int main (int argc, char *argv[])
43966 {
43967 int major, minor, micro;
43968 char *tmp_version;
43969
43970 /* This hangs on some systems (?)
43971 system ("touch conf.sdltest");
43972 */
43973 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43974
43975 /* HP/UX 9 (%@#!) writes to sscanf strings */
43976 tmp_version = my_strdup("$min_sdl_version");
43977 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43978 printf("%s, bad version string\n", "$min_sdl_version");
43979 exit(1);
43980 }
43981
43982 if (($sdl_major_version > major) ||
43983 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43984 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43985 {
43986 return 0;
43987 }
43988 else
43989 {
43990 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43991 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43992 printf("*** best to upgrade to the required version.\n");
43993 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43994 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43995 printf("*** config.cache before re-running configure\n");
43996 return 1;
43997 }
43998 }
43999
44000
44001 _ACEOF
44002 rm -f conftest$ac_exeext
44003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44004 (eval $ac_link) 2>&5
44005 ac_status=$?
44006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44009 (eval $ac_try) 2>&5
44010 ac_status=$?
44011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44012 (exit $ac_status); }; }; then
44013 :
44014 else
44015 echo "$as_me: program exited with status $ac_status" >&5
44016 echo "$as_me: failed program was:" >&5
44017 sed 's/^/| /' conftest.$ac_ext >&5
44018
44019 ( exit $ac_status )
44020 no_sdl=yes
44021 fi
44022 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44023 fi
44024 CFLAGS="$ac_save_CFLAGS"
44025 CXXFLAGS="$ac_save_CXXFLAGS"
44026 LIBS="$ac_save_LIBS"
44027 fi
44028 fi
44029 if test "x$no_sdl" = x ; then
44030 echo "$as_me:$LINENO: result: yes" >&5
44031 echo "${ECHO_T}yes" >&6
44032
44033 EXTRALIBS_SDL="$SDL_LIBS"
44034 CFLAGS="$SDL_CFLAGS $CFLAGS"
44035 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44036 cat >>confdefs.h <<\_ACEOF
44037 #define wxUSE_LIBSDL 1
44038 _ACEOF
44039
44040
44041 else
44042 echo "$as_me:$LINENO: result: no" >&5
44043 echo "${ECHO_T}no" >&6
44044 if test "$SDL_CONFIG" = "no" ; then
44045 echo "*** The sdl-config script installed by SDL could not be found"
44046 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44047 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44048 echo "*** full path to sdl-config."
44049 else
44050 if test -f conf.sdltest ; then
44051 :
44052 else
44053 echo "*** Could not run SDL test program, checking why..."
44054 CFLAGS="$CFLAGS $SDL_CFLAGS"
44055 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44056 LIBS="$LIBS $SDL_LIBS"
44057 cat >conftest.$ac_ext <<_ACEOF
44058 /* confdefs.h. */
44059 _ACEOF
44060 cat confdefs.h >>conftest.$ac_ext
44061 cat >>conftest.$ac_ext <<_ACEOF
44062 /* end confdefs.h. */
44063
44064 #include <stdio.h>
44065 #include "SDL.h"
44066
44067 int main(int argc, char *argv[])
44068 { return 0; }
44069 #undef main
44070 #define main K_and_R_C_main
44071
44072 int
44073 main ()
44074 {
44075 return 0;
44076 ;
44077 return 0;
44078 }
44079 _ACEOF
44080 rm -f conftest.$ac_objext conftest$ac_exeext
44081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44082 (eval $ac_link) 2>conftest.er1
44083 ac_status=$?
44084 grep -v '^ *+' conftest.er1 >conftest.err
44085 rm -f conftest.er1
44086 cat conftest.err >&5
44087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44088 (exit $ac_status); } &&
44089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44091 (eval $ac_try) 2>&5
44092 ac_status=$?
44093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094 (exit $ac_status); }; } &&
44095 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
44101 echo "*** The test program compiled, but did not run. This usually means"
44102 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44103 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44104 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44105 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44106 echo "*** is required on your system"
44107 echo "***"
44108 echo "*** If you have an old version installed, it is best to remove it, although"
44109 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44110 else
44111 echo "$as_me: failed program was:" >&5
44112 sed 's/^/| /' conftest.$ac_ext >&5
44113
44114 echo "*** The test program failed to compile or link. See the file config.log for the"
44115 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44116 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44117 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44118 fi
44119 rm -f conftest.err conftest.$ac_objext \
44120 conftest$ac_exeext conftest.$ac_ext
44121 CFLAGS="$ac_save_CFLAGS"
44122 CXXFLAGS="$ac_save_CXXFLAGS"
44123 LIBS="$ac_save_LIBS"
44124 fi
44125 fi
44126 SDL_CFLAGS=""
44127 SDL_LIBS=""
44128 wxUSE_LIBSDL="no"
44129 fi
44130
44131
44132 rm -f conf.sdltest
44133
44134 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44135 WITH_PLUGIN_SDL=1
44136 fi
44137 fi
44138 else
44139 if test "$wxUSE_MGL" = 1; then
44140 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44141 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44142 wxUSE_SOUND="no"
44143 fi
44144 fi
44145 fi
44146
44147 if test "$wxUSE_SOUND" = "yes"; then
44148 cat >>confdefs.h <<\_ACEOF
44149 #define wxUSE_SOUND 1
44150 _ACEOF
44151
44152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44153 fi
44154
44155 if test "$WXGTK20" = 1; then
44156
44157
44158 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44159 if test -n "$ac_tool_prefix"; then
44160 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44161 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44162 echo "$as_me:$LINENO: checking for $ac_word" >&5
44163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44164 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44165 echo $ECHO_N "(cached) $ECHO_C" >&6
44166 else
44167 case $PKG_CONFIG in
44168 [\\/]* | ?:[\\/]*)
44169 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44170 ;;
44171 *)
44172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44173 for as_dir in $PATH
44174 do
44175 IFS=$as_save_IFS
44176 test -z "$as_dir" && as_dir=.
44177 for ac_exec_ext in '' $ac_executable_extensions; do
44178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44179 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44181 break 2
44182 fi
44183 done
44184 done
44185
44186 ;;
44187 esac
44188 fi
44189 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44190
44191 if test -n "$PKG_CONFIG"; then
44192 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44193 echo "${ECHO_T}$PKG_CONFIG" >&6
44194 else
44195 echo "$as_me:$LINENO: result: no" >&5
44196 echo "${ECHO_T}no" >&6
44197 fi
44198
44199 fi
44200 if test -z "$ac_cv_path_PKG_CONFIG"; then
44201 ac_pt_PKG_CONFIG=$PKG_CONFIG
44202 # Extract the first word of "pkg-config", so it can be a program name with args.
44203 set dummy pkg-config; ac_word=$2
44204 echo "$as_me:$LINENO: checking for $ac_word" >&5
44205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44206 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44207 echo $ECHO_N "(cached) $ECHO_C" >&6
44208 else
44209 case $ac_pt_PKG_CONFIG in
44210 [\\/]* | ?:[\\/]*)
44211 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44212 ;;
44213 *)
44214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44215 for as_dir in $PATH
44216 do
44217 IFS=$as_save_IFS
44218 test -z "$as_dir" && as_dir=.
44219 for ac_exec_ext in '' $ac_executable_extensions; do
44220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44221 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44223 break 2
44224 fi
44225 done
44226 done
44227
44228 ;;
44229 esac
44230 fi
44231 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44232
44233 if test -n "$ac_pt_PKG_CONFIG"; then
44234 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44235 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
44236 else
44237 echo "$as_me:$LINENO: result: no" >&5
44238 echo "${ECHO_T}no" >&6
44239 fi
44240
44241 PKG_CONFIG=$ac_pt_PKG_CONFIG
44242 else
44243 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44244 fi
44245
44246 fi
44247 if test -n "$PKG_CONFIG"; then
44248 _pkg_min_version=0.9.0
44249 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44250 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
44251 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44252 echo "$as_me:$LINENO: result: yes" >&5
44253 echo "${ECHO_T}yes" >&6
44254 else
44255 echo "$as_me:$LINENO: result: no" >&5
44256 echo "${ECHO_T}no" >&6
44257 PKG_CONFIG=""
44258 fi
44259
44260 fi
44261
44262 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44263 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44264
44265
44266 pkg_failed=no
44267 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44268 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
44269
44270 if test -n "$PKG_CONFIG"; then
44271 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44272 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44273 else
44274 if test -n "$PKG_CONFIG" && \
44275 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44276 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44277 ac_status=$?
44278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44279 (exit $ac_status); }; then
44280 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44281 else
44282 pkg_failed=yes
44283 fi
44284 fi
44285 else
44286 pkg_failed=untried
44287 fi
44288 if test -n "$PKG_CONFIG"; then
44289 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44290 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44291 else
44292 if test -n "$PKG_CONFIG" && \
44293 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44294 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44295 ac_status=$?
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); }; then
44298 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44299 else
44300 pkg_failed=yes
44301 fi
44302 fi
44303 else
44304 pkg_failed=untried
44305 fi
44306
44307
44308
44309 if test $pkg_failed = yes; then
44310
44311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44312 _pkg_short_errors_supported=yes
44313 else
44314 _pkg_short_errors_supported=no
44315 fi
44316 if test $_pkg_short_errors_supported = yes; then
44317 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44318 else
44319 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44320 fi
44321 # Put the nasty error message in config.log where it belongs
44322 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44323
44324
44325 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44326 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44327 wxUSE_LIBGNOMEPRINT="no"
44328
44329
44330 elif test $pkg_failed = untried; then
44331
44332 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44333 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44334 wxUSE_LIBGNOMEPRINT="no"
44335
44336
44337 else
44338 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44339 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44340 echo "$as_me:$LINENO: result: yes" >&5
44341 echo "${ECHO_T}yes" >&6
44342
44343 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44344 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44345 cat >>confdefs.h <<\_ACEOF
44346 #define wxUSE_LIBGNOMEPRINT 1
44347 _ACEOF
44348
44349
44350 fi
44351 fi
44352 fi
44353
44354 if test "$wxUSE_MIMETYPE" = "yes" ; then
44355 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44356
44357
44358 pkg_failed=no
44359 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44360 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
44361
44362 if test -n "$PKG_CONFIG"; then
44363 if test -n "$GNOMEVFS_CFLAGS"; then
44364 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44365 else
44366 if test -n "$PKG_CONFIG" && \
44367 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44368 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44369 ac_status=$?
44370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44371 (exit $ac_status); }; then
44372 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44373 else
44374 pkg_failed=yes
44375 fi
44376 fi
44377 else
44378 pkg_failed=untried
44379 fi
44380 if test -n "$PKG_CONFIG"; then
44381 if test -n "$GNOMEVFS_LIBS"; then
44382 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44383 else
44384 if test -n "$PKG_CONFIG" && \
44385 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44386 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44387 ac_status=$?
44388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44389 (exit $ac_status); }; then
44390 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44391 else
44392 pkg_failed=yes
44393 fi
44394 fi
44395 else
44396 pkg_failed=untried
44397 fi
44398
44399
44400
44401 if test $pkg_failed = yes; then
44402
44403 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44404 _pkg_short_errors_supported=yes
44405 else
44406 _pkg_short_errors_supported=no
44407 fi
44408 if test $_pkg_short_errors_supported = yes; then
44409 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44410 else
44411 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44412 fi
44413 # Put the nasty error message in config.log where it belongs
44414 echo "$GNOMEVFS_PKG_ERRORS" >&5
44415
44416
44417 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44418 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44419 wxUSE_LIBGNOMEVFS="no"
44420
44421
44422 elif test $pkg_failed = untried; then
44423
44424 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44425 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44426 wxUSE_LIBGNOMEVFS="no"
44427
44428
44429 else
44430 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44431 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44432 echo "$as_me:$LINENO: result: yes" >&5
44433 echo "${ECHO_T}yes" >&6
44434
44435 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44436 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_LIBGNOMEVFS 1
44439 _ACEOF
44440
44441
44442 fi
44443 fi
44444 fi
44445
44446 if test "$wxUSE_LIBHILDON" = "yes" ; then
44447
44448 pkg_failed=no
44449 echo "$as_me:$LINENO: checking for HILDON" >&5
44450 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
44451
44452 if test -n "$PKG_CONFIG"; then
44453 if test -n "$HILDON_CFLAGS"; then
44454 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44455 else
44456 if test -n "$PKG_CONFIG" && \
44457 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44458 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44459 ac_status=$?
44460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44461 (exit $ac_status); }; then
44462 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44463 else
44464 pkg_failed=yes
44465 fi
44466 fi
44467 else
44468 pkg_failed=untried
44469 fi
44470 if test -n "$PKG_CONFIG"; then
44471 if test -n "$HILDON_LIBS"; then
44472 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44473 else
44474 if test -n "$PKG_CONFIG" && \
44475 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44476 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44477 ac_status=$?
44478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44479 (exit $ac_status); }; then
44480 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44481 else
44482 pkg_failed=yes
44483 fi
44484 fi
44485 else
44486 pkg_failed=untried
44487 fi
44488
44489
44490
44491 if test $pkg_failed = yes; then
44492
44493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44494 _pkg_short_errors_supported=yes
44495 else
44496 _pkg_short_errors_supported=no
44497 fi
44498 if test $_pkg_short_errors_supported = yes; then
44499 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44500 else
44501 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44502 fi
44503 # Put the nasty error message in config.log where it belongs
44504 echo "$HILDON_PKG_ERRORS" >&5
44505
44506
44507 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44508 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44509 wxUSE_LIBHILDON="no"
44510
44511
44512 elif test $pkg_failed = untried; then
44513
44514 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44515 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44516 wxUSE_LIBHILDON="no"
44517
44518
44519 else
44520 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44521 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44522 echo "$as_me:$LINENO: result: yes" >&5
44523 echo "${ECHO_T}yes" >&6
44524
44525 EXTRALIBS_HILDON="$HILDON_LIBS"
44526 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44527 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44528 cat >>confdefs.h <<\_ACEOF
44529 #define wxUSE_LIBHILDON 1
44530 _ACEOF
44531
44532
44533 fi
44534 fi
44535 fi
44536
44537 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44538 cat >>confdefs.h <<\_ACEOF
44539 #define wxUSE_CMDLINE_PARSER 1
44540 _ACEOF
44541
44542 fi
44543
44544 if test "$wxUSE_STOPWATCH" = "yes"; then
44545 cat >>confdefs.h <<\_ACEOF
44546 #define wxUSE_STOPWATCH 1
44547 _ACEOF
44548
44549 fi
44550
44551 if test "$wxUSE_DATETIME" = "yes"; then
44552 cat >>confdefs.h <<\_ACEOF
44553 #define wxUSE_DATETIME 1
44554 _ACEOF
44555
44556 fi
44557
44558 if test "$wxUSE_FILE" = "yes"; then
44559 cat >>confdefs.h <<\_ACEOF
44560 #define wxUSE_FILE 1
44561 _ACEOF
44562
44563 fi
44564
44565 if test "$wxUSE_FFILE" = "yes"; then
44566 cat >>confdefs.h <<\_ACEOF
44567 #define wxUSE_FFILE 1
44568 _ACEOF
44569
44570 fi
44571
44572 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44573 if test "$wxUSE_STREAMS" != yes; then
44574 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44575 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44576 wxUSE_ARCHIVE_STREAMS=no
44577 else
44578 cat >>confdefs.h <<\_ACEOF
44579 #define wxUSE_ARCHIVE_STREAMS 1
44580 _ACEOF
44581
44582 fi
44583 fi
44584
44585 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44586 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44587 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44588 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44589 elif test "$wxUSE_ZLIB" = "no"; then
44590 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44591 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44592 else
44593 cat >>confdefs.h <<\_ACEOF
44594 #define wxUSE_ZIPSTREAM 1
44595 _ACEOF
44596
44597 fi
44598 fi
44599
44600 if test "$wxUSE_TARSTREAM" = "yes"; then
44601 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44602 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44603 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44604 else
44605 cat >>confdefs.h <<\_ACEOF
44606 #define wxUSE_TARSTREAM 1
44607 _ACEOF
44608
44609 fi
44610 fi
44611
44612 if test "$wxUSE_FILESYSTEM" = "yes"; then
44613 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44614 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44615 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44616 wxUSE_FILESYSTEM=no
44617 else
44618 cat >>confdefs.h <<\_ACEOF
44619 #define wxUSE_FILESYSTEM 1
44620 _ACEOF
44621
44622 fi
44623 fi
44624
44625 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44626 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44627 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44628 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44629 else
44630 cat >>confdefs.h <<\_ACEOF
44631 #define wxUSE_FS_ARCHIVE 1
44632 _ACEOF
44633
44634 fi
44635 fi
44636
44637 if test "$wxUSE_FS_ZIP" = "yes"; then
44638 if test "$wxUSE_FS_ARCHIVE" != yes; then
44639 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44640 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44641 else
44642 cat >>confdefs.h <<\_ACEOF
44643 #define wxUSE_FS_ZIP 1
44644 _ACEOF
44645
44646 fi
44647 fi
44648
44649 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44650 if test "$USE_UNIX" != 1; then
44651 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44652 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44653 wxUSE_ON_FATAL_EXCEPTION=no
44654 else
44655 cat >>confdefs.h <<\_ACEOF
44656 #define wxUSE_ON_FATAL_EXCEPTION 1
44657 _ACEOF
44658
44659 fi
44660 fi
44661
44662 if test "$wxUSE_STACKWALKER" = "yes"; then
44663 cat >>confdefs.h <<\_ACEOF
44664 #define wxUSE_STACKWALKER 1
44665 _ACEOF
44666
44667 fi
44668
44669 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44670 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
44671 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44672 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44673 wxUSE_DEBUGREPORT=no
44674 else
44675 cat >>confdefs.h <<\_ACEOF
44676 #define wxUSE_DEBUGREPORT 1
44677 _ACEOF
44678
44679 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44681 fi
44682 fi
44683 fi
44684
44685 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44686 cat >>confdefs.h <<\_ACEOF
44687 #define wxUSE_SNGLINST_CHECKER 1
44688 _ACEOF
44689
44690 fi
44691
44692 if test "$wxUSE_BUSYINFO" = "yes"; then
44693 cat >>confdefs.h <<\_ACEOF
44694 #define wxUSE_BUSYINFO 1
44695 _ACEOF
44696
44697 fi
44698
44699 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44700 cat >>confdefs.h <<\_ACEOF
44701 #define wxUSE_STD_IOSTREAM 1
44702 _ACEOF
44703
44704 fi
44705
44706 if test "$wxUSE_STD_STRING" = "yes"; then
44707 cat >>confdefs.h <<\_ACEOF
44708 #define wxUSE_STD_STRING 1
44709 _ACEOF
44710
44711 fi
44712
44713 if test "$wxUSE_STDPATHS" = "yes"; then
44714 cat >>confdefs.h <<\_ACEOF
44715 #define wxUSE_STDPATHS 1
44716 _ACEOF
44717
44718 fi
44719
44720 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44721 cat >>confdefs.h <<\_ACEOF
44722 #define wxUSE_TEXTBUFFER 1
44723 _ACEOF
44724
44725 fi
44726
44727 if test "$wxUSE_TEXTFILE" = "yes"; then
44728 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44729 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44730 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44731 else
44732 cat >>confdefs.h <<\_ACEOF
44733 #define wxUSE_TEXTFILE 1
44734 _ACEOF
44735
44736 fi
44737 fi
44738
44739 if test "$wxUSE_CONFIG" = "yes" ; then
44740 if test "$wxUSE_TEXTFILE" != "yes"; then
44741 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44742 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44743 else
44744 cat >>confdefs.h <<\_ACEOF
44745 #define wxUSE_CONFIG 1
44746 _ACEOF
44747
44748 cat >>confdefs.h <<\_ACEOF
44749 #define wxUSE_CONFIG_NATIVE 1
44750 _ACEOF
44751
44752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44753 fi
44754 fi
44755
44756 if test "$wxUSE_INTL" = "yes" ; then
44757 if test "$wxUSE_FILE" != "yes"; then
44758 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44759 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44760 else
44761 cat >>confdefs.h <<\_ACEOF
44762 #define wxUSE_INTL 1
44763 _ACEOF
44764
44765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44766 GUIDIST="$GUIDIST INTL_DIST"
44767 fi
44768 fi
44769
44770 if test "$wxUSE_LOG" = "yes"; then
44771 cat >>confdefs.h <<\_ACEOF
44772 #define wxUSE_LOG 1
44773 _ACEOF
44774
44775
44776 if test "$wxUSE_LOGGUI" = "yes"; then
44777 cat >>confdefs.h <<\_ACEOF
44778 #define wxUSE_LOGGUI 1
44779 _ACEOF
44780
44781 fi
44782
44783 if test "$wxUSE_LOGWINDOW" = "yes"; then
44784 cat >>confdefs.h <<\_ACEOF
44785 #define wxUSE_LOGWINDOW 1
44786 _ACEOF
44787
44788 fi
44789
44790 if test "$wxUSE_LOGDIALOG" = "yes"; then
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_LOG_DIALOG 1
44793 _ACEOF
44794
44795 fi
44796
44797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44798 fi
44799
44800 if test "$wxUSE_LONGLONG" = "yes"; then
44801 cat >>confdefs.h <<\_ACEOF
44802 #define wxUSE_LONGLONG 1
44803 _ACEOF
44804
44805 fi
44806
44807 if test "$wxUSE_GEOMETRY" = "yes"; then
44808 cat >>confdefs.h <<\_ACEOF
44809 #define wxUSE_GEOMETRY 1
44810 _ACEOF
44811
44812 fi
44813
44814 if test "$wxUSE_BASE64" = "yes"; then
44815 cat >>confdefs.h <<\_ACEOF
44816 #define wxUSE_BASE64 1
44817 _ACEOF
44818
44819 fi
44820
44821 if test "$wxUSE_STREAMS" = "yes" ; then
44822 cat >>confdefs.h <<\_ACEOF
44823 #define wxUSE_STREAMS 1
44824 _ACEOF
44825
44826 fi
44827
44828 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44829 cat >>confdefs.h <<\_ACEOF
44830 #define wxUSE_PRINTF_POS_PARAMS 1
44831 _ACEOF
44832
44833 fi
44834
44835 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44836 cat >>confdefs.h <<\_ACEOF
44837 #define wxUSE_OBJC_UNIQUIFYING 1
44838 _ACEOF
44839
44840 fi
44841
44842
44843 if test "$wxUSE_DATETIME" = "yes"; then
44844 echo "$as_me:$LINENO: checking for strptime" >&5
44845 echo $ECHO_N "checking for strptime... $ECHO_C" >&6
44846 if test "${ac_cv_func_strptime+set}" = set; then
44847 echo $ECHO_N "(cached) $ECHO_C" >&6
44848 else
44849 cat >conftest.$ac_ext <<_ACEOF
44850 /* confdefs.h. */
44851 _ACEOF
44852 cat confdefs.h >>conftest.$ac_ext
44853 cat >>conftest.$ac_ext <<_ACEOF
44854 /* end confdefs.h. */
44855 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
44856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44857 #define strptime innocuous_strptime
44858
44859 /* System header to define __stub macros and hopefully few prototypes,
44860 which can conflict with char strptime (); below.
44861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44862 <limits.h> exists even on freestanding compilers. */
44863
44864 #ifdef __STDC__
44865 # include <limits.h>
44866 #else
44867 # include <assert.h>
44868 #endif
44869
44870 #undef strptime
44871
44872 /* Override any gcc2 internal prototype to avoid an error. */
44873 #ifdef __cplusplus
44874 extern "C"
44875 {
44876 #endif
44877 /* We use char because int might match the return type of a gcc2
44878 builtin and then its argument prototype would still apply. */
44879 char strptime ();
44880 /* The GNU C library defines this for functions which it implements
44881 to always fail with ENOSYS. Some functions are actually named
44882 something starting with __ and the normal name is an alias. */
44883 #if defined (__stub_strptime) || defined (__stub___strptime)
44884 choke me
44885 #else
44886 char (*f) () = strptime;
44887 #endif
44888 #ifdef __cplusplus
44889 }
44890 #endif
44891
44892 int
44893 main ()
44894 {
44895 return f != strptime;
44896 ;
44897 return 0;
44898 }
44899 _ACEOF
44900 rm -f conftest.$ac_objext conftest$ac_exeext
44901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44902 (eval $ac_link) 2>conftest.er1
44903 ac_status=$?
44904 grep -v '^ *+' conftest.er1 >conftest.err
44905 rm -f conftest.er1
44906 cat conftest.err >&5
44907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44908 (exit $ac_status); } &&
44909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44911 (eval $ac_try) 2>&5
44912 ac_status=$?
44913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44914 (exit $ac_status); }; } &&
44915 { ac_try='test -s conftest$ac_exeext'
44916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44917 (eval $ac_try) 2>&5
44918 ac_status=$?
44919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44920 (exit $ac_status); }; }; then
44921 ac_cv_func_strptime=yes
44922 else
44923 echo "$as_me: failed program was:" >&5
44924 sed 's/^/| /' conftest.$ac_ext >&5
44925
44926 ac_cv_func_strptime=no
44927 fi
44928 rm -f conftest.err conftest.$ac_objext \
44929 conftest$ac_exeext conftest.$ac_ext
44930 fi
44931 echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
44932 echo "${ECHO_T}$ac_cv_func_strptime" >&6
44933
44934 if test "$ac_cv_func_strptime" = "yes"; then
44935 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44936 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44937 if test "${wx_cv_func_strptime_decl+set}" = set; then
44938 echo $ECHO_N "(cached) $ECHO_C" >&6
44939 else
44940
44941 ac_ext=cc
44942 ac_cpp='$CXXCPP $CPPFLAGS'
44943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44946
44947 cat >conftest.$ac_ext <<_ACEOF
44948 /* confdefs.h. */
44949 _ACEOF
44950 cat confdefs.h >>conftest.$ac_ext
44951 cat >>conftest.$ac_ext <<_ACEOF
44952 /* end confdefs.h. */
44953
44954 #include <time.h>
44955
44956 int
44957 main ()
44958 {
44959
44960 struct tm t;
44961 strptime("foo", "bar", &t);
44962
44963 ;
44964 return 0;
44965 }
44966 _ACEOF
44967 rm -f conftest.$ac_objext
44968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44969 (eval $ac_compile) 2>conftest.er1
44970 ac_status=$?
44971 grep -v '^ *+' conftest.er1 >conftest.err
44972 rm -f conftest.er1
44973 cat conftest.err >&5
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); } &&
44976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44978 (eval $ac_try) 2>&5
44979 ac_status=$?
44980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44981 (exit $ac_status); }; } &&
44982 { ac_try='test -s conftest.$ac_objext'
44983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44984 (eval $ac_try) 2>&5
44985 ac_status=$?
44986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44987 (exit $ac_status); }; }; then
44988 wx_cv_func_strptime_decl=yes
44989 else
44990 echo "$as_me: failed program was:" >&5
44991 sed 's/^/| /' conftest.$ac_ext >&5
44992
44993 wx_cv_func_strptime_decl=no
44994
44995 fi
44996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44997 ac_ext=c
44998 ac_cpp='$CPP $CPPFLAGS'
44999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45002
45003
45004
45005 fi
45006 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
45007 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
45008 fi
45009 if test "$wx_cv_func_strptime_decl" = "yes"; then
45010 cat >>confdefs.h <<\_ACEOF
45011 #define HAVE_STRPTIME_DECL 1
45012 _ACEOF
45013
45014 else
45015 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
45016 fi
45017 if test "$ac_cv_func_strptime" = "yes"; then
45018 echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
45019 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6
45020 if test "${wx_cv_func_strptime_ok+set}" = set; then
45021 echo $ECHO_N "(cached) $ECHO_C" >&6
45022 else
45023 if test "$cross_compiling" = yes; then
45024 wx_cv_func_strptime_ok=no
45025
45026 else
45027 cat >conftest.$ac_ext <<_ACEOF
45028
45029 #include <stdlib.h>
45030 #include <time.h>
45031 #include "confdefs.h"
45032
45033 $wx_strptime_decl
45034
45035 int main()
45036 {
45037 struct tm t;
45038 return !!strptime("", "%x", &t);
45039 }
45040
45041 _ACEOF
45042 rm -f conftest$ac_exeext
45043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45044 (eval $ac_link) 2>&5
45045 ac_status=$?
45046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45049 (eval $ac_try) 2>&5
45050 ac_status=$?
45051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45052 (exit $ac_status); }; }; then
45053 wx_cv_func_strptime_ok=yes
45054 else
45055 echo "$as_me: program exited with status $ac_status" >&5
45056 echo "$as_me: failed program was:" >&5
45057 sed 's/^/| /' conftest.$ac_ext >&5
45058
45059 ( exit $ac_status )
45060 wx_cv_func_strptime_ok=no
45061 fi
45062 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45063 fi
45064
45065 fi
45066 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
45067 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6
45068
45069 if test "$wx_cv_func_strptime_ok" = "yes"; then
45070 cat >>confdefs.h <<\_ACEOF
45071 #define HAVE_STRPTIME 1
45072 _ACEOF
45073
45074 fi
45075 fi
45076
45077 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45078 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
45079 if test "${wx_cv_var_timezone+set}" = set; then
45080 echo $ECHO_N "(cached) $ECHO_C" >&6
45081 else
45082
45083 ac_ext=cc
45084 ac_cpp='$CXXCPP $CPPFLAGS'
45085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45088
45089 cat >conftest.$ac_ext <<_ACEOF
45090 /* confdefs.h. */
45091 _ACEOF
45092 cat confdefs.h >>conftest.$ac_ext
45093 cat >>conftest.$ac_ext <<_ACEOF
45094 /* end confdefs.h. */
45095
45096 #include <time.h>
45097
45098 int
45099 main ()
45100 {
45101
45102 int tz;
45103 tz = timezone;
45104
45105 ;
45106 return 0;
45107 }
45108 _ACEOF
45109 rm -f conftest.$ac_objext
45110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45111 (eval $ac_compile) 2>conftest.er1
45112 ac_status=$?
45113 grep -v '^ *+' conftest.er1 >conftest.err
45114 rm -f conftest.er1
45115 cat conftest.err >&5
45116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45117 (exit $ac_status); } &&
45118 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45120 (eval $ac_try) 2>&5
45121 ac_status=$?
45122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45123 (exit $ac_status); }; } &&
45124 { ac_try='test -s conftest.$ac_objext'
45125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45126 (eval $ac_try) 2>&5
45127 ac_status=$?
45128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45129 (exit $ac_status); }; }; then
45130
45131 wx_cv_var_timezone=timezone
45132
45133 else
45134 echo "$as_me: failed program was:" >&5
45135 sed 's/^/| /' conftest.$ac_ext >&5
45136
45137
45138 cat >conftest.$ac_ext <<_ACEOF
45139 /* confdefs.h. */
45140 _ACEOF
45141 cat confdefs.h >>conftest.$ac_ext
45142 cat >>conftest.$ac_ext <<_ACEOF
45143 /* end confdefs.h. */
45144
45145 #include <time.h>
45146
45147 int
45148 main ()
45149 {
45150
45151 int tz;
45152 tz = _timezone;
45153
45154 ;
45155 return 0;
45156 }
45157 _ACEOF
45158 rm -f conftest.$ac_objext
45159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45160 (eval $ac_compile) 2>conftest.er1
45161 ac_status=$?
45162 grep -v '^ *+' conftest.er1 >conftest.err
45163 rm -f conftest.er1
45164 cat conftest.err >&5
45165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45166 (exit $ac_status); } &&
45167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45169 (eval $ac_try) 2>&5
45170 ac_status=$?
45171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45172 (exit $ac_status); }; } &&
45173 { ac_try='test -s conftest.$ac_objext'
45174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45175 (eval $ac_try) 2>&5
45176 ac_status=$?
45177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45178 (exit $ac_status); }; }; then
45179
45180 wx_cv_var_timezone=_timezone
45181
45182 else
45183 echo "$as_me: failed program was:" >&5
45184 sed 's/^/| /' conftest.$ac_ext >&5
45185
45186
45187 cat >conftest.$ac_ext <<_ACEOF
45188 /* confdefs.h. */
45189 _ACEOF
45190 cat confdefs.h >>conftest.$ac_ext
45191 cat >>conftest.$ac_ext <<_ACEOF
45192 /* end confdefs.h. */
45193
45194 #include <time.h>
45195
45196 int
45197 main ()
45198 {
45199
45200 int tz;
45201 tz = __timezone;
45202
45203 ;
45204 return 0;
45205 }
45206 _ACEOF
45207 rm -f conftest.$ac_objext
45208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45209 (eval $ac_compile) 2>conftest.er1
45210 ac_status=$?
45211 grep -v '^ *+' conftest.er1 >conftest.err
45212 rm -f conftest.er1
45213 cat conftest.err >&5
45214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45215 (exit $ac_status); } &&
45216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45218 (eval $ac_try) 2>&5
45219 ac_status=$?
45220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45221 (exit $ac_status); }; } &&
45222 { ac_try='test -s conftest.$ac_objext'
45223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45224 (eval $ac_try) 2>&5
45225 ac_status=$?
45226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45227 (exit $ac_status); }; }; then
45228
45229 wx_cv_var_timezone=__timezone
45230
45231 else
45232 echo "$as_me: failed program was:" >&5
45233 sed 's/^/| /' conftest.$ac_ext >&5
45234
45235
45236 if test "$USE_DOS" = 0 ; then
45237 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45238 echo "$as_me: WARNING: no timezone variable" >&2;}
45239 fi
45240
45241
45242 fi
45243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45244
45245
45246 fi
45247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45248
45249
45250 fi
45251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45252 ac_ext=c
45253 ac_cpp='$CPP $CPPFLAGS'
45254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45257
45258
45259
45260 fi
45261 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45262 echo "${ECHO_T}$wx_cv_var_timezone" >&6
45263
45264 if test "x$wx_cv_var_timezone" != x ; then
45265 cat >>confdefs.h <<_ACEOF
45266 #define WX_TIMEZONE $wx_cv_var_timezone
45267 _ACEOF
45268
45269 fi
45270
45271
45272 for ac_func in localtime
45273 do
45274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45275 echo "$as_me:$LINENO: checking for $ac_func" >&5
45276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45277 if eval "test \"\${$as_ac_var+set}\" = set"; then
45278 echo $ECHO_N "(cached) $ECHO_C" >&6
45279 else
45280 cat >conftest.$ac_ext <<_ACEOF
45281 /* confdefs.h. */
45282 _ACEOF
45283 cat confdefs.h >>conftest.$ac_ext
45284 cat >>conftest.$ac_ext <<_ACEOF
45285 /* end confdefs.h. */
45286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45288 #define $ac_func innocuous_$ac_func
45289
45290 /* System header to define __stub macros and hopefully few prototypes,
45291 which can conflict with char $ac_func (); below.
45292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45293 <limits.h> exists even on freestanding compilers. */
45294
45295 #ifdef __STDC__
45296 # include <limits.h>
45297 #else
45298 # include <assert.h>
45299 #endif
45300
45301 #undef $ac_func
45302
45303 /* Override any gcc2 internal prototype to avoid an error. */
45304 #ifdef __cplusplus
45305 extern "C"
45306 {
45307 #endif
45308 /* We use char because int might match the return type of a gcc2
45309 builtin and then its argument prototype would still apply. */
45310 char $ac_func ();
45311 /* The GNU C library defines this for functions which it implements
45312 to always fail with ENOSYS. Some functions are actually named
45313 something starting with __ and the normal name is an alias. */
45314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45315 choke me
45316 #else
45317 char (*f) () = $ac_func;
45318 #endif
45319 #ifdef __cplusplus
45320 }
45321 #endif
45322
45323 int
45324 main ()
45325 {
45326 return f != $ac_func;
45327 ;
45328 return 0;
45329 }
45330 _ACEOF
45331 rm -f conftest.$ac_objext conftest$ac_exeext
45332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45333 (eval $ac_link) 2>conftest.er1
45334 ac_status=$?
45335 grep -v '^ *+' conftest.er1 >conftest.err
45336 rm -f conftest.er1
45337 cat conftest.err >&5
45338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45339 (exit $ac_status); } &&
45340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45342 (eval $ac_try) 2>&5
45343 ac_status=$?
45344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345 (exit $ac_status); }; } &&
45346 { ac_try='test -s conftest$ac_exeext'
45347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45348 (eval $ac_try) 2>&5
45349 ac_status=$?
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); }; }; then
45352 eval "$as_ac_var=yes"
45353 else
45354 echo "$as_me: failed program was:" >&5
45355 sed 's/^/| /' conftest.$ac_ext >&5
45356
45357 eval "$as_ac_var=no"
45358 fi
45359 rm -f conftest.err conftest.$ac_objext \
45360 conftest$ac_exeext conftest.$ac_ext
45361 fi
45362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45364 if test `eval echo '${'$as_ac_var'}'` = yes; then
45365 cat >>confdefs.h <<_ACEOF
45366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45367 _ACEOF
45368
45369 fi
45370 done
45371
45372
45373 if test "$ac_cv_func_localtime" = "yes"; then
45374 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45375 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
45376 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45377 echo $ECHO_N "(cached) $ECHO_C" >&6
45378 else
45379
45380 cat >conftest.$ac_ext <<_ACEOF
45381 /* confdefs.h. */
45382 _ACEOF
45383 cat confdefs.h >>conftest.$ac_ext
45384 cat >>conftest.$ac_ext <<_ACEOF
45385 /* end confdefs.h. */
45386
45387 #include <time.h>
45388
45389 int
45390 main ()
45391 {
45392
45393 struct tm tm;
45394 tm.tm_gmtoff++;
45395
45396 ;
45397 return 0;
45398 }
45399 _ACEOF
45400 rm -f conftest.$ac_objext
45401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45402 (eval $ac_compile) 2>conftest.er1
45403 ac_status=$?
45404 grep -v '^ *+' conftest.er1 >conftest.err
45405 rm -f conftest.er1
45406 cat conftest.err >&5
45407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45408 (exit $ac_status); } &&
45409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45411 (eval $ac_try) 2>&5
45412 ac_status=$?
45413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45414 (exit $ac_status); }; } &&
45415 { ac_try='test -s conftest.$ac_objext'
45416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45417 (eval $ac_try) 2>&5
45418 ac_status=$?
45419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45420 (exit $ac_status); }; }; then
45421
45422 wx_cv_struct_tm_has_gmtoff=yes
45423
45424 else
45425 echo "$as_me: failed program was:" >&5
45426 sed 's/^/| /' conftest.$ac_ext >&5
45427
45428 wx_cv_struct_tm_has_gmtoff=no
45429
45430 fi
45431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45432
45433 fi
45434 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45435 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
45436 fi
45437
45438 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45439 cat >>confdefs.h <<\_ACEOF
45440 #define WX_GMTOFF_IN_TM 1
45441 _ACEOF
45442
45443 fi
45444
45445
45446
45447 for ac_func in gettimeofday ftime
45448 do
45449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45450 echo "$as_me:$LINENO: checking for $ac_func" >&5
45451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45452 if eval "test \"\${$as_ac_var+set}\" = set"; then
45453 echo $ECHO_N "(cached) $ECHO_C" >&6
45454 else
45455 cat >conftest.$ac_ext <<_ACEOF
45456 /* confdefs.h. */
45457 _ACEOF
45458 cat confdefs.h >>conftest.$ac_ext
45459 cat >>conftest.$ac_ext <<_ACEOF
45460 /* end confdefs.h. */
45461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45463 #define $ac_func innocuous_$ac_func
45464
45465 /* System header to define __stub macros and hopefully few prototypes,
45466 which can conflict with char $ac_func (); below.
45467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45468 <limits.h> exists even on freestanding compilers. */
45469
45470 #ifdef __STDC__
45471 # include <limits.h>
45472 #else
45473 # include <assert.h>
45474 #endif
45475
45476 #undef $ac_func
45477
45478 /* Override any gcc2 internal prototype to avoid an error. */
45479 #ifdef __cplusplus
45480 extern "C"
45481 {
45482 #endif
45483 /* We use char because int might match the return type of a gcc2
45484 builtin and then its argument prototype would still apply. */
45485 char $ac_func ();
45486 /* The GNU C library defines this for functions which it implements
45487 to always fail with ENOSYS. Some functions are actually named
45488 something starting with __ and the normal name is an alias. */
45489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45490 choke me
45491 #else
45492 char (*f) () = $ac_func;
45493 #endif
45494 #ifdef __cplusplus
45495 }
45496 #endif
45497
45498 int
45499 main ()
45500 {
45501 return f != $ac_func;
45502 ;
45503 return 0;
45504 }
45505 _ACEOF
45506 rm -f conftest.$ac_objext conftest$ac_exeext
45507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45508 (eval $ac_link) 2>conftest.er1
45509 ac_status=$?
45510 grep -v '^ *+' conftest.er1 >conftest.err
45511 rm -f conftest.er1
45512 cat conftest.err >&5
45513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514 (exit $ac_status); } &&
45515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45517 (eval $ac_try) 2>&5
45518 ac_status=$?
45519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45520 (exit $ac_status); }; } &&
45521 { ac_try='test -s conftest$ac_exeext'
45522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45523 (eval $ac_try) 2>&5
45524 ac_status=$?
45525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45526 (exit $ac_status); }; }; then
45527 eval "$as_ac_var=yes"
45528 else
45529 echo "$as_me: failed program was:" >&5
45530 sed 's/^/| /' conftest.$ac_ext >&5
45531
45532 eval "$as_ac_var=no"
45533 fi
45534 rm -f conftest.err conftest.$ac_objext \
45535 conftest$ac_exeext conftest.$ac_ext
45536 fi
45537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45539 if test `eval echo '${'$as_ac_var'}'` = yes; then
45540 cat >>confdefs.h <<_ACEOF
45541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45542 _ACEOF
45543 break
45544 fi
45545 done
45546
45547
45548 if test "$ac_cv_func_gettimeofday" = "yes"; then
45549 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45550 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
45551 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45552 echo $ECHO_N "(cached) $ECHO_C" >&6
45553 else
45554
45555 cat >conftest.$ac_ext <<_ACEOF
45556 /* confdefs.h. */
45557 _ACEOF
45558 cat confdefs.h >>conftest.$ac_ext
45559 cat >>conftest.$ac_ext <<_ACEOF
45560 /* end confdefs.h. */
45561
45562 #include <sys/time.h>
45563 #include <unistd.h>
45564
45565 int
45566 main ()
45567 {
45568
45569 struct timeval tv;
45570 gettimeofday(&tv, NULL);
45571
45572 ;
45573 return 0;
45574 }
45575 _ACEOF
45576 rm -f conftest.$ac_objext
45577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45578 (eval $ac_compile) 2>conftest.er1
45579 ac_status=$?
45580 grep -v '^ *+' conftest.er1 >conftest.err
45581 rm -f conftest.er1
45582 cat conftest.err >&5
45583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45584 (exit $ac_status); } &&
45585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45587 (eval $ac_try) 2>&5
45588 ac_status=$?
45589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45590 (exit $ac_status); }; } &&
45591 { ac_try='test -s conftest.$ac_objext'
45592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45593 (eval $ac_try) 2>&5
45594 ac_status=$?
45595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45596 (exit $ac_status); }; }; then
45597 wx_cv_func_gettimeofday_has_2_args=yes
45598 else
45599 echo "$as_me: failed program was:" >&5
45600 sed 's/^/| /' conftest.$ac_ext >&5
45601
45602 cat >conftest.$ac_ext <<_ACEOF
45603 /* confdefs.h. */
45604 _ACEOF
45605 cat confdefs.h >>conftest.$ac_ext
45606 cat >>conftest.$ac_ext <<_ACEOF
45607 /* end confdefs.h. */
45608
45609 #include <sys/time.h>
45610 #include <unistd.h>
45611
45612 int
45613 main ()
45614 {
45615
45616 struct timeval tv;
45617 gettimeofday(&tv);
45618
45619 ;
45620 return 0;
45621 }
45622 _ACEOF
45623 rm -f conftest.$ac_objext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45625 (eval $ac_compile) 2>conftest.er1
45626 ac_status=$?
45627 grep -v '^ *+' conftest.er1 >conftest.err
45628 rm -f conftest.er1
45629 cat conftest.err >&5
45630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631 (exit $ac_status); } &&
45632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634 (eval $ac_try) 2>&5
45635 ac_status=$?
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); }; } &&
45638 { ac_try='test -s conftest.$ac_objext'
45639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45640 (eval $ac_try) 2>&5
45641 ac_status=$?
45642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45643 (exit $ac_status); }; }; then
45644 wx_cv_func_gettimeofday_has_2_args=no
45645 else
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.$ac_ext >&5
45648
45649
45650 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45651 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45652 wx_cv_func_gettimeofday_has_2_args=unknown
45653
45654
45655 fi
45656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45657
45658 fi
45659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45660
45661 fi
45662 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45663 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
45664
45665 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define WX_GETTIMEOFDAY_NO_TZ 1
45668 _ACEOF
45669
45670 fi
45671 fi
45672
45673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45674 fi
45675
45676
45677 if test "$wxUSE_SOCKETS" = "yes"; then
45678 if test "$wxUSE_MGL" = "1"; then
45679 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45680 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45681 wxUSE_SOCKETS="no"
45682 fi
45683 fi
45684
45685 if test "$wxUSE_SOCKETS" = "yes"; then
45686 if test "$TOOLKIT" != "MSW"; then
45687 echo "$as_me:$LINENO: checking for socket" >&5
45688 echo $ECHO_N "checking for socket... $ECHO_C" >&6
45689 if test "${ac_cv_func_socket+set}" = set; then
45690 echo $ECHO_N "(cached) $ECHO_C" >&6
45691 else
45692 cat >conftest.$ac_ext <<_ACEOF
45693 /* confdefs.h. */
45694 _ACEOF
45695 cat confdefs.h >>conftest.$ac_ext
45696 cat >>conftest.$ac_ext <<_ACEOF
45697 /* end confdefs.h. */
45698 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45700 #define socket innocuous_socket
45701
45702 /* System header to define __stub macros and hopefully few prototypes,
45703 which can conflict with char socket (); below.
45704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45705 <limits.h> exists even on freestanding compilers. */
45706
45707 #ifdef __STDC__
45708 # include <limits.h>
45709 #else
45710 # include <assert.h>
45711 #endif
45712
45713 #undef socket
45714
45715 /* Override any gcc2 internal prototype to avoid an error. */
45716 #ifdef __cplusplus
45717 extern "C"
45718 {
45719 #endif
45720 /* We use char because int might match the return type of a gcc2
45721 builtin and then its argument prototype would still apply. */
45722 char socket ();
45723 /* The GNU C library defines this for functions which it implements
45724 to always fail with ENOSYS. Some functions are actually named
45725 something starting with __ and the normal name is an alias. */
45726 #if defined (__stub_socket) || defined (__stub___socket)
45727 choke me
45728 #else
45729 char (*f) () = socket;
45730 #endif
45731 #ifdef __cplusplus
45732 }
45733 #endif
45734
45735 int
45736 main ()
45737 {
45738 return f != socket;
45739 ;
45740 return 0;
45741 }
45742 _ACEOF
45743 rm -f conftest.$ac_objext conftest$ac_exeext
45744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45745 (eval $ac_link) 2>conftest.er1
45746 ac_status=$?
45747 grep -v '^ *+' conftest.er1 >conftest.err
45748 rm -f conftest.er1
45749 cat conftest.err >&5
45750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45751 (exit $ac_status); } &&
45752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45754 (eval $ac_try) 2>&5
45755 ac_status=$?
45756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45757 (exit $ac_status); }; } &&
45758 { ac_try='test -s conftest$ac_exeext'
45759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45760 (eval $ac_try) 2>&5
45761 ac_status=$?
45762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45763 (exit $ac_status); }; }; then
45764 ac_cv_func_socket=yes
45765 else
45766 echo "$as_me: failed program was:" >&5
45767 sed 's/^/| /' conftest.$ac_ext >&5
45768
45769 ac_cv_func_socket=no
45770 fi
45771 rm -f conftest.err conftest.$ac_objext \
45772 conftest$ac_exeext conftest.$ac_ext
45773 fi
45774 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45775 echo "${ECHO_T}$ac_cv_func_socket" >&6
45776 if test $ac_cv_func_socket = yes; then
45777 :
45778 else
45779
45780 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45781 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
45782 if test "${ac_cv_lib_socket_socket+set}" = set; then
45783 echo $ECHO_N "(cached) $ECHO_C" >&6
45784 else
45785 ac_check_lib_save_LIBS=$LIBS
45786 LIBS="-lsocket $LIBS"
45787 cat >conftest.$ac_ext <<_ACEOF
45788 /* confdefs.h. */
45789 _ACEOF
45790 cat confdefs.h >>conftest.$ac_ext
45791 cat >>conftest.$ac_ext <<_ACEOF
45792 /* end confdefs.h. */
45793
45794 /* Override any gcc2 internal prototype to avoid an error. */
45795 #ifdef __cplusplus
45796 extern "C"
45797 #endif
45798 /* We use char because int might match the return type of a gcc2
45799 builtin and then its argument prototype would still apply. */
45800 char socket ();
45801 int
45802 main ()
45803 {
45804 socket ();
45805 ;
45806 return 0;
45807 }
45808 _ACEOF
45809 rm -f conftest.$ac_objext conftest$ac_exeext
45810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45811 (eval $ac_link) 2>conftest.er1
45812 ac_status=$?
45813 grep -v '^ *+' conftest.er1 >conftest.err
45814 rm -f conftest.er1
45815 cat conftest.err >&5
45816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45817 (exit $ac_status); } &&
45818 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45820 (eval $ac_try) 2>&5
45821 ac_status=$?
45822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45823 (exit $ac_status); }; } &&
45824 { ac_try='test -s conftest$ac_exeext'
45825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45826 (eval $ac_try) 2>&5
45827 ac_status=$?
45828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829 (exit $ac_status); }; }; then
45830 ac_cv_lib_socket_socket=yes
45831 else
45832 echo "$as_me: failed program was:" >&5
45833 sed 's/^/| /' conftest.$ac_ext >&5
45834
45835 ac_cv_lib_socket_socket=no
45836 fi
45837 rm -f conftest.err conftest.$ac_objext \
45838 conftest$ac_exeext conftest.$ac_ext
45839 LIBS=$ac_check_lib_save_LIBS
45840 fi
45841 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45842 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
45843 if test $ac_cv_lib_socket_socket = yes; then
45844 if test "$INET_LINK" != " -lsocket"; then
45845 INET_LINK="$INET_LINK -lsocket"
45846 fi
45847 else
45848
45849 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45850 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45851 wxUSE_SOCKETS=no
45852
45853
45854 fi
45855
45856
45857
45858 fi
45859
45860 fi
45861 fi
45862
45863 if test "$wxUSE_SOCKETS" = "yes" ; then
45864 if test "$TOOLKIT" != "MSW"; then
45865 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45866 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
45867 if test "${wx_cv_type_getsockname3+set}" = set; then
45868 echo $ECHO_N "(cached) $ECHO_C" >&6
45869 else
45870
45871 ac_ext=cc
45872 ac_cpp='$CXXCPP $CPPFLAGS'
45873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45876
45877 cat >conftest.$ac_ext <<_ACEOF
45878 /* confdefs.h. */
45879 _ACEOF
45880 cat confdefs.h >>conftest.$ac_ext
45881 cat >>conftest.$ac_ext <<_ACEOF
45882 /* end confdefs.h. */
45883
45884 #include <sys/types.h>
45885 #include <sys/socket.h>
45886
45887 int
45888 main ()
45889 {
45890
45891 socklen_t len;
45892 getsockname(0, 0, &len);
45893
45894 ;
45895 return 0;
45896 }
45897 _ACEOF
45898 rm -f conftest.$ac_objext
45899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45900 (eval $ac_compile) 2>conftest.er1
45901 ac_status=$?
45902 grep -v '^ *+' conftest.er1 >conftest.err
45903 rm -f conftest.er1
45904 cat conftest.err >&5
45905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45906 (exit $ac_status); } &&
45907 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45909 (eval $ac_try) 2>&5
45910 ac_status=$?
45911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45912 (exit $ac_status); }; } &&
45913 { ac_try='test -s conftest.$ac_objext'
45914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45915 (eval $ac_try) 2>&5
45916 ac_status=$?
45917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45918 (exit $ac_status); }; }; then
45919 wx_cv_type_getsockname3=socklen_t
45920 else
45921 echo "$as_me: failed program was:" >&5
45922 sed 's/^/| /' conftest.$ac_ext >&5
45923
45924
45925 CFLAGS_OLD="$CFLAGS"
45926 if test "$GCC" = yes ; then
45927 CFLAGS="-Werror $CFLAGS"
45928 fi
45929
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
45937 #include <sys/types.h>
45938 #include <sys/socket.h>
45939
45940 int
45941 main ()
45942 {
45943
45944 size_t len;
45945 getsockname(0, 0, &len);
45946
45947 ;
45948 return 0;
45949 }
45950 _ACEOF
45951 rm -f conftest.$ac_objext
45952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45953 (eval $ac_compile) 2>conftest.er1
45954 ac_status=$?
45955 grep -v '^ *+' conftest.er1 >conftest.err
45956 rm -f conftest.er1
45957 cat conftest.err >&5
45958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45959 (exit $ac_status); } &&
45960 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45962 (eval $ac_try) 2>&5
45963 ac_status=$?
45964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45965 (exit $ac_status); }; } &&
45966 { ac_try='test -s conftest.$ac_objext'
45967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45968 (eval $ac_try) 2>&5
45969 ac_status=$?
45970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45971 (exit $ac_status); }; }; then
45972 wx_cv_type_getsockname3=size_t
45973 else
45974 echo "$as_me: failed program was:" >&5
45975 sed 's/^/| /' conftest.$ac_ext >&5
45976
45977 cat >conftest.$ac_ext <<_ACEOF
45978 /* confdefs.h. */
45979 _ACEOF
45980 cat confdefs.h >>conftest.$ac_ext
45981 cat >>conftest.$ac_ext <<_ACEOF
45982 /* end confdefs.h. */
45983
45984 #include <sys/types.h>
45985 #include <sys/socket.h>
45986
45987 int
45988 main ()
45989 {
45990
45991 int len;
45992 getsockname(0, 0, &len);
45993
45994 ;
45995 return 0;
45996 }
45997 _ACEOF
45998 rm -f conftest.$ac_objext
45999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46000 (eval $ac_compile) 2>conftest.er1
46001 ac_status=$?
46002 grep -v '^ *+' conftest.er1 >conftest.err
46003 rm -f conftest.er1
46004 cat conftest.err >&5
46005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006 (exit $ac_status); } &&
46007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46009 (eval $ac_try) 2>&5
46010 ac_status=$?
46011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46012 (exit $ac_status); }; } &&
46013 { ac_try='test -s conftest.$ac_objext'
46014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46015 (eval $ac_try) 2>&5
46016 ac_status=$?
46017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46018 (exit $ac_status); }; }; then
46019 wx_cv_type_getsockname3=int
46020 else
46021 echo "$as_me: failed program was:" >&5
46022 sed 's/^/| /' conftest.$ac_ext >&5
46023
46024 wx_cv_type_getsockname3=unknown
46025
46026 fi
46027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46028
46029 fi
46030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46031
46032 CFLAGS="$CFLAGS_OLD"
46033
46034
46035 fi
46036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46037 ac_ext=c
46038 ac_cpp='$CPP $CPPFLAGS'
46039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46042
46043
46044 fi
46045 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46046 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
46047
46048 if test "$wx_cv_type_getsockname3" = "unknown"; then
46049 wxUSE_SOCKETS=no
46050 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46051 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46052 else
46053 cat >>confdefs.h <<_ACEOF
46054 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46055 _ACEOF
46056
46057 fi
46058 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46059 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
46060 if test "${wx_cv_type_getsockopt5+set}" = set; then
46061 echo $ECHO_N "(cached) $ECHO_C" >&6
46062 else
46063
46064 ac_ext=cc
46065 ac_cpp='$CXXCPP $CPPFLAGS'
46066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46069
46070 cat >conftest.$ac_ext <<_ACEOF
46071 /* confdefs.h. */
46072 _ACEOF
46073 cat confdefs.h >>conftest.$ac_ext
46074 cat >>conftest.$ac_ext <<_ACEOF
46075 /* end confdefs.h. */
46076
46077 #include <sys/types.h>
46078 #include <sys/socket.h>
46079
46080 int
46081 main ()
46082 {
46083
46084 socklen_t len;
46085 getsockopt(0, 0, 0, 0, &len);
46086
46087 ;
46088 return 0;
46089 }
46090 _ACEOF
46091 rm -f conftest.$ac_objext
46092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46093 (eval $ac_compile) 2>conftest.er1
46094 ac_status=$?
46095 grep -v '^ *+' conftest.er1 >conftest.err
46096 rm -f conftest.er1
46097 cat conftest.err >&5
46098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46099 (exit $ac_status); } &&
46100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46102 (eval $ac_try) 2>&5
46103 ac_status=$?
46104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46105 (exit $ac_status); }; } &&
46106 { ac_try='test -s conftest.$ac_objext'
46107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46108 (eval $ac_try) 2>&5
46109 ac_status=$?
46110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46111 (exit $ac_status); }; }; then
46112 wx_cv_type_getsockopt5=socklen_t
46113 else
46114 echo "$as_me: failed program was:" >&5
46115 sed 's/^/| /' conftest.$ac_ext >&5
46116
46117
46118 cat >conftest.$ac_ext <<_ACEOF
46119 /* confdefs.h. */
46120 _ACEOF
46121 cat confdefs.h >>conftest.$ac_ext
46122 cat >>conftest.$ac_ext <<_ACEOF
46123 /* end confdefs.h. */
46124
46125 #include <sys/types.h>
46126 #include <sys/socket.h>
46127
46128 int
46129 main ()
46130 {
46131
46132 size_t len;
46133 getsockopt(0, 0, 0, 0, &len);
46134
46135 ;
46136 return 0;
46137 }
46138 _ACEOF
46139 rm -f conftest.$ac_objext
46140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46141 (eval $ac_compile) 2>conftest.er1
46142 ac_status=$?
46143 grep -v '^ *+' conftest.er1 >conftest.err
46144 rm -f conftest.er1
46145 cat conftest.err >&5
46146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46147 (exit $ac_status); } &&
46148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46150 (eval $ac_try) 2>&5
46151 ac_status=$?
46152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46153 (exit $ac_status); }; } &&
46154 { ac_try='test -s conftest.$ac_objext'
46155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46156 (eval $ac_try) 2>&5
46157 ac_status=$?
46158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46159 (exit $ac_status); }; }; then
46160 wx_cv_type_getsockopt5=size_t
46161 else
46162 echo "$as_me: failed program was:" >&5
46163 sed 's/^/| /' conftest.$ac_ext >&5
46164
46165 cat >conftest.$ac_ext <<_ACEOF
46166 /* confdefs.h. */
46167 _ACEOF
46168 cat confdefs.h >>conftest.$ac_ext
46169 cat >>conftest.$ac_ext <<_ACEOF
46170 /* end confdefs.h. */
46171
46172 #include <sys/types.h>
46173 #include <sys/socket.h>
46174
46175 int
46176 main ()
46177 {
46178
46179 int len;
46180 getsockopt(0, 0, 0, 0, &len);
46181
46182 ;
46183 return 0;
46184 }
46185 _ACEOF
46186 rm -f conftest.$ac_objext
46187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46188 (eval $ac_compile) 2>conftest.er1
46189 ac_status=$?
46190 grep -v '^ *+' conftest.er1 >conftest.err
46191 rm -f conftest.er1
46192 cat conftest.err >&5
46193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46194 (exit $ac_status); } &&
46195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46197 (eval $ac_try) 2>&5
46198 ac_status=$?
46199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46200 (exit $ac_status); }; } &&
46201 { ac_try='test -s conftest.$ac_objext'
46202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46203 (eval $ac_try) 2>&5
46204 ac_status=$?
46205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46206 (exit $ac_status); }; }; then
46207 wx_cv_type_getsockopt5=int
46208 else
46209 echo "$as_me: failed program was:" >&5
46210 sed 's/^/| /' conftest.$ac_ext >&5
46211
46212 wx_cv_type_getsockopt5=unknown
46213
46214 fi
46215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46216
46217 fi
46218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46219
46220
46221 fi
46222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46223 ac_ext=c
46224 ac_cpp='$CPP $CPPFLAGS'
46225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46228
46229
46230 fi
46231 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46232 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
46233
46234 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46235 wxUSE_SOCKETS=no
46236 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46237 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46238 else
46239 cat >>confdefs.h <<_ACEOF
46240 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46241 _ACEOF
46242
46243 fi
46244 fi
46245 fi
46246
46247 if test "$wxUSE_SOCKETS" = "yes" ; then
46248 cat >>confdefs.h <<\_ACEOF
46249 #define wxUSE_SOCKETS 1
46250 _ACEOF
46251
46252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46253 fi
46254
46255 if test "$wxUSE_PROTOCOL" = "yes"; then
46256 if test "$wxUSE_SOCKETS" != "yes"; then
46257 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46258 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46259 wxUSE_PROTOCOL=no
46260 fi
46261 fi
46262
46263 if test "$wxUSE_PROTOCOL" = "yes"; then
46264 cat >>confdefs.h <<\_ACEOF
46265 #define wxUSE_PROTOCOL 1
46266 _ACEOF
46267
46268
46269 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46270 cat >>confdefs.h <<\_ACEOF
46271 #define wxUSE_PROTOCOL_HTTP 1
46272 _ACEOF
46273
46274 fi
46275 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46276 cat >>confdefs.h <<\_ACEOF
46277 #define wxUSE_PROTOCOL_FTP 1
46278 _ACEOF
46279
46280 fi
46281 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46282 cat >>confdefs.h <<\_ACEOF
46283 #define wxUSE_PROTOCOL_FILE 1
46284 _ACEOF
46285
46286 fi
46287 else
46288 if test "$wxUSE_FS_INET" = "yes"; then
46289 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46290 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46291 wxUSE_FS_INET="no"
46292 fi
46293 fi
46294
46295 if test "$wxUSE_URL" = "yes"; then
46296 if test "$wxUSE_PROTOCOL" != "yes"; then
46297 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46298 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46299 wxUSE_URL=no
46300 fi
46301 if test "$wxUSE_URL" = "yes"; then
46302 cat >>confdefs.h <<\_ACEOF
46303 #define wxUSE_URL 1
46304 _ACEOF
46305
46306 fi
46307 fi
46308
46309 if test "$wxUSE_VARIANT" = "yes"; then
46310 cat >>confdefs.h <<\_ACEOF
46311 #define wxUSE_VARIANT 1
46312 _ACEOF
46313
46314 fi
46315
46316 if test "$wxUSE_FS_INET" = "yes"; then
46317 cat >>confdefs.h <<\_ACEOF
46318 #define wxUSE_FS_INET 1
46319 _ACEOF
46320
46321 fi
46322
46323
46324 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46325 wxUSE_JOYSTICK=no
46326
46327 if test "$TOOLKIT" = "MSW"; then
46328 wxUSE_JOYSTICK=yes
46329
46330 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
46331 if test "$USE_DARWIN" = 1; then
46332 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46333 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
46334 ac_ext=cc
46335 ac_cpp='$CXXCPP $CPPFLAGS'
46336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46339
46340 cat >conftest.$ac_ext <<_ACEOF
46341 /* confdefs.h. */
46342 _ACEOF
46343 cat confdefs.h >>conftest.$ac_ext
46344 cat >>conftest.$ac_ext <<_ACEOF
46345 /* end confdefs.h. */
46346 #include <IOKit/hid/IOHIDLib.h>
46347 int
46348 main ()
46349 {
46350 IOHIDQueueInterface *qi = NULL;
46351 IOHIDCallbackFunction cb = NULL;
46352 qi->setEventCallout(NULL, cb, NULL, NULL);
46353 ;
46354 return 0;
46355 }
46356 _ACEOF
46357 rm -f conftest.$ac_objext
46358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46359 (eval $ac_compile) 2>conftest.er1
46360 ac_status=$?
46361 grep -v '^ *+' conftest.er1 >conftest.err
46362 rm -f conftest.er1
46363 cat conftest.err >&5
46364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46365 (exit $ac_status); } &&
46366 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46368 (eval $ac_try) 2>&5
46369 ac_status=$?
46370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46371 (exit $ac_status); }; } &&
46372 { ac_try='test -s conftest.$ac_objext'
46373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46374 (eval $ac_try) 2>&5
46375 ac_status=$?
46376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46377 (exit $ac_status); }; }; then
46378 wxUSE_JOYSTICK=yes
46379
46380 else
46381 echo "$as_me: failed program was:" >&5
46382 sed 's/^/| /' conftest.$ac_ext >&5
46383
46384 fi
46385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46386 ac_ext=c
46387 ac_cpp='$CPP $CPPFLAGS'
46388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46391
46392 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46393 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
46394 fi
46395
46396 else
46397 if test "$wxUSE_MGL" != "1"; then
46398 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
46399 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
46400 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
46401 echo $ECHO_N "(cached) $ECHO_C" >&6
46402 else
46403 cat >conftest.$ac_ext <<_ACEOF
46404 /* confdefs.h. */
46405 _ACEOF
46406 cat confdefs.h >>conftest.$ac_ext
46407 cat >>conftest.$ac_ext <<_ACEOF
46408 /* end confdefs.h. */
46409 $ac_includes_default
46410
46411 #include <linux/joystick.h>
46412 _ACEOF
46413 rm -f conftest.$ac_objext
46414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46415 (eval $ac_compile) 2>conftest.er1
46416 ac_status=$?
46417 grep -v '^ *+' conftest.er1 >conftest.err
46418 rm -f conftest.er1
46419 cat conftest.err >&5
46420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46421 (exit $ac_status); } &&
46422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46424 (eval $ac_try) 2>&5
46425 ac_status=$?
46426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46427 (exit $ac_status); }; } &&
46428 { ac_try='test -s conftest.$ac_objext'
46429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46430 (eval $ac_try) 2>&5
46431 ac_status=$?
46432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46433 (exit $ac_status); }; }; then
46434 ac_cv_header_linux_joystick_h=yes
46435 else
46436 echo "$as_me: failed program was:" >&5
46437 sed 's/^/| /' conftest.$ac_ext >&5
46438
46439 ac_cv_header_linux_joystick_h=no
46440 fi
46441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46442 fi
46443 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
46444 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
46445 if test $ac_cv_header_linux_joystick_h = yes; then
46446 wxUSE_JOYSTICK=yes
46447 fi
46448
46449
46450 fi
46451 fi
46452
46453 if test "$wxUSE_JOYSTICK" = "yes"; then
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_JOYSTICK 1
46456 _ACEOF
46457
46458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46459 else
46460 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46461 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46462 fi
46463 fi
46464
46465
46466
46467 if test "$wxUSE_FONTMAP" = "yes" ; then
46468 cat >>confdefs.h <<\_ACEOF
46469 #define wxUSE_FONTMAP 1
46470 _ACEOF
46471
46472 fi
46473
46474 if test "$wxUSE_UNICODE" = "yes" ; then
46475 cat >>confdefs.h <<\_ACEOF
46476 #define wxUSE_UNICODE 1
46477 _ACEOF
46478
46479
46480 if test "$USE_WIN32" != 1; then
46481 wxUSE_UNICODE_MSLU=no
46482 fi
46483
46484 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46485 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46486 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
46487 if test "${ac_cv_lib_unicows_main+set}" = set; then
46488 echo $ECHO_N "(cached) $ECHO_C" >&6
46489 else
46490 ac_check_lib_save_LIBS=$LIBS
46491 LIBS="-lunicows $LIBS"
46492 cat >conftest.$ac_ext <<_ACEOF
46493 /* confdefs.h. */
46494 _ACEOF
46495 cat confdefs.h >>conftest.$ac_ext
46496 cat >>conftest.$ac_ext <<_ACEOF
46497 /* end confdefs.h. */
46498
46499
46500 int
46501 main ()
46502 {
46503 main ();
46504 ;
46505 return 0;
46506 }
46507 _ACEOF
46508 rm -f conftest.$ac_objext conftest$ac_exeext
46509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46510 (eval $ac_link) 2>conftest.er1
46511 ac_status=$?
46512 grep -v '^ *+' conftest.er1 >conftest.err
46513 rm -f conftest.er1
46514 cat conftest.err >&5
46515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46516 (exit $ac_status); } &&
46517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46519 (eval $ac_try) 2>&5
46520 ac_status=$?
46521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46522 (exit $ac_status); }; } &&
46523 { ac_try='test -s conftest$ac_exeext'
46524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46525 (eval $ac_try) 2>&5
46526 ac_status=$?
46527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46528 (exit $ac_status); }; }; then
46529 ac_cv_lib_unicows_main=yes
46530 else
46531 echo "$as_me: failed program was:" >&5
46532 sed 's/^/| /' conftest.$ac_ext >&5
46533
46534 ac_cv_lib_unicows_main=no
46535 fi
46536 rm -f conftest.err conftest.$ac_objext \
46537 conftest$ac_exeext conftest.$ac_ext
46538 LIBS=$ac_check_lib_save_LIBS
46539 fi
46540 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46541 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
46542 if test $ac_cv_lib_unicows_main = yes; then
46543
46544 cat >>confdefs.h <<\_ACEOF
46545 #define wxUSE_UNICODE_MSLU 1
46546 _ACEOF
46547
46548
46549 else
46550
46551 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46552 Applications will only run on Windows NT/2000/XP!" >&5
46553 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46554 Applications will only run on Windows NT/2000/XP!" >&2;}
46555 wxUSE_UNICODE_MSLU=no
46556
46557 fi
46558
46559 fi
46560 fi
46561
46562 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46563 cat >>confdefs.h <<\_ACEOF
46564 #define wxUSE_UNICODE_UTF8 1
46565 _ACEOF
46566
46567
46568 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46569 cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_UTF8_LOCALE_ONLY 1
46571 _ACEOF
46572
46573 fi
46574 fi
46575
46576 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
46577 cat >>confdefs.h <<\_ACEOF
46578 #define wxUSE_EXPERIMENTAL_PRINTF 1
46579 _ACEOF
46580
46581 fi
46582
46583
46584 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46585 cat >>confdefs.h <<\_ACEOF
46586 #define wxUSE_CONSTRAINTS 1
46587 _ACEOF
46588
46589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46590 fi
46591
46592 if test "$wxUSE_MDI" = "yes"; then
46593 cat >>confdefs.h <<\_ACEOF
46594 #define wxUSE_MDI 1
46595 _ACEOF
46596
46597
46598 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_MDI_ARCHITECTURE 1
46601 _ACEOF
46602
46603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46604 fi
46605 fi
46606
46607 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46610 _ACEOF
46611
46612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46613 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
46615 fi
46616 fi
46617
46618 if test "$wxUSE_HELP" = "yes"; then
46619 cat >>confdefs.h <<\_ACEOF
46620 #define wxUSE_HELP 1
46621 _ACEOF
46622
46623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46624
46625 if test "$wxUSE_MSW" = 1; then
46626 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46627 cat >>confdefs.h <<\_ACEOF
46628 #define wxUSE_MS_HTML_HELP 1
46629 _ACEOF
46630
46631 fi
46632 fi
46633
46634 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46635 if test "$wxUSE_HTML" = "yes"; then
46636 cat >>confdefs.h <<\_ACEOF
46637 #define wxUSE_WXHTML_HELP 1
46638 _ACEOF
46639
46640 else
46641 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46642 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46643 wxUSE_WXHTML_HELP=no
46644 fi
46645 fi
46646 fi
46647
46648 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46649 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46650 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
46651 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
46652 else
46653 cat >>confdefs.h <<\_ACEOF
46654 #define wxUSE_PRINTING_ARCHITECTURE 1
46655 _ACEOF
46656
46657 fi
46658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46659 fi
46660
46661 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46662 cat >>confdefs.h <<\_ACEOF
46663 #define wxUSE_POSTSCRIPT 1
46664 _ACEOF
46665
46666 fi
46667
46668 cat >>confdefs.h <<\_ACEOF
46669 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46670 _ACEOF
46671
46672
46673 cat >>confdefs.h <<\_ACEOF
46674 #define wxUSE_NORMALIZED_PS_FONTS 1
46675 _ACEOF
46676
46677
46678 if test "$wxUSE_SVG" = "yes"; then
46679 cat >>confdefs.h <<\_ACEOF
46680 #define wxUSE_SVG 1
46681 _ACEOF
46682
46683 fi
46684
46685
46686 if test "$wxUSE_METAFILE" = "yes"; then
46687 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46688 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46689 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46690 wxUSE_METAFILE=no
46691 fi
46692 fi
46693
46694
46695 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46696 -o "$wxUSE_CLIPBOARD" = "yes" \
46697 -o "$wxUSE_OLE" = "yes" \
46698 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46699 echo "$as_me:$LINENO: checking for ole2.h" >&5
46700 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
46701 if test "${ac_cv_header_ole2_h+set}" = set; then
46702 echo $ECHO_N "(cached) $ECHO_C" >&6
46703 else
46704 cat >conftest.$ac_ext <<_ACEOF
46705 /* confdefs.h. */
46706 _ACEOF
46707 cat confdefs.h >>conftest.$ac_ext
46708 cat >>conftest.$ac_ext <<_ACEOF
46709 /* end confdefs.h. */
46710
46711
46712 #include <ole2.h>
46713 _ACEOF
46714 rm -f conftest.$ac_objext
46715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46716 (eval $ac_compile) 2>conftest.er1
46717 ac_status=$?
46718 grep -v '^ *+' conftest.er1 >conftest.err
46719 rm -f conftest.er1
46720 cat conftest.err >&5
46721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46722 (exit $ac_status); } &&
46723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46725 (eval $ac_try) 2>&5
46726 ac_status=$?
46727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46728 (exit $ac_status); }; } &&
46729 { ac_try='test -s conftest.$ac_objext'
46730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46731 (eval $ac_try) 2>&5
46732 ac_status=$?
46733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46734 (exit $ac_status); }; }; then
46735 ac_cv_header_ole2_h=yes
46736 else
46737 echo "$as_me: failed program was:" >&5
46738 sed 's/^/| /' conftest.$ac_ext >&5
46739
46740 ac_cv_header_ole2_h=no
46741 fi
46742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46743 fi
46744 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46745 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
46746
46747
46748
46749 if test "$ac_cv_header_ole2_h" = "yes" ; then
46750 if test "$GCC" = yes ; then
46751 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46752 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
46753 cat >conftest.$ac_ext <<_ACEOF
46754 /* confdefs.h. */
46755 _ACEOF
46756 cat confdefs.h >>conftest.$ac_ext
46757 cat >>conftest.$ac_ext <<_ACEOF
46758 /* end confdefs.h. */
46759 #include <windows.h>
46760 #include <ole2.h>
46761 int
46762 main ()
46763 {
46764
46765 ;
46766 return 0;
46767 }
46768 _ACEOF
46769 rm -f conftest.$ac_objext
46770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46771 (eval $ac_compile) 2>conftest.er1
46772 ac_status=$?
46773 grep -v '^ *+' conftest.er1 >conftest.err
46774 rm -f conftest.er1
46775 cat conftest.err >&5
46776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46777 (exit $ac_status); } &&
46778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46780 (eval $ac_try) 2>&5
46781 ac_status=$?
46782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46783 (exit $ac_status); }; } &&
46784 { ac_try='test -s conftest.$ac_objext'
46785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46786 (eval $ac_try) 2>&5
46787 ac_status=$?
46788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46789 (exit $ac_status); }; }; then
46790 echo "$as_me:$LINENO: result: no" >&5
46791 echo "${ECHO_T}no" >&6
46792 else
46793 echo "$as_me: failed program was:" >&5
46794 sed 's/^/| /' conftest.$ac_ext >&5
46795
46796 echo "$as_me:$LINENO: result: yes" >&5
46797 echo "${ECHO_T}yes" >&6
46798 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46799 fi
46800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46801 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46802 if test "$wxUSE_OLE" = "yes" ; then
46803 cat >>confdefs.h <<\_ACEOF
46804 #define wxUSE_OLE 1
46805 _ACEOF
46806
46807 cat >>confdefs.h <<\_ACEOF
46808 #define wxUSE_OLE_AUTOMATION 1
46809 _ACEOF
46810
46811 cat >>confdefs.h <<\_ACEOF
46812 #define wxUSE_ACTIVEX 1
46813 _ACEOF
46814
46815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46816 fi
46817 fi
46818
46819 if test "$wxUSE_DATAOBJ" = "yes" ; then
46820 cat >>confdefs.h <<\_ACEOF
46821 #define wxUSE_DATAOBJ 1
46822 _ACEOF
46823
46824 fi
46825 else
46826 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46827 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46828
46829 wxUSE_CLIPBOARD=no
46830 wxUSE_DRAG_AND_DROP=no
46831 wxUSE_DATAOBJ=no
46832 wxUSE_OLE=no
46833 fi
46834
46835 if test "$wxUSE_METAFILE" = "yes"; then
46836 cat >>confdefs.h <<\_ACEOF
46837 #define wxUSE_METAFILE 1
46838 _ACEOF
46839
46840
46841 cat >>confdefs.h <<\_ACEOF
46842 #define wxUSE_ENH_METAFILE 1
46843 _ACEOF
46844
46845 fi
46846 fi
46847
46848 if test "$wxUSE_IPC" = "yes"; then
46849 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46850 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46851 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46852 wxUSE_IPC=no
46853 fi
46854
46855 if test "$wxUSE_IPC" = "yes"; then
46856 cat >>confdefs.h <<\_ACEOF
46857 #define wxUSE_IPC 1
46858 _ACEOF
46859
46860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46861 fi
46862 fi
46863
46864 if test "$wxUSE_DATAOBJ" = "yes"; then
46865 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46866 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46867 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46868 wxUSE_DATAOBJ=no
46869 else
46870 cat >>confdefs.h <<\_ACEOF
46871 #define wxUSE_DATAOBJ 1
46872 _ACEOF
46873
46874 fi
46875 else
46876 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46877 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46878 wxUSE_CLIPBOARD=no
46879 wxUSE_DRAG_AND_DROP=no
46880 fi
46881
46882 if test "$wxUSE_CLIPBOARD" = "yes"; then
46883 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46884 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46885 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46886 wxUSE_CLIPBOARD=no
46887 fi
46888
46889 if test "$wxUSE_CLIPBOARD" = "yes"; then
46890 cat >>confdefs.h <<\_ACEOF
46891 #define wxUSE_CLIPBOARD 1
46892 _ACEOF
46893
46894 fi
46895 fi
46896
46897 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46898 if test "$wxUSE_GTK" = 1; then
46899 if test "$WXGTK12" != 1; then
46900 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46901 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46902 wxUSE_DRAG_AND_DROP=no
46903 fi
46904 fi
46905
46906 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46907 "$wxUSE_DFB" = 1; then
46908 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46909 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46910 wxUSE_DRAG_AND_DROP=no
46911 fi
46912
46913 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46914 cat >>confdefs.h <<\_ACEOF
46915 #define wxUSE_DRAG_AND_DROP 1
46916 _ACEOF
46917
46918 fi
46919
46920 fi
46921
46922 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46924 fi
46925
46926 if test "$wxUSE_SPLINES" = "yes" ; then
46927 cat >>confdefs.h <<\_ACEOF
46928 #define wxUSE_SPLINES 1
46929 _ACEOF
46930
46931 fi
46932
46933 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46934 cat >>confdefs.h <<\_ACEOF
46935 #define wxUSE_MOUSEWHEEL 1
46936 _ACEOF
46937
46938 fi
46939
46940
46941 USES_CONTROLS=0
46942 if test "$wxUSE_CONTROLS" = "yes"; then
46943 USES_CONTROLS=1
46944 fi
46945
46946 if test "$wxUSE_ACCEL" = "yes"; then
46947 cat >>confdefs.h <<\_ACEOF
46948 #define wxUSE_ACCEL 1
46949 _ACEOF
46950
46951 USES_CONTROLS=1
46952 fi
46953
46954 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46955 cat >>confdefs.h <<\_ACEOF
46956 #define wxUSE_ANIMATIONCTRL 1
46957 _ACEOF
46958
46959 USES_CONTROLS=1
46960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46961 fi
46962
46963 if test "$wxUSE_BUTTON" = "yes"; then
46964 cat >>confdefs.h <<\_ACEOF
46965 #define wxUSE_BUTTON 1
46966 _ACEOF
46967
46968 USES_CONTROLS=1
46969 fi
46970
46971 if test "$wxUSE_BMPBUTTON" = "yes"; then
46972 cat >>confdefs.h <<\_ACEOF
46973 #define wxUSE_BMPBUTTON 1
46974 _ACEOF
46975
46976 USES_CONTROLS=1
46977 fi
46978
46979 if test "$wxUSE_CALCTRL" = "yes"; then
46980 cat >>confdefs.h <<\_ACEOF
46981 #define wxUSE_CALENDARCTRL 1
46982 _ACEOF
46983
46984 USES_CONTROLS=1
46985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46986 fi
46987
46988 if test "$wxUSE_CARET" = "yes"; then
46989 cat >>confdefs.h <<\_ACEOF
46990 #define wxUSE_CARET 1
46991 _ACEOF
46992
46993 USES_CONTROLS=1
46994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46995 fi
46996
46997 if test "$wxUSE_COLLPANE" = "yes"; then
46998 cat >>confdefs.h <<\_ACEOF
46999 #define wxUSE_COLLPANE 1
47000 _ACEOF
47001
47002 USES_CONTROLS=1
47003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47004 fi
47005
47006 if test "$wxUSE_COMBOBOX" = "yes"; then
47007 cat >>confdefs.h <<\_ACEOF
47008 #define wxUSE_COMBOBOX 1
47009 _ACEOF
47010
47011 USES_CONTROLS=1
47012 fi
47013
47014 if test "$wxUSE_COMBOCTRL" = "yes"; then
47015 cat >>confdefs.h <<\_ACEOF
47016 #define wxUSE_COMBOCTRL 1
47017 _ACEOF
47018
47019 USES_CONTROLS=1
47020 fi
47021
47022 if test "$wxUSE_CHOICE" = "yes"; then
47023 cat >>confdefs.h <<\_ACEOF
47024 #define wxUSE_CHOICE 1
47025 _ACEOF
47026
47027 USES_CONTROLS=1
47028 fi
47029
47030 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47031 cat >>confdefs.h <<\_ACEOF
47032 #define wxUSE_CHOICEBOOK 1
47033 _ACEOF
47034
47035 USES_CONTROLS=1
47036 fi
47037
47038 if test "$wxUSE_CHECKBOX" = "yes"; then
47039 cat >>confdefs.h <<\_ACEOF
47040 #define wxUSE_CHECKBOX 1
47041 _ACEOF
47042
47043 USES_CONTROLS=1
47044 fi
47045
47046 if test "$wxUSE_CHECKLST" = "yes"; then
47047 cat >>confdefs.h <<\_ACEOF
47048 #define wxUSE_CHECKLISTBOX 1
47049 _ACEOF
47050
47051 USES_CONTROLS=1
47052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47053 fi
47054
47055 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47056 cat >>confdefs.h <<\_ACEOF
47057 #define wxUSE_COLOURPICKERCTRL 1
47058 _ACEOF
47059
47060 USES_CONTROLS=1
47061 fi
47062
47063 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47064 cat >>confdefs.h <<\_ACEOF
47065 #define wxUSE_DATEPICKCTRL 1
47066 _ACEOF
47067
47068 USES_CONTROLS=1
47069 fi
47070
47071 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47072 cat >>confdefs.h <<\_ACEOF
47073 #define wxUSE_DIRPICKERCTRL 1
47074 _ACEOF
47075
47076 USES_CONTROLS=1
47077 fi
47078
47079 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47080 cat >>confdefs.h <<\_ACEOF
47081 #define wxUSE_FILEPICKERCTRL 1
47082 _ACEOF
47083
47084 USES_CONTROLS=1
47085 fi
47086
47087 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47088 cat >>confdefs.h <<\_ACEOF
47089 #define wxUSE_FONTPICKERCTRL 1
47090 _ACEOF
47091
47092 USES_CONTROLS=1
47093 fi
47094
47095 if test "$wxUSE_DISPLAY" = "yes"; then
47096 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47097 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47098 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47099 wxUSE_DISPLAY=no
47100 else
47101 cat >>confdefs.h <<\_ACEOF
47102 #define wxUSE_DISPLAY 1
47103 _ACEOF
47104
47105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47106 fi
47107 fi
47108
47109 if test "$wxUSE_DETECT_SM" = "yes"; then
47110 cat >>confdefs.h <<\_ACEOF
47111 #define wxUSE_DETECT_SM 1
47112 _ACEOF
47113
47114 fi
47115
47116 if test "$wxUSE_GAUGE" = "yes"; then
47117 cat >>confdefs.h <<\_ACEOF
47118 #define wxUSE_GAUGE 1
47119 _ACEOF
47120
47121 USES_CONTROLS=1
47122 fi
47123
47124 if test "$wxUSE_GRID" = "yes"; then
47125 cat >>confdefs.h <<\_ACEOF
47126 #define wxUSE_GRID 1
47127 _ACEOF
47128
47129 USES_CONTROLS=1
47130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47131 fi
47132
47133 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47134 cat >>confdefs.h <<\_ACEOF
47135 #define wxUSE_HYPERLINKCTRL 1
47136 _ACEOF
47137
47138 USES_CONTROLS=1
47139 fi
47140
47141 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47142 cat >>confdefs.h <<\_ACEOF
47143 #define wxUSE_BITMAPCOMBOBOX 1
47144 _ACEOF
47145
47146 USES_CONTROLS=1
47147 fi
47148
47149 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47150 cat >>confdefs.h <<\_ACEOF
47151 #define wxUSE_DATAVIEWCTRL 1
47152 _ACEOF
47153
47154 USES_CONTROLS=1
47155 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47156 fi
47157
47158 if test "$wxUSE_IMAGLIST" = "yes"; then
47159 cat >>confdefs.h <<\_ACEOF
47160 #define wxUSE_IMAGLIST 1
47161 _ACEOF
47162
47163 fi
47164
47165 if test "$wxUSE_LISTBOOK" = "yes"; then
47166 cat >>confdefs.h <<\_ACEOF
47167 #define wxUSE_LISTBOOK 1
47168 _ACEOF
47169
47170 USES_CONTROLS=1
47171 fi
47172
47173 if test "$wxUSE_LISTBOX" = "yes"; then
47174 cat >>confdefs.h <<\_ACEOF
47175 #define wxUSE_LISTBOX 1
47176 _ACEOF
47177
47178 USES_CONTROLS=1
47179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47180 fi
47181
47182 if test "$wxUSE_LISTCTRL" = "yes"; then
47183 if test "$wxUSE_IMAGLIST" = "yes"; then
47184 cat >>confdefs.h <<\_ACEOF
47185 #define wxUSE_LISTCTRL 1
47186 _ACEOF
47187
47188 USES_CONTROLS=1
47189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47190 else
47191 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47192 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47193 fi
47194 fi
47195
47196 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47197 cat >>confdefs.h <<\_ACEOF
47198 #define wxUSE_EDITABLELISTBOX 1
47199 _ACEOF
47200
47201 USES_CONTROLS=1
47202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47203 fi
47204
47205 if test "$wxUSE_NOTEBOOK" = "yes"; then
47206 cat >>confdefs.h <<\_ACEOF
47207 #define wxUSE_NOTEBOOK 1
47208 _ACEOF
47209
47210 USES_CONTROLS=1
47211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47212 fi
47213
47214 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47215 cat >>confdefs.h <<\_ACEOF
47216 #define wxUSE_ODCOMBOBOX 1
47217 _ACEOF
47218
47219 USES_CONTROLS=1
47220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47221 fi
47222
47223
47224 if test "$wxUSE_RADIOBOX" = "yes"; then
47225 cat >>confdefs.h <<\_ACEOF
47226 #define wxUSE_RADIOBOX 1
47227 _ACEOF
47228
47229 USES_CONTROLS=1
47230 fi
47231
47232 if test "$wxUSE_RADIOBTN" = "yes"; then
47233 cat >>confdefs.h <<\_ACEOF
47234 #define wxUSE_RADIOBTN 1
47235 _ACEOF
47236
47237 USES_CONTROLS=1
47238 fi
47239
47240 if test "$wxUSE_SASH" = "yes"; then
47241 cat >>confdefs.h <<\_ACEOF
47242 #define wxUSE_SASH 1
47243 _ACEOF
47244
47245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47246 fi
47247
47248 if test "$wxUSE_SCROLLBAR" = "yes"; then
47249 cat >>confdefs.h <<\_ACEOF
47250 #define wxUSE_SCROLLBAR 1
47251 _ACEOF
47252
47253 USES_CONTROLS=1
47254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47255 fi
47256
47257 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47258 cat >>confdefs.h <<\_ACEOF
47259 #define wxUSE_SEARCHCTRL 1
47260 _ACEOF
47261
47262 USES_CONTROLS=1
47263 fi
47264
47265 if test "$wxUSE_SLIDER" = "yes"; then
47266 cat >>confdefs.h <<\_ACEOF
47267 #define wxUSE_SLIDER 1
47268 _ACEOF
47269
47270 USES_CONTROLS=1
47271 fi
47272
47273 if test "$wxUSE_SPINBTN" = "yes"; then
47274 cat >>confdefs.h <<\_ACEOF
47275 #define wxUSE_SPINBTN 1
47276 _ACEOF
47277
47278 USES_CONTROLS=1
47279 fi
47280
47281 if test "$wxUSE_SPINCTRL" = "yes"; then
47282 cat >>confdefs.h <<\_ACEOF
47283 #define wxUSE_SPINCTRL 1
47284 _ACEOF
47285
47286 USES_CONTROLS=1
47287 fi
47288
47289 if test "$wxUSE_SPLITTER" = "yes"; then
47290 cat >>confdefs.h <<\_ACEOF
47291 #define wxUSE_SPLITTER 1
47292 _ACEOF
47293
47294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47295 fi
47296
47297 if test "$wxUSE_STATBMP" = "yes"; then
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_STATBMP 1
47300 _ACEOF
47301
47302 USES_CONTROLS=1
47303 fi
47304
47305 if test "$wxUSE_STATBOX" = "yes"; then
47306 cat >>confdefs.h <<\_ACEOF
47307 #define wxUSE_STATBOX 1
47308 _ACEOF
47309
47310 USES_CONTROLS=1
47311 fi
47312
47313 if test "$wxUSE_STATTEXT" = "yes"; then
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_STATTEXT 1
47316 _ACEOF
47317
47318 USES_CONTROLS=1
47319 fi
47320
47321 if test "$wxUSE_STATLINE" = "yes"; then
47322 cat >>confdefs.h <<\_ACEOF
47323 #define wxUSE_STATLINE 1
47324 _ACEOF
47325
47326 USES_CONTROLS=1
47327 fi
47328
47329 if test "$wxUSE_STATUSBAR" = "yes"; then
47330 cat >>confdefs.h <<\_ACEOF
47331 #define wxUSE_NATIVE_STATUSBAR 1
47332 _ACEOF
47333
47334 cat >>confdefs.h <<\_ACEOF
47335 #define wxUSE_STATUSBAR 1
47336 _ACEOF
47337
47338 USES_CONTROLS=1
47339
47340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47341 fi
47342
47343 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47344 cat >>confdefs.h <<\_ACEOF
47345 #define wxUSE_TAB_DIALOG 1
47346 _ACEOF
47347
47348 fi
47349
47350 if test "$wxUSE_TEXTCTRL" = "yes"; then
47351 cat >>confdefs.h <<\_ACEOF
47352 #define wxUSE_TEXTCTRL 1
47353 _ACEOF
47354
47355 USES_CONTROLS=1
47356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47357 fi
47358
47359 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47360 if test "$wxUSE_COCOA" = 1 ; then
47361 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47362 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47363 wxUSE_TOGGLEBTN=no
47364 fi
47365
47366 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_TOGGLEBTN 1
47369 _ACEOF
47370
47371 USES_CONTROLS=1
47372 fi
47373 fi
47374
47375 if test "$wxUSE_TOOLBAR" = "yes"; then
47376 cat >>confdefs.h <<\_ACEOF
47377 #define wxUSE_TOOLBAR 1
47378 _ACEOF
47379
47380 USES_CONTROLS=1
47381
47382 if test "$wxUSE_UNIVERSAL" = "yes"; then
47383 wxUSE_TOOLBAR_NATIVE="no"
47384 else
47385 wxUSE_TOOLBAR_NATIVE="yes"
47386 cat >>confdefs.h <<\_ACEOF
47387 #define wxUSE_TOOLBAR_NATIVE 1
47388 _ACEOF
47389
47390 fi
47391
47392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47393 fi
47394
47395 if test "$wxUSE_TOOLTIPS" = "yes"; then
47396 if test "$wxUSE_MOTIF" = 1; then
47397 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47398 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47399 else
47400 if test "$wxUSE_UNIVERSAL" = "yes"; then
47401 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47402 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47403 else
47404 cat >>confdefs.h <<\_ACEOF
47405 #define wxUSE_TOOLTIPS 1
47406 _ACEOF
47407
47408 fi
47409 fi
47410 fi
47411
47412 if test "$wxUSE_TREEBOOK" = "yes"; then
47413 cat >>confdefs.h <<\_ACEOF
47414 #define wxUSE_TREEBOOK 1
47415 _ACEOF
47416
47417 USES_CONTROLS=1
47418 fi
47419
47420 if test "$wxUSE_TOOLBOOK" = "yes"; then
47421 cat >>confdefs.h <<\_ACEOF
47422 #define wxUSE_TOOLBOOK 1
47423 _ACEOF
47424
47425 USES_CONTROLS=1
47426 fi
47427
47428 if test "$wxUSE_TREECTRL" = "yes"; then
47429 if test "$wxUSE_IMAGLIST" = "yes"; then
47430 cat >>confdefs.h <<\_ACEOF
47431 #define wxUSE_TREECTRL 1
47432 _ACEOF
47433
47434 USES_CONTROLS=1
47435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47436 else
47437 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47438 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47439 fi
47440 fi
47441
47442 if test "$wxUSE_POPUPWIN" = "yes"; then
47443 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47444 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47445 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47446 else
47447 if test "$wxUSE_PM" = 1; then
47448 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47449 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47450 else
47451 cat >>confdefs.h <<\_ACEOF
47452 #define wxUSE_POPUPWIN 1
47453 _ACEOF
47454
47455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47456
47457 USES_CONTROLS=1
47458 fi
47459 fi
47460 fi
47461
47462 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47463 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47464 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47465 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47466 else
47467 cat >>confdefs.h <<\_ACEOF
47468 #define wxUSE_DIALUP_MANAGER 1
47469 _ACEOF
47470
47471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47472 fi
47473 fi
47474
47475 if test "$wxUSE_TIPWINDOW" = "yes"; then
47476 if test "$wxUSE_PM" = 1; then
47477 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47478 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47479 else
47480 cat >>confdefs.h <<\_ACEOF
47481 #define wxUSE_TIPWINDOW 1
47482 _ACEOF
47483
47484 fi
47485 fi
47486
47487 if test "$USES_CONTROLS" = 1; then
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_CONTROLS 1
47490 _ACEOF
47491
47492 fi
47493
47494
47495 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47496 cat >>confdefs.h <<\_ACEOF
47497 #define wxUSE_ACCESSIBILITY 1
47498 _ACEOF
47499
47500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47501 fi
47502
47503 if test "$wxUSE_DC_CACHEING" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_DC_CACHEING 1
47506 _ACEOF
47507
47508 fi
47509
47510 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_DRAGIMAGE 1
47513 _ACEOF
47514
47515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47516 fi
47517
47518 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47519 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47520 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47521 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47522 else
47523 cat >>confdefs.h <<\_ACEOF
47524 #define wxUSE_EXCEPTIONS 1
47525 _ACEOF
47526
47527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47528 fi
47529 fi
47530
47531 USE_HTML=0
47532 if test "$wxUSE_HTML" = "yes"; then
47533 cat >>confdefs.h <<\_ACEOF
47534 #define wxUSE_HTML 1
47535 _ACEOF
47536
47537 USE_HTML=1
47538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47539 if test "$wxUSE_MAC" = 1; then
47540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47541 fi
47542 fi
47543 if test "$wxUSE_WEBKIT" = "yes"; then
47544 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47545 old_CPPFLAGS="$CPPFLAGS"
47546 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47547 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47548 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
47549 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47550 echo $ECHO_N "(cached) $ECHO_C" >&6
47551 else
47552 cat >conftest.$ac_ext <<_ACEOF
47553 /* confdefs.h. */
47554 _ACEOF
47555 cat confdefs.h >>conftest.$ac_ext
47556 cat >>conftest.$ac_ext <<_ACEOF
47557 /* end confdefs.h. */
47558
47559 #include <Carbon/Carbon.h>
47560 #include <WebKit/WebKit.h>
47561
47562
47563 #include <WebKit/HIWebView.h>
47564 _ACEOF
47565 rm -f conftest.$ac_objext
47566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47567 (eval $ac_compile) 2>conftest.er1
47568 ac_status=$?
47569 grep -v '^ *+' conftest.er1 >conftest.err
47570 rm -f conftest.er1
47571 cat conftest.err >&5
47572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47573 (exit $ac_status); } &&
47574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47576 (eval $ac_try) 2>&5
47577 ac_status=$?
47578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47579 (exit $ac_status); }; } &&
47580 { ac_try='test -s conftest.$ac_objext'
47581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47582 (eval $ac_try) 2>&5
47583 ac_status=$?
47584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47585 (exit $ac_status); }; }; then
47586 ac_cv_header_WebKit_HIWebView_h=yes
47587 else
47588 echo "$as_me: failed program was:" >&5
47589 sed 's/^/| /' conftest.$ac_ext >&5
47590
47591 ac_cv_header_WebKit_HIWebView_h=no
47592 fi
47593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47594 fi
47595 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47596 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
47597 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47598
47599 cat >>confdefs.h <<\_ACEOF
47600 #define wxUSE_WEBKIT 1
47601 _ACEOF
47602
47603 WEBKIT_LINK="-framework WebKit"
47604
47605 else
47606
47607 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47608 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47609 wxUSE_WEBKIT=no
47610
47611 fi
47612
47613
47614 CPPFLAGS="$old_CPPFLAGS"
47615 elif test "$wxUSE_COCOA" = 1; then
47616 cat >>confdefs.h <<\_ACEOF
47617 #define wxUSE_WEBKIT 1
47618 _ACEOF
47619
47620 else
47621 wxUSE_WEBKIT=no
47622 fi
47623 fi
47624
47625 USE_XRC=0
47626 if test "$wxUSE_XRC" = "yes"; then
47627 if test "$wxUSE_XML" != "yes"; then
47628 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47629 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47630 wxUSE_XRC=no
47631 else
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_XRC 1
47634 _ACEOF
47635
47636 USE_XRC=1
47637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47638 fi
47639 fi
47640
47641 USE_AUI=0
47642 if test "$wxUSE_AUI" = "yes"; then
47643 cat >>confdefs.h <<\_ACEOF
47644 #define wxUSE_AUI 1
47645 _ACEOF
47646
47647 USE_AUI=1
47648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47649 fi
47650
47651 USE_STC=0
47652 if test "$wxUSE_STC" = "yes"; then
47653 cat >>confdefs.h <<\_ACEOF
47654 #define wxUSE_STC 1
47655 _ACEOF
47656
47657 USE_STC=1
47658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47659 fi
47660
47661 if test "$wxUSE_MENUS" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_MENUS 1
47664 _ACEOF
47665
47666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47667 fi
47668
47669 if test "$wxUSE_METAFILE" = "yes"; then
47670 cat >>confdefs.h <<\_ACEOF
47671 #define wxUSE_METAFILE 1
47672 _ACEOF
47673
47674 fi
47675
47676 if test "$wxUSE_MIMETYPE" = "yes"; then
47677 cat >>confdefs.h <<\_ACEOF
47678 #define wxUSE_MIMETYPE 1
47679 _ACEOF
47680
47681 fi
47682
47683 if test "$wxUSE_MINIFRAME" = "yes"; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_MINIFRAME 1
47686 _ACEOF
47687
47688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
47689 fi
47690
47691 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_SYSTEM_OPTIONS 1
47694 _ACEOF
47695
47696 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
47697 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
47698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47699 fi
47700 fi
47701
47702
47703 if test "$wxUSE_VALIDATORS" = "yes"; then
47704 cat >>confdefs.h <<\_ACEOF
47705 #define wxUSE_VALIDATORS 1
47706 _ACEOF
47707
47708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47709 fi
47710
47711 if test "$wxUSE_PALETTE" = "yes" ; then
47712 if test "$wxUSE_DFB" = 1; then
47713 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47714 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47715 wxUSE_PALETTE=no
47716 else
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_PALETTE 1
47719 _ACEOF
47720
47721 fi
47722 fi
47723
47724 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47725 LIBS=" -lunicows $LIBS"
47726 fi
47727
47728 USE_RICHTEXT=0
47729 if test "$wxUSE_RICHTEXT" = "yes"; then
47730 cat >>confdefs.h <<\_ACEOF
47731 #define wxUSE_RICHTEXT 1
47732 _ACEOF
47733
47734 USE_RICHTEXT=1
47735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47736 fi
47737
47738
47739 if test "$wxUSE_IMAGE" = "yes" ; then
47740 cat >>confdefs.h <<\_ACEOF
47741 #define wxUSE_IMAGE 1
47742 _ACEOF
47743
47744
47745 if test "$wxUSE_GIF" = "yes" ; then
47746 cat >>confdefs.h <<\_ACEOF
47747 #define wxUSE_GIF 1
47748 _ACEOF
47749
47750 fi
47751
47752 if test "$wxUSE_PCX" = "yes" ; then
47753 cat >>confdefs.h <<\_ACEOF
47754 #define wxUSE_PCX 1
47755 _ACEOF
47756
47757 fi
47758
47759 if test "$wxUSE_TGA" = "yes" ; then
47760 cat >>confdefs.h <<\_ACEOF
47761 #define wxUSE_TGA 1
47762 _ACEOF
47763
47764 fi
47765
47766 if test "$wxUSE_IFF" = "yes" ; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_IFF 1
47769 _ACEOF
47770
47771 fi
47772
47773 if test "$wxUSE_PNM" = "yes" ; then
47774 cat >>confdefs.h <<\_ACEOF
47775 #define wxUSE_PNM 1
47776 _ACEOF
47777
47778 fi
47779
47780 if test "$wxUSE_XPM" = "yes" ; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_XPM 1
47783 _ACEOF
47784
47785 fi
47786
47787 if test "$wxUSE_ICO_CUR" = "yes" ; then
47788 cat >>confdefs.h <<\_ACEOF
47789 #define wxUSE_ICO_CUR 1
47790 _ACEOF
47791
47792 fi
47793 fi
47794
47795
47796 if test "$wxUSE_ABOUTDLG" = "yes"; then
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_ABOUTDLG 1
47799 _ACEOF
47800
47801 fi
47802
47803 if test "$wxUSE_CHOICEDLG" = "yes"; then
47804 cat >>confdefs.h <<\_ACEOF
47805 #define wxUSE_CHOICEDLG 1
47806 _ACEOF
47807
47808 fi
47809
47810 if test "$wxUSE_COLOURDLG" = "yes"; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_COLOURDLG 1
47813 _ACEOF
47814
47815 fi
47816
47817 if test "$wxUSE_FILEDLG" = "yes"; then
47818 cat >>confdefs.h <<\_ACEOF
47819 #define wxUSE_FILEDLG 1
47820 _ACEOF
47821
47822 fi
47823
47824 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47825 cat >>confdefs.h <<\_ACEOF
47826 #define wxUSE_FINDREPLDLG 1
47827 _ACEOF
47828
47829 fi
47830
47831 if test "$wxUSE_FONTDLG" = "yes"; then
47832 cat >>confdefs.h <<\_ACEOF
47833 #define wxUSE_FONTDLG 1
47834 _ACEOF
47835
47836 fi
47837
47838 if test "$wxUSE_DIRDLG" = "yes"; then
47839 if test "$wxUSE_TREECTRL" != "yes"; then
47840 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47841 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47842 else
47843 cat >>confdefs.h <<\_ACEOF
47844 #define wxUSE_DIRDLG 1
47845 _ACEOF
47846
47847 fi
47848 fi
47849
47850 if test "$wxUSE_MSGDLG" = "yes"; then
47851 cat >>confdefs.h <<\_ACEOF
47852 #define wxUSE_MSGDLG 1
47853 _ACEOF
47854
47855 fi
47856
47857 if test "$wxUSE_NUMBERDLG" = "yes"; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_NUMBERDLG 1
47860 _ACEOF
47861
47862 fi
47863
47864 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47865 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47866 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47867 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47868 else
47869 cat >>confdefs.h <<\_ACEOF
47870 #define wxUSE_PROGRESSDLG 1
47871 _ACEOF
47872
47873 fi
47874 fi
47875
47876 if test "$wxUSE_SPLASH" = "yes"; then
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_SPLASH 1
47879 _ACEOF
47880
47881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47882 fi
47883
47884 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47885 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47886 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47887 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47888 else
47889 cat >>confdefs.h <<\_ACEOF
47890 #define wxUSE_STARTUP_TIPS 1
47891 _ACEOF
47892
47893 fi
47894 fi
47895
47896 if test "$wxUSE_TEXTDLG" = "yes"; then
47897 cat >>confdefs.h <<\_ACEOF
47898 #define wxUSE_TEXTDLG 1
47899 _ACEOF
47900
47901 fi
47902
47903 if test "$wxUSE_WIZARDDLG" = "yes"; then
47904 cat >>confdefs.h <<\_ACEOF
47905 #define wxUSE_WIZARDDLG 1
47906 _ACEOF
47907
47908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47909 fi
47910
47911
47912 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47913 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47914 cat >>confdefs.h <<\_ACEOF
47915 #define wxUSE_GRAPHICS_CONTEXT 1
47916 _ACEOF
47917
47918 elif test "$wxUSE_GTK" != 1; then
47919 cat >>confdefs.h <<\_ACEOF
47920 #define wxUSE_GRAPHICS_CONTEXT 1
47921 _ACEOF
47922
47923 else
47924
47925 pkg_failed=no
47926 echo "$as_me:$LINENO: checking for CAIRO" >&5
47927 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47928
47929 if test -n "$PKG_CONFIG"; then
47930 if test -n "$CAIRO_CFLAGS"; then
47931 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47932 else
47933 if test -n "$PKG_CONFIG" && \
47934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47935 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47936 ac_status=$?
47937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47938 (exit $ac_status); }; then
47939 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47940 else
47941 pkg_failed=yes
47942 fi
47943 fi
47944 else
47945 pkg_failed=untried
47946 fi
47947 if test -n "$PKG_CONFIG"; then
47948 if test -n "$CAIRO_LIBS"; then
47949 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47950 else
47951 if test -n "$PKG_CONFIG" && \
47952 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47953 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47954 ac_status=$?
47955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47956 (exit $ac_status); }; then
47957 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47958 else
47959 pkg_failed=yes
47960 fi
47961 fi
47962 else
47963 pkg_failed=untried
47964 fi
47965
47966
47967
47968 if test $pkg_failed = yes; then
47969
47970 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47971 _pkg_short_errors_supported=yes
47972 else
47973 _pkg_short_errors_supported=no
47974 fi
47975 if test $_pkg_short_errors_supported = yes; then
47976 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47977 else
47978 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47979 fi
47980 # Put the nasty error message in config.log where it belongs
47981 echo "$CAIRO_PKG_ERRORS" >&5
47982
47983 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47984 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47985
47986 elif test $pkg_failed = untried; then
47987 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47988 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47989
47990 else
47991 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47992 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47993 echo "$as_me:$LINENO: result: yes" >&5
47994 echo "${ECHO_T}yes" >&6
47995 cat >>confdefs.h <<\_ACEOF
47996 #define wxUSE_GRAPHICS_CONTEXT 1
47997 _ACEOF
47998
47999 fi
48000 fi
48001 fi
48002
48003
48004 USE_MEDIA=0
48005
48006 if test "$wxUSE_MEDIACTRL" = "yes"; then
48007 USE_MEDIA=1
48008
48009 if test "$wxUSE_GTK" = 1; then
48010 wxUSE_GSTREAMER="no"
48011
48012 GST_VERSION_MAJOR=0
48013 GST_VERSION_MINOR=10
48014 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48015
48016 if test "$wxUSE_GSTREAMER8" = "no"; then
48017
48018 pkg_failed=no
48019 echo "$as_me:$LINENO: checking for GST" >&5
48020 echo $ECHO_N "checking for GST... $ECHO_C" >&6
48021
48022 if test -n "$PKG_CONFIG"; then
48023 if test -n "$GST_CFLAGS"; then
48024 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48025 else
48026 if test -n "$PKG_CONFIG" && \
48027 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48028 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48029 ac_status=$?
48030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48031 (exit $ac_status); }; then
48032 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48033 else
48034 pkg_failed=yes
48035 fi
48036 fi
48037 else
48038 pkg_failed=untried
48039 fi
48040 if test -n "$PKG_CONFIG"; then
48041 if test -n "$GST_LIBS"; then
48042 pkg_cv_GST_LIBS="$GST_LIBS"
48043 else
48044 if test -n "$PKG_CONFIG" && \
48045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48046 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48047 ac_status=$?
48048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48049 (exit $ac_status); }; then
48050 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48051 else
48052 pkg_failed=yes
48053 fi
48054 fi
48055 else
48056 pkg_failed=untried
48057 fi
48058
48059
48060
48061 if test $pkg_failed = yes; then
48062
48063 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48064 _pkg_short_errors_supported=yes
48065 else
48066 _pkg_short_errors_supported=no
48067 fi
48068 if test $_pkg_short_errors_supported = yes; then
48069 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48070 else
48071 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48072 fi
48073 # Put the nasty error message in config.log where it belongs
48074 echo "$GST_PKG_ERRORS" >&5
48075
48076
48077 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48078 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48079 GST_VERSION_MINOR=8
48080
48081
48082 elif test $pkg_failed = untried; then
48083
48084 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48085 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48086 GST_VERSION_MINOR=8
48087
48088
48089 else
48090 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48091 GST_LIBS=$pkg_cv_GST_LIBS
48092 echo "$as_me:$LINENO: result: yes" >&5
48093 echo "${ECHO_T}yes" >&6
48094
48095 wxUSE_GSTREAMER="yes"
48096 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48097
48098 fi
48099 else
48100 GST_VERSION_MINOR=8
48101 fi
48102
48103 if test $GST_VERSION_MINOR = "8"; then
48104 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48105
48106 pkg_failed=no
48107 echo "$as_me:$LINENO: checking for GST" >&5
48108 echo $ECHO_N "checking for GST... $ECHO_C" >&6
48109
48110 if test -n "$PKG_CONFIG"; then
48111 if test -n "$GST_CFLAGS"; then
48112 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48113 else
48114 if test -n "$PKG_CONFIG" && \
48115 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48116 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48117 ac_status=$?
48118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48119 (exit $ac_status); }; then
48120 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48121 else
48122 pkg_failed=yes
48123 fi
48124 fi
48125 else
48126 pkg_failed=untried
48127 fi
48128 if test -n "$PKG_CONFIG"; then
48129 if test -n "$GST_LIBS"; then
48130 pkg_cv_GST_LIBS="$GST_LIBS"
48131 else
48132 if test -n "$PKG_CONFIG" && \
48133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48134 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48135 ac_status=$?
48136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48137 (exit $ac_status); }; then
48138 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48139 else
48140 pkg_failed=yes
48141 fi
48142 fi
48143 else
48144 pkg_failed=untried
48145 fi
48146
48147
48148
48149 if test $pkg_failed = yes; then
48150
48151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48152 _pkg_short_errors_supported=yes
48153 else
48154 _pkg_short_errors_supported=no
48155 fi
48156 if test $_pkg_short_errors_supported = yes; then
48157 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48158 else
48159 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48160 fi
48161 # Put the nasty error message in config.log where it belongs
48162 echo "$GST_PKG_ERRORS" >&5
48163
48164
48165 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48166 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48167
48168 elif test $pkg_failed = untried; then
48169
48170 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48171 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48172
48173 else
48174 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48175 GST_LIBS=$pkg_cv_GST_LIBS
48176 echo "$as_me:$LINENO: result: yes" >&5
48177 echo "${ECHO_T}yes" >&6
48178 wxUSE_GSTREAMER="yes"
48179 fi
48180 fi
48181
48182
48183 if test "$wxUSE_GSTREAMER" = "yes"; then
48184 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48185 LIBS="$GST_LIBS $LIBS"
48186
48187 cat >>confdefs.h <<\_ACEOF
48188 #define wxUSE_GSTREAMER 1
48189 _ACEOF
48190
48191 else
48192 USE_MEDIA=0
48193 fi
48194 fi
48195
48196 if test $USE_MEDIA = 1; then
48197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48198 cat >>confdefs.h <<\_ACEOF
48199 #define wxUSE_MEDIACTRL 1
48200 _ACEOF
48201
48202 fi
48203 fi
48204
48205
48206 if test "$cross_compiling" = "yes"; then
48207 OSINFO="\"$host\""
48208 else
48209 OSINFO=`uname -s -r -m`
48210 OSINFO="\"$OSINFO\""
48211 fi
48212
48213 cat >>confdefs.h <<_ACEOF
48214 #define WXWIN_OS_DESCRIPTION $OSINFO
48215 _ACEOF
48216
48217
48218
48219 if test "x$prefix" != "xNONE"; then
48220 wxPREFIX=$prefix
48221 else
48222 wxPREFIX=$ac_default_prefix
48223 fi
48224
48225 cat >>confdefs.h <<_ACEOF
48226 #define wxINSTALL_PREFIX "$wxPREFIX"
48227 _ACEOF
48228
48229
48230
48231
48232 STD_BASE_LIBS="base"
48233 STD_GUI_LIBS=""
48234 BUILT_WX_LIBS="base"
48235 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48236
48237 if test "$wxUSE_SOCKETS" = "yes" ; then
48238 STD_BASE_LIBS="net $STD_BASE_LIBS"
48239 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48240 fi
48241 if test "$wxUSE_ODBC" != "no" ; then
48242 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
48243 fi
48244 if test "$wxUSE_XML" = "yes" ; then
48245 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48246 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48247 fi
48248
48249 if test "$wxUSE_GUI" = "yes"; then
48250 STD_GUI_LIBS="adv core"
48251 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48252
48253 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48254 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48255 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48256 fi
48257 if test "$wxUSE_ODBC" != "no" ; then
48258 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
48259 fi
48260 if test "$wxUSE_HTML" = "yes" ; then
48261 STD_GUI_LIBS="html $STD_GUI_LIBS"
48262 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48263 fi
48264 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48265 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48266 fi
48267 if test "$wxUSE_OPENGL" = "yes" ; then
48268 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48269 fi
48270 if test "$wxUSE_AUI" = "yes" ; then
48271 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48272 fi
48273 if test "$wxUSE_STC" = "yes" ; then
48274 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48275 fi
48276 if test "$wxUSE_XRC" = "yes" ; then
48277 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48278 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48279 fi
48280 fi
48281
48282
48283
48284
48285
48286
48287
48288
48289 if test "$wxUSE_MAC" = 1 ; then
48290 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48291 if test "$USE_DARWIN" = 1; then
48292 LDFLAGS="$LDFLAGS -framework QuickTime"
48293 else
48294 LDFLAGS="$LDFLAGS -lQuickTimeLib"
48295 fi
48296 fi
48297 if test "$USE_DARWIN" = 1; then
48298 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48299 else
48300 LDFLAGS="$LDFLAGS -lCarbonLib"
48301 fi
48302 fi
48303 if test "$wxUSE_COCOA" = 1 ; then
48304 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
48305 if test "$wxUSE_MEDIACTRL" = "yes"; then
48306 LDFLAGS="$LDFLAGS -framework QuickTime"
48307 fi
48308 fi
48309 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48310 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48311 fi
48312
48313 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48314
48315 if test "$wxUSE_GUI" = "yes"; then
48316
48317
48318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48319 dynamic erase event exec font image minimal mobile \
48320 mobile/wxedit mobile/styles propsize render \
48321 rotate shaped svg taborder vscroll widgets"
48322
48323 if test "$wxUSE_MONOLITHIC" != "yes"; then
48324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48325 fi
48326 if test "$TOOLKIT" = "MSW"; then
48327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48328 if test "$wxUSE_UNIVERSAL" != "yes"; then
48329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48330 fi
48331 fi
48332 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48334 fi
48335 else
48336 SAMPLES_SUBDIRS="console"
48337 fi
48338
48339
48340 if test "x$INTELCC" = "xyes" ; then
48341 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
48342 elif test "$GCC" = yes ; then
48343 CWARNINGS="-Wall -Wundef"
48344 fi
48345
48346 if test "x$INTELCXX" = "xyes" ; then
48347 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
48348 elif test "$GXX" = yes ; then
48349 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
48350 fi
48351
48352
48353 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48354 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48355
48356
48357 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48358 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48359 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48360 $CPPFLAGS `
48361
48362 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48363 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48364 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48365
48366 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48367
48368
48369 if test "x$MWCC" = "xyes"; then
48370
48371 CC="$CC -cwd source -I-"
48372 CXX="$CXX -cwd source -I-"
48373 fi
48374
48375
48376 LIBS=`echo $LIBS`
48377 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48378 EXTRALIBS_XML="$EXPAT_LINK"
48379 EXTRALIBS_HTML="$MSPACK_LINK"
48380 EXTRALIBS_ODBC="$ODBC_LINK"
48381 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48382 if test "$wxUSE_GUI" = "yes"; then
48383 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48384 fi
48385 if test "$wxUSE_OPENGL" = "yes"; then
48386 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48387 fi
48388
48389 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48390
48391 WXCONFIG_LIBS="$LIBS"
48392
48393 if test "$wxUSE_REGEX" = "builtin" ; then
48394 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48395 fi
48396 if test "$wxUSE_EXPAT" = "builtin" ; then
48397 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48398 fi
48399 if test "$wxUSE_ODBC" = "builtin" ; then
48400 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
48401 fi
48402 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48403 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48404 fi
48405 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48406 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48407 fi
48408 if test "$wxUSE_LIBPNG" = "builtin" ; then
48409 wxconfig_3rdparty="png $wxconfig_3rdparty"
48410 fi
48411 if test "$wxUSE_ZLIB" = "builtin" ; then
48412 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48413 fi
48414
48415 for i in $wxconfig_3rdparty ; do
48416 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48417 done
48418
48419
48420 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48421 WXUNIV=1
48422
48423 case "$wxUNIV_THEMES" in
48424 ''|all)
48425 cat >>confdefs.h <<\_ACEOF
48426 #define wxUSE_ALL_THEMES 1
48427 _ACEOF
48428
48429 ;;
48430
48431 *)
48432 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48433 cat >>confdefs.h <<_ACEOF
48434 #define wxUSE_THEME_$t 1
48435 _ACEOF
48436
48437 done
48438 esac
48439 else
48440 WXUNIV=0
48441 fi
48442
48443
48444
48445
48446
48447
48448
48449
48450
48451 if test $wxUSE_MONOLITHIC = "yes" ; then
48452 MONOLITHIC=1
48453 else
48454 MONOLITHIC=0
48455 fi
48456
48457 if test $wxUSE_PLUGINS = "yes" ; then
48458 USE_PLUGINS=1
48459 else
48460 USE_PLUGINS=0
48461 fi
48462
48463 if test $wxUSE_ODBC != "no" ; then
48464 USE_ODBC=1
48465 else
48466 USE_ODBC=0
48467 fi
48468
48469 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48470 USE_QA=1
48471 else
48472 USE_QA=0
48473 fi
48474
48475 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48476 OFFICIAL_BUILD=1
48477 else
48478 OFFICIAL_BUILD=0
48479 fi
48480
48481
48482
48483
48484
48485
48486
48487
48488
48489
48490
48491
48492
48493
48494
48495
48496
48497
48498
48499
48500
48501
48502
48503
48504
48505
48506 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48507
48508
48509
48510
48511
48512
48513
48514
48515 case "$TOOLKIT" in
48516 GTK)
48517 TOOLKIT_DESC="GTK+"
48518 if test "$WXGTK20" = 1; then
48519 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48520 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48521 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48522 fi
48523 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48524 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48525 fi
48526 if test "$wxUSE_LIBHILDON" = "yes"; then
48527 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48528 fi
48529
48530 if test "$TOOLKIT_EXTRA" != ""; then
48531 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48532 fi
48533 fi
48534 ;;
48535
48536 ?*)
48537 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48538 ;;
48539
48540 *)
48541 TOOLKIT_DESC="base only"
48542 ;;
48543 esac
48544
48545 if test "$wxUSE_WINE" = "yes"; then
48546 BAKEFILE_FORCE_PLATFORM=win32
48547 fi
48548
48549 if test "$wxUSE_MAC" = 1 ; then
48550 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
48551 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
48552 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
48553 else
48554 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
48555 fi
48556 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
48557 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
48558 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
48559 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
48560 bk_use_pch=no
48561 fi
48562 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
48563 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
48564 fi
48565
48566 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48567 then
48568 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48569 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
48570 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48571 echo $ECHO_N "(cached) $ECHO_C" >&6
48572 else
48573
48574 echo '#include <stdio.h>
48575 const wchar_t test_var[] = L"awidetest";' > conftest.h
48576
48577 echo '#include "conftest.h"
48578 int main()
48579 {
48580 printf("%ls", test_var);
48581 return 0;
48582 }' > conftest.cpp
48583
48584 wx_cv_gcc_pch_bug="pch not supported"
48585
48586 if $CXX conftest.h >/dev/null 2>&1
48587 then
48588 wx_cv_gcc_pch_bug=
48589
48590 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48591 then
48592 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48593 grep awidetest >/dev/null
48594 then
48595 wx_cv_gcc_pch_bug=no
48596 else
48597 wx_cv_gcc_pch_bug=yes
48598 fi
48599 fi
48600 fi
48601
48602 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48603
48604 fi
48605 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48606 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
48607
48608 if test "$wx_cv_gcc_pch_bug" = yes; then
48609 bk_use_pch=no
48610 fi
48611 fi
48612
48613
48614
48615
48616 if test "x$BAKEFILE_HOST" = "x"; then
48617 if test "x${host}" = "x" ; then
48618 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48619 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48620 { (exit 1); exit 1; }; }
48621 fi
48622
48623 BAKEFILE_HOST="${host}"
48624 fi
48625
48626 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48627
48628 if test -n "$ac_tool_prefix"; then
48629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48631 echo "$as_me:$LINENO: checking for $ac_word" >&5
48632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48633 if test "${ac_cv_prog_RANLIB+set}" = set; then
48634 echo $ECHO_N "(cached) $ECHO_C" >&6
48635 else
48636 if test -n "$RANLIB"; then
48637 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48638 else
48639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48640 for as_dir in $PATH
48641 do
48642 IFS=$as_save_IFS
48643 test -z "$as_dir" && as_dir=.
48644 for ac_exec_ext in '' $ac_executable_extensions; do
48645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48648 break 2
48649 fi
48650 done
48651 done
48652
48653 fi
48654 fi
48655 RANLIB=$ac_cv_prog_RANLIB
48656 if test -n "$RANLIB"; then
48657 echo "$as_me:$LINENO: result: $RANLIB" >&5
48658 echo "${ECHO_T}$RANLIB" >&6
48659 else
48660 echo "$as_me:$LINENO: result: no" >&5
48661 echo "${ECHO_T}no" >&6
48662 fi
48663
48664 fi
48665 if test -z "$ac_cv_prog_RANLIB"; then
48666 ac_ct_RANLIB=$RANLIB
48667 # Extract the first word of "ranlib", so it can be a program name with args.
48668 set dummy ranlib; ac_word=$2
48669 echo "$as_me:$LINENO: checking for $ac_word" >&5
48670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48671 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48672 echo $ECHO_N "(cached) $ECHO_C" >&6
48673 else
48674 if test -n "$ac_ct_RANLIB"; then
48675 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48676 else
48677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48678 for as_dir in $PATH
48679 do
48680 IFS=$as_save_IFS
48681 test -z "$as_dir" && as_dir=.
48682 for ac_exec_ext in '' $ac_executable_extensions; do
48683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48684 ac_cv_prog_ac_ct_RANLIB="ranlib"
48685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48686 break 2
48687 fi
48688 done
48689 done
48690
48691 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
48692 fi
48693 fi
48694 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48695 if test -n "$ac_ct_RANLIB"; then
48696 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48697 echo "${ECHO_T}$ac_ct_RANLIB" >&6
48698 else
48699 echo "$as_me:$LINENO: result: no" >&5
48700 echo "${ECHO_T}no" >&6
48701 fi
48702
48703 RANLIB=$ac_ct_RANLIB
48704 else
48705 RANLIB="$ac_cv_prog_RANLIB"
48706 fi
48707
48708 # Find a good install program. We prefer a C program (faster),
48709 # so one script is as good as another. But avoid the broken or
48710 # incompatible versions:
48711 # SysV /etc/install, /usr/sbin/install
48712 # SunOS /usr/etc/install
48713 # IRIX /sbin/install
48714 # AIX /bin/install
48715 # AmigaOS /C/install, which installs bootblocks on floppy discs
48716 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48717 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48718 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48719 # OS/2's system install, which has a completely different semantic
48720 # ./install, which can be erroneously created by make from ./install.sh.
48721 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48722 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
48723 if test -z "$INSTALL"; then
48724 if test "${ac_cv_path_install+set}" = set; then
48725 echo $ECHO_N "(cached) $ECHO_C" >&6
48726 else
48727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48728 for as_dir in $PATH
48729 do
48730 IFS=$as_save_IFS
48731 test -z "$as_dir" && as_dir=.
48732 # Account for people who put trailing slashes in PATH elements.
48733 case $as_dir/ in
48734 ./ | .// | /cC/* | \
48735 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48736 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48737 /usr/ucb/* ) ;;
48738 *)
48739 # OSF1 and SCO ODT 3.0 have their own names for install.
48740 # Don't use installbsd from OSF since it installs stuff as root
48741 # by default.
48742 for ac_prog in ginstall scoinst install; do
48743 for ac_exec_ext in '' $ac_executable_extensions; do
48744 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
48745 if test $ac_prog = install &&
48746 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48747 # AIX install. It has an incompatible calling convention.
48748 :
48749 elif test $ac_prog = install &&
48750 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48751 # program-specific install script used by HP pwplus--don't use.
48752 :
48753 else
48754 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48755 break 3
48756 fi
48757 fi
48758 done
48759 done
48760 ;;
48761 esac
48762 done
48763
48764
48765 fi
48766 if test "${ac_cv_path_install+set}" = set; then
48767 INSTALL=$ac_cv_path_install
48768 else
48769 # As a last resort, use the slow shell script. We don't cache a
48770 # path for INSTALL within a source directory, because that will
48771 # break other packages using the cache if that directory is
48772 # removed, or if the path is relative.
48773 INSTALL=$ac_install_sh
48774 fi
48775 fi
48776 echo "$as_me:$LINENO: result: $INSTALL" >&5
48777 echo "${ECHO_T}$INSTALL" >&6
48778
48779 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48780 # It thinks the first close brace ends the variable substitution.
48781 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48782
48783 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48784
48785 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48786
48787 echo "$as_me:$LINENO: checking whether ln -s works" >&5
48788 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
48789 LN_S=$as_ln_s
48790 if test "$LN_S" = "ln -s"; then
48791 echo "$as_me:$LINENO: result: yes" >&5
48792 echo "${ECHO_T}yes" >&6
48793 else
48794 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48795 echo "${ECHO_T}no, using $LN_S" >&6
48796 fi
48797
48798
48799 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48800 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48801 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48802 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48803 echo $ECHO_N "(cached) $ECHO_C" >&6
48804 else
48805 cat >conftest.make <<\_ACEOF
48806 all:
48807 @echo 'ac_maketemp="$(MAKE)"'
48808 _ACEOF
48809 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48810 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48811 if test -n "$ac_maketemp"; then
48812 eval ac_cv_prog_make_${ac_make}_set=yes
48813 else
48814 eval ac_cv_prog_make_${ac_make}_set=no
48815 fi
48816 rm -f conftest.make
48817 fi
48818 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48819 echo "$as_me:$LINENO: result: yes" >&5
48820 echo "${ECHO_T}yes" >&6
48821 SET_MAKE=
48822 else
48823 echo "$as_me:$LINENO: result: no" >&5
48824 echo "${ECHO_T}no" >&6
48825 SET_MAKE="MAKE=${MAKE-make}"
48826 fi
48827
48828
48829
48830 if test "x$SUNCXX" = "xyes"; then
48831 AR=$CXX
48832 AROPTIONS="-xar -o"
48833
48834 elif test "x$SGICC" = "xyes"; then
48835 AR=$CXX
48836 AROPTIONS="-ar -o"
48837
48838 else
48839 if test -n "$ac_tool_prefix"; then
48840 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48841 set dummy ${ac_tool_prefix}ar; ac_word=$2
48842 echo "$as_me:$LINENO: checking for $ac_word" >&5
48843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48844 if test "${ac_cv_prog_AR+set}" = set; then
48845 echo $ECHO_N "(cached) $ECHO_C" >&6
48846 else
48847 if test -n "$AR"; then
48848 ac_cv_prog_AR="$AR" # Let the user override the test.
48849 else
48850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48851 for as_dir in $PATH
48852 do
48853 IFS=$as_save_IFS
48854 test -z "$as_dir" && as_dir=.
48855 for ac_exec_ext in '' $ac_executable_extensions; do
48856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48857 ac_cv_prog_AR="${ac_tool_prefix}ar"
48858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48859 break 2
48860 fi
48861 done
48862 done
48863
48864 fi
48865 fi
48866 AR=$ac_cv_prog_AR
48867 if test -n "$AR"; then
48868 echo "$as_me:$LINENO: result: $AR" >&5
48869 echo "${ECHO_T}$AR" >&6
48870 else
48871 echo "$as_me:$LINENO: result: no" >&5
48872 echo "${ECHO_T}no" >&6
48873 fi
48874
48875 fi
48876 if test -z "$ac_cv_prog_AR"; then
48877 ac_ct_AR=$AR
48878 # Extract the first word of "ar", so it can be a program name with args.
48879 set dummy ar; ac_word=$2
48880 echo "$as_me:$LINENO: checking for $ac_word" >&5
48881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48882 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48883 echo $ECHO_N "(cached) $ECHO_C" >&6
48884 else
48885 if test -n "$ac_ct_AR"; then
48886 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48887 else
48888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48889 for as_dir in $PATH
48890 do
48891 IFS=$as_save_IFS
48892 test -z "$as_dir" && as_dir=.
48893 for ac_exec_ext in '' $ac_executable_extensions; do
48894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48895 ac_cv_prog_ac_ct_AR="ar"
48896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48897 break 2
48898 fi
48899 done
48900 done
48901
48902 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
48903 fi
48904 fi
48905 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48906 if test -n "$ac_ct_AR"; then
48907 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48908 echo "${ECHO_T}$ac_ct_AR" >&6
48909 else
48910 echo "$as_me:$LINENO: result: no" >&5
48911 echo "${ECHO_T}no" >&6
48912 fi
48913
48914 AR=$ac_ct_AR
48915 else
48916 AR="$ac_cv_prog_AR"
48917 fi
48918
48919 AROPTIONS=rcu
48920 fi
48921
48922
48923 if test -n "$ac_tool_prefix"; then
48924 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48925 set dummy ${ac_tool_prefix}strip; ac_word=$2
48926 echo "$as_me:$LINENO: checking for $ac_word" >&5
48927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48928 if test "${ac_cv_prog_STRIP+set}" = set; then
48929 echo $ECHO_N "(cached) $ECHO_C" >&6
48930 else
48931 if test -n "$STRIP"; then
48932 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48933 else
48934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48935 for as_dir in $PATH
48936 do
48937 IFS=$as_save_IFS
48938 test -z "$as_dir" && as_dir=.
48939 for ac_exec_ext in '' $ac_executable_extensions; do
48940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48941 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48943 break 2
48944 fi
48945 done
48946 done
48947
48948 fi
48949 fi
48950 STRIP=$ac_cv_prog_STRIP
48951 if test -n "$STRIP"; then
48952 echo "$as_me:$LINENO: result: $STRIP" >&5
48953 echo "${ECHO_T}$STRIP" >&6
48954 else
48955 echo "$as_me:$LINENO: result: no" >&5
48956 echo "${ECHO_T}no" >&6
48957 fi
48958
48959 fi
48960 if test -z "$ac_cv_prog_STRIP"; then
48961 ac_ct_STRIP=$STRIP
48962 # Extract the first word of "strip", so it can be a program name with args.
48963 set dummy strip; ac_word=$2
48964 echo "$as_me:$LINENO: checking for $ac_word" >&5
48965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48966 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48967 echo $ECHO_N "(cached) $ECHO_C" >&6
48968 else
48969 if test -n "$ac_ct_STRIP"; then
48970 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48971 else
48972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48973 for as_dir in $PATH
48974 do
48975 IFS=$as_save_IFS
48976 test -z "$as_dir" && as_dir=.
48977 for ac_exec_ext in '' $ac_executable_extensions; do
48978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48979 ac_cv_prog_ac_ct_STRIP="strip"
48980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48981 break 2
48982 fi
48983 done
48984 done
48985
48986 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
48987 fi
48988 fi
48989 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48990 if test -n "$ac_ct_STRIP"; then
48991 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48992 echo "${ECHO_T}$ac_ct_STRIP" >&6
48993 else
48994 echo "$as_me:$LINENO: result: no" >&5
48995 echo "${ECHO_T}no" >&6
48996 fi
48997
48998 STRIP=$ac_ct_STRIP
48999 else
49000 STRIP="$ac_cv_prog_STRIP"
49001 fi
49002
49003 if test -n "$ac_tool_prefix"; then
49004 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49005 set dummy ${ac_tool_prefix}nm; ac_word=$2
49006 echo "$as_me:$LINENO: checking for $ac_word" >&5
49007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49008 if test "${ac_cv_prog_NM+set}" = set; then
49009 echo $ECHO_N "(cached) $ECHO_C" >&6
49010 else
49011 if test -n "$NM"; then
49012 ac_cv_prog_NM="$NM" # Let the user override the test.
49013 else
49014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49015 for as_dir in $PATH
49016 do
49017 IFS=$as_save_IFS
49018 test -z "$as_dir" && as_dir=.
49019 for ac_exec_ext in '' $ac_executable_extensions; do
49020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49021 ac_cv_prog_NM="${ac_tool_prefix}nm"
49022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49023 break 2
49024 fi
49025 done
49026 done
49027
49028 fi
49029 fi
49030 NM=$ac_cv_prog_NM
49031 if test -n "$NM"; then
49032 echo "$as_me:$LINENO: result: $NM" >&5
49033 echo "${ECHO_T}$NM" >&6
49034 else
49035 echo "$as_me:$LINENO: result: no" >&5
49036 echo "${ECHO_T}no" >&6
49037 fi
49038
49039 fi
49040 if test -z "$ac_cv_prog_NM"; then
49041 ac_ct_NM=$NM
49042 # Extract the first word of "nm", so it can be a program name with args.
49043 set dummy nm; ac_word=$2
49044 echo "$as_me:$LINENO: checking for $ac_word" >&5
49045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49046 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49047 echo $ECHO_N "(cached) $ECHO_C" >&6
49048 else
49049 if test -n "$ac_ct_NM"; then
49050 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49051 else
49052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49053 for as_dir in $PATH
49054 do
49055 IFS=$as_save_IFS
49056 test -z "$as_dir" && as_dir=.
49057 for ac_exec_ext in '' $ac_executable_extensions; do
49058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49059 ac_cv_prog_ac_ct_NM="nm"
49060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49061 break 2
49062 fi
49063 done
49064 done
49065
49066 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
49067 fi
49068 fi
49069 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49070 if test -n "$ac_ct_NM"; then
49071 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49072 echo "${ECHO_T}$ac_ct_NM" >&6
49073 else
49074 echo "$as_me:$LINENO: result: no" >&5
49075 echo "${ECHO_T}no" >&6
49076 fi
49077
49078 NM=$ac_ct_NM
49079 else
49080 NM="$ac_cv_prog_NM"
49081 fi
49082
49083
49084 case ${BAKEFILE_HOST} in
49085 *-hp-hpux* )
49086 INSTALL_DIR="mkdir -p"
49087 ;;
49088 * )
49089 INSTALL_DIR='$(INSTALL) -d'
49090 ;;
49091 esac
49092
49093
49094 LDFLAGS_GUI=
49095 case ${BAKEFILE_HOST} in
49096 *-*-cygwin* | *-*-mingw32* )
49097 LDFLAGS_GUI="-mwindows"
49098 esac
49099
49100
49101 fi
49102
49103 echo "$as_me:$LINENO: checking if make is GNU make" >&5
49104 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
49105 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49106 echo $ECHO_N "(cached) $ECHO_C" >&6
49107 else
49108
49109 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49110 egrep -s GNU > /dev/null); then
49111 bakefile_cv_prog_makeisgnu="yes"
49112 else
49113 bakefile_cv_prog_makeisgnu="no"
49114 fi
49115
49116 fi
49117 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49118 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
49119
49120 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49121 IF_GNU_MAKE=""
49122 else
49123 IF_GNU_MAKE="#"
49124 fi
49125
49126
49127
49128 PLATFORM_UNIX=0
49129 PLATFORM_WIN32=0
49130 PLATFORM_MSDOS=0
49131 PLATFORM_MAC=0
49132 PLATFORM_MACOS=0
49133 PLATFORM_MACOSX=0
49134 PLATFORM_OS2=0
49135 PLATFORM_BEOS=0
49136
49137 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49138 case "${BAKEFILE_HOST}" in
49139 *-*-mingw32* )
49140 PLATFORM_WIN32=1
49141 ;;
49142 *-pc-msdosdjgpp )
49143 PLATFORM_MSDOS=1
49144 ;;
49145 *-pc-os2_emx | *-pc-os2-emx )
49146 PLATFORM_OS2=1
49147 ;;
49148 *-*-darwin* )
49149 PLATFORM_MAC=1
49150 PLATFORM_MACOSX=1
49151 ;;
49152 *-*-beos* )
49153 PLATFORM_BEOS=1
49154 ;;
49155 powerpc-apple-macos* )
49156 PLATFORM_MAC=1
49157 PLATFORM_MACOS=1
49158 ;;
49159 * )
49160 PLATFORM_UNIX=1
49161 ;;
49162 esac
49163 else
49164 case "$BAKEFILE_FORCE_PLATFORM" in
49165 win32 )
49166 PLATFORM_WIN32=1
49167 ;;
49168 msdos )
49169 PLATFORM_MSDOS=1
49170 ;;
49171 os2 )
49172 PLATFORM_OS2=1
49173 ;;
49174 darwin )
49175 PLATFORM_MAC=1
49176 PLATFORM_MACOSX=1
49177 ;;
49178 unix )
49179 PLATFORM_UNIX=1
49180 ;;
49181 beos )
49182 PLATFORM_BEOS=1
49183 ;;
49184 * )
49185 ;;
49186 esac
49187 fi
49188
49189
49190
49191
49192
49193
49194
49195
49196
49197
49198
49199 # Check whether --enable-omf or --disable-omf was given.
49200 if test "${enable_omf+set}" = set; then
49201 enableval="$enable_omf"
49202 bk_os2_use_omf="$enableval"
49203 fi;
49204
49205 case "${BAKEFILE_HOST}" in
49206 *-*-darwin* )
49207 if test "x$GCC" = "xyes"; then
49208 CFLAGS="$CFLAGS -fno-common"
49209 CXXFLAGS="$CXXFLAGS -fno-common"
49210 fi
49211 if test "x$XLCC" = "xyes"; then
49212 CFLAGS="$CFLAGS -qnocommon"
49213 CXXFLAGS="$CXXFLAGS -qnocommon"
49214 fi
49215 ;;
49216
49217 *-pc-os2_emx | *-pc-os2-emx )
49218 if test "x$bk_os2_use_omf" = "xyes" ; then
49219 AR=emxomfar
49220 RANLIB=:
49221 LDFLAGS="-Zomf $LDFLAGS"
49222 CFLAGS="-Zomf $CFLAGS"
49223 CXXFLAGS="-Zomf $CXXFLAGS"
49224 OS2_LIBEXT="lib"
49225 else
49226 OS2_LIBEXT="a"
49227 fi
49228 ;;
49229
49230 i*86-*-beos* )
49231 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49232 ;;
49233 esac
49234
49235
49236 SO_SUFFIX="so"
49237 SO_SUFFIX_MODULE="so"
49238 EXEEXT=""
49239 LIBPREFIX="lib"
49240 LIBEXT=".a"
49241 DLLPREFIX="lib"
49242 DLLPREFIX_MODULE=""
49243 DLLIMP_SUFFIX=""
49244 dlldir="$libdir"
49245
49246 case "${BAKEFILE_HOST}" in
49247 *-hp-hpux* )
49248 SO_SUFFIX="sl"
49249 SO_SUFFIX_MODULE="sl"
49250 ;;
49251 *-*-aix* )
49252 SO_SUFFIX="a"
49253 SO_SUFFIX_MODULE="a"
49254 ;;
49255 *-*-cygwin* )
49256 SO_SUFFIX="dll"
49257 SO_SUFFIX_MODULE="dll"
49258 DLLIMP_SUFFIX="dll.a"
49259 EXEEXT=".exe"
49260 DLLPREFIX="cyg"
49261 dlldir="$bindir"
49262 ;;
49263 *-*-mingw32* )
49264 SO_SUFFIX="dll"
49265 SO_SUFFIX_MODULE="dll"
49266 DLLIMP_SUFFIX="dll.a"
49267 EXEEXT=".exe"
49268 DLLPREFIX=""
49269 dlldir="$bindir"
49270 ;;
49271 *-pc-msdosdjgpp )
49272 EXEEXT=".exe"
49273 DLLPREFIX=""
49274 dlldir="$bindir"
49275 ;;
49276 *-pc-os2_emx | *-pc-os2-emx )
49277 SO_SUFFIX="dll"
49278 SO_SUFFIX_MODULE="dll"
49279 DLLIMP_SUFFIX=$OS2_LIBEXT
49280 EXEEXT=".exe"
49281 DLLPREFIX=""
49282 LIBPREFIX=""
49283 LIBEXT=".$OS2_LIBEXT"
49284 dlldir="$bindir"
49285 ;;
49286 *-*-darwin* )
49287 SO_SUFFIX="dylib"
49288 SO_SUFFIX_MODULE="bundle"
49289 ;;
49290 esac
49291
49292 if test "x$DLLIMP_SUFFIX" = "x" ; then
49293 DLLIMP_SUFFIX="$SO_SUFFIX"
49294 fi
49295
49296
49297
49298
49299
49300
49301
49302
49303
49304
49305
49306
49307 PIC_FLAG=""
49308 if test "x$GCC" = "xyes"; then
49309 PIC_FLAG="-fPIC"
49310 fi
49311
49312 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49313 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49314 WINDOWS_IMPLIB=0
49315
49316 case "${BAKEFILE_HOST}" in
49317 *-hp-hpux* )
49318 if test "x$GCC" != "xyes"; then
49319 LDFLAGS="$LDFLAGS -L/usr/lib"
49320
49321 SHARED_LD_CC="${CC} -b -o"
49322 SHARED_LD_CXX="${CXX} -b -o"
49323 PIC_FLAG="+Z"
49324 fi
49325 ;;
49326
49327 *-*-linux* )
49328 if test "$INTELCC" = "yes"; then
49329 PIC_FLAG="-KPIC"
49330 elif test "x$SUNCXX" = "xyes"; then
49331 SHARED_LD_CC="${CC} -G -o"
49332 SHARED_LD_CXX="${CXX} -G -o"
49333 PIC_FLAG="-KPIC"
49334 fi
49335 ;;
49336
49337 *-*-solaris2* )
49338 if test "x$SUNCXX" = xyes ; then
49339 SHARED_LD_CC="${CC} -G -o"
49340 SHARED_LD_CXX="${CXX} -G -o"
49341 PIC_FLAG="-KPIC"
49342 fi
49343 ;;
49344
49345 *-*-darwin* )
49346
49347 D='$'
49348 cat <<EOF >shared-ld-sh
49349 #!/bin/sh
49350 #-----------------------------------------------------------------------------
49351 #-- Name: distrib/mac/shared-ld-sh
49352 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49353 #-- Author: Gilles Depeyrot
49354 #-- Copyright: (c) 2002 Gilles Depeyrot
49355 #-- Licence: any use permitted
49356 #-----------------------------------------------------------------------------
49357
49358 verbose=0
49359 args=""
49360 objects=""
49361 linking_flag="-dynamiclib"
49362 ldargs="-r -keep_private_externs -nostdlib"
49363
49364 while test ${D}# -gt 0; do
49365 case ${D}1 in
49366
49367 -v)
49368 verbose=1
49369 ;;
49370
49371 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49372 # collect these options and values
49373 args="${D}{args} ${D}1 ${D}2"
49374 shift
49375 ;;
49376
49377 -s|-Wl,*)
49378 # collect these load args
49379 ldargs="${D}{ldargs} ${D}1"
49380 ;;
49381
49382 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49383 # collect these options
49384 args="${D}{args} ${D}1"
49385 ;;
49386
49387 -dynamiclib|-bundle)
49388 linking_flag="${D}1"
49389 ;;
49390
49391 -*)
49392 echo "shared-ld: unhandled option '${D}1'"
49393 exit 1
49394 ;;
49395
49396 *.o | *.a | *.dylib)
49397 # collect object files
49398 objects="${D}{objects} ${D}1"
49399 ;;
49400
49401 *)
49402 echo "shared-ld: unhandled argument '${D}1'"
49403 exit 1
49404 ;;
49405
49406 esac
49407 shift
49408 done
49409
49410 status=0
49411
49412 #
49413 # Link one module containing all the others
49414 #
49415 if test ${D}{verbose} = 1; then
49416 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49417 fi
49418 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49419 status=${D}?
49420
49421 #
49422 # Link the shared library from the single module created, but only if the
49423 # previous command didn't fail:
49424 #
49425 if test ${D}{status} = 0; then
49426 if test ${D}{verbose} = 1; then
49427 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49428 fi
49429 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49430 status=${D}?
49431 fi
49432
49433 #
49434 # Remove intermediate module
49435 #
49436 rm -f master.${D}${D}.o
49437
49438 exit ${D}status
49439 EOF
49440
49441 chmod +x shared-ld-sh
49442
49443 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49444 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
49445
49446
49447 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49448 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
49449 if test "${bakefile_cv_gcc31+set}" = set; then
49450 echo $ECHO_N "(cached) $ECHO_C" >&6
49451 else
49452
49453 cat >conftest.$ac_ext <<_ACEOF
49454 /* confdefs.h. */
49455 _ACEOF
49456 cat confdefs.h >>conftest.$ac_ext
49457 cat >>conftest.$ac_ext <<_ACEOF
49458 /* end confdefs.h. */
49459
49460 int
49461 main ()
49462 {
49463
49464 #if (__GNUC__ < 3) || \
49465 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49466 This is old gcc
49467 #endif
49468
49469 ;
49470 return 0;
49471 }
49472 _ACEOF
49473 rm -f conftest.$ac_objext
49474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49475 (eval $ac_compile) 2>conftest.er1
49476 ac_status=$?
49477 grep -v '^ *+' conftest.er1 >conftest.err
49478 rm -f conftest.er1
49479 cat conftest.err >&5
49480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49481 (exit $ac_status); } &&
49482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49484 (eval $ac_try) 2>&5
49485 ac_status=$?
49486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49487 (exit $ac_status); }; } &&
49488 { ac_try='test -s conftest.$ac_objext'
49489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49490 (eval $ac_try) 2>&5
49491 ac_status=$?
49492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49493 (exit $ac_status); }; }; then
49494
49495 bakefile_cv_gcc31=yes
49496
49497 else
49498 echo "$as_me: failed program was:" >&5
49499 sed 's/^/| /' conftest.$ac_ext >&5
49500
49501
49502 bakefile_cv_gcc31=no
49503
49504
49505 fi
49506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49507
49508 fi
49509 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49510 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
49511 if test "$bakefile_cv_gcc31" = "no"; then
49512 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49513 SHARED_LD_CXX="$SHARED_LD_CC"
49514 else
49515 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49516 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49517 fi
49518
49519 if test "x$GCC" == "xyes"; then
49520 PIC_FLAG="-dynamic -fPIC"
49521 fi
49522 if test "x$XLCC" = "xyes"; then
49523 PIC_FLAG="-dynamic -DPIC"
49524 fi
49525 ;;
49526
49527 *-*-aix* )
49528 if test "x$GCC" = "xyes"; then
49529 PIC_FLAG=""
49530
49531 case "${BAKEFILE_HOST}" in
49532 *-*-aix5* )
49533 LD_EXPFULL="-Wl,-bexpfull"
49534 ;;
49535 esac
49536
49537 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49538 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49539 else
49540 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49541 set dummy makeC++SharedLib; ac_word=$2
49542 echo "$as_me:$LINENO: checking for $ac_word" >&5
49543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49544 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49545 echo $ECHO_N "(cached) $ECHO_C" >&6
49546 else
49547 if test -n "$AIX_CXX_LD"; then
49548 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49549 else
49550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49551 for as_dir in $PATH
49552 do
49553 IFS=$as_save_IFS
49554 test -z "$as_dir" && as_dir=.
49555 for ac_exec_ext in '' $ac_executable_extensions; do
49556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49557 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49559 break 2
49560 fi
49561 done
49562 done
49563
49564 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49565 fi
49566 fi
49567 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49568 if test -n "$AIX_CXX_LD"; then
49569 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49570 echo "${ECHO_T}$AIX_CXX_LD" >&6
49571 else
49572 echo "$as_me:$LINENO: result: no" >&5
49573 echo "${ECHO_T}no" >&6
49574 fi
49575
49576 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49577 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49578 fi
49579 ;;
49580
49581 *-*-beos* )
49582 SHARED_LD_CC="${LD} -nostart -o"
49583 SHARED_LD_CXX="${LD} -nostart -o"
49584 ;;
49585
49586 *-*-irix* )
49587 if test "x$GCC" != "xyes"; then
49588 PIC_FLAG="-KPIC"
49589 fi
49590 ;;
49591
49592 *-*-cygwin* | *-*-mingw32* )
49593 PIC_FLAG=""
49594 SHARED_LD_CC="\$(CC) -shared -o"
49595 SHARED_LD_CXX="\$(CXX) -shared -o"
49596 WINDOWS_IMPLIB=1
49597 ;;
49598
49599 *-pc-os2_emx | *-pc-os2-emx )
49600 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49601 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49602 PIC_FLAG=""
49603
49604 D='$'
49605 cat <<EOF >dllar.sh
49606 #!/bin/sh
49607 #
49608 # dllar - a tool to build both a .dll and an .a file
49609 # from a set of object (.o) files for EMX/OS2.
49610 #
49611 # Written by Andrew Zabolotny, bit@freya.etu.ru
49612 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49613 #
49614 # This script will accept a set of files on the command line.
49615 # All the public symbols from the .o files will be exported into
49616 # a .DEF file, then linker will be run (through gcc) against them to
49617 # build a shared library consisting of all given .o files. All libraries
49618 # (.a) will be first decompressed into component .o files then act as
49619 # described above. You can optionally give a description (-d "description")
49620 # which will be put into .DLL. To see the list of accepted options (as well
49621 # as command-line format) simply run this program without options. The .DLL
49622 # is built to be imported by name (there is no guarantee that new versions
49623 # of the library you build will have same ordinals for same symbols).
49624 #
49625 # dllar is free software; you can redistribute it and/or modify
49626 # it under the terms of the GNU General Public License as published by
49627 # the Free Software Foundation; either version 2, or (at your option)
49628 # any later version.
49629 #
49630 # dllar is distributed in the hope that it will be useful,
49631 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49632 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49633 # GNU General Public License for more details.
49634 #
49635 # You should have received a copy of the GNU General Public License
49636 # along with dllar; see the file COPYING. If not, write to the Free
49637 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49638 # 02111-1307, USA.
49639
49640 # To successfuly run this program you will need:
49641 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49642 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49643 # - gcc
49644 # (used to build the .dll)
49645 # - emxexp
49646 # (used to create .def file from .o files)
49647 # - emximp
49648 # (used to create .a file from .def file)
49649 # - GNU text utilites (cat, sort, uniq)
49650 # used to process emxexp output
49651 # - GNU file utilities (mv, rm)
49652 # - GNU sed
49653 # - lxlite (optional, see flag below)
49654 # (used for general .dll cleanup)
49655 #
49656
49657 flag_USE_LXLITE=1;
49658
49659 #
49660 # helper functions
49661 # basnam, variant of basename, which does _not_ remove the path, _iff_
49662 # second argument (suffix to remove) is given
49663 basnam(){
49664 case ${D}# in
49665 1)
49666 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49667 ;;
49668 2)
49669 echo ${D}1 | sed 's/'${D}2'${D}//'
49670 ;;
49671 *)
49672 echo "error in basnam ${D}*"
49673 exit 8
49674 ;;
49675 esac
49676 }
49677
49678 # Cleanup temporary files and output
49679 CleanUp() {
49680 cd ${D}curDir
49681 for i in ${D}inputFiles ; do
49682 case ${D}i in
49683 *!)
49684 rm -rf \`basnam ${D}i !\`
49685 ;;
49686 *)
49687 ;;
49688 esac
49689 done
49690
49691 # Kill result in case of failure as there is just to many stupid make/nmake
49692 # things out there which doesn't do this.
49693 if [ ${D}# -eq 0 ]; then
49694 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49695 fi
49696 }
49697
49698 # Print usage and exit script with rc=1.
49699 PrintHelp() {
49700 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49701 echo ' [-name-mangler-script script.sh]'
49702 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49703 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49704 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49705 echo ' [*.o] [*.a]'
49706 echo '*> "output_file" should have no extension.'
49707 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49708 echo ' The import library name is derived from this and is set to "name".a,'
49709 echo ' unless overridden by -import'
49710 echo '*> "importlib_name" should have no extension.'
49711 echo ' If it has the .o, or .a extension, it is automatically removed.'
49712 echo ' This name is used as the import library name and may be longer and'
49713 echo ' more descriptive than the DLL name which has to follow the old '
49714 echo ' 8.3 convention of FAT.'
49715 echo '*> "script.sh may be given to override the output_file name by a'
49716 echo ' different name. It is mainly useful if the regular make process'
49717 echo ' of some package does not take into account OS/2 restriction of'
49718 echo ' DLL name lengths. It takes the importlib name as input and is'
49719 echo ' supposed to procude a shorter name as output. The script should'
49720 echo ' expect to get importlib_name without extension and should produce'
49721 echo ' a (max.) 8 letter name without extension.'
49722 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49723 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49724 echo ' These flags will be put at the start of GCC command line.'
49725 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49726 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49727 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49728 echo ' If the last character of a symbol is "*", all symbols beginning'
49729 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49730 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49731 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49732 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49733 echo ' C runtime DLLs.'
49734 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49735 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49736 echo ' unchanged to GCC at the end of command line.'
49737 echo '*> If you create a DLL from a library and you do not specify -o,'
49738 echo ' the basename for DLL and import library will be set to library name,'
49739 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49740 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49741 echo ' library will be renamed into gcc_s.a.'
49742 echo '--------'
49743 echo 'Example:'
49744 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49745 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49746 CleanUp
49747 exit 1
49748 }
49749
49750 # Execute a command.
49751 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49752 # @Uses Whatever CleanUp() uses.
49753 doCommand() {
49754 echo "${D}*"
49755 eval ${D}*
49756 rcCmd=${D}?
49757
49758 if [ ${D}rcCmd -ne 0 ]; then
49759 echo "command failed, exit code="${D}rcCmd
49760 CleanUp
49761 exit ${D}rcCmd
49762 fi
49763 }
49764
49765 # main routine
49766 # setup globals
49767 cmdLine=${D}*
49768 outFile=""
49769 outimpFile=""
49770 inputFiles=""
49771 renameScript=""
49772 description=""
49773 CC=gcc.exe
49774 CFLAGS="-s -Zcrtdll"
49775 EXTRA_CFLAGS=""
49776 EXPORT_BY_ORDINALS=0
49777 exclude_symbols=""
49778 library_flags=""
49779 curDir=\`pwd\`
49780 curDirS=curDir
49781 case ${D}curDirS in
49782 */)
49783 ;;
49784 *)
49785 curDirS=${D}{curDirS}"/"
49786 ;;
49787 esac
49788 # Parse commandline
49789 libsToLink=0
49790 omfLinking=0
49791 while [ ${D}1 ]; do
49792 case ${D}1 in
49793 -ord*)
49794 EXPORT_BY_ORDINALS=1;
49795 ;;
49796 -o*)
49797 shift
49798 outFile=${D}1
49799 ;;
49800 -i*)
49801 shift
49802 outimpFile=${D}1
49803 ;;
49804 -name-mangler-script)
49805 shift
49806 renameScript=${D}1
49807 ;;
49808 -d*)
49809 shift
49810 description=${D}1
49811 ;;
49812 -f*)
49813 shift
49814 CFLAGS=${D}1
49815 ;;
49816 -c*)
49817 shift
49818 CC=${D}1
49819 ;;
49820 -h*)
49821 PrintHelp
49822 ;;
49823 -ex*)
49824 shift
49825 exclude_symbols=${D}{exclude_symbols}${D}1" "
49826 ;;
49827 -libf*)
49828 shift
49829 library_flags=${D}{library_flags}${D}1" "
49830 ;;
49831 -nocrt*)
49832 CFLAGS="-s"
49833 ;;
49834 -nolxl*)
49835 flag_USE_LXLITE=0
49836 ;;
49837 -* | /*)
49838 case ${D}1 in
49839 -L* | -l*)
49840 libsToLink=1
49841 ;;
49842 -Zomf)
49843 omfLinking=1
49844 ;;
49845 *)
49846 ;;
49847 esac
49848 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49849 ;;
49850 *.dll)
49851 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49852 if [ ${D}omfLinking -eq 1 ]; then
49853 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49854 else
49855 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49856 fi
49857 ;;
49858 *)
49859 found=0;
49860 if [ ${D}libsToLink -ne 0 ]; then
49861 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49862 else
49863 for file in ${D}1 ; do
49864 if [ -f ${D}file ]; then
49865 inputFiles="${D}{inputFiles} ${D}file"
49866 found=1
49867 fi
49868 done
49869 if [ ${D}found -eq 0 ]; then
49870 echo "ERROR: No file(s) found: "${D}1
49871 exit 8
49872 fi
49873 fi
49874 ;;
49875 esac
49876 shift
49877 done # iterate cmdline words
49878
49879 #
49880 if [ -z "${D}inputFiles" ]; then
49881 echo "dllar: no input files"
49882 PrintHelp
49883 fi
49884
49885 # Now extract all .o files from .a files
49886 newInputFiles=""
49887 for file in ${D}inputFiles ; do
49888 case ${D}file in
49889 *.a | *.lib)
49890 case ${D}file in
49891 *.a)
49892 suffix=".a"
49893 AR="ar"
49894 ;;
49895 *.lib)
49896 suffix=".lib"
49897 AR="emxomfar"
49898 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49899 ;;
49900 *)
49901 ;;
49902 esac
49903 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49904 mkdir ${D}dirname
49905 if [ ${D}? -ne 0 ]; then
49906 echo "Failed to create subdirectory ./${D}dirname"
49907 CleanUp
49908 exit 8;
49909 fi
49910 # Append '!' to indicate archive
49911 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49912 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49913 cd ${D}curDir
49914 found=0;
49915 for subfile in ${D}dirname/*.o* ; do
49916 if [ -f ${D}subfile ]; then
49917 found=1
49918 if [ -s ${D}subfile ]; then
49919 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49920 newInputFiles="${D}newInputFiles ${D}subfile"
49921 fi
49922 fi
49923 done
49924 if [ ${D}found -eq 0 ]; then
49925 echo "WARNING: there are no files in archive \\'${D}file\\'"
49926 fi
49927 ;;
49928 *)
49929 newInputFiles="${D}{newInputFiles} ${D}file"
49930 ;;
49931 esac
49932 done
49933 inputFiles="${D}newInputFiles"
49934
49935 # Output filename(s).
49936 do_backup=0;
49937 if [ -z ${D}outFile ]; then
49938 do_backup=1;
49939 set outFile ${D}inputFiles; outFile=${D}2
49940 fi
49941
49942 # If it is an archive, remove the '!' and the '_%' suffixes
49943 case ${D}outFile in
49944 *_%!)
49945 outFile=\`basnam ${D}outFile _%!\`
49946 ;;
49947 *)
49948 ;;
49949 esac
49950 case ${D}outFile in
49951 *.dll)
49952 outFile=\`basnam ${D}outFile .dll\`
49953 ;;
49954 *.DLL)
49955 outFile=\`basnam ${D}outFile .DLL\`
49956 ;;
49957 *.o)
49958 outFile=\`basnam ${D}outFile .o\`
49959 ;;
49960 *.obj)
49961 outFile=\`basnam ${D}outFile .obj\`
49962 ;;
49963 *.a)
49964 outFile=\`basnam ${D}outFile .a\`
49965 ;;
49966 *.lib)
49967 outFile=\`basnam ${D}outFile .lib\`
49968 ;;
49969 *)
49970 ;;
49971 esac
49972 case ${D}outimpFile in
49973 *.a)
49974 outimpFile=\`basnam ${D}outimpFile .a\`
49975 ;;
49976 *.lib)
49977 outimpFile=\`basnam ${D}outimpFile .lib\`
49978 ;;
49979 *)
49980 ;;
49981 esac
49982 if [ -z ${D}outimpFile ]; then
49983 outimpFile=${D}outFile
49984 fi
49985 defFile="${D}{outFile}.def"
49986 arcFile="${D}{outimpFile}.a"
49987 arcFile2="${D}{outimpFile}.lib"
49988
49989 #create ${D}dllFile as something matching 8.3 restrictions,
49990 if [ -z ${D}renameScript ] ; then
49991 dllFile="${D}outFile"
49992 else
49993 dllFile=\`${D}renameScript ${D}outimpFile\`
49994 fi
49995
49996 if [ ${D}do_backup -ne 0 ] ; then
49997 if [ -f ${D}arcFile ] ; then
49998 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49999 fi
50000 if [ -f ${D}arcFile2 ] ; then
50001 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50002 fi
50003 fi
50004
50005 # Extract public symbols from all the object files.
50006 tmpdefFile=${D}{defFile}_%
50007 rm -f ${D}tmpdefFile
50008 for file in ${D}inputFiles ; do
50009 case ${D}file in
50010 *!)
50011 ;;
50012 *)
50013 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50014 ;;
50015 esac
50016 done
50017
50018 # Create the def file.
50019 rm -f ${D}defFile
50020 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50021 dllFile="${D}{dllFile}.dll"
50022 if [ ! -z ${D}description ]; then
50023 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50024 fi
50025 echo "EXPORTS" >> ${D}defFile
50026
50027 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50028 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50029
50030 # Checks if the export is ok or not.
50031 for word in ${D}exclude_symbols; do
50032 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50033 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50034 done
50035
50036
50037 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50038 sed "=" < ${D}tmpdefFile | \\
50039 sed '
50040 N
50041 : loop
50042 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50043 t loop
50044 ' > ${D}{tmpdefFile}%
50045 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50046 else
50047 rm -f ${D}{tmpdefFile}%
50048 fi
50049 cat ${D}tmpdefFile >> ${D}defFile
50050 rm -f ${D}tmpdefFile
50051
50052 # Do linking, create implib, and apply lxlite.
50053 gccCmdl="";
50054 for file in ${D}inputFiles ; do
50055 case ${D}file in
50056 *!)
50057 ;;
50058 *)
50059 gccCmdl="${D}gccCmdl ${D}file"
50060 ;;
50061 esac
50062 done
50063 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50064 touch "${D}{outFile}.dll"
50065
50066 doCommand "emximp -o ${D}arcFile ${D}defFile"
50067 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50068 add_flags="";
50069 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50070 add_flags="-ynd"
50071 fi
50072 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50073 fi
50074 doCommand "emxomf -s -l ${D}arcFile"
50075
50076 # Successful exit.
50077 CleanUp 1
50078 exit 0
50079 EOF
50080
50081 chmod +x dllar.sh
50082 ;;
50083
50084 powerpc-apple-macos* | \
50085 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50086 *-*-mirbsd* | \
50087 *-*-sunos4* | \
50088 *-*-osf* | \
50089 *-*-dgux5* | \
50090 *-*-sysv5* | \
50091 *-pc-msdosdjgpp )
50092 ;;
50093
50094 *)
50095 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50096 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50097 { (exit 1); exit 1; }; }
50098 esac
50099
50100 if test "x$PIC_FLAG" != "x" ; then
50101 PIC_FLAG="$PIC_FLAG -DPIC"
50102 fi
50103
50104 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50105 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50106 fi
50107 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50108 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50109 fi
50110
50111
50112
50113
50114
50115
50116
50117
50118
50119 USE_SOVERSION=0
50120 USE_SOVERLINUX=0
50121 USE_SOVERSOLARIS=0
50122 USE_SOVERCYGWIN=0
50123 USE_SOSYMLINKS=0
50124 USE_MACVERSION=0
50125 SONAME_FLAG=
50126
50127 case "${BAKEFILE_HOST}" in
50128 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50129 if test "x$SUNCXX" = "xyes"; then
50130 SONAME_FLAG="-h "
50131 else
50132 SONAME_FLAG="-Wl,-soname,"
50133 fi
50134 USE_SOVERSION=1
50135 USE_SOVERLINUX=1
50136 USE_SOSYMLINKS=1
50137 ;;
50138
50139 *-*-solaris2* )
50140 SONAME_FLAG="-h "
50141 USE_SOVERSION=1
50142 USE_SOVERSOLARIS=1
50143 USE_SOSYMLINKS=1
50144 ;;
50145
50146 *-*-darwin* )
50147 USE_MACVERSION=1
50148 USE_SOVERSION=1
50149 USE_SOSYMLINKS=1
50150 ;;
50151
50152 *-*-cygwin* )
50153 USE_SOVERSION=1
50154 USE_SOVERCYGWIN=1
50155 ;;
50156 esac
50157
50158
50159
50160
50161
50162
50163
50164
50165
50166
50167 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
50168 if test "${enable_dependency_tracking+set}" = set; then
50169 enableval="$enable_dependency_tracking"
50170 bk_use_trackdeps="$enableval"
50171 fi;
50172
50173 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50174 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
50175
50176 BK_DEPS=""
50177 if test "x$bk_use_trackdeps" = "xno" ; then
50178 DEPS_TRACKING=0
50179 echo "$as_me:$LINENO: result: disabled" >&5
50180 echo "${ECHO_T}disabled" >&6
50181 else
50182 DEPS_TRACKING=1
50183
50184 if test "x$GCC" = "xyes"; then
50185 DEPSMODE=gcc
50186 case "${BAKEFILE_HOST}" in
50187 *-*-darwin* )
50188 DEPSFLAG="-no-cpp-precomp -MMD"
50189 ;;
50190 * )
50191 DEPSFLAG="-MMD"
50192 ;;
50193 esac
50194 echo "$as_me:$LINENO: result: gcc" >&5
50195 echo "${ECHO_T}gcc" >&6
50196 elif test "x$MWCC" = "xyes"; then
50197 DEPSMODE=mwcc
50198 DEPSFLAG="-MM"
50199 echo "$as_me:$LINENO: result: mwcc" >&5
50200 echo "${ECHO_T}mwcc" >&6
50201 elif test "x$SUNCC" = "xyes"; then
50202 DEPSMODE=unixcc
50203 DEPSFLAG="-xM1"
50204 echo "$as_me:$LINENO: result: Sun cc" >&5
50205 echo "${ECHO_T}Sun cc" >&6
50206 elif test "x$SGICC" = "xyes"; then
50207 DEPSMODE=unixcc
50208 DEPSFLAG="-M"
50209 echo "$as_me:$LINENO: result: SGI cc" >&5
50210 echo "${ECHO_T}SGI cc" >&6
50211 elif test "x$HPCC" = "xyes"; then
50212 DEPSMODE=unixcc
50213 DEPSFLAG="+make"
50214 echo "$as_me:$LINENO: result: HP cc" >&5
50215 echo "${ECHO_T}HP cc" >&6
50216 elif test "x$COMPAQCC" = "xyes"; then
50217 DEPSMODE=gcc
50218 DEPSFLAG="-MD"
50219 echo "$as_me:$LINENO: result: Compaq cc" >&5
50220 echo "${ECHO_T}Compaq cc" >&6
50221 else
50222 DEPS_TRACKING=0
50223 echo "$as_me:$LINENO: result: none" >&5
50224 echo "${ECHO_T}none" >&6
50225 fi
50226
50227 if test $DEPS_TRACKING = 1 ; then
50228
50229 D='$'
50230 cat <<EOF >bk-deps
50231 #!/bin/sh
50232
50233 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50234 # script. It is used to track C/C++ files dependencies in portable way.
50235 #
50236 # Permission is given to use this file in any way.
50237
50238 DEPSMODE=${DEPSMODE}
50239 DEPSDIR=.deps
50240 DEPSFLAG="${DEPSFLAG}"
50241
50242 mkdir -p ${D}DEPSDIR
50243
50244 if test ${D}DEPSMODE = gcc ; then
50245 ${D}* ${D}{DEPSFLAG}
50246 status=${D}?
50247 if test ${D}{status} != 0 ; then
50248 exit ${D}{status}
50249 fi
50250 # move created file to the location we want it in:
50251 while test ${D}# -gt 0; do
50252 case "${D}1" in
50253 -o )
50254 shift
50255 objfile=${D}1
50256 ;;
50257 -* )
50258 ;;
50259 * )
50260 srcfile=${D}1
50261 ;;
50262 esac
50263 shift
50264 done
50265 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50266 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50267 if test -f ${D}depfile ; then
50268 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50269 rm -f ${D}depfile
50270 else
50271 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50272 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50273 if test ! -f ${D}depfile ; then
50274 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50275 depfile="${D}objfile.d"
50276 fi
50277 if test -f ${D}depfile ; then
50278 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50279 rm -f ${D}depfile
50280 fi
50281 fi
50282 exit 0
50283 elif test ${D}DEPSMODE = mwcc ; then
50284 ${D}* || exit ${D}?
50285 # Run mwcc again with -MM and redirect into the dep file we want
50286 # NOTE: We can't use shift here because we need ${D}* to be valid
50287 prevarg=
50288 for arg in ${D}* ; do
50289 if test "${D}prevarg" = "-o"; then
50290 objfile=${D}arg
50291 else
50292 case "${D}arg" in
50293 -* )
50294 ;;
50295 * )
50296 srcfile=${D}arg
50297 ;;
50298 esac
50299 fi
50300 prevarg="${D}arg"
50301 done
50302 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50303 exit 0
50304 elif test ${D}DEPSMODE = unixcc; then
50305 ${D}* || exit ${D}?
50306 # Run compiler again with deps flag and redirect into the dep file.
50307 # It doesn't work if the '-o FILE' option is used, but without it the
50308 # dependency file will contain the wrong name for the object. So it is
50309 # removed from the command line, and the dep file is fixed with sed.
50310 cmd=""
50311 while test ${D}# -gt 0; do
50312 case "${D}1" in
50313 -o )
50314 shift
50315 objfile=${D}1
50316 ;;
50317 * )
50318 eval arg${D}#=\\${D}1
50319 cmd="${D}cmd \\${D}arg${D}#"
50320 ;;
50321 esac
50322 shift
50323 done
50324 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50325 exit 0
50326 else
50327 ${D}*
50328 exit ${D}?
50329 fi
50330 EOF
50331
50332 chmod +x bk-deps
50333 BK_DEPS="`pwd`/bk-deps"
50334 fi
50335 fi
50336
50337
50338
50339
50340
50341 case ${BAKEFILE_HOST} in
50342 *-*-cygwin* | *-*-mingw32* )
50343 if test -n "$ac_tool_prefix"; then
50344 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50345 set dummy ${ac_tool_prefix}windres; ac_word=$2
50346 echo "$as_me:$LINENO: checking for $ac_word" >&5
50347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50348 if test "${ac_cv_prog_WINDRES+set}" = set; then
50349 echo $ECHO_N "(cached) $ECHO_C" >&6
50350 else
50351 if test -n "$WINDRES"; then
50352 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50353 else
50354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50355 for as_dir in $PATH
50356 do
50357 IFS=$as_save_IFS
50358 test -z "$as_dir" && as_dir=.
50359 for ac_exec_ext in '' $ac_executable_extensions; do
50360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50361 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50363 break 2
50364 fi
50365 done
50366 done
50367
50368 fi
50369 fi
50370 WINDRES=$ac_cv_prog_WINDRES
50371 if test -n "$WINDRES"; then
50372 echo "$as_me:$LINENO: result: $WINDRES" >&5
50373 echo "${ECHO_T}$WINDRES" >&6
50374 else
50375 echo "$as_me:$LINENO: result: no" >&5
50376 echo "${ECHO_T}no" >&6
50377 fi
50378
50379 fi
50380 if test -z "$ac_cv_prog_WINDRES"; then
50381 ac_ct_WINDRES=$WINDRES
50382 # Extract the first word of "windres", so it can be a program name with args.
50383 set dummy windres; ac_word=$2
50384 echo "$as_me:$LINENO: checking for $ac_word" >&5
50385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50386 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50387 echo $ECHO_N "(cached) $ECHO_C" >&6
50388 else
50389 if test -n "$ac_ct_WINDRES"; then
50390 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50391 else
50392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50393 for as_dir in $PATH
50394 do
50395 IFS=$as_save_IFS
50396 test -z "$as_dir" && as_dir=.
50397 for ac_exec_ext in '' $ac_executable_extensions; do
50398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50399 ac_cv_prog_ac_ct_WINDRES="windres"
50400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50401 break 2
50402 fi
50403 done
50404 done
50405
50406 fi
50407 fi
50408 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50409 if test -n "$ac_ct_WINDRES"; then
50410 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50411 echo "${ECHO_T}$ac_ct_WINDRES" >&6
50412 else
50413 echo "$as_me:$LINENO: result: no" >&5
50414 echo "${ECHO_T}no" >&6
50415 fi
50416
50417 WINDRES=$ac_ct_WINDRES
50418 else
50419 WINDRES="$ac_cv_prog_WINDRES"
50420 fi
50421
50422 ;;
50423
50424 *-*-darwin* | powerpc-apple-macos* )
50425 # Extract the first word of "Rez", so it can be a program name with args.
50426 set dummy Rez; ac_word=$2
50427 echo "$as_me:$LINENO: checking for $ac_word" >&5
50428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50429 if test "${ac_cv_prog_REZ+set}" = set; then
50430 echo $ECHO_N "(cached) $ECHO_C" >&6
50431 else
50432 if test -n "$REZ"; then
50433 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50434 else
50435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50436 for as_dir in $PATH
50437 do
50438 IFS=$as_save_IFS
50439 test -z "$as_dir" && as_dir=.
50440 for ac_exec_ext in '' $ac_executable_extensions; do
50441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50442 ac_cv_prog_REZ="Rez"
50443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50444 break 2
50445 fi
50446 done
50447 done
50448
50449 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50450 fi
50451 fi
50452 REZ=$ac_cv_prog_REZ
50453 if test -n "$REZ"; then
50454 echo "$as_me:$LINENO: result: $REZ" >&5
50455 echo "${ECHO_T}$REZ" >&6
50456 else
50457 echo "$as_me:$LINENO: result: no" >&5
50458 echo "${ECHO_T}no" >&6
50459 fi
50460
50461 # Extract the first word of "SetFile", so it can be a program name with args.
50462 set dummy SetFile; ac_word=$2
50463 echo "$as_me:$LINENO: checking for $ac_word" >&5
50464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50465 if test "${ac_cv_prog_SETFILE+set}" = set; then
50466 echo $ECHO_N "(cached) $ECHO_C" >&6
50467 else
50468 if test -n "$SETFILE"; then
50469 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50470 else
50471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50472 for as_dir in $PATH
50473 do
50474 IFS=$as_save_IFS
50475 test -z "$as_dir" && as_dir=.
50476 for ac_exec_ext in '' $ac_executable_extensions; do
50477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50478 ac_cv_prog_SETFILE="SetFile"
50479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50480 break 2
50481 fi
50482 done
50483 done
50484
50485 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50486 fi
50487 fi
50488 SETFILE=$ac_cv_prog_SETFILE
50489 if test -n "$SETFILE"; then
50490 echo "$as_me:$LINENO: result: $SETFILE" >&5
50491 echo "${ECHO_T}$SETFILE" >&6
50492 else
50493 echo "$as_me:$LINENO: result: no" >&5
50494 echo "${ECHO_T}no" >&6
50495 fi
50496
50497 ;;
50498 esac
50499
50500
50501
50502
50503
50504
50505 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
50506
50507
50508 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
50509
50510
50511
50512 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
50513 if test "${enable_precomp_headers+set}" = set; then
50514 enableval="$enable_precomp_headers"
50515 bk_use_pch="$enableval"
50516 fi;
50517
50518 GCC_PCH=0
50519 ICC_PCH=0
50520 USE_PCH=0
50521 BK_MAKE_PCH=""
50522
50523 case ${BAKEFILE_HOST} in
50524 *-*-cygwin* )
50525 bk_use_pch="no"
50526 ;;
50527 esac
50528
50529 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50530 if test "x$GCC" = "xyes"; then
50531 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50532 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
50533 cat >conftest.$ac_ext <<_ACEOF
50534 /* confdefs.h. */
50535 _ACEOF
50536 cat confdefs.h >>conftest.$ac_ext
50537 cat >>conftest.$ac_ext <<_ACEOF
50538 /* end confdefs.h. */
50539
50540 int
50541 main ()
50542 {
50543
50544 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50545 There is no PCH support
50546 #endif
50547 #if (__GNUC__ < 3)
50548 There is no PCH support
50549 #endif
50550 #if (__GNUC__ == 3) && \
50551 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50552 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50553 ( defined(__INTEL_COMPILER) )
50554 There is no PCH support
50555 #endif
50556
50557 ;
50558 return 0;
50559 }
50560 _ACEOF
50561 rm -f conftest.$ac_objext
50562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50563 (eval $ac_compile) 2>conftest.er1
50564 ac_status=$?
50565 grep -v '^ *+' conftest.er1 >conftest.err
50566 rm -f conftest.er1
50567 cat conftest.err >&5
50568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50569 (exit $ac_status); } &&
50570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50572 (eval $ac_try) 2>&5
50573 ac_status=$?
50574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50575 (exit $ac_status); }; } &&
50576 { ac_try='test -s conftest.$ac_objext'
50577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50578 (eval $ac_try) 2>&5
50579 ac_status=$?
50580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50581 (exit $ac_status); }; }; then
50582
50583 echo "$as_me:$LINENO: result: yes" >&5
50584 echo "${ECHO_T}yes" >&6
50585 GCC_PCH=1
50586
50587 else
50588 echo "$as_me: failed program was:" >&5
50589 sed 's/^/| /' conftest.$ac_ext >&5
50590
50591
50592 cat >conftest.$ac_ext <<_ACEOF
50593 /* confdefs.h. */
50594 _ACEOF
50595 cat confdefs.h >>conftest.$ac_ext
50596 cat >>conftest.$ac_ext <<_ACEOF
50597 /* end confdefs.h. */
50598
50599 int
50600 main ()
50601 {
50602
50603 #if !defined(__INTEL_COMPILER) || \
50604 (__INTEL_COMPILER < 800)
50605 There is no PCH support
50606 #endif
50607
50608 ;
50609 return 0;
50610 }
50611 _ACEOF
50612 rm -f conftest.$ac_objext
50613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50614 (eval $ac_compile) 2>conftest.er1
50615 ac_status=$?
50616 grep -v '^ *+' conftest.er1 >conftest.err
50617 rm -f conftest.er1
50618 cat conftest.err >&5
50619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50620 (exit $ac_status); } &&
50621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50623 (eval $ac_try) 2>&5
50624 ac_status=$?
50625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50626 (exit $ac_status); }; } &&
50627 { ac_try='test -s conftest.$ac_objext'
50628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50629 (eval $ac_try) 2>&5
50630 ac_status=$?
50631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50632 (exit $ac_status); }; }; then
50633
50634 echo "$as_me:$LINENO: result: yes" >&5
50635 echo "${ECHO_T}yes" >&6
50636 ICC_PCH=1
50637
50638 else
50639 echo "$as_me: failed program was:" >&5
50640 sed 's/^/| /' conftest.$ac_ext >&5
50641
50642
50643 echo "$as_me:$LINENO: result: no" >&5
50644 echo "${ECHO_T}no" >&6
50645
50646 fi
50647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50648
50649 fi
50650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50651 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50652 USE_PCH=1
50653
50654 D='$'
50655 cat <<EOF >bk-make-pch
50656 #!/bin/sh
50657
50658 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50659 # script. It is used to generated precompiled headers.
50660 #
50661 # Permission is given to use this file in any way.
50662
50663 outfile="${D}{1}"
50664 header="${D}{2}"
50665 shift
50666 shift
50667
50668 compiler=""
50669 headerfile=""
50670
50671 while test ${D}{#} -gt 0; do
50672 add_to_cmdline=1
50673 case "${D}{1}" in
50674 -I* )
50675 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50676 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50677 headerfile="${D}{incdir}/${D}{header}"
50678 fi
50679 ;;
50680 -use-pch|-use_pch )
50681 shift
50682 add_to_cmdline=0
50683 ;;
50684 esac
50685 if test ${D}add_to_cmdline = 1 ; then
50686 compiler="${D}{compiler} ${D}{1}"
50687 fi
50688 shift
50689 done
50690
50691 if test "x${D}{headerfile}" = "x" ; then
50692 echo "error: can't find header ${D}{header} in include paths" >&2
50693 else
50694 if test -f ${D}{outfile} ; then
50695 rm -f ${D}{outfile}
50696 else
50697 mkdir -p \`dirname ${D}{outfile}\`
50698 fi
50699 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50700 mkdir -p .deps
50701 if test "x${GCC_PCH}" = "x1" ; then
50702 # can do this because gcc is >= 3.4:
50703 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50704 elif test "x${ICC_PCH}" = "x1" ; then
50705 filename=pch_gen-${D}${D}
50706 file=${D}{filename}.c
50707 dfile=${D}{filename}.d
50708 cat > ${D}file <<EOT
50709 #include "${D}header"
50710 EOT
50711 # using -MF icc complains about differing command lines in creation/use
50712 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
50713 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50714 rm -f ${D}file ${D}dfile ${D}{filename}.o
50715 fi
50716 exit ${D}{?}
50717 fi
50718 EOF
50719
50720 chmod +x bk-make-pch
50721 BK_MAKE_PCH="`pwd`/bk-make-pch"
50722 fi
50723 fi
50724 fi
50725
50726
50727
50728
50729
50730 COND_BUILD_DEBUG="#"
50731 if test "x$BUILD" = "xdebug" ; then
50732 COND_BUILD_DEBUG=""
50733 fi
50734
50735 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50736 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50737 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50738 fi
50739
50740 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50741 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50742 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50743 fi
50744
50745 COND_BUILD_DEBUG_UNICODE_0="#"
50746 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50747 COND_BUILD_DEBUG_UNICODE_0=""
50748 fi
50749
50750 COND_BUILD_DEBUG_UNICODE_1="#"
50751 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50752 COND_BUILD_DEBUG_UNICODE_1=""
50753 fi
50754
50755 COND_BUILD_RELEASE="#"
50756 if test "x$BUILD" = "xrelease" ; then
50757 COND_BUILD_RELEASE=""
50758 fi
50759
50760 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50761 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50762 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50763 fi
50764
50765 COND_BUILD_RELEASE_UNICODE_0="#"
50766 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50767 COND_BUILD_RELEASE_UNICODE_0=""
50768 fi
50769
50770 COND_BUILD_RELEASE_UNICODE_1="#"
50771 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50772 COND_BUILD_RELEASE_UNICODE_1=""
50773 fi
50774
50775 COND_DEBUG_FLAG_1="#"
50776 if test "x$DEBUG_FLAG" = "x1" ; then
50777 COND_DEBUG_FLAG_1=""
50778 fi
50779
50780 COND_DEBUG_INFO_0="#"
50781 if test "x$DEBUG_INFO" = "x0" ; then
50782 COND_DEBUG_INFO_0=""
50783 fi
50784
50785 COND_DEBUG_INFO_1="#"
50786 if test "x$DEBUG_INFO" = "x1" ; then
50787 COND_DEBUG_INFO_1=""
50788 fi
50789
50790 COND_DEPS_TRACKING_0="#"
50791 if test "x$DEPS_TRACKING" = "x0" ; then
50792 COND_DEPS_TRACKING_0=""
50793 fi
50794
50795 COND_DEPS_TRACKING_1="#"
50796 if test "x$DEPS_TRACKING" = "x1" ; then
50797 COND_DEPS_TRACKING_1=""
50798 fi
50799
50800 COND_GCC_PCH_1="#"
50801 if test "x$GCC_PCH" = "x1" ; then
50802 COND_GCC_PCH_1=""
50803 fi
50804
50805 COND_ICC_PCH_1="#"
50806 if test "x$ICC_PCH" = "x1" ; then
50807 COND_ICC_PCH_1=""
50808 fi
50809
50810 COND_MONOLITHIC_0="#"
50811 if test "x$MONOLITHIC" = "x0" ; then
50812 COND_MONOLITHIC_0=""
50813 fi
50814
50815 COND_MONOLITHIC_0_SHARED_0="#"
50816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50817 COND_MONOLITHIC_0_SHARED_0=""
50818 fi
50819
50820 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50822 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50823 fi
50824
50825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50828 fi
50829
50830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50833 fi
50834
50835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50838 fi
50839
50840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50843 fi
50844
50845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50848 fi
50849
50850 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50852 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50853 fi
50854
50855 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50857 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50858 fi
50859
50860 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50862 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50863 fi
50864
50865 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50867 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50868 fi
50869
50870 COND_MONOLITHIC_0_SHARED_1="#"
50871 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50872 COND_MONOLITHIC_0_SHARED_1=""
50873 fi
50874
50875 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50877 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50878 fi
50879
50880 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50883 fi
50884
50885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50888 fi
50889
50890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50893 fi
50894
50895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50898 fi
50899
50900 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50902 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50903 fi
50904
50905 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50907 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50908 fi
50909
50910 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50912 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50913 fi
50914
50915 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50917 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50918 fi
50919
50920 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50922 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50923 fi
50924
50925 COND_MONOLITHIC_0_USE_AUI_1="#"
50926 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50927 COND_MONOLITHIC_0_USE_AUI_1=""
50928 fi
50929
50930 COND_MONOLITHIC_0_USE_GUI_1="#"
50931 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50932 COND_MONOLITHIC_0_USE_GUI_1=""
50933 fi
50934
50935 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50936 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50937 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50938 fi
50939
50940 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
50941 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50942 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
50943 fi
50944
50945 COND_MONOLITHIC_0_USE_HTML_1="#"
50946 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50947 COND_MONOLITHIC_0_USE_HTML_1=""
50948 fi
50949
50950 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50951 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50952 COND_MONOLITHIC_0_USE_MEDIA_1=""
50953 fi
50954
50955 COND_MONOLITHIC_0_USE_ODBC_1="#"
50956 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50957 COND_MONOLITHIC_0_USE_ODBC_1=""
50958 fi
50959
50960 COND_MONOLITHIC_0_USE_QA_1="#"
50961 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50962 COND_MONOLITHIC_0_USE_QA_1=""
50963 fi
50964
50965 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50966 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50967 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50968 fi
50969
50970 COND_MONOLITHIC_0_USE_STC_1="#"
50971 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50972 COND_MONOLITHIC_0_USE_STC_1=""
50973 fi
50974
50975 COND_MONOLITHIC_0_USE_XRC_1="#"
50976 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50977 COND_MONOLITHIC_0_USE_XRC_1=""
50978 fi
50979
50980 COND_MONOLITHIC_1="#"
50981 if test "x$MONOLITHIC" = "x1" ; then
50982 COND_MONOLITHIC_1=""
50983 fi
50984
50985 COND_MONOLITHIC_1_SHARED_0="#"
50986 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50987 COND_MONOLITHIC_1_SHARED_0=""
50988 fi
50989
50990 COND_MONOLITHIC_1_SHARED_1="#"
50991 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50992 COND_MONOLITHIC_1_SHARED_1=""
50993 fi
50994
50995 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50996 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50997 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50998 fi
50999
51000 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
51001 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
51002 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
51003 fi
51004
51005 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
51006 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51007 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
51008 fi
51009
51010 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51011 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51012 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51013 fi
51014
51015 COND_PLATFORM_MACOSX_1="#"
51016 if test "x$PLATFORM_MACOSX" = "x1" ; then
51017 COND_PLATFORM_MACOSX_1=""
51018 fi
51019
51020 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51021 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51022 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51023 fi
51024
51025 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51026 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51027 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51028 fi
51029
51030 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51031 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51032 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51033 fi
51034
51035 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51036 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51037 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51038 fi
51039
51040 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51041 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51042 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51043 fi
51044
51045 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51046 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51047 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51048 fi
51049
51050 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51051 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51052 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51053 fi
51054
51055 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51056 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51057 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51058 fi
51059
51060 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51061 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51062 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51063 fi
51064
51065 COND_PLATFORM_MACOS_1="#"
51066 if test "x$PLATFORM_MACOS" = "x1" ; then
51067 COND_PLATFORM_MACOS_1=""
51068 fi
51069
51070 COND_PLATFORM_MAC_1="#"
51071 if test "x$PLATFORM_MAC" = "x1" ; then
51072 COND_PLATFORM_MAC_1=""
51073 fi
51074
51075 COND_PLATFORM_MSDOS_0="#"
51076 if test "x$PLATFORM_MSDOS" = "x0" ; then
51077 COND_PLATFORM_MSDOS_0=""
51078 fi
51079
51080 COND_PLATFORM_MSDOS_1="#"
51081 if test "x$PLATFORM_MSDOS" = "x1" ; then
51082 COND_PLATFORM_MSDOS_1=""
51083 fi
51084
51085 COND_PLATFORM_OS2_1="#"
51086 if test "x$PLATFORM_OS2" = "x1" ; then
51087 COND_PLATFORM_OS2_1=""
51088 fi
51089
51090 COND_PLATFORM_UNIX_0="#"
51091 if test "x$PLATFORM_UNIX" = "x0" ; then
51092 COND_PLATFORM_UNIX_0=""
51093 fi
51094
51095 COND_PLATFORM_UNIX_1="#"
51096 if test "x$PLATFORM_UNIX" = "x1" ; then
51097 COND_PLATFORM_UNIX_1=""
51098 fi
51099
51100 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51101 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51102 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51103 fi
51104
51105 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51106 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51107 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51108 fi
51109
51110 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51111 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51112 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51113 fi
51114
51115 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51116 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51117 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51118 fi
51119
51120 COND_PLATFORM_WIN32_0="#"
51121 if test "x$PLATFORM_WIN32" = "x0" ; then
51122 COND_PLATFORM_WIN32_0=""
51123 fi
51124
51125 COND_PLATFORM_WIN32_1="#"
51126 if test "x$PLATFORM_WIN32" = "x1" ; then
51127 COND_PLATFORM_WIN32_1=""
51128 fi
51129
51130 COND_SHARED_0="#"
51131 if test "x$SHARED" = "x0" ; then
51132 COND_SHARED_0=""
51133 fi
51134
51135 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51136 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51137 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51138 fi
51139
51140 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51141 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51142 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51143 fi
51144
51145 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51146 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51147 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51148 fi
51149
51150 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51151 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51152 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51153 fi
51154
51155 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51156 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51157 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51158 fi
51159
51160 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51161 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51162 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51163 fi
51164
51165 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51166 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51167 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51168 fi
51169
51170 COND_SHARED_0_USE_STC_1="#"
51171 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51172 COND_SHARED_0_USE_STC_1=""
51173 fi
51174
51175 COND_SHARED_0_USE_XRC_1="#"
51176 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51177 COND_SHARED_0_USE_XRC_1=""
51178 fi
51179
51180 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51181 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51182 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51183 fi
51184
51185 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
51186 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51187 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
51188 fi
51189
51190 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51191 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51192 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51193 fi
51194
51195 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51196 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51197 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51198 fi
51199
51200 COND_SHARED_1="#"
51201 if test "x$SHARED" = "x1" ; then
51202 COND_SHARED_1=""
51203 fi
51204
51205 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51206 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51207 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51208 fi
51209
51210 COND_SHARED_1_USE_XRC_1="#"
51211 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51212 COND_SHARED_1_USE_XRC_1=""
51213 fi
51214
51215 COND_TOOLKIT_="#"
51216 if test "x$TOOLKIT" = "x" ; then
51217 COND_TOOLKIT_=""
51218 fi
51219
51220 COND_TOOLKIT_COCOA="#"
51221 if test "x$TOOLKIT" = "xCOCOA" ; then
51222 COND_TOOLKIT_COCOA=""
51223 fi
51224
51225 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51226 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51227 COND_TOOLKIT_COCOA_USE_GUI_1=""
51228 fi
51229
51230 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51231 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51232 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51233 fi
51234
51235 COND_TOOLKIT_DFB="#"
51236 if test "x$TOOLKIT" = "xDFB" ; then
51237 COND_TOOLKIT_DFB=""
51238 fi
51239
51240 COND_TOOLKIT_DFB_USE_GUI_1="#"
51241 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51242 COND_TOOLKIT_DFB_USE_GUI_1=""
51243 fi
51244
51245 COND_TOOLKIT_GTK="#"
51246 if test "x$TOOLKIT" = "xGTK" ; then
51247 COND_TOOLKIT_GTK=""
51248 fi
51249
51250 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51251 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51253 fi
51254
51255 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51256 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51257 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51258 fi
51259
51260 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51261 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51262 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51263 fi
51264
51265 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51266 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51267 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51268 fi
51269
51270 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51271 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51272 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51273 fi
51274
51275 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51276 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51277 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51278 fi
51279
51280 COND_TOOLKIT_GTK_USE_GUI_1="#"
51281 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51282 COND_TOOLKIT_GTK_USE_GUI_1=""
51283 fi
51284
51285 COND_TOOLKIT_MAC="#"
51286 if test "x$TOOLKIT" = "xMAC" ; then
51287 COND_TOOLKIT_MAC=""
51288 fi
51289
51290 COND_TOOLKIT_MAC_USE_GUI_1="#"
51291 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51292 COND_TOOLKIT_MAC_USE_GUI_1=""
51293 fi
51294
51295 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
51296 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51297 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
51298 fi
51299
51300 COND_TOOLKIT_MGL="#"
51301 if test "x$TOOLKIT" = "xMGL" ; then
51302 COND_TOOLKIT_MGL=""
51303 fi
51304
51305 COND_TOOLKIT_MGL_USE_GUI_1="#"
51306 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51307 COND_TOOLKIT_MGL_USE_GUI_1=""
51308 fi
51309
51310 COND_TOOLKIT_MOTIF="#"
51311 if test "x$TOOLKIT" = "xMOTIF" ; then
51312 COND_TOOLKIT_MOTIF=""
51313 fi
51314
51315 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51316 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51317 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51318 fi
51319
51320 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51321 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51322 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51323 fi
51324
51325 COND_TOOLKIT_MSW="#"
51326 if test "x$TOOLKIT" = "xMSW" ; then
51327 COND_TOOLKIT_MSW=""
51328 fi
51329
51330 COND_TOOLKIT_MSW_USE_GUI_1="#"
51331 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51332 COND_TOOLKIT_MSW_USE_GUI_1=""
51333 fi
51334
51335 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51336 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51337 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51338 fi
51339
51340 COND_TOOLKIT_MSW_WXUNIV_0="#"
51341 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51342 COND_TOOLKIT_MSW_WXUNIV_0=""
51343 fi
51344
51345 COND_TOOLKIT_PM="#"
51346 if test "x$TOOLKIT" = "xPM" ; then
51347 COND_TOOLKIT_PM=""
51348 fi
51349
51350 COND_TOOLKIT_PM_USE_GUI_1="#"
51351 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51352 COND_TOOLKIT_PM_USE_GUI_1=""
51353 fi
51354
51355 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51356 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51357 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51358 fi
51359
51360 COND_TOOLKIT_WINCE="#"
51361 if test "x$TOOLKIT" = "xWINCE" ; then
51362 COND_TOOLKIT_WINCE=""
51363 fi
51364
51365 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51366 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51367 COND_TOOLKIT_WINCE_USE_GUI_1=""
51368 fi
51369
51370 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51371 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51372 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51373 fi
51374
51375 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51376 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51377 COND_TOOLKIT_WINCE_WXUNIV_0=""
51378 fi
51379
51380 COND_TOOLKIT_X11="#"
51381 if test "x$TOOLKIT" = "xX11" ; then
51382 COND_TOOLKIT_X11=""
51383 fi
51384
51385 COND_TOOLKIT_X11_USE_GUI_1="#"
51386 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51387 COND_TOOLKIT_X11_USE_GUI_1=""
51388 fi
51389
51390 COND_UNICODE_1="#"
51391 if test "x$UNICODE" = "x1" ; then
51392 COND_UNICODE_1=""
51393 fi
51394
51395 COND_USE_EXCEPTIONS_0="#"
51396 if test "x$USE_EXCEPTIONS" = "x0" ; then
51397 COND_USE_EXCEPTIONS_0=""
51398 fi
51399
51400 COND_USE_EXCEPTIONS_1="#"
51401 if test "x$USE_EXCEPTIONS" = "x1" ; then
51402 COND_USE_EXCEPTIONS_1=""
51403 fi
51404
51405 COND_USE_GUI_0="#"
51406 if test "x$USE_GUI" = "x0" ; then
51407 COND_USE_GUI_0=""
51408 fi
51409
51410 COND_USE_GUI_1="#"
51411 if test "x$USE_GUI" = "x1" ; then
51412 COND_USE_GUI_1=""
51413 fi
51414
51415 COND_USE_GUI_1_USE_OPENGL_1="#"
51416 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51417 COND_USE_GUI_1_USE_OPENGL_1=""
51418 fi
51419
51420 COND_USE_GUI_1_WXUNIV_0="#"
51421 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51422 COND_USE_GUI_1_WXUNIV_0=""
51423 fi
51424
51425 COND_USE_GUI_1_WXUNIV_1="#"
51426 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51427 COND_USE_GUI_1_WXUNIV_1=""
51428 fi
51429
51430 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51431 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51432 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51433 fi
51434
51435 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51436 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51437 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51438 fi
51439
51440 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51441 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51442 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51443 fi
51444
51445 COND_USE_ODBC_1="#"
51446 if test "x$USE_ODBC" = "x1" ; then
51447 COND_USE_ODBC_1=""
51448 fi
51449
51450 COND_USE_OPENGL_1="#"
51451 if test "x$USE_OPENGL" = "x1" ; then
51452 COND_USE_OPENGL_1=""
51453 fi
51454
51455 COND_USE_PCH_1="#"
51456 if test "x$USE_PCH" = "x1" ; then
51457 COND_USE_PCH_1=""
51458 fi
51459
51460 COND_USE_PLUGINS_0="#"
51461 if test "x$USE_PLUGINS" = "x0" ; then
51462 COND_USE_PLUGINS_0=""
51463 fi
51464
51465 COND_USE_RTTI_0="#"
51466 if test "x$USE_RTTI" = "x0" ; then
51467 COND_USE_RTTI_0=""
51468 fi
51469
51470 COND_USE_RTTI_1="#"
51471 if test "x$USE_RTTI" = "x1" ; then
51472 COND_USE_RTTI_1=""
51473 fi
51474
51475 COND_USE_SOSYMLINKS_1="#"
51476 if test "x$USE_SOSYMLINKS" = "x1" ; then
51477 COND_USE_SOSYMLINKS_1=""
51478 fi
51479
51480 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51481 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51482 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51483 fi
51484
51485 COND_USE_SOVERLINUX_1="#"
51486 if test "x$USE_SOVERLINUX" = "x1" ; then
51487 COND_USE_SOVERLINUX_1=""
51488 fi
51489
51490 COND_USE_SOVERSION_0="#"
51491 if test "x$USE_SOVERSION" = "x0" ; then
51492 COND_USE_SOVERSION_0=""
51493 fi
51494
51495 COND_USE_SOVERSOLARIS_1="#"
51496 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51497 COND_USE_SOVERSOLARIS_1=""
51498 fi
51499
51500 COND_USE_STC_1="#"
51501 if test "x$USE_STC" = "x1" ; then
51502 COND_USE_STC_1=""
51503 fi
51504
51505 COND_USE_THREADS_0="#"
51506 if test "x$USE_THREADS" = "x0" ; then
51507 COND_USE_THREADS_0=""
51508 fi
51509
51510 COND_USE_THREADS_1="#"
51511 if test "x$USE_THREADS" = "x1" ; then
51512 COND_USE_THREADS_1=""
51513 fi
51514
51515 COND_USE_XRC_1="#"
51516 if test "x$USE_XRC" = "x1" ; then
51517 COND_USE_XRC_1=""
51518 fi
51519
51520 COND_WINDOWS_IMPLIB_1="#"
51521 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51522 COND_WINDOWS_IMPLIB_1=""
51523 fi
51524
51525 COND_WITH_PLUGIN_SDL_1="#"
51526 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51527 COND_WITH_PLUGIN_SDL_1=""
51528 fi
51529
51530 COND_WXUNIV_0="#"
51531 if test "x$WXUNIV" = "x0" ; then
51532 COND_WXUNIV_0=""
51533 fi
51534
51535 COND_WXUNIV_1="#"
51536 if test "x$WXUNIV" = "x1" ; then
51537 COND_WXUNIV_1=""
51538 fi
51539
51540 COND_WXUSE_EXPAT_BUILTIN="#"
51541 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51542 COND_WXUSE_EXPAT_BUILTIN=""
51543 fi
51544
51545 COND_WXUSE_LIBJPEG_BUILTIN="#"
51546 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51547 COND_WXUSE_LIBJPEG_BUILTIN=""
51548 fi
51549
51550 COND_WXUSE_LIBPNG_BUILTIN="#"
51551 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51552 COND_WXUSE_LIBPNG_BUILTIN=""
51553 fi
51554
51555 COND_WXUSE_LIBTIFF_BUILTIN="#"
51556 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51557 COND_WXUSE_LIBTIFF_BUILTIN=""
51558 fi
51559
51560 COND_WXUSE_ODBC_BUILTIN="#"
51561 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
51562 COND_WXUSE_ODBC_BUILTIN=""
51563 fi
51564
51565 COND_WXUSE_REGEX_BUILTIN="#"
51566 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51567 COND_WXUSE_REGEX_BUILTIN=""
51568 fi
51569
51570 COND_WXUSE_ZLIB_BUILTIN="#"
51571 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51572 COND_WXUSE_ZLIB_BUILTIN=""
51573 fi
51574
51575
51576
51577 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51578 { { 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
51579 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;}
51580 { (exit 1); exit 1; }; }
51581 fi
51582
51583 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51584 { { 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
51585 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;}
51586 { (exit 1); exit 1; }; }
51587 fi
51588
51589
51590 if test $GCC_PCH = 1
51591 then
51592 if test "$wx_cv_gcc_pch_bug" = yes; then
51593 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51594 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51595 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51596 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51597 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51598 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51599 fi
51600
51601 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
51602 fi
51603
51604
51605 if test "$wxUSE_MAC" = 1 ; then
51606 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51607 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51608 mv temp bk-deps
51609 chmod +x bk-deps
51610 fi
51611 fi
51612
51613 if test "$wxUSE_SHARED" = "yes"; then
51614
51615 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
51616 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
51617
51618 case "${host}" in
51619 *-pc-os2_emx | *-pc-os2-emx )
51620 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51621 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51622 cp -p ${srcdir}/src/os2/dllnames.sh .
51623 cp -p ${srcdir}/src/os2/dllar.sh .
51624 ;;
51625 esac
51626 else
51627
51628 EXE_LINKER="$CXX -o"
51629
51630 fi
51631 if test "$wxUSE_OMF" = "yes"; then
51632 case "${host}" in
51633 *-pc-os2_emx | *-pc-os2-emx )
51634 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51635 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51636 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51637 ;;
51638 esac
51639 fi
51640
51641 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51642
51643
51644 case "${host}" in
51645 *-*-solaris2* )
51646 if "$GCC" = yes; then
51647 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51648 LIBS=`echo $LIBS | sed 's/-mt//'`
51649 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51650 fi
51651 ;;
51652
51653 *-*-linux* )
51654 if test "x$SUNCXX" = xyes; then
51655 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51656 LIBS=`echo $LIBS | sed 's/-pthread//'`
51657 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51658 fi
51659 ;;
51660 esac
51661
51662 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51663 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51664
51665 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51666
51667
51668
51669
51670
51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
51683
51684
51685
51686
51687
51688
51689
51690
51691
51692
51693
51694
51695
51696
51697
51698
51699
51700
51701
51702
51703
51704
51705
51706
51707
51708
51709
51710
51711
51712
51713
51714
51715
51716
51717
51718
51719
51720
51721
51722
51723
51724
51725
51726
51727 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51728 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
51729 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
51730 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
51731 echo $ECHO_N "(cached) $ECHO_C" >&6
51732 else
51733 cat >conftest.make <<\_ACEOF
51734 all:
51735 @echo 'ac_maketemp="$(MAKE)"'
51736 _ACEOF
51737 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51738 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
51739 if test -n "$ac_maketemp"; then
51740 eval ac_cv_prog_make_${ac_make}_set=yes
51741 else
51742 eval ac_cv_prog_make_${ac_make}_set=no
51743 fi
51744 rm -f conftest.make
51745 fi
51746 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
51747 echo "$as_me:$LINENO: result: yes" >&5
51748 echo "${ECHO_T}yes" >&6
51749 SET_MAKE=
51750 else
51751 echo "$as_me:$LINENO: result: no" >&5
51752 echo "${ECHO_T}no" >&6
51753 SET_MAKE="MAKE=${MAKE-make}"
51754 fi
51755
51756
51757
51758 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51759
51760
51761 if test "$USE_WIN32" = 1; then
51762 ac_config_commands="$ac_config_commands
51763 rcdefs.h
51764 "
51765
51766 fi
51767
51768 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51769
51770
51771 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51772
51773
51774 if test "$wx_cv_version_script" = "yes"; then
51775 ac_config_files="$ac_config_files version-script"
51776
51777 fi
51778 ac_config_files="$ac_config_files Makefile"
51779
51780
51781 ac_config_commands="$ac_config_commands wx-config"
51782
51783
51784
51785 if test "$wxWITH_SUBDIRS" != "no"; then
51786 if test "$wxUSE_GUI" = "yes"; then
51787 SUBDIRS="samples demos utils"
51788 else SUBDIRS="samples utils"
51789 fi
51790
51791
51792
51793 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
51794 if test "${with_cppunit_prefix+set}" = set; then
51795 withval="$with_cppunit_prefix"
51796 cppunit_config_prefix="$withval"
51797 else
51798 cppunit_config_prefix=""
51799 fi;
51800
51801 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
51802 if test "${with_cppunit_exec_prefix+set}" = set; then
51803 withval="$with_cppunit_exec_prefix"
51804 cppunit_config_exec_prefix="$withval"
51805 else
51806 cppunit_config_exec_prefix=""
51807 fi;
51808
51809 if test x$cppunit_config_exec_prefix != x ; then
51810 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51811 if test x${CPPUNIT_CONFIG+set} != xset ; then
51812 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51813 fi
51814 fi
51815 if test x$cppunit_config_prefix != x ; then
51816 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51817 if test x${CPPUNIT_CONFIG+set} != xset ; then
51818 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51819 fi
51820 fi
51821
51822 # Extract the first word of "cppunit-config", so it can be a program name with args.
51823 set dummy cppunit-config; ac_word=$2
51824 echo "$as_me:$LINENO: checking for $ac_word" >&5
51825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51826 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51827 echo $ECHO_N "(cached) $ECHO_C" >&6
51828 else
51829 case $CPPUNIT_CONFIG in
51830 [\\/]* | ?:[\\/]*)
51831 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51832 ;;
51833 *)
51834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51835 for as_dir in $PATH
51836 do
51837 IFS=$as_save_IFS
51838 test -z "$as_dir" && as_dir=.
51839 for ac_exec_ext in '' $ac_executable_extensions; do
51840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51841 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51843 break 2
51844 fi
51845 done
51846 done
51847
51848 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51849 ;;
51850 esac
51851 fi
51852 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51853
51854 if test -n "$CPPUNIT_CONFIG"; then
51855 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51856 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
51857 else
51858 echo "$as_me:$LINENO: result: no" >&5
51859 echo "${ECHO_T}no" >&6
51860 fi
51861
51862 cppunit_version_min=1.8.0
51863
51864 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51865 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
51866 no_cppunit=""
51867 if test "$CPPUNIT_CONFIG" = "no" ; then
51868 echo "$as_me:$LINENO: result: no" >&5
51869 echo "${ECHO_T}no" >&6
51870 no_cppunit=yes
51871 else
51872 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51873 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51874 cppunit_version=`$CPPUNIT_CONFIG --version`
51875
51876 cppunit_major_version=`echo $cppunit_version | \
51877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51878 cppunit_minor_version=`echo $cppunit_version | \
51879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51880 cppunit_micro_version=`echo $cppunit_version | \
51881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51882
51883 cppunit_major_min=`echo $cppunit_version_min | \
51884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51885 cppunit_minor_min=`echo $cppunit_version_min | \
51886 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51887 cppunit_micro_min=`echo $cppunit_version_min | \
51888 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51889
51890 cppunit_version_proper=`expr \
51891 $cppunit_major_version \> $cppunit_major_min \| \
51892 $cppunit_major_version \= $cppunit_major_min \& \
51893 $cppunit_minor_version \> $cppunit_minor_min \| \
51894 $cppunit_major_version \= $cppunit_major_min \& \
51895 $cppunit_minor_version \= $cppunit_minor_min \& \
51896 $cppunit_micro_version \>= $cppunit_micro_min `
51897
51898 if test "$cppunit_version_proper" = "1" ; then
51899 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51900 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
51901 else
51902 echo "$as_me:$LINENO: result: no" >&5
51903 echo "${ECHO_T}no" >&6
51904 no_cppunit=yes
51905 fi
51906 fi
51907
51908 if test "x$no_cppunit" = x ; then
51909 SUBDIRS="$SUBDIRS tests"
51910 else
51911 CPPUNIT_CFLAGS=""
51912 CPPUNIT_LIBS=""
51913 :
51914 fi
51915
51916
51917
51918
51919
51920 for subdir in `echo $SUBDIRS`; do
51921 if test -d ${srcdir}/${subdir} ; then
51922 if test "$wxUSE_GUI" = "yes"; then
51923 if test ${subdir} = "samples"; then
51924 makefiles="samples/Makefile.in $makefiles"
51925 for sample in `echo $SAMPLES_SUBDIRS`; do
51926 if test -d $srcdir/samples/$sample; then
51927 makefiles="samples/$sample/Makefile.in $makefiles"
51928 fi
51929 done
51930 else
51931 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
51932 eval "disabled=\$$disabled_var"
51933 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51934 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51935 fi
51936 else if test ${subdir} = "samples"; then
51937 makefiles="samples/Makefile.in samples/console/Makefile.in"
51938 elif test ${subdir} = "utils"; then
51939 makefiles=""
51940 for util in HelpGen tex2rtf ; do
51941 if test -d $srcdir/utils/$util ; then
51942 makefiles="utils/$util/Makefile.in \
51943 utils/$util/src/Makefile.in \
51944 $makefiles"
51945 fi
51946 done
51947 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51948 fi
51949 fi
51950
51951 for mkin in $makefiles ; do
51952 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51953 ac_config_files="$ac_config_files $mk"
51954
51955 done
51956 fi
51957 done
51958 fi
51959 cat >confcache <<\_ACEOF
51960 # This file is a shell script that caches the results of configure
51961 # tests run on this system so they can be shared between configure
51962 # scripts and configure runs, see configure's option --config-cache.
51963 # It is not useful on other systems. If it contains results you don't
51964 # want to keep, you may remove or edit it.
51965 #
51966 # config.status only pays attention to the cache file if you give it
51967 # the --recheck option to rerun configure.
51968 #
51969 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51970 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51971 # following values.
51972
51973 _ACEOF
51974
51975 # The following way of writing the cache mishandles newlines in values,
51976 # but we know of no workaround that is simple, portable, and efficient.
51977 # So, don't put newlines in cache variables' values.
51978 # Ultrix sh set writes to stderr and can't be redirected directly,
51979 # and sets the high bit in the cache file unless we assign to the vars.
51980 {
51981 (set) 2>&1 |
51982 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51983 *ac_space=\ *)
51984 # `set' does not quote correctly, so add quotes (double-quote
51985 # substitution turns \\\\ into \\, and sed turns \\ into \).
51986 sed -n \
51987 "s/'/'\\\\''/g;
51988 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51989 ;;
51990 *)
51991 # `set' quotes correctly as required by POSIX, so do not add quotes.
51992 sed -n \
51993 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51994 ;;
51995 esac;
51996 } |
51997 sed '
51998 t clear
51999 : clear
52000 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
52001 t end
52002 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
52003 : end' >>confcache
52004 if diff $cache_file confcache >/dev/null 2>&1; then :; else
52005 if test -w $cache_file; then
52006 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
52007 cat confcache >$cache_file
52008 else
52009 echo "not updating unwritable cache $cache_file"
52010 fi
52011 fi
52012 rm -f confcache
52013
52014 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52015 # Let make expand exec_prefix.
52016 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52017
52018 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52019 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52020 # trailing colons and then remove the whole line if VPATH becomes empty
52021 # (actually we leave an empty line to preserve line numbers).
52022 if test "x$srcdir" = x.; then
52023 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52024 s/:*\$(srcdir):*/:/;
52025 s/:*\${srcdir}:*/:/;
52026 s/:*@srcdir@:*/:/;
52027 s/^\([^=]*=[ ]*\):*/\1/;
52028 s/:*$//;
52029 s/^[^=]*=[ ]*$//;
52030 }'
52031 fi
52032
52033 DEFS=-DHAVE_CONFIG_H
52034
52035 ac_libobjs=
52036 ac_ltlibobjs=
52037 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52038 # 1. Remove the extension, and $U if already installed.
52039 ac_i=`echo "$ac_i" |
52040 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
52041 # 2. Add them.
52042 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
52043 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
52044 done
52045 LIBOBJS=$ac_libobjs
52046
52047 LTLIBOBJS=$ac_ltlibobjs
52048
52049
52050
52051 : ${CONFIG_STATUS=./config.status}
52052 ac_clean_files_save=$ac_clean_files
52053 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52054 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52055 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52056 cat >$CONFIG_STATUS <<_ACEOF
52057 #! $SHELL
52058 # Generated by $as_me.
52059 # Run this file to recreate the current configuration.
52060 # Compiler output produced by configure, useful for debugging
52061 # configure, is in config.log if it exists.
52062
52063 debug=false
52064 ac_cs_recheck=false
52065 ac_cs_silent=false
52066 SHELL=\${CONFIG_SHELL-$SHELL}
52067 _ACEOF
52068
52069 cat >>$CONFIG_STATUS <<\_ACEOF
52070 ## --------------------- ##
52071 ## M4sh Initialization. ##
52072 ## --------------------- ##
52073
52074 # Be Bourne compatible
52075 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52076 emulate sh
52077 NULLCMD=:
52078 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52079 # is contrary to our usage. Disable this feature.
52080 alias -g '${1+"$@"}'='"$@"'
52081 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
52082 set -o posix
52083 fi
52084 DUALCASE=1; export DUALCASE # for MKS sh
52085
52086 # Support unset when possible.
52087 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52088 as_unset=unset
52089 else
52090 as_unset=false
52091 fi
52092
52093
52094 # Work around bugs in pre-3.0 UWIN ksh.
52095 $as_unset ENV MAIL MAILPATH
52096 PS1='$ '
52097 PS2='> '
52098 PS4='+ '
52099
52100 # NLS nuisances.
52101 for as_var in \
52102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52104 LC_TELEPHONE LC_TIME
52105 do
52106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52107 eval $as_var=C; export $as_var
52108 else
52109 $as_unset $as_var
52110 fi
52111 done
52112
52113 # Required to use basename.
52114 if expr a : '\(a\)' >/dev/null 2>&1; then
52115 as_expr=expr
52116 else
52117 as_expr=false
52118 fi
52119
52120 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
52121 as_basename=basename
52122 else
52123 as_basename=false
52124 fi
52125
52126
52127 # Name of the executable.
52128 as_me=`$as_basename "$0" ||
52129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52130 X"$0" : 'X\(//\)$' \| \
52131 X"$0" : 'X\(/\)$' \| \
52132 . : '\(.\)' 2>/dev/null ||
52133 echo X/"$0" |
52134 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
52135 /^X\/\(\/\/\)$/{ s//\1/; q; }
52136 /^X\/\(\/\).*/{ s//\1/; q; }
52137 s/.*/./; q'`
52138
52139
52140 # PATH needs CR, and LINENO needs CR and PATH.
52141 # Avoid depending upon Character Ranges.
52142 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52143 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52144 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52145 as_cr_digits='0123456789'
52146 as_cr_alnum=$as_cr_Letters$as_cr_digits
52147
52148 # The user is always right.
52149 if test "${PATH_SEPARATOR+set}" != set; then
52150 echo "#! /bin/sh" >conf$$.sh
52151 echo "exit 0" >>conf$$.sh
52152 chmod +x conf$$.sh
52153 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52154 PATH_SEPARATOR=';'
52155 else
52156 PATH_SEPARATOR=:
52157 fi
52158 rm -f conf$$.sh
52159 fi
52160
52161
52162 as_lineno_1=$LINENO
52163 as_lineno_2=$LINENO
52164 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
52165 test "x$as_lineno_1" != "x$as_lineno_2" &&
52166 test "x$as_lineno_3" = "x$as_lineno_2" || {
52167 # Find who we are. Look in the path if we contain no path at all
52168 # relative or not.
52169 case $0 in
52170 *[\\/]* ) as_myself=$0 ;;
52171 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52172 for as_dir in $PATH
52173 do
52174 IFS=$as_save_IFS
52175 test -z "$as_dir" && as_dir=.
52176 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52177 done
52178
52179 ;;
52180 esac
52181 # We did not find ourselves, most probably we were run as `sh COMMAND'
52182 # in which case we are not to be found in the path.
52183 if test "x$as_myself" = x; then
52184 as_myself=$0
52185 fi
52186 if test ! -f "$as_myself"; then
52187 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
52188 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
52189 { (exit 1); exit 1; }; }
52190 fi
52191 case $CONFIG_SHELL in
52192 '')
52193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
52195 do
52196 IFS=$as_save_IFS
52197 test -z "$as_dir" && as_dir=.
52198 for as_base in sh bash ksh sh5; do
52199 case $as_dir in
52200 /*)
52201 if ("$as_dir/$as_base" -c '
52202 as_lineno_1=$LINENO
52203 as_lineno_2=$LINENO
52204 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
52205 test "x$as_lineno_1" != "x$as_lineno_2" &&
52206 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
52207 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
52208 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
52209 CONFIG_SHELL=$as_dir/$as_base
52210 export CONFIG_SHELL
52211 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
52212 fi;;
52213 esac
52214 done
52215 done
52216 ;;
52217 esac
52218
52219 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52220 # uniformly replaced by the line number. The first 'sed' inserts a
52221 # line-number line before each line; the second 'sed' does the real
52222 # work. The second script uses 'N' to pair each line-number line
52223 # with the numbered line, and appends trailing '-' during
52224 # substitution so that $LINENO is not a special case at line end.
52225 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52226 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
52227 sed '=' <$as_myself |
52228 sed '
52229 N
52230 s,$,-,
52231 : loop
52232 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
52233 t loop
52234 s,-$,,
52235 s,^['$as_cr_digits']*\n,,
52236 ' >$as_me.lineno &&
52237 chmod +x $as_me.lineno ||
52238 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
52239 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
52240 { (exit 1); exit 1; }; }
52241
52242 # Don't try to exec as it changes $[0], causing all sort of problems
52243 # (the dirname of $[0] is not the place where we might find the
52244 # original and so on. Autoconf is especially sensible to this).
52245 . ./$as_me.lineno
52246 # Exit status is that of the last command.
52247 exit
52248 }
52249
52250
52251 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
52252 *c*,-n*) ECHO_N= ECHO_C='
52253 ' ECHO_T=' ' ;;
52254 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
52255 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
52256 esac
52257
52258 if expr a : '\(a\)' >/dev/null 2>&1; then
52259 as_expr=expr
52260 else
52261 as_expr=false
52262 fi
52263
52264 rm -f conf$$ conf$$.exe conf$$.file
52265 echo >conf$$.file
52266 if ln -s conf$$.file conf$$ 2>/dev/null; then
52267 # We could just check for DJGPP; but this test a) works b) is more generic
52268 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
52269 if test -f conf$$.exe; then
52270 # Don't use ln at all; we don't have any links
52271 as_ln_s='cp -p'
52272 else
52273 as_ln_s='ln -s'
52274 fi
52275 elif ln conf$$.file conf$$ 2>/dev/null; then
52276 as_ln_s=ln
52277 else
52278 as_ln_s='cp -p'
52279 fi
52280 rm -f conf$$ conf$$.exe conf$$.file
52281
52282 if mkdir -p . 2>/dev/null; then
52283 as_mkdir_p=:
52284 else
52285 test -d ./-p && rmdir ./-p
52286 as_mkdir_p=false
52287 fi
52288
52289 as_executable_p="test -f"
52290
52291 # Sed expression to map a string onto a valid CPP name.
52292 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52293
52294 # Sed expression to map a string onto a valid variable name.
52295 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52296
52297
52298 # IFS
52299 # We need space, tab and new line, in precisely that order.
52300 as_nl='
52301 '
52302 IFS=" $as_nl"
52303
52304 # CDPATH.
52305 $as_unset CDPATH
52306
52307 exec 6>&1
52308
52309 # Open the log real soon, to keep \$[0] and so on meaningful, and to
52310 # report actual input values of CONFIG_FILES etc. instead of their
52311 # values after options handling. Logging --version etc. is OK.
52312 exec 5>>config.log
52313 {
52314 echo
52315 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52316 ## Running $as_me. ##
52317 _ASBOX
52318 } >&5
52319 cat >&5 <<_CSEOF
52320
52321 This file was extended by wxWidgets $as_me 2.9.0, which was
52322 generated by GNU Autoconf 2.59. Invocation command line was
52323
52324 CONFIG_FILES = $CONFIG_FILES
52325 CONFIG_HEADERS = $CONFIG_HEADERS
52326 CONFIG_LINKS = $CONFIG_LINKS
52327 CONFIG_COMMANDS = $CONFIG_COMMANDS
52328 $ $0 $@
52329
52330 _CSEOF
52331 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
52332 echo >&5
52333 _ACEOF
52334
52335 # Files that config.status was made for.
52336 if test -n "$ac_config_files"; then
52337 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
52338 fi
52339
52340 if test -n "$ac_config_headers"; then
52341 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
52342 fi
52343
52344 if test -n "$ac_config_links"; then
52345 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
52346 fi
52347
52348 if test -n "$ac_config_commands"; then
52349 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
52350 fi
52351
52352 cat >>$CONFIG_STATUS <<\_ACEOF
52353
52354 ac_cs_usage="\
52355 \`$as_me' instantiates files from templates according to the
52356 current configuration.
52357
52358 Usage: $0 [OPTIONS] [FILE]...
52359
52360 -h, --help print this help, then exit
52361 -V, --version print version number, then exit
52362 -q, --quiet do not print progress messages
52363 -d, --debug don't remove temporary files
52364 --recheck update $as_me by reconfiguring in the same conditions
52365 --file=FILE[:TEMPLATE]
52366 instantiate the configuration file FILE
52367 --header=FILE[:TEMPLATE]
52368 instantiate the configuration header FILE
52369
52370 Configuration files:
52371 $config_files
52372
52373 Configuration headers:
52374 $config_headers
52375
52376 Configuration commands:
52377 $config_commands
52378
52379 Report bugs to <bug-autoconf@gnu.org>."
52380 _ACEOF
52381
52382 cat >>$CONFIG_STATUS <<_ACEOF
52383 ac_cs_version="\\
52384 wxWidgets config.status 2.9.0
52385 configured by $0, generated by GNU Autoconf 2.59,
52386 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
52387
52388 Copyright (C) 2003 Free Software Foundation, Inc.
52389 This config.status script is free software; the Free Software Foundation
52390 gives unlimited permission to copy, distribute and modify it."
52391 srcdir=$srcdir
52392 INSTALL="$INSTALL"
52393 _ACEOF
52394
52395 cat >>$CONFIG_STATUS <<\_ACEOF
52396 # If no file are specified by the user, then we need to provide default
52397 # value. By we need to know if files were specified by the user.
52398 ac_need_defaults=:
52399 while test $# != 0
52400 do
52401 case $1 in
52402 --*=*)
52403 ac_option=`expr "x$1" : 'x\([^=]*\)='`
52404 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
52405 ac_shift=:
52406 ;;
52407 -*)
52408 ac_option=$1
52409 ac_optarg=$2
52410 ac_shift=shift
52411 ;;
52412 *) # This is not an option, so the user has probably given explicit
52413 # arguments.
52414 ac_option=$1
52415 ac_need_defaults=false;;
52416 esac
52417
52418 case $ac_option in
52419 # Handling of the options.
52420 _ACEOF
52421 cat >>$CONFIG_STATUS <<\_ACEOF
52422 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52423 ac_cs_recheck=: ;;
52424 --version | --vers* | -V )
52425 echo "$ac_cs_version"; exit 0 ;;
52426 --he | --h)
52427 # Conflict between --help and --header
52428 { { echo "$as_me:$LINENO: error: ambiguous option: $1
52429 Try \`$0 --help' for more information." >&5
52430 echo "$as_me: error: ambiguous option: $1
52431 Try \`$0 --help' for more information." >&2;}
52432 { (exit 1); exit 1; }; };;
52433 --help | --hel | -h )
52434 echo "$ac_cs_usage"; exit 0 ;;
52435 --debug | --d* | -d )
52436 debug=: ;;
52437 --file | --fil | --fi | --f )
52438 $ac_shift
52439 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52440 ac_need_defaults=false;;
52441 --header | --heade | --head | --hea )
52442 $ac_shift
52443 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52444 ac_need_defaults=false;;
52445 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52446 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52447 ac_cs_silent=: ;;
52448
52449 # This is an error.
52450 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
52451 Try \`$0 --help' for more information." >&5
52452 echo "$as_me: error: unrecognized option: $1
52453 Try \`$0 --help' for more information." >&2;}
52454 { (exit 1); exit 1; }; } ;;
52455
52456 *) ac_config_targets="$ac_config_targets $1" ;;
52457
52458 esac
52459 shift
52460 done
52461
52462 ac_configure_extra_args=
52463
52464 if $ac_cs_silent; then
52465 exec 6>/dev/null
52466 ac_configure_extra_args="$ac_configure_extra_args --silent"
52467 fi
52468
52469 _ACEOF
52470 cat >>$CONFIG_STATUS <<_ACEOF
52471 if \$ac_cs_recheck; then
52472 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52473 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52474 fi
52475
52476 _ACEOF
52477
52478 cat >>$CONFIG_STATUS <<_ACEOF
52479 #
52480 # INIT-COMMANDS section.
52481 #
52482
52483
52484 CPP="$CPP"
52485 infile="$srcdir/include/wx/msw/genrcdefs.h"
52486 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52487
52488
52489 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52490 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52491 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52492 LN_S="${LN_S}"
52493
52494
52495 _ACEOF
52496
52497
52498
52499 cat >>$CONFIG_STATUS <<\_ACEOF
52500 for ac_config_target in $ac_config_targets
52501 do
52502 case "$ac_config_target" in
52503 # Handling of arguments.
52504 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52505 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52506 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
52507 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52508 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
52509 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52510 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52511 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52512 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52513 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52514 { (exit 1); exit 1; }; };;
52515 esac
52516 done
52517
52518 # If the user did not use the arguments to specify the items to instantiate,
52519 # then the envvar interface is used. Set only those that are not.
52520 # We use the long form for the default assignment because of an extremely
52521 # bizarre bug on SunOS 4.1.3.
52522 if $ac_need_defaults; then
52523 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52524 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52525 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52526 fi
52527
52528 # Have a temporary directory for convenience. Make it in the build tree
52529 # simply because there is no reason to put it here, and in addition,
52530 # creating and moving files from /tmp can sometimes cause problems.
52531 # Create a temporary directory, and hook for its removal unless debugging.
52532 $debug ||
52533 {
52534 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
52535 trap '{ (exit 1); exit 1; }' 1 2 13 15
52536 }
52537
52538 # Create a (secure) tmp directory for tmp files.
52539
52540 {
52541 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
52542 test -n "$tmp" && test -d "$tmp"
52543 } ||
52544 {
52545 tmp=./confstat$$-$RANDOM
52546 (umask 077 && mkdir $tmp)
52547 } ||
52548 {
52549 echo "$me: cannot create a temporary directory in ." >&2
52550 { (exit 1); exit 1; }
52551 }
52552
52553 _ACEOF
52554
52555 cat >>$CONFIG_STATUS <<_ACEOF
52556
52557 #
52558 # CONFIG_FILES section.
52559 #
52560
52561 # No need to generate the scripts if there are no CONFIG_FILES.
52562 # This happens for instance when ./config.status config.h
52563 if test -n "\$CONFIG_FILES"; then
52564 # Protect against being on the right side of a sed subst in config.status.
52565 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
52566 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
52567 s,@SHELL@,$SHELL,;t t
52568 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
52569 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
52570 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
52571 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
52572 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
52573 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
52574 s,@exec_prefix@,$exec_prefix,;t t
52575 s,@prefix@,$prefix,;t t
52576 s,@program_transform_name@,$program_transform_name,;t t
52577 s,@bindir@,$bindir,;t t
52578 s,@sbindir@,$sbindir,;t t
52579 s,@libexecdir@,$libexecdir,;t t
52580 s,@datadir@,$datadir,;t t
52581 s,@sysconfdir@,$sysconfdir,;t t
52582 s,@sharedstatedir@,$sharedstatedir,;t t
52583 s,@localstatedir@,$localstatedir,;t t
52584 s,@libdir@,$libdir,;t t
52585 s,@includedir@,$includedir,;t t
52586 s,@oldincludedir@,$oldincludedir,;t t
52587 s,@infodir@,$infodir,;t t
52588 s,@mandir@,$mandir,;t t
52589 s,@build_alias@,$build_alias,;t t
52590 s,@host_alias@,$host_alias,;t t
52591 s,@target_alias@,$target_alias,;t t
52592 s,@DEFS@,$DEFS,;t t
52593 s,@ECHO_C@,$ECHO_C,;t t
52594 s,@ECHO_N@,$ECHO_N,;t t
52595 s,@ECHO_T@,$ECHO_T,;t t
52596 s,@LIBS@,$LIBS,;t t
52597 s,@build@,$build,;t t
52598 s,@build_cpu@,$build_cpu,;t t
52599 s,@build_vendor@,$build_vendor,;t t
52600 s,@build_os@,$build_os,;t t
52601 s,@host@,$host,;t t
52602 s,@host_cpu@,$host_cpu,;t t
52603 s,@host_vendor@,$host_vendor,;t t
52604 s,@host_os@,$host_os,;t t
52605 s,@target@,$target,;t t
52606 s,@target_cpu@,$target_cpu,;t t
52607 s,@target_vendor@,$target_vendor,;t t
52608 s,@target_os@,$target_os,;t t
52609 s,@wx_top_builddir@,$wx_top_builddir,;t t
52610 s,@CC@,$CC,;t t
52611 s,@CFLAGS@,$CFLAGS,;t t
52612 s,@LDFLAGS@,$LDFLAGS,;t t
52613 s,@CPPFLAGS@,$CPPFLAGS,;t t
52614 s,@ac_ct_CC@,$ac_ct_CC,;t t
52615 s,@EXEEXT@,$EXEEXT,;t t
52616 s,@OBJEXT@,$OBJEXT,;t t
52617 s,@CPP@,$CPP,;t t
52618 s,@EGREP@,$EGREP,;t t
52619 s,@CXX@,$CXX,;t t
52620 s,@CXXFLAGS@,$CXXFLAGS,;t t
52621 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
52622 s,@RANLIB@,$RANLIB,;t t
52623 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
52624 s,@AR@,$AR,;t t
52625 s,@ac_ct_AR@,$ac_ct_AR,;t t
52626 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
52627 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
52628 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
52629 s,@STRIP@,$STRIP,;t t
52630 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
52631 s,@WINDRES@,$WINDRES,;t t
52632 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
52633 s,@DLLTOOL@,$DLLTOOL,;t t
52634 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
52635 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
52636 s,@LN_S@,$LN_S,;t t
52637 s,@subdirs@,$subdirs,;t t
52638 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
52639 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
52640 s,@GTK_LIBS@,$GTK_LIBS,;t t
52641 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
52642 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
52643 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
52644 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
52645 s,@X_CFLAGS@,$X_CFLAGS,;t t
52646 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
52647 s,@X_LIBS@,$X_LIBS,;t t
52648 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
52649 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
52650 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
52651 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
52652 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
52653 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
52654 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
52655 s,@CFLAGS_VISIBILITY@,$CFLAGS_VISIBILITY,;t t
52656 s,@CXXFLAGS_VISIBILITY@,$CXXFLAGS_VISIBILITY,;t t
52657 s,@REZ@,$REZ,;t t
52658 s,@DEREZ@,$DEREZ,;t t
52659 s,@SETFILE@,$SETFILE,;t t
52660 s,@LIBICONV@,$LIBICONV,;t t
52661 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
52662 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
52663 s,@SDL_LIBS@,$SDL_LIBS,;t t
52664 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
52665 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
52666 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
52667 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
52668 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
52669 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
52670 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
52671 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
52672 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
52673 s,@GST_LIBS@,$GST_LIBS,;t t
52674 s,@ALL_WX_LIBS@,$ALL_WX_LIBS,;t t
52675 s,@BUILT_WX_LIBS@,$BUILT_WX_LIBS,;t t
52676 s,@STD_BASE_LIBS@,$STD_BASE_LIBS,;t t
52677 s,@STD_GUI_LIBS@,$STD_GUI_LIBS,;t t
52678 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
52679 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
52680 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
52681 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
52682 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
52683 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
52684 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
52685 s,@VENDOR@,$VENDOR,;t t
52686 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
52687 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
52688 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
52689 s,@WXUNIV@,$WXUNIV,;t t
52690 s,@MONOLITHIC@,$MONOLITHIC,;t t
52691 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
52692 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
52693 s,@EXTRALIBS@,$EXTRALIBS,;t t
52694 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
52695 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
52696 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
52697 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
52698 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
52699 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
52700 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
52701 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
52702 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
52703 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
52704 s,@UNICODE@,$UNICODE,;t t
52705 s,@BUILD@,$BUILD,;t t
52706 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
52707 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
52708 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
52709 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
52710 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
52711 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
52712 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
52713 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
52714 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
52715 s,@SET_MAKE@,$SET_MAKE,;t t
52716 s,@MAKE_SET@,$MAKE_SET,;t t
52717 s,@AROPTIONS@,$AROPTIONS,;t t
52718 s,@NM@,$NM,;t t
52719 s,@ac_ct_NM@,$ac_ct_NM,;t t
52720 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
52721 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
52722 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
52723 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
52724 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
52725 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
52726 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
52727 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
52728 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
52729 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
52730 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
52731 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
52732 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
52733 s,@LIBPREFIX@,$LIBPREFIX,;t t
52734 s,@LIBEXT@,$LIBEXT,;t t
52735 s,@DLLPREFIX@,$DLLPREFIX,;t t
52736 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
52737 s,@dlldir@,$dlldir,;t t
52738 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
52739 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
52740 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
52741 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
52742 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
52743 s,@PIC_FLAG@,$PIC_FLAG,;t t
52744 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
52745 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
52746 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
52747 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
52748 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
52749 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
52750 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
52751 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
52752 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
52753 s,@BK_DEPS@,$BK_DEPS,;t t
52754 s,@GCC_PCH@,$GCC_PCH,;t t
52755 s,@ICC_PCH@,$ICC_PCH,;t t
52756 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
52757 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
52758 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
52759 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
52760 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
52761 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
52762 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
52763 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
52764 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
52765 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
52766 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
52767 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
52768 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
52769 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
52770 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
52771 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
52772 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
52773 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
52774 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
52775 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
52776 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
52777 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
52778 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
52779 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
52780 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
52781 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
52782 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
52783 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
52784 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
52785 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
52786 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
52787 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
52788 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
52789 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
52790 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
52791 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
52792 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
52793 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
52794 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
52795 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
52796 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
52797 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
52798 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
52799 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
52800 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
52801 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
52802 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
52803 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
52804 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
52805 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
52806 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
52807 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
52808 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
52809 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
52810 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
52811 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
52812 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
52813 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
52814 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
52815 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
52816 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
52817 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
52818 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
52819 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
52820 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
52821 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
52822 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
52823 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
52824 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
52825 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
52826 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
52827 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
52828 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
52829 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
52830 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
52831 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
52832 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
52833 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
52834 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
52835 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
52836 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
52837 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
52838 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
52839 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
52840 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
52841 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
52842 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52843 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52844 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52845 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
52846 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
52847 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
52848 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
52849 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
52850 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
52851 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
52852 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
52853 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
52854 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
52855 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
52856 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
52857 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
52858 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
52859 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
52860 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
52861 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
52862 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
52863 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
52864 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
52865 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
52866 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
52867 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
52868 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
52869 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
52870 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
52871 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
52872 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
52873 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
52874 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
52875 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
52876 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
52877 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
52878 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
52879 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
52880 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
52881 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
52882 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
52883 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
52884 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
52885 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
52886 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
52887 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
52888 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
52889 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
52890 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
52891 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
52892 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
52893 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
52894 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
52895 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
52896 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
52897 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52898 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52899 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52900 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
52901 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
52902 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
52903 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
52904 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
52905 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
52906 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
52907 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
52908 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
52909 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
52910 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
52911 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
52912 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
52913 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
52914 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
52915 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
52916 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
52917 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
52918 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
52919 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
52920 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
52921 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
52922 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
52923 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
52924 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
52925 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
52926 s,@SHARED@,$SHARED,;t t
52927 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
52928 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
52929 s,@USE_GUI@,$USE_GUI,;t t
52930 s,@AFMINSTALL@,$AFMINSTALL,;t t
52931 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
52932 s,@TOOLKIT@,$TOOLKIT,;t t
52933 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
52934 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
52935 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
52936 s,@cross_compiling@,$cross_compiling,;t t
52937 s,@WIDGET_SET@,$WIDGET_SET,;t t
52938 s,@WX_RELEASE@,$WX_RELEASE,;t t
52939 s,@WX_VERSION@,$WX_VERSION,;t t
52940 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
52941 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
52942 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
52943 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
52944 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
52945 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
52946 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52947 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52948 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52949 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52950 s,@EXE_LINKER@,$EXE_LINKER,;t t
52951 s,@GUIDIST@,$GUIDIST,;t t
52952 s,@DISTDIR@,$DISTDIR,;t t
52953 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52954 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52955 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52956 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52957 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52958 s,@RESCOMP@,$RESCOMP,;t t
52959 s,@RESFLAGS@,$RESFLAGS,;t t
52960 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52961 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52962 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52963 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52964 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52965 s,@MACSETFILE@,$MACSETFILE,;t t
52966 s,@GCC@,$GCC,;t t
52967 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52968 s,@LIBOBJS@,$LIBOBJS,;t t
52969 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52970 CEOF
52971
52972 _ACEOF
52973
52974 cat >>$CONFIG_STATUS <<\_ACEOF
52975 # Split the substitutions into bite-sized pieces for seds with
52976 # small command number limits, like on Digital OSF/1 and HP-UX.
52977 ac_max_sed_lines=48
52978 ac_sed_frag=1 # Number of current file.
52979 ac_beg=1 # First line for current file.
52980 ac_end=$ac_max_sed_lines # Line after last line for current file.
52981 ac_more_lines=:
52982 ac_sed_cmds=
52983 while $ac_more_lines; do
52984 if test $ac_beg -gt 1; then
52985 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52986 else
52987 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52988 fi
52989 if test ! -s $tmp/subs.frag; then
52990 ac_more_lines=false
52991 else
52992 # The purpose of the label and of the branching condition is to
52993 # speed up the sed processing (if there are no `@' at all, there
52994 # is no need to browse any of the substitutions).
52995 # These are the two extra sed commands mentioned above.
52996 (echo ':t
52997 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
52998 if test -z "$ac_sed_cmds"; then
52999 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
53000 else
53001 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
53002 fi
53003 ac_sed_frag=`expr $ac_sed_frag + 1`
53004 ac_beg=$ac_end
53005 ac_end=`expr $ac_end + $ac_max_sed_lines`
53006 fi
53007 done
53008 if test -z "$ac_sed_cmds"; then
53009 ac_sed_cmds=cat
53010 fi
53011 fi # test -n "$CONFIG_FILES"
53012
53013 _ACEOF
53014 cat >>$CONFIG_STATUS <<\_ACEOF
53015 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
53016 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
53017 case $ac_file in
53018 - | *:- | *:-:* ) # input from stdin
53019 cat >$tmp/stdin
53020 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53021 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53022 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53023 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53024 * ) ac_file_in=$ac_file.in ;;
53025 esac
53026
53027 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
53028 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
53029 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53030 X"$ac_file" : 'X\(//\)[^/]' \| \
53031 X"$ac_file" : 'X\(//\)$' \| \
53032 X"$ac_file" : 'X\(/\)' \| \
53033 . : '\(.\)' 2>/dev/null ||
53034 echo X"$ac_file" |
53035 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53036 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53037 /^X\(\/\/\)$/{ s//\1/; q; }
53038 /^X\(\/\).*/{ s//\1/; q; }
53039 s/.*/./; q'`
53040 { if $as_mkdir_p; then
53041 mkdir -p "$ac_dir"
53042 else
53043 as_dir="$ac_dir"
53044 as_dirs=
53045 while test ! -d "$as_dir"; do
53046 as_dirs="$as_dir $as_dirs"
53047 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53048 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53049 X"$as_dir" : 'X\(//\)[^/]' \| \
53050 X"$as_dir" : 'X\(//\)$' \| \
53051 X"$as_dir" : 'X\(/\)' \| \
53052 . : '\(.\)' 2>/dev/null ||
53053 echo X"$as_dir" |
53054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53055 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53056 /^X\(\/\/\)$/{ s//\1/; q; }
53057 /^X\(\/\).*/{ s//\1/; q; }
53058 s/.*/./; q'`
53059 done
53060 test ! -n "$as_dirs" || mkdir $as_dirs
53061 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53062 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53063 { (exit 1); exit 1; }; }; }
53064
53065 ac_builddir=.
53066
53067 if test "$ac_dir" != .; then
53068 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53069 # A "../" for each directory in $ac_dir_suffix.
53070 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53071 else
53072 ac_dir_suffix= ac_top_builddir=
53073 fi
53074
53075 case $srcdir in
53076 .) # No --srcdir option. We are building in place.
53077 ac_srcdir=.
53078 if test -z "$ac_top_builddir"; then
53079 ac_top_srcdir=.
53080 else
53081 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53082 fi ;;
53083 [\\/]* | ?:[\\/]* ) # Absolute path.
53084 ac_srcdir=$srcdir$ac_dir_suffix;
53085 ac_top_srcdir=$srcdir ;;
53086 *) # Relative path.
53087 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
53088 ac_top_srcdir=$ac_top_builddir$srcdir ;;
53089 esac
53090
53091 # Do not use `cd foo && pwd` to compute absolute paths, because
53092 # the directories may not exist.
53093 case `pwd` in
53094 .) ac_abs_builddir="$ac_dir";;
53095 *)
53096 case "$ac_dir" in
53097 .) ac_abs_builddir=`pwd`;;
53098 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
53099 *) ac_abs_builddir=`pwd`/"$ac_dir";;
53100 esac;;
53101 esac
53102 case $ac_abs_builddir in
53103 .) ac_abs_top_builddir=${ac_top_builddir}.;;
53104 *)
53105 case ${ac_top_builddir}. in
53106 .) ac_abs_top_builddir=$ac_abs_builddir;;
53107 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
53108 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
53109 esac;;
53110 esac
53111 case $ac_abs_builddir in
53112 .) ac_abs_srcdir=$ac_srcdir;;
53113 *)
53114 case $ac_srcdir in
53115 .) ac_abs_srcdir=$ac_abs_builddir;;
53116 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
53117 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
53118 esac;;
53119 esac
53120 case $ac_abs_builddir in
53121 .) ac_abs_top_srcdir=$ac_top_srcdir;;
53122 *)
53123 case $ac_top_srcdir in
53124 .) ac_abs_top_srcdir=$ac_abs_builddir;;
53125 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
53126 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
53127 esac;;
53128 esac
53129
53130
53131 case $INSTALL in
53132 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53133 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
53134 esac
53135
53136 # Let's still pretend it is `configure' which instantiates (i.e., don't
53137 # use $as_me), people would be surprised to read:
53138 # /* config.h. Generated by config.status. */
53139 if test x"$ac_file" = x-; then
53140 configure_input=
53141 else
53142 configure_input="$ac_file. "
53143 fi
53144 configure_input=$configure_input"Generated from `echo $ac_file_in |
53145 sed 's,.*/,,'` by configure."
53146
53147 # First look for the input files in the build tree, otherwise in the
53148 # src tree.
53149 ac_file_inputs=`IFS=:
53150 for f in $ac_file_in; do
53151 case $f in
53152 -) echo $tmp/stdin ;;
53153 [\\/$]*)
53154 # Absolute (can't be DOS-style, as IFS=:)
53155 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53156 echo "$as_me: error: cannot find input file: $f" >&2;}
53157 { (exit 1); exit 1; }; }
53158 echo "$f";;
53159 *) # Relative
53160 if test -f "$f"; then
53161 # Build tree
53162 echo "$f"
53163 elif test -f "$srcdir/$f"; then
53164 # Source tree
53165 echo "$srcdir/$f"
53166 else
53167 # /dev/null tree
53168 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53169 echo "$as_me: error: cannot find input file: $f" >&2;}
53170 { (exit 1); exit 1; }; }
53171 fi;;
53172 esac
53173 done` || { (exit 1); exit 1; }
53174
53175 if test x"$ac_file" != x-; then
53176 { echo "$as_me:$LINENO: creating $ac_file" >&5
53177 echo "$as_me: creating $ac_file" >&6;}
53178 rm -f "$ac_file"
53179 fi
53180 _ACEOF
53181 cat >>$CONFIG_STATUS <<_ACEOF
53182 sed "$ac_vpsub
53183 $extrasub
53184 _ACEOF
53185 cat >>$CONFIG_STATUS <<\_ACEOF
53186 :t
53187 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53188 s,@configure_input@,$configure_input,;t t
53189 s,@srcdir@,$ac_srcdir,;t t
53190 s,@abs_srcdir@,$ac_abs_srcdir,;t t
53191 s,@top_srcdir@,$ac_top_srcdir,;t t
53192 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
53193 s,@builddir@,$ac_builddir,;t t
53194 s,@abs_builddir@,$ac_abs_builddir,;t t
53195 s,@top_builddir@,$ac_top_builddir,;t t
53196 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
53197 s,@INSTALL@,$ac_INSTALL,;t t
53198 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
53199 rm -f $tmp/stdin
53200 if test x"$ac_file" != x-; then
53201 mv $tmp/out $ac_file
53202 else
53203 cat $tmp/out
53204 rm -f $tmp/out
53205 fi
53206
53207 # Run the commands associated with the file.
53208 case $ac_file in
53209 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53210 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53211 esac
53212 done
53213 _ACEOF
53214 cat >>$CONFIG_STATUS <<\_ACEOF
53215
53216 #
53217 # CONFIG_HEADER section.
53218 #
53219
53220 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
53221 # NAME is the cpp macro being defined and VALUE is the value it is being given.
53222 #
53223 # ac_d sets the value in "#define NAME VALUE" lines.
53224 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
53225 ac_dB='[ ].*$,\1#\2'
53226 ac_dC=' '
53227 ac_dD=',;t'
53228 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
53229 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
53230 ac_uB='$,\1#\2define\3'
53231 ac_uC=' '
53232 ac_uD=',;t'
53233
53234 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
53235 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
53236 case $ac_file in
53237 - | *:- | *:-:* ) # input from stdin
53238 cat >$tmp/stdin
53239 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53240 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53241 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53242 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53243 * ) ac_file_in=$ac_file.in ;;
53244 esac
53245
53246 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
53247 echo "$as_me: creating $ac_file" >&6;}
53248
53249 # First look for the input files in the build tree, otherwise in the
53250 # src tree.
53251 ac_file_inputs=`IFS=:
53252 for f in $ac_file_in; do
53253 case $f in
53254 -) echo $tmp/stdin ;;
53255 [\\/$]*)
53256 # Absolute (can't be DOS-style, as IFS=:)
53257 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53258 echo "$as_me: error: cannot find input file: $f" >&2;}
53259 { (exit 1); exit 1; }; }
53260 # Do quote $f, to prevent DOS paths from being IFS'd.
53261 echo "$f";;
53262 *) # Relative
53263 if test -f "$f"; then
53264 # Build tree
53265 echo "$f"
53266 elif test -f "$srcdir/$f"; then
53267 # Source tree
53268 echo "$srcdir/$f"
53269 else
53270 # /dev/null tree
53271 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53272 echo "$as_me: error: cannot find input file: $f" >&2;}
53273 { (exit 1); exit 1; }; }
53274 fi;;
53275 esac
53276 done` || { (exit 1); exit 1; }
53277 # Remove the trailing spaces.
53278 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
53279
53280 _ACEOF
53281
53282 # Transform confdefs.h into two sed scripts, `conftest.defines' and
53283 # `conftest.undefs', that substitutes the proper values into
53284 # config.h.in to produce config.h. The first handles `#define'
53285 # templates, and the second `#undef' templates.
53286 # And first: Protect against being on the right side of a sed subst in
53287 # config.status. Protect against being in an unquoted here document
53288 # in config.status.
53289 rm -f conftest.defines conftest.undefs
53290 # Using a here document instead of a string reduces the quoting nightmare.
53291 # Putting comments in sed scripts is not portable.
53292 #
53293 # `end' is used to avoid that the second main sed command (meant for
53294 # 0-ary CPP macros) applies to n-ary macro definitions.
53295 # See the Autoconf documentation for `clear'.
53296 cat >confdef2sed.sed <<\_ACEOF
53297 s/[\\&,]/\\&/g
53298 s,[\\$`],\\&,g
53299 t clear
53300 : clear
53301 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
53302 t end
53303 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
53304 : end
53305 _ACEOF
53306 # If some macros were called several times there might be several times
53307 # the same #defines, which is useless. Nevertheless, we may not want to
53308 # sort them, since we want the *last* AC-DEFINE to be honored.
53309 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
53310 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
53311 rm -f confdef2sed.sed
53312
53313 # This sed command replaces #undef with comments. This is necessary, for
53314 # example, in the case of _POSIX_SOURCE, which is predefined and required
53315 # on some systems where configure will not decide to define it.
53316 cat >>conftest.undefs <<\_ACEOF
53317 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
53318 _ACEOF
53319
53320 # Break up conftest.defines because some shells have a limit on the size
53321 # of here documents, and old seds have small limits too (100 cmds).
53322 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
53323 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
53324 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
53325 echo ' :' >>$CONFIG_STATUS
53326 rm -f conftest.tail
53327 while grep . conftest.defines >/dev/null
53328 do
53329 # Write a limited-size here document to $tmp/defines.sed.
53330 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
53331 # Speed up: don't consider the non `#define' lines.
53332 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
53333 # Work around the forget-to-reset-the-flag bug.
53334 echo 't clr' >>$CONFIG_STATUS
53335 echo ': clr' >>$CONFIG_STATUS
53336 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
53337 echo 'CEOF
53338 sed -f $tmp/defines.sed $tmp/in >$tmp/out
53339 rm -f $tmp/in
53340 mv $tmp/out $tmp/in
53341 ' >>$CONFIG_STATUS
53342 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
53343 rm -f conftest.defines
53344 mv conftest.tail conftest.defines
53345 done
53346 rm -f conftest.defines
53347 echo ' fi # grep' >>$CONFIG_STATUS
53348 echo >>$CONFIG_STATUS
53349
53350 # Break up conftest.undefs because some shells have a limit on the size
53351 # of here documents, and old seds have small limits too (100 cmds).
53352 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
53353 rm -f conftest.tail
53354 while grep . conftest.undefs >/dev/null
53355 do
53356 # Write a limited-size here document to $tmp/undefs.sed.
53357 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
53358 # Speed up: don't consider the non `#undef'
53359 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
53360 # Work around the forget-to-reset-the-flag bug.
53361 echo 't clr' >>$CONFIG_STATUS
53362 echo ': clr' >>$CONFIG_STATUS
53363 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
53364 echo 'CEOF
53365 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
53366 rm -f $tmp/in
53367 mv $tmp/out $tmp/in
53368 ' >>$CONFIG_STATUS
53369 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
53370 rm -f conftest.undefs
53371 mv conftest.tail conftest.undefs
53372 done
53373 rm -f conftest.undefs
53374
53375 cat >>$CONFIG_STATUS <<\_ACEOF
53376 # Let's still pretend it is `configure' which instantiates (i.e., don't
53377 # use $as_me), people would be surprised to read:
53378 # /* config.h. Generated by config.status. */
53379 if test x"$ac_file" = x-; then
53380 echo "/* Generated by configure. */" >$tmp/config.h
53381 else
53382 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
53383 fi
53384 cat $tmp/in >>$tmp/config.h
53385 rm -f $tmp/in
53386 if test x"$ac_file" != x-; then
53387 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
53388 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53389 echo "$as_me: $ac_file is unchanged" >&6;}
53390 else
53391 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
53392 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53393 X"$ac_file" : 'X\(//\)[^/]' \| \
53394 X"$ac_file" : 'X\(//\)$' \| \
53395 X"$ac_file" : 'X\(/\)' \| \
53396 . : '\(.\)' 2>/dev/null ||
53397 echo X"$ac_file" |
53398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53399 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53400 /^X\(\/\/\)$/{ s//\1/; q; }
53401 /^X\(\/\).*/{ s//\1/; q; }
53402 s/.*/./; q'`
53403 { if $as_mkdir_p; then
53404 mkdir -p "$ac_dir"
53405 else
53406 as_dir="$ac_dir"
53407 as_dirs=
53408 while test ! -d "$as_dir"; do
53409 as_dirs="$as_dir $as_dirs"
53410 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53411 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53412 X"$as_dir" : 'X\(//\)[^/]' \| \
53413 X"$as_dir" : 'X\(//\)$' \| \
53414 X"$as_dir" : 'X\(/\)' \| \
53415 . : '\(.\)' 2>/dev/null ||
53416 echo X"$as_dir" |
53417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53419 /^X\(\/\/\)$/{ s//\1/; q; }
53420 /^X\(\/\).*/{ s//\1/; q; }
53421 s/.*/./; q'`
53422 done
53423 test ! -n "$as_dirs" || mkdir $as_dirs
53424 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53425 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53426 { (exit 1); exit 1; }; }; }
53427
53428 rm -f $ac_file
53429 mv $tmp/config.h $ac_file
53430 fi
53431 else
53432 cat $tmp/config.h
53433 rm -f $tmp/config.h
53434 fi
53435 done
53436 _ACEOF
53437 cat >>$CONFIG_STATUS <<\_ACEOF
53438
53439 #
53440 # CONFIG_COMMANDS section.
53441 #
53442 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
53443 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
53444 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
53445 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
53446 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53447 X"$ac_dest" : 'X\(//\)[^/]' \| \
53448 X"$ac_dest" : 'X\(//\)$' \| \
53449 X"$ac_dest" : 'X\(/\)' \| \
53450 . : '\(.\)' 2>/dev/null ||
53451 echo X"$ac_dest" |
53452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53454 /^X\(\/\/\)$/{ s//\1/; q; }
53455 /^X\(\/\).*/{ s//\1/; q; }
53456 s/.*/./; q'`
53457 { if $as_mkdir_p; then
53458 mkdir -p "$ac_dir"
53459 else
53460 as_dir="$ac_dir"
53461 as_dirs=
53462 while test ! -d "$as_dir"; do
53463 as_dirs="$as_dir $as_dirs"
53464 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53466 X"$as_dir" : 'X\(//\)[^/]' \| \
53467 X"$as_dir" : 'X\(//\)$' \| \
53468 X"$as_dir" : 'X\(/\)' \| \
53469 . : '\(.\)' 2>/dev/null ||
53470 echo X"$as_dir" |
53471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53473 /^X\(\/\/\)$/{ s//\1/; q; }
53474 /^X\(\/\).*/{ s//\1/; q; }
53475 s/.*/./; q'`
53476 done
53477 test ! -n "$as_dirs" || mkdir $as_dirs
53478 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53479 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53480 { (exit 1); exit 1; }; }; }
53481
53482 ac_builddir=.
53483
53484 if test "$ac_dir" != .; then
53485 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53486 # A "../" for each directory in $ac_dir_suffix.
53487 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53488 else
53489 ac_dir_suffix= ac_top_builddir=
53490 fi
53491
53492 case $srcdir in
53493 .) # No --srcdir option. We are building in place.
53494 ac_srcdir=.
53495 if test -z "$ac_top_builddir"; then
53496 ac_top_srcdir=.
53497 else
53498 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53499 fi ;;
53500 [\\/]* | ?:[\\/]* ) # Absolute path.
53501 ac_srcdir=$srcdir$ac_dir_suffix;
53502 ac_top_srcdir=$srcdir ;;
53503 *) # Relative path.
53504 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
53505 ac_top_srcdir=$ac_top_builddir$srcdir ;;
53506 esac
53507
53508 # Do not use `cd foo && pwd` to compute absolute paths, because
53509 # the directories may not exist.
53510 case `pwd` in
53511 .) ac_abs_builddir="$ac_dir";;
53512 *)
53513 case "$ac_dir" in
53514 .) ac_abs_builddir=`pwd`;;
53515 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
53516 *) ac_abs_builddir=`pwd`/"$ac_dir";;
53517 esac;;
53518 esac
53519 case $ac_abs_builddir in
53520 .) ac_abs_top_builddir=${ac_top_builddir}.;;
53521 *)
53522 case ${ac_top_builddir}. in
53523 .) ac_abs_top_builddir=$ac_abs_builddir;;
53524 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
53525 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
53526 esac;;
53527 esac
53528 case $ac_abs_builddir in
53529 .) ac_abs_srcdir=$ac_srcdir;;
53530 *)
53531 case $ac_srcdir in
53532 .) ac_abs_srcdir=$ac_abs_builddir;;
53533 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
53534 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
53535 esac;;
53536 esac
53537 case $ac_abs_builddir in
53538 .) ac_abs_top_srcdir=$ac_top_srcdir;;
53539 *)
53540 case $ac_top_srcdir in
53541 .) ac_abs_top_srcdir=$ac_abs_builddir;;
53542 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
53543 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
53544 esac;;
53545 esac
53546
53547
53548 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
53549 echo "$as_me: executing $ac_dest commands" >&6;}
53550 case $ac_dest in
53551 rcdefs.h )
53552 mkdir -p $outdir &&
53553 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53554 ;;
53555 wx-config ) rm -f wx-config
53556 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53557 ;;
53558 esac
53559 done
53560 _ACEOF
53561
53562 cat >>$CONFIG_STATUS <<\_ACEOF
53563
53564 { (exit 0); exit 0; }
53565 _ACEOF
53566 chmod +x $CONFIG_STATUS
53567 ac_clean_files=$ac_clean_files_save
53568
53569
53570 # configure is writing to config.log, and then calls config.status.
53571 # config.status does its own redirection, appending to config.log.
53572 # Unfortunately, on DOS this fails, as config.log is still kept open
53573 # by configure, so config.status won't be able to write to it; its
53574 # output is simply discarded. So we exec the FD to /dev/null,
53575 # effectively closing config.log, so it can be properly (re)opened and
53576 # appended to by config.status. When coming back to configure, we
53577 # need to make the FD available again.
53578 if test "$no_create" != yes; then
53579 ac_cs_success=:
53580 ac_config_status_args=
53581 test "$silent" = yes &&
53582 ac_config_status_args="$ac_config_status_args --quiet"
53583 exec 5>/dev/null
53584 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53585 exec 5>>config.log
53586 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53587 # would make configure fail if this is the last instruction.
53588 $ac_cs_success || { (exit 1); exit 1; }
53589 fi
53590
53591 #
53592 # CONFIG_SUBDIRS section.
53593 #
53594 if test "$no_recursion" != yes; then
53595
53596 # Remove --cache-file and --srcdir arguments so they do not pile up.
53597 ac_sub_configure_args=
53598 ac_prev=
53599 for ac_arg in $ac_configure_args; do
53600 if test -n "$ac_prev"; then
53601 ac_prev=
53602 continue
53603 fi
53604 case $ac_arg in
53605 -cache-file | --cache-file | --cache-fil | --cache-fi \
53606 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53607 ac_prev=cache_file ;;
53608 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53609 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53610 | --c=*)
53611 ;;
53612 --config-cache | -C)
53613 ;;
53614 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53615 ac_prev=srcdir ;;
53616 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53617 ;;
53618 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53619 ac_prev=prefix ;;
53620 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53621 ;;
53622 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
53623 esac
53624 done
53625
53626 # Always prepend --prefix to ensure using the same prefix
53627 # in subdir configurations.
53628 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
53629
53630 ac_popdir=`pwd`
53631 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53632
53633 # Do not complain, so a configure script can configure whichever
53634 # parts of a large source tree are present.
53635 test -d $srcdir/$ac_dir || continue
53636
53637 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
53638 echo "$as_me: configuring in $ac_dir" >&6;}
53639 { if $as_mkdir_p; then
53640 mkdir -p "$ac_dir"
53641 else
53642 as_dir="$ac_dir"
53643 as_dirs=
53644 while test ! -d "$as_dir"; do
53645 as_dirs="$as_dir $as_dirs"
53646 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53647 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53648 X"$as_dir" : 'X\(//\)[^/]' \| \
53649 X"$as_dir" : 'X\(//\)$' \| \
53650 X"$as_dir" : 'X\(/\)' \| \
53651 . : '\(.\)' 2>/dev/null ||
53652 echo X"$as_dir" |
53653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53654 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53655 /^X\(\/\/\)$/{ s//\1/; q; }
53656 /^X\(\/\).*/{ s//\1/; q; }
53657 s/.*/./; q'`
53658 done
53659 test ! -n "$as_dirs" || mkdir $as_dirs
53660 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53661 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53662 { (exit 1); exit 1; }; }; }
53663
53664 ac_builddir=.
53665
53666 if test "$ac_dir" != .; then
53667 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53668 # A "../" for each directory in $ac_dir_suffix.
53669 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53670 else
53671 ac_dir_suffix= ac_top_builddir=
53672 fi
53673
53674 case $srcdir in
53675 .) # No --srcdir option. We are building in place.
53676 ac_srcdir=.
53677 if test -z "$ac_top_builddir"; then
53678 ac_top_srcdir=.
53679 else
53680 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53681 fi ;;
53682 [\\/]* | ?:[\\/]* ) # Absolute path.
53683 ac_srcdir=$srcdir$ac_dir_suffix;
53684 ac_top_srcdir=$srcdir ;;
53685 *) # Relative path.
53686 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
53687 ac_top_srcdir=$ac_top_builddir$srcdir ;;
53688 esac
53689
53690 # Do not use `cd foo && pwd` to compute absolute paths, because
53691 # the directories may not exist.
53692 case `pwd` in
53693 .) ac_abs_builddir="$ac_dir";;
53694 *)
53695 case "$ac_dir" in
53696 .) ac_abs_builddir=`pwd`;;
53697 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
53698 *) ac_abs_builddir=`pwd`/"$ac_dir";;
53699 esac;;
53700 esac
53701 case $ac_abs_builddir in
53702 .) ac_abs_top_builddir=${ac_top_builddir}.;;
53703 *)
53704 case ${ac_top_builddir}. in
53705 .) ac_abs_top_builddir=$ac_abs_builddir;;
53706 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
53707 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
53708 esac;;
53709 esac
53710 case $ac_abs_builddir in
53711 .) ac_abs_srcdir=$ac_srcdir;;
53712 *)
53713 case $ac_srcdir in
53714 .) ac_abs_srcdir=$ac_abs_builddir;;
53715 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
53716 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
53717 esac;;
53718 esac
53719 case $ac_abs_builddir in
53720 .) ac_abs_top_srcdir=$ac_top_srcdir;;
53721 *)
53722 case $ac_top_srcdir in
53723 .) ac_abs_top_srcdir=$ac_abs_builddir;;
53724 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
53725 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
53726 esac;;
53727 esac
53728
53729
53730 cd $ac_dir
53731
53732 # Check for guested configure; otherwise get Cygnus style configure.
53733 if test -f $ac_srcdir/configure.gnu; then
53734 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
53735 elif test -f $ac_srcdir/configure; then
53736 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
53737 elif test -f $ac_srcdir/configure.in; then
53738 ac_sub_configure=$ac_configure
53739 else
53740 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53741 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53742 ac_sub_configure=
53743 fi
53744
53745 # The recursion is here.
53746 if test -n "$ac_sub_configure"; then
53747 # Make the cache file name correct relative to the subdirectory.
53748 case $cache_file in
53749 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53750 *) # Relative path.
53751 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
53752 esac
53753
53754 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53755 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53756 # The eval makes quoting arguments work.
53757 eval $ac_sub_configure $ac_sub_configure_args \
53758 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
53759 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53760 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53761 { (exit 1); exit 1; }; }
53762 fi
53763
53764 cd "$ac_popdir"
53765 done
53766 fi
53767
53768
53769 echo
53770 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53771 echo ""
53772 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53773 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53774
53775 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53776 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53777 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
53778 if test "$wxUSE_UNICODE" = "yes"; then
53779 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53780 echo " (using UTF-8)"
53781 else
53782 echo " (using wchar_t)"
53783 fi
53784 else
53785 echo
53786 fi
53787
53788 echo " What level of wxWidgets compatibility should be enabled?"
53789 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53790 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53791
53792 echo " Which libraries should wxWidgets use?"
53793 echo " jpeg ${wxUSE_LIBJPEG-none}"
53794 echo " png ${wxUSE_LIBPNG-none}"
53795 echo " regex ${wxUSE_REGEX}"
53796 echo " tiff ${wxUSE_LIBTIFF-none}"
53797 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53798 echo " xpm ${wxUSE_LIBXPM-none}"
53799 fi
53800 echo " zlib ${wxUSE_ZLIB}"
53801 echo " odbc ${wxUSE_ODBC}"
53802 echo " expat ${wxUSE_EXPAT}"
53803 echo " libmspack ${wxUSE_LIBMSPACK}"
53804 echo " sdl ${wxUSE_LIBSDL}"
53805
53806 echo ""
53807