]> git.saurik.com Git - wxWidgets.git/blob - configure
removed obsolete makefiles
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47282 2007-07-10 01:51:43Z 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 --enable-gui use GUI classes
943 --enable-monolithic build wxWidgets as single library
944 --enable-plugins build parts of wxWidgets as loadable components
945 --enable-universal use wxWidgets GUI controls instead of native ones
946 --enable-nanox use NanoX
947 --disable-gtk2 use GTK+ 1.2 instead of 2.0
948 --enable-gpe use GNOME PDA Environment features if possible
949 --enable-shared create shared library code
950 --enable-optimise create optimised code
951 --enable-debug same as debug_flag and debug_info
952 --enable-stl use STL for containers
953 --enable-extended_rtti use extended RTTI (XTI)
954 --enable-omf use OMF object format
955 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
956 --enable-debug_info create code with debugging information
957 --enable-debug_gdb create code with extra GDB debugging information
958 --enable-debug_cntxt use wxDebugContext
959 --enable-mem_tracing create code with memory tracing
960 --enable-profile create code with profiling information
961 --enable-no_rtti create code without RTTI information
962 --enable-no_exceptions create code without C++ exceptions handling
963 --enable-permissive compile code disregarding strict ANSI
964 --enable-no_deps create code without dependency information
965 --disable-vararg_macros don't use vararg macros, even if they are supported
966 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
967 --enable-compat26 enable wxWidgets 2.6 compatibility
968 --disable-compat28 disable wxWidgets 2.8 compatibility
969 --disable-rpath disable use of rpath for uninstalled builds
970 --enable-objc_uniquifying enable Objective-C class name uniquifying
971 --enable-intl use internationalization system
972 --enable-config use wxConfig (and derived) classes
973 --enable-protocols use wxProtocol and derived classes
974 --enable-ftp use wxFTP (requires wxProtocol
975 --enable-http use wxHTTP (requires wxProtocol
976 --enable-fileproto use wxFileProto class (requires wxProtocol
977 --enable-sockets use socket/network classes
978 --enable-ole use OLE classes (Win32 only)
979 --enable-dataobj use data object classes
980 --enable-ipc use interprocess communication (wxSocket etc.)
981 --enable-apple_ieee use the Apple IEEE codec
982 --enable-arcstream use wxArchive streams
983 --enable-base64 use base64 encoding/decoding functions
984 --enable-backtrace use wxStackWalker class for getting backtraces
985 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class for DLL loading
991 --enable-dynamicloader use (new) wxDynamicLibrary class
992 --enable-exceptions build exception-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1005 --enable-utf8 use UTF-8 representation for strings (Unix only)
1006 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1007 --enable-snglinst use wxSingleInstanceChecker class
1008 --enable-std_iostreams use standard C++ stream classes
1009 --enable-std_string use standard C++ string classes
1010 --enable-stdpaths use wxStandardPaths class
1011 --enable-stopwatch use wxStopWatch class
1012 --enable-streams use wxStream etc classes
1013 --enable-sysoptions use wxSystemOptions
1014 --enable-tarstream use wxTar streams
1015 --enable-textbuf use wxTextBuffer class
1016 --enable-textfile use wxTextFile class
1017 --enable-timer use wxTimer class
1018 --enable-unicode compile without Unicode support
1019 --enable-sound use wxSound class
1020 --enable-mediactrl use wxMediaCtrl class
1021 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1022 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1023 --enable-zipstream use wxZip streams
1024 --enable-url use wxURL class
1025 --enable-variant use wxVariant class
1026 --enable-protocol use wxProtocol class
1027 --enable-protocol-http HTTP support in wxProtocol
1028 --enable-protocol-ftp FTP support in wxProtocol
1029 --enable-protocol-file FILE support in wxProtocol
1030 --enable-threads use threads
1031 --enable-docview use document view architecture
1032 --enable-help use help subsystem
1033 --enable-mshtmlhelp use MS HTML Help (win32)
1034 --enable-html use wxHTML sub-library
1035 --enable-htmlhelp use wxHTML-based help
1036 --enable-xrc use XRC resources sub-library
1037 --enable-aui use AUI docking library
1038 --enable-stc use wxStyledTextCtrl library
1039 --enable-constraints use layout-constraints system
1040 --enable-printarch use printing architecture
1041 --enable-mdi use multiple document interface architecture
1042 --enable-mdidoc use docview architecture with MDI
1043 --enable-loggui use standard GUI logger
1044 --enable-logwin use wxLogWindow
1045 --enable-logdialog use wxLogDialog
1046 --enable-webkit use wxWebKitCtrl (Mac)
1047 --enable-richtext use wxRichTextCtrl
1048 --enable-graphics_ctx use graphics context 2D drawing API
1049 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1050 --enable-clipboard use wxClipboard class
1051 --enable-dnd use Drag'n'Drop classes
1052 --enable-metafile use win32 metafiles
1053 --enable-controls use all usual controls
1054 --enable-accel use accelerators
1055 --enable-animatectrl use wxAnimationCtrl class
1056 --enable-button use wxButton class
1057 --enable-bmpbutton use wxBitmapButton class
1058 --enable-bmpcombobox use wxBitmapComboBox class
1059 --enable-calendar use wxCalendarCtrl class
1060 --enable-caret use wxCaret class
1061 --enable-checkbox use wxCheckBox class
1062 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1063 --enable-choice use wxChoice class
1064 --enable-choicebook use wxChoicebook class
1065 --enable-collpane use wxCollapsiblePane class
1066 --enable-colourpicker use wxColourPickerCtrl class
1067 --enable-combobox use wxComboBox class
1068 --enable-comboctrl use wxComboCtrl class
1069 --enable-datepick use wxDatePickerCtrl class
1070 --enable-dirpicker use wxDirPickerCtrl class
1071 --enable-display use wxDisplay class
1072 --enable-detect_sm use code to detect X11 session manager
1073 --enable-editablebox use wxEditableListBox class
1074 --enable-filepicker use wxFilePickerCtrl class
1075 --enable-fontpicker use wxFontPickerCtrl class
1076 --enable-gauge use wxGauge class
1077 --enable-grid use wxGrid class
1078 --enable-dataviewctrl use wxDataViewCtrl class
1079 --enable-hyperlink use wxHyperlinkCtrl class
1080 --enable-imaglist use wxImageList class
1081 --enable-listbook use wxListbook class
1082 --enable-listbox use wxListBox class
1083 --enable-listctrl use wxListCtrl class
1084 --enable-notebook use wxNotebook class
1085 --enable-odcombobox use wxOwnerDrawnComboBox class
1086 --enable-radiobox use wxRadioBox class
1087 --enable-radiobtn use wxRadioButton class
1088 --enable-sash use wxSashWindow class
1089 --enable-scrollbar use wxScrollBar class and scrollable windows
1090 --enable-searchctrl use wxSearchCtrl class
1091 --enable-slider use wxSlider class
1092 --enable-spinbtn use wxSpinButton class
1093 --enable-spinctrl use wxSpinCtrl class
1094 --enable-splitter use wxSplitterWindow class
1095 --enable-statbmp use wxStaticBitmap class
1096 --enable-statbox use wxStaticBox class
1097 --enable-statline use wxStaticLine class
1098 --enable-stattext use wxStaticText class
1099 --enable-statusbar use wxStatusBar class
1100 --enable-tabdialog use wxTabControl class
1101 --enable-textctrl use wxTextCtrl class
1102 --enable-togglebtn use wxToggleButton class
1103 --enable-toolbar use wxToolBar class
1104 --enable-tbarnative use native wxToolBar class
1105 --enable-treebook use wxTreebook class
1106 --enable-toolbook use wxToolbook class
1107 --enable-treectrl use wxTreeCtrl class
1108 --enable-tipwindow use wxTipWindow class
1109 --enable-popupwin use wxPopUpWindow class
1110 --enable-commondlg use all common dialogs
1111 --enable-aboutdlg use wxAboutBox
1112 --enable-choicedlg use wxChoiceDialog
1113 --enable-coldlg use wxColourDialog
1114 --enable-filedlg use wxFileDialog
1115 --enable-finddlg use wxFindReplaceDialog
1116 --enable-fontdlg use wxFontDialog
1117 --enable-dirdlg use wxDirDialog
1118 --enable-msgdlg use wxMessageDialog
1119 --enable-numberdlg use wxNumberEntryDialog
1120 --enable-splash use wxSplashScreen
1121 --enable-textdlg use wxTextDialog
1122 --enable-tipdlg use startup tips
1123 --enable-progressdlg use wxProgressDialog
1124 --enable-wizarddlg use wxWizard
1125 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1126 --enable-miniframe use wxMiniFrame class
1127 --enable-tooltips use wxToolTip class
1128 --enable-splines use spline drawing code
1129 --enable-mousewheel use mousewheel
1130 --enable-validators use wxValidator and derived classes
1131 --enable-busyinfo use wxBusyInfo
1132 --enable-joystick use wxJoystick
1133 --enable-metafiles use wxMetaFile (Win32 only)
1134 --enable-dragimage use wxDragImage
1135 --enable-accessibility enable accessibility support
1136 --enable-dccache cache temporary wxDC objects (Win32 only)
1137 --enable-palette use wxPalette class
1138 --enable-image use wxImage class
1139 --enable-gif use gif images (GIF file format)
1140 --enable-pcx use pcx images (PCX file format)
1141 --enable-tga use tga images (TGA file format)
1142 --enable-iff use iff images (IFF file format)
1143 --enable-pnm use pnm images (PNM file format)
1144 --enable-xpm use xpm images (XPM file format)
1145 --enable-icocur use Windows ICO and CUR formats
1146 --enable-official_build official build of wxWidgets (win32 DLL only)
1147 --enable-vendor=VENDOR vendor name (win32 DLL only)
1148 --disable-largefile omit support for large files
1149 --disable-gtktest do not try to compile and run a test GTK+ program
1150 --disable-gtktest Do not try to compile and run a test GTK program
1151 --disable-sdltest Do not try to compile and run a test SDL program
1152 --enable-omf use OMF object format (OS/2)
1153 --disable-dependency-tracking
1154 don't use dependency tracking even if the compiler
1155 can
1156 --disable-precomp-headers
1157 don't use precompiled headers even if compiler can
1158
1159 Optional Packages:
1160 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1161 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1162 --without-subdirs don't generate makefiles for samples/demos/...
1163 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1164 --with-motif use Motif/Lesstif
1165 --with-mac use Mac OS X
1166 --with-cocoa use Cocoa
1167 --with-wine use Wine
1168 --with-msw use MS-Windows
1169 --with-pm use OS/2 Presentation Manager
1170 --with-mgl use SciTech MGL
1171 --with-directfb use DirectFB
1172 --with-microwin use MicroWindows
1173 --with-x11 use X11
1174 --with-libpng use libpng (PNG image format)
1175 --with-libjpeg use libjpeg (JPEG file format)
1176 --with-libtiff use libtiff (TIFF file format)
1177 --with-libxpm use libxpm (XPM file format)
1178 --with-libmspack use libmspack (CHM help files loading)
1179 --with-sdl use SDL for audio on Unix
1180 --with-gnomeprint use GNOME print for printing under GNOME
1181 --with-gnomevfs use GNOME VFS for associating MIME types
1182 --with-hildon use Hildon framework for Nokia 770
1183 --with-opengl use OpenGL (or Mesa)
1184 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1185 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1186 --with-regex enable support for wxRegEx class
1187 --with-zlib use zlib for LZW compression
1188 --with-odbc use the IODBC and wxODBC classes
1189 --with-expat enable XML support using expat parser
1190 --with-flavour=NAME specify a name to identify this build
1191 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1192 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1193 --with-x use the X Window System
1194 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1195 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1196 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1197 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1198 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1199
1200 Some influential environment variables:
1201 CC C compiler command
1202 CFLAGS C compiler flags
1203 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1204 nonstandard directory <lib dir>
1205 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1206 headers in a nonstandard directory <include dir>
1207 CPP C preprocessor
1208 CXX C++ compiler command
1209 CXXFLAGS C++ compiler flags
1210 PKG_CONFIG path to pkg-config utility
1211 DIRECTFB_CFLAGS
1212 C compiler flags for DIRECTFB, overriding pkg-config
1213 DIRECTFB_LIBS
1214 linker flags for DIRECTFB, overriding pkg-config
1215 PANGOX_CFLAGS
1216 C compiler flags for PANGOX, overriding pkg-config
1217 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1218 PANGOFT2_CFLAGS
1219 C compiler flags for PANGOFT2, overriding pkg-config
1220 PANGOFT2_LIBS
1221 linker flags for PANGOFT2, overriding pkg-config
1222 PANGOXFT_CFLAGS
1223 C compiler flags for PANGOXFT, overriding pkg-config
1224 PANGOXFT_LIBS
1225 linker flags for PANGOXFT, overriding pkg-config
1226 LIBGNOMEPRINTUI_CFLAGS
1227 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 LIBGNOMEPRINTUI_LIBS
1229 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1230 GNOMEVFS_CFLAGS
1231 C compiler flags for GNOMEVFS, overriding pkg-config
1232 GNOMEVFS_LIBS
1233 linker flags for GNOMEVFS, overriding pkg-config
1234 HILDON_CFLAGS
1235 C compiler flags for HILDON, overriding pkg-config
1236 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1237 CAIRO_CFLAGS
1238 C compiler flags for CAIRO, overriding pkg-config
1239 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1240 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1241 GST_LIBS linker flags for GST, overriding pkg-config
1242
1243 Use these variables to override the choices made by `configure' or to help
1244 it to find libraries and programs with nonstandard names/locations.
1245
1246 Report bugs to <wx-dev@lists.wxwidgets.org>.
1247 _ACEOF
1248 fi
1249
1250 if test "$ac_init_help" = "recursive"; then
1251 # If there are subdirs, report their specific --help.
1252 ac_popdir=`pwd`
1253 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1254 test -d $ac_dir || continue
1255 ac_builddir=.
1256
1257 if test "$ac_dir" != .; then
1258 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1259 # A "../" for each directory in $ac_dir_suffix.
1260 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1261 else
1262 ac_dir_suffix= ac_top_builddir=
1263 fi
1264
1265 case $srcdir in
1266 .) # No --srcdir option. We are building in place.
1267 ac_srcdir=.
1268 if test -z "$ac_top_builddir"; then
1269 ac_top_srcdir=.
1270 else
1271 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1272 fi ;;
1273 [\\/]* | ?:[\\/]* ) # Absolute path.
1274 ac_srcdir=$srcdir$ac_dir_suffix;
1275 ac_top_srcdir=$srcdir ;;
1276 *) # Relative path.
1277 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1278 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1279 esac
1280
1281 # Do not use `cd foo && pwd` to compute absolute paths, because
1282 # the directories may not exist.
1283 case `pwd` in
1284 .) ac_abs_builddir="$ac_dir";;
1285 *)
1286 case "$ac_dir" in
1287 .) ac_abs_builddir=`pwd`;;
1288 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1289 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1290 esac;;
1291 esac
1292 case $ac_abs_builddir in
1293 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1294 *)
1295 case ${ac_top_builddir}. in
1296 .) ac_abs_top_builddir=$ac_abs_builddir;;
1297 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1298 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1299 esac;;
1300 esac
1301 case $ac_abs_builddir in
1302 .) ac_abs_srcdir=$ac_srcdir;;
1303 *)
1304 case $ac_srcdir in
1305 .) ac_abs_srcdir=$ac_abs_builddir;;
1306 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1307 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1308 esac;;
1309 esac
1310 case $ac_abs_builddir in
1311 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1312 *)
1313 case $ac_top_srcdir in
1314 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1315 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1316 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1317 esac;;
1318 esac
1319
1320 cd $ac_dir
1321 # Check for guested configure; otherwise get Cygnus style configure.
1322 if test -f $ac_srcdir/configure.gnu; then
1323 echo
1324 $SHELL $ac_srcdir/configure.gnu --help=recursive
1325 elif test -f $ac_srcdir/configure; then
1326 echo
1327 $SHELL $ac_srcdir/configure --help=recursive
1328 elif test -f $ac_srcdir/configure.ac ||
1329 test -f $ac_srcdir/configure.in; then
1330 echo
1331 $ac_configure --help
1332 else
1333 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1334 fi
1335 cd "$ac_popdir"
1336 done
1337 fi
1338
1339 test -n "$ac_init_help" && exit 0
1340 if $ac_init_version; then
1341 cat <<\_ACEOF
1342 wxWidgets configure 2.9.0
1343 generated by GNU Autoconf 2.59
1344
1345 Copyright (C) 2003 Free Software Foundation, Inc.
1346 This configure script is free software; the Free Software Foundation
1347 gives unlimited permission to copy, distribute and modify it.
1348 _ACEOF
1349 exit 0
1350 fi
1351 exec 5>config.log
1352 cat >&5 <<_ACEOF
1353 This file contains any messages produced by compilers while
1354 running configure, to aid debugging if configure makes a mistake.
1355
1356 It was created by wxWidgets $as_me 2.9.0, which was
1357 generated by GNU Autoconf 2.59. Invocation command line was
1358
1359 $ $0 $@
1360
1361 _ACEOF
1362 {
1363 cat <<_ASUNAME
1364 ## --------- ##
1365 ## Platform. ##
1366 ## --------- ##
1367
1368 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1369 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1370 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1371 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1372 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1373
1374 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1375 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1376
1377 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1378 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1379 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1380 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1381 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1382 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1383 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1384
1385 _ASUNAME
1386
1387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1388 for as_dir in $PATH
1389 do
1390 IFS=$as_save_IFS
1391 test -z "$as_dir" && as_dir=.
1392 echo "PATH: $as_dir"
1393 done
1394
1395 } >&5
1396
1397 cat >&5 <<_ACEOF
1398
1399
1400 ## ----------- ##
1401 ## Core tests. ##
1402 ## ----------- ##
1403
1404 _ACEOF
1405
1406
1407 # Keep a trace of the command line.
1408 # Strip out --no-create and --no-recursion so they do not pile up.
1409 # Strip out --silent because we don't want to record it for future runs.
1410 # Also quote any args containing shell meta-characters.
1411 # Make two passes to allow for proper duplicate-argument suppression.
1412 ac_configure_args=
1413 ac_configure_args0=
1414 ac_configure_args1=
1415 ac_sep=
1416 ac_must_keep_next=false
1417 for ac_pass in 1 2
1418 do
1419 for ac_arg
1420 do
1421 case $ac_arg in
1422 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1423 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1424 | -silent | --silent | --silen | --sile | --sil)
1425 continue ;;
1426 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1427 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1428 esac
1429 case $ac_pass in
1430 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1431 2)
1432 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1433 if test $ac_must_keep_next = true; then
1434 ac_must_keep_next=false # Got value, back to normal.
1435 else
1436 case $ac_arg in
1437 *=* | --config-cache | -C | -disable-* | --disable-* \
1438 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1439 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1440 | -with-* | --with-* | -without-* | --without-* | --x)
1441 case "$ac_configure_args0 " in
1442 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1443 esac
1444 ;;
1445 -* ) ac_must_keep_next=true ;;
1446 esac
1447 fi
1448 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1449 # Get rid of the leading space.
1450 ac_sep=" "
1451 ;;
1452 esac
1453 done
1454 done
1455 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1456 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1457
1458 # When interrupted or exit'd, cleanup temporary files, and complete
1459 # config.log. We remove comments because anyway the quotes in there
1460 # would cause problems or look ugly.
1461 # WARNING: Be sure not to use single quotes in there, as some shells,
1462 # such as our DU 5.0 friend, will then `close' the trap.
1463 trap 'exit_status=$?
1464 # Save into config.log some information that might help in debugging.
1465 {
1466 echo
1467
1468 cat <<\_ASBOX
1469 ## ---------------- ##
1470 ## Cache variables. ##
1471 ## ---------------- ##
1472 _ASBOX
1473 echo
1474 # The following way of writing the cache mishandles newlines in values,
1475 {
1476 (set) 2>&1 |
1477 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1478 *ac_space=\ *)
1479 sed -n \
1480 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1482 ;;
1483 *)
1484 sed -n \
1485 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1486 ;;
1487 esac;
1488 }
1489 echo
1490
1491 cat <<\_ASBOX
1492 ## ----------------- ##
1493 ## Output variables. ##
1494 ## ----------------- ##
1495 _ASBOX
1496 echo
1497 for ac_var in $ac_subst_vars
1498 do
1499 eval ac_val=$`echo $ac_var`
1500 echo "$ac_var='"'"'$ac_val'"'"'"
1501 done | sort
1502 echo
1503
1504 if test -n "$ac_subst_files"; then
1505 cat <<\_ASBOX
1506 ## ------------- ##
1507 ## Output files. ##
1508 ## ------------- ##
1509 _ASBOX
1510 echo
1511 for ac_var in $ac_subst_files
1512 do
1513 eval ac_val=$`echo $ac_var`
1514 echo "$ac_var='"'"'$ac_val'"'"'"
1515 done | sort
1516 echo
1517 fi
1518
1519 if test -s confdefs.h; then
1520 cat <<\_ASBOX
1521 ## ----------- ##
1522 ## confdefs.h. ##
1523 ## ----------- ##
1524 _ASBOX
1525 echo
1526 sed "/^$/d" confdefs.h | sort
1527 echo
1528 fi
1529 test "$ac_signal" != 0 &&
1530 echo "$as_me: caught signal $ac_signal"
1531 echo "$as_me: exit $exit_status"
1532 } >&5
1533 rm -f core *.core &&
1534 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1535 exit $exit_status
1536 ' 0
1537 for ac_signal in 1 2 13 15; do
1538 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1539 done
1540 ac_signal=0
1541
1542 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1543 rm -rf conftest* confdefs.h
1544 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1545 echo >confdefs.h
1546
1547 # Predefined preprocessor variables.
1548
1549 cat >>confdefs.h <<_ACEOF
1550 #define PACKAGE_NAME "$PACKAGE_NAME"
1551 _ACEOF
1552
1553
1554 cat >>confdefs.h <<_ACEOF
1555 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1556 _ACEOF
1557
1558
1559 cat >>confdefs.h <<_ACEOF
1560 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1561 _ACEOF
1562
1563
1564 cat >>confdefs.h <<_ACEOF
1565 #define PACKAGE_STRING "$PACKAGE_STRING"
1566 _ACEOF
1567
1568
1569 cat >>confdefs.h <<_ACEOF
1570 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1571 _ACEOF
1572
1573
1574 # Let the site file select an alternate cache file if it wants to.
1575 # Prefer explicitly selected file to automatically selected ones.
1576 if test -z "$CONFIG_SITE"; then
1577 if test "x$prefix" != xNONE; then
1578 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1579 else
1580 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1581 fi
1582 fi
1583 for ac_site_file in $CONFIG_SITE; do
1584 if test -r "$ac_site_file"; then
1585 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1586 echo "$as_me: loading site script $ac_site_file" >&6;}
1587 sed 's/^/| /' "$ac_site_file" >&5
1588 . "$ac_site_file"
1589 fi
1590 done
1591
1592 if test -r "$cache_file"; then
1593 # Some versions of bash will fail to source /dev/null (special
1594 # files actually), so we avoid doing that.
1595 if test -f "$cache_file"; then
1596 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1597 echo "$as_me: loading cache $cache_file" >&6;}
1598 case $cache_file in
1599 [\\/]* | ?:[\\/]* ) . $cache_file;;
1600 *) . ./$cache_file;;
1601 esac
1602 fi
1603 else
1604 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1605 echo "$as_me: creating cache $cache_file" >&6;}
1606 >$cache_file
1607 fi
1608
1609 # Check that the precious variables saved in the cache have kept the same
1610 # value.
1611 ac_cache_corrupted=false
1612 for ac_var in `(set) 2>&1 |
1613 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1614 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1615 eval ac_new_set=\$ac_env_${ac_var}_set
1616 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1617 eval ac_new_val="\$ac_env_${ac_var}_value"
1618 case $ac_old_set,$ac_new_set in
1619 set,)
1620 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1621 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1622 ac_cache_corrupted=: ;;
1623 ,set)
1624 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1625 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1626 ac_cache_corrupted=: ;;
1627 ,);;
1628 *)
1629 if test "x$ac_old_val" != "x$ac_new_val"; then
1630 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1631 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1632 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1633 echo "$as_me: former value: $ac_old_val" >&2;}
1634 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1635 echo "$as_me: current value: $ac_new_val" >&2;}
1636 ac_cache_corrupted=:
1637 fi;;
1638 esac
1639 # Pass precious variables to config.status.
1640 if test "$ac_new_set" = set; then
1641 case $ac_new_val in
1642 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1643 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1644 *) ac_arg=$ac_var=$ac_new_val ;;
1645 esac
1646 case " $ac_configure_args " in
1647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1648 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1649 esac
1650 fi
1651 done
1652 if $ac_cache_corrupted; then
1653 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1654 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1655 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1656 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1657 { (exit 1); exit 1; }; }
1658 fi
1659
1660 ac_ext=c
1661 ac_cpp='$CPP $CPPFLAGS'
1662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695 ac_aux_dir=
1696 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1697 if test -f $ac_dir/install-sh; then
1698 ac_aux_dir=$ac_dir
1699 ac_install_sh="$ac_aux_dir/install-sh -c"
1700 break
1701 elif test -f $ac_dir/install.sh; then
1702 ac_aux_dir=$ac_dir
1703 ac_install_sh="$ac_aux_dir/install.sh -c"
1704 break
1705 elif test -f $ac_dir/shtool; then
1706 ac_aux_dir=$ac_dir
1707 ac_install_sh="$ac_aux_dir/shtool install -c"
1708 break
1709 fi
1710 done
1711 if test -z "$ac_aux_dir"; then
1712 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1713 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1714 { (exit 1); exit 1; }; }
1715 fi
1716 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1717 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1718 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1719
1720 # Make sure we can run config.sub.
1721 $ac_config_sub sun4 >/dev/null 2>&1 ||
1722 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1723 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1724 { (exit 1); exit 1; }; }
1725
1726 echo "$as_me:$LINENO: checking build system type" >&5
1727 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1728 if test "${ac_cv_build+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 else
1731 ac_cv_build_alias=$build_alias
1732 test -z "$ac_cv_build_alias" &&
1733 ac_cv_build_alias=`$ac_config_guess`
1734 test -z "$ac_cv_build_alias" &&
1735 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1736 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1737 { (exit 1); exit 1; }; }
1738 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1739 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1740 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1741 { (exit 1); exit 1; }; }
1742
1743 fi
1744 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1745 echo "${ECHO_T}$ac_cv_build" >&6
1746 build=$ac_cv_build
1747 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1748 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1749 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1750
1751
1752 echo "$as_me:$LINENO: checking host system type" >&5
1753 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1754 if test "${ac_cv_host+set}" = set; then
1755 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 else
1757 ac_cv_host_alias=$host_alias
1758 test -z "$ac_cv_host_alias" &&
1759 ac_cv_host_alias=$ac_cv_build_alias
1760 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1761 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1762 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1763 { (exit 1); exit 1; }; }
1764
1765 fi
1766 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1767 echo "${ECHO_T}$ac_cv_host" >&6
1768 host=$ac_cv_host
1769 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1770 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1771 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1772
1773
1774 echo "$as_me:$LINENO: checking target system type" >&5
1775 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1776 if test "${ac_cv_target+set}" = set; then
1777 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 else
1779 ac_cv_target_alias=$target_alias
1780 test "x$ac_cv_target_alias" = "x" &&
1781 ac_cv_target_alias=$ac_cv_host_alias
1782 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1783 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1784 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1785 { (exit 1); exit 1; }; }
1786
1787 fi
1788 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1789 echo "${ECHO_T}$ac_cv_target" >&6
1790 target=$ac_cv_target
1791 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1792 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1793 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1794
1795
1796 # The aliases save the names the user supplied, while $host etc.
1797 # will get canonicalized.
1798 test -n "$target_alias" &&
1799 test "$program_prefix$program_suffix$program_transform_name" = \
1800 NONENONEs,x,x, &&
1801 program_prefix=${target_alias}-
1802
1803
1804
1805 wx_major_version_number=2
1806 wx_minor_version_number=9
1807 wx_release_number=0
1808 wx_subrelease_number=0
1809
1810 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1811 WX_VERSION=$WX_RELEASE.$wx_release_number
1812 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1813
1814 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1815
1816
1817 wx_top_builddir="`pwd`"
1818
1819
1820
1821
1822 USE_UNIX=1
1823 USE_OS2=0
1824 USE_WIN32=0
1825 USE_DOS=0
1826 USE_BEOS=0
1827 USE_MAC=0
1828
1829 USE_AIX=
1830 USE_BSD= USE_DARWIN= USE_FREEBSD=
1831 USE_GNU= USE_HPUX=
1832 USE_LINUX=
1833 USE_NETBSD=
1834 USE_OPENBSD=
1835 USE_OSF= USE_SGI=
1836 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1837 USE_ULTRIX=
1838 USE_UNIXWARE=
1839
1840 USE_ALPHA=
1841
1842 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1843
1844 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1845
1846 DEFAULT_wxUSE_COCOA=0
1847 DEFAULT_wxUSE_GTK=0
1848 DEFAULT_wxUSE_MAC=0
1849 DEFAULT_wxUSE_MGL=0
1850 DEFAULT_wxUSE_MICROWIN=0
1851 DEFAULT_wxUSE_MOTIF=0
1852 DEFAULT_wxUSE_MSW=0
1853 DEFAULT_wxUSE_PM=0
1854 DEFAULT_wxUSE_X11=0
1855 DEFAULT_wxUSE_DFB=0
1856
1857 DEFAULT_DEFAULT_wxUSE_COCOA=0
1858 DEFAULT_DEFAULT_wxUSE_GTK=0
1859 DEFAULT_DEFAULT_wxUSE_MAC=0
1860 DEFAULT_DEFAULT_wxUSE_MGL=0
1861 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1862 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1863 DEFAULT_DEFAULT_wxUSE_MSW=0
1864 DEFAULT_DEFAULT_wxUSE_PM=0
1865 DEFAULT_DEFAULT_wxUSE_X11=0
1866 DEFAULT_DEFAULT_wxUSE_DFB=0
1867
1868 PROGRAM_EXT=
1869 SO_SUFFIX=so
1870 SAMPLES_RPATH_FLAG=
1871 SAMPLES_RPATH_POSTLINK=
1872
1873 DEFAULT_STD_FLAG=yes
1874
1875 case "${host}" in
1876 *-hp-hpux* )
1877 USE_HPUX=1
1878 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1879 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1880 SO_SUFFIX=sl
1881 cat >>confdefs.h <<\_ACEOF
1882 #define __HPUX__ 1
1883 _ACEOF
1884
1885
1886 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1887 ;;
1888 *-*-linux* )
1889 USE_LINUX=1
1890 cat >>confdefs.h <<\_ACEOF
1891 #define __LINUX__ 1
1892 _ACEOF
1893
1894 TMP=`uname -m`
1895 if test "x$TMP" = "xalpha"; then
1896 USE_ALPHA=1
1897 cat >>confdefs.h <<\_ACEOF
1898 #define __ALPHA__ 1
1899 _ACEOF
1900
1901 fi
1902 DEFAULT_DEFAULT_wxUSE_GTK=1
1903 ;;
1904 *-*-gnu* | *-*-k*bsd*-gnu )
1905 USE_GNU=1
1906 TMP=`uname -m`
1907 if test "x$TMP" = "xalpha"; then
1908 USE_ALPHA=1
1909 cat >>confdefs.h <<\_ACEOF
1910 #define __ALPHA__ 1
1911 _ACEOF
1912
1913 fi
1914 DEFAULT_DEFAULT_wxUSE_GTK=1
1915 ;;
1916 *-*-irix5* | *-*-irix6* )
1917 USE_SGI=1
1918 USE_SVR4=1
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __SGI__ 1
1921 _ACEOF
1922
1923 cat >>confdefs.h <<\_ACEOF
1924 #define __SVR4__ 1
1925 _ACEOF
1926
1927 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1928 ;;
1929 *-*-solaris2* )
1930 USE_SUN=1
1931 USE_SOLARIS=1
1932 USE_SVR4=1
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __SUN__ 1
1935 _ACEOF
1936
1937 cat >>confdefs.h <<\_ACEOF
1938 #define __SOLARIS__ 1
1939 _ACEOF
1940
1941 cat >>confdefs.h <<\_ACEOF
1942 #define __SVR4__ 1
1943 _ACEOF
1944
1945 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1946 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1947 ;;
1948 *-*-sunos4* )
1949 USE_SUN=1
1950 USE_SUNOS=1
1951 USE_BSD=1
1952 cat >>confdefs.h <<\_ACEOF
1953 #define __SUN__ 1
1954 _ACEOF
1955
1956 cat >>confdefs.h <<\_ACEOF
1957 #define __SUNOS__ 1
1958 _ACEOF
1959
1960 cat >>confdefs.h <<\_ACEOF
1961 #define __BSD__ 1
1962 _ACEOF
1963
1964 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1965 ;;
1966 *-*-freebsd*)
1967 USE_BSD=1
1968 USE_FREEBSD=1
1969 cat >>confdefs.h <<\_ACEOF
1970 #define __FREEBSD__ 1
1971 _ACEOF
1972
1973 cat >>confdefs.h <<\_ACEOF
1974 #define __BSD__ 1
1975 _ACEOF
1976
1977 DEFAULT_DEFAULT_wxUSE_GTK=1
1978 ;;
1979 *-*-openbsd*|*-*-mirbsd*)
1980 USE_BSD=1
1981 USE_OPENBSD=1
1982 cat >>confdefs.h <<\_ACEOF
1983 #define __OPENBSD__ 1
1984 _ACEOF
1985
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __BSD__ 1
1988 _ACEOF
1989
1990 DEFAULT_DEFAULT_wxUSE_GTK=1
1991 ;;
1992 *-*-netbsd*)
1993 USE_BSD=1
1994 USE_NETBSD=1
1995 cat >>confdefs.h <<\_ACEOF
1996 #define __NETBSD__ 1
1997 _ACEOF
1998
1999 cat >>confdefs.h <<\_ACEOF
2000 #define __BSD__ 1
2001 _ACEOF
2002
2003 DEFAULT_DEFAULT_wxUSE_GTK=1
2004 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2005
2006 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2007 ;;
2008 *-*-osf* )
2009 USE_ALPHA=1
2010 USE_OSF=1
2011 cat >>confdefs.h <<\_ACEOF
2012 #define __ALPHA__ 1
2013 _ACEOF
2014
2015 cat >>confdefs.h <<\_ACEOF
2016 #define __OSF__ 1
2017 _ACEOF
2018
2019 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2020 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2021 ;;
2022 *-*-dgux5* )
2023 USE_ALPHA=1
2024 USE_SVR4=1
2025 cat >>confdefs.h <<\_ACEOF
2026 #define __ALPHA__ 1
2027 _ACEOF
2028
2029 cat >>confdefs.h <<\_ACEOF
2030 #define __SVR4__ 1
2031 _ACEOF
2032
2033 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2034 ;;
2035 *-*-sysv5* )
2036 USE_SYSV=1
2037 USE_SVR4=1
2038 cat >>confdefs.h <<\_ACEOF
2039 #define __SYSV__ 1
2040 _ACEOF
2041
2042 cat >>confdefs.h <<\_ACEOF
2043 #define __SVR4__ 1
2044 _ACEOF
2045
2046 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2047 ;;
2048 *-*-aix* )
2049 USE_AIX=1
2050 USE_SYSV=1
2051 USE_SVR4=1
2052 SO_SUFFIX=a
2053 cat >>confdefs.h <<\_ACEOF
2054 #define __AIX__ 1
2055 _ACEOF
2056
2057 cat >>confdefs.h <<\_ACEOF
2058 #define __SYSV__ 1
2059 _ACEOF
2060
2061 cat >>confdefs.h <<\_ACEOF
2062 #define __SVR4__ 1
2063 _ACEOF
2064
2065 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2066 ;;
2067
2068 *-*-*UnixWare*)
2069 USE_SYSV=1
2070 USE_SVR4=1
2071 USE_UNIXWARE=1
2072 cat >>confdefs.h <<\_ACEOF
2073 #define __UNIXWARE__ 1
2074 _ACEOF
2075
2076 ;;
2077
2078 *-*-cygwin* | *-*-mingw32* )
2079 SO_SUFFIX=dll
2080 PROGRAM_EXT=".exe"
2081 DEFAULT_DEFAULT_wxUSE_MSW=1
2082 ;;
2083
2084 *-pc-msdosdjgpp )
2085 USE_UNIX=0
2086 USE_DOS=1
2087 cat >>confdefs.h <<\_ACEOF
2088 #define __DOS__ 1
2089 _ACEOF
2090
2091 PROGRAM_EXT=".exe"
2092 DEFAULT_DEFAULT_wxUSE_MGL=1
2093 ;;
2094
2095 *-pc-os2_emx | *-pc-os2-emx )
2096 cat >>confdefs.h <<\_ACEOF
2097 #define __EMX__ 1
2098 _ACEOF
2099
2100 USE_OS2=1
2101 cat >>confdefs.h <<\_ACEOF
2102 #define __OS2__ 1
2103 _ACEOF
2104
2105 PROGRAM_EXT=".exe"
2106 DEFAULT_DEFAULT_wxUSE_PM=1
2107 CXX=gcc
2108 LDFLAGS="$LDFLAGS -Zcrtdll"
2109 ac_executable_extensions=".exe"
2110 export ac_executable_extensions
2111 ac_save_IFS="$IFS"
2112 IFS='\\'
2113 ac_TEMP_PATH=
2114 for ac_dir in $PATH; do
2115 IFS=$ac_save_IFS
2116 if test -z "$ac_TEMP_PATH"; then
2117 ac_TEMP_PATH="$ac_dir"
2118 else
2119 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2120 fi
2121 done
2122 export PATH="$ac_TEMP_PATH"
2123 unset ac_TEMP_PATH
2124 DEFAULT_STD_FLAG=no
2125 ;;
2126
2127 *-*-darwin* )
2128 USE_BSD=1
2129 USE_DARWIN=1
2130 SO_SUFFIX=dylib
2131 cat >>confdefs.h <<\_ACEOF
2132 #define __BSD__ 1
2133 _ACEOF
2134
2135 cat >>confdefs.h <<\_ACEOF
2136 #define __DARWIN__ 1
2137 _ACEOF
2138
2139 cat >>confdefs.h <<\_ACEOF
2140 #define TARGET_CARBON 1
2141 _ACEOF
2142
2143 DEFAULT_DEFAULT_wxUSE_MAC=1
2144 DEFAULT_STD_FLAG=no
2145 ;;
2146 powerpc-apple-macos* )
2147 USE_UNIX=0
2148 ac_cv_c_bigendian=yes
2149 SO_SUFFIX=shlib
2150 DEFAULT_DEFAULT_wxUSE_MAC=1
2151 DEFAULT_STD_FLAG=no
2152 ;;
2153
2154 *-*-beos* )
2155 USE_BEOS=1
2156 cat >>confdefs.h <<\_ACEOF
2157 #define __BEOS__ 1
2158 _ACEOF
2159
2160 ;;
2161
2162 *)
2163 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2164 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2165 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2166 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2167
2168 DEFAULT_DEFAULT_wxUSE_X11=1
2169 DEFAULT_wxUSE_SHARED=no
2170 esac
2171
2172
2173
2174
2175 wx_arg_cache_file="configarg.cache"
2176 echo "loading argument cache $wx_arg_cache_file"
2177 rm -f ${wx_arg_cache_file}.tmp
2178 touch ${wx_arg_cache_file}.tmp
2179 touch ${wx_arg_cache_file}
2180
2181
2182 DEBUG_CONFIGURE=0
2183 if test $DEBUG_CONFIGURE = 1; then
2184 DEFAULT_wxUSE_UNIVERSAL=no
2185 DEFAULT_wxUSE_STL=no
2186 DEFAULT_wxUSE_EXTENDED_RTTI=no
2187
2188 DEFAULT_wxUSE_NANOX=no
2189
2190 DEFAULT_wxUSE_THREADS=yes
2191
2192 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2193 DEFAULT_wxUSE_OPTIMISE=no
2194 DEFAULT_wxUSE_PROFILE=no
2195 DEFAULT_wxUSE_NO_DEPS=no
2196 DEFAULT_wxUSE_VARARG_MACROS=no
2197 DEFAULT_wxUSE_NO_RTTI=no
2198 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2199 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2200 DEFAULT_wxUSE_RPATH=yes
2201 DEFAULT_wxUSE_PERMISSIVE=no
2202 DEFAULT_wxUSE_DEBUG_FLAG=yes
2203 DEFAULT_wxUSE_DEBUG_INFO=yes
2204 DEFAULT_wxUSE_DEBUG_GDB=yes
2205 DEFAULT_wxUSE_MEM_TRACING=no
2206 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2207 DEFAULT_wxUSE_DMALLOC=no
2208 DEFAULT_wxUSE_APPLE_IEEE=no
2209
2210 DEFAULT_wxUSE_EXCEPTIONS=no
2211 DEFAULT_wxUSE_LOG=yes
2212 DEFAULT_wxUSE_LOGWINDOW=no
2213 DEFAULT_wxUSE_LOGGUI=no
2214 DEFAULT_wxUSE_LOGDIALOG=no
2215
2216 DEFAULT_wxUSE_GUI=yes
2217 DEFAULT_wxUSE_CONTROLS=no
2218
2219 DEFAULT_wxUSE_REGEX=no
2220 DEFAULT_wxUSE_XML=no
2221 DEFAULT_wxUSE_EXPAT=no
2222 DEFAULT_wxUSE_ZLIB=no
2223 DEFAULT_wxUSE_LIBPNG=no
2224 DEFAULT_wxUSE_LIBJPEG=no
2225 DEFAULT_wxUSE_LIBTIFF=no
2226 DEFAULT_wxUSE_LIBXPM=no
2227 DEFAULT_wxUSE_LIBMSPACK=no
2228 DEFAULT_wxUSE_LIBSDL=no
2229 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2230 DEFAULT_wxUSE_LIBGNOMEVFS=no
2231 DEFAULT_wxUSE_LIBHILDON=no
2232 DEFAULT_wxUSE_ODBC=no
2233 DEFAULT_wxUSE_OPENGL=no
2234
2235 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2236 DEFAULT_wxUSE_STACKWALKER=no
2237 DEFAULT_wxUSE_DEBUGREPORT=no
2238 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2239 DEFAULT_wxUSE_STD_IOSTREAM=no
2240 DEFAULT_wxUSE_STD_STRING=no
2241 DEFAULT_wxUSE_CMDLINE_PARSER=no
2242 DEFAULT_wxUSE_DATETIME=no
2243 DEFAULT_wxUSE_TIMER=no
2244 DEFAULT_wxUSE_STOPWATCH=no
2245 DEFAULT_wxUSE_FILE=no
2246 DEFAULT_wxUSE_FFILE=no
2247 DEFAULT_wxUSE_STDPATHS=no
2248 DEFAULT_wxUSE_TEXTBUFFER=no
2249 DEFAULT_wxUSE_TEXTFILE=no
2250 DEFAULT_wxUSE_SOUND=no
2251 DEFAULT_wxUSE_MEDIACTRL=no
2252 DEFAULT_wxUSE_GSTREAMER8=no
2253 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2254 DEFAULT_wxUSE_INTL=no
2255 DEFAULT_wxUSE_CONFIG=no
2256 DEFAULT_wxUSE_FONTMAP=no
2257 DEFAULT_wxUSE_STREAMS=no
2258 DEFAULT_wxUSE_SOCKETS=no
2259 DEFAULT_wxUSE_OLE=no
2260 DEFAULT_wxUSE_DATAOBJ=no
2261 DEFAULT_wxUSE_DIALUP_MANAGER=no
2262 DEFAULT_wxUSE_JOYSTICK=no
2263 DEFAULT_wxUSE_DYNLIB_CLASS=no
2264 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2265 DEFAULT_wxUSE_LONGLONG=no
2266 DEFAULT_wxUSE_GEOMETRY=no
2267 DEFAULT_wxUSE_BASE64=no
2268
2269 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2270 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2271 DEFAULT_wxUSE_POSTSCRIPT=no
2272
2273 DEFAULT_wxUSE_CLIPBOARD=no
2274 DEFAULT_wxUSE_TOOLTIPS=no
2275 DEFAULT_wxUSE_DRAG_AND_DROP=no
2276 DEFAULT_wxUSE_DRAGIMAGE=no
2277 DEFAULT_wxUSE_SPLINES=no
2278 DEFAULT_wxUSE_MOUSEWHEEL=no
2279
2280 DEFAULT_wxUSE_MDI=no
2281 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2282 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2283 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2284
2285 DEFAULT_wxUSE_CONSTRAINTS=no
2286 DEFAULT_wxUSE_IPC=no
2287 DEFAULT_wxUSE_HELP=no
2288 DEFAULT_wxUSE_MS_HTML_HELP=no
2289 DEFAULT_wxUSE_WXHTML_HELP=no
2290 DEFAULT_wxUSE_TREELAYOUT=no
2291 DEFAULT_wxUSE_METAFILE=no
2292 DEFAULT_wxUSE_MIMETYPE=no
2293 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2294 DEFAULT_wxUSE_PROTOCOL=no
2295 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2296 DEFAULT_wxUSE_PROTOCOL_FTP=no
2297 DEFAULT_wxUSE_PROTOCOL_FILE=no
2298 DEFAULT_wxUSE_URL=no
2299 DEFAULT_wxUSE_VARIANT=no
2300
2301 DEFAULT_wxUSE_ABOUTDLG=no
2302 DEFAULT_wxUSE_COMMONDLGS=no
2303 DEFAULT_wxUSE_CHOICEDLG=no
2304 DEFAULT_wxUSE_COLOURDLG=no
2305 DEFAULT_wxUSE_DIRDLG=no
2306 DEFAULT_wxUSE_FILEDLG=no
2307 DEFAULT_wxUSE_FINDREPLDLG=no
2308 DEFAULT_wxUSE_FONTDLG=no
2309 DEFAULT_wxUSE_MSGDLG=no
2310 DEFAULT_wxUSE_NUMBERDLG=no
2311 DEFAULT_wxUSE_TEXTDLG=no
2312 DEFAULT_wxUSE_SPLASH=no
2313 DEFAULT_wxUSE_STARTUP_TIPS=no
2314 DEFAULT_wxUSE_PROGRESSDLG=no
2315 DEFAULT_wxUSE_WIZARDDLG=no
2316
2317 DEFAULT_wxUSE_MENUS=no
2318 DEFAULT_wxUSE_MINIFRAME=no
2319 DEFAULT_wxUSE_HTML=no
2320 DEFAULT_wxUSE_RICHTEXT=no
2321 DEFAULT_wxUSE_XRC=no
2322 DEFAULT_wxUSE_AUI=no
2323 DEFAULT_wxUSE_STC=no
2324 DEFAULT_wxUSE_WEBKIT=no
2325 DEFAULT_wxUSE_FILESYSTEM=no
2326 DEFAULT_wxUSE_FS_INET=no
2327 DEFAULT_wxUSE_FS_ZIP=no
2328 DEFAULT_wxUSE_FS_ARCHIVE=no
2329 DEFAULT_wxUSE_BUSYINFO=no
2330 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2331 DEFAULT_wxUSE_ZIPSTREAM=no
2332 DEFAULT_wxUSE_TARSTREAM=no
2333 DEFAULT_wxUSE_VALIDATORS=no
2334
2335 DEFAULT_wxUSE_ACCEL=no
2336 DEFAULT_wxUSE_ANIMATIONCTRL=no
2337 DEFAULT_wxUSE_BUTTON=no
2338 DEFAULT_wxUSE_BMPBUTTON=no
2339 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2340 DEFAULT_wxUSE_CALCTRL=no
2341 DEFAULT_wxUSE_CARET=no
2342 DEFAULT_wxUSE_CHECKBOX=no
2343 DEFAULT_wxUSE_CHECKLST=no
2344 DEFAULT_wxUSE_CHOICE=no
2345 DEFAULT_wxUSE_CHOICEBOOK=no
2346 DEFAULT_wxUSE_COLLPANE=no
2347 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2348 DEFAULT_wxUSE_COMBOBOX=no
2349 DEFAULT_wxUSE_COMBOCTRL=no
2350 DEFAULT_wxUSE_DATEPICKCTRL=no
2351 DEFAULT_wxUSE_DISPLAY=no
2352 DEFAULT_wxUSE_DETECT_SM=no
2353 DEFAULT_wxUSE_DIRPICKERCTRL=no
2354 DEFAULT_wxUSE_EDITABLELISTBOX=no
2355 DEFAULT_wxUSE_FILEPICKERCTRL=no
2356 DEFAULT_wxUSE_FONTPICKERCTRL=no
2357 DEFAULT_wxUSE_GAUGE=no
2358 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2359 DEFAULT_wxUSE_GRID=no
2360 DEFAULT_wxUSE_HYPERLINKCTRL=no
2361 DEFAULT_wxUSE_DATAVIEWCTRL=no
2362 DEFAULT_wxUSE_IMAGLIST=no
2363 DEFAULT_wxUSE_LISTBOOK=no
2364 DEFAULT_wxUSE_LISTBOX=no
2365 DEFAULT_wxUSE_LISTCTRL=no
2366 DEFAULT_wxUSE_NOTEBOOK=no
2367 DEFAULT_wxUSE_ODCOMBOBOX=no
2368 DEFAULT_wxUSE_RADIOBOX=no
2369 DEFAULT_wxUSE_RADIOBTN=no
2370 DEFAULT_wxUSE_SASH=no
2371 DEFAULT_wxUSE_SCROLLBAR=no
2372 DEFAULT_wxUSE_SEARCHCTRL=no
2373 DEFAULT_wxUSE_SLIDER=no
2374 DEFAULT_wxUSE_SPINBTN=no
2375 DEFAULT_wxUSE_SPINCTRL=no
2376 DEFAULT_wxUSE_SPLITTER=no
2377 DEFAULT_wxUSE_STATBMP=no
2378 DEFAULT_wxUSE_STATBOX=no
2379 DEFAULT_wxUSE_STATLINE=no
2380 DEFAULT_wxUSE_STATTEXT=no
2381 DEFAULT_wxUSE_STATUSBAR=yes
2382 DEFAULT_wxUSE_TAB_DIALOG=no
2383 DEFAULT_wxUSE_TEXTCTRL=no
2384 DEFAULT_wxUSE_TOGGLEBTN=no
2385 DEFAULT_wxUSE_TOOLBAR=no
2386 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2387 DEFAULT_wxUSE_TREEBOOK=no
2388 DEFAULT_wxUSE_TOOLBOOK=no
2389 DEFAULT_wxUSE_TREECTRL=no
2390 DEFAULT_wxUSE_POPUPWIN=no
2391 DEFAULT_wxUSE_TIPWINDOW=no
2392
2393 DEFAULT_wxUSE_UNICODE=yes
2394 DEFAULT_wxUSE_UNICODE_MSLU=no
2395 DEFAULT_wxUSE_UNICODE_UTF8=auto
2396 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2397 DEFAULT_wxUSE_WCSRTOMBS=no
2398
2399 DEFAULT_wxUSE_PALETTE=no
2400 DEFAULT_wxUSE_IMAGE=no
2401 DEFAULT_wxUSE_GIF=no
2402 DEFAULT_wxUSE_PCX=no
2403 DEFAULT_wxUSE_TGA=no
2404 DEFAULT_wxUSE_PNM=no
2405 DEFAULT_wxUSE_IFF=no
2406 DEFAULT_wxUSE_XPM=no
2407 DEFAULT_wxUSE_ICO_CUR=no
2408 DEFAULT_wxUSE_ACCESSIBILITY=no
2409
2410 DEFAULT_wxUSE_MONOLITHIC=no
2411 DEFAULT_wxUSE_PLUGINS=no
2412 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2413 else
2414 DEFAULT_wxUSE_UNIVERSAL=no
2415 DEFAULT_wxUSE_STL=no
2416 DEFAULT_wxUSE_EXTENDED_RTTI=no
2417
2418 DEFAULT_wxUSE_NANOX=no
2419
2420 DEFAULT_wxUSE_THREADS=yes
2421
2422 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2423 DEFAULT_wxUSE_OPTIMISE=yes
2424 DEFAULT_wxUSE_PROFILE=no
2425 DEFAULT_wxUSE_NO_DEPS=no
2426 DEFAULT_wxUSE_VARARG_MACROS=yes
2427 DEFAULT_wxUSE_NO_RTTI=no
2428 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2429 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2430 DEFAULT_wxUSE_RPATH=yes
2431 DEFAULT_wxUSE_PERMISSIVE=no
2432 DEFAULT_wxUSE_DEBUG_FLAG=no
2433 DEFAULT_wxUSE_DEBUG_INFO=no
2434 DEFAULT_wxUSE_DEBUG_GDB=no
2435 DEFAULT_wxUSE_MEM_TRACING=no
2436 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2437 DEFAULT_wxUSE_DMALLOC=no
2438 DEFAULT_wxUSE_APPLE_IEEE=yes
2439
2440 DEFAULT_wxUSE_EXCEPTIONS=yes
2441 DEFAULT_wxUSE_LOG=yes
2442 DEFAULT_wxUSE_LOGWINDOW=yes
2443 DEFAULT_wxUSE_LOGGUI=yes
2444 DEFAULT_wxUSE_LOGDIALOG=yes
2445
2446 DEFAULT_wxUSE_GUI=yes
2447
2448 DEFAULT_wxUSE_REGEX=yes
2449 DEFAULT_wxUSE_XML=yes
2450 DEFAULT_wxUSE_EXPAT=yes
2451 DEFAULT_wxUSE_ZLIB=yes
2452 DEFAULT_wxUSE_LIBPNG=yes
2453 DEFAULT_wxUSE_LIBJPEG=yes
2454 DEFAULT_wxUSE_LIBTIFF=yes
2455 DEFAULT_wxUSE_LIBXPM=yes
2456 DEFAULT_wxUSE_LIBMSPACK=yes
2457 DEFAULT_wxUSE_LIBSDL=no
2458 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
2459 DEFAULT_wxUSE_LIBGNOMEVFS=no
2460 DEFAULT_wxUSE_LIBHILDON=no
2461 DEFAULT_wxUSE_ODBC=no
2462 DEFAULT_wxUSE_OPENGL=no
2463
2464 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2465 DEFAULT_wxUSE_STACKWALKER=yes
2466 DEFAULT_wxUSE_DEBUGREPORT=yes
2467 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2468 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2469 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2470 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2471 DEFAULT_wxUSE_DATETIME=yes
2472 DEFAULT_wxUSE_TIMER=yes
2473 DEFAULT_wxUSE_STOPWATCH=yes
2474 DEFAULT_wxUSE_FILE=yes
2475 DEFAULT_wxUSE_FFILE=yes
2476 DEFAULT_wxUSE_STDPATHS=yes
2477 DEFAULT_wxUSE_TEXTBUFFER=yes
2478 DEFAULT_wxUSE_TEXTFILE=yes
2479 DEFAULT_wxUSE_SOUND=yes
2480 DEFAULT_wxUSE_MEDIACTRL=no
2481 DEFAULT_wxUSE_GSTREAMER8=no
2482 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2483 DEFAULT_wxUSE_INTL=yes
2484 DEFAULT_wxUSE_CONFIG=yes
2485 DEFAULT_wxUSE_FONTMAP=yes
2486 DEFAULT_wxUSE_STREAMS=yes
2487 DEFAULT_wxUSE_SOCKETS=yes
2488 DEFAULT_wxUSE_OLE=yes
2489 DEFAULT_wxUSE_DATAOBJ=yes
2490 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2491 DEFAULT_wxUSE_JOYSTICK=yes
2492 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2493 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2494 DEFAULT_wxUSE_LONGLONG=yes
2495 DEFAULT_wxUSE_GEOMETRY=yes
2496 DEFAULT_wxUSE_BASE64=yes
2497
2498 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2499 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2500 DEFAULT_wxUSE_POSTSCRIPT=yes
2501
2502 DEFAULT_wxUSE_CLIPBOARD=yes
2503 DEFAULT_wxUSE_TOOLTIPS=yes
2504 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2505 DEFAULT_wxUSE_DRAGIMAGE=yes
2506 DEFAULT_wxUSE_SPLINES=yes
2507 DEFAULT_wxUSE_MOUSEWHEEL=yes
2508
2509 DEFAULT_wxUSE_MDI=yes
2510 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2511 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2512 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2513
2514 DEFAULT_wxUSE_CONSTRAINTS=yes
2515 DEFAULT_wxUSE_IPC=yes
2516 DEFAULT_wxUSE_HELP=yes
2517 DEFAULT_wxUSE_MS_HTML_HELP=yes
2518 DEFAULT_wxUSE_WXHTML_HELP=yes
2519 DEFAULT_wxUSE_TREELAYOUT=yes
2520 DEFAULT_wxUSE_METAFILE=yes
2521 DEFAULT_wxUSE_MIMETYPE=yes
2522 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2523 DEFAULT_wxUSE_PROTOCOL=yes
2524 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2525 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2526 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2527 DEFAULT_wxUSE_URL=yes
2528 DEFAULT_wxUSE_VARIANT=yes
2529
2530 DEFAULT_wxUSE_ABOUTDLG=yes
2531 DEFAULT_wxUSE_COMMONDLGS=yes
2532 DEFAULT_wxUSE_CHOICEDLG=yes
2533 DEFAULT_wxUSE_COLOURDLG=yes
2534 DEFAULT_wxUSE_DIRDLG=yes
2535 DEFAULT_wxUSE_FILEDLG=yes
2536 DEFAULT_wxUSE_FINDREPLDLG=yes
2537 DEFAULT_wxUSE_FONTDLG=yes
2538 DEFAULT_wxUSE_MSGDLG=yes
2539 DEFAULT_wxUSE_NUMBERDLG=yes
2540 DEFAULT_wxUSE_TEXTDLG=yes
2541 DEFAULT_wxUSE_SPLASH=yes
2542 DEFAULT_wxUSE_STARTUP_TIPS=yes
2543 DEFAULT_wxUSE_PROGRESSDLG=yes
2544 DEFAULT_wxUSE_WIZARDDLG=yes
2545
2546 DEFAULT_wxUSE_MENUS=yes
2547 DEFAULT_wxUSE_MINIFRAME=yes
2548 DEFAULT_wxUSE_HTML=yes
2549 DEFAULT_wxUSE_RICHTEXT=yes
2550 DEFAULT_wxUSE_XRC=yes
2551 DEFAULT_wxUSE_AUI=yes
2552 DEFAULT_wxUSE_STC=yes
2553 DEFAULT_wxUSE_WEBKIT=yes
2554 DEFAULT_wxUSE_FILESYSTEM=yes
2555 DEFAULT_wxUSE_FS_INET=yes
2556 DEFAULT_wxUSE_FS_ZIP=yes
2557 DEFAULT_wxUSE_FS_ARCHIVE=yes
2558 DEFAULT_wxUSE_BUSYINFO=yes
2559 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2560 DEFAULT_wxUSE_ZIPSTREAM=yes
2561 DEFAULT_wxUSE_TARSTREAM=yes
2562 DEFAULT_wxUSE_VALIDATORS=yes
2563
2564 DEFAULT_wxUSE_ACCEL=yes
2565 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2566 DEFAULT_wxUSE_BUTTON=yes
2567 DEFAULT_wxUSE_BMPBUTTON=yes
2568 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2569 DEFAULT_wxUSE_CALCTRL=yes
2570 DEFAULT_wxUSE_CARET=yes
2571 DEFAULT_wxUSE_CHECKBOX=yes
2572 DEFAULT_wxUSE_CHECKLST=yes
2573 DEFAULT_wxUSE_CHOICE=yes
2574 DEFAULT_wxUSE_CHOICEBOOK=yes
2575 DEFAULT_wxUSE_COLLPANE=yes
2576 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2577 DEFAULT_wxUSE_COMBOBOX=yes
2578 DEFAULT_wxUSE_COMBOCTRL=yes
2579 DEFAULT_wxUSE_DATEPICKCTRL=yes
2580 DEFAULT_wxUSE_DISPLAY=yes
2581 DEFAULT_wxUSE_DETECT_SM=yes
2582 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2583 DEFAULT_wxUSE_EDITABLELISTBOX=yes
2584 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2585 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2586 DEFAULT_wxUSE_GAUGE=yes
2587 DEFAULT_wxUSE_GRID=yes
2588 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2589 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2590 DEFAULT_wxUSE_DATAVIEWCTRL=no
2591 DEFAULT_wxUSE_IMAGLIST=yes
2592 DEFAULT_wxUSE_LISTBOOK=yes
2593 DEFAULT_wxUSE_LISTBOX=yes
2594 DEFAULT_wxUSE_LISTCTRL=yes
2595 DEFAULT_wxUSE_NOTEBOOK=yes
2596 DEFAULT_wxUSE_ODCOMBOBOX=yes
2597 DEFAULT_wxUSE_RADIOBOX=yes
2598 DEFAULT_wxUSE_RADIOBTN=yes
2599 DEFAULT_wxUSE_SASH=yes
2600 DEFAULT_wxUSE_SCROLLBAR=yes
2601 DEFAULT_wxUSE_SEARCHCTRL=yes
2602 DEFAULT_wxUSE_SLIDER=yes
2603 DEFAULT_wxUSE_SPINBTN=yes
2604 DEFAULT_wxUSE_SPINCTRL=yes
2605 DEFAULT_wxUSE_SPLITTER=yes
2606 DEFAULT_wxUSE_STATBMP=yes
2607 DEFAULT_wxUSE_STATBOX=yes
2608 DEFAULT_wxUSE_STATLINE=yes
2609 DEFAULT_wxUSE_STATTEXT=yes
2610 DEFAULT_wxUSE_STATUSBAR=yes
2611 DEFAULT_wxUSE_TAB_DIALOG=no
2612 DEFAULT_wxUSE_TEXTCTRL=yes
2613 DEFAULT_wxUSE_TOGGLEBTN=yes
2614 DEFAULT_wxUSE_TOOLBAR=yes
2615 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2616 DEFAULT_wxUSE_TREEBOOK=yes
2617 DEFAULT_wxUSE_TOOLBOOK=yes
2618 DEFAULT_wxUSE_TREECTRL=yes
2619 DEFAULT_wxUSE_POPUPWIN=yes
2620 DEFAULT_wxUSE_TIPWINDOW=yes
2621
2622 DEFAULT_wxUSE_UNICODE=yes
2623 DEFAULT_wxUSE_UNICODE_MSLU=yes
2624 DEFAULT_wxUSE_UNICODE_UTF8=auto
2625 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2626 DEFAULT_wxUSE_WCSRTOMBS=no
2627
2628 DEFAULT_wxUSE_PALETTE=yes
2629 DEFAULT_wxUSE_IMAGE=yes
2630 DEFAULT_wxUSE_GIF=yes
2631 DEFAULT_wxUSE_PCX=yes
2632 DEFAULT_wxUSE_TGA=yes
2633 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2634 DEFAULT_wxUSE_XPM=yes
2635 DEFAULT_wxUSE_ICO_CUR=yes
2636 DEFAULT_wxUSE_ACCESSIBILITY=no
2637
2638 DEFAULT_wxUSE_MONOLITHIC=no
2639 DEFAULT_wxUSE_PLUGINS=no
2640 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2641
2642 DEFAULT_wxUSE_GTK2=yes
2643 fi
2644
2645 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2646
2647
2648
2649
2650 for toolkit in `echo $ALL_TOOLKITS`; do
2651 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2652 if test "x$LINE" != "x" ; then
2653 has_toolkit_in_cache=1
2654 eval "DEFAULT_$LINE"
2655 eval "CACHE_$toolkit=1"
2656
2657 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2658 if test "x$LINE" != "x" ; then
2659 eval "DEFAULT_$LINE"
2660 fi
2661 fi
2662 done
2663
2664
2665
2666 enablestring=
2667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2668 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2669 no_cache=0
2670 # Check whether --enable-gui or --disable-gui was given.
2671 if test "${enable_gui+set}" = set; then
2672 enableval="$enable_gui"
2673
2674 if test "$enableval" = yes; then
2675 ac_cv_use_gui='wxUSE_GUI=yes'
2676 else
2677 ac_cv_use_gui='wxUSE_GUI=no'
2678 fi
2679
2680 else
2681
2682 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2683 if test "x$LINE" != x ; then
2684 eval "DEFAULT_$LINE"
2685 else
2686 no_cache=1
2687 fi
2688
2689 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2690
2691 fi;
2692
2693 eval "$ac_cv_use_gui"
2694 if test "$no_cache" != 1; then
2695 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2696 fi
2697
2698 if test "$wxUSE_GUI" = yes; then
2699 echo "$as_me:$LINENO: result: yes" >&5
2700 echo "${ECHO_T}yes" >&6
2701 else
2702 echo "$as_me:$LINENO: result: no" >&5
2703 echo "${ECHO_T}no" >&6
2704 fi
2705
2706
2707 enablestring=
2708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2709 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2710 no_cache=0
2711 # Check whether --enable-monolithic or --disable-monolithic was given.
2712 if test "${enable_monolithic+set}" = set; then
2713 enableval="$enable_monolithic"
2714
2715 if test "$enableval" = yes; then
2716 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2717 else
2718 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2719 fi
2720
2721 else
2722
2723 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
2724 if test "x$LINE" != x ; then
2725 eval "DEFAULT_$LINE"
2726 else
2727 no_cache=1
2728 fi
2729
2730 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2731
2732 fi;
2733
2734 eval "$ac_cv_use_monolithic"
2735 if test "$no_cache" != 1; then
2736 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2737 fi
2738
2739 if test "$wxUSE_MONOLITHIC" = yes; then
2740 echo "$as_me:$LINENO: result: yes" >&5
2741 echo "${ECHO_T}yes" >&6
2742 else
2743 echo "$as_me:$LINENO: result: no" >&5
2744 echo "${ECHO_T}no" >&6
2745 fi
2746
2747
2748 enablestring=
2749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2750 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2751 no_cache=0
2752 # Check whether --enable-plugins or --disable-plugins was given.
2753 if test "${enable_plugins+set}" = set; then
2754 enableval="$enable_plugins"
2755
2756 if test "$enableval" = yes; then
2757 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2758 else
2759 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2760 fi
2761
2762 else
2763
2764 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
2765 if test "x$LINE" != x ; then
2766 eval "DEFAULT_$LINE"
2767 else
2768 no_cache=1
2769 fi
2770
2771 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2772
2773 fi;
2774
2775 eval "$ac_cv_use_plugins"
2776 if test "$no_cache" != 1; then
2777 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2778 fi
2779
2780 if test "$wxUSE_PLUGINS" = yes; then
2781 echo "$as_me:$LINENO: result: yes" >&5
2782 echo "${ECHO_T}yes" >&6
2783 else
2784 echo "$as_me:$LINENO: result: no" >&5
2785 echo "${ECHO_T}no" >&6
2786 fi
2787
2788
2789 withstring=without
2790 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2791 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2792 no_cache=0
2793
2794 # Check whether --with-subdirs or --without-subdirs was given.
2795 if test "${with_subdirs+set}" = set; then
2796 withval="$with_subdirs"
2797
2798 if test "$withval" = yes; then
2799 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2800 else
2801 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2802 fi
2803
2804 else
2805
2806 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
2807 if test "x$LINE" != x ; then
2808 eval "DEFAULT_$LINE"
2809 else
2810 no_cache=1
2811 fi
2812
2813 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2814
2815 fi;
2816
2817 eval "$ac_cv_use_subdirs"
2818 if test "$no_cache" != 1; then
2819 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2820 fi
2821
2822 if test "$wxWITH_SUBDIRS" = yes; then
2823 echo "$as_me:$LINENO: result: yes" >&5
2824 echo "${ECHO_T}yes" >&6
2825 else
2826 echo "$as_me:$LINENO: result: no" >&5
2827 echo "${ECHO_T}no" >&6
2828 fi
2829
2830
2831 if test "$wxUSE_GUI" = "yes"; then
2832
2833
2834 enablestring=
2835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2836 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2837 no_cache=0
2838 # Check whether --enable-universal or --disable-universal was given.
2839 if test "${enable_universal+set}" = set; then
2840 enableval="$enable_universal"
2841
2842 if test "$enableval" = yes; then
2843 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2844 else
2845 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2846 fi
2847
2848 else
2849
2850 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
2851 if test "x$LINE" != x ; then
2852 eval "DEFAULT_$LINE"
2853 else
2854 no_cache=1
2855 fi
2856
2857 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2858
2859 fi;
2860
2861 eval "$ac_cv_use_universal"
2862 if test "$no_cache" != 1; then
2863 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2864 fi
2865
2866 if test "$wxUSE_UNIVERSAL" = yes; then
2867 echo "$as_me:$LINENO: result: yes" >&5
2868 echo "${ECHO_T}yes" >&6
2869 else
2870 echo "$as_me:$LINENO: result: no" >&5
2871 echo "${ECHO_T}no" >&6
2872 fi
2873
2874
2875 # Check whether --with-gtk or --without-gtk was given.
2876 if test "${with_gtk+set}" = set; then
2877 withval="$with_gtk"
2878 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-motif or --without-motif was given.
2882 if test "${with_motif+set}" = set; then
2883 withval="$with_motif"
2884 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2885 fi;
2886
2887 # Check whether --with-mac or --without-mac was given.
2888 if test "${with_mac+set}" = set; then
2889 withval="$with_mac"
2890 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2891 fi;
2892
2893 # Check whether --with-cocoa or --without-cocoa was given.
2894 if test "${with_cocoa+set}" = set; then
2895 withval="$with_cocoa"
2896 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2897 fi;
2898
2899 # Check whether --with-wine or --without-wine was given.
2900 if test "${with_wine+set}" = set; then
2901 withval="$with_wine"
2902 wxUSE_WINE="$withval" CACHE_WINE=1
2903 fi;
2904
2905 # Check whether --with-msw or --without-msw was given.
2906 if test "${with_msw+set}" = set; then
2907 withval="$with_msw"
2908 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2909 fi;
2910
2911 # Check whether --with-pm or --without-pm was given.
2912 if test "${with_pm+set}" = set; then
2913 withval="$with_pm"
2914 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2915 fi;
2916
2917 # Check whether --with-mgl or --without-mgl was given.
2918 if test "${with_mgl+set}" = set; then
2919 withval="$with_mgl"
2920 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2921 fi;
2922
2923 # Check whether --with-directfb or --without-directfb was given.
2924 if test "${with_directfb+set}" = set; then
2925 withval="$with_directfb"
2926 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2927 fi;
2928
2929 # Check whether --with-microwin or --without-microwin was given.
2930 if test "${with_microwin+set}" = set; then
2931 withval="$with_microwin"
2932 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2933 fi;
2934
2935 # Check whether --with-x11 or --without-x11 was given.
2936 if test "${with_x11+set}" = set; then
2937 withval="$with_x11"
2938 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2939 fi;
2940
2941 enablestring=
2942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2943 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2944 no_cache=0
2945 # Check whether --enable-nanox or --disable-nanox was given.
2946 if test "${enable_nanox+set}" = set; then
2947 enableval="$enable_nanox"
2948
2949 if test "$enableval" = yes; then
2950 ac_cv_use_nanox='wxUSE_NANOX=yes'
2951 else
2952 ac_cv_use_nanox='wxUSE_NANOX=no'
2953 fi
2954
2955 else
2956
2957 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
2958 if test "x$LINE" != x ; then
2959 eval "DEFAULT_$LINE"
2960 else
2961 no_cache=1
2962 fi
2963
2964 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2965
2966 fi;
2967
2968 eval "$ac_cv_use_nanox"
2969 if test "$no_cache" != 1; then
2970 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2971 fi
2972
2973 if test "$wxUSE_NANOX" = yes; then
2974 echo "$as_me:$LINENO: result: yes" >&5
2975 echo "${ECHO_T}yes" >&6
2976 else
2977 echo "$as_me:$LINENO: result: no" >&5
2978 echo "${ECHO_T}no" >&6
2979 fi
2980
2981
2982 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2983 if test "${enable_gtk2+set}" = set; then
2984 enableval="$enable_gtk2"
2985 wxUSE_GTK2="$enableval"
2986 fi;
2987
2988 enablestring=
2989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2990 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2991 no_cache=0
2992 # Check whether --enable-gpe or --disable-gpe was given.
2993 if test "${enable_gpe+set}" = set; then
2994 enableval="$enable_gpe"
2995
2996 if test "$enableval" = yes; then
2997 ac_cv_use_gpe='wxUSE_GPE=yes'
2998 else
2999 ac_cv_use_gpe='wxUSE_GPE=no'
3000 fi
3001
3002 else
3003
3004 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3005 if test "x$LINE" != x ; then
3006 eval "DEFAULT_$LINE"
3007 else
3008 no_cache=1
3009 fi
3010
3011 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3012
3013 fi;
3014
3015 eval "$ac_cv_use_gpe"
3016 if test "$no_cache" != 1; then
3017 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3018 fi
3019
3020 if test "$wxUSE_GPE" = yes; then
3021 echo "$as_me:$LINENO: result: yes" >&5
3022 echo "${ECHO_T}yes" >&6
3023 else
3024 echo "$as_me:$LINENO: result: no" >&5
3025 echo "${ECHO_T}no" >&6
3026 fi
3027
3028
3029
3030 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3031 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3032 no_cache=0
3033
3034 # Check whether --with-libpng or --without-libpng was given.
3035 if test "${with_libpng+set}" = set; then
3036 withval="$with_libpng"
3037
3038 if test "$withval" = yes; then
3039 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3040 elif test "$withval" = no; then
3041 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3042 elif test "$withval" = sys; then
3043 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3044 elif test "$withval" = builtin; then
3045 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3046 else
3047 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3048 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3049 { (exit 1); exit 1; }; }
3050 fi
3051
3052 else
3053
3054 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3055 if test "x$LINE" != x ; then
3056 eval "DEFAULT_$LINE"
3057 else
3058 no_cache=1
3059 fi
3060
3061 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3062
3063 fi;
3064
3065 eval "$ac_cv_use_libpng"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3068 fi
3069
3070 if test "$wxUSE_LIBPNG" = yes; then
3071 echo "$as_me:$LINENO: result: yes" >&5
3072 echo "${ECHO_T}yes" >&6
3073 elif test "$wxUSE_LIBPNG" = no; then
3074 echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3076 elif test "$wxUSE_LIBPNG" = sys; then
3077 echo "$as_me:$LINENO: result: system version" >&5
3078 echo "${ECHO_T}system version" >&6
3079 elif test "$wxUSE_LIBPNG" = builtin; then
3080 echo "$as_me:$LINENO: result: builtin version" >&5
3081 echo "${ECHO_T}builtin version" >&6
3082 else
3083 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3084 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3085 { (exit 1); exit 1; }; }
3086 fi
3087
3088
3089 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3090 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3091 no_cache=0
3092
3093 # Check whether --with-libjpeg or --without-libjpeg was given.
3094 if test "${with_libjpeg+set}" = set; then
3095 withval="$with_libjpeg"
3096
3097 if test "$withval" = yes; then
3098 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3099 elif test "$withval" = no; then
3100 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3101 elif test "$withval" = sys; then
3102 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3103 elif test "$withval" = builtin; then
3104 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3105 else
3106 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3107 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3108 { (exit 1); exit 1; }; }
3109 fi
3110
3111 else
3112
3113 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3114 if test "x$LINE" != x ; then
3115 eval "DEFAULT_$LINE"
3116 else
3117 no_cache=1
3118 fi
3119
3120 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3121
3122 fi;
3123
3124 eval "$ac_cv_use_libjpeg"
3125 if test "$no_cache" != 1; then
3126 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3127 fi
3128
3129 if test "$wxUSE_LIBJPEG" = yes; then
3130 echo "$as_me:$LINENO: result: yes" >&5
3131 echo "${ECHO_T}yes" >&6
3132 elif test "$wxUSE_LIBJPEG" = no; then
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3135 elif test "$wxUSE_LIBJPEG" = sys; then
3136 echo "$as_me:$LINENO: result: system version" >&5
3137 echo "${ECHO_T}system version" >&6
3138 elif test "$wxUSE_LIBJPEG" = builtin; then
3139 echo "$as_me:$LINENO: result: builtin version" >&5
3140 echo "${ECHO_T}builtin version" >&6
3141 else
3142 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3143 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3144 { (exit 1); exit 1; }; }
3145 fi
3146
3147
3148 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3149 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3150 no_cache=0
3151
3152 # Check whether --with-libtiff or --without-libtiff was given.
3153 if test "${with_libtiff+set}" = set; then
3154 withval="$with_libtiff"
3155
3156 if test "$withval" = yes; then
3157 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3158 elif test "$withval" = no; then
3159 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3160 elif test "$withval" = sys; then
3161 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3162 elif test "$withval" = builtin; then
3163 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3164 else
3165 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3166 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3167 { (exit 1); exit 1; }; }
3168 fi
3169
3170 else
3171
3172 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3173 if test "x$LINE" != x ; then
3174 eval "DEFAULT_$LINE"
3175 else
3176 no_cache=1
3177 fi
3178
3179 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3180
3181 fi;
3182
3183 eval "$ac_cv_use_libtiff"
3184 if test "$no_cache" != 1; then
3185 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3186 fi
3187
3188 if test "$wxUSE_LIBTIFF" = yes; then
3189 echo "$as_me:$LINENO: result: yes" >&5
3190 echo "${ECHO_T}yes" >&6
3191 elif test "$wxUSE_LIBTIFF" = no; then
3192 echo "$as_me:$LINENO: result: no" >&5
3193 echo "${ECHO_T}no" >&6
3194 elif test "$wxUSE_LIBTIFF" = sys; then
3195 echo "$as_me:$LINENO: result: system version" >&5
3196 echo "${ECHO_T}system version" >&6
3197 elif test "$wxUSE_LIBTIFF" = builtin; then
3198 echo "$as_me:$LINENO: result: builtin version" >&5
3199 echo "${ECHO_T}builtin version" >&6
3200 else
3201 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3202 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3203 { (exit 1); exit 1; }; }
3204 fi
3205
3206
3207 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3208 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3209 no_cache=0
3210
3211 # Check whether --with-libxpm or --without-libxpm was given.
3212 if test "${with_libxpm+set}" = set; then
3213 withval="$with_libxpm"
3214
3215 if test "$withval" = yes; then
3216 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3217 elif test "$withval" = no; then
3218 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3219 elif test "$withval" = sys; then
3220 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3221 elif test "$withval" = builtin; then
3222 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3223 else
3224 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3225 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3226 { (exit 1); exit 1; }; }
3227 fi
3228
3229 else
3230
3231 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3232 if test "x$LINE" != x ; then
3233 eval "DEFAULT_$LINE"
3234 else
3235 no_cache=1
3236 fi
3237
3238 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3239
3240 fi;
3241
3242 eval "$ac_cv_use_libxpm"
3243 if test "$no_cache" != 1; then
3244 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3245 fi
3246
3247 if test "$wxUSE_LIBXPM" = yes; then
3248 echo "$as_me:$LINENO: result: yes" >&5
3249 echo "${ECHO_T}yes" >&6
3250 elif test "$wxUSE_LIBXPM" = no; then
3251 echo "$as_me:$LINENO: result: no" >&5
3252 echo "${ECHO_T}no" >&6
3253 elif test "$wxUSE_LIBXPM" = sys; then
3254 echo "$as_me:$LINENO: result: system version" >&5
3255 echo "${ECHO_T}system version" >&6
3256 elif test "$wxUSE_LIBXPM" = builtin; then
3257 echo "$as_me:$LINENO: result: builtin version" >&5
3258 echo "${ECHO_T}builtin version" >&6
3259 else
3260 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3261 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3262 { (exit 1); exit 1; }; }
3263 fi
3264
3265
3266 withstring=
3267 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3268 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3269 no_cache=0
3270
3271 # Check whether --with-libmspack or --without-libmspack was given.
3272 if test "${with_libmspack+set}" = set; then
3273 withval="$with_libmspack"
3274
3275 if test "$withval" = yes; then
3276 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3277 else
3278 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3279 fi
3280
3281 else
3282
3283 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3284 if test "x$LINE" != x ; then
3285 eval "DEFAULT_$LINE"
3286 else
3287 no_cache=1
3288 fi
3289
3290 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3291
3292 fi;
3293
3294 eval "$ac_cv_use_libmspack"
3295 if test "$no_cache" != 1; then
3296 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3297 fi
3298
3299 if test "$wxUSE_LIBMSPACK" = yes; then
3300 echo "$as_me:$LINENO: result: yes" >&5
3301 echo "${ECHO_T}yes" >&6
3302 else
3303 echo "$as_me:$LINENO: result: no" >&5
3304 echo "${ECHO_T}no" >&6
3305 fi
3306
3307
3308 withstring=
3309 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3310 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3311 no_cache=0
3312
3313 # Check whether --with-sdl or --without-sdl was given.
3314 if test "${with_sdl+set}" = set; then
3315 withval="$with_sdl"
3316
3317 if test "$withval" = yes; then
3318 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3319 else
3320 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3321 fi
3322
3323 else
3324
3325 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
3326 if test "x$LINE" != x ; then
3327 eval "DEFAULT_$LINE"
3328 else
3329 no_cache=1
3330 fi
3331
3332 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3333
3334 fi;
3335
3336 eval "$ac_cv_use_sdl"
3337 if test "$no_cache" != 1; then
3338 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3339 fi
3340
3341 if test "$wxUSE_LIBSDL" = yes; then
3342 echo "$as_me:$LINENO: result: yes" >&5
3343 echo "${ECHO_T}yes" >&6
3344 else
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3347 fi
3348
3349
3350 withstring=
3351 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3352 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3353 no_cache=0
3354
3355 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3356 if test "${with_gnomeprint+set}" = set; then
3357 withval="$with_gnomeprint"
3358
3359 if test "$withval" = yes; then
3360 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3361 else
3362 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3363 fi
3364
3365 else
3366
3367 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3368 if test "x$LINE" != x ; then
3369 eval "DEFAULT_$LINE"
3370 else
3371 no_cache=1
3372 fi
3373
3374 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3375
3376 fi;
3377
3378 eval "$ac_cv_use_gnomeprint"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3381 fi
3382
3383 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3384 echo "$as_me:$LINENO: result: yes" >&5
3385 echo "${ECHO_T}yes" >&6
3386 else
3387 echo "$as_me:$LINENO: result: no" >&5
3388 echo "${ECHO_T}no" >&6
3389 fi
3390
3391
3392 withstring=
3393 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3394 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3395 no_cache=0
3396
3397 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3398 if test "${with_gnomevfs+set}" = set; then
3399 withval="$with_gnomevfs"
3400
3401 if test "$withval" = yes; then
3402 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3403 else
3404 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3405 fi
3406
3407 else
3408
3409 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x ; then
3411 eval "DEFAULT_$LINE"
3412 else
3413 no_cache=1
3414 fi
3415
3416 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3417
3418 fi;
3419
3420 eval "$ac_cv_use_gnomevfs"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3423 fi
3424
3425 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427 echo "${ECHO_T}yes" >&6
3428 else
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3431 fi
3432
3433
3434 withstring=
3435 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3436 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3437 no_cache=0
3438
3439 # Check whether --with-hildon or --without-hildon was given.
3440 if test "${with_hildon+set}" = set; then
3441 withval="$with_hildon"
3442
3443 if test "$withval" = yes; then
3444 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3445 else
3446 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3447 fi
3448
3449 else
3450
3451 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3452 if test "x$LINE" != x ; then
3453 eval "DEFAULT_$LINE"
3454 else
3455 no_cache=1
3456 fi
3457
3458 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3459
3460 fi;
3461
3462 eval "$ac_cv_use_hildon"
3463 if test "$no_cache" != 1; then
3464 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3465 fi
3466
3467 if test "$wxUSE_LIBHILDON" = yes; then
3468 echo "$as_me:$LINENO: result: yes" >&5
3469 echo "${ECHO_T}yes" >&6
3470 else
3471 echo "$as_me:$LINENO: result: no" >&5
3472 echo "${ECHO_T}no" >&6
3473 fi
3474
3475
3476 withstring=
3477 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3478 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3479 no_cache=0
3480
3481 # Check whether --with-opengl or --without-opengl was given.
3482 if test "${with_opengl+set}" = set; then
3483 withval="$with_opengl"
3484
3485 if test "$withval" = yes; then
3486 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3487 else
3488 ac_cv_use_opengl='wxUSE_OPENGL=no'
3489 fi
3490
3491 else
3492
3493 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3494 if test "x$LINE" != x ; then
3495 eval "DEFAULT_$LINE"
3496 else
3497 no_cache=1
3498 fi
3499
3500 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3501
3502 fi;
3503
3504 eval "$ac_cv_use_opengl"
3505 if test "$no_cache" != 1; then
3506 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3507 fi
3508
3509 if test "$wxUSE_OPENGL" = yes; then
3510 echo "$as_me:$LINENO: result: yes" >&5
3511 echo "${ECHO_T}yes" >&6
3512 else
3513 echo "$as_me:$LINENO: result: no" >&5
3514 echo "${ECHO_T}no" >&6
3515 fi
3516
3517
3518 if test "$wxUSE_UNIVERSAL" = "yes"; then
3519
3520 # Check whether --with-themes or --without-themes was given.
3521 if test "${with_themes+set}" = set; then
3522 withval="$with_themes"
3523 wxUNIV_THEMES="$withval"
3524 fi;
3525 fi
3526
3527 fi
3528
3529
3530 withstring=
3531 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3532 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3533 no_cache=0
3534
3535 # Check whether --with-dmalloc or --without-dmalloc was given.
3536 if test "${with_dmalloc+set}" = set; then
3537 withval="$with_dmalloc"
3538
3539 if test "$withval" = yes; then
3540 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3541 else
3542 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3543 fi
3544
3545 else
3546
3547 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x ; then
3549 eval "DEFAULT_$LINE"
3550 else
3551 no_cache=1
3552 fi
3553
3554 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3555
3556 fi;
3557
3558 eval "$ac_cv_use_dmalloc"
3559 if test "$no_cache" != 1; then
3560 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3561 fi
3562
3563 if test "$wxUSE_DMALLOC" = yes; then
3564 echo "$as_me:$LINENO: result: yes" >&5
3565 echo "${ECHO_T}yes" >&6
3566 else
3567 echo "$as_me:$LINENO: result: no" >&5
3568 echo "${ECHO_T}no" >&6
3569 fi
3570
3571
3572 echo "$as_me:$LINENO: checking for --with-regex" >&5
3573 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3574 no_cache=0
3575
3576 # Check whether --with-regex or --without-regex was given.
3577 if test "${with_regex+set}" = set; then
3578 withval="$with_regex"
3579
3580 if test "$withval" = yes; then
3581 ac_cv_use_regex='wxUSE_REGEX=yes'
3582 elif test "$withval" = no; then
3583 ac_cv_use_regex='wxUSE_REGEX=no'
3584 elif test "$withval" = sys; then
3585 ac_cv_use_regex='wxUSE_REGEX=sys'
3586 elif test "$withval" = builtin; then
3587 ac_cv_use_regex='wxUSE_REGEX=builtin'
3588 else
3589 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3590 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3591 { (exit 1); exit 1; }; }
3592 fi
3593
3594 else
3595
3596 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
3597 if test "x$LINE" != x ; then
3598 eval "DEFAULT_$LINE"
3599 else
3600 no_cache=1
3601 fi
3602
3603 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3604
3605 fi;
3606
3607 eval "$ac_cv_use_regex"
3608 if test "$no_cache" != 1; then
3609 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3610 fi
3611
3612 if test "$wxUSE_REGEX" = yes; then
3613 echo "$as_me:$LINENO: result: yes" >&5
3614 echo "${ECHO_T}yes" >&6
3615 elif test "$wxUSE_REGEX" = no; then
3616 echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6
3618 elif test "$wxUSE_REGEX" = sys; then
3619 echo "$as_me:$LINENO: result: system version" >&5
3620 echo "${ECHO_T}system version" >&6
3621 elif test "$wxUSE_REGEX" = builtin; then
3622 echo "$as_me:$LINENO: result: builtin version" >&5
3623 echo "${ECHO_T}builtin version" >&6
3624 else
3625 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3626 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3627 { (exit 1); exit 1; }; }
3628 fi
3629
3630
3631 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3632 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3633 no_cache=0
3634
3635 # Check whether --with-zlib or --without-zlib was given.
3636 if test "${with_zlib+set}" = set; then
3637 withval="$with_zlib"
3638
3639 if test "$withval" = yes; then
3640 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3641 elif test "$withval" = no; then
3642 ac_cv_use_zlib='wxUSE_ZLIB=no'
3643 elif test "$withval" = sys; then
3644 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3645 elif test "$withval" = builtin; then
3646 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3647 else
3648 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3649 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3650 { (exit 1); exit 1; }; }
3651 fi
3652
3653 else
3654
3655 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
3656 if test "x$LINE" != x ; then
3657 eval "DEFAULT_$LINE"
3658 else
3659 no_cache=1
3660 fi
3661
3662 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3663
3664 fi;
3665
3666 eval "$ac_cv_use_zlib"
3667 if test "$no_cache" != 1; then
3668 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3669 fi
3670
3671 if test "$wxUSE_ZLIB" = yes; then
3672 echo "$as_me:$LINENO: result: yes" >&5
3673 echo "${ECHO_T}yes" >&6
3674 elif test "$wxUSE_ZLIB" = no; then
3675 echo "$as_me:$LINENO: result: no" >&5
3676 echo "${ECHO_T}no" >&6
3677 elif test "$wxUSE_ZLIB" = sys; then
3678 echo "$as_me:$LINENO: result: system version" >&5
3679 echo "${ECHO_T}system version" >&6
3680 elif test "$wxUSE_ZLIB" = builtin; then
3681 echo "$as_me:$LINENO: result: builtin version" >&5
3682 echo "${ECHO_T}builtin version" >&6
3683 else
3684 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3685 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3686 { (exit 1); exit 1; }; }
3687 fi
3688
3689
3690 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3691 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3692 no_cache=0
3693
3694 # Check whether --with-odbc or --without-odbc was given.
3695 if test "${with_odbc+set}" = set; then
3696 withval="$with_odbc"
3697
3698 if test "$withval" = yes; then
3699 ac_cv_use_odbc='wxUSE_ODBC=yes'
3700 elif test "$withval" = no; then
3701 ac_cv_use_odbc='wxUSE_ODBC=no'
3702 elif test "$withval" = sys; then
3703 ac_cv_use_odbc='wxUSE_ODBC=sys'
3704 elif test "$withval" = builtin; then
3705 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3706 else
3707 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3708 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3710 fi
3711
3712 else
3713
3714 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
3715 if test "x$LINE" != x ; then
3716 eval "DEFAULT_$LINE"
3717 else
3718 no_cache=1
3719 fi
3720
3721 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3722
3723 fi;
3724
3725 eval "$ac_cv_use_odbc"
3726 if test "$no_cache" != 1; then
3727 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3728 fi
3729
3730 if test "$wxUSE_ODBC" = yes; then
3731 echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6
3733 elif test "$wxUSE_ODBC" = no; then
3734 echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6
3736 elif test "$wxUSE_ODBC" = sys; then
3737 echo "$as_me:$LINENO: result: system version" >&5
3738 echo "${ECHO_T}system version" >&6
3739 elif test "$wxUSE_ODBC" = builtin; then
3740 echo "$as_me:$LINENO: result: builtin version" >&5
3741 echo "${ECHO_T}builtin version" >&6
3742 else
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3746 fi
3747
3748
3749 echo "$as_me:$LINENO: checking for --with-expat" >&5
3750 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3751 no_cache=0
3752
3753 # Check whether --with-expat or --without-expat was given.
3754 if test "${with_expat+set}" = set; then
3755 withval="$with_expat"
3756
3757 if test "$withval" = yes; then
3758 ac_cv_use_expat='wxUSE_EXPAT=yes'
3759 elif test "$withval" = no; then
3760 ac_cv_use_expat='wxUSE_EXPAT=no'
3761 elif test "$withval" = sys; then
3762 ac_cv_use_expat='wxUSE_EXPAT=sys'
3763 elif test "$withval" = builtin; then
3764 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3765 else
3766 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3767 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3768 { (exit 1); exit 1; }; }
3769 fi
3770
3771 else
3772
3773 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
3774 if test "x$LINE" != x ; then
3775 eval "DEFAULT_$LINE"
3776 else
3777 no_cache=1
3778 fi
3779
3780 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3781
3782 fi;
3783
3784 eval "$ac_cv_use_expat"
3785 if test "$no_cache" != 1; then
3786 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3787 fi
3788
3789 if test "$wxUSE_EXPAT" = yes; then
3790 echo "$as_me:$LINENO: result: yes" >&5
3791 echo "${ECHO_T}yes" >&6
3792 elif test "$wxUSE_EXPAT" = no; then
3793 echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6
3795 elif test "$wxUSE_EXPAT" = sys; then
3796 echo "$as_me:$LINENO: result: system version" >&5
3797 echo "${ECHO_T}system version" >&6
3798 elif test "$wxUSE_EXPAT" = builtin; then
3799 echo "$as_me:$LINENO: result: builtin version" >&5
3800 echo "${ECHO_T}builtin version" >&6
3801 else
3802 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3803 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3804 { (exit 1); exit 1; }; }
3805 fi
3806
3807
3808
3809
3810 enablestring=
3811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3812 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3813 no_cache=0
3814 # Check whether --enable-shared or --disable-shared was given.
3815 if test "${enable_shared+set}" = set; then
3816 enableval="$enable_shared"
3817
3818 if test "$enableval" = yes; then
3819 ac_cv_use_shared='wxUSE_SHARED=yes'
3820 else
3821 ac_cv_use_shared='wxUSE_SHARED=no'
3822 fi
3823
3824 else
3825
3826 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
3827 if test "x$LINE" != x ; then
3828 eval "DEFAULT_$LINE"
3829 else
3830 no_cache=1
3831 fi
3832
3833 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3834
3835 fi;
3836
3837 eval "$ac_cv_use_shared"
3838 if test "$no_cache" != 1; then
3839 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3840 fi
3841
3842 if test "$wxUSE_SHARED" = yes; then
3843 echo "$as_me:$LINENO: result: yes" >&5
3844 echo "${ECHO_T}yes" >&6
3845 else
3846 echo "$as_me:$LINENO: result: no" >&5
3847 echo "${ECHO_T}no" >&6
3848 fi
3849
3850
3851 enablestring=
3852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3853 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3854 no_cache=0
3855 # Check whether --enable-optimise or --disable-optimise was given.
3856 if test "${enable_optimise+set}" = set; then
3857 enableval="$enable_optimise"
3858
3859 if test "$enableval" = yes; then
3860 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3861 else
3862 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3863 fi
3864
3865 else
3866
3867 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
3868 if test "x$LINE" != x ; then
3869 eval "DEFAULT_$LINE"
3870 else
3871 no_cache=1
3872 fi
3873
3874 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3875
3876 fi;
3877
3878 eval "$ac_cv_use_optimise"
3879 if test "$no_cache" != 1; then
3880 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3881 fi
3882
3883 if test "$wxUSE_OPTIMISE" = yes; then
3884 echo "$as_me:$LINENO: result: yes" >&5
3885 echo "${ECHO_T}yes" >&6
3886 else
3887 echo "$as_me:$LINENO: result: no" >&5
3888 echo "${ECHO_T}no" >&6
3889 fi
3890
3891
3892 enablestring=
3893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3894 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3895 no_cache=0
3896 # Check whether --enable-debug or --disable-debug was given.
3897 if test "${enable_debug+set}" = set; then
3898 enableval="$enable_debug"
3899
3900 if test "$enableval" = yes; then
3901 ac_cv_use_debug='wxUSE_DEBUG=yes'
3902 else
3903 ac_cv_use_debug='wxUSE_DEBUG=no'
3904 fi
3905
3906 else
3907
3908 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
3909 if test "x$LINE" != x ; then
3910 eval "DEFAULT_$LINE"
3911 else
3912 no_cache=1
3913 fi
3914
3915 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3916
3917 fi;
3918
3919 eval "$ac_cv_use_debug"
3920 if test "$no_cache" != 1; then
3921 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3922 fi
3923
3924 if test "$wxUSE_DEBUG" = yes; then
3925 echo "$as_me:$LINENO: result: yes" >&5
3926 echo "${ECHO_T}yes" >&6
3927 else
3928 echo "$as_me:$LINENO: result: no" >&5
3929 echo "${ECHO_T}no" >&6
3930 fi
3931
3932
3933 enablestring=
3934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3935 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3936 no_cache=0
3937 # Check whether --enable-stl or --disable-stl was given.
3938 if test "${enable_stl+set}" = set; then
3939 enableval="$enable_stl"
3940
3941 if test "$enableval" = yes; then
3942 ac_cv_use_stl='wxUSE_STL=yes'
3943 else
3944 ac_cv_use_stl='wxUSE_STL=no'
3945 fi
3946
3947 else
3948
3949 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
3950 if test "x$LINE" != x ; then
3951 eval "DEFAULT_$LINE"
3952 else
3953 no_cache=1
3954 fi
3955
3956 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3957
3958 fi;
3959
3960 eval "$ac_cv_use_stl"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3963 fi
3964
3965 if test "$wxUSE_STL" = yes; then
3966 echo "$as_me:$LINENO: result: yes" >&5
3967 echo "${ECHO_T}yes" >&6
3968 else
3969 echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6
3971 fi
3972
3973
3974 enablestring=
3975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
3976 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
3977 no_cache=0
3978 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
3979 if test "${enable_extended_rtti+set}" = set; then
3980 enableval="$enable_extended_rtti"
3981
3982 if test "$enableval" = yes; then
3983 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
3984 else
3985 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
3986 fi
3987
3988 else
3989
3990 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
3991 if test "x$LINE" != x ; then
3992 eval "DEFAULT_$LINE"
3993 else
3994 no_cache=1
3995 fi
3996
3997 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
3998
3999 fi;
4000
4001 eval "$ac_cv_use_extended_rtti"
4002 if test "$no_cache" != 1; then
4003 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4004 fi
4005
4006 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4007 echo "$as_me:$LINENO: result: yes" >&5
4008 echo "${ECHO_T}yes" >&6
4009 else
4010 echo "$as_me:$LINENO: result: no" >&5
4011 echo "${ECHO_T}no" >&6
4012 fi
4013
4014 if test "$USE_OS2" = "1"; then
4015 DEFAULT_wxUSE_OMF=no
4016
4017 enablestring=
4018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4019 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
4020 no_cache=0
4021 # Check whether --enable-omf or --disable-omf was given.
4022 if test "${enable_omf+set}" = set; then
4023 enableval="$enable_omf"
4024
4025 if test "$enableval" = yes; then
4026 ac_cv_use_omf='wxUSE_OMF=yes'
4027 else
4028 ac_cv_use_omf='wxUSE_OMF=no'
4029 fi
4030
4031 else
4032
4033 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x ; then
4035 eval "DEFAULT_$LINE"
4036 else
4037 no_cache=1
4038 fi
4039
4040 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4041
4042 fi;
4043
4044 eval "$ac_cv_use_omf"
4045 if test "$no_cache" != 1; then
4046 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4047 fi
4048
4049 if test "$wxUSE_OMF" = yes; then
4050 echo "$as_me:$LINENO: result: yes" >&5
4051 echo "${ECHO_T}yes" >&6
4052 else
4053 echo "$as_me:$LINENO: result: no" >&5
4054 echo "${ECHO_T}no" >&6
4055 fi
4056
4057 fi
4058
4059 if test "$wxUSE_DEBUG" = "yes"; then
4060 DEFAULT_wxUSE_DEBUG_FLAG=yes
4061 DEFAULT_wxUSE_DEBUG_INFO=yes
4062 BUILD=debug
4063 elif test "$wxUSE_DEBUG" = "no"; then
4064 DEFAULT_wxUSE_DEBUG_FLAG=no
4065 DEFAULT_wxUSE_DEBUG_INFO=no
4066 BUILD=release
4067 fi
4068
4069
4070 enablestring=
4071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4072 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4073 no_cache=0
4074 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4075 if test "${enable_debug_flag+set}" = set; then
4076 enableval="$enable_debug_flag"
4077
4078 if test "$enableval" = yes; then
4079 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4080 else
4081 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4082 fi
4083
4084 else
4085
4086 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x ; then
4088 eval "DEFAULT_$LINE"
4089 else
4090 no_cache=1
4091 fi
4092
4093 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4094
4095 fi;
4096
4097 eval "$ac_cv_use_debug_flag"
4098 if test "$no_cache" != 1; then
4099 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4100 fi
4101
4102 if test "$wxUSE_DEBUG_FLAG" = yes; then
4103 echo "$as_me:$LINENO: result: yes" >&5
4104 echo "${ECHO_T}yes" >&6
4105 else
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4108 fi
4109
4110
4111 enablestring=
4112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4113 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4114 no_cache=0
4115 # Check whether --enable-debug_info or --disable-debug_info was given.
4116 if test "${enable_debug_info+set}" = set; then
4117 enableval="$enable_debug_info"
4118
4119 if test "$enableval" = yes; then
4120 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4121 else
4122 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4123 fi
4124
4125 else
4126
4127 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x ; then
4129 eval "DEFAULT_$LINE"
4130 else
4131 no_cache=1
4132 fi
4133
4134 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4135
4136 fi;
4137
4138 eval "$ac_cv_use_debug_info"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4141 fi
4142
4143 if test "$wxUSE_DEBUG_INFO" = yes; then
4144 echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6
4146 else
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4149 fi
4150
4151
4152 enablestring=
4153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4154 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4155 no_cache=0
4156 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4157 if test "${enable_debug_gdb+set}" = set; then
4158 enableval="$enable_debug_gdb"
4159
4160 if test "$enableval" = yes; then
4161 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4162 else
4163 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4164 fi
4165
4166 else
4167
4168 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x ; then
4170 eval "DEFAULT_$LINE"
4171 else
4172 no_cache=1
4173 fi
4174
4175 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4176
4177 fi;
4178
4179 eval "$ac_cv_use_debug_gdb"
4180 if test "$no_cache" != 1; then
4181 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4182 fi
4183
4184 if test "$wxUSE_DEBUG_GDB" = yes; then
4185 echo "$as_me:$LINENO: result: yes" >&5
4186 echo "${ECHO_T}yes" >&6
4187 else
4188 echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4190 fi
4191
4192
4193 enablestring=
4194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4195 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4196 no_cache=0
4197 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4198 if test "${enable_debug_cntxt+set}" = set; then
4199 enableval="$enable_debug_cntxt"
4200
4201 if test "$enableval" = yes; then
4202 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4203 else
4204 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4205 fi
4206
4207 else
4208
4209 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4210 if test "x$LINE" != x ; then
4211 eval "DEFAULT_$LINE"
4212 else
4213 no_cache=1
4214 fi
4215
4216 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4217
4218 fi;
4219
4220 eval "$ac_cv_use_debug_cntxt"
4221 if test "$no_cache" != 1; then
4222 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4223 fi
4224
4225 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4226 echo "$as_me:$LINENO: result: yes" >&5
4227 echo "${ECHO_T}yes" >&6
4228 else
4229 echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6
4231 fi
4232
4233
4234 enablestring=
4235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4236 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4237 no_cache=0
4238 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4239 if test "${enable_mem_tracing+set}" = set; then
4240 enableval="$enable_mem_tracing"
4241
4242 if test "$enableval" = yes; then
4243 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4244 else
4245 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4246 fi
4247
4248 else
4249
4250 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4251 if test "x$LINE" != x ; then
4252 eval "DEFAULT_$LINE"
4253 else
4254 no_cache=1
4255 fi
4256
4257 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4258
4259 fi;
4260
4261 eval "$ac_cv_use_mem_tracing"
4262 if test "$no_cache" != 1; then
4263 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4264 fi
4265
4266 if test "$wxUSE_MEM_TRACING" = yes; then
4267 echo "$as_me:$LINENO: result: yes" >&5
4268 echo "${ECHO_T}yes" >&6
4269 else
4270 echo "$as_me:$LINENO: result: no" >&5
4271 echo "${ECHO_T}no" >&6
4272 fi
4273
4274
4275 enablestring=
4276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4277 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4278 no_cache=0
4279 # Check whether --enable-profile or --disable-profile was given.
4280 if test "${enable_profile+set}" = set; then
4281 enableval="$enable_profile"
4282
4283 if test "$enableval" = yes; then
4284 ac_cv_use_profile='wxUSE_PROFILE=yes'
4285 else
4286 ac_cv_use_profile='wxUSE_PROFILE=no'
4287 fi
4288
4289 else
4290
4291 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x ; then
4293 eval "DEFAULT_$LINE"
4294 else
4295 no_cache=1
4296 fi
4297
4298 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4299
4300 fi;
4301
4302 eval "$ac_cv_use_profile"
4303 if test "$no_cache" != 1; then
4304 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4305 fi
4306
4307 if test "$wxUSE_PROFILE" = yes; then
4308 echo "$as_me:$LINENO: result: yes" >&5
4309 echo "${ECHO_T}yes" >&6
4310 else
4311 echo "$as_me:$LINENO: result: no" >&5
4312 echo "${ECHO_T}no" >&6
4313 fi
4314
4315
4316 enablestring=
4317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4318 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4319 no_cache=0
4320 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4321 if test "${enable_no_rtti+set}" = set; then
4322 enableval="$enable_no_rtti"
4323
4324 if test "$enableval" = yes; then
4325 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4326 else
4327 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4328 fi
4329
4330 else
4331
4332 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
4333 if test "x$LINE" != x ; then
4334 eval "DEFAULT_$LINE"
4335 else
4336 no_cache=1
4337 fi
4338
4339 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4340
4341 fi;
4342
4343 eval "$ac_cv_use_no_rtti"
4344 if test "$no_cache" != 1; then
4345 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4346 fi
4347
4348 if test "$wxUSE_NO_RTTI" = yes; then
4349 echo "$as_me:$LINENO: result: yes" >&5
4350 echo "${ECHO_T}yes" >&6
4351 else
4352 echo "$as_me:$LINENO: result: no" >&5
4353 echo "${ECHO_T}no" >&6
4354 fi
4355
4356
4357 enablestring=
4358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4359 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4360 no_cache=0
4361 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4362 if test "${enable_no_exceptions+set}" = set; then
4363 enableval="$enable_no_exceptions"
4364
4365 if test "$enableval" = yes; then
4366 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4367 else
4368 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4369 fi
4370
4371 else
4372
4373 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
4374 if test "x$LINE" != x ; then
4375 eval "DEFAULT_$LINE"
4376 else
4377 no_cache=1
4378 fi
4379
4380 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4381
4382 fi;
4383
4384 eval "$ac_cv_use_no_exceptions"
4385 if test "$no_cache" != 1; then
4386 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4387 fi
4388
4389 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4390 echo "$as_me:$LINENO: result: yes" >&5
4391 echo "${ECHO_T}yes" >&6
4392 else
4393 echo "$as_me:$LINENO: result: no" >&5
4394 echo "${ECHO_T}no" >&6
4395 fi
4396
4397
4398 enablestring=
4399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4400 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4401 no_cache=0
4402 # Check whether --enable-permissive or --disable-permissive was given.
4403 if test "${enable_permissive+set}" = set; then
4404 enableval="$enable_permissive"
4405
4406 if test "$enableval" = yes; then
4407 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4408 else
4409 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4410 fi
4411
4412 else
4413
4414 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
4415 if test "x$LINE" != x ; then
4416 eval "DEFAULT_$LINE"
4417 else
4418 no_cache=1
4419 fi
4420
4421 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4422
4423 fi;
4424
4425 eval "$ac_cv_use_permissive"
4426 if test "$no_cache" != 1; then
4427 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4428 fi
4429
4430 if test "$wxUSE_PERMISSIVE" = yes; then
4431 echo "$as_me:$LINENO: result: yes" >&5
4432 echo "${ECHO_T}yes" >&6
4433 else
4434 echo "$as_me:$LINENO: result: no" >&5
4435 echo "${ECHO_T}no" >&6
4436 fi
4437
4438
4439 enablestring=
4440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4441 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4442 no_cache=0
4443 # Check whether --enable-no_deps or --disable-no_deps was given.
4444 if test "${enable_no_deps+set}" = set; then
4445 enableval="$enable_no_deps"
4446
4447 if test "$enableval" = yes; then
4448 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4449 else
4450 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4451 fi
4452
4453 else
4454
4455 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
4456 if test "x$LINE" != x ; then
4457 eval "DEFAULT_$LINE"
4458 else
4459 no_cache=1
4460 fi
4461
4462 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4463
4464 fi;
4465
4466 eval "$ac_cv_use_no_deps"
4467 if test "$no_cache" != 1; then
4468 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4469 fi
4470
4471 if test "$wxUSE_NO_DEPS" = yes; then
4472 echo "$as_me:$LINENO: result: yes" >&5
4473 echo "${ECHO_T}yes" >&6
4474 else
4475 echo "$as_me:$LINENO: result: no" >&5
4476 echo "${ECHO_T}no" >&6
4477 fi
4478
4479
4480 enablestring=
4481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4482 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4483 no_cache=0
4484 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4485 if test "${enable_vararg_macros+set}" = set; then
4486 enableval="$enable_vararg_macros"
4487
4488 if test "$enableval" = yes; then
4489 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
4490 else
4491 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
4492 fi
4493
4494 else
4495
4496 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
4497 if test "x$LINE" != x ; then
4498 eval "DEFAULT_$LINE"
4499 else
4500 no_cache=1
4501 fi
4502
4503 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
4504
4505 fi;
4506
4507 eval "$ac_cv_use_vararg_macros"
4508 if test "$no_cache" != 1; then
4509 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4510 fi
4511
4512 if test "$wxUSE_VARARG_MACROS" = yes; then
4513 echo "$as_me:$LINENO: result: yes" >&5
4514 echo "${ECHO_T}yes" >&6
4515 else
4516 echo "$as_me:$LINENO: result: no" >&5
4517 echo "${ECHO_T}no" >&6
4518 fi
4519
4520
4521 enablestring=
4522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4523 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4524 no_cache=0
4525 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4526 if test "${enable_universal_binary+set}" = set; then
4527 enableval="$enable_universal_binary"
4528
4529 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4530
4531 else
4532
4533 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
4534 if test "x$LINE" != x ; then
4535 eval "DEFAULT_$LINE"
4536 else
4537 no_cache=1
4538 fi
4539
4540 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4541
4542 fi;
4543
4544 eval "$wx_cv_use_universal_binary"
4545 if test "$no_cache" != 1; then
4546 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4547 fi
4548
4549 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4550 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4551
4552
4553
4554 enablestring=enable
4555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4556 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4557 no_cache=0
4558 # Check whether --enable-compat26 or --disable-compat26 was given.
4559 if test "${enable_compat26+set}" = set; then
4560 enableval="$enable_compat26"
4561
4562 if test "$enableval" = yes; then
4563 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4564 else
4565 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4566 fi
4567
4568 else
4569
4570 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
4571 if test "x$LINE" != x ; then
4572 eval "DEFAULT_$LINE"
4573 else
4574 no_cache=1
4575 fi
4576
4577 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4578
4579 fi;
4580
4581 eval "$ac_cv_use_compat26"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4584 fi
4585
4586 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4587 echo "$as_me:$LINENO: result: yes" >&5
4588 echo "${ECHO_T}yes" >&6
4589 else
4590 echo "$as_me:$LINENO: result: no" >&5
4591 echo "${ECHO_T}no" >&6
4592 fi
4593
4594
4595 enablestring=disable
4596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6
4598 no_cache=0
4599 # Check whether --enable-compat28 or --disable-compat28 was given.
4600 if test "${enable_compat28+set}" = set; then
4601 enableval="$enable_compat28"
4602
4603 if test "$enableval" = yes; then
4604 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
4605 else
4606 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
4607 fi
4608
4609 else
4610
4611 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x ; then
4613 eval "DEFAULT_$LINE"
4614 else
4615 no_cache=1
4616 fi
4617
4618 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
4619
4620 fi;
4621
4622 eval "$ac_cv_use_compat28"
4623 if test "$no_cache" != 1; then
4624 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
4625 fi
4626
4627 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
4628 echo "$as_me:$LINENO: result: yes" >&5
4629 echo "${ECHO_T}yes" >&6
4630 else
4631 echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6
4633 fi
4634
4635
4636
4637 enablestring=
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4640 no_cache=0
4641 # Check whether --enable-rpath or --disable-rpath was given.
4642 if test "${enable_rpath+set}" = set; then
4643 enableval="$enable_rpath"
4644
4645 if test "$enableval" = yes; then
4646 ac_cv_use_rpath='wxUSE_RPATH=yes'
4647 else
4648 ac_cv_use_rpath='wxUSE_RPATH=no'
4649 fi
4650
4651 else
4652
4653 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x ; then
4655 eval "DEFAULT_$LINE"
4656 else
4657 no_cache=1
4658 fi
4659
4660 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4661
4662 fi;
4663
4664 eval "$ac_cv_use_rpath"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4667 fi
4668
4669 if test "$wxUSE_RPATH" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6
4672 else
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4675 fi
4676
4677
4678
4679 enablestring=
4680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
4681 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6
4682 no_cache=0
4683 # Check whether --enable-objc_uniquifying or --disable-objc_uniquifying was given.
4684 if test "${enable_objc_uniquifying+set}" = set; then
4685 enableval="$enable_objc_uniquifying"
4686
4687 if test "$enableval" = yes; then
4688 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
4689 else
4690 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
4691 fi
4692
4693 else
4694
4695 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x ; then
4697 eval "DEFAULT_$LINE"
4698 else
4699 no_cache=1
4700 fi
4701
4702 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING='$DEFAULT_wxUSE_OBJC_UNIQUIFYING
4703
4704 fi;
4705
4706 eval "$ac_cv_use_objc_uniquifying"
4707 if test "$no_cache" != 1; then
4708 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
4709 fi
4710
4711 if test "$wxUSE_OBJC_UNIQUIFYING" = yes; then
4712 echo "$as_me:$LINENO: result: yes" >&5
4713 echo "${ECHO_T}yes" >&6
4714 else
4715 echo "$as_me:$LINENO: result: no" >&5
4716 echo "${ECHO_T}no" >&6
4717 fi
4718
4719
4720
4721
4722 enablestring=
4723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4725 no_cache=0
4726 # Check whether --enable-intl or --disable-intl was given.
4727 if test "${enable_intl+set}" = set; then
4728 enableval="$enable_intl"
4729
4730 if test "$enableval" = yes; then
4731 ac_cv_use_intl='wxUSE_INTL=yes'
4732 else
4733 ac_cv_use_intl='wxUSE_INTL=no'
4734 fi
4735
4736 else
4737
4738 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x ; then
4740 eval "DEFAULT_$LINE"
4741 else
4742 no_cache=1
4743 fi
4744
4745 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4746
4747 fi;
4748
4749 eval "$ac_cv_use_intl"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4752 fi
4753
4754 if test "$wxUSE_INTL" = yes; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6
4757 else
4758 echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6
4760 fi
4761
4762
4763 enablestring=
4764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4766 no_cache=0
4767 # Check whether --enable-config or --disable-config was given.
4768 if test "${enable_config+set}" = set; then
4769 enableval="$enable_config"
4770
4771 if test "$enableval" = yes; then
4772 ac_cv_use_config='wxUSE_CONFIG=yes'
4773 else
4774 ac_cv_use_config='wxUSE_CONFIG=no'
4775 fi
4776
4777 else
4778
4779 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
4780 if test "x$LINE" != x ; then
4781 eval "DEFAULT_$LINE"
4782 else
4783 no_cache=1
4784 fi
4785
4786 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4787
4788 fi;
4789
4790 eval "$ac_cv_use_config"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4793 fi
4794
4795 if test "$wxUSE_CONFIG" = yes; then
4796 echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6
4798 else
4799 echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6
4801 fi
4802
4803
4804
4805 enablestring=
4806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4807 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4808 no_cache=0
4809 # Check whether --enable-protocols or --disable-protocols was given.
4810 if test "${enable_protocols+set}" = set; then
4811 enableval="$enable_protocols"
4812
4813 if test "$enableval" = yes; then
4814 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4815 else
4816 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4817 fi
4818
4819 else
4820
4821 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
4822 if test "x$LINE" != x ; then
4823 eval "DEFAULT_$LINE"
4824 else
4825 no_cache=1
4826 fi
4827
4828 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4829
4830 fi;
4831
4832 eval "$ac_cv_use_protocols"
4833 if test "$no_cache" != 1; then
4834 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4835 fi
4836
4837 if test "$wxUSE_PROTOCOL" = yes; then
4838 echo "$as_me:$LINENO: result: yes" >&5
4839 echo "${ECHO_T}yes" >&6
4840 else
4841 echo "$as_me:$LINENO: result: no" >&5
4842 echo "${ECHO_T}no" >&6
4843 fi
4844
4845
4846 enablestring=
4847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4849 no_cache=0
4850 # Check whether --enable-ftp or --disable-ftp was given.
4851 if test "${enable_ftp+set}" = set; then
4852 enableval="$enable_ftp"
4853
4854 if test "$enableval" = yes; then
4855 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4856 else
4857 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4858 fi
4859
4860 else
4861
4862 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
4863 if test "x$LINE" != x ; then
4864 eval "DEFAULT_$LINE"
4865 else
4866 no_cache=1
4867 fi
4868
4869 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4870
4871 fi;
4872
4873 eval "$ac_cv_use_ftp"
4874 if test "$no_cache" != 1; then
4875 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4876 fi
4877
4878 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4879 echo "$as_me:$LINENO: result: yes" >&5
4880 echo "${ECHO_T}yes" >&6
4881 else
4882 echo "$as_me:$LINENO: result: no" >&5
4883 echo "${ECHO_T}no" >&6
4884 fi
4885
4886
4887 enablestring=
4888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4890 no_cache=0
4891 # Check whether --enable-http or --disable-http was given.
4892 if test "${enable_http+set}" = set; then
4893 enableval="$enable_http"
4894
4895 if test "$enableval" = yes; then
4896 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4897 else
4898 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4899 fi
4900
4901 else
4902
4903 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
4904 if test "x$LINE" != x ; then
4905 eval "DEFAULT_$LINE"
4906 else
4907 no_cache=1
4908 fi
4909
4910 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4911
4912 fi;
4913
4914 eval "$ac_cv_use_http"
4915 if test "$no_cache" != 1; then
4916 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4917 fi
4918
4919 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4920 echo "$as_me:$LINENO: result: yes" >&5
4921 echo "${ECHO_T}yes" >&6
4922 else
4923 echo "$as_me:$LINENO: result: no" >&5
4924 echo "${ECHO_T}no" >&6
4925 fi
4926
4927
4928 enablestring=
4929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4930 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4931 no_cache=0
4932 # Check whether --enable-fileproto or --disable-fileproto was given.
4933 if test "${enable_fileproto+set}" = set; then
4934 enableval="$enable_fileproto"
4935
4936 if test "$enableval" = yes; then
4937 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4938 else
4939 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4940 fi
4941
4942 else
4943
4944 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
4945 if test "x$LINE" != x ; then
4946 eval "DEFAULT_$LINE"
4947 else
4948 no_cache=1
4949 fi
4950
4951 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4952
4953 fi;
4954
4955 eval "$ac_cv_use_fileproto"
4956 if test "$no_cache" != 1; then
4957 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4958 fi
4959
4960 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4961 echo "$as_me:$LINENO: result: yes" >&5
4962 echo "${ECHO_T}yes" >&6
4963 else
4964 echo "$as_me:$LINENO: result: no" >&5
4965 echo "${ECHO_T}no" >&6
4966 fi
4967
4968
4969 enablestring=
4970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4971 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4972 no_cache=0
4973 # Check whether --enable-sockets or --disable-sockets was given.
4974 if test "${enable_sockets+set}" = set; then
4975 enableval="$enable_sockets"
4976
4977 if test "$enableval" = yes; then
4978 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4979 else
4980 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4981 fi
4982
4983 else
4984
4985 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
4986 if test "x$LINE" != x ; then
4987 eval "DEFAULT_$LINE"
4988 else
4989 no_cache=1
4990 fi
4991
4992 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4993
4994 fi;
4995
4996 eval "$ac_cv_use_sockets"
4997 if test "$no_cache" != 1; then
4998 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4999 fi
5000
5001 if test "$wxUSE_SOCKETS" = yes; then
5002 echo "$as_me:$LINENO: result: yes" >&5
5003 echo "${ECHO_T}yes" >&6
5004 else
5005 echo "$as_me:$LINENO: result: no" >&5
5006 echo "${ECHO_T}no" >&6
5007 fi
5008
5009
5010 enablestring=
5011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5012 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
5013 no_cache=0
5014 # Check whether --enable-ole or --disable-ole was given.
5015 if test "${enable_ole+set}" = set; then
5016 enableval="$enable_ole"
5017
5018 if test "$enableval" = yes; then
5019 ac_cv_use_ole='wxUSE_OLE=yes'
5020 else
5021 ac_cv_use_ole='wxUSE_OLE=no'
5022 fi
5023
5024 else
5025
5026 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5027 if test "x$LINE" != x ; then
5028 eval "DEFAULT_$LINE"
5029 else
5030 no_cache=1
5031 fi
5032
5033 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5034
5035 fi;
5036
5037 eval "$ac_cv_use_ole"
5038 if test "$no_cache" != 1; then
5039 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5040 fi
5041
5042 if test "$wxUSE_OLE" = yes; then
5043 echo "$as_me:$LINENO: result: yes" >&5
5044 echo "${ECHO_T}yes" >&6
5045 else
5046 echo "$as_me:$LINENO: result: no" >&5
5047 echo "${ECHO_T}no" >&6
5048 fi
5049
5050
5051 enablestring=
5052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
5054 no_cache=0
5055 # Check whether --enable-dataobj or --disable-dataobj was given.
5056 if test "${enable_dataobj+set}" = set; then
5057 enableval="$enable_dataobj"
5058
5059 if test "$enableval" = yes; then
5060 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5061 else
5062 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5063 fi
5064
5065 else
5066
5067 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5068 if test "x$LINE" != x ; then
5069 eval "DEFAULT_$LINE"
5070 else
5071 no_cache=1
5072 fi
5073
5074 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5075
5076 fi;
5077
5078 eval "$ac_cv_use_dataobj"
5079 if test "$no_cache" != 1; then
5080 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5081 fi
5082
5083 if test "$wxUSE_DATAOBJ" = yes; then
5084 echo "$as_me:$LINENO: result: yes" >&5
5085 echo "${ECHO_T}yes" >&6
5086 else
5087 echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6
5089 fi
5090
5091
5092
5093 enablestring=
5094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5095 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5096 no_cache=0
5097 # Check whether --enable-ipc or --disable-ipc was given.
5098 if test "${enable_ipc+set}" = set; then
5099 enableval="$enable_ipc"
5100
5101 if test "$enableval" = yes; then
5102 ac_cv_use_ipc='wxUSE_IPC=yes'
5103 else
5104 ac_cv_use_ipc='wxUSE_IPC=no'
5105 fi
5106
5107 else
5108
5109 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5110 if test "x$LINE" != x ; then
5111 eval "DEFAULT_$LINE"
5112 else
5113 no_cache=1
5114 fi
5115
5116 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5117
5118 fi;
5119
5120 eval "$ac_cv_use_ipc"
5121 if test "$no_cache" != 1; then
5122 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5123 fi
5124
5125 if test "$wxUSE_IPC" = yes; then
5126 echo "$as_me:$LINENO: result: yes" >&5
5127 echo "${ECHO_T}yes" >&6
5128 else
5129 echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6
5131 fi
5132
5133
5134
5135 enablestring=
5136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5137 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5138 no_cache=0
5139 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5140 if test "${enable_apple_ieee+set}" = set; then
5141 enableval="$enable_apple_ieee"
5142
5143 if test "$enableval" = yes; then
5144 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5145 else
5146 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5147 fi
5148
5149 else
5150
5151 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5152 if test "x$LINE" != x ; then
5153 eval "DEFAULT_$LINE"
5154 else
5155 no_cache=1
5156 fi
5157
5158 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5159
5160 fi;
5161
5162 eval "$ac_cv_use_apple_ieee"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5165 fi
5166
5167 if test "$wxUSE_APPLE_IEEE" = yes; then
5168 echo "$as_me:$LINENO: result: yes" >&5
5169 echo "${ECHO_T}yes" >&6
5170 else
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5173 fi
5174
5175
5176 enablestring=
5177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5179 no_cache=0
5180 # Check whether --enable-arcstream or --disable-arcstream was given.
5181 if test "${enable_arcstream+set}" = set; then
5182 enableval="$enable_arcstream"
5183
5184 if test "$enableval" = yes; then
5185 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5186 else
5187 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5188 fi
5189
5190 else
5191
5192 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x ; then
5194 eval "DEFAULT_$LINE"
5195 else
5196 no_cache=1
5197 fi
5198
5199 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5200
5201 fi;
5202
5203 eval "$ac_cv_use_arcstream"
5204 if test "$no_cache" != 1; then
5205 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5206 fi
5207
5208 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5209 echo "$as_me:$LINENO: result: yes" >&5
5210 echo "${ECHO_T}yes" >&6
5211 else
5212 echo "$as_me:$LINENO: result: no" >&5
5213 echo "${ECHO_T}no" >&6
5214 fi
5215
5216
5217 enablestring=
5218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
5219 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6
5220 no_cache=0
5221 # Check whether --enable-base64 or --disable-base64 was given.
5222 if test "${enable_base64+set}" = set; then
5223 enableval="$enable_base64"
5224
5225 if test "$enableval" = yes; then
5226 ac_cv_use_base64='wxUSE_BASE64=yes'
5227 else
5228 ac_cv_use_base64='wxUSE_BASE64=no'
5229 fi
5230
5231 else
5232
5233 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x ; then
5235 eval "DEFAULT_$LINE"
5236 else
5237 no_cache=1
5238 fi
5239
5240 ac_cv_use_base64='wxUSE_BASE64='$DEFAULT_wxUSE_BASE64
5241
5242 fi;
5243
5244 eval "$ac_cv_use_base64"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_base64 >> ${wx_arg_cache_file}.tmp
5247 fi
5248
5249 if test "$wxUSE_BASE64" = yes; then
5250 echo "$as_me:$LINENO: result: yes" >&5
5251 echo "${ECHO_T}yes" >&6
5252 else
5253 echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6
5255 fi
5256
5257
5258 enablestring=
5259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5260 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5261 no_cache=0
5262 # Check whether --enable-backtrace or --disable-backtrace was given.
5263 if test "${enable_backtrace+set}" = set; then
5264 enableval="$enable_backtrace"
5265
5266 if test "$enableval" = yes; then
5267 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5268 else
5269 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5270 fi
5271
5272 else
5273
5274 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x ; then
5276 eval "DEFAULT_$LINE"
5277 else
5278 no_cache=1
5279 fi
5280
5281 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5282
5283 fi;
5284
5285 eval "$ac_cv_use_backtrace"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5288 fi
5289
5290 if test "$wxUSE_STACKWALKER" = yes; then
5291 echo "$as_me:$LINENO: result: yes" >&5
5292 echo "${ECHO_T}yes" >&6
5293 else
5294 echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6
5296 fi
5297
5298
5299 enablestring=
5300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5301 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5302 no_cache=0
5303 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5304 if test "${enable_catch_segvs+set}" = set; then
5305 enableval="$enable_catch_segvs"
5306
5307 if test "$enableval" = yes; then
5308 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5309 else
5310 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5311 fi
5312
5313 else
5314
5315 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5316 if test "x$LINE" != x ; then
5317 eval "DEFAULT_$LINE"
5318 else
5319 no_cache=1
5320 fi
5321
5322 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5323
5324 fi;
5325
5326 eval "$ac_cv_use_catch_segvs"
5327 if test "$no_cache" != 1; then
5328 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5329 fi
5330
5331 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5332 echo "$as_me:$LINENO: result: yes" >&5
5333 echo "${ECHO_T}yes" >&6
5334 else
5335 echo "$as_me:$LINENO: result: no" >&5
5336 echo "${ECHO_T}no" >&6
5337 fi
5338
5339
5340 enablestring=
5341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5342 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5343 no_cache=0
5344 # Check whether --enable-cmdline or --disable-cmdline was given.
5345 if test "${enable_cmdline+set}" = set; then
5346 enableval="$enable_cmdline"
5347
5348 if test "$enableval" = yes; then
5349 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5350 else
5351 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5352 fi
5353
5354 else
5355
5356 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
5357 if test "x$LINE" != x ; then
5358 eval "DEFAULT_$LINE"
5359 else
5360 no_cache=1
5361 fi
5362
5363 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5364
5365 fi;
5366
5367 eval "$ac_cv_use_cmdline"
5368 if test "$no_cache" != 1; then
5369 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5370 fi
5371
5372 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5373 echo "$as_me:$LINENO: result: yes" >&5
5374 echo "${ECHO_T}yes" >&6
5375 else
5376 echo "$as_me:$LINENO: result: no" >&5
5377 echo "${ECHO_T}no" >&6
5378 fi
5379
5380
5381 enablestring=
5382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5383 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5384 no_cache=0
5385 # Check whether --enable-datetime or --disable-datetime was given.
5386 if test "${enable_datetime+set}" = set; then
5387 enableval="$enable_datetime"
5388
5389 if test "$enableval" = yes; then
5390 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5391 else
5392 ac_cv_use_datetime='wxUSE_DATETIME=no'
5393 fi
5394
5395 else
5396
5397 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
5398 if test "x$LINE" != x ; then
5399 eval "DEFAULT_$LINE"
5400 else
5401 no_cache=1
5402 fi
5403
5404 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5405
5406 fi;
5407
5408 eval "$ac_cv_use_datetime"
5409 if test "$no_cache" != 1; then
5410 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5411 fi
5412
5413 if test "$wxUSE_DATETIME" = yes; then
5414 echo "$as_me:$LINENO: result: yes" >&5
5415 echo "${ECHO_T}yes" >&6
5416 else
5417 echo "$as_me:$LINENO: result: no" >&5
5418 echo "${ECHO_T}no" >&6
5419 fi
5420
5421
5422 enablestring=
5423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5424 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5425 no_cache=0
5426 # Check whether --enable-debugreport or --disable-debugreport was given.
5427 if test "${enable_debugreport+set}" = set; then
5428 enableval="$enable_debugreport"
5429
5430 if test "$enableval" = yes; then
5431 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5432 else
5433 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5434 fi
5435
5436 else
5437
5438 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
5439 if test "x$LINE" != x ; then
5440 eval "DEFAULT_$LINE"
5441 else
5442 no_cache=1
5443 fi
5444
5445 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5446
5447 fi;
5448
5449 eval "$ac_cv_use_debugreport"
5450 if test "$no_cache" != 1; then
5451 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5452 fi
5453
5454 if test "$wxUSE_DEBUGREPORT" = yes; then
5455 echo "$as_me:$LINENO: result: yes" >&5
5456 echo "${ECHO_T}yes" >&6
5457 else
5458 echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6
5460 fi
5461
5462
5463 enablestring=
5464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5466 no_cache=0
5467 # Check whether --enable-dialupman or --disable-dialupman was given.
5468 if test "${enable_dialupman+set}" = set; then
5469 enableval="$enable_dialupman"
5470
5471 if test "$enableval" = yes; then
5472 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5473 else
5474 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5475 fi
5476
5477 else
5478
5479 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
5480 if test "x$LINE" != x ; then
5481 eval "DEFAULT_$LINE"
5482 else
5483 no_cache=1
5484 fi
5485
5486 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5487
5488 fi;
5489
5490 eval "$ac_cv_use_dialupman"
5491 if test "$no_cache" != 1; then
5492 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5493 fi
5494
5495 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5496 echo "$as_me:$LINENO: result: yes" >&5
5497 echo "${ECHO_T}yes" >&6
5498 else
5499 echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6
5501 fi
5502
5503
5504 enablestring=
5505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5506 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5507 no_cache=0
5508 # Check whether --enable-dynlib or --disable-dynlib was given.
5509 if test "${enable_dynlib+set}" = set; then
5510 enableval="$enable_dynlib"
5511
5512 if test "$enableval" = yes; then
5513 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5514 else
5515 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5516 fi
5517
5518 else
5519
5520 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
5521 if test "x$LINE" != x ; then
5522 eval "DEFAULT_$LINE"
5523 else
5524 no_cache=1
5525 fi
5526
5527 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5528
5529 fi;
5530
5531 eval "$ac_cv_use_dynlib"
5532 if test "$no_cache" != 1; then
5533 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5534 fi
5535
5536 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5537 echo "$as_me:$LINENO: result: yes" >&5
5538 echo "${ECHO_T}yes" >&6
5539 else
5540 echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6
5542 fi
5543
5544
5545 enablestring=
5546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5547 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5548 no_cache=0
5549 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5550 if test "${enable_dynamicloader+set}" = set; then
5551 enableval="$enable_dynamicloader"
5552
5553 if test "$enableval" = yes; then
5554 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5555 else
5556 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5557 fi
5558
5559 else
5560
5561 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
5562 if test "x$LINE" != x ; then
5563 eval "DEFAULT_$LINE"
5564 else
5565 no_cache=1
5566 fi
5567
5568 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5569
5570 fi;
5571
5572 eval "$ac_cv_use_dynamicloader"
5573 if test "$no_cache" != 1; then
5574 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5575 fi
5576
5577 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5578 echo "$as_me:$LINENO: result: yes" >&5
5579 echo "${ECHO_T}yes" >&6
5580 else
5581 echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6
5583 fi
5584
5585
5586 enablestring=
5587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5589 no_cache=0
5590 # Check whether --enable-exceptions or --disable-exceptions was given.
5591 if test "${enable_exceptions+set}" = set; then
5592 enableval="$enable_exceptions"
5593
5594 if test "$enableval" = yes; then
5595 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5596 else
5597 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5598 fi
5599
5600 else
5601
5602 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x ; then
5604 eval "DEFAULT_$LINE"
5605 else
5606 no_cache=1
5607 fi
5608
5609 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5610
5611 fi;
5612
5613 eval "$ac_cv_use_exceptions"
5614 if test "$no_cache" != 1; then
5615 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5616 fi
5617
5618 if test "$wxUSE_EXCEPTIONS" = yes; then
5619 echo "$as_me:$LINENO: result: yes" >&5
5620 echo "${ECHO_T}yes" >&6
5621 else
5622 echo "$as_me:$LINENO: result: no" >&5
5623 echo "${ECHO_T}no" >&6
5624 fi
5625
5626
5627 enablestring=
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5630 no_cache=0
5631 # Check whether --enable-ffile or --disable-ffile was given.
5632 if test "${enable_ffile+set}" = set; then
5633 enableval="$enable_ffile"
5634
5635 if test "$enableval" = yes; then
5636 ac_cv_use_ffile='wxUSE_FFILE=yes'
5637 else
5638 ac_cv_use_ffile='wxUSE_FFILE=no'
5639 fi
5640
5641 else
5642
5643 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x ; then
5645 eval "DEFAULT_$LINE"
5646 else
5647 no_cache=1
5648 fi
5649
5650 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5651
5652 fi;
5653
5654 eval "$ac_cv_use_ffile"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5657 fi
5658
5659 if test "$wxUSE_FFILE" = yes; then
5660 echo "$as_me:$LINENO: result: yes" >&5
5661 echo "${ECHO_T}yes" >&6
5662 else
5663 echo "$as_me:$LINENO: result: no" >&5
5664 echo "${ECHO_T}no" >&6
5665 fi
5666
5667
5668 enablestring=
5669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5670 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5671 no_cache=0
5672 # Check whether --enable-file or --disable-file was given.
5673 if test "${enable_file+set}" = set; then
5674 enableval="$enable_file"
5675
5676 if test "$enableval" = yes; then
5677 ac_cv_use_file='wxUSE_FILE=yes'
5678 else
5679 ac_cv_use_file='wxUSE_FILE=no'
5680 fi
5681
5682 else
5683
5684 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
5685 if test "x$LINE" != x ; then
5686 eval "DEFAULT_$LINE"
5687 else
5688 no_cache=1
5689 fi
5690
5691 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5692
5693 fi;
5694
5695 eval "$ac_cv_use_file"
5696 if test "$no_cache" != 1; then
5697 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5698 fi
5699
5700 if test "$wxUSE_FILE" = yes; then
5701 echo "$as_me:$LINENO: result: yes" >&5
5702 echo "${ECHO_T}yes" >&6
5703 else
5704 echo "$as_me:$LINENO: result: no" >&5
5705 echo "${ECHO_T}no" >&6
5706 fi
5707
5708
5709 enablestring=
5710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5711 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5712 no_cache=0
5713 # Check whether --enable-filesystem or --disable-filesystem was given.
5714 if test "${enable_filesystem+set}" = set; then
5715 enableval="$enable_filesystem"
5716
5717 if test "$enableval" = yes; then
5718 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5719 else
5720 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5721 fi
5722
5723 else
5724
5725 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
5726 if test "x$LINE" != x ; then
5727 eval "DEFAULT_$LINE"
5728 else
5729 no_cache=1
5730 fi
5731
5732 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5733
5734 fi;
5735
5736 eval "$ac_cv_use_filesystem"
5737 if test "$no_cache" != 1; then
5738 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5739 fi
5740
5741 if test "$wxUSE_FILESYSTEM" = yes; then
5742 echo "$as_me:$LINENO: result: yes" >&5
5743 echo "${ECHO_T}yes" >&6
5744 else
5745 echo "$as_me:$LINENO: result: no" >&5
5746 echo "${ECHO_T}no" >&6
5747 fi
5748
5749
5750 enablestring=
5751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5752 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5753 no_cache=0
5754 # Check whether --enable-fontmap or --disable-fontmap was given.
5755 if test "${enable_fontmap+set}" = set; then
5756 enableval="$enable_fontmap"
5757
5758 if test "$enableval" = yes; then
5759 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5760 else
5761 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5762 fi
5763
5764 else
5765
5766 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
5767 if test "x$LINE" != x ; then
5768 eval "DEFAULT_$LINE"
5769 else
5770 no_cache=1
5771 fi
5772
5773 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5774
5775 fi;
5776
5777 eval "$ac_cv_use_fontmap"
5778 if test "$no_cache" != 1; then
5779 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5780 fi
5781
5782 if test "$wxUSE_FONTMAP" = yes; then
5783 echo "$as_me:$LINENO: result: yes" >&5
5784 echo "${ECHO_T}yes" >&6
5785 else
5786 echo "$as_me:$LINENO: result: no" >&5
5787 echo "${ECHO_T}no" >&6
5788 fi
5789
5790
5791 enablestring=
5792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5793 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5794 no_cache=0
5795 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5796 if test "${enable_fs_archive+set}" = set; then
5797 enableval="$enable_fs_archive"
5798
5799 if test "$enableval" = yes; then
5800 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5801 else
5802 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5803 fi
5804
5805 else
5806
5807 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x ; then
5809 eval "DEFAULT_$LINE"
5810 else
5811 no_cache=1
5812 fi
5813
5814 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5815
5816 fi;
5817
5818 eval "$ac_cv_use_fs_archive"
5819 if test "$no_cache" != 1; then
5820 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5821 fi
5822
5823 if test "$wxUSE_FS_ARCHIVE" = yes; then
5824 echo "$as_me:$LINENO: result: yes" >&5
5825 echo "${ECHO_T}yes" >&6
5826 else
5827 echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6
5829 fi
5830
5831
5832 enablestring=
5833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5834 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5835 no_cache=0
5836 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5837 if test "${enable_fs_inet+set}" = set; then
5838 enableval="$enable_fs_inet"
5839
5840 if test "$enableval" = yes; then
5841 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5842 else
5843 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5844 fi
5845
5846 else
5847
5848 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5851 else
5852 no_cache=1
5853 fi
5854
5855 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5856
5857 fi;
5858
5859 eval "$ac_cv_use_fs_inet"
5860 if test "$no_cache" != 1; then
5861 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5862 fi
5863
5864 if test "$wxUSE_FS_INET" = yes; then
5865 echo "$as_me:$LINENO: result: yes" >&5
5866 echo "${ECHO_T}yes" >&6
5867 else
5868 echo "$as_me:$LINENO: result: no" >&5
5869 echo "${ECHO_T}no" >&6
5870 fi
5871
5872
5873 enablestring=
5874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5875 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5876 no_cache=0
5877 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5878 if test "${enable_fs_zip+set}" = set; then
5879 enableval="$enable_fs_zip"
5880
5881 if test "$enableval" = yes; then
5882 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5883 else
5884 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5885 fi
5886
5887 else
5888
5889 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
5890 if test "x$LINE" != x ; then
5891 eval "DEFAULT_$LINE"
5892 else
5893 no_cache=1
5894 fi
5895
5896 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5897
5898 fi;
5899
5900 eval "$ac_cv_use_fs_zip"
5901 if test "$no_cache" != 1; then
5902 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5903 fi
5904
5905 if test "$wxUSE_FS_ZIP" = yes; then
5906 echo "$as_me:$LINENO: result: yes" >&5
5907 echo "${ECHO_T}yes" >&6
5908 else
5909 echo "$as_me:$LINENO: result: no" >&5
5910 echo "${ECHO_T}no" >&6
5911 fi
5912
5913
5914 enablestring=
5915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5916 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5917 no_cache=0
5918 # Check whether --enable-geometry or --disable-geometry was given.
5919 if test "${enable_geometry+set}" = set; then
5920 enableval="$enable_geometry"
5921
5922 if test "$enableval" = yes; then
5923 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5924 else
5925 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5926 fi
5927
5928 else
5929
5930 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
5931 if test "x$LINE" != x ; then
5932 eval "DEFAULT_$LINE"
5933 else
5934 no_cache=1
5935 fi
5936
5937 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5938
5939 fi;
5940
5941 eval "$ac_cv_use_geometry"
5942 if test "$no_cache" != 1; then
5943 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5944 fi
5945
5946 if test "$wxUSE_GEOMETRY" = yes; then
5947 echo "$as_me:$LINENO: result: yes" >&5
5948 echo "${ECHO_T}yes" >&6
5949 else
5950 echo "$as_me:$LINENO: result: no" >&5
5951 echo "${ECHO_T}no" >&6
5952 fi
5953
5954
5955 enablestring=
5956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5957 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5958 no_cache=0
5959 # Check whether --enable-log or --disable-log was given.
5960 if test "${enable_log+set}" = set; then
5961 enableval="$enable_log"
5962
5963 if test "$enableval" = yes; then
5964 ac_cv_use_log='wxUSE_LOG=yes'
5965 else
5966 ac_cv_use_log='wxUSE_LOG=no'
5967 fi
5968
5969 else
5970
5971 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
5972 if test "x$LINE" != x ; then
5973 eval "DEFAULT_$LINE"
5974 else
5975 no_cache=1
5976 fi
5977
5978 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5979
5980 fi;
5981
5982 eval "$ac_cv_use_log"
5983 if test "$no_cache" != 1; then
5984 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5985 fi
5986
5987 if test "$wxUSE_LOG" = yes; then
5988 echo "$as_me:$LINENO: result: yes" >&5
5989 echo "${ECHO_T}yes" >&6
5990 else
5991 echo "$as_me:$LINENO: result: no" >&5
5992 echo "${ECHO_T}no" >&6
5993 fi
5994
5995
5996 enablestring=
5997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5998 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5999 no_cache=0
6000 # Check whether --enable-longlong or --disable-longlong was given.
6001 if test "${enable_longlong+set}" = set; then
6002 enableval="$enable_longlong"
6003
6004 if test "$enableval" = yes; then
6005 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6006 else
6007 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6008 fi
6009
6010 else
6011
6012 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6013 if test "x$LINE" != x ; then
6014 eval "DEFAULT_$LINE"
6015 else
6016 no_cache=1
6017 fi
6018
6019 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6020
6021 fi;
6022
6023 eval "$ac_cv_use_longlong"
6024 if test "$no_cache" != 1; then
6025 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6026 fi
6027
6028 if test "$wxUSE_LONGLONG" = yes; then
6029 echo "$as_me:$LINENO: result: yes" >&5
6030 echo "${ECHO_T}yes" >&6
6031 else
6032 echo "$as_me:$LINENO: result: no" >&5
6033 echo "${ECHO_T}no" >&6
6034 fi
6035
6036
6037 enablestring=
6038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6039 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
6040 no_cache=0
6041 # Check whether --enable-mimetype or --disable-mimetype was given.
6042 if test "${enable_mimetype+set}" = set; then
6043 enableval="$enable_mimetype"
6044
6045 if test "$enableval" = yes; then
6046 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6047 else
6048 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6049 fi
6050
6051 else
6052
6053 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6054 if test "x$LINE" != x ; then
6055 eval "DEFAULT_$LINE"
6056 else
6057 no_cache=1
6058 fi
6059
6060 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6061
6062 fi;
6063
6064 eval "$ac_cv_use_mimetype"
6065 if test "$no_cache" != 1; then
6066 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6067 fi
6068
6069 if test "$wxUSE_MIMETYPE" = yes; then
6070 echo "$as_me:$LINENO: result: yes" >&5
6071 echo "${ECHO_T}yes" >&6
6072 else
6073 echo "$as_me:$LINENO: result: no" >&5
6074 echo "${ECHO_T}no" >&6
6075 fi
6076
6077
6078 enablestring=
6079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6080 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
6081 no_cache=0
6082 # Check whether --enable-mslu or --disable-mslu was given.
6083 if test "${enable_mslu+set}" = set; then
6084 enableval="$enable_mslu"
6085
6086 if test "$enableval" = yes; then
6087 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6088 else
6089 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6090 fi
6091
6092 else
6093
6094 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
6095 if test "x$LINE" != x ; then
6096 eval "DEFAULT_$LINE"
6097 else
6098 no_cache=1
6099 fi
6100
6101 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6102
6103 fi;
6104
6105 eval "$ac_cv_use_mslu"
6106 if test "$no_cache" != 1; then
6107 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6108 fi
6109
6110 if test "$wxUSE_UNICODE_MSLU" = yes; then
6111 echo "$as_me:$LINENO: result: yes" >&5
6112 echo "${ECHO_T}yes" >&6
6113 else
6114 echo "$as_me:$LINENO: result: no" >&5
6115 echo "${ECHO_T}no" >&6
6116 fi
6117
6118
6119 enablestring=
6120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6121 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6
6122 no_cache=0
6123 # Check whether --enable-utf8 or --disable-utf8 was given.
6124 if test "${enable_utf8+set}" = set; then
6125 enableval="$enable_utf8"
6126
6127 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6128
6129 else
6130
6131 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
6132 if test "x$LINE" != x ; then
6133 eval "DEFAULT_$LINE"
6134 else
6135 no_cache=1
6136 fi
6137
6138 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6139
6140 fi;
6141
6142 eval "$wx_cv_use_utf8"
6143 if test "$no_cache" != 1; then
6144 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6145 fi
6146
6147 echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6148 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6
6149
6150
6151 enablestring=
6152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6
6154 no_cache=0
6155 # Check whether --enable-utf8only or --disable-utf8only was given.
6156 if test "${enable_utf8only+set}" = set; then
6157 enableval="$enable_utf8only"
6158
6159 if test "$enableval" = yes; then
6160 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6161 else
6162 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6163 fi
6164
6165 else
6166
6167 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
6168 if test "x$LINE" != x ; then
6169 eval "DEFAULT_$LINE"
6170 else
6171 no_cache=1
6172 fi
6173
6174 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6175
6176 fi;
6177
6178 eval "$ac_cv_use_utf8only"
6179 if test "$no_cache" != 1; then
6180 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6181 fi
6182
6183 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6184 echo "$as_me:$LINENO: result: yes" >&5
6185 echo "${ECHO_T}yes" >&6
6186 else
6187 echo "$as_me:$LINENO: result: no" >&5
6188 echo "${ECHO_T}no" >&6
6189 fi
6190
6191
6192 enablestring=
6193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6194 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
6195 no_cache=0
6196 # Check whether --enable-snglinst or --disable-snglinst was given.
6197 if test "${enable_snglinst+set}" = set; then
6198 enableval="$enable_snglinst"
6199
6200 if test "$enableval" = yes; then
6201 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6202 else
6203 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6204 fi
6205
6206 else
6207
6208 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6209 if test "x$LINE" != x ; then
6210 eval "DEFAULT_$LINE"
6211 else
6212 no_cache=1
6213 fi
6214
6215 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6216
6217 fi;
6218
6219 eval "$ac_cv_use_snglinst"
6220 if test "$no_cache" != 1; then
6221 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6222 fi
6223
6224 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6225 echo "$as_me:$LINENO: result: yes" >&5
6226 echo "${ECHO_T}yes" >&6
6227 else
6228 echo "$as_me:$LINENO: result: no" >&5
6229 echo "${ECHO_T}no" >&6
6230 fi
6231
6232
6233 enablestring=
6234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6235 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6236 no_cache=0
6237 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6238 if test "${enable_std_iostreams+set}" = set; then
6239 enableval="$enable_std_iostreams"
6240
6241 if test "$enableval" = yes; then
6242 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6243 else
6244 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6245 fi
6246
6247 else
6248
6249 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x ; then
6251 eval "DEFAULT_$LINE"
6252 else
6253 no_cache=1
6254 fi
6255
6256 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6257
6258 fi;
6259
6260 eval "$ac_cv_use_std_iostreams"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6263 fi
6264
6265 if test "$wxUSE_STD_IOSTREAM" = yes; then
6266 echo "$as_me:$LINENO: result: yes" >&5
6267 echo "${ECHO_T}yes" >&6
6268 else
6269 echo "$as_me:$LINENO: result: no" >&5
6270 echo "${ECHO_T}no" >&6
6271 fi
6272
6273
6274 enablestring=
6275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6276 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6277 no_cache=0
6278 # Check whether --enable-std_string or --disable-std_string was given.
6279 if test "${enable_std_string+set}" = set; then
6280 enableval="$enable_std_string"
6281
6282 if test "$enableval" = yes; then
6283 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6284 else
6285 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6286 fi
6287
6288 else
6289
6290 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
6291 if test "x$LINE" != x ; then
6292 eval "DEFAULT_$LINE"
6293 else
6294 no_cache=1
6295 fi
6296
6297 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6298
6299 fi;
6300
6301 eval "$ac_cv_use_std_string"
6302 if test "$no_cache" != 1; then
6303 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6304 fi
6305
6306 if test "$wxUSE_STD_STRING" = yes; then
6307 echo "$as_me:$LINENO: result: yes" >&5
6308 echo "${ECHO_T}yes" >&6
6309 else
6310 echo "$as_me:$LINENO: result: no" >&5
6311 echo "${ECHO_T}no" >&6
6312 fi
6313
6314
6315 enablestring=
6316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6317 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6318 no_cache=0
6319 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6320 if test "${enable_stdpaths+set}" = set; then
6321 enableval="$enable_stdpaths"
6322
6323 if test "$enableval" = yes; then
6324 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6325 else
6326 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6327 fi
6328
6329 else
6330
6331 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
6332 if test "x$LINE" != x ; then
6333 eval "DEFAULT_$LINE"
6334 else
6335 no_cache=1
6336 fi
6337
6338 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6339
6340 fi;
6341
6342 eval "$ac_cv_use_stdpaths"
6343 if test "$no_cache" != 1; then
6344 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6345 fi
6346
6347 if test "$wxUSE_STDPATHS" = yes; then
6348 echo "$as_me:$LINENO: result: yes" >&5
6349 echo "${ECHO_T}yes" >&6
6350 else
6351 echo "$as_me:$LINENO: result: no" >&5
6352 echo "${ECHO_T}no" >&6
6353 fi
6354
6355
6356 enablestring=
6357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6359 no_cache=0
6360 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6361 if test "${enable_stopwatch+set}" = set; then
6362 enableval="$enable_stopwatch"
6363
6364 if test "$enableval" = yes; then
6365 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6366 else
6367 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6368 fi
6369
6370 else
6371
6372 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x ; then
6374 eval "DEFAULT_$LINE"
6375 else
6376 no_cache=1
6377 fi
6378
6379 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6380
6381 fi;
6382
6383 eval "$ac_cv_use_stopwatch"
6384 if test "$no_cache" != 1; then
6385 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6386 fi
6387
6388 if test "$wxUSE_STOPWATCH" = yes; then
6389 echo "$as_me:$LINENO: result: yes" >&5
6390 echo "${ECHO_T}yes" >&6
6391 else
6392 echo "$as_me:$LINENO: result: no" >&5
6393 echo "${ECHO_T}no" >&6
6394 fi
6395
6396
6397 enablestring=
6398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6399 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6400 no_cache=0
6401 # Check whether --enable-streams or --disable-streams was given.
6402 if test "${enable_streams+set}" = set; then
6403 enableval="$enable_streams"
6404
6405 if test "$enableval" = yes; then
6406 ac_cv_use_streams='wxUSE_STREAMS=yes'
6407 else
6408 ac_cv_use_streams='wxUSE_STREAMS=no'
6409 fi
6410
6411 else
6412
6413 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
6414 if test "x$LINE" != x ; then
6415 eval "DEFAULT_$LINE"
6416 else
6417 no_cache=1
6418 fi
6419
6420 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6421
6422 fi;
6423
6424 eval "$ac_cv_use_streams"
6425 if test "$no_cache" != 1; then
6426 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6427 fi
6428
6429 if test "$wxUSE_STREAMS" = yes; then
6430 echo "$as_me:$LINENO: result: yes" >&5
6431 echo "${ECHO_T}yes" >&6
6432 else
6433 echo "$as_me:$LINENO: result: no" >&5
6434 echo "${ECHO_T}no" >&6
6435 fi
6436
6437
6438 enablestring=
6439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6440 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6441 no_cache=0
6442 # Check whether --enable-system_options or --disable-system_options was given.
6443 if test "${enable_system_options+set}" = set; then
6444 enableval="$enable_system_options"
6445
6446 if test "$enableval" = yes; then
6447 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6448 else
6449 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6450 fi
6451
6452 else
6453
6454 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
6455 if test "x$LINE" != x ; then
6456 eval "DEFAULT_$LINE"
6457 else
6458 no_cache=1
6459 fi
6460
6461 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6462
6463 fi;
6464
6465 eval "$ac_cv_use_system_options"
6466 if test "$no_cache" != 1; then
6467 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6468 fi
6469
6470 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6471 echo "$as_me:$LINENO: result: yes" >&5
6472 echo "${ECHO_T}yes" >&6
6473 else
6474 echo "$as_me:$LINENO: result: no" >&5
6475 echo "${ECHO_T}no" >&6
6476 fi
6477
6478
6479 enablestring=
6480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6481 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6482 no_cache=0
6483 # Check whether --enable-tarstream or --disable-tarstream was given.
6484 if test "${enable_tarstream+set}" = set; then
6485 enableval="$enable_tarstream"
6486
6487 if test "$enableval" = yes; then
6488 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6489 else
6490 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6491 fi
6492
6493 else
6494
6495 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
6496 if test "x$LINE" != x ; then
6497 eval "DEFAULT_$LINE"
6498 else
6499 no_cache=1
6500 fi
6501
6502 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6503
6504 fi;
6505
6506 eval "$ac_cv_use_tarstream"
6507 if test "$no_cache" != 1; then
6508 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6509 fi
6510
6511 if test "$wxUSE_TARSTREAM" = yes; then
6512 echo "$as_me:$LINENO: result: yes" >&5
6513 echo "${ECHO_T}yes" >&6
6514 else
6515 echo "$as_me:$LINENO: result: no" >&5
6516 echo "${ECHO_T}no" >&6
6517 fi
6518
6519
6520 enablestring=
6521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6523 no_cache=0
6524 # Check whether --enable-textbuf or --disable-textbuf was given.
6525 if test "${enable_textbuf+set}" = set; then
6526 enableval="$enable_textbuf"
6527
6528 if test "$enableval" = yes; then
6529 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6530 else
6531 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6532 fi
6533
6534 else
6535
6536 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
6537 if test "x$LINE" != x ; then
6538 eval "DEFAULT_$LINE"
6539 else
6540 no_cache=1
6541 fi
6542
6543 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6544
6545 fi;
6546
6547 eval "$ac_cv_use_textbuf"
6548 if test "$no_cache" != 1; then
6549 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6550 fi
6551
6552 if test "$wxUSE_TEXTBUFFER" = yes; then
6553 echo "$as_me:$LINENO: result: yes" >&5
6554 echo "${ECHO_T}yes" >&6
6555 else
6556 echo "$as_me:$LINENO: result: no" >&5
6557 echo "${ECHO_T}no" >&6
6558 fi
6559
6560
6561 enablestring=
6562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6563 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6564 no_cache=0
6565 # Check whether --enable-textfile or --disable-textfile was given.
6566 if test "${enable_textfile+set}" = set; then
6567 enableval="$enable_textfile"
6568
6569 if test "$enableval" = yes; then
6570 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6571 else
6572 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6573 fi
6574
6575 else
6576
6577 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
6578 if test "x$LINE" != x ; then
6579 eval "DEFAULT_$LINE"
6580 else
6581 no_cache=1
6582 fi
6583
6584 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6585
6586 fi;
6587
6588 eval "$ac_cv_use_textfile"
6589 if test "$no_cache" != 1; then
6590 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6591 fi
6592
6593 if test "$wxUSE_TEXTFILE" = yes; then
6594 echo "$as_me:$LINENO: result: yes" >&5
6595 echo "${ECHO_T}yes" >&6
6596 else
6597 echo "$as_me:$LINENO: result: no" >&5
6598 echo "${ECHO_T}no" >&6
6599 fi
6600
6601
6602 enablestring=
6603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6604 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6605 no_cache=0
6606 # Check whether --enable-timer or --disable-timer was given.
6607 if test "${enable_timer+set}" = set; then
6608 enableval="$enable_timer"
6609
6610 if test "$enableval" = yes; then
6611 ac_cv_use_timer='wxUSE_TIMER=yes'
6612 else
6613 ac_cv_use_timer='wxUSE_TIMER=no'
6614 fi
6615
6616 else
6617
6618 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
6619 if test "x$LINE" != x ; then
6620 eval "DEFAULT_$LINE"
6621 else
6622 no_cache=1
6623 fi
6624
6625 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6626
6627 fi;
6628
6629 eval "$ac_cv_use_timer"
6630 if test "$no_cache" != 1; then
6631 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6632 fi
6633
6634 if test "$wxUSE_TIMER" = yes; then
6635 echo "$as_me:$LINENO: result: yes" >&5
6636 echo "${ECHO_T}yes" >&6
6637 else
6638 echo "$as_me:$LINENO: result: no" >&5
6639 echo "${ECHO_T}no" >&6
6640 fi
6641
6642
6643 enablestring=
6644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6645 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6646 no_cache=0
6647 # Check whether --enable-unicode or --disable-unicode was given.
6648 if test "${enable_unicode+set}" = set; then
6649 enableval="$enable_unicode"
6650
6651 if test "$enableval" = yes; then
6652 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6653 else
6654 ac_cv_use_unicode='wxUSE_UNICODE=no'
6655 fi
6656
6657 else
6658
6659 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
6660 if test "x$LINE" != x ; then
6661 eval "DEFAULT_$LINE"
6662 else
6663 no_cache=1
6664 fi
6665
6666 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6667
6668 fi;
6669
6670 eval "$ac_cv_use_unicode"
6671 if test "$no_cache" != 1; then
6672 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6673 fi
6674
6675 if test "$wxUSE_UNICODE" = yes; then
6676 echo "$as_me:$LINENO: result: yes" >&5
6677 echo "${ECHO_T}yes" >&6
6678 else
6679 echo "$as_me:$LINENO: result: no" >&5
6680 echo "${ECHO_T}no" >&6
6681 fi
6682
6683
6684 enablestring=
6685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6686 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6687 no_cache=0
6688 # Check whether --enable-sound or --disable-sound was given.
6689 if test "${enable_sound+set}" = set; then
6690 enableval="$enable_sound"
6691
6692 if test "$enableval" = yes; then
6693 ac_cv_use_sound='wxUSE_SOUND=yes'
6694 else
6695 ac_cv_use_sound='wxUSE_SOUND=no'
6696 fi
6697
6698 else
6699
6700 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
6701 if test "x$LINE" != x ; then
6702 eval "DEFAULT_$LINE"
6703 else
6704 no_cache=1
6705 fi
6706
6707 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6708
6709 fi;
6710
6711 eval "$ac_cv_use_sound"
6712 if test "$no_cache" != 1; then
6713 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6714 fi
6715
6716 if test "$wxUSE_SOUND" = yes; then
6717 echo "$as_me:$LINENO: result: yes" >&5
6718 echo "${ECHO_T}yes" >&6
6719 else
6720 echo "$as_me:$LINENO: result: no" >&5
6721 echo "${ECHO_T}no" >&6
6722 fi
6723
6724
6725 enablestring=
6726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6727 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6728 no_cache=0
6729 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6730 if test "${enable_mediactrl+set}" = set; then
6731 enableval="$enable_mediactrl"
6732
6733 if test "$enableval" = yes; then
6734 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6735 else
6736 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6737 fi
6738
6739 else
6740
6741 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
6742 if test "x$LINE" != x ; then
6743 eval "DEFAULT_$LINE"
6744 else
6745 no_cache=1
6746 fi
6747
6748 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6749
6750 fi;
6751
6752 eval "$ac_cv_use_mediactrl"
6753 if test "$no_cache" != 1; then
6754 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6755 fi
6756
6757 if test "$wxUSE_MEDIACTRL" = yes; then
6758 echo "$as_me:$LINENO: result: yes" >&5
6759 echo "${ECHO_T}yes" >&6
6760 else
6761 echo "$as_me:$LINENO: result: no" >&5
6762 echo "${ECHO_T}no" >&6
6763 fi
6764
6765
6766 enablestring=
6767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6768 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6769 no_cache=0
6770 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6771 if test "${enable_gstreamer8+set}" = set; then
6772 enableval="$enable_gstreamer8"
6773
6774 if test "$enableval" = yes; then
6775 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6776 else
6777 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6778 fi
6779
6780 else
6781
6782 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x ; then
6784 eval "DEFAULT_$LINE"
6785 else
6786 no_cache=1
6787 fi
6788
6789 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6790
6791 fi;
6792
6793 eval "$ac_cv_use_gstreamer8"
6794 if test "$no_cache" != 1; then
6795 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6796 fi
6797
6798 if test "$wxUSE_GSTREAMER8" = yes; then
6799 echo "$as_me:$LINENO: result: yes" >&5
6800 echo "${ECHO_T}yes" >&6
6801 else
6802 echo "$as_me:$LINENO: result: no" >&5
6803 echo "${ECHO_T}no" >&6
6804 fi
6805
6806
6807 enablestring=
6808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6809 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6810 no_cache=0
6811 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6812 if test "${enable_printfposparam+set}" = set; then
6813 enableval="$enable_printfposparam"
6814
6815 if test "$enableval" = yes; then
6816 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6817 else
6818 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6819 fi
6820
6821 else
6822
6823 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
6824 if test "x$LINE" != x ; then
6825 eval "DEFAULT_$LINE"
6826 else
6827 no_cache=1
6828 fi
6829
6830 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6831
6832 fi;
6833
6834 eval "$ac_cv_use_printfposparam"
6835 if test "$no_cache" != 1; then
6836 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6837 fi
6838
6839 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6840 echo "$as_me:$LINENO: result: yes" >&5
6841 echo "${ECHO_T}yes" >&6
6842 else
6843 echo "$as_me:$LINENO: result: no" >&5
6844 echo "${ECHO_T}no" >&6
6845 fi
6846
6847
6848 enablestring=
6849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6850 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6851 no_cache=0
6852 # Check whether --enable-zipstream or --disable-zipstream was given.
6853 if test "${enable_zipstream+set}" = set; then
6854 enableval="$enable_zipstream"
6855
6856 if test "$enableval" = yes; then
6857 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6858 else
6859 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6860 fi
6861
6862 else
6863
6864 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
6865 if test "x$LINE" != x ; then
6866 eval "DEFAULT_$LINE"
6867 else
6868 no_cache=1
6869 fi
6870
6871 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6872
6873 fi;
6874
6875 eval "$ac_cv_use_zipstream"
6876 if test "$no_cache" != 1; then
6877 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6878 fi
6879
6880 if test "$wxUSE_ZIPSTREAM" = yes; then
6881 echo "$as_me:$LINENO: result: yes" >&5
6882 echo "${ECHO_T}yes" >&6
6883 else
6884 echo "$as_me:$LINENO: result: no" >&5
6885 echo "${ECHO_T}no" >&6
6886 fi
6887
6888
6889
6890 enablestring=
6891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6892 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6893 no_cache=0
6894 # Check whether --enable-url or --disable-url was given.
6895 if test "${enable_url+set}" = set; then
6896 enableval="$enable_url"
6897
6898 if test "$enableval" = yes; then
6899 ac_cv_use_url='wxUSE_URL=yes'
6900 else
6901 ac_cv_use_url='wxUSE_URL=no'
6902 fi
6903
6904 else
6905
6906 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
6907 if test "x$LINE" != x ; then
6908 eval "DEFAULT_$LINE"
6909 else
6910 no_cache=1
6911 fi
6912
6913 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6914
6915 fi;
6916
6917 eval "$ac_cv_use_url"
6918 if test "$no_cache" != 1; then
6919 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6920 fi
6921
6922 if test "$wxUSE_URL" = yes; then
6923 echo "$as_me:$LINENO: result: yes" >&5
6924 echo "${ECHO_T}yes" >&6
6925 else
6926 echo "$as_me:$LINENO: result: no" >&5
6927 echo "${ECHO_T}no" >&6
6928 fi
6929
6930
6931 enablestring=
6932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6933 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6934 no_cache=0
6935 # Check whether --enable-variant or --disable-variant was given.
6936 if test "${enable_variant+set}" = set; then
6937 enableval="$enable_variant"
6938
6939 if test "$enableval" = yes; then
6940 ac_cv_use_variant='wxUSE_VARIANT=yes'
6941 else
6942 ac_cv_use_variant='wxUSE_VARIANT=no'
6943 fi
6944
6945 else
6946
6947 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
6948 if test "x$LINE" != x ; then
6949 eval "DEFAULT_$LINE"
6950 else
6951 no_cache=1
6952 fi
6953
6954 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6955
6956 fi;
6957
6958 eval "$ac_cv_use_variant"
6959 if test "$no_cache" != 1; then
6960 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6961 fi
6962
6963 if test "$wxUSE_VARIANT" = yes; then
6964 echo "$as_me:$LINENO: result: yes" >&5
6965 echo "${ECHO_T}yes" >&6
6966 else
6967 echo "$as_me:$LINENO: result: no" >&5
6968 echo "${ECHO_T}no" >&6
6969 fi
6970
6971
6972 enablestring=
6973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6974 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6975 no_cache=0
6976 # Check whether --enable-protocol or --disable-protocol was given.
6977 if test "${enable_protocol+set}" = set; then
6978 enableval="$enable_protocol"
6979
6980 if test "$enableval" = yes; then
6981 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6982 else
6983 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6984 fi
6985
6986 else
6987
6988 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6989 if test "x$LINE" != x ; then
6990 eval "DEFAULT_$LINE"
6991 else
6992 no_cache=1
6993 fi
6994
6995 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6996
6997 fi;
6998
6999 eval "$ac_cv_use_protocol"
7000 if test "$no_cache" != 1; then
7001 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7002 fi
7003
7004 if test "$wxUSE_PROTOCOL" = yes; then
7005 echo "$as_me:$LINENO: result: yes" >&5
7006 echo "${ECHO_T}yes" >&6
7007 else
7008 echo "$as_me:$LINENO: result: no" >&5
7009 echo "${ECHO_T}no" >&6
7010 fi
7011
7012
7013 enablestring=
7014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7015 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
7016 no_cache=0
7017 # Check whether --enable-protocol_http or --disable-protocol_http was given.
7018 if test "${enable_protocol_http+set}" = set; then
7019 enableval="$enable_protocol_http"
7020
7021 if test "$enableval" = yes; then
7022 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7023 else
7024 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7025 fi
7026
7027 else
7028
7029 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7030 if test "x$LINE" != x ; then
7031 eval "DEFAULT_$LINE"
7032 else
7033 no_cache=1
7034 fi
7035
7036 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7037
7038 fi;
7039
7040 eval "$ac_cv_use_protocol_http"
7041 if test "$no_cache" != 1; then
7042 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7043 fi
7044
7045 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7046 echo "$as_me:$LINENO: result: yes" >&5
7047 echo "${ECHO_T}yes" >&6
7048 else
7049 echo "$as_me:$LINENO: result: no" >&5
7050 echo "${ECHO_T}no" >&6
7051 fi
7052
7053
7054 enablestring=
7055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7056 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
7057 no_cache=0
7058 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
7059 if test "${enable_protocol_ftp+set}" = set; then
7060 enableval="$enable_protocol_ftp"
7061
7062 if test "$enableval" = yes; then
7063 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7064 else
7065 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7066 fi
7067
7068 else
7069
7070 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7071 if test "x$LINE" != x ; then
7072 eval "DEFAULT_$LINE"
7073 else
7074 no_cache=1
7075 fi
7076
7077 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7078
7079 fi;
7080
7081 eval "$ac_cv_use_protocol_ftp"
7082 if test "$no_cache" != 1; then
7083 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7084 fi
7085
7086 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7087 echo "$as_me:$LINENO: result: yes" >&5
7088 echo "${ECHO_T}yes" >&6
7089 else
7090 echo "$as_me:$LINENO: result: no" >&5
7091 echo "${ECHO_T}no" >&6
7092 fi
7093
7094
7095 enablestring=
7096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7097 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
7098 no_cache=0
7099 # Check whether --enable-protocol_file or --disable-protocol_file was given.
7100 if test "${enable_protocol_file+set}" = set; then
7101 enableval="$enable_protocol_file"
7102
7103 if test "$enableval" = yes; then
7104 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7105 else
7106 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7107 fi
7108
7109 else
7110
7111 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
7112 if test "x$LINE" != x ; then
7113 eval "DEFAULT_$LINE"
7114 else
7115 no_cache=1
7116 fi
7117
7118 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7119
7120 fi;
7121
7122 eval "$ac_cv_use_protocol_file"
7123 if test "$no_cache" != 1; then
7124 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7125 fi
7126
7127 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7128 echo "$as_me:$LINENO: result: yes" >&5
7129 echo "${ECHO_T}yes" >&6
7130 else
7131 echo "$as_me:$LINENO: result: no" >&5
7132 echo "${ECHO_T}no" >&6
7133 fi
7134
7135
7136
7137
7138
7139 enablestring=
7140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7141 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
7142 no_cache=0
7143 # Check whether --enable-threads or --disable-threads was given.
7144 if test "${enable_threads+set}" = set; then
7145 enableval="$enable_threads"
7146
7147 if test "$enableval" = yes; then
7148 ac_cv_use_threads='wxUSE_THREADS=yes'
7149 else
7150 ac_cv_use_threads='wxUSE_THREADS=no'
7151 fi
7152
7153 else
7154
7155 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7158 else
7159 no_cache=1
7160 fi
7161
7162 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7163
7164 fi;
7165
7166 eval "$ac_cv_use_threads"
7167 if test "$no_cache" != 1; then
7168 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7169 fi
7170
7171 if test "$wxUSE_THREADS" = yes; then
7172 echo "$as_me:$LINENO: result: yes" >&5
7173 echo "${ECHO_T}yes" >&6
7174 else
7175 echo "$as_me:$LINENO: result: no" >&5
7176 echo "${ECHO_T}no" >&6
7177 fi
7178
7179
7180 if test "$wxUSE_GUI" = "yes"; then
7181
7182
7183
7184 enablestring=
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
7187 no_cache=0
7188 # Check whether --enable-docview or --disable-docview was given.
7189 if test "${enable_docview+set}" = set; then
7190 enableval="$enable_docview"
7191
7192 if test "$enableval" = yes; then
7193 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7194 else
7195 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7196 fi
7197
7198 else
7199
7200 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7203 else
7204 no_cache=1
7205 fi
7206
7207 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7208
7209 fi;
7210
7211 eval "$ac_cv_use_docview"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7214 fi
7215
7216 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7219 else
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7222 fi
7223
7224
7225 enablestring=
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7228 no_cache=0
7229 # Check whether --enable-help or --disable-help was given.
7230 if test "${enable_help+set}" = set; then
7231 enableval="$enable_help"
7232
7233 if test "$enableval" = yes; then
7234 ac_cv_use_help='wxUSE_HELP=yes'
7235 else
7236 ac_cv_use_help='wxUSE_HELP=no'
7237 fi
7238
7239 else
7240
7241 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7244 else
7245 no_cache=1
7246 fi
7247
7248 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7249
7250 fi;
7251
7252 eval "$ac_cv_use_help"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7255 fi
7256
7257 if test "$wxUSE_HELP" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7260 else
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7263 fi
7264
7265
7266 enablestring=
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7269 no_cache=0
7270 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7271 if test "${enable_mshtmlhelp+set}" = set; then
7272 enableval="$enable_mshtmlhelp"
7273
7274 if test "$enableval" = yes; then
7275 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7276 else
7277 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7278 fi
7279
7280 else
7281
7282 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7285 else
7286 no_cache=1
7287 fi
7288
7289 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7290
7291 fi;
7292
7293 eval "$ac_cv_use_mshtmlhelp"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7296 fi
7297
7298 if test "$wxUSE_MS_HTML_HELP" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7301 else
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7304 fi
7305
7306
7307 enablestring=
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7310 no_cache=0
7311 # Check whether --enable-html or --disable-html was given.
7312 if test "${enable_html+set}" = set; then
7313 enableval="$enable_html"
7314
7315 if test "$enableval" = yes; then
7316 ac_cv_use_html='wxUSE_HTML=yes'
7317 else
7318 ac_cv_use_html='wxUSE_HTML=no'
7319 fi
7320
7321 else
7322
7323 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7326 else
7327 no_cache=1
7328 fi
7329
7330 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7331
7332 fi;
7333
7334 eval "$ac_cv_use_html"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7337 fi
7338
7339 if test "$wxUSE_HTML" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7342 else
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7345 fi
7346
7347
7348 enablestring=
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7351 no_cache=0
7352 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7353 if test "${enable_htmlhelp+set}" = set; then
7354 enableval="$enable_htmlhelp"
7355
7356 if test "$enableval" = yes; then
7357 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7358 else
7359 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7360 fi
7361
7362 else
7363
7364 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x ; then
7366 eval "DEFAULT_$LINE"
7367 else
7368 no_cache=1
7369 fi
7370
7371 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7372
7373 fi;
7374
7375 eval "$ac_cv_use_htmlhelp"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7378 fi
7379
7380 if test "$wxUSE_WXHTML_HELP" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7383 else
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7386 fi
7387
7388
7389 enablestring=
7390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7392 no_cache=0
7393 # Check whether --enable-xrc or --disable-xrc was given.
7394 if test "${enable_xrc+set}" = set; then
7395 enableval="$enable_xrc"
7396
7397 if test "$enableval" = yes; then
7398 ac_cv_use_xrc='wxUSE_XRC=yes'
7399 else
7400 ac_cv_use_xrc='wxUSE_XRC=no'
7401 fi
7402
7403 else
7404
7405 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7408 else
7409 no_cache=1
7410 fi
7411
7412 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7413
7414 fi;
7415
7416 eval "$ac_cv_use_xrc"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7419 fi
7420
7421 if test "$wxUSE_XRC" = yes; then
7422 echo "$as_me:$LINENO: result: yes" >&5
7423 echo "${ECHO_T}yes" >&6
7424 else
7425 echo "$as_me:$LINENO: result: no" >&5
7426 echo "${ECHO_T}no" >&6
7427 fi
7428
7429
7430 enablestring=
7431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7433 no_cache=0
7434 # Check whether --enable-aui or --disable-aui was given.
7435 if test "${enable_aui+set}" = set; then
7436 enableval="$enable_aui"
7437
7438 if test "$enableval" = yes; then
7439 ac_cv_use_aui='wxUSE_AUI=yes'
7440 else
7441 ac_cv_use_aui='wxUSE_AUI=no'
7442 fi
7443
7444 else
7445
7446 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7449 else
7450 no_cache=1
7451 fi
7452
7453 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7454
7455 fi;
7456
7457 eval "$ac_cv_use_aui"
7458 if test "$no_cache" != 1; then
7459 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7460 fi
7461
7462 if test "$wxUSE_AUI" = yes; then
7463 echo "$as_me:$LINENO: result: yes" >&5
7464 echo "${ECHO_T}yes" >&6
7465 else
7466 echo "$as_me:$LINENO: result: no" >&5
7467 echo "${ECHO_T}no" >&6
7468 fi
7469
7470
7471 enablestring=
7472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
7474 no_cache=0
7475 # Check whether --enable-stc or --disable-stc was given.
7476 if test "${enable_stc+set}" = set; then
7477 enableval="$enable_stc"
7478
7479 if test "$enableval" = yes; then
7480 ac_cv_use_stc='wxUSE_STC=yes'
7481 else
7482 ac_cv_use_stc='wxUSE_STC=no'
7483 fi
7484
7485 else
7486
7487 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7490 else
7491 no_cache=1
7492 fi
7493
7494 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
7495
7496 fi;
7497
7498 eval "$ac_cv_use_stc"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
7501 fi
7502
7503 if test "$wxUSE_STC" = yes; then
7504 echo "$as_me:$LINENO: result: yes" >&5
7505 echo "${ECHO_T}yes" >&6
7506 else
7507 echo "$as_me:$LINENO: result: no" >&5
7508 echo "${ECHO_T}no" >&6
7509 fi
7510
7511
7512 enablestring=
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7515 no_cache=0
7516 # Check whether --enable-constraints or --disable-constraints was given.
7517 if test "${enable_constraints+set}" = set; then
7518 enableval="$enable_constraints"
7519
7520 if test "$enableval" = yes; then
7521 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7522 else
7523 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7524 fi
7525
7526 else
7527
7528 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7531 else
7532 no_cache=1
7533 fi
7534
7535 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7536
7537 fi;
7538
7539 eval "$ac_cv_use_constraints"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7542 fi
7543
7544 if test "$wxUSE_CONSTRAINTS" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7547 else
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7550 fi
7551
7552
7553 enablestring=
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7556 no_cache=0
7557 # Check whether --enable-printarch or --disable-printarch was given.
7558 if test "${enable_printarch+set}" = set; then
7559 enableval="$enable_printarch"
7560
7561 if test "$enableval" = yes; then
7562 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7563 else
7564 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7565 fi
7566
7567 else
7568
7569 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7572 else
7573 no_cache=1
7574 fi
7575
7576 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7577
7578 fi;
7579
7580 eval "$ac_cv_use_printarch"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7583 fi
7584
7585 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587 echo "${ECHO_T}yes" >&6
7588 else
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7591 fi
7592
7593
7594 enablestring=
7595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7597 no_cache=0
7598 # Check whether --enable-mdi or --disable-mdi was given.
7599 if test "${enable_mdi+set}" = set; then
7600 enableval="$enable_mdi"
7601
7602 if test "$enableval" = yes; then
7603 ac_cv_use_mdi='wxUSE_MDI=yes'
7604 else
7605 ac_cv_use_mdi='wxUSE_MDI=no'
7606 fi
7607
7608 else
7609
7610 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7613 else
7614 no_cache=1
7615 fi
7616
7617 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7618
7619 fi;
7620
7621 eval "$ac_cv_use_mdi"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7624 fi
7625
7626 if test "$wxUSE_MDI" = yes; then
7627 echo "$as_me:$LINENO: result: yes" >&5
7628 echo "${ECHO_T}yes" >&6
7629 else
7630 echo "$as_me:$LINENO: result: no" >&5
7631 echo "${ECHO_T}no" >&6
7632 fi
7633
7634
7635 enablestring=
7636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7637 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7638 no_cache=0
7639 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7640 if test "${enable_mdidoc+set}" = set; then
7641 enableval="$enable_mdidoc"
7642
7643 if test "$enableval" = yes; then
7644 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7645 else
7646 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7647 fi
7648
7649 else
7650
7651 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7654 else
7655 no_cache=1
7656 fi
7657
7658 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7659
7660 fi;
7661
7662 eval "$ac_cv_use_mdidoc"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7665 fi
7666
7667 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669 echo "${ECHO_T}yes" >&6
7670 else
7671 echo "$as_me:$LINENO: result: no" >&5
7672 echo "${ECHO_T}no" >&6
7673 fi
7674
7675
7676 enablestring=
7677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7679 no_cache=0
7680 # Check whether --enable-loggui or --disable-loggui was given.
7681 if test "${enable_loggui+set}" = set; then
7682 enableval="$enable_loggui"
7683
7684 if test "$enableval" = yes; then
7685 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7686 else
7687 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7688 fi
7689
7690 else
7691
7692 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x ; then
7694 eval "DEFAULT_$LINE"
7695 else
7696 no_cache=1
7697 fi
7698
7699 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7700
7701 fi;
7702
7703 eval "$ac_cv_use_loggui"
7704 if test "$no_cache" != 1; then
7705 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7706 fi
7707
7708 if test "$wxUSE_LOGGUI" = yes; then
7709 echo "$as_me:$LINENO: result: yes" >&5
7710 echo "${ECHO_T}yes" >&6
7711 else
7712 echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6
7714 fi
7715
7716
7717 enablestring=
7718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7719 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7720 no_cache=0
7721 # Check whether --enable-logwin or --disable-logwin was given.
7722 if test "${enable_logwin+set}" = set; then
7723 enableval="$enable_logwin"
7724
7725 if test "$enableval" = yes; then
7726 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7727 else
7728 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7729 fi
7730
7731 else
7732
7733 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x ; then
7735 eval "DEFAULT_$LINE"
7736 else
7737 no_cache=1
7738 fi
7739
7740 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7741
7742 fi;
7743
7744 eval "$ac_cv_use_logwin"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7747 fi
7748
7749 if test "$wxUSE_LOGWINDOW" = yes; then
7750 echo "$as_me:$LINENO: result: yes" >&5
7751 echo "${ECHO_T}yes" >&6
7752 else
7753 echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6
7755 fi
7756
7757
7758 enablestring=
7759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7761 no_cache=0
7762 # Check whether --enable-logdialog or --disable-logdialog was given.
7763 if test "${enable_logdialog+set}" = set; then
7764 enableval="$enable_logdialog"
7765
7766 if test "$enableval" = yes; then
7767 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7768 else
7769 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7770 fi
7771
7772 else
7773
7774 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x ; then
7776 eval "DEFAULT_$LINE"
7777 else
7778 no_cache=1
7779 fi
7780
7781 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7782
7783 fi;
7784
7785 eval "$ac_cv_use_logdialog"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7788 fi
7789
7790 if test "$wxUSE_LOGDIALOG" = yes; then
7791 echo "$as_me:$LINENO: result: yes" >&5
7792 echo "${ECHO_T}yes" >&6
7793 else
7794 echo "$as_me:$LINENO: result: no" >&5
7795 echo "${ECHO_T}no" >&6
7796 fi
7797
7798
7799 enablestring=
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7802 no_cache=0
7803 # Check whether --enable-webkit or --disable-webkit was given.
7804 if test "${enable_webkit+set}" = set; then
7805 enableval="$enable_webkit"
7806
7807 if test "$enableval" = yes; then
7808 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7809 else
7810 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7811 fi
7812
7813 else
7814
7815 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x ; then
7817 eval "DEFAULT_$LINE"
7818 else
7819 no_cache=1
7820 fi
7821
7822 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7823
7824 fi;
7825
7826 eval "$ac_cv_use_webkit"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7829 fi
7830
7831 if test "$wxUSE_WEBKIT" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833 echo "${ECHO_T}yes" >&6
7834 else
7835 echo "$as_me:$LINENO: result: no" >&5
7836 echo "${ECHO_T}no" >&6
7837 fi
7838
7839
7840 enablestring=
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7843 no_cache=0
7844 # Check whether --enable-richtext or --disable-richtext was given.
7845 if test "${enable_richtext+set}" = set; then
7846 enableval="$enable_richtext"
7847
7848 if test "$enableval" = yes; then
7849 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7850 else
7851 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7852 fi
7853
7854 else
7855
7856 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x ; then
7858 eval "DEFAULT_$LINE"
7859 else
7860 no_cache=1
7861 fi
7862
7863 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7864
7865 fi;
7866
7867 eval "$ac_cv_use_richtext"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7870 fi
7871
7872 if test "$wxUSE_RICHTEXT" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874 echo "${ECHO_T}yes" >&6
7875 else
7876 echo "$as_me:$LINENO: result: no" >&5
7877 echo "${ECHO_T}no" >&6
7878 fi
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7886 if test "${enable_graphics_ctx+set}" = set; then
7887 enableval="$enable_graphics_ctx"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7891 else
7892 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7905
7906 fi;
7907
7908 eval "$ac_cv_use_graphics_ctx"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922
7923 enablestring=
7924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7925 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7926 no_cache=0
7927 # Check whether --enable-postscript or --disable-postscript was given.
7928 if test "${enable_postscript+set}" = set; then
7929 enableval="$enable_postscript"
7930
7931 if test "$enableval" = yes; then
7932 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7933 else
7934 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7935 fi
7936
7937 else
7938
7939 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
7940 if test "x$LINE" != x ; then
7941 eval "DEFAULT_$LINE"
7942 else
7943 no_cache=1
7944 fi
7945
7946 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7947
7948 fi;
7949
7950 eval "$ac_cv_use_postscript"
7951 if test "$no_cache" != 1; then
7952 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7953 fi
7954
7955 if test "$wxUSE_POSTSCRIPT" = yes; then
7956 echo "$as_me:$LINENO: result: yes" >&5
7957 echo "${ECHO_T}yes" >&6
7958 else
7959 echo "$as_me:$LINENO: result: no" >&5
7960 echo "${ECHO_T}no" >&6
7961 fi
7962
7963
7964
7965
7966
7967 enablestring=
7968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7969 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7970 no_cache=0
7971 # Check whether --enable-clipboard or --disable-clipboard was given.
7972 if test "${enable_clipboard+set}" = set; then
7973 enableval="$enable_clipboard"
7974
7975 if test "$enableval" = yes; then
7976 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7977 else
7978 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7979 fi
7980
7981 else
7982
7983 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
7984 if test "x$LINE" != x ; then
7985 eval "DEFAULT_$LINE"
7986 else
7987 no_cache=1
7988 fi
7989
7990 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7991
7992 fi;
7993
7994 eval "$ac_cv_use_clipboard"
7995 if test "$no_cache" != 1; then
7996 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7997 fi
7998
7999 if test "$wxUSE_CLIPBOARD" = yes; then
8000 echo "$as_me:$LINENO: result: yes" >&5
8001 echo "${ECHO_T}yes" >&6
8002 else
8003 echo "$as_me:$LINENO: result: no" >&5
8004 echo "${ECHO_T}no" >&6
8005 fi
8006
8007
8008 enablestring=
8009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8010 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
8011 no_cache=0
8012 # Check whether --enable-dnd or --disable-dnd was given.
8013 if test "${enable_dnd+set}" = set; then
8014 enableval="$enable_dnd"
8015
8016 if test "$enableval" = yes; then
8017 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8018 else
8019 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8020 fi
8021
8022 else
8023
8024 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
8025 if test "x$LINE" != x ; then
8026 eval "DEFAULT_$LINE"
8027 else
8028 no_cache=1
8029 fi
8030
8031 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8032
8033 fi;
8034
8035 eval "$ac_cv_use_dnd"
8036 if test "$no_cache" != 1; then
8037 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8038 fi
8039
8040 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8041 echo "$as_me:$LINENO: result: yes" >&5
8042 echo "${ECHO_T}yes" >&6
8043 else
8044 echo "$as_me:$LINENO: result: no" >&5
8045 echo "${ECHO_T}no" >&6
8046 fi
8047
8048
8049 enablestring=
8050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8051 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8052 no_cache=0
8053 # Check whether --enable-metafile or --disable-metafile was given.
8054 if test "${enable_metafile+set}" = set; then
8055 enableval="$enable_metafile"
8056
8057 if test "$enableval" = yes; then
8058 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8059 else
8060 ac_cv_use_metafile='wxUSE_METAFILE=no'
8061 fi
8062
8063 else
8064
8065 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
8066 if test "x$LINE" != x ; then
8067 eval "DEFAULT_$LINE"
8068 else
8069 no_cache=1
8070 fi
8071
8072 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8073
8074 fi;
8075
8076 eval "$ac_cv_use_metafile"
8077 if test "$no_cache" != 1; then
8078 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8079 fi
8080
8081 if test "$wxUSE_METAFILE" = yes; then
8082 echo "$as_me:$LINENO: result: yes" >&5
8083 echo "${ECHO_T}yes" >&6
8084 else
8085 echo "$as_me:$LINENO: result: no" >&5
8086 echo "${ECHO_T}no" >&6
8087 fi
8088
8089
8090
8091
8092
8093 enablestring=
8094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8095 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
8096 no_cache=0
8097 # Check whether --enable-controls or --disable-controls was given.
8098 if test "${enable_controls+set}" = set; then
8099 enableval="$enable_controls"
8100
8101 if test "$enableval" = yes; then
8102 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8103 else
8104 ac_cv_use_controls='wxUSE_CONTROLS=no'
8105 fi
8106
8107 else
8108
8109 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x ; then
8111 eval "DEFAULT_$LINE"
8112 else
8113 no_cache=1
8114 fi
8115
8116 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8117
8118 fi;
8119
8120 eval "$ac_cv_use_controls"
8121 if test "$no_cache" != 1; then
8122 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8123 fi
8124
8125 if test "$wxUSE_CONTROLS" = yes; then
8126 echo "$as_me:$LINENO: result: yes" >&5
8127 echo "${ECHO_T}yes" >&6
8128 else
8129 echo "$as_me:$LINENO: result: no" >&5
8130 echo "${ECHO_T}no" >&6
8131 fi
8132
8133
8134 if test "$wxUSE_CONTROLS" = "yes"; then
8135 DEFAULT_wxUSE_ACCEL=yes
8136 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8137 DEFAULT_wxUSE_BMPBUTTON=yes
8138 DEFAULT_wxUSE_BUTTON=yes
8139 DEFAULT_wxUSE_CALCTRL=yes
8140 DEFAULT_wxUSE_CARET=yes
8141 DEFAULT_wxUSE_COMBOBOX=yes
8142 DEFAULT_wxUSE_CHECKBOX=yes
8143 DEFAULT_wxUSE_CHECKLISTBOX=yes
8144 DEFAULT_wxUSE_CHOICE=yes
8145 DEFAULT_wxUSE_CHOICEBOOK=yes
8146 DEFAULT_wxUSE_COLLPANE=yes
8147 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8148 DEFAULT_wxUSE_COMBOBOX=yes
8149 DEFAULT_wxUSE_DATEPICKCTRL=yes
8150 DEFAULT_wxUSE_DISPLAY=yes
8151 DEFAULT_wxUSE_DETECT_SM=yes
8152 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8153 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8154 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8155 DEFAULT_wxUSE_GAUGE=yes
8156 DEFAULT_wxUSE_GRID=yes
8157 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8158 DEFAULT_wxUSE_DATAVIEWCTRL=no
8159 DEFAULT_wxUSE_IMAGLIST=yes
8160 DEFAULT_wxUSE_LISTBOOK=yes
8161 DEFAULT_wxUSE_LISTBOX=yes
8162 DEFAULT_wxUSE_LISTCTRL=yes
8163 DEFAULT_wxUSE_NOTEBOOK=yes
8164 DEFAULT_wxUSE_RADIOBOX=yes
8165 DEFAULT_wxUSE_RADIOBTN=yes
8166 DEFAULT_wxUSE_SASH=yes
8167 DEFAULT_wxUSE_SCROLLBAR=yes
8168 DEFAULT_wxUSE_SEARCHCTRL=yes
8169 DEFAULT_wxUSE_SLIDER=yes
8170 DEFAULT_wxUSE_SPINBTN=yes
8171 DEFAULT_wxUSE_SPINCTRL=yes
8172 DEFAULT_wxUSE_SPLITTER=yes
8173 DEFAULT_wxUSE_STATBMP=yes
8174 DEFAULT_wxUSE_STATBOX=yes
8175 DEFAULT_wxUSE_STATLINE=yes
8176 DEFAULT_wxUSE_STATUSBAR=yes
8177 DEFAULT_wxUSE_TAB_DIALOG=yes
8178 DEFAULT_wxUSE_TOGGLEBTN=yes
8179 DEFAULT_wxUSE_TOOLBAR=yes
8180 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8181 DEFAULT_wxUSE_TOOLTIPS=yes
8182 DEFAULT_wxUSE_TREEBOOK=yes
8183 DEFAULT_wxUSE_TOOLBOOK=yes
8184 DEFAULT_wxUSE_TREECTRL=yes
8185 DEFAULT_wxUSE_POPUPWIN=yes
8186 DEFAULT_wxUSE_TIPWINDOW=yes
8187 elif test "$wxUSE_CONTROLS" = "no"; then
8188 DEFAULT_wxUSE_ACCEL=no
8189 DEFAULT_wxUSE_ANIMATIONCTRL=no
8190 DEFAULT_wxUSE_BMPBUTTON=no
8191 DEFAULT_wxUSE_BUTTON=no
8192 DEFAULT_wxUSE_CALCTRL=no
8193 DEFAULT_wxUSE_CARET=no
8194 DEFAULT_wxUSE_COLLPANE=no
8195 DEFAULT_wxUSE_COMBOBOX=no
8196 DEFAULT_wxUSE_CHECKBOX=no
8197 DEFAULT_wxUSE_CHECKLISTBOX=no
8198 DEFAULT_wxUSE_CHOICE=no
8199 DEFAULT_wxUSE_CHOICEBOOK=no
8200 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8201 DEFAULT_wxUSE_COMBOBOX=no
8202 DEFAULT_wxUSE_DATEPICKCTRL=no
8203 DEFAULT_wxUSE_DISPLAY=no
8204 DEFAULT_wxUSE_DETECT_SM=no
8205 DEFAULT_wxUSE_DIRPICKERCTRL=no
8206 DEFAULT_wxUSE_FILEPICKERCTRL=no
8207 DEFAULT_wxUSE_FONTPICKERCTRL=no
8208 DEFAULT_wxUSE_GAUGE=no
8209 DEFAULT_wxUSE_GRID=no
8210 DEFAULT_wxUSE_HYPERLINKCTRL=no
8211 DEFAULT_wxUSE_DATAVIEWCTRL=no
8212 DEFAULT_wxUSE_IMAGLIST=no
8213 DEFAULT_wxUSE_LISTBOOK=no
8214 DEFAULT_wxUSE_LISTBOX=no
8215 DEFAULT_wxUSE_LISTCTRL=no
8216 DEFAULT_wxUSE_NOTEBOOK=no
8217 DEFAULT_wxUSE_RADIOBOX=no
8218 DEFAULT_wxUSE_RADIOBTN=no
8219 DEFAULT_wxUSE_SASH=no
8220 DEFAULT_wxUSE_SCROLLBAR=no
8221 DEFAULT_wxUSE_SEARCHCTRL=no
8222 DEFAULT_wxUSE_SLIDER=no
8223 DEFAULT_wxUSE_SPINBTN=no
8224 DEFAULT_wxUSE_SPINCTRL=no
8225 DEFAULT_wxUSE_SPLITTER=no
8226 DEFAULT_wxUSE_STATBMP=no
8227 DEFAULT_wxUSE_STATBOX=no
8228 DEFAULT_wxUSE_STATLINE=no
8229 DEFAULT_wxUSE_STATUSBAR=no
8230 DEFAULT_wxUSE_TAB_DIALOG=no
8231 DEFAULT_wxUSE_TOGGLEBTN=no
8232 DEFAULT_wxUSE_TOOLBAR=no
8233 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8234 DEFAULT_wxUSE_TOOLTIPS=no
8235 DEFAULT_wxUSE_TREEBOOK=no
8236 DEFAULT_wxUSE_TOOLBOOK=no
8237 DEFAULT_wxUSE_TREECTRL=no
8238 DEFAULT_wxUSE_POPUPWIN=no
8239 DEFAULT_wxUSE_TIPWINDOW=no
8240 fi
8241
8242
8243 enablestring=
8244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8245 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8246 no_cache=0
8247 # Check whether --enable-accel or --disable-accel was given.
8248 if test "${enable_accel+set}" = set; then
8249 enableval="$enable_accel"
8250
8251 if test "$enableval" = yes; then
8252 ac_cv_use_accel='wxUSE_ACCEL=yes'
8253 else
8254 ac_cv_use_accel='wxUSE_ACCEL=no'
8255 fi
8256
8257 else
8258
8259 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x ; then
8261 eval "DEFAULT_$LINE"
8262 else
8263 no_cache=1
8264 fi
8265
8266 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8267
8268 fi;
8269
8270 eval "$ac_cv_use_accel"
8271 if test "$no_cache" != 1; then
8272 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8273 fi
8274
8275 if test "$wxUSE_ACCEL" = yes; then
8276 echo "$as_me:$LINENO: result: yes" >&5
8277 echo "${ECHO_T}yes" >&6
8278 else
8279 echo "$as_me:$LINENO: result: no" >&5
8280 echo "${ECHO_T}no" >&6
8281 fi
8282
8283
8284 enablestring=
8285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8287 no_cache=0
8288 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8289 if test "${enable_animatectrl+set}" = set; then
8290 enableval="$enable_animatectrl"
8291
8292 if test "$enableval" = yes; then
8293 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8294 else
8295 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8296 fi
8297
8298 else
8299
8300 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x ; then
8302 eval "DEFAULT_$LINE"
8303 else
8304 no_cache=1
8305 fi
8306
8307 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8308
8309 fi;
8310
8311 eval "$ac_cv_use_animatectrl"
8312 if test "$no_cache" != 1; then
8313 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8314 fi
8315
8316 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8317 echo "$as_me:$LINENO: result: yes" >&5
8318 echo "${ECHO_T}yes" >&6
8319 else
8320 echo "$as_me:$LINENO: result: no" >&5
8321 echo "${ECHO_T}no" >&6
8322 fi
8323
8324
8325 enablestring=
8326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8327 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8328 no_cache=0
8329 # Check whether --enable-button or --disable-button was given.
8330 if test "${enable_button+set}" = set; then
8331 enableval="$enable_button"
8332
8333 if test "$enableval" = yes; then
8334 ac_cv_use_button='wxUSE_BUTTON=yes'
8335 else
8336 ac_cv_use_button='wxUSE_BUTTON=no'
8337 fi
8338
8339 else
8340
8341 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
8342 if test "x$LINE" != x ; then
8343 eval "DEFAULT_$LINE"
8344 else
8345 no_cache=1
8346 fi
8347
8348 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8349
8350 fi;
8351
8352 eval "$ac_cv_use_button"
8353 if test "$no_cache" != 1; then
8354 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8355 fi
8356
8357 if test "$wxUSE_BUTTON" = yes; then
8358 echo "$as_me:$LINENO: result: yes" >&5
8359 echo "${ECHO_T}yes" >&6
8360 else
8361 echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6
8363 fi
8364
8365
8366 enablestring=
8367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8368 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8369 no_cache=0
8370 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8371 if test "${enable_bmpbutton+set}" = set; then
8372 enableval="$enable_bmpbutton"
8373
8374 if test "$enableval" = yes; then
8375 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8376 else
8377 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8378 fi
8379
8380 else
8381
8382 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
8383 if test "x$LINE" != x ; then
8384 eval "DEFAULT_$LINE"
8385 else
8386 no_cache=1
8387 fi
8388
8389 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8390
8391 fi;
8392
8393 eval "$ac_cv_use_bmpbutton"
8394 if test "$no_cache" != 1; then
8395 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8396 fi
8397
8398 if test "$wxUSE_BMPBUTTON" = yes; then
8399 echo "$as_me:$LINENO: result: yes" >&5
8400 echo "${ECHO_T}yes" >&6
8401 else
8402 echo "$as_me:$LINENO: result: no" >&5
8403 echo "${ECHO_T}no" >&6
8404 fi
8405
8406
8407 enablestring=
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8410 no_cache=0
8411 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8412 if test "${enable_bmpcombobox+set}" = set; then
8413 enableval="$enable_bmpcombobox"
8414
8415 if test "$enableval" = yes; then
8416 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8417 else
8418 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8419 fi
8420
8421 else
8422
8423 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8426 else
8427 no_cache=1
8428 fi
8429
8430 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8431
8432 fi;
8433
8434 eval "$ac_cv_use_bmpcombobox"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8437 fi
8438
8439 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441 echo "${ECHO_T}yes" >&6
8442 else
8443 echo "$as_me:$LINENO: result: no" >&5
8444 echo "${ECHO_T}no" >&6
8445 fi
8446
8447
8448 enablestring=
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8451 no_cache=0
8452 # Check whether --enable-calendar or --disable-calendar was given.
8453 if test "${enable_calendar+set}" = set; then
8454 enableval="$enable_calendar"
8455
8456 if test "$enableval" = yes; then
8457 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8458 else
8459 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8460 fi
8461
8462 else
8463
8464 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8467 else
8468 no_cache=1
8469 fi
8470
8471 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8472
8473 fi;
8474
8475 eval "$ac_cv_use_calendar"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8478 fi
8479
8480 if test "$wxUSE_CALCTRL" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482 echo "${ECHO_T}yes" >&6
8483 else
8484 echo "$as_me:$LINENO: result: no" >&5
8485 echo "${ECHO_T}no" >&6
8486 fi
8487
8488
8489 enablestring=
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8492 no_cache=0
8493 # Check whether --enable-caret or --disable-caret was given.
8494 if test "${enable_caret+set}" = set; then
8495 enableval="$enable_caret"
8496
8497 if test "$enableval" = yes; then
8498 ac_cv_use_caret='wxUSE_CARET=yes'
8499 else
8500 ac_cv_use_caret='wxUSE_CARET=no'
8501 fi
8502
8503 else
8504
8505 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x ; then
8507 eval "DEFAULT_$LINE"
8508 else
8509 no_cache=1
8510 fi
8511
8512 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8513
8514 fi;
8515
8516 eval "$ac_cv_use_caret"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8519 fi
8520
8521 if test "$wxUSE_CARET" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523 echo "${ECHO_T}yes" >&6
8524 else
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8527 fi
8528
8529
8530 enablestring=
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8533 no_cache=0
8534 # Check whether --enable-checkbox or --disable-checkbox was given.
8535 if test "${enable_checkbox+set}" = set; then
8536 enableval="$enable_checkbox"
8537
8538 if test "$enableval" = yes; then
8539 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8540 else
8541 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8542 fi
8543
8544 else
8545
8546 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x ; then
8548 eval "DEFAULT_$LINE"
8549 else
8550 no_cache=1
8551 fi
8552
8553 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8554
8555 fi;
8556
8557 eval "$ac_cv_use_checkbox"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8560 fi
8561
8562 if test "$wxUSE_CHECKBOX" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564 echo "${ECHO_T}yes" >&6
8565 else
8566 echo "$as_me:$LINENO: result: no" >&5
8567 echo "${ECHO_T}no" >&6
8568 fi
8569
8570
8571 enablestring=
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8574 no_cache=0
8575 # Check whether --enable-checklst or --disable-checklst was given.
8576 if test "${enable_checklst+set}" = set; then
8577 enableval="$enable_checklst"
8578
8579 if test "$enableval" = yes; then
8580 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8581 else
8582 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8583 fi
8584
8585 else
8586
8587 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x ; then
8589 eval "DEFAULT_$LINE"
8590 else
8591 no_cache=1
8592 fi
8593
8594 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8595
8596 fi;
8597
8598 eval "$ac_cv_use_checklst"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8601 fi
8602
8603 if test "$wxUSE_CHECKLST" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605 echo "${ECHO_T}yes" >&6
8606 else
8607 echo "$as_me:$LINENO: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8609 fi
8610
8611
8612 enablestring=
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8615 no_cache=0
8616 # Check whether --enable-choice or --disable-choice was given.
8617 if test "${enable_choice+set}" = set; then
8618 enableval="$enable_choice"
8619
8620 if test "$enableval" = yes; then
8621 ac_cv_use_choice='wxUSE_CHOICE=yes'
8622 else
8623 ac_cv_use_choice='wxUSE_CHOICE=no'
8624 fi
8625
8626 else
8627
8628 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x ; then
8630 eval "DEFAULT_$LINE"
8631 else
8632 no_cache=1
8633 fi
8634
8635 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8636
8637 fi;
8638
8639 eval "$ac_cv_use_choice"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8642 fi
8643
8644 if test "$wxUSE_CHOICE" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646 echo "${ECHO_T}yes" >&6
8647 else
8648 echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6
8650 fi
8651
8652
8653 enablestring=
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8656 no_cache=0
8657 # Check whether --enable-choicebook or --disable-choicebook was given.
8658 if test "${enable_choicebook+set}" = set; then
8659 enableval="$enable_choicebook"
8660
8661 if test "$enableval" = yes; then
8662 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8663 else
8664 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8665 fi
8666
8667 else
8668
8669 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8672 else
8673 no_cache=1
8674 fi
8675
8676 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8677
8678 fi;
8679
8680 eval "$ac_cv_use_choicebook"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8683 fi
8684
8685 if test "$wxUSE_CHOICEBOOK" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687 echo "${ECHO_T}yes" >&6
8688 else
8689 echo "$as_me:$LINENO: result: no" >&5
8690 echo "${ECHO_T}no" >&6
8691 fi
8692
8693
8694 enablestring=
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8696 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8697 no_cache=0
8698 # Check whether --enable-collpane or --disable-collpane was given.
8699 if test "${enable_collpane+set}" = set; then
8700 enableval="$enable_collpane"
8701
8702 if test "$enableval" = yes; then
8703 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8704 else
8705 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8706 fi
8707
8708 else
8709
8710 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8713 else
8714 no_cache=1
8715 fi
8716
8717 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8718
8719 fi;
8720
8721 eval "$ac_cv_use_collpane"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8724 fi
8725
8726 if test "$wxUSE_COLLPANE" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728 echo "${ECHO_T}yes" >&6
8729 else
8730 echo "$as_me:$LINENO: result: no" >&5
8731 echo "${ECHO_T}no" >&6
8732 fi
8733
8734
8735 enablestring=
8736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8737 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8738 no_cache=0
8739 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8740 if test "${enable_colourpicker+set}" = set; then
8741 enableval="$enable_colourpicker"
8742
8743 if test "$enableval" = yes; then
8744 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8745 else
8746 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8747 fi
8748
8749 else
8750
8751 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
8752 if test "x$LINE" != x ; then
8753 eval "DEFAULT_$LINE"
8754 else
8755 no_cache=1
8756 fi
8757
8758 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8759
8760 fi;
8761
8762 eval "$ac_cv_use_colourpicker"
8763 if test "$no_cache" != 1; then
8764 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8765 fi
8766
8767 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8768 echo "$as_me:$LINENO: result: yes" >&5
8769 echo "${ECHO_T}yes" >&6
8770 else
8771 echo "$as_me:$LINENO: result: no" >&5
8772 echo "${ECHO_T}no" >&6
8773 fi
8774
8775
8776 enablestring=
8777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8778 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8779 no_cache=0
8780 # Check whether --enable-combobox or --disable-combobox was given.
8781 if test "${enable_combobox+set}" = set; then
8782 enableval="$enable_combobox"
8783
8784 if test "$enableval" = yes; then
8785 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8786 else
8787 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8788 fi
8789
8790 else
8791
8792 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
8793 if test "x$LINE" != x ; then
8794 eval "DEFAULT_$LINE"
8795 else
8796 no_cache=1
8797 fi
8798
8799 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8800
8801 fi;
8802
8803 eval "$ac_cv_use_combobox"
8804 if test "$no_cache" != 1; then
8805 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8806 fi
8807
8808 if test "$wxUSE_COMBOBOX" = yes; then
8809 echo "$as_me:$LINENO: result: yes" >&5
8810 echo "${ECHO_T}yes" >&6
8811 else
8812 echo "$as_me:$LINENO: result: no" >&5
8813 echo "${ECHO_T}no" >&6
8814 fi
8815
8816
8817 enablestring=
8818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8819 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8820 no_cache=0
8821 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8822 if test "${enable_comboctrl+set}" = set; then
8823 enableval="$enable_comboctrl"
8824
8825 if test "$enableval" = yes; then
8826 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8827 else
8828 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8829 fi
8830
8831 else
8832
8833 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
8834 if test "x$LINE" != x ; then
8835 eval "DEFAULT_$LINE"
8836 else
8837 no_cache=1
8838 fi
8839
8840 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8841
8842 fi;
8843
8844 eval "$ac_cv_use_comboctrl"
8845 if test "$no_cache" != 1; then
8846 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8847 fi
8848
8849 if test "$wxUSE_COMBOCTRL" = yes; then
8850 echo "$as_me:$LINENO: result: yes" >&5
8851 echo "${ECHO_T}yes" >&6
8852 else
8853 echo "$as_me:$LINENO: result: no" >&5
8854 echo "${ECHO_T}no" >&6
8855 fi
8856
8857
8858 enablestring=
8859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8860 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8861 no_cache=0
8862 # Check whether --enable-datepick or --disable-datepick was given.
8863 if test "${enable_datepick+set}" = set; then
8864 enableval="$enable_datepick"
8865
8866 if test "$enableval" = yes; then
8867 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8868 else
8869 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8870 fi
8871
8872 else
8873
8874 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
8875 if test "x$LINE" != x ; then
8876 eval "DEFAULT_$LINE"
8877 else
8878 no_cache=1
8879 fi
8880
8881 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8882
8883 fi;
8884
8885 eval "$ac_cv_use_datepick"
8886 if test "$no_cache" != 1; then
8887 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8888 fi
8889
8890 if test "$wxUSE_DATEPICKCTRL" = yes; then
8891 echo "$as_me:$LINENO: result: yes" >&5
8892 echo "${ECHO_T}yes" >&6
8893 else
8894 echo "$as_me:$LINENO: result: no" >&5
8895 echo "${ECHO_T}no" >&6
8896 fi
8897
8898
8899 enablestring=
8900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8901 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8902 no_cache=0
8903 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8904 if test "${enable_dirpicker+set}" = set; then
8905 enableval="$enable_dirpicker"
8906
8907 if test "$enableval" = yes; then
8908 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8909 else
8910 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8911 fi
8912
8913 else
8914
8915 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
8916 if test "x$LINE" != x ; then
8917 eval "DEFAULT_$LINE"
8918 else
8919 no_cache=1
8920 fi
8921
8922 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8923
8924 fi;
8925
8926 eval "$ac_cv_use_dirpicker"
8927 if test "$no_cache" != 1; then
8928 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8929 fi
8930
8931 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8932 echo "$as_me:$LINENO: result: yes" >&5
8933 echo "${ECHO_T}yes" >&6
8934 else
8935 echo "$as_me:$LINENO: result: no" >&5
8936 echo "${ECHO_T}no" >&6
8937 fi
8938
8939
8940 enablestring=
8941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8942 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8943 no_cache=0
8944 # Check whether --enable-display or --disable-display was given.
8945 if test "${enable_display+set}" = set; then
8946 enableval="$enable_display"
8947
8948 if test "$enableval" = yes; then
8949 ac_cv_use_display='wxUSE_DISPLAY=yes'
8950 else
8951 ac_cv_use_display='wxUSE_DISPLAY=no'
8952 fi
8953
8954 else
8955
8956 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
8957 if test "x$LINE" != x ; then
8958 eval "DEFAULT_$LINE"
8959 else
8960 no_cache=1
8961 fi
8962
8963 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8964
8965 fi;
8966
8967 eval "$ac_cv_use_display"
8968 if test "$no_cache" != 1; then
8969 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8970 fi
8971
8972 if test "$wxUSE_DISPLAY" = yes; then
8973 echo "$as_me:$LINENO: result: yes" >&5
8974 echo "${ECHO_T}yes" >&6
8975 else
8976 echo "$as_me:$LINENO: result: no" >&5
8977 echo "${ECHO_T}no" >&6
8978 fi
8979
8980
8981 enablestring=
8982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8983 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8984 no_cache=0
8985 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8986 if test "${enable_detect_sm+set}" = set; then
8987 enableval="$enable_detect_sm"
8988
8989 if test "$enableval" = yes; then
8990 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8991 else
8992 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8993 fi
8994
8995 else
8996
8997 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
8998 if test "x$LINE" != x ; then
8999 eval "DEFAULT_$LINE"
9000 else
9001 no_cache=1
9002 fi
9003
9004 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9005
9006 fi;
9007
9008 eval "$ac_cv_use_detect_sm"
9009 if test "$no_cache" != 1; then
9010 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9011 fi
9012
9013 if test "$wxUSE_DETECT_SM" = yes; then
9014 echo "$as_me:$LINENO: result: yes" >&5
9015 echo "${ECHO_T}yes" >&6
9016 else
9017 echo "$as_me:$LINENO: result: no" >&5
9018 echo "${ECHO_T}no" >&6
9019 fi
9020
9021
9022 enablestring=
9023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
9025 no_cache=0
9026 # Check whether --enable-editablebox or --disable-editablebox was given.
9027 if test "${enable_editablebox+set}" = set; then
9028 enableval="$enable_editablebox"
9029
9030 if test "$enableval" = yes; then
9031 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9032 else
9033 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9034 fi
9035
9036 else
9037
9038 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
9039 if test "x$LINE" != x ; then
9040 eval "DEFAULT_$LINE"
9041 else
9042 no_cache=1
9043 fi
9044
9045 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9046
9047 fi;
9048
9049 eval "$ac_cv_use_editablebox"
9050 if test "$no_cache" != 1; then
9051 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9052 fi
9053
9054 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9055 echo "$as_me:$LINENO: result: yes" >&5
9056 echo "${ECHO_T}yes" >&6
9057 else
9058 echo "$as_me:$LINENO: result: no" >&5
9059 echo "${ECHO_T}no" >&6
9060 fi
9061
9062
9063 enablestring=
9064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9065 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
9066 no_cache=0
9067 # Check whether --enable-filepicker or --disable-filepicker was given.
9068 if test "${enable_filepicker+set}" = set; then
9069 enableval="$enable_filepicker"
9070
9071 if test "$enableval" = yes; then
9072 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9073 else
9074 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9075 fi
9076
9077 else
9078
9079 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
9080 if test "x$LINE" != x ; then
9081 eval "DEFAULT_$LINE"
9082 else
9083 no_cache=1
9084 fi
9085
9086 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9087
9088 fi;
9089
9090 eval "$ac_cv_use_filepicker"
9091 if test "$no_cache" != 1; then
9092 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9093 fi
9094
9095 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9096 echo "$as_me:$LINENO: result: yes" >&5
9097 echo "${ECHO_T}yes" >&6
9098 else
9099 echo "$as_me:$LINENO: result: no" >&5
9100 echo "${ECHO_T}no" >&6
9101 fi
9102
9103
9104 enablestring=
9105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9106 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
9107 no_cache=0
9108 # Check whether --enable-fontpicker or --disable-fontpicker was given.
9109 if test "${enable_fontpicker+set}" = set; then
9110 enableval="$enable_fontpicker"
9111
9112 if test "$enableval" = yes; then
9113 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9114 else
9115 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9116 fi
9117
9118 else
9119
9120 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
9121 if test "x$LINE" != x ; then
9122 eval "DEFAULT_$LINE"
9123 else
9124 no_cache=1
9125 fi
9126
9127 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9128
9129 fi;
9130
9131 eval "$ac_cv_use_fontpicker"
9132 if test "$no_cache" != 1; then
9133 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9134 fi
9135
9136 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9137 echo "$as_me:$LINENO: result: yes" >&5
9138 echo "${ECHO_T}yes" >&6
9139 else
9140 echo "$as_me:$LINENO: result: no" >&5
9141 echo "${ECHO_T}no" >&6
9142 fi
9143
9144
9145 enablestring=
9146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9147 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
9148 no_cache=0
9149 # Check whether --enable-gauge or --disable-gauge was given.
9150 if test "${enable_gauge+set}" = set; then
9151 enableval="$enable_gauge"
9152
9153 if test "$enableval" = yes; then
9154 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9155 else
9156 ac_cv_use_gauge='wxUSE_GAUGE=no'
9157 fi
9158
9159 else
9160
9161 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
9162 if test "x$LINE" != x ; then
9163 eval "DEFAULT_$LINE"
9164 else
9165 no_cache=1
9166 fi
9167
9168 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9169
9170 fi;
9171
9172 eval "$ac_cv_use_gauge"
9173 if test "$no_cache" != 1; then
9174 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9175 fi
9176
9177 if test "$wxUSE_GAUGE" = yes; then
9178 echo "$as_me:$LINENO: result: yes" >&5
9179 echo "${ECHO_T}yes" >&6
9180 else
9181 echo "$as_me:$LINENO: result: no" >&5
9182 echo "${ECHO_T}no" >&6
9183 fi
9184
9185
9186 enablestring=
9187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9188 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
9189 no_cache=0
9190 # Check whether --enable-grid or --disable-grid was given.
9191 if test "${enable_grid+set}" = set; then
9192 enableval="$enable_grid"
9193
9194 if test "$enableval" = yes; then
9195 ac_cv_use_grid='wxUSE_GRID=yes'
9196 else
9197 ac_cv_use_grid='wxUSE_GRID=no'
9198 fi
9199
9200 else
9201
9202 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
9203 if test "x$LINE" != x ; then
9204 eval "DEFAULT_$LINE"
9205 else
9206 no_cache=1
9207 fi
9208
9209 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9210
9211 fi;
9212
9213 eval "$ac_cv_use_grid"
9214 if test "$no_cache" != 1; then
9215 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9216 fi
9217
9218 if test "$wxUSE_GRID" = yes; then
9219 echo "$as_me:$LINENO: result: yes" >&5
9220 echo "${ECHO_T}yes" >&6
9221 else
9222 echo "$as_me:$LINENO: result: no" >&5
9223 echo "${ECHO_T}no" >&6
9224 fi
9225
9226
9227 enablestring=
9228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9229 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
9230 no_cache=0
9231 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
9232 if test "${enable_dataviewctrl+set}" = set; then
9233 enableval="$enable_dataviewctrl"
9234
9235 if test "$enableval" = yes; then
9236 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9237 else
9238 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9239 fi
9240
9241 else
9242
9243 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
9244 if test "x$LINE" != x ; then
9245 eval "DEFAULT_$LINE"
9246 else
9247 no_cache=1
9248 fi
9249
9250 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9251
9252 fi;
9253
9254 eval "$ac_cv_use_dataviewctrl"
9255 if test "$no_cache" != 1; then
9256 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9257 fi
9258
9259 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9260 echo "$as_me:$LINENO: result: yes" >&5
9261 echo "${ECHO_T}yes" >&6
9262 else
9263 echo "$as_me:$LINENO: result: no" >&5
9264 echo "${ECHO_T}no" >&6
9265 fi
9266
9267
9268 enablestring=
9269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9270 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9271 no_cache=0
9272 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9273 if test "${enable_hyperlink+set}" = set; then
9274 enableval="$enable_hyperlink"
9275
9276 if test "$enableval" = yes; then
9277 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9278 else
9279 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9280 fi
9281
9282 else
9283
9284 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
9285 if test "x$LINE" != x ; then
9286 eval "DEFAULT_$LINE"
9287 else
9288 no_cache=1
9289 fi
9290
9291 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9292
9293 fi;
9294
9295 eval "$ac_cv_use_hyperlink"
9296 if test "$no_cache" != 1; then
9297 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9298 fi
9299
9300 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9301 echo "$as_me:$LINENO: result: yes" >&5
9302 echo "${ECHO_T}yes" >&6
9303 else
9304 echo "$as_me:$LINENO: result: no" >&5
9305 echo "${ECHO_T}no" >&6
9306 fi
9307
9308
9309 enablestring=
9310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9311 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9312 no_cache=0
9313 # Check whether --enable-imaglist or --disable-imaglist was given.
9314 if test "${enable_imaglist+set}" = set; then
9315 enableval="$enable_imaglist"
9316
9317 if test "$enableval" = yes; then
9318 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9319 else
9320 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9321 fi
9322
9323 else
9324
9325 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
9326 if test "x$LINE" != x ; then
9327 eval "DEFAULT_$LINE"
9328 else
9329 no_cache=1
9330 fi
9331
9332 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9333
9334 fi;
9335
9336 eval "$ac_cv_use_imaglist"
9337 if test "$no_cache" != 1; then
9338 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9339 fi
9340
9341 if test "$wxUSE_IMAGLIST" = yes; then
9342 echo "$as_me:$LINENO: result: yes" >&5
9343 echo "${ECHO_T}yes" >&6
9344 else
9345 echo "$as_me:$LINENO: result: no" >&5
9346 echo "${ECHO_T}no" >&6
9347 fi
9348
9349
9350 enablestring=
9351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9352 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9353 no_cache=0
9354 # Check whether --enable-listbook or --disable-listbook was given.
9355 if test "${enable_listbook+set}" = set; then
9356 enableval="$enable_listbook"
9357
9358 if test "$enableval" = yes; then
9359 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9360 else
9361 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9362 fi
9363
9364 else
9365
9366 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
9367 if test "x$LINE" != x ; then
9368 eval "DEFAULT_$LINE"
9369 else
9370 no_cache=1
9371 fi
9372
9373 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9374
9375 fi;
9376
9377 eval "$ac_cv_use_listbook"
9378 if test "$no_cache" != 1; then
9379 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9380 fi
9381
9382 if test "$wxUSE_LISTBOOK" = yes; then
9383 echo "$as_me:$LINENO: result: yes" >&5
9384 echo "${ECHO_T}yes" >&6
9385 else
9386 echo "$as_me:$LINENO: result: no" >&5
9387 echo "${ECHO_T}no" >&6
9388 fi
9389
9390
9391 enablestring=
9392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9393 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9394 no_cache=0
9395 # Check whether --enable-listbox or --disable-listbox was given.
9396 if test "${enable_listbox+set}" = set; then
9397 enableval="$enable_listbox"
9398
9399 if test "$enableval" = yes; then
9400 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9401 else
9402 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9403 fi
9404
9405 else
9406
9407 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
9408 if test "x$LINE" != x ; then
9409 eval "DEFAULT_$LINE"
9410 else
9411 no_cache=1
9412 fi
9413
9414 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9415
9416 fi;
9417
9418 eval "$ac_cv_use_listbox"
9419 if test "$no_cache" != 1; then
9420 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9421 fi
9422
9423 if test "$wxUSE_LISTBOX" = yes; then
9424 echo "$as_me:$LINENO: result: yes" >&5
9425 echo "${ECHO_T}yes" >&6
9426 else
9427 echo "$as_me:$LINENO: result: no" >&5
9428 echo "${ECHO_T}no" >&6
9429 fi
9430
9431
9432 enablestring=
9433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9434 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9435 no_cache=0
9436 # Check whether --enable-listctrl or --disable-listctrl was given.
9437 if test "${enable_listctrl+set}" = set; then
9438 enableval="$enable_listctrl"
9439
9440 if test "$enableval" = yes; then
9441 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9442 else
9443 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9444 fi
9445
9446 else
9447
9448 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
9449 if test "x$LINE" != x ; then
9450 eval "DEFAULT_$LINE"
9451 else
9452 no_cache=1
9453 fi
9454
9455 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9456
9457 fi;
9458
9459 eval "$ac_cv_use_listctrl"
9460 if test "$no_cache" != 1; then
9461 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9462 fi
9463
9464 if test "$wxUSE_LISTCTRL" = yes; then
9465 echo "$as_me:$LINENO: result: yes" >&5
9466 echo "${ECHO_T}yes" >&6
9467 else
9468 echo "$as_me:$LINENO: result: no" >&5
9469 echo "${ECHO_T}no" >&6
9470 fi
9471
9472
9473 enablestring=
9474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9475 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9476 no_cache=0
9477 # Check whether --enable-notebook or --disable-notebook was given.
9478 if test "${enable_notebook+set}" = set; then
9479 enableval="$enable_notebook"
9480
9481 if test "$enableval" = yes; then
9482 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9483 else
9484 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9485 fi
9486
9487 else
9488
9489 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
9490 if test "x$LINE" != x ; then
9491 eval "DEFAULT_$LINE"
9492 else
9493 no_cache=1
9494 fi
9495
9496 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9497
9498 fi;
9499
9500 eval "$ac_cv_use_notebook"
9501 if test "$no_cache" != 1; then
9502 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9503 fi
9504
9505 if test "$wxUSE_NOTEBOOK" = yes; then
9506 echo "$as_me:$LINENO: result: yes" >&5
9507 echo "${ECHO_T}yes" >&6
9508 else
9509 echo "$as_me:$LINENO: result: no" >&5
9510 echo "${ECHO_T}no" >&6
9511 fi
9512
9513
9514 enablestring=
9515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9516 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9517 no_cache=0
9518 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9519 if test "${enable_odcombobox+set}" = set; then
9520 enableval="$enable_odcombobox"
9521
9522 if test "$enableval" = yes; then
9523 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9524 else
9525 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9526 fi
9527
9528 else
9529
9530 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
9531 if test "x$LINE" != x ; then
9532 eval "DEFAULT_$LINE"
9533 else
9534 no_cache=1
9535 fi
9536
9537 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9538
9539 fi;
9540
9541 eval "$ac_cv_use_odcombobox"
9542 if test "$no_cache" != 1; then
9543 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9544 fi
9545
9546 if test "$wxUSE_ODCOMBOBOX" = yes; then
9547 echo "$as_me:$LINENO: result: yes" >&5
9548 echo "${ECHO_T}yes" >&6
9549 else
9550 echo "$as_me:$LINENO: result: no" >&5
9551 echo "${ECHO_T}no" >&6
9552 fi
9553
9554
9555 enablestring=
9556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9557 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9558 no_cache=0
9559 # Check whether --enable-radiobox or --disable-radiobox was given.
9560 if test "${enable_radiobox+set}" = set; then
9561 enableval="$enable_radiobox"
9562
9563 if test "$enableval" = yes; then
9564 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9565 else
9566 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9567 fi
9568
9569 else
9570
9571 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
9572 if test "x$LINE" != x ; then
9573 eval "DEFAULT_$LINE"
9574 else
9575 no_cache=1
9576 fi
9577
9578 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9579
9580 fi;
9581
9582 eval "$ac_cv_use_radiobox"
9583 if test "$no_cache" != 1; then
9584 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9585 fi
9586
9587 if test "$wxUSE_RADIOBOX" = yes; then
9588 echo "$as_me:$LINENO: result: yes" >&5
9589 echo "${ECHO_T}yes" >&6
9590 else
9591 echo "$as_me:$LINENO: result: no" >&5
9592 echo "${ECHO_T}no" >&6
9593 fi
9594
9595
9596 enablestring=
9597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9598 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9599 no_cache=0
9600 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9601 if test "${enable_radiobtn+set}" = set; then
9602 enableval="$enable_radiobtn"
9603
9604 if test "$enableval" = yes; then
9605 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9606 else
9607 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9608 fi
9609
9610 else
9611
9612 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
9613 if test "x$LINE" != x ; then
9614 eval "DEFAULT_$LINE"
9615 else
9616 no_cache=1
9617 fi
9618
9619 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9620
9621 fi;
9622
9623 eval "$ac_cv_use_radiobtn"
9624 if test "$no_cache" != 1; then
9625 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9626 fi
9627
9628 if test "$wxUSE_RADIOBTN" = yes; then
9629 echo "$as_me:$LINENO: result: yes" >&5
9630 echo "${ECHO_T}yes" >&6
9631 else
9632 echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6
9634 fi
9635
9636
9637 enablestring=
9638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9640 no_cache=0
9641 # Check whether --enable-sash or --disable-sash was given.
9642 if test "${enable_sash+set}" = set; then
9643 enableval="$enable_sash"
9644
9645 if test "$enableval" = yes; then
9646 ac_cv_use_sash='wxUSE_SASH=yes'
9647 else
9648 ac_cv_use_sash='wxUSE_SASH=no'
9649 fi
9650
9651 else
9652
9653 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
9654 if test "x$LINE" != x ; then
9655 eval "DEFAULT_$LINE"
9656 else
9657 no_cache=1
9658 fi
9659
9660 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9661
9662 fi;
9663
9664 eval "$ac_cv_use_sash"
9665 if test "$no_cache" != 1; then
9666 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9667 fi
9668
9669 if test "$wxUSE_SASH" = yes; then
9670 echo "$as_me:$LINENO: result: yes" >&5
9671 echo "${ECHO_T}yes" >&6
9672 else
9673 echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6
9675 fi
9676
9677
9678 enablestring=
9679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9680 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9681 no_cache=0
9682 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9683 if test "${enable_scrollbar+set}" = set; then
9684 enableval="$enable_scrollbar"
9685
9686 if test "$enableval" = yes; then
9687 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9688 else
9689 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9690 fi
9691
9692 else
9693
9694 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
9695 if test "x$LINE" != x ; then
9696 eval "DEFAULT_$LINE"
9697 else
9698 no_cache=1
9699 fi
9700
9701 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9702
9703 fi;
9704
9705 eval "$ac_cv_use_scrollbar"
9706 if test "$no_cache" != 1; then
9707 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9708 fi
9709
9710 if test "$wxUSE_SCROLLBAR" = yes; then
9711 echo "$as_me:$LINENO: result: yes" >&5
9712 echo "${ECHO_T}yes" >&6
9713 else
9714 echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6
9716 fi
9717
9718
9719 enablestring=
9720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
9721 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
9722 no_cache=0
9723 # Check whether --enable-searchctrl or --disable-searchctrl was given.
9724 if test "${enable_searchctrl+set}" = set; then
9725 enableval="$enable_searchctrl"
9726
9727 if test "$enableval" = yes; then
9728 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
9729 else
9730 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
9731 fi
9732
9733 else
9734
9735 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
9736 if test "x$LINE" != x ; then
9737 eval "DEFAULT_$LINE"
9738 else
9739 no_cache=1
9740 fi
9741
9742 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
9743
9744 fi;
9745
9746 eval "$ac_cv_use_searchctrl"
9747 if test "$no_cache" != 1; then
9748 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
9749 fi
9750
9751 if test "$wxUSE_SEARCHCTRL" = yes; then
9752 echo "$as_me:$LINENO: result: yes" >&5
9753 echo "${ECHO_T}yes" >&6
9754 else
9755 echo "$as_me:$LINENO: result: no" >&5
9756 echo "${ECHO_T}no" >&6
9757 fi
9758
9759
9760 enablestring=
9761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9763 no_cache=0
9764 # Check whether --enable-slider or --disable-slider was given.
9765 if test "${enable_slider+set}" = set; then
9766 enableval="$enable_slider"
9767
9768 if test "$enableval" = yes; then
9769 ac_cv_use_slider='wxUSE_SLIDER=yes'
9770 else
9771 ac_cv_use_slider='wxUSE_SLIDER=no'
9772 fi
9773
9774 else
9775
9776 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
9777 if test "x$LINE" != x ; then
9778 eval "DEFAULT_$LINE"
9779 else
9780 no_cache=1
9781 fi
9782
9783 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9784
9785 fi;
9786
9787 eval "$ac_cv_use_slider"
9788 if test "$no_cache" != 1; then
9789 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9790 fi
9791
9792 if test "$wxUSE_SLIDER" = yes; then
9793 echo "$as_me:$LINENO: result: yes" >&5
9794 echo "${ECHO_T}yes" >&6
9795 else
9796 echo "$as_me:$LINENO: result: no" >&5
9797 echo "${ECHO_T}no" >&6
9798 fi
9799
9800
9801 enablestring=
9802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9803 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9804 no_cache=0
9805 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9806 if test "${enable_spinbtn+set}" = set; then
9807 enableval="$enable_spinbtn"
9808
9809 if test "$enableval" = yes; then
9810 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9811 else
9812 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9813 fi
9814
9815 else
9816
9817 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
9818 if test "x$LINE" != x ; then
9819 eval "DEFAULT_$LINE"
9820 else
9821 no_cache=1
9822 fi
9823
9824 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9825
9826 fi;
9827
9828 eval "$ac_cv_use_spinbtn"
9829 if test "$no_cache" != 1; then
9830 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9831 fi
9832
9833 if test "$wxUSE_SPINBTN" = yes; then
9834 echo "$as_me:$LINENO: result: yes" >&5
9835 echo "${ECHO_T}yes" >&6
9836 else
9837 echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6
9839 fi
9840
9841
9842 enablestring=
9843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9844 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9845 no_cache=0
9846 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9847 if test "${enable_spinctrl+set}" = set; then
9848 enableval="$enable_spinctrl"
9849
9850 if test "$enableval" = yes; then
9851 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9852 else
9853 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9854 fi
9855
9856 else
9857
9858 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
9859 if test "x$LINE" != x ; then
9860 eval "DEFAULT_$LINE"
9861 else
9862 no_cache=1
9863 fi
9864
9865 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9866
9867 fi;
9868
9869 eval "$ac_cv_use_spinctrl"
9870 if test "$no_cache" != 1; then
9871 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9872 fi
9873
9874 if test "$wxUSE_SPINCTRL" = yes; then
9875 echo "$as_me:$LINENO: result: yes" >&5
9876 echo "${ECHO_T}yes" >&6
9877 else
9878 echo "$as_me:$LINENO: result: no" >&5
9879 echo "${ECHO_T}no" >&6
9880 fi
9881
9882
9883 enablestring=
9884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9885 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9886 no_cache=0
9887 # Check whether --enable-splitter or --disable-splitter was given.
9888 if test "${enable_splitter+set}" = set; then
9889 enableval="$enable_splitter"
9890
9891 if test "$enableval" = yes; then
9892 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9893 else
9894 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9895 fi
9896
9897 else
9898
9899 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
9900 if test "x$LINE" != x ; then
9901 eval "DEFAULT_$LINE"
9902 else
9903 no_cache=1
9904 fi
9905
9906 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9907
9908 fi;
9909
9910 eval "$ac_cv_use_splitter"
9911 if test "$no_cache" != 1; then
9912 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9913 fi
9914
9915 if test "$wxUSE_SPLITTER" = yes; then
9916 echo "$as_me:$LINENO: result: yes" >&5
9917 echo "${ECHO_T}yes" >&6
9918 else
9919 echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6
9921 fi
9922
9923
9924 enablestring=
9925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9926 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9927 no_cache=0
9928 # Check whether --enable-statbmp or --disable-statbmp was given.
9929 if test "${enable_statbmp+set}" = set; then
9930 enableval="$enable_statbmp"
9931
9932 if test "$enableval" = yes; then
9933 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9934 else
9935 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9936 fi
9937
9938 else
9939
9940 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
9941 if test "x$LINE" != x ; then
9942 eval "DEFAULT_$LINE"
9943 else
9944 no_cache=1
9945 fi
9946
9947 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9948
9949 fi;
9950
9951 eval "$ac_cv_use_statbmp"
9952 if test "$no_cache" != 1; then
9953 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9954 fi
9955
9956 if test "$wxUSE_STATBMP" = yes; then
9957 echo "$as_me:$LINENO: result: yes" >&5
9958 echo "${ECHO_T}yes" >&6
9959 else
9960 echo "$as_me:$LINENO: result: no" >&5
9961 echo "${ECHO_T}no" >&6
9962 fi
9963
9964
9965 enablestring=
9966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9967 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9968 no_cache=0
9969 # Check whether --enable-statbox or --disable-statbox was given.
9970 if test "${enable_statbox+set}" = set; then
9971 enableval="$enable_statbox"
9972
9973 if test "$enableval" = yes; then
9974 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9975 else
9976 ac_cv_use_statbox='wxUSE_STATBOX=no'
9977 fi
9978
9979 else
9980
9981 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
9982 if test "x$LINE" != x ; then
9983 eval "DEFAULT_$LINE"
9984 else
9985 no_cache=1
9986 fi
9987
9988 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9989
9990 fi;
9991
9992 eval "$ac_cv_use_statbox"
9993 if test "$no_cache" != 1; then
9994 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9995 fi
9996
9997 if test "$wxUSE_STATBOX" = yes; then
9998 echo "$as_me:$LINENO: result: yes" >&5
9999 echo "${ECHO_T}yes" >&6
10000 else
10001 echo "$as_me:$LINENO: result: no" >&5
10002 echo "${ECHO_T}no" >&6
10003 fi
10004
10005
10006 enablestring=
10007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10008 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
10009 no_cache=0
10010 # Check whether --enable-statline or --disable-statline was given.
10011 if test "${enable_statline+set}" = set; then
10012 enableval="$enable_statline"
10013
10014 if test "$enableval" = yes; then
10015 ac_cv_use_statline='wxUSE_STATLINE=yes'
10016 else
10017 ac_cv_use_statline='wxUSE_STATLINE=no'
10018 fi
10019
10020 else
10021
10022 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
10023 if test "x$LINE" != x ; then
10024 eval "DEFAULT_$LINE"
10025 else
10026 no_cache=1
10027 fi
10028
10029 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10030
10031 fi;
10032
10033 eval "$ac_cv_use_statline"
10034 if test "$no_cache" != 1; then
10035 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10036 fi
10037
10038 if test "$wxUSE_STATLINE" = yes; then
10039 echo "$as_me:$LINENO: result: yes" >&5
10040 echo "${ECHO_T}yes" >&6
10041 else
10042 echo "$as_me:$LINENO: result: no" >&5
10043 echo "${ECHO_T}no" >&6
10044 fi
10045
10046
10047 enablestring=
10048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10049 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
10050 no_cache=0
10051 # Check whether --enable-stattext or --disable-stattext was given.
10052 if test "${enable_stattext+set}" = set; then
10053 enableval="$enable_stattext"
10054
10055 if test "$enableval" = yes; then
10056 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10057 else
10058 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10059 fi
10060
10061 else
10062
10063 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
10064 if test "x$LINE" != x ; then
10065 eval "DEFAULT_$LINE"
10066 else
10067 no_cache=1
10068 fi
10069
10070 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10071
10072 fi;
10073
10074 eval "$ac_cv_use_stattext"
10075 if test "$no_cache" != 1; then
10076 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10077 fi
10078
10079 if test "$wxUSE_STATTEXT" = yes; then
10080 echo "$as_me:$LINENO: result: yes" >&5
10081 echo "${ECHO_T}yes" >&6
10082 else
10083 echo "$as_me:$LINENO: result: no" >&5
10084 echo "${ECHO_T}no" >&6
10085 fi
10086
10087
10088 enablestring=
10089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10090 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
10091 no_cache=0
10092 # Check whether --enable-statusbar or --disable-statusbar was given.
10093 if test "${enable_statusbar+set}" = set; then
10094 enableval="$enable_statusbar"
10095
10096 if test "$enableval" = yes; then
10097 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10098 else
10099 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10100 fi
10101
10102 else
10103
10104 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
10105 if test "x$LINE" != x ; then
10106 eval "DEFAULT_$LINE"
10107 else
10108 no_cache=1
10109 fi
10110
10111 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10112
10113 fi;
10114
10115 eval "$ac_cv_use_statusbar"
10116 if test "$no_cache" != 1; then
10117 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10118 fi
10119
10120 if test "$wxUSE_STATUSBAR" = yes; then
10121 echo "$as_me:$LINENO: result: yes" >&5
10122 echo "${ECHO_T}yes" >&6
10123 else
10124 echo "$as_me:$LINENO: result: no" >&5
10125 echo "${ECHO_T}no" >&6
10126 fi
10127
10128
10129 enablestring=
10130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10131 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
10132 no_cache=0
10133 # Check whether --enable-tabdialog or --disable-tabdialog was given.
10134 if test "${enable_tabdialog+set}" = set; then
10135 enableval="$enable_tabdialog"
10136
10137 if test "$enableval" = yes; then
10138 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10139 else
10140 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10141 fi
10142
10143 else
10144
10145 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
10146 if test "x$LINE" != x ; then
10147 eval "DEFAULT_$LINE"
10148 else
10149 no_cache=1
10150 fi
10151
10152 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10153
10154 fi;
10155
10156 eval "$ac_cv_use_tabdialog"
10157 if test "$no_cache" != 1; then
10158 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10159 fi
10160
10161 if test "$wxUSE_TAB_DIALOG" = yes; then
10162 echo "$as_me:$LINENO: result: yes" >&5
10163 echo "${ECHO_T}yes" >&6
10164 else
10165 echo "$as_me:$LINENO: result: no" >&5
10166 echo "${ECHO_T}no" >&6
10167 fi
10168
10169
10170 enablestring=
10171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10172 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
10173 no_cache=0
10174 # Check whether --enable-textctrl or --disable-textctrl was given.
10175 if test "${enable_textctrl+set}" = set; then
10176 enableval="$enable_textctrl"
10177
10178 if test "$enableval" = yes; then
10179 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10180 else
10181 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10182 fi
10183
10184 else
10185
10186 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
10187 if test "x$LINE" != x ; then
10188 eval "DEFAULT_$LINE"
10189 else
10190 no_cache=1
10191 fi
10192
10193 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10194
10195 fi;
10196
10197 eval "$ac_cv_use_textctrl"
10198 if test "$no_cache" != 1; then
10199 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10200 fi
10201
10202 if test "$wxUSE_TEXTCTRL" = yes; then
10203 echo "$as_me:$LINENO: result: yes" >&5
10204 echo "${ECHO_T}yes" >&6
10205 else
10206 echo "$as_me:$LINENO: result: no" >&5
10207 echo "${ECHO_T}no" >&6
10208 fi
10209
10210
10211 enablestring=
10212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10213 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
10214 no_cache=0
10215 # Check whether --enable-togglebtn or --disable-togglebtn was given.
10216 if test "${enable_togglebtn+set}" = set; then
10217 enableval="$enable_togglebtn"
10218
10219 if test "$enableval" = yes; then
10220 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10221 else
10222 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10223 fi
10224
10225 else
10226
10227 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
10228 if test "x$LINE" != x ; then
10229 eval "DEFAULT_$LINE"
10230 else
10231 no_cache=1
10232 fi
10233
10234 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10235
10236 fi;
10237
10238 eval "$ac_cv_use_togglebtn"
10239 if test "$no_cache" != 1; then
10240 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10241 fi
10242
10243 if test "$wxUSE_TOGGLEBTN" = yes; then
10244 echo "$as_me:$LINENO: result: yes" >&5
10245 echo "${ECHO_T}yes" >&6
10246 else
10247 echo "$as_me:$LINENO: result: no" >&5
10248 echo "${ECHO_T}no" >&6
10249 fi
10250
10251
10252 enablestring=
10253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10254 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
10255 no_cache=0
10256 # Check whether --enable-toolbar or --disable-toolbar was given.
10257 if test "${enable_toolbar+set}" = set; then
10258 enableval="$enable_toolbar"
10259
10260 if test "$enableval" = yes; then
10261 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10262 else
10263 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10264 fi
10265
10266 else
10267
10268 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
10269 if test "x$LINE" != x ; then
10270 eval "DEFAULT_$LINE"
10271 else
10272 no_cache=1
10273 fi
10274
10275 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10276
10277 fi;
10278
10279 eval "$ac_cv_use_toolbar"
10280 if test "$no_cache" != 1; then
10281 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10282 fi
10283
10284 if test "$wxUSE_TOOLBAR" = yes; then
10285 echo "$as_me:$LINENO: result: yes" >&5
10286 echo "${ECHO_T}yes" >&6
10287 else
10288 echo "$as_me:$LINENO: result: no" >&5
10289 echo "${ECHO_T}no" >&6
10290 fi
10291
10292
10293 enablestring=
10294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10295 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10296 no_cache=0
10297 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10298 if test "${enable_tbarnative+set}" = set; then
10299 enableval="$enable_tbarnative"
10300
10301 if test "$enableval" = yes; then
10302 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10303 else
10304 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10305 fi
10306
10307 else
10308
10309 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
10310 if test "x$LINE" != x ; then
10311 eval "DEFAULT_$LINE"
10312 else
10313 no_cache=1
10314 fi
10315
10316 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10317
10318 fi;
10319
10320 eval "$ac_cv_use_tbarnative"
10321 if test "$no_cache" != 1; then
10322 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10323 fi
10324
10325 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10326 echo "$as_me:$LINENO: result: yes" >&5
10327 echo "${ECHO_T}yes" >&6
10328 else
10329 echo "$as_me:$LINENO: result: no" >&5
10330 echo "${ECHO_T}no" >&6
10331 fi
10332
10333
10334 enablestring=
10335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10336 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10337 no_cache=0
10338 # Check whether --enable-treebook or --disable-treebook was given.
10339 if test "${enable_treebook+set}" = set; then
10340 enableval="$enable_treebook"
10341
10342 if test "$enableval" = yes; then
10343 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10344 else
10345 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10346 fi
10347
10348 else
10349
10350 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
10351 if test "x$LINE" != x ; then
10352 eval "DEFAULT_$LINE"
10353 else
10354 no_cache=1
10355 fi
10356
10357 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10358
10359 fi;
10360
10361 eval "$ac_cv_use_treebook"
10362 if test "$no_cache" != 1; then
10363 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10364 fi
10365
10366 if test "$wxUSE_TREEBOOK" = yes; then
10367 echo "$as_me:$LINENO: result: yes" >&5
10368 echo "${ECHO_T}yes" >&6
10369 else
10370 echo "$as_me:$LINENO: result: no" >&5
10371 echo "${ECHO_T}no" >&6
10372 fi
10373
10374
10375 enablestring=
10376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10377 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10378 no_cache=0
10379 # Check whether --enable-toolbook or --disable-toolbook was given.
10380 if test "${enable_toolbook+set}" = set; then
10381 enableval="$enable_toolbook"
10382
10383 if test "$enableval" = yes; then
10384 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10385 else
10386 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10387 fi
10388
10389 else
10390
10391 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
10392 if test "x$LINE" != x ; then
10393 eval "DEFAULT_$LINE"
10394 else
10395 no_cache=1
10396 fi
10397
10398 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10399
10400 fi;
10401
10402 eval "$ac_cv_use_toolbook"
10403 if test "$no_cache" != 1; then
10404 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10405 fi
10406
10407 if test "$wxUSE_TOOLBOOK" = yes; then
10408 echo "$as_me:$LINENO: result: yes" >&5
10409 echo "${ECHO_T}yes" >&6
10410 else
10411 echo "$as_me:$LINENO: result: no" >&5
10412 echo "${ECHO_T}no" >&6
10413 fi
10414
10415
10416 enablestring=
10417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10418 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10419 no_cache=0
10420 # Check whether --enable-treectrl or --disable-treectrl was given.
10421 if test "${enable_treectrl+set}" = set; then
10422 enableval="$enable_treectrl"
10423
10424 if test "$enableval" = yes; then
10425 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10426 else
10427 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10428 fi
10429
10430 else
10431
10432 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
10433 if test "x$LINE" != x ; then
10434 eval "DEFAULT_$LINE"
10435 else
10436 no_cache=1
10437 fi
10438
10439 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10440
10441 fi;
10442
10443 eval "$ac_cv_use_treectrl"
10444 if test "$no_cache" != 1; then
10445 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10446 fi
10447
10448 if test "$wxUSE_TREECTRL" = yes; then
10449 echo "$as_me:$LINENO: result: yes" >&5
10450 echo "${ECHO_T}yes" >&6
10451 else
10452 echo "$as_me:$LINENO: result: no" >&5
10453 echo "${ECHO_T}no" >&6
10454 fi
10455
10456
10457 enablestring=
10458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10459 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10460 no_cache=0
10461 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10462 if test "${enable_tipwindow+set}" = set; then
10463 enableval="$enable_tipwindow"
10464
10465 if test "$enableval" = yes; then
10466 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10467 else
10468 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10469 fi
10470
10471 else
10472
10473 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
10474 if test "x$LINE" != x ; then
10475 eval "DEFAULT_$LINE"
10476 else
10477 no_cache=1
10478 fi
10479
10480 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10481
10482 fi;
10483
10484 eval "$ac_cv_use_tipwindow"
10485 if test "$no_cache" != 1; then
10486 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10487 fi
10488
10489 if test "$wxUSE_TIPWINDOW" = yes; then
10490 echo "$as_me:$LINENO: result: yes" >&5
10491 echo "${ECHO_T}yes" >&6
10492 else
10493 echo "$as_me:$LINENO: result: no" >&5
10494 echo "${ECHO_T}no" >&6
10495 fi
10496
10497
10498 enablestring=
10499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10501 no_cache=0
10502 # Check whether --enable-popupwin or --disable-popupwin was given.
10503 if test "${enable_popupwin+set}" = set; then
10504 enableval="$enable_popupwin"
10505
10506 if test "$enableval" = yes; then
10507 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10508 else
10509 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10510 fi
10511
10512 else
10513
10514 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
10515 if test "x$LINE" != x ; then
10516 eval "DEFAULT_$LINE"
10517 else
10518 no_cache=1
10519 fi
10520
10521 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10522
10523 fi;
10524
10525 eval "$ac_cv_use_popupwin"
10526 if test "$no_cache" != 1; then
10527 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10528 fi
10529
10530 if test "$wxUSE_POPUPWIN" = yes; then
10531 echo "$as_me:$LINENO: result: yes" >&5
10532 echo "${ECHO_T}yes" >&6
10533 else
10534 echo "$as_me:$LINENO: result: no" >&5
10535 echo "${ECHO_T}no" >&6
10536 fi
10537
10538
10539
10540
10541 enablestring=
10542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10543 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10544 no_cache=0
10545 # Check whether --enable-commondlg or --disable-commondlg was given.
10546 if test "${enable_commondlg+set}" = set; then
10547 enableval="$enable_commondlg"
10548
10549 if test "$enableval" = yes; then
10550 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10551 else
10552 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10553 fi
10554
10555 else
10556
10557 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
10558 if test "x$LINE" != x ; then
10559 eval "DEFAULT_$LINE"
10560 else
10561 no_cache=1
10562 fi
10563
10564 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10565
10566 fi;
10567
10568 eval "$ac_cv_use_commondlg"
10569 if test "$no_cache" != 1; then
10570 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10571 fi
10572
10573 if test "$wxUSE_COMMONDLGS" = yes; then
10574 echo "$as_me:$LINENO: result: yes" >&5
10575 echo "${ECHO_T}yes" >&6
10576 else
10577 echo "$as_me:$LINENO: result: no" >&5
10578 echo "${ECHO_T}no" >&6
10579 fi
10580
10581
10582 enablestring=
10583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10584 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10585 no_cache=0
10586 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10587 if test "${enable_aboutdlg+set}" = set; then
10588 enableval="$enable_aboutdlg"
10589
10590 if test "$enableval" = yes; then
10591 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10592 else
10593 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10594 fi
10595
10596 else
10597
10598 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
10599 if test "x$LINE" != x ; then
10600 eval "DEFAULT_$LINE"
10601 else
10602 no_cache=1
10603 fi
10604
10605 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10606
10607 fi;
10608
10609 eval "$ac_cv_use_aboutdlg"
10610 if test "$no_cache" != 1; then
10611 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10612 fi
10613
10614 if test "$wxUSE_ABOUTDLG" = yes; then
10615 echo "$as_me:$LINENO: result: yes" >&5
10616 echo "${ECHO_T}yes" >&6
10617 else
10618 echo "$as_me:$LINENO: result: no" >&5
10619 echo "${ECHO_T}no" >&6
10620 fi
10621
10622
10623 enablestring=
10624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10625 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10626 no_cache=0
10627 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10628 if test "${enable_choicedlg+set}" = set; then
10629 enableval="$enable_choicedlg"
10630
10631 if test "$enableval" = yes; then
10632 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10633 else
10634 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10635 fi
10636
10637 else
10638
10639 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
10640 if test "x$LINE" != x ; then
10641 eval "DEFAULT_$LINE"
10642 else
10643 no_cache=1
10644 fi
10645
10646 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10647
10648 fi;
10649
10650 eval "$ac_cv_use_choicedlg"
10651 if test "$no_cache" != 1; then
10652 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10653 fi
10654
10655 if test "$wxUSE_CHOICEDLG" = yes; then
10656 echo "$as_me:$LINENO: result: yes" >&5
10657 echo "${ECHO_T}yes" >&6
10658 else
10659 echo "$as_me:$LINENO: result: no" >&5
10660 echo "${ECHO_T}no" >&6
10661 fi
10662
10663
10664 enablestring=
10665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10666 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10667 no_cache=0
10668 # Check whether --enable-coldlg or --disable-coldlg was given.
10669 if test "${enable_coldlg+set}" = set; then
10670 enableval="$enable_coldlg"
10671
10672 if test "$enableval" = yes; then
10673 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10674 else
10675 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10676 fi
10677
10678 else
10679
10680 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
10681 if test "x$LINE" != x ; then
10682 eval "DEFAULT_$LINE"
10683 else
10684 no_cache=1
10685 fi
10686
10687 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10688
10689 fi;
10690
10691 eval "$ac_cv_use_coldlg"
10692 if test "$no_cache" != 1; then
10693 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10694 fi
10695
10696 if test "$wxUSE_COLOURDLG" = yes; then
10697 echo "$as_me:$LINENO: result: yes" >&5
10698 echo "${ECHO_T}yes" >&6
10699 else
10700 echo "$as_me:$LINENO: result: no" >&5
10701 echo "${ECHO_T}no" >&6
10702 fi
10703
10704
10705 enablestring=
10706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10707 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10708 no_cache=0
10709 # Check whether --enable-filedlg or --disable-filedlg was given.
10710 if test "${enable_filedlg+set}" = set; then
10711 enableval="$enable_filedlg"
10712
10713 if test "$enableval" = yes; then
10714 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10715 else
10716 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10717 fi
10718
10719 else
10720
10721 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
10722 if test "x$LINE" != x ; then
10723 eval "DEFAULT_$LINE"
10724 else
10725 no_cache=1
10726 fi
10727
10728 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10729
10730 fi;
10731
10732 eval "$ac_cv_use_filedlg"
10733 if test "$no_cache" != 1; then
10734 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10735 fi
10736
10737 if test "$wxUSE_FILEDLG" = yes; then
10738 echo "$as_me:$LINENO: result: yes" >&5
10739 echo "${ECHO_T}yes" >&6
10740 else
10741 echo "$as_me:$LINENO: result: no" >&5
10742 echo "${ECHO_T}no" >&6
10743 fi
10744
10745
10746 enablestring=
10747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10748 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10749 no_cache=0
10750 # Check whether --enable-finddlg or --disable-finddlg was given.
10751 if test "${enable_finddlg+set}" = set; then
10752 enableval="$enable_finddlg"
10753
10754 if test "$enableval" = yes; then
10755 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10756 else
10757 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10758 fi
10759
10760 else
10761
10762 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
10763 if test "x$LINE" != x ; then
10764 eval "DEFAULT_$LINE"
10765 else
10766 no_cache=1
10767 fi
10768
10769 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10770
10771 fi;
10772
10773 eval "$ac_cv_use_finddlg"
10774 if test "$no_cache" != 1; then
10775 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10776 fi
10777
10778 if test "$wxUSE_FINDREPLDLG" = yes; then
10779 echo "$as_me:$LINENO: result: yes" >&5
10780 echo "${ECHO_T}yes" >&6
10781 else
10782 echo "$as_me:$LINENO: result: no" >&5
10783 echo "${ECHO_T}no" >&6
10784 fi
10785
10786
10787 enablestring=
10788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10789 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10790 no_cache=0
10791 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10792 if test "${enable_fontdlg+set}" = set; then
10793 enableval="$enable_fontdlg"
10794
10795 if test "$enableval" = yes; then
10796 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10797 else
10798 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10799 fi
10800
10801 else
10802
10803 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
10804 if test "x$LINE" != x ; then
10805 eval "DEFAULT_$LINE"
10806 else
10807 no_cache=1
10808 fi
10809
10810 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10811
10812 fi;
10813
10814 eval "$ac_cv_use_fontdlg"
10815 if test "$no_cache" != 1; then
10816 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10817 fi
10818
10819 if test "$wxUSE_FONTDLG" = yes; then
10820 echo "$as_me:$LINENO: result: yes" >&5
10821 echo "${ECHO_T}yes" >&6
10822 else
10823 echo "$as_me:$LINENO: result: no" >&5
10824 echo "${ECHO_T}no" >&6
10825 fi
10826
10827
10828 enablestring=
10829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10830 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10831 no_cache=0
10832 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10833 if test "${enable_dirdlg+set}" = set; then
10834 enableval="$enable_dirdlg"
10835
10836 if test "$enableval" = yes; then
10837 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10838 else
10839 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10840 fi
10841
10842 else
10843
10844 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
10845 if test "x$LINE" != x ; then
10846 eval "DEFAULT_$LINE"
10847 else
10848 no_cache=1
10849 fi
10850
10851 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10852
10853 fi;
10854
10855 eval "$ac_cv_use_dirdlg"
10856 if test "$no_cache" != 1; then
10857 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10858 fi
10859
10860 if test "$wxUSE_DIRDLG" = yes; then
10861 echo "$as_me:$LINENO: result: yes" >&5
10862 echo "${ECHO_T}yes" >&6
10863 else
10864 echo "$as_me:$LINENO: result: no" >&5
10865 echo "${ECHO_T}no" >&6
10866 fi
10867
10868
10869 enablestring=
10870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10871 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10872 no_cache=0
10873 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10874 if test "${enable_msgdlg+set}" = set; then
10875 enableval="$enable_msgdlg"
10876
10877 if test "$enableval" = yes; then
10878 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10879 else
10880 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10881 fi
10882
10883 else
10884
10885 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
10886 if test "x$LINE" != x ; then
10887 eval "DEFAULT_$LINE"
10888 else
10889 no_cache=1
10890 fi
10891
10892 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10893
10894 fi;
10895
10896 eval "$ac_cv_use_msgdlg"
10897 if test "$no_cache" != 1; then
10898 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10899 fi
10900
10901 if test "$wxUSE_MSGDLG" = yes; then
10902 echo "$as_me:$LINENO: result: yes" >&5
10903 echo "${ECHO_T}yes" >&6
10904 else
10905 echo "$as_me:$LINENO: result: no" >&5
10906 echo "${ECHO_T}no" >&6
10907 fi
10908
10909
10910 enablestring=
10911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10912 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10913 no_cache=0
10914 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10915 if test "${enable_numberdlg+set}" = set; then
10916 enableval="$enable_numberdlg"
10917
10918 if test "$enableval" = yes; then
10919 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10920 else
10921 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10922 fi
10923
10924 else
10925
10926 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
10927 if test "x$LINE" != x ; then
10928 eval "DEFAULT_$LINE"
10929 else
10930 no_cache=1
10931 fi
10932
10933 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10934
10935 fi;
10936
10937 eval "$ac_cv_use_numberdlg"
10938 if test "$no_cache" != 1; then
10939 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10940 fi
10941
10942 if test "$wxUSE_NUMBERDLG" = yes; then
10943 echo "$as_me:$LINENO: result: yes" >&5
10944 echo "${ECHO_T}yes" >&6
10945 else
10946 echo "$as_me:$LINENO: result: no" >&5
10947 echo "${ECHO_T}no" >&6
10948 fi
10949
10950
10951 enablestring=
10952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10953 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10954 no_cache=0
10955 # Check whether --enable-splash or --disable-splash was given.
10956 if test "${enable_splash+set}" = set; then
10957 enableval="$enable_splash"
10958
10959 if test "$enableval" = yes; then
10960 ac_cv_use_splash='wxUSE_SPLASH=yes'
10961 else
10962 ac_cv_use_splash='wxUSE_SPLASH=no'
10963 fi
10964
10965 else
10966
10967 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
10968 if test "x$LINE" != x ; then
10969 eval "DEFAULT_$LINE"
10970 else
10971 no_cache=1
10972 fi
10973
10974 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10975
10976 fi;
10977
10978 eval "$ac_cv_use_splash"
10979 if test "$no_cache" != 1; then
10980 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10981 fi
10982
10983 if test "$wxUSE_SPLASH" = yes; then
10984 echo "$as_me:$LINENO: result: yes" >&5
10985 echo "${ECHO_T}yes" >&6
10986 else
10987 echo "$as_me:$LINENO: result: no" >&5
10988 echo "${ECHO_T}no" >&6
10989 fi
10990
10991
10992 enablestring=
10993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10994 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10995 no_cache=0
10996 # Check whether --enable-textdlg or --disable-textdlg was given.
10997 if test "${enable_textdlg+set}" = set; then
10998 enableval="$enable_textdlg"
10999
11000 if test "$enableval" = yes; then
11001 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11002 else
11003 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11004 fi
11005
11006 else
11007
11008 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
11009 if test "x$LINE" != x ; then
11010 eval "DEFAULT_$LINE"
11011 else
11012 no_cache=1
11013 fi
11014
11015 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11016
11017 fi;
11018
11019 eval "$ac_cv_use_textdlg"
11020 if test "$no_cache" != 1; then
11021 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11022 fi
11023
11024 if test "$wxUSE_TEXTDLG" = yes; then
11025 echo "$as_me:$LINENO: result: yes" >&5
11026 echo "${ECHO_T}yes" >&6
11027 else
11028 echo "$as_me:$LINENO: result: no" >&5
11029 echo "${ECHO_T}no" >&6
11030 fi
11031
11032
11033 enablestring=
11034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11035 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
11036 no_cache=0
11037 # Check whether --enable-tipdlg or --disable-tipdlg was given.
11038 if test "${enable_tipdlg+set}" = set; then
11039 enableval="$enable_tipdlg"
11040
11041 if test "$enableval" = yes; then
11042 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11043 else
11044 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11045 fi
11046
11047 else
11048
11049 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
11050 if test "x$LINE" != x ; then
11051 eval "DEFAULT_$LINE"
11052 else
11053 no_cache=1
11054 fi
11055
11056 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11057
11058 fi;
11059
11060 eval "$ac_cv_use_tipdlg"
11061 if test "$no_cache" != 1; then
11062 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11063 fi
11064
11065 if test "$wxUSE_STARTUP_TIPS" = yes; then
11066 echo "$as_me:$LINENO: result: yes" >&5
11067 echo "${ECHO_T}yes" >&6
11068 else
11069 echo "$as_me:$LINENO: result: no" >&5
11070 echo "${ECHO_T}no" >&6
11071 fi
11072
11073
11074 enablestring=
11075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
11077 no_cache=0
11078 # Check whether --enable-progressdlg or --disable-progressdlg was given.
11079 if test "${enable_progressdlg+set}" = set; then
11080 enableval="$enable_progressdlg"
11081
11082 if test "$enableval" = yes; then
11083 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11084 else
11085 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11086 fi
11087
11088 else
11089
11090 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
11091 if test "x$LINE" != x ; then
11092 eval "DEFAULT_$LINE"
11093 else
11094 no_cache=1
11095 fi
11096
11097 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11098
11099 fi;
11100
11101 eval "$ac_cv_use_progressdlg"
11102 if test "$no_cache" != 1; then
11103 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11104 fi
11105
11106 if test "$wxUSE_PROGRESSDLG" = yes; then
11107 echo "$as_me:$LINENO: result: yes" >&5
11108 echo "${ECHO_T}yes" >&6
11109 else
11110 echo "$as_me:$LINENO: result: no" >&5
11111 echo "${ECHO_T}no" >&6
11112 fi
11113
11114
11115 enablestring=
11116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11117 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
11118 no_cache=0
11119 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
11120 if test "${enable_wizarddlg+set}" = set; then
11121 enableval="$enable_wizarddlg"
11122
11123 if test "$enableval" = yes; then
11124 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11125 else
11126 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11127 fi
11128
11129 else
11130
11131 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
11132 if test "x$LINE" != x ; then
11133 eval "DEFAULT_$LINE"
11134 else
11135 no_cache=1
11136 fi
11137
11138 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11139
11140 fi;
11141
11142 eval "$ac_cv_use_wizarddlg"
11143 if test "$no_cache" != 1; then
11144 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11145 fi
11146
11147 if test "$wxUSE_WIZARDDLG" = yes; then
11148 echo "$as_me:$LINENO: result: yes" >&5
11149 echo "${ECHO_T}yes" >&6
11150 else
11151 echo "$as_me:$LINENO: result: no" >&5
11152 echo "${ECHO_T}no" >&6
11153 fi
11154
11155
11156
11157
11158 enablestring=
11159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11160 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
11161 no_cache=0
11162 # Check whether --enable-menus or --disable-menus was given.
11163 if test "${enable_menus+set}" = set; then
11164 enableval="$enable_menus"
11165
11166 if test "$enableval" = yes; then
11167 ac_cv_use_menus='wxUSE_MENUS=yes'
11168 else
11169 ac_cv_use_menus='wxUSE_MENUS=no'
11170 fi
11171
11172 else
11173
11174 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
11175 if test "x$LINE" != x ; then
11176 eval "DEFAULT_$LINE"
11177 else
11178 no_cache=1
11179 fi
11180
11181 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11182
11183 fi;
11184
11185 eval "$ac_cv_use_menus"
11186 if test "$no_cache" != 1; then
11187 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11188 fi
11189
11190 if test "$wxUSE_MENUS" = yes; then
11191 echo "$as_me:$LINENO: result: yes" >&5
11192 echo "${ECHO_T}yes" >&6
11193 else
11194 echo "$as_me:$LINENO: result: no" >&5
11195 echo "${ECHO_T}no" >&6
11196 fi
11197
11198
11199 enablestring=
11200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11201 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
11202 no_cache=0
11203 # Check whether --enable-miniframe or --disable-miniframe was given.
11204 if test "${enable_miniframe+set}" = set; then
11205 enableval="$enable_miniframe"
11206
11207 if test "$enableval" = yes; then
11208 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11209 else
11210 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11211 fi
11212
11213 else
11214
11215 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
11216 if test "x$LINE" != x ; then
11217 eval "DEFAULT_$LINE"
11218 else
11219 no_cache=1
11220 fi
11221
11222 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11223
11224 fi;
11225
11226 eval "$ac_cv_use_miniframe"
11227 if test "$no_cache" != 1; then
11228 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11229 fi
11230
11231 if test "$wxUSE_MINIFRAME" = yes; then
11232 echo "$as_me:$LINENO: result: yes" >&5
11233 echo "${ECHO_T}yes" >&6
11234 else
11235 echo "$as_me:$LINENO: result: no" >&5
11236 echo "${ECHO_T}no" >&6
11237 fi
11238
11239
11240 enablestring=
11241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
11243 no_cache=0
11244 # Check whether --enable-tooltips or --disable-tooltips was given.
11245 if test "${enable_tooltips+set}" = set; then
11246 enableval="$enable_tooltips"
11247
11248 if test "$enableval" = yes; then
11249 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11250 else
11251 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11252 fi
11253
11254 else
11255
11256 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
11257 if test "x$LINE" != x ; then
11258 eval "DEFAULT_$LINE"
11259 else
11260 no_cache=1
11261 fi
11262
11263 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11264
11265 fi;
11266
11267 eval "$ac_cv_use_tooltips"
11268 if test "$no_cache" != 1; then
11269 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11270 fi
11271
11272 if test "$wxUSE_TOOLTIPS" = yes; then
11273 echo "$as_me:$LINENO: result: yes" >&5
11274 echo "${ECHO_T}yes" >&6
11275 else
11276 echo "$as_me:$LINENO: result: no" >&5
11277 echo "${ECHO_T}no" >&6
11278 fi
11279
11280
11281 enablestring=
11282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11283 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
11284 no_cache=0
11285 # Check whether --enable-splines or --disable-splines was given.
11286 if test "${enable_splines+set}" = set; then
11287 enableval="$enable_splines"
11288
11289 if test "$enableval" = yes; then
11290 ac_cv_use_splines='wxUSE_SPLINES=yes'
11291 else
11292 ac_cv_use_splines='wxUSE_SPLINES=no'
11293 fi
11294
11295 else
11296
11297 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
11298 if test "x$LINE" != x ; then
11299 eval "DEFAULT_$LINE"
11300 else
11301 no_cache=1
11302 fi
11303
11304 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11305
11306 fi;
11307
11308 eval "$ac_cv_use_splines"
11309 if test "$no_cache" != 1; then
11310 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11311 fi
11312
11313 if test "$wxUSE_SPLINES" = yes; then
11314 echo "$as_me:$LINENO: result: yes" >&5
11315 echo "${ECHO_T}yes" >&6
11316 else
11317 echo "$as_me:$LINENO: result: no" >&5
11318 echo "${ECHO_T}no" >&6
11319 fi
11320
11321
11322 enablestring=
11323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11324 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11325 no_cache=0
11326 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11327 if test "${enable_mousewheel+set}" = set; then
11328 enableval="$enable_mousewheel"
11329
11330 if test "$enableval" = yes; then
11331 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11332 else
11333 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11334 fi
11335
11336 else
11337
11338 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
11339 if test "x$LINE" != x ; then
11340 eval "DEFAULT_$LINE"
11341 else
11342 no_cache=1
11343 fi
11344
11345 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11346
11347 fi;
11348
11349 eval "$ac_cv_use_mousewheel"
11350 if test "$no_cache" != 1; then
11351 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11352 fi
11353
11354 if test "$wxUSE_MOUSEWHEEL" = yes; then
11355 echo "$as_me:$LINENO: result: yes" >&5
11356 echo "${ECHO_T}yes" >&6
11357 else
11358 echo "$as_me:$LINENO: result: no" >&5
11359 echo "${ECHO_T}no" >&6
11360 fi
11361
11362
11363 enablestring=
11364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11365 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11366 no_cache=0
11367 # Check whether --enable-validators or --disable-validators was given.
11368 if test "${enable_validators+set}" = set; then
11369 enableval="$enable_validators"
11370
11371 if test "$enableval" = yes; then
11372 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11373 else
11374 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11375 fi
11376
11377 else
11378
11379 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
11380 if test "x$LINE" != x ; then
11381 eval "DEFAULT_$LINE"
11382 else
11383 no_cache=1
11384 fi
11385
11386 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11387
11388 fi;
11389
11390 eval "$ac_cv_use_validators"
11391 if test "$no_cache" != 1; then
11392 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11393 fi
11394
11395 if test "$wxUSE_VALIDATORS" = yes; then
11396 echo "$as_me:$LINENO: result: yes" >&5
11397 echo "${ECHO_T}yes" >&6
11398 else
11399 echo "$as_me:$LINENO: result: no" >&5
11400 echo "${ECHO_T}no" >&6
11401 fi
11402
11403
11404 enablestring=
11405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11406 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11407 no_cache=0
11408 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11409 if test "${enable_busyinfo+set}" = set; then
11410 enableval="$enable_busyinfo"
11411
11412 if test "$enableval" = yes; then
11413 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11414 else
11415 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11416 fi
11417
11418 else
11419
11420 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
11421 if test "x$LINE" != x ; then
11422 eval "DEFAULT_$LINE"
11423 else
11424 no_cache=1
11425 fi
11426
11427 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11428
11429 fi;
11430
11431 eval "$ac_cv_use_busyinfo"
11432 if test "$no_cache" != 1; then
11433 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11434 fi
11435
11436 if test "$wxUSE_BUSYINFO" = yes; then
11437 echo "$as_me:$LINENO: result: yes" >&5
11438 echo "${ECHO_T}yes" >&6
11439 else
11440 echo "$as_me:$LINENO: result: no" >&5
11441 echo "${ECHO_T}no" >&6
11442 fi
11443
11444
11445 enablestring=
11446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11447 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11448 no_cache=0
11449 # Check whether --enable-joystick or --disable-joystick was given.
11450 if test "${enable_joystick+set}" = set; then
11451 enableval="$enable_joystick"
11452
11453 if test "$enableval" = yes; then
11454 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11455 else
11456 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11457 fi
11458
11459 else
11460
11461 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
11462 if test "x$LINE" != x ; then
11463 eval "DEFAULT_$LINE"
11464 else
11465 no_cache=1
11466 fi
11467
11468 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11469
11470 fi;
11471
11472 eval "$ac_cv_use_joystick"
11473 if test "$no_cache" != 1; then
11474 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11475 fi
11476
11477 if test "$wxUSE_JOYSTICK" = yes; then
11478 echo "$as_me:$LINENO: result: yes" >&5
11479 echo "${ECHO_T}yes" >&6
11480 else
11481 echo "$as_me:$LINENO: result: no" >&5
11482 echo "${ECHO_T}no" >&6
11483 fi
11484
11485
11486 enablestring=
11487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11488 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11489 no_cache=0
11490 # Check whether --enable-metafile or --disable-metafile was given.
11491 if test "${enable_metafile+set}" = set; then
11492 enableval="$enable_metafile"
11493
11494 if test "$enableval" = yes; then
11495 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11496 else
11497 ac_cv_use_metafile='wxUSE_METAFILE=no'
11498 fi
11499
11500 else
11501
11502 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
11503 if test "x$LINE" != x ; then
11504 eval "DEFAULT_$LINE"
11505 else
11506 no_cache=1
11507 fi
11508
11509 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11510
11511 fi;
11512
11513 eval "$ac_cv_use_metafile"
11514 if test "$no_cache" != 1; then
11515 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11516 fi
11517
11518 if test "$wxUSE_METAFILE" = yes; then
11519 echo "$as_me:$LINENO: result: yes" >&5
11520 echo "${ECHO_T}yes" >&6
11521 else
11522 echo "$as_me:$LINENO: result: no" >&5
11523 echo "${ECHO_T}no" >&6
11524 fi
11525
11526
11527 enablestring=
11528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11529 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11530 no_cache=0
11531 # Check whether --enable-dragimage or --disable-dragimage was given.
11532 if test "${enable_dragimage+set}" = set; then
11533 enableval="$enable_dragimage"
11534
11535 if test "$enableval" = yes; then
11536 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11537 else
11538 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11539 fi
11540
11541 else
11542
11543 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
11544 if test "x$LINE" != x ; then
11545 eval "DEFAULT_$LINE"
11546 else
11547 no_cache=1
11548 fi
11549
11550 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11551
11552 fi;
11553
11554 eval "$ac_cv_use_dragimage"
11555 if test "$no_cache" != 1; then
11556 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11557 fi
11558
11559 if test "$wxUSE_DRAGIMAGE" = yes; then
11560 echo "$as_me:$LINENO: result: yes" >&5
11561 echo "${ECHO_T}yes" >&6
11562 else
11563 echo "$as_me:$LINENO: result: no" >&5
11564 echo "${ECHO_T}no" >&6
11565 fi
11566
11567
11568 enablestring=
11569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11570 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11571 no_cache=0
11572 # Check whether --enable-accessibility or --disable-accessibility was given.
11573 if test "${enable_accessibility+set}" = set; then
11574 enableval="$enable_accessibility"
11575
11576 if test "$enableval" = yes; then
11577 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11578 else
11579 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11580 fi
11581
11582 else
11583
11584 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
11585 if test "x$LINE" != x ; then
11586 eval "DEFAULT_$LINE"
11587 else
11588 no_cache=1
11589 fi
11590
11591 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11592
11593 fi;
11594
11595 eval "$ac_cv_use_accessibility"
11596 if test "$no_cache" != 1; then
11597 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11598 fi
11599
11600 if test "$wxUSE_ACCESSIBILITY" = yes; then
11601 echo "$as_me:$LINENO: result: yes" >&5
11602 echo "${ECHO_T}yes" >&6
11603 else
11604 echo "$as_me:$LINENO: result: no" >&5
11605 echo "${ECHO_T}no" >&6
11606 fi
11607
11608
11609 if test "$wxUSE_MSW" = "1"; then
11610
11611 enablestring=
11612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11613 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11614 no_cache=0
11615 # Check whether --enable-dccache or --disable-dccache was given.
11616 if test "${enable_dccache+set}" = set; then
11617 enableval="$enable_dccache"
11618
11619 if test "$enableval" = yes; then
11620 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11621 else
11622 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11623 fi
11624
11625 else
11626
11627 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
11628 if test "x$LINE" != x ; then
11629 eval "DEFAULT_$LINE"
11630 else
11631 no_cache=1
11632 fi
11633
11634 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11635
11636 fi;
11637
11638 eval "$ac_cv_use_dccache"
11639 if test "$no_cache" != 1; then
11640 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11641 fi
11642
11643 if test "$wxUSE_DC_CACHEING" = yes; then
11644 echo "$as_me:$LINENO: result: yes" >&5
11645 echo "${ECHO_T}yes" >&6
11646 else
11647 echo "$as_me:$LINENO: result: no" >&5
11648 echo "${ECHO_T}no" >&6
11649 fi
11650
11651 fi
11652
11653
11654
11655 enablestring=
11656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11657 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11658 no_cache=0
11659 # Check whether --enable-palette or --disable-palette was given.
11660 if test "${enable_palette+set}" = set; then
11661 enableval="$enable_palette"
11662
11663 if test "$enableval" = yes; then
11664 ac_cv_use_palette='wxUSE_PALETTE=yes'
11665 else
11666 ac_cv_use_palette='wxUSE_PALETTE=no'
11667 fi
11668
11669 else
11670
11671 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
11672 if test "x$LINE" != x ; then
11673 eval "DEFAULT_$LINE"
11674 else
11675 no_cache=1
11676 fi
11677
11678 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11679
11680 fi;
11681
11682 eval "$ac_cv_use_palette"
11683 if test "$no_cache" != 1; then
11684 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11685 fi
11686
11687 if test "$wxUSE_PALETTE" = yes; then
11688 echo "$as_me:$LINENO: result: yes" >&5
11689 echo "${ECHO_T}yes" >&6
11690 else
11691 echo "$as_me:$LINENO: result: no" >&5
11692 echo "${ECHO_T}no" >&6
11693 fi
11694
11695
11696 enablestring=
11697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11698 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11699 no_cache=0
11700 # Check whether --enable-image or --disable-image was given.
11701 if test "${enable_image+set}" = set; then
11702 enableval="$enable_image"
11703
11704 if test "$enableval" = yes; then
11705 ac_cv_use_image='wxUSE_IMAGE=yes'
11706 else
11707 ac_cv_use_image='wxUSE_IMAGE=no'
11708 fi
11709
11710 else
11711
11712 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
11713 if test "x$LINE" != x ; then
11714 eval "DEFAULT_$LINE"
11715 else
11716 no_cache=1
11717 fi
11718
11719 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11720
11721 fi;
11722
11723 eval "$ac_cv_use_image"
11724 if test "$no_cache" != 1; then
11725 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11726 fi
11727
11728 if test "$wxUSE_IMAGE" = yes; then
11729 echo "$as_me:$LINENO: result: yes" >&5
11730 echo "${ECHO_T}yes" >&6
11731 else
11732 echo "$as_me:$LINENO: result: no" >&5
11733 echo "${ECHO_T}no" >&6
11734 fi
11735
11736
11737 enablestring=
11738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11739 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11740 no_cache=0
11741 # Check whether --enable-gif or --disable-gif was given.
11742 if test "${enable_gif+set}" = set; then
11743 enableval="$enable_gif"
11744
11745 if test "$enableval" = yes; then
11746 ac_cv_use_gif='wxUSE_GIF=yes'
11747 else
11748 ac_cv_use_gif='wxUSE_GIF=no'
11749 fi
11750
11751 else
11752
11753 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
11754 if test "x$LINE" != x ; then
11755 eval "DEFAULT_$LINE"
11756 else
11757 no_cache=1
11758 fi
11759
11760 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11761
11762 fi;
11763
11764 eval "$ac_cv_use_gif"
11765 if test "$no_cache" != 1; then
11766 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11767 fi
11768
11769 if test "$wxUSE_GIF" = yes; then
11770 echo "$as_me:$LINENO: result: yes" >&5
11771 echo "${ECHO_T}yes" >&6
11772 else
11773 echo "$as_me:$LINENO: result: no" >&5
11774 echo "${ECHO_T}no" >&6
11775 fi
11776
11777
11778 enablestring=
11779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11780 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11781 no_cache=0
11782 # Check whether --enable-pcx or --disable-pcx was given.
11783 if test "${enable_pcx+set}" = set; then
11784 enableval="$enable_pcx"
11785
11786 if test "$enableval" = yes; then
11787 ac_cv_use_pcx='wxUSE_PCX=yes'
11788 else
11789 ac_cv_use_pcx='wxUSE_PCX=no'
11790 fi
11791
11792 else
11793
11794 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
11795 if test "x$LINE" != x ; then
11796 eval "DEFAULT_$LINE"
11797 else
11798 no_cache=1
11799 fi
11800
11801 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11802
11803 fi;
11804
11805 eval "$ac_cv_use_pcx"
11806 if test "$no_cache" != 1; then
11807 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11808 fi
11809
11810 if test "$wxUSE_PCX" = yes; then
11811 echo "$as_me:$LINENO: result: yes" >&5
11812 echo "${ECHO_T}yes" >&6
11813 else
11814 echo "$as_me:$LINENO: result: no" >&5
11815 echo "${ECHO_T}no" >&6
11816 fi
11817
11818
11819 enablestring=
11820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11821 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11822 no_cache=0
11823 # Check whether --enable-tga or --disable-tga was given.
11824 if test "${enable_tga+set}" = set; then
11825 enableval="$enable_tga"
11826
11827 if test "$enableval" = yes; then
11828 ac_cv_use_tga='wxUSE_TGA=yes'
11829 else
11830 ac_cv_use_tga='wxUSE_TGA=no'
11831 fi
11832
11833 else
11834
11835 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
11836 if test "x$LINE" != x ; then
11837 eval "DEFAULT_$LINE"
11838 else
11839 no_cache=1
11840 fi
11841
11842 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11843
11844 fi;
11845
11846 eval "$ac_cv_use_tga"
11847 if test "$no_cache" != 1; then
11848 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11849 fi
11850
11851 if test "$wxUSE_TGA" = yes; then
11852 echo "$as_me:$LINENO: result: yes" >&5
11853 echo "${ECHO_T}yes" >&6
11854 else
11855 echo "$as_me:$LINENO: result: no" >&5
11856 echo "${ECHO_T}no" >&6
11857 fi
11858
11859
11860 enablestring=
11861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11862 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11863 no_cache=0
11864 # Check whether --enable-iff or --disable-iff was given.
11865 if test "${enable_iff+set}" = set; then
11866 enableval="$enable_iff"
11867
11868 if test "$enableval" = yes; then
11869 ac_cv_use_iff='wxUSE_IFF=yes'
11870 else
11871 ac_cv_use_iff='wxUSE_IFF=no'
11872 fi
11873
11874 else
11875
11876 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
11877 if test "x$LINE" != x ; then
11878 eval "DEFAULT_$LINE"
11879 else
11880 no_cache=1
11881 fi
11882
11883 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11884
11885 fi;
11886
11887 eval "$ac_cv_use_iff"
11888 if test "$no_cache" != 1; then
11889 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11890 fi
11891
11892 if test "$wxUSE_IFF" = yes; then
11893 echo "$as_me:$LINENO: result: yes" >&5
11894 echo "${ECHO_T}yes" >&6
11895 else
11896 echo "$as_me:$LINENO: result: no" >&5
11897 echo "${ECHO_T}no" >&6
11898 fi
11899
11900
11901 enablestring=
11902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11903 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11904 no_cache=0
11905 # Check whether --enable-pnm or --disable-pnm was given.
11906 if test "${enable_pnm+set}" = set; then
11907 enableval="$enable_pnm"
11908
11909 if test "$enableval" = yes; then
11910 ac_cv_use_pnm='wxUSE_PNM=yes'
11911 else
11912 ac_cv_use_pnm='wxUSE_PNM=no'
11913 fi
11914
11915 else
11916
11917 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
11918 if test "x$LINE" != x ; then
11919 eval "DEFAULT_$LINE"
11920 else
11921 no_cache=1
11922 fi
11923
11924 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11925
11926 fi;
11927
11928 eval "$ac_cv_use_pnm"
11929 if test "$no_cache" != 1; then
11930 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11931 fi
11932
11933 if test "$wxUSE_PNM" = yes; then
11934 echo "$as_me:$LINENO: result: yes" >&5
11935 echo "${ECHO_T}yes" >&6
11936 else
11937 echo "$as_me:$LINENO: result: no" >&5
11938 echo "${ECHO_T}no" >&6
11939 fi
11940
11941
11942 enablestring=
11943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11944 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11945 no_cache=0
11946 # Check whether --enable-xpm or --disable-xpm was given.
11947 if test "${enable_xpm+set}" = set; then
11948 enableval="$enable_xpm"
11949
11950 if test "$enableval" = yes; then
11951 ac_cv_use_xpm='wxUSE_XPM=yes'
11952 else
11953 ac_cv_use_xpm='wxUSE_XPM=no'
11954 fi
11955
11956 else
11957
11958 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
11959 if test "x$LINE" != x ; then
11960 eval "DEFAULT_$LINE"
11961 else
11962 no_cache=1
11963 fi
11964
11965 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11966
11967 fi;
11968
11969 eval "$ac_cv_use_xpm"
11970 if test "$no_cache" != 1; then
11971 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11972 fi
11973
11974 if test "$wxUSE_XPM" = yes; then
11975 echo "$as_me:$LINENO: result: yes" >&5
11976 echo "${ECHO_T}yes" >&6
11977 else
11978 echo "$as_me:$LINENO: result: no" >&5
11979 echo "${ECHO_T}no" >&6
11980 fi
11981
11982
11983 enablestring=
11984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11985 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11986 no_cache=0
11987 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11988 if test "${enable_ico_cur+set}" = set; then
11989 enableval="$enable_ico_cur"
11990
11991 if test "$enableval" = yes; then
11992 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11993 else
11994 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11995 fi
11996
11997 else
11998
11999 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
12000 if test "x$LINE" != x ; then
12001 eval "DEFAULT_$LINE"
12002 else
12003 no_cache=1
12004 fi
12005
12006 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12007
12008 fi;
12009
12010 eval "$ac_cv_use_ico_cur"
12011 if test "$no_cache" != 1; then
12012 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12013 fi
12014
12015 if test "$wxUSE_ICO_CUR" = yes; then
12016 echo "$as_me:$LINENO: result: yes" >&5
12017 echo "${ECHO_T}yes" >&6
12018 else
12019 echo "$as_me:$LINENO: result: no" >&5
12020 echo "${ECHO_T}no" >&6
12021 fi
12022
12023
12024 fi
12025
12026
12027
12028 # Check whether --with-flavour or --without-flavour was given.
12029 if test "${with_flavour+set}" = set; then
12030 withval="$with_flavour"
12031 WX_FLAVOUR="$withval"
12032 fi;
12033
12034
12035
12036 enablestring=
12037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12038 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
12039 no_cache=0
12040 # Check whether --enable-official_build or --disable-official_build was given.
12041 if test "${enable_official_build+set}" = set; then
12042 enableval="$enable_official_build"
12043
12044 if test "$enableval" = yes; then
12045 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12046 else
12047 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12048 fi
12049
12050 else
12051
12052 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
12053 if test "x$LINE" != x ; then
12054 eval "DEFAULT_$LINE"
12055 else
12056 no_cache=1
12057 fi
12058
12059 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12060
12061 fi;
12062
12063 eval "$ac_cv_use_official_build"
12064 if test "$no_cache" != 1; then
12065 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12066 fi
12067
12068 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12069 echo "$as_me:$LINENO: result: yes" >&5
12070 echo "${ECHO_T}yes" >&6
12071 else
12072 echo "$as_me:$LINENO: result: no" >&5
12073 echo "${ECHO_T}no" >&6
12074 fi
12075
12076 # Check whether --enable-vendor or --disable-vendor was given.
12077 if test "${enable_vendor+set}" = set; then
12078 enableval="$enable_vendor"
12079 VENDOR="$enableval"
12080 fi;
12081 if test "x$VENDOR" = "x"; then
12082 VENDOR="custom"
12083 fi
12084
12085
12086
12087
12088 echo "saving argument cache $wx_arg_cache_file"
12089 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12090
12091
12092
12093 echo "$as_me:$LINENO: checking for toolkit" >&5
12094 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
12095
12096 # In Wine, we need to default to MSW, not GTK or MOTIF
12097 if test "$wxUSE_WINE" = "yes"; then
12098 DEFAULT_DEFAULT_wxUSE_GTK=0
12099 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12100 DEFAULT_DEFAULT_wxUSE_MSW=1
12101 wxUSE_SHARED=no
12102 CC=${CC:-winegcc}
12103 CXX=${CXX:-wineg++}
12104 fi
12105
12106
12107 if test "$wxUSE_GUI" = "yes"; then
12108
12109 if test "$USE_BEOS" = 1; then
12110 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12111 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12112 { (exit 1); exit 1; }; }
12113 fi
12114
12115 if test "$TOOLKIT_GIVEN" = 1; then
12116 for toolkit in `echo $ALL_TOOLKITS`; do
12117 var=wxUSE_$toolkit
12118 eval "value=\$${var}"
12119 if test "x$value" = "xno"; then
12120 eval "$var=0"
12121 elif test "x$value" != "x"; then
12122 eval "$var=1"
12123 fi
12124
12125 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12126 eval "wx${toolkit}_VERSION=$value"
12127 fi
12128 done
12129 else
12130 for toolkit in `echo $ALL_TOOLKITS`; do
12131 if test "$has_toolkit_in_cache" != 1; then
12132 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12133 else
12134 var=DEFAULT_wxUSE_$toolkit
12135
12136 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12137 if test "x$version" != "x"; then
12138 eval "wx${toolkit}_VERSION=$version"
12139 fi
12140 fi
12141 eval "wxUSE_$toolkit=\$${var}"
12142 done
12143 fi
12144
12145 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12146 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12147 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12148
12149 case "${host}" in
12150 *-pc-os2_emx | *-pc-os2-emx )
12151 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12152 esac
12153
12154 case "$NUM_TOOLKITS" in
12155 1)
12156 ;;
12157 0)
12158 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12159 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12160 { (exit 1); exit 1; }; }
12161 ;;
12162 *)
12163 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12164 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12165 { (exit 1); exit 1; }; }
12166 esac
12167
12168 # to be removed when --disable-gtk2 isn't needed
12169 if test "x$wxUSE_GTK2" = "xyes"; then
12170 wxGTK_VERSION=2
12171 elif test "x$wxUSE_GTK2" = "xno"; then
12172 wxGTK_VERSION=1
12173 fi
12174
12175 for toolkit in `echo $ALL_TOOLKITS`; do
12176 var=wxUSE_$toolkit
12177 eval "value=\$${var}"
12178 if test "x$value" != x; then
12179 cache_var=CACHE_$toolkit
12180 eval "cache=\$${cache_var}"
12181 if test "$cache" = 1; then
12182 echo "$var=$value" >> ${wx_arg_cache_file}
12183 eval "version=\$wx${toolkit}_VERSION"
12184 if test "x$version" != "x"; then
12185 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12186 fi
12187 fi
12188 if test "$value" = 1; then
12189 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12190 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12191 echo "${ECHO_T}$toolkit_echo" >&6
12192 fi
12193 fi
12194 done
12195 else
12196 if test "x$host_alias" != "x"; then
12197 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12198 echo "${ECHO_T}base ($host_alias hosted) only" >&6
12199 else
12200 echo "$as_me:$LINENO: result: base only" >&5
12201 echo "${ECHO_T}base only" >&6
12202 fi
12203 fi
12204
12205
12206 cat >confcache <<\_ACEOF
12207 # This file is a shell script that caches the results of configure
12208 # tests run on this system so they can be shared between configure
12209 # scripts and configure runs, see configure's option --config-cache.
12210 # It is not useful on other systems. If it contains results you don't
12211 # want to keep, you may remove or edit it.
12212 #
12213 # config.status only pays attention to the cache file if you give it
12214 # the --recheck option to rerun configure.
12215 #
12216 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12217 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12218 # following values.
12219
12220 _ACEOF
12221
12222 # The following way of writing the cache mishandles newlines in values,
12223 # but we know of no workaround that is simple, portable, and efficient.
12224 # So, don't put newlines in cache variables' values.
12225 # Ultrix sh set writes to stderr and can't be redirected directly,
12226 # and sets the high bit in the cache file unless we assign to the vars.
12227 {
12228 (set) 2>&1 |
12229 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12230 *ac_space=\ *)
12231 # `set' does not quote correctly, so add quotes (double-quote
12232 # substitution turns \\\\ into \\, and sed turns \\ into \).
12233 sed -n \
12234 "s/'/'\\\\''/g;
12235 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12236 ;;
12237 *)
12238 # `set' quotes correctly as required by POSIX, so do not add quotes.
12239 sed -n \
12240 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12241 ;;
12242 esac;
12243 } |
12244 sed '
12245 t clear
12246 : clear
12247 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12248 t end
12249 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12250 : end' >>confcache
12251 if diff $cache_file confcache >/dev/null 2>&1; then :; else
12252 if test -w $cache_file; then
12253 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
12254 cat confcache >$cache_file
12255 else
12256 echo "not updating unwritable cache $cache_file"
12257 fi
12258 fi
12259 rm -f confcache
12260
12261 CFLAGS=${CFLAGS:=}
12262
12263
12264
12265 ac_ext=c
12266 ac_cpp='$CPP $CPPFLAGS'
12267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12270 if test -n "$ac_tool_prefix"; then
12271 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12272 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12273 echo "$as_me:$LINENO: checking for $ac_word" >&5
12274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12275 if test "${ac_cv_prog_CC+set}" = set; then
12276 echo $ECHO_N "(cached) $ECHO_C" >&6
12277 else
12278 if test -n "$CC"; then
12279 ac_cv_prog_CC="$CC" # Let the user override the test.
12280 else
12281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12282 for as_dir in $PATH
12283 do
12284 IFS=$as_save_IFS
12285 test -z "$as_dir" && as_dir=.
12286 for ac_exec_ext in '' $ac_executable_extensions; do
12287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12288 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12290 break 2
12291 fi
12292 done
12293 done
12294
12295 fi
12296 fi
12297 CC=$ac_cv_prog_CC
12298 if test -n "$CC"; then
12299 echo "$as_me:$LINENO: result: $CC" >&5
12300 echo "${ECHO_T}$CC" >&6
12301 else
12302 echo "$as_me:$LINENO: result: no" >&5
12303 echo "${ECHO_T}no" >&6
12304 fi
12305
12306 fi
12307 if test -z "$ac_cv_prog_CC"; then
12308 ac_ct_CC=$CC
12309 # Extract the first word of "gcc", so it can be a program name with args.
12310 set dummy gcc; ac_word=$2
12311 echo "$as_me:$LINENO: checking for $ac_word" >&5
12312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12313 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12314 echo $ECHO_N "(cached) $ECHO_C" >&6
12315 else
12316 if test -n "$ac_ct_CC"; then
12317 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12318 else
12319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12320 for as_dir in $PATH
12321 do
12322 IFS=$as_save_IFS
12323 test -z "$as_dir" && as_dir=.
12324 for ac_exec_ext in '' $ac_executable_extensions; do
12325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12326 ac_cv_prog_ac_ct_CC="gcc"
12327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12328 break 2
12329 fi
12330 done
12331 done
12332
12333 fi
12334 fi
12335 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12336 if test -n "$ac_ct_CC"; then
12337 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12338 echo "${ECHO_T}$ac_ct_CC" >&6
12339 else
12340 echo "$as_me:$LINENO: result: no" >&5
12341 echo "${ECHO_T}no" >&6
12342 fi
12343
12344 CC=$ac_ct_CC
12345 else
12346 CC="$ac_cv_prog_CC"
12347 fi
12348
12349 if test -z "$CC"; then
12350 if test -n "$ac_tool_prefix"; then
12351 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12352 set dummy ${ac_tool_prefix}cc; ac_word=$2
12353 echo "$as_me:$LINENO: checking for $ac_word" >&5
12354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12355 if test "${ac_cv_prog_CC+set}" = set; then
12356 echo $ECHO_N "(cached) $ECHO_C" >&6
12357 else
12358 if test -n "$CC"; then
12359 ac_cv_prog_CC="$CC" # Let the user override the test.
12360 else
12361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12362 for as_dir in $PATH
12363 do
12364 IFS=$as_save_IFS
12365 test -z "$as_dir" && as_dir=.
12366 for ac_exec_ext in '' $ac_executable_extensions; do
12367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12368 ac_cv_prog_CC="${ac_tool_prefix}cc"
12369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12370 break 2
12371 fi
12372 done
12373 done
12374
12375 fi
12376 fi
12377 CC=$ac_cv_prog_CC
12378 if test -n "$CC"; then
12379 echo "$as_me:$LINENO: result: $CC" >&5
12380 echo "${ECHO_T}$CC" >&6
12381 else
12382 echo "$as_me:$LINENO: result: no" >&5
12383 echo "${ECHO_T}no" >&6
12384 fi
12385
12386 fi
12387 if test -z "$ac_cv_prog_CC"; then
12388 ac_ct_CC=$CC
12389 # Extract the first word of "cc", so it can be a program name with args.
12390 set dummy cc; ac_word=$2
12391 echo "$as_me:$LINENO: checking for $ac_word" >&5
12392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12393 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12394 echo $ECHO_N "(cached) $ECHO_C" >&6
12395 else
12396 if test -n "$ac_ct_CC"; then
12397 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12398 else
12399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12400 for as_dir in $PATH
12401 do
12402 IFS=$as_save_IFS
12403 test -z "$as_dir" && as_dir=.
12404 for ac_exec_ext in '' $ac_executable_extensions; do
12405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12406 ac_cv_prog_ac_ct_CC="cc"
12407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12408 break 2
12409 fi
12410 done
12411 done
12412
12413 fi
12414 fi
12415 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12416 if test -n "$ac_ct_CC"; then
12417 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12418 echo "${ECHO_T}$ac_ct_CC" >&6
12419 else
12420 echo "$as_me:$LINENO: result: no" >&5
12421 echo "${ECHO_T}no" >&6
12422 fi
12423
12424 CC=$ac_ct_CC
12425 else
12426 CC="$ac_cv_prog_CC"
12427 fi
12428
12429 fi
12430 if test -z "$CC"; then
12431 # Extract the first word of "cc", so it can be a program name with args.
12432 set dummy cc; ac_word=$2
12433 echo "$as_me:$LINENO: checking for $ac_word" >&5
12434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12435 if test "${ac_cv_prog_CC+set}" = set; then
12436 echo $ECHO_N "(cached) $ECHO_C" >&6
12437 else
12438 if test -n "$CC"; then
12439 ac_cv_prog_CC="$CC" # Let the user override the test.
12440 else
12441 ac_prog_rejected=no
12442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12443 for as_dir in $PATH
12444 do
12445 IFS=$as_save_IFS
12446 test -z "$as_dir" && as_dir=.
12447 for ac_exec_ext in '' $ac_executable_extensions; do
12448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12449 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12450 ac_prog_rejected=yes
12451 continue
12452 fi
12453 ac_cv_prog_CC="cc"
12454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12455 break 2
12456 fi
12457 done
12458 done
12459
12460 if test $ac_prog_rejected = yes; then
12461 # We found a bogon in the path, so make sure we never use it.
12462 set dummy $ac_cv_prog_CC
12463 shift
12464 if test $# != 0; then
12465 # We chose a different compiler from the bogus one.
12466 # However, it has the same basename, so the bogon will be chosen
12467 # first if we set CC to just the basename; use the full file name.
12468 shift
12469 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12470 fi
12471 fi
12472 fi
12473 fi
12474 CC=$ac_cv_prog_CC
12475 if test -n "$CC"; then
12476 echo "$as_me:$LINENO: result: $CC" >&5
12477 echo "${ECHO_T}$CC" >&6
12478 else
12479 echo "$as_me:$LINENO: result: no" >&5
12480 echo "${ECHO_T}no" >&6
12481 fi
12482
12483 fi
12484 if test -z "$CC"; then
12485 if test -n "$ac_tool_prefix"; then
12486 for ac_prog in cl
12487 do
12488 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12489 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12490 echo "$as_me:$LINENO: checking for $ac_word" >&5
12491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12492 if test "${ac_cv_prog_CC+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12494 else
12495 if test -n "$CC"; then
12496 ac_cv_prog_CC="$CC" # Let the user override the test.
12497 else
12498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12499 for as_dir in $PATH
12500 do
12501 IFS=$as_save_IFS
12502 test -z "$as_dir" && as_dir=.
12503 for ac_exec_ext in '' $ac_executable_extensions; do
12504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12505 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12507 break 2
12508 fi
12509 done
12510 done
12511
12512 fi
12513 fi
12514 CC=$ac_cv_prog_CC
12515 if test -n "$CC"; then
12516 echo "$as_me:$LINENO: result: $CC" >&5
12517 echo "${ECHO_T}$CC" >&6
12518 else
12519 echo "$as_me:$LINENO: result: no" >&5
12520 echo "${ECHO_T}no" >&6
12521 fi
12522
12523 test -n "$CC" && break
12524 done
12525 fi
12526 if test -z "$CC"; then
12527 ac_ct_CC=$CC
12528 for ac_prog in cl
12529 do
12530 # Extract the first word of "$ac_prog", so it can be a program name with args.
12531 set dummy $ac_prog; ac_word=$2
12532 echo "$as_me:$LINENO: checking for $ac_word" >&5
12533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12534 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12535 echo $ECHO_N "(cached) $ECHO_C" >&6
12536 else
12537 if test -n "$ac_ct_CC"; then
12538 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12539 else
12540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12541 for as_dir in $PATH
12542 do
12543 IFS=$as_save_IFS
12544 test -z "$as_dir" && as_dir=.
12545 for ac_exec_ext in '' $ac_executable_extensions; do
12546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12547 ac_cv_prog_ac_ct_CC="$ac_prog"
12548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12549 break 2
12550 fi
12551 done
12552 done
12553
12554 fi
12555 fi
12556 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12557 if test -n "$ac_ct_CC"; then
12558 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12559 echo "${ECHO_T}$ac_ct_CC" >&6
12560 else
12561 echo "$as_me:$LINENO: result: no" >&5
12562 echo "${ECHO_T}no" >&6
12563 fi
12564
12565 test -n "$ac_ct_CC" && break
12566 done
12567
12568 CC=$ac_ct_CC
12569 fi
12570
12571 fi
12572
12573
12574 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12575 See \`config.log' for more details." >&5
12576 echo "$as_me: error: no acceptable C compiler found in \$PATH
12577 See \`config.log' for more details." >&2;}
12578 { (exit 1); exit 1; }; }
12579
12580 # Provide some information about the compiler.
12581 echo "$as_me:$LINENO:" \
12582 "checking for C compiler version" >&5
12583 ac_compiler=`set X $ac_compile; echo $2`
12584 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12585 (eval $ac_compiler --version </dev/null >&5) 2>&5
12586 ac_status=$?
12587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588 (exit $ac_status); }
12589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12590 (eval $ac_compiler -v </dev/null >&5) 2>&5
12591 ac_status=$?
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }
12594 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12595 (eval $ac_compiler -V </dev/null >&5) 2>&5
12596 ac_status=$?
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }
12599
12600 cat >conftest.$ac_ext <<_ACEOF
12601 /* confdefs.h. */
12602 _ACEOF
12603 cat confdefs.h >>conftest.$ac_ext
12604 cat >>conftest.$ac_ext <<_ACEOF
12605 /* end confdefs.h. */
12606
12607 int
12608 main ()
12609 {
12610
12611 ;
12612 return 0;
12613 }
12614 _ACEOF
12615 ac_clean_files_save=$ac_clean_files
12616 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12617 # Try to create an executable without -o first, disregard a.out.
12618 # It will help us diagnose broken compilers, and finding out an intuition
12619 # of exeext.
12620 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12621 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12622 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12623 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12624 (eval $ac_link_default) 2>&5
12625 ac_status=$?
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; then
12628 # Find the output, starting from the most likely. This scheme is
12629 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12630 # resort.
12631
12632 # Be careful to initialize this variable, since it used to be cached.
12633 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12634 ac_cv_exeext=
12635 # b.out is created by i960 compilers.
12636 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12637 do
12638 test -f "$ac_file" || continue
12639 case $ac_file in
12640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12641 ;;
12642 conftest.$ac_ext )
12643 # This is the source file.
12644 ;;
12645 [ab].out )
12646 # We found the default executable, but exeext='' is most
12647 # certainly right.
12648 break;;
12649 *.* )
12650 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12651 # FIXME: I believe we export ac_cv_exeext for Libtool,
12652 # but it would be cool to find out if it's true. Does anybody
12653 # maintain Libtool? --akim.
12654 export ac_cv_exeext
12655 break;;
12656 * )
12657 break;;
12658 esac
12659 done
12660 else
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.$ac_ext >&5
12663
12664 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12665 See \`config.log' for more details." >&5
12666 echo "$as_me: error: C compiler cannot create executables
12667 See \`config.log' for more details." >&2;}
12668 { (exit 77); exit 77; }; }
12669 fi
12670
12671 ac_exeext=$ac_cv_exeext
12672 echo "$as_me:$LINENO: result: $ac_file" >&5
12673 echo "${ECHO_T}$ac_file" >&6
12674
12675 # Check the compiler produces executables we can run. If not, either
12676 # the compiler is broken, or we cross compile.
12677 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12678 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12679 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12680 # If not cross compiling, check that we can run a simple program.
12681 if test "$cross_compiling" != yes; then
12682 if { ac_try='./$ac_file'
12683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12684 (eval $ac_try) 2>&5
12685 ac_status=$?
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); }; }; then
12688 cross_compiling=no
12689 else
12690 if test "$cross_compiling" = maybe; then
12691 cross_compiling=yes
12692 else
12693 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12694 If you meant to cross compile, use \`--host'.
12695 See \`config.log' for more details." >&5
12696 echo "$as_me: error: cannot run C compiled programs.
12697 If you meant to cross compile, use \`--host'.
12698 See \`config.log' for more details." >&2;}
12699 { (exit 1); exit 1; }; }
12700 fi
12701 fi
12702 fi
12703 echo "$as_me:$LINENO: result: yes" >&5
12704 echo "${ECHO_T}yes" >&6
12705
12706 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12707 ac_clean_files=$ac_clean_files_save
12708 # Check the compiler produces executables we can run. If not, either
12709 # the compiler is broken, or we cross compile.
12710 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12711 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12712 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12713 echo "${ECHO_T}$cross_compiling" >&6
12714
12715 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12716 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12718 (eval $ac_link) 2>&5
12719 ac_status=$?
12720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721 (exit $ac_status); }; then
12722 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12723 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12724 # work properly (i.e., refer to `conftest.exe'), while it won't with
12725 # `rm'.
12726 for ac_file in conftest.exe conftest conftest.*; do
12727 test -f "$ac_file" || continue
12728 case $ac_file in
12729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12730 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12731 export ac_cv_exeext
12732 break;;
12733 * ) break;;
12734 esac
12735 done
12736 else
12737 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12738 See \`config.log' for more details." >&5
12739 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12740 See \`config.log' for more details." >&2;}
12741 { (exit 1); exit 1; }; }
12742 fi
12743
12744 rm -f conftest$ac_cv_exeext
12745 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12746 echo "${ECHO_T}$ac_cv_exeext" >&6
12747
12748 rm -f conftest.$ac_ext
12749 EXEEXT=$ac_cv_exeext
12750 ac_exeext=$EXEEXT
12751 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12752 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12753 if test "${ac_cv_objext+set}" = set; then
12754 echo $ECHO_N "(cached) $ECHO_C" >&6
12755 else
12756 cat >conftest.$ac_ext <<_ACEOF
12757 /* confdefs.h. */
12758 _ACEOF
12759 cat confdefs.h >>conftest.$ac_ext
12760 cat >>conftest.$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12762
12763 int
12764 main ()
12765 {
12766
12767 ;
12768 return 0;
12769 }
12770 _ACEOF
12771 rm -f conftest.o conftest.obj
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>&5
12774 ac_status=$?
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; then
12777 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12778 case $ac_file in
12779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12780 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12781 break;;
12782 esac
12783 done
12784 else
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.$ac_ext >&5
12787
12788 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12789 See \`config.log' for more details." >&5
12790 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12791 See \`config.log' for more details." >&2;}
12792 { (exit 1); exit 1; }; }
12793 fi
12794
12795 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12796 fi
12797 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12798 echo "${ECHO_T}$ac_cv_objext" >&6
12799 OBJEXT=$ac_cv_objext
12800 ac_objext=$OBJEXT
12801 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12802 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12803 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12804 echo $ECHO_N "(cached) $ECHO_C" >&6
12805 else
12806 cat >conftest.$ac_ext <<_ACEOF
12807 /* confdefs.h. */
12808 _ACEOF
12809 cat confdefs.h >>conftest.$ac_ext
12810 cat >>conftest.$ac_ext <<_ACEOF
12811 /* end confdefs.h. */
12812
12813 int
12814 main ()
12815 {
12816 #ifndef __GNUC__
12817 choke me
12818 #endif
12819
12820 ;
12821 return 0;
12822 }
12823 _ACEOF
12824 rm -f conftest.$ac_objext
12825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12826 (eval $ac_compile) 2>conftest.er1
12827 ac_status=$?
12828 grep -v '^ *+' conftest.er1 >conftest.err
12829 rm -f conftest.er1
12830 cat conftest.err >&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); } &&
12833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 (eval $ac_try) 2>&5
12836 ac_status=$?
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; } &&
12839 { ac_try='test -s conftest.$ac_objext'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12842 ac_status=$?
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; }; then
12845 ac_compiler_gnu=yes
12846 else
12847 echo "$as_me: failed program was:" >&5
12848 sed 's/^/| /' conftest.$ac_ext >&5
12849
12850 ac_compiler_gnu=no
12851 fi
12852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12853 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12854
12855 fi
12856 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12857 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12858 GCC=`test $ac_compiler_gnu = yes && echo yes`
12859 ac_test_CFLAGS=${CFLAGS+set}
12860 ac_save_CFLAGS=$CFLAGS
12861 CFLAGS="-g"
12862 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12863 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12864 if test "${ac_cv_prog_cc_g+set}" = set; then
12865 echo $ECHO_N "(cached) $ECHO_C" >&6
12866 else
12867 cat >conftest.$ac_ext <<_ACEOF
12868 /* confdefs.h. */
12869 _ACEOF
12870 cat confdefs.h >>conftest.$ac_ext
12871 cat >>conftest.$ac_ext <<_ACEOF
12872 /* end confdefs.h. */
12873
12874 int
12875 main ()
12876 {
12877
12878 ;
12879 return 0;
12880 }
12881 _ACEOF
12882 rm -f conftest.$ac_objext
12883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12884 (eval $ac_compile) 2>conftest.er1
12885 ac_status=$?
12886 grep -v '^ *+' conftest.er1 >conftest.err
12887 rm -f conftest.er1
12888 cat conftest.err >&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } &&
12891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12893 (eval $ac_try) 2>&5
12894 ac_status=$?
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); }; } &&
12897 { ac_try='test -s conftest.$ac_objext'
12898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12899 (eval $ac_try) 2>&5
12900 ac_status=$?
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); }; }; then
12903 ac_cv_prog_cc_g=yes
12904 else
12905 echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.$ac_ext >&5
12907
12908 ac_cv_prog_cc_g=no
12909 fi
12910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12911 fi
12912 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12913 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12914 if test "$ac_test_CFLAGS" = set; then
12915 CFLAGS=$ac_save_CFLAGS
12916 elif test $ac_cv_prog_cc_g = yes; then
12917 if test "$GCC" = yes; then
12918 CFLAGS="-g -O2"
12919 else
12920 CFLAGS="-g"
12921 fi
12922 else
12923 if test "$GCC" = yes; then
12924 CFLAGS="-O2"
12925 else
12926 CFLAGS=
12927 fi
12928 fi
12929 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12930 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12931 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 else
12934 ac_cv_prog_cc_stdc=no
12935 ac_save_CC=$CC
12936 cat >conftest.$ac_ext <<_ACEOF
12937 /* confdefs.h. */
12938 _ACEOF
12939 cat confdefs.h >>conftest.$ac_ext
12940 cat >>conftest.$ac_ext <<_ACEOF
12941 /* end confdefs.h. */
12942 #include <stdarg.h>
12943 #include <stdio.h>
12944 #include <sys/types.h>
12945 #include <sys/stat.h>
12946 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12947 struct buf { int x; };
12948 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12949 static char *e (p, i)
12950 char **p;
12951 int i;
12952 {
12953 return p[i];
12954 }
12955 static char *f (char * (*g) (char **, int), char **p, ...)
12956 {
12957 char *s;
12958 va_list v;
12959 va_start (v,p);
12960 s = g (p, va_arg (v,int));
12961 va_end (v);
12962 return s;
12963 }
12964
12965 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12966 function prototypes and stuff, but not '\xHH' hex character constants.
12967 These don't provoke an error unfortunately, instead are silently treated
12968 as 'x'. The following induces an error, until -std1 is added to get
12969 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12970 array size at least. It's necessary to write '\x00'==0 to get something
12971 that's true only with -std1. */
12972 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12973
12974 int test (int i, double x);
12975 struct s1 {int (*f) (int a);};
12976 struct s2 {int (*f) (double a);};
12977 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12978 int argc;
12979 char **argv;
12980 int
12981 main ()
12982 {
12983 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12984 ;
12985 return 0;
12986 }
12987 _ACEOF
12988 # Don't try gcc -ansi; that turns off useful extensions and
12989 # breaks some systems' header files.
12990 # AIX -qlanglvl=ansi
12991 # Ultrix and OSF/1 -std1
12992 # HP-UX 10.20 and later -Ae
12993 # HP-UX older versions -Aa -D_HPUX_SOURCE
12994 # SVR4 -Xc -D__EXTENSIONS__
12995 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12996 do
12997 CC="$ac_save_CC $ac_arg"
12998 rm -f conftest.$ac_objext
12999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13000 (eval $ac_compile) 2>conftest.er1
13001 ac_status=$?
13002 grep -v '^ *+' conftest.er1 >conftest.err
13003 rm -f conftest.er1
13004 cat conftest.err >&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } &&
13007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13010 ac_status=$?
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; } &&
13013 { ac_try='test -s conftest.$ac_objext'
13014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13015 (eval $ac_try) 2>&5
13016 ac_status=$?
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }; }; then
13019 ac_cv_prog_cc_stdc=$ac_arg
13020 break
13021 else
13022 echo "$as_me: failed program was:" >&5
13023 sed 's/^/| /' conftest.$ac_ext >&5
13024
13025 fi
13026 rm -f conftest.err conftest.$ac_objext
13027 done
13028 rm -f conftest.$ac_ext conftest.$ac_objext
13029 CC=$ac_save_CC
13030
13031 fi
13032
13033 case "x$ac_cv_prog_cc_stdc" in
13034 x|xno)
13035 echo "$as_me:$LINENO: result: none needed" >&5
13036 echo "${ECHO_T}none needed" >&6 ;;
13037 *)
13038 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
13039 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
13040 CC="$CC $ac_cv_prog_cc_stdc" ;;
13041 esac
13042
13043 # Some people use a C++ compiler to compile C. Since we use `exit',
13044 # in C++ we need to declare it. In case someone uses the same compiler
13045 # for both compiling C and C++ we need to have the C++ compiler decide
13046 # the declaration of exit, since it's the most demanding environment.
13047 cat >conftest.$ac_ext <<_ACEOF
13048 #ifndef __cplusplus
13049 choke me
13050 #endif
13051 _ACEOF
13052 rm -f conftest.$ac_objext
13053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13054 (eval $ac_compile) 2>conftest.er1
13055 ac_status=$?
13056 grep -v '^ *+' conftest.er1 >conftest.err
13057 rm -f conftest.er1
13058 cat conftest.err >&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); } &&
13061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 (eval $ac_try) 2>&5
13064 ac_status=$?
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; } &&
13067 { ac_try='test -s conftest.$ac_objext'
13068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5
13070 ac_status=$?
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; }; then
13073 for ac_declaration in \
13074 '' \
13075 'extern "C" void std::exit (int) throw (); using std::exit;' \
13076 'extern "C" void std::exit (int); using std::exit;' \
13077 'extern "C" void exit (int) throw ();' \
13078 'extern "C" void exit (int);' \
13079 'void exit (int);'
13080 do
13081 cat >conftest.$ac_ext <<_ACEOF
13082 /* confdefs.h. */
13083 _ACEOF
13084 cat confdefs.h >>conftest.$ac_ext
13085 cat >>conftest.$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13087 $ac_declaration
13088 #include <stdlib.h>
13089 int
13090 main ()
13091 {
13092 exit (42);
13093 ;
13094 return 0;
13095 }
13096 _ACEOF
13097 rm -f conftest.$ac_objext
13098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13099 (eval $ac_compile) 2>conftest.er1
13100 ac_status=$?
13101 grep -v '^ *+' conftest.er1 >conftest.err
13102 rm -f conftest.er1
13103 cat conftest.err >&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); } &&
13106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13108 (eval $ac_try) 2>&5
13109 ac_status=$?
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); }; } &&
13112 { ac_try='test -s conftest.$ac_objext'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13115 ac_status=$?
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; }; then
13118 :
13119 else
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.$ac_ext >&5
13122
13123 continue
13124 fi
13125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13126 cat >conftest.$ac_ext <<_ACEOF
13127 /* confdefs.h. */
13128 _ACEOF
13129 cat confdefs.h >>conftest.$ac_ext
13130 cat >>conftest.$ac_ext <<_ACEOF
13131 /* end confdefs.h. */
13132 $ac_declaration
13133 int
13134 main ()
13135 {
13136 exit (42);
13137 ;
13138 return 0;
13139 }
13140 _ACEOF
13141 rm -f conftest.$ac_objext
13142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13143 (eval $ac_compile) 2>conftest.er1
13144 ac_status=$?
13145 grep -v '^ *+' conftest.er1 >conftest.err
13146 rm -f conftest.er1
13147 cat conftest.err >&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); } &&
13150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13153 ac_status=$?
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; } &&
13156 { ac_try='test -s conftest.$ac_objext'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13159 ac_status=$?
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; }; then
13162 break
13163 else
13164 echo "$as_me: failed program was:" >&5
13165 sed 's/^/| /' conftest.$ac_ext >&5
13166
13167 fi
13168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13169 done
13170 rm -f conftest*
13171 if test -n "$ac_declaration"; then
13172 echo '#ifdef __cplusplus' >>confdefs.h
13173 echo $ac_declaration >>confdefs.h
13174 echo '#endif' >>confdefs.h
13175 fi
13176
13177 else
13178 echo "$as_me: failed program was:" >&5
13179 sed 's/^/| /' conftest.$ac_ext >&5
13180
13181 fi
13182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13183 ac_ext=c
13184 ac_cpp='$CPP $CPPFLAGS'
13185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13188
13189
13190
13191
13192 ac_ext=c
13193 ac_cpp='$CPP $CPPFLAGS'
13194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13197
13198 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13199 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
13200 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13201 echo $ECHO_N "(cached) $ECHO_C" >&6
13202 else
13203 cat >conftest.$ac_ext <<_ACEOF
13204 /* confdefs.h. */
13205 _ACEOF
13206 cat confdefs.h >>conftest.$ac_ext
13207 cat >>conftest.$ac_ext <<_ACEOF
13208 /* end confdefs.h. */
13209
13210 int
13211 main ()
13212 {
13213
13214 #ifndef __INTEL_COMPILER
13215 choke me
13216 #endif
13217
13218 ;
13219 return 0;
13220 }
13221 _ACEOF
13222 rm -f conftest.$ac_objext
13223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13224 (eval $ac_compile) 2>conftest.er1
13225 ac_status=$?
13226 grep -v '^ *+' conftest.er1 >conftest.err
13227 rm -f conftest.er1
13228 cat conftest.err >&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); } &&
13231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13234 ac_status=$?
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; } &&
13237 { ac_try='test -s conftest.$ac_objext'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13240 ac_status=$?
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then
13243 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13244 else
13245 echo "$as_me: failed program was:" >&5
13246 sed 's/^/| /' conftest.$ac_ext >&5
13247
13248 bakefile_cv_c_compiler___INTEL_COMPILER=no
13249
13250 fi
13251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13252
13253
13254 fi
13255 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13256 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
13257 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13258 :; INTELCC=yes
13259 else
13260 :;
13261 fi
13262 ac_ext=c
13263 ac_cpp='$CPP $CPPFLAGS'
13264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13267
13268
13269
13270
13271 if test "x$GCC" != "xyes"; then
13272 if test "xCC" = "xC"; then
13273 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13274 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
13275 if test "${bakefile_cv_c_exto+set}" = set; then
13276 echo $ECHO_N "(cached) $ECHO_C" >&6
13277 else
13278 cat >conftest.$ac_ext <<_ACEOF
13279 /* confdefs.h. */
13280 _ACEOF
13281 cat confdefs.h >>conftest.$ac_ext
13282 cat >>conftest.$ac_ext <<_ACEOF
13283 /* end confdefs.h. */
13284
13285 int
13286 main ()
13287 {
13288
13289 ;
13290 return 0;
13291 }
13292 _ACEOF
13293 rm -f conftest.$ac_objext conftest.$ac_ext.o
13294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13295 (eval $ac_compile) 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; then
13299 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13300 case $ac_file in
13301 conftest.$ac_ext.o)
13302 bakefile_cv_c_exto="-ext o"
13303 ;;
13304 *)
13305 ;;
13306 esac
13307 done
13308 else
13309 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13310 See \`config.log' for more details." >&5
13311 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13312 See \`config.log' for more details." >&2;}
13313 { (exit 1); exit 1; }; }
13314
13315 fi
13316
13317 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13318
13319 fi
13320 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13321 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13322 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13323 if test "c" = "c"; then
13324 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13325 fi
13326 if test "c" = "cxx"; then
13327 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13328 fi
13329 fi
13330
13331 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13332 unset ac_cv_prog_cc_g
13333 ac_test_CFLAGS=${CFLAGS+set}
13334 ac_save_CFLAGS=$CFLAGS
13335 CFLAGS="-g"
13336 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13337 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13338 if test "${ac_cv_prog_cc_g+set}" = set; then
13339 echo $ECHO_N "(cached) $ECHO_C" >&6
13340 else
13341 cat >conftest.$ac_ext <<_ACEOF
13342 /* confdefs.h. */
13343 _ACEOF
13344 cat confdefs.h >>conftest.$ac_ext
13345 cat >>conftest.$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13347
13348 int
13349 main ()
13350 {
13351
13352 ;
13353 return 0;
13354 }
13355 _ACEOF
13356 rm -f conftest.$ac_objext
13357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13358 (eval $ac_compile) 2>conftest.er1
13359 ac_status=$?
13360 grep -v '^ *+' conftest.er1 >conftest.err
13361 rm -f conftest.er1
13362 cat conftest.err >&5
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); } &&
13365 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13367 (eval $ac_try) 2>&5
13368 ac_status=$?
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); }; } &&
13371 { ac_try='test -s conftest.$ac_objext'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13374 ac_status=$?
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; }; then
13377 ac_cv_prog_cc_g=yes
13378 else
13379 echo "$as_me: failed program was:" >&5
13380 sed 's/^/| /' conftest.$ac_ext >&5
13381
13382 ac_cv_prog_cc_g=no
13383 fi
13384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13385 fi
13386 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13387 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13388 if test "$ac_test_CFLAGS" = set; then
13389 CFLAGS=$ac_save_CFLAGS
13390 elif test $ac_cv_prog_cc_g = yes; then
13391 if test "$GCC" = yes; then
13392 CFLAGS="-g -O2"
13393 else
13394 CFLAGS="-g"
13395 fi
13396 else
13397 if test "$GCC" = yes; then
13398 CFLAGS="-O2"
13399 else
13400 CFLAGS=
13401 fi
13402 fi
13403 fi
13404 fi
13405
13406 case `uname -s` in
13407 AIX*)
13408
13409
13410 ac_ext=c
13411 ac_cpp='$CPP $CPPFLAGS'
13412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13415
13416 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13417 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13418 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
13419 echo $ECHO_N "(cached) $ECHO_C" >&6
13420 else
13421 cat >conftest.$ac_ext <<_ACEOF
13422 /* confdefs.h. */
13423 _ACEOF
13424 cat confdefs.h >>conftest.$ac_ext
13425 cat >>conftest.$ac_ext <<_ACEOF
13426 /* end confdefs.h. */
13427
13428 int
13429 main ()
13430 {
13431
13432 #ifndef __xlC__
13433 choke me
13434 #endif
13435
13436 ;
13437 return 0;
13438 }
13439 _ACEOF
13440 rm -f conftest.$ac_objext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13442 (eval $ac_compile) 2>conftest.er1
13443 ac_status=$?
13444 grep -v '^ *+' conftest.er1 >conftest.err
13445 rm -f conftest.er1
13446 cat conftest.err >&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } &&
13449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13451 (eval $ac_try) 2>&5
13452 ac_status=$?
13453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454 (exit $ac_status); }; } &&
13455 { ac_try='test -s conftest.$ac_objext'
13456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13457 (eval $ac_try) 2>&5
13458 ac_status=$?
13459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); }; }; then
13461 bakefile_cv_c_compiler___xlC__=yes
13462 else
13463 echo "$as_me: failed program was:" >&5
13464 sed 's/^/| /' conftest.$ac_ext >&5
13465
13466 bakefile_cv_c_compiler___xlC__=no
13467
13468 fi
13469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13470
13471
13472 fi
13473 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
13474 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
13475 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
13476 :; XLCC=yes
13477 else
13478 :;
13479 fi
13480 ac_ext=c
13481 ac_cpp='$CPP $CPPFLAGS'
13482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13485
13486
13487
13488 ;;
13489
13490 Darwin)
13491
13492
13493 ac_ext=c
13494 ac_cpp='$CPP $CPPFLAGS'
13495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13498
13499 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13500 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13501 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13503 else
13504 cat >conftest.$ac_ext <<_ACEOF
13505 /* confdefs.h. */
13506 _ACEOF
13507 cat confdefs.h >>conftest.$ac_ext
13508 cat >>conftest.$ac_ext <<_ACEOF
13509 /* end confdefs.h. */
13510
13511 int
13512 main ()
13513 {
13514
13515 #ifndef __MWERKS__
13516 choke me
13517 #endif
13518
13519 ;
13520 return 0;
13521 }
13522 _ACEOF
13523 rm -f conftest.$ac_objext
13524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13525 (eval $ac_compile) 2>conftest.er1
13526 ac_status=$?
13527 grep -v '^ *+' conftest.er1 >conftest.err
13528 rm -f conftest.er1
13529 cat conftest.err >&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); } &&
13532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13534 (eval $ac_try) 2>&5
13535 ac_status=$?
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); }; } &&
13538 { ac_try='test -s conftest.$ac_objext'
13539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13540 (eval $ac_try) 2>&5
13541 ac_status=$?
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 (exit $ac_status); }; }; then
13544 bakefile_cv_c_compiler___MWERKS__=yes
13545 else
13546 echo "$as_me: failed program was:" >&5
13547 sed 's/^/| /' conftest.$ac_ext >&5
13548
13549 bakefile_cv_c_compiler___MWERKS__=no
13550
13551 fi
13552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13553
13554
13555 fi
13556 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
13557 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6
13558 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
13559 :; MWCC=yes
13560 else
13561 :;
13562 fi
13563 ac_ext=c
13564 ac_cpp='$CPP $CPPFLAGS'
13565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13568
13569
13570
13571
13572
13573 ac_ext=c
13574 ac_cpp='$CPP $CPPFLAGS'
13575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13578
13579 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13580 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13581 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
13582 echo $ECHO_N "(cached) $ECHO_C" >&6
13583 else
13584 cat >conftest.$ac_ext <<_ACEOF
13585 /* confdefs.h. */
13586 _ACEOF
13587 cat confdefs.h >>conftest.$ac_ext
13588 cat >>conftest.$ac_ext <<_ACEOF
13589 /* end confdefs.h. */
13590
13591 int
13592 main ()
13593 {
13594
13595 #ifndef __xlC__
13596 choke me
13597 #endif
13598
13599 ;
13600 return 0;
13601 }
13602 _ACEOF
13603 rm -f conftest.$ac_objext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13605 (eval $ac_compile) 2>conftest.er1
13606 ac_status=$?
13607 grep -v '^ *+' conftest.er1 >conftest.err
13608 rm -f conftest.er1
13609 cat conftest.err >&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13614 (eval $ac_try) 2>&5
13615 ac_status=$?
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); }; } &&
13618 { ac_try='test -s conftest.$ac_objext'
13619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 (eval $ac_try) 2>&5
13621 ac_status=$?
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; }; then
13624 bakefile_cv_c_compiler___xlC__=yes
13625 else
13626 echo "$as_me: failed program was:" >&5
13627 sed 's/^/| /' conftest.$ac_ext >&5
13628
13629 bakefile_cv_c_compiler___xlC__=no
13630
13631 fi
13632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13633
13634
13635 fi
13636 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
13637 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
13638 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
13639 :; XLCC=yes
13640 else
13641 :;
13642 fi
13643 ac_ext=c
13644 ac_cpp='$CPP $CPPFLAGS'
13645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13648
13649
13650
13651 ;;
13652
13653 IRIX*)
13654
13655
13656 ac_ext=c
13657 ac_cpp='$CPP $CPPFLAGS'
13658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13661
13662 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13663 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13664 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13665 echo $ECHO_N "(cached) $ECHO_C" >&6
13666 else
13667 cat >conftest.$ac_ext <<_ACEOF
13668 /* confdefs.h. */
13669 _ACEOF
13670 cat confdefs.h >>conftest.$ac_ext
13671 cat >>conftest.$ac_ext <<_ACEOF
13672 /* end confdefs.h. */
13673
13674 int
13675 main ()
13676 {
13677
13678 #ifndef _SGI_COMPILER_VERSION
13679 choke me
13680 #endif
13681
13682 ;
13683 return 0;
13684 }
13685 _ACEOF
13686 rm -f conftest.$ac_objext
13687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13688 (eval $ac_compile) 2>conftest.er1
13689 ac_status=$?
13690 grep -v '^ *+' conftest.er1 >conftest.err
13691 rm -f conftest.er1
13692 cat conftest.err >&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } &&
13695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13697 (eval $ac_try) 2>&5
13698 ac_status=$?
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); }; } &&
13701 { ac_try='test -s conftest.$ac_objext'
13702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13703 (eval $ac_try) 2>&5
13704 ac_status=$?
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); }; }; then
13707 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13708 else
13709 echo "$as_me: failed program was:" >&5
13710 sed 's/^/| /' conftest.$ac_ext >&5
13711
13712 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13713
13714 fi
13715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13716
13717
13718 fi
13719 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13720 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13721 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13722 :; SGICC=yes
13723 else
13724 :;
13725 fi
13726 ac_ext=c
13727 ac_cpp='$CPP $CPPFLAGS'
13728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13731
13732
13733
13734 ;;
13735
13736 Linux*)
13737
13738
13739 ac_ext=c
13740 ac_cpp='$CPP $CPPFLAGS'
13741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13744
13745 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13746 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13747 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13748 echo $ECHO_N "(cached) $ECHO_C" >&6
13749 else
13750 cat >conftest.$ac_ext <<_ACEOF
13751 /* confdefs.h. */
13752 _ACEOF
13753 cat confdefs.h >>conftest.$ac_ext
13754 cat >>conftest.$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13756
13757 int
13758 main ()
13759 {
13760
13761 #ifndef __SUNPRO_C
13762 choke me
13763 #endif
13764
13765 ;
13766 return 0;
13767 }
13768 _ACEOF
13769 rm -f conftest.$ac_objext
13770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13771 (eval $ac_compile) 2>conftest.er1
13772 ac_status=$?
13773 grep -v '^ *+' conftest.er1 >conftest.err
13774 rm -f conftest.er1
13775 cat conftest.err >&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); } &&
13778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13780 (eval $ac_try) 2>&5
13781 ac_status=$?
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); }; } &&
13784 { ac_try='test -s conftest.$ac_objext'
13785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13786 (eval $ac_try) 2>&5
13787 ac_status=$?
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); }; }; then
13790 bakefile_cv_c_compiler___SUNPRO_C=yes
13791 else
13792 echo "$as_me: failed program was:" >&5
13793 sed 's/^/| /' conftest.$ac_ext >&5
13794
13795 bakefile_cv_c_compiler___SUNPRO_C=no
13796
13797 fi
13798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13799
13800
13801 fi
13802 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13803 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13804 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13805 :; SUNCC=yes
13806 else
13807 :;
13808 fi
13809 ac_ext=c
13810 ac_cpp='$CPP $CPPFLAGS'
13811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13814
13815
13816
13817 ;;
13818
13819 HP-UX*)
13820
13821
13822 ac_ext=c
13823 ac_cpp='$CPP $CPPFLAGS'
13824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13827
13828 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13829 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13830 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 else
13833 cat >conftest.$ac_ext <<_ACEOF
13834 /* confdefs.h. */
13835 _ACEOF
13836 cat confdefs.h >>conftest.$ac_ext
13837 cat >>conftest.$ac_ext <<_ACEOF
13838 /* end confdefs.h. */
13839
13840 int
13841 main ()
13842 {
13843
13844 #ifndef __HP_cc
13845 choke me
13846 #endif
13847
13848 ;
13849 return 0;
13850 }
13851 _ACEOF
13852 rm -f conftest.$ac_objext
13853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13854 (eval $ac_compile) 2>conftest.er1
13855 ac_status=$?
13856 grep -v '^ *+' conftest.er1 >conftest.err
13857 rm -f conftest.er1
13858 cat conftest.err >&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); } &&
13861 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13864 ac_status=$?
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; } &&
13867 { ac_try='test -s conftest.$ac_objext'
13868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13869 (eval $ac_try) 2>&5
13870 ac_status=$?
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); }; }; then
13873 bakefile_cv_c_compiler___HP_cc=yes
13874 else
13875 echo "$as_me: failed program was:" >&5
13876 sed 's/^/| /' conftest.$ac_ext >&5
13877
13878 bakefile_cv_c_compiler___HP_cc=no
13879
13880 fi
13881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13882
13883
13884 fi
13885 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13886 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13887 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13888 :; HPCC=yes
13889 else
13890 :;
13891 fi
13892 ac_ext=c
13893 ac_cpp='$CPP $CPPFLAGS'
13894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13897
13898
13899
13900 ;;
13901
13902 OSF1)
13903
13904
13905 ac_ext=c
13906 ac_cpp='$CPP $CPPFLAGS'
13907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13910
13911 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13912 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13913 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13914 echo $ECHO_N "(cached) $ECHO_C" >&6
13915 else
13916 cat >conftest.$ac_ext <<_ACEOF
13917 /* confdefs.h. */
13918 _ACEOF
13919 cat confdefs.h >>conftest.$ac_ext
13920 cat >>conftest.$ac_ext <<_ACEOF
13921 /* end confdefs.h. */
13922
13923 int
13924 main ()
13925 {
13926
13927 #ifndef __DECC
13928 choke me
13929 #endif
13930
13931 ;
13932 return 0;
13933 }
13934 _ACEOF
13935 rm -f conftest.$ac_objext
13936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13937 (eval $ac_compile) 2>conftest.er1
13938 ac_status=$?
13939 grep -v '^ *+' conftest.er1 >conftest.err
13940 rm -f conftest.er1
13941 cat conftest.err >&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); } &&
13944 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13946 (eval $ac_try) 2>&5
13947 ac_status=$?
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); }; } &&
13950 { ac_try='test -s conftest.$ac_objext'
13951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13952 (eval $ac_try) 2>&5
13953 ac_status=$?
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); }; }; then
13956 bakefile_cv_c_compiler___DECC=yes
13957 else
13958 echo "$as_me: failed program was:" >&5
13959 sed 's/^/| /' conftest.$ac_ext >&5
13960
13961 bakefile_cv_c_compiler___DECC=no
13962
13963 fi
13964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13965
13966
13967 fi
13968 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13969 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13970 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13971 :; COMPAQCC=yes
13972 else
13973 :;
13974 fi
13975 ac_ext=c
13976 ac_cpp='$CPP $CPPFLAGS'
13977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13980
13981
13982
13983 ;;
13984
13985 SunOS)
13986
13987
13988 ac_ext=c
13989 ac_cpp='$CPP $CPPFLAGS'
13990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13993
13994 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13995 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13996 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13997 echo $ECHO_N "(cached) $ECHO_C" >&6
13998 else
13999 cat >conftest.$ac_ext <<_ACEOF
14000 /* confdefs.h. */
14001 _ACEOF
14002 cat confdefs.h >>conftest.$ac_ext
14003 cat >>conftest.$ac_ext <<_ACEOF
14004 /* end confdefs.h. */
14005
14006 int
14007 main ()
14008 {
14009
14010 #ifndef __SUNPRO_C
14011 choke me
14012 #endif
14013
14014 ;
14015 return 0;
14016 }
14017 _ACEOF
14018 rm -f conftest.$ac_objext
14019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14020 (eval $ac_compile) 2>conftest.er1
14021 ac_status=$?
14022 grep -v '^ *+' conftest.er1 >conftest.err
14023 rm -f conftest.er1
14024 cat conftest.err >&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); } &&
14027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14029 (eval $ac_try) 2>&5
14030 ac_status=$?
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); }; } &&
14033 { ac_try='test -s conftest.$ac_objext'
14034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14035 (eval $ac_try) 2>&5
14036 ac_status=$?
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); }; }; then
14039 bakefile_cv_c_compiler___SUNPRO_C=yes
14040 else
14041 echo "$as_me: failed program was:" >&5
14042 sed 's/^/| /' conftest.$ac_ext >&5
14043
14044 bakefile_cv_c_compiler___SUNPRO_C=no
14045
14046 fi
14047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14048
14049
14050 fi
14051 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14052 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
14053 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14054 :; SUNCC=yes
14055 else
14056 :;
14057 fi
14058 ac_ext=c
14059 ac_cpp='$CPP $CPPFLAGS'
14060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14063
14064
14065
14066 ;;
14067 esac
14068 fi
14069
14070
14071
14072 ac_ext=c
14073 ac_cpp='$CPP $CPPFLAGS'
14074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14077 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14078 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
14079 # On Suns, sometimes $CPP names a directory.
14080 if test -n "$CPP" && test -d "$CPP"; then
14081 CPP=
14082 fi
14083 if test -z "$CPP"; then
14084 if test "${ac_cv_prog_CPP+set}" = set; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 else
14087 # Double quotes because CPP needs to be expanded
14088 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14089 do
14090 ac_preproc_ok=false
14091 for ac_c_preproc_warn_flag in '' yes
14092 do
14093 # Use a header file that comes with gcc, so configuring glibc
14094 # with a fresh cross-compiler works.
14095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14096 # <limits.h> exists even on freestanding compilers.
14097 # On the NeXT, cc -E runs the code through the compiler's parser,
14098 # not just through cpp. "Syntax error" is here to catch this case.
14099 cat >conftest.$ac_ext <<_ACEOF
14100 /* confdefs.h. */
14101 _ACEOF
14102 cat confdefs.h >>conftest.$ac_ext
14103 cat >>conftest.$ac_ext <<_ACEOF
14104 /* end confdefs.h. */
14105 #ifdef __STDC__
14106 # include <limits.h>
14107 #else
14108 # include <assert.h>
14109 #endif
14110 Syntax error
14111 _ACEOF
14112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14113 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14114 ac_status=$?
14115 grep -v '^ *+' conftest.er1 >conftest.err
14116 rm -f conftest.er1
14117 cat conftest.err >&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } >/dev/null; then
14120 if test -s conftest.err; then
14121 ac_cpp_err=$ac_c_preproc_warn_flag
14122 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14123 else
14124 ac_cpp_err=
14125 fi
14126 else
14127 ac_cpp_err=yes
14128 fi
14129 if test -z "$ac_cpp_err"; then
14130 :
14131 else
14132 echo "$as_me: failed program was:" >&5
14133 sed 's/^/| /' conftest.$ac_ext >&5
14134
14135 # Broken: fails on valid input.
14136 continue
14137 fi
14138 rm -f conftest.err conftest.$ac_ext
14139
14140 # OK, works on sane cases. Now check whether non-existent headers
14141 # can be detected and how.
14142 cat >conftest.$ac_ext <<_ACEOF
14143 /* confdefs.h. */
14144 _ACEOF
14145 cat confdefs.h >>conftest.$ac_ext
14146 cat >>conftest.$ac_ext <<_ACEOF
14147 /* end confdefs.h. */
14148 #include <ac_nonexistent.h>
14149 _ACEOF
14150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14152 ac_status=$?
14153 grep -v '^ *+' conftest.er1 >conftest.err
14154 rm -f conftest.er1
14155 cat conftest.err >&5
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); } >/dev/null; then
14158 if test -s conftest.err; then
14159 ac_cpp_err=$ac_c_preproc_warn_flag
14160 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14161 else
14162 ac_cpp_err=
14163 fi
14164 else
14165 ac_cpp_err=yes
14166 fi
14167 if test -z "$ac_cpp_err"; then
14168 # Broken: success on invalid input.
14169 continue
14170 else
14171 echo "$as_me: failed program was:" >&5
14172 sed 's/^/| /' conftest.$ac_ext >&5
14173
14174 # Passes both tests.
14175 ac_preproc_ok=:
14176 break
14177 fi
14178 rm -f conftest.err conftest.$ac_ext
14179
14180 done
14181 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14182 rm -f conftest.err conftest.$ac_ext
14183 if $ac_preproc_ok; then
14184 break
14185 fi
14186
14187 done
14188 ac_cv_prog_CPP=$CPP
14189
14190 fi
14191 CPP=$ac_cv_prog_CPP
14192 else
14193 ac_cv_prog_CPP=$CPP
14194 fi
14195 echo "$as_me:$LINENO: result: $CPP" >&5
14196 echo "${ECHO_T}$CPP" >&6
14197 ac_preproc_ok=false
14198 for ac_c_preproc_warn_flag in '' yes
14199 do
14200 # Use a header file that comes with gcc, so configuring glibc
14201 # with a fresh cross-compiler works.
14202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14203 # <limits.h> exists even on freestanding compilers.
14204 # On the NeXT, cc -E runs the code through the compiler's parser,
14205 # not just through cpp. "Syntax error" is here to catch this case.
14206 cat >conftest.$ac_ext <<_ACEOF
14207 /* confdefs.h. */
14208 _ACEOF
14209 cat confdefs.h >>conftest.$ac_ext
14210 cat >>conftest.$ac_ext <<_ACEOF
14211 /* end confdefs.h. */
14212 #ifdef __STDC__
14213 # include <limits.h>
14214 #else
14215 # include <assert.h>
14216 #endif
14217 Syntax error
14218 _ACEOF
14219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14221 ac_status=$?
14222 grep -v '^ *+' conftest.er1 >conftest.err
14223 rm -f conftest.er1
14224 cat conftest.err >&5
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); } >/dev/null; then
14227 if test -s conftest.err; then
14228 ac_cpp_err=$ac_c_preproc_warn_flag
14229 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14230 else
14231 ac_cpp_err=
14232 fi
14233 else
14234 ac_cpp_err=yes
14235 fi
14236 if test -z "$ac_cpp_err"; then
14237 :
14238 else
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.$ac_ext >&5
14241
14242 # Broken: fails on valid input.
14243 continue
14244 fi
14245 rm -f conftest.err conftest.$ac_ext
14246
14247 # OK, works on sane cases. Now check whether non-existent headers
14248 # can be detected and how.
14249 cat >conftest.$ac_ext <<_ACEOF
14250 /* confdefs.h. */
14251 _ACEOF
14252 cat confdefs.h >>conftest.$ac_ext
14253 cat >>conftest.$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14255 #include <ac_nonexistent.h>
14256 _ACEOF
14257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14258 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14259 ac_status=$?
14260 grep -v '^ *+' conftest.er1 >conftest.err
14261 rm -f conftest.er1
14262 cat conftest.err >&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); } >/dev/null; then
14265 if test -s conftest.err; then
14266 ac_cpp_err=$ac_c_preproc_warn_flag
14267 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14268 else
14269 ac_cpp_err=
14270 fi
14271 else
14272 ac_cpp_err=yes
14273 fi
14274 if test -z "$ac_cpp_err"; then
14275 # Broken: success on invalid input.
14276 continue
14277 else
14278 echo "$as_me: failed program was:" >&5
14279 sed 's/^/| /' conftest.$ac_ext >&5
14280
14281 # Passes both tests.
14282 ac_preproc_ok=:
14283 break
14284 fi
14285 rm -f conftest.err conftest.$ac_ext
14286
14287 done
14288 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14289 rm -f conftest.err conftest.$ac_ext
14290 if $ac_preproc_ok; then
14291 :
14292 else
14293 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14294 See \`config.log' for more details." >&5
14295 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14296 See \`config.log' for more details." >&2;}
14297 { (exit 1); exit 1; }; }
14298 fi
14299
14300 ac_ext=c
14301 ac_cpp='$CPP $CPPFLAGS'
14302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14305
14306
14307 echo "$as_me:$LINENO: checking for egrep" >&5
14308 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
14309 if test "${ac_cv_prog_egrep+set}" = set; then
14310 echo $ECHO_N "(cached) $ECHO_C" >&6
14311 else
14312 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
14313 then ac_cv_prog_egrep='grep -E'
14314 else ac_cv_prog_egrep='egrep'
14315 fi
14316 fi
14317 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
14318 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
14319 EGREP=$ac_cv_prog_egrep
14320
14321
14322 if test $ac_cv_c_compiler_gnu = yes; then
14323 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14324 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
14325 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14326 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 else
14328 ac_pattern="Autoconf.*'x'"
14329 cat >conftest.$ac_ext <<_ACEOF
14330 /* confdefs.h. */
14331 _ACEOF
14332 cat confdefs.h >>conftest.$ac_ext
14333 cat >>conftest.$ac_ext <<_ACEOF
14334 /* end confdefs.h. */
14335 #include <sgtty.h>
14336 Autoconf TIOCGETP
14337 _ACEOF
14338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14339 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14340 ac_cv_prog_gcc_traditional=yes
14341 else
14342 ac_cv_prog_gcc_traditional=no
14343 fi
14344 rm -f conftest*
14345
14346
14347 if test $ac_cv_prog_gcc_traditional = no; then
14348 cat >conftest.$ac_ext <<_ACEOF
14349 /* confdefs.h. */
14350 _ACEOF
14351 cat confdefs.h >>conftest.$ac_ext
14352 cat >>conftest.$ac_ext <<_ACEOF
14353 /* end confdefs.h. */
14354 #include <termio.h>
14355 Autoconf TCGETA
14356 _ACEOF
14357 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14358 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14359 ac_cv_prog_gcc_traditional=yes
14360 fi
14361 rm -f conftest*
14362
14363 fi
14364 fi
14365 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14366 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
14367 if test $ac_cv_prog_gcc_traditional = yes; then
14368 CC="$CC -traditional"
14369 fi
14370 fi
14371
14372
14373 CXXFLAGS=${CXXFLAGS:=}
14374
14375
14376
14377 ac_ext=cc
14378 ac_cpp='$CXXCPP $CPPFLAGS'
14379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14382 if test -n "$ac_tool_prefix"; then
14383 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14384 do
14385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14386 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14387 echo "$as_me:$LINENO: checking for $ac_word" >&5
14388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14389 if test "${ac_cv_prog_CXX+set}" = set; then
14390 echo $ECHO_N "(cached) $ECHO_C" >&6
14391 else
14392 if test -n "$CXX"; then
14393 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14394 else
14395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14396 for as_dir in $PATH
14397 do
14398 IFS=$as_save_IFS
14399 test -z "$as_dir" && as_dir=.
14400 for ac_exec_ext in '' $ac_executable_extensions; do
14401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14402 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14404 break 2
14405 fi
14406 done
14407 done
14408
14409 fi
14410 fi
14411 CXX=$ac_cv_prog_CXX
14412 if test -n "$CXX"; then
14413 echo "$as_me:$LINENO: result: $CXX" >&5
14414 echo "${ECHO_T}$CXX" >&6
14415 else
14416 echo "$as_me:$LINENO: result: no" >&5
14417 echo "${ECHO_T}no" >&6
14418 fi
14419
14420 test -n "$CXX" && break
14421 done
14422 fi
14423 if test -z "$CXX"; then
14424 ac_ct_CXX=$CXX
14425 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14426 do
14427 # Extract the first word of "$ac_prog", so it can be a program name with args.
14428 set dummy $ac_prog; ac_word=$2
14429 echo "$as_me:$LINENO: checking for $ac_word" >&5
14430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14431 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14432 echo $ECHO_N "(cached) $ECHO_C" >&6
14433 else
14434 if test -n "$ac_ct_CXX"; then
14435 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14436 else
14437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14438 for as_dir in $PATH
14439 do
14440 IFS=$as_save_IFS
14441 test -z "$as_dir" && as_dir=.
14442 for ac_exec_ext in '' $ac_executable_extensions; do
14443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14444 ac_cv_prog_ac_ct_CXX="$ac_prog"
14445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14446 break 2
14447 fi
14448 done
14449 done
14450
14451 fi
14452 fi
14453 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14454 if test -n "$ac_ct_CXX"; then
14455 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14456 echo "${ECHO_T}$ac_ct_CXX" >&6
14457 else
14458 echo "$as_me:$LINENO: result: no" >&5
14459 echo "${ECHO_T}no" >&6
14460 fi
14461
14462 test -n "$ac_ct_CXX" && break
14463 done
14464 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14465
14466 CXX=$ac_ct_CXX
14467 fi
14468
14469
14470 # Provide some information about the compiler.
14471 echo "$as_me:$LINENO:" \
14472 "checking for C++ compiler version" >&5
14473 ac_compiler=`set X $ac_compile; echo $2`
14474 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14475 (eval $ac_compiler --version </dev/null >&5) 2>&5
14476 ac_status=$?
14477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); }
14479 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14480 (eval $ac_compiler -v </dev/null >&5) 2>&5
14481 ac_status=$?
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }
14484 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14485 (eval $ac_compiler -V </dev/null >&5) 2>&5
14486 ac_status=$?
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); }
14489
14490 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14491 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14492 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14493 echo $ECHO_N "(cached) $ECHO_C" >&6
14494 else
14495 cat >conftest.$ac_ext <<_ACEOF
14496 /* confdefs.h. */
14497 _ACEOF
14498 cat confdefs.h >>conftest.$ac_ext
14499 cat >>conftest.$ac_ext <<_ACEOF
14500 /* end confdefs.h. */
14501
14502 int
14503 main ()
14504 {
14505 #ifndef __GNUC__
14506 choke me
14507 #endif
14508
14509 ;
14510 return 0;
14511 }
14512 _ACEOF
14513 rm -f conftest.$ac_objext
14514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14515 (eval $ac_compile) 2>conftest.er1
14516 ac_status=$?
14517 grep -v '^ *+' conftest.er1 >conftest.err
14518 rm -f conftest.er1
14519 cat conftest.err >&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); } &&
14522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14525 ac_status=$?
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; } &&
14528 { ac_try='test -s conftest.$ac_objext'
14529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14530 (eval $ac_try) 2>&5
14531 ac_status=$?
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); }; }; then
14534 ac_compiler_gnu=yes
14535 else
14536 echo "$as_me: failed program was:" >&5
14537 sed 's/^/| /' conftest.$ac_ext >&5
14538
14539 ac_compiler_gnu=no
14540 fi
14541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14542 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14543
14544 fi
14545 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14546 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14547 GXX=`test $ac_compiler_gnu = yes && echo yes`
14548 ac_test_CXXFLAGS=${CXXFLAGS+set}
14549 ac_save_CXXFLAGS=$CXXFLAGS
14550 CXXFLAGS="-g"
14551 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14552 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14553 if test "${ac_cv_prog_cxx_g+set}" = set; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14555 else
14556 cat >conftest.$ac_ext <<_ACEOF
14557 /* confdefs.h. */
14558 _ACEOF
14559 cat confdefs.h >>conftest.$ac_ext
14560 cat >>conftest.$ac_ext <<_ACEOF
14561 /* end confdefs.h. */
14562
14563 int
14564 main ()
14565 {
14566
14567 ;
14568 return 0;
14569 }
14570 _ACEOF
14571 rm -f conftest.$ac_objext
14572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14573 (eval $ac_compile) 2>conftest.er1
14574 ac_status=$?
14575 grep -v '^ *+' conftest.er1 >conftest.err
14576 rm -f conftest.er1
14577 cat conftest.err >&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); } &&
14580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14582 (eval $ac_try) 2>&5
14583 ac_status=$?
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; } &&
14586 { ac_try='test -s conftest.$ac_objext'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14589 ac_status=$?
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; }; then
14592 ac_cv_prog_cxx_g=yes
14593 else
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14596
14597 ac_cv_prog_cxx_g=no
14598 fi
14599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14600 fi
14601 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14602 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14603 if test "$ac_test_CXXFLAGS" = set; then
14604 CXXFLAGS=$ac_save_CXXFLAGS
14605 elif test $ac_cv_prog_cxx_g = yes; then
14606 if test "$GXX" = yes; then
14607 CXXFLAGS="-g -O2"
14608 else
14609 CXXFLAGS="-g"
14610 fi
14611 else
14612 if test "$GXX" = yes; then
14613 CXXFLAGS="-O2"
14614 else
14615 CXXFLAGS=
14616 fi
14617 fi
14618 for ac_declaration in \
14619 '' \
14620 'extern "C" void std::exit (int) throw (); using std::exit;' \
14621 'extern "C" void std::exit (int); using std::exit;' \
14622 'extern "C" void exit (int) throw ();' \
14623 'extern "C" void exit (int);' \
14624 'void exit (int);'
14625 do
14626 cat >conftest.$ac_ext <<_ACEOF
14627 /* confdefs.h. */
14628 _ACEOF
14629 cat confdefs.h >>conftest.$ac_ext
14630 cat >>conftest.$ac_ext <<_ACEOF
14631 /* end confdefs.h. */
14632 $ac_declaration
14633 #include <stdlib.h>
14634 int
14635 main ()
14636 {
14637 exit (42);
14638 ;
14639 return 0;
14640 }
14641 _ACEOF
14642 rm -f conftest.$ac_objext
14643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14644 (eval $ac_compile) 2>conftest.er1
14645 ac_status=$?
14646 grep -v '^ *+' conftest.er1 >conftest.err
14647 rm -f conftest.er1
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } &&
14651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14654 ac_status=$?
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; } &&
14657 { ac_try='test -s conftest.$ac_objext'
14658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14659 (eval $ac_try) 2>&5
14660 ac_status=$?
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); }; }; then
14663 :
14664 else
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14667
14668 continue
14669 fi
14670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14671 cat >conftest.$ac_ext <<_ACEOF
14672 /* confdefs.h. */
14673 _ACEOF
14674 cat confdefs.h >>conftest.$ac_ext
14675 cat >>conftest.$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14677 $ac_declaration
14678 int
14679 main ()
14680 {
14681 exit (42);
14682 ;
14683 return 0;
14684 }
14685 _ACEOF
14686 rm -f conftest.$ac_objext
14687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14688 (eval $ac_compile) 2>conftest.er1
14689 ac_status=$?
14690 grep -v '^ *+' conftest.er1 >conftest.err
14691 rm -f conftest.er1
14692 cat conftest.err >&5
14693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); } &&
14695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14697 (eval $ac_try) 2>&5
14698 ac_status=$?
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); }; } &&
14701 { ac_try='test -s conftest.$ac_objext'
14702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14703 (eval $ac_try) 2>&5
14704 ac_status=$?
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); }; }; then
14707 break
14708 else
14709 echo "$as_me: failed program was:" >&5
14710 sed 's/^/| /' conftest.$ac_ext >&5
14711
14712 fi
14713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14714 done
14715 rm -f conftest*
14716 if test -n "$ac_declaration"; then
14717 echo '#ifdef __cplusplus' >>confdefs.h
14718 echo $ac_declaration >>confdefs.h
14719 echo '#endif' >>confdefs.h
14720 fi
14721
14722 ac_ext=c
14723 ac_cpp='$CPP $CPPFLAGS'
14724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14727
14728
14729
14730
14731 ac_ext=cc
14732 ac_cpp='$CXXCPP $CPPFLAGS'
14733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14736
14737 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14738 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14739 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 else
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748
14749 int
14750 main ()
14751 {
14752
14753 #ifndef __INTEL_COMPILER
14754 choke me
14755 #endif
14756
14757 ;
14758 return 0;
14759 }
14760 _ACEOF
14761 rm -f conftest.$ac_objext
14762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14763 (eval $ac_compile) 2>conftest.er1
14764 ac_status=$?
14765 grep -v '^ *+' conftest.er1 >conftest.err
14766 rm -f conftest.er1
14767 cat conftest.err >&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } &&
14770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14772 (eval $ac_try) 2>&5
14773 ac_status=$?
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); }; } &&
14776 { ac_try='test -s conftest.$ac_objext'
14777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14778 (eval $ac_try) 2>&5
14779 ac_status=$?
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); }; }; then
14782 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14783 else
14784 echo "$as_me: failed program was:" >&5
14785 sed 's/^/| /' conftest.$ac_ext >&5
14786
14787 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14788
14789 fi
14790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14791
14792
14793 fi
14794 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14795 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14796 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14797 :; INTELCXX=yes
14798 else
14799 :;
14800 fi
14801 ac_ext=c
14802 ac_cpp='$CPP $CPPFLAGS'
14803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14806
14807
14808
14809
14810 if test "x$GCXX" != "xyes"; then
14811 if test "xCXX" = "xC"; then
14812 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14813 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
14814 if test "${bakefile_cv_c_exto+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 else
14817 cat >conftest.$ac_ext <<_ACEOF
14818 /* confdefs.h. */
14819 _ACEOF
14820 cat confdefs.h >>conftest.$ac_ext
14821 cat >>conftest.$ac_ext <<_ACEOF
14822 /* end confdefs.h. */
14823
14824 int
14825 main ()
14826 {
14827
14828 ;
14829 return 0;
14830 }
14831 _ACEOF
14832 rm -f conftest.$ac_objext conftest.$ac_ext.o
14833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14834 (eval $ac_compile) 2>&5
14835 ac_status=$?
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); }; then
14838 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14839 case $ac_file in
14840 conftest.$ac_ext.o)
14841 bakefile_cv_c_exto="-ext o"
14842 ;;
14843 *)
14844 ;;
14845 esac
14846 done
14847 else
14848 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14849 See \`config.log' for more details." >&5
14850 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14851 See \`config.log' for more details." >&2;}
14852 { (exit 1); exit 1; }; }
14853
14854 fi
14855
14856 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14857
14858 fi
14859 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14860 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
14861 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14862 if test "c" = "c"; then
14863 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14864 fi
14865 if test "c" = "cxx"; then
14866 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14867 fi
14868 fi
14869
14870 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14871 unset ac_cv_prog_cc_g
14872 ac_test_CFLAGS=${CFLAGS+set}
14873 ac_save_CFLAGS=$CFLAGS
14874 CFLAGS="-g"
14875 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14876 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14877 if test "${ac_cv_prog_cc_g+set}" = set; then
14878 echo $ECHO_N "(cached) $ECHO_C" >&6
14879 else
14880 cat >conftest.$ac_ext <<_ACEOF
14881 /* confdefs.h. */
14882 _ACEOF
14883 cat confdefs.h >>conftest.$ac_ext
14884 cat >>conftest.$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886
14887 int
14888 main ()
14889 {
14890
14891 ;
14892 return 0;
14893 }
14894 _ACEOF
14895 rm -f conftest.$ac_objext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14897 (eval $ac_compile) 2>conftest.er1
14898 ac_status=$?
14899 grep -v '^ *+' conftest.er1 >conftest.err
14900 rm -f conftest.er1
14901 cat conftest.err >&5
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); } &&
14904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14906 (eval $ac_try) 2>&5
14907 ac_status=$?
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); }; } &&
14910 { ac_try='test -s conftest.$ac_objext'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14913 ac_status=$?
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; }; then
14916 ac_cv_prog_cc_g=yes
14917 else
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14920
14921 ac_cv_prog_cc_g=no
14922 fi
14923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14924 fi
14925 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14926 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14927 if test "$ac_test_CFLAGS" = set; then
14928 CFLAGS=$ac_save_CFLAGS
14929 elif test $ac_cv_prog_cc_g = yes; then
14930 if test "$GCC" = yes; then
14931 CFLAGS="-g -O2"
14932 else
14933 CFLAGS="-g"
14934 fi
14935 else
14936 if test "$GCC" = yes; then
14937 CFLAGS="-O2"
14938 else
14939 CFLAGS=
14940 fi
14941 fi
14942 fi
14943 fi
14944
14945 case `uname -s` in
14946 AIX*)
14947
14948
14949 ac_ext=cc
14950 ac_cpp='$CXXCPP $CPPFLAGS'
14951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14954
14955 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14956 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14957 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
14958 echo $ECHO_N "(cached) $ECHO_C" >&6
14959 else
14960 cat >conftest.$ac_ext <<_ACEOF
14961 /* confdefs.h. */
14962 _ACEOF
14963 cat confdefs.h >>conftest.$ac_ext
14964 cat >>conftest.$ac_ext <<_ACEOF
14965 /* end confdefs.h. */
14966
14967 int
14968 main ()
14969 {
14970
14971 #ifndef __xlC__
14972 choke me
14973 #endif
14974
14975 ;
14976 return 0;
14977 }
14978 _ACEOF
14979 rm -f conftest.$ac_objext
14980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14981 (eval $ac_compile) 2>conftest.er1
14982 ac_status=$?
14983 grep -v '^ *+' conftest.er1 >conftest.err
14984 rm -f conftest.er1
14985 cat conftest.err >&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); } &&
14988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14991 ac_status=$?
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; } &&
14994 { ac_try='test -s conftest.$ac_objext'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14997 ac_status=$?
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; }; then
15000 bakefile_cv_cxx_compiler___xlC__=yes
15001 else
15002 echo "$as_me: failed program was:" >&5
15003 sed 's/^/| /' conftest.$ac_ext >&5
15004
15005 bakefile_cv_cxx_compiler___xlC__=no
15006
15007 fi
15008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15009
15010
15011 fi
15012 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
15013 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
15014 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
15015 :; XLCXX=yes
15016 else
15017 :;
15018 fi
15019 ac_ext=c
15020 ac_cpp='$CPP $CPPFLAGS'
15021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15024
15025
15026
15027 ;;
15028
15029 Darwin)
15030
15031
15032 ac_ext=cc
15033 ac_cpp='$CXXCPP $CPPFLAGS'
15034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15037
15038 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15039 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
15040 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15042 else
15043 cat >conftest.$ac_ext <<_ACEOF
15044 /* confdefs.h. */
15045 _ACEOF
15046 cat confdefs.h >>conftest.$ac_ext
15047 cat >>conftest.$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15049
15050 int
15051 main ()
15052 {
15053
15054 #ifndef __MWERKS__
15055 choke me
15056 #endif
15057
15058 ;
15059 return 0;
15060 }
15061 _ACEOF
15062 rm -f conftest.$ac_objext
15063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15064 (eval $ac_compile) 2>conftest.er1
15065 ac_status=$?
15066 grep -v '^ *+' conftest.er1 >conftest.err
15067 rm -f conftest.er1
15068 cat conftest.err >&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } &&
15071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15074 ac_status=$?
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; } &&
15077 { ac_try='test -s conftest.$ac_objext'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15080 ac_status=$?
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; }; then
15083 bakefile_cv_cxx_compiler___MWERKS__=yes
15084 else
15085 echo "$as_me: failed program was:" >&5
15086 sed 's/^/| /' conftest.$ac_ext >&5
15087
15088 bakefile_cv_cxx_compiler___MWERKS__=no
15089
15090 fi
15091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15092
15093
15094 fi
15095 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
15096 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6
15097 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
15098 :; MWCXX=yes
15099 else
15100 :;
15101 fi
15102 ac_ext=c
15103 ac_cpp='$CPP $CPPFLAGS'
15104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15107
15108
15109
15110
15111
15112 ac_ext=cc
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15117
15118 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15119 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
15120 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 else
15123 cat >conftest.$ac_ext <<_ACEOF
15124 /* confdefs.h. */
15125 _ACEOF
15126 cat confdefs.h >>conftest.$ac_ext
15127 cat >>conftest.$ac_ext <<_ACEOF
15128 /* end confdefs.h. */
15129
15130 int
15131 main ()
15132 {
15133
15134 #ifndef __xlC__
15135 choke me
15136 #endif
15137
15138 ;
15139 return 0;
15140 }
15141 _ACEOF
15142 rm -f conftest.$ac_objext
15143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15144 (eval $ac_compile) 2>conftest.er1
15145 ac_status=$?
15146 grep -v '^ *+' conftest.er1 >conftest.err
15147 rm -f conftest.er1
15148 cat conftest.err >&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); } &&
15151 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15153 (eval $ac_try) 2>&5
15154 ac_status=$?
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); }; } &&
15157 { ac_try='test -s conftest.$ac_objext'
15158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15159 (eval $ac_try) 2>&5
15160 ac_status=$?
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); }; }; then
15163 bakefile_cv_cxx_compiler___xlC__=yes
15164 else
15165 echo "$as_me: failed program was:" >&5
15166 sed 's/^/| /' conftest.$ac_ext >&5
15167
15168 bakefile_cv_cxx_compiler___xlC__=no
15169
15170 fi
15171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15172
15173
15174 fi
15175 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
15176 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
15177 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
15178 :; XLCXX=yes
15179 else
15180 :;
15181 fi
15182 ac_ext=c
15183 ac_cpp='$CPP $CPPFLAGS'
15184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15187
15188
15189
15190 ;;
15191
15192 IRIX*)
15193
15194
15195 ac_ext=cc
15196 ac_cpp='$CXXCPP $CPPFLAGS'
15197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15200
15201 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15202 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
15203 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15204 echo $ECHO_N "(cached) $ECHO_C" >&6
15205 else
15206 cat >conftest.$ac_ext <<_ACEOF
15207 /* confdefs.h. */
15208 _ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15212
15213 int
15214 main ()
15215 {
15216
15217 #ifndef _SGI_COMPILER_VERSION
15218 choke me
15219 #endif
15220
15221 ;
15222 return 0;
15223 }
15224 _ACEOF
15225 rm -f conftest.$ac_objext
15226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15227 (eval $ac_compile) 2>conftest.er1
15228 ac_status=$?
15229 grep -v '^ *+' conftest.er1 >conftest.err
15230 rm -f conftest.er1
15231 cat conftest.err >&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } &&
15234 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15236 (eval $ac_try) 2>&5
15237 ac_status=$?
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); }; } &&
15240 { ac_try='test -s conftest.$ac_objext'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; }; then
15246 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15247 else
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.$ac_ext >&5
15250
15251 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15252
15253 fi
15254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15255
15256
15257 fi
15258 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15259 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
15260 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15261 :; SGICXX=yes
15262 else
15263 :;
15264 fi
15265 ac_ext=c
15266 ac_cpp='$CPP $CPPFLAGS'
15267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15270
15271
15272
15273 ;;
15274
15275 Linux*)
15276
15277
15278 ac_ext=cc
15279 ac_cpp='$CXXCPP $CPPFLAGS'
15280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15283
15284 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15285 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15286 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15287 echo $ECHO_N "(cached) $ECHO_C" >&6
15288 else
15289 cat >conftest.$ac_ext <<_ACEOF
15290 /* confdefs.h. */
15291 _ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15295
15296 int
15297 main ()
15298 {
15299
15300 #ifndef __SUNPRO_CC
15301 choke me
15302 #endif
15303
15304 ;
15305 return 0;
15306 }
15307 _ACEOF
15308 rm -f conftest.$ac_objext
15309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15310 (eval $ac_compile) 2>conftest.er1
15311 ac_status=$?
15312 grep -v '^ *+' conftest.er1 >conftest.err
15313 rm -f conftest.er1
15314 cat conftest.err >&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); } &&
15317 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15319 (eval $ac_try) 2>&5
15320 ac_status=$?
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; } &&
15323 { ac_try='test -s conftest.$ac_objext'
15324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15325 (eval $ac_try) 2>&5
15326 ac_status=$?
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); }; }; then
15329 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15330 else
15331 echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.$ac_ext >&5
15333
15334 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15335
15336 fi
15337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15338
15339
15340 fi
15341 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15342 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15343 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15344 :; SUNCXX=yes
15345 else
15346 :;
15347 fi
15348 ac_ext=c
15349 ac_cpp='$CPP $CPPFLAGS'
15350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15353
15354
15355
15356 ;;
15357
15358 HP-UX*)
15359
15360
15361 ac_ext=cc
15362 ac_cpp='$CXXCPP $CPPFLAGS'
15363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15366
15367 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15368 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
15369 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15370 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 else
15372 cat >conftest.$ac_ext <<_ACEOF
15373 /* confdefs.h. */
15374 _ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378
15379 int
15380 main ()
15381 {
15382
15383 #ifndef __HP_aCC
15384 choke me
15385 #endif
15386
15387 ;
15388 return 0;
15389 }
15390 _ACEOF
15391 rm -f conftest.$ac_objext
15392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15393 (eval $ac_compile) 2>conftest.er1
15394 ac_status=$?
15395 grep -v '^ *+' conftest.er1 >conftest.err
15396 rm -f conftest.er1
15397 cat conftest.err >&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); } &&
15400 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15403 ac_status=$?
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; } &&
15406 { ac_try='test -s conftest.$ac_objext'
15407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15408 (eval $ac_try) 2>&5
15409 ac_status=$?
15410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15411 (exit $ac_status); }; }; then
15412 bakefile_cv_cxx_compiler___HP_aCC=yes
15413 else
15414 echo "$as_me: failed program was:" >&5
15415 sed 's/^/| /' conftest.$ac_ext >&5
15416
15417 bakefile_cv_cxx_compiler___HP_aCC=no
15418
15419 fi
15420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15421
15422
15423 fi
15424 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15425 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
15426 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
15427 :; HPCXX=yes
15428 else
15429 :;
15430 fi
15431 ac_ext=c
15432 ac_cpp='$CPP $CPPFLAGS'
15433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15436
15437
15438
15439 ;;
15440
15441 OSF1)
15442
15443
15444 ac_ext=cc
15445 ac_cpp='$CXXCPP $CPPFLAGS'
15446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15449
15450 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15451 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
15452 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15454 else
15455 cat >conftest.$ac_ext <<_ACEOF
15456 /* confdefs.h. */
15457 _ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15461
15462 int
15463 main ()
15464 {
15465
15466 #ifndef __DECCXX
15467 choke me
15468 #endif
15469
15470 ;
15471 return 0;
15472 }
15473 _ACEOF
15474 rm -f conftest.$ac_objext
15475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15476 (eval $ac_compile) 2>conftest.er1
15477 ac_status=$?
15478 grep -v '^ *+' conftest.er1 >conftest.err
15479 rm -f conftest.er1
15480 cat conftest.err >&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); } &&
15483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15485 (eval $ac_try) 2>&5
15486 ac_status=$?
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; } &&
15489 { ac_try='test -s conftest.$ac_objext'
15490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15491 (eval $ac_try) 2>&5
15492 ac_status=$?
15493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15494 (exit $ac_status); }; }; then
15495 bakefile_cv_cxx_compiler___DECCXX=yes
15496 else
15497 echo "$as_me: failed program was:" >&5
15498 sed 's/^/| /' conftest.$ac_ext >&5
15499
15500 bakefile_cv_cxx_compiler___DECCXX=no
15501
15502 fi
15503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15504
15505
15506 fi
15507 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15508 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15509 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15510 :; COMPAQCXX=yes
15511 else
15512 :;
15513 fi
15514 ac_ext=c
15515 ac_cpp='$CPP $CPPFLAGS'
15516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15519
15520
15521
15522 ;;
15523
15524 SunOS)
15525
15526
15527 ac_ext=cc
15528 ac_cpp='$CXXCPP $CPPFLAGS'
15529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15532
15533 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15534 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15535 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15536 echo $ECHO_N "(cached) $ECHO_C" >&6
15537 else
15538 cat >conftest.$ac_ext <<_ACEOF
15539 /* confdefs.h. */
15540 _ACEOF
15541 cat confdefs.h >>conftest.$ac_ext
15542 cat >>conftest.$ac_ext <<_ACEOF
15543 /* end confdefs.h. */
15544
15545 int
15546 main ()
15547 {
15548
15549 #ifndef __SUNPRO_CC
15550 choke me
15551 #endif
15552
15553 ;
15554 return 0;
15555 }
15556 _ACEOF
15557 rm -f conftest.$ac_objext
15558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15559 (eval $ac_compile) 2>conftest.er1
15560 ac_status=$?
15561 grep -v '^ *+' conftest.er1 >conftest.err
15562 rm -f conftest.er1
15563 cat conftest.err >&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); } &&
15566 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 (eval $ac_try) 2>&5
15569 ac_status=$?
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); }; } &&
15572 { ac_try='test -s conftest.$ac_objext'
15573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15574 (eval $ac_try) 2>&5
15575 ac_status=$?
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); }; }; then
15578 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15579 else
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.$ac_ext >&5
15582
15583 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15584
15585 fi
15586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15587
15588
15589 fi
15590 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15591 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15592 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15593 :; SUNCXX=yes
15594 else
15595 :;
15596 fi
15597 ac_ext=c
15598 ac_cpp='$CPP $CPPFLAGS'
15599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15602
15603
15604
15605 ;;
15606 esac
15607 fi
15608
15609
15610
15611 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
15612 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
15613 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
15614 { (exit 1); exit 1; }; }
15615 fi
15616
15617 if test -n "$ac_tool_prefix"; then
15618 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15619 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15620 echo "$as_me:$LINENO: checking for $ac_word" >&5
15621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15622 if test "${ac_cv_prog_RANLIB+set}" = set; then
15623 echo $ECHO_N "(cached) $ECHO_C" >&6
15624 else
15625 if test -n "$RANLIB"; then
15626 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15627 else
15628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15629 for as_dir in $PATH
15630 do
15631 IFS=$as_save_IFS
15632 test -z "$as_dir" && as_dir=.
15633 for ac_exec_ext in '' $ac_executable_extensions; do
15634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15635 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15637 break 2
15638 fi
15639 done
15640 done
15641
15642 fi
15643 fi
15644 RANLIB=$ac_cv_prog_RANLIB
15645 if test -n "$RANLIB"; then
15646 echo "$as_me:$LINENO: result: $RANLIB" >&5
15647 echo "${ECHO_T}$RANLIB" >&6
15648 else
15649 echo "$as_me:$LINENO: result: no" >&5
15650 echo "${ECHO_T}no" >&6
15651 fi
15652
15653 fi
15654 if test -z "$ac_cv_prog_RANLIB"; then
15655 ac_ct_RANLIB=$RANLIB
15656 # Extract the first word of "ranlib", so it can be a program name with args.
15657 set dummy ranlib; ac_word=$2
15658 echo "$as_me:$LINENO: checking for $ac_word" >&5
15659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15660 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15661 echo $ECHO_N "(cached) $ECHO_C" >&6
15662 else
15663 if test -n "$ac_ct_RANLIB"; then
15664 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15665 else
15666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15667 for as_dir in $PATH
15668 do
15669 IFS=$as_save_IFS
15670 test -z "$as_dir" && as_dir=.
15671 for ac_exec_ext in '' $ac_executable_extensions; do
15672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15673 ac_cv_prog_ac_ct_RANLIB="ranlib"
15674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15675 break 2
15676 fi
15677 done
15678 done
15679
15680 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15681 fi
15682 fi
15683 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15684 if test -n "$ac_ct_RANLIB"; then
15685 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15686 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15687 else
15688 echo "$as_me:$LINENO: result: no" >&5
15689 echo "${ECHO_T}no" >&6
15690 fi
15691
15692 RANLIB=$ac_ct_RANLIB
15693 else
15694 RANLIB="$ac_cv_prog_RANLIB"
15695 fi
15696
15697
15698 if test "x$SUNCXX" != xyes; then
15699 if test -n "$ac_tool_prefix"; then
15700 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15701 set dummy ${ac_tool_prefix}ar; ac_word=$2
15702 echo "$as_me:$LINENO: checking for $ac_word" >&5
15703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15704 if test "${ac_cv_prog_AR+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 else
15707 if test -n "$AR"; then
15708 ac_cv_prog_AR="$AR" # Let the user override the test.
15709 else
15710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15711 for as_dir in $PATH
15712 do
15713 IFS=$as_save_IFS
15714 test -z "$as_dir" && as_dir=.
15715 for ac_exec_ext in '' $ac_executable_extensions; do
15716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15717 ac_cv_prog_AR="${ac_tool_prefix}ar"
15718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15719 break 2
15720 fi
15721 done
15722 done
15723
15724 fi
15725 fi
15726 AR=$ac_cv_prog_AR
15727 if test -n "$AR"; then
15728 echo "$as_me:$LINENO: result: $AR" >&5
15729 echo "${ECHO_T}$AR" >&6
15730 else
15731 echo "$as_me:$LINENO: result: no" >&5
15732 echo "${ECHO_T}no" >&6
15733 fi
15734
15735 fi
15736 if test -z "$ac_cv_prog_AR"; then
15737 ac_ct_AR=$AR
15738 # Extract the first word of "ar", so it can be a program name with args.
15739 set dummy ar; ac_word=$2
15740 echo "$as_me:$LINENO: checking for $ac_word" >&5
15741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15742 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15743 echo $ECHO_N "(cached) $ECHO_C" >&6
15744 else
15745 if test -n "$ac_ct_AR"; then
15746 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15747 else
15748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15749 for as_dir in $PATH
15750 do
15751 IFS=$as_save_IFS
15752 test -z "$as_dir" && as_dir=.
15753 for ac_exec_ext in '' $ac_executable_extensions; do
15754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15755 ac_cv_prog_ac_ct_AR="ar"
15756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15757 break 2
15758 fi
15759 done
15760 done
15761
15762 fi
15763 fi
15764 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15765 if test -n "$ac_ct_AR"; then
15766 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15767 echo "${ECHO_T}$ac_ct_AR" >&6
15768 else
15769 echo "$as_me:$LINENO: result: no" >&5
15770 echo "${ECHO_T}no" >&6
15771 fi
15772
15773 AR=$ac_ct_AR
15774 else
15775 AR="$ac_cv_prog_AR"
15776 fi
15777
15778 if test "x$AR" = "x" ; then
15779 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15780 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15781 { (exit 1); exit 1; }; }
15782 fi
15783 fi
15784
15785 # Find a good install program. We prefer a C program (faster),
15786 # so one script is as good as another. But avoid the broken or
15787 # incompatible versions:
15788 # SysV /etc/install, /usr/sbin/install
15789 # SunOS /usr/etc/install
15790 # IRIX /sbin/install
15791 # AIX /bin/install
15792 # AmigaOS /C/install, which installs bootblocks on floppy discs
15793 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15794 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15795 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15796 # OS/2's system install, which has a completely different semantic
15797 # ./install, which can be erroneously created by make from ./install.sh.
15798 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15799 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15800 if test -z "$INSTALL"; then
15801 if test "${ac_cv_path_install+set}" = set; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15803 else
15804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15805 for as_dir in $PATH
15806 do
15807 IFS=$as_save_IFS
15808 test -z "$as_dir" && as_dir=.
15809 # Account for people who put trailing slashes in PATH elements.
15810 case $as_dir/ in
15811 ./ | .// | /cC/* | \
15812 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15813 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15814 /usr/ucb/* ) ;;
15815 *)
15816 # OSF1 and SCO ODT 3.0 have their own names for install.
15817 # Don't use installbsd from OSF since it installs stuff as root
15818 # by default.
15819 for ac_prog in ginstall scoinst install; do
15820 for ac_exec_ext in '' $ac_executable_extensions; do
15821 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15822 if test $ac_prog = install &&
15823 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15824 # AIX install. It has an incompatible calling convention.
15825 :
15826 elif test $ac_prog = install &&
15827 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15828 # program-specific install script used by HP pwplus--don't use.
15829 :
15830 else
15831 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15832 break 3
15833 fi
15834 fi
15835 done
15836 done
15837 ;;
15838 esac
15839 done
15840
15841
15842 fi
15843 if test "${ac_cv_path_install+set}" = set; then
15844 INSTALL=$ac_cv_path_install
15845 else
15846 # As a last resort, use the slow shell script. We don't cache a
15847 # path for INSTALL within a source directory, because that will
15848 # break other packages using the cache if that directory is
15849 # removed, or if the path is relative.
15850 INSTALL=$ac_install_sh
15851 fi
15852 fi
15853 echo "$as_me:$LINENO: result: $INSTALL" >&5
15854 echo "${ECHO_T}$INSTALL" >&6
15855
15856 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15857 # It thinks the first close brace ends the variable substitution.
15858 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15859
15860 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15861
15862 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15863
15864
15865 case ${INSTALL} in
15866 /* ) # Absolute
15867 ;;
15868 ?:* ) # Drive letter, considered as absolute.
15869 ;;
15870 *)
15871 INSTALL=`pwd`/${INSTALL} ;;
15872 esac
15873
15874
15875 case "${host}" in
15876
15877 *-*-darwin* )
15878 INSTALL_PROGRAM="cp -fp"
15879 INSTALL_DATA="cp -fp"
15880 ;;
15881 *)
15882 ;;
15883 esac
15884
15885 if test -n "$ac_tool_prefix"; then
15886 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15887 set dummy ${ac_tool_prefix}strip; ac_word=$2
15888 echo "$as_me:$LINENO: checking for $ac_word" >&5
15889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15890 if test "${ac_cv_prog_STRIP+set}" = set; then
15891 echo $ECHO_N "(cached) $ECHO_C" >&6
15892 else
15893 if test -n "$STRIP"; then
15894 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15895 else
15896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15897 for as_dir in $PATH
15898 do
15899 IFS=$as_save_IFS
15900 test -z "$as_dir" && as_dir=.
15901 for ac_exec_ext in '' $ac_executable_extensions; do
15902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15903 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15905 break 2
15906 fi
15907 done
15908 done
15909
15910 fi
15911 fi
15912 STRIP=$ac_cv_prog_STRIP
15913 if test -n "$STRIP"; then
15914 echo "$as_me:$LINENO: result: $STRIP" >&5
15915 echo "${ECHO_T}$STRIP" >&6
15916 else
15917 echo "$as_me:$LINENO: result: no" >&5
15918 echo "${ECHO_T}no" >&6
15919 fi
15920
15921 fi
15922 if test -z "$ac_cv_prog_STRIP"; then
15923 ac_ct_STRIP=$STRIP
15924 # Extract the first word of "strip", so it can be a program name with args.
15925 set dummy strip; ac_word=$2
15926 echo "$as_me:$LINENO: checking for $ac_word" >&5
15927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15928 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15929 echo $ECHO_N "(cached) $ECHO_C" >&6
15930 else
15931 if test -n "$ac_ct_STRIP"; then
15932 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15933 else
15934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15935 for as_dir in $PATH
15936 do
15937 IFS=$as_save_IFS
15938 test -z "$as_dir" && as_dir=.
15939 for ac_exec_ext in '' $ac_executable_extensions; do
15940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15941 ac_cv_prog_ac_ct_STRIP="strip"
15942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15943 break 2
15944 fi
15945 done
15946 done
15947
15948 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15949 fi
15950 fi
15951 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15952 if test -n "$ac_ct_STRIP"; then
15953 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15954 echo "${ECHO_T}$ac_ct_STRIP" >&6
15955 else
15956 echo "$as_me:$LINENO: result: no" >&5
15957 echo "${ECHO_T}no" >&6
15958 fi
15959
15960 STRIP=$ac_ct_STRIP
15961 else
15962 STRIP="$ac_cv_prog_STRIP"
15963 fi
15964
15965
15966 if test "$wxUSE_WINE" = "yes"; then
15967 if test -n "$ac_tool_prefix"; then
15968 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15969 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15970 echo "$as_me:$LINENO: checking for $ac_word" >&5
15971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15972 if test "${ac_cv_prog_WINDRES+set}" = set; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15974 else
15975 if test -n "$WINDRES"; then
15976 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15977 else
15978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15979 for as_dir in $PATH
15980 do
15981 IFS=$as_save_IFS
15982 test -z "$as_dir" && as_dir=.
15983 for ac_exec_ext in '' $ac_executable_extensions; do
15984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15985 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15987 break 2
15988 fi
15989 done
15990 done
15991
15992 fi
15993 fi
15994 WINDRES=$ac_cv_prog_WINDRES
15995 if test -n "$WINDRES"; then
15996 echo "$as_me:$LINENO: result: $WINDRES" >&5
15997 echo "${ECHO_T}$WINDRES" >&6
15998 else
15999 echo "$as_me:$LINENO: result: no" >&5
16000 echo "${ECHO_T}no" >&6
16001 fi
16002
16003 fi
16004 if test -z "$ac_cv_prog_WINDRES"; then
16005 ac_ct_WINDRES=$WINDRES
16006 # Extract the first word of "wrc", so it can be a program name with args.
16007 set dummy wrc; ac_word=$2
16008 echo "$as_me:$LINENO: checking for $ac_word" >&5
16009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16010 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16011 echo $ECHO_N "(cached) $ECHO_C" >&6
16012 else
16013 if test -n "$ac_ct_WINDRES"; then
16014 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16015 else
16016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16017 for as_dir in $PATH
16018 do
16019 IFS=$as_save_IFS
16020 test -z "$as_dir" && as_dir=.
16021 for ac_exec_ext in '' $ac_executable_extensions; do
16022 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16023 ac_cv_prog_ac_ct_WINDRES="wrc"
16024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16025 break 2
16026 fi
16027 done
16028 done
16029
16030 fi
16031 fi
16032 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16033 if test -n "$ac_ct_WINDRES"; then
16034 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16035 echo "${ECHO_T}$ac_ct_WINDRES" >&6
16036 else
16037 echo "$as_me:$LINENO: result: no" >&5
16038 echo "${ECHO_T}no" >&6
16039 fi
16040
16041 WINDRES=$ac_ct_WINDRES
16042 else
16043 WINDRES="$ac_cv_prog_WINDRES"
16044 fi
16045
16046 RESCOMP="$WINDRES"
16047 else
16048 case "${host}" in
16049 *-*-cygwin* | *-*-mingw32* )
16050 if test -n "$ac_tool_prefix"; then
16051 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16052 set dummy ${ac_tool_prefix}windres; ac_word=$2
16053 echo "$as_me:$LINENO: checking for $ac_word" >&5
16054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16055 if test "${ac_cv_prog_WINDRES+set}" = set; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 else
16058 if test -n "$WINDRES"; then
16059 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16060 else
16061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16062 for as_dir in $PATH
16063 do
16064 IFS=$as_save_IFS
16065 test -z "$as_dir" && as_dir=.
16066 for ac_exec_ext in '' $ac_executable_extensions; do
16067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16068 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16070 break 2
16071 fi
16072 done
16073 done
16074
16075 fi
16076 fi
16077 WINDRES=$ac_cv_prog_WINDRES
16078 if test -n "$WINDRES"; then
16079 echo "$as_me:$LINENO: result: $WINDRES" >&5
16080 echo "${ECHO_T}$WINDRES" >&6
16081 else
16082 echo "$as_me:$LINENO: result: no" >&5
16083 echo "${ECHO_T}no" >&6
16084 fi
16085
16086 fi
16087 if test -z "$ac_cv_prog_WINDRES"; then
16088 ac_ct_WINDRES=$WINDRES
16089 # Extract the first word of "windres", so it can be a program name with args.
16090 set dummy windres; ac_word=$2
16091 echo "$as_me:$LINENO: checking for $ac_word" >&5
16092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16093 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16094 echo $ECHO_N "(cached) $ECHO_C" >&6
16095 else
16096 if test -n "$ac_ct_WINDRES"; then
16097 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16098 else
16099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16100 for as_dir in $PATH
16101 do
16102 IFS=$as_save_IFS
16103 test -z "$as_dir" && as_dir=.
16104 for ac_exec_ext in '' $ac_executable_extensions; do
16105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16106 ac_cv_prog_ac_ct_WINDRES="windres"
16107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16108 break 2
16109 fi
16110 done
16111 done
16112
16113 fi
16114 fi
16115 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16116 if test -n "$ac_ct_WINDRES"; then
16117 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16118 echo "${ECHO_T}$ac_ct_WINDRES" >&6
16119 else
16120 echo "$as_me:$LINENO: result: no" >&5
16121 echo "${ECHO_T}no" >&6
16122 fi
16123
16124 WINDRES=$ac_ct_WINDRES
16125 else
16126 WINDRES="$ac_cv_prog_WINDRES"
16127 fi
16128
16129 RESCOMP="$WINDRES"
16130 if test -n "$ac_tool_prefix"; then
16131 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16132 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16133 echo "$as_me:$LINENO: checking for $ac_word" >&5
16134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16135 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16136 echo $ECHO_N "(cached) $ECHO_C" >&6
16137 else
16138 if test -n "$DLLTOOL"; then
16139 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16140 else
16141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16142 for as_dir in $PATH
16143 do
16144 IFS=$as_save_IFS
16145 test -z "$as_dir" && as_dir=.
16146 for ac_exec_ext in '' $ac_executable_extensions; do
16147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16148 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16150 break 2
16151 fi
16152 done
16153 done
16154
16155 fi
16156 fi
16157 DLLTOOL=$ac_cv_prog_DLLTOOL
16158 if test -n "$DLLTOOL"; then
16159 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16160 echo "${ECHO_T}$DLLTOOL" >&6
16161 else
16162 echo "$as_me:$LINENO: result: no" >&5
16163 echo "${ECHO_T}no" >&6
16164 fi
16165
16166 fi
16167 if test -z "$ac_cv_prog_DLLTOOL"; then
16168 ac_ct_DLLTOOL=$DLLTOOL
16169 # Extract the first word of "dlltool", so it can be a program name with args.
16170 set dummy dlltool; ac_word=$2
16171 echo "$as_me:$LINENO: checking for $ac_word" >&5
16172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16173 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16174 echo $ECHO_N "(cached) $ECHO_C" >&6
16175 else
16176 if test -n "$ac_ct_DLLTOOL"; then
16177 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16178 else
16179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16180 for as_dir in $PATH
16181 do
16182 IFS=$as_save_IFS
16183 test -z "$as_dir" && as_dir=.
16184 for ac_exec_ext in '' $ac_executable_extensions; do
16185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16186 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16188 break 2
16189 fi
16190 done
16191 done
16192
16193 fi
16194 fi
16195 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16196 if test -n "$ac_ct_DLLTOOL"; then
16197 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16198 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
16199 else
16200 echo "$as_me:$LINENO: result: no" >&5
16201 echo "${ECHO_T}no" >&6
16202 fi
16203
16204 DLLTOOL=$ac_ct_DLLTOOL
16205 else
16206 DLLTOOL="$ac_cv_prog_DLLTOOL"
16207 fi
16208
16209 ;;
16210 esac
16211 fi
16212
16213 echo "$as_me:$LINENO: checking if make is GNU make" >&5
16214 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
16215 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16216 echo $ECHO_N "(cached) $ECHO_C" >&6
16217 else
16218
16219 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16220 $EGREP -s GNU > /dev/null); then
16221 wx_cv_prog_makeisgnu="yes"
16222 else
16223 wx_cv_prog_makeisgnu="no"
16224 fi
16225
16226 fi
16227 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16228 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
16229
16230 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16231 IF_GNU_MAKE=""
16232 else
16233 IF_GNU_MAKE="#"
16234 fi
16235
16236
16237
16238 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16239 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16240 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
16241 if test "${wx_cv_prog_makevpath+set}" = set; then
16242 echo $ECHO_N "(cached) $ECHO_C" >&6
16243 else
16244
16245 cat - << EOF > confMake
16246 check : file
16247 cp \$? \$@
16248 cp \$? final_file
16249 EOF
16250
16251 if test ! -d sub ; then
16252 mkdir sub
16253 fi
16254 echo dummy > sub/file
16255 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16256 RESULT=$?
16257 rm -f sub/file check final_file confMake
16258 rmdir sub
16259 if test "$RESULT" = 0; then
16260 wx_cv_prog_makevpath="yes"
16261 else
16262 wx_cv_prog_makevpath="no"
16263 fi
16264
16265 fi
16266 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16267 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
16268
16269 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16270 { { echo "$as_me:$LINENO: error:
16271 You need a make-utility that is able to use the variable
16272 VPATH correctly.
16273 If your version of make does not support VPATH correctly,
16274 please install GNU-make (possibly as gmake), and start
16275 configure with the following command:
16276 export MAKE=gmake; ./configure for sh-type shells
16277 setenv MAKE gmake; ./configure for csh-type shells
16278 Also please do remember to use gmake in this case every time
16279 you are trying to compile.
16280 " >&5
16281 echo "$as_me: error:
16282 You need a make-utility that is able to use the variable
16283 VPATH correctly.
16284 If your version of make does not support VPATH correctly,
16285 please install GNU-make (possibly as gmake), and start
16286 configure with the following command:
16287 export MAKE=gmake; ./configure for sh-type shells
16288 setenv MAKE gmake; ./configure for csh-type shells
16289 Also please do remember to use gmake in this case every time
16290 you are trying to compile.
16291 " >&2;}
16292 { (exit 1); exit 1; }; }
16293 fi fi
16294 echo "$as_me:$LINENO: checking whether ln -s works" >&5
16295 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
16296 LN_S=$as_ln_s
16297 if test "$LN_S" = "ln -s"; then
16298 echo "$as_me:$LINENO: result: yes" >&5
16299 echo "${ECHO_T}yes" >&6
16300 else
16301 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16302 echo "${ECHO_T}no, using $LN_S" >&6
16303 fi
16304
16305
16306
16307
16308 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16309 CXXFLAGS="-qunique $CXXFLAGS"
16310 fi
16311
16312 case "${host}" in
16313 powerpc-*-darwin* )
16314 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16315 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
16316 cat >conftest.$ac_ext <<_ACEOF
16317 /* confdefs.h. */
16318 _ACEOF
16319 cat confdefs.h >>conftest.$ac_ext
16320 cat >>conftest.$ac_ext <<_ACEOF
16321 /* end confdefs.h. */
16322
16323 int
16324 main ()
16325 {
16326 #ifndef __POWERPC__
16327 choke me for lack of PowerPC
16328 #endif
16329
16330 ;
16331 return 0;
16332 }
16333 _ACEOF
16334 rm -f conftest.$ac_objext
16335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16336 (eval $ac_compile) 2>conftest.er1
16337 ac_status=$?
16338 grep -v '^ *+' conftest.er1 >conftest.err
16339 rm -f conftest.er1
16340 cat conftest.err >&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } &&
16343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16345 (eval $ac_try) 2>&5
16346 ac_status=$?
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); }; } &&
16349 { ac_try='test -s conftest.$ac_objext'
16350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16351 (eval $ac_try) 2>&5
16352 ac_status=$?
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); }; }; then
16355 echo "$as_me:$LINENO: result: yes" >&5
16356 echo "${ECHO_T}yes" >&6
16357 else
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16360
16361 echo "$as_me:$LINENO: result: no" >&5
16362 echo "${ECHO_T}no" >&6
16363 cat >>confdefs.h <<\_ACEOF
16364 #define __POWERPC__ 1
16365 _ACEOF
16366
16367
16368 fi
16369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16370 ;;
16371 esac
16372
16373 case "${host}" in
16374 *-*-darwin* )
16375 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
16376 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
16377 cat >conftest.$ac_ext <<_ACEOF
16378 /* confdefs.h. */
16379 _ACEOF
16380 cat confdefs.h >>conftest.$ac_ext
16381 cat >>conftest.$ac_ext <<_ACEOF
16382 /* end confdefs.h. */
16383 #include <CoreFoundation/CFBase.h>
16384
16385 int
16386 main ()
16387 {
16388
16389 ;
16390 return 0;
16391 }
16392 _ACEOF
16393 rm -f conftest.$ac_objext
16394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16395 (eval $ac_compile) 2>conftest.er1
16396 ac_status=$?
16397 grep -v '^ *+' conftest.er1 >conftest.err
16398 rm -f conftest.er1
16399 cat conftest.err >&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); } &&
16402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
16408 { ac_try='test -s conftest.$ac_objext'
16409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16410 (eval $ac_try) 2>&5
16411 ac_status=$?
16412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); }; }; then
16414 echo "$as_me:$LINENO: result: yes" >&5
16415 echo "${ECHO_T}yes" >&6
16416 else
16417 echo "$as_me: failed program was:" >&5
16418 sed 's/^/| /' conftest.$ac_ext >&5
16419
16420 echo "$as_me:$LINENO: result: no" >&5
16421 echo "${ECHO_T}no" >&6
16422 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
16423 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
16424 cat >conftest.$ac_ext <<_ACEOF
16425 /* confdefs.h. */
16426 _ACEOF
16427 cat confdefs.h >>conftest.$ac_ext
16428 cat >>conftest.$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16430 #define __CF_USE_FRAMEWORK_INCLUDES__
16431 #include <CoreFoundation/CFBase.h>
16432
16433 int
16434 main ()
16435 {
16436
16437 ;
16438 return 0;
16439 }
16440 _ACEOF
16441 rm -f conftest.$ac_objext
16442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16443 (eval $ac_compile) 2>conftest.er1
16444 ac_status=$?
16445 grep -v '^ *+' conftest.er1 >conftest.err
16446 rm -f conftest.er1
16447 cat conftest.err >&5
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); } &&
16450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16452 (eval $ac_try) 2>&5
16453 ac_status=$?
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); }; } &&
16456 { ac_try='test -s conftest.$ac_objext'
16457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16458 (eval $ac_try) 2>&5
16459 ac_status=$?
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); }; }; then
16462 echo "$as_me:$LINENO: result: yes" >&5
16463 echo "${ECHO_T}yes" >&6
16464 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
16465 else
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.$ac_ext >&5
16468
16469 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
16470 See \`config.log' for more details." >&5
16471 echo "$as_me: error: no. CoreFoundation not available.
16472 See \`config.log' for more details." >&2;}
16473 { (exit 1); exit 1; }; }
16474
16475 fi
16476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16477
16478
16479 fi
16480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16481 ;;
16482 esac
16483
16484 wants_win32=0
16485 doesnt_want_win32=0
16486 case "${host}" in
16487 *-*-cygwin*)
16488 if test "$wxUSE_MSW" = 1 ; then
16489 wants_win32=1
16490 else
16491 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
16492 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
16493 if test "${wx_cv_nocygwin+set}" = set; then
16494 echo $ECHO_N "(cached) $ECHO_C" >&6
16495 else
16496
16497 cat >conftest.$ac_ext <<_ACEOF
16498 /* confdefs.h. */
16499 _ACEOF
16500 cat confdefs.h >>conftest.$ac_ext
16501 cat >>conftest.$ac_ext <<_ACEOF
16502 /* end confdefs.h. */
16503
16504 int
16505 main ()
16506 {
16507
16508 #ifdef __MINGW32__
16509 choke me
16510 #endif
16511
16512 ;
16513 return 0;
16514 }
16515 _ACEOF
16516 rm -f conftest.$ac_objext
16517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16518 (eval $ac_compile) 2>conftest.er1
16519 ac_status=$?
16520 grep -v '^ *+' conftest.er1 >conftest.err
16521 rm -f conftest.er1
16522 cat conftest.err >&5
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); } &&
16525 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16527 (eval $ac_try) 2>&5
16528 ac_status=$?
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); }; } &&
16531 { ac_try='test -s conftest.$ac_objext'
16532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16533 (eval $ac_try) 2>&5
16534 ac_status=$?
16535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); }; }; then
16537 wx_cv_nocygwin=no
16538 else
16539 echo "$as_me: failed program was:" >&5
16540 sed 's/^/| /' conftest.$ac_ext >&5
16541
16542 wx_cv_nocygwin=yes
16543
16544 fi
16545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16546
16547
16548 fi
16549 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16550 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16551
16552 if test "$wx_cv_nocygwin" = "yes"; then
16553 wants_win32=1
16554 else
16555 doesnt_want_win32=1
16556 fi
16557 fi
16558 if test "$wants_win32" = 1 ; then
16559 BAKEFILE_FORCE_PLATFORM=win32
16560 fi
16561 ;;
16562 *-*-mingw*)
16563 wants_win32=1
16564 ;;
16565 esac
16566
16567 if test "$wxUSE_WINE" = "yes"; then
16568 wants_win32=1
16569 LDFLAGS_GUI="-mwindows"
16570 fi
16571
16572 if test "$wants_win32" = 1 ; then
16573 USE_UNIX=0
16574 USE_WIN32=1
16575 cat >>confdefs.h <<\_ACEOF
16576 #define __WIN32__ 1
16577 _ACEOF
16578
16579 cat >>confdefs.h <<\_ACEOF
16580 #define __WIN95__ 1
16581 _ACEOF
16582
16583 cat >>confdefs.h <<\_ACEOF
16584 #define __WINDOWS__ 1
16585 _ACEOF
16586
16587 cat >>confdefs.h <<\_ACEOF
16588 #define __GNUWIN32__ 1
16589 _ACEOF
16590
16591 cat >>confdefs.h <<\_ACEOF
16592 #define STRICT 1
16593 _ACEOF
16594
16595 fi
16596 if test "$doesnt_want_win32" = 1 ; then
16597 USE_UNIX=1
16598 USE_WIN32=0
16599 fi
16600
16601 if test "$USE_UNIX" = 1 ; then
16602 wxUSE_UNIX=yes
16603 cat >>confdefs.h <<\_ACEOF
16604 #define __UNIX__ 1
16605 _ACEOF
16606
16607 fi
16608
16609 case "${host}" in
16610 *-pc-os2_emx | *-pc-os2-emx )
16611 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16612 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16613 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16614 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16615 echo $ECHO_N "(cached) $ECHO_C" >&6
16616 else
16617 ac_check_lib_save_LIBS=$LIBS
16618 LIBS="-lcExt $LIBS"
16619 cat >conftest.$ac_ext <<_ACEOF
16620 /* confdefs.h. */
16621 _ACEOF
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16625
16626 /* Override any gcc2 internal prototype to avoid an error. */
16627 #ifdef __cplusplus
16628 extern "C"
16629 #endif
16630 /* We use char because int might match the return type of a gcc2
16631 builtin and then its argument prototype would still apply. */
16632 char drand48 ();
16633 int
16634 main ()
16635 {
16636 drand48 ();
16637 ;
16638 return 0;
16639 }
16640 _ACEOF
16641 rm -f conftest.$ac_objext conftest$ac_exeext
16642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16643 (eval $ac_link) 2>conftest.er1
16644 ac_status=$?
16645 grep -v '^ *+' conftest.er1 >conftest.err
16646 rm -f conftest.er1
16647 cat conftest.err >&5
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); } &&
16650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16653 ac_status=$?
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; } &&
16656 { ac_try='test -s conftest$ac_exeext'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16658 (eval $ac_try) 2>&5
16659 ac_status=$?
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; }; then
16662 ac_cv_lib_cExt_drand48=yes
16663 else
16664 echo "$as_me: failed program was:" >&5
16665 sed 's/^/| /' conftest.$ac_ext >&5
16666
16667 ac_cv_lib_cExt_drand48=no
16668 fi
16669 rm -f conftest.err conftest.$ac_objext \
16670 conftest$ac_exeext conftest.$ac_ext
16671 LIBS=$ac_check_lib_save_LIBS
16672 fi
16673 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16674 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16675 if test $ac_cv_lib_cExt_drand48 = yes; then
16676 LIBS="$LIBS -lcExt"
16677 fi
16678
16679 else
16680 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16681 fi
16682 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16683 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16684 if test "${wx_cv_gccversion+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 else
16687
16688 if test "$cross_compiling" = yes; then
16689 wx_cv_gccversion="EMX2"
16690
16691 else
16692 cat >conftest.$ac_ext <<_ACEOF
16693 /* confdefs.h. */
16694 _ACEOF
16695 cat confdefs.h >>conftest.$ac_ext
16696 cat >>conftest.$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16698
16699 #include <stdio.h>
16700
16701 int main()
16702 {
16703 FILE *f=fopen("conftestval", "w");
16704 if (!f) exit(1);
16705 fprintf(f,
16706 #if (__GNUC__ < 3)
16707 "EMX2"
16708 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16709 "EMX3"
16710 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16711 "Innotek5"
16712 #else
16713 "Innotek6"
16714 #endif
16715 );
16716 exit(0);
16717 }
16718
16719 _ACEOF
16720 rm -f conftest$ac_exeext
16721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16722 (eval $ac_link) 2>&5
16723 ac_status=$?
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16727 (eval $ac_try) 2>&5
16728 ac_status=$?
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); }; }; then
16731 wx_cv_gccversion=`cat conftestval`
16732 else
16733 echo "$as_me: program exited with status $ac_status" >&5
16734 echo "$as_me: failed program was:" >&5
16735 sed 's/^/| /' conftest.$ac_ext >&5
16736
16737 ( exit $ac_status )
16738 wx_cv_gccversion="EMX2"
16739 fi
16740 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16741 fi
16742
16743 fi
16744 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16745 echo "${ECHO_T}$wx_cv_gccversion" >&6
16746 if test "$wx_cv_gccversion" = "EMX2"; then
16747 LIBS="$LIBS -lstdcpp"
16748 LDFLAGS="$LDFLAGS -Zsysv-signals"
16749 else
16750 if test "$wx_cv_gccversion" = "EMX3"; then
16751 LIBS="$LIBS -lstdcxx -lgcc"
16752 LDFLAGS="$LDFLAGS -Zsysv-signals"
16753 else
16754 LIBS="$LIBS -lstdc++"
16755 fi
16756 fi
16757 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16758 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16759 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16760 wxUSE_OMF=yes
16761 enable_omf=yes
16762 fi
16763 ;;
16764 *)
16765
16766 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16767 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16768 if test "${ac_cv_string_strcasecmp+set}" = set; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16770 else
16771
16772 cat >conftest.$ac_ext <<_ACEOF
16773 /* confdefs.h. */
16774 _ACEOF
16775 cat confdefs.h >>conftest.$ac_ext
16776 cat >>conftest.$ac_ext <<_ACEOF
16777 /* end confdefs.h. */
16778
16779 #include <string.h>
16780
16781 int
16782 main ()
16783 {
16784
16785 strcasecmp("foo", "bar");
16786
16787 ;
16788 return 0;
16789 }
16790 _ACEOF
16791 rm -f conftest.$ac_objext conftest$ac_exeext
16792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16793 (eval $ac_link) 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); } &&
16800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16802 (eval $ac_try) 2>&5
16803 ac_status=$?
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); }; } &&
16806 { ac_try='test -s conftest$ac_exeext'
16807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16808 (eval $ac_try) 2>&5
16809 ac_status=$?
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); }; }; then
16812 ac_cv_string_strcasecmp=yes
16813 else
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16816
16817 ac_cv_string_strcasecmp=no
16818
16819 fi
16820 rm -f conftest.err conftest.$ac_objext \
16821 conftest$ac_exeext conftest.$ac_ext
16822
16823 fi
16824 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16825 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16826
16827 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16828 cat >>confdefs.h <<\_ACEOF
16829 #define HAVE_STRCASECMP_IN_STRING_H 1
16830 _ACEOF
16831
16832 else
16833 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16834 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16835 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16836 echo $ECHO_N "(cached) $ECHO_C" >&6
16837 else
16838
16839 cat >conftest.$ac_ext <<_ACEOF
16840 /* confdefs.h. */
16841 _ACEOF
16842 cat confdefs.h >>conftest.$ac_ext
16843 cat >>conftest.$ac_ext <<_ACEOF
16844 /* end confdefs.h. */
16845
16846 #include <strings.h>
16847
16848 int
16849 main ()
16850 {
16851
16852 strcasecmp("foo", "bar");
16853
16854 ;
16855 return 0;
16856 }
16857 _ACEOF
16858 rm -f conftest.$ac_objext conftest$ac_exeext
16859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16860 (eval $ac_link) 2>conftest.er1
16861 ac_status=$?
16862 grep -v '^ *+' conftest.er1 >conftest.err
16863 rm -f conftest.er1
16864 cat conftest.err >&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } &&
16867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16870 ac_status=$?
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; } &&
16873 { ac_try='test -s conftest$ac_exeext'
16874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16875 (eval $ac_try) 2>&5
16876 ac_status=$?
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); }; }; then
16879 ac_cv_strings_strcasecmp=yes
16880 else
16881 echo "$as_me: failed program was:" >&5
16882 sed 's/^/| /' conftest.$ac_ext >&5
16883
16884 ac_cv_strings_strcasecmp=no
16885
16886 fi
16887 rm -f conftest.err conftest.$ac_objext \
16888 conftest$ac_exeext conftest.$ac_ext
16889
16890 fi
16891 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16892 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16893
16894 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16895 cat >>confdefs.h <<\_ACEOF
16896 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16897 _ACEOF
16898
16899 else
16900 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16901 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16902 { (exit 1); exit 1; }; }
16903 fi
16904 fi
16905
16906 ;;
16907 esac
16908
16909
16910 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16911 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16912 if test "${ac_cv_header_stdc+set}" = set; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 else
16915 cat >conftest.$ac_ext <<_ACEOF
16916 /* confdefs.h. */
16917 _ACEOF
16918 cat confdefs.h >>conftest.$ac_ext
16919 cat >>conftest.$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921 #include <stdlib.h>
16922 #include <stdarg.h>
16923 #include <string.h>
16924 #include <float.h>
16925
16926 int
16927 main ()
16928 {
16929
16930 ;
16931 return 0;
16932 }
16933 _ACEOF
16934 rm -f conftest.$ac_objext
16935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16936 (eval $ac_compile) 2>conftest.er1
16937 ac_status=$?
16938 grep -v '^ *+' conftest.er1 >conftest.err
16939 rm -f conftest.er1
16940 cat conftest.err >&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); } &&
16943 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16946 ac_status=$?
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; } &&
16949 { ac_try='test -s conftest.$ac_objext'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16952 ac_status=$?
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; }; then
16955 ac_cv_header_stdc=yes
16956 else
16957 echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.$ac_ext >&5
16959
16960 ac_cv_header_stdc=no
16961 fi
16962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16963
16964 if test $ac_cv_header_stdc = yes; then
16965 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16966 cat >conftest.$ac_ext <<_ACEOF
16967 /* confdefs.h. */
16968 _ACEOF
16969 cat confdefs.h >>conftest.$ac_ext
16970 cat >>conftest.$ac_ext <<_ACEOF
16971 /* end confdefs.h. */
16972 #include <string.h>
16973
16974 _ACEOF
16975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16976 $EGREP "memchr" >/dev/null 2>&1; then
16977 :
16978 else
16979 ac_cv_header_stdc=no
16980 fi
16981 rm -f conftest*
16982
16983 fi
16984
16985 if test $ac_cv_header_stdc = yes; then
16986 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16987 cat >conftest.$ac_ext <<_ACEOF
16988 /* confdefs.h. */
16989 _ACEOF
16990 cat confdefs.h >>conftest.$ac_ext
16991 cat >>conftest.$ac_ext <<_ACEOF
16992 /* end confdefs.h. */
16993 #include <stdlib.h>
16994
16995 _ACEOF
16996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16997 $EGREP "free" >/dev/null 2>&1; then
16998 :
16999 else
17000 ac_cv_header_stdc=no
17001 fi
17002 rm -f conftest*
17003
17004 fi
17005
17006 if test $ac_cv_header_stdc = yes; then
17007 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17008 if test "$cross_compiling" = yes; then
17009 :
17010 else
17011 cat >conftest.$ac_ext <<_ACEOF
17012 /* confdefs.h. */
17013 _ACEOF
17014 cat confdefs.h >>conftest.$ac_ext
17015 cat >>conftest.$ac_ext <<_ACEOF
17016 /* end confdefs.h. */
17017 #include <ctype.h>
17018 #if ((' ' & 0x0FF) == 0x020)
17019 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17020 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17021 #else
17022 # define ISLOWER(c) \
17023 (('a' <= (c) && (c) <= 'i') \
17024 || ('j' <= (c) && (c) <= 'r') \
17025 || ('s' <= (c) && (c) <= 'z'))
17026 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17027 #endif
17028
17029 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17030 int
17031 main ()
17032 {
17033 int i;
17034 for (i = 0; i < 256; i++)
17035 if (XOR (islower (i), ISLOWER (i))
17036 || toupper (i) != TOUPPER (i))
17037 exit(2);
17038 exit (0);
17039 }
17040 _ACEOF
17041 rm -f conftest$ac_exeext
17042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17043 (eval $ac_link) 2>&5
17044 ac_status=$?
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17049 ac_status=$?
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; }; then
17052 :
17053 else
17054 echo "$as_me: program exited with status $ac_status" >&5
17055 echo "$as_me: failed program was:" >&5
17056 sed 's/^/| /' conftest.$ac_ext >&5
17057
17058 ( exit $ac_status )
17059 ac_cv_header_stdc=no
17060 fi
17061 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17062 fi
17063 fi
17064 fi
17065 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17066 echo "${ECHO_T}$ac_cv_header_stdc" >&6
17067 if test $ac_cv_header_stdc = yes; then
17068
17069 cat >>confdefs.h <<\_ACEOF
17070 #define STDC_HEADERS 1
17071 _ACEOF
17072
17073 fi
17074
17075 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17086 inttypes.h stdint.h unistd.h
17087 do
17088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17089 echo "$as_me:$LINENO: checking for $ac_header" >&5
17090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17092 echo $ECHO_N "(cached) $ECHO_C" >&6
17093 else
17094 cat >conftest.$ac_ext <<_ACEOF
17095 /* confdefs.h. */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 $ac_includes_default
17101
17102 #include <$ac_header>
17103 _ACEOF
17104 rm -f conftest.$ac_objext
17105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17106 (eval $ac_compile) 2>conftest.er1
17107 ac_status=$?
17108 grep -v '^ *+' conftest.er1 >conftest.err
17109 rm -f conftest.er1
17110 cat conftest.err >&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } &&
17113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17115 (eval $ac_try) 2>&5
17116 ac_status=$?
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; } &&
17119 { ac_try='test -s conftest.$ac_objext'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17122 ac_status=$?
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; }; then
17125 eval "$as_ac_Header=yes"
17126 else
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.$ac_ext >&5
17129
17130 eval "$as_ac_Header=no"
17131 fi
17132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17133 fi
17134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17137 cat >>confdefs.h <<_ACEOF
17138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17139 _ACEOF
17140
17141 fi
17142
17143 done
17144
17145
17146
17147
17148
17149
17150
17151
17152 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17153 do
17154 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17155 echo "$as_me:$LINENO: checking for $ac_header" >&5
17156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17159 else
17160 cat >conftest.$ac_ext <<_ACEOF
17161 /* confdefs.h. */
17162 _ACEOF
17163 cat confdefs.h >>conftest.$ac_ext
17164 cat >>conftest.$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166 $ac_includes_default
17167
17168 #include <$ac_header>
17169 _ACEOF
17170 rm -f conftest.$ac_objext
17171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17172 (eval $ac_compile) 2>conftest.er1
17173 ac_status=$?
17174 grep -v '^ *+' conftest.er1 >conftest.err
17175 rm -f conftest.er1
17176 cat conftest.err >&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } &&
17179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17181 (eval $ac_try) 2>&5
17182 ac_status=$?
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; } &&
17185 { ac_try='test -s conftest.$ac_objext'
17186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187 (eval $ac_try) 2>&5
17188 ac_status=$?
17189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190 (exit $ac_status); }; }; then
17191 eval "$as_ac_Header=yes"
17192 else
17193 echo "$as_me: failed program was:" >&5
17194 sed 's/^/| /' conftest.$ac_ext >&5
17195
17196 eval "$as_ac_Header=no"
17197 fi
17198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17199 fi
17200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17203 cat >>confdefs.h <<_ACEOF
17204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17205 _ACEOF
17206
17207 fi
17208
17209 done
17210
17211
17212 if test "$ac_cv_header_wchar_h" != "yes"; then
17213 echo "$as_me:$LINENO: checking for wcstr.h" >&5
17214 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6
17215 if test "${ac_cv_header_wcstr_h+set}" = set; then
17216 echo $ECHO_N "(cached) $ECHO_C" >&6
17217 else
17218 cat >conftest.$ac_ext <<_ACEOF
17219 /* confdefs.h. */
17220 _ACEOF
17221 cat confdefs.h >>conftest.$ac_ext
17222 cat >>conftest.$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17224 $ac_includes_default
17225
17226 #include <wcstr.h>
17227 _ACEOF
17228 rm -f conftest.$ac_objext
17229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17230 (eval $ac_compile) 2>conftest.er1
17231 ac_status=$?
17232 grep -v '^ *+' conftest.er1 >conftest.err
17233 rm -f conftest.er1
17234 cat conftest.err >&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } &&
17237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17240 ac_status=$?
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; } &&
17243 { ac_try='test -s conftest.$ac_objext'
17244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245 (eval $ac_try) 2>&5
17246 ac_status=$?
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; }; then
17249 ac_cv_header_wcstr_h=yes
17250 else
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.$ac_ext >&5
17253
17254 ac_cv_header_wcstr_h=no
17255 fi
17256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17257 fi
17258 echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17259 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6
17260
17261
17262 fi
17263
17264 case "${host}" in
17265 *-pc-os2_emx | *-pc-os2-emx )
17266 if test $ac_cv_header_langinfo_h = "yes" \
17267 -a \( "$wx_cv_gccversion" = "EMX2" \
17268 -o "$wx_cv_gccversion" = "EMX3" \
17269 -o "$wx_cv_gccversion" = "Innotek5" \); then
17270 LIBS="$LIBS -lintl"
17271 fi
17272 ;;
17273 esac
17274
17275 if test "$USE_UNIX" = 1 ; then
17276 echo "$as_me:$LINENO: checking for sys/select.h" >&5
17277 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
17278 if test "${ac_cv_header_sys_select_h+set}" = set; then
17279 echo $ECHO_N "(cached) $ECHO_C" >&6
17280 else
17281 cat >conftest.$ac_ext <<_ACEOF
17282 /* confdefs.h. */
17283 _ACEOF
17284 cat confdefs.h >>conftest.$ac_ext
17285 cat >>conftest.$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287 $ac_includes_default
17288
17289 #include <sys/select.h>
17290 _ACEOF
17291 rm -f conftest.$ac_objext
17292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17293 (eval $ac_compile) 2>conftest.er1
17294 ac_status=$?
17295 grep -v '^ *+' conftest.er1 >conftest.err
17296 rm -f conftest.er1
17297 cat conftest.err >&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); } &&
17300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17303 ac_status=$?
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; } &&
17306 { ac_try='test -s conftest.$ac_objext'
17307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17308 (eval $ac_try) 2>&5
17309 ac_status=$?
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); }; }; then
17312 ac_cv_header_sys_select_h=yes
17313 else
17314 echo "$as_me: failed program was:" >&5
17315 sed 's/^/| /' conftest.$ac_ext >&5
17316
17317 ac_cv_header_sys_select_h=no
17318 fi
17319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17320 fi
17321 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17322 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
17323
17324
17325 fi
17326
17327
17328 for ac_header in sys/epoll.h
17329 do
17330 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17332 echo "$as_me:$LINENO: checking for $ac_header" >&5
17333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17335 echo $ECHO_N "(cached) $ECHO_C" >&6
17336 fi
17337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17339 else
17340 # Is the header compilable?
17341 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17342 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17343 cat >conftest.$ac_ext <<_ACEOF
17344 /* confdefs.h. */
17345 _ACEOF
17346 cat confdefs.h >>conftest.$ac_ext
17347 cat >>conftest.$ac_ext <<_ACEOF
17348 /* end confdefs.h. */
17349 $ac_includes_default
17350 #include <$ac_header>
17351 _ACEOF
17352 rm -f conftest.$ac_objext
17353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17354 (eval $ac_compile) 2>conftest.er1
17355 ac_status=$?
17356 grep -v '^ *+' conftest.er1 >conftest.err
17357 rm -f conftest.er1
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17364 ac_status=$?
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; } &&
17367 { ac_try='test -s conftest.$ac_objext'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17370 ac_status=$?
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; }; then
17373 ac_header_compiler=yes
17374 else
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.$ac_ext >&5
17377
17378 ac_header_compiler=no
17379 fi
17380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17381 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17382 echo "${ECHO_T}$ac_header_compiler" >&6
17383
17384 # Is the header present?
17385 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17386 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17387 cat >conftest.$ac_ext <<_ACEOF
17388 /* confdefs.h. */
17389 _ACEOF
17390 cat confdefs.h >>conftest.$ac_ext
17391 cat >>conftest.$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17393 #include <$ac_header>
17394 _ACEOF
17395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17397 ac_status=$?
17398 grep -v '^ *+' conftest.er1 >conftest.err
17399 rm -f conftest.er1
17400 cat conftest.err >&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } >/dev/null; then
17403 if test -s conftest.err; then
17404 ac_cpp_err=$ac_c_preproc_warn_flag
17405 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17406 else
17407 ac_cpp_err=
17408 fi
17409 else
17410 ac_cpp_err=yes
17411 fi
17412 if test -z "$ac_cpp_err"; then
17413 ac_header_preproc=yes
17414 else
17415 echo "$as_me: failed program was:" >&5
17416 sed 's/^/| /' conftest.$ac_ext >&5
17417
17418 ac_header_preproc=no
17419 fi
17420 rm -f conftest.err conftest.$ac_ext
17421 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17422 echo "${ECHO_T}$ac_header_preproc" >&6
17423
17424 # So? What about this header?
17425 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17426 yes:no: )
17427 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17428 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17430 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17431 ac_header_preproc=yes
17432 ;;
17433 no:yes:* )
17434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17435 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17437 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17438 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17439 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17440 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17441 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17443 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17444 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17445 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17446 (
17447 cat <<\_ASBOX
17448 ## ----------------------------------------- ##
17449 ## Report this to wx-dev@lists.wxwidgets.org ##
17450 ## ----------------------------------------- ##
17451 _ASBOX
17452 ) |
17453 sed "s/^/$as_me: WARNING: /" >&2
17454 ;;
17455 esac
17456 echo "$as_me:$LINENO: checking for $ac_header" >&5
17457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17459 echo $ECHO_N "(cached) $ECHO_C" >&6
17460 else
17461 eval "$as_ac_Header=\$ac_header_preproc"
17462 fi
17463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17465
17466 fi
17467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17468 cat >>confdefs.h <<_ACEOF
17469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17470 _ACEOF
17471
17472 fi
17473
17474 done
17475
17476
17477
17478 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17479 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17480 if test "${ac_cv_c_const+set}" = set; then
17481 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 else
17483 cat >conftest.$ac_ext <<_ACEOF
17484 /* confdefs.h. */
17485 _ACEOF
17486 cat confdefs.h >>conftest.$ac_ext
17487 cat >>conftest.$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17489
17490 int
17491 main ()
17492 {
17493 /* FIXME: Include the comments suggested by Paul. */
17494 #ifndef __cplusplus
17495 /* Ultrix mips cc rejects this. */
17496 typedef int charset[2];
17497 const charset x;
17498 /* SunOS 4.1.1 cc rejects this. */
17499 char const *const *ccp;
17500 char **p;
17501 /* NEC SVR4.0.2 mips cc rejects this. */
17502 struct point {int x, y;};
17503 static struct point const zero = {0,0};
17504 /* AIX XL C 1.02.0.0 rejects this.
17505 It does not let you subtract one const X* pointer from another in
17506 an arm of an if-expression whose if-part is not a constant
17507 expression */
17508 const char *g = "string";
17509 ccp = &g + (g ? g-g : 0);
17510 /* HPUX 7.0 cc rejects these. */
17511 ++ccp;
17512 p = (char**) ccp;
17513 ccp = (char const *const *) p;
17514 { /* SCO 3.2v4 cc rejects this. */
17515 char *t;
17516 char const *s = 0 ? (char *) 0 : (char const *) 0;
17517
17518 *t++ = 0;
17519 }
17520 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17521 int x[] = {25, 17};
17522 const int *foo = &x[0];
17523 ++foo;
17524 }
17525 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17526 typedef const int *iptr;
17527 iptr p = 0;
17528 ++p;
17529 }
17530 { /* AIX XL C 1.02.0.0 rejects this saying
17531 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17532 struct s { int j; const int *ap[3]; };
17533 struct s *b; b->j = 5;
17534 }
17535 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17536 const int foo = 10;
17537 }
17538 #endif
17539
17540 ;
17541 return 0;
17542 }
17543 _ACEOF
17544 rm -f conftest.$ac_objext
17545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17546 (eval $ac_compile) 2>conftest.er1
17547 ac_status=$?
17548 grep -v '^ *+' conftest.er1 >conftest.err
17549 rm -f conftest.er1
17550 cat conftest.err >&5
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); } &&
17553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17555 (eval $ac_try) 2>&5
17556 ac_status=$?
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); }; } &&
17559 { ac_try='test -s conftest.$ac_objext'
17560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17561 (eval $ac_try) 2>&5
17562 ac_status=$?
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); }; }; then
17565 ac_cv_c_const=yes
17566 else
17567 echo "$as_me: failed program was:" >&5
17568 sed 's/^/| /' conftest.$ac_ext >&5
17569
17570 ac_cv_c_const=no
17571 fi
17572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17573 fi
17574 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17575 echo "${ECHO_T}$ac_cv_c_const" >&6
17576 if test $ac_cv_c_const = no; then
17577
17578 cat >>confdefs.h <<\_ACEOF
17579 #define const
17580 _ACEOF
17581
17582 fi
17583
17584 echo "$as_me:$LINENO: checking for inline" >&5
17585 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17586 if test "${ac_cv_c_inline+set}" = set; then
17587 echo $ECHO_N "(cached) $ECHO_C" >&6
17588 else
17589 ac_cv_c_inline=no
17590 for ac_kw in inline __inline__ __inline; do
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 #ifndef __cplusplus
17598 typedef int foo_t;
17599 static $ac_kw foo_t static_foo () {return 0; }
17600 $ac_kw foo_t foo () {return 0; }
17601 #endif
17602
17603 _ACEOF
17604 rm -f conftest.$ac_objext
17605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17606 (eval $ac_compile) 2>conftest.er1
17607 ac_status=$?
17608 grep -v '^ *+' conftest.er1 >conftest.err
17609 rm -f conftest.er1
17610 cat conftest.err >&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); } &&
17613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17615 (eval $ac_try) 2>&5
17616 ac_status=$?
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); }; } &&
17619 { ac_try='test -s conftest.$ac_objext'
17620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17621 (eval $ac_try) 2>&5
17622 ac_status=$?
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); }; }; then
17625 ac_cv_c_inline=$ac_kw; break
17626 else
17627 echo "$as_me: failed program was:" >&5
17628 sed 's/^/| /' conftest.$ac_ext >&5
17629
17630 fi
17631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17632 done
17633
17634 fi
17635 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17636 echo "${ECHO_T}$ac_cv_c_inline" >&6
17637
17638
17639 case $ac_cv_c_inline in
17640 inline | yes) ;;
17641 *)
17642 case $ac_cv_c_inline in
17643 no) ac_val=;;
17644 *) ac_val=$ac_cv_c_inline;;
17645 esac
17646 cat >>confdefs.h <<_ACEOF
17647 #ifndef __cplusplus
17648 #define inline $ac_val
17649 #endif
17650 _ACEOF
17651 ;;
17652 esac
17653
17654
17655 echo "$as_me:$LINENO: checking for short" >&5
17656 echo $ECHO_N "checking for short... $ECHO_C" >&6
17657 if test "${ac_cv_type_short+set}" = set; then
17658 echo $ECHO_N "(cached) $ECHO_C" >&6
17659 else
17660 cat >conftest.$ac_ext <<_ACEOF
17661 /* confdefs.h. */
17662 _ACEOF
17663 cat confdefs.h >>conftest.$ac_ext
17664 cat >>conftest.$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17666 $ac_includes_default
17667 int
17668 main ()
17669 {
17670 if ((short *) 0)
17671 return 0;
17672 if (sizeof (short))
17673 return 0;
17674 ;
17675 return 0;
17676 }
17677 _ACEOF
17678 rm -f conftest.$ac_objext
17679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17680 (eval $ac_compile) 2>conftest.er1
17681 ac_status=$?
17682 grep -v '^ *+' conftest.er1 >conftest.err
17683 rm -f conftest.er1
17684 cat conftest.err >&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); } &&
17687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17690 ac_status=$?
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; } &&
17693 { ac_try='test -s conftest.$ac_objext'
17694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17695 (eval $ac_try) 2>&5
17696 ac_status=$?
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); }; }; then
17699 ac_cv_type_short=yes
17700 else
17701 echo "$as_me: failed program was:" >&5
17702 sed 's/^/| /' conftest.$ac_ext >&5
17703
17704 ac_cv_type_short=no
17705 fi
17706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17707 fi
17708 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17709 echo "${ECHO_T}$ac_cv_type_short" >&6
17710
17711 echo "$as_me:$LINENO: checking size of short" >&5
17712 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17713 if test "${ac_cv_sizeof_short+set}" = set; then
17714 echo $ECHO_N "(cached) $ECHO_C" >&6
17715 else
17716 if test "$ac_cv_type_short" = yes; then
17717 # The cast to unsigned long works around a bug in the HP C Compiler
17718 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17719 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17720 # This bug is HP SR number 8606223364.
17721 if test "$cross_compiling" = yes; then
17722 # Depending upon the size, compute the lo and hi bounds.
17723 cat >conftest.$ac_ext <<_ACEOF
17724 /* confdefs.h. */
17725 _ACEOF
17726 cat confdefs.h >>conftest.$ac_ext
17727 cat >>conftest.$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729 $ac_includes_default
17730 int
17731 main ()
17732 {
17733 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17734 test_array [0] = 0
17735
17736 ;
17737 return 0;
17738 }
17739 _ACEOF
17740 rm -f conftest.$ac_objext
17741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17742 (eval $ac_compile) 2>conftest.er1
17743 ac_status=$?
17744 grep -v '^ *+' conftest.er1 >conftest.err
17745 rm -f conftest.er1
17746 cat conftest.err >&5
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); } &&
17749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751 (eval $ac_try) 2>&5
17752 ac_status=$?
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); }; } &&
17755 { ac_try='test -s conftest.$ac_objext'
17756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757 (eval $ac_try) 2>&5
17758 ac_status=$?
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); }; }; then
17761 ac_lo=0 ac_mid=0
17762 while :; do
17763 cat >conftest.$ac_ext <<_ACEOF
17764 /* confdefs.h. */
17765 _ACEOF
17766 cat confdefs.h >>conftest.$ac_ext
17767 cat >>conftest.$ac_ext <<_ACEOF
17768 /* end confdefs.h. */
17769 $ac_includes_default
17770 int
17771 main ()
17772 {
17773 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17774 test_array [0] = 0
17775
17776 ;
17777 return 0;
17778 }
17779 _ACEOF
17780 rm -f conftest.$ac_objext
17781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17782 (eval $ac_compile) 2>conftest.er1
17783 ac_status=$?
17784 grep -v '^ *+' conftest.er1 >conftest.err
17785 rm -f conftest.er1
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } &&
17789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17791 (eval $ac_try) 2>&5
17792 ac_status=$?
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); }; } &&
17795 { ac_try='test -s conftest.$ac_objext'
17796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17797 (eval $ac_try) 2>&5
17798 ac_status=$?
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); }; }; then
17801 ac_hi=$ac_mid; break
17802 else
17803 echo "$as_me: failed program was:" >&5
17804 sed 's/^/| /' conftest.$ac_ext >&5
17805
17806 ac_lo=`expr $ac_mid + 1`
17807 if test $ac_lo -le $ac_mid; then
17808 ac_lo= ac_hi=
17809 break
17810 fi
17811 ac_mid=`expr 2 '*' $ac_mid + 1`
17812 fi
17813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17814 done
17815 else
17816 echo "$as_me: failed program was:" >&5
17817 sed 's/^/| /' conftest.$ac_ext >&5
17818
17819 cat >conftest.$ac_ext <<_ACEOF
17820 /* confdefs.h. */
17821 _ACEOF
17822 cat confdefs.h >>conftest.$ac_ext
17823 cat >>conftest.$ac_ext <<_ACEOF
17824 /* end confdefs.h. */
17825 $ac_includes_default
17826 int
17827 main ()
17828 {
17829 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17830 test_array [0] = 0
17831
17832 ;
17833 return 0;
17834 }
17835 _ACEOF
17836 rm -f conftest.$ac_objext
17837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17838 (eval $ac_compile) 2>conftest.er1
17839 ac_status=$?
17840 grep -v '^ *+' conftest.er1 >conftest.err
17841 rm -f conftest.er1
17842 cat conftest.err >&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } &&
17845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17848 ac_status=$?
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; } &&
17851 { ac_try='test -s conftest.$ac_objext'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17854 ac_status=$?
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; }; then
17857 ac_hi=-1 ac_mid=-1
17858 while :; do
17859 cat >conftest.$ac_ext <<_ACEOF
17860 /* confdefs.h. */
17861 _ACEOF
17862 cat confdefs.h >>conftest.$ac_ext
17863 cat >>conftest.$ac_ext <<_ACEOF
17864 /* end confdefs.h. */
17865 $ac_includes_default
17866 int
17867 main ()
17868 {
17869 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17870 test_array [0] = 0
17871
17872 ;
17873 return 0;
17874 }
17875 _ACEOF
17876 rm -f conftest.$ac_objext
17877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17878 (eval $ac_compile) 2>conftest.er1
17879 ac_status=$?
17880 grep -v '^ *+' conftest.er1 >conftest.err
17881 rm -f conftest.er1
17882 cat conftest.err >&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); } &&
17885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17888 ac_status=$?
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; } &&
17891 { ac_try='test -s conftest.$ac_objext'
17892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893 (eval $ac_try) 2>&5
17894 ac_status=$?
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); }; }; then
17897 ac_lo=$ac_mid; break
17898 else
17899 echo "$as_me: failed program was:" >&5
17900 sed 's/^/| /' conftest.$ac_ext >&5
17901
17902 ac_hi=`expr '(' $ac_mid ')' - 1`
17903 if test $ac_mid -le $ac_hi; then
17904 ac_lo= ac_hi=
17905 break
17906 fi
17907 ac_mid=`expr 2 '*' $ac_mid`
17908 fi
17909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17910 done
17911 else
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.$ac_ext >&5
17914
17915 ac_lo= ac_hi=
17916 fi
17917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17918 fi
17919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17920 # Binary search between lo and hi bounds.
17921 while test "x$ac_lo" != "x$ac_hi"; do
17922 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17923 cat >conftest.$ac_ext <<_ACEOF
17924 /* confdefs.h. */
17925 _ACEOF
17926 cat confdefs.h >>conftest.$ac_ext
17927 cat >>conftest.$ac_ext <<_ACEOF
17928 /* end confdefs.h. */
17929 $ac_includes_default
17930 int
17931 main ()
17932 {
17933 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17934 test_array [0] = 0
17935
17936 ;
17937 return 0;
17938 }
17939 _ACEOF
17940 rm -f conftest.$ac_objext
17941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17942 (eval $ac_compile) 2>conftest.er1
17943 ac_status=$?
17944 grep -v '^ *+' conftest.er1 >conftest.err
17945 rm -f conftest.er1
17946 cat conftest.err >&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); } &&
17949 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17952 ac_status=$?
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; } &&
17955 { ac_try='test -s conftest.$ac_objext'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17958 ac_status=$?
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; }; then
17961 ac_hi=$ac_mid
17962 else
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.$ac_ext >&5
17965
17966 ac_lo=`expr '(' $ac_mid ')' + 1`
17967 fi
17968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17969 done
17970 case $ac_lo in
17971 ?*) ac_cv_sizeof_short=$ac_lo;;
17972 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17973 See \`config.log' for more details." >&5
17974 echo "$as_me: error: cannot compute sizeof (short), 77
17975 See \`config.log' for more details." >&2;}
17976 { (exit 1); exit 1; }; } ;;
17977 esac
17978 else
17979 if test "$cross_compiling" = yes; then
17980 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
17981 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
17982 { (exit 1); exit 1; }; }
17983 else
17984 cat >conftest.$ac_ext <<_ACEOF
17985 /* confdefs.h. */
17986 _ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 $ac_includes_default
17991 long longval () { return (long) (sizeof (short)); }
17992 unsigned long ulongval () { return (long) (sizeof (short)); }
17993 #include <stdio.h>
17994 #include <stdlib.h>
17995 int
17996 main ()
17997 {
17998
17999 FILE *f = fopen ("conftest.val", "w");
18000 if (! f)
18001 exit (1);
18002 if (((long) (sizeof (short))) < 0)
18003 {
18004 long i = longval ();
18005 if (i != ((long) (sizeof (short))))
18006 exit (1);
18007 fprintf (f, "%ld\n", i);
18008 }
18009 else
18010 {
18011 unsigned long i = ulongval ();
18012 if (i != ((long) (sizeof (short))))
18013 exit (1);
18014 fprintf (f, "%lu\n", i);
18015 }
18016 exit (ferror (f) || fclose (f) != 0);
18017
18018 ;
18019 return 0;
18020 }
18021 _ACEOF
18022 rm -f conftest$ac_exeext
18023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18024 (eval $ac_link) 2>&5
18025 ac_status=$?
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; }; then
18033 ac_cv_sizeof_short=`cat conftest.val`
18034 else
18035 echo "$as_me: program exited with status $ac_status" >&5
18036 echo "$as_me: failed program was:" >&5
18037 sed 's/^/| /' conftest.$ac_ext >&5
18038
18039 ( exit $ac_status )
18040 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18041 See \`config.log' for more details." >&5
18042 echo "$as_me: error: cannot compute sizeof (short), 77
18043 See \`config.log' for more details." >&2;}
18044 { (exit 1); exit 1; }; }
18045 fi
18046 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18047 fi
18048 fi
18049 rm -f conftest.val
18050 else
18051 ac_cv_sizeof_short=0
18052 fi
18053 fi
18054 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18055 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18056 cat >>confdefs.h <<_ACEOF
18057 #define SIZEOF_SHORT $ac_cv_sizeof_short
18058 _ACEOF
18059
18060
18061 echo "$as_me:$LINENO: checking for void *" >&5
18062 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18063 if test "${ac_cv_type_void_p+set}" = set; then
18064 echo $ECHO_N "(cached) $ECHO_C" >&6
18065 else
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h. */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 $ac_includes_default
18073 int
18074 main ()
18075 {
18076 if ((void * *) 0)
18077 return 0;
18078 if (sizeof (void *))
18079 return 0;
18080 ;
18081 return 0;
18082 }
18083 _ACEOF
18084 rm -f conftest.$ac_objext
18085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18086 (eval $ac_compile) 2>conftest.er1
18087 ac_status=$?
18088 grep -v '^ *+' conftest.er1 >conftest.err
18089 rm -f conftest.er1
18090 cat conftest.err >&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18092 (exit $ac_status); } &&
18093 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18095 (eval $ac_try) 2>&5
18096 ac_status=$?
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); }; } &&
18099 { ac_try='test -s conftest.$ac_objext'
18100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18101 (eval $ac_try) 2>&5
18102 ac_status=$?
18103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104 (exit $ac_status); }; }; then
18105 ac_cv_type_void_p=yes
18106 else
18107 echo "$as_me: failed program was:" >&5
18108 sed 's/^/| /' conftest.$ac_ext >&5
18109
18110 ac_cv_type_void_p=no
18111 fi
18112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18113 fi
18114 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18115 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18116
18117 echo "$as_me:$LINENO: checking size of void *" >&5
18118 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18119 if test "${ac_cv_sizeof_void_p+set}" = set; then
18120 echo $ECHO_N "(cached) $ECHO_C" >&6
18121 else
18122 if test "$ac_cv_type_void_p" = yes; then
18123 # The cast to unsigned long works around a bug in the HP C Compiler
18124 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18125 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18126 # This bug is HP SR number 8606223364.
18127 if test "$cross_compiling" = yes; then
18128 # Depending upon the size, compute the lo and hi bounds.
18129 cat >conftest.$ac_ext <<_ACEOF
18130 /* confdefs.h. */
18131 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 $ac_includes_default
18136 int
18137 main ()
18138 {
18139 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18140 test_array [0] = 0
18141
18142 ;
18143 return 0;
18144 }
18145 _ACEOF
18146 rm -f conftest.$ac_objext
18147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18148 (eval $ac_compile) 2>conftest.er1
18149 ac_status=$?
18150 grep -v '^ *+' conftest.er1 >conftest.err
18151 rm -f conftest.er1
18152 cat conftest.err >&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } &&
18155 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18158 ac_status=$?
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; } &&
18161 { ac_try='test -s conftest.$ac_objext'
18162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18163 (eval $ac_try) 2>&5
18164 ac_status=$?
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); }; }; then
18167 ac_lo=0 ac_mid=0
18168 while :; do
18169 cat >conftest.$ac_ext <<_ACEOF
18170 /* confdefs.h. */
18171 _ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18175 $ac_includes_default
18176 int
18177 main ()
18178 {
18179 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18180 test_array [0] = 0
18181
18182 ;
18183 return 0;
18184 }
18185 _ACEOF
18186 rm -f conftest.$ac_objext
18187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18188 (eval $ac_compile) 2>conftest.er1
18189 ac_status=$?
18190 grep -v '^ *+' conftest.er1 >conftest.err
18191 rm -f conftest.er1
18192 cat conftest.err >&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } &&
18195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18197 (eval $ac_try) 2>&5
18198 ac_status=$?
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); }; } &&
18201 { ac_try='test -s conftest.$ac_objext'
18202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18203 (eval $ac_try) 2>&5
18204 ac_status=$?
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); }; }; then
18207 ac_hi=$ac_mid; break
18208 else
18209 echo "$as_me: failed program was:" >&5
18210 sed 's/^/| /' conftest.$ac_ext >&5
18211
18212 ac_lo=`expr $ac_mid + 1`
18213 if test $ac_lo -le $ac_mid; then
18214 ac_lo= ac_hi=
18215 break
18216 fi
18217 ac_mid=`expr 2 '*' $ac_mid + 1`
18218 fi
18219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18220 done
18221 else
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18224
18225 cat >conftest.$ac_ext <<_ACEOF
18226 /* confdefs.h. */
18227 _ACEOF
18228 cat confdefs.h >>conftest.$ac_ext
18229 cat >>conftest.$ac_ext <<_ACEOF
18230 /* end confdefs.h. */
18231 $ac_includes_default
18232 int
18233 main ()
18234 {
18235 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18236 test_array [0] = 0
18237
18238 ;
18239 return 0;
18240 }
18241 _ACEOF
18242 rm -f conftest.$ac_objext
18243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18244 (eval $ac_compile) 2>conftest.er1
18245 ac_status=$?
18246 grep -v '^ *+' conftest.er1 >conftest.err
18247 rm -f conftest.er1
18248 cat conftest.err >&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); } &&
18251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18253 (eval $ac_try) 2>&5
18254 ac_status=$?
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); }; } &&
18257 { ac_try='test -s conftest.$ac_objext'
18258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18259 (eval $ac_try) 2>&5
18260 ac_status=$?
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; }; then
18263 ac_hi=-1 ac_mid=-1
18264 while :; do
18265 cat >conftest.$ac_ext <<_ACEOF
18266 /* confdefs.h. */
18267 _ACEOF
18268 cat confdefs.h >>conftest.$ac_ext
18269 cat >>conftest.$ac_ext <<_ACEOF
18270 /* end confdefs.h. */
18271 $ac_includes_default
18272 int
18273 main ()
18274 {
18275 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18276 test_array [0] = 0
18277
18278 ;
18279 return 0;
18280 }
18281 _ACEOF
18282 rm -f conftest.$ac_objext
18283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18284 (eval $ac_compile) 2>conftest.er1
18285 ac_status=$?
18286 grep -v '^ *+' conftest.er1 >conftest.err
18287 rm -f conftest.er1
18288 cat conftest.err >&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); } &&
18291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18294 ac_status=$?
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; } &&
18297 { ac_try='test -s conftest.$ac_objext'
18298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18299 (eval $ac_try) 2>&5
18300 ac_status=$?
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); }; }; then
18303 ac_lo=$ac_mid; break
18304 else
18305 echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.$ac_ext >&5
18307
18308 ac_hi=`expr '(' $ac_mid ')' - 1`
18309 if test $ac_mid -le $ac_hi; then
18310 ac_lo= ac_hi=
18311 break
18312 fi
18313 ac_mid=`expr 2 '*' $ac_mid`
18314 fi
18315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18316 done
18317 else
18318 echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.$ac_ext >&5
18320
18321 ac_lo= ac_hi=
18322 fi
18323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18324 fi
18325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18326 # Binary search between lo and hi bounds.
18327 while test "x$ac_lo" != "x$ac_hi"; do
18328 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18329 cat >conftest.$ac_ext <<_ACEOF
18330 /* confdefs.h. */
18331 _ACEOF
18332 cat confdefs.h >>conftest.$ac_ext
18333 cat >>conftest.$ac_ext <<_ACEOF
18334 /* end confdefs.h. */
18335 $ac_includes_default
18336 int
18337 main ()
18338 {
18339 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18340 test_array [0] = 0
18341
18342 ;
18343 return 0;
18344 }
18345 _ACEOF
18346 rm -f conftest.$ac_objext
18347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18348 (eval $ac_compile) 2>conftest.er1
18349 ac_status=$?
18350 grep -v '^ *+' conftest.er1 >conftest.err
18351 rm -f conftest.er1
18352 cat conftest.err >&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } &&
18355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18358 ac_status=$?
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; } &&
18361 { ac_try='test -s conftest.$ac_objext'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18364 ac_status=$?
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; }; then
18367 ac_hi=$ac_mid
18368 else
18369 echo "$as_me: failed program was:" >&5
18370 sed 's/^/| /' conftest.$ac_ext >&5
18371
18372 ac_lo=`expr '(' $ac_mid ')' + 1`
18373 fi
18374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18375 done
18376 case $ac_lo in
18377 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18378 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18379 See \`config.log' for more details." >&5
18380 echo "$as_me: error: cannot compute sizeof (void *), 77
18381 See \`config.log' for more details." >&2;}
18382 { (exit 1); exit 1; }; } ;;
18383 esac
18384 else
18385 if test "$cross_compiling" = yes; then
18386 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18387 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18388 { (exit 1); exit 1; }; }
18389 else
18390 cat >conftest.$ac_ext <<_ACEOF
18391 /* confdefs.h. */
18392 _ACEOF
18393 cat confdefs.h >>conftest.$ac_ext
18394 cat >>conftest.$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18396 $ac_includes_default
18397 long longval () { return (long) (sizeof (void *)); }
18398 unsigned long ulongval () { return (long) (sizeof (void *)); }
18399 #include <stdio.h>
18400 #include <stdlib.h>
18401 int
18402 main ()
18403 {
18404
18405 FILE *f = fopen ("conftest.val", "w");
18406 if (! f)
18407 exit (1);
18408 if (((long) (sizeof (void *))) < 0)
18409 {
18410 long i = longval ();
18411 if (i != ((long) (sizeof (void *))))
18412 exit (1);
18413 fprintf (f, "%ld\n", i);
18414 }
18415 else
18416 {
18417 unsigned long i = ulongval ();
18418 if (i != ((long) (sizeof (void *))))
18419 exit (1);
18420 fprintf (f, "%lu\n", i);
18421 }
18422 exit (ferror (f) || fclose (f) != 0);
18423
18424 ;
18425 return 0;
18426 }
18427 _ACEOF
18428 rm -f conftest$ac_exeext
18429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18430 (eval $ac_link) 2>&5
18431 ac_status=$?
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18436 ac_status=$?
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; }; then
18439 ac_cv_sizeof_void_p=`cat conftest.val`
18440 else
18441 echo "$as_me: program exited with status $ac_status" >&5
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18444
18445 ( exit $ac_status )
18446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18447 See \`config.log' for more details." >&5
18448 echo "$as_me: error: cannot compute sizeof (void *), 77
18449 See \`config.log' for more details." >&2;}
18450 { (exit 1); exit 1; }; }
18451 fi
18452 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18453 fi
18454 fi
18455 rm -f conftest.val
18456 else
18457 ac_cv_sizeof_void_p=0
18458 fi
18459 fi
18460 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18461 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18462 cat >>confdefs.h <<_ACEOF
18463 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18464 _ACEOF
18465
18466
18467 echo "$as_me:$LINENO: checking for int" >&5
18468 echo $ECHO_N "checking for int... $ECHO_C" >&6
18469 if test "${ac_cv_type_int+set}" = set; then
18470 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 else
18472 cat >conftest.$ac_ext <<_ACEOF
18473 /* confdefs.h. */
18474 _ACEOF
18475 cat confdefs.h >>conftest.$ac_ext
18476 cat >>conftest.$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18478 $ac_includes_default
18479 int
18480 main ()
18481 {
18482 if ((int *) 0)
18483 return 0;
18484 if (sizeof (int))
18485 return 0;
18486 ;
18487 return 0;
18488 }
18489 _ACEOF
18490 rm -f conftest.$ac_objext
18491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18492 (eval $ac_compile) 2>conftest.er1
18493 ac_status=$?
18494 grep -v '^ *+' conftest.er1 >conftest.err
18495 rm -f conftest.er1
18496 cat conftest.err >&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } &&
18499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18502 ac_status=$?
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; } &&
18505 { ac_try='test -s conftest.$ac_objext'
18506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18507 (eval $ac_try) 2>&5
18508 ac_status=$?
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); }; }; then
18511 ac_cv_type_int=yes
18512 else
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.$ac_ext >&5
18515
18516 ac_cv_type_int=no
18517 fi
18518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18519 fi
18520 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18521 echo "${ECHO_T}$ac_cv_type_int" >&6
18522
18523 echo "$as_me:$LINENO: checking size of int" >&5
18524 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18525 if test "${ac_cv_sizeof_int+set}" = set; then
18526 echo $ECHO_N "(cached) $ECHO_C" >&6
18527 else
18528 if test "$ac_cv_type_int" = yes; then
18529 # The cast to unsigned long works around a bug in the HP C Compiler
18530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18532 # This bug is HP SR number 8606223364.
18533 if test "$cross_compiling" = yes; then
18534 # Depending upon the size, compute the lo and hi bounds.
18535 cat >conftest.$ac_ext <<_ACEOF
18536 /* confdefs.h. */
18537 _ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 $ac_includes_default
18542 int
18543 main ()
18544 {
18545 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18546 test_array [0] = 0
18547
18548 ;
18549 return 0;
18550 }
18551 _ACEOF
18552 rm -f conftest.$ac_objext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18554 (eval $ac_compile) 2>conftest.er1
18555 ac_status=$?
18556 grep -v '^ *+' conftest.er1 >conftest.err
18557 rm -f conftest.er1
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } &&
18561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18564 ac_status=$?
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; } &&
18567 { ac_try='test -s conftest.$ac_objext'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18570 ac_status=$?
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; }; then
18573 ac_lo=0 ac_mid=0
18574 while :; do
18575 cat >conftest.$ac_ext <<_ACEOF
18576 /* confdefs.h. */
18577 _ACEOF
18578 cat confdefs.h >>conftest.$ac_ext
18579 cat >>conftest.$ac_ext <<_ACEOF
18580 /* end confdefs.h. */
18581 $ac_includes_default
18582 int
18583 main ()
18584 {
18585 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18586 test_array [0] = 0
18587
18588 ;
18589 return 0;
18590 }
18591 _ACEOF
18592 rm -f conftest.$ac_objext
18593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18594 (eval $ac_compile) 2>conftest.er1
18595 ac_status=$?
18596 grep -v '^ *+' conftest.er1 >conftest.err
18597 rm -f conftest.er1
18598 cat conftest.err >&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); } &&
18601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18603 (eval $ac_try) 2>&5
18604 ac_status=$?
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); }; } &&
18607 { ac_try='test -s conftest.$ac_objext'
18608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609 (eval $ac_try) 2>&5
18610 ac_status=$?
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); }; }; then
18613 ac_hi=$ac_mid; break
18614 else
18615 echo "$as_me: failed program was:" >&5
18616 sed 's/^/| /' conftest.$ac_ext >&5
18617
18618 ac_lo=`expr $ac_mid + 1`
18619 if test $ac_lo -le $ac_mid; then
18620 ac_lo= ac_hi=
18621 break
18622 fi
18623 ac_mid=`expr 2 '*' $ac_mid + 1`
18624 fi
18625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18626 done
18627 else
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18630
18631 cat >conftest.$ac_ext <<_ACEOF
18632 /* confdefs.h. */
18633 _ACEOF
18634 cat confdefs.h >>conftest.$ac_ext
18635 cat >>conftest.$ac_ext <<_ACEOF
18636 /* end confdefs.h. */
18637 $ac_includes_default
18638 int
18639 main ()
18640 {
18641 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18642 test_array [0] = 0
18643
18644 ;
18645 return 0;
18646 }
18647 _ACEOF
18648 rm -f conftest.$ac_objext
18649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18650 (eval $ac_compile) 2>conftest.er1
18651 ac_status=$?
18652 grep -v '^ *+' conftest.er1 >conftest.err
18653 rm -f conftest.er1
18654 cat conftest.err >&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } &&
18657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18659 (eval $ac_try) 2>&5
18660 ac_status=$?
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); }; } &&
18663 { ac_try='test -s conftest.$ac_objext'
18664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18665 (eval $ac_try) 2>&5
18666 ac_status=$?
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); }; }; then
18669 ac_hi=-1 ac_mid=-1
18670 while :; do
18671 cat >conftest.$ac_ext <<_ACEOF
18672 /* confdefs.h. */
18673 _ACEOF
18674 cat confdefs.h >>conftest.$ac_ext
18675 cat >>conftest.$ac_ext <<_ACEOF
18676 /* end confdefs.h. */
18677 $ac_includes_default
18678 int
18679 main ()
18680 {
18681 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18682 test_array [0] = 0
18683
18684 ;
18685 return 0;
18686 }
18687 _ACEOF
18688 rm -f conftest.$ac_objext
18689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18690 (eval $ac_compile) 2>conftest.er1
18691 ac_status=$?
18692 grep -v '^ *+' conftest.er1 >conftest.err
18693 rm -f conftest.er1
18694 cat conftest.err >&5
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } &&
18697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18699 (eval $ac_try) 2>&5
18700 ac_status=$?
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; } &&
18703 { ac_try='test -s conftest.$ac_objext'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18706 ac_status=$?
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; }; then
18709 ac_lo=$ac_mid; break
18710 else
18711 echo "$as_me: failed program was:" >&5
18712 sed 's/^/| /' conftest.$ac_ext >&5
18713
18714 ac_hi=`expr '(' $ac_mid ')' - 1`
18715 if test $ac_mid -le $ac_hi; then
18716 ac_lo= ac_hi=
18717 break
18718 fi
18719 ac_mid=`expr 2 '*' $ac_mid`
18720 fi
18721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18722 done
18723 else
18724 echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.$ac_ext >&5
18726
18727 ac_lo= ac_hi=
18728 fi
18729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18730 fi
18731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18732 # Binary search between lo and hi bounds.
18733 while test "x$ac_lo" != "x$ac_hi"; do
18734 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18735 cat >conftest.$ac_ext <<_ACEOF
18736 /* confdefs.h. */
18737 _ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741 $ac_includes_default
18742 int
18743 main ()
18744 {
18745 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18746 test_array [0] = 0
18747
18748 ;
18749 return 0;
18750 }
18751 _ACEOF
18752 rm -f conftest.$ac_objext
18753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18754 (eval $ac_compile) 2>conftest.er1
18755 ac_status=$?
18756 grep -v '^ *+' conftest.er1 >conftest.err
18757 rm -f conftest.er1
18758 cat conftest.err >&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18764 ac_status=$?
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; } &&
18767 { ac_try='test -s conftest.$ac_objext'
18768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18769 (eval $ac_try) 2>&5
18770 ac_status=$?
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); }; }; then
18773 ac_hi=$ac_mid
18774 else
18775 echo "$as_me: failed program was:" >&5
18776 sed 's/^/| /' conftest.$ac_ext >&5
18777
18778 ac_lo=`expr '(' $ac_mid ')' + 1`
18779 fi
18780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18781 done
18782 case $ac_lo in
18783 ?*) ac_cv_sizeof_int=$ac_lo;;
18784 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18785 See \`config.log' for more details." >&5
18786 echo "$as_me: error: cannot compute sizeof (int), 77
18787 See \`config.log' for more details." >&2;}
18788 { (exit 1); exit 1; }; } ;;
18789 esac
18790 else
18791 if test "$cross_compiling" = yes; then
18792 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18793 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18794 { (exit 1); exit 1; }; }
18795 else
18796 cat >conftest.$ac_ext <<_ACEOF
18797 /* confdefs.h. */
18798 _ACEOF
18799 cat confdefs.h >>conftest.$ac_ext
18800 cat >>conftest.$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18802 $ac_includes_default
18803 long longval () { return (long) (sizeof (int)); }
18804 unsigned long ulongval () { return (long) (sizeof (int)); }
18805 #include <stdio.h>
18806 #include <stdlib.h>
18807 int
18808 main ()
18809 {
18810
18811 FILE *f = fopen ("conftest.val", "w");
18812 if (! f)
18813 exit (1);
18814 if (((long) (sizeof (int))) < 0)
18815 {
18816 long i = longval ();
18817 if (i != ((long) (sizeof (int))))
18818 exit (1);
18819 fprintf (f, "%ld\n", i);
18820 }
18821 else
18822 {
18823 unsigned long i = ulongval ();
18824 if (i != ((long) (sizeof (int))))
18825 exit (1);
18826 fprintf (f, "%lu\n", i);
18827 }
18828 exit (ferror (f) || fclose (f) != 0);
18829
18830 ;
18831 return 0;
18832 }
18833 _ACEOF
18834 rm -f conftest$ac_exeext
18835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18836 (eval $ac_link) 2>&5
18837 ac_status=$?
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18841 (eval $ac_try) 2>&5
18842 ac_status=$?
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); }; }; then
18845 ac_cv_sizeof_int=`cat conftest.val`
18846 else
18847 echo "$as_me: program exited with status $ac_status" >&5
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18850
18851 ( exit $ac_status )
18852 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18853 See \`config.log' for more details." >&5
18854 echo "$as_me: error: cannot compute sizeof (int), 77
18855 See \`config.log' for more details." >&2;}
18856 { (exit 1); exit 1; }; }
18857 fi
18858 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18859 fi
18860 fi
18861 rm -f conftest.val
18862 else
18863 ac_cv_sizeof_int=0
18864 fi
18865 fi
18866 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18867 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18868 cat >>confdefs.h <<_ACEOF
18869 #define SIZEOF_INT $ac_cv_sizeof_int
18870 _ACEOF
18871
18872
18873 echo "$as_me:$LINENO: checking for long" >&5
18874 echo $ECHO_N "checking for long... $ECHO_C" >&6
18875 if test "${ac_cv_type_long+set}" = set; then
18876 echo $ECHO_N "(cached) $ECHO_C" >&6
18877 else
18878 cat >conftest.$ac_ext <<_ACEOF
18879 /* confdefs.h. */
18880 _ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h. */
18884 $ac_includes_default
18885 int
18886 main ()
18887 {
18888 if ((long *) 0)
18889 return 0;
18890 if (sizeof (long))
18891 return 0;
18892 ;
18893 return 0;
18894 }
18895 _ACEOF
18896 rm -f conftest.$ac_objext
18897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18898 (eval $ac_compile) 2>conftest.er1
18899 ac_status=$?
18900 grep -v '^ *+' conftest.er1 >conftest.err
18901 rm -f conftest.er1
18902 cat conftest.err >&5
18903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18904 (exit $ac_status); } &&
18905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18907 (eval $ac_try) 2>&5
18908 ac_status=$?
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); }; } &&
18911 { ac_try='test -s conftest.$ac_objext'
18912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18913 (eval $ac_try) 2>&5
18914 ac_status=$?
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); }; }; then
18917 ac_cv_type_long=yes
18918 else
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18921
18922 ac_cv_type_long=no
18923 fi
18924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18925 fi
18926 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18927 echo "${ECHO_T}$ac_cv_type_long" >&6
18928
18929 echo "$as_me:$LINENO: checking size of long" >&5
18930 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18931 if test "${ac_cv_sizeof_long+set}" = set; then
18932 echo $ECHO_N "(cached) $ECHO_C" >&6
18933 else
18934 if test "$ac_cv_type_long" = yes; then
18935 # The cast to unsigned long works around a bug in the HP C Compiler
18936 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18937 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18938 # This bug is HP SR number 8606223364.
18939 if test "$cross_compiling" = yes; then
18940 # Depending upon the size, compute the lo and hi bounds.
18941 cat >conftest.$ac_ext <<_ACEOF
18942 /* confdefs.h. */
18943 _ACEOF
18944 cat confdefs.h >>conftest.$ac_ext
18945 cat >>conftest.$ac_ext <<_ACEOF
18946 /* end confdefs.h. */
18947 $ac_includes_default
18948 int
18949 main ()
18950 {
18951 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18952 test_array [0] = 0
18953
18954 ;
18955 return 0;
18956 }
18957 _ACEOF
18958 rm -f conftest.$ac_objext
18959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18960 (eval $ac_compile) 2>conftest.er1
18961 ac_status=$?
18962 grep -v '^ *+' conftest.er1 >conftest.err
18963 rm -f conftest.er1
18964 cat conftest.err >&5
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); } &&
18967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18970 ac_status=$?
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; } &&
18973 { ac_try='test -s conftest.$ac_objext'
18974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975 (eval $ac_try) 2>&5
18976 ac_status=$?
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; }; then
18979 ac_lo=0 ac_mid=0
18980 while :; do
18981 cat >conftest.$ac_ext <<_ACEOF
18982 /* confdefs.h. */
18983 _ACEOF
18984 cat confdefs.h >>conftest.$ac_ext
18985 cat >>conftest.$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 $ac_includes_default
18988 int
18989 main ()
18990 {
18991 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18992 test_array [0] = 0
18993
18994 ;
18995 return 0;
18996 }
18997 _ACEOF
18998 rm -f conftest.$ac_objext
18999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19000 (eval $ac_compile) 2>conftest.er1
19001 ac_status=$?
19002 grep -v '^ *+' conftest.er1 >conftest.err
19003 rm -f conftest.er1
19004 cat conftest.err >&5
19005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19006 (exit $ac_status); } &&
19007 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 (eval $ac_try) 2>&5
19010 ac_status=$?
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); }; } &&
19013 { ac_try='test -s conftest.$ac_objext'
19014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19015 (eval $ac_try) 2>&5
19016 ac_status=$?
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); }; }; then
19019 ac_hi=$ac_mid; break
19020 else
19021 echo "$as_me: failed program was:" >&5
19022 sed 's/^/| /' conftest.$ac_ext >&5
19023
19024 ac_lo=`expr $ac_mid + 1`
19025 if test $ac_lo -le $ac_mid; then
19026 ac_lo= ac_hi=
19027 break
19028 fi
19029 ac_mid=`expr 2 '*' $ac_mid + 1`
19030 fi
19031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19032 done
19033 else
19034 echo "$as_me: failed program was:" >&5
19035 sed 's/^/| /' conftest.$ac_ext >&5
19036
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 $ac_includes_default
19044 int
19045 main ()
19046 {
19047 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19048 test_array [0] = 0
19049
19050 ;
19051 return 0;
19052 }
19053 _ACEOF
19054 rm -f conftest.$ac_objext
19055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19056 (eval $ac_compile) 2>conftest.er1
19057 ac_status=$?
19058 grep -v '^ *+' conftest.er1 >conftest.err
19059 rm -f conftest.er1
19060 cat conftest.err >&5
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); } &&
19063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19065 (eval $ac_try) 2>&5
19066 ac_status=$?
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); }; } &&
19069 { ac_try='test -s conftest.$ac_objext'
19070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19071 (eval $ac_try) 2>&5
19072 ac_status=$?
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); }; }; then
19075 ac_hi=-1 ac_mid=-1
19076 while :; do
19077 cat >conftest.$ac_ext <<_ACEOF
19078 /* confdefs.h. */
19079 _ACEOF
19080 cat confdefs.h >>conftest.$ac_ext
19081 cat >>conftest.$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19083 $ac_includes_default
19084 int
19085 main ()
19086 {
19087 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19088 test_array [0] = 0
19089
19090 ;
19091 return 0;
19092 }
19093 _ACEOF
19094 rm -f conftest.$ac_objext
19095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19096 (eval $ac_compile) 2>conftest.er1
19097 ac_status=$?
19098 grep -v '^ *+' conftest.er1 >conftest.err
19099 rm -f conftest.er1
19100 cat conftest.err >&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); } &&
19103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19106 ac_status=$?
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; } &&
19109 { ac_try='test -s conftest.$ac_objext'
19110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19111 (eval $ac_try) 2>&5
19112 ac_status=$?
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; }; then
19115 ac_lo=$ac_mid; break
19116 else
19117 echo "$as_me: failed program was:" >&5
19118 sed 's/^/| /' conftest.$ac_ext >&5
19119
19120 ac_hi=`expr '(' $ac_mid ')' - 1`
19121 if test $ac_mid -le $ac_hi; then
19122 ac_lo= ac_hi=
19123 break
19124 fi
19125 ac_mid=`expr 2 '*' $ac_mid`
19126 fi
19127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19128 done
19129 else
19130 echo "$as_me: failed program was:" >&5
19131 sed 's/^/| /' conftest.$ac_ext >&5
19132
19133 ac_lo= ac_hi=
19134 fi
19135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19136 fi
19137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19138 # Binary search between lo and hi bounds.
19139 while test "x$ac_lo" != "x$ac_hi"; do
19140 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19141 cat >conftest.$ac_ext <<_ACEOF
19142 /* confdefs.h. */
19143 _ACEOF
19144 cat confdefs.h >>conftest.$ac_ext
19145 cat >>conftest.$ac_ext <<_ACEOF
19146 /* end confdefs.h. */
19147 $ac_includes_default
19148 int
19149 main ()
19150 {
19151 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19152 test_array [0] = 0
19153
19154 ;
19155 return 0;
19156 }
19157 _ACEOF
19158 rm -f conftest.$ac_objext
19159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19160 (eval $ac_compile) 2>conftest.er1
19161 ac_status=$?
19162 grep -v '^ *+' conftest.er1 >conftest.err
19163 rm -f conftest.er1
19164 cat conftest.err >&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } &&
19167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19170 ac_status=$?
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); }; } &&
19173 { ac_try='test -s conftest.$ac_objext'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19176 ac_status=$?
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; }; then
19179 ac_hi=$ac_mid
19180 else
19181 echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.$ac_ext >&5
19183
19184 ac_lo=`expr '(' $ac_mid ')' + 1`
19185 fi
19186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19187 done
19188 case $ac_lo in
19189 ?*) ac_cv_sizeof_long=$ac_lo;;
19190 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19191 See \`config.log' for more details." >&5
19192 echo "$as_me: error: cannot compute sizeof (long), 77
19193 See \`config.log' for more details." >&2;}
19194 { (exit 1); exit 1; }; } ;;
19195 esac
19196 else
19197 if test "$cross_compiling" = yes; then
19198 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19199 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19200 { (exit 1); exit 1; }; }
19201 else
19202 cat >conftest.$ac_ext <<_ACEOF
19203 /* confdefs.h. */
19204 _ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19208 $ac_includes_default
19209 long longval () { return (long) (sizeof (long)); }
19210 unsigned long ulongval () { return (long) (sizeof (long)); }
19211 #include <stdio.h>
19212 #include <stdlib.h>
19213 int
19214 main ()
19215 {
19216
19217 FILE *f = fopen ("conftest.val", "w");
19218 if (! f)
19219 exit (1);
19220 if (((long) (sizeof (long))) < 0)
19221 {
19222 long i = longval ();
19223 if (i != ((long) (sizeof (long))))
19224 exit (1);
19225 fprintf (f, "%ld\n", i);
19226 }
19227 else
19228 {
19229 unsigned long i = ulongval ();
19230 if (i != ((long) (sizeof (long))))
19231 exit (1);
19232 fprintf (f, "%lu\n", i);
19233 }
19234 exit (ferror (f) || fclose (f) != 0);
19235
19236 ;
19237 return 0;
19238 }
19239 _ACEOF
19240 rm -f conftest$ac_exeext
19241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19242 (eval $ac_link) 2>&5
19243 ac_status=$?
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19248 ac_status=$?
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; }; then
19251 ac_cv_sizeof_long=`cat conftest.val`
19252 else
19253 echo "$as_me: program exited with status $ac_status" >&5
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.$ac_ext >&5
19256
19257 ( exit $ac_status )
19258 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19259 See \`config.log' for more details." >&5
19260 echo "$as_me: error: cannot compute sizeof (long), 77
19261 See \`config.log' for more details." >&2;}
19262 { (exit 1); exit 1; }; }
19263 fi
19264 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19265 fi
19266 fi
19267 rm -f conftest.val
19268 else
19269 ac_cv_sizeof_long=0
19270 fi
19271 fi
19272 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19273 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19274 cat >>confdefs.h <<_ACEOF
19275 #define SIZEOF_LONG $ac_cv_sizeof_long
19276 _ACEOF
19277
19278
19279 echo "$as_me:$LINENO: checking for size_t" >&5
19280 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19281 if test "${ac_cv_type_size_t+set}" = set; then
19282 echo $ECHO_N "(cached) $ECHO_C" >&6
19283 else
19284 cat >conftest.$ac_ext <<_ACEOF
19285 /* confdefs.h. */
19286 _ACEOF
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19290 $ac_includes_default
19291 int
19292 main ()
19293 {
19294 if ((size_t *) 0)
19295 return 0;
19296 if (sizeof (size_t))
19297 return 0;
19298 ;
19299 return 0;
19300 }
19301 _ACEOF
19302 rm -f conftest.$ac_objext
19303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19304 (eval $ac_compile) 2>conftest.er1
19305 ac_status=$?
19306 grep -v '^ *+' conftest.er1 >conftest.err
19307 rm -f conftest.er1
19308 cat conftest.err >&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); } &&
19311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19313 (eval $ac_try) 2>&5
19314 ac_status=$?
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); }; } &&
19317 { ac_try='test -s conftest.$ac_objext'
19318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19319 (eval $ac_try) 2>&5
19320 ac_status=$?
19321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322 (exit $ac_status); }; }; then
19323 ac_cv_type_size_t=yes
19324 else
19325 echo "$as_me: failed program was:" >&5
19326 sed 's/^/| /' conftest.$ac_ext >&5
19327
19328 ac_cv_type_size_t=no
19329 fi
19330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19331 fi
19332 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19333 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19334
19335 echo "$as_me:$LINENO: checking size of size_t" >&5
19336 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19337 if test "${ac_cv_sizeof_size_t+set}" = set; then
19338 echo $ECHO_N "(cached) $ECHO_C" >&6
19339 else
19340 if test "$ac_cv_type_size_t" = yes; then
19341 # The cast to unsigned long works around a bug in the HP C Compiler
19342 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19343 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19344 # This bug is HP SR number 8606223364.
19345 if test "$cross_compiling" = yes; then
19346 # Depending upon the size, compute the lo and hi bounds.
19347 cat >conftest.$ac_ext <<_ACEOF
19348 /* confdefs.h. */
19349 _ACEOF
19350 cat confdefs.h >>conftest.$ac_ext
19351 cat >>conftest.$ac_ext <<_ACEOF
19352 /* end confdefs.h. */
19353 $ac_includes_default
19354 int
19355 main ()
19356 {
19357 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19358 test_array [0] = 0
19359
19360 ;
19361 return 0;
19362 }
19363 _ACEOF
19364 rm -f conftest.$ac_objext
19365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19366 (eval $ac_compile) 2>conftest.er1
19367 ac_status=$?
19368 grep -v '^ *+' conftest.er1 >conftest.err
19369 rm -f conftest.er1
19370 cat conftest.err >&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); } &&
19373 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19376 ac_status=$?
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; } &&
19379 { ac_try='test -s conftest.$ac_objext'
19380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19381 (eval $ac_try) 2>&5
19382 ac_status=$?
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); }; }; then
19385 ac_lo=0 ac_mid=0
19386 while :; do
19387 cat >conftest.$ac_ext <<_ACEOF
19388 /* confdefs.h. */
19389 _ACEOF
19390 cat confdefs.h >>conftest.$ac_ext
19391 cat >>conftest.$ac_ext <<_ACEOF
19392 /* end confdefs.h. */
19393 $ac_includes_default
19394 int
19395 main ()
19396 {
19397 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19398 test_array [0] = 0
19399
19400 ;
19401 return 0;
19402 }
19403 _ACEOF
19404 rm -f conftest.$ac_objext
19405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19406 (eval $ac_compile) 2>conftest.er1
19407 ac_status=$?
19408 grep -v '^ *+' conftest.er1 >conftest.err
19409 rm -f conftest.er1
19410 cat conftest.err >&5
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); } &&
19413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19416 ac_status=$?
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; } &&
19419 { ac_try='test -s conftest.$ac_objext'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19422 ac_status=$?
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; }; then
19425 ac_hi=$ac_mid; break
19426 else
19427 echo "$as_me: failed program was:" >&5
19428 sed 's/^/| /' conftest.$ac_ext >&5
19429
19430 ac_lo=`expr $ac_mid + 1`
19431 if test $ac_lo -le $ac_mid; then
19432 ac_lo= ac_hi=
19433 break
19434 fi
19435 ac_mid=`expr 2 '*' $ac_mid + 1`
19436 fi
19437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19438 done
19439 else
19440 echo "$as_me: failed program was:" >&5
19441 sed 's/^/| /' conftest.$ac_ext >&5
19442
19443 cat >conftest.$ac_ext <<_ACEOF
19444 /* confdefs.h. */
19445 _ACEOF
19446 cat confdefs.h >>conftest.$ac_ext
19447 cat >>conftest.$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19449 $ac_includes_default
19450 int
19451 main ()
19452 {
19453 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19454 test_array [0] = 0
19455
19456 ;
19457 return 0;
19458 }
19459 _ACEOF
19460 rm -f conftest.$ac_objext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>conftest.er1
19463 ac_status=$?
19464 grep -v '^ *+' conftest.er1 >conftest.err
19465 rm -f conftest.er1
19466 cat conftest.err >&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19471 (eval $ac_try) 2>&5
19472 ac_status=$?
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); }; } &&
19475 { ac_try='test -s conftest.$ac_objext'
19476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19477 (eval $ac_try) 2>&5
19478 ac_status=$?
19479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19480 (exit $ac_status); }; }; then
19481 ac_hi=-1 ac_mid=-1
19482 while :; do
19483 cat >conftest.$ac_ext <<_ACEOF
19484 /* confdefs.h. */
19485 _ACEOF
19486 cat confdefs.h >>conftest.$ac_ext
19487 cat >>conftest.$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19489 $ac_includes_default
19490 int
19491 main ()
19492 {
19493 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19494 test_array [0] = 0
19495
19496 ;
19497 return 0;
19498 }
19499 _ACEOF
19500 rm -f conftest.$ac_objext
19501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19502 (eval $ac_compile) 2>conftest.er1
19503 ac_status=$?
19504 grep -v '^ *+' conftest.er1 >conftest.err
19505 rm -f conftest.er1
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19512 ac_status=$?
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; } &&
19515 { ac_try='test -s conftest.$ac_objext'
19516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19517 (eval $ac_try) 2>&5
19518 ac_status=$?
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); }; }; then
19521 ac_lo=$ac_mid; break
19522 else
19523 echo "$as_me: failed program was:" >&5
19524 sed 's/^/| /' conftest.$ac_ext >&5
19525
19526 ac_hi=`expr '(' $ac_mid ')' - 1`
19527 if test $ac_mid -le $ac_hi; then
19528 ac_lo= ac_hi=
19529 break
19530 fi
19531 ac_mid=`expr 2 '*' $ac_mid`
19532 fi
19533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19534 done
19535 else
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19538
19539 ac_lo= ac_hi=
19540 fi
19541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19542 fi
19543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19544 # Binary search between lo and hi bounds.
19545 while test "x$ac_lo" != "x$ac_hi"; do
19546 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19547 cat >conftest.$ac_ext <<_ACEOF
19548 /* confdefs.h. */
19549 _ACEOF
19550 cat confdefs.h >>conftest.$ac_ext
19551 cat >>conftest.$ac_ext <<_ACEOF
19552 /* end confdefs.h. */
19553 $ac_includes_default
19554 int
19555 main ()
19556 {
19557 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19558 test_array [0] = 0
19559
19560 ;
19561 return 0;
19562 }
19563 _ACEOF
19564 rm -f conftest.$ac_objext
19565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19566 (eval $ac_compile) 2>conftest.er1
19567 ac_status=$?
19568 grep -v '^ *+' conftest.er1 >conftest.err
19569 rm -f conftest.er1
19570 cat conftest.err >&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } &&
19573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19575 (eval $ac_try) 2>&5
19576 ac_status=$?
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); }; } &&
19579 { ac_try='test -s conftest.$ac_objext'
19580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19581 (eval $ac_try) 2>&5
19582 ac_status=$?
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); }; }; then
19585 ac_hi=$ac_mid
19586 else
19587 echo "$as_me: failed program was:" >&5
19588 sed 's/^/| /' conftest.$ac_ext >&5
19589
19590 ac_lo=`expr '(' $ac_mid ')' + 1`
19591 fi
19592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19593 done
19594 case $ac_lo in
19595 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19596 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19597 See \`config.log' for more details." >&5
19598 echo "$as_me: error: cannot compute sizeof (size_t), 77
19599 See \`config.log' for more details." >&2;}
19600 { (exit 1); exit 1; }; } ;;
19601 esac
19602 else
19603 if test "$cross_compiling" = yes; then
19604 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19605 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19606 { (exit 1); exit 1; }; }
19607 else
19608 cat >conftest.$ac_ext <<_ACEOF
19609 /* confdefs.h. */
19610 _ACEOF
19611 cat confdefs.h >>conftest.$ac_ext
19612 cat >>conftest.$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 $ac_includes_default
19615 long longval () { return (long) (sizeof (size_t)); }
19616 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19617 #include <stdio.h>
19618 #include <stdlib.h>
19619 int
19620 main ()
19621 {
19622
19623 FILE *f = fopen ("conftest.val", "w");
19624 if (! f)
19625 exit (1);
19626 if (((long) (sizeof (size_t))) < 0)
19627 {
19628 long i = longval ();
19629 if (i != ((long) (sizeof (size_t))))
19630 exit (1);
19631 fprintf (f, "%ld\n", i);
19632 }
19633 else
19634 {
19635 unsigned long i = ulongval ();
19636 if (i != ((long) (sizeof (size_t))))
19637 exit (1);
19638 fprintf (f, "%lu\n", i);
19639 }
19640 exit (ferror (f) || fclose (f) != 0);
19641
19642 ;
19643 return 0;
19644 }
19645 _ACEOF
19646 rm -f conftest$ac_exeext
19647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19648 (eval $ac_link) 2>&5
19649 ac_status=$?
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19654 ac_status=$?
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; }; then
19657 ac_cv_sizeof_size_t=`cat conftest.val`
19658 else
19659 echo "$as_me: program exited with status $ac_status" >&5
19660 echo "$as_me: failed program was:" >&5
19661 sed 's/^/| /' conftest.$ac_ext >&5
19662
19663 ( exit $ac_status )
19664 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19665 See \`config.log' for more details." >&5
19666 echo "$as_me: error: cannot compute sizeof (size_t), 77
19667 See \`config.log' for more details." >&2;}
19668 { (exit 1); exit 1; }; }
19669 fi
19670 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19671 fi
19672 fi
19673 rm -f conftest.val
19674 else
19675 ac_cv_sizeof_size_t=0
19676 fi
19677 fi
19678 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19679 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19680 cat >>confdefs.h <<_ACEOF
19681 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19682 _ACEOF
19683
19684
19685
19686 case "${host}" in
19687 arm-*-linux* )
19688 echo "$as_me:$LINENO: checking for long long" >&5
19689 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19690 if test "${ac_cv_type_long_long+set}" = set; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19692 else
19693 cat >conftest.$ac_ext <<_ACEOF
19694 /* confdefs.h. */
19695 _ACEOF
19696 cat confdefs.h >>conftest.$ac_ext
19697 cat >>conftest.$ac_ext <<_ACEOF
19698 /* end confdefs.h. */
19699 $ac_includes_default
19700 int
19701 main ()
19702 {
19703 if ((long long *) 0)
19704 return 0;
19705 if (sizeof (long long))
19706 return 0;
19707 ;
19708 return 0;
19709 }
19710 _ACEOF
19711 rm -f conftest.$ac_objext
19712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19713 (eval $ac_compile) 2>conftest.er1
19714 ac_status=$?
19715 grep -v '^ *+' conftest.er1 >conftest.err
19716 rm -f conftest.er1
19717 cat conftest.err >&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } &&
19720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19726 { ac_try='test -s conftest.$ac_objext'
19727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19728 (eval $ac_try) 2>&5
19729 ac_status=$?
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); }; }; then
19732 ac_cv_type_long_long=yes
19733 else
19734 echo "$as_me: failed program was:" >&5
19735 sed 's/^/| /' conftest.$ac_ext >&5
19736
19737 ac_cv_type_long_long=no
19738 fi
19739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19740 fi
19741 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19742 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19743
19744 echo "$as_me:$LINENO: checking size of long long" >&5
19745 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19746 if test "${ac_cv_sizeof_long_long+set}" = set; then
19747 echo $ECHO_N "(cached) $ECHO_C" >&6
19748 else
19749 if test "$ac_cv_type_long_long" = yes; then
19750 # The cast to unsigned long works around a bug in the HP C Compiler
19751 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19752 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19753 # This bug is HP SR number 8606223364.
19754 if test "$cross_compiling" = yes; then
19755 # Depending upon the size, compute the lo and hi bounds.
19756 cat >conftest.$ac_ext <<_ACEOF
19757 /* confdefs.h. */
19758 _ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 $ac_includes_default
19763 int
19764 main ()
19765 {
19766 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19767 test_array [0] = 0
19768
19769 ;
19770 return 0;
19771 }
19772 _ACEOF
19773 rm -f conftest.$ac_objext
19774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19775 (eval $ac_compile) 2>conftest.er1
19776 ac_status=$?
19777 grep -v '^ *+' conftest.er1 >conftest.err
19778 rm -f conftest.er1
19779 cat conftest.err >&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } &&
19782 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19785 ac_status=$?
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; } &&
19788 { ac_try='test -s conftest.$ac_objext'
19789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19790 (eval $ac_try) 2>&5
19791 ac_status=$?
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; }; then
19794 ac_lo=0 ac_mid=0
19795 while :; do
19796 cat >conftest.$ac_ext <<_ACEOF
19797 /* confdefs.h. */
19798 _ACEOF
19799 cat confdefs.h >>conftest.$ac_ext
19800 cat >>conftest.$ac_ext <<_ACEOF
19801 /* end confdefs.h. */
19802 $ac_includes_default
19803 int
19804 main ()
19805 {
19806 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19807 test_array [0] = 0
19808
19809 ;
19810 return 0;
19811 }
19812 _ACEOF
19813 rm -f conftest.$ac_objext
19814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19815 (eval $ac_compile) 2>conftest.er1
19816 ac_status=$?
19817 grep -v '^ *+' conftest.er1 >conftest.err
19818 rm -f conftest.er1
19819 cat conftest.err >&5
19820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821 (exit $ac_status); } &&
19822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19824 (eval $ac_try) 2>&5
19825 ac_status=$?
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); }; } &&
19828 { ac_try='test -s conftest.$ac_objext'
19829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19830 (eval $ac_try) 2>&5
19831 ac_status=$?
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); }; }; then
19834 ac_hi=$ac_mid; break
19835 else
19836 echo "$as_me: failed program was:" >&5
19837 sed 's/^/| /' conftest.$ac_ext >&5
19838
19839 ac_lo=`expr $ac_mid + 1`
19840 if test $ac_lo -le $ac_mid; then
19841 ac_lo= ac_hi=
19842 break
19843 fi
19844 ac_mid=`expr 2 '*' $ac_mid + 1`
19845 fi
19846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19847 done
19848 else
19849 echo "$as_me: failed program was:" >&5
19850 sed 's/^/| /' conftest.$ac_ext >&5
19851
19852 cat >conftest.$ac_ext <<_ACEOF
19853 /* confdefs.h. */
19854 _ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 $ac_includes_default
19859 int
19860 main ()
19861 {
19862 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19863 test_array [0] = 0
19864
19865 ;
19866 return 0;
19867 }
19868 _ACEOF
19869 rm -f conftest.$ac_objext
19870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19871 (eval $ac_compile) 2>conftest.er1
19872 ac_status=$?
19873 grep -v '^ *+' conftest.er1 >conftest.err
19874 rm -f conftest.er1
19875 cat conftest.err >&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); } &&
19878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19880 (eval $ac_try) 2>&5
19881 ac_status=$?
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); }; } &&
19884 { ac_try='test -s conftest.$ac_objext'
19885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19886 (eval $ac_try) 2>&5
19887 ac_status=$?
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); }; }; then
19890 ac_hi=-1 ac_mid=-1
19891 while :; do
19892 cat >conftest.$ac_ext <<_ACEOF
19893 /* confdefs.h. */
19894 _ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 $ac_includes_default
19899 int
19900 main ()
19901 {
19902 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19903 test_array [0] = 0
19904
19905 ;
19906 return 0;
19907 }
19908 _ACEOF
19909 rm -f conftest.$ac_objext
19910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19911 (eval $ac_compile) 2>conftest.er1
19912 ac_status=$?
19913 grep -v '^ *+' conftest.er1 >conftest.err
19914 rm -f conftest.er1
19915 cat conftest.err >&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19921 ac_status=$?
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; } &&
19924 { ac_try='test -s conftest.$ac_objext'
19925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19926 (eval $ac_try) 2>&5
19927 ac_status=$?
19928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19929 (exit $ac_status); }; }; then
19930 ac_lo=$ac_mid; break
19931 else
19932 echo "$as_me: failed program was:" >&5
19933 sed 's/^/| /' conftest.$ac_ext >&5
19934
19935 ac_hi=`expr '(' $ac_mid ')' - 1`
19936 if test $ac_mid -le $ac_hi; then
19937 ac_lo= ac_hi=
19938 break
19939 fi
19940 ac_mid=`expr 2 '*' $ac_mid`
19941 fi
19942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19943 done
19944 else
19945 echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19947
19948 ac_lo= ac_hi=
19949 fi
19950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19951 fi
19952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19953 # Binary search between lo and hi bounds.
19954 while test "x$ac_lo" != "x$ac_hi"; do
19955 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19956 cat >conftest.$ac_ext <<_ACEOF
19957 /* confdefs.h. */
19958 _ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19963 int
19964 main ()
19965 {
19966 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19967 test_array [0] = 0
19968
19969 ;
19970 return 0;
19971 }
19972 _ACEOF
19973 rm -f conftest.$ac_objext
19974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19975 (eval $ac_compile) 2>conftest.er1
19976 ac_status=$?
19977 grep -v '^ *+' conftest.er1 >conftest.err
19978 rm -f conftest.er1
19979 cat conftest.err >&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19985 ac_status=$?
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; } &&
19988 { ac_try='test -s conftest.$ac_objext'
19989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19990 (eval $ac_try) 2>&5
19991 ac_status=$?
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); }; }; then
19994 ac_hi=$ac_mid
19995 else
19996 echo "$as_me: failed program was:" >&5
19997 sed 's/^/| /' conftest.$ac_ext >&5
19998
19999 ac_lo=`expr '(' $ac_mid ')' + 1`
20000 fi
20001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20002 done
20003 case $ac_lo in
20004 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20005 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20006 See \`config.log' for more details." >&5
20007 echo "$as_me: error: cannot compute sizeof (long long), 77
20008 See \`config.log' for more details." >&2;}
20009 { (exit 1); exit 1; }; } ;;
20010 esac
20011 else
20012 if test "$cross_compiling" = yes; then
20013 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20014 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20015 { (exit 1); exit 1; }; }
20016 else
20017 cat >conftest.$ac_ext <<_ACEOF
20018 /* confdefs.h. */
20019 _ACEOF
20020 cat confdefs.h >>conftest.$ac_ext
20021 cat >>conftest.$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20023 $ac_includes_default
20024 long longval () { return (long) (sizeof (long long)); }
20025 unsigned long ulongval () { return (long) (sizeof (long long)); }
20026 #include <stdio.h>
20027 #include <stdlib.h>
20028 int
20029 main ()
20030 {
20031
20032 FILE *f = fopen ("conftest.val", "w");
20033 if (! f)
20034 exit (1);
20035 if (((long) (sizeof (long long))) < 0)
20036 {
20037 long i = longval ();
20038 if (i != ((long) (sizeof (long long))))
20039 exit (1);
20040 fprintf (f, "%ld\n", i);
20041 }
20042 else
20043 {
20044 unsigned long i = ulongval ();
20045 if (i != ((long) (sizeof (long long))))
20046 exit (1);
20047 fprintf (f, "%lu\n", i);
20048 }
20049 exit (ferror (f) || fclose (f) != 0);
20050
20051 ;
20052 return 0;
20053 }
20054 _ACEOF
20055 rm -f conftest$ac_exeext
20056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20057 (eval $ac_link) 2>&5
20058 ac_status=$?
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20062 (eval $ac_try) 2>&5
20063 ac_status=$?
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); }; }; then
20066 ac_cv_sizeof_long_long=`cat conftest.val`
20067 else
20068 echo "$as_me: program exited with status $ac_status" >&5
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20071
20072 ( exit $ac_status )
20073 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20074 See \`config.log' for more details." >&5
20075 echo "$as_me: error: cannot compute sizeof (long long), 77
20076 See \`config.log' for more details." >&2;}
20077 { (exit 1); exit 1; }; }
20078 fi
20079 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20080 fi
20081 fi
20082 rm -f conftest.val
20083 else
20084 ac_cv_sizeof_long_long=0
20085 fi
20086 fi
20087 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20088 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20089 cat >>confdefs.h <<_ACEOF
20090 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20091 _ACEOF
20092
20093
20094 ;;
20095 *-hp-hpux* )
20096 echo "$as_me:$LINENO: checking for long long" >&5
20097 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20098 if test "${ac_cv_type_long_long+set}" = set; then
20099 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 else
20101 cat >conftest.$ac_ext <<_ACEOF
20102 /* confdefs.h. */
20103 _ACEOF
20104 cat confdefs.h >>conftest.$ac_ext
20105 cat >>conftest.$ac_ext <<_ACEOF
20106 /* end confdefs.h. */
20107 $ac_includes_default
20108 int
20109 main ()
20110 {
20111 if ((long long *) 0)
20112 return 0;
20113 if (sizeof (long long))
20114 return 0;
20115 ;
20116 return 0;
20117 }
20118 _ACEOF
20119 rm -f conftest.$ac_objext
20120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20121 (eval $ac_compile) 2>conftest.er1
20122 ac_status=$?
20123 grep -v '^ *+' conftest.er1 >conftest.err
20124 rm -f conftest.er1
20125 cat conftest.err >&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } &&
20128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20131 ac_status=$?
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; } &&
20134 { ac_try='test -s conftest.$ac_objext'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20137 ac_status=$?
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; }; then
20140 ac_cv_type_long_long=yes
20141 else
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20144
20145 ac_cv_type_long_long=no
20146 fi
20147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20148 fi
20149 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20150 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20151
20152 echo "$as_me:$LINENO: checking size of long long" >&5
20153 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20154 if test "${ac_cv_sizeof_long_long+set}" = set; then
20155 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 else
20157 if test "$ac_cv_type_long_long" = yes; then
20158 # The cast to unsigned long works around a bug in the HP C Compiler
20159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20160 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20161 # This bug is HP SR number 8606223364.
20162 if test "$cross_compiling" = yes; then
20163 # Depending upon the size, compute the lo and hi bounds.
20164 cat >conftest.$ac_ext <<_ACEOF
20165 /* confdefs.h. */
20166 _ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 $ac_includes_default
20171 int
20172 main ()
20173 {
20174 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20175 test_array [0] = 0
20176
20177 ;
20178 return 0;
20179 }
20180 _ACEOF
20181 rm -f conftest.$ac_objext
20182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20183 (eval $ac_compile) 2>conftest.er1
20184 ac_status=$?
20185 grep -v '^ *+' conftest.er1 >conftest.err
20186 rm -f conftest.er1
20187 cat conftest.err >&5
20188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20189 (exit $ac_status); } &&
20190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20192 (eval $ac_try) 2>&5
20193 ac_status=$?
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); }; } &&
20196 { ac_try='test -s conftest.$ac_objext'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20199 ac_status=$?
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; }; then
20202 ac_lo=0 ac_mid=0
20203 while :; do
20204 cat >conftest.$ac_ext <<_ACEOF
20205 /* confdefs.h. */
20206 _ACEOF
20207 cat confdefs.h >>conftest.$ac_ext
20208 cat >>conftest.$ac_ext <<_ACEOF
20209 /* end confdefs.h. */
20210 $ac_includes_default
20211 int
20212 main ()
20213 {
20214 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20215 test_array [0] = 0
20216
20217 ;
20218 return 0;
20219 }
20220 _ACEOF
20221 rm -f conftest.$ac_objext
20222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20223 (eval $ac_compile) 2>conftest.er1
20224 ac_status=$?
20225 grep -v '^ *+' conftest.er1 >conftest.err
20226 rm -f conftest.er1
20227 cat conftest.err >&5
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } &&
20230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20232 (eval $ac_try) 2>&5
20233 ac_status=$?
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); }; } &&
20236 { ac_try='test -s conftest.$ac_objext'
20237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20238 (eval $ac_try) 2>&5
20239 ac_status=$?
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); }; }; then
20242 ac_hi=$ac_mid; break
20243 else
20244 echo "$as_me: failed program was:" >&5
20245 sed 's/^/| /' conftest.$ac_ext >&5
20246
20247 ac_lo=`expr $ac_mid + 1`
20248 if test $ac_lo -le $ac_mid; then
20249 ac_lo= ac_hi=
20250 break
20251 fi
20252 ac_mid=`expr 2 '*' $ac_mid + 1`
20253 fi
20254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20255 done
20256 else
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.$ac_ext >&5
20259
20260 cat >conftest.$ac_ext <<_ACEOF
20261 /* confdefs.h. */
20262 _ACEOF
20263 cat confdefs.h >>conftest.$ac_ext
20264 cat >>conftest.$ac_ext <<_ACEOF
20265 /* end confdefs.h. */
20266 $ac_includes_default
20267 int
20268 main ()
20269 {
20270 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20271 test_array [0] = 0
20272
20273 ;
20274 return 0;
20275 }
20276 _ACEOF
20277 rm -f conftest.$ac_objext
20278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20279 (eval $ac_compile) 2>conftest.er1
20280 ac_status=$?
20281 grep -v '^ *+' conftest.er1 >conftest.err
20282 rm -f conftest.er1
20283 cat conftest.err >&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); } &&
20286 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20288 (eval $ac_try) 2>&5
20289 ac_status=$?
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); }; } &&
20292 { ac_try='test -s conftest.$ac_objext'
20293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20294 (eval $ac_try) 2>&5
20295 ac_status=$?
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); }; }; then
20298 ac_hi=-1 ac_mid=-1
20299 while :; do
20300 cat >conftest.$ac_ext <<_ACEOF
20301 /* confdefs.h. */
20302 _ACEOF
20303 cat confdefs.h >>conftest.$ac_ext
20304 cat >>conftest.$ac_ext <<_ACEOF
20305 /* end confdefs.h. */
20306 $ac_includes_default
20307 int
20308 main ()
20309 {
20310 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20311 test_array [0] = 0
20312
20313 ;
20314 return 0;
20315 }
20316 _ACEOF
20317 rm -f conftest.$ac_objext
20318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20319 (eval $ac_compile) 2>conftest.er1
20320 ac_status=$?
20321 grep -v '^ *+' conftest.er1 >conftest.err
20322 rm -f conftest.er1
20323 cat conftest.err >&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } &&
20326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328 (eval $ac_try) 2>&5
20329 ac_status=$?
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); }; } &&
20332 { ac_try='test -s conftest.$ac_objext'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20335 ac_status=$?
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; }; then
20338 ac_lo=$ac_mid; break
20339 else
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20342
20343 ac_hi=`expr '(' $ac_mid ')' - 1`
20344 if test $ac_mid -le $ac_hi; then
20345 ac_lo= ac_hi=
20346 break
20347 fi
20348 ac_mid=`expr 2 '*' $ac_mid`
20349 fi
20350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20351 done
20352 else
20353 echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.$ac_ext >&5
20355
20356 ac_lo= ac_hi=
20357 fi
20358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20359 fi
20360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20361 # Binary search between lo and hi bounds.
20362 while test "x$ac_lo" != "x$ac_hi"; do
20363 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20364 cat >conftest.$ac_ext <<_ACEOF
20365 /* confdefs.h. */
20366 _ACEOF
20367 cat confdefs.h >>conftest.$ac_ext
20368 cat >>conftest.$ac_ext <<_ACEOF
20369 /* end confdefs.h. */
20370 $ac_includes_default
20371 int
20372 main ()
20373 {
20374 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20375 test_array [0] = 0
20376
20377 ;
20378 return 0;
20379 }
20380 _ACEOF
20381 rm -f conftest.$ac_objext
20382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20383 (eval $ac_compile) 2>conftest.er1
20384 ac_status=$?
20385 grep -v '^ *+' conftest.er1 >conftest.err
20386 rm -f conftest.er1
20387 cat conftest.err >&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); } &&
20390 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20392 (eval $ac_try) 2>&5
20393 ac_status=$?
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); }; } &&
20396 { ac_try='test -s conftest.$ac_objext'
20397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20398 (eval $ac_try) 2>&5
20399 ac_status=$?
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); }; }; then
20402 ac_hi=$ac_mid
20403 else
20404 echo "$as_me: failed program was:" >&5
20405 sed 's/^/| /' conftest.$ac_ext >&5
20406
20407 ac_lo=`expr '(' $ac_mid ')' + 1`
20408 fi
20409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20410 done
20411 case $ac_lo in
20412 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20413 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20414 See \`config.log' for more details." >&5
20415 echo "$as_me: error: cannot compute sizeof (long long), 77
20416 See \`config.log' for more details." >&2;}
20417 { (exit 1); exit 1; }; } ;;
20418 esac
20419 else
20420 if test "$cross_compiling" = yes; then
20421 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20422 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20423 { (exit 1); exit 1; }; }
20424 else
20425 cat >conftest.$ac_ext <<_ACEOF
20426 /* confdefs.h. */
20427 _ACEOF
20428 cat confdefs.h >>conftest.$ac_ext
20429 cat >>conftest.$ac_ext <<_ACEOF
20430 /* end confdefs.h. */
20431 $ac_includes_default
20432 long longval () { return (long) (sizeof (long long)); }
20433 unsigned long ulongval () { return (long) (sizeof (long long)); }
20434 #include <stdio.h>
20435 #include <stdlib.h>
20436 int
20437 main ()
20438 {
20439
20440 FILE *f = fopen ("conftest.val", "w");
20441 if (! f)
20442 exit (1);
20443 if (((long) (sizeof (long long))) < 0)
20444 {
20445 long i = longval ();
20446 if (i != ((long) (sizeof (long long))))
20447 exit (1);
20448 fprintf (f, "%ld\n", i);
20449 }
20450 else
20451 {
20452 unsigned long i = ulongval ();
20453 if (i != ((long) (sizeof (long long))))
20454 exit (1);
20455 fprintf (f, "%lu\n", i);
20456 }
20457 exit (ferror (f) || fclose (f) != 0);
20458
20459 ;
20460 return 0;
20461 }
20462 _ACEOF
20463 rm -f conftest$ac_exeext
20464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20465 (eval $ac_link) 2>&5
20466 ac_status=$?
20467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470 (eval $ac_try) 2>&5
20471 ac_status=$?
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; }; then
20474 ac_cv_sizeof_long_long=`cat conftest.val`
20475 else
20476 echo "$as_me: program exited with status $ac_status" >&5
20477 echo "$as_me: failed program was:" >&5
20478 sed 's/^/| /' conftest.$ac_ext >&5
20479
20480 ( exit $ac_status )
20481 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20482 See \`config.log' for more details." >&5
20483 echo "$as_me: error: cannot compute sizeof (long long), 77
20484 See \`config.log' for more details." >&2;}
20485 { (exit 1); exit 1; }; }
20486 fi
20487 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20488 fi
20489 fi
20490 rm -f conftest.val
20491 else
20492 ac_cv_sizeof_long_long=0
20493 fi
20494 fi
20495 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20496 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20497 cat >>confdefs.h <<_ACEOF
20498 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20499 _ACEOF
20500
20501
20502 if test "$ac_cv_sizeof_long_long" != "0"; then
20503 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20504 fi
20505 ;;
20506 * )
20507 echo "$as_me:$LINENO: checking for long long" >&5
20508 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20509 if test "${ac_cv_type_long_long+set}" = set; then
20510 echo $ECHO_N "(cached) $ECHO_C" >&6
20511 else
20512 cat >conftest.$ac_ext <<_ACEOF
20513 /* confdefs.h. */
20514 _ACEOF
20515 cat confdefs.h >>conftest.$ac_ext
20516 cat >>conftest.$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20519 int
20520 main ()
20521 {
20522 if ((long long *) 0)
20523 return 0;
20524 if (sizeof (long long))
20525 return 0;
20526 ;
20527 return 0;
20528 }
20529 _ACEOF
20530 rm -f conftest.$ac_objext
20531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20532 (eval $ac_compile) 2>conftest.er1
20533 ac_status=$?
20534 grep -v '^ *+' conftest.er1 >conftest.err
20535 rm -f conftest.er1
20536 cat conftest.err >&5
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); } &&
20539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20541 (eval $ac_try) 2>&5
20542 ac_status=$?
20543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544 (exit $ac_status); }; } &&
20545 { ac_try='test -s conftest.$ac_objext'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20548 ac_status=$?
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; }; then
20551 ac_cv_type_long_long=yes
20552 else
20553 echo "$as_me: failed program was:" >&5
20554 sed 's/^/| /' conftest.$ac_ext >&5
20555
20556 ac_cv_type_long_long=no
20557 fi
20558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20559 fi
20560 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20561 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20562
20563 echo "$as_me:$LINENO: checking size of long long" >&5
20564 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20565 if test "${ac_cv_sizeof_long_long+set}" = set; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20567 else
20568 if test "$ac_cv_type_long_long" = yes; then
20569 # The cast to unsigned long works around a bug in the HP C Compiler
20570 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20571 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20572 # This bug is HP SR number 8606223364.
20573 if test "$cross_compiling" = yes; then
20574 # Depending upon the size, compute the lo and hi bounds.
20575 cat >conftest.$ac_ext <<_ACEOF
20576 /* confdefs.h. */
20577 _ACEOF
20578 cat confdefs.h >>conftest.$ac_ext
20579 cat >>conftest.$ac_ext <<_ACEOF
20580 /* end confdefs.h. */
20581 $ac_includes_default
20582 int
20583 main ()
20584 {
20585 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20586 test_array [0] = 0
20587
20588 ;
20589 return 0;
20590 }
20591 _ACEOF
20592 rm -f conftest.$ac_objext
20593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20594 (eval $ac_compile) 2>conftest.er1
20595 ac_status=$?
20596 grep -v '^ *+' conftest.er1 >conftest.err
20597 rm -f conftest.er1
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } &&
20601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20604 ac_status=$?
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; } &&
20607 { ac_try='test -s conftest.$ac_objext'
20608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20609 (eval $ac_try) 2>&5
20610 ac_status=$?
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); }; }; then
20613 ac_lo=0 ac_mid=0
20614 while :; do
20615 cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h. */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 $ac_includes_default
20622 int
20623 main ()
20624 {
20625 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20626 test_array [0] = 0
20627
20628 ;
20629 return 0;
20630 }
20631 _ACEOF
20632 rm -f conftest.$ac_objext
20633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20634 (eval $ac_compile) 2>conftest.er1
20635 ac_status=$?
20636 grep -v '^ *+' conftest.er1 >conftest.err
20637 rm -f conftest.er1
20638 cat conftest.err >&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); } &&
20641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20643 (eval $ac_try) 2>&5
20644 ac_status=$?
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); }; } &&
20647 { ac_try='test -s conftest.$ac_objext'
20648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20649 (eval $ac_try) 2>&5
20650 ac_status=$?
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); }; }; then
20653 ac_hi=$ac_mid; break
20654 else
20655 echo "$as_me: failed program was:" >&5
20656 sed 's/^/| /' conftest.$ac_ext >&5
20657
20658 ac_lo=`expr $ac_mid + 1`
20659 if test $ac_lo -le $ac_mid; then
20660 ac_lo= ac_hi=
20661 break
20662 fi
20663 ac_mid=`expr 2 '*' $ac_mid + 1`
20664 fi
20665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20666 done
20667 else
20668 echo "$as_me: failed program was:" >&5
20669 sed 's/^/| /' conftest.$ac_ext >&5
20670
20671 cat >conftest.$ac_ext <<_ACEOF
20672 /* confdefs.h. */
20673 _ACEOF
20674 cat confdefs.h >>conftest.$ac_ext
20675 cat >>conftest.$ac_ext <<_ACEOF
20676 /* end confdefs.h. */
20677 $ac_includes_default
20678 int
20679 main ()
20680 {
20681 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20682 test_array [0] = 0
20683
20684 ;
20685 return 0;
20686 }
20687 _ACEOF
20688 rm -f conftest.$ac_objext
20689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20690 (eval $ac_compile) 2>conftest.er1
20691 ac_status=$?
20692 grep -v '^ *+' conftest.er1 >conftest.err
20693 rm -f conftest.er1
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } &&
20697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20699 (eval $ac_try) 2>&5
20700 ac_status=$?
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); }; } &&
20703 { ac_try='test -s conftest.$ac_objext'
20704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705 (eval $ac_try) 2>&5
20706 ac_status=$?
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; }; then
20709 ac_hi=-1 ac_mid=-1
20710 while :; do
20711 cat >conftest.$ac_ext <<_ACEOF
20712 /* confdefs.h. */
20713 _ACEOF
20714 cat confdefs.h >>conftest.$ac_ext
20715 cat >>conftest.$ac_ext <<_ACEOF
20716 /* end confdefs.h. */
20717 $ac_includes_default
20718 int
20719 main ()
20720 {
20721 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20722 test_array [0] = 0
20723
20724 ;
20725 return 0;
20726 }
20727 _ACEOF
20728 rm -f conftest.$ac_objext
20729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20730 (eval $ac_compile) 2>conftest.er1
20731 ac_status=$?
20732 grep -v '^ *+' conftest.er1 >conftest.err
20733 rm -f conftest.er1
20734 cat conftest.err >&5
20735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20736 (exit $ac_status); } &&
20737 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20739 (eval $ac_try) 2>&5
20740 ac_status=$?
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); }; } &&
20743 { ac_try='test -s conftest.$ac_objext'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20746 ac_status=$?
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; }; then
20749 ac_lo=$ac_mid; break
20750 else
20751 echo "$as_me: failed program was:" >&5
20752 sed 's/^/| /' conftest.$ac_ext >&5
20753
20754 ac_hi=`expr '(' $ac_mid ')' - 1`
20755 if test $ac_mid -le $ac_hi; then
20756 ac_lo= ac_hi=
20757 break
20758 fi
20759 ac_mid=`expr 2 '*' $ac_mid`
20760 fi
20761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20762 done
20763 else
20764 echo "$as_me: failed program was:" >&5
20765 sed 's/^/| /' conftest.$ac_ext >&5
20766
20767 ac_lo= ac_hi=
20768 fi
20769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20770 fi
20771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20772 # Binary search between lo and hi bounds.
20773 while test "x$ac_lo" != "x$ac_hi"; do
20774 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20775 cat >conftest.$ac_ext <<_ACEOF
20776 /* confdefs.h. */
20777 _ACEOF
20778 cat confdefs.h >>conftest.$ac_ext
20779 cat >>conftest.$ac_ext <<_ACEOF
20780 /* end confdefs.h. */
20781 $ac_includes_default
20782 int
20783 main ()
20784 {
20785 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20786 test_array [0] = 0
20787
20788 ;
20789 return 0;
20790 }
20791 _ACEOF
20792 rm -f conftest.$ac_objext
20793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20794 (eval $ac_compile) 2>conftest.er1
20795 ac_status=$?
20796 grep -v '^ *+' conftest.er1 >conftest.err
20797 rm -f conftest.er1
20798 cat conftest.err >&5
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); } &&
20801 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20803 (eval $ac_try) 2>&5
20804 ac_status=$?
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); }; } &&
20807 { ac_try='test -s conftest.$ac_objext'
20808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20809 (eval $ac_try) 2>&5
20810 ac_status=$?
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); }; }; then
20813 ac_hi=$ac_mid
20814 else
20815 echo "$as_me: failed program was:" >&5
20816 sed 's/^/| /' conftest.$ac_ext >&5
20817
20818 ac_lo=`expr '(' $ac_mid ')' + 1`
20819 fi
20820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20821 done
20822 case $ac_lo in
20823 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20824 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20825 See \`config.log' for more details." >&5
20826 echo "$as_me: error: cannot compute sizeof (long long), 77
20827 See \`config.log' for more details." >&2;}
20828 { (exit 1); exit 1; }; } ;;
20829 esac
20830 else
20831 if test "$cross_compiling" = yes; then
20832 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20833 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20834 { (exit 1); exit 1; }; }
20835 else
20836 cat >conftest.$ac_ext <<_ACEOF
20837 /* confdefs.h. */
20838 _ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 $ac_includes_default
20843 long longval () { return (long) (sizeof (long long)); }
20844 unsigned long ulongval () { return (long) (sizeof (long long)); }
20845 #include <stdio.h>
20846 #include <stdlib.h>
20847 int
20848 main ()
20849 {
20850
20851 FILE *f = fopen ("conftest.val", "w");
20852 if (! f)
20853 exit (1);
20854 if (((long) (sizeof (long long))) < 0)
20855 {
20856 long i = longval ();
20857 if (i != ((long) (sizeof (long long))))
20858 exit (1);
20859 fprintf (f, "%ld\n", i);
20860 }
20861 else
20862 {
20863 unsigned long i = ulongval ();
20864 if (i != ((long) (sizeof (long long))))
20865 exit (1);
20866 fprintf (f, "%lu\n", i);
20867 }
20868 exit (ferror (f) || fclose (f) != 0);
20869
20870 ;
20871 return 0;
20872 }
20873 _ACEOF
20874 rm -f conftest$ac_exeext
20875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20876 (eval $ac_link) 2>&5
20877 ac_status=$?
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20881 (eval $ac_try) 2>&5
20882 ac_status=$?
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); }; }; then
20885 ac_cv_sizeof_long_long=`cat conftest.val`
20886 else
20887 echo "$as_me: program exited with status $ac_status" >&5
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.$ac_ext >&5
20890
20891 ( exit $ac_status )
20892 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20893 See \`config.log' for more details." >&5
20894 echo "$as_me: error: cannot compute sizeof (long long), 77
20895 See \`config.log' for more details." >&2;}
20896 { (exit 1); exit 1; }; }
20897 fi
20898 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20899 fi
20900 fi
20901 rm -f conftest.val
20902 else
20903 ac_cv_sizeof_long_long=0
20904 fi
20905 fi
20906 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20907 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20908 cat >>confdefs.h <<_ACEOF
20909 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20910 _ACEOF
20911
20912
20913 esac
20914
20915 echo "$as_me:$LINENO: checking for wchar_t" >&5
20916 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20917 if test "${ac_cv_type_wchar_t+set}" = set; then
20918 echo $ECHO_N "(cached) $ECHO_C" >&6
20919 else
20920 cat >conftest.$ac_ext <<_ACEOF
20921 /* confdefs.h. */
20922 _ACEOF
20923 cat confdefs.h >>conftest.$ac_ext
20924 cat >>conftest.$ac_ext <<_ACEOF
20925 /* end confdefs.h. */
20926
20927 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20928 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20929 # error "fake wchar_t"
20930 #endif
20931 #ifdef HAVE_WCHAR_H
20932 # ifdef __CYGWIN__
20933 # include <stddef.h>
20934 # endif
20935 # include <wchar.h>
20936 #endif
20937 #ifdef HAVE_STDLIB_H
20938 # include <stdlib.h>
20939 #endif
20940 #include <stdio.h>
20941
20942
20943
20944 int
20945 main ()
20946 {
20947 if ((wchar_t *) 0)
20948 return 0;
20949 if (sizeof (wchar_t))
20950 return 0;
20951 ;
20952 return 0;
20953 }
20954 _ACEOF
20955 rm -f conftest.$ac_objext
20956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20957 (eval $ac_compile) 2>conftest.er1
20958 ac_status=$?
20959 grep -v '^ *+' conftest.er1 >conftest.err
20960 rm -f conftest.er1
20961 cat conftest.err >&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } &&
20964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20967 ac_status=$?
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; } &&
20970 { ac_try='test -s conftest.$ac_objext'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20973 ac_status=$?
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; }; then
20976 ac_cv_type_wchar_t=yes
20977 else
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.$ac_ext >&5
20980
20981 ac_cv_type_wchar_t=no
20982 fi
20983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20984 fi
20985 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20986 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20987
20988 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20989 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20990 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20991 echo $ECHO_N "(cached) $ECHO_C" >&6
20992 else
20993 if test "$ac_cv_type_wchar_t" = yes; then
20994 # The cast to unsigned long works around a bug in the HP C Compiler
20995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20997 # This bug is HP SR number 8606223364.
20998 if test "$cross_compiling" = yes; then
20999 # Depending upon the size, compute the lo and hi bounds.
21000 cat >conftest.$ac_ext <<_ACEOF
21001 /* confdefs.h. */
21002 _ACEOF
21003 cat confdefs.h >>conftest.$ac_ext
21004 cat >>conftest.$ac_ext <<_ACEOF
21005 /* end confdefs.h. */
21006
21007 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21008 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21009 # error "fake wchar_t"
21010 #endif
21011 #ifdef HAVE_WCHAR_H
21012 # ifdef __CYGWIN__
21013 # include <stddef.h>
21014 # endif
21015 # include <wchar.h>
21016 #endif
21017 #ifdef HAVE_STDLIB_H
21018 # include <stdlib.h>
21019 #endif
21020 #include <stdio.h>
21021
21022
21023
21024 int
21025 main ()
21026 {
21027 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21028 test_array [0] = 0
21029
21030 ;
21031 return 0;
21032 }
21033 _ACEOF
21034 rm -f conftest.$ac_objext
21035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21036 (eval $ac_compile) 2>conftest.er1
21037 ac_status=$?
21038 grep -v '^ *+' conftest.er1 >conftest.err
21039 rm -f conftest.er1
21040 cat conftest.err >&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } &&
21043 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21045 (eval $ac_try) 2>&5
21046 ac_status=$?
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); }; } &&
21049 { ac_try='test -s conftest.$ac_objext'
21050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21051 (eval $ac_try) 2>&5
21052 ac_status=$?
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); }; }; then
21055 ac_lo=0 ac_mid=0
21056 while :; do
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063
21064 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21065 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21066 # error "fake wchar_t"
21067 #endif
21068 #ifdef HAVE_WCHAR_H
21069 # ifdef __CYGWIN__
21070 # include <stddef.h>
21071 # endif
21072 # include <wchar.h>
21073 #endif
21074 #ifdef HAVE_STDLIB_H
21075 # include <stdlib.h>
21076 #endif
21077 #include <stdio.h>
21078
21079
21080
21081 int
21082 main ()
21083 {
21084 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21085 test_array [0] = 0
21086
21087 ;
21088 return 0;
21089 }
21090 _ACEOF
21091 rm -f conftest.$ac_objext
21092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21093 (eval $ac_compile) 2>conftest.er1
21094 ac_status=$?
21095 grep -v '^ *+' conftest.er1 >conftest.err
21096 rm -f conftest.er1
21097 cat conftest.err >&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); } &&
21100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21102 (eval $ac_try) 2>&5
21103 ac_status=$?
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; } &&
21106 { ac_try='test -s conftest.$ac_objext'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21109 ac_status=$?
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; }; then
21112 ac_hi=$ac_mid; break
21113 else
21114 echo "$as_me: failed program was:" >&5
21115 sed 's/^/| /' conftest.$ac_ext >&5
21116
21117 ac_lo=`expr $ac_mid + 1`
21118 if test $ac_lo -le $ac_mid; then
21119 ac_lo= ac_hi=
21120 break
21121 fi
21122 ac_mid=`expr 2 '*' $ac_mid + 1`
21123 fi
21124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21125 done
21126 else
21127 echo "$as_me: failed program was:" >&5
21128 sed 's/^/| /' conftest.$ac_ext >&5
21129
21130 cat >conftest.$ac_ext <<_ACEOF
21131 /* confdefs.h. */
21132 _ACEOF
21133 cat confdefs.h >>conftest.$ac_ext
21134 cat >>conftest.$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21136
21137 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21138 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21139 # error "fake wchar_t"
21140 #endif
21141 #ifdef HAVE_WCHAR_H
21142 # ifdef __CYGWIN__
21143 # include <stddef.h>
21144 # endif
21145 # include <wchar.h>
21146 #endif
21147 #ifdef HAVE_STDLIB_H
21148 # include <stdlib.h>
21149 #endif
21150 #include <stdio.h>
21151
21152
21153
21154 int
21155 main ()
21156 {
21157 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21158 test_array [0] = 0
21159
21160 ;
21161 return 0;
21162 }
21163 _ACEOF
21164 rm -f conftest.$ac_objext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21166 (eval $ac_compile) 2>conftest.er1
21167 ac_status=$?
21168 grep -v '^ *+' conftest.er1 >conftest.err
21169 rm -f conftest.er1
21170 cat conftest.err >&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); } &&
21173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21176 ac_status=$?
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; } &&
21179 { ac_try='test -s conftest.$ac_objext'
21180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21181 (eval $ac_try) 2>&5
21182 ac_status=$?
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); }; }; then
21185 ac_hi=-1 ac_mid=-1
21186 while :; do
21187 cat >conftest.$ac_ext <<_ACEOF
21188 /* confdefs.h. */
21189 _ACEOF
21190 cat confdefs.h >>conftest.$ac_ext
21191 cat >>conftest.$ac_ext <<_ACEOF
21192 /* end confdefs.h. */
21193
21194 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21195 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21196 # error "fake wchar_t"
21197 #endif
21198 #ifdef HAVE_WCHAR_H
21199 # ifdef __CYGWIN__
21200 # include <stddef.h>
21201 # endif
21202 # include <wchar.h>
21203 #endif
21204 #ifdef HAVE_STDLIB_H
21205 # include <stdlib.h>
21206 #endif
21207 #include <stdio.h>
21208
21209
21210
21211 int
21212 main ()
21213 {
21214 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21215 test_array [0] = 0
21216
21217 ;
21218 return 0;
21219 }
21220 _ACEOF
21221 rm -f conftest.$ac_objext
21222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21223 (eval $ac_compile) 2>conftest.er1
21224 ac_status=$?
21225 grep -v '^ *+' conftest.er1 >conftest.err
21226 rm -f conftest.er1
21227 cat conftest.err >&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } &&
21230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21233 ac_status=$?
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; } &&
21236 { ac_try='test -s conftest.$ac_objext'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21239 ac_status=$?
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; }; then
21242 ac_lo=$ac_mid; break
21243 else
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21246
21247 ac_hi=`expr '(' $ac_mid ')' - 1`
21248 if test $ac_mid -le $ac_hi; then
21249 ac_lo= ac_hi=
21250 break
21251 fi
21252 ac_mid=`expr 2 '*' $ac_mid`
21253 fi
21254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21255 done
21256 else
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21259
21260 ac_lo= ac_hi=
21261 fi
21262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21263 fi
21264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21265 # Binary search between lo and hi bounds.
21266 while test "x$ac_lo" != "x$ac_hi"; do
21267 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21268 cat >conftest.$ac_ext <<_ACEOF
21269 /* confdefs.h. */
21270 _ACEOF
21271 cat confdefs.h >>conftest.$ac_ext
21272 cat >>conftest.$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274
21275 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21276 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21277 # error "fake wchar_t"
21278 #endif
21279 #ifdef HAVE_WCHAR_H
21280 # ifdef __CYGWIN__
21281 # include <stddef.h>
21282 # endif
21283 # include <wchar.h>
21284 #endif
21285 #ifdef HAVE_STDLIB_H
21286 # include <stdlib.h>
21287 #endif
21288 #include <stdio.h>
21289
21290
21291
21292 int
21293 main ()
21294 {
21295 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21296 test_array [0] = 0
21297
21298 ;
21299 return 0;
21300 }
21301 _ACEOF
21302 rm -f conftest.$ac_objext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21304 (eval $ac_compile) 2>conftest.er1
21305 ac_status=$?
21306 grep -v '^ *+' conftest.er1 >conftest.err
21307 rm -f conftest.er1
21308 cat conftest.err >&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } &&
21311 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313 (eval $ac_try) 2>&5
21314 ac_status=$?
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); }; } &&
21317 { ac_try='test -s conftest.$ac_objext'
21318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319 (eval $ac_try) 2>&5
21320 ac_status=$?
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; }; then
21323 ac_hi=$ac_mid
21324 else
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21327
21328 ac_lo=`expr '(' $ac_mid ')' + 1`
21329 fi
21330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21331 done
21332 case $ac_lo in
21333 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21334 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21335 See \`config.log' for more details." >&5
21336 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21337 See \`config.log' for more details." >&2;}
21338 { (exit 1); exit 1; }; } ;;
21339 esac
21340 else
21341 if test "$cross_compiling" = yes; then
21342 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21343 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21344 { (exit 1); exit 1; }; }
21345 else
21346 cat >conftest.$ac_ext <<_ACEOF
21347 /* confdefs.h. */
21348 _ACEOF
21349 cat confdefs.h >>conftest.$ac_ext
21350 cat >>conftest.$ac_ext <<_ACEOF
21351 /* end confdefs.h. */
21352
21353 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21354 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21355 # error "fake wchar_t"
21356 #endif
21357 #ifdef HAVE_WCHAR_H
21358 # ifdef __CYGWIN__
21359 # include <stddef.h>
21360 # endif
21361 # include <wchar.h>
21362 #endif
21363 #ifdef HAVE_STDLIB_H
21364 # include <stdlib.h>
21365 #endif
21366 #include <stdio.h>
21367
21368
21369
21370 long longval () { return (long) (sizeof (wchar_t)); }
21371 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21372 #include <stdio.h>
21373 #include <stdlib.h>
21374 int
21375 main ()
21376 {
21377
21378 FILE *f = fopen ("conftest.val", "w");
21379 if (! f)
21380 exit (1);
21381 if (((long) (sizeof (wchar_t))) < 0)
21382 {
21383 long i = longval ();
21384 if (i != ((long) (sizeof (wchar_t))))
21385 exit (1);
21386 fprintf (f, "%ld\n", i);
21387 }
21388 else
21389 {
21390 unsigned long i = ulongval ();
21391 if (i != ((long) (sizeof (wchar_t))))
21392 exit (1);
21393 fprintf (f, "%lu\n", i);
21394 }
21395 exit (ferror (f) || fclose (f) != 0);
21396
21397 ;
21398 return 0;
21399 }
21400 _ACEOF
21401 rm -f conftest$ac_exeext
21402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21403 (eval $ac_link) 2>&5
21404 ac_status=$?
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21408 (eval $ac_try) 2>&5
21409 ac_status=$?
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); }; }; then
21412 ac_cv_sizeof_wchar_t=`cat conftest.val`
21413 else
21414 echo "$as_me: program exited with status $ac_status" >&5
21415 echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.$ac_ext >&5
21417
21418 ( exit $ac_status )
21419 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21420 See \`config.log' for more details." >&5
21421 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21422 See \`config.log' for more details." >&2;}
21423 { (exit 1); exit 1; }; }
21424 fi
21425 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21426 fi
21427 fi
21428 rm -f conftest.val
21429 else
21430 ac_cv_sizeof_wchar_t=0
21431 fi
21432 fi
21433 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21434 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21435 cat >>confdefs.h <<_ACEOF
21436 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21437 _ACEOF
21438
21439
21440 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21441 wxUSE_WCHAR_T=yes
21442 else
21443 wxUSE_WCHAR_T=no
21444 fi
21445
21446 echo "$as_me:$LINENO: checking for va_copy" >&5
21447 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21448 if test "${wx_cv_func_va_copy+set}" = set; then
21449 echo $ECHO_N "(cached) $ECHO_C" >&6
21450 else
21451
21452 ac_ext=cc
21453 ac_cpp='$CXXCPP $CPPFLAGS'
21454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21457
21458 cat >conftest.$ac_ext <<_ACEOF
21459
21460 #include <stdarg.h>
21461 void foo(char *f, ...)
21462 {
21463 va_list ap1, ap2;
21464 va_start(ap1, f);
21465 va_copy(ap2, ap1);
21466 va_end(ap2);
21467 va_end(ap1);
21468 }
21469 int main()
21470 {
21471 foo("hi", 17);
21472 return 0;
21473 }
21474 _ACEOF
21475 rm -f conftest.$ac_objext conftest$ac_exeext
21476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21477 (eval $ac_link) 2>conftest.er1
21478 ac_status=$?
21479 grep -v '^ *+' conftest.er1 >conftest.err
21480 rm -f conftest.er1
21481 cat conftest.err >&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } &&
21484 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21487 ac_status=$?
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; } &&
21490 { ac_try='test -s conftest$ac_exeext'
21491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21492 (eval $ac_try) 2>&5
21493 ac_status=$?
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); }; }; then
21496 wx_cv_func_va_copy=yes
21497 else
21498 echo "$as_me: failed program was:" >&5
21499 sed 's/^/| /' conftest.$ac_ext >&5
21500
21501 wx_cv_func_va_copy=no
21502
21503 fi
21504 rm -f conftest.err conftest.$ac_objext \
21505 conftest$ac_exeext conftest.$ac_ext
21506 ac_ext=c
21507 ac_cpp='$CPP $CPPFLAGS'
21508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21511
21512
21513
21514 fi
21515 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21516 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21517
21518 if test $wx_cv_func_va_copy = "yes"; then
21519 cat >>confdefs.h <<\_ACEOF
21520 #define HAVE_VA_COPY 1
21521 _ACEOF
21522
21523 else
21524 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21525 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21526 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21527 echo $ECHO_N "(cached) $ECHO_C" >&6
21528 else
21529
21530 if test "$cross_compiling" = yes; then
21531 wx_cv_type_va_list_lvalue=yes
21532
21533 else
21534 cat >conftest.$ac_ext <<_ACEOF
21535
21536 #include <stdarg.h>
21537 int foo(char *f, ...)
21538 {
21539 va_list ap1, ap2;
21540 va_start(ap1, f);
21541 ap2 = ap1;
21542 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21543 return 1;
21544 va_end(ap2);
21545 va_end(ap1);
21546 return 0;
21547 }
21548 int main()
21549 {
21550 return foo("hi", 17);
21551 }
21552 _ACEOF
21553 rm -f conftest$ac_exeext
21554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21555 (eval $ac_link) 2>&5
21556 ac_status=$?
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560 (eval $ac_try) 2>&5
21561 ac_status=$?
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); }; }; then
21564 wx_cv_type_va_list_lvalue=yes
21565 else
21566 echo "$as_me: program exited with status $ac_status" >&5
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.$ac_ext >&5
21569
21570 ( exit $ac_status )
21571 wx_cv_type_va_list_lvalue=no
21572 fi
21573 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21574 fi
21575
21576
21577 fi
21578 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21579 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21580
21581 if test $wx_cv_type_va_list_lvalue != "yes"; then
21582 cat >>confdefs.h <<\_ACEOF
21583 #define VA_LIST_IS_ARRAY 1
21584 _ACEOF
21585
21586 fi
21587 fi
21588
21589 if test "$wxUSE_VARARG_MACROS" = "yes"; then
21590
21591 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
21592 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
21593 if test "${wx_cv_have_variadic_macros+set}" = set; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21595 else
21596
21597 ac_ext=cc
21598 ac_cpp='$CXXCPP $CPPFLAGS'
21599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21602
21603 cat >conftest.$ac_ext <<_ACEOF
21604 /* confdefs.h. */
21605 _ACEOF
21606 cat confdefs.h >>conftest.$ac_ext
21607 cat >>conftest.$ac_ext <<_ACEOF
21608 /* end confdefs.h. */
21609
21610 #include <stdio.h>
21611 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
21612
21613 int
21614 main ()
21615 {
21616
21617 test("%s %d %p", "test", 1, 0);
21618
21619
21620 ;
21621 return 0;
21622 }
21623 _ACEOF
21624 rm -f conftest.$ac_objext
21625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21626 (eval $ac_compile) 2>conftest.er1
21627 ac_status=$?
21628 grep -v '^ *+' conftest.er1 >conftest.err
21629 rm -f conftest.er1
21630 cat conftest.err >&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } &&
21633 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21636 ac_status=$?
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; } &&
21639 { ac_try='test -s conftest.$ac_objext'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21642 ac_status=$?
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; }; then
21645 wx_cv_have_variadic_macros=yes
21646 else
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.$ac_ext >&5
21649
21650 wx_cv_have_variadic_macros=no
21651
21652 fi
21653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21654 ac_ext=c
21655 ac_cpp='$CPP $CPPFLAGS'
21656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21659
21660
21661
21662 fi
21663 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
21664 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
21665
21666 if test $wx_cv_have_variadic_macros = "yes"; then
21667 cat >>confdefs.h <<\_ACEOF
21668 #define HAVE_VARIADIC_MACROS 1
21669 _ACEOF
21670
21671 fi
21672
21673 fi
21674 # Check whether --enable-largefile or --disable-largefile was given.
21675 if test "${enable_largefile+set}" = set; then
21676 enableval="$enable_largefile"
21677
21678 fi;
21679 if test "$enable_largefile" != no; then
21680 wx_largefile=no
21681
21682 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21683 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21684 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21685 echo $ECHO_N "(cached) $ECHO_C" >&6
21686 else
21687
21688 cat >conftest.$ac_ext <<_ACEOF
21689 /* confdefs.h. */
21690 _ACEOF
21691 cat confdefs.h >>conftest.$ac_ext
21692 cat >>conftest.$ac_ext <<_ACEOF
21693 /* end confdefs.h. */
21694 #define _FILE_OFFSET_BITS 64
21695 #include <sys/types.h>
21696 int
21697 main ()
21698 {
21699 typedef struct {
21700 unsigned int field: sizeof(off_t) == 8;
21701 } wxlf;
21702
21703 ;
21704 return 0;
21705 }
21706 _ACEOF
21707 rm -f conftest.$ac_objext
21708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21709 (eval $ac_compile) 2>conftest.er1
21710 ac_status=$?
21711 grep -v '^ *+' conftest.er1 >conftest.err
21712 rm -f conftest.er1
21713 cat conftest.err >&5
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); } &&
21716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21718 (eval $ac_try) 2>&5
21719 ac_status=$?
21720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21721 (exit $ac_status); }; } &&
21722 { ac_try='test -s conftest.$ac_objext'
21723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21724 (eval $ac_try) 2>&5
21725 ac_status=$?
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); }; }; then
21728 ac_cv_sys_file_offset_bits=64
21729 else
21730 echo "$as_me: failed program was:" >&5
21731 sed 's/^/| /' conftest.$ac_ext >&5
21732
21733 ac_cv_sys_file_offset_bits=no
21734 fi
21735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21736
21737
21738 fi
21739 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21740 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21741
21742 if test "$ac_cv_sys_file_offset_bits" != no; then
21743 wx_largefile=yes
21744 cat >>confdefs.h <<_ACEOF
21745 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21746 _ACEOF
21747
21748 fi
21749
21750 if test "x$wx_largefile" != "xyes"; then
21751
21752 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21753 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21754 if test "${ac_cv_sys_large_files+set}" = set; then
21755 echo $ECHO_N "(cached) $ECHO_C" >&6
21756 else
21757
21758 cat >conftest.$ac_ext <<_ACEOF
21759 /* confdefs.h. */
21760 _ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764 #define _LARGE_FILES 1
21765 #include <sys/types.h>
21766 int
21767 main ()
21768 {
21769 typedef struct {
21770 unsigned int field: sizeof(off_t) == 8;
21771 } wxlf;
21772
21773 ;
21774 return 0;
21775 }
21776 _ACEOF
21777 rm -f conftest.$ac_objext
21778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21779 (eval $ac_compile) 2>conftest.er1
21780 ac_status=$?
21781 grep -v '^ *+' conftest.er1 >conftest.err
21782 rm -f conftest.er1
21783 cat conftest.err >&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } &&
21786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21788 (eval $ac_try) 2>&5
21789 ac_status=$?
21790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21791 (exit $ac_status); }; } &&
21792 { ac_try='test -s conftest.$ac_objext'
21793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21794 (eval $ac_try) 2>&5
21795 ac_status=$?
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); }; }; then
21798 ac_cv_sys_large_files=1
21799 else
21800 echo "$as_me: failed program was:" >&5
21801 sed 's/^/| /' conftest.$ac_ext >&5
21802
21803 ac_cv_sys_large_files=no
21804 fi
21805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21806
21807
21808 fi
21809 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21810 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21811
21812 if test "$ac_cv_sys_large_files" != no; then
21813 wx_largefile=yes
21814 cat >>confdefs.h <<_ACEOF
21815 #define _LARGE_FILES $ac_cv_sys_large_files
21816 _ACEOF
21817
21818 fi
21819
21820 fi
21821
21822 echo "$as_me:$LINENO: checking if large file support is available" >&5
21823 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21824 if test "x$wx_largefile" = "xyes"; then
21825 cat >>confdefs.h <<\_ACEOF
21826 #define HAVE_LARGEFILE_SUPPORT 1
21827 _ACEOF
21828
21829 fi
21830 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21831 echo "${ECHO_T}$wx_largefile" >&6
21832 fi
21833
21834
21835 if test "x$wx_largefile" = "xyes"; then
21836 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21837 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21838
21839 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21840 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21841 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21842 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21844 else
21845
21846 ac_ext=cc
21847 ac_cpp='$CXXCPP $CPPFLAGS'
21848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21851
21852 cat >conftest.$ac_ext <<_ACEOF
21853 /* confdefs.h. */
21854 _ACEOF
21855 cat confdefs.h >>conftest.$ac_ext
21856 cat >>conftest.$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21858
21859 int
21860 main ()
21861 {
21862
21863 #ifndef __STDC_EXT__
21864 choke me
21865 #endif
21866
21867 ;
21868 return 0;
21869 }
21870 _ACEOF
21871 rm -f conftest.$ac_objext
21872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21873 (eval $ac_compile) 2>conftest.er1
21874 ac_status=$?
21875 grep -v '^ *+' conftest.er1 >conftest.err
21876 rm -f conftest.er1
21877 cat conftest.err >&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } &&
21880 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21882 (eval $ac_try) 2>&5
21883 ac_status=$?
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); }; } &&
21886 { ac_try='test -s conftest.$ac_objext'
21887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21888 (eval $ac_try) 2>&5
21889 ac_status=$?
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); }; }; then
21892 wx_cv_STDC_EXT_required=no
21893 else
21894 echo "$as_me: failed program was:" >&5
21895 sed 's/^/| /' conftest.$ac_ext >&5
21896
21897 wx_cv_STDC_EXT_required=yes
21898
21899 fi
21900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21901 ac_ext=c
21902 ac_cpp='$CPP $CPPFLAGS'
21903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21906
21907
21908
21909 fi
21910 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21911 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21912 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21913 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21914 fi
21915 fi
21916 else
21917 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21918 fi
21919 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21920 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21921 if test "${ac_cv_sys_largefile_source+set}" = set; then
21922 echo $ECHO_N "(cached) $ECHO_C" >&6
21923 else
21924 while :; do
21925 ac_cv_sys_largefile_source=no
21926 cat >conftest.$ac_ext <<_ACEOF
21927 /* confdefs.h. */
21928 _ACEOF
21929 cat confdefs.h >>conftest.$ac_ext
21930 cat >>conftest.$ac_ext <<_ACEOF
21931 /* end confdefs.h. */
21932 #include <stdio.h>
21933 int
21934 main ()
21935 {
21936 return !fseeko;
21937 ;
21938 return 0;
21939 }
21940 _ACEOF
21941 rm -f conftest.$ac_objext
21942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21943 (eval $ac_compile) 2>conftest.er1
21944 ac_status=$?
21945 grep -v '^ *+' conftest.er1 >conftest.err
21946 rm -f conftest.er1
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } &&
21950 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21952 (eval $ac_try) 2>&5
21953 ac_status=$?
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); }; } &&
21956 { ac_try='test -s conftest.$ac_objext'
21957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21958 (eval $ac_try) 2>&5
21959 ac_status=$?
21960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961 (exit $ac_status); }; }; then
21962 break
21963 else
21964 echo "$as_me: failed program was:" >&5
21965 sed 's/^/| /' conftest.$ac_ext >&5
21966
21967 fi
21968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21969 cat >conftest.$ac_ext <<_ACEOF
21970 /* confdefs.h. */
21971 _ACEOF
21972 cat confdefs.h >>conftest.$ac_ext
21973 cat >>conftest.$ac_ext <<_ACEOF
21974 /* end confdefs.h. */
21975 #define _LARGEFILE_SOURCE 1
21976 #include <stdio.h>
21977 int
21978 main ()
21979 {
21980 return !fseeko;
21981 ;
21982 return 0;
21983 }
21984 _ACEOF
21985 rm -f conftest.$ac_objext
21986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21987 (eval $ac_compile) 2>conftest.er1
21988 ac_status=$?
21989 grep -v '^ *+' conftest.er1 >conftest.err
21990 rm -f conftest.er1
21991 cat conftest.err >&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } &&
21994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21996 (eval $ac_try) 2>&5
21997 ac_status=$?
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; } &&
22000 { ac_try='test -s conftest.$ac_objext'
22001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22002 (eval $ac_try) 2>&5
22003 ac_status=$?
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); }; }; then
22006 ac_cv_sys_largefile_source=1; break
22007 else
22008 echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22010
22011 fi
22012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22013 break
22014 done
22015 fi
22016 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22017 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22018 if test "$ac_cv_sys_largefile_source" != no; then
22019
22020 cat >>confdefs.h <<_ACEOF
22021 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22022 _ACEOF
22023
22024 fi
22025 rm -f conftest*
22026
22027 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22028 # in glibc 2.1.3, but that breaks too many other things.
22029 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22030 echo "$as_me:$LINENO: checking for fseeko" >&5
22031 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22032 if test "${ac_cv_func_fseeko+set}" = set; then
22033 echo $ECHO_N "(cached) $ECHO_C" >&6
22034 else
22035 cat >conftest.$ac_ext <<_ACEOF
22036 /* confdefs.h. */
22037 _ACEOF
22038 cat confdefs.h >>conftest.$ac_ext
22039 cat >>conftest.$ac_ext <<_ACEOF
22040 /* end confdefs.h. */
22041 #include <stdio.h>
22042 int
22043 main ()
22044 {
22045 return fseeko && fseeko (stdin, 0, 0);
22046 ;
22047 return 0;
22048 }
22049 _ACEOF
22050 rm -f conftest.$ac_objext conftest$ac_exeext
22051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22052 (eval $ac_link) 2>conftest.er1
22053 ac_status=$?
22054 grep -v '^ *+' conftest.er1 >conftest.err
22055 rm -f conftest.er1
22056 cat conftest.err >&5
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); } &&
22059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22061 (eval $ac_try) 2>&5
22062 ac_status=$?
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; } &&
22065 { ac_try='test -s conftest$ac_exeext'
22066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22067 (eval $ac_try) 2>&5
22068 ac_status=$?
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); }; }; then
22071 ac_cv_func_fseeko=yes
22072 else
22073 echo "$as_me: failed program was:" >&5
22074 sed 's/^/| /' conftest.$ac_ext >&5
22075
22076 ac_cv_func_fseeko=no
22077 fi
22078 rm -f conftest.err conftest.$ac_objext \
22079 conftest$ac_exeext conftest.$ac_ext
22080 fi
22081 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22082 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22083 if test $ac_cv_func_fseeko = yes; then
22084
22085 cat >>confdefs.h <<\_ACEOF
22086 #define HAVE_FSEEKO 1
22087 _ACEOF
22088
22089 fi
22090
22091 if test "$ac_cv_sys_largefile_source" != no; then
22092 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22093 fi
22094 fi
22095
22096 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22097 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22098 if test "${ac_cv_c_bigendian+set}" = set; then
22099 echo $ECHO_N "(cached) $ECHO_C" >&6
22100 else
22101 ac_cv_c_bigendian=unknown
22102 # See if sys/param.h defines the BYTE_ORDER macro.
22103 cat >conftest.$ac_ext <<_ACEOF
22104 /* confdefs.h. */
22105 _ACEOF
22106 cat confdefs.h >>conftest.$ac_ext
22107 cat >>conftest.$ac_ext <<_ACEOF
22108 /* end confdefs.h. */
22109 #include <sys/types.h>
22110 #include <sys/param.h>
22111 int
22112 main ()
22113 {
22114
22115 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22116 bogus endian macros
22117 #endif
22118 ;
22119 return 0;
22120 }
22121 _ACEOF
22122 rm -f conftest.$ac_objext
22123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22124 (eval $ac_compile) 2>conftest.er1
22125 ac_status=$?
22126 grep -v '^ *+' conftest.er1 >conftest.err
22127 rm -f conftest.er1
22128 cat conftest.err >&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } &&
22131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22134 ac_status=$?
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; } &&
22137 { ac_try='test -s conftest.$ac_objext'
22138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22139 (eval $ac_try) 2>&5
22140 ac_status=$?
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); }; }; then
22143 # It does; now see whether it defined to BIG_ENDIAN or not.
22144 cat >conftest.$ac_ext <<_ACEOF
22145 /* confdefs.h. */
22146 _ACEOF
22147 cat confdefs.h >>conftest.$ac_ext
22148 cat >>conftest.$ac_ext <<_ACEOF
22149 /* end confdefs.h. */
22150 #include <sys/types.h>
22151 #include <sys/param.h>
22152 int
22153 main ()
22154 {
22155
22156 #if BYTE_ORDER != BIG_ENDIAN
22157 not big endian
22158 #endif
22159 ;
22160 return 0;
22161 }
22162 _ACEOF
22163 rm -f conftest.$ac_objext
22164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22165 (eval $ac_compile) 2>conftest.er1
22166 ac_status=$?
22167 grep -v '^ *+' conftest.er1 >conftest.err
22168 rm -f conftest.er1
22169 cat conftest.err >&5
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); } &&
22172 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22174 (eval $ac_try) 2>&5
22175 ac_status=$?
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; } &&
22178 { ac_try='test -s conftest.$ac_objext'
22179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22180 (eval $ac_try) 2>&5
22181 ac_status=$?
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); }; }; then
22184 ac_cv_c_bigendian=yes
22185 else
22186 echo "$as_me: failed program was:" >&5
22187 sed 's/^/| /' conftest.$ac_ext >&5
22188
22189 ac_cv_c_bigendian=no
22190 fi
22191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22192 else
22193 echo "$as_me: failed program was:" >&5
22194 sed 's/^/| /' conftest.$ac_ext >&5
22195
22196 fi
22197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22198 if test $ac_cv_c_bigendian = unknown; then
22199 if test "$cross_compiling" = yes; then
22200 ac_cv_c_bigendian=unknown
22201 else
22202 cat >conftest.$ac_ext <<_ACEOF
22203 /* confdefs.h. */
22204 _ACEOF
22205 cat confdefs.h >>conftest.$ac_ext
22206 cat >>conftest.$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208 main () {
22209 /* Are we little or big endian? From Harbison&Steele. */
22210 union
22211 {
22212 long l;
22213 char c[sizeof (long)];
22214 } u;
22215 u.l = 1;
22216 exit (u.c[sizeof (long) - 1] == 1);
22217 }
22218 _ACEOF
22219 rm -f conftest$ac_exeext
22220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22221 (eval $ac_link) 2>&5
22222 ac_status=$?
22223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22226 (eval $ac_try) 2>&5
22227 ac_status=$?
22228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22229 (exit $ac_status); }; }; then
22230 ac_cv_c_bigendian=no
22231 else
22232 echo "$as_me: program exited with status $ac_status" >&5
22233 echo "$as_me: failed program was:" >&5
22234 sed 's/^/| /' conftest.$ac_ext >&5
22235
22236 ( exit $ac_status )
22237 ac_cv_c_bigendian=yes
22238 fi
22239 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22240 fi
22241 fi
22242 fi
22243 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22244 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22245 if test $ac_cv_c_bigendian = unknown; then
22246 { 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
22247 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;}
22248 fi
22249 if test $ac_cv_c_bigendian = yes; then
22250 cat >>confdefs.h <<\_ACEOF
22251 #define WORDS_BIGENDIAN 1
22252 _ACEOF
22253
22254 fi
22255
22256
22257
22258
22259
22260 ac_ext=cc
22261 ac_cpp='$CXXCPP $CPPFLAGS'
22262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22265
22266
22267 echo "$as_me:$LINENO: checking for iostream" >&5
22268 echo $ECHO_N "checking for iostream... $ECHO_C" >&6
22269 if test "${ac_cv_header_iostream+set}" = set; then
22270 echo $ECHO_N "(cached) $ECHO_C" >&6
22271 else
22272 cat >conftest.$ac_ext <<_ACEOF
22273 /* confdefs.h. */
22274 _ACEOF
22275 cat confdefs.h >>conftest.$ac_ext
22276 cat >>conftest.$ac_ext <<_ACEOF
22277 /* end confdefs.h. */
22278
22279
22280 #include <iostream>
22281 _ACEOF
22282 rm -f conftest.$ac_objext
22283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22284 (eval $ac_compile) 2>conftest.er1
22285 ac_status=$?
22286 grep -v '^ *+' conftest.er1 >conftest.err
22287 rm -f conftest.er1
22288 cat conftest.err >&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); } &&
22291 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22293 (eval $ac_try) 2>&5
22294 ac_status=$?
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; } &&
22297 { ac_try='test -s conftest.$ac_objext'
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299 (eval $ac_try) 2>&5
22300 ac_status=$?
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; }; then
22303 ac_cv_header_iostream=yes
22304 else
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.$ac_ext >&5
22307
22308 ac_cv_header_iostream=no
22309 fi
22310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22311 fi
22312 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22313 echo "${ECHO_T}$ac_cv_header_iostream" >&6
22314
22315
22316
22317 if test "$ac_cv_header_iostream" = "yes" ; then
22318 :
22319 else
22320 cat >>confdefs.h <<\_ACEOF
22321 #define wxUSE_IOSTREAMH 1
22322 _ACEOF
22323
22324 fi
22325
22326 ac_ext=c
22327 ac_cpp='$CPP $CPPFLAGS'
22328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22331
22332
22333
22334
22335 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22336 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22337 if test "${wx_cv_cpp_bool+set}" = set; then
22338 echo $ECHO_N "(cached) $ECHO_C" >&6
22339 else
22340
22341
22342
22343 ac_ext=cc
22344 ac_cpp='$CXXCPP $CPPFLAGS'
22345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22348
22349
22350 cat >conftest.$ac_ext <<_ACEOF
22351 /* confdefs.h. */
22352 _ACEOF
22353 cat confdefs.h >>conftest.$ac_ext
22354 cat >>conftest.$ac_ext <<_ACEOF
22355 /* end confdefs.h. */
22356
22357
22358 int
22359 main ()
22360 {
22361
22362 bool b = true;
22363
22364 return 0;
22365
22366 ;
22367 return 0;
22368 }
22369 _ACEOF
22370 rm -f conftest.$ac_objext
22371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22372 (eval $ac_compile) 2>conftest.er1
22373 ac_status=$?
22374 grep -v '^ *+' conftest.er1 >conftest.err
22375 rm -f conftest.er1
22376 cat conftest.err >&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); } &&
22379 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22381 (eval $ac_try) 2>&5
22382 ac_status=$?
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); }; } &&
22385 { ac_try='test -s conftest.$ac_objext'
22386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22387 (eval $ac_try) 2>&5
22388 ac_status=$?
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); }; }; then
22391
22392 wx_cv_cpp_bool=yes
22393
22394 else
22395 echo "$as_me: failed program was:" >&5
22396 sed 's/^/| /' conftest.$ac_ext >&5
22397
22398
22399 wx_cv_cpp_bool=no
22400
22401
22402 fi
22403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22404
22405 ac_ext=c
22406 ac_cpp='$CPP $CPPFLAGS'
22407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22410
22411
22412 fi
22413 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22414 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22415
22416 if test "$wx_cv_cpp_bool" = "yes"; then
22417 cat >>confdefs.h <<\_ACEOF
22418 #define HAVE_BOOL 1
22419 _ACEOF
22420
22421 fi
22422
22423
22424
22425 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22426 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22427 if test "${wx_cv_explicit+set}" = set; then
22428 echo $ECHO_N "(cached) $ECHO_C" >&6
22429 else
22430
22431
22432
22433 ac_ext=cc
22434 ac_cpp='$CXXCPP $CPPFLAGS'
22435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22438
22439
22440 cat >conftest.$ac_ext <<_ACEOF
22441 /* confdefs.h. */
22442 _ACEOF
22443 cat confdefs.h >>conftest.$ac_ext
22444 cat >>conftest.$ac_ext <<_ACEOF
22445 /* end confdefs.h. */
22446
22447 class Foo { public: explicit Foo(int) {} };
22448
22449 int
22450 main ()
22451 {
22452
22453 return 0;
22454
22455 ;
22456 return 0;
22457 }
22458 _ACEOF
22459 rm -f conftest.$ac_objext
22460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22461 (eval $ac_compile) 2>conftest.er1
22462 ac_status=$?
22463 grep -v '^ *+' conftest.er1 >conftest.err
22464 rm -f conftest.er1
22465 cat conftest.err >&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } &&
22468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22471 ac_status=$?
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; } &&
22474 { ac_try='test -s conftest.$ac_objext'
22475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22476 (eval $ac_try) 2>&5
22477 ac_status=$?
22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22479 (exit $ac_status); }; }; then
22480
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487
22488 class Foo { public: explicit Foo(int) {} };
22489 static void TakeFoo(const Foo& foo) { }
22490
22491 int
22492 main ()
22493 {
22494
22495 TakeFoo(17);
22496 return 0;
22497
22498 ;
22499 return 0;
22500 }
22501 _ACEOF
22502 rm -f conftest.$ac_objext
22503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22504 (eval $ac_compile) 2>conftest.er1
22505 ac_status=$?
22506 grep -v '^ *+' conftest.er1 >conftest.err
22507 rm -f conftest.er1
22508 cat conftest.err >&5
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); } &&
22511 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22513 (eval $ac_try) 2>&5
22514 ac_status=$?
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); }; } &&
22517 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22523 wx_cv_explicit=no
22524 else
22525 echo "$as_me: failed program was:" >&5
22526 sed 's/^/| /' conftest.$ac_ext >&5
22527
22528 wx_cv_explicit=yes
22529
22530 fi
22531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22532
22533 else
22534 echo "$as_me: failed program was:" >&5
22535 sed 's/^/| /' conftest.$ac_ext >&5
22536
22537 wx_cv_explicit=no
22538
22539 fi
22540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22541
22542 ac_ext=c
22543 ac_cpp='$CPP $CPPFLAGS'
22544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22547
22548
22549 fi
22550 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22551 echo "${ECHO_T}$wx_cv_explicit" >&6
22552
22553 if test "$wx_cv_explicit" = "yes"; then
22554 cat >>confdefs.h <<\_ACEOF
22555 #define HAVE_EXPLICIT 1
22556 _ACEOF
22557
22558 fi
22559
22560
22561 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22562 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22563 if test "${ac_cv_cxx_const_cast+set}" = set; then
22564 echo $ECHO_N "(cached) $ECHO_C" >&6
22565 else
22566
22567
22568 ac_ext=cc
22569 ac_cpp='$CXXCPP $CPPFLAGS'
22570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22573
22574 cat >conftest.$ac_ext <<_ACEOF
22575 /* confdefs.h. */
22576 _ACEOF
22577 cat confdefs.h >>conftest.$ac_ext
22578 cat >>conftest.$ac_ext <<_ACEOF
22579 /* end confdefs.h. */
22580
22581 int
22582 main ()
22583 {
22584 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22585 ;
22586 return 0;
22587 }
22588 _ACEOF
22589 rm -f conftest.$ac_objext
22590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22591 (eval $ac_compile) 2>conftest.er1
22592 ac_status=$?
22593 grep -v '^ *+' conftest.er1 >conftest.err
22594 rm -f conftest.er1
22595 cat conftest.err >&5
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); } &&
22598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22600 (eval $ac_try) 2>&5
22601 ac_status=$?
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); }; } &&
22604 { ac_try='test -s conftest.$ac_objext'
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606 (eval $ac_try) 2>&5
22607 ac_status=$?
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; }; then
22610 ac_cv_cxx_const_cast=yes
22611 else
22612 echo "$as_me: failed program was:" >&5
22613 sed 's/^/| /' conftest.$ac_ext >&5
22614
22615 ac_cv_cxx_const_cast=no
22616 fi
22617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22618 ac_ext=c
22619 ac_cpp='$CPP $CPPFLAGS'
22620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22623
22624
22625 fi
22626 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22627 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22628 if test "$ac_cv_cxx_const_cast" = yes; then
22629
22630 cat >>confdefs.h <<\_ACEOF
22631 #define HAVE_CONST_CAST
22632 _ACEOF
22633
22634 fi
22635
22636 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22637 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22638 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22639 echo $ECHO_N "(cached) $ECHO_C" >&6
22640 else
22641
22642
22643 ac_ext=cc
22644 ac_cpp='$CXXCPP $CPPFLAGS'
22645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22648
22649 cat >conftest.$ac_ext <<_ACEOF
22650 /* confdefs.h. */
22651 _ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22655 #include <typeinfo>
22656 class Base { public : Base () {} virtual void f () = 0;};
22657 class Derived : public Base { public : Derived () {} virtual void f () {} };
22658 class Unrelated { public : Unrelated () {} };
22659 int g (Unrelated&) { return 0; }
22660 int
22661 main ()
22662 {
22663
22664 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22665 ;
22666 return 0;
22667 }
22668 _ACEOF
22669 rm -f conftest.$ac_objext
22670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22671 (eval $ac_compile) 2>conftest.er1
22672 ac_status=$?
22673 grep -v '^ *+' conftest.er1 >conftest.err
22674 rm -f conftest.er1
22675 cat conftest.err >&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } &&
22678 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22680 (eval $ac_try) 2>&5
22681 ac_status=$?
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); }; } &&
22684 { ac_try='test -s conftest.$ac_objext'
22685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22686 (eval $ac_try) 2>&5
22687 ac_status=$?
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); }; }; then
22690 ac_cv_cxx_reinterpret_cast=yes
22691 else
22692 echo "$as_me: failed program was:" >&5
22693 sed 's/^/| /' conftest.$ac_ext >&5
22694
22695 ac_cv_cxx_reinterpret_cast=no
22696 fi
22697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22698 ac_ext=c
22699 ac_cpp='$CPP $CPPFLAGS'
22700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22703
22704
22705 fi
22706 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22707 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22708 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22709
22710 cat >>confdefs.h <<\_ACEOF
22711 #define HAVE_REINTERPRET_CAST
22712 _ACEOF
22713
22714 fi
22715
22716 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22717 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22718 if test "${ac_cv_cxx_static_cast+set}" = set; then
22719 echo $ECHO_N "(cached) $ECHO_C" >&6
22720 else
22721
22722
22723 ac_ext=cc
22724 ac_cpp='$CXXCPP $CPPFLAGS'
22725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22728
22729 cat >conftest.$ac_ext <<_ACEOF
22730 /* confdefs.h. */
22731 _ACEOF
22732 cat confdefs.h >>conftest.$ac_ext
22733 cat >>conftest.$ac_ext <<_ACEOF
22734 /* end confdefs.h. */
22735 #include <typeinfo>
22736 class Base { public : Base () {} virtual void f () = 0; };
22737 class Derived : public Base { public : Derived () {} virtual void f () {} };
22738 int g (Derived&) { return 0; }
22739 int
22740 main ()
22741 {
22742
22743 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22744 ;
22745 return 0;
22746 }
22747 _ACEOF
22748 rm -f conftest.$ac_objext
22749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22750 (eval $ac_compile) 2>conftest.er1
22751 ac_status=$?
22752 grep -v '^ *+' conftest.er1 >conftest.err
22753 rm -f conftest.er1
22754 cat conftest.err >&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); } &&
22757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22760 ac_status=$?
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; } &&
22763 { ac_try='test -s conftest.$ac_objext'
22764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22765 (eval $ac_try) 2>&5
22766 ac_status=$?
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); }; }; then
22769 ac_cv_cxx_static_cast=yes
22770 else
22771 echo "$as_me: failed program was:" >&5
22772 sed 's/^/| /' conftest.$ac_ext >&5
22773
22774 ac_cv_cxx_static_cast=no
22775 fi
22776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22777 ac_ext=c
22778 ac_cpp='$CPP $CPPFLAGS'
22779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22782
22783
22784 fi
22785 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22786 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22787 if test "$ac_cv_cxx_static_cast" = yes; then
22788
22789 cat >>confdefs.h <<\_ACEOF
22790 #define HAVE_STATIC_CAST
22791 _ACEOF
22792
22793 fi
22794
22795
22796 if test "x$SUNCXX" = xyes; then
22797 CXXFLAGS="-features=tmplife $CXXFLAGS"
22798 fi
22799
22800 if test "x$SUNCC" = xyes; then
22801 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22802 fi
22803
22804 if test "x$SGICC" = "xyes"; then
22805 CFLAGS="-woff 3970 $CFLAGS"
22806 fi
22807 if test "x$SGICXX" = "xyes"; then
22808 CXXFLAGS="-woff 3970 $CXXFLAGS"
22809 fi
22810
22811 if test "x$HPCC" = "xyes"; then
22812 CFLAGS="+W 2011,2450 $CFLAGS"
22813 fi
22814 if test "x$HPCXX" = "xyes"; then
22815 CXXFLAGS="+W 2340 $CXXFLAGS"
22816 fi
22817
22818 if test "x$COMPAQCXX" = "xyes"; then
22819 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22820 fi
22821
22822 ac_ext=cc
22823 ac_cpp='$CXXCPP $CPPFLAGS'
22824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22827
22828
22829 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22830 if test "$wxUSE_UNICODE" = "yes"; then
22831 std_string="std::wstring"
22832 char_type="wchar_t"
22833 else
22834 std_string="std::string"
22835 char_type="char"
22836 fi
22837
22838 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22839 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22840 if test "${wx_cv_class_stdstring+set}" = set; then
22841 echo $ECHO_N "(cached) $ECHO_C" >&6
22842 else
22843
22844 cat >conftest.$ac_ext <<_ACEOF
22845 /* confdefs.h. */
22846 _ACEOF
22847 cat confdefs.h >>conftest.$ac_ext
22848 cat >>conftest.$ac_ext <<_ACEOF
22849 /* end confdefs.h. */
22850 #include <string>
22851 int
22852 main ()
22853 {
22854 $std_string foo;
22855 ;
22856 return 0;
22857 }
22858 _ACEOF
22859 rm -f conftest.$ac_objext
22860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22861 (eval $ac_compile) 2>conftest.er1
22862 ac_status=$?
22863 grep -v '^ *+' conftest.er1 >conftest.err
22864 rm -f conftest.er1
22865 cat conftest.err >&5
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); } &&
22868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870 (eval $ac_try) 2>&5
22871 ac_status=$?
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; } &&
22874 { ac_try='test -s conftest.$ac_objext'
22875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22876 (eval $ac_try) 2>&5
22877 ac_status=$?
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); }; }; then
22880 wx_cv_class_stdstring=yes
22881 else
22882 echo "$as_me: failed program was:" >&5
22883 sed 's/^/| /' conftest.$ac_ext >&5
22884
22885 wx_cv_class_stdstring=no
22886
22887 fi
22888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22889
22890
22891 fi
22892 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
22893 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
22894
22895 if test "$wx_cv_class_stdstring" = yes; then
22896 if test "$wxUSE_UNICODE" = "yes"; then
22897 cat >>confdefs.h <<\_ACEOF
22898 #define HAVE_STD_WSTRING 1
22899 _ACEOF
22900
22901 fi
22902 else
22903 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22904 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22905 if test "${wx_cv_class_stdbasicstring+set}" = set; then
22906 echo $ECHO_N "(cached) $ECHO_C" >&6
22907 else
22908
22909 cat >conftest.$ac_ext <<_ACEOF
22910 /* confdefs.h. */
22911 _ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22915
22916 #ifdef HAVE_WCHAR_H
22917 # ifdef __CYGWIN__
22918 # include <stddef.h>
22919 # endif
22920 # include <wchar.h>
22921 #endif
22922 #ifdef HAVE_STDLIB_H
22923 # include <stdlib.h>
22924 #endif
22925 #include <stdio.h>
22926 #include <string>
22927
22928 int
22929 main ()
22930 {
22931 std::basic_string<$char_type> foo;
22932 const $char_type* dummy = foo.c_str();
22933 ;
22934 return 0;
22935 }
22936 _ACEOF
22937 rm -f conftest.$ac_objext
22938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22939 (eval $ac_compile) 2>conftest.er1
22940 ac_status=$?
22941 grep -v '^ *+' conftest.er1 >conftest.err
22942 rm -f conftest.er1
22943 cat conftest.err >&5
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); } &&
22946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22948 (eval $ac_try) 2>&5
22949 ac_status=$?
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); }; } &&
22952 { ac_try='test -s conftest.$ac_objext'
22953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22954 (eval $ac_try) 2>&5
22955 ac_status=$?
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); }; }; then
22958 wx_cv_class_stdbasicstring=yes
22959 else
22960 echo "$as_me: failed program was:" >&5
22961 sed 's/^/| /' conftest.$ac_ext >&5
22962
22963 wx_cv_class_stdbasicstring=no
22964
22965 fi
22966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22967
22968
22969 fi
22970 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
22971 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
22972
22973 if test "$wx_cv_class_stdbasicstring" != yes; then
22974 if test "$wxUSE_STL" = "yes"; then
22975 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22976 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22977 { (exit 1); exit 1; }; }
22978 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
22979 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22980 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22981 { (exit 1); exit 1; }; }
22982 else
22983 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22984 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22985 wxUSE_STD_STRING=no
22986 fi
22987 fi
22988 fi
22989 fi
22990
22991 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22992 echo "$as_me:$LINENO: checking for std::istream" >&5
22993 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22994 if test "${ac_cv_type_std__istream+set}" = set; then
22995 echo $ECHO_N "(cached) $ECHO_C" >&6
22996 else
22997 cat >conftest.$ac_ext <<_ACEOF
22998 /* confdefs.h. */
22999 _ACEOF
23000 cat confdefs.h >>conftest.$ac_ext
23001 cat >>conftest.$ac_ext <<_ACEOF
23002 /* end confdefs.h. */
23003 #include <iostream>
23004
23005 int
23006 main ()
23007 {
23008 if ((std::istream *) 0)
23009 return 0;
23010 if (sizeof (std::istream))
23011 return 0;
23012 ;
23013 return 0;
23014 }
23015 _ACEOF
23016 rm -f conftest.$ac_objext
23017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23018 (eval $ac_compile) 2>conftest.er1
23019 ac_status=$?
23020 grep -v '^ *+' conftest.er1 >conftest.err
23021 rm -f conftest.er1
23022 cat conftest.err >&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } &&
23025 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23027 (eval $ac_try) 2>&5
23028 ac_status=$?
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); }; } &&
23031 { ac_try='test -s conftest.$ac_objext'
23032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23033 (eval $ac_try) 2>&5
23034 ac_status=$?
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); }; }; then
23037 ac_cv_type_std__istream=yes
23038 else
23039 echo "$as_me: failed program was:" >&5
23040 sed 's/^/| /' conftest.$ac_ext >&5
23041
23042 ac_cv_type_std__istream=no
23043 fi
23044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23045 fi
23046 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23047 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23048 if test $ac_cv_type_std__istream = yes; then
23049
23050 cat >>confdefs.h <<_ACEOF
23051 #define HAVE_STD__ISTREAM 1
23052 _ACEOF
23053
23054
23055 else
23056 wxUSE_STD_IOSTREAM=no
23057 fi
23058 echo "$as_me:$LINENO: checking for std::ostream" >&5
23059 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23060 if test "${ac_cv_type_std__ostream+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 else
23063 cat >conftest.$ac_ext <<_ACEOF
23064 /* confdefs.h. */
23065 _ACEOF
23066 cat confdefs.h >>conftest.$ac_ext
23067 cat >>conftest.$ac_ext <<_ACEOF
23068 /* end confdefs.h. */
23069 #include <iostream>
23070
23071 int
23072 main ()
23073 {
23074 if ((std::ostream *) 0)
23075 return 0;
23076 if (sizeof (std::ostream))
23077 return 0;
23078 ;
23079 return 0;
23080 }
23081 _ACEOF
23082 rm -f conftest.$ac_objext
23083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23084 (eval $ac_compile) 2>conftest.er1
23085 ac_status=$?
23086 grep -v '^ *+' conftest.er1 >conftest.err
23087 rm -f conftest.er1
23088 cat conftest.err >&5
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); } &&
23091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23093 (eval $ac_try) 2>&5
23094 ac_status=$?
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); }; } &&
23097 { ac_try='test -s conftest.$ac_objext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23100 ac_status=$?
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 ac_cv_type_std__ostream=yes
23104 else
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.$ac_ext >&5
23107
23108 ac_cv_type_std__ostream=no
23109 fi
23110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23111 fi
23112 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23113 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23114 if test $ac_cv_type_std__ostream = yes; then
23115
23116 cat >>confdefs.h <<_ACEOF
23117 #define HAVE_STD__OSTREAM 1
23118 _ACEOF
23119
23120
23121 else
23122 wxUSE_STD_IOSTREAM=no
23123 fi
23124
23125
23126 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23127 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23128 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23129 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23130 { (exit 1); exit 1; }; }
23131 else
23132 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23133 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23134 fi
23135 fi
23136 fi
23137
23138 if test "$wxUSE_STL" = "yes"; then
23139 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23140 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23141 if test "${wx_cv_lib_stl+set}" = set; then
23142 echo $ECHO_N "(cached) $ECHO_C" >&6
23143 else
23144 cat >conftest.$ac_ext <<_ACEOF
23145 /* confdefs.h. */
23146 _ACEOF
23147 cat confdefs.h >>conftest.$ac_ext
23148 cat >>conftest.$ac_ext <<_ACEOF
23149 /* end confdefs.h. */
23150 #include <string>
23151 #include <functional>
23152 #include <algorithm>
23153 #include <vector>
23154 #include <list>
23155 int
23156 main ()
23157 {
23158 std::vector<int> moo;
23159 std::list<int> foo;
23160 std::vector<int>::iterator it =
23161 std::find_if(moo.begin(), moo.end(),
23162 std::bind2nd(std::less<int>(), 3));
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_cxx_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 wx_cv_lib_stl=yes
23189 else
23190 echo "$as_me: failed program was:" >&5
23191 sed 's/^/| /' conftest.$ac_ext >&5
23192
23193 wx_cv_lib_stl=no
23194
23195 fi
23196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23197
23198 fi
23199 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23200 echo "${ECHO_T}$wx_cv_lib_stl" >&6
23201
23202 if test "$wx_cv_lib_stl" != yes; then
23203 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23204 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23205 { (exit 1); exit 1; }; }
23206 fi
23207
23208 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23209 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23210 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23211 echo $ECHO_N "(cached) $ECHO_C" >&6
23212 else
23213 cat >conftest.$ac_ext <<_ACEOF
23214 /* confdefs.h. */
23215 _ACEOF
23216 cat confdefs.h >>conftest.$ac_ext
23217 cat >>conftest.$ac_ext <<_ACEOF
23218 /* end confdefs.h. */
23219 #include <string>
23220 int
23221 main ()
23222 {
23223 std::string foo, bar;
23224 foo.compare(bar);
23225 foo.compare(1, 1, bar);
23226 foo.compare(1, 1, bar, 1, 1);
23227 foo.compare("");
23228 foo.compare(1, 1, "");
23229 foo.compare(1, 1, "", 2);
23230 ;
23231 return 0;
23232 }
23233 _ACEOF
23234 rm -f conftest.$ac_objext
23235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23236 (eval $ac_compile) 2>conftest.er1
23237 ac_status=$?
23238 grep -v '^ *+' conftest.er1 >conftest.err
23239 rm -f conftest.er1
23240 cat conftest.err >&5
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); } &&
23243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23246 ac_status=$?
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; } &&
23249 { ac_try='test -s conftest.$ac_objext'
23250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23251 (eval $ac_try) 2>&5
23252 ac_status=$?
23253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23254 (exit $ac_status); }; }; then
23255 wx_cv_func_stdstring_compare=yes
23256 else
23257 echo "$as_me: failed program was:" >&5
23258 sed 's/^/| /' conftest.$ac_ext >&5
23259
23260 wx_cv_func_stdstring_compare=no
23261
23262 fi
23263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23264
23265 fi
23266 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23267 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
23268
23269 if test "$wx_cv_func_stdstring_compare" = yes; then
23270 cat >>confdefs.h <<\_ACEOF
23271 #define HAVE_STD_STRING_COMPARE 1
23272 _ACEOF
23273
23274 fi
23275
23276 echo "$as_me:$LINENO: checking for hash_map" >&5
23277 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23278 if test "${ac_cv_header_hash_map+set}" = set; then
23279 echo $ECHO_N "(cached) $ECHO_C" >&6
23280 else
23281 cat >conftest.$ac_ext <<_ACEOF
23282 /* confdefs.h. */
23283 _ACEOF
23284 cat confdefs.h >>conftest.$ac_ext
23285 cat >>conftest.$ac_ext <<_ACEOF
23286 /* end confdefs.h. */
23287
23288
23289
23290 #include <hash_map>
23291 _ACEOF
23292 rm -f conftest.$ac_objext
23293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23294 (eval $ac_compile) 2>conftest.er1
23295 ac_status=$?
23296 grep -v '^ *+' conftest.er1 >conftest.err
23297 rm -f conftest.er1
23298 cat conftest.err >&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } &&
23301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23303 (eval $ac_try) 2>&5
23304 ac_status=$?
23305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23306 (exit $ac_status); }; } &&
23307 { ac_try='test -s conftest.$ac_objext'
23308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23309 (eval $ac_try) 2>&5
23310 ac_status=$?
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); }; }; then
23313 ac_cv_header_hash_map=yes
23314 else
23315 echo "$as_me: failed program was:" >&5
23316 sed 's/^/| /' conftest.$ac_ext >&5
23317
23318 ac_cv_header_hash_map=no
23319 fi
23320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23321 fi
23322 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23323 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23324 if test $ac_cv_header_hash_map = yes; then
23325 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23326 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
23327 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23328 echo $ECHO_N "(cached) $ECHO_C" >&6
23329 else
23330 cat >conftest.$ac_ext <<_ACEOF
23331 /* confdefs.h. */
23332 _ACEOF
23333 cat confdefs.h >>conftest.$ac_ext
23334 cat >>conftest.$ac_ext <<_ACEOF
23335 /* end confdefs.h. */
23336 #include <hash_map>
23337 #include <hash_set>
23338 int
23339 main ()
23340 {
23341 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23342 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23343 ;
23344 return 0;
23345 }
23346 _ACEOF
23347 rm -f conftest.$ac_objext
23348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23349 (eval $ac_compile) 2>conftest.er1
23350 ac_status=$?
23351 grep -v '^ *+' conftest.er1 >conftest.err
23352 rm -f conftest.er1
23353 cat conftest.err >&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } &&
23356 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; } &&
23362 { ac_try='test -s conftest.$ac_objext'
23363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23364 (eval $ac_try) 2>&5
23365 ac_status=$?
23366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23367 (exit $ac_status); }; }; then
23368 wx_cv_class_stdhashmapset=yes
23369 else
23370 echo "$as_me: failed program was:" >&5
23371 sed 's/^/| /' conftest.$ac_ext >&5
23372
23373 wx_cv_class_stdhashmapset=no
23374 fi
23375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23376
23377
23378 fi
23379 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23380 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
23381 fi
23382
23383
23384
23385 if test "$wx_cv_class_stdhashmapset" = yes; then
23386 cat >>confdefs.h <<\_ACEOF
23387 #define HAVE_HASH_MAP 1
23388 _ACEOF
23389
23390 cat >>confdefs.h <<\_ACEOF
23391 #define HAVE_STD_HASH_MAP 1
23392 _ACEOF
23393
23394 fi
23395
23396 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23397 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23398 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23399 echo $ECHO_N "(cached) $ECHO_C" >&6
23400 else
23401 cat >conftest.$ac_ext <<_ACEOF
23402 /* confdefs.h. */
23403 _ACEOF
23404 cat confdefs.h >>conftest.$ac_ext
23405 cat >>conftest.$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23407
23408
23409
23410 #include <ext/hash_map>
23411 _ACEOF
23412 rm -f conftest.$ac_objext
23413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23414 (eval $ac_compile) 2>conftest.er1
23415 ac_status=$?
23416 grep -v '^ *+' conftest.er1 >conftest.err
23417 rm -f conftest.er1
23418 cat conftest.err >&5
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); } &&
23421 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23423 (eval $ac_try) 2>&5
23424 ac_status=$?
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); }; } &&
23427 { ac_try='test -s conftest.$ac_objext'
23428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23429 (eval $ac_try) 2>&5
23430 ac_status=$?
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); }; }; then
23433 ac_cv_header_ext_hash_map=yes
23434 else
23435 echo "$as_me: failed program was:" >&5
23436 sed 's/^/| /' conftest.$ac_ext >&5
23437
23438 ac_cv_header_ext_hash_map=no
23439 fi
23440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23441 fi
23442 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23443 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23444 if test $ac_cv_header_ext_hash_map = yes; then
23445 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23446 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
23447 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23448 echo $ECHO_N "(cached) $ECHO_C" >&6
23449 else
23450 cat >conftest.$ac_ext <<_ACEOF
23451 /* confdefs.h. */
23452 _ACEOF
23453 cat confdefs.h >>conftest.$ac_ext
23454 cat >>conftest.$ac_ext <<_ACEOF
23455 /* end confdefs.h. */
23456 #include <ext/hash_map>
23457 #include <ext/hash_set>
23458 int
23459 main ()
23460 {
23461 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23462 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23463 ;
23464 return 0;
23465 }
23466 _ACEOF
23467 rm -f conftest.$ac_objext
23468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23469 (eval $ac_compile) 2>conftest.er1
23470 ac_status=$?
23471 grep -v '^ *+' conftest.er1 >conftest.err
23472 rm -f conftest.er1
23473 cat conftest.err >&5
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } &&
23476 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23479 ac_status=$?
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; } &&
23482 { ac_try='test -s conftest.$ac_objext'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23485 ac_status=$?
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23488 wx_cv_class_gnuhashmapset=yes
23489 else
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23492
23493 wx_cv_class_gnuhashmapset=no
23494 fi
23495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23496
23497
23498 fi
23499 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23500 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
23501 fi
23502
23503
23504
23505 if test "$wx_cv_class_gnuhashmapset" = yes; then
23506 cat >>confdefs.h <<\_ACEOF
23507 #define HAVE_EXT_HASH_MAP 1
23508 _ACEOF
23509
23510 cat >>confdefs.h <<\_ACEOF
23511 #define HAVE_GNU_CXX_HASH_MAP 1
23512 _ACEOF
23513
23514 fi
23515 fi
23516
23517 ac_ext=c
23518 ac_cpp='$CPP $CPPFLAGS'
23519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23522
23523
23524
23525 SEARCH_INCLUDE="\
23526 /usr/local/include \
23527 \
23528 /usr/Motif-2.1/include \
23529 /usr/Motif-1.2/include \
23530 /usr/include/Motif1.2 \
23531 \
23532 /usr/dt/include \
23533 /usr/openwin/include \
23534 \
23535 /usr/include/Xm \
23536 \
23537 /usr/X11R6/include \
23538 /usr/X11R6.4/include \
23539 /usr/X11R5/include \
23540 /usr/X11R4/include \
23541 \
23542 /usr/include/X11R6 \
23543 /usr/include/X11R5 \
23544 /usr/include/X11R4 \
23545 \
23546 /usr/local/X11R6/include \
23547 /usr/local/X11R5/include \
23548 /usr/local/X11R4/include \
23549 \
23550 /usr/local/include/X11R6 \
23551 /usr/local/include/X11R5 \
23552 /usr/local/include/X11R4 \
23553 \
23554 /usr/X11/include \
23555 /usr/include/X11 \
23556 /usr/local/X11/include \
23557 /usr/local/include/X11 \
23558 \
23559 /usr/XFree86/include/X11 \
23560 /usr/pkg/include \
23561 \
23562 /usr/openwin/share/include"
23563
23564 echo "$as_me:$LINENO: checking for libraries directory" >&5
23565 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23566
23567 case "${host}" in
23568 *-*-irix6* )
23569 if test "${wx_cv_std_libpath+set}" = set; then
23570 echo $ECHO_N "(cached) $ECHO_C" >&6
23571 else
23572
23573 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23574 for e in a so sl dylib dll.a; do
23575 libc="$d/libc.$e"
23576 if test -f $libc; then
23577 save_LIBS="$LIBS"
23578 LIBS="$libc"
23579 cat >conftest.$ac_ext <<_ACEOF
23580 int main() { return 0; }
23581 _ACEOF
23582 rm -f conftest.$ac_objext conftest$ac_exeext
23583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23584 (eval $ac_link) 2>conftest.er1
23585 ac_status=$?
23586 grep -v '^ *+' conftest.er1 >conftest.err
23587 rm -f conftest.er1
23588 cat conftest.err >&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); } &&
23591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23593 (eval $ac_try) 2>&5
23594 ac_status=$?
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); }; } &&
23597 { ac_try='test -s conftest$ac_exeext'
23598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23599 (eval $ac_try) 2>&5
23600 ac_status=$?
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); }; }; then
23603 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23604 else
23605 echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.$ac_ext >&5
23607
23608 fi
23609 rm -f conftest.err conftest.$ac_objext \
23610 conftest$ac_exeext conftest.$ac_ext
23611 LIBS="$save_LIBS"
23612 if test "x$wx_cv_std_libpath" != "x"; then
23613 break 2
23614 fi
23615 fi
23616 done
23617 done
23618 if test "x$wx_cv_std_libpath" = "x"; then
23619 wx_cv_std_libpath="lib"
23620 fi
23621
23622
23623 fi
23624
23625 ;;
23626
23627 *-*-solaris2* )
23628 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23629 wx_cv_std_libpath="lib/64"
23630 else
23631 wx_cv_std_libpath="lib"
23632 fi
23633 ;;
23634
23635 *-*-linux* )
23636 if test "$ac_cv_sizeof_void_p" = 8 -a \
23637 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23638 wx_cv_std_libpath="lib64"
23639 else
23640 wx_cv_std_libpath="lib"
23641 fi
23642 ;;
23643
23644 *)
23645 wx_cv_std_libpath="lib";
23646 ;;
23647 esac
23648
23649 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23650 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23651
23652 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23653
23654 if test "$build" != "$host" -a "$GCC" = yes; then
23655 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23656 cross_root=`dirname $cross_root`
23657 cross_root=`dirname $cross_root`
23658
23659 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23660 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23661 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
23662
23663 if test -z "$PKG_CONFIG_PATH"; then
23664 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23665 export PKG_CONFIG_PATH
23666 fi
23667
23668 if test -z "$x_includes" -o "$x_includes" = NONE; then
23669
23670 ac_find_includes=
23671 for ac_dir in $SEARCH_INCLUDE /usr/include;
23672 do
23673 if test -f "$ac_dir/X11/Intrinsic.h"; then
23674 ac_find_includes=$ac_dir
23675 break
23676 fi
23677 done
23678
23679 x_includes=$ac_find_includes
23680 fi
23681 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23682
23683 ac_find_libraries=
23684 for ac_dir in $SEARCH_LIB;
23685 do
23686 for ac_extension in a so sl dylib dll.a; do
23687 if test -f "$ac_dir/libXt.$ac_extension"; then
23688 ac_find_libraries=$ac_dir
23689 break 2
23690 fi
23691 done
23692 done
23693
23694 x_libraries=$ac_find_libraries
23695 fi
23696 fi
23697 fi
23698
23699
23700 cat >confcache <<\_ACEOF
23701 # This file is a shell script that caches the results of configure
23702 # tests run on this system so they can be shared between configure
23703 # scripts and configure runs, see configure's option --config-cache.
23704 # It is not useful on other systems. If it contains results you don't
23705 # want to keep, you may remove or edit it.
23706 #
23707 # config.status only pays attention to the cache file if you give it
23708 # the --recheck option to rerun configure.
23709 #
23710 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23711 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23712 # following values.
23713
23714 _ACEOF
23715
23716 # The following way of writing the cache mishandles newlines in values,
23717 # but we know of no workaround that is simple, portable, and efficient.
23718 # So, don't put newlines in cache variables' values.
23719 # Ultrix sh set writes to stderr and can't be redirected directly,
23720 # and sets the high bit in the cache file unless we assign to the vars.
23721 {
23722 (set) 2>&1 |
23723 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23724 *ac_space=\ *)
23725 # `set' does not quote correctly, so add quotes (double-quote
23726 # substitution turns \\\\ into \\, and sed turns \\ into \).
23727 sed -n \
23728 "s/'/'\\\\''/g;
23729 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23730 ;;
23731 *)
23732 # `set' quotes correctly as required by POSIX, so do not add quotes.
23733 sed -n \
23734 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23735 ;;
23736 esac;
23737 } |
23738 sed '
23739 t clear
23740 : clear
23741 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23742 t end
23743 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23744 : end' >>confcache
23745 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23746 if test -w $cache_file; then
23747 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23748 cat confcache >$cache_file
23749 else
23750 echo "not updating unwritable cache $cache_file"
23751 fi
23752 fi
23753 rm -f confcache
23754
23755 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23756 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23757 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23758 if test "${wx_cv_lib_glibc21+set}" = set; then
23759 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 else
23761
23762 cat >conftest.$ac_ext <<_ACEOF
23763 /* confdefs.h. */
23764 _ACEOF
23765 cat confdefs.h >>conftest.$ac_ext
23766 cat >>conftest.$ac_ext <<_ACEOF
23767 /* end confdefs.h. */
23768 #include <features.h>
23769 int
23770 main ()
23771 {
23772
23773 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23774 not glibc 2.1
23775 #endif
23776
23777 ;
23778 return 0;
23779 }
23780 _ACEOF
23781 rm -f conftest.$ac_objext
23782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23783 (eval $ac_compile) 2>conftest.er1
23784 ac_status=$?
23785 grep -v '^ *+' conftest.er1 >conftest.err
23786 rm -f conftest.er1
23787 cat conftest.err >&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); } &&
23790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23792 (eval $ac_try) 2>&5
23793 ac_status=$?
23794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23795 (exit $ac_status); }; } &&
23796 { ac_try='test -s conftest.$ac_objext'
23797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23798 (eval $ac_try) 2>&5
23799 ac_status=$?
23800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23801 (exit $ac_status); }; }; then
23802
23803 wx_cv_lib_glibc21=yes
23804
23805 else
23806 echo "$as_me: failed program was:" >&5
23807 sed 's/^/| /' conftest.$ac_ext >&5
23808
23809
23810 wx_cv_lib_glibc21=no
23811
23812
23813 fi
23814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23815
23816 fi
23817 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23818 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23819 if test "$wx_cv_lib_glibc21" = "yes"; then
23820 cat >>confdefs.h <<\_ACEOF
23821 #define wxHAVE_GLIBC2 1
23822 _ACEOF
23823
23824 fi
23825 fi
23826
23827 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23828 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23829 cat >>confdefs.h <<\_ACEOF
23830 #define _GNU_SOURCE 1
23831 _ACEOF
23832
23833 fi
23834 fi
23835
23836 have_cos=0
23837 have_floor=0
23838
23839 for ac_func in cos
23840 do
23841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23842 echo "$as_me:$LINENO: checking for $ac_func" >&5
23843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23844 if eval "test \"\${$as_ac_var+set}\" = set"; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 else
23847 cat >conftest.$ac_ext <<_ACEOF
23848 /* confdefs.h. */
23849 _ACEOF
23850 cat confdefs.h >>conftest.$ac_ext
23851 cat >>conftest.$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23855 #define $ac_func innocuous_$ac_func
23856
23857 /* System header to define __stub macros and hopefully few prototypes,
23858 which can conflict with char $ac_func (); below.
23859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23860 <limits.h> exists even on freestanding compilers. */
23861
23862 #ifdef __STDC__
23863 # include <limits.h>
23864 #else
23865 # include <assert.h>
23866 #endif
23867
23868 #undef $ac_func
23869
23870 /* Override any gcc2 internal prototype to avoid an error. */
23871 #ifdef __cplusplus
23872 extern "C"
23873 {
23874 #endif
23875 /* We use char because int might match the return type of a gcc2
23876 builtin and then its argument prototype would still apply. */
23877 char $ac_func ();
23878 /* The GNU C library defines this for functions which it implements
23879 to always fail with ENOSYS. Some functions are actually named
23880 something starting with __ and the normal name is an alias. */
23881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23882 choke me
23883 #else
23884 char (*f) () = $ac_func;
23885 #endif
23886 #ifdef __cplusplus
23887 }
23888 #endif
23889
23890 int
23891 main ()
23892 {
23893 return f != $ac_func;
23894 ;
23895 return 0;
23896 }
23897 _ACEOF
23898 rm -f conftest.$ac_objext conftest$ac_exeext
23899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23900 (eval $ac_link) 2>conftest.er1
23901 ac_status=$?
23902 grep -v '^ *+' conftest.er1 >conftest.err
23903 rm -f conftest.er1
23904 cat conftest.err >&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); } &&
23907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23909 (eval $ac_try) 2>&5
23910 ac_status=$?
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); }; } &&
23913 { ac_try='test -s conftest$ac_exeext'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23916 ac_status=$?
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; }; then
23919 eval "$as_ac_var=yes"
23920 else
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.$ac_ext >&5
23923
23924 eval "$as_ac_var=no"
23925 fi
23926 rm -f conftest.err conftest.$ac_objext \
23927 conftest$ac_exeext conftest.$ac_ext
23928 fi
23929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23931 if test `eval echo '${'$as_ac_var'}'` = yes; then
23932 cat >>confdefs.h <<_ACEOF
23933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23934 _ACEOF
23935 have_cos=1
23936 fi
23937 done
23938
23939
23940 for ac_func in floor
23941 do
23942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23943 echo "$as_me:$LINENO: checking for $ac_func" >&5
23944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23945 if eval "test \"\${$as_ac_var+set}\" = set"; then
23946 echo $ECHO_N "(cached) $ECHO_C" >&6
23947 else
23948 cat >conftest.$ac_ext <<_ACEOF
23949 /* confdefs.h. */
23950 _ACEOF
23951 cat confdefs.h >>conftest.$ac_ext
23952 cat >>conftest.$ac_ext <<_ACEOF
23953 /* end confdefs.h. */
23954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23956 #define $ac_func innocuous_$ac_func
23957
23958 /* System header to define __stub macros and hopefully few prototypes,
23959 which can conflict with char $ac_func (); below.
23960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23961 <limits.h> exists even on freestanding compilers. */
23962
23963 #ifdef __STDC__
23964 # include <limits.h>
23965 #else
23966 # include <assert.h>
23967 #endif
23968
23969 #undef $ac_func
23970
23971 /* Override any gcc2 internal prototype to avoid an error. */
23972 #ifdef __cplusplus
23973 extern "C"
23974 {
23975 #endif
23976 /* We use char because int might match the return type of a gcc2
23977 builtin and then its argument prototype would still apply. */
23978 char $ac_func ();
23979 /* The GNU C library defines this for functions which it implements
23980 to always fail with ENOSYS. Some functions are actually named
23981 something starting with __ and the normal name is an alias. */
23982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23983 choke me
23984 #else
23985 char (*f) () = $ac_func;
23986 #endif
23987 #ifdef __cplusplus
23988 }
23989 #endif
23990
23991 int
23992 main ()
23993 {
23994 return f != $ac_func;
23995 ;
23996 return 0;
23997 }
23998 _ACEOF
23999 rm -f conftest.$ac_objext conftest$ac_exeext
24000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24001 (eval $ac_link) 2>conftest.er1
24002 ac_status=$?
24003 grep -v '^ *+' conftest.er1 >conftest.err
24004 rm -f conftest.er1
24005 cat conftest.err >&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } &&
24008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24011 ac_status=$?
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; } &&
24014 { ac_try='test -s conftest$ac_exeext'
24015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24016 (eval $ac_try) 2>&5
24017 ac_status=$?
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); }; }; then
24020 eval "$as_ac_var=yes"
24021 else
24022 echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.$ac_ext >&5
24024
24025 eval "$as_ac_var=no"
24026 fi
24027 rm -f conftest.err conftest.$ac_objext \
24028 conftest$ac_exeext conftest.$ac_ext
24029 fi
24030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24032 if test `eval echo '${'$as_ac_var'}'` = yes; then
24033 cat >>confdefs.h <<_ACEOF
24034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24035 _ACEOF
24036 have_floor=1
24037 fi
24038 done
24039
24040 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24041 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24042 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24043 echo "$as_me:$LINENO: result: yes" >&5
24044 echo "${ECHO_T}yes" >&6
24045 else
24046 echo "$as_me:$LINENO: result: no" >&5
24047 echo "${ECHO_T}no" >&6
24048 LIBS="$LIBS -lm"
24049 # use different functions to avoid configure caching
24050 have_sin=0
24051 have_ceil=0
24052
24053 for ac_func in sin
24054 do
24055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24056 echo "$as_me:$LINENO: checking for $ac_func" >&5
24057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24058 if eval "test \"\${$as_ac_var+set}\" = set"; then
24059 echo $ECHO_N "(cached) $ECHO_C" >&6
24060 else
24061 cat >conftest.$ac_ext <<_ACEOF
24062 /* confdefs.h. */
24063 _ACEOF
24064 cat confdefs.h >>conftest.$ac_ext
24065 cat >>conftest.$ac_ext <<_ACEOF
24066 /* end confdefs.h. */
24067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24069 #define $ac_func innocuous_$ac_func
24070
24071 /* System header to define __stub macros and hopefully few prototypes,
24072 which can conflict with char $ac_func (); below.
24073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24074 <limits.h> exists even on freestanding compilers. */
24075
24076 #ifdef __STDC__
24077 # include <limits.h>
24078 #else
24079 # include <assert.h>
24080 #endif
24081
24082 #undef $ac_func
24083
24084 /* Override any gcc2 internal prototype to avoid an error. */
24085 #ifdef __cplusplus
24086 extern "C"
24087 {
24088 #endif
24089 /* We use char because int might match the return type of a gcc2
24090 builtin and then its argument prototype would still apply. */
24091 char $ac_func ();
24092 /* The GNU C library defines this for functions which it implements
24093 to always fail with ENOSYS. Some functions are actually named
24094 something starting with __ and the normal name is an alias. */
24095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24096 choke me
24097 #else
24098 char (*f) () = $ac_func;
24099 #endif
24100 #ifdef __cplusplus
24101 }
24102 #endif
24103
24104 int
24105 main ()
24106 {
24107 return f != $ac_func;
24108 ;
24109 return 0;
24110 }
24111 _ACEOF
24112 rm -f conftest.$ac_objext conftest$ac_exeext
24113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24114 (eval $ac_link) 2>conftest.er1
24115 ac_status=$?
24116 grep -v '^ *+' conftest.er1 >conftest.err
24117 rm -f conftest.er1
24118 cat conftest.err >&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); } &&
24121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24123 (eval $ac_try) 2>&5
24124 ac_status=$?
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); }; } &&
24127 { ac_try='test -s conftest$ac_exeext'
24128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24129 (eval $ac_try) 2>&5
24130 ac_status=$?
24131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24132 (exit $ac_status); }; }; then
24133 eval "$as_ac_var=yes"
24134 else
24135 echo "$as_me: failed program was:" >&5
24136 sed 's/^/| /' conftest.$ac_ext >&5
24137
24138 eval "$as_ac_var=no"
24139 fi
24140 rm -f conftest.err conftest.$ac_objext \
24141 conftest$ac_exeext conftest.$ac_ext
24142 fi
24143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24145 if test `eval echo '${'$as_ac_var'}'` = yes; then
24146 cat >>confdefs.h <<_ACEOF
24147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24148 _ACEOF
24149 have_sin=1
24150 fi
24151 done
24152
24153
24154 for ac_func in ceil
24155 do
24156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24157 echo "$as_me:$LINENO: checking for $ac_func" >&5
24158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24159 if eval "test \"\${$as_ac_var+set}\" = set"; then
24160 echo $ECHO_N "(cached) $ECHO_C" >&6
24161 else
24162 cat >conftest.$ac_ext <<_ACEOF
24163 /* confdefs.h. */
24164 _ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24170 #define $ac_func innocuous_$ac_func
24171
24172 /* System header to define __stub macros and hopefully few prototypes,
24173 which can conflict with char $ac_func (); below.
24174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24175 <limits.h> exists even on freestanding compilers. */
24176
24177 #ifdef __STDC__
24178 # include <limits.h>
24179 #else
24180 # include <assert.h>
24181 #endif
24182
24183 #undef $ac_func
24184
24185 /* Override any gcc2 internal prototype to avoid an error. */
24186 #ifdef __cplusplus
24187 extern "C"
24188 {
24189 #endif
24190 /* We use char because int might match the return type of a gcc2
24191 builtin and then its argument prototype would still apply. */
24192 char $ac_func ();
24193 /* The GNU C library defines this for functions which it implements
24194 to always fail with ENOSYS. Some functions are actually named
24195 something starting with __ and the normal name is an alias. */
24196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24197 choke me
24198 #else
24199 char (*f) () = $ac_func;
24200 #endif
24201 #ifdef __cplusplus
24202 }
24203 #endif
24204
24205 int
24206 main ()
24207 {
24208 return f != $ac_func;
24209 ;
24210 return 0;
24211 }
24212 _ACEOF
24213 rm -f conftest.$ac_objext conftest$ac_exeext
24214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24215 (eval $ac_link) 2>conftest.er1
24216 ac_status=$?
24217 grep -v '^ *+' conftest.er1 >conftest.err
24218 rm -f conftest.er1
24219 cat conftest.err >&5
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); } &&
24222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24224 (eval $ac_try) 2>&5
24225 ac_status=$?
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); }; } &&
24228 { ac_try='test -s conftest$ac_exeext'
24229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24230 (eval $ac_try) 2>&5
24231 ac_status=$?
24232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233 (exit $ac_status); }; }; then
24234 eval "$as_ac_var=yes"
24235 else
24236 echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.$ac_ext >&5
24238
24239 eval "$as_ac_var=no"
24240 fi
24241 rm -f conftest.err conftest.$ac_objext \
24242 conftest$ac_exeext conftest.$ac_ext
24243 fi
24244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24246 if test `eval echo '${'$as_ac_var'}'` = yes; then
24247 cat >>confdefs.h <<_ACEOF
24248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24249 _ACEOF
24250 have_ceil=1
24251 fi
24252 done
24253
24254 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24255 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24256 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24257 echo "$as_me:$LINENO: result: yes" >&5
24258 echo "${ECHO_T}yes" >&6
24259 else
24260 echo "$as_me:$LINENO: result: no" >&5
24261 echo "${ECHO_T}no" >&6
24262 # not sure we should warn the user, crash, etc.
24263 fi
24264 fi
24265
24266 ac_ext=cc
24267 ac_cpp='$CXXCPP $CPPFLAGS'
24268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24271
24272 if test "wxUSE_UNICODE" = "yes"; then
24273
24274 for wx_func in wcstoull
24275 do
24276 echo "$as_me:$LINENO: checking for $wx_func" >&5
24277 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24278 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 else
24281
24282 cat >conftest.$ac_ext <<_ACEOF
24283
24284 /* confdefs.h. */
24285 _ACEOF
24286 cat confdefs.h >>conftest.$ac_ext
24287 cat >>conftest.$ac_ext <<_ACEOF
24288 /* end confdefs.h. */
24289
24290
24291 $ac_includes_default
24292
24293 int
24294 main ()
24295 {
24296
24297 #ifndef $wx_func
24298 &$wx_func;
24299 #endif
24300
24301
24302 ;
24303 return 0;
24304 }
24305
24306 _ACEOF
24307 rm -f conftest.$ac_objext conftest$ac_exeext
24308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24309 (eval $ac_link) 2>conftest.er1
24310 ac_status=$?
24311 grep -v '^ *+' conftest.er1 >conftest.err
24312 rm -f conftest.er1
24313 cat conftest.err >&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } &&
24316 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24318 (eval $ac_try) 2>&5
24319 ac_status=$?
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); }; } &&
24322 { ac_try='test -s conftest$ac_exeext'
24323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24324 (eval $ac_try) 2>&5
24325 ac_status=$?
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; }; then
24328 eval wx_cv_func_$wx_func=yes
24329 else
24330 echo "$as_me: failed program was:" >&5
24331 sed 's/^/| /' conftest.$ac_ext >&5
24332
24333 eval wx_cv_func_$wx_func=no
24334 fi
24335 rm -f conftest.err conftest.$ac_objext \
24336 conftest$ac_exeext conftest.$ac_ext
24337
24338 fi
24339 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24340 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24341
24342 if eval test \$wx_cv_func_$wx_func = yes
24343 then
24344 cat >>confdefs.h <<_ACEOF
24345 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24346 _ACEOF
24347
24348
24349 else
24350 :
24351
24352 fi
24353 done
24354
24355 else
24356
24357 for wx_func in strtoull
24358 do
24359 echo "$as_me:$LINENO: checking for $wx_func" >&5
24360 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
24361 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
24362 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 else
24364
24365 cat >conftest.$ac_ext <<_ACEOF
24366
24367 /* confdefs.h. */
24368 _ACEOF
24369 cat confdefs.h >>conftest.$ac_ext
24370 cat >>conftest.$ac_ext <<_ACEOF
24371 /* end confdefs.h. */
24372
24373
24374 $ac_includes_default
24375
24376 int
24377 main ()
24378 {
24379
24380 #ifndef $wx_func
24381 &$wx_func;
24382 #endif
24383
24384
24385 ;
24386 return 0;
24387 }
24388
24389 _ACEOF
24390 rm -f conftest.$ac_objext conftest$ac_exeext
24391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24392 (eval $ac_link) 2>conftest.er1
24393 ac_status=$?
24394 grep -v '^ *+' conftest.er1 >conftest.err
24395 rm -f conftest.er1
24396 cat conftest.err >&5
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); } &&
24399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24401 (eval $ac_try) 2>&5
24402 ac_status=$?
24403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24404 (exit $ac_status); }; } &&
24405 { ac_try='test -s conftest$ac_exeext'
24406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24407 (eval $ac_try) 2>&5
24408 ac_status=$?
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); }; }; then
24411 eval wx_cv_func_$wx_func=yes
24412 else
24413 echo "$as_me: failed program was:" >&5
24414 sed 's/^/| /' conftest.$ac_ext >&5
24415
24416 eval wx_cv_func_$wx_func=no
24417 fi
24418 rm -f conftest.err conftest.$ac_objext \
24419 conftest$ac_exeext conftest.$ac_ext
24420
24421 fi
24422 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
24423 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
24424
24425 if eval test \$wx_cv_func_$wx_func = yes
24426 then
24427 cat >>confdefs.h <<_ACEOF
24428 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24429 _ACEOF
24430
24431
24432 else
24433 :
24434
24435 fi
24436 done
24437
24438 fi
24439 ac_ext=c
24440 ac_cpp='$CPP $CPPFLAGS'
24441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24444
24445
24446
24447
24448 if test "$wxUSE_REGEX" != "no"; then
24449 cat >>confdefs.h <<\_ACEOF
24450 #define wxUSE_REGEX 1
24451 _ACEOF
24452
24453
24454 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24455 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24456 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24457 wxUSE_REGEX=builtin
24458 fi
24459
24460 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24461 echo "$as_me:$LINENO: checking for regex.h" >&5
24462 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24463 if test "${ac_cv_header_regex_h+set}" = set; then
24464 echo $ECHO_N "(cached) $ECHO_C" >&6
24465 else
24466 cat >conftest.$ac_ext <<_ACEOF
24467 /* confdefs.h. */
24468 _ACEOF
24469 cat confdefs.h >>conftest.$ac_ext
24470 cat >>conftest.$ac_ext <<_ACEOF
24471 /* end confdefs.h. */
24472
24473
24474 #include <regex.h>
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 ac_cv_header_regex_h=yes
24498 else
24499 echo "$as_me: failed program was:" >&5
24500 sed 's/^/| /' conftest.$ac_ext >&5
24501
24502 ac_cv_header_regex_h=no
24503 fi
24504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24505 fi
24506 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24507 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24508 if test $ac_cv_header_regex_h = yes; then
24509
24510
24511 for ac_func in regcomp re_search
24512 do
24513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24514 echo "$as_me:$LINENO: checking for $ac_func" >&5
24515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24516 if eval "test \"\${$as_ac_var+set}\" = set"; then
24517 echo $ECHO_N "(cached) $ECHO_C" >&6
24518 else
24519 cat >conftest.$ac_ext <<_ACEOF
24520 /* confdefs.h. */
24521 _ACEOF
24522 cat confdefs.h >>conftest.$ac_ext
24523 cat >>conftest.$ac_ext <<_ACEOF
24524 /* end confdefs.h. */
24525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24527 #define $ac_func innocuous_$ac_func
24528
24529 /* System header to define __stub macros and hopefully few prototypes,
24530 which can conflict with char $ac_func (); below.
24531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24532 <limits.h> exists even on freestanding compilers. */
24533
24534 #ifdef __STDC__
24535 # include <limits.h>
24536 #else
24537 # include <assert.h>
24538 #endif
24539
24540 #undef $ac_func
24541
24542 /* Override any gcc2 internal prototype to avoid an error. */
24543 #ifdef __cplusplus
24544 extern "C"
24545 {
24546 #endif
24547 /* We use char because int might match the return type of a gcc2
24548 builtin and then its argument prototype would still apply. */
24549 char $ac_func ();
24550 /* The GNU C library defines this for functions which it implements
24551 to always fail with ENOSYS. Some functions are actually named
24552 something starting with __ and the normal name is an alias. */
24553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24554 choke me
24555 #else
24556 char (*f) () = $ac_func;
24557 #endif
24558 #ifdef __cplusplus
24559 }
24560 #endif
24561
24562 int
24563 main ()
24564 {
24565 return f != $ac_func;
24566 ;
24567 return 0;
24568 }
24569 _ACEOF
24570 rm -f conftest.$ac_objext conftest$ac_exeext
24571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24572 (eval $ac_link) 2>conftest.er1
24573 ac_status=$?
24574 grep -v '^ *+' conftest.er1 >conftest.err
24575 rm -f conftest.er1
24576 cat conftest.err >&5
24577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578 (exit $ac_status); } &&
24579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24581 (eval $ac_try) 2>&5
24582 ac_status=$?
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); }; } &&
24585 { ac_try='test -s conftest$ac_exeext'
24586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24587 (eval $ac_try) 2>&5
24588 ac_status=$?
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); }; }; then
24591 eval "$as_ac_var=yes"
24592 else
24593 echo "$as_me: failed program was:" >&5
24594 sed 's/^/| /' conftest.$ac_ext >&5
24595
24596 eval "$as_ac_var=no"
24597 fi
24598 rm -f conftest.err conftest.$ac_objext \
24599 conftest$ac_exeext conftest.$ac_ext
24600 fi
24601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24603 if test `eval echo '${'$as_ac_var'}'` = yes; then
24604 cat >>confdefs.h <<_ACEOF
24605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24606 _ACEOF
24607
24608 fi
24609 done
24610
24611 fi
24612
24613
24614
24615 if test "x$ac_cv_func_regcomp" != "xyes"; then
24616 if test "$wxUSE_REGEX" = "sys" ; then
24617 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24618 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24619 { (exit 1); exit 1; }; }
24620 else
24621 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24622 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24623 wxUSE_REGEX=builtin
24624 fi
24625 else
24626 wxUSE_REGEX=sys
24627 cat >>confdefs.h <<\_ACEOF
24628 #define WX_NO_REGEX_ADVANCED 1
24629 _ACEOF
24630
24631 fi
24632 fi
24633 fi
24634
24635
24636 ZLIB_LINK=
24637 if test "$wxUSE_ZLIB" != "no" ; then
24638 cat >>confdefs.h <<\_ACEOF
24639 #define wxUSE_ZLIB 1
24640 _ACEOF
24641
24642
24643 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24644 if test "$USE_DARWIN" = 1; then
24645 system_zlib_h_ok="yes"
24646 else
24647 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24648 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24649 if test "${ac_cv_header_zlib_h+set}" = set; then
24650 echo $ECHO_N "(cached) $ECHO_C" >&6
24651 else
24652 if test "$cross_compiling" = yes; then
24653 unset ac_cv_header_zlib_h
24654
24655 else
24656 cat >conftest.$ac_ext <<_ACEOF
24657 /* confdefs.h. */
24658 _ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24662
24663 #include <zlib.h>
24664 #include <stdio.h>
24665
24666 int main()
24667 {
24668 FILE *f=fopen("conftestval", "w");
24669 if (!f) exit(1);
24670 fprintf(f, "%s",
24671 ZLIB_VERSION[0] == '1' &&
24672 (ZLIB_VERSION[2] > '1' ||
24673 (ZLIB_VERSION[2] == '1' &&
24674 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24675 exit(0);
24676 }
24677
24678 _ACEOF
24679 rm -f conftest$ac_exeext
24680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24681 (eval $ac_link) 2>&5
24682 ac_status=$?
24683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24686 (eval $ac_try) 2>&5
24687 ac_status=$?
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); }; }; then
24690 ac_cv_header_zlib_h=`cat conftestval`
24691 else
24692 echo "$as_me: program exited with status $ac_status" >&5
24693 echo "$as_me: failed program was:" >&5
24694 sed 's/^/| /' conftest.$ac_ext >&5
24695
24696 ( exit $ac_status )
24697 ac_cv_header_zlib_h=no
24698 fi
24699 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24700 fi
24701
24702 fi
24703 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24704 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24705 echo "$as_me:$LINENO: checking for zlib.h" >&5
24706 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24707 if test "${ac_cv_header_zlib_h+set}" = set; then
24708 echo $ECHO_N "(cached) $ECHO_C" >&6
24709 else
24710 cat >conftest.$ac_ext <<_ACEOF
24711 /* confdefs.h. */
24712 _ACEOF
24713 cat confdefs.h >>conftest.$ac_ext
24714 cat >>conftest.$ac_ext <<_ACEOF
24715 /* end confdefs.h. */
24716
24717
24718 #include <zlib.h>
24719 _ACEOF
24720 rm -f conftest.$ac_objext
24721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24722 (eval $ac_compile) 2>conftest.er1
24723 ac_status=$?
24724 grep -v '^ *+' conftest.er1 >conftest.err
24725 rm -f conftest.er1
24726 cat conftest.err >&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); } &&
24729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24731 (eval $ac_try) 2>&5
24732 ac_status=$?
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); }; } &&
24735 { ac_try='test -s conftest.$ac_objext'
24736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737 (eval $ac_try) 2>&5
24738 ac_status=$?
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); }; }; then
24741 ac_cv_header_zlib_h=yes
24742 else
24743 echo "$as_me: failed program was:" >&5
24744 sed 's/^/| /' conftest.$ac_ext >&5
24745
24746 ac_cv_header_zlib_h=no
24747 fi
24748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24749 fi
24750 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24751 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24752
24753
24754
24755 system_zlib_h_ok=$ac_cv_header_zlib_h
24756 fi
24757
24758 if test "$system_zlib_h_ok" = "yes"; then
24759 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24760 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24761 if test "${ac_cv_lib_z_deflate+set}" = set; then
24762 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 else
24764 ac_check_lib_save_LIBS=$LIBS
24765 LIBS="-lz $LIBS"
24766 cat >conftest.$ac_ext <<_ACEOF
24767 /* confdefs.h. */
24768 _ACEOF
24769 cat confdefs.h >>conftest.$ac_ext
24770 cat >>conftest.$ac_ext <<_ACEOF
24771 /* end confdefs.h. */
24772
24773 /* Override any gcc2 internal prototype to avoid an error. */
24774 #ifdef __cplusplus
24775 extern "C"
24776 #endif
24777 /* We use char because int might match the return type of a gcc2
24778 builtin and then its argument prototype would still apply. */
24779 char deflate ();
24780 int
24781 main ()
24782 {
24783 deflate ();
24784 ;
24785 return 0;
24786 }
24787 _ACEOF
24788 rm -f conftest.$ac_objext conftest$ac_exeext
24789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24790 (eval $ac_link) 2>conftest.er1
24791 ac_status=$?
24792 grep -v '^ *+' conftest.er1 >conftest.err
24793 rm -f conftest.er1
24794 cat conftest.err >&5
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); } &&
24797 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24799 (eval $ac_try) 2>&5
24800 ac_status=$?
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); }; } &&
24803 { ac_try='test -s conftest$ac_exeext'
24804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24805 (eval $ac_try) 2>&5
24806 ac_status=$?
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); }; }; then
24809 ac_cv_lib_z_deflate=yes
24810 else
24811 echo "$as_me: failed program was:" >&5
24812 sed 's/^/| /' conftest.$ac_ext >&5
24813
24814 ac_cv_lib_z_deflate=no
24815 fi
24816 rm -f conftest.err conftest.$ac_objext \
24817 conftest$ac_exeext conftest.$ac_ext
24818 LIBS=$ac_check_lib_save_LIBS
24819 fi
24820 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24821 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24822 if test $ac_cv_lib_z_deflate = yes; then
24823 ZLIB_LINK=" -lz"
24824 fi
24825
24826 fi
24827
24828 if test "x$ZLIB_LINK" = "x" ; then
24829 if test "$wxUSE_ZLIB" = "sys" ; then
24830 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24831 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24832 { (exit 1); exit 1; }; }
24833 else
24834 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24835 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24836 wxUSE_ZLIB=builtin
24837 fi
24838 else
24839 wxUSE_ZLIB=sys
24840 fi
24841 fi
24842 fi
24843
24844
24845 PNG_LINK=
24846 if test "$wxUSE_LIBPNG" != "no" ; then
24847 cat >>confdefs.h <<\_ACEOF
24848 #define wxUSE_LIBPNG 1
24849 _ACEOF
24850
24851
24852 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24853 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24854 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24855 wxUSE_LIBPNG=sys
24856 fi
24857
24858 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24859 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24860 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24861 wxUSE_LIBPNG=builtin
24862 fi
24863
24864 if test "$wxUSE_MGL" != 1 ; then
24865 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24866 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24867 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24868 if test "${ac_cv_header_png_h+set}" = set; then
24869 echo $ECHO_N "(cached) $ECHO_C" >&6
24870 else
24871 if test "$cross_compiling" = yes; then
24872 unset ac_cv_header_png_h
24873
24874 else
24875 cat >conftest.$ac_ext <<_ACEOF
24876 /* confdefs.h. */
24877 _ACEOF
24878 cat confdefs.h >>conftest.$ac_ext
24879 cat >>conftest.$ac_ext <<_ACEOF
24880 /* end confdefs.h. */
24881
24882 #include <png.h>
24883 #include <stdio.h>
24884
24885 int main()
24886 {
24887 FILE *f=fopen("conftestval", "w");
24888 if (!f) exit(1);
24889 fprintf(f, "%s",
24890 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24891 exit(0);
24892 }
24893
24894 _ACEOF
24895 rm -f conftest$ac_exeext
24896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24897 (eval $ac_link) 2>&5
24898 ac_status=$?
24899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902 (eval $ac_try) 2>&5
24903 ac_status=$?
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; }; then
24906 ac_cv_header_png_h=`cat conftestval`
24907 else
24908 echo "$as_me: program exited with status $ac_status" >&5
24909 echo "$as_me: failed program was:" >&5
24910 sed 's/^/| /' conftest.$ac_ext >&5
24911
24912 ( exit $ac_status )
24913 ac_cv_header_png_h=no
24914 fi
24915 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24916 fi
24917
24918 fi
24919 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24920 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24921 echo "$as_me:$LINENO: checking for png.h" >&5
24922 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24923 if test "${ac_cv_header_png_h+set}" = set; then
24924 echo $ECHO_N "(cached) $ECHO_C" >&6
24925 else
24926 cat >conftest.$ac_ext <<_ACEOF
24927 /* confdefs.h. */
24928 _ACEOF
24929 cat confdefs.h >>conftest.$ac_ext
24930 cat >>conftest.$ac_ext <<_ACEOF
24931 /* end confdefs.h. */
24932
24933
24934 #include <png.h>
24935 _ACEOF
24936 rm -f conftest.$ac_objext
24937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24938 (eval $ac_compile) 2>conftest.er1
24939 ac_status=$?
24940 grep -v '^ *+' conftest.er1 >conftest.err
24941 rm -f conftest.er1
24942 cat conftest.err >&5
24943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24944 (exit $ac_status); } &&
24945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24947 (eval $ac_try) 2>&5
24948 ac_status=$?
24949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24950 (exit $ac_status); }; } &&
24951 { ac_try='test -s conftest.$ac_objext'
24952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24953 (eval $ac_try) 2>&5
24954 ac_status=$?
24955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24956 (exit $ac_status); }; }; then
24957 ac_cv_header_png_h=yes
24958 else
24959 echo "$as_me: failed program was:" >&5
24960 sed 's/^/| /' conftest.$ac_ext >&5
24961
24962 ac_cv_header_png_h=no
24963 fi
24964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24965 fi
24966 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24967 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24968
24969
24970
24971 if test "$ac_cv_header_png_h" = "yes"; then
24972 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24973 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24974 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24975 echo $ECHO_N "(cached) $ECHO_C" >&6
24976 else
24977 ac_check_lib_save_LIBS=$LIBS
24978 LIBS="-lpng -lz -lm $LIBS"
24979 cat >conftest.$ac_ext <<_ACEOF
24980 /* confdefs.h. */
24981 _ACEOF
24982 cat confdefs.h >>conftest.$ac_ext
24983 cat >>conftest.$ac_ext <<_ACEOF
24984 /* end confdefs.h. */
24985
24986 /* Override any gcc2 internal prototype to avoid an error. */
24987 #ifdef __cplusplus
24988 extern "C"
24989 #endif
24990 /* We use char because int might match the return type of a gcc2
24991 builtin and then its argument prototype would still apply. */
24992 char png_check_sig ();
24993 int
24994 main ()
24995 {
24996 png_check_sig ();
24997 ;
24998 return 0;
24999 }
25000 _ACEOF
25001 rm -f conftest.$ac_objext conftest$ac_exeext
25002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25003 (eval $ac_link) 2>conftest.er1
25004 ac_status=$?
25005 grep -v '^ *+' conftest.er1 >conftest.err
25006 rm -f conftest.er1
25007 cat conftest.err >&5
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); } &&
25010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012 (eval $ac_try) 2>&5
25013 ac_status=$?
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); }; } &&
25016 { ac_try='test -s conftest$ac_exeext'
25017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25018 (eval $ac_try) 2>&5
25019 ac_status=$?
25020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25021 (exit $ac_status); }; }; then
25022 ac_cv_lib_png_png_check_sig=yes
25023 else
25024 echo "$as_me: failed program was:" >&5
25025 sed 's/^/| /' conftest.$ac_ext >&5
25026
25027 ac_cv_lib_png_png_check_sig=no
25028 fi
25029 rm -f conftest.err conftest.$ac_objext \
25030 conftest$ac_exeext conftest.$ac_ext
25031 LIBS=$ac_check_lib_save_LIBS
25032 fi
25033 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25034 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25035 if test $ac_cv_lib_png_png_check_sig = yes; then
25036 PNG_LINK=" -lpng -lz"
25037 fi
25038
25039 fi
25040
25041 if test "x$PNG_LINK" = "x" ; then
25042 if test "$wxUSE_LIBPNG" = "sys" ; then
25043 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25044 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25045 { (exit 1); exit 1; }; }
25046 else
25047 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25048 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25049 wxUSE_LIBPNG=builtin
25050 fi
25051 else
25052 wxUSE_LIBPNG=sys
25053 fi
25054 fi
25055 fi
25056
25057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25058 fi
25059
25060
25061 JPEG_LINK=
25062 if test "$wxUSE_LIBJPEG" != "no" ; then
25063 cat >>confdefs.h <<\_ACEOF
25064 #define wxUSE_LIBJPEG 1
25065 _ACEOF
25066
25067
25068 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25069 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25070 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25071 wxUSE_LIBJPEG=sys
25072 fi
25073
25074 if test "$wxUSE_MGL" != 1 ; then
25075 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25076 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25077 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25078 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25079 echo $ECHO_N "(cached) $ECHO_C" >&6
25080 else
25081 cat >conftest.$ac_ext <<_ACEOF
25082 /* confdefs.h. */
25083 _ACEOF
25084 cat confdefs.h >>conftest.$ac_ext
25085 cat >>conftest.$ac_ext <<_ACEOF
25086 /* end confdefs.h. */
25087
25088 #undef HAVE_STDLIB_H
25089 #include <stdio.h>
25090 #include <jpeglib.h>
25091
25092 int
25093 main ()
25094 {
25095
25096
25097 ;
25098 return 0;
25099 }
25100 _ACEOF
25101 rm -f conftest.$ac_objext
25102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25103 (eval $ac_compile) 2>conftest.er1
25104 ac_status=$?
25105 grep -v '^ *+' conftest.er1 >conftest.err
25106 rm -f conftest.er1
25107 cat conftest.err >&5
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); } &&
25110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25112 (eval $ac_try) 2>&5
25113 ac_status=$?
25114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25115 (exit $ac_status); }; } &&
25116 { ac_try='test -s conftest.$ac_objext'
25117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25118 (eval $ac_try) 2>&5
25119 ac_status=$?
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); }; }; then
25122 ac_cv_header_jpeglib_h=yes
25123 else
25124 echo "$as_me: failed program was:" >&5
25125 sed 's/^/| /' conftest.$ac_ext >&5
25126
25127 ac_cv_header_jpeglib_h=no
25128
25129 fi
25130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25131
25132 fi
25133
25134 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25135 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25136
25137 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25138 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25139 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25140 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25141 echo $ECHO_N "(cached) $ECHO_C" >&6
25142 else
25143 ac_check_lib_save_LIBS=$LIBS
25144 LIBS="-ljpeg $LIBS"
25145 cat >conftest.$ac_ext <<_ACEOF
25146 /* confdefs.h. */
25147 _ACEOF
25148 cat confdefs.h >>conftest.$ac_ext
25149 cat >>conftest.$ac_ext <<_ACEOF
25150 /* end confdefs.h. */
25151
25152 /* Override any gcc2 internal prototype to avoid an error. */
25153 #ifdef __cplusplus
25154 extern "C"
25155 #endif
25156 /* We use char because int might match the return type of a gcc2
25157 builtin and then its argument prototype would still apply. */
25158 char jpeg_read_header ();
25159 int
25160 main ()
25161 {
25162 jpeg_read_header ();
25163 ;
25164 return 0;
25165 }
25166 _ACEOF
25167 rm -f conftest.$ac_objext conftest$ac_exeext
25168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25169 (eval $ac_link) 2>conftest.er1
25170 ac_status=$?
25171 grep -v '^ *+' conftest.er1 >conftest.err
25172 rm -f conftest.er1
25173 cat conftest.err >&5
25174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25175 (exit $ac_status); } &&
25176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25178 (eval $ac_try) 2>&5
25179 ac_status=$?
25180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25181 (exit $ac_status); }; } &&
25182 { ac_try='test -s conftest$ac_exeext'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25185 ac_status=$?
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; }; then
25188 ac_cv_lib_jpeg_jpeg_read_header=yes
25189 else
25190 echo "$as_me: failed program was:" >&5
25191 sed 's/^/| /' conftest.$ac_ext >&5
25192
25193 ac_cv_lib_jpeg_jpeg_read_header=no
25194 fi
25195 rm -f conftest.err conftest.$ac_objext \
25196 conftest$ac_exeext conftest.$ac_ext
25197 LIBS=$ac_check_lib_save_LIBS
25198 fi
25199 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25200 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25201 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25202 JPEG_LINK=" -ljpeg"
25203 fi
25204
25205 fi
25206
25207 if test "x$JPEG_LINK" = "x" ; then
25208 if test "$wxUSE_LIBJPEG" = "sys" ; then
25209 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25210 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25211 { (exit 1); exit 1; }; }
25212 else
25213 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25214 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25215 wxUSE_LIBJPEG=builtin
25216 fi
25217 else
25218 wxUSE_LIBJPEG=sys
25219
25220 if test "$wxUSE_MSW" = 1; then
25221 echo "$as_me:$LINENO: checking for boolean" >&5
25222 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
25223 if test "${ac_cv_type_boolean+set}" = set; then
25224 echo $ECHO_N "(cached) $ECHO_C" >&6
25225 else
25226 cat >conftest.$ac_ext <<_ACEOF
25227 /* confdefs.h. */
25228 _ACEOF
25229 cat confdefs.h >>conftest.$ac_ext
25230 cat >>conftest.$ac_ext <<_ACEOF
25231 /* end confdefs.h. */
25232 #include <windows.h>
25233
25234 int
25235 main ()
25236 {
25237 if ((boolean *) 0)
25238 return 0;
25239 if (sizeof (boolean))
25240 return 0;
25241 ;
25242 return 0;
25243 }
25244 _ACEOF
25245 rm -f conftest.$ac_objext
25246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25247 (eval $ac_compile) 2>conftest.er1
25248 ac_status=$?
25249 grep -v '^ *+' conftest.er1 >conftest.err
25250 rm -f conftest.er1
25251 cat conftest.err >&5
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); } &&
25254 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25256 (eval $ac_try) 2>&5
25257 ac_status=$?
25258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25259 (exit $ac_status); }; } &&
25260 { ac_try='test -s conftest.$ac_objext'
25261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25262 (eval $ac_try) 2>&5
25263 ac_status=$?
25264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25265 (exit $ac_status); }; }; then
25266 ac_cv_type_boolean=yes
25267 else
25268 echo "$as_me: failed program was:" >&5
25269 sed 's/^/| /' conftest.$ac_ext >&5
25270
25271 ac_cv_type_boolean=no
25272 fi
25273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25274 fi
25275 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25276 echo "${ECHO_T}$ac_cv_type_boolean" >&6
25277 if test $ac_cv_type_boolean = yes; then
25278
25279 cat >>confdefs.h <<_ACEOF
25280 #define HAVE_BOOLEAN 1
25281 _ACEOF
25282
25283
25284 echo "$as_me:$LINENO: checking for boolean" >&5
25285 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
25286 if test "${ac_cv_type_boolean+set}" = set; then
25287 echo $ECHO_N "(cached) $ECHO_C" >&6
25288 else
25289 cat >conftest.$ac_ext <<_ACEOF
25290 /* confdefs.h. */
25291 _ACEOF
25292 cat confdefs.h >>conftest.$ac_ext
25293 cat >>conftest.$ac_ext <<_ACEOF
25294 /* end confdefs.h. */
25295
25296 #undef HAVE_BOOLEAN
25297 #include <stdio.h>
25298 #include <jpeglib.h>
25299
25300
25301 int
25302 main ()
25303 {
25304 if ((boolean *) 0)
25305 return 0;
25306 if (sizeof (boolean))
25307 return 0;
25308 ;
25309 return 0;
25310 }
25311 _ACEOF
25312 rm -f conftest.$ac_objext
25313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25314 (eval $ac_compile) 2>conftest.er1
25315 ac_status=$?
25316 grep -v '^ *+' conftest.er1 >conftest.err
25317 rm -f conftest.er1
25318 cat conftest.err >&5
25319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25320 (exit $ac_status); } &&
25321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25323 (eval $ac_try) 2>&5
25324 ac_status=$?
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); }; } &&
25327 { ac_try='test -s conftest.$ac_objext'
25328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25329 (eval $ac_try) 2>&5
25330 ac_status=$?
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); }; }; then
25333 ac_cv_type_boolean=yes
25334 else
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.$ac_ext >&5
25337
25338 ac_cv_type_boolean=no
25339 fi
25340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25341 fi
25342 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25343 echo "${ECHO_T}$ac_cv_type_boolean" >&6
25344
25345 echo "$as_me:$LINENO: checking size of boolean" >&5
25346 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
25347 if test "${ac_cv_sizeof_boolean+set}" = set; then
25348 echo $ECHO_N "(cached) $ECHO_C" >&6
25349 else
25350 if test "$ac_cv_type_boolean" = yes; then
25351 # The cast to unsigned long works around a bug in the HP C Compiler
25352 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25353 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25354 # This bug is HP SR number 8606223364.
25355 if test "$cross_compiling" = yes; then
25356 # Depending upon the size, compute the lo and hi bounds.
25357 cat >conftest.$ac_ext <<_ACEOF
25358 /* confdefs.h. */
25359 _ACEOF
25360 cat confdefs.h >>conftest.$ac_ext
25361 cat >>conftest.$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25363
25364 #undef HAVE_BOOLEAN
25365 #include <stdio.h>
25366 #include <jpeglib.h>
25367
25368
25369 int
25370 main ()
25371 {
25372 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
25373 test_array [0] = 0
25374
25375 ;
25376 return 0;
25377 }
25378 _ACEOF
25379 rm -f conftest.$ac_objext
25380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25381 (eval $ac_compile) 2>conftest.er1
25382 ac_status=$?
25383 grep -v '^ *+' conftest.er1 >conftest.err
25384 rm -f conftest.er1
25385 cat conftest.err >&5
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); } &&
25388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25390 (eval $ac_try) 2>&5
25391 ac_status=$?
25392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393 (exit $ac_status); }; } &&
25394 { ac_try='test -s conftest.$ac_objext'
25395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25396 (eval $ac_try) 2>&5
25397 ac_status=$?
25398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25399 (exit $ac_status); }; }; then
25400 ac_lo=0 ac_mid=0
25401 while :; do
25402 cat >conftest.$ac_ext <<_ACEOF
25403 /* confdefs.h. */
25404 _ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25408
25409 #undef HAVE_BOOLEAN
25410 #include <stdio.h>
25411 #include <jpeglib.h>
25412
25413
25414 int
25415 main ()
25416 {
25417 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25418 test_array [0] = 0
25419
25420 ;
25421 return 0;
25422 }
25423 _ACEOF
25424 rm -f conftest.$ac_objext
25425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25426 (eval $ac_compile) 2>conftest.er1
25427 ac_status=$?
25428 grep -v '^ *+' conftest.er1 >conftest.err
25429 rm -f conftest.er1
25430 cat conftest.err >&5
25431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25432 (exit $ac_status); } &&
25433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435 (eval $ac_try) 2>&5
25436 ac_status=$?
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); }; } &&
25439 { ac_try='test -s conftest.$ac_objext'
25440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25441 (eval $ac_try) 2>&5
25442 ac_status=$?
25443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444 (exit $ac_status); }; }; then
25445 ac_hi=$ac_mid; break
25446 else
25447 echo "$as_me: failed program was:" >&5
25448 sed 's/^/| /' conftest.$ac_ext >&5
25449
25450 ac_lo=`expr $ac_mid + 1`
25451 if test $ac_lo -le $ac_mid; then
25452 ac_lo= ac_hi=
25453 break
25454 fi
25455 ac_mid=`expr 2 '*' $ac_mid + 1`
25456 fi
25457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25458 done
25459 else
25460 echo "$as_me: failed program was:" >&5
25461 sed 's/^/| /' conftest.$ac_ext >&5
25462
25463 cat >conftest.$ac_ext <<_ACEOF
25464 /* confdefs.h. */
25465 _ACEOF
25466 cat confdefs.h >>conftest.$ac_ext
25467 cat >>conftest.$ac_ext <<_ACEOF
25468 /* end confdefs.h. */
25469
25470 #undef HAVE_BOOLEAN
25471 #include <stdio.h>
25472 #include <jpeglib.h>
25473
25474
25475 int
25476 main ()
25477 {
25478 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
25479 test_array [0] = 0
25480
25481 ;
25482 return 0;
25483 }
25484 _ACEOF
25485 rm -f conftest.$ac_objext
25486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25487 (eval $ac_compile) 2>conftest.er1
25488 ac_status=$?
25489 grep -v '^ *+' conftest.er1 >conftest.err
25490 rm -f conftest.er1
25491 cat conftest.err >&5
25492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25493 (exit $ac_status); } &&
25494 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25496 (eval $ac_try) 2>&5
25497 ac_status=$?
25498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25499 (exit $ac_status); }; } &&
25500 { ac_try='test -s conftest.$ac_objext'
25501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25502 (eval $ac_try) 2>&5
25503 ac_status=$?
25504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25505 (exit $ac_status); }; }; then
25506 ac_hi=-1 ac_mid=-1
25507 while :; do
25508 cat >conftest.$ac_ext <<_ACEOF
25509 /* confdefs.h. */
25510 _ACEOF
25511 cat confdefs.h >>conftest.$ac_ext
25512 cat >>conftest.$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25514
25515 #undef HAVE_BOOLEAN
25516 #include <stdio.h>
25517 #include <jpeglib.h>
25518
25519
25520 int
25521 main ()
25522 {
25523 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
25524 test_array [0] = 0
25525
25526 ;
25527 return 0;
25528 }
25529 _ACEOF
25530 rm -f conftest.$ac_objext
25531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25532 (eval $ac_compile) 2>conftest.er1
25533 ac_status=$?
25534 grep -v '^ *+' conftest.er1 >conftest.err
25535 rm -f conftest.er1
25536 cat conftest.err >&5
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } &&
25539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25541 (eval $ac_try) 2>&5
25542 ac_status=$?
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); }; } &&
25545 { ac_try='test -s conftest.$ac_objext'
25546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25547 (eval $ac_try) 2>&5
25548 ac_status=$?
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); }; }; then
25551 ac_lo=$ac_mid; break
25552 else
25553 echo "$as_me: failed program was:" >&5
25554 sed 's/^/| /' conftest.$ac_ext >&5
25555
25556 ac_hi=`expr '(' $ac_mid ')' - 1`
25557 if test $ac_mid -le $ac_hi; then
25558 ac_lo= ac_hi=
25559 break
25560 fi
25561 ac_mid=`expr 2 '*' $ac_mid`
25562 fi
25563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25564 done
25565 else
25566 echo "$as_me: failed program was:" >&5
25567 sed 's/^/| /' conftest.$ac_ext >&5
25568
25569 ac_lo= ac_hi=
25570 fi
25571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25572 fi
25573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25574 # Binary search between lo and hi bounds.
25575 while test "x$ac_lo" != "x$ac_hi"; do
25576 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25577 cat >conftest.$ac_ext <<_ACEOF
25578 /* confdefs.h. */
25579 _ACEOF
25580 cat confdefs.h >>conftest.$ac_ext
25581 cat >>conftest.$ac_ext <<_ACEOF
25582 /* end confdefs.h. */
25583
25584 #undef HAVE_BOOLEAN
25585 #include <stdio.h>
25586 #include <jpeglib.h>
25587
25588
25589 int
25590 main ()
25591 {
25592 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
25593 test_array [0] = 0
25594
25595 ;
25596 return 0;
25597 }
25598 _ACEOF
25599 rm -f conftest.$ac_objext
25600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25601 (eval $ac_compile) 2>conftest.er1
25602 ac_status=$?
25603 grep -v '^ *+' conftest.er1 >conftest.err
25604 rm -f conftest.er1
25605 cat conftest.err >&5
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); } &&
25608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25610 (eval $ac_try) 2>&5
25611 ac_status=$?
25612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613 (exit $ac_status); }; } &&
25614 { ac_try='test -s conftest.$ac_objext'
25615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25616 (eval $ac_try) 2>&5
25617 ac_status=$?
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); }; }; then
25620 ac_hi=$ac_mid
25621 else
25622 echo "$as_me: failed program was:" >&5
25623 sed 's/^/| /' conftest.$ac_ext >&5
25624
25625 ac_lo=`expr '(' $ac_mid ')' + 1`
25626 fi
25627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25628 done
25629 case $ac_lo in
25630 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25631 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25632 See \`config.log' for more details." >&5
25633 echo "$as_me: error: cannot compute sizeof (boolean), 77
25634 See \`config.log' for more details." >&2;}
25635 { (exit 1); exit 1; }; } ;;
25636 esac
25637 else
25638 if test "$cross_compiling" = yes; then
25639 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
25640 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
25641 { (exit 1); exit 1; }; }
25642 else
25643 cat >conftest.$ac_ext <<_ACEOF
25644 /* confdefs.h. */
25645 _ACEOF
25646 cat confdefs.h >>conftest.$ac_ext
25647 cat >>conftest.$ac_ext <<_ACEOF
25648 /* end confdefs.h. */
25649
25650 #undef HAVE_BOOLEAN
25651 #include <stdio.h>
25652 #include <jpeglib.h>
25653
25654
25655 long longval () { return (long) (sizeof (boolean)); }
25656 unsigned long ulongval () { return (long) (sizeof (boolean)); }
25657 #include <stdio.h>
25658 #include <stdlib.h>
25659 int
25660 main ()
25661 {
25662
25663 FILE *f = fopen ("conftest.val", "w");
25664 if (! f)
25665 exit (1);
25666 if (((long) (sizeof (boolean))) < 0)
25667 {
25668 long i = longval ();
25669 if (i != ((long) (sizeof (boolean))))
25670 exit (1);
25671 fprintf (f, "%ld\n", i);
25672 }
25673 else
25674 {
25675 unsigned long i = ulongval ();
25676 if (i != ((long) (sizeof (boolean))))
25677 exit (1);
25678 fprintf (f, "%lu\n", i);
25679 }
25680 exit (ferror (f) || fclose (f) != 0);
25681
25682 ;
25683 return 0;
25684 }
25685 _ACEOF
25686 rm -f conftest$ac_exeext
25687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25688 (eval $ac_link) 2>&5
25689 ac_status=$?
25690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25693 (eval $ac_try) 2>&5
25694 ac_status=$?
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); }; }; then
25697 ac_cv_sizeof_boolean=`cat conftest.val`
25698 else
25699 echo "$as_me: program exited with status $ac_status" >&5
25700 echo "$as_me: failed program was:" >&5
25701 sed 's/^/| /' conftest.$ac_ext >&5
25702
25703 ( exit $ac_status )
25704 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
25705 See \`config.log' for more details." >&5
25706 echo "$as_me: error: cannot compute sizeof (boolean), 77
25707 See \`config.log' for more details." >&2;}
25708 { (exit 1); exit 1; }; }
25709 fi
25710 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25711 fi
25712 fi
25713 rm -f conftest.val
25714 else
25715 ac_cv_sizeof_boolean=0
25716 fi
25717 fi
25718 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
25719 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
25720 cat >>confdefs.h <<_ACEOF
25721 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
25722 _ACEOF
25723
25724
25725 cat >>confdefs.h <<_ACEOF
25726 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
25727 _ACEOF
25728
25729
25730 fi
25731
25732 fi
25733 fi
25734 fi
25735 fi
25736 fi
25737
25738
25739 TIFF_LINK=
25740 TIFF_PREREQ_LINKS=-lm
25741 if test "$wxUSE_LIBTIFF" != "no" ; then
25742 cat >>confdefs.h <<\_ACEOF
25743 #define wxUSE_LIBTIFF 1
25744 _ACEOF
25745
25746
25747 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25748 if test "$wxUSE_LIBJPEG" = "sys"; then
25749 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25750 fi
25751 if test "$wxUSE_ZLIB" = "sys"; then
25752 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25753 fi
25754 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25755 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25756 if test "${ac_cv_header_tiffio_h+set}" = set; then
25757 echo $ECHO_N "(cached) $ECHO_C" >&6
25758 else
25759 cat >conftest.$ac_ext <<_ACEOF
25760 /* confdefs.h. */
25761 _ACEOF
25762 cat confdefs.h >>conftest.$ac_ext
25763 cat >>conftest.$ac_ext <<_ACEOF
25764 /* end confdefs.h. */
25765
25766
25767
25768 #include <tiffio.h>
25769 _ACEOF
25770 rm -f conftest.$ac_objext
25771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25772 (eval $ac_compile) 2>conftest.er1
25773 ac_status=$?
25774 grep -v '^ *+' conftest.er1 >conftest.err
25775 rm -f conftest.er1
25776 cat conftest.err >&5
25777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25778 (exit $ac_status); } &&
25779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25781 (eval $ac_try) 2>&5
25782 ac_status=$?
25783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25784 (exit $ac_status); }; } &&
25785 { ac_try='test -s conftest.$ac_objext'
25786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25787 (eval $ac_try) 2>&5
25788 ac_status=$?
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); }; }; then
25791 ac_cv_header_tiffio_h=yes
25792 else
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.$ac_ext >&5
25795
25796 ac_cv_header_tiffio_h=no
25797 fi
25798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25799 fi
25800 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25801 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25802 if test $ac_cv_header_tiffio_h = yes; then
25803
25804 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25805 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25806 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25807 echo $ECHO_N "(cached) $ECHO_C" >&6
25808 else
25809 ac_check_lib_save_LIBS=$LIBS
25810 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25811 cat >conftest.$ac_ext <<_ACEOF
25812 /* confdefs.h. */
25813 _ACEOF
25814 cat confdefs.h >>conftest.$ac_ext
25815 cat >>conftest.$ac_ext <<_ACEOF
25816 /* end confdefs.h. */
25817
25818 /* Override any gcc2 internal prototype to avoid an error. */
25819 #ifdef __cplusplus
25820 extern "C"
25821 #endif
25822 /* We use char because int might match the return type of a gcc2
25823 builtin and then its argument prototype would still apply. */
25824 char TIFFError ();
25825 int
25826 main ()
25827 {
25828 TIFFError ();
25829 ;
25830 return 0;
25831 }
25832 _ACEOF
25833 rm -f conftest.$ac_objext conftest$ac_exeext
25834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25835 (eval $ac_link) 2>conftest.er1
25836 ac_status=$?
25837 grep -v '^ *+' conftest.er1 >conftest.err
25838 rm -f conftest.er1
25839 cat conftest.err >&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); } &&
25842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
25848 { ac_try='test -s conftest$ac_exeext'
25849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25850 (eval $ac_try) 2>&5
25851 ac_status=$?
25852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25853 (exit $ac_status); }; }; then
25854 ac_cv_lib_tiff_TIFFError=yes
25855 else
25856 echo "$as_me: failed program was:" >&5
25857 sed 's/^/| /' conftest.$ac_ext >&5
25858
25859 ac_cv_lib_tiff_TIFFError=no
25860 fi
25861 rm -f conftest.err conftest.$ac_objext \
25862 conftest$ac_exeext conftest.$ac_ext
25863 LIBS=$ac_check_lib_save_LIBS
25864 fi
25865 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25866 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25867 if test $ac_cv_lib_tiff_TIFFError = yes; then
25868 TIFF_LINK=" -ltiff"
25869 fi
25870
25871
25872 fi
25873
25874
25875
25876 if test "x$TIFF_LINK" = "x" ; then
25877 if test "$wxUSE_LIBTIFF" = "sys" ; then
25878 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25879 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25880 { (exit 1); exit 1; }; }
25881 else
25882 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25883 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25884 wxUSE_LIBTIFF=builtin
25885 fi
25886 else
25887 wxUSE_LIBTIFF=sys
25888 fi
25889 fi
25890 fi
25891
25892
25893 if test "$wxUSE_WCHAR_T" != "yes"; then
25894 if test "$wxUSE_EXPAT" != "no"; then
25895 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25896 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25897 wxUSE_EXPAT=no
25898 fi
25899 if test "$wxUSE_XML" != "no"; then
25900 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25901 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25902 wxUSE_XML=no
25903 fi
25904 fi
25905
25906 if test "$wxUSE_EXPAT" != "no"; then
25907 wxUSE_XML=yes
25908 cat >>confdefs.h <<\_ACEOF
25909 #define wxUSE_EXPAT 1
25910 _ACEOF
25911
25912 cat >>confdefs.h <<\_ACEOF
25913 #define wxUSE_XML 1
25914 _ACEOF
25915
25916
25917 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25918 echo "$as_me:$LINENO: checking for expat.h" >&5
25919 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25920 if test "${ac_cv_header_expat_h+set}" = set; then
25921 echo $ECHO_N "(cached) $ECHO_C" >&6
25922 else
25923 cat >conftest.$ac_ext <<_ACEOF
25924 /* confdefs.h. */
25925 _ACEOF
25926 cat confdefs.h >>conftest.$ac_ext
25927 cat >>conftest.$ac_ext <<_ACEOF
25928 /* end confdefs.h. */
25929
25930
25931 #include <expat.h>
25932 _ACEOF
25933 rm -f conftest.$ac_objext
25934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25935 (eval $ac_compile) 2>conftest.er1
25936 ac_status=$?
25937 grep -v '^ *+' conftest.er1 >conftest.err
25938 rm -f conftest.er1
25939 cat conftest.err >&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } &&
25942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944 (eval $ac_try) 2>&5
25945 ac_status=$?
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); }; } &&
25948 { ac_try='test -s conftest.$ac_objext'
25949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25950 (eval $ac_try) 2>&5
25951 ac_status=$?
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); }; }; then
25954 ac_cv_header_expat_h=yes
25955 else
25956 echo "$as_me: failed program was:" >&5
25957 sed 's/^/| /' conftest.$ac_ext >&5
25958
25959 ac_cv_header_expat_h=no
25960 fi
25961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25962 fi
25963 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25964 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25965 if test $ac_cv_header_expat_h = yes; then
25966 found_expat_h=1
25967 fi
25968
25969
25970 if test "x$found_expat_h" = "x1"; then
25971 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25972 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25973 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25974 echo $ECHO_N "(cached) $ECHO_C" >&6
25975 else
25976
25977 ac_ext=cc
25978 ac_cpp='$CXXCPP $CPPFLAGS'
25979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25982
25983 cat >conftest.$ac_ext <<_ACEOF
25984 /* confdefs.h. */
25985 _ACEOF
25986 cat confdefs.h >>conftest.$ac_ext
25987 cat >>conftest.$ac_ext <<_ACEOF
25988 /* end confdefs.h. */
25989 #include <expat.h>
25990 int
25991 main ()
25992 {
25993
25994 ;
25995 return 0;
25996 }
25997 _ACEOF
25998 rm -f conftest.$ac_objext
25999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26000 (eval $ac_compile) 2>conftest.er1
26001 ac_status=$?
26002 grep -v '^ *+' conftest.er1 >conftest.err
26003 rm -f conftest.er1
26004 cat conftest.err >&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); } &&
26007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26010 ac_status=$?
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; } &&
26013 { ac_try='test -s conftest.$ac_objext'
26014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26015 (eval $ac_try) 2>&5
26016 ac_status=$?
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); }; }; then
26019 wx_cv_expat_is_not_broken=yes
26020 else
26021 echo "$as_me: failed program was:" >&5
26022 sed 's/^/| /' conftest.$ac_ext >&5
26023
26024 wx_cv_expat_is_not_broken=no
26025
26026 fi
26027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26028 ac_ext=c
26029 ac_cpp='$CPP $CPPFLAGS'
26030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26033
26034
26035
26036 fi
26037 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26038 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26039 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26040 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26041 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26042 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26043 echo $ECHO_N "(cached) $ECHO_C" >&6
26044 else
26045 ac_check_lib_save_LIBS=$LIBS
26046 LIBS="-lexpat $LIBS"
26047 cat >conftest.$ac_ext <<_ACEOF
26048 /* confdefs.h. */
26049 _ACEOF
26050 cat confdefs.h >>conftest.$ac_ext
26051 cat >>conftest.$ac_ext <<_ACEOF
26052 /* end confdefs.h. */
26053
26054 /* Override any gcc2 internal prototype to avoid an error. */
26055 #ifdef __cplusplus
26056 extern "C"
26057 #endif
26058 /* We use char because int might match the return type of a gcc2
26059 builtin and then its argument prototype would still apply. */
26060 char XML_ParserCreate ();
26061 int
26062 main ()
26063 {
26064 XML_ParserCreate ();
26065 ;
26066 return 0;
26067 }
26068 _ACEOF
26069 rm -f conftest.$ac_objext conftest$ac_exeext
26070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26071 (eval $ac_link) 2>conftest.er1
26072 ac_status=$?
26073 grep -v '^ *+' conftest.er1 >conftest.err
26074 rm -f conftest.er1
26075 cat conftest.err >&5
26076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077 (exit $ac_status); } &&
26078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26080 (eval $ac_try) 2>&5
26081 ac_status=$?
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); }; } &&
26084 { ac_try='test -s conftest$ac_exeext'
26085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26086 (eval $ac_try) 2>&5
26087 ac_status=$?
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); }; }; then
26090 ac_cv_lib_expat_XML_ParserCreate=yes
26091 else
26092 echo "$as_me: failed program was:" >&5
26093 sed 's/^/| /' conftest.$ac_ext >&5
26094
26095 ac_cv_lib_expat_XML_ParserCreate=no
26096 fi
26097 rm -f conftest.err conftest.$ac_objext \
26098 conftest$ac_exeext conftest.$ac_ext
26099 LIBS=$ac_check_lib_save_LIBS
26100 fi
26101 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26102 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26103 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26104 EXPAT_LINK=" -lexpat"
26105 fi
26106
26107 fi
26108 fi
26109 if test "x$EXPAT_LINK" = "x" ; then
26110 if test "$wxUSE_EXPAT" = "sys" ; then
26111 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26112 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26113 { (exit 1); exit 1; }; }
26114 else
26115 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26116 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26117 wxUSE_EXPAT=builtin
26118 fi
26119 else
26120 wxUSE_EXPAT=sys
26121 fi
26122 fi
26123 if test "$wxUSE_EXPAT" = "builtin" ; then
26124
26125
26126 subdirs="$subdirs src/expat"
26127
26128 fi
26129 fi
26130
26131
26132
26133 if test "$wxUSE_LIBMSPACK" != "no"; then
26134 echo "$as_me:$LINENO: checking for mspack.h" >&5
26135 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26136 if test "${ac_cv_header_mspack_h+set}" = set; then
26137 echo $ECHO_N "(cached) $ECHO_C" >&6
26138 else
26139 cat >conftest.$ac_ext <<_ACEOF
26140 /* confdefs.h. */
26141 _ACEOF
26142 cat confdefs.h >>conftest.$ac_ext
26143 cat >>conftest.$ac_ext <<_ACEOF
26144 /* end confdefs.h. */
26145
26146
26147 #include <mspack.h>
26148 _ACEOF
26149 rm -f conftest.$ac_objext
26150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26151 (eval $ac_compile) 2>conftest.er1
26152 ac_status=$?
26153 grep -v '^ *+' conftest.er1 >conftest.err
26154 rm -f conftest.er1
26155 cat conftest.err >&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } &&
26158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; } &&
26164 { ac_try='test -s conftest.$ac_objext'
26165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26166 (eval $ac_try) 2>&5
26167 ac_status=$?
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); }; }; then
26170 ac_cv_header_mspack_h=yes
26171 else
26172 echo "$as_me: failed program was:" >&5
26173 sed 's/^/| /' conftest.$ac_ext >&5
26174
26175 ac_cv_header_mspack_h=no
26176 fi
26177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26178 fi
26179 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26180 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26181 if test $ac_cv_header_mspack_h = yes; then
26182 found_mspack_h=1
26183 fi
26184
26185
26186 if test "x$found_mspack_h" = "x1"; then
26187 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26188 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26189 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26191 else
26192 ac_check_lib_save_LIBS=$LIBS
26193 LIBS="-lmspack $LIBS"
26194 cat >conftest.$ac_ext <<_ACEOF
26195 /* confdefs.h. */
26196 _ACEOF
26197 cat confdefs.h >>conftest.$ac_ext
26198 cat >>conftest.$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26200
26201 /* Override any gcc2 internal prototype to avoid an error. */
26202 #ifdef __cplusplus
26203 extern "C"
26204 #endif
26205 /* We use char because int might match the return type of a gcc2
26206 builtin and then its argument prototype would still apply. */
26207 char mspack_create_chm_decompressor ();
26208 int
26209 main ()
26210 {
26211 mspack_create_chm_decompressor ();
26212 ;
26213 return 0;
26214 }
26215 _ACEOF
26216 rm -f conftest.$ac_objext conftest$ac_exeext
26217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26218 (eval $ac_link) 2>conftest.er1
26219 ac_status=$?
26220 grep -v '^ *+' conftest.er1 >conftest.err
26221 rm -f conftest.er1
26222 cat conftest.err >&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); } &&
26225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26227 (eval $ac_try) 2>&5
26228 ac_status=$?
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; } &&
26231 { ac_try='test -s conftest$ac_exeext'
26232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26233 (eval $ac_try) 2>&5
26234 ac_status=$?
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); }; }; then
26237 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26238 else
26239 echo "$as_me: failed program was:" >&5
26240 sed 's/^/| /' conftest.$ac_ext >&5
26241
26242 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26243 fi
26244 rm -f conftest.err conftest.$ac_objext \
26245 conftest$ac_exeext conftest.$ac_ext
26246 LIBS=$ac_check_lib_save_LIBS
26247 fi
26248 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26249 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26250 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26251 MSPACK_LINK=" -lmspack"
26252 fi
26253
26254 fi
26255 if test "x$MSPACK_LINK" = "x" ; then
26256 wxUSE_LIBMSPACK=no
26257 fi
26258 fi
26259
26260 if test "$wxUSE_LIBMSPACK" != "no"; then
26261 cat >>confdefs.h <<\_ACEOF
26262 #define wxUSE_LIBMSPACK 1
26263 _ACEOF
26264
26265 fi
26266
26267
26268
26269 AFMINSTALL=
26270 WIN32INSTALL=
26271
26272 TOOLKIT=
26273 TOOLKIT_INCLUDE=
26274 WIDGET_SET=
26275
26276 if test "$USE_WIN32" = 1 ; then
26277 echo "$as_me:$LINENO: checking for w32api.h" >&5
26278 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6
26279 if test "${ac_cv_header_w32api_h+set}" = set; then
26280 echo $ECHO_N "(cached) $ECHO_C" >&6
26281 else
26282 cat >conftest.$ac_ext <<_ACEOF
26283 /* confdefs.h. */
26284 _ACEOF
26285 cat confdefs.h >>conftest.$ac_ext
26286 cat >>conftest.$ac_ext <<_ACEOF
26287 /* end confdefs.h. */
26288
26289
26290 #include <w32api.h>
26291 _ACEOF
26292 rm -f conftest.$ac_objext
26293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26294 (eval $ac_compile) 2>conftest.er1
26295 ac_status=$?
26296 grep -v '^ *+' conftest.er1 >conftest.err
26297 rm -f conftest.er1
26298 cat conftest.err >&5
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); } &&
26301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26304 ac_status=$?
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; } &&
26307 { ac_try='test -s conftest.$ac_objext'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26313 ac_cv_header_w32api_h=yes
26314 else
26315 echo "$as_me: failed program was:" >&5
26316 sed 's/^/| /' conftest.$ac_ext >&5
26317
26318 ac_cv_header_w32api_h=no
26319 fi
26320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26321 fi
26322 echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26323 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6
26324
26325
26326 echo "$as_me:$LINENO: checking for windows.h" >&5
26327 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26328 if test "${ac_cv_header_windows_h+set}" = set; then
26329 echo $ECHO_N "(cached) $ECHO_C" >&6
26330 else
26331 cat >conftest.$ac_ext <<_ACEOF
26332 /* confdefs.h. */
26333 _ACEOF
26334 cat confdefs.h >>conftest.$ac_ext
26335 cat >>conftest.$ac_ext <<_ACEOF
26336 /* end confdefs.h. */
26337
26338
26339 #include <windows.h>
26340 _ACEOF
26341 rm -f conftest.$ac_objext
26342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26343 (eval $ac_compile) 2>conftest.er1
26344 ac_status=$?
26345 grep -v '^ *+' conftest.er1 >conftest.err
26346 rm -f conftest.er1
26347 cat conftest.err >&5
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); } &&
26350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26353 ac_status=$?
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; } &&
26356 { ac_try='test -s conftest.$ac_objext'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26359 ac_status=$?
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; }; then
26362 ac_cv_header_windows_h=yes
26363 else
26364 echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.$ac_ext >&5
26366
26367 ac_cv_header_windows_h=no
26368 fi
26369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26370 fi
26371 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26372 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26373 if test $ac_cv_header_windows_h = yes; then
26374 :
26375 else
26376
26377 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26378 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26379 { (exit 1); exit 1; }; }
26380
26381 fi
26382
26383
26384
26385 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26386
26387 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26388 LIBS="$LIBS -loleacc"
26389 fi
26390
26391 case "${host}" in
26392 *-*-cygwin* )
26393 LIBS="$LIBS -lkernel32 -luser32"
26394 esac
26395
26396 if test "$wxUSE_ODBC" = "sys" ; then
26397 wxUSE_ODBC = "yes"
26398 fi
26399 if test "$wxUSE_ODBC" = "yes" ; then
26400 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26401 cat >>confdefs.h <<\_ACEOF
26402 #define wxUSE_ODBC 1
26403 _ACEOF
26404
26405 fi
26406
26407 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26408 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26409
26410 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26411
26412 WIN32INSTALL=win32install
26413
26414 echo "$as_me:$LINENO: checking for pbt.h" >&5
26415 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
26416 if test "${ac_cv_header_pbt_h+set}" = set; then
26417 echo $ECHO_N "(cached) $ECHO_C" >&6
26418 else
26419 cat >conftest.$ac_ext <<_ACEOF
26420 /* confdefs.h. */
26421 _ACEOF
26422 cat confdefs.h >>conftest.$ac_ext
26423 cat >>conftest.$ac_ext <<_ACEOF
26424 /* end confdefs.h. */
26425
26426
26427 #include <pbt.h>
26428 _ACEOF
26429 rm -f conftest.$ac_objext
26430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26431 (eval $ac_compile) 2>conftest.er1
26432 ac_status=$?
26433 grep -v '^ *+' conftest.er1 >conftest.err
26434 rm -f conftest.er1
26435 cat conftest.err >&5
26436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437 (exit $ac_status); } &&
26438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26440 (eval $ac_try) 2>&5
26441 ac_status=$?
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); }; } &&
26444 { ac_try='test -s conftest.$ac_objext'
26445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26446 (eval $ac_try) 2>&5
26447 ac_status=$?
26448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449 (exit $ac_status); }; }; then
26450 ac_cv_header_pbt_h=yes
26451 else
26452 echo "$as_me: failed program was:" >&5
26453 sed 's/^/| /' conftest.$ac_ext >&5
26454
26455 ac_cv_header_pbt_h=no
26456 fi
26457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26458 fi
26459 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26460 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
26461 if test $ac_cv_header_pbt_h = yes; then
26462 :
26463 else
26464 cat >>confdefs.h <<\_ACEOF
26465 #define NEED_PBT_H 1
26466 _ACEOF
26467
26468 fi
26469
26470
26471 fi
26472
26473 if test "$wxUSE_GUI" = "yes"; then
26474 USE_GUI=1
26475
26476 GUI_TK_LIBRARY=
26477
26478 WXGTK12=
26479 WXGTK127=
26480 WXGTK20=
26481 WXGPE=
26482
26483 if test "$wxUSE_COCOA" = 1 ; then
26484 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26485 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26486 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26487 wxUSE_PRINTING_ARCHITECTURE=no
26488 fi
26489 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26490 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26491 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26492 wxUSE_DRAG_AND_DROP=no
26493 fi
26494 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26495 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26496 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26497 wxUSE_DRAGIMAGE=no
26498 fi
26499 fi
26500
26501 if test "$wxUSE_MSW" = 1 ; then
26502 TOOLKIT=MSW
26503 GUIDIST=MSW_DIST
26504
26505 case "${host}" in
26506 *-*-mingw32* )
26507 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26508 esac
26509 fi
26510
26511 if test "$wxUSE_GTK" = 1; then
26512 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26513 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26514
26515 gtk_version_cached=1
26516 if test "${wx_cv_lib_gtk+set}" = set; then
26517 echo $ECHO_N "(cached) $ECHO_C" >&6
26518 else
26519
26520 gtk_version_cached=0
26521 echo "$as_me:$LINENO: result: " >&5
26522 echo "${ECHO_T}" >&6
26523
26524 GTK_MODULES=
26525 if test "$wxUSE_THREADS" = "yes"; then
26526 GTK_MODULES=gthread
26527 fi
26528
26529 wx_cv_lib_gtk=
26530 if test "x$wxGTK_VERSION" != "x1"
26531 then
26532 case "${host}" in
26533 *-*-solaris2* )
26534 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26535 enable_gtktest=no
26536 fi
26537 esac
26538
26539 # Check whether --enable-gtktest or --disable-gtktest was given.
26540 if test "${enable_gtktest+set}" = set; then
26541 enableval="$enable_gtktest"
26542
26543 else
26544 enable_gtktest=yes
26545 fi;
26546
26547 pkg_config_args=gtk+-2.0
26548 for module in . $GTK_MODULES
26549 do
26550 case "$module" in
26551 gthread)
26552 pkg_config_args="$pkg_config_args gthread-2.0"
26553 ;;
26554 esac
26555 done
26556
26557 no_gtk=""
26558
26559 # Extract the first word of "pkg-config", so it can be a program name with args.
26560 set dummy pkg-config; ac_word=$2
26561 echo "$as_me:$LINENO: checking for $ac_word" >&5
26562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26563 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26564 echo $ECHO_N "(cached) $ECHO_C" >&6
26565 else
26566 case $PKG_CONFIG in
26567 [\\/]* | ?:[\\/]*)
26568 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26569 ;;
26570 *)
26571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26572 for as_dir in $PATH
26573 do
26574 IFS=$as_save_IFS
26575 test -z "$as_dir" && as_dir=.
26576 for ac_exec_ext in '' $ac_executable_extensions; do
26577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26578 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26580 break 2
26581 fi
26582 done
26583 done
26584
26585 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26586 ;;
26587 esac
26588 fi
26589 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26590
26591 if test -n "$PKG_CONFIG"; then
26592 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26593 echo "${ECHO_T}$PKG_CONFIG" >&6
26594 else
26595 echo "$as_me:$LINENO: result: no" >&5
26596 echo "${ECHO_T}no" >&6
26597 fi
26598
26599
26600 if test x$PKG_CONFIG != xno ; then
26601 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26602 :
26603 else
26604 echo "*** pkg-config too old; version 0.7 or better required."
26605 no_gtk=yes
26606 PKG_CONFIG=no
26607 fi
26608 else
26609 no_gtk=yes
26610 fi
26611
26612 min_gtk_version=2.0.0
26613 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26614 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26615
26616 if test x$PKG_CONFIG != xno ; then
26617 ## don't try to run the test against uninstalled libtool libs
26618 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26619 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26620 enable_gtktest=no
26621 fi
26622
26623 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26624 :
26625 else
26626 no_gtk=yes
26627 fi
26628 fi
26629
26630 if test x"$no_gtk" = x ; then
26631 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26632 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26633 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26635 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26636 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26637 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26638 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26639 if test "x$enable_gtktest" = "xyes" ; then
26640 ac_save_CFLAGS="$CFLAGS"
26641 ac_save_LIBS="$LIBS"
26642 CFLAGS="$CFLAGS $GTK_CFLAGS"
26643 LIBS="$GTK_LIBS $LIBS"
26644 rm -f conf.gtktest
26645 if test "$cross_compiling" = yes; then
26646 echo $ac_n "cross compiling; assumed OK... $ac_c"
26647 else
26648 cat >conftest.$ac_ext <<_ACEOF
26649 /* confdefs.h. */
26650 _ACEOF
26651 cat confdefs.h >>conftest.$ac_ext
26652 cat >>conftest.$ac_ext <<_ACEOF
26653 /* end confdefs.h. */
26654
26655 #include <gtk/gtk.h>
26656 #include <stdio.h>
26657 #include <stdlib.h>
26658
26659 int
26660 main ()
26661 {
26662 int major, minor, micro;
26663 char *tmp_version;
26664
26665 system ("touch conf.gtktest");
26666
26667 /* HP/UX 9 (%@#!) writes to sscanf strings */
26668 tmp_version = g_strdup("$min_gtk_version");
26669 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26670 printf("%s, bad version string\n", "$min_gtk_version");
26671 exit(1);
26672 }
26673
26674 if ((gtk_major_version != $gtk_config_major_version) ||
26675 (gtk_minor_version != $gtk_config_minor_version) ||
26676 (gtk_micro_version != $gtk_config_micro_version))
26677 {
26678 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26679 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26680 gtk_major_version, gtk_minor_version, gtk_micro_version);
26681 printf ("*** was found! If pkg-config was correct, then it is best\n");
26682 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26683 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26684 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26685 printf("*** required on your system.\n");
26686 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26687 printf("*** to point to the correct configuration files\n");
26688 }
26689 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26690 (gtk_minor_version != GTK_MINOR_VERSION) ||
26691 (gtk_micro_version != GTK_MICRO_VERSION))
26692 {
26693 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26694 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26695 printf("*** library (version %d.%d.%d)\n",
26696 gtk_major_version, gtk_minor_version, gtk_micro_version);
26697 }
26698 else
26699 {
26700 if ((gtk_major_version > major) ||
26701 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26702 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26703 {
26704 return 0;
26705 }
26706 else
26707 {
26708 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26709 gtk_major_version, gtk_minor_version, gtk_micro_version);
26710 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26711 major, minor, micro);
26712 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26713 printf("***\n");
26714 printf("*** If you have already installed a sufficiently new version, this error\n");
26715 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26716 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26717 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26718 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26719 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26720 printf("*** so that the correct libraries are found at run-time))\n");
26721 }
26722 }
26723 return 1;
26724 }
26725
26726 _ACEOF
26727 rm -f conftest$ac_exeext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26729 (eval $ac_link) 2>&5
26730 ac_status=$?
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26734 (eval $ac_try) 2>&5
26735 ac_status=$?
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); }; }; then
26738 :
26739 else
26740 echo "$as_me: program exited with status $ac_status" >&5
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.$ac_ext >&5
26743
26744 ( exit $ac_status )
26745 no_gtk=yes
26746 fi
26747 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26748 fi
26749 CFLAGS="$ac_save_CFLAGS"
26750 LIBS="$ac_save_LIBS"
26751 fi
26752 fi
26753 if test "x$no_gtk" = x ; then
26754 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26755 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26756 wx_cv_lib_gtk=2.0
26757 else
26758 echo "$as_me:$LINENO: result: no" >&5
26759 echo "${ECHO_T}no" >&6
26760 if test "$PKG_CONFIG" = "no" ; then
26761 echo "*** A new enough version of pkg-config was not found."
26762 echo "*** See http://pkgconfig.sourceforge.net"
26763 else
26764 if test -f conf.gtktest ; then
26765 :
26766 else
26767 echo "*** Could not run GTK+ test program, checking why..."
26768 ac_save_CFLAGS="$CFLAGS"
26769 ac_save_LIBS="$LIBS"
26770 CFLAGS="$CFLAGS $GTK_CFLAGS"
26771 LIBS="$LIBS $GTK_LIBS"
26772 cat >conftest.$ac_ext <<_ACEOF
26773 /* confdefs.h. */
26774 _ACEOF
26775 cat confdefs.h >>conftest.$ac_ext
26776 cat >>conftest.$ac_ext <<_ACEOF
26777 /* end confdefs.h. */
26778
26779 #include <gtk/gtk.h>
26780 #include <stdio.h>
26781
26782 int
26783 main ()
26784 {
26785 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26786 ;
26787 return 0;
26788 }
26789 _ACEOF
26790 rm -f conftest.$ac_objext conftest$ac_exeext
26791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26792 (eval $ac_link) 2>conftest.er1
26793 ac_status=$?
26794 grep -v '^ *+' conftest.er1 >conftest.err
26795 rm -f conftest.er1
26796 cat conftest.err >&5
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); } &&
26799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26801 (eval $ac_try) 2>&5
26802 ac_status=$?
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 (exit $ac_status); }; } &&
26805 { ac_try='test -s conftest$ac_exeext'
26806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26807 (eval $ac_try) 2>&5
26808 ac_status=$?
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); }; }; then
26811 echo "*** The test program compiled, but did not run. This usually means"
26812 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26813 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26814 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26815 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26816 echo "*** is required on your system"
26817 echo "***"
26818 echo "*** If you have an old version installed, it is best to remove it, although"
26819 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26820 else
26821 echo "$as_me: failed program was:" >&5
26822 sed 's/^/| /' conftest.$ac_ext >&5
26823
26824 echo "*** The test program failed to compile or link. See the file config.log for the"
26825 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26826 fi
26827 rm -f conftest.err conftest.$ac_objext \
26828 conftest$ac_exeext conftest.$ac_ext
26829 CFLAGS="$ac_save_CFLAGS"
26830 LIBS="$ac_save_LIBS"
26831 fi
26832 fi
26833 GTK_CFLAGS=""
26834 GTK_LIBS=""
26835 :
26836 fi
26837
26838
26839 rm -f conf.gtktest
26840
26841
26842 case "${host}" in
26843 *-*-solaris2* )
26844 if test "$wxUSE_SHARED" != "yes"; then
26845 GTK_LIBS="$GTK_LIBS -lX11"
26846 fi
26847 esac
26848 fi
26849
26850 if test -z "$wx_cv_lib_gtk"; then
26851 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26852
26853 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26854 if test "${with_gtk_prefix+set}" = set; then
26855 withval="$with_gtk_prefix"
26856 gtk_config_prefix="$withval"
26857 else
26858 gtk_config_prefix=""
26859 fi;
26860
26861 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26862 if test "${with_gtk_exec_prefix+set}" = set; then
26863 withval="$with_gtk_exec_prefix"
26864 gtk_config_exec_prefix="$withval"
26865 else
26866 gtk_config_exec_prefix=""
26867 fi;
26868 # Check whether --enable-gtktest or --disable-gtktest was given.
26869 if test "${enable_gtktest+set}" = set; then
26870 enableval="$enable_gtktest"
26871
26872 else
26873 enable_gtktest=yes
26874 fi;
26875
26876 for module in . $GTK_MODULES
26877 do
26878 case "$module" in
26879 gthread)
26880 gtk_config_args="$gtk_config_args gthread"
26881 ;;
26882 esac
26883 done
26884
26885 if test x$gtk_config_exec_prefix != x ; then
26886 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26887 if test x${GTK_CONFIG+set} != xset ; then
26888 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26889 fi
26890 fi
26891 if test x$gtk_config_prefix != x ; then
26892 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26893 if test x${GTK_CONFIG+set} != xset ; then
26894 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26895 fi
26896 fi
26897
26898 # Extract the first word of "gtk-config", so it can be a program name with args.
26899 set dummy gtk-config; ac_word=$2
26900 echo "$as_me:$LINENO: checking for $ac_word" >&5
26901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26902 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26903 echo $ECHO_N "(cached) $ECHO_C" >&6
26904 else
26905 case $GTK_CONFIG in
26906 [\\/]* | ?:[\\/]*)
26907 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26908 ;;
26909 *)
26910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26911 for as_dir in $PATH
26912 do
26913 IFS=$as_save_IFS
26914 test -z "$as_dir" && as_dir=.
26915 for ac_exec_ext in '' $ac_executable_extensions; do
26916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26917 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26919 break 2
26920 fi
26921 done
26922 done
26923
26924 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26925 ;;
26926 esac
26927 fi
26928 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26929
26930 if test -n "$GTK_CONFIG"; then
26931 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26932 echo "${ECHO_T}$GTK_CONFIG" >&6
26933 else
26934 echo "$as_me:$LINENO: result: no" >&5
26935 echo "${ECHO_T}no" >&6
26936 fi
26937
26938 min_gtk_version=1.2.7
26939 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26940 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26941 no_gtk=""
26942 if test "$GTK_CONFIG" = "no" ; then
26943 no_gtk=yes
26944 else
26945 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26946 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26947 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26949 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26950 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26951 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26952 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26953 if test "x$enable_gtktest" = "xyes" ; then
26954 ac_save_CFLAGS="$CFLAGS"
26955 ac_save_LIBS="$LIBS"
26956 CFLAGS="$CFLAGS $GTK_CFLAGS"
26957 LIBS="$GTK_LIBS $LIBS"
26958 rm -f conf.gtktest
26959 if test "$cross_compiling" = yes; then
26960 echo $ac_n "cross compiling; assumed OK... $ac_c"
26961 else
26962 cat >conftest.$ac_ext <<_ACEOF
26963 /* confdefs.h. */
26964 _ACEOF
26965 cat confdefs.h >>conftest.$ac_ext
26966 cat >>conftest.$ac_ext <<_ACEOF
26967 /* end confdefs.h. */
26968
26969 #include <gtk/gtk.h>
26970 #include <stdio.h>
26971 #include <stdlib.h>
26972
26973 int
26974 main ()
26975 {
26976 int major, minor, micro;
26977 char *tmp_version;
26978
26979 system ("touch conf.gtktest");
26980
26981 /* HP/UX 9 (%@#!) writes to sscanf strings */
26982 tmp_version = g_strdup("$min_gtk_version");
26983 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26984 printf("%s, bad version string\n", "$min_gtk_version");
26985 exit(1);
26986 }
26987
26988 if ((gtk_major_version != $gtk_config_major_version) ||
26989 (gtk_minor_version != $gtk_config_minor_version) ||
26990 (gtk_micro_version != $gtk_config_micro_version))
26991 {
26992 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26993 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26994 gtk_major_version, gtk_minor_version, gtk_micro_version);
26995 printf ("*** was found! If gtk-config was correct, then it is best\n");
26996 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26997 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26998 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26999 printf("*** required on your system.\n");
27000 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27001 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27002 printf("*** before re-running configure\n");
27003 }
27004 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27005 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27006 (gtk_minor_version != GTK_MINOR_VERSION) ||
27007 (gtk_micro_version != GTK_MICRO_VERSION))
27008 {
27009 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27010 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27011 printf("*** library (version %d.%d.%d)\n",
27012 gtk_major_version, gtk_minor_version, gtk_micro_version);
27013 }
27014 #endif /* defined (GTK_MAJOR_VERSION) ... */
27015 else
27016 {
27017 if ((gtk_major_version > major) ||
27018 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27019 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27020 {
27021 return 0;
27022 }
27023 else
27024 {
27025 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27026 gtk_major_version, gtk_minor_version, gtk_micro_version);
27027 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27028 major, minor, micro);
27029 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27030 printf("***\n");
27031 printf("*** If you have already installed a sufficiently new version, this error\n");
27032 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27033 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27034 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27035 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27036 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27037 printf("*** so that the correct libraries are found at run-time))\n");
27038 }
27039 }
27040 return 1;
27041 }
27042
27043 _ACEOF
27044 rm -f conftest$ac_exeext
27045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27046 (eval $ac_link) 2>&5
27047 ac_status=$?
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27051 (eval $ac_try) 2>&5
27052 ac_status=$?
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); }; }; then
27055 :
27056 else
27057 echo "$as_me: program exited with status $ac_status" >&5
27058 echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.$ac_ext >&5
27060
27061 ( exit $ac_status )
27062 no_gtk=yes
27063 fi
27064 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27065 fi
27066 CFLAGS="$ac_save_CFLAGS"
27067 LIBS="$ac_save_LIBS"
27068 fi
27069 fi
27070 if test "x$no_gtk" = x ; then
27071 echo "$as_me:$LINENO: result: yes" >&5
27072 echo "${ECHO_T}yes" >&6
27073 wx_cv_lib_gtk=1.2.7
27074 else
27075 echo "$as_me:$LINENO: result: no" >&5
27076 echo "${ECHO_T}no" >&6
27077 if test "$GTK_CONFIG" = "no" ; then
27078 echo "*** The gtk-config script installed by GTK could not be found"
27079 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27080 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27081 echo "*** full path to gtk-config."
27082 else
27083 if test -f conf.gtktest ; then
27084 :
27085 else
27086 echo "*** Could not run GTK test program, checking why..."
27087 CFLAGS="$CFLAGS $GTK_CFLAGS"
27088 LIBS="$LIBS $GTK_LIBS"
27089 cat >conftest.$ac_ext <<_ACEOF
27090 /* confdefs.h. */
27091 _ACEOF
27092 cat confdefs.h >>conftest.$ac_ext
27093 cat >>conftest.$ac_ext <<_ACEOF
27094 /* end confdefs.h. */
27095
27096 #include <gtk/gtk.h>
27097 #include <stdio.h>
27098
27099 int
27100 main ()
27101 {
27102 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27103 ;
27104 return 0;
27105 }
27106 _ACEOF
27107 rm -f conftest.$ac_objext conftest$ac_exeext
27108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27109 (eval $ac_link) 2>conftest.er1
27110 ac_status=$?
27111 grep -v '^ *+' conftest.er1 >conftest.err
27112 rm -f conftest.er1
27113 cat conftest.err >&5
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); } &&
27116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27118 (eval $ac_try) 2>&5
27119 ac_status=$?
27120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27121 (exit $ac_status); }; } &&
27122 { ac_try='test -s conftest$ac_exeext'
27123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27124 (eval $ac_try) 2>&5
27125 ac_status=$?
27126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27127 (exit $ac_status); }; }; then
27128 echo "*** The test program compiled, but did not run. This usually means"
27129 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27130 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27131 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27132 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27133 echo "*** is required on your system"
27134 echo "***"
27135 echo "*** If you have an old version installed, it is best to remove it, although"
27136 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27137 echo "***"
27138 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27139 echo "*** came with the system with the command"
27140 echo "***"
27141 echo "*** rpm --erase --nodeps gtk gtk-devel"
27142 else
27143 echo "$as_me: failed program was:" >&5
27144 sed 's/^/| /' conftest.$ac_ext >&5
27145
27146 echo "*** The test program failed to compile or link. See the file config.log for the"
27147 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27148 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27149 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27150 fi
27151 rm -f conftest.err conftest.$ac_objext \
27152 conftest$ac_exeext conftest.$ac_ext
27153 CFLAGS="$ac_save_CFLAGS"
27154 LIBS="$ac_save_LIBS"
27155 fi
27156 fi
27157 GTK_CFLAGS=""
27158 GTK_LIBS=""
27159 :
27160 fi
27161
27162
27163 rm -f conf.gtktest
27164
27165
27166 if test -z "$wx_cv_lib_gtk"; then
27167
27168 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27169 if test "${with_gtk_prefix+set}" = set; then
27170 withval="$with_gtk_prefix"
27171 gtk_config_prefix="$withval"
27172 else
27173 gtk_config_prefix=""
27174 fi;
27175
27176 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27177 if test "${with_gtk_exec_prefix+set}" = set; then
27178 withval="$with_gtk_exec_prefix"
27179 gtk_config_exec_prefix="$withval"
27180 else
27181 gtk_config_exec_prefix=""
27182 fi;
27183 # Check whether --enable-gtktest or --disable-gtktest was given.
27184 if test "${enable_gtktest+set}" = set; then
27185 enableval="$enable_gtktest"
27186
27187 else
27188 enable_gtktest=yes
27189 fi;
27190
27191 for module in . $GTK_MODULES
27192 do
27193 case "$module" in
27194 gthread)
27195 gtk_config_args="$gtk_config_args gthread"
27196 ;;
27197 esac
27198 done
27199
27200 if test x$gtk_config_exec_prefix != x ; then
27201 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27202 if test x${GTK_CONFIG+set} != xset ; then
27203 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27204 fi
27205 fi
27206 if test x$gtk_config_prefix != x ; then
27207 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27208 if test x${GTK_CONFIG+set} != xset ; then
27209 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27210 fi
27211 fi
27212
27213 # Extract the first word of "gtk-config", so it can be a program name with args.
27214 set dummy gtk-config; ac_word=$2
27215 echo "$as_me:$LINENO: checking for $ac_word" >&5
27216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27217 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27218 echo $ECHO_N "(cached) $ECHO_C" >&6
27219 else
27220 case $GTK_CONFIG in
27221 [\\/]* | ?:[\\/]*)
27222 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27223 ;;
27224 *)
27225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27226 for as_dir in $PATH
27227 do
27228 IFS=$as_save_IFS
27229 test -z "$as_dir" && as_dir=.
27230 for ac_exec_ext in '' $ac_executable_extensions; do
27231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27232 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27234 break 2
27235 fi
27236 done
27237 done
27238
27239 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27240 ;;
27241 esac
27242 fi
27243 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27244
27245 if test -n "$GTK_CONFIG"; then
27246 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27247 echo "${ECHO_T}$GTK_CONFIG" >&6
27248 else
27249 echo "$as_me:$LINENO: result: no" >&5
27250 echo "${ECHO_T}no" >&6
27251 fi
27252
27253 min_gtk_version=1.2.3
27254 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27255 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27256 no_gtk=""
27257 if test "$GTK_CONFIG" = "no" ; then
27258 no_gtk=yes
27259 else
27260 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27261 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27262 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27263 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27264 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27266 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27267 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27268 if test "x$enable_gtktest" = "xyes" ; then
27269 ac_save_CFLAGS="$CFLAGS"
27270 ac_save_LIBS="$LIBS"
27271 CFLAGS="$CFLAGS $GTK_CFLAGS"
27272 LIBS="$GTK_LIBS $LIBS"
27273 rm -f conf.gtktest
27274 if test "$cross_compiling" = yes; then
27275 echo $ac_n "cross compiling; assumed OK... $ac_c"
27276 else
27277 cat >conftest.$ac_ext <<_ACEOF
27278 /* confdefs.h. */
27279 _ACEOF
27280 cat confdefs.h >>conftest.$ac_ext
27281 cat >>conftest.$ac_ext <<_ACEOF
27282 /* end confdefs.h. */
27283
27284 #include <gtk/gtk.h>
27285 #include <stdio.h>
27286 #include <stdlib.h>
27287
27288 int
27289 main ()
27290 {
27291 int major, minor, micro;
27292 char *tmp_version;
27293
27294 system ("touch conf.gtktest");
27295
27296 /* HP/UX 9 (%@#!) writes to sscanf strings */
27297 tmp_version = g_strdup("$min_gtk_version");
27298 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27299 printf("%s, bad version string\n", "$min_gtk_version");
27300 exit(1);
27301 }
27302
27303 if ((gtk_major_version != $gtk_config_major_version) ||
27304 (gtk_minor_version != $gtk_config_minor_version) ||
27305 (gtk_micro_version != $gtk_config_micro_version))
27306 {
27307 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27308 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27309 gtk_major_version, gtk_minor_version, gtk_micro_version);
27310 printf ("*** was found! If gtk-config was correct, then it is best\n");
27311 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27312 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27313 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27314 printf("*** required on your system.\n");
27315 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27316 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27317 printf("*** before re-running configure\n");
27318 }
27319 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27320 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27321 (gtk_minor_version != GTK_MINOR_VERSION) ||
27322 (gtk_micro_version != GTK_MICRO_VERSION))
27323 {
27324 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27325 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27326 printf("*** library (version %d.%d.%d)\n",
27327 gtk_major_version, gtk_minor_version, gtk_micro_version);
27328 }
27329 #endif /* defined (GTK_MAJOR_VERSION) ... */
27330 else
27331 {
27332 if ((gtk_major_version > major) ||
27333 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27334 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27335 {
27336 return 0;
27337 }
27338 else
27339 {
27340 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27341 gtk_major_version, gtk_minor_version, gtk_micro_version);
27342 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27343 major, minor, micro);
27344 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27345 printf("***\n");
27346 printf("*** If you have already installed a sufficiently new version, this error\n");
27347 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27348 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27349 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27350 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27351 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27352 printf("*** so that the correct libraries are found at run-time))\n");
27353 }
27354 }
27355 return 1;
27356 }
27357
27358 _ACEOF
27359 rm -f conftest$ac_exeext
27360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27361 (eval $ac_link) 2>&5
27362 ac_status=$?
27363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27364 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27366 (eval $ac_try) 2>&5
27367 ac_status=$?
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); }; }; then
27370 :
27371 else
27372 echo "$as_me: program exited with status $ac_status" >&5
27373 echo "$as_me: failed program was:" >&5
27374 sed 's/^/| /' conftest.$ac_ext >&5
27375
27376 ( exit $ac_status )
27377 no_gtk=yes
27378 fi
27379 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27380 fi
27381 CFLAGS="$ac_save_CFLAGS"
27382 LIBS="$ac_save_LIBS"
27383 fi
27384 fi
27385 if test "x$no_gtk" = x ; then
27386 echo "$as_me:$LINENO: result: yes" >&5
27387 echo "${ECHO_T}yes" >&6
27388 wx_cv_lib_gtk=1.2.3
27389 else
27390 echo "$as_me:$LINENO: result: no" >&5
27391 echo "${ECHO_T}no" >&6
27392 if test "$GTK_CONFIG" = "no" ; then
27393 echo "*** The gtk-config script installed by GTK could not be found"
27394 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27395 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27396 echo "*** full path to gtk-config."
27397 else
27398 if test -f conf.gtktest ; then
27399 :
27400 else
27401 echo "*** Could not run GTK test program, checking why..."
27402 CFLAGS="$CFLAGS $GTK_CFLAGS"
27403 LIBS="$LIBS $GTK_LIBS"
27404 cat >conftest.$ac_ext <<_ACEOF
27405 /* confdefs.h. */
27406 _ACEOF
27407 cat confdefs.h >>conftest.$ac_ext
27408 cat >>conftest.$ac_ext <<_ACEOF
27409 /* end confdefs.h. */
27410
27411 #include <gtk/gtk.h>
27412 #include <stdio.h>
27413
27414 int
27415 main ()
27416 {
27417 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27418 ;
27419 return 0;
27420 }
27421 _ACEOF
27422 rm -f conftest.$ac_objext conftest$ac_exeext
27423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27424 (eval $ac_link) 2>conftest.er1
27425 ac_status=$?
27426 grep -v '^ *+' conftest.er1 >conftest.err
27427 rm -f conftest.er1
27428 cat conftest.err >&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); } &&
27431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27433 (eval $ac_try) 2>&5
27434 ac_status=$?
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); }; } &&
27437 { ac_try='test -s conftest$ac_exeext'
27438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27439 (eval $ac_try) 2>&5
27440 ac_status=$?
27441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27442 (exit $ac_status); }; }; then
27443 echo "*** The test program compiled, but did not run. This usually means"
27444 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27445 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27446 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27447 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27448 echo "*** is required on your system"
27449 echo "***"
27450 echo "*** If you have an old version installed, it is best to remove it, although"
27451 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27452 echo "***"
27453 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27454 echo "*** came with the system with the command"
27455 echo "***"
27456 echo "*** rpm --erase --nodeps gtk gtk-devel"
27457 else
27458 echo "$as_me: failed program was:" >&5
27459 sed 's/^/| /' conftest.$ac_ext >&5
27460
27461 echo "*** The test program failed to compile or link. See the file config.log for the"
27462 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27463 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27464 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27465 fi
27466 rm -f conftest.err conftest.$ac_objext \
27467 conftest$ac_exeext conftest.$ac_ext
27468 CFLAGS="$ac_save_CFLAGS"
27469 LIBS="$ac_save_LIBS"
27470 fi
27471 fi
27472 GTK_CFLAGS=""
27473 GTK_LIBS=""
27474 :
27475 fi
27476
27477
27478 rm -f conf.gtktest
27479
27480 fi
27481 fi
27482 fi
27483
27484 if test -z "$wx_cv_lib_gtk"; then
27485 wx_cv_lib_gtk=none
27486 else
27487 wx_cv_cflags_gtk=$GTK_CFLAGS
27488 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27489 fi
27490
27491
27492 fi
27493
27494
27495 if test "$gtk_version_cached" = 1; then
27496 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27497 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27498 fi
27499
27500 case "$wx_cv_lib_gtk" in
27501 2.0) WXGTK20=1
27502 TOOLKIT_VERSION=2
27503 ;;
27504 1.2.7) WXGTK127=1
27505 WXGTK12=1
27506 ;;
27507 1.2.3) WXGTK12=1
27508 ;;
27509 *) { { echo "$as_me:$LINENO: error:
27510 The development files for GTK+ were not found. For GTK+ 2, please
27511 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27512 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27513 and that the version is 1.2.3 or above. Also check that the
27514 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27515 --libs' are in the LD_LIBRARY_PATH or equivalent.
27516 " >&5
27517 echo "$as_me: error:
27518 The development files for GTK+ were not found. For GTK+ 2, please
27519 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27520 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27521 and that the version is 1.2.3 or above. Also check that the
27522 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27523 --libs' are in the LD_LIBRARY_PATH or equivalent.
27524 " >&2;}
27525 { (exit 1); exit 1; }; }
27526 ;;
27527 esac
27528
27529 if test "$WXGTK20" = 1; then
27530 save_CFLAGS="$CFLAGS"
27531 save_LIBS="$LIBS"
27532 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27533 LIBS="$LIBS $wx_cv_libs_gtk"
27534
27535 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27536 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
27537 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27538 echo $ECHO_N "(cached) $ECHO_C" >&6
27539 else
27540 cat >conftest.$ac_ext <<_ACEOF
27541 /* confdefs.h. */
27542 _ACEOF
27543 cat confdefs.h >>conftest.$ac_ext
27544 cat >>conftest.$ac_ext <<_ACEOF
27545 /* end confdefs.h. */
27546 #include <gtk/gtk.h>
27547
27548 int
27549 main ()
27550 {
27551 #ifndef gtk_icon_size_lookup
27552 char *p = (char *) gtk_icon_size_lookup;
27553 #endif
27554
27555 ;
27556 return 0;
27557 }
27558 _ACEOF
27559 rm -f conftest.$ac_objext
27560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27561 (eval $ac_compile) 2>conftest.er1
27562 ac_status=$?
27563 grep -v '^ *+' conftest.er1 >conftest.err
27564 rm -f conftest.er1
27565 cat conftest.err >&5
27566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567 (exit $ac_status); } &&
27568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27570 (eval $ac_try) 2>&5
27571 ac_status=$?
27572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573 (exit $ac_status); }; } &&
27574 { ac_try='test -s conftest.$ac_objext'
27575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27576 (eval $ac_try) 2>&5
27577 ac_status=$?
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); }; }; then
27580 ac_cv_have_decl_gtk_icon_size_lookup=yes
27581 else
27582 echo "$as_me: failed program was:" >&5
27583 sed 's/^/| /' conftest.$ac_ext >&5
27584
27585 ac_cv_have_decl_gtk_icon_size_lookup=no
27586 fi
27587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27588 fi
27589 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27590 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
27591 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27592
27593 cat >>confdefs.h <<_ACEOF
27594 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27595 _ACEOF
27596
27597
27598 else
27599 cat >>confdefs.h <<_ACEOF
27600 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27601 _ACEOF
27602
27603 cat >>confdefs.h <<\_ACEOF
27604 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27605 _ACEOF
27606
27607 fi
27608
27609
27610
27611
27612 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27613 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
27614 cat >conftest.$ac_ext <<_ACEOF
27615 /* confdefs.h. */
27616 _ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h. */
27620
27621 #include <gtk/gtk.h>
27622
27623 int
27624 main ()
27625 {
27626
27627 #if !GTK_CHECK_VERSION(2,10,0)
27628 Not GTK+ 2.10
27629 #endif
27630
27631 ;
27632 return 0;
27633 }
27634 _ACEOF
27635 rm -f conftest.$ac_objext
27636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27637 (eval $ac_compile) 2>conftest.er1
27638 ac_status=$?
27639 grep -v '^ *+' conftest.er1 >conftest.err
27640 rm -f conftest.er1
27641 cat conftest.err >&5
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); } &&
27644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27646 (eval $ac_try) 2>&5
27647 ac_status=$?
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); }; } &&
27650 { ac_try='test -s conftest.$ac_objext'
27651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27652 (eval $ac_try) 2>&5
27653 ac_status=$?
27654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27655 (exit $ac_status); }; }; then
27656
27657 cat >>confdefs.h <<\_ACEOF
27658 #define __WXGTK210__ 1
27659 _ACEOF
27660
27661 cat >>confdefs.h <<\_ACEOF
27662 #define __WXGTK26__ 1
27663 _ACEOF
27664
27665 cat >>confdefs.h <<\_ACEOF
27666 #define __WXGTK24__ 1
27667 _ACEOF
27668
27669 echo "$as_me:$LINENO: result: yes" >&5
27670 echo "${ECHO_T}yes" >&6
27671 ac_wxgtk210=1
27672
27673 else
27674 echo "$as_me: failed program was:" >&5
27675 sed 's/^/| /' conftest.$ac_ext >&5
27676
27677
27678 echo "$as_me:$LINENO: result: no" >&5
27679 echo "${ECHO_T}no" >&6
27680 ac_wxgtk210=0
27681
27682 fi
27683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27684
27685 if test "$ac_wxgtk210" = 0; then
27686 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
27687 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
27688 cat >conftest.$ac_ext <<_ACEOF
27689 /* confdefs.h. */
27690 _ACEOF
27691 cat confdefs.h >>conftest.$ac_ext
27692 cat >>conftest.$ac_ext <<_ACEOF
27693 /* end confdefs.h. */
27694
27695 #include <gtk/gtk.h>
27696
27697 int
27698 main ()
27699 {
27700
27701 #if !GTK_CHECK_VERSION(2,6,0)
27702 Not GTK+ 2.6
27703 #endif
27704
27705 ;
27706 return 0;
27707 }
27708 _ACEOF
27709 rm -f conftest.$ac_objext
27710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27711 (eval $ac_compile) 2>conftest.er1
27712 ac_status=$?
27713 grep -v '^ *+' conftest.er1 >conftest.err
27714 rm -f conftest.er1
27715 cat conftest.err >&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); } &&
27718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27720 (eval $ac_try) 2>&5
27721 ac_status=$?
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); }; } &&
27724 { ac_try='test -s conftest.$ac_objext'
27725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27726 (eval $ac_try) 2>&5
27727 ac_status=$?
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); }; }; then
27730
27731 cat >>confdefs.h <<\_ACEOF
27732 #define __WXGTK26__ 1
27733 _ACEOF
27734
27735 cat >>confdefs.h <<\_ACEOF
27736 #define __WXGTK24__ 1
27737 _ACEOF
27738
27739 echo "$as_me:$LINENO: result: yes" >&5
27740 echo "${ECHO_T}yes" >&6
27741 ac_wxgtk26=1
27742
27743 else
27744 echo "$as_me: failed program was:" >&5
27745 sed 's/^/| /' conftest.$ac_ext >&5
27746
27747
27748 echo "$as_me:$LINENO: result: no" >&5
27749 echo "${ECHO_T}no" >&6
27750 ac_wxgtk26=0
27751
27752 fi
27753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27754 fi
27755
27756 if test "$ac_wxgtk26" = 0; then
27757 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27758 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27759 cat >conftest.$ac_ext <<_ACEOF
27760 /* confdefs.h. */
27761 _ACEOF
27762 cat confdefs.h >>conftest.$ac_ext
27763 cat >>conftest.$ac_ext <<_ACEOF
27764 /* end confdefs.h. */
27765
27766 #include <gtk/gtk.h>
27767
27768 int
27769 main ()
27770 {
27771
27772 #if !GTK_CHECK_VERSION(2,4,0)
27773 Not GTK+ 2.4
27774 #endif
27775
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
27802 cat >>confdefs.h <<\_ACEOF
27803 #define __WXGTK24__ 1
27804 _ACEOF
27805
27806 echo "$as_me:$LINENO: result: yes" >&5
27807 echo "${ECHO_T}yes" >&6
27808
27809 else
27810 echo "$as_me: failed program was:" >&5
27811 sed 's/^/| /' conftest.$ac_ext >&5
27812
27813
27814 echo "$as_me:$LINENO: result: no" >&5
27815 echo "${ECHO_T}no" >&6
27816
27817 fi
27818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27819 fi
27820
27821 CFLAGS="$save_CFLAGS"
27822 LIBS="$save_LIBS"
27823 else
27824 if test "$wxUSE_UNICODE" = "yes"; then
27825 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27826 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27827 wxUSE_UNICODE=no
27828 fi
27829
27830 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27831 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27832 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27833 echo $ECHO_N "(cached) $ECHO_C" >&6
27834 else
27835 ac_check_lib_save_LIBS=$LIBS
27836 LIBS="-lgdk $LIBS"
27837 cat >conftest.$ac_ext <<_ACEOF
27838 /* confdefs.h. */
27839 _ACEOF
27840 cat confdefs.h >>conftest.$ac_ext
27841 cat >>conftest.$ac_ext <<_ACEOF
27842 /* end confdefs.h. */
27843
27844 /* Override any gcc2 internal prototype to avoid an error. */
27845 #ifdef __cplusplus
27846 extern "C"
27847 #endif
27848 /* We use char because int might match the return type of a gcc2
27849 builtin and then its argument prototype would still apply. */
27850 char gdk_im_open ();
27851 int
27852 main ()
27853 {
27854 gdk_im_open ();
27855 ;
27856 return 0;
27857 }
27858 _ACEOF
27859 rm -f conftest.$ac_objext conftest$ac_exeext
27860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27861 (eval $ac_link) 2>conftest.er1
27862 ac_status=$?
27863 grep -v '^ *+' conftest.er1 >conftest.err
27864 rm -f conftest.er1
27865 cat conftest.err >&5
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); } &&
27868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27870 (eval $ac_try) 2>&5
27871 ac_status=$?
27872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27873 (exit $ac_status); }; } &&
27874 { ac_try='test -s conftest$ac_exeext'
27875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27876 (eval $ac_try) 2>&5
27877 ac_status=$?
27878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27879 (exit $ac_status); }; }; then
27880 ac_cv_lib_gdk_gdk_im_open=yes
27881 else
27882 echo "$as_me: failed program was:" >&5
27883 sed 's/^/| /' conftest.$ac_ext >&5
27884
27885 ac_cv_lib_gdk_gdk_im_open=no
27886 fi
27887 rm -f conftest.err conftest.$ac_objext \
27888 conftest$ac_exeext conftest.$ac_ext
27889 LIBS=$ac_check_lib_save_LIBS
27890 fi
27891 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27892 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27893 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27894 cat >>confdefs.h <<\_ACEOF
27895 #define HAVE_XIM 1
27896 _ACEOF
27897
27898 fi
27899
27900
27901 if test "$USE_DARWIN" != 1; then
27902
27903 for ac_func in poll
27904 do
27905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27906 echo "$as_me:$LINENO: checking for $ac_func" >&5
27907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27908 if eval "test \"\${$as_ac_var+set}\" = set"; then
27909 echo $ECHO_N "(cached) $ECHO_C" >&6
27910 else
27911 cat >conftest.$ac_ext <<_ACEOF
27912 /* confdefs.h. */
27913 _ACEOF
27914 cat confdefs.h >>conftest.$ac_ext
27915 cat >>conftest.$ac_ext <<_ACEOF
27916 /* end confdefs.h. */
27917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27919 #define $ac_func innocuous_$ac_func
27920
27921 /* System header to define __stub macros and hopefully few prototypes,
27922 which can conflict with char $ac_func (); below.
27923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27924 <limits.h> exists even on freestanding compilers. */
27925
27926 #ifdef __STDC__
27927 # include <limits.h>
27928 #else
27929 # include <assert.h>
27930 #endif
27931
27932 #undef $ac_func
27933
27934 /* Override any gcc2 internal prototype to avoid an error. */
27935 #ifdef __cplusplus
27936 extern "C"
27937 {
27938 #endif
27939 /* We use char because int might match the return type of a gcc2
27940 builtin and then its argument prototype would still apply. */
27941 char $ac_func ();
27942 /* The GNU C library defines this for functions which it implements
27943 to always fail with ENOSYS. Some functions are actually named
27944 something starting with __ and the normal name is an alias. */
27945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27946 choke me
27947 #else
27948 char (*f) () = $ac_func;
27949 #endif
27950 #ifdef __cplusplus
27951 }
27952 #endif
27953
27954 int
27955 main ()
27956 {
27957 return f != $ac_func;
27958 ;
27959 return 0;
27960 }
27961 _ACEOF
27962 rm -f conftest.$ac_objext conftest$ac_exeext
27963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27964 (eval $ac_link) 2>conftest.er1
27965 ac_status=$?
27966 grep -v '^ *+' conftest.er1 >conftest.err
27967 rm -f conftest.er1
27968 cat conftest.err >&5
27969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); } &&
27971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27973 (eval $ac_try) 2>&5
27974 ac_status=$?
27975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976 (exit $ac_status); }; } &&
27977 { ac_try='test -s conftest$ac_exeext'
27978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27979 (eval $ac_try) 2>&5
27980 ac_status=$?
27981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27982 (exit $ac_status); }; }; then
27983 eval "$as_ac_var=yes"
27984 else
27985 echo "$as_me: failed program was:" >&5
27986 sed 's/^/| /' conftest.$ac_ext >&5
27987
27988 eval "$as_ac_var=no"
27989 fi
27990 rm -f conftest.err conftest.$ac_objext \
27991 conftest$ac_exeext conftest.$ac_ext
27992 fi
27993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27995 if test `eval echo '${'$as_ac_var'}'` = yes; then
27996 cat >>confdefs.h <<_ACEOF
27997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27998 _ACEOF
27999
28000 fi
28001 done
28002
28003 fi
28004 fi
28005
28006 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28007 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28008
28009 AFMINSTALL=afminstall
28010 TOOLKIT=GTK
28011 GUIDIST=GTK_DIST
28012
28013 if test "$wxUSE_GPE" = "yes"; then
28014 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28015 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28016
28017 ac_find_libraries=
28018 for ac_dir in $SEARCH_LIB;
28019 do
28020 for ac_extension in a so sl dylib dll.a; do
28021 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28022 ac_find_libraries=$ac_dir
28023 break 2
28024 fi
28025 done
28026 done
28027
28028 if test "$ac_find_libraries" != "" ; then
28029
28030 if test "$ac_find_libraries" = "default location"; then
28031 ac_path_to_link=""
28032 else
28033 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28034 result=$?
28035 if test $result = 0; then
28036 ac_path_to_link=""
28037 else
28038 ac_path_to_link=" -L$ac_find_libraries"
28039 fi
28040 fi
28041
28042 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28043 WXGPE=1
28044 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28045 echo "${ECHO_T}found in $ac_find_libraries" >&6
28046 else
28047 echo "$as_me:$LINENO: result: not found" >&5
28048 echo "${ECHO_T}not found" >&6
28049 fi
28050
28051 fi
28052 fi
28053
28054 if test "$wxUSE_MGL" = 1; then
28055 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28056 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28057 if test "x$MGL_ROOT" = x ; then
28058 echo "$as_me:$LINENO: result: not found" >&5
28059 echo "${ECHO_T}not found" >&6
28060 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28061 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28062 { (exit 1); exit 1; }; }
28063 else
28064 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28065 echo "${ECHO_T}$MGL_ROOT" >&6
28066 fi
28067
28068 echo "$as_me:$LINENO: checking for libmgl location" >&5
28069 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28070 case "${host}" in
28071 *-*-linux* )
28072 if test "x$wxUSE_SHARED" = xyes ; then
28073 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28074 else
28075 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28076 fi
28077 ;;
28078 *-pc-msdosdjgpp )
28079 mgl_os_candidates="dos32/dj2"
28080 ;;
28081 *)
28082 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28083 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28084 { (exit 1); exit 1; }; }
28085 esac
28086
28087 mgl_lib_type=""
28088 mgl_os=""
28089
28090 for mgl_os_i in $mgl_os_candidates ; do
28091 if test "x$mgl_os" = x ; then
28092 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28093 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28094 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28095 mgl_lib_type=debug
28096 mgl_os=$mgl_os_i
28097 fi
28098 fi
28099 if test "x$mgl_lib_type" = x ; then
28100 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28101 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28102 mgl_lib_type=release
28103 mgl_os=$mgl_os_i
28104 fi
28105 fi
28106 fi
28107 done
28108
28109 if test "x$mgl_os" = x ; then
28110 echo "$as_me:$LINENO: result: not found" >&5
28111 echo "${ECHO_T}not found" >&6
28112 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28113 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28114 { (exit 1); exit 1; }; }
28115 fi
28116 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28117 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28118
28119 wxUSE_UNIVERSAL="yes"
28120
28121 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28122 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28123
28124 AFMINSTALL=afminstall
28125 TOOLKIT=MGL
28126 GUIDIST=MGL_DIST
28127 fi
28128
28129 if test "$wxUSE_DFB" = 1; then
28130
28131
28132 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28133 if test -n "$ac_tool_prefix"; then
28134 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28135 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28136 echo "$as_me:$LINENO: checking for $ac_word" >&5
28137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28138 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28139 echo $ECHO_N "(cached) $ECHO_C" >&6
28140 else
28141 case $PKG_CONFIG in
28142 [\\/]* | ?:[\\/]*)
28143 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28144 ;;
28145 *)
28146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28147 for as_dir in $PATH
28148 do
28149 IFS=$as_save_IFS
28150 test -z "$as_dir" && as_dir=.
28151 for ac_exec_ext in '' $ac_executable_extensions; do
28152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28153 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28155 break 2
28156 fi
28157 done
28158 done
28159
28160 ;;
28161 esac
28162 fi
28163 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28164
28165 if test -n "$PKG_CONFIG"; then
28166 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28167 echo "${ECHO_T}$PKG_CONFIG" >&6
28168 else
28169 echo "$as_me:$LINENO: result: no" >&5
28170 echo "${ECHO_T}no" >&6
28171 fi
28172
28173 fi
28174 if test -z "$ac_cv_path_PKG_CONFIG"; then
28175 ac_pt_PKG_CONFIG=$PKG_CONFIG
28176 # Extract the first word of "pkg-config", so it can be a program name with args.
28177 set dummy pkg-config; ac_word=$2
28178 echo "$as_me:$LINENO: checking for $ac_word" >&5
28179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28180 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28181 echo $ECHO_N "(cached) $ECHO_C" >&6
28182 else
28183 case $ac_pt_PKG_CONFIG in
28184 [\\/]* | ?:[\\/]*)
28185 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28186 ;;
28187 *)
28188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28189 for as_dir in $PATH
28190 do
28191 IFS=$as_save_IFS
28192 test -z "$as_dir" && as_dir=.
28193 for ac_exec_ext in '' $ac_executable_extensions; do
28194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28195 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28197 break 2
28198 fi
28199 done
28200 done
28201
28202 ;;
28203 esac
28204 fi
28205 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28206
28207 if test -n "$ac_pt_PKG_CONFIG"; then
28208 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28209 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
28210 else
28211 echo "$as_me:$LINENO: result: no" >&5
28212 echo "${ECHO_T}no" >&6
28213 fi
28214
28215 PKG_CONFIG=$ac_pt_PKG_CONFIG
28216 else
28217 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28218 fi
28219
28220 fi
28221 if test -n "$PKG_CONFIG"; then
28222 _pkg_min_version=0.9.0
28223 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28224 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
28225 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28226 echo "$as_me:$LINENO: result: yes" >&5
28227 echo "${ECHO_T}yes" >&6
28228 else
28229 echo "$as_me:$LINENO: result: no" >&5
28230 echo "${ECHO_T}no" >&6
28231 PKG_CONFIG=""
28232 fi
28233
28234 fi
28235
28236
28237 pkg_failed=no
28238 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28239 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
28240
28241 if test -n "$PKG_CONFIG"; then
28242 if test -n "$DIRECTFB_CFLAGS"; then
28243 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28244 else
28245 if test -n "$PKG_CONFIG" && \
28246 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28247 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28248 ac_status=$?
28249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250 (exit $ac_status); }; then
28251 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28252 else
28253 pkg_failed=yes
28254 fi
28255 fi
28256 else
28257 pkg_failed=untried
28258 fi
28259 if test -n "$PKG_CONFIG"; then
28260 if test -n "$DIRECTFB_LIBS"; then
28261 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28262 else
28263 if test -n "$PKG_CONFIG" && \
28264 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28265 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28266 ac_status=$?
28267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268 (exit $ac_status); }; then
28269 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28270 else
28271 pkg_failed=yes
28272 fi
28273 fi
28274 else
28275 pkg_failed=untried
28276 fi
28277
28278
28279
28280 if test $pkg_failed = yes; then
28281
28282 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28283 _pkg_short_errors_supported=yes
28284 else
28285 _pkg_short_errors_supported=no
28286 fi
28287 if test $_pkg_short_errors_supported = yes; then
28288 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28289 else
28290 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28291 fi
28292 # Put the nasty error message in config.log where it belongs
28293 echo "$DIRECTFB_PKG_ERRORS" >&5
28294
28295
28296 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28297 echo "$as_me: error: DirectFB not found." >&2;}
28298 { (exit 1); exit 1; }; }
28299
28300
28301 elif test $pkg_failed = untried; then
28302
28303 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28304 echo "$as_me: error: DirectFB not found." >&2;}
28305 { (exit 1); exit 1; }; }
28306
28307
28308 else
28309 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28310 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28311 echo "$as_me:$LINENO: result: yes" >&5
28312 echo "${ECHO_T}yes" >&6
28313
28314 wxUSE_UNIVERSAL="yes"
28315 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28316 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28317 TOOLKIT=DFB
28318 GUIDIST=DFB_DIST
28319
28320 fi
28321 fi
28322
28323 if test "$wxUSE_MICROWIN" = 1; then
28324 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28325 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28326 if test "x$MICROWINDOWS" = x ; then
28327 echo "$as_me:$LINENO: result: not found" >&5
28328 echo "${ECHO_T}not found" >&6
28329 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28330 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28331 { (exit 1); exit 1; }; }
28332 else
28333 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28334 echo "${ECHO_T}$MICROWINDOWS" >&6
28335 fi
28336
28337 if test -f $MICROWINDOWS/lib/libmwin.a; then
28338 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28339 echo "${ECHO_T}MicroWindows' libraries found." >&6
28340 else
28341 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28342 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28343 { (exit 1); exit 1; }; }
28344 fi
28345
28346 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28347 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28348
28349 wxUSE_UNIVERSAL="yes"
28350
28351 AFMINSTALL=afminstall
28352 TOOLKIT=MICROWIN
28353 GUIDIST=MICROWIN_DIST
28354
28355 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28356 fi
28357
28358 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28359
28360 if test "x$ac_path_x_has_been_run" != xyes; then
28361 echo "$as_me:$LINENO: checking for X" >&5
28362 echo $ECHO_N "checking for X... $ECHO_C" >&6
28363
28364 ac_path_x_has_been_run=yes
28365
28366 # Check whether --with-x or --without-x was given.
28367 if test "${with_x+set}" = set; then
28368 withval="$with_x"
28369
28370 fi;
28371 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28372 if test "x$with_x" = xno; then
28373 # The user explicitly disabled X.
28374 have_x=disabled
28375 else
28376 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
28377 # Both variables are already set.
28378 have_x=yes
28379 else
28380 if test "${ac_cv_have_x+set}" = set; then
28381 echo $ECHO_N "(cached) $ECHO_C" >&6
28382 else
28383 # One or both of the vars are not set, and there is no cached value.
28384 ac_x_includes=no ac_x_libraries=no
28385 rm -fr conftest.dir
28386 if mkdir conftest.dir; then
28387 cd conftest.dir
28388 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28389 cat >Imakefile <<'_ACEOF'
28390 acfindx:
28391 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28392 _ACEOF
28393 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
28394 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28395 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28396 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28397 for ac_extension in a so sl; do
28398 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28399 test -f $ac_im_libdir/libX11.$ac_extension; then
28400 ac_im_usrlibdir=$ac_im_libdir; break
28401 fi
28402 done
28403 # Screen out bogus values from the imake configuration. They are
28404 # bogus both because they are the default anyway, and because
28405 # using them would break gcc on systems where it needs fixed includes.
28406 case $ac_im_incroot in
28407 /usr/include) ;;
28408 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28409 esac
28410 case $ac_im_usrlibdir in
28411 /usr/lib | /lib) ;;
28412 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28413 esac
28414 fi
28415 cd ..
28416 rm -fr conftest.dir
28417 fi
28418
28419 # Standard set of common directories for X headers.
28420 # Check X11 before X11Rn because it is often a symlink to the current release.
28421 ac_x_header_dirs='
28422 /usr/X11/include
28423 /usr/X11R6/include
28424 /usr/X11R5/include
28425 /usr/X11R4/include
28426
28427 /usr/include/X11
28428 /usr/include/X11R6
28429 /usr/include/X11R5
28430 /usr/include/X11R4
28431
28432 /usr/local/X11/include
28433 /usr/local/X11R6/include
28434 /usr/local/X11R5/include
28435 /usr/local/X11R4/include
28436
28437 /usr/local/include/X11
28438 /usr/local/include/X11R6
28439 /usr/local/include/X11R5
28440 /usr/local/include/X11R4
28441
28442 /usr/X386/include
28443 /usr/x386/include
28444 /usr/XFree86/include/X11
28445
28446 /usr/include
28447 /usr/local/include
28448 /usr/unsupported/include
28449 /usr/athena/include
28450 /usr/local/x11r5/include
28451 /usr/lpp/Xamples/include
28452
28453 /usr/openwin/include
28454 /usr/openwin/share/include'
28455
28456 if test "$ac_x_includes" = no; then
28457 # Guess where to find include files, by looking for a specified header file.
28458 # First, try using that file with no special directory specified.
28459 cat >conftest.$ac_ext <<_ACEOF
28460 /* confdefs.h. */
28461 _ACEOF
28462 cat confdefs.h >>conftest.$ac_ext
28463 cat >>conftest.$ac_ext <<_ACEOF
28464 /* end confdefs.h. */
28465 #include <X11/Xlib.h>
28466 _ACEOF
28467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28469 ac_status=$?
28470 grep -v '^ *+' conftest.er1 >conftest.err
28471 rm -f conftest.er1
28472 cat conftest.err >&5
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); } >/dev/null; then
28475 if test -s conftest.err; then
28476 ac_cpp_err=$ac_c_preproc_warn_flag
28477 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28478 else
28479 ac_cpp_err=
28480 fi
28481 else
28482 ac_cpp_err=yes
28483 fi
28484 if test -z "$ac_cpp_err"; then
28485 # We can compile using X headers with no special include directory.
28486 ac_x_includes=
28487 else
28488 echo "$as_me: failed program was:" >&5
28489 sed 's/^/| /' conftest.$ac_ext >&5
28490
28491 for ac_dir in $ac_x_header_dirs; do
28492 if test -r "$ac_dir/X11/Xlib.h"; then
28493 ac_x_includes=$ac_dir
28494 break
28495 fi
28496 done
28497 fi
28498 rm -f conftest.err conftest.$ac_ext
28499 fi # $ac_x_includes = no
28500
28501 if test "$ac_x_libraries" = no; then
28502 # Check for the libraries.
28503 # See if we find them without any special options.
28504 # Don't add to $LIBS permanently.
28505 ac_save_LIBS=$LIBS
28506 LIBS="-lX11 $LIBS"
28507 cat >conftest.$ac_ext <<_ACEOF
28508 /* confdefs.h. */
28509 _ACEOF
28510 cat confdefs.h >>conftest.$ac_ext
28511 cat >>conftest.$ac_ext <<_ACEOF
28512 /* end confdefs.h. */
28513 #include <X11/Xlib.h>
28514 int
28515 main ()
28516 {
28517 XrmInitialize ()
28518 ;
28519 return 0;
28520 }
28521 _ACEOF
28522 rm -f conftest.$ac_objext conftest$ac_exeext
28523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28524 (eval $ac_link) 2>conftest.er1
28525 ac_status=$?
28526 grep -v '^ *+' conftest.er1 >conftest.err
28527 rm -f conftest.er1
28528 cat conftest.err >&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); } &&
28531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28533 (eval $ac_try) 2>&5
28534 ac_status=$?
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); }; } &&
28537 { ac_try='test -s conftest$ac_exeext'
28538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28539 (eval $ac_try) 2>&5
28540 ac_status=$?
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); }; }; then
28543 LIBS=$ac_save_LIBS
28544 # We can link X programs with no special library path.
28545 ac_x_libraries=
28546 else
28547 echo "$as_me: failed program was:" >&5
28548 sed 's/^/| /' conftest.$ac_ext >&5
28549
28550 LIBS=$ac_save_LIBS
28551 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28552 do
28553 # Don't even attempt the hair of trying to link an X program!
28554 for ac_extension in a so sl; do
28555 if test -r $ac_dir/libX11.$ac_extension; then
28556 ac_x_libraries=$ac_dir
28557 break 2
28558 fi
28559 done
28560 done
28561 fi
28562 rm -f conftest.err conftest.$ac_objext \
28563 conftest$ac_exeext conftest.$ac_ext
28564 fi # $ac_x_libraries = no
28565
28566 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
28567 # Didn't find X anywhere. Cache the known absence of X.
28568 ac_cv_have_x="have_x=no"
28569 else
28570 # Record where we found X for the cache.
28571 ac_cv_have_x="have_x=yes \
28572 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28573 fi
28574 fi
28575
28576 fi
28577 eval "$ac_cv_have_x"
28578 fi # $with_x != no
28579
28580 if test "$have_x" != yes; then
28581 echo "$as_me:$LINENO: result: $have_x" >&5
28582 echo "${ECHO_T}$have_x" >&6
28583 no_x=yes
28584 else
28585 # If each of the values was on the command line, it overrides each guess.
28586 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28587 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28588 # Update the cache value to reflect the command line values.
28589 ac_cv_have_x="have_x=yes \
28590 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28591 # It might be that x_includes is empty (headers are found in the
28592 # standard search path. Then output the corresponding message
28593 ac_out_x_includes=$x_includes
28594 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
28595 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28596 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28597 fi
28598
28599 fi
28600 if test "$no_x" = yes; then
28601 # Not all programs may use this symbol, but it does not hurt to define it.
28602
28603 cat >>confdefs.h <<\_ACEOF
28604 #define X_DISPLAY_MISSING 1
28605 _ACEOF
28606
28607 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28608 else
28609 if test -n "$x_includes"; then
28610 X_CFLAGS="$X_CFLAGS -I$x_includes"
28611 fi
28612
28613 # It would also be nice to do this for all -L options, not just this one.
28614 if test -n "$x_libraries"; then
28615 X_LIBS="$X_LIBS -L$x_libraries"
28616 # For Solaris; some versions of Sun CC require a space after -R and
28617 # others require no space. Words are not sufficient . . . .
28618 case `(uname -sr) 2>/dev/null` in
28619 "SunOS 5"*)
28620 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28621 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28622 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28623 cat >conftest.$ac_ext <<_ACEOF
28624 /* confdefs.h. */
28625 _ACEOF
28626 cat confdefs.h >>conftest.$ac_ext
28627 cat >>conftest.$ac_ext <<_ACEOF
28628 /* end confdefs.h. */
28629
28630 int
28631 main ()
28632 {
28633
28634 ;
28635 return 0;
28636 }
28637 _ACEOF
28638 rm -f conftest.$ac_objext conftest$ac_exeext
28639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28640 (eval $ac_link) 2>conftest.er1
28641 ac_status=$?
28642 grep -v '^ *+' conftest.er1 >conftest.err
28643 rm -f conftest.er1
28644 cat conftest.err >&5
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); } &&
28647 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28649 (eval $ac_try) 2>&5
28650 ac_status=$?
28651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652 (exit $ac_status); }; } &&
28653 { ac_try='test -s conftest$ac_exeext'
28654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28655 (eval $ac_try) 2>&5
28656 ac_status=$?
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); }; }; then
28659 ac_R_nospace=yes
28660 else
28661 echo "$as_me: failed program was:" >&5
28662 sed 's/^/| /' conftest.$ac_ext >&5
28663
28664 ac_R_nospace=no
28665 fi
28666 rm -f conftest.err conftest.$ac_objext \
28667 conftest$ac_exeext conftest.$ac_ext
28668 if test $ac_R_nospace = yes; then
28669 echo "$as_me:$LINENO: result: no" >&5
28670 echo "${ECHO_T}no" >&6
28671 X_LIBS="$X_LIBS -R$x_libraries"
28672 else
28673 LIBS="$ac_xsave_LIBS -R $x_libraries"
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 int
28682 main ()
28683 {
28684
28685 ;
28686 return 0;
28687 }
28688 _ACEOF
28689 rm -f conftest.$ac_objext conftest$ac_exeext
28690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28691 (eval $ac_link) 2>conftest.er1
28692 ac_status=$?
28693 grep -v '^ *+' conftest.er1 >conftest.err
28694 rm -f conftest.er1
28695 cat conftest.err >&5
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); } &&
28698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28700 (eval $ac_try) 2>&5
28701 ac_status=$?
28702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703 (exit $ac_status); }; } &&
28704 { ac_try='test -s conftest$ac_exeext'
28705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28706 (eval $ac_try) 2>&5
28707 ac_status=$?
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); }; }; then
28710 ac_R_space=yes
28711 else
28712 echo "$as_me: failed program was:" >&5
28713 sed 's/^/| /' conftest.$ac_ext >&5
28714
28715 ac_R_space=no
28716 fi
28717 rm -f conftest.err conftest.$ac_objext \
28718 conftest$ac_exeext conftest.$ac_ext
28719 if test $ac_R_space = yes; then
28720 echo "$as_me:$LINENO: result: yes" >&5
28721 echo "${ECHO_T}yes" >&6
28722 X_LIBS="$X_LIBS -R $x_libraries"
28723 else
28724 echo "$as_me:$LINENO: result: neither works" >&5
28725 echo "${ECHO_T}neither works" >&6
28726 fi
28727 fi
28728 LIBS=$ac_xsave_LIBS
28729 esac
28730 fi
28731
28732 # Check for system-dependent libraries X programs must link with.
28733 # Do this before checking for the system-independent R6 libraries
28734 # (-lICE), since we may need -lsocket or whatever for X linking.
28735
28736 if test "$ISC" = yes; then
28737 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28738 else
28739 # Martyn Johnson says this is needed for Ultrix, if the X
28740 # libraries were built with DECnet support. And Karl Berry says
28741 # the Alpha needs dnet_stub (dnet does not exist).
28742 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28743 cat >conftest.$ac_ext <<_ACEOF
28744 /* confdefs.h. */
28745 _ACEOF
28746 cat confdefs.h >>conftest.$ac_ext
28747 cat >>conftest.$ac_ext <<_ACEOF
28748 /* end confdefs.h. */
28749
28750 /* Override any gcc2 internal prototype to avoid an error. */
28751 #ifdef __cplusplus
28752 extern "C"
28753 #endif
28754 /* We use char because int might match the return type of a gcc2
28755 builtin and then its argument prototype would still apply. */
28756 char XOpenDisplay ();
28757 int
28758 main ()
28759 {
28760 XOpenDisplay ();
28761 ;
28762 return 0;
28763 }
28764 _ACEOF
28765 rm -f conftest.$ac_objext conftest$ac_exeext
28766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28767 (eval $ac_link) 2>conftest.er1
28768 ac_status=$?
28769 grep -v '^ *+' conftest.er1 >conftest.err
28770 rm -f conftest.er1
28771 cat conftest.err >&5
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); } &&
28774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28776 (eval $ac_try) 2>&5
28777 ac_status=$?
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); }; } &&
28780 { ac_try='test -s conftest$ac_exeext'
28781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28782 (eval $ac_try) 2>&5
28783 ac_status=$?
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); }; }; then
28786 :
28787 else
28788 echo "$as_me: failed program was:" >&5
28789 sed 's/^/| /' conftest.$ac_ext >&5
28790
28791 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28792 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28793 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28794 echo $ECHO_N "(cached) $ECHO_C" >&6
28795 else
28796 ac_check_lib_save_LIBS=$LIBS
28797 LIBS="-ldnet $LIBS"
28798 cat >conftest.$ac_ext <<_ACEOF
28799 /* confdefs.h. */
28800 _ACEOF
28801 cat confdefs.h >>conftest.$ac_ext
28802 cat >>conftest.$ac_ext <<_ACEOF
28803 /* end confdefs.h. */
28804
28805 /* Override any gcc2 internal prototype to avoid an error. */
28806 #ifdef __cplusplus
28807 extern "C"
28808 #endif
28809 /* We use char because int might match the return type of a gcc2
28810 builtin and then its argument prototype would still apply. */
28811 char dnet_ntoa ();
28812 int
28813 main ()
28814 {
28815 dnet_ntoa ();
28816 ;
28817 return 0;
28818 }
28819 _ACEOF
28820 rm -f conftest.$ac_objext conftest$ac_exeext
28821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28822 (eval $ac_link) 2>conftest.er1
28823 ac_status=$?
28824 grep -v '^ *+' conftest.er1 >conftest.err
28825 rm -f conftest.er1
28826 cat conftest.err >&5
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); } &&
28829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28831 (eval $ac_try) 2>&5
28832 ac_status=$?
28833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834 (exit $ac_status); }; } &&
28835 { ac_try='test -s conftest$ac_exeext'
28836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28837 (eval $ac_try) 2>&5
28838 ac_status=$?
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); }; }; then
28841 ac_cv_lib_dnet_dnet_ntoa=yes
28842 else
28843 echo "$as_me: failed program was:" >&5
28844 sed 's/^/| /' conftest.$ac_ext >&5
28845
28846 ac_cv_lib_dnet_dnet_ntoa=no
28847 fi
28848 rm -f conftest.err conftest.$ac_objext \
28849 conftest$ac_exeext conftest.$ac_ext
28850 LIBS=$ac_check_lib_save_LIBS
28851 fi
28852 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28853 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28854 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28855 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28856 fi
28857
28858 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28859 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28860 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28861 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28862 echo $ECHO_N "(cached) $ECHO_C" >&6
28863 else
28864 ac_check_lib_save_LIBS=$LIBS
28865 LIBS="-ldnet_stub $LIBS"
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 /* Override any gcc2 internal prototype to avoid an error. */
28874 #ifdef __cplusplus
28875 extern "C"
28876 #endif
28877 /* We use char because int might match the return type of a gcc2
28878 builtin and then its argument prototype would still apply. */
28879 char dnet_ntoa ();
28880 int
28881 main ()
28882 {
28883 dnet_ntoa ();
28884 ;
28885 return 0;
28886 }
28887 _ACEOF
28888 rm -f conftest.$ac_objext conftest$ac_exeext
28889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28890 (eval $ac_link) 2>conftest.er1
28891 ac_status=$?
28892 grep -v '^ *+' conftest.er1 >conftest.err
28893 rm -f conftest.er1
28894 cat conftest.err >&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); } &&
28897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899 (eval $ac_try) 2>&5
28900 ac_status=$?
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); }; } &&
28903 { ac_try='test -s conftest$ac_exeext'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28906 ac_status=$?
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; }; then
28909 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28910 else
28911 echo "$as_me: failed program was:" >&5
28912 sed 's/^/| /' conftest.$ac_ext >&5
28913
28914 ac_cv_lib_dnet_stub_dnet_ntoa=no
28915 fi
28916 rm -f conftest.err conftest.$ac_objext \
28917 conftest$ac_exeext conftest.$ac_ext
28918 LIBS=$ac_check_lib_save_LIBS
28919 fi
28920 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28921 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28922 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28923 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
28924 fi
28925
28926 fi
28927 fi
28928 rm -f conftest.err conftest.$ac_objext \
28929 conftest$ac_exeext conftest.$ac_ext
28930 LIBS="$ac_xsave_LIBS"
28931
28932 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28933 # to get the SysV transport functions.
28934 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28935 # needs -lnsl.
28936 # The nsl library prevents programs from opening the X display
28937 # on Irix 5.2, according to T.E. Dickey.
28938 # The functions gethostbyname, getservbyname, and inet_addr are
28939 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28940 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28941 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28942 if test "${ac_cv_func_gethostbyname+set}" = set; then
28943 echo $ECHO_N "(cached) $ECHO_C" >&6
28944 else
28945 cat >conftest.$ac_ext <<_ACEOF
28946 /* confdefs.h. */
28947 _ACEOF
28948 cat confdefs.h >>conftest.$ac_ext
28949 cat >>conftest.$ac_ext <<_ACEOF
28950 /* end confdefs.h. */
28951 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28953 #define gethostbyname innocuous_gethostbyname
28954
28955 /* System header to define __stub macros and hopefully few prototypes,
28956 which can conflict with char gethostbyname (); below.
28957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28958 <limits.h> exists even on freestanding compilers. */
28959
28960 #ifdef __STDC__
28961 # include <limits.h>
28962 #else
28963 # include <assert.h>
28964 #endif
28965
28966 #undef gethostbyname
28967
28968 /* Override any gcc2 internal prototype to avoid an error. */
28969 #ifdef __cplusplus
28970 extern "C"
28971 {
28972 #endif
28973 /* We use char because int might match the return type of a gcc2
28974 builtin and then its argument prototype would still apply. */
28975 char gethostbyname ();
28976 /* The GNU C library defines this for functions which it implements
28977 to always fail with ENOSYS. Some functions are actually named
28978 something starting with __ and the normal name is an alias. */
28979 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28980 choke me
28981 #else
28982 char (*f) () = gethostbyname;
28983 #endif
28984 #ifdef __cplusplus
28985 }
28986 #endif
28987
28988 int
28989 main ()
28990 {
28991 return f != gethostbyname;
28992 ;
28993 return 0;
28994 }
28995 _ACEOF
28996 rm -f conftest.$ac_objext conftest$ac_exeext
28997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28998 (eval $ac_link) 2>conftest.er1
28999 ac_status=$?
29000 grep -v '^ *+' conftest.er1 >conftest.err
29001 rm -f conftest.er1
29002 cat conftest.err >&5
29003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29004 (exit $ac_status); } &&
29005 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29007 (eval $ac_try) 2>&5
29008 ac_status=$?
29009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29010 (exit $ac_status); }; } &&
29011 { ac_try='test -s conftest$ac_exeext'
29012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29013 (eval $ac_try) 2>&5
29014 ac_status=$?
29015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29016 (exit $ac_status); }; }; then
29017 ac_cv_func_gethostbyname=yes
29018 else
29019 echo "$as_me: failed program was:" >&5
29020 sed 's/^/| /' conftest.$ac_ext >&5
29021
29022 ac_cv_func_gethostbyname=no
29023 fi
29024 rm -f conftest.err conftest.$ac_objext \
29025 conftest$ac_exeext conftest.$ac_ext
29026 fi
29027 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29028 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29029
29030 if test $ac_cv_func_gethostbyname = no; then
29031 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29032 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29033 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29034 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 else
29036 ac_check_lib_save_LIBS=$LIBS
29037 LIBS="-lnsl $LIBS"
29038 cat >conftest.$ac_ext <<_ACEOF
29039 /* confdefs.h. */
29040 _ACEOF
29041 cat confdefs.h >>conftest.$ac_ext
29042 cat >>conftest.$ac_ext <<_ACEOF
29043 /* end confdefs.h. */
29044
29045 /* Override any gcc2 internal prototype to avoid an error. */
29046 #ifdef __cplusplus
29047 extern "C"
29048 #endif
29049 /* We use char because int might match the return type of a gcc2
29050 builtin and then its argument prototype would still apply. */
29051 char gethostbyname ();
29052 int
29053 main ()
29054 {
29055 gethostbyname ();
29056 ;
29057 return 0;
29058 }
29059 _ACEOF
29060 rm -f conftest.$ac_objext conftest$ac_exeext
29061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29062 (eval $ac_link) 2>conftest.er1
29063 ac_status=$?
29064 grep -v '^ *+' conftest.er1 >conftest.err
29065 rm -f conftest.er1
29066 cat conftest.err >&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } &&
29069 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29071 (eval $ac_try) 2>&5
29072 ac_status=$?
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); }; } &&
29075 { ac_try='test -s conftest$ac_exeext'
29076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29077 (eval $ac_try) 2>&5
29078 ac_status=$?
29079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080 (exit $ac_status); }; }; then
29081 ac_cv_lib_nsl_gethostbyname=yes
29082 else
29083 echo "$as_me: failed program was:" >&5
29084 sed 's/^/| /' conftest.$ac_ext >&5
29085
29086 ac_cv_lib_nsl_gethostbyname=no
29087 fi
29088 rm -f conftest.err conftest.$ac_objext \
29089 conftest$ac_exeext conftest.$ac_ext
29090 LIBS=$ac_check_lib_save_LIBS
29091 fi
29092 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29093 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29094 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29095 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29096 fi
29097
29098 if test $ac_cv_lib_nsl_gethostbyname = no; then
29099 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29100 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29101 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29102 echo $ECHO_N "(cached) $ECHO_C" >&6
29103 else
29104 ac_check_lib_save_LIBS=$LIBS
29105 LIBS="-lbsd $LIBS"
29106 cat >conftest.$ac_ext <<_ACEOF
29107 /* confdefs.h. */
29108 _ACEOF
29109 cat confdefs.h >>conftest.$ac_ext
29110 cat >>conftest.$ac_ext <<_ACEOF
29111 /* end confdefs.h. */
29112
29113 /* Override any gcc2 internal prototype to avoid an error. */
29114 #ifdef __cplusplus
29115 extern "C"
29116 #endif
29117 /* We use char because int might match the return type of a gcc2
29118 builtin and then its argument prototype would still apply. */
29119 char gethostbyname ();
29120 int
29121 main ()
29122 {
29123 gethostbyname ();
29124 ;
29125 return 0;
29126 }
29127 _ACEOF
29128 rm -f conftest.$ac_objext conftest$ac_exeext
29129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29130 (eval $ac_link) 2>conftest.er1
29131 ac_status=$?
29132 grep -v '^ *+' conftest.er1 >conftest.err
29133 rm -f conftest.er1
29134 cat conftest.err >&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); } &&
29137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29139 (eval $ac_try) 2>&5
29140 ac_status=$?
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); }; } &&
29143 { ac_try='test -s conftest$ac_exeext'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29146 ac_status=$?
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; }; then
29149 ac_cv_lib_bsd_gethostbyname=yes
29150 else
29151 echo "$as_me: failed program was:" >&5
29152 sed 's/^/| /' conftest.$ac_ext >&5
29153
29154 ac_cv_lib_bsd_gethostbyname=no
29155 fi
29156 rm -f conftest.err conftest.$ac_objext \
29157 conftest$ac_exeext conftest.$ac_ext
29158 LIBS=$ac_check_lib_save_LIBS
29159 fi
29160 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29161 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29162 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29163 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29164 fi
29165
29166 fi
29167 fi
29168
29169 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29170 # socket/setsockopt and other routines are undefined under SCO ODT
29171 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29172 # on later versions), says Simon Leinen: it contains gethostby*
29173 # variants that don't use the name server (or something). -lsocket
29174 # must be given before -lnsl if both are needed. We assume that
29175 # if connect needs -lnsl, so does gethostbyname.
29176 echo "$as_me:$LINENO: checking for connect" >&5
29177 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29178 if test "${ac_cv_func_connect+set}" = set; then
29179 echo $ECHO_N "(cached) $ECHO_C" >&6
29180 else
29181 cat >conftest.$ac_ext <<_ACEOF
29182 /* confdefs.h. */
29183 _ACEOF
29184 cat confdefs.h >>conftest.$ac_ext
29185 cat >>conftest.$ac_ext <<_ACEOF
29186 /* end confdefs.h. */
29187 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29189 #define connect innocuous_connect
29190
29191 /* System header to define __stub macros and hopefully few prototypes,
29192 which can conflict with char connect (); below.
29193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29194 <limits.h> exists even on freestanding compilers. */
29195
29196 #ifdef __STDC__
29197 # include <limits.h>
29198 #else
29199 # include <assert.h>
29200 #endif
29201
29202 #undef connect
29203
29204 /* Override any gcc2 internal prototype to avoid an error. */
29205 #ifdef __cplusplus
29206 extern "C"
29207 {
29208 #endif
29209 /* We use char because int might match the return type of a gcc2
29210 builtin and then its argument prototype would still apply. */
29211 char connect ();
29212 /* The GNU C library defines this for functions which it implements
29213 to always fail with ENOSYS. Some functions are actually named
29214 something starting with __ and the normal name is an alias. */
29215 #if defined (__stub_connect) || defined (__stub___connect)
29216 choke me
29217 #else
29218 char (*f) () = connect;
29219 #endif
29220 #ifdef __cplusplus
29221 }
29222 #endif
29223
29224 int
29225 main ()
29226 {
29227 return f != connect;
29228 ;
29229 return 0;
29230 }
29231 _ACEOF
29232 rm -f conftest.$ac_objext conftest$ac_exeext
29233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29234 (eval $ac_link) 2>conftest.er1
29235 ac_status=$?
29236 grep -v '^ *+' conftest.er1 >conftest.err
29237 rm -f conftest.er1
29238 cat conftest.err >&5
29239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29240 (exit $ac_status); } &&
29241 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29243 (eval $ac_try) 2>&5
29244 ac_status=$?
29245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29246 (exit $ac_status); }; } &&
29247 { ac_try='test -s conftest$ac_exeext'
29248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29249 (eval $ac_try) 2>&5
29250 ac_status=$?
29251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29252 (exit $ac_status); }; }; then
29253 ac_cv_func_connect=yes
29254 else
29255 echo "$as_me: failed program was:" >&5
29256 sed 's/^/| /' conftest.$ac_ext >&5
29257
29258 ac_cv_func_connect=no
29259 fi
29260 rm -f conftest.err conftest.$ac_objext \
29261 conftest$ac_exeext conftest.$ac_ext
29262 fi
29263 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29264 echo "${ECHO_T}$ac_cv_func_connect" >&6
29265
29266 if test $ac_cv_func_connect = no; then
29267 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29268 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29269 if test "${ac_cv_lib_socket_connect+set}" = set; then
29270 echo $ECHO_N "(cached) $ECHO_C" >&6
29271 else
29272 ac_check_lib_save_LIBS=$LIBS
29273 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29274 cat >conftest.$ac_ext <<_ACEOF
29275 /* confdefs.h. */
29276 _ACEOF
29277 cat confdefs.h >>conftest.$ac_ext
29278 cat >>conftest.$ac_ext <<_ACEOF
29279 /* end confdefs.h. */
29280
29281 /* Override any gcc2 internal prototype to avoid an error. */
29282 #ifdef __cplusplus
29283 extern "C"
29284 #endif
29285 /* We use char because int might match the return type of a gcc2
29286 builtin and then its argument prototype would still apply. */
29287 char connect ();
29288 int
29289 main ()
29290 {
29291 connect ();
29292 ;
29293 return 0;
29294 }
29295 _ACEOF
29296 rm -f conftest.$ac_objext conftest$ac_exeext
29297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29298 (eval $ac_link) 2>conftest.er1
29299 ac_status=$?
29300 grep -v '^ *+' conftest.er1 >conftest.err
29301 rm -f conftest.er1
29302 cat conftest.err >&5
29303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29304 (exit $ac_status); } &&
29305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29307 (eval $ac_try) 2>&5
29308 ac_status=$?
29309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29310 (exit $ac_status); }; } &&
29311 { ac_try='test -s conftest$ac_exeext'
29312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29313 (eval $ac_try) 2>&5
29314 ac_status=$?
29315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29316 (exit $ac_status); }; }; then
29317 ac_cv_lib_socket_connect=yes
29318 else
29319 echo "$as_me: failed program was:" >&5
29320 sed 's/^/| /' conftest.$ac_ext >&5
29321
29322 ac_cv_lib_socket_connect=no
29323 fi
29324 rm -f conftest.err conftest.$ac_objext \
29325 conftest$ac_exeext conftest.$ac_ext
29326 LIBS=$ac_check_lib_save_LIBS
29327 fi
29328 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29329 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29330 if test $ac_cv_lib_socket_connect = yes; then
29331 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29332 fi
29333
29334 fi
29335
29336 # Guillermo Gomez says -lposix is necessary on A/UX.
29337 echo "$as_me:$LINENO: checking for remove" >&5
29338 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29339 if test "${ac_cv_func_remove+set}" = set; then
29340 echo $ECHO_N "(cached) $ECHO_C" >&6
29341 else
29342 cat >conftest.$ac_ext <<_ACEOF
29343 /* confdefs.h. */
29344 _ACEOF
29345 cat confdefs.h >>conftest.$ac_ext
29346 cat >>conftest.$ac_ext <<_ACEOF
29347 /* end confdefs.h. */
29348 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29350 #define remove innocuous_remove
29351
29352 /* System header to define __stub macros and hopefully few prototypes,
29353 which can conflict with char remove (); below.
29354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29355 <limits.h> exists even on freestanding compilers. */
29356
29357 #ifdef __STDC__
29358 # include <limits.h>
29359 #else
29360 # include <assert.h>
29361 #endif
29362
29363 #undef remove
29364
29365 /* Override any gcc2 internal prototype to avoid an error. */
29366 #ifdef __cplusplus
29367 extern "C"
29368 {
29369 #endif
29370 /* We use char because int might match the return type of a gcc2
29371 builtin and then its argument prototype would still apply. */
29372 char remove ();
29373 /* The GNU C library defines this for functions which it implements
29374 to always fail with ENOSYS. Some functions are actually named
29375 something starting with __ and the normal name is an alias. */
29376 #if defined (__stub_remove) || defined (__stub___remove)
29377 choke me
29378 #else
29379 char (*f) () = remove;
29380 #endif
29381 #ifdef __cplusplus
29382 }
29383 #endif
29384
29385 int
29386 main ()
29387 {
29388 return f != remove;
29389 ;
29390 return 0;
29391 }
29392 _ACEOF
29393 rm -f conftest.$ac_objext conftest$ac_exeext
29394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29395 (eval $ac_link) 2>conftest.er1
29396 ac_status=$?
29397 grep -v '^ *+' conftest.er1 >conftest.err
29398 rm -f conftest.er1
29399 cat conftest.err >&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); } &&
29402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29404 (eval $ac_try) 2>&5
29405 ac_status=$?
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); }; } &&
29408 { ac_try='test -s conftest$ac_exeext'
29409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29410 (eval $ac_try) 2>&5
29411 ac_status=$?
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); }; }; then
29414 ac_cv_func_remove=yes
29415 else
29416 echo "$as_me: failed program was:" >&5
29417 sed 's/^/| /' conftest.$ac_ext >&5
29418
29419 ac_cv_func_remove=no
29420 fi
29421 rm -f conftest.err conftest.$ac_objext \
29422 conftest$ac_exeext conftest.$ac_ext
29423 fi
29424 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29425 echo "${ECHO_T}$ac_cv_func_remove" >&6
29426
29427 if test $ac_cv_func_remove = no; then
29428 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29429 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29430 if test "${ac_cv_lib_posix_remove+set}" = set; then
29431 echo $ECHO_N "(cached) $ECHO_C" >&6
29432 else
29433 ac_check_lib_save_LIBS=$LIBS
29434 LIBS="-lposix $LIBS"
29435 cat >conftest.$ac_ext <<_ACEOF
29436 /* confdefs.h. */
29437 _ACEOF
29438 cat confdefs.h >>conftest.$ac_ext
29439 cat >>conftest.$ac_ext <<_ACEOF
29440 /* end confdefs.h. */
29441
29442 /* Override any gcc2 internal prototype to avoid an error. */
29443 #ifdef __cplusplus
29444 extern "C"
29445 #endif
29446 /* We use char because int might match the return type of a gcc2
29447 builtin and then its argument prototype would still apply. */
29448 char remove ();
29449 int
29450 main ()
29451 {
29452 remove ();
29453 ;
29454 return 0;
29455 }
29456 _ACEOF
29457 rm -f conftest.$ac_objext conftest$ac_exeext
29458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29459 (eval $ac_link) 2>conftest.er1
29460 ac_status=$?
29461 grep -v '^ *+' conftest.er1 >conftest.err
29462 rm -f conftest.er1
29463 cat conftest.err >&5
29464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29465 (exit $ac_status); } &&
29466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29468 (eval $ac_try) 2>&5
29469 ac_status=$?
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); }; } &&
29472 { ac_try='test -s conftest$ac_exeext'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29475 ac_status=$?
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; }; then
29478 ac_cv_lib_posix_remove=yes
29479 else
29480 echo "$as_me: failed program was:" >&5
29481 sed 's/^/| /' conftest.$ac_ext >&5
29482
29483 ac_cv_lib_posix_remove=no
29484 fi
29485 rm -f conftest.err conftest.$ac_objext \
29486 conftest$ac_exeext conftest.$ac_ext
29487 LIBS=$ac_check_lib_save_LIBS
29488 fi
29489 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29490 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29491 if test $ac_cv_lib_posix_remove = yes; then
29492 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29493 fi
29494
29495 fi
29496
29497 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29498 echo "$as_me:$LINENO: checking for shmat" >&5
29499 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29500 if test "${ac_cv_func_shmat+set}" = set; then
29501 echo $ECHO_N "(cached) $ECHO_C" >&6
29502 else
29503 cat >conftest.$ac_ext <<_ACEOF
29504 /* confdefs.h. */
29505 _ACEOF
29506 cat confdefs.h >>conftest.$ac_ext
29507 cat >>conftest.$ac_ext <<_ACEOF
29508 /* end confdefs.h. */
29509 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29511 #define shmat innocuous_shmat
29512
29513 /* System header to define __stub macros and hopefully few prototypes,
29514 which can conflict with char shmat (); below.
29515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29516 <limits.h> exists even on freestanding compilers. */
29517
29518 #ifdef __STDC__
29519 # include <limits.h>
29520 #else
29521 # include <assert.h>
29522 #endif
29523
29524 #undef shmat
29525
29526 /* Override any gcc2 internal prototype to avoid an error. */
29527 #ifdef __cplusplus
29528 extern "C"
29529 {
29530 #endif
29531 /* We use char because int might match the return type of a gcc2
29532 builtin and then its argument prototype would still apply. */
29533 char shmat ();
29534 /* The GNU C library defines this for functions which it implements
29535 to always fail with ENOSYS. Some functions are actually named
29536 something starting with __ and the normal name is an alias. */
29537 #if defined (__stub_shmat) || defined (__stub___shmat)
29538 choke me
29539 #else
29540 char (*f) () = shmat;
29541 #endif
29542 #ifdef __cplusplus
29543 }
29544 #endif
29545
29546 int
29547 main ()
29548 {
29549 return f != shmat;
29550 ;
29551 return 0;
29552 }
29553 _ACEOF
29554 rm -f conftest.$ac_objext conftest$ac_exeext
29555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29556 (eval $ac_link) 2>conftest.er1
29557 ac_status=$?
29558 grep -v '^ *+' conftest.er1 >conftest.err
29559 rm -f conftest.er1
29560 cat conftest.err >&5
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); } &&
29563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29566 ac_status=$?
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; } &&
29569 { ac_try='test -s conftest$ac_exeext'
29570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29571 (eval $ac_try) 2>&5
29572 ac_status=$?
29573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 (exit $ac_status); }; }; then
29575 ac_cv_func_shmat=yes
29576 else
29577 echo "$as_me: failed program was:" >&5
29578 sed 's/^/| /' conftest.$ac_ext >&5
29579
29580 ac_cv_func_shmat=no
29581 fi
29582 rm -f conftest.err conftest.$ac_objext \
29583 conftest$ac_exeext conftest.$ac_ext
29584 fi
29585 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29586 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29587
29588 if test $ac_cv_func_shmat = no; then
29589 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29590 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29591 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29592 echo $ECHO_N "(cached) $ECHO_C" >&6
29593 else
29594 ac_check_lib_save_LIBS=$LIBS
29595 LIBS="-lipc $LIBS"
29596 cat >conftest.$ac_ext <<_ACEOF
29597 /* confdefs.h. */
29598 _ACEOF
29599 cat confdefs.h >>conftest.$ac_ext
29600 cat >>conftest.$ac_ext <<_ACEOF
29601 /* end confdefs.h. */
29602
29603 /* Override any gcc2 internal prototype to avoid an error. */
29604 #ifdef __cplusplus
29605 extern "C"
29606 #endif
29607 /* We use char because int might match the return type of a gcc2
29608 builtin and then its argument prototype would still apply. */
29609 char shmat ();
29610 int
29611 main ()
29612 {
29613 shmat ();
29614 ;
29615 return 0;
29616 }
29617 _ACEOF
29618 rm -f conftest.$ac_objext conftest$ac_exeext
29619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29620 (eval $ac_link) 2>conftest.er1
29621 ac_status=$?
29622 grep -v '^ *+' conftest.er1 >conftest.err
29623 rm -f conftest.er1
29624 cat conftest.err >&5
29625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29626 (exit $ac_status); } &&
29627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29629 (eval $ac_try) 2>&5
29630 ac_status=$?
29631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29632 (exit $ac_status); }; } &&
29633 { ac_try='test -s conftest$ac_exeext'
29634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29635 (eval $ac_try) 2>&5
29636 ac_status=$?
29637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29638 (exit $ac_status); }; }; then
29639 ac_cv_lib_ipc_shmat=yes
29640 else
29641 echo "$as_me: failed program was:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29643
29644 ac_cv_lib_ipc_shmat=no
29645 fi
29646 rm -f conftest.err conftest.$ac_objext \
29647 conftest$ac_exeext conftest.$ac_ext
29648 LIBS=$ac_check_lib_save_LIBS
29649 fi
29650 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29651 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29652 if test $ac_cv_lib_ipc_shmat = yes; then
29653 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29654 fi
29655
29656 fi
29657 fi
29658
29659 # Check for libraries that X11R6 Xt/Xaw programs need.
29660 ac_save_LDFLAGS=$LDFLAGS
29661 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29662 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29663 # check for ICE first), but we must link in the order -lSM -lICE or
29664 # we get undefined symbols. So assume we have SM if we have ICE.
29665 # These have to be linked with before -lX11, unlike the other
29666 # libraries we check for below, so use a different variable.
29667 # John Interrante, Karl Berry
29668 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29669 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29670 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29671 echo $ECHO_N "(cached) $ECHO_C" >&6
29672 else
29673 ac_check_lib_save_LIBS=$LIBS
29674 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29675 cat >conftest.$ac_ext <<_ACEOF
29676 /* confdefs.h. */
29677 _ACEOF
29678 cat confdefs.h >>conftest.$ac_ext
29679 cat >>conftest.$ac_ext <<_ACEOF
29680 /* end confdefs.h. */
29681
29682 /* Override any gcc2 internal prototype to avoid an error. */
29683 #ifdef __cplusplus
29684 extern "C"
29685 #endif
29686 /* We use char because int might match the return type of a gcc2
29687 builtin and then its argument prototype would still apply. */
29688 char IceConnectionNumber ();
29689 int
29690 main ()
29691 {
29692 IceConnectionNumber ();
29693 ;
29694 return 0;
29695 }
29696 _ACEOF
29697 rm -f conftest.$ac_objext conftest$ac_exeext
29698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29699 (eval $ac_link) 2>conftest.er1
29700 ac_status=$?
29701 grep -v '^ *+' conftest.er1 >conftest.err
29702 rm -f conftest.er1
29703 cat conftest.err >&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); } &&
29706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29708 (eval $ac_try) 2>&5
29709 ac_status=$?
29710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29711 (exit $ac_status); }; } &&
29712 { ac_try='test -s conftest$ac_exeext'
29713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29714 (eval $ac_try) 2>&5
29715 ac_status=$?
29716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29717 (exit $ac_status); }; }; then
29718 ac_cv_lib_ICE_IceConnectionNumber=yes
29719 else
29720 echo "$as_me: failed program was:" >&5
29721 sed 's/^/| /' conftest.$ac_ext >&5
29722
29723 ac_cv_lib_ICE_IceConnectionNumber=no
29724 fi
29725 rm -f conftest.err conftest.$ac_objext \
29726 conftest$ac_exeext conftest.$ac_ext
29727 LIBS=$ac_check_lib_save_LIBS
29728 fi
29729 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29730 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29731 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29732 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29733 fi
29734
29735 LDFLAGS=$ac_save_LDFLAGS
29736
29737 fi
29738
29739
29740 if test "$no_x" = "yes"; then
29741 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29742 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29743 { (exit 1); exit 1; }; }
29744 fi
29745
29746 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29747 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
29748 AFMINSTALL=afminstall
29749 COMPILED_X_PROGRAM=0
29750
29751 fi
29752
29753 if test "$wxUSE_X11" = 1; then
29754 if test "$wxUSE_NANOX" = "yes"; then
29755 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29756 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29757 if test "x$MICROWIN" = x ; then
29758 echo "$as_me:$LINENO: result: not found" >&5
29759 echo "${ECHO_T}not found" >&6
29760 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29761 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29762 { (exit 1); exit 1; }; }
29763 else
29764 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29765 echo "${ECHO_T}$MICROWIN" >&6
29766 cat >>confdefs.h <<\_ACEOF
29767 #define wxUSE_NANOX 1
29768 _ACEOF
29769
29770 fi
29771 fi
29772
29773 if test "$wxUSE_UNICODE" = "yes"; then
29774
29775
29776 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29777 if test -n "$ac_tool_prefix"; then
29778 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29779 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29780 echo "$as_me:$LINENO: checking for $ac_word" >&5
29781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29782 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29783 echo $ECHO_N "(cached) $ECHO_C" >&6
29784 else
29785 case $PKG_CONFIG in
29786 [\\/]* | ?:[\\/]*)
29787 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29788 ;;
29789 *)
29790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29791 for as_dir in $PATH
29792 do
29793 IFS=$as_save_IFS
29794 test -z "$as_dir" && as_dir=.
29795 for ac_exec_ext in '' $ac_executable_extensions; do
29796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29797 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29799 break 2
29800 fi
29801 done
29802 done
29803
29804 ;;
29805 esac
29806 fi
29807 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29808
29809 if test -n "$PKG_CONFIG"; then
29810 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29811 echo "${ECHO_T}$PKG_CONFIG" >&6
29812 else
29813 echo "$as_me:$LINENO: result: no" >&5
29814 echo "${ECHO_T}no" >&6
29815 fi
29816
29817 fi
29818 if test -z "$ac_cv_path_PKG_CONFIG"; then
29819 ac_pt_PKG_CONFIG=$PKG_CONFIG
29820 # Extract the first word of "pkg-config", so it can be a program name with args.
29821 set dummy pkg-config; ac_word=$2
29822 echo "$as_me:$LINENO: checking for $ac_word" >&5
29823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29824 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29825 echo $ECHO_N "(cached) $ECHO_C" >&6
29826 else
29827 case $ac_pt_PKG_CONFIG in
29828 [\\/]* | ?:[\\/]*)
29829 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29830 ;;
29831 *)
29832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29833 for as_dir in $PATH
29834 do
29835 IFS=$as_save_IFS
29836 test -z "$as_dir" && as_dir=.
29837 for ac_exec_ext in '' $ac_executable_extensions; do
29838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29839 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29841 break 2
29842 fi
29843 done
29844 done
29845
29846 ;;
29847 esac
29848 fi
29849 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29850
29851 if test -n "$ac_pt_PKG_CONFIG"; then
29852 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29853 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29854 else
29855 echo "$as_me:$LINENO: result: no" >&5
29856 echo "${ECHO_T}no" >&6
29857 fi
29858
29859 PKG_CONFIG=$ac_pt_PKG_CONFIG
29860 else
29861 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29862 fi
29863
29864 fi
29865 if test -n "$PKG_CONFIG"; then
29866 _pkg_min_version=0.9.0
29867 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29868 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29869 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29870 echo "$as_me:$LINENO: result: yes" >&5
29871 echo "${ECHO_T}yes" >&6
29872 else
29873 echo "$as_me:$LINENO: result: no" >&5
29874 echo "${ECHO_T}no" >&6
29875 PKG_CONFIG=""
29876 fi
29877
29878 fi
29879
29880
29881 pkg_failed=no
29882 echo "$as_me:$LINENO: checking for PANGOX" >&5
29883 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
29884
29885 if test -n "$PKG_CONFIG"; then
29886 if test -n "$PANGOX_CFLAGS"; then
29887 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
29888 else
29889 if test -n "$PKG_CONFIG" && \
29890 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29891 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29892 ac_status=$?
29893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29894 (exit $ac_status); }; then
29895 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
29896 else
29897 pkg_failed=yes
29898 fi
29899 fi
29900 else
29901 pkg_failed=untried
29902 fi
29903 if test -n "$PKG_CONFIG"; then
29904 if test -n "$PANGOX_LIBS"; then
29905 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
29906 else
29907 if test -n "$PKG_CONFIG" && \
29908 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
29909 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
29910 ac_status=$?
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); }; then
29913 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
29914 else
29915 pkg_failed=yes
29916 fi
29917 fi
29918 else
29919 pkg_failed=untried
29920 fi
29921
29922
29923
29924 if test $pkg_failed = yes; then
29925
29926 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29927 _pkg_short_errors_supported=yes
29928 else
29929 _pkg_short_errors_supported=no
29930 fi
29931 if test $_pkg_short_errors_supported = yes; then
29932 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
29933 else
29934 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29935 fi
29936 # Put the nasty error message in config.log where it belongs
29937 echo "$PANGOX_PKG_ERRORS" >&5
29938
29939
29940 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29941 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29942 { (exit 1); exit 1; }; }
29943
29944
29945 elif test $pkg_failed = untried; then
29946
29947 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29948 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29949 { (exit 1); exit 1; }; }
29950
29951
29952 else
29953 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
29954 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
29955 echo "$as_me:$LINENO: result: yes" >&5
29956 echo "${ECHO_T}yes" >&6
29957
29958 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
29959 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
29960 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
29961
29962 fi
29963
29964 pkg_failed=no
29965 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
29966 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
29967
29968 if test -n "$PKG_CONFIG"; then
29969 if test -n "$PANGOFT2_CFLAGS"; then
29970 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
29971 else
29972 if test -n "$PKG_CONFIG" && \
29973 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29974 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29975 ac_status=$?
29976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29977 (exit $ac_status); }; then
29978 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
29979 else
29980 pkg_failed=yes
29981 fi
29982 fi
29983 else
29984 pkg_failed=untried
29985 fi
29986 if test -n "$PKG_CONFIG"; then
29987 if test -n "$PANGOFT2_LIBS"; then
29988 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
29989 else
29990 if test -n "$PKG_CONFIG" && \
29991 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
29992 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
29993 ac_status=$?
29994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 (exit $ac_status); }; then
29996 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
29997 else
29998 pkg_failed=yes
29999 fi
30000 fi
30001 else
30002 pkg_failed=untried
30003 fi
30004
30005
30006
30007 if test $pkg_failed = yes; then
30008
30009 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30010 _pkg_short_errors_supported=yes
30011 else
30012 _pkg_short_errors_supported=no
30013 fi
30014 if test $_pkg_short_errors_supported = yes; then
30015 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30016 else
30017 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30018 fi
30019 # Put the nasty error message in config.log where it belongs
30020 echo "$PANGOFT2_PKG_ERRORS" >&5
30021
30022
30023 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30024 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30025 wxUSE_PRINTING_ARCHITECTURE="no"
30026
30027
30028 elif test $pkg_failed = untried; then
30029
30030 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30031 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30032 wxUSE_PRINTING_ARCHITECTURE="no"
30033
30034
30035 else
30036 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30037 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30038 echo "$as_me:$LINENO: result: yes" >&5
30039 echo "${ECHO_T}yes" >&6
30040
30041 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30042 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30043 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30044
30045 fi
30046
30047 pkg_failed=no
30048 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30049 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30050
30051 if test -n "$PKG_CONFIG"; then
30052 if test -n "$PANGOXFT_CFLAGS"; then
30053 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30054 else
30055 if test -n "$PKG_CONFIG" && \
30056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30057 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30058 ac_status=$?
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); }; then
30061 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30062 else
30063 pkg_failed=yes
30064 fi
30065 fi
30066 else
30067 pkg_failed=untried
30068 fi
30069 if test -n "$PKG_CONFIG"; then
30070 if test -n "$PANGOXFT_LIBS"; then
30071 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30072 else
30073 if test -n "$PKG_CONFIG" && \
30074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30075 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30076 ac_status=$?
30077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30078 (exit $ac_status); }; then
30079 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30080 else
30081 pkg_failed=yes
30082 fi
30083 fi
30084 else
30085 pkg_failed=untried
30086 fi
30087
30088
30089
30090 if test $pkg_failed = yes; then
30091
30092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30093 _pkg_short_errors_supported=yes
30094 else
30095 _pkg_short_errors_supported=no
30096 fi
30097 if test $_pkg_short_errors_supported = yes; then
30098 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30099 else
30100 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30101 fi
30102 # Put the nasty error message in config.log where it belongs
30103 echo "$PANGOXFT_PKG_ERRORS" >&5
30104
30105
30106 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30107 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30108
30109
30110 elif test $pkg_failed = untried; then
30111
30112 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30113 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30114
30115
30116 else
30117 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30118 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30119 echo "$as_me:$LINENO: result: yes" >&5
30120 echo "${ECHO_T}yes" >&6
30121
30122 cat >>confdefs.h <<\_ACEOF
30123 #define HAVE_PANGO_XFT 1
30124 _ACEOF
30125
30126 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30127 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30128 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30129
30130 fi
30131 save_LIBS="$LIBS"
30132 LIBS="$LIBS $PANGOX_LIBS"
30133
30134 for ac_func in pango_font_family_is_monospace
30135 do
30136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30137 echo "$as_me:$LINENO: checking for $ac_func" >&5
30138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30139 if eval "test \"\${$as_ac_var+set}\" = set"; then
30140 echo $ECHO_N "(cached) $ECHO_C" >&6
30141 else
30142 cat >conftest.$ac_ext <<_ACEOF
30143 /* confdefs.h. */
30144 _ACEOF
30145 cat confdefs.h >>conftest.$ac_ext
30146 cat >>conftest.$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30150 #define $ac_func innocuous_$ac_func
30151
30152 /* System header to define __stub macros and hopefully few prototypes,
30153 which can conflict with char $ac_func (); below.
30154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30155 <limits.h> exists even on freestanding compilers. */
30156
30157 #ifdef __STDC__
30158 # include <limits.h>
30159 #else
30160 # include <assert.h>
30161 #endif
30162
30163 #undef $ac_func
30164
30165 /* Override any gcc2 internal prototype to avoid an error. */
30166 #ifdef __cplusplus
30167 extern "C"
30168 {
30169 #endif
30170 /* We use char because int might match the return type of a gcc2
30171 builtin and then its argument prototype would still apply. */
30172 char $ac_func ();
30173 /* The GNU C library defines this for functions which it implements
30174 to always fail with ENOSYS. Some functions are actually named
30175 something starting with __ and the normal name is an alias. */
30176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30177 choke me
30178 #else
30179 char (*f) () = $ac_func;
30180 #endif
30181 #ifdef __cplusplus
30182 }
30183 #endif
30184
30185 int
30186 main ()
30187 {
30188 return f != $ac_func;
30189 ;
30190 return 0;
30191 }
30192 _ACEOF
30193 rm -f conftest.$ac_objext conftest$ac_exeext
30194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30195 (eval $ac_link) 2>conftest.er1
30196 ac_status=$?
30197 grep -v '^ *+' conftest.er1 >conftest.err
30198 rm -f conftest.er1
30199 cat conftest.err >&5
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); } &&
30202 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30204 (eval $ac_try) 2>&5
30205 ac_status=$?
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); }; } &&
30208 { ac_try='test -s conftest$ac_exeext'
30209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30210 (eval $ac_try) 2>&5
30211 ac_status=$?
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; }; then
30214 eval "$as_ac_var=yes"
30215 else
30216 echo "$as_me: failed program was:" >&5
30217 sed 's/^/| /' conftest.$ac_ext >&5
30218
30219 eval "$as_ac_var=no"
30220 fi
30221 rm -f conftest.err conftest.$ac_objext \
30222 conftest$ac_exeext conftest.$ac_ext
30223 fi
30224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30226 if test `eval echo '${'$as_ac_var'}'` = yes; then
30227 cat >>confdefs.h <<_ACEOF
30228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30229 _ACEOF
30230
30231 fi
30232 done
30233
30234 LIBS="$save_LIBS"
30235 fi
30236
30237 wxUSE_UNIVERSAL="yes"
30238
30239 if test "$wxUSE_NANOX" = "yes"; then
30240 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30241 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"
30242 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30243 else
30244 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30245 fi
30246
30247 TOOLKIT=X11
30248 GUIDIST=X11_DIST
30249 fi
30250
30251 if test "$wxUSE_MOTIF" = 1; then
30252 if test "$wxUSE_UNICODE" = "yes"; then
30253 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30254 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30255 { (exit 1); exit 1; }; }
30256 fi
30257
30258 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30259 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30260
30261 ac_find_includes=
30262 for ac_dir in $SEARCH_INCLUDE /usr/include;
30263 do
30264 if test -f "$ac_dir/Xm/Xm.h"; then
30265 ac_find_includes=$ac_dir
30266 break
30267 fi
30268 done
30269
30270 if test "$ac_find_includes" != "" ; then
30271 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30272 echo "${ECHO_T}found in $ac_find_includes" >&6
30273
30274 if test "x$ac_find_includes" = "x/usr/include"; then
30275 ac_path_to_include=""
30276 else
30277 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30278 result=$?
30279 if test $result = 0; then
30280 ac_path_to_include=""
30281 else
30282 ac_path_to_include=" -I$ac_find_includes"
30283 fi
30284 fi
30285
30286 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30287 else
30288 save_CFLAGS=$CFLAGS
30289 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30290
30291 cat >conftest.$ac_ext <<_ACEOF
30292 /* confdefs.h. */
30293 _ACEOF
30294 cat confdefs.h >>conftest.$ac_ext
30295 cat >>conftest.$ac_ext <<_ACEOF
30296 /* end confdefs.h. */
30297
30298 #include <Xm/Xm.h>
30299
30300 int
30301 main ()
30302 {
30303
30304 int version;
30305 version = xmUseVersion;
30306
30307 ;
30308 return 0;
30309 }
30310 _ACEOF
30311 rm -f conftest.$ac_objext
30312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30313 (eval $ac_compile) 2>conftest.er1
30314 ac_status=$?
30315 grep -v '^ *+' conftest.er1 >conftest.err
30316 rm -f conftest.er1
30317 cat conftest.err >&5
30318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30319 (exit $ac_status); } &&
30320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30322 (eval $ac_try) 2>&5
30323 ac_status=$?
30324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30325 (exit $ac_status); }; } &&
30326 { ac_try='test -s conftest.$ac_objext'
30327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30328 (eval $ac_try) 2>&5
30329 ac_status=$?
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); }; }; then
30332
30333 echo "$as_me:$LINENO: result: found in default search path" >&5
30334 echo "${ECHO_T}found in default search path" >&6
30335 COMPILED_X_PROGRAM=1
30336
30337 else
30338 echo "$as_me: failed program was:" >&5
30339 sed 's/^/| /' conftest.$ac_ext >&5
30340
30341
30342 echo "$as_me:$LINENO: result: no" >&5
30343 echo "${ECHO_T}no" >&6
30344 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30345 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30346 { (exit 1); exit 1; }; }
30347
30348
30349 fi
30350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30351
30352 CFLAGS=$save_CFLAGS
30353 fi
30354
30355
30356 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30357 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30358
30359 ac_find_libraries=
30360 for ac_dir in $SEARCH_LIB;
30361 do
30362 for ac_extension in a so sl dylib dll.a; do
30363 if test -f "$ac_dir/libXm.$ac_extension"; then
30364 ac_find_libraries=$ac_dir
30365 break 2
30366 fi
30367 done
30368 done
30369
30370
30371 if test "x$ac_find_libraries" != "x" ; then
30372 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30373 echo "${ECHO_T}found in $ac_find_libraries" >&6
30374
30375
30376 if test "$ac_find_libraries" = "default location"; then
30377 ac_path_to_link=""
30378 else
30379 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30380 result=$?
30381 if test $result = 0; then
30382 ac_path_to_link=""
30383 else
30384 ac_path_to_link=" -L$ac_find_libraries"
30385 fi
30386 fi
30387
30388 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30389 else
30390 save_CFLAGS=$CFLAGS
30391 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30392 save_LIBS="$LIBS"
30393 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30394
30395 cat >conftest.$ac_ext <<_ACEOF
30396 /* confdefs.h. */
30397 _ACEOF
30398 cat confdefs.h >>conftest.$ac_ext
30399 cat >>conftest.$ac_ext <<_ACEOF
30400 /* end confdefs.h. */
30401
30402 #include <Xm/Xm.h>
30403
30404 int
30405 main ()
30406 {
30407
30408 int version;
30409 version = xmUseVersion;
30410
30411 ;
30412 return 0;
30413 }
30414 _ACEOF
30415 rm -f conftest.$ac_objext conftest$ac_exeext
30416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30417 (eval $ac_link) 2>conftest.er1
30418 ac_status=$?
30419 grep -v '^ *+' conftest.er1 >conftest.err
30420 rm -f conftest.er1
30421 cat conftest.err >&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); } &&
30424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30426 (eval $ac_try) 2>&5
30427 ac_status=$?
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); }; } &&
30430 { ac_try='test -s conftest$ac_exeext'
30431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30432 (eval $ac_try) 2>&5
30433 ac_status=$?
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); }; }; then
30436
30437 echo "$as_me:$LINENO: result: found in default search path" >&5
30438 echo "${ECHO_T}found in default search path" >&6
30439 COMPILED_X_PROGRAM=1
30440
30441 else
30442 echo "$as_me: failed program was:" >&5
30443 sed 's/^/| /' conftest.$ac_ext >&5
30444
30445
30446 echo "$as_me:$LINENO: result: no" >&5
30447 echo "${ECHO_T}no" >&6
30448 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30449 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30450 { (exit 1); exit 1; }; }
30451
30452
30453 fi
30454 rm -f conftest.err conftest.$ac_objext \
30455 conftest$ac_exeext conftest.$ac_ext
30456
30457 CFLAGS=$save_CFLAGS
30458 LIBS="$save_LIBS"
30459 fi
30460
30461 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30462 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30463 libp_link=""
30464 libsm_ice_link=""
30465 libs_found=0
30466 for libp in "" " -lXp"; do
30467 if test "$libs_found" = "0"; then
30468 for libsm_ice in "" " -lSM -lICE"; do
30469 if test "$libs_found" = "0"; then
30470 save_LIBS="$LIBS"
30471 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30472 save_CFLAGS=$CFLAGS
30473 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30474
30475 cat >conftest.$ac_ext <<_ACEOF
30476 /* confdefs.h. */
30477 _ACEOF
30478 cat confdefs.h >>conftest.$ac_ext
30479 cat >>conftest.$ac_ext <<_ACEOF
30480 /* end confdefs.h. */
30481
30482 #include <Xm/Xm.h>
30483 #include <Xm/List.h>
30484
30485 int
30486 main ()
30487 {
30488
30489 XmString string = NULL;
30490 Widget w = NULL;
30491 int position = 0;
30492 XmListAddItem(w, string, position);
30493
30494 ;
30495 return 0;
30496 }
30497 _ACEOF
30498 rm -f conftest.$ac_objext conftest$ac_exeext
30499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30500 (eval $ac_link) 2>conftest.er1
30501 ac_status=$?
30502 grep -v '^ *+' conftest.er1 >conftest.err
30503 rm -f conftest.er1
30504 cat conftest.err >&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } &&
30507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30509 (eval $ac_try) 2>&5
30510 ac_status=$?
30511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512 (exit $ac_status); }; } &&
30513 { ac_try='test -s conftest$ac_exeext'
30514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30515 (eval $ac_try) 2>&5
30516 ac_status=$?
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); }; }; then
30519
30520 libp_link="$libp"
30521 libsm_ice_link="$libsm_ice"
30522 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30523 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30524 libs_found=1
30525
30526 else
30527 echo "$as_me: failed program was:" >&5
30528 sed 's/^/| /' conftest.$ac_ext >&5
30529
30530
30531
30532 fi
30533 rm -f conftest.err conftest.$ac_objext \
30534 conftest$ac_exeext conftest.$ac_ext
30535
30536 LIBS="$save_LIBS"
30537 CFLAGS=$save_CFLAGS
30538 fi
30539 done
30540 fi
30541 done
30542
30543 if test "$libs_found" = "0"; then
30544 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30545 echo "${ECHO_T}can't find the right libraries" >&6
30546 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30547 echo "$as_me: error: can't link a simple motif program" >&2;}
30548 { (exit 1); exit 1; }; }
30549 fi
30550
30551 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30552 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30553 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30554 echo $ECHO_N "(cached) $ECHO_C" >&6
30555 else
30556 ac_check_lib_save_LIBS=$LIBS
30557 LIBS="-lSgm $LIBS"
30558 cat >conftest.$ac_ext <<_ACEOF
30559 /* confdefs.h. */
30560 _ACEOF
30561 cat confdefs.h >>conftest.$ac_ext
30562 cat >>conftest.$ac_ext <<_ACEOF
30563 /* end confdefs.h. */
30564
30565 /* Override any gcc2 internal prototype to avoid an error. */
30566 #ifdef __cplusplus
30567 extern "C"
30568 #endif
30569 /* We use char because int might match the return type of a gcc2
30570 builtin and then its argument prototype would still apply. */
30571 char SgCreateList ();
30572 int
30573 main ()
30574 {
30575 SgCreateList ();
30576 ;
30577 return 0;
30578 }
30579 _ACEOF
30580 rm -f conftest.$ac_objext conftest$ac_exeext
30581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30582 (eval $ac_link) 2>conftest.er1
30583 ac_status=$?
30584 grep -v '^ *+' conftest.er1 >conftest.err
30585 rm -f conftest.er1
30586 cat conftest.err >&5
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); } &&
30589 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30591 (eval $ac_try) 2>&5
30592 ac_status=$?
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); }; } &&
30595 { ac_try='test -s conftest$ac_exeext'
30596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30597 (eval $ac_try) 2>&5
30598 ac_status=$?
30599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600 (exit $ac_status); }; }; then
30601 ac_cv_lib_Sgm_SgCreateList=yes
30602 else
30603 echo "$as_me: failed program was:" >&5
30604 sed 's/^/| /' conftest.$ac_ext >&5
30605
30606 ac_cv_lib_Sgm_SgCreateList=no
30607 fi
30608 rm -f conftest.err conftest.$ac_objext \
30609 conftest$ac_exeext conftest.$ac_ext
30610 LIBS=$ac_check_lib_save_LIBS
30611 fi
30612 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30613 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30614 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30615 libsgm_link=" -lSgm"
30616 fi
30617
30618
30619 save_CFLAGS=$CFLAGS
30620 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30621
30622 echo "$as_me:$LINENO: checking for Motif 2" >&5
30623 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30624 if test "${wx_cv_lib_motif2+set}" = set; then
30625 echo $ECHO_N "(cached) $ECHO_C" >&6
30626 else
30627 cat >conftest.$ac_ext <<_ACEOF
30628 /* confdefs.h. */
30629 _ACEOF
30630 cat confdefs.h >>conftest.$ac_ext
30631 cat >>conftest.$ac_ext <<_ACEOF
30632 /* end confdefs.h. */
30633
30634 #include <Xm/Xm.h>
30635
30636 int
30637 main ()
30638 {
30639
30640 #if XmVersion < 2000
30641 Not Motif 2
30642 #endif
30643
30644 ;
30645 return 0;
30646 }
30647 _ACEOF
30648 rm -f conftest.$ac_objext
30649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30650 (eval $ac_compile) 2>conftest.er1
30651 ac_status=$?
30652 grep -v '^ *+' conftest.er1 >conftest.err
30653 rm -f conftest.er1
30654 cat conftest.err >&5
30655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656 (exit $ac_status); } &&
30657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30659 (eval $ac_try) 2>&5
30660 ac_status=$?
30661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662 (exit $ac_status); }; } &&
30663 { ac_try='test -s conftest.$ac_objext'
30664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30665 (eval $ac_try) 2>&5
30666 ac_status=$?
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); }; }; then
30669 wx_cv_lib_motif2="yes"
30670 else
30671 echo "$as_me: failed program was:" >&5
30672 sed 's/^/| /' conftest.$ac_ext >&5
30673
30674 wx_cv_lib_motif2="no"
30675 fi
30676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30677 fi
30678 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30679 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30680 if test "$wx_cv_lib_motif2" = "yes"; then
30681 cat >>confdefs.h <<\_ACEOF
30682 #define __WXMOTIF20__ 1
30683 _ACEOF
30684
30685 else
30686 cat >>confdefs.h <<\_ACEOF
30687 #define __WXMOTIF20__ 0
30688 _ACEOF
30689
30690 fi
30691
30692 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30693 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30694 if test "${wx_cv_lib_lesstif+set}" = set; then
30695 echo $ECHO_N "(cached) $ECHO_C" >&6
30696 else
30697 cat >conftest.$ac_ext <<_ACEOF
30698 /* confdefs.h. */
30699 _ACEOF
30700 cat confdefs.h >>conftest.$ac_ext
30701 cat >>conftest.$ac_ext <<_ACEOF
30702 /* end confdefs.h. */
30703
30704 #include <Xm/Xm.h>
30705
30706 int
30707 main ()
30708 {
30709
30710 #if !defined(LesstifVersion) || LesstifVersion <= 0
30711 Not Lesstif
30712 #endif
30713
30714 ;
30715 return 0;
30716 }
30717 _ACEOF
30718 rm -f conftest.$ac_objext
30719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30720 (eval $ac_compile) 2>conftest.er1
30721 ac_status=$?
30722 grep -v '^ *+' conftest.er1 >conftest.err
30723 rm -f conftest.er1
30724 cat conftest.err >&5
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); } &&
30727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30730 ac_status=$?
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; } &&
30733 { ac_try='test -s conftest.$ac_objext'
30734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30735 (eval $ac_try) 2>&5
30736 ac_status=$?
30737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30738 (exit $ac_status); }; }; then
30739 wx_cv_lib_lesstif="yes"
30740 else
30741 echo "$as_me: failed program was:" >&5
30742 sed 's/^/| /' conftest.$ac_ext >&5
30743
30744 wx_cv_lib_lesstif="no"
30745 fi
30746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30747
30748 fi
30749 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30750 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30751 if test "$wx_cv_lib_lesstif" = "yes"; then
30752 cat >>confdefs.h <<\_ACEOF
30753 #define __WXLESSTIF__ 1
30754 _ACEOF
30755
30756 else
30757 cat >>confdefs.h <<\_ACEOF
30758 #define __WXLESSTIF__ 0
30759 _ACEOF
30760
30761 fi
30762
30763 CFLAGS=$save_CFLAGS
30764
30765 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30766 TOOLKIT=MOTIF
30767 GUIDIST=MOTIF_DIST
30768 fi
30769
30770 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30771 if test "$wxUSE_LIBXPM" = "sys"; then
30772 echo "$as_me:$LINENO: checking for Xpm library" >&5
30773 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30774
30775 ac_find_libraries=
30776 for ac_dir in $SEARCH_LIB;
30777 do
30778 for ac_extension in a so sl dylib dll.a; do
30779 if test -f "$ac_dir/libXpm.$ac_extension"; then
30780 ac_find_libraries=$ac_dir
30781 break 2
30782 fi
30783 done
30784 done
30785
30786 if test "$ac_find_libraries" != "" ; then
30787
30788 if test "$ac_find_libraries" = "default location"; then
30789 ac_path_to_link=""
30790 else
30791 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30792 result=$?
30793 if test $result = 0; then
30794 ac_path_to_link=""
30795 else
30796 ac_path_to_link=" -L$ac_find_libraries"
30797 fi
30798 fi
30799
30800 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30801 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30802 echo "${ECHO_T}found in $ac_find_libraries" >&6
30803
30804 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30805 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30806 if test "${wx_cv_x11_xpm_h+set}" = set; then
30807 echo $ECHO_N "(cached) $ECHO_C" >&6
30808 else
30809
30810 save_CFLAGS=$CFLAGS
30811 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30812
30813 cat >conftest.$ac_ext <<_ACEOF
30814 /* confdefs.h. */
30815 _ACEOF
30816 cat confdefs.h >>conftest.$ac_ext
30817 cat >>conftest.$ac_ext <<_ACEOF
30818 /* end confdefs.h. */
30819
30820 #include <X11/xpm.h>
30821
30822 int
30823 main ()
30824 {
30825
30826 int version;
30827 version = XpmLibraryVersion();
30828
30829 ;
30830 return 0;
30831 }
30832 _ACEOF
30833 rm -f conftest.$ac_objext
30834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30835 (eval $ac_compile) 2>conftest.er1
30836 ac_status=$?
30837 grep -v '^ *+' conftest.er1 >conftest.err
30838 rm -f conftest.er1
30839 cat conftest.err >&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); } &&
30842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30844 (eval $ac_try) 2>&5
30845 ac_status=$?
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); }; } &&
30848 { ac_try='test -s conftest.$ac_objext'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30851 ac_status=$?
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; }; then
30854 wx_cv_x11_xpm_h=yes
30855 else
30856 echo "$as_me: failed program was:" >&5
30857 sed 's/^/| /' conftest.$ac_ext >&5
30858
30859 wx_cv_x11_xpm_h=no
30860
30861 fi
30862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30863
30864 CFLAGS=$save_CFLAGS
30865
30866
30867 fi
30868 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30869 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30870
30871 if test $wx_cv_x11_xpm_h = "yes"; then
30872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
30873 cat >>confdefs.h <<\_ACEOF
30874 #define wxHAVE_LIB_XPM 1
30875 _ACEOF
30876
30877 else
30878 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30879 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30880 fi
30881 fi
30882
30883 fi
30884
30885 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30886 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30887 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 else
30890 ac_check_lib_save_LIBS=$LIBS
30891 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30892 cat >conftest.$ac_ext <<_ACEOF
30893 /* confdefs.h. */
30894 _ACEOF
30895 cat confdefs.h >>conftest.$ac_ext
30896 cat >>conftest.$ac_ext <<_ACEOF
30897 /* end confdefs.h. */
30898
30899 /* Override any gcc2 internal prototype to avoid an error. */
30900 #ifdef __cplusplus
30901 extern "C"
30902 #endif
30903 /* We use char because int might match the return type of a gcc2
30904 builtin and then its argument prototype would still apply. */
30905 char XShapeQueryExtension ();
30906 int
30907 main ()
30908 {
30909 XShapeQueryExtension ();
30910 ;
30911 return 0;
30912 }
30913 _ACEOF
30914 rm -f conftest.$ac_objext conftest$ac_exeext
30915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30916 (eval $ac_link) 2>conftest.er1
30917 ac_status=$?
30918 grep -v '^ *+' conftest.er1 >conftest.err
30919 rm -f conftest.er1
30920 cat conftest.err >&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } &&
30923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30925 (eval $ac_try) 2>&5
30926 ac_status=$?
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); }; } &&
30929 { ac_try='test -s conftest$ac_exeext'
30930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30931 (eval $ac_try) 2>&5
30932 ac_status=$?
30933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30934 (exit $ac_status); }; }; then
30935 ac_cv_lib_Xext_XShapeQueryExtension=yes
30936 else
30937 echo "$as_me: failed program was:" >&5
30938 sed 's/^/| /' conftest.$ac_ext >&5
30939
30940 ac_cv_lib_Xext_XShapeQueryExtension=no
30941 fi
30942 rm -f conftest.err conftest.$ac_objext \
30943 conftest$ac_exeext conftest.$ac_ext
30944 LIBS=$ac_check_lib_save_LIBS
30945 fi
30946 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30947 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30948 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30949
30950 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
30951 wxHAVE_XEXT_LIB=1
30952
30953 fi
30954
30955
30956 if test "$wxHAVE_XEXT_LIB" = 1; then
30957 save_CFLAGS="$CFLAGS"
30958 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30959
30960 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30961 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30962 cat >conftest.$ac_ext <<_ACEOF
30963 /* confdefs.h. */
30964 _ACEOF
30965 cat confdefs.h >>conftest.$ac_ext
30966 cat >>conftest.$ac_ext <<_ACEOF
30967 /* end confdefs.h. */
30968
30969 #include <X11/Xlib.h>
30970 #include <X11/extensions/shape.h>
30971
30972 int
30973 main ()
30974 {
30975
30976 int dummy1, dummy2;
30977 XShapeQueryExtension((Display*)NULL,
30978 (int*)NULL, (int*)NULL);
30979
30980 ;
30981 return 0;
30982 }
30983 _ACEOF
30984 rm -f conftest.$ac_objext
30985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30986 (eval $ac_compile) 2>conftest.er1
30987 ac_status=$?
30988 grep -v '^ *+' conftest.er1 >conftest.err
30989 rm -f conftest.er1
30990 cat conftest.err >&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); } &&
30993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30995 (eval $ac_try) 2>&5
30996 ac_status=$?
30997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30998 (exit $ac_status); }; } &&
30999 { ac_try='test -s conftest.$ac_objext'
31000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31001 (eval $ac_try) 2>&5
31002 ac_status=$?
31003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31004 (exit $ac_status); }; }; then
31005
31006 cat >>confdefs.h <<\_ACEOF
31007 #define HAVE_XSHAPE 1
31008 _ACEOF
31009
31010 echo "$as_me:$LINENO: result: found" >&5
31011 echo "${ECHO_T}found" >&6
31012
31013 else
31014 echo "$as_me: failed program was:" >&5
31015 sed 's/^/| /' conftest.$ac_ext >&5
31016
31017
31018 echo "$as_me:$LINENO: result: not found" >&5
31019 echo "${ECHO_T}not found" >&6
31020
31021 fi
31022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31023 CFLAGS="$save_CFLAGS"
31024
31025 fi
31026 fi
31027
31028 if test "$wxUSE_MAC" = 1; then
31029 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31030 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31031 if test "$GCC" = yes; then
31032 echo "$as_me:$LINENO: result: gcc" >&5
31033 echo "${ECHO_T}gcc" >&6
31034 CPPFLAGS_PASCAL="-fpascal-strings"
31035 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31036 echo "$as_me:$LINENO: result: xlc" >&5
31037 echo "${ECHO_T}xlc" >&6
31038 CPPFLAGS_PASCAL="-qmacpstr"
31039 else
31040 echo "$as_me:$LINENO: result: none" >&5
31041 echo "${ECHO_T}none" >&6
31042 fi
31043
31044 if test "x$wxUSE_UNIX" = "xyes"; then
31045 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31046 else
31047 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31048 fi
31049
31050 TOOLKIT=MAC
31051 GUIDIST=MACX_DIST
31052 WXBASEPORT="_carbon"
31053 fi
31054
31055 if test "$wxUSE_COCOA" = 1; then
31056 TOOLKIT=COCOA
31057 GUIDIST=COCOA_DIST
31058 fi
31059
31060 if test "$wxUSE_PM" = 1; then
31061 TOOLKIT=PM
31062 GUIDIST=PM_DIST
31063 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31064 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31065 if test "${wx_cv_spbcdata+set}" = set; then
31066 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 else
31068
31069 cat >conftest.$ac_ext <<_ACEOF
31070 /* confdefs.h. */
31071 _ACEOF
31072 cat confdefs.h >>conftest.$ac_ext
31073 cat >>conftest.$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31075
31076 #define INCL_PM
31077 #include <os2.h>
31078
31079 int
31080 main ()
31081 {
31082
31083 SPBCDATA test;
31084
31085 ;
31086 return 0;
31087 }
31088 _ACEOF
31089 rm -f conftest.$ac_objext
31090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31091 (eval $ac_compile) 2>conftest.er1
31092 ac_status=$?
31093 grep -v '^ *+' conftest.er1 >conftest.err
31094 rm -f conftest.er1
31095 cat conftest.err >&5
31096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31097 (exit $ac_status); } &&
31098 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31100 (eval $ac_try) 2>&5
31101 ac_status=$?
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); }; } &&
31104 { ac_try='test -s conftest.$ac_objext'
31105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31106 (eval $ac_try) 2>&5
31107 ac_status=$?
31108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31109 (exit $ac_status); }; }; then
31110 wx_cv_spbcdata=yes
31111 else
31112 echo "$as_me: failed program was:" >&5
31113 sed 's/^/| /' conftest.$ac_ext >&5
31114
31115 wx_cv_spbcdata=no
31116
31117 fi
31118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31119
31120
31121 fi
31122 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31123 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31124
31125 if test $wx_cv_spbcdata = "yes"; then
31126 cat >>confdefs.h <<\_ACEOF
31127 #define HAVE_SPBCDATA 1
31128 _ACEOF
31129
31130 fi
31131 fi
31132
31133 if test "$TOOLKIT" = "PM" ; then
31134 TOOLKIT_DIR="os2"
31135 else
31136 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31137 fi
31138
31139 if test "$wxUSE_UNIVERSAL" = "yes"; then
31140 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31141 WIDGET_SET=univ
31142 fi
31143
31144 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31145 DISTDIR="wx\$(TOOLKIT)"
31146 else
31147 USE_GUI=0
31148
31149 TOOLKIT_DIR="base"
31150
31151 if test "$USE_WIN32" = 1 ; then
31152 TOOLKIT="MSW"
31153 fi
31154
31155 GUIDIST="BASE_DIST"
31156 DISTDIR="wxBase"
31157 fi
31158
31159
31160
31161 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31162 if test "$TOOLKIT" = "DFB" ; then
31163 wxUSE_UNICODE_UTF8=yes
31164 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31165 wxUSE_UNICODE_UTF8=yes
31166 elif test "$USE_OS2" = "1" ; then
31167 wxUSE_UNICODE_UTF8=yes
31168 else
31169 wxUSE_UNICODE_UTF8=no
31170 fi
31171 fi
31172
31173
31174 if test "$wxUSE_GUI" = "yes"; then
31175 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31176 echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31177 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6
31178 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31179 echo $ECHO_N "(cached) $ECHO_C" >&6
31180 else
31181 cat >conftest.$ac_ext <<_ACEOF
31182 /* confdefs.h. */
31183 _ACEOF
31184 cat confdefs.h >>conftest.$ac_ext
31185 cat >>conftest.$ac_ext <<_ACEOF
31186 /* end confdefs.h. */
31187
31188
31189 #include <X11/Xlib.h>
31190 _ACEOF
31191 rm -f conftest.$ac_objext
31192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31193 (eval $ac_compile) 2>conftest.er1
31194 ac_status=$?
31195 grep -v '^ *+' conftest.er1 >conftest.err
31196 rm -f conftest.er1
31197 cat conftest.err >&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } &&
31200 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31202 (eval $ac_try) 2>&5
31203 ac_status=$?
31204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205 (exit $ac_status); }; } &&
31206 { ac_try='test -s conftest.$ac_objext'
31207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31208 (eval $ac_try) 2>&5
31209 ac_status=$?
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); }; }; then
31212 ac_cv_header_X11_Xlib_h=yes
31213 else
31214 echo "$as_me: failed program was:" >&5
31215 sed 's/^/| /' conftest.$ac_ext >&5
31216
31217 ac_cv_header_X11_Xlib_h=no
31218 fi
31219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31220 fi
31221 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31222 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6
31223
31224
31225 echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31226 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6
31227 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31228 echo $ECHO_N "(cached) $ECHO_C" >&6
31229 else
31230 cat >conftest.$ac_ext <<_ACEOF
31231 /* confdefs.h. */
31232 _ACEOF
31233 cat confdefs.h >>conftest.$ac_ext
31234 cat >>conftest.$ac_ext <<_ACEOF
31235 /* end confdefs.h. */
31236
31237 #if HAVE_X11_XLIB_H
31238 #include <X11/Xlib.h>
31239 #endif
31240
31241
31242 #include <X11/XKBlib.h>
31243 _ACEOF
31244 rm -f conftest.$ac_objext
31245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31246 (eval $ac_compile) 2>conftest.er1
31247 ac_status=$?
31248 grep -v '^ *+' conftest.er1 >conftest.err
31249 rm -f conftest.er1
31250 cat conftest.err >&5
31251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252 (exit $ac_status); } &&
31253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31255 (eval $ac_try) 2>&5
31256 ac_status=$?
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); }; } &&
31259 { ac_try='test -s conftest.$ac_objext'
31260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31261 (eval $ac_try) 2>&5
31262 ac_status=$?
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); }; }; then
31265 ac_cv_header_X11_XKBlib_h=yes
31266 else
31267 echo "$as_me: failed program was:" >&5
31268 sed 's/^/| /' conftest.$ac_ext >&5
31269
31270 ac_cv_header_X11_XKBlib_h=no
31271 fi
31272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31273 fi
31274 echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31275 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6
31276
31277
31278 fi
31279 fi
31280
31281
31282
31283 IODBC_C_SRC=""
31284
31285
31286 if test "$TOOLKIT" != "MSW" ; then
31287
31288 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31289
31290 echo "$as_me:$LINENO: checking for sql.h" >&5
31291 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31292 if test "${ac_cv_header_sql_h+set}" = set; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31294 else
31295 cat >conftest.$ac_ext <<_ACEOF
31296 /* confdefs.h. */
31297 _ACEOF
31298 cat confdefs.h >>conftest.$ac_ext
31299 cat >>conftest.$ac_ext <<_ACEOF
31300 /* end confdefs.h. */
31301
31302
31303 #include <sql.h>
31304 _ACEOF
31305 rm -f conftest.$ac_objext
31306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31307 (eval $ac_compile) 2>conftest.er1
31308 ac_status=$?
31309 grep -v '^ *+' conftest.er1 >conftest.err
31310 rm -f conftest.er1
31311 cat conftest.err >&5
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); } &&
31314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31316 (eval $ac_try) 2>&5
31317 ac_status=$?
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); }; } &&
31320 { ac_try='test -s conftest.$ac_objext'
31321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31322 (eval $ac_try) 2>&5
31323 ac_status=$?
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; }; then
31326 ac_cv_header_sql_h=yes
31327 else
31328 echo "$as_me: failed program was:" >&5
31329 sed 's/^/| /' conftest.$ac_ext >&5
31330
31331 ac_cv_header_sql_h=no
31332 fi
31333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31334 fi
31335 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31336 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31337 if test $ac_cv_header_sql_h = yes; then
31338 found_sql_h=1
31339 fi
31340
31341
31342 if test "x$found_sql_h" = "x1" ; then
31343 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31344 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31345 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31346 echo $ECHO_N "(cached) $ECHO_C" >&6
31347 else
31348 ac_check_lib_save_LIBS=$LIBS
31349 LIBS="-liodbc $LIBS"
31350 cat >conftest.$ac_ext <<_ACEOF
31351 /* confdefs.h. */
31352 _ACEOF
31353 cat confdefs.h >>conftest.$ac_ext
31354 cat >>conftest.$ac_ext <<_ACEOF
31355 /* end confdefs.h. */
31356
31357 /* Override any gcc2 internal prototype to avoid an error. */
31358 #ifdef __cplusplus
31359 extern "C"
31360 #endif
31361 /* We use char because int might match the return type of a gcc2
31362 builtin and then its argument prototype would still apply. */
31363 char SQLAllocEnv ();
31364 int
31365 main ()
31366 {
31367 SQLAllocEnv ();
31368 ;
31369 return 0;
31370 }
31371 _ACEOF
31372 rm -f conftest.$ac_objext conftest$ac_exeext
31373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31374 (eval $ac_link) 2>conftest.er1
31375 ac_status=$?
31376 grep -v '^ *+' conftest.er1 >conftest.err
31377 rm -f conftest.er1
31378 cat conftest.err >&5
31379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31380 (exit $ac_status); } &&
31381 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31383 (eval $ac_try) 2>&5
31384 ac_status=$?
31385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31386 (exit $ac_status); }; } &&
31387 { ac_try='test -s conftest$ac_exeext'
31388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31389 (eval $ac_try) 2>&5
31390 ac_status=$?
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); }; }; then
31393 ac_cv_lib_iodbc_SQLAllocEnv=yes
31394 else
31395 echo "$as_me: failed program was:" >&5
31396 sed 's/^/| /' conftest.$ac_ext >&5
31397
31398 ac_cv_lib_iodbc_SQLAllocEnv=no
31399 fi
31400 rm -f conftest.err conftest.$ac_objext \
31401 conftest$ac_exeext conftest.$ac_ext
31402 LIBS=$ac_check_lib_save_LIBS
31403 fi
31404 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31405 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31406 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31407 ODBC_LINK=" -liodbc"
31408 else
31409
31410 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31411 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31412 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31413 echo $ECHO_N "(cached) $ECHO_C" >&6
31414 else
31415 ac_check_lib_save_LIBS=$LIBS
31416 LIBS="-lunixodbc $LIBS"
31417 cat >conftest.$ac_ext <<_ACEOF
31418 /* confdefs.h. */
31419 _ACEOF
31420 cat confdefs.h >>conftest.$ac_ext
31421 cat >>conftest.$ac_ext <<_ACEOF
31422 /* end confdefs.h. */
31423
31424 /* Override any gcc2 internal prototype to avoid an error. */
31425 #ifdef __cplusplus
31426 extern "C"
31427 #endif
31428 /* We use char because int might match the return type of a gcc2
31429 builtin and then its argument prototype would still apply. */
31430 char SQLAllocEnv ();
31431 int
31432 main ()
31433 {
31434 SQLAllocEnv ();
31435 ;
31436 return 0;
31437 }
31438 _ACEOF
31439 rm -f conftest.$ac_objext conftest$ac_exeext
31440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31441 (eval $ac_link) 2>conftest.er1
31442 ac_status=$?
31443 grep -v '^ *+' conftest.er1 >conftest.err
31444 rm -f conftest.er1
31445 cat conftest.err >&5
31446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31447 (exit $ac_status); } &&
31448 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31450 (eval $ac_try) 2>&5
31451 ac_status=$?
31452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31453 (exit $ac_status); }; } &&
31454 { ac_try='test -s conftest$ac_exeext'
31455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31456 (eval $ac_try) 2>&5
31457 ac_status=$?
31458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31459 (exit $ac_status); }; }; then
31460 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31461 else
31462 echo "$as_me: failed program was:" >&5
31463 sed 's/^/| /' conftest.$ac_ext >&5
31464
31465 ac_cv_lib_unixodbc_SQLAllocEnv=no
31466 fi
31467 rm -f conftest.err conftest.$ac_objext \
31468 conftest$ac_exeext conftest.$ac_ext
31469 LIBS=$ac_check_lib_save_LIBS
31470 fi
31471 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31472 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31473 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31474 ODBC_LINK=" -lunixodbc"
31475 else
31476
31477 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31478 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31479 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31480 echo $ECHO_N "(cached) $ECHO_C" >&6
31481 else
31482 ac_check_lib_save_LIBS=$LIBS
31483 LIBS="-lodbc $LIBS"
31484 cat >conftest.$ac_ext <<_ACEOF
31485 /* confdefs.h. */
31486 _ACEOF
31487 cat confdefs.h >>conftest.$ac_ext
31488 cat >>conftest.$ac_ext <<_ACEOF
31489 /* end confdefs.h. */
31490
31491 /* Override any gcc2 internal prototype to avoid an error. */
31492 #ifdef __cplusplus
31493 extern "C"
31494 #endif
31495 /* We use char because int might match the return type of a gcc2
31496 builtin and then its argument prototype would still apply. */
31497 char SQLAllocEnv ();
31498 int
31499 main ()
31500 {
31501 SQLAllocEnv ();
31502 ;
31503 return 0;
31504 }
31505 _ACEOF
31506 rm -f conftest.$ac_objext conftest$ac_exeext
31507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31508 (eval $ac_link) 2>conftest.er1
31509 ac_status=$?
31510 grep -v '^ *+' conftest.er1 >conftest.err
31511 rm -f conftest.er1
31512 cat conftest.err >&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); } &&
31515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517 (eval $ac_try) 2>&5
31518 ac_status=$?
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); }; } &&
31521 { ac_try='test -s conftest$ac_exeext'
31522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31523 (eval $ac_try) 2>&5
31524 ac_status=$?
31525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526 (exit $ac_status); }; }; then
31527 ac_cv_lib_odbc_SQLAllocEnv=yes
31528 else
31529 echo "$as_me: failed program was:" >&5
31530 sed 's/^/| /' conftest.$ac_ext >&5
31531
31532 ac_cv_lib_odbc_SQLAllocEnv=no
31533 fi
31534 rm -f conftest.err conftest.$ac_objext \
31535 conftest$ac_exeext conftest.$ac_ext
31536 LIBS=$ac_check_lib_save_LIBS
31537 fi
31538 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31539 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31540 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31541 ODBC_LINK=" -lodbc"
31542 fi
31543
31544
31545 fi
31546
31547
31548 fi
31549
31550 fi
31551 if test "x$ODBC_LINK" = "x" ; then
31552 if test "$wxUSE_ODBC" = "sys" ; then
31553 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31554 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31555 { (exit 1); exit 1; }; }
31556 else
31557 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31558 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31559 wxUSE_ODBC=builtin
31560 fi
31561 else
31562 wxUSE_ODBC=sys
31563 fi
31564 fi
31565
31566 if test "$wxUSE_ODBC" = "builtin" ; then
31567 cat >>confdefs.h <<\_ACEOF
31568 #define wxUSE_BUILTIN_IODBC 1
31569 _ACEOF
31570
31571 fi
31572 fi
31573
31574 if test "$wxUSE_ODBC" != "no" ; then
31575 cat >>confdefs.h <<\_ACEOF
31576 #define wxUSE_ODBC 1
31577 _ACEOF
31578
31579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31580
31581 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31582 fi
31583
31584
31585 if test "$wxUSE_DISPLAY" = "yes"; then
31586 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31587 echo "$as_me:$LINENO: checking for Xinerama" >&5
31588 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31589
31590 ac_find_libraries=
31591 for ac_dir in $SEARCH_LIB;
31592 do
31593 for ac_extension in a so sl dylib dll.a; do
31594 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31595 ac_find_libraries=$ac_dir
31596 break 2
31597 fi
31598 done
31599 done
31600
31601 if test "$ac_find_libraries" != "" ; then
31602
31603 if test "$ac_find_libraries" = "default location"; then
31604 ac_path_to_link=""
31605 else
31606 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31607 result=$?
31608 if test $result = 0; then
31609 ac_path_to_link=""
31610 else
31611 ac_path_to_link=" -L$ac_find_libraries"
31612 fi
31613 fi
31614
31615 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31616 LDFLAGS="$LDFLAGS $ac_path_to_link"
31617 fi
31618 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31619 echo "$as_me:$LINENO: result: yes" >&5
31620 echo "${ECHO_T}yes" >&6
31621
31622 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31623 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31624
31625 ac_find_libraries=
31626 for ac_dir in $SEARCH_LIB;
31627 do
31628 for ac_extension in a so sl dylib dll.a; do
31629 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31630 ac_find_libraries=$ac_dir
31631 break 2
31632 fi
31633 done
31634 done
31635
31636 if test "$ac_find_libraries" != "" ; then
31637 echo "$as_me:$LINENO: result: yes" >&5
31638 echo "${ECHO_T}yes" >&6
31639 echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31640 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6
31641 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31642 echo $ECHO_N "(cached) $ECHO_C" >&6
31643 else
31644 cat >conftest.$ac_ext <<_ACEOF
31645 /* confdefs.h. */
31646 _ACEOF
31647 cat confdefs.h >>conftest.$ac_ext
31648 cat >>conftest.$ac_ext <<_ACEOF
31649 /* end confdefs.h. */
31650
31651 #if HAVE_X11_XLIB_H
31652 #include <X11/Xlib.h>
31653 #endif
31654
31655
31656 #include <X11/extensions/xf86vmode.h>
31657 _ACEOF
31658 rm -f conftest.$ac_objext
31659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31660 (eval $ac_compile) 2>conftest.er1
31661 ac_status=$?
31662 grep -v '^ *+' conftest.er1 >conftest.err
31663 rm -f conftest.er1
31664 cat conftest.err >&5
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); } &&
31667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31669 (eval $ac_try) 2>&5
31670 ac_status=$?
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); }; } &&
31673 { ac_try='test -s conftest.$ac_objext'
31674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31675 (eval $ac_try) 2>&5
31676 ac_status=$?
31677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31678 (exit $ac_status); }; }; then
31679 ac_cv_header_X11_extensions_xf86vmode_h=yes
31680 else
31681 echo "$as_me: failed program was:" >&5
31682 sed 's/^/| /' conftest.$ac_ext >&5
31683
31684 ac_cv_header_X11_extensions_xf86vmode_h=no
31685 fi
31686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31687 fi
31688 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31689 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6
31690 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31691
31692 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31693
31694 fi
31695
31696
31697 else
31698 echo "$as_me:$LINENO: result: no" >&5
31699 echo "${ECHO_T}no" >&6
31700 fi
31701
31702 else
31703 echo "$as_me:$LINENO: result: no" >&5
31704 echo "${ECHO_T}no" >&6
31705 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31706 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31707 wxUSE_DISPLAY="no"
31708 fi
31709 elif test "$wxUSE_MSW" = 1; then
31710 echo "$as_me:$LINENO: checking for ddraw.h" >&5
31711 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
31712 if test "${ac_cv_header_ddraw_h+set}" = set; then
31713 echo $ECHO_N "(cached) $ECHO_C" >&6
31714 else
31715 cat >conftest.$ac_ext <<_ACEOF
31716 /* confdefs.h. */
31717 _ACEOF
31718 cat confdefs.h >>conftest.$ac_ext
31719 cat >>conftest.$ac_ext <<_ACEOF
31720 /* end confdefs.h. */
31721 #include <windows.h>
31722
31723 #include <ddraw.h>
31724 _ACEOF
31725 rm -f conftest.$ac_objext
31726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31727 (eval $ac_compile) 2>conftest.er1
31728 ac_status=$?
31729 grep -v '^ *+' conftest.er1 >conftest.err
31730 rm -f conftest.er1
31731 cat conftest.err >&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); } &&
31734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31736 (eval $ac_try) 2>&5
31737 ac_status=$?
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); }; } &&
31740 { ac_try='test -s conftest.$ac_objext'
31741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31742 (eval $ac_try) 2>&5
31743 ac_status=$?
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); }; }; then
31746 ac_cv_header_ddraw_h=yes
31747 else
31748 echo "$as_me: failed program was:" >&5
31749 sed 's/^/| /' conftest.$ac_ext >&5
31750
31751 ac_cv_header_ddraw_h=no
31752 fi
31753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31754 fi
31755 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31756 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
31757
31758
31759 fi
31760 fi
31761
31762 if test "$wxUSE_DETECT_SM" = "yes"; then
31763 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31764 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31765 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
31766
31767 ac_find_libraries=
31768 for ac_dir in $SEARCH_LIB;
31769 do
31770 for ac_extension in a so sl dylib dll.a; do
31771 if test -f "$ac_dir/libSM.$ac_extension"; then
31772 ac_find_libraries=$ac_dir
31773 break 2
31774 fi
31775 done
31776 done
31777
31778 if test "$ac_find_libraries" != "" ; then
31779
31780 if test "$ac_find_libraries" = "default location"; then
31781 ac_path_to_link=""
31782 else
31783 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31784 result=$?
31785 if test $result = 0; then
31786 ac_path_to_link=""
31787 else
31788 ac_path_to_link=" -L$ac_find_libraries"
31789 fi
31790 fi
31791
31792 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31793 LDFLAGS="$LDFLAGS $ac_path_to_link"
31794 fi
31795 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
31796 echo "$as_me:$LINENO: result: yes" >&5
31797 echo "${ECHO_T}yes" >&6
31798 else
31799 echo "$as_me:$LINENO: result: no" >&5
31800 echo "${ECHO_T}no" >&6
31801 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
31802 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
31803 wxUSE_DETECT_SM="no"
31804 fi
31805 else
31806 wxUSE_DETECT_SM="no"
31807 fi
31808 fi
31809
31810
31811
31812 USE_OPENGL=0
31813 if test "$wxUSE_OPENGL" = "yes"; then
31814 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
31815 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
31816 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
31817 wxUSE_OPENGL="no"
31818 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31819 OPENGL_LIBS="-framework OpenGL -framework AGL"
31820 elif test "$wxUSE_MSW" = 1; then
31821 OPENGL_LIBS="-lopengl32 -lglu32"
31822 else
31823 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
31824 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
31825
31826 ac_find_includes=
31827 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
31828 do
31829 if test -f "$ac_dir/GL/gl.h"; then
31830 ac_find_includes=$ac_dir
31831 break
31832 fi
31833 done
31834
31835 if test "$ac_find_includes" != "" ; then
31836 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31837 echo "${ECHO_T}found in $ac_find_includes" >&6
31838
31839 if test "x$ac_find_includes" = "x/usr/include"; then
31840 ac_path_to_include=""
31841 else
31842 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
31843 result=$?
31844 if test $result = 0; then
31845 ac_path_to_include=""
31846 else
31847 ac_path_to_include=" -I$ac_find_includes"
31848 fi
31849 fi
31850
31851 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
31852 else
31853 echo "$as_me:$LINENO: result: not found" >&5
31854 echo "${ECHO_T}not found" >&6
31855 fi
31856
31857 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31858 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31859 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31860 echo $ECHO_N "(cached) $ECHO_C" >&6
31861 else
31862 cat >conftest.$ac_ext <<_ACEOF
31863 /* confdefs.h. */
31864 _ACEOF
31865 cat confdefs.h >>conftest.$ac_ext
31866 cat >>conftest.$ac_ext <<_ACEOF
31867 /* end confdefs.h. */
31868
31869
31870 #include <GL/gl.h>
31871 _ACEOF
31872 rm -f conftest.$ac_objext
31873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31874 (eval $ac_compile) 2>conftest.er1
31875 ac_status=$?
31876 grep -v '^ *+' conftest.er1 >conftest.err
31877 rm -f conftest.er1
31878 cat conftest.err >&5
31879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880 (exit $ac_status); } &&
31881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31883 (eval $ac_try) 2>&5
31884 ac_status=$?
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); }; } &&
31887 { ac_try='test -s conftest.$ac_objext'
31888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31889 (eval $ac_try) 2>&5
31890 ac_status=$?
31891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892 (exit $ac_status); }; }; then
31893 ac_cv_header_GL_gl_h=yes
31894 else
31895 echo "$as_me: failed program was:" >&5
31896 sed 's/^/| /' conftest.$ac_ext >&5
31897
31898 ac_cv_header_GL_gl_h=no
31899 fi
31900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31901 fi
31902 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31903 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31904 if test $ac_cv_header_GL_gl_h = yes; then
31905
31906 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31907 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
31908 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
31909 if test "${ac_cv_header_GL_glu_h+set}" = set; then
31910 echo $ECHO_N "(cached) $ECHO_C" >&6
31911 fi
31912 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
31913 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
31914 else
31915 # Is the header compilable?
31916 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
31917 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
31918 cat >conftest.$ac_ext <<_ACEOF
31919 /* confdefs.h. */
31920 _ACEOF
31921 cat confdefs.h >>conftest.$ac_ext
31922 cat >>conftest.$ac_ext <<_ACEOF
31923 /* end confdefs.h. */
31924 $ac_includes_default
31925 #include <GL/glu.h>
31926 _ACEOF
31927 rm -f conftest.$ac_objext
31928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31929 (eval $ac_compile) 2>conftest.er1
31930 ac_status=$?
31931 grep -v '^ *+' conftest.er1 >conftest.err
31932 rm -f conftest.er1
31933 cat conftest.err >&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); } &&
31936 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31938 (eval $ac_try) 2>&5
31939 ac_status=$?
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); }; } &&
31942 { ac_try='test -s conftest.$ac_objext'
31943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31944 (eval $ac_try) 2>&5
31945 ac_status=$?
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); }; }; then
31948 ac_header_compiler=yes
31949 else
31950 echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.$ac_ext >&5
31952
31953 ac_header_compiler=no
31954 fi
31955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31957 echo "${ECHO_T}$ac_header_compiler" >&6
31958
31959 # Is the header present?
31960 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
31961 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
31962 cat >conftest.$ac_ext <<_ACEOF
31963 /* confdefs.h. */
31964 _ACEOF
31965 cat confdefs.h >>conftest.$ac_ext
31966 cat >>conftest.$ac_ext <<_ACEOF
31967 /* end confdefs.h. */
31968 #include <GL/glu.h>
31969 _ACEOF
31970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31972 ac_status=$?
31973 grep -v '^ *+' conftest.er1 >conftest.err
31974 rm -f conftest.er1
31975 cat conftest.err >&5
31976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977 (exit $ac_status); } >/dev/null; then
31978 if test -s conftest.err; then
31979 ac_cpp_err=$ac_c_preproc_warn_flag
31980 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31981 else
31982 ac_cpp_err=
31983 fi
31984 else
31985 ac_cpp_err=yes
31986 fi
31987 if test -z "$ac_cpp_err"; then
31988 ac_header_preproc=yes
31989 else
31990 echo "$as_me: failed program was:" >&5
31991 sed 's/^/| /' conftest.$ac_ext >&5
31992
31993 ac_header_preproc=no
31994 fi
31995 rm -f conftest.err conftest.$ac_ext
31996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31997 echo "${ECHO_T}$ac_header_preproc" >&6
31998
31999 # So? What about this header?
32000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32001 yes:no: )
32002 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32003 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32004 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32005 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32006 ac_header_preproc=yes
32007 ;;
32008 no:yes:* )
32009 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32010 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32011 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32012 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32013 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32014 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32015 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32016 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32017 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32018 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32019 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32020 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32021 (
32022 cat <<\_ASBOX
32023 ## ----------------------------------------- ##
32024 ## Report this to wx-dev@lists.wxwidgets.org ##
32025 ## ----------------------------------------- ##
32026 _ASBOX
32027 ) |
32028 sed "s/^/$as_me: WARNING: /" >&2
32029 ;;
32030 esac
32031 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32032 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
32033 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32034 echo $ECHO_N "(cached) $ECHO_C" >&6
32035 else
32036 ac_cv_header_GL_glu_h=$ac_header_preproc
32037 fi
32038 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32039 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
32040
32041 fi
32042 if test $ac_cv_header_GL_glu_h = yes; then
32043
32044 found_gl=0
32045
32046 echo "$as_me:$LINENO: checking for -lGL" >&5
32047 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32048
32049 ac_find_libraries=
32050 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32051 do
32052 for ac_extension in a so sl dylib dll.a; do
32053 if test -f "$ac_dir/libGL.$ac_extension"; then
32054 ac_find_libraries=$ac_dir
32055 break 2
32056 fi
32057 done
32058 done
32059
32060 if test "$ac_find_libraries" != "" ; then
32061 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32062 echo "${ECHO_T}found in $ac_find_libraries" >&6
32063
32064
32065 if test "$ac_find_libraries" = "default location"; then
32066 ac_path_to_link=""
32067 else
32068 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32069 result=$?
32070 if test $result = 0; then
32071 ac_path_to_link=""
32072 else
32073 ac_path_to_link=" -L$ac_find_libraries"
32074 fi
32075 fi
32076
32077 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32078 LDFLAGS_GL="$ac_path_to_link"
32079 fi
32080
32081 echo "$as_me:$LINENO: checking for -lGLU" >&5
32082 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32083
32084 ac_find_libraries=
32085 for ac_dir in $SEARCH_LIB;
32086 do
32087 for ac_extension in a so sl dylib dll.a; do
32088 if test -f "$ac_dir/libGLU.$ac_extension"; then
32089 ac_find_libraries=$ac_dir
32090 break 2
32091 fi
32092 done
32093 done
32094
32095 if test "$ac_find_libraries" != "" ; then
32096
32097 if test "$ac_find_libraries" = "default location"; then
32098 ac_path_to_link=""
32099 else
32100 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32101 result=$?
32102 if test $result = 0; then
32103 ac_path_to_link=""
32104 else
32105 ac_path_to_link=" -L$ac_find_libraries"
32106 fi
32107 fi
32108
32109 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32110 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32111 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32112 fi
32113
32114 found_gl=1
32115 OPENGL_LIBS="-lGL -lGLU"
32116 echo "$as_me:$LINENO: result: yes" >&5
32117 echo "${ECHO_T}yes" >&6
32118 else
32119 echo "$as_me:$LINENO: result: no" >&5
32120 echo "${ECHO_T}no" >&6
32121 fi
32122 else
32123 echo "$as_me:$LINENO: result: no" >&5
32124 echo "${ECHO_T}no" >&6
32125 fi
32126
32127 if test "$found_gl" != 1; then
32128 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32129 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32130
32131 ac_find_libraries=
32132 for ac_dir in $SEARCH_LIB;
32133 do
32134 for ac_extension in a so sl dylib dll.a; do
32135 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32136 ac_find_libraries=$ac_dir
32137 break 2
32138 fi
32139 done
32140 done
32141
32142 if test "$ac_find_libraries" != "" ; then
32143
32144 if test "$ac_find_libraries" = "default location"; then
32145 ac_path_to_link=""
32146 else
32147 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32148 result=$?
32149 if test $result = 0; then
32150 ac_path_to_link=""
32151 else
32152 ac_path_to_link=" -L$ac_find_libraries"
32153 fi
32154 fi
32155
32156 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32157 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32158 echo "$as_me:$LINENO: result: yes" >&5
32159 echo "${ECHO_T}yes" >&6
32160 else
32161 echo "$as_me:$LINENO: result: no" >&5
32162 echo "${ECHO_T}no" >&6
32163 fi
32164 fi
32165
32166 fi
32167
32168
32169
32170 fi
32171
32172
32173
32174 if test "x$OPENGL_LIBS" = "x"; then
32175 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32176 echo "$as_me: error: OpenGL libraries not available" >&2;}
32177 { (exit 1); exit 1; }; }
32178 fi
32179 fi
32180
32181 if test "$wxUSE_OPENGL" = "yes"; then
32182 USE_OPENGL=1
32183 cat >>confdefs.h <<\_ACEOF
32184 #define wxUSE_OPENGL 1
32185 _ACEOF
32186
32187 cat >>confdefs.h <<\_ACEOF
32188 #define wxUSE_GLCANVAS 1
32189 _ACEOF
32190
32191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32192 fi
32193 fi
32194
32195
32196 if test -n "$TOOLKIT" ; then
32197 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32198 fi
32199
32200
32201
32202 if test "$wxUSE_SHARED" = "yes"; then
32203 case "${host}" in
32204 *-pc-msdosdjgpp )
32205 wxUSE_SHARED=no
32206 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32207 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32208 ;;
32209 esac
32210 fi
32211
32212 if test "$wxUSE_SHARED" = "yes"; then
32213
32214
32215 case "${host}" in
32216 *-*-cygwin* | *-*-mingw* )
32217 wx_cv_version_script=no
32218 ;;
32219
32220 *)
32221 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32222 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32223 if test "${wx_cv_version_script+set}" = set; then
32224 echo $ECHO_N "(cached) $ECHO_C" >&6
32225 else
32226
32227 echo "VER_1 { *; };" >conftest.sym
32228 echo "int main() { return 0; }" >conftest.cpp
32229
32230 if { ac_try='
32231 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32232 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32234 (eval $ac_try) 2>&5
32235 ac_status=$?
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; } ; then
32238 if test -s conftest.stderr ; then
32239 wx_cv_version_script=no
32240 else
32241 wx_cv_version_script=yes
32242 fi
32243 else
32244 wx_cv_version_script=no
32245 fi
32246
32247 if test $wx_cv_version_script = yes
32248 then
32249 echo "struct B { virtual ~B() { } }; \
32250 struct D : public B { }; \
32251 void F() { D d; }" > conftest.cpp
32252
32253 if { ac_try='
32254 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32255 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32257 (eval $ac_try) 2>&5
32258 ac_status=$?
32259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32260 (exit $ac_status); }; } &&
32261 { ac_try='
32262 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32263 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32265 (eval $ac_try) 2>&5
32266 ac_status=$?
32267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32268 (exit $ac_status); }; }
32269 then
32270 if { ac_try='
32271 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32272 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32274 (eval $ac_try) 2>&5
32275 ac_status=$?
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); }; }
32278 then
32279 wx_cv_version_script=yes
32280 else
32281 wx_cv_version_script=no
32282 fi
32283 fi
32284 fi
32285
32286 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32287 rm -f conftest1.output conftest2.output conftest3.output
32288
32289 fi
32290 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32291 echo "${ECHO_T}$wx_cv_version_script" >&6
32292
32293 if test $wx_cv_version_script = yes ; then
32294 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32295 fi
32296 ;;
32297 esac
32298
32299
32300
32301
32302 if test -n "$GCC"; then
32303 CFLAGS_VISIBILITY="-fvisibility=hidden"
32304 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
32305 echo "$as_me:$LINENO: checking for symbols visibility support" >&5
32306 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6
32307 if test "${wx_cv_cc_visibility+set}" = set; then
32308 echo $ECHO_N "(cached) $ECHO_C" >&6
32309 else
32310
32311 wx_save_CXXFLAGS="$CXXFLAGS"
32312 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
32313 ac_ext=cc
32314 ac_cpp='$CXXCPP $CPPFLAGS'
32315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32318
32319 cat >conftest.$ac_ext <<_ACEOF
32320 /* confdefs.h. */
32321 _ACEOF
32322 cat confdefs.h >>conftest.$ac_ext
32323 cat >>conftest.$ac_ext <<_ACEOF
32324 /* end confdefs.h. */
32325
32326 /* we need gcc >= 4.0, older versions with visibility support
32327 didn't have class visibility: */
32328 #if defined(__GNUC__) && __GNUC__ < 4
32329 error this gcc is too old;
32330 #endif
32331
32332 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
32333 extern __attribute__((__visibility__("default"))) int exportedvar;
32334 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
32335 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
32336 class __attribute__((__visibility__("default"))) Foo {
32337 Foo() {}
32338 };
32339
32340 int
32341 main ()
32342 {
32343
32344 ;
32345 return 0;
32346 }
32347 _ACEOF
32348 rm -f conftest.$ac_objext
32349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32350 (eval $ac_compile) 2>conftest.er1
32351 ac_status=$?
32352 grep -v '^ *+' conftest.er1 >conftest.err
32353 rm -f conftest.er1
32354 cat conftest.err >&5
32355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32356 (exit $ac_status); } &&
32357 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32359 (eval $ac_try) 2>&5
32360 ac_status=$?
32361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32362 (exit $ac_status); }; } &&
32363 { ac_try='test -s conftest.$ac_objext'
32364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32365 (eval $ac_try) 2>&5
32366 ac_status=$?
32367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32368 (exit $ac_status); }; }; then
32369 wx_cv_cc_visibility=yes
32370 else
32371 echo "$as_me: failed program was:" >&5
32372 sed 's/^/| /' conftest.$ac_ext >&5
32373
32374 wx_cv_cc_visibility=no
32375 fi
32376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32377 ac_ext=c
32378 ac_cpp='$CPP $CPPFLAGS'
32379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32382
32383 CXXFLAGS="$wx_save_CXXFLAGS"
32384 fi
32385
32386 echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
32387 echo "${ECHO_T}$wx_cv_cc_visibility" >&6
32388 if test $wx_cv_cc_visibility = yes; then
32389 cat >>confdefs.h <<\_ACEOF
32390 #define HAVE_VISIBILITY 1
32391 _ACEOF
32392
32393 else
32394 CFLAGS_VISIBILITY=""
32395 CXXFLAGS_VISIBILITY=""
32396 fi
32397
32398
32399 fi
32400
32401
32402 if test "x$SUNCXX" = xyes; then
32403 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32404 WXCONFIG_RPATH="-R\$libdir"
32405 else
32406 case "${host}" in
32407 *-*-linux* | *-*-gnu* )
32408 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32409 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32410 ;;
32411
32412 *-*-solaris2* )
32413
32414 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32415
32416 saveLdflags="$LDFLAGS"
32417 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32418 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32419 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32420 cat >conftest.$ac_ext <<_ACEOF
32421 /* confdefs.h. */
32422 _ACEOF
32423 cat confdefs.h >>conftest.$ac_ext
32424 cat >>conftest.$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32426
32427 int
32428 main ()
32429 {
32430
32431 ;
32432 return 0;
32433 }
32434 _ACEOF
32435 rm -f conftest.$ac_objext conftest$ac_exeext
32436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32437 (eval $ac_link) 2>conftest.er1
32438 ac_status=$?
32439 grep -v '^ *+' conftest.er1 >conftest.err
32440 rm -f conftest.er1
32441 cat conftest.err >&5
32442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32443 (exit $ac_status); } &&
32444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32446 (eval $ac_try) 2>&5
32447 ac_status=$?
32448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32449 (exit $ac_status); }; } &&
32450 { ac_try='test -s conftest$ac_exeext'
32451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32452 (eval $ac_try) 2>&5
32453 ac_status=$?
32454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32455 (exit $ac_status); }; }; then
32456
32457 echo "$as_me:$LINENO: result: yes" >&5
32458 echo "${ECHO_T}yes" >&6
32459 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32460 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32461
32462 else
32463 echo "$as_me: failed program was:" >&5
32464 sed 's/^/| /' conftest.$ac_ext >&5
32465
32466
32467 echo "$as_me:$LINENO: result: no" >&5
32468 echo "${ECHO_T}no" >&6
32469 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32470 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32471 LDFLAGS="$saveLdflags -Wl,-R,/"
32472 cat >conftest.$ac_ext <<_ACEOF
32473 /* confdefs.h. */
32474 _ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32478
32479 int
32480 main ()
32481 {
32482
32483 ;
32484 return 0;
32485 }
32486 _ACEOF
32487 rm -f conftest.$ac_objext conftest$ac_exeext
32488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32489 (eval $ac_link) 2>conftest.er1
32490 ac_status=$?
32491 grep -v '^ *+' conftest.er1 >conftest.err
32492 rm -f conftest.er1
32493 cat conftest.err >&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); } &&
32496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32498 (eval $ac_try) 2>&5
32499 ac_status=$?
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); }; } &&
32502 { ac_try='test -s conftest$ac_exeext'
32503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32504 (eval $ac_try) 2>&5
32505 ac_status=$?
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); }; }; then
32508
32509 echo "$as_me:$LINENO: result: yes" >&5
32510 echo "${ECHO_T}yes" >&6
32511 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32512 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32513
32514 else
32515 echo "$as_me: failed program was:" >&5
32516 sed 's/^/| /' conftest.$ac_ext >&5
32517
32518
32519 echo "$as_me:$LINENO: result: no" >&5
32520 echo "${ECHO_T}no" >&6
32521
32522 fi
32523 rm -f conftest.err conftest.$ac_objext \
32524 conftest$ac_exeext conftest.$ac_ext
32525
32526 fi
32527 rm -f conftest.err conftest.$ac_objext \
32528 conftest$ac_exeext conftest.$ac_ext
32529 LDFLAGS="$saveLdflags"
32530 ;;
32531
32532 *-*-darwin* )
32533 install_name_tool=`which install_name_tool`
32534 if test "$install_name_tool" -a -x "$install_name_tool"; then
32535 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32536 cat <<EOF >change-install-names
32537 #!/bin/sh
32538 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32539 inst_cmd="install_name_tool "
32540 for i in \${libnames} ; do
32541 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32542 done
32543 \${inst_cmd} \${3}
32544 EOF
32545 chmod +x change-install-names
32546 fi
32547 ;;
32548
32549 *-*-cygwin* | *-*-mingw32* )
32550 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32551 ;;
32552
32553 *-*-hpux* )
32554 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32555 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32556 ;;
32557
32558 esac
32559 fi
32560
32561 if test $wxUSE_RPATH = "no"; then
32562 SAMPLES_RPATH_FLAG=''
32563 SAMPLES_RPATH_POSTLINK=''
32564 WXCONFIG_RPATH=''
32565 fi
32566
32567 SHARED=1
32568
32569 else
32570
32571 config_linkage_component="-static"
32572 SHARED=0
32573
32574 fi
32575
32576
32577 UNICODE=0
32578 lib_unicode_suffix=
32579 WX_CHARTYPE="ansi"
32580 if test "$wxUSE_UNICODE" = "yes"; then
32581 lib_unicode_suffix=u
32582 WX_CHARTYPE="unicode"
32583 UNICODE=1
32584 fi
32585
32586 lib_debug_suffix=
32587 WX_DEBUGTYPE="release"
32588 DEBUG_FLAG=0
32589 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32590 lib_debug_suffix=d
32591 WX_DEBUGTYPE="debug"
32592 DEBUG_FLAG=1
32593 fi
32594
32595 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32596 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32597
32598 DEBUG_INFO=0
32599 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32600 DEBUG_INFO=1
32601 fi
32602
32603 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32604
32605 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32606
32607 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32608
32609 if test "$cross_compiling" = "yes"; then
32610 HOST_SUFFIX="-$host_alias"
32611 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32612 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32613 fi
32614
32615 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32616 if test "${TOOLKIT_DIR}" = "os2"; then
32617 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32618 else
32619 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32620 fi
32621
32622
32623
32624 if test "$wxUSE_COCOA" = 1; then
32625
32626
32627 ac_ext=c
32628 ac_cpp='$CPP $CPPFLAGS'
32629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32632
32633 ac_ext=m
32634
32635 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32636 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32637 cat >conftest.$ac_ext <<_ACEOF
32638 /* confdefs.h. */
32639 _ACEOF
32640 cat confdefs.h >>conftest.$ac_ext
32641 cat >>conftest.$ac_ext <<_ACEOF
32642 /* end confdefs.h. */
32643 #include <AppKit/NSEvent.h>
32644 #include <CoreFoundation/CoreFoundation.h>
32645
32646 int
32647 main ()
32648 {
32649
32650 ;
32651 return 0;
32652 }
32653 _ACEOF
32654 rm -f conftest.$ac_objext
32655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32656 (eval $ac_compile) 2>conftest.er1
32657 ac_status=$?
32658 grep -v '^ *+' conftest.er1 >conftest.err
32659 rm -f conftest.er1
32660 cat conftest.err >&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } &&
32663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665 (eval $ac_try) 2>&5
32666 ac_status=$?
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); }; } &&
32669 { ac_try='test -s conftest.$ac_objext'
32670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32671 (eval $ac_try) 2>&5
32672 ac_status=$?
32673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32674 (exit $ac_status); }; }; then
32675 echo "$as_me:$LINENO: result: no" >&5
32676 echo "${ECHO_T}no" >&6
32677 else
32678 echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.$ac_ext >&5
32680
32681 echo "$as_me:$LINENO: result: yes" >&5
32682 echo "${ECHO_T}yes" >&6
32683 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32684 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32685 cat >conftest.$ac_ext <<_ACEOF
32686 /* confdefs.h. */
32687 _ACEOF
32688 cat confdefs.h >>conftest.$ac_ext
32689 cat >>conftest.$ac_ext <<_ACEOF
32690 /* end confdefs.h. */
32691 #define __Point__ 1
32692 #include <AppKit/NSEvent.h>
32693 #include <CoreFoundation/CoreFoundation.h>
32694
32695 int
32696 main ()
32697 {
32698
32699 ;
32700 return 0;
32701 }
32702 _ACEOF
32703 rm -f conftest.$ac_objext
32704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32705 (eval $ac_compile) 2>conftest.er1
32706 ac_status=$?
32707 grep -v '^ *+' conftest.er1 >conftest.err
32708 rm -f conftest.er1
32709 cat conftest.err >&5
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); } &&
32712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32714 (eval $ac_try) 2>&5
32715 ac_status=$?
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); }; } &&
32718 { ac_try='test -s conftest.$ac_objext'
32719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32720 (eval $ac_try) 2>&5
32721 ac_status=$?
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); }; }; then
32724 echo "$as_me:$LINENO: result: yes" >&5
32725 echo "${ECHO_T}yes" >&6
32726 cat >>confdefs.h <<\_ACEOF
32727 #define __Point__ 1
32728 _ACEOF
32729
32730
32731 else
32732 echo "$as_me: failed program was:" >&5
32733 sed 's/^/| /' conftest.$ac_ext >&5
32734
32735 { { echo "$as_me:$LINENO: error: no
32736 See \`config.log' for more details." >&5
32737 echo "$as_me: error: no
32738 See \`config.log' for more details." >&2;}
32739 { (exit 1); exit 1; }; }
32740
32741 fi
32742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32743
32744 fi
32745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32746 ac_ext=c
32747 ac_cpp='$CPP $CPPFLAGS'
32748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32751
32752 fi
32753
32754 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32755 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32756 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32757
32758 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32759
32760 # Extract the first word of "Rez", so it can be a program name with args.
32761 set dummy Rez; ac_word=$2
32762 echo "$as_me:$LINENO: checking for $ac_word" >&5
32763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32764 if test "${ac_cv_prog_REZ+set}" = set; then
32765 echo $ECHO_N "(cached) $ECHO_C" >&6
32766 else
32767 if test -n "$REZ"; then
32768 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32769 else
32770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32771 for as_dir in $PATH
32772 do
32773 IFS=$as_save_IFS
32774 test -z "$as_dir" && as_dir=.
32775 for ac_exec_ext in '' $ac_executable_extensions; do
32776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32777 ac_cv_prog_REZ="Rez"
32778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32779 break 2
32780 fi
32781 done
32782 done
32783
32784 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32785 fi
32786 fi
32787 REZ=$ac_cv_prog_REZ
32788 if test -n "$REZ"; then
32789 echo "$as_me:$LINENO: result: $REZ" >&5
32790 echo "${ECHO_T}$REZ" >&6
32791 else
32792 echo "$as_me:$LINENO: result: no" >&5
32793 echo "${ECHO_T}no" >&6
32794 fi
32795
32796 # Extract the first word of "DeRez", so it can be a program name with args.
32797 set dummy DeRez; ac_word=$2
32798 echo "$as_me:$LINENO: checking for $ac_word" >&5
32799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32800 if test "${ac_cv_prog_DEREZ+set}" = set; then
32801 echo $ECHO_N "(cached) $ECHO_C" >&6
32802 else
32803 if test -n "$DEREZ"; then
32804 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32805 else
32806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32807 for as_dir in $PATH
32808 do
32809 IFS=$as_save_IFS
32810 test -z "$as_dir" && as_dir=.
32811 for ac_exec_ext in '' $ac_executable_extensions; do
32812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32813 ac_cv_prog_DEREZ="DeRez"
32814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32815 break 2
32816 fi
32817 done
32818 done
32819
32820 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32821 fi
32822 fi
32823 DEREZ=$ac_cv_prog_DEREZ
32824 if test -n "$DEREZ"; then
32825 echo "$as_me:$LINENO: result: $DEREZ" >&5
32826 echo "${ECHO_T}$DEREZ" >&6
32827 else
32828 echo "$as_me:$LINENO: result: no" >&5
32829 echo "${ECHO_T}no" >&6
32830 fi
32831
32832 # Extract the first word of "SetFile", so it can be a program name with args.
32833 set dummy SetFile; ac_word=$2
32834 echo "$as_me:$LINENO: checking for $ac_word" >&5
32835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32836 if test "${ac_cv_prog_SETFILE+set}" = set; then
32837 echo $ECHO_N "(cached) $ECHO_C" >&6
32838 else
32839 if test -n "$SETFILE"; then
32840 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32841 else
32842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32843 for as_dir in $PATH
32844 do
32845 IFS=$as_save_IFS
32846 test -z "$as_dir" && as_dir=.
32847 for ac_exec_ext in '' $ac_executable_extensions; do
32848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32849 ac_cv_prog_SETFILE="SetFile"
32850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32851 break 2
32852 fi
32853 done
32854 done
32855
32856 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32857 fi
32858 fi
32859 SETFILE=$ac_cv_prog_SETFILE
32860 if test -n "$SETFILE"; then
32861 echo "$as_me:$LINENO: result: $SETFILE" >&5
32862 echo "${ECHO_T}$SETFILE" >&6
32863 else
32864 echo "$as_me:$LINENO: result: no" >&5
32865 echo "${ECHO_T}no" >&6
32866 fi
32867
32868
32869 MACSETFILE="\$(SETFILE)"
32870
32871 if test "$wxUSE_MAC" = 1; then
32872 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32873 RESCOMP="$REZ"
32874 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32875 else
32876 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32877 RESCOMP="echo -n \| $REZ"
32878 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32879 fi
32880
32881 else
32882 MACSETFILE="@true"
32883
32884 if test "$wxUSE_PM" = 1; then
32885 RESCOMP="emxbind"
32886 WXCONFIG_RESFLAGS="-ep"
32887
32888 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32889 else
32890 POSTLINK_COMMAND="@true"
32891 fi
32892
32893 fi
32894
32895
32896
32897 echo "$as_me:$LINENO: checking for mode_t" >&5
32898 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32899 if test "${ac_cv_type_mode_t+set}" = set; then
32900 echo $ECHO_N "(cached) $ECHO_C" >&6
32901 else
32902 cat >conftest.$ac_ext <<_ACEOF
32903 /* confdefs.h. */
32904 _ACEOF
32905 cat confdefs.h >>conftest.$ac_ext
32906 cat >>conftest.$ac_ext <<_ACEOF
32907 /* end confdefs.h. */
32908 $ac_includes_default
32909 int
32910 main ()
32911 {
32912 if ((mode_t *) 0)
32913 return 0;
32914 if (sizeof (mode_t))
32915 return 0;
32916 ;
32917 return 0;
32918 }
32919 _ACEOF
32920 rm -f conftest.$ac_objext
32921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32922 (eval $ac_compile) 2>conftest.er1
32923 ac_status=$?
32924 grep -v '^ *+' conftest.er1 >conftest.err
32925 rm -f conftest.er1
32926 cat conftest.err >&5
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); } &&
32929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32931 (eval $ac_try) 2>&5
32932 ac_status=$?
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); }; } &&
32935 { ac_try='test -s conftest.$ac_objext'
32936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32937 (eval $ac_try) 2>&5
32938 ac_status=$?
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); }; }; then
32941 ac_cv_type_mode_t=yes
32942 else
32943 echo "$as_me: failed program was:" >&5
32944 sed 's/^/| /' conftest.$ac_ext >&5
32945
32946 ac_cv_type_mode_t=no
32947 fi
32948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32949 fi
32950 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32951 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32952 if test $ac_cv_type_mode_t = yes; then
32953 :
32954 else
32955
32956 cat >>confdefs.h <<_ACEOF
32957 #define mode_t int
32958 _ACEOF
32959
32960 fi
32961
32962 echo "$as_me:$LINENO: checking for off_t" >&5
32963 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32964 if test "${ac_cv_type_off_t+set}" = set; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32966 else
32967 cat >conftest.$ac_ext <<_ACEOF
32968 /* confdefs.h. */
32969 _ACEOF
32970 cat confdefs.h >>conftest.$ac_ext
32971 cat >>conftest.$ac_ext <<_ACEOF
32972 /* end confdefs.h. */
32973 $ac_includes_default
32974 int
32975 main ()
32976 {
32977 if ((off_t *) 0)
32978 return 0;
32979 if (sizeof (off_t))
32980 return 0;
32981 ;
32982 return 0;
32983 }
32984 _ACEOF
32985 rm -f conftest.$ac_objext
32986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32987 (eval $ac_compile) 2>conftest.er1
32988 ac_status=$?
32989 grep -v '^ *+' conftest.er1 >conftest.err
32990 rm -f conftest.er1
32991 cat conftest.err >&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); } &&
32994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32996 (eval $ac_try) 2>&5
32997 ac_status=$?
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); }; } &&
33000 { ac_try='test -s conftest.$ac_objext'
33001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33002 (eval $ac_try) 2>&5
33003 ac_status=$?
33004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005 (exit $ac_status); }; }; then
33006 ac_cv_type_off_t=yes
33007 else
33008 echo "$as_me: failed program was:" >&5
33009 sed 's/^/| /' conftest.$ac_ext >&5
33010
33011 ac_cv_type_off_t=no
33012 fi
33013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33014 fi
33015 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33016 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33017 if test $ac_cv_type_off_t = yes; then
33018 :
33019 else
33020
33021 cat >>confdefs.h <<_ACEOF
33022 #define off_t long
33023 _ACEOF
33024
33025 fi
33026
33027 echo "$as_me:$LINENO: checking for pid_t" >&5
33028 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33029 if test "${ac_cv_type_pid_t+set}" = set; then
33030 echo $ECHO_N "(cached) $ECHO_C" >&6
33031 else
33032 cat >conftest.$ac_ext <<_ACEOF
33033 /* confdefs.h. */
33034 _ACEOF
33035 cat confdefs.h >>conftest.$ac_ext
33036 cat >>conftest.$ac_ext <<_ACEOF
33037 /* end confdefs.h. */
33038 $ac_includes_default
33039 int
33040 main ()
33041 {
33042 if ((pid_t *) 0)
33043 return 0;
33044 if (sizeof (pid_t))
33045 return 0;
33046 ;
33047 return 0;
33048 }
33049 _ACEOF
33050 rm -f conftest.$ac_objext
33051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33052 (eval $ac_compile) 2>conftest.er1
33053 ac_status=$?
33054 grep -v '^ *+' conftest.er1 >conftest.err
33055 rm -f conftest.er1
33056 cat conftest.err >&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); } &&
33059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33061 (eval $ac_try) 2>&5
33062 ac_status=$?
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); }; } &&
33065 { ac_try='test -s conftest.$ac_objext'
33066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33067 (eval $ac_try) 2>&5
33068 ac_status=$?
33069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33070 (exit $ac_status); }; }; then
33071 ac_cv_type_pid_t=yes
33072 else
33073 echo "$as_me: failed program was:" >&5
33074 sed 's/^/| /' conftest.$ac_ext >&5
33075
33076 ac_cv_type_pid_t=no
33077 fi
33078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33079 fi
33080 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33081 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33082 if test $ac_cv_type_pid_t = yes; then
33083 :
33084 else
33085
33086 cat >>confdefs.h <<_ACEOF
33087 #define pid_t int
33088 _ACEOF
33089
33090 fi
33091
33092 echo "$as_me:$LINENO: checking for size_t" >&5
33093 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33094 if test "${ac_cv_type_size_t+set}" = set; then
33095 echo $ECHO_N "(cached) $ECHO_C" >&6
33096 else
33097 cat >conftest.$ac_ext <<_ACEOF
33098 /* confdefs.h. */
33099 _ACEOF
33100 cat confdefs.h >>conftest.$ac_ext
33101 cat >>conftest.$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33103 $ac_includes_default
33104 int
33105 main ()
33106 {
33107 if ((size_t *) 0)
33108 return 0;
33109 if (sizeof (size_t))
33110 return 0;
33111 ;
33112 return 0;
33113 }
33114 _ACEOF
33115 rm -f conftest.$ac_objext
33116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33117 (eval $ac_compile) 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_objext'
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_type_size_t=yes
33137 else
33138 echo "$as_me: failed program was:" >&5
33139 sed 's/^/| /' conftest.$ac_ext >&5
33140
33141 ac_cv_type_size_t=no
33142 fi
33143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33144 fi
33145 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33146 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33147 if test $ac_cv_type_size_t = yes; then
33148 :
33149 else
33150
33151 cat >>confdefs.h <<_ACEOF
33152 #define size_t unsigned
33153 _ACEOF
33154
33155 fi
33156
33157 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33158 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33159 if test "${ac_cv_type_uid_t+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 #include <sys/types.h>
33169
33170 _ACEOF
33171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33172 $EGREP "uid_t" >/dev/null 2>&1; then
33173 ac_cv_type_uid_t=yes
33174 else
33175 ac_cv_type_uid_t=no
33176 fi
33177 rm -f conftest*
33178
33179 fi
33180 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33181 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33182 if test $ac_cv_type_uid_t = no; then
33183
33184 cat >>confdefs.h <<\_ACEOF
33185 #define uid_t int
33186 _ACEOF
33187
33188
33189 cat >>confdefs.h <<\_ACEOF
33190 #define gid_t int
33191 _ACEOF
33192
33193 fi
33194
33195
33196 echo "$as_me:$LINENO: checking for ssize_t" >&5
33197 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33198 if test "${ac_cv_type_ssize_t+set}" = set; then
33199 echo $ECHO_N "(cached) $ECHO_C" >&6
33200 else
33201 cat >conftest.$ac_ext <<_ACEOF
33202 /* confdefs.h. */
33203 _ACEOF
33204 cat confdefs.h >>conftest.$ac_ext
33205 cat >>conftest.$ac_ext <<_ACEOF
33206 /* end confdefs.h. */
33207 $ac_includes_default
33208 int
33209 main ()
33210 {
33211 if ((ssize_t *) 0)
33212 return 0;
33213 if (sizeof (ssize_t))
33214 return 0;
33215 ;
33216 return 0;
33217 }
33218 _ACEOF
33219 rm -f conftest.$ac_objext
33220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33221 (eval $ac_compile) 2>conftest.er1
33222 ac_status=$?
33223 grep -v '^ *+' conftest.er1 >conftest.err
33224 rm -f conftest.er1
33225 cat conftest.err >&5
33226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33227 (exit $ac_status); } &&
33228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33230 (eval $ac_try) 2>&5
33231 ac_status=$?
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); }; } &&
33234 { ac_try='test -s conftest.$ac_objext'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33237 ac_status=$?
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; }; then
33240 ac_cv_type_ssize_t=yes
33241 else
33242 echo "$as_me: failed program was:" >&5
33243 sed 's/^/| /' conftest.$ac_ext >&5
33244
33245 ac_cv_type_ssize_t=no
33246 fi
33247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33248 fi
33249 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33250 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33251 if test $ac_cv_type_ssize_t = yes; then
33252
33253 cat >>confdefs.h <<_ACEOF
33254 #define HAVE_SSIZE_T 1
33255 _ACEOF
33256
33257
33258 fi
33259
33260
33261 ac_ext=cc
33262 ac_cpp='$CXXCPP $CPPFLAGS'
33263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33266 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33267 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33268 if test "${wx_cv_size_t_is_uint+set}" = set; then
33269 echo $ECHO_N "(cached) $ECHO_C" >&6
33270 else
33271
33272 cat >conftest.$ac_ext <<_ACEOF
33273 /* confdefs.h. */
33274 _ACEOF
33275 cat confdefs.h >>conftest.$ac_ext
33276 cat >>conftest.$ac_ext <<_ACEOF
33277 /* end confdefs.h. */
33278 #include <stddef.h>
33279 int
33280 main ()
33281 {
33282
33283 return 0; }
33284
33285 struct Foo { void foo(size_t); void foo(unsigned int); };
33286
33287 int bar() {
33288
33289 ;
33290 return 0;
33291 }
33292 _ACEOF
33293 rm -f conftest.$ac_objext
33294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33295 (eval $ac_compile) 2>conftest.er1
33296 ac_status=$?
33297 grep -v '^ *+' conftest.er1 >conftest.err
33298 rm -f conftest.er1
33299 cat conftest.err >&5
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); } &&
33302 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33304 (eval $ac_try) 2>&5
33305 ac_status=$?
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); }; } &&
33308 { ac_try='test -s conftest.$ac_objext'
33309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310 (eval $ac_try) 2>&5
33311 ac_status=$?
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); }; }; then
33314 wx_cv_size_t_is_uint=no
33315 else
33316 echo "$as_me: failed program was:" >&5
33317 sed 's/^/| /' conftest.$ac_ext >&5
33318
33319 wx_cv_size_t_is_uint=yes
33320
33321 fi
33322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33323
33324
33325 fi
33326 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33327 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33328
33329 if test "$wx_cv_size_t_is_uint" = "yes"; then
33330 cat >>confdefs.h <<\_ACEOF
33331 #define wxSIZE_T_IS_UINT 1
33332 _ACEOF
33333
33334 else
33335 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33336 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33337 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33338 echo $ECHO_N "(cached) $ECHO_C" >&6
33339 else
33340 cat >conftest.$ac_ext <<_ACEOF
33341 /* confdefs.h. */
33342 _ACEOF
33343 cat confdefs.h >>conftest.$ac_ext
33344 cat >>conftest.$ac_ext <<_ACEOF
33345 /* end confdefs.h. */
33346 #include <stddef.h>
33347 int
33348 main ()
33349 {
33350
33351 return 0; }
33352
33353 struct Foo { void foo(size_t); void foo(unsigned long); };
33354
33355 int bar() {
33356
33357 ;
33358 return 0;
33359 }
33360 _ACEOF
33361 rm -f conftest.$ac_objext
33362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33363 (eval $ac_compile) 2>conftest.er1
33364 ac_status=$?
33365 grep -v '^ *+' conftest.er1 >conftest.err
33366 rm -f conftest.er1
33367 cat conftest.err >&5
33368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33369 (exit $ac_status); } &&
33370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33372 (eval $ac_try) 2>&5
33373 ac_status=$?
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); }; } &&
33376 { ac_try='test -s conftest.$ac_objext'
33377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33378 (eval $ac_try) 2>&5
33379 ac_status=$?
33380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33381 (exit $ac_status); }; }; then
33382 wx_cv_size_t_is_ulong=no
33383 else
33384 echo "$as_me: failed program was:" >&5
33385 sed 's/^/| /' conftest.$ac_ext >&5
33386
33387 wx_cv_size_t_is_ulong=yes
33388
33389 fi
33390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33391
33392 fi
33393 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33394 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33395
33396 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33397 cat >>confdefs.h <<\_ACEOF
33398 #define wxSIZE_T_IS_ULONG 1
33399 _ACEOF
33400
33401 fi
33402 fi
33403
33404 echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
33405 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6
33406 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
33407 echo $ECHO_N "(cached) $ECHO_C" >&6
33408 else
33409 cat >conftest.$ac_ext <<_ACEOF
33410 /* confdefs.h. */
33411 _ACEOF
33412 cat confdefs.h >>conftest.$ac_ext
33413 cat >>conftest.$ac_ext <<_ACEOF
33414 /* end confdefs.h. */
33415 #include <wchar.h>
33416 int
33417 main ()
33418 {
33419
33420 return 0; }
33421
33422 struct Foo { void foo(wchar_t);
33423 void foo(unsigned short);
33424 void foo(unsigned int);
33425 void foo(unsigned long); };
33426
33427 int bar() {
33428
33429 ;
33430 return 0;
33431 }
33432 _ACEOF
33433 rm -f conftest.$ac_objext
33434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33435 (eval $ac_compile) 2>conftest.er1
33436 ac_status=$?
33437 grep -v '^ *+' conftest.er1 >conftest.err
33438 rm -f conftest.er1
33439 cat conftest.err >&5
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); } &&
33442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33444 (eval $ac_try) 2>&5
33445 ac_status=$?
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); }; } &&
33448 { ac_try='test -s conftest.$ac_objext'
33449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33450 (eval $ac_try) 2>&5
33451 ac_status=$?
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); }; }; then
33454 wx_cv_wchar_t_is_separate_type=yes
33455 else
33456 echo "$as_me: failed program was:" >&5
33457 sed 's/^/| /' conftest.$ac_ext >&5
33458
33459 wx_cv_wchar_t_is_separate_type=no
33460
33461 fi
33462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33463
33464 fi
33465 echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
33466 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6
33467
33468 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
33469 cat >>confdefs.h <<\_ACEOF
33470 #define wxWCHAR_T_IS_REAL_TYPE 1
33471 _ACEOF
33472
33473 else
33474 cat >>confdefs.h <<\_ACEOF
33475 #define wxWCHAR_T_IS_REAL_TYPE 0
33476 _ACEOF
33477
33478 fi
33479
33480 ac_ext=c
33481 ac_cpp='$CPP $CPPFLAGS'
33482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33485
33486
33487 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33488 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33489 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33490 echo $ECHO_N "(cached) $ECHO_C" >&6
33491 else
33492
33493 cat >conftest.$ac_ext <<_ACEOF
33494 /* confdefs.h. */
33495 _ACEOF
33496 cat confdefs.h >>conftest.$ac_ext
33497 cat >>conftest.$ac_ext <<_ACEOF
33498 /* end confdefs.h. */
33499 #include <pwd.h>
33500 int
33501 main ()
33502 {
33503
33504 char *p;
33505 struct passwd *pw;
33506 p = pw->pw_gecos;
33507
33508 ;
33509 return 0;
33510 }
33511 _ACEOF
33512 rm -f conftest.$ac_objext
33513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33514 (eval $ac_compile) 2>conftest.er1
33515 ac_status=$?
33516 grep -v '^ *+' conftest.er1 >conftest.err
33517 rm -f conftest.er1
33518 cat conftest.err >&5
33519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33520 (exit $ac_status); } &&
33521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33523 (eval $ac_try) 2>&5
33524 ac_status=$?
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); }; } &&
33527 { ac_try='test -s conftest.$ac_objext'
33528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33529 (eval $ac_try) 2>&5
33530 ac_status=$?
33531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532 (exit $ac_status); }; }; then
33533
33534 wx_cv_struct_pw_gecos=yes
33535
33536 else
33537 echo "$as_me: failed program was:" >&5
33538 sed 's/^/| /' conftest.$ac_ext >&5
33539
33540
33541 wx_cv_struct_pw_gecos=no
33542
33543
33544 fi
33545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33546
33547
33548 fi
33549 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33550 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33551
33552 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33553 cat >>confdefs.h <<\_ACEOF
33554 #define HAVE_PW_GECOS 1
33555 _ACEOF
33556
33557 fi
33558
33559
33560 if test "$wxUSE_WCHAR_T" = "yes"; then
33561 cat >>confdefs.h <<\_ACEOF
33562 #define wxUSE_WCHAR_T 1
33563 _ACEOF
33564
33565
33566 WCSLEN_FOUND=0
33567 WCHAR_LINK=
33568
33569 for ac_func in wcslen
33570 do
33571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33572 echo "$as_me:$LINENO: checking for $ac_func" >&5
33573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33574 if eval "test \"\${$as_ac_var+set}\" = set"; then
33575 echo $ECHO_N "(cached) $ECHO_C" >&6
33576 else
33577 cat >conftest.$ac_ext <<_ACEOF
33578 /* confdefs.h. */
33579 _ACEOF
33580 cat confdefs.h >>conftest.$ac_ext
33581 cat >>conftest.$ac_ext <<_ACEOF
33582 /* end confdefs.h. */
33583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33585 #define $ac_func innocuous_$ac_func
33586
33587 /* System header to define __stub macros and hopefully few prototypes,
33588 which can conflict with char $ac_func (); below.
33589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33590 <limits.h> exists even on freestanding compilers. */
33591
33592 #ifdef __STDC__
33593 # include <limits.h>
33594 #else
33595 # include <assert.h>
33596 #endif
33597
33598 #undef $ac_func
33599
33600 /* Override any gcc2 internal prototype to avoid an error. */
33601 #ifdef __cplusplus
33602 extern "C"
33603 {
33604 #endif
33605 /* We use char because int might match the return type of a gcc2
33606 builtin and then its argument prototype would still apply. */
33607 char $ac_func ();
33608 /* The GNU C library defines this for functions which it implements
33609 to always fail with ENOSYS. Some functions are actually named
33610 something starting with __ and the normal name is an alias. */
33611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33612 choke me
33613 #else
33614 char (*f) () = $ac_func;
33615 #endif
33616 #ifdef __cplusplus
33617 }
33618 #endif
33619
33620 int
33621 main ()
33622 {
33623 return f != $ac_func;
33624 ;
33625 return 0;
33626 }
33627 _ACEOF
33628 rm -f conftest.$ac_objext conftest$ac_exeext
33629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33630 (eval $ac_link) 2>conftest.er1
33631 ac_status=$?
33632 grep -v '^ *+' conftest.er1 >conftest.err
33633 rm -f conftest.er1
33634 cat conftest.err >&5
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); } &&
33637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33639 (eval $ac_try) 2>&5
33640 ac_status=$?
33641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33642 (exit $ac_status); }; } &&
33643 { ac_try='test -s conftest$ac_exeext'
33644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33645 (eval $ac_try) 2>&5
33646 ac_status=$?
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); }; }; then
33649 eval "$as_ac_var=yes"
33650 else
33651 echo "$as_me: failed program was:" >&5
33652 sed 's/^/| /' conftest.$ac_ext >&5
33653
33654 eval "$as_ac_var=no"
33655 fi
33656 rm -f conftest.err conftest.$ac_objext \
33657 conftest$ac_exeext conftest.$ac_ext
33658 fi
33659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33661 if test `eval echo '${'$as_ac_var'}'` = yes; then
33662 cat >>confdefs.h <<_ACEOF
33663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33664 _ACEOF
33665 WCSLEN_FOUND=1
33666 fi
33667 done
33668
33669
33670 if test "$WCSLEN_FOUND" = 0; then
33671 if test "$TOOLKIT" = "MSW"; then
33672 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33673 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33674 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33675 echo $ECHO_N "(cached) $ECHO_C" >&6
33676 else
33677 ac_check_lib_save_LIBS=$LIBS
33678 LIBS="-lmsvcrt $LIBS"
33679 cat >conftest.$ac_ext <<_ACEOF
33680 /* confdefs.h. */
33681 _ACEOF
33682 cat confdefs.h >>conftest.$ac_ext
33683 cat >>conftest.$ac_ext <<_ACEOF
33684 /* end confdefs.h. */
33685
33686 /* Override any gcc2 internal prototype to avoid an error. */
33687 #ifdef __cplusplus
33688 extern "C"
33689 #endif
33690 /* We use char because int might match the return type of a gcc2
33691 builtin and then its argument prototype would still apply. */
33692 char wcslen ();
33693 int
33694 main ()
33695 {
33696 wcslen ();
33697 ;
33698 return 0;
33699 }
33700 _ACEOF
33701 rm -f conftest.$ac_objext conftest$ac_exeext
33702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33703 (eval $ac_link) 2>conftest.er1
33704 ac_status=$?
33705 grep -v '^ *+' conftest.er1 >conftest.err
33706 rm -f conftest.er1
33707 cat conftest.err >&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } &&
33710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33712 (eval $ac_try) 2>&5
33713 ac_status=$?
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); }; } &&
33716 { ac_try='test -s conftest$ac_exeext'
33717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33718 (eval $ac_try) 2>&5
33719 ac_status=$?
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); }; }; then
33722 ac_cv_lib_msvcrt_wcslen=yes
33723 else
33724 echo "$as_me: failed program was:" >&5
33725 sed 's/^/| /' conftest.$ac_ext >&5
33726
33727 ac_cv_lib_msvcrt_wcslen=no
33728 fi
33729 rm -f conftest.err conftest.$ac_objext \
33730 conftest$ac_exeext conftest.$ac_ext
33731 LIBS=$ac_check_lib_save_LIBS
33732 fi
33733 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33734 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33735 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33736 WCHAR_OK=1
33737 fi
33738
33739 else
33740 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33741 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33742 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33743 echo $ECHO_N "(cached) $ECHO_C" >&6
33744 else
33745 ac_check_lib_save_LIBS=$LIBS
33746 LIBS="-lw $LIBS"
33747 cat >conftest.$ac_ext <<_ACEOF
33748 /* confdefs.h. */
33749 _ACEOF
33750 cat confdefs.h >>conftest.$ac_ext
33751 cat >>conftest.$ac_ext <<_ACEOF
33752 /* end confdefs.h. */
33753
33754 /* Override any gcc2 internal prototype to avoid an error. */
33755 #ifdef __cplusplus
33756 extern "C"
33757 #endif
33758 /* We use char because int might match the return type of a gcc2
33759 builtin and then its argument prototype would still apply. */
33760 char wcslen ();
33761 int
33762 main ()
33763 {
33764 wcslen ();
33765 ;
33766 return 0;
33767 }
33768 _ACEOF
33769 rm -f conftest.$ac_objext conftest$ac_exeext
33770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33771 (eval $ac_link) 2>conftest.er1
33772 ac_status=$?
33773 grep -v '^ *+' conftest.er1 >conftest.err
33774 rm -f conftest.er1
33775 cat conftest.err >&5
33776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33777 (exit $ac_status); } &&
33778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33780 (eval $ac_try) 2>&5
33781 ac_status=$?
33782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33783 (exit $ac_status); }; } &&
33784 { ac_try='test -s conftest$ac_exeext'
33785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33786 (eval $ac_try) 2>&5
33787 ac_status=$?
33788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789 (exit $ac_status); }; }; then
33790 ac_cv_lib_w_wcslen=yes
33791 else
33792 echo "$as_me: failed program was:" >&5
33793 sed 's/^/| /' conftest.$ac_ext >&5
33794
33795 ac_cv_lib_w_wcslen=no
33796 fi
33797 rm -f conftest.err conftest.$ac_objext \
33798 conftest$ac_exeext conftest.$ac_ext
33799 LIBS=$ac_check_lib_save_LIBS
33800 fi
33801 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33802 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33803 if test $ac_cv_lib_w_wcslen = yes; then
33804
33805 WCHAR_LINK=" -lw"
33806 WCSLEN_FOUND=1
33807
33808 fi
33809
33810 fi
33811 fi
33812
33813 if test "$WCSLEN_FOUND" = 1; then
33814 cat >>confdefs.h <<\_ACEOF
33815 #define HAVE_WCSLEN 1
33816 _ACEOF
33817
33818 fi
33819
33820
33821 for ac_func in wcsdup
33822 do
33823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33824 echo "$as_me:$LINENO: checking for $ac_func" >&5
33825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33826 if eval "test \"\${$as_ac_var+set}\" = set"; then
33827 echo $ECHO_N "(cached) $ECHO_C" >&6
33828 else
33829 cat >conftest.$ac_ext <<_ACEOF
33830 /* confdefs.h. */
33831 _ACEOF
33832 cat confdefs.h >>conftest.$ac_ext
33833 cat >>conftest.$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33837 #define $ac_func innocuous_$ac_func
33838
33839 /* System header to define __stub macros and hopefully few prototypes,
33840 which can conflict with char $ac_func (); below.
33841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33842 <limits.h> exists even on freestanding compilers. */
33843
33844 #ifdef __STDC__
33845 # include <limits.h>
33846 #else
33847 # include <assert.h>
33848 #endif
33849
33850 #undef $ac_func
33851
33852 /* Override any gcc2 internal prototype to avoid an error. */
33853 #ifdef __cplusplus
33854 extern "C"
33855 {
33856 #endif
33857 /* We use char because int might match the return type of a gcc2
33858 builtin and then its argument prototype would still apply. */
33859 char $ac_func ();
33860 /* The GNU C library defines this for functions which it implements
33861 to always fail with ENOSYS. Some functions are actually named
33862 something starting with __ and the normal name is an alias. */
33863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33864 choke me
33865 #else
33866 char (*f) () = $ac_func;
33867 #endif
33868 #ifdef __cplusplus
33869 }
33870 #endif
33871
33872 int
33873 main ()
33874 {
33875 return f != $ac_func;
33876 ;
33877 return 0;
33878 }
33879 _ACEOF
33880 rm -f conftest.$ac_objext conftest$ac_exeext
33881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33882 (eval $ac_link) 2>conftest.er1
33883 ac_status=$?
33884 grep -v '^ *+' conftest.er1 >conftest.err
33885 rm -f conftest.er1
33886 cat conftest.err >&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); } &&
33889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33891 (eval $ac_try) 2>&5
33892 ac_status=$?
33893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894 (exit $ac_status); }; } &&
33895 { ac_try='test -s conftest$ac_exeext'
33896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33897 (eval $ac_try) 2>&5
33898 ac_status=$?
33899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33900 (exit $ac_status); }; }; then
33901 eval "$as_ac_var=yes"
33902 else
33903 echo "$as_me: failed program was:" >&5
33904 sed 's/^/| /' conftest.$ac_ext >&5
33905
33906 eval "$as_ac_var=no"
33907 fi
33908 rm -f conftest.err conftest.$ac_objext \
33909 conftest$ac_exeext conftest.$ac_ext
33910 fi
33911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33913 if test `eval echo '${'$as_ac_var'}'` = yes; then
33914 cat >>confdefs.h <<_ACEOF
33915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33916 _ACEOF
33917
33918 fi
33919 done
33920
33921
33922 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33923 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33924 fi
33925
33926 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33927 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33928 if test "${ac_cv_type_mbstate_t+set}" = set; then
33929 echo $ECHO_N "(cached) $ECHO_C" >&6
33930 else
33931 cat >conftest.$ac_ext <<_ACEOF
33932 /* confdefs.h. */
33933 _ACEOF
33934 cat confdefs.h >>conftest.$ac_ext
33935 cat >>conftest.$ac_ext <<_ACEOF
33936 /* end confdefs.h. */
33937 #include <wchar.h>
33938
33939 int
33940 main ()
33941 {
33942 if ((mbstate_t *) 0)
33943 return 0;
33944 if (sizeof (mbstate_t))
33945 return 0;
33946 ;
33947 return 0;
33948 }
33949 _ACEOF
33950 rm -f conftest.$ac_objext
33951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33952 (eval $ac_compile) 2>conftest.er1
33953 ac_status=$?
33954 grep -v '^ *+' conftest.er1 >conftest.err
33955 rm -f conftest.er1
33956 cat conftest.err >&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); } &&
33959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33961 (eval $ac_try) 2>&5
33962 ac_status=$?
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; } &&
33965 { ac_try='test -s conftest.$ac_objext'
33966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33967 (eval $ac_try) 2>&5
33968 ac_status=$?
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); }; }; then
33971 ac_cv_type_mbstate_t=yes
33972 else
33973 echo "$as_me: failed program was:" >&5
33974 sed 's/^/| /' conftest.$ac_ext >&5
33975
33976 ac_cv_type_mbstate_t=no
33977 fi
33978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33979 fi
33980 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33981 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33982 if test $ac_cv_type_mbstate_t = yes; then
33983
33984 cat >>confdefs.h <<_ACEOF
33985 #define HAVE_MBSTATE_T 1
33986 _ACEOF
33987
33988
33989 for ac_func in wcsrtombs
33990 do
33991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33992 echo "$as_me:$LINENO: checking for $ac_func" >&5
33993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33994 if eval "test \"\${$as_ac_var+set}\" = set"; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33996 else
33997 cat >conftest.$ac_ext <<_ACEOF
33998 /* confdefs.h. */
33999 _ACEOF
34000 cat confdefs.h >>conftest.$ac_ext
34001 cat >>conftest.$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34005 #define $ac_func innocuous_$ac_func
34006
34007 /* System header to define __stub macros and hopefully few prototypes,
34008 which can conflict with char $ac_func (); below.
34009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34010 <limits.h> exists even on freestanding compilers. */
34011
34012 #ifdef __STDC__
34013 # include <limits.h>
34014 #else
34015 # include <assert.h>
34016 #endif
34017
34018 #undef $ac_func
34019
34020 /* Override any gcc2 internal prototype to avoid an error. */
34021 #ifdef __cplusplus
34022 extern "C"
34023 {
34024 #endif
34025 /* We use char because int might match the return type of a gcc2
34026 builtin and then its argument prototype would still apply. */
34027 char $ac_func ();
34028 /* The GNU C library defines this for functions which it implements
34029 to always fail with ENOSYS. Some functions are actually named
34030 something starting with __ and the normal name is an alias. */
34031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34032 choke me
34033 #else
34034 char (*f) () = $ac_func;
34035 #endif
34036 #ifdef __cplusplus
34037 }
34038 #endif
34039
34040 int
34041 main ()
34042 {
34043 return f != $ac_func;
34044 ;
34045 return 0;
34046 }
34047 _ACEOF
34048 rm -f conftest.$ac_objext conftest$ac_exeext
34049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34050 (eval $ac_link) 2>conftest.er1
34051 ac_status=$?
34052 grep -v '^ *+' conftest.er1 >conftest.err
34053 rm -f conftest.er1
34054 cat conftest.err >&5
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); } &&
34057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34059 (eval $ac_try) 2>&5
34060 ac_status=$?
34061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34062 (exit $ac_status); }; } &&
34063 { ac_try='test -s conftest$ac_exeext'
34064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34065 (eval $ac_try) 2>&5
34066 ac_status=$?
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); }; }; then
34069 eval "$as_ac_var=yes"
34070 else
34071 echo "$as_me: failed program was:" >&5
34072 sed 's/^/| /' conftest.$ac_ext >&5
34073
34074 eval "$as_ac_var=no"
34075 fi
34076 rm -f conftest.err conftest.$ac_objext \
34077 conftest$ac_exeext conftest.$ac_ext
34078 fi
34079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34081 if test `eval echo '${'$as_ac_var'}'` = yes; then
34082 cat >>confdefs.h <<_ACEOF
34083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34084 _ACEOF
34085
34086 fi
34087 done
34088
34089 fi
34090
34091 else
34092 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34093 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34094 fi
34095
34096
34097
34098 for ac_func in snprintf vsnprintf
34099 do
34100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34101 echo "$as_me:$LINENO: checking for $ac_func" >&5
34102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34103 if eval "test \"\${$as_ac_var+set}\" = set"; then
34104 echo $ECHO_N "(cached) $ECHO_C" >&6
34105 else
34106 cat >conftest.$ac_ext <<_ACEOF
34107 /* confdefs.h. */
34108 _ACEOF
34109 cat confdefs.h >>conftest.$ac_ext
34110 cat >>conftest.$ac_ext <<_ACEOF
34111 /* end confdefs.h. */
34112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34114 #define $ac_func innocuous_$ac_func
34115
34116 /* System header to define __stub macros and hopefully few prototypes,
34117 which can conflict with char $ac_func (); below.
34118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34119 <limits.h> exists even on freestanding compilers. */
34120
34121 #ifdef __STDC__
34122 # include <limits.h>
34123 #else
34124 # include <assert.h>
34125 #endif
34126
34127 #undef $ac_func
34128
34129 /* Override any gcc2 internal prototype to avoid an error. */
34130 #ifdef __cplusplus
34131 extern "C"
34132 {
34133 #endif
34134 /* We use char because int might match the return type of a gcc2
34135 builtin and then its argument prototype would still apply. */
34136 char $ac_func ();
34137 /* The GNU C library defines this for functions which it implements
34138 to always fail with ENOSYS. Some functions are actually named
34139 something starting with __ and the normal name is an alias. */
34140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34141 choke me
34142 #else
34143 char (*f) () = $ac_func;
34144 #endif
34145 #ifdef __cplusplus
34146 }
34147 #endif
34148
34149 int
34150 main ()
34151 {
34152 return f != $ac_func;
34153 ;
34154 return 0;
34155 }
34156 _ACEOF
34157 rm -f conftest.$ac_objext conftest$ac_exeext
34158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34159 (eval $ac_link) 2>conftest.er1
34160 ac_status=$?
34161 grep -v '^ *+' conftest.er1 >conftest.err
34162 rm -f conftest.er1
34163 cat conftest.err >&5
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); } &&
34166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34168 (eval $ac_try) 2>&5
34169 ac_status=$?
34170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34171 (exit $ac_status); }; } &&
34172 { ac_try='test -s conftest$ac_exeext'
34173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34174 (eval $ac_try) 2>&5
34175 ac_status=$?
34176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34177 (exit $ac_status); }; }; then
34178 eval "$as_ac_var=yes"
34179 else
34180 echo "$as_me: failed program was:" >&5
34181 sed 's/^/| /' conftest.$ac_ext >&5
34182
34183 eval "$as_ac_var=no"
34184 fi
34185 rm -f conftest.err conftest.$ac_objext \
34186 conftest$ac_exeext conftest.$ac_ext
34187 fi
34188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34190 if test `eval echo '${'$as_ac_var'}'` = yes; then
34191 cat >>confdefs.h <<_ACEOF
34192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34193 _ACEOF
34194
34195 fi
34196 done
34197
34198
34199 if test "$ac_cv_func_vsnprintf" = "yes"; then
34200 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34201 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34202 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34203 echo $ECHO_N "(cached) $ECHO_C" >&6
34204 else
34205
34206 cat >conftest.$ac_ext <<_ACEOF
34207 /* confdefs.h. */
34208 _ACEOF
34209 cat confdefs.h >>conftest.$ac_ext
34210 cat >>conftest.$ac_ext <<_ACEOF
34211 /* end confdefs.h. */
34212
34213 #include <stdio.h>
34214 #include <stdarg.h>
34215 #ifdef __MSL__
34216 #if __MSL__ >= 0x6000
34217 namespace std {}
34218 using namespace std;
34219 #endif
34220 #endif
34221
34222 int
34223 main ()
34224 {
34225
34226 char *buf;
34227 va_list ap;
34228 vsnprintf(buf, 10u, "%s", ap);
34229
34230 ;
34231 return 0;
34232 }
34233 _ACEOF
34234 rm -f conftest.$ac_objext
34235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34236 (eval $ac_compile) 2>conftest.er1
34237 ac_status=$?
34238 grep -v '^ *+' conftest.er1 >conftest.err
34239 rm -f conftest.er1
34240 cat conftest.err >&5
34241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34242 (exit $ac_status); } &&
34243 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34245 (eval $ac_try) 2>&5
34246 ac_status=$?
34247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34248 (exit $ac_status); }; } &&
34249 { ac_try='test -s conftest.$ac_objext'
34250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34251 (eval $ac_try) 2>&5
34252 ac_status=$?
34253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34254 (exit $ac_status); }; }; then
34255 wx_cv_func_vsnprintf_decl=yes
34256 else
34257 echo "$as_me: failed program was:" >&5
34258 sed 's/^/| /' conftest.$ac_ext >&5
34259
34260 wx_cv_func_vsnprintf_decl=no
34261
34262 fi
34263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34264
34265
34266 fi
34267 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34268 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34269
34270 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34271 cat >>confdefs.h <<\_ACEOF
34272 #define HAVE_VSNPRINTF_DECL 1
34273 _ACEOF
34274
34275
34276 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34277 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34278 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34279 echo $ECHO_N "(cached) $ECHO_C" >&6
34280 else
34281
34282 cat >conftest.$ac_ext <<_ACEOF
34283 /* confdefs.h. */
34284 _ACEOF
34285 cat confdefs.h >>conftest.$ac_ext
34286 cat >>conftest.$ac_ext <<_ACEOF
34287 /* end confdefs.h. */
34288
34289 #include <stdio.h>
34290 #include <stdarg.h>
34291 #ifdef __MSL__
34292 #if __MSL__ >= 0x6000
34293 namespace std {}
34294 using namespace std;
34295 #endif
34296 #endif
34297
34298 int
34299 main ()
34300 {
34301
34302 char *buf;
34303 va_list ap;
34304 const char *fmt = "%s";
34305 vsnprintf(buf, 10u, fmt, ap);
34306
34307 ;
34308 return 0;
34309 }
34310 _ACEOF
34311 rm -f conftest.$ac_objext
34312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34313 (eval $ac_compile) 2>conftest.er1
34314 ac_status=$?
34315 grep -v '^ *+' conftest.er1 >conftest.err
34316 rm -f conftest.er1
34317 cat conftest.err >&5
34318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34319 (exit $ac_status); } &&
34320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34322 (eval $ac_try) 2>&5
34323 ac_status=$?
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); }; } &&
34326 { ac_try='test -s conftest.$ac_objext'
34327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34328 (eval $ac_try) 2>&5
34329 ac_status=$?
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); }; }; then
34332 wx_cv_func_broken_vsnprintf_decl=no
34333 else
34334 echo "$as_me: failed program was:" >&5
34335 sed 's/^/| /' conftest.$ac_ext >&5
34336
34337 wx_cv_func_broken_vsnprintf_decl=yes
34338
34339 fi
34340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34341
34342
34343 fi
34344 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34345 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34346
34347 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34348 cat >>confdefs.h <<\_ACEOF
34349 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34350 _ACEOF
34351
34352 fi
34353 fi
34354 fi
34355
34356 if test "$ac_cv_func_snprintf" = "yes"; then
34357 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34358 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34359 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34360 echo $ECHO_N "(cached) $ECHO_C" >&6
34361 else
34362
34363 cat >conftest.$ac_ext <<_ACEOF
34364 /* confdefs.h. */
34365 _ACEOF
34366 cat confdefs.h >>conftest.$ac_ext
34367 cat >>conftest.$ac_ext <<_ACEOF
34368 /* end confdefs.h. */
34369
34370 #include <stdio.h>
34371 #include <stdarg.h>
34372 #ifdef __MSL__
34373 #if __MSL__ >= 0x6000
34374 namespace std {}
34375 using namespace std;
34376 #endif
34377 #endif
34378
34379 int
34380 main ()
34381 {
34382
34383 char *buf;
34384 snprintf(buf, 10u, "%s", "wx");
34385
34386 ;
34387 return 0;
34388 }
34389 _ACEOF
34390 rm -f conftest.$ac_objext
34391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34392 (eval $ac_compile) 2>conftest.er1
34393 ac_status=$?
34394 grep -v '^ *+' conftest.er1 >conftest.err
34395 rm -f conftest.er1
34396 cat conftest.err >&5
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); } &&
34399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34401 (eval $ac_try) 2>&5
34402 ac_status=$?
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); }; } &&
34405 { ac_try='test -s conftest.$ac_objext'
34406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407 (eval $ac_try) 2>&5
34408 ac_status=$?
34409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410 (exit $ac_status); }; }; then
34411 wx_cv_func_snprintf_decl=yes
34412 else
34413 echo "$as_me: failed program was:" >&5
34414 sed 's/^/| /' conftest.$ac_ext >&5
34415
34416 wx_cv_func_snprintf_decl=no
34417
34418 fi
34419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34420
34421
34422 fi
34423 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34424 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34425
34426 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34427 cat >>confdefs.h <<\_ACEOF
34428 #define HAVE_SNPRINTF_DECL 1
34429 _ACEOF
34430
34431
34432 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34433 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34434 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34435 echo $ECHO_N "(cached) $ECHO_C" >&6
34436 else
34437
34438 cat >conftest.$ac_ext <<_ACEOF
34439 /* confdefs.h. */
34440 _ACEOF
34441 cat confdefs.h >>conftest.$ac_ext
34442 cat >>conftest.$ac_ext <<_ACEOF
34443 /* end confdefs.h. */
34444
34445 #include <stdio.h>
34446 #include <stdarg.h>
34447 #ifdef __MSL__
34448 #if __MSL__ >= 0x6000
34449 namespace std {}
34450 using namespace std;
34451 #endif
34452 #endif
34453
34454 int
34455 main ()
34456 {
34457
34458 char *buf;
34459 const char *fmt = "%s";
34460 snprintf(buf, 10u, fmt, "wx");
34461
34462 ;
34463 return 0;
34464 }
34465 _ACEOF
34466 rm -f conftest.$ac_objext
34467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34468 (eval $ac_compile) 2>conftest.er1
34469 ac_status=$?
34470 grep -v '^ *+' conftest.er1 >conftest.err
34471 rm -f conftest.er1
34472 cat conftest.err >&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } &&
34475 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34477 (eval $ac_try) 2>&5
34478 ac_status=$?
34479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34480 (exit $ac_status); }; } &&
34481 { ac_try='test -s conftest.$ac_objext'
34482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34483 (eval $ac_try) 2>&5
34484 ac_status=$?
34485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34486 (exit $ac_status); }; }; then
34487 wx_cv_func_broken_snprintf_decl=no
34488 else
34489 echo "$as_me: failed program was:" >&5
34490 sed 's/^/| /' conftest.$ac_ext >&5
34491
34492 wx_cv_func_broken_snprintf_decl=yes
34493
34494 fi
34495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34496
34497
34498 fi
34499 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34500 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34501
34502 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34503 cat >>confdefs.h <<\_ACEOF
34504 #define HAVE_BROKEN_SNPRINTF_DECL 1
34505 _ACEOF
34506
34507 fi
34508 fi
34509
34510 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34511
34512 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34513 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
34514 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34515 echo $ECHO_N "(cached) $ECHO_C" >&6
34516 else
34517
34518 if test "$cross_compiling" = yes; then
34519
34520 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34521 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34522 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34523 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34524 wx_cv_func_snprintf_pos_params=no
34525
34526
34527 else
34528 cat >conftest.$ac_ext <<_ACEOF
34529 /* confdefs.h. */
34530 _ACEOF
34531 cat confdefs.h >>conftest.$ac_ext
34532 cat >>conftest.$ac_ext <<_ACEOF
34533 /* end confdefs.h. */
34534
34535 #include <stdio.h>
34536
34537 int main (void)
34538 {
34539 char buffer[128];
34540 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34541 if (strcmp ("2 3 1", buffer) == 0)
34542 exit (0);
34543 exit (1);
34544 }
34545
34546 _ACEOF
34547 rm -f conftest$ac_exeext
34548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34549 (eval $ac_link) 2>&5
34550 ac_status=$?
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34554 (eval $ac_try) 2>&5
34555 ac_status=$?
34556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34557 (exit $ac_status); }; }; then
34558 wx_cv_func_snprintf_pos_params=no
34559 else
34560 echo "$as_me: program exited with status $ac_status" >&5
34561 echo "$as_me: failed program was:" >&5
34562 sed 's/^/| /' conftest.$ac_ext >&5
34563
34564 ( exit $ac_status )
34565 wx_cv_func_snprintf_pos_params=yes
34566 fi
34567 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34568 fi
34569
34570
34571 fi
34572 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34573 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34574
34575 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34576 cat >>confdefs.h <<\_ACEOF
34577 #define HAVE_UNIX98_PRINTF 1
34578 _ACEOF
34579
34580 fi
34581 fi
34582 fi
34583
34584 if test "$wxUSE_UNICODE" = yes; then
34585
34586
34587 for ac_func in swprintf
34588 do
34589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34590 echo "$as_me:$LINENO: checking for $ac_func" >&5
34591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34592 if eval "test \"\${$as_ac_var+set}\" = set"; then
34593 echo $ECHO_N "(cached) $ECHO_C" >&6
34594 else
34595 cat >conftest.$ac_ext <<_ACEOF
34596 /* confdefs.h. */
34597 _ACEOF
34598 cat confdefs.h >>conftest.$ac_ext
34599 cat >>conftest.$ac_ext <<_ACEOF
34600 /* end confdefs.h. */
34601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34603 #define $ac_func innocuous_$ac_func
34604
34605 /* System header to define __stub macros and hopefully few prototypes,
34606 which can conflict with char $ac_func (); below.
34607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34608 <limits.h> exists even on freestanding compilers. */
34609
34610 #ifdef __STDC__
34611 # include <limits.h>
34612 #else
34613 # include <assert.h>
34614 #endif
34615
34616 #undef $ac_func
34617
34618 /* Override any gcc2 internal prototype to avoid an error. */
34619 #ifdef __cplusplus
34620 extern "C"
34621 {
34622 #endif
34623 /* We use char because int might match the return type of a gcc2
34624 builtin and then its argument prototype would still apply. */
34625 char $ac_func ();
34626 /* The GNU C library defines this for functions which it implements
34627 to always fail with ENOSYS. Some functions are actually named
34628 something starting with __ and the normal name is an alias. */
34629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34630 choke me
34631 #else
34632 char (*f) () = $ac_func;
34633 #endif
34634 #ifdef __cplusplus
34635 }
34636 #endif
34637
34638 int
34639 main ()
34640 {
34641 return f != $ac_func;
34642 ;
34643 return 0;
34644 }
34645 _ACEOF
34646 rm -f conftest.$ac_objext conftest$ac_exeext
34647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34648 (eval $ac_link) 2>conftest.er1
34649 ac_status=$?
34650 grep -v '^ *+' conftest.er1 >conftest.err
34651 rm -f conftest.er1
34652 cat conftest.err >&5
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); } &&
34655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34657 (eval $ac_try) 2>&5
34658 ac_status=$?
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); }; } &&
34661 { ac_try='test -s conftest$ac_exeext'
34662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34663 (eval $ac_try) 2>&5
34664 ac_status=$?
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); }; }; then
34667 eval "$as_ac_var=yes"
34668 else
34669 echo "$as_me: failed program was:" >&5
34670 sed 's/^/| /' conftest.$ac_ext >&5
34671
34672 eval "$as_ac_var=no"
34673 fi
34674 rm -f conftest.err conftest.$ac_objext \
34675 conftest$ac_exeext conftest.$ac_ext
34676 fi
34677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34679 if test `eval echo '${'$as_ac_var'}'` = yes; then
34680 cat >>confdefs.h <<_ACEOF
34681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34682 _ACEOF
34683
34684 fi
34685 done
34686
34687
34688 if test "$ac_cv_func_swprintf" = "yes"; then
34689 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34690 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
34691 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34692 echo $ECHO_N "(cached) $ECHO_C" >&6
34693 else
34694
34695 cat >conftest.$ac_ext <<_ACEOF
34696 /* confdefs.h. */
34697 _ACEOF
34698 cat confdefs.h >>conftest.$ac_ext
34699 cat >>conftest.$ac_ext <<_ACEOF
34700 /* end confdefs.h. */
34701
34702 #include <stdio.h>
34703 #include <stdarg.h>
34704 #include <wchar.h>
34705
34706 int
34707 main ()
34708 {
34709
34710 wchar_t *buf;
34711 const wchar_t *fmt = L"test";
34712 swprintf(buf, 10u, fmt);
34713
34714 ;
34715 return 0;
34716 }
34717 _ACEOF
34718 rm -f conftest.$ac_objext
34719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34720 (eval $ac_compile) 2>conftest.er1
34721 ac_status=$?
34722 grep -v '^ *+' conftest.er1 >conftest.err
34723 rm -f conftest.er1
34724 cat conftest.err >&5
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); } &&
34727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34729 (eval $ac_try) 2>&5
34730 ac_status=$?
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); }; } &&
34733 { ac_try='test -s conftest.$ac_objext'
34734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34735 (eval $ac_try) 2>&5
34736 ac_status=$?
34737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34738 (exit $ac_status); }; }; then
34739 wx_cv_func_broken_swprintf_decl=no
34740 else
34741 echo "$as_me: failed program was:" >&5
34742 sed 's/^/| /' conftest.$ac_ext >&5
34743
34744 wx_cv_func_broken_swprintf_decl=yes
34745
34746 fi
34747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34748
34749
34750 fi
34751 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34752 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
34753
34754 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34755 cat >>confdefs.h <<\_ACEOF
34756 #define HAVE_BROKEN_SWPRINTF_DECL 1
34757 _ACEOF
34758
34759 fi
34760 fi
34761
34762 wchar_headers="#include <stdio.h>
34763 #include <wchar.h>"
34764 case "${host}" in
34765 *-*-solaris2* )
34766 echo "$as_me:$LINENO: checking for widec.h" >&5
34767 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6
34768 if test "${ac_cv_header_widec_h+set}" = set; then
34769 echo $ECHO_N "(cached) $ECHO_C" >&6
34770 else
34771 cat >conftest.$ac_ext <<_ACEOF
34772 /* confdefs.h. */
34773 _ACEOF
34774 cat confdefs.h >>conftest.$ac_ext
34775 cat >>conftest.$ac_ext <<_ACEOF
34776 /* end confdefs.h. */
34777 $ac_includes_default
34778
34779 #include <widec.h>
34780 _ACEOF
34781 rm -f conftest.$ac_objext
34782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34783 (eval $ac_compile) 2>conftest.er1
34784 ac_status=$?
34785 grep -v '^ *+' conftest.er1 >conftest.err
34786 rm -f conftest.er1
34787 cat conftest.err >&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); } &&
34790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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='test -s conftest.$ac_objext'
34797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798 (eval $ac_try) 2>&5
34799 ac_status=$?
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); }; }; then
34802 ac_cv_header_widec_h=yes
34803 else
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34806
34807 ac_cv_header_widec_h=no
34808 fi
34809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34810 fi
34811 echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34812 echo "${ECHO_T}$ac_cv_header_widec_h" >&6
34813
34814
34815 if test "$ac_cv_header_widec_h" = "yes"; then
34816 wchar_headers="$wchar_headers
34817 #include <widec.h>"
34818 fi
34819 esac
34820
34821
34822 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34823 do
34824 echo "$as_me:$LINENO: checking for $wx_func" >&5
34825 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34826 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34828 else
34829
34830 cat >conftest.$ac_ext <<_ACEOF
34831
34832 /* confdefs.h. */
34833 _ACEOF
34834 cat confdefs.h >>conftest.$ac_ext
34835 cat >>conftest.$ac_ext <<_ACEOF
34836 /* end confdefs.h. */
34837
34838 $wchar_headers
34839 $ac_includes_default
34840
34841 int
34842 main ()
34843 {
34844
34845 #ifndef $wx_func
34846 &$wx_func;
34847 #endif
34848
34849
34850 ;
34851 return 0;
34852 }
34853
34854 _ACEOF
34855 rm -f conftest.$ac_objext conftest$ac_exeext
34856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34857 (eval $ac_link) 2>conftest.er1
34858 ac_status=$?
34859 grep -v '^ *+' conftest.er1 >conftest.err
34860 rm -f conftest.er1
34861 cat conftest.err >&5
34862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34863 (exit $ac_status); } &&
34864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866 (eval $ac_try) 2>&5
34867 ac_status=$?
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; } &&
34870 { ac_try='test -s conftest$ac_exeext'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34873 ac_status=$?
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; }; then
34876 eval wx_cv_func_$wx_func=yes
34877 else
34878 echo "$as_me: failed program was:" >&5
34879 sed 's/^/| /' conftest.$ac_ext >&5
34880
34881 eval wx_cv_func_$wx_func=no
34882 fi
34883 rm -f conftest.err conftest.$ac_objext \
34884 conftest$ac_exeext conftest.$ac_ext
34885
34886 fi
34887 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
34888 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
34889
34890 if eval test \$wx_cv_func_$wx_func = yes
34891 then
34892 cat >>confdefs.h <<_ACEOF
34893 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34894 _ACEOF
34895
34896
34897 else
34898 :
34899
34900 fi
34901 done
34902
34903
34904 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34905 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34906 cat >conftest.$ac_ext <<_ACEOF
34907 /* confdefs.h. */
34908 _ACEOF
34909 cat confdefs.h >>conftest.$ac_ext
34910 cat >>conftest.$ac_ext <<_ACEOF
34911 /* end confdefs.h. */
34912 #include <wchar.h>
34913 int
34914 main ()
34915 {
34916 &_vsnwprintf;
34917 ;
34918 return 0;
34919 }
34920 _ACEOF
34921 rm -f conftest.$ac_objext
34922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34923 (eval $ac_compile) 2>conftest.er1
34924 ac_status=$?
34925 grep -v '^ *+' conftest.er1 >conftest.err
34926 rm -f conftest.er1
34927 cat conftest.err >&5
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); } &&
34930 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34932 (eval $ac_try) 2>&5
34933 ac_status=$?
34934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34935 (exit $ac_status); }; } &&
34936 { ac_try='test -s conftest.$ac_objext'
34937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34938 (eval $ac_try) 2>&5
34939 ac_status=$?
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); }; }; then
34942 echo "$as_me:$LINENO: result: yes" >&5
34943 echo "${ECHO_T}yes" >&6
34944 cat >>confdefs.h <<\_ACEOF
34945 #define HAVE__VSNWPRINTF 1
34946 _ACEOF
34947
34948 else
34949 echo "$as_me: failed program was:" >&5
34950 sed 's/^/| /' conftest.$ac_ext >&5
34951
34952 echo "$as_me:$LINENO: result: no" >&5
34953 echo "${ECHO_T}no" >&6
34954 fi
34955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
34956 fi
34957
34958 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34959
34960 for wx_func in fnmatch
34961 do
34962 echo "$as_me:$LINENO: checking for $wx_func" >&5
34963 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
34964 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 else
34967
34968 cat >conftest.$ac_ext <<_ACEOF
34969
34970 /* confdefs.h. */
34971 _ACEOF
34972 cat confdefs.h >>conftest.$ac_ext
34973 cat >>conftest.$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34975
34976 #include <fnmatch.h>
34977 $ac_includes_default
34978
34979 int
34980 main ()
34981 {
34982
34983 #ifndef $wx_func
34984 &$wx_func;
34985 #endif
34986
34987
34988 ;
34989 return 0;
34990 }
34991
34992 _ACEOF
34993 rm -f conftest.$ac_objext conftest$ac_exeext
34994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34995 (eval $ac_link) 2>conftest.er1
34996 ac_status=$?
34997 grep -v '^ *+' conftest.er1 >conftest.err
34998 rm -f conftest.er1
34999 cat conftest.err >&5
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); } &&
35002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35004 (eval $ac_try) 2>&5
35005 ac_status=$?
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); }; } &&
35008 { ac_try='test -s conftest$ac_exeext'
35009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35010 (eval $ac_try) 2>&5
35011 ac_status=$?
35012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013 (exit $ac_status); }; }; then
35014 eval wx_cv_func_$wx_func=yes
35015 else
35016 echo "$as_me: failed program was:" >&5
35017 sed 's/^/| /' conftest.$ac_ext >&5
35018
35019 eval wx_cv_func_$wx_func=no
35020 fi
35021 rm -f conftest.err conftest.$ac_objext \
35022 conftest$ac_exeext conftest.$ac_ext
35023
35024 fi
35025 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35026 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35027
35028 if eval test \$wx_cv_func_$wx_func = yes
35029 then
35030 cat >>confdefs.h <<_ACEOF
35031 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35032 _ACEOF
35033
35034
35035 else
35036 :
35037
35038 fi
35039 done
35040
35041 fi
35042
35043 if test "$wxUSE_FILE" = "yes"; then
35044
35045 for wx_func in fsync
35046 do
35047 echo "$as_me:$LINENO: checking for $wx_func" >&5
35048 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35049 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35050 echo $ECHO_N "(cached) $ECHO_C" >&6
35051 else
35052
35053 cat >conftest.$ac_ext <<_ACEOF
35054
35055 /* confdefs.h. */
35056 _ACEOF
35057 cat confdefs.h >>conftest.$ac_ext
35058 cat >>conftest.$ac_ext <<_ACEOF
35059 /* end confdefs.h. */
35060
35061
35062 $ac_includes_default
35063
35064 int
35065 main ()
35066 {
35067
35068 #ifndef $wx_func
35069 &$wx_func;
35070 #endif
35071
35072
35073 ;
35074 return 0;
35075 }
35076
35077 _ACEOF
35078 rm -f conftest.$ac_objext conftest$ac_exeext
35079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35080 (eval $ac_link) 2>conftest.er1
35081 ac_status=$?
35082 grep -v '^ *+' conftest.er1 >conftest.err
35083 rm -f conftest.er1
35084 cat conftest.err >&5
35085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35086 (exit $ac_status); } &&
35087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35089 (eval $ac_try) 2>&5
35090 ac_status=$?
35091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35092 (exit $ac_status); }; } &&
35093 { ac_try='test -s conftest$ac_exeext'
35094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35095 (eval $ac_try) 2>&5
35096 ac_status=$?
35097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35098 (exit $ac_status); }; }; then
35099 eval wx_cv_func_$wx_func=yes
35100 else
35101 echo "$as_me: failed program was:" >&5
35102 sed 's/^/| /' conftest.$ac_ext >&5
35103
35104 eval wx_cv_func_$wx_func=no
35105 fi
35106 rm -f conftest.err conftest.$ac_objext \
35107 conftest$ac_exeext conftest.$ac_ext
35108
35109 fi
35110 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35111 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35112
35113 if eval test \$wx_cv_func_$wx_func = yes
35114 then
35115 cat >>confdefs.h <<_ACEOF
35116 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35117 _ACEOF
35118
35119
35120 else
35121 :
35122
35123 fi
35124 done
35125
35126 fi
35127
35128 ac_ext=cc
35129 ac_cpp='$CXXCPP $CPPFLAGS'
35130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35133
35134
35135 for wx_func in round
35136 do
35137 echo "$as_me:$LINENO: checking for $wx_func" >&5
35138 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
35139 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
35140 echo $ECHO_N "(cached) $ECHO_C" >&6
35141 else
35142
35143 cat >conftest.$ac_ext <<_ACEOF
35144
35145 /* confdefs.h. */
35146 _ACEOF
35147 cat confdefs.h >>conftest.$ac_ext
35148 cat >>conftest.$ac_ext <<_ACEOF
35149 /* end confdefs.h. */
35150
35151 #include <math.h>
35152 $ac_includes_default
35153
35154 int
35155 main ()
35156 {
35157
35158 #ifndef $wx_func
35159 &$wx_func;
35160 #endif
35161
35162
35163 ;
35164 return 0;
35165 }
35166
35167 _ACEOF
35168 rm -f conftest.$ac_objext conftest$ac_exeext
35169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35170 (eval $ac_link) 2>conftest.er1
35171 ac_status=$?
35172 grep -v '^ *+' conftest.er1 >conftest.err
35173 rm -f conftest.er1
35174 cat conftest.err >&5
35175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35176 (exit $ac_status); } &&
35177 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35179 (eval $ac_try) 2>&5
35180 ac_status=$?
35181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35182 (exit $ac_status); }; } &&
35183 { ac_try='test -s conftest$ac_exeext'
35184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35185 (eval $ac_try) 2>&5
35186 ac_status=$?
35187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35188 (exit $ac_status); }; }; then
35189 eval wx_cv_func_$wx_func=yes
35190 else
35191 echo "$as_me: failed program was:" >&5
35192 sed 's/^/| /' conftest.$ac_ext >&5
35193
35194 eval wx_cv_func_$wx_func=no
35195 fi
35196 rm -f conftest.err conftest.$ac_objext \
35197 conftest$ac_exeext conftest.$ac_ext
35198
35199 fi
35200 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
35201 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
35202
35203 if eval test \$wx_cv_func_$wx_func = yes
35204 then
35205 cat >>confdefs.h <<_ACEOF
35206 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35207 _ACEOF
35208
35209
35210 else
35211 :
35212
35213 fi
35214 done
35215
35216 ac_ext=c
35217 ac_cpp='$CPP $CPPFLAGS'
35218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35221
35222
35223 if test "$TOOLKIT" != "MSW"; then
35224
35225
35226
35227
35228
35229 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35230 if test "${with_libiconv_prefix+set}" = set; then
35231 withval="$with_libiconv_prefix"
35232
35233 for dir in `echo "$withval" | tr : ' '`; do
35234 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35235 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35236 done
35237
35238 fi;
35239
35240 echo "$as_me:$LINENO: checking for iconv" >&5
35241 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35242 if test "${am_cv_func_iconv+set}" = set; then
35243 echo $ECHO_N "(cached) $ECHO_C" >&6
35244 else
35245
35246 am_cv_func_iconv="no, consider installing GNU libiconv"
35247 am_cv_lib_iconv=no
35248 cat >conftest.$ac_ext <<_ACEOF
35249 /* confdefs.h. */
35250 _ACEOF
35251 cat confdefs.h >>conftest.$ac_ext
35252 cat >>conftest.$ac_ext <<_ACEOF
35253 /* end confdefs.h. */
35254 #include <stdlib.h>
35255 #include <iconv.h>
35256 int
35257 main ()
35258 {
35259 iconv_t cd = iconv_open("","");
35260 iconv(cd,NULL,NULL,NULL,NULL);
35261 iconv_close(cd);
35262 ;
35263 return 0;
35264 }
35265 _ACEOF
35266 rm -f conftest.$ac_objext conftest$ac_exeext
35267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35268 (eval $ac_link) 2>conftest.er1
35269 ac_status=$?
35270 grep -v '^ *+' conftest.er1 >conftest.err
35271 rm -f conftest.er1
35272 cat conftest.err >&5
35273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35274 (exit $ac_status); } &&
35275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35277 (eval $ac_try) 2>&5
35278 ac_status=$?
35279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280 (exit $ac_status); }; } &&
35281 { ac_try='test -s conftest$ac_exeext'
35282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35283 (eval $ac_try) 2>&5
35284 ac_status=$?
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); }; }; then
35287 am_cv_func_iconv=yes
35288 else
35289 echo "$as_me: failed program was:" >&5
35290 sed 's/^/| /' conftest.$ac_ext >&5
35291
35292 fi
35293 rm -f conftest.err conftest.$ac_objext \
35294 conftest$ac_exeext conftest.$ac_ext
35295 if test "$am_cv_func_iconv" != yes; then
35296 am_save_LIBS="$LIBS"
35297 LIBS="$LIBS -liconv"
35298 cat >conftest.$ac_ext <<_ACEOF
35299 /* confdefs.h. */
35300 _ACEOF
35301 cat confdefs.h >>conftest.$ac_ext
35302 cat >>conftest.$ac_ext <<_ACEOF
35303 /* end confdefs.h. */
35304 #include <stdlib.h>
35305 #include <iconv.h>
35306 int
35307 main ()
35308 {
35309 iconv_t cd = iconv_open("","");
35310 iconv(cd,NULL,NULL,NULL,NULL);
35311 iconv_close(cd);
35312 ;
35313 return 0;
35314 }
35315 _ACEOF
35316 rm -f conftest.$ac_objext conftest$ac_exeext
35317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35318 (eval $ac_link) 2>conftest.er1
35319 ac_status=$?
35320 grep -v '^ *+' conftest.er1 >conftest.err
35321 rm -f conftest.er1
35322 cat conftest.err >&5
35323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35324 (exit $ac_status); } &&
35325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35327 (eval $ac_try) 2>&5
35328 ac_status=$?
35329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35330 (exit $ac_status); }; } &&
35331 { ac_try='test -s conftest$ac_exeext'
35332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35333 (eval $ac_try) 2>&5
35334 ac_status=$?
35335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35336 (exit $ac_status); }; }; then
35337 am_cv_lib_iconv=yes
35338 am_cv_func_iconv=yes
35339 else
35340 echo "$as_me: failed program was:" >&5
35341 sed 's/^/| /' conftest.$ac_ext >&5
35342
35343 fi
35344 rm -f conftest.err conftest.$ac_objext \
35345 conftest$ac_exeext conftest.$ac_ext
35346 LIBS="$am_save_LIBS"
35347 fi
35348
35349 fi
35350 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35351 echo "${ECHO_T}$am_cv_func_iconv" >&6
35352 if test "$am_cv_func_iconv" = yes; then
35353
35354 cat >>confdefs.h <<\_ACEOF
35355 #define HAVE_ICONV 1
35356 _ACEOF
35357
35358 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35359 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35360 if test "${wx_cv_func_iconv_const+set}" = set; then
35361 echo $ECHO_N "(cached) $ECHO_C" >&6
35362 else
35363 cat >conftest.$ac_ext <<_ACEOF
35364 /* confdefs.h. */
35365 _ACEOF
35366 cat confdefs.h >>conftest.$ac_ext
35367 cat >>conftest.$ac_ext <<_ACEOF
35368 /* end confdefs.h. */
35369
35370 #include <stdlib.h>
35371 #include <iconv.h>
35372 extern
35373 #ifdef __cplusplus
35374 "C"
35375 #endif
35376 #if defined(__STDC__) || defined(__cplusplus)
35377 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35378 #else
35379 size_t iconv();
35380 #endif
35381
35382 int
35383 main ()
35384 {
35385
35386 ;
35387 return 0;
35388 }
35389 _ACEOF
35390 rm -f conftest.$ac_objext
35391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35392 (eval $ac_compile) 2>conftest.er1
35393 ac_status=$?
35394 grep -v '^ *+' conftest.er1 >conftest.err
35395 rm -f conftest.er1
35396 cat conftest.err >&5
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); } &&
35399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35401 (eval $ac_try) 2>&5
35402 ac_status=$?
35403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35404 (exit $ac_status); }; } &&
35405 { ac_try='test -s conftest.$ac_objext'
35406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35407 (eval $ac_try) 2>&5
35408 ac_status=$?
35409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35410 (exit $ac_status); }; }; then
35411 wx_cv_func_iconv_const="no"
35412 else
35413 echo "$as_me: failed program was:" >&5
35414 sed 's/^/| /' conftest.$ac_ext >&5
35415
35416 wx_cv_func_iconv_const="yes"
35417
35418 fi
35419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35420
35421 fi
35422 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35423 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
35424
35425 iconv_const=
35426 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35427 iconv_const="const"
35428 fi
35429
35430
35431 cat >>confdefs.h <<_ACEOF
35432 #define ICONV_CONST $iconv_const
35433 _ACEOF
35434
35435 fi
35436 LIBICONV=
35437 if test "$am_cv_lib_iconv" = yes; then
35438 LIBICONV="-liconv"
35439 fi
35440
35441
35442 LIBS="$LIBICONV $LIBS"
35443
35444 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35445
35446 for ac_func in sigaction
35447 do
35448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35449 echo "$as_me:$LINENO: checking for $ac_func" >&5
35450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35451 if eval "test \"\${$as_ac_var+set}\" = set"; then
35452 echo $ECHO_N "(cached) $ECHO_C" >&6
35453 else
35454 cat >conftest.$ac_ext <<_ACEOF
35455 /* confdefs.h. */
35456 _ACEOF
35457 cat confdefs.h >>conftest.$ac_ext
35458 cat >>conftest.$ac_ext <<_ACEOF
35459 /* end confdefs.h. */
35460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35462 #define $ac_func innocuous_$ac_func
35463
35464 /* System header to define __stub macros and hopefully few prototypes,
35465 which can conflict with char $ac_func (); below.
35466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35467 <limits.h> exists even on freestanding compilers. */
35468
35469 #ifdef __STDC__
35470 # include <limits.h>
35471 #else
35472 # include <assert.h>
35473 #endif
35474
35475 #undef $ac_func
35476
35477 /* Override any gcc2 internal prototype to avoid an error. */
35478 #ifdef __cplusplus
35479 extern "C"
35480 {
35481 #endif
35482 /* We use char because int might match the return type of a gcc2
35483 builtin and then its argument prototype would still apply. */
35484 char $ac_func ();
35485 /* The GNU C library defines this for functions which it implements
35486 to always fail with ENOSYS. Some functions are actually named
35487 something starting with __ and the normal name is an alias. */
35488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35489 choke me
35490 #else
35491 char (*f) () = $ac_func;
35492 #endif
35493 #ifdef __cplusplus
35494 }
35495 #endif
35496
35497 int
35498 main ()
35499 {
35500 return f != $ac_func;
35501 ;
35502 return 0;
35503 }
35504 _ACEOF
35505 rm -f conftest.$ac_objext conftest$ac_exeext
35506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35507 (eval $ac_link) 2>conftest.er1
35508 ac_status=$?
35509 grep -v '^ *+' conftest.er1 >conftest.err
35510 rm -f conftest.er1
35511 cat conftest.err >&5
35512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35513 (exit $ac_status); } &&
35514 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35516 (eval $ac_try) 2>&5
35517 ac_status=$?
35518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35519 (exit $ac_status); }; } &&
35520 { ac_try='test -s conftest$ac_exeext'
35521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35522 (eval $ac_try) 2>&5
35523 ac_status=$?
35524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35525 (exit $ac_status); }; }; then
35526 eval "$as_ac_var=yes"
35527 else
35528 echo "$as_me: failed program was:" >&5
35529 sed 's/^/| /' conftest.$ac_ext >&5
35530
35531 eval "$as_ac_var=no"
35532 fi
35533 rm -f conftest.err conftest.$ac_objext \
35534 conftest$ac_exeext conftest.$ac_ext
35535 fi
35536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35538 if test `eval echo '${'$as_ac_var'}'` = yes; then
35539 cat >>confdefs.h <<_ACEOF
35540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35541 _ACEOF
35542
35543 fi
35544 done
35545
35546
35547 if test "$ac_cv_func_sigaction" = "no"; then
35548 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35549 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35550 wxUSE_ON_FATAL_EXCEPTION=no
35551 fi
35552
35553 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35554 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35555 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35556 if test "${wx_cv_type_sa_handler+set}" = set; then
35557 echo $ECHO_N "(cached) $ECHO_C" >&6
35558 else
35559
35560 ac_ext=cc
35561 ac_cpp='$CXXCPP $CPPFLAGS'
35562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35565
35566 cat >conftest.$ac_ext <<_ACEOF
35567 /* confdefs.h. */
35568 _ACEOF
35569 cat confdefs.h >>conftest.$ac_ext
35570 cat >>conftest.$ac_ext <<_ACEOF
35571 /* end confdefs.h. */
35572 #include <signal.h>
35573 int
35574 main ()
35575 {
35576
35577 extern void testSigHandler(int);
35578
35579 struct sigaction sa;
35580 sa.sa_handler = testSigHandler;
35581
35582 ;
35583 return 0;
35584 }
35585 _ACEOF
35586 rm -f conftest.$ac_objext
35587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35588 (eval $ac_compile) 2>conftest.er1
35589 ac_status=$?
35590 grep -v '^ *+' conftest.er1 >conftest.err
35591 rm -f conftest.er1
35592 cat conftest.err >&5
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); } &&
35595 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35597 (eval $ac_try) 2>&5
35598 ac_status=$?
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); }; } &&
35601 { ac_try='test -s conftest.$ac_objext'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35604 ac_status=$?
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; }; then
35607
35608 wx_cv_type_sa_handler=int
35609
35610 else
35611 echo "$as_me: failed program was:" >&5
35612 sed 's/^/| /' conftest.$ac_ext >&5
35613
35614
35615 wx_cv_type_sa_handler=void
35616
35617 fi
35618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35619 ac_ext=c
35620 ac_cpp='$CPP $CPPFLAGS'
35621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35624
35625
35626 fi
35627 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35628 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35629
35630 cat >>confdefs.h <<_ACEOF
35631 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35632 _ACEOF
35633
35634 fi
35635 fi
35636
35637 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35638 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35639 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35640 if test "${wx_cv_func_backtrace+set}" = set; then
35641 echo $ECHO_N "(cached) $ECHO_C" >&6
35642 else
35643
35644 ac_ext=cc
35645 ac_cpp='$CXXCPP $CPPFLAGS'
35646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35649
35650 cat >conftest.$ac_ext <<_ACEOF
35651 /* confdefs.h. */
35652 _ACEOF
35653 cat confdefs.h >>conftest.$ac_ext
35654 cat >>conftest.$ac_ext <<_ACEOF
35655 /* end confdefs.h. */
35656 #include <execinfo.h>
35657 int
35658 main ()
35659 {
35660
35661 void *trace[1];
35662 char **messages;
35663
35664 backtrace(trace, 1);
35665 messages = backtrace_symbols(trace, 1);
35666
35667 ;
35668 return 0;
35669 }
35670 _ACEOF
35671 rm -f conftest.$ac_objext
35672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35673 (eval $ac_compile) 2>conftest.er1
35674 ac_status=$?
35675 grep -v '^ *+' conftest.er1 >conftest.err
35676 rm -f conftest.er1
35677 cat conftest.err >&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } &&
35680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35682 (eval $ac_try) 2>&5
35683 ac_status=$?
35684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35685 (exit $ac_status); }; } &&
35686 { ac_try='test -s conftest.$ac_objext'
35687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35688 (eval $ac_try) 2>&5
35689 ac_status=$?
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); }; }; then
35692 wx_cv_func_backtrace=yes
35693 else
35694 echo "$as_me: failed program was:" >&5
35695 sed 's/^/| /' conftest.$ac_ext >&5
35696
35697 wx_cv_func_backtrace=no
35698
35699 fi
35700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35706
35707
35708
35709 fi
35710 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35711 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35712
35713
35714 if test "$wx_cv_func_backtrace" = "no"; then
35715 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35716 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35717 wxUSE_STACKWALKER=no
35718 else
35719 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35720 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35721 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35722 echo $ECHO_N "(cached) $ECHO_C" >&6
35723 else
35724
35725 ac_ext=cc
35726 ac_cpp='$CXXCPP $CPPFLAGS'
35727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35730
35731 cat >conftest.$ac_ext <<_ACEOF
35732 /* confdefs.h. */
35733 _ACEOF
35734 cat confdefs.h >>conftest.$ac_ext
35735 cat >>conftest.$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35737 #include <cxxabi.h>
35738 int
35739 main ()
35740 {
35741
35742 int rc;
35743 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35744
35745 ;
35746 return 0;
35747 }
35748 _ACEOF
35749 rm -f conftest.$ac_objext conftest$ac_exeext
35750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35751 (eval $ac_link) 2>conftest.er1
35752 ac_status=$?
35753 grep -v '^ *+' conftest.er1 >conftest.err
35754 rm -f conftest.er1
35755 cat conftest.err >&5
35756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757 (exit $ac_status); } &&
35758 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35760 (eval $ac_try) 2>&5
35761 ac_status=$?
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); }; } &&
35764 { ac_try='test -s conftest$ac_exeext'
35765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35766 (eval $ac_try) 2>&5
35767 ac_status=$?
35768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35769 (exit $ac_status); }; }; then
35770 wx_cv_func_cxa_demangle=yes
35771 else
35772 echo "$as_me: failed program was:" >&5
35773 sed 's/^/| /' conftest.$ac_ext >&5
35774
35775 wx_cv_func_cxa_demangle=no
35776
35777 fi
35778 rm -f conftest.err conftest.$ac_objext \
35779 conftest$ac_exeext conftest.$ac_ext
35780 ac_ext=c
35781 ac_cpp='$CPP $CPPFLAGS'
35782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35785
35786
35787
35788 fi
35789 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35790 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35791
35792 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35793 cat >>confdefs.h <<\_ACEOF
35794 #define HAVE_CXA_DEMANGLE 1
35795 _ACEOF
35796
35797 fi
35798 fi
35799 fi
35800
35801 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35802 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35803 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35804 wxUSE_STACKWALKER=no
35805 fi
35806
35807
35808
35809
35810 for ac_func in mkstemp mktemp
35811 do
35812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35813 echo "$as_me:$LINENO: checking for $ac_func" >&5
35814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35815 if eval "test \"\${$as_ac_var+set}\" = set"; then
35816 echo $ECHO_N "(cached) $ECHO_C" >&6
35817 else
35818 cat >conftest.$ac_ext <<_ACEOF
35819 /* confdefs.h. */
35820 _ACEOF
35821 cat confdefs.h >>conftest.$ac_ext
35822 cat >>conftest.$ac_ext <<_ACEOF
35823 /* end confdefs.h. */
35824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35826 #define $ac_func innocuous_$ac_func
35827
35828 /* System header to define __stub macros and hopefully few prototypes,
35829 which can conflict with char $ac_func (); below.
35830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35831 <limits.h> exists even on freestanding compilers. */
35832
35833 #ifdef __STDC__
35834 # include <limits.h>
35835 #else
35836 # include <assert.h>
35837 #endif
35838
35839 #undef $ac_func
35840
35841 /* Override any gcc2 internal prototype to avoid an error. */
35842 #ifdef __cplusplus
35843 extern "C"
35844 {
35845 #endif
35846 /* We use char because int might match the return type of a gcc2
35847 builtin and then its argument prototype would still apply. */
35848 char $ac_func ();
35849 /* The GNU C library defines this for functions which it implements
35850 to always fail with ENOSYS. Some functions are actually named
35851 something starting with __ and the normal name is an alias. */
35852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35853 choke me
35854 #else
35855 char (*f) () = $ac_func;
35856 #endif
35857 #ifdef __cplusplus
35858 }
35859 #endif
35860
35861 int
35862 main ()
35863 {
35864 return f != $ac_func;
35865 ;
35866 return 0;
35867 }
35868 _ACEOF
35869 rm -f conftest.$ac_objext conftest$ac_exeext
35870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35871 (eval $ac_link) 2>conftest.er1
35872 ac_status=$?
35873 grep -v '^ *+' conftest.er1 >conftest.err
35874 rm -f conftest.er1
35875 cat conftest.err >&5
35876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877 (exit $ac_status); } &&
35878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35880 (eval $ac_try) 2>&5
35881 ac_status=$?
35882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35883 (exit $ac_status); }; } &&
35884 { ac_try='test -s conftest$ac_exeext'
35885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35886 (eval $ac_try) 2>&5
35887 ac_status=$?
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); }; }; then
35890 eval "$as_ac_var=yes"
35891 else
35892 echo "$as_me: failed program was:" >&5
35893 sed 's/^/| /' conftest.$ac_ext >&5
35894
35895 eval "$as_ac_var=no"
35896 fi
35897 rm -f conftest.err conftest.$ac_objext \
35898 conftest$ac_exeext conftest.$ac_ext
35899 fi
35900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35902 if test `eval echo '${'$as_ac_var'}'` = yes; then
35903 cat >>confdefs.h <<_ACEOF
35904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35905 _ACEOF
35906 break
35907 fi
35908 done
35909
35910
35911 echo "$as_me:$LINENO: checking for statfs" >&5
35912 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35913 if test "${wx_cv_func_statfs+set}" = set; then
35914 echo $ECHO_N "(cached) $ECHO_C" >&6
35915 else
35916 cat >conftest.$ac_ext <<_ACEOF
35917 /* confdefs.h. */
35918 _ACEOF
35919 cat confdefs.h >>conftest.$ac_ext
35920 cat >>conftest.$ac_ext <<_ACEOF
35921 /* end confdefs.h. */
35922
35923 #if defined(__BSD__)
35924 #include <sys/param.h>
35925 #include <sys/mount.h>
35926 #else
35927 #include <sys/vfs.h>
35928 #endif
35929
35930 int
35931 main ()
35932 {
35933
35934 long l;
35935 struct statfs fs;
35936 statfs("/", &fs);
35937 l = fs.f_bsize;
35938 l += fs.f_blocks;
35939 l += fs.f_bavail;
35940
35941 ;
35942 return 0;
35943 }
35944 _ACEOF
35945 rm -f conftest.$ac_objext
35946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35947 (eval $ac_compile) 2>conftest.er1
35948 ac_status=$?
35949 grep -v '^ *+' conftest.er1 >conftest.err
35950 rm -f conftest.er1
35951 cat conftest.err >&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); } &&
35954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35956 (eval $ac_try) 2>&5
35957 ac_status=$?
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); }; } &&
35960 { ac_try='test -s conftest.$ac_objext'
35961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35962 (eval $ac_try) 2>&5
35963 ac_status=$?
35964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35965 (exit $ac_status); }; }; then
35966 wx_cv_func_statfs=yes
35967 else
35968 echo "$as_me: failed program was:" >&5
35969 sed 's/^/| /' conftest.$ac_ext >&5
35970
35971 wx_cv_func_statfs=no
35972
35973 fi
35974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35975
35976 fi
35977 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35978 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35979
35980 if test "$wx_cv_func_statfs" = "yes"; then
35981 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35982 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35983 if test "${wx_cv_func_statfs_decl+set}" = set; then
35984 echo $ECHO_N "(cached) $ECHO_C" >&6
35985 else
35986 ac_ext=cc
35987 ac_cpp='$CXXCPP $CPPFLAGS'
35988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35991
35992 cat >conftest.$ac_ext <<_ACEOF
35993 /* confdefs.h. */
35994 _ACEOF
35995 cat confdefs.h >>conftest.$ac_ext
35996 cat >>conftest.$ac_ext <<_ACEOF
35997 /* end confdefs.h. */
35998
35999 #if defined(__BSD__)
36000 #include <sys/param.h>
36001 #include <sys/mount.h>
36002 #else
36003 #include <sys/vfs.h>
36004 #endif
36005
36006 int
36007 main ()
36008 {
36009
36010 struct statfs fs;
36011 statfs("", &fs);
36012
36013 ;
36014 return 0;
36015 }
36016 _ACEOF
36017 rm -f conftest.$ac_objext
36018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36019 (eval $ac_compile) 2>conftest.er1
36020 ac_status=$?
36021 grep -v '^ *+' conftest.er1 >conftest.err
36022 rm -f conftest.er1
36023 cat conftest.err >&5
36024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025 (exit $ac_status); } &&
36026 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36028 (eval $ac_try) 2>&5
36029 ac_status=$?
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); }; } &&
36032 { ac_try='test -s conftest.$ac_objext'
36033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36034 (eval $ac_try) 2>&5
36035 ac_status=$?
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); }; }; then
36038 wx_cv_func_statfs_decl=yes
36039 else
36040 echo "$as_me: failed program was:" >&5
36041 sed 's/^/| /' conftest.$ac_ext >&5
36042
36043 wx_cv_func_statfs_decl=no
36044
36045 fi
36046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36047 ac_ext=c
36048 ac_cpp='$CPP $CPPFLAGS'
36049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36052
36053
36054 fi
36055 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36056 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36057
36058 if test "$wx_cv_func_statfs_decl" = "yes"; then
36059 cat >>confdefs.h <<\_ACEOF
36060 #define HAVE_STATFS_DECL 1
36061 _ACEOF
36062
36063 fi
36064
36065 wx_cv_type_statvfs_t="struct statfs"
36066 cat >>confdefs.h <<\_ACEOF
36067 #define HAVE_STATFS 1
36068 _ACEOF
36069
36070 else
36071 echo "$as_me:$LINENO: checking for statvfs" >&5
36072 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36073 if test "${wx_cv_func_statvfs+set}" = set; then
36074 echo $ECHO_N "(cached) $ECHO_C" >&6
36075 else
36076 cat >conftest.$ac_ext <<_ACEOF
36077 /* confdefs.h. */
36078 _ACEOF
36079 cat confdefs.h >>conftest.$ac_ext
36080 cat >>conftest.$ac_ext <<_ACEOF
36081 /* end confdefs.h. */
36082
36083 #include <stddef.h>
36084 #include <sys/statvfs.h>
36085
36086 int
36087 main ()
36088 {
36089
36090 statvfs("/", NULL);
36091
36092 ;
36093 return 0;
36094 }
36095 _ACEOF
36096 rm -f conftest.$ac_objext
36097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36098 (eval $ac_compile) 2>conftest.er1
36099 ac_status=$?
36100 grep -v '^ *+' conftest.er1 >conftest.err
36101 rm -f conftest.er1
36102 cat conftest.err >&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); } &&
36105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36107 (eval $ac_try) 2>&5
36108 ac_status=$?
36109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36110 (exit $ac_status); }; } &&
36111 { ac_try='test -s conftest.$ac_objext'
36112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36113 (eval $ac_try) 2>&5
36114 ac_status=$?
36115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36116 (exit $ac_status); }; }; then
36117 wx_cv_func_statvfs=yes
36118 else
36119 echo "$as_me: failed program was:" >&5
36120 sed 's/^/| /' conftest.$ac_ext >&5
36121
36122 wx_cv_func_statvfs=no
36123
36124 fi
36125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36126
36127 fi
36128 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36129 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36130
36131 if test "$wx_cv_func_statvfs" = "yes"; then
36132 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36133 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36134 if test "${wx_cv_type_statvfs_t+set}" = set; then
36135 echo $ECHO_N "(cached) $ECHO_C" >&6
36136 else
36137 ac_ext=cc
36138 ac_cpp='$CXXCPP $CPPFLAGS'
36139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36142
36143 cat >conftest.$ac_ext <<_ACEOF
36144 /* confdefs.h. */
36145 _ACEOF
36146 cat confdefs.h >>conftest.$ac_ext
36147 cat >>conftest.$ac_ext <<_ACEOF
36148 /* end confdefs.h. */
36149
36150 #include <sys/statvfs.h>
36151
36152 int
36153 main ()
36154 {
36155
36156 long l;
36157 statvfs_t fs;
36158 statvfs("/", &fs);
36159 l = fs.f_bsize;
36160 l += fs.f_blocks;
36161 l += fs.f_bavail;
36162
36163 ;
36164 return 0;
36165 }
36166 _ACEOF
36167 rm -f conftest.$ac_objext
36168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36169 (eval $ac_compile) 2>conftest.er1
36170 ac_status=$?
36171 grep -v '^ *+' conftest.er1 >conftest.err
36172 rm -f conftest.er1
36173 cat conftest.err >&5
36174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36175 (exit $ac_status); } &&
36176 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36178 (eval $ac_try) 2>&5
36179 ac_status=$?
36180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36181 (exit $ac_status); }; } &&
36182 { ac_try='test -s conftest.$ac_objext'
36183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36184 (eval $ac_try) 2>&5
36185 ac_status=$?
36186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187 (exit $ac_status); }; }; then
36188 wx_cv_type_statvfs_t=statvfs_t
36189 else
36190 echo "$as_me: failed program was:" >&5
36191 sed 's/^/| /' conftest.$ac_ext >&5
36192
36193
36194 cat >conftest.$ac_ext <<_ACEOF
36195 /* confdefs.h. */
36196 _ACEOF
36197 cat confdefs.h >>conftest.$ac_ext
36198 cat >>conftest.$ac_ext <<_ACEOF
36199 /* end confdefs.h. */
36200
36201 #include <sys/statvfs.h>
36202
36203 int
36204 main ()
36205 {
36206
36207 long l;
36208 struct statvfs fs;
36209 statvfs("/", &fs);
36210 l = fs.f_bsize;
36211 l += fs.f_blocks;
36212 l += fs.f_bavail;
36213
36214 ;
36215 return 0;
36216 }
36217 _ACEOF
36218 rm -f conftest.$ac_objext
36219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36220 (eval $ac_compile) 2>conftest.er1
36221 ac_status=$?
36222 grep -v '^ *+' conftest.er1 >conftest.err
36223 rm -f conftest.er1
36224 cat conftest.err >&5
36225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36226 (exit $ac_status); } &&
36227 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36229 (eval $ac_try) 2>&5
36230 ac_status=$?
36231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36232 (exit $ac_status); }; } &&
36233 { ac_try='test -s conftest.$ac_objext'
36234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36235 (eval $ac_try) 2>&5
36236 ac_status=$?
36237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36238 (exit $ac_status); }; }; then
36239 wx_cv_type_statvfs_t="struct statvfs"
36240 else
36241 echo "$as_me: failed program was:" >&5
36242 sed 's/^/| /' conftest.$ac_ext >&5
36243
36244 wx_cv_type_statvfs_t="unknown"
36245
36246 fi
36247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36248
36249
36250 fi
36251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36252 ac_ext=c
36253 ac_cpp='$CPP $CPPFLAGS'
36254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36257
36258
36259 fi
36260 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36261 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36262
36263 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36264 cat >>confdefs.h <<\_ACEOF
36265 #define HAVE_STATVFS 1
36266 _ACEOF
36267
36268 fi
36269 else
36270 wx_cv_type_statvfs_t="unknown"
36271 fi
36272 fi
36273
36274 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36275 cat >>confdefs.h <<_ACEOF
36276 #define WX_STATFS_T $wx_cv_type_statvfs_t
36277 _ACEOF
36278
36279 else
36280 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36281 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36282 fi
36283
36284 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36285
36286
36287 for ac_func in fcntl flock
36288 do
36289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36290 echo "$as_me:$LINENO: checking for $ac_func" >&5
36291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36292 if eval "test \"\${$as_ac_var+set}\" = set"; then
36293 echo $ECHO_N "(cached) $ECHO_C" >&6
36294 else
36295 cat >conftest.$ac_ext <<_ACEOF
36296 /* confdefs.h. */
36297 _ACEOF
36298 cat confdefs.h >>conftest.$ac_ext
36299 cat >>conftest.$ac_ext <<_ACEOF
36300 /* end confdefs.h. */
36301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36303 #define $ac_func innocuous_$ac_func
36304
36305 /* System header to define __stub macros and hopefully few prototypes,
36306 which can conflict with char $ac_func (); below.
36307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36308 <limits.h> exists even on freestanding compilers. */
36309
36310 #ifdef __STDC__
36311 # include <limits.h>
36312 #else
36313 # include <assert.h>
36314 #endif
36315
36316 #undef $ac_func
36317
36318 /* Override any gcc2 internal prototype to avoid an error. */
36319 #ifdef __cplusplus
36320 extern "C"
36321 {
36322 #endif
36323 /* We use char because int might match the return type of a gcc2
36324 builtin and then its argument prototype would still apply. */
36325 char $ac_func ();
36326 /* The GNU C library defines this for functions which it implements
36327 to always fail with ENOSYS. Some functions are actually named
36328 something starting with __ and the normal name is an alias. */
36329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36330 choke me
36331 #else
36332 char (*f) () = $ac_func;
36333 #endif
36334 #ifdef __cplusplus
36335 }
36336 #endif
36337
36338 int
36339 main ()
36340 {
36341 return f != $ac_func;
36342 ;
36343 return 0;
36344 }
36345 _ACEOF
36346 rm -f conftest.$ac_objext conftest$ac_exeext
36347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36348 (eval $ac_link) 2>conftest.er1
36349 ac_status=$?
36350 grep -v '^ *+' conftest.er1 >conftest.err
36351 rm -f conftest.er1
36352 cat conftest.err >&5
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); } &&
36355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36357 (eval $ac_try) 2>&5
36358 ac_status=$?
36359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36360 (exit $ac_status); }; } &&
36361 { ac_try='test -s conftest$ac_exeext'
36362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36363 (eval $ac_try) 2>&5
36364 ac_status=$?
36365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36366 (exit $ac_status); }; }; then
36367 eval "$as_ac_var=yes"
36368 else
36369 echo "$as_me: failed program was:" >&5
36370 sed 's/^/| /' conftest.$ac_ext >&5
36371
36372 eval "$as_ac_var=no"
36373 fi
36374 rm -f conftest.err conftest.$ac_objext \
36375 conftest$ac_exeext conftest.$ac_ext
36376 fi
36377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36379 if test `eval echo '${'$as_ac_var'}'` = yes; then
36380 cat >>confdefs.h <<_ACEOF
36381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36382 _ACEOF
36383 break
36384 fi
36385 done
36386
36387
36388 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36389 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36390 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36391 wxUSE_SNGLINST_CHECKER=no
36392 fi
36393 fi
36394
36395
36396 for ac_func in timegm
36397 do
36398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36399 echo "$as_me:$LINENO: checking for $ac_func" >&5
36400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36401 if eval "test \"\${$as_ac_var+set}\" = set"; then
36402 echo $ECHO_N "(cached) $ECHO_C" >&6
36403 else
36404 cat >conftest.$ac_ext <<_ACEOF
36405 /* confdefs.h. */
36406 _ACEOF
36407 cat confdefs.h >>conftest.$ac_ext
36408 cat >>conftest.$ac_ext <<_ACEOF
36409 /* end confdefs.h. */
36410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36412 #define $ac_func innocuous_$ac_func
36413
36414 /* System header to define __stub macros and hopefully few prototypes,
36415 which can conflict with char $ac_func (); below.
36416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36417 <limits.h> exists even on freestanding compilers. */
36418
36419 #ifdef __STDC__
36420 # include <limits.h>
36421 #else
36422 # include <assert.h>
36423 #endif
36424
36425 #undef $ac_func
36426
36427 /* Override any gcc2 internal prototype to avoid an error. */
36428 #ifdef __cplusplus
36429 extern "C"
36430 {
36431 #endif
36432 /* We use char because int might match the return type of a gcc2
36433 builtin and then its argument prototype would still apply. */
36434 char $ac_func ();
36435 /* The GNU C library defines this for functions which it implements
36436 to always fail with ENOSYS. Some functions are actually named
36437 something starting with __ and the normal name is an alias. */
36438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36439 choke me
36440 #else
36441 char (*f) () = $ac_func;
36442 #endif
36443 #ifdef __cplusplus
36444 }
36445 #endif
36446
36447 int
36448 main ()
36449 {
36450 return f != $ac_func;
36451 ;
36452 return 0;
36453 }
36454 _ACEOF
36455 rm -f conftest.$ac_objext conftest$ac_exeext
36456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36457 (eval $ac_link) 2>conftest.er1
36458 ac_status=$?
36459 grep -v '^ *+' conftest.er1 >conftest.err
36460 rm -f conftest.er1
36461 cat conftest.err >&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); } &&
36464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36466 (eval $ac_try) 2>&5
36467 ac_status=$?
36468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36469 (exit $ac_status); }; } &&
36470 { ac_try='test -s conftest$ac_exeext'
36471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36472 (eval $ac_try) 2>&5
36473 ac_status=$?
36474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36475 (exit $ac_status); }; }; then
36476 eval "$as_ac_var=yes"
36477 else
36478 echo "$as_me: failed program was:" >&5
36479 sed 's/^/| /' conftest.$ac_ext >&5
36480
36481 eval "$as_ac_var=no"
36482 fi
36483 rm -f conftest.err conftest.$ac_objext \
36484 conftest$ac_exeext conftest.$ac_ext
36485 fi
36486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36488 if test `eval echo '${'$as_ac_var'}'` = yes; then
36489 cat >>confdefs.h <<_ACEOF
36490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36491 _ACEOF
36492
36493 fi
36494 done
36495
36496
36497
36498
36499 for ac_func in putenv setenv
36500 do
36501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36502 echo "$as_me:$LINENO: checking for $ac_func" >&5
36503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36504 if eval "test \"\${$as_ac_var+set}\" = set"; then
36505 echo $ECHO_N "(cached) $ECHO_C" >&6
36506 else
36507 cat >conftest.$ac_ext <<_ACEOF
36508 /* confdefs.h. */
36509 _ACEOF
36510 cat confdefs.h >>conftest.$ac_ext
36511 cat >>conftest.$ac_ext <<_ACEOF
36512 /* end confdefs.h. */
36513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36515 #define $ac_func innocuous_$ac_func
36516
36517 /* System header to define __stub macros and hopefully few prototypes,
36518 which can conflict with char $ac_func (); below.
36519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36520 <limits.h> exists even on freestanding compilers. */
36521
36522 #ifdef __STDC__
36523 # include <limits.h>
36524 #else
36525 # include <assert.h>
36526 #endif
36527
36528 #undef $ac_func
36529
36530 /* Override any gcc2 internal prototype to avoid an error. */
36531 #ifdef __cplusplus
36532 extern "C"
36533 {
36534 #endif
36535 /* We use char because int might match the return type of a gcc2
36536 builtin and then its argument prototype would still apply. */
36537 char $ac_func ();
36538 /* The GNU C library defines this for functions which it implements
36539 to always fail with ENOSYS. Some functions are actually named
36540 something starting with __ and the normal name is an alias. */
36541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36542 choke me
36543 #else
36544 char (*f) () = $ac_func;
36545 #endif
36546 #ifdef __cplusplus
36547 }
36548 #endif
36549
36550 int
36551 main ()
36552 {
36553 return f != $ac_func;
36554 ;
36555 return 0;
36556 }
36557 _ACEOF
36558 rm -f conftest.$ac_objext conftest$ac_exeext
36559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36560 (eval $ac_link) 2>conftest.er1
36561 ac_status=$?
36562 grep -v '^ *+' conftest.er1 >conftest.err
36563 rm -f conftest.er1
36564 cat conftest.err >&5
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); } &&
36567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36569 (eval $ac_try) 2>&5
36570 ac_status=$?
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); }; } &&
36573 { ac_try='test -s conftest$ac_exeext'
36574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36575 (eval $ac_try) 2>&5
36576 ac_status=$?
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); }; }; then
36579 eval "$as_ac_var=yes"
36580 else
36581 echo "$as_me: failed program was:" >&5
36582 sed 's/^/| /' conftest.$ac_ext >&5
36583
36584 eval "$as_ac_var=no"
36585 fi
36586 rm -f conftest.err conftest.$ac_objext \
36587 conftest$ac_exeext conftest.$ac_ext
36588 fi
36589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36591 if test `eval echo '${'$as_ac_var'}'` = yes; then
36592 cat >>confdefs.h <<_ACEOF
36593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36594 _ACEOF
36595 break
36596 fi
36597 done
36598
36599
36600 HAVE_SOME_SLEEP_FUNC=0
36601 if test "$USE_BEOS" = 1; then
36602 cat >>confdefs.h <<\_ACEOF
36603 #define HAVE_SLEEP 1
36604 _ACEOF
36605
36606 HAVE_SOME_SLEEP_FUNC=1
36607 fi
36608
36609 if test "$USE_DARWIN" = 1; then
36610 cat >>confdefs.h <<\_ACEOF
36611 #define HAVE_USLEEP 1
36612 _ACEOF
36613
36614 HAVE_SOME_SLEEP_FUNC=1
36615 fi
36616
36617 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36618 POSIX4_LINK=
36619
36620 for ac_func in nanosleep
36621 do
36622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36623 echo "$as_me:$LINENO: checking for $ac_func" >&5
36624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36625 if eval "test \"\${$as_ac_var+set}\" = set"; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36627 else
36628 cat >conftest.$ac_ext <<_ACEOF
36629 /* confdefs.h. */
36630 _ACEOF
36631 cat confdefs.h >>conftest.$ac_ext
36632 cat >>conftest.$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36636 #define $ac_func innocuous_$ac_func
36637
36638 /* System header to define __stub macros and hopefully few prototypes,
36639 which can conflict with char $ac_func (); below.
36640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36641 <limits.h> exists even on freestanding compilers. */
36642
36643 #ifdef __STDC__
36644 # include <limits.h>
36645 #else
36646 # include <assert.h>
36647 #endif
36648
36649 #undef $ac_func
36650
36651 /* Override any gcc2 internal prototype to avoid an error. */
36652 #ifdef __cplusplus
36653 extern "C"
36654 {
36655 #endif
36656 /* We use char because int might match the return type of a gcc2
36657 builtin and then its argument prototype would still apply. */
36658 char $ac_func ();
36659 /* The GNU C library defines this for functions which it implements
36660 to always fail with ENOSYS. Some functions are actually named
36661 something starting with __ and the normal name is an alias. */
36662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36663 choke me
36664 #else
36665 char (*f) () = $ac_func;
36666 #endif
36667 #ifdef __cplusplus
36668 }
36669 #endif
36670
36671 int
36672 main ()
36673 {
36674 return f != $ac_func;
36675 ;
36676 return 0;
36677 }
36678 _ACEOF
36679 rm -f conftest.$ac_objext conftest$ac_exeext
36680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36681 (eval $ac_link) 2>conftest.er1
36682 ac_status=$?
36683 grep -v '^ *+' conftest.er1 >conftest.err
36684 rm -f conftest.er1
36685 cat conftest.err >&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); } &&
36688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36690 (eval $ac_try) 2>&5
36691 ac_status=$?
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); }; } &&
36694 { ac_try='test -s conftest$ac_exeext'
36695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36696 (eval $ac_try) 2>&5
36697 ac_status=$?
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); }; }; then
36700 eval "$as_ac_var=yes"
36701 else
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36704
36705 eval "$as_ac_var=no"
36706 fi
36707 rm -f conftest.err conftest.$ac_objext \
36708 conftest$ac_exeext conftest.$ac_ext
36709 fi
36710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36712 if test `eval echo '${'$as_ac_var'}'` = yes; then
36713 cat >>confdefs.h <<_ACEOF
36714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36715 _ACEOF
36716 cat >>confdefs.h <<\_ACEOF
36717 #define HAVE_NANOSLEEP 1
36718 _ACEOF
36719
36720 else
36721
36722 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36723 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36724 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36725 echo $ECHO_N "(cached) $ECHO_C" >&6
36726 else
36727 ac_check_lib_save_LIBS=$LIBS
36728 LIBS="-lposix4 $LIBS"
36729 cat >conftest.$ac_ext <<_ACEOF
36730 /* confdefs.h. */
36731 _ACEOF
36732 cat confdefs.h >>conftest.$ac_ext
36733 cat >>conftest.$ac_ext <<_ACEOF
36734 /* end confdefs.h. */
36735
36736 /* Override any gcc2 internal prototype to avoid an error. */
36737 #ifdef __cplusplus
36738 extern "C"
36739 #endif
36740 /* We use char because int might match the return type of a gcc2
36741 builtin and then its argument prototype would still apply. */
36742 char nanosleep ();
36743 int
36744 main ()
36745 {
36746 nanosleep ();
36747 ;
36748 return 0;
36749 }
36750 _ACEOF
36751 rm -f conftest.$ac_objext conftest$ac_exeext
36752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36753 (eval $ac_link) 2>conftest.er1
36754 ac_status=$?
36755 grep -v '^ *+' conftest.er1 >conftest.err
36756 rm -f conftest.er1
36757 cat conftest.err >&5
36758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36759 (exit $ac_status); } &&
36760 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36762 (eval $ac_try) 2>&5
36763 ac_status=$?
36764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36765 (exit $ac_status); }; } &&
36766 { ac_try='test -s conftest$ac_exeext'
36767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36768 (eval $ac_try) 2>&5
36769 ac_status=$?
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); }; }; then
36772 ac_cv_lib_posix4_nanosleep=yes
36773 else
36774 echo "$as_me: failed program was:" >&5
36775 sed 's/^/| /' conftest.$ac_ext >&5
36776
36777 ac_cv_lib_posix4_nanosleep=no
36778 fi
36779 rm -f conftest.err conftest.$ac_objext \
36780 conftest$ac_exeext conftest.$ac_ext
36781 LIBS=$ac_check_lib_save_LIBS
36782 fi
36783 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36784 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36785 if test $ac_cv_lib_posix4_nanosleep = yes; then
36786
36787 cat >>confdefs.h <<\_ACEOF
36788 #define HAVE_NANOSLEEP 1
36789 _ACEOF
36790
36791 POSIX4_LINK=" -lposix4"
36792
36793 else
36794
36795
36796 for wx_func in usleep
36797 do
36798 echo "$as_me:$LINENO: checking for $wx_func" >&5
36799 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36800 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36801 echo $ECHO_N "(cached) $ECHO_C" >&6
36802 else
36803
36804 cat >conftest.$ac_ext <<_ACEOF
36805
36806 /* confdefs.h. */
36807 _ACEOF
36808 cat confdefs.h >>conftest.$ac_ext
36809 cat >>conftest.$ac_ext <<_ACEOF
36810 /* end confdefs.h. */
36811
36812
36813 $ac_includes_default
36814
36815 int
36816 main ()
36817 {
36818
36819 #ifndef $wx_func
36820 &$wx_func;
36821 #endif
36822
36823
36824 ;
36825 return 0;
36826 }
36827
36828 _ACEOF
36829 rm -f conftest.$ac_objext conftest$ac_exeext
36830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36831 (eval $ac_link) 2>conftest.er1
36832 ac_status=$?
36833 grep -v '^ *+' conftest.er1 >conftest.err
36834 rm -f conftest.er1
36835 cat conftest.err >&5
36836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36837 (exit $ac_status); } &&
36838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36840 (eval $ac_try) 2>&5
36841 ac_status=$?
36842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36843 (exit $ac_status); }; } &&
36844 { ac_try='test -s conftest$ac_exeext'
36845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36846 (eval $ac_try) 2>&5
36847 ac_status=$?
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); }; }; then
36850 eval wx_cv_func_$wx_func=yes
36851 else
36852 echo "$as_me: failed program was:" >&5
36853 sed 's/^/| /' conftest.$ac_ext >&5
36854
36855 eval wx_cv_func_$wx_func=no
36856 fi
36857 rm -f conftest.err conftest.$ac_objext \
36858 conftest$ac_exeext conftest.$ac_ext
36859
36860 fi
36861 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36862 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36863
36864 if eval test \$wx_cv_func_$wx_func = yes
36865 then
36866 cat >>confdefs.h <<_ACEOF
36867 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36868 _ACEOF
36869
36870
36871 else
36872 :
36873 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36874 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36875
36876 fi
36877 done
36878
36879
36880
36881 fi
36882
36883
36884
36885 fi
36886 done
36887
36888 fi
36889
36890
36891 for wx_func in uname
36892 do
36893 echo "$as_me:$LINENO: checking for $wx_func" >&5
36894 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36895 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36896 echo $ECHO_N "(cached) $ECHO_C" >&6
36897 else
36898
36899 cat >conftest.$ac_ext <<_ACEOF
36900
36901 /* confdefs.h. */
36902 _ACEOF
36903 cat confdefs.h >>conftest.$ac_ext
36904 cat >>conftest.$ac_ext <<_ACEOF
36905 /* end confdefs.h. */
36906
36907 #include <sys/utsname.h>
36908 $ac_includes_default
36909
36910 int
36911 main ()
36912 {
36913
36914 #ifndef $wx_func
36915 &$wx_func;
36916 #endif
36917
36918
36919 ;
36920 return 0;
36921 }
36922
36923 _ACEOF
36924 rm -f conftest.$ac_objext conftest$ac_exeext
36925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36926 (eval $ac_link) 2>conftest.er1
36927 ac_status=$?
36928 grep -v '^ *+' conftest.er1 >conftest.err
36929 rm -f conftest.er1
36930 cat conftest.err >&5
36931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36932 (exit $ac_status); } &&
36933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36935 (eval $ac_try) 2>&5
36936 ac_status=$?
36937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36938 (exit $ac_status); }; } &&
36939 { ac_try='test -s conftest$ac_exeext'
36940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36941 (eval $ac_try) 2>&5
36942 ac_status=$?
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); }; }; then
36945 eval wx_cv_func_$wx_func=yes
36946 else
36947 echo "$as_me: failed program was:" >&5
36948 sed 's/^/| /' conftest.$ac_ext >&5
36949
36950 eval wx_cv_func_$wx_func=no
36951 fi
36952 rm -f conftest.err conftest.$ac_objext \
36953 conftest$ac_exeext conftest.$ac_ext
36954
36955 fi
36956 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
36957 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
36958
36959 if eval test \$wx_cv_func_$wx_func = yes
36960 then
36961 cat >>confdefs.h <<_ACEOF
36962 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36963 _ACEOF
36964
36965
36966 else
36967 :
36968
36969 fi
36970 done
36971
36972 if test "$wx_cv_func_uname" != yes; then
36973
36974 for wx_func in gethostname
36975 do
36976 echo "$as_me:$LINENO: checking for $wx_func" >&5
36977 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
36978 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
36979 echo $ECHO_N "(cached) $ECHO_C" >&6
36980 else
36981
36982 cat >conftest.$ac_ext <<_ACEOF
36983
36984 /* confdefs.h. */
36985 _ACEOF
36986 cat confdefs.h >>conftest.$ac_ext
36987 cat >>conftest.$ac_ext <<_ACEOF
36988 /* end confdefs.h. */
36989
36990
36991 $ac_includes_default
36992
36993 int
36994 main ()
36995 {
36996
36997 #ifndef $wx_func
36998 &$wx_func;
36999 #endif
37000
37001
37002 ;
37003 return 0;
37004 }
37005
37006 _ACEOF
37007 rm -f conftest.$ac_objext conftest$ac_exeext
37008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37009 (eval $ac_link) 2>conftest.er1
37010 ac_status=$?
37011 grep -v '^ *+' conftest.er1 >conftest.err
37012 rm -f conftest.er1
37013 cat conftest.err >&5
37014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37015 (exit $ac_status); } &&
37016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
37022 { ac_try='test -s conftest$ac_exeext'
37023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37024 (eval $ac_try) 2>&5
37025 ac_status=$?
37026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027 (exit $ac_status); }; }; then
37028 eval wx_cv_func_$wx_func=yes
37029 else
37030 echo "$as_me: failed program was:" >&5
37031 sed 's/^/| /' conftest.$ac_ext >&5
37032
37033 eval wx_cv_func_$wx_func=no
37034 fi
37035 rm -f conftest.err conftest.$ac_objext \
37036 conftest$ac_exeext conftest.$ac_ext
37037
37038 fi
37039 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37040 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37041
37042 if eval test \$wx_cv_func_$wx_func = yes
37043 then
37044 cat >>confdefs.h <<_ACEOF
37045 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37046 _ACEOF
37047
37048
37049 else
37050 :
37051
37052 fi
37053 done
37054
37055 fi
37056
37057
37058 for wx_func in strtok_r
37059 do
37060 echo "$as_me:$LINENO: checking for $wx_func" >&5
37061 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37062 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37063 echo $ECHO_N "(cached) $ECHO_C" >&6
37064 else
37065
37066 cat >conftest.$ac_ext <<_ACEOF
37067
37068 /* confdefs.h. */
37069 _ACEOF
37070 cat confdefs.h >>conftest.$ac_ext
37071 cat >>conftest.$ac_ext <<_ACEOF
37072 /* end confdefs.h. */
37073
37074 #define _REENTRANT
37075 $ac_includes_default
37076
37077 int
37078 main ()
37079 {
37080
37081 #ifndef $wx_func
37082 &$wx_func;
37083 #endif
37084
37085
37086 ;
37087 return 0;
37088 }
37089
37090 _ACEOF
37091 rm -f conftest.$ac_objext conftest$ac_exeext
37092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37093 (eval $ac_link) 2>conftest.er1
37094 ac_status=$?
37095 grep -v '^ *+' conftest.er1 >conftest.err
37096 rm -f conftest.er1
37097 cat conftest.err >&5
37098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37099 (exit $ac_status); } &&
37100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37102 (eval $ac_try) 2>&5
37103 ac_status=$?
37104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37105 (exit $ac_status); }; } &&
37106 { ac_try='test -s conftest$ac_exeext'
37107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37108 (eval $ac_try) 2>&5
37109 ac_status=$?
37110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37111 (exit $ac_status); }; }; then
37112 eval wx_cv_func_$wx_func=yes
37113 else
37114 echo "$as_me: failed program was:" >&5
37115 sed 's/^/| /' conftest.$ac_ext >&5
37116
37117 eval wx_cv_func_$wx_func=no
37118 fi
37119 rm -f conftest.err conftest.$ac_objext \
37120 conftest$ac_exeext conftest.$ac_ext
37121
37122 fi
37123 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37124 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37125
37126 if eval test \$wx_cv_func_$wx_func = yes
37127 then
37128 cat >>confdefs.h <<_ACEOF
37129 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37130 _ACEOF
37131
37132
37133 else
37134 :
37135
37136 fi
37137 done
37138
37139
37140 INET_LINK=
37141
37142 for ac_func in inet_addr
37143 do
37144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37145 echo "$as_me:$LINENO: checking for $ac_func" >&5
37146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37147 if eval "test \"\${$as_ac_var+set}\" = set"; then
37148 echo $ECHO_N "(cached) $ECHO_C" >&6
37149 else
37150 cat >conftest.$ac_ext <<_ACEOF
37151 /* confdefs.h. */
37152 _ACEOF
37153 cat confdefs.h >>conftest.$ac_ext
37154 cat >>conftest.$ac_ext <<_ACEOF
37155 /* end confdefs.h. */
37156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37158 #define $ac_func innocuous_$ac_func
37159
37160 /* System header to define __stub macros and hopefully few prototypes,
37161 which can conflict with char $ac_func (); below.
37162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37163 <limits.h> exists even on freestanding compilers. */
37164
37165 #ifdef __STDC__
37166 # include <limits.h>
37167 #else
37168 # include <assert.h>
37169 #endif
37170
37171 #undef $ac_func
37172
37173 /* Override any gcc2 internal prototype to avoid an error. */
37174 #ifdef __cplusplus
37175 extern "C"
37176 {
37177 #endif
37178 /* We use char because int might match the return type of a gcc2
37179 builtin and then its argument prototype would still apply. */
37180 char $ac_func ();
37181 /* The GNU C library defines this for functions which it implements
37182 to always fail with ENOSYS. Some functions are actually named
37183 something starting with __ and the normal name is an alias. */
37184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37185 choke me
37186 #else
37187 char (*f) () = $ac_func;
37188 #endif
37189 #ifdef __cplusplus
37190 }
37191 #endif
37192
37193 int
37194 main ()
37195 {
37196 return f != $ac_func;
37197 ;
37198 return 0;
37199 }
37200 _ACEOF
37201 rm -f conftest.$ac_objext conftest$ac_exeext
37202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37203 (eval $ac_link) 2>conftest.er1
37204 ac_status=$?
37205 grep -v '^ *+' conftest.er1 >conftest.err
37206 rm -f conftest.er1
37207 cat conftest.err >&5
37208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37209 (exit $ac_status); } &&
37210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37212 (eval $ac_try) 2>&5
37213 ac_status=$?
37214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37215 (exit $ac_status); }; } &&
37216 { ac_try='test -s conftest$ac_exeext'
37217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37218 (eval $ac_try) 2>&5
37219 ac_status=$?
37220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37221 (exit $ac_status); }; }; then
37222 eval "$as_ac_var=yes"
37223 else
37224 echo "$as_me: failed program was:" >&5
37225 sed 's/^/| /' conftest.$ac_ext >&5
37226
37227 eval "$as_ac_var=no"
37228 fi
37229 rm -f conftest.err conftest.$ac_objext \
37230 conftest$ac_exeext conftest.$ac_ext
37231 fi
37232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37234 if test `eval echo '${'$as_ac_var'}'` = yes; then
37235 cat >>confdefs.h <<_ACEOF
37236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37237 _ACEOF
37238 cat >>confdefs.h <<\_ACEOF
37239 #define HAVE_INET_ADDR 1
37240 _ACEOF
37241
37242 else
37243
37244 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37245 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37246 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37247 echo $ECHO_N "(cached) $ECHO_C" >&6
37248 else
37249 ac_check_lib_save_LIBS=$LIBS
37250 LIBS="-lnsl $LIBS"
37251 cat >conftest.$ac_ext <<_ACEOF
37252 /* confdefs.h. */
37253 _ACEOF
37254 cat confdefs.h >>conftest.$ac_ext
37255 cat >>conftest.$ac_ext <<_ACEOF
37256 /* end confdefs.h. */
37257
37258 /* Override any gcc2 internal prototype to avoid an error. */
37259 #ifdef __cplusplus
37260 extern "C"
37261 #endif
37262 /* We use char because int might match the return type of a gcc2
37263 builtin and then its argument prototype would still apply. */
37264 char inet_addr ();
37265 int
37266 main ()
37267 {
37268 inet_addr ();
37269 ;
37270 return 0;
37271 }
37272 _ACEOF
37273 rm -f conftest.$ac_objext conftest$ac_exeext
37274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37275 (eval $ac_link) 2>conftest.er1
37276 ac_status=$?
37277 grep -v '^ *+' conftest.er1 >conftest.err
37278 rm -f conftest.er1
37279 cat conftest.err >&5
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); } &&
37282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37284 (eval $ac_try) 2>&5
37285 ac_status=$?
37286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37287 (exit $ac_status); }; } &&
37288 { ac_try='test -s conftest$ac_exeext'
37289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37290 (eval $ac_try) 2>&5
37291 ac_status=$?
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); }; }; then
37294 ac_cv_lib_nsl_inet_addr=yes
37295 else
37296 echo "$as_me: failed program was:" >&5
37297 sed 's/^/| /' conftest.$ac_ext >&5
37298
37299 ac_cv_lib_nsl_inet_addr=no
37300 fi
37301 rm -f conftest.err conftest.$ac_objext \
37302 conftest$ac_exeext conftest.$ac_ext
37303 LIBS=$ac_check_lib_save_LIBS
37304 fi
37305 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37306 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37307 if test $ac_cv_lib_nsl_inet_addr = yes; then
37308 INET_LINK="nsl"
37309 else
37310
37311 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37312 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37313 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37314 echo $ECHO_N "(cached) $ECHO_C" >&6
37315 else
37316 ac_check_lib_save_LIBS=$LIBS
37317 LIBS="-lresolv $LIBS"
37318 cat >conftest.$ac_ext <<_ACEOF
37319 /* confdefs.h. */
37320 _ACEOF
37321 cat confdefs.h >>conftest.$ac_ext
37322 cat >>conftest.$ac_ext <<_ACEOF
37323 /* end confdefs.h. */
37324
37325 /* Override any gcc2 internal prototype to avoid an error. */
37326 #ifdef __cplusplus
37327 extern "C"
37328 #endif
37329 /* We use char because int might match the return type of a gcc2
37330 builtin and then its argument prototype would still apply. */
37331 char inet_addr ();
37332 int
37333 main ()
37334 {
37335 inet_addr ();
37336 ;
37337 return 0;
37338 }
37339 _ACEOF
37340 rm -f conftest.$ac_objext conftest$ac_exeext
37341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37342 (eval $ac_link) 2>conftest.er1
37343 ac_status=$?
37344 grep -v '^ *+' conftest.er1 >conftest.err
37345 rm -f conftest.er1
37346 cat conftest.err >&5
37347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37348 (exit $ac_status); } &&
37349 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37351 (eval $ac_try) 2>&5
37352 ac_status=$?
37353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354 (exit $ac_status); }; } &&
37355 { ac_try='test -s conftest$ac_exeext'
37356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357 (eval $ac_try) 2>&5
37358 ac_status=$?
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); }; }; then
37361 ac_cv_lib_resolv_inet_addr=yes
37362 else
37363 echo "$as_me: failed program was:" >&5
37364 sed 's/^/| /' conftest.$ac_ext >&5
37365
37366 ac_cv_lib_resolv_inet_addr=no
37367 fi
37368 rm -f conftest.err conftest.$ac_objext \
37369 conftest$ac_exeext conftest.$ac_ext
37370 LIBS=$ac_check_lib_save_LIBS
37371 fi
37372 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37373 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37374 if test $ac_cv_lib_resolv_inet_addr = yes; then
37375 INET_LINK="resolv"
37376 else
37377
37378 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37379 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37380 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37381 echo $ECHO_N "(cached) $ECHO_C" >&6
37382 else
37383 ac_check_lib_save_LIBS=$LIBS
37384 LIBS="-lsocket $LIBS"
37385 cat >conftest.$ac_ext <<_ACEOF
37386 /* confdefs.h. */
37387 _ACEOF
37388 cat confdefs.h >>conftest.$ac_ext
37389 cat >>conftest.$ac_ext <<_ACEOF
37390 /* end confdefs.h. */
37391
37392 /* Override any gcc2 internal prototype to avoid an error. */
37393 #ifdef __cplusplus
37394 extern "C"
37395 #endif
37396 /* We use char because int might match the return type of a gcc2
37397 builtin and then its argument prototype would still apply. */
37398 char inet_addr ();
37399 int
37400 main ()
37401 {
37402 inet_addr ();
37403 ;
37404 return 0;
37405 }
37406 _ACEOF
37407 rm -f conftest.$ac_objext conftest$ac_exeext
37408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37409 (eval $ac_link) 2>conftest.er1
37410 ac_status=$?
37411 grep -v '^ *+' conftest.er1 >conftest.err
37412 rm -f conftest.er1
37413 cat conftest.err >&5
37414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37415 (exit $ac_status); } &&
37416 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37418 (eval $ac_try) 2>&5
37419 ac_status=$?
37420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421 (exit $ac_status); }; } &&
37422 { ac_try='test -s conftest$ac_exeext'
37423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37424 (eval $ac_try) 2>&5
37425 ac_status=$?
37426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37427 (exit $ac_status); }; }; then
37428 ac_cv_lib_socket_inet_addr=yes
37429 else
37430 echo "$as_me: failed program was:" >&5
37431 sed 's/^/| /' conftest.$ac_ext >&5
37432
37433 ac_cv_lib_socket_inet_addr=no
37434 fi
37435 rm -f conftest.err conftest.$ac_objext \
37436 conftest$ac_exeext conftest.$ac_ext
37437 LIBS=$ac_check_lib_save_LIBS
37438 fi
37439 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37440 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37441 if test $ac_cv_lib_socket_inet_addr = yes; then
37442 INET_LINK="socket"
37443
37444 fi
37445
37446
37447
37448 fi
37449
37450
37451
37452 fi
37453
37454
37455
37456 fi
37457 done
37458
37459
37460
37461 for ac_func in inet_aton
37462 do
37463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37464 echo "$as_me:$LINENO: checking for $ac_func" >&5
37465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37466 if eval "test \"\${$as_ac_var+set}\" = set"; then
37467 echo $ECHO_N "(cached) $ECHO_C" >&6
37468 else
37469 cat >conftest.$ac_ext <<_ACEOF
37470 /* confdefs.h. */
37471 _ACEOF
37472 cat confdefs.h >>conftest.$ac_ext
37473 cat >>conftest.$ac_ext <<_ACEOF
37474 /* end confdefs.h. */
37475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37477 #define $ac_func innocuous_$ac_func
37478
37479 /* System header to define __stub macros and hopefully few prototypes,
37480 which can conflict with char $ac_func (); below.
37481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37482 <limits.h> exists even on freestanding compilers. */
37483
37484 #ifdef __STDC__
37485 # include <limits.h>
37486 #else
37487 # include <assert.h>
37488 #endif
37489
37490 #undef $ac_func
37491
37492 /* Override any gcc2 internal prototype to avoid an error. */
37493 #ifdef __cplusplus
37494 extern "C"
37495 {
37496 #endif
37497 /* We use char because int might match the return type of a gcc2
37498 builtin and then its argument prototype would still apply. */
37499 char $ac_func ();
37500 /* The GNU C library defines this for functions which it implements
37501 to always fail with ENOSYS. Some functions are actually named
37502 something starting with __ and the normal name is an alias. */
37503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37504 choke me
37505 #else
37506 char (*f) () = $ac_func;
37507 #endif
37508 #ifdef __cplusplus
37509 }
37510 #endif
37511
37512 int
37513 main ()
37514 {
37515 return f != $ac_func;
37516 ;
37517 return 0;
37518 }
37519 _ACEOF
37520 rm -f conftest.$ac_objext conftest$ac_exeext
37521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37522 (eval $ac_link) 2>conftest.er1
37523 ac_status=$?
37524 grep -v '^ *+' conftest.er1 >conftest.err
37525 rm -f conftest.er1
37526 cat conftest.err >&5
37527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528 (exit $ac_status); } &&
37529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37531 (eval $ac_try) 2>&5
37532 ac_status=$?
37533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37534 (exit $ac_status); }; } &&
37535 { ac_try='test -s conftest$ac_exeext'
37536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37537 (eval $ac_try) 2>&5
37538 ac_status=$?
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); }; }; then
37541 eval "$as_ac_var=yes"
37542 else
37543 echo "$as_me: failed program was:" >&5
37544 sed 's/^/| /' conftest.$ac_ext >&5
37545
37546 eval "$as_ac_var=no"
37547 fi
37548 rm -f conftest.err conftest.$ac_objext \
37549 conftest$ac_exeext conftest.$ac_ext
37550 fi
37551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37553 if test `eval echo '${'$as_ac_var'}'` = yes; then
37554 cat >>confdefs.h <<_ACEOF
37555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37556 _ACEOF
37557 cat >>confdefs.h <<\_ACEOF
37558 #define HAVE_INET_ATON 1
37559 _ACEOF
37560
37561 else
37562
37563 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37564 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37565 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37566 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37567 echo $ECHO_N "(cached) $ECHO_C" >&6
37568 else
37569 ac_check_lib_save_LIBS=$LIBS
37570 LIBS="-l$INET_LINK $LIBS"
37571 cat >conftest.$ac_ext <<_ACEOF
37572 /* confdefs.h. */
37573 _ACEOF
37574 cat confdefs.h >>conftest.$ac_ext
37575 cat >>conftest.$ac_ext <<_ACEOF
37576 /* end confdefs.h. */
37577
37578 /* Override any gcc2 internal prototype to avoid an error. */
37579 #ifdef __cplusplus
37580 extern "C"
37581 #endif
37582 /* We use char because int might match the return type of a gcc2
37583 builtin and then its argument prototype would still apply. */
37584 char inet_aton ();
37585 int
37586 main ()
37587 {
37588 inet_aton ();
37589 ;
37590 return 0;
37591 }
37592 _ACEOF
37593 rm -f conftest.$ac_objext conftest$ac_exeext
37594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37595 (eval $ac_link) 2>conftest.er1
37596 ac_status=$?
37597 grep -v '^ *+' conftest.er1 >conftest.err
37598 rm -f conftest.er1
37599 cat conftest.err >&5
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); } &&
37602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37604 (eval $ac_try) 2>&5
37605 ac_status=$?
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); }; } &&
37608 { ac_try='test -s conftest$ac_exeext'
37609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37610 (eval $ac_try) 2>&5
37611 ac_status=$?
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); }; }; then
37614 eval "$as_ac_Lib=yes"
37615 else
37616 echo "$as_me: failed program was:" >&5
37617 sed 's/^/| /' conftest.$ac_ext >&5
37618
37619 eval "$as_ac_Lib=no"
37620 fi
37621 rm -f conftest.err conftest.$ac_objext \
37622 conftest$ac_exeext conftest.$ac_ext
37623 LIBS=$ac_check_lib_save_LIBS
37624 fi
37625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37626 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37627 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37628 cat >>confdefs.h <<\_ACEOF
37629 #define HAVE_INET_ATON 1
37630 _ACEOF
37631
37632 fi
37633
37634
37635 fi
37636 done
37637
37638
37639 if test "x$INET_LINK" != "x"; then
37640 cat >>confdefs.h <<\_ACEOF
37641 #define HAVE_INET_ADDR 1
37642 _ACEOF
37643
37644 INET_LINK=" -l$INET_LINK"
37645 fi
37646
37647
37648 for wx_func in fdopen
37649 do
37650 echo "$as_me:$LINENO: checking for $wx_func" >&5
37651 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37652 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37653 echo $ECHO_N "(cached) $ECHO_C" >&6
37654 else
37655
37656 cat >conftest.$ac_ext <<_ACEOF
37657
37658 /* confdefs.h. */
37659 _ACEOF
37660 cat confdefs.h >>conftest.$ac_ext
37661 cat >>conftest.$ac_ext <<_ACEOF
37662 /* end confdefs.h. */
37663
37664
37665 $ac_includes_default
37666
37667 int
37668 main ()
37669 {
37670
37671 #ifndef $wx_func
37672 &$wx_func;
37673 #endif
37674
37675
37676 ;
37677 return 0;
37678 }
37679
37680 _ACEOF
37681 rm -f conftest.$ac_objext conftest$ac_exeext
37682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37683 (eval $ac_link) 2>conftest.er1
37684 ac_status=$?
37685 grep -v '^ *+' conftest.er1 >conftest.err
37686 rm -f conftest.er1
37687 cat conftest.err >&5
37688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689 (exit $ac_status); } &&
37690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37692 (eval $ac_try) 2>&5
37693 ac_status=$?
37694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695 (exit $ac_status); }; } &&
37696 { ac_try='test -s conftest$ac_exeext'
37697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37698 (eval $ac_try) 2>&5
37699 ac_status=$?
37700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701 (exit $ac_status); }; }; then
37702 eval wx_cv_func_$wx_func=yes
37703 else
37704 echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37706
37707 eval wx_cv_func_$wx_func=no
37708 fi
37709 rm -f conftest.err conftest.$ac_objext \
37710 conftest$ac_exeext conftest.$ac_ext
37711
37712 fi
37713 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37714 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37715
37716 if eval test \$wx_cv_func_$wx_func = yes
37717 then
37718 cat >>confdefs.h <<_ACEOF
37719 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37720 _ACEOF
37721
37722
37723 else
37724 :
37725
37726 fi
37727 done
37728
37729
37730 fi
37731
37732
37733
37734 cat >confcache <<\_ACEOF
37735 # This file is a shell script that caches the results of configure
37736 # tests run on this system so they can be shared between configure
37737 # scripts and configure runs, see configure's option --config-cache.
37738 # It is not useful on other systems. If it contains results you don't
37739 # want to keep, you may remove or edit it.
37740 #
37741 # config.status only pays attention to the cache file if you give it
37742 # the --recheck option to rerun configure.
37743 #
37744 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37745 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37746 # following values.
37747
37748 _ACEOF
37749
37750 # The following way of writing the cache mishandles newlines in values,
37751 # but we know of no workaround that is simple, portable, and efficient.
37752 # So, don't put newlines in cache variables' values.
37753 # Ultrix sh set writes to stderr and can't be redirected directly,
37754 # and sets the high bit in the cache file unless we assign to the vars.
37755 {
37756 (set) 2>&1 |
37757 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37758 *ac_space=\ *)
37759 # `set' does not quote correctly, so add quotes (double-quote
37760 # substitution turns \\\\ into \\, and sed turns \\ into \).
37761 sed -n \
37762 "s/'/'\\\\''/g;
37763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37764 ;;
37765 *)
37766 # `set' quotes correctly as required by POSIX, so do not add quotes.
37767 sed -n \
37768 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37769 ;;
37770 esac;
37771 } |
37772 sed '
37773 t clear
37774 : clear
37775 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37776 t end
37777 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37778 : end' >>confcache
37779 if diff $cache_file confcache >/dev/null 2>&1; then :; else
37780 if test -w $cache_file; then
37781 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37782 cat confcache >$cache_file
37783 else
37784 echo "not updating unwritable cache $cache_file"
37785 fi
37786 fi
37787 rm -f confcache
37788
37789
37790 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37791
37792
37793 THREADS_LINK=
37794 THREADS_CFLAGS=
37795
37796 if test "$wxUSE_THREADS" = "yes" ; then
37797 if test "$USE_BEOS" = 1; then
37798 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37799 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37800 wxUSE_THREADS="no"
37801 fi
37802 fi
37803
37804 if test "$wxUSE_THREADS" = "yes" ; then
37805
37806
37807 THREAD_OPTS="-pthread"
37808 if test "x$SUNCXX" = xyes; then
37809 THREAD_OPTS="-mt lthread $THREAD_OPTS"
37810 fi
37811
37812 case "${host}" in
37813 *-*-solaris2* | *-*-sunos4* )
37814 if test "x$GCC" = "xyes"; then
37815 THREAD_OPTS="-pthreads $THREAD_OPTS"
37816 fi
37817 ;;
37818 *-*-freebsd*)
37819 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37820 ;;
37821 *-*-darwin* | *-*-cygwin* )
37822 THREAD_OPTS=""
37823 ;;
37824 *-*-aix*)
37825 THREAD_OPTS="pthreads"
37826 ;;
37827 *-hp-hpux* )
37828 if test "x$GCC" = "xyes"; then
37829 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37830 THREAD_OPTS=""
37831 else
37832 THREAD_OPTS="-mt"
37833 fi
37834 ;;
37835
37836 *-*-irix* )
37837 if test "x$GCC" = "xyes"; then
37838 THREAD_OPTS=""
37839 fi
37840 ;;
37841
37842 *-*-*UnixWare*)
37843 if test "x$GCC" != "xyes"; then
37844 THREAD_OPTS="-Ethread"
37845 fi
37846 ;;
37847 esac
37848
37849 THREAD_OPTS="$THREAD_OPTS pthread none"
37850
37851 THREADS_OK=no
37852 for flag in $THREAD_OPTS; do
37853 case $flag in
37854 none)
37855 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37856 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37857 ;;
37858
37859 -*)
37860 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37861 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37862 THREADS_CFLAGS="$flag"
37863 ;;
37864
37865 *)
37866 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37867 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37868 THREADS_LINK="-l$flag"
37869 ;;
37870 esac
37871
37872 save_LIBS="$LIBS"
37873 save_CFLAGS="$CFLAGS"
37874 LIBS="$THREADS_LINK $LIBS"
37875 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37876
37877 cat >conftest.$ac_ext <<_ACEOF
37878 /* confdefs.h. */
37879 _ACEOF
37880 cat confdefs.h >>conftest.$ac_ext
37881 cat >>conftest.$ac_ext <<_ACEOF
37882 /* end confdefs.h. */
37883 #include <pthread.h>
37884 int
37885 main ()
37886 {
37887 pthread_create(0,0,0,0);
37888 ;
37889 return 0;
37890 }
37891 _ACEOF
37892 rm -f conftest.$ac_objext conftest$ac_exeext
37893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37894 (eval $ac_link) 2>conftest.er1
37895 ac_status=$?
37896 grep -v '^ *+' conftest.er1 >conftest.err
37897 rm -f conftest.er1
37898 cat conftest.err >&5
37899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37900 (exit $ac_status); } &&
37901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37903 (eval $ac_try) 2>&5
37904 ac_status=$?
37905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37906 (exit $ac_status); }; } &&
37907 { ac_try='test -s conftest$ac_exeext'
37908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37909 (eval $ac_try) 2>&5
37910 ac_status=$?
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); }; }; then
37913 THREADS_OK=yes
37914 else
37915 echo "$as_me: failed program was:" >&5
37916 sed 's/^/| /' conftest.$ac_ext >&5
37917
37918 fi
37919 rm -f conftest.err conftest.$ac_objext \
37920 conftest$ac_exeext conftest.$ac_ext
37921
37922 LIBS="$save_LIBS"
37923 CFLAGS="$save_CFLAGS"
37924
37925 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37926 echo "${ECHO_T}$THREADS_OK" >&6
37927 if test "x$THREADS_OK" = "xyes"; then
37928 break;
37929 fi
37930
37931 THREADS_LINK=""
37932 THREADS_CFLAGS=""
37933 done
37934
37935 if test "x$THREADS_OK" != "xyes"; then
37936 wxUSE_THREADS=no
37937 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37938 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37939 else
37940 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37941 LIBS="$THREADS_LINK $LIBS"
37942
37943 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37944 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37945 flag=no
37946 case "${host}" in
37947 *-aix*)
37948 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37949 flag="-D_THREAD_SAFE"
37950 ;;
37951 *-freebsd*)
37952 flag="-D_THREAD_SAFE"
37953 ;;
37954 *-hp-hpux* )
37955 flag="-D_REENTRANT"
37956 if test "x$GCC" != "xyes"; then
37957 flag="$flag -D_RWSTD_MULTI_THREAD"
37958 fi
37959 ;;
37960 *solaris* | alpha*-osf*)
37961 flag="-D_REENTRANT"
37962 ;;
37963 esac
37964 echo "$as_me:$LINENO: result: ${flag}" >&5
37965 echo "${ECHO_T}${flag}" >&6
37966 if test "x$flag" != xno; then
37967 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37968 fi
37969
37970 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37971 fi
37972 fi
37973
37974 if test "$wxUSE_THREADS" = "yes" ; then
37975
37976 for ac_func in thr_setconcurrency
37977 do
37978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37979 echo "$as_me:$LINENO: checking for $ac_func" >&5
37980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37981 if eval "test \"\${$as_ac_var+set}\" = set"; then
37982 echo $ECHO_N "(cached) $ECHO_C" >&6
37983 else
37984 cat >conftest.$ac_ext <<_ACEOF
37985 /* confdefs.h. */
37986 _ACEOF
37987 cat confdefs.h >>conftest.$ac_ext
37988 cat >>conftest.$ac_ext <<_ACEOF
37989 /* end confdefs.h. */
37990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37992 #define $ac_func innocuous_$ac_func
37993
37994 /* System header to define __stub macros and hopefully few prototypes,
37995 which can conflict with char $ac_func (); below.
37996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37997 <limits.h> exists even on freestanding compilers. */
37998
37999 #ifdef __STDC__
38000 # include <limits.h>
38001 #else
38002 # include <assert.h>
38003 #endif
38004
38005 #undef $ac_func
38006
38007 /* Override any gcc2 internal prototype to avoid an error. */
38008 #ifdef __cplusplus
38009 extern "C"
38010 {
38011 #endif
38012 /* We use char because int might match the return type of a gcc2
38013 builtin and then its argument prototype would still apply. */
38014 char $ac_func ();
38015 /* The GNU C library defines this for functions which it implements
38016 to always fail with ENOSYS. Some functions are actually named
38017 something starting with __ and the normal name is an alias. */
38018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38019 choke me
38020 #else
38021 char (*f) () = $ac_func;
38022 #endif
38023 #ifdef __cplusplus
38024 }
38025 #endif
38026
38027 int
38028 main ()
38029 {
38030 return f != $ac_func;
38031 ;
38032 return 0;
38033 }
38034 _ACEOF
38035 rm -f conftest.$ac_objext conftest$ac_exeext
38036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38037 (eval $ac_link) 2>conftest.er1
38038 ac_status=$?
38039 grep -v '^ *+' conftest.er1 >conftest.err
38040 rm -f conftest.er1
38041 cat conftest.err >&5
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); } &&
38044 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38046 (eval $ac_try) 2>&5
38047 ac_status=$?
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); }; } &&
38050 { ac_try='test -s conftest$ac_exeext'
38051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38052 (eval $ac_try) 2>&5
38053 ac_status=$?
38054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38055 (exit $ac_status); }; }; then
38056 eval "$as_ac_var=yes"
38057 else
38058 echo "$as_me: failed program was:" >&5
38059 sed 's/^/| /' conftest.$ac_ext >&5
38060
38061 eval "$as_ac_var=no"
38062 fi
38063 rm -f conftest.err conftest.$ac_objext \
38064 conftest$ac_exeext conftest.$ac_ext
38065 fi
38066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38068 if test `eval echo '${'$as_ac_var'}'` = yes; then
38069 cat >>confdefs.h <<_ACEOF
38070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38071 _ACEOF
38072
38073 fi
38074 done
38075
38076
38077 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38078 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38079 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38080 echo $ECHO_N "(cached) $ECHO_C" >&6
38081 else
38082
38083 ac_ext=cc
38084 ac_cpp='$CXXCPP $CPPFLAGS'
38085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38088
38089 cat >conftest.$ac_ext <<_ACEOF
38090 /* confdefs.h. */
38091 _ACEOF
38092 cat confdefs.h >>conftest.$ac_ext
38093 cat >>conftest.$ac_ext <<_ACEOF
38094 /* end confdefs.h. */
38095 #include <pthread.h>
38096 void ThreadCleanupFunc(void *p);
38097
38098 int
38099 main ()
38100 {
38101
38102 void *p;
38103 pthread_cleanup_push(ThreadCleanupFunc, p);
38104 pthread_cleanup_pop(0);
38105
38106 ;
38107 return 0;
38108 }
38109 _ACEOF
38110 rm -f conftest.$ac_objext
38111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38112 (eval $ac_compile) 2>conftest.er1
38113 ac_status=$?
38114 grep -v '^ *+' conftest.er1 >conftest.err
38115 rm -f conftest.er1
38116 cat conftest.err >&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); } &&
38119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38121 (eval $ac_try) 2>&5
38122 ac_status=$?
38123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124 (exit $ac_status); }; } &&
38125 { ac_try='test -s conftest.$ac_objext'
38126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38127 (eval $ac_try) 2>&5
38128 ac_status=$?
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); }; }; then
38131
38132 wx_cv_func_pthread_cleanup=yes
38133
38134 else
38135 echo "$as_me: failed program was:" >&5
38136 sed 's/^/| /' conftest.$ac_ext >&5
38137
38138
38139 wx_cv_func_pthread_cleanup=no
38140
38141
38142 fi
38143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38144 ac_ext=c
38145 ac_cpp='$CPP $CPPFLAGS'
38146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38149
38150
38151 fi
38152 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38153 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38154 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38155 cat >>confdefs.h <<\_ACEOF
38156 #define wxHAVE_PTHREAD_CLEANUP 1
38157 _ACEOF
38158
38159 fi
38160
38161 echo "$as_me:$LINENO: checking for sched.h" >&5
38162 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6
38163 if test "${ac_cv_header_sched_h+set}" = set; then
38164 echo $ECHO_N "(cached) $ECHO_C" >&6
38165 else
38166 cat >conftest.$ac_ext <<_ACEOF
38167 /* confdefs.h. */
38168 _ACEOF
38169 cat confdefs.h >>conftest.$ac_ext
38170 cat >>conftest.$ac_ext <<_ACEOF
38171 /* end confdefs.h. */
38172 $ac_includes_default
38173
38174 #include <sched.h>
38175 _ACEOF
38176 rm -f conftest.$ac_objext
38177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38178 (eval $ac_compile) 2>conftest.er1
38179 ac_status=$?
38180 grep -v '^ *+' conftest.er1 >conftest.err
38181 rm -f conftest.er1
38182 cat conftest.err >&5
38183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38184 (exit $ac_status); } &&
38185 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38187 (eval $ac_try) 2>&5
38188 ac_status=$?
38189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38190 (exit $ac_status); }; } &&
38191 { ac_try='test -s conftest.$ac_objext'
38192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38193 (eval $ac_try) 2>&5
38194 ac_status=$?
38195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196 (exit $ac_status); }; }; then
38197 ac_cv_header_sched_h=yes
38198 else
38199 echo "$as_me: failed program was:" >&5
38200 sed 's/^/| /' conftest.$ac_ext >&5
38201
38202 ac_cv_header_sched_h=no
38203 fi
38204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38205 fi
38206 echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38207 echo "${ECHO_T}$ac_cv_header_sched_h" >&6
38208
38209
38210 if test "$ac_cv_header_sched_h" = "yes"; then
38211 echo "$as_me:$LINENO: checking for sched_yield" >&5
38212 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
38213 if test "${ac_cv_func_sched_yield+set}" = set; then
38214 echo $ECHO_N "(cached) $ECHO_C" >&6
38215 else
38216 cat >conftest.$ac_ext <<_ACEOF
38217 /* confdefs.h. */
38218 _ACEOF
38219 cat confdefs.h >>conftest.$ac_ext
38220 cat >>conftest.$ac_ext <<_ACEOF
38221 /* end confdefs.h. */
38222 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38224 #define sched_yield innocuous_sched_yield
38225
38226 /* System header to define __stub macros and hopefully few prototypes,
38227 which can conflict with char sched_yield (); below.
38228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38229 <limits.h> exists even on freestanding compilers. */
38230
38231 #ifdef __STDC__
38232 # include <limits.h>
38233 #else
38234 # include <assert.h>
38235 #endif
38236
38237 #undef sched_yield
38238
38239 /* Override any gcc2 internal prototype to avoid an error. */
38240 #ifdef __cplusplus
38241 extern "C"
38242 {
38243 #endif
38244 /* We use char because int might match the return type of a gcc2
38245 builtin and then its argument prototype would still apply. */
38246 char sched_yield ();
38247 /* The GNU C library defines this for functions which it implements
38248 to always fail with ENOSYS. Some functions are actually named
38249 something starting with __ and the normal name is an alias. */
38250 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
38251 choke me
38252 #else
38253 char (*f) () = sched_yield;
38254 #endif
38255 #ifdef __cplusplus
38256 }
38257 #endif
38258
38259 int
38260 main ()
38261 {
38262 return f != sched_yield;
38263 ;
38264 return 0;
38265 }
38266 _ACEOF
38267 rm -f conftest.$ac_objext conftest$ac_exeext
38268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38269 (eval $ac_link) 2>conftest.er1
38270 ac_status=$?
38271 grep -v '^ *+' conftest.er1 >conftest.err
38272 rm -f conftest.er1
38273 cat conftest.err >&5
38274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38275 (exit $ac_status); } &&
38276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38278 (eval $ac_try) 2>&5
38279 ac_status=$?
38280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38281 (exit $ac_status); }; } &&
38282 { ac_try='test -s conftest$ac_exeext'
38283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38284 (eval $ac_try) 2>&5
38285 ac_status=$?
38286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38287 (exit $ac_status); }; }; then
38288 ac_cv_func_sched_yield=yes
38289 else
38290 echo "$as_me: failed program was:" >&5
38291 sed 's/^/| /' conftest.$ac_ext >&5
38292
38293 ac_cv_func_sched_yield=no
38294 fi
38295 rm -f conftest.err conftest.$ac_objext \
38296 conftest$ac_exeext conftest.$ac_ext
38297 fi
38298 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38299 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38300 if test $ac_cv_func_sched_yield = yes; then
38301 cat >>confdefs.h <<\_ACEOF
38302 #define HAVE_SCHED_YIELD 1
38303 _ACEOF
38304
38305 else
38306
38307 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38308 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38309 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38310 echo $ECHO_N "(cached) $ECHO_C" >&6
38311 else
38312 ac_check_lib_save_LIBS=$LIBS
38313 LIBS="-lposix4 $LIBS"
38314 cat >conftest.$ac_ext <<_ACEOF
38315 /* confdefs.h. */
38316 _ACEOF
38317 cat confdefs.h >>conftest.$ac_ext
38318 cat >>conftest.$ac_ext <<_ACEOF
38319 /* end confdefs.h. */
38320
38321 /* Override any gcc2 internal prototype to avoid an error. */
38322 #ifdef __cplusplus
38323 extern "C"
38324 #endif
38325 /* We use char because int might match the return type of a gcc2
38326 builtin and then its argument prototype would still apply. */
38327 char sched_yield ();
38328 int
38329 main ()
38330 {
38331 sched_yield ();
38332 ;
38333 return 0;
38334 }
38335 _ACEOF
38336 rm -f conftest.$ac_objext conftest$ac_exeext
38337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38338 (eval $ac_link) 2>conftest.er1
38339 ac_status=$?
38340 grep -v '^ *+' conftest.er1 >conftest.err
38341 rm -f conftest.er1
38342 cat conftest.err >&5
38343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38344 (exit $ac_status); } &&
38345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38347 (eval $ac_try) 2>&5
38348 ac_status=$?
38349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350 (exit $ac_status); }; } &&
38351 { ac_try='test -s conftest$ac_exeext'
38352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38353 (eval $ac_try) 2>&5
38354 ac_status=$?
38355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38356 (exit $ac_status); }; }; then
38357 ac_cv_lib_posix4_sched_yield=yes
38358 else
38359 echo "$as_me: failed program was:" >&5
38360 sed 's/^/| /' conftest.$ac_ext >&5
38361
38362 ac_cv_lib_posix4_sched_yield=no
38363 fi
38364 rm -f conftest.err conftest.$ac_objext \
38365 conftest$ac_exeext conftest.$ac_ext
38366 LIBS=$ac_check_lib_save_LIBS
38367 fi
38368 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38369 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38370 if test $ac_cv_lib_posix4_sched_yield = yes; then
38371 cat >>confdefs.h <<\_ACEOF
38372 #define HAVE_SCHED_YIELD 1
38373 _ACEOF
38374 POSIX4_LINK=" -lposix4"
38375 else
38376 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38377 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38378
38379 fi
38380
38381
38382
38383 fi
38384
38385 fi
38386
38387 HAVE_PRIOR_FUNCS=0
38388 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38389 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38390 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38392 else
38393 cat >conftest.$ac_ext <<_ACEOF
38394 /* confdefs.h. */
38395 _ACEOF
38396 cat confdefs.h >>conftest.$ac_ext
38397 cat >>conftest.$ac_ext <<_ACEOF
38398 /* end confdefs.h. */
38399 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38401 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38402
38403 /* System header to define __stub macros and hopefully few prototypes,
38404 which can conflict with char pthread_attr_getschedpolicy (); below.
38405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38406 <limits.h> exists even on freestanding compilers. */
38407
38408 #ifdef __STDC__
38409 # include <limits.h>
38410 #else
38411 # include <assert.h>
38412 #endif
38413
38414 #undef pthread_attr_getschedpolicy
38415
38416 /* Override any gcc2 internal prototype to avoid an error. */
38417 #ifdef __cplusplus
38418 extern "C"
38419 {
38420 #endif
38421 /* We use char because int might match the return type of a gcc2
38422 builtin and then its argument prototype would still apply. */
38423 char pthread_attr_getschedpolicy ();
38424 /* The GNU C library defines this for functions which it implements
38425 to always fail with ENOSYS. Some functions are actually named
38426 something starting with __ and the normal name is an alias. */
38427 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38428 choke me
38429 #else
38430 char (*f) () = pthread_attr_getschedpolicy;
38431 #endif
38432 #ifdef __cplusplus
38433 }
38434 #endif
38435
38436 int
38437 main ()
38438 {
38439 return f != pthread_attr_getschedpolicy;
38440 ;
38441 return 0;
38442 }
38443 _ACEOF
38444 rm -f conftest.$ac_objext conftest$ac_exeext
38445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38446 (eval $ac_link) 2>conftest.er1
38447 ac_status=$?
38448 grep -v '^ *+' conftest.er1 >conftest.err
38449 rm -f conftest.er1
38450 cat conftest.err >&5
38451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38452 (exit $ac_status); } &&
38453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38455 (eval $ac_try) 2>&5
38456 ac_status=$?
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); }; } &&
38459 { ac_try='test -s conftest$ac_exeext'
38460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38461 (eval $ac_try) 2>&5
38462 ac_status=$?
38463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38464 (exit $ac_status); }; }; then
38465 ac_cv_func_pthread_attr_getschedpolicy=yes
38466 else
38467 echo "$as_me: failed program was:" >&5
38468 sed 's/^/| /' conftest.$ac_ext >&5
38469
38470 ac_cv_func_pthread_attr_getschedpolicy=no
38471 fi
38472 rm -f conftest.err conftest.$ac_objext \
38473 conftest$ac_exeext conftest.$ac_ext
38474 fi
38475 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38476 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38477 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38478 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38479 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38480 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38481 echo $ECHO_N "(cached) $ECHO_C" >&6
38482 else
38483 cat >conftest.$ac_ext <<_ACEOF
38484 /* confdefs.h. */
38485 _ACEOF
38486 cat confdefs.h >>conftest.$ac_ext
38487 cat >>conftest.$ac_ext <<_ACEOF
38488 /* end confdefs.h. */
38489 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38491 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38492
38493 /* System header to define __stub macros and hopefully few prototypes,
38494 which can conflict with char pthread_attr_setschedparam (); below.
38495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38496 <limits.h> exists even on freestanding compilers. */
38497
38498 #ifdef __STDC__
38499 # include <limits.h>
38500 #else
38501 # include <assert.h>
38502 #endif
38503
38504 #undef pthread_attr_setschedparam
38505
38506 /* Override any gcc2 internal prototype to avoid an error. */
38507 #ifdef __cplusplus
38508 extern "C"
38509 {
38510 #endif
38511 /* We use char because int might match the return type of a gcc2
38512 builtin and then its argument prototype would still apply. */
38513 char pthread_attr_setschedparam ();
38514 /* The GNU C library defines this for functions which it implements
38515 to always fail with ENOSYS. Some functions are actually named
38516 something starting with __ and the normal name is an alias. */
38517 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38518 choke me
38519 #else
38520 char (*f) () = pthread_attr_setschedparam;
38521 #endif
38522 #ifdef __cplusplus
38523 }
38524 #endif
38525
38526 int
38527 main ()
38528 {
38529 return f != pthread_attr_setschedparam;
38530 ;
38531 return 0;
38532 }
38533 _ACEOF
38534 rm -f conftest.$ac_objext conftest$ac_exeext
38535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38536 (eval $ac_link) 2>conftest.er1
38537 ac_status=$?
38538 grep -v '^ *+' conftest.er1 >conftest.err
38539 rm -f conftest.er1
38540 cat conftest.err >&5
38541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38542 (exit $ac_status); } &&
38543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38545 (eval $ac_try) 2>&5
38546 ac_status=$?
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); }; } &&
38549 { ac_try='test -s conftest$ac_exeext'
38550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38551 (eval $ac_try) 2>&5
38552 ac_status=$?
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); }; }; then
38555 ac_cv_func_pthread_attr_setschedparam=yes
38556 else
38557 echo "$as_me: failed program was:" >&5
38558 sed 's/^/| /' conftest.$ac_ext >&5
38559
38560 ac_cv_func_pthread_attr_setschedparam=no
38561 fi
38562 rm -f conftest.err conftest.$ac_objext \
38563 conftest$ac_exeext conftest.$ac_ext
38564 fi
38565 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38566 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38567 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38568 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38569 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38570 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38571 echo $ECHO_N "(cached) $ECHO_C" >&6
38572 else
38573 cat >conftest.$ac_ext <<_ACEOF
38574 /* confdefs.h. */
38575 _ACEOF
38576 cat confdefs.h >>conftest.$ac_ext
38577 cat >>conftest.$ac_ext <<_ACEOF
38578 /* end confdefs.h. */
38579 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38581 #define sched_get_priority_max innocuous_sched_get_priority_max
38582
38583 /* System header to define __stub macros and hopefully few prototypes,
38584 which can conflict with char sched_get_priority_max (); below.
38585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38586 <limits.h> exists even on freestanding compilers. */
38587
38588 #ifdef __STDC__
38589 # include <limits.h>
38590 #else
38591 # include <assert.h>
38592 #endif
38593
38594 #undef sched_get_priority_max
38595
38596 /* Override any gcc2 internal prototype to avoid an error. */
38597 #ifdef __cplusplus
38598 extern "C"
38599 {
38600 #endif
38601 /* We use char because int might match the return type of a gcc2
38602 builtin and then its argument prototype would still apply. */
38603 char sched_get_priority_max ();
38604 /* The GNU C library defines this for functions which it implements
38605 to always fail with ENOSYS. Some functions are actually named
38606 something starting with __ and the normal name is an alias. */
38607 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38608 choke me
38609 #else
38610 char (*f) () = sched_get_priority_max;
38611 #endif
38612 #ifdef __cplusplus
38613 }
38614 #endif
38615
38616 int
38617 main ()
38618 {
38619 return f != sched_get_priority_max;
38620 ;
38621 return 0;
38622 }
38623 _ACEOF
38624 rm -f conftest.$ac_objext conftest$ac_exeext
38625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38626 (eval $ac_link) 2>conftest.er1
38627 ac_status=$?
38628 grep -v '^ *+' conftest.er1 >conftest.err
38629 rm -f conftest.er1
38630 cat conftest.err >&5
38631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38632 (exit $ac_status); } &&
38633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38635 (eval $ac_try) 2>&5
38636 ac_status=$?
38637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38638 (exit $ac_status); }; } &&
38639 { ac_try='test -s conftest$ac_exeext'
38640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38641 (eval $ac_try) 2>&5
38642 ac_status=$?
38643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38644 (exit $ac_status); }; }; then
38645 ac_cv_func_sched_get_priority_max=yes
38646 else
38647 echo "$as_me: failed program was:" >&5
38648 sed 's/^/| /' conftest.$ac_ext >&5
38649
38650 ac_cv_func_sched_get_priority_max=no
38651 fi
38652 rm -f conftest.err conftest.$ac_objext \
38653 conftest$ac_exeext conftest.$ac_ext
38654 fi
38655 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38656 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38657 if test $ac_cv_func_sched_get_priority_max = yes; then
38658 HAVE_PRIOR_FUNCS=1
38659 else
38660 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38661 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38662 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38663 echo $ECHO_N "(cached) $ECHO_C" >&6
38664 else
38665 ac_check_lib_save_LIBS=$LIBS
38666 LIBS="-lposix4 $LIBS"
38667 cat >conftest.$ac_ext <<_ACEOF
38668 /* confdefs.h. */
38669 _ACEOF
38670 cat confdefs.h >>conftest.$ac_ext
38671 cat >>conftest.$ac_ext <<_ACEOF
38672 /* end confdefs.h. */
38673
38674 /* Override any gcc2 internal prototype to avoid an error. */
38675 #ifdef __cplusplus
38676 extern "C"
38677 #endif
38678 /* We use char because int might match the return type of a gcc2
38679 builtin and then its argument prototype would still apply. */
38680 char sched_get_priority_max ();
38681 int
38682 main ()
38683 {
38684 sched_get_priority_max ();
38685 ;
38686 return 0;
38687 }
38688 _ACEOF
38689 rm -f conftest.$ac_objext conftest$ac_exeext
38690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38691 (eval $ac_link) 2>conftest.er1
38692 ac_status=$?
38693 grep -v '^ *+' conftest.er1 >conftest.err
38694 rm -f conftest.er1
38695 cat conftest.err >&5
38696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38697 (exit $ac_status); } &&
38698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38700 (eval $ac_try) 2>&5
38701 ac_status=$?
38702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38703 (exit $ac_status); }; } &&
38704 { ac_try='test -s conftest$ac_exeext'
38705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38706 (eval $ac_try) 2>&5
38707 ac_status=$?
38708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38709 (exit $ac_status); }; }; then
38710 ac_cv_lib_posix4_sched_get_priority_max=yes
38711 else
38712 echo "$as_me: failed program was:" >&5
38713 sed 's/^/| /' conftest.$ac_ext >&5
38714
38715 ac_cv_lib_posix4_sched_get_priority_max=no
38716 fi
38717 rm -f conftest.err conftest.$ac_objext \
38718 conftest$ac_exeext conftest.$ac_ext
38719 LIBS=$ac_check_lib_save_LIBS
38720 fi
38721 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38722 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38723 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38724
38725 HAVE_PRIOR_FUNCS=1
38726 POSIX4_LINK=" -lposix4"
38727
38728 fi
38729
38730
38731 fi
38732
38733
38734 fi
38735
38736
38737 fi
38738
38739
38740 if test "$HAVE_PRIOR_FUNCS" = 1; then
38741 cat >>confdefs.h <<\_ACEOF
38742 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38743 _ACEOF
38744
38745 else
38746 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38747 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38748 fi
38749
38750 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38751 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38752 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38753 echo $ECHO_N "(cached) $ECHO_C" >&6
38754 else
38755 cat >conftest.$ac_ext <<_ACEOF
38756 /* confdefs.h. */
38757 _ACEOF
38758 cat confdefs.h >>conftest.$ac_ext
38759 cat >>conftest.$ac_ext <<_ACEOF
38760 /* end confdefs.h. */
38761 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38763 #define pthread_cancel innocuous_pthread_cancel
38764
38765 /* System header to define __stub macros and hopefully few prototypes,
38766 which can conflict with char pthread_cancel (); below.
38767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38768 <limits.h> exists even on freestanding compilers. */
38769
38770 #ifdef __STDC__
38771 # include <limits.h>
38772 #else
38773 # include <assert.h>
38774 #endif
38775
38776 #undef pthread_cancel
38777
38778 /* Override any gcc2 internal prototype to avoid an error. */
38779 #ifdef __cplusplus
38780 extern "C"
38781 {
38782 #endif
38783 /* We use char because int might match the return type of a gcc2
38784 builtin and then its argument prototype would still apply. */
38785 char pthread_cancel ();
38786 /* The GNU C library defines this for functions which it implements
38787 to always fail with ENOSYS. Some functions are actually named
38788 something starting with __ and the normal name is an alias. */
38789 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38790 choke me
38791 #else
38792 char (*f) () = pthread_cancel;
38793 #endif
38794 #ifdef __cplusplus
38795 }
38796 #endif
38797
38798 int
38799 main ()
38800 {
38801 return f != pthread_cancel;
38802 ;
38803 return 0;
38804 }
38805 _ACEOF
38806 rm -f conftest.$ac_objext conftest$ac_exeext
38807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38808 (eval $ac_link) 2>conftest.er1
38809 ac_status=$?
38810 grep -v '^ *+' conftest.er1 >conftest.err
38811 rm -f conftest.er1
38812 cat conftest.err >&5
38813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814 (exit $ac_status); } &&
38815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38817 (eval $ac_try) 2>&5
38818 ac_status=$?
38819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820 (exit $ac_status); }; } &&
38821 { ac_try='test -s conftest$ac_exeext'
38822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38823 (eval $ac_try) 2>&5
38824 ac_status=$?
38825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38826 (exit $ac_status); }; }; then
38827 ac_cv_func_pthread_cancel=yes
38828 else
38829 echo "$as_me: failed program was:" >&5
38830 sed 's/^/| /' conftest.$ac_ext >&5
38831
38832 ac_cv_func_pthread_cancel=no
38833 fi
38834 rm -f conftest.err conftest.$ac_objext \
38835 conftest$ac_exeext conftest.$ac_ext
38836 fi
38837 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38838 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38839 if test $ac_cv_func_pthread_cancel = yes; then
38840 cat >>confdefs.h <<\_ACEOF
38841 #define HAVE_PTHREAD_CANCEL 1
38842 _ACEOF
38843
38844 else
38845 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38846 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38847 fi
38848
38849
38850 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38851 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
38852 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38853 echo $ECHO_N "(cached) $ECHO_C" >&6
38854 else
38855 cat >conftest.$ac_ext <<_ACEOF
38856 /* confdefs.h. */
38857 _ACEOF
38858 cat confdefs.h >>conftest.$ac_ext
38859 cat >>conftest.$ac_ext <<_ACEOF
38860 /* end confdefs.h. */
38861 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38863 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38864
38865 /* System header to define __stub macros and hopefully few prototypes,
38866 which can conflict with char pthread_mutex_timedlock (); below.
38867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38868 <limits.h> exists even on freestanding compilers. */
38869
38870 #ifdef __STDC__
38871 # include <limits.h>
38872 #else
38873 # include <assert.h>
38874 #endif
38875
38876 #undef pthread_mutex_timedlock
38877
38878 /* Override any gcc2 internal prototype to avoid an error. */
38879 #ifdef __cplusplus
38880 extern "C"
38881 {
38882 #endif
38883 /* We use char because int might match the return type of a gcc2
38884 builtin and then its argument prototype would still apply. */
38885 char pthread_mutex_timedlock ();
38886 /* The GNU C library defines this for functions which it implements
38887 to always fail with ENOSYS. Some functions are actually named
38888 something starting with __ and the normal name is an alias. */
38889 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
38890 choke me
38891 #else
38892 char (*f) () = pthread_mutex_timedlock;
38893 #endif
38894 #ifdef __cplusplus
38895 }
38896 #endif
38897
38898 int
38899 main ()
38900 {
38901 return f != pthread_mutex_timedlock;
38902 ;
38903 return 0;
38904 }
38905 _ACEOF
38906 rm -f conftest.$ac_objext conftest$ac_exeext
38907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38908 (eval $ac_link) 2>conftest.er1
38909 ac_status=$?
38910 grep -v '^ *+' conftest.er1 >conftest.err
38911 rm -f conftest.er1
38912 cat conftest.err >&5
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); } &&
38915 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38917 (eval $ac_try) 2>&5
38918 ac_status=$?
38919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920 (exit $ac_status); }; } &&
38921 { ac_try='test -s conftest$ac_exeext'
38922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38923 (eval $ac_try) 2>&5
38924 ac_status=$?
38925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38926 (exit $ac_status); }; }; then
38927 ac_cv_func_pthread_mutex_timedlock=yes
38928 else
38929 echo "$as_me: failed program was:" >&5
38930 sed 's/^/| /' conftest.$ac_ext >&5
38931
38932 ac_cv_func_pthread_mutex_timedlock=no
38933 fi
38934 rm -f conftest.err conftest.$ac_objext \
38935 conftest$ac_exeext conftest.$ac_ext
38936 fi
38937 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38938 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
38939 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38940 cat >>confdefs.h <<\_ACEOF
38941 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38942 _ACEOF
38943
38944 else
38945 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38946 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38947 fi
38948
38949
38950 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38951 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38952 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38953 echo $ECHO_N "(cached) $ECHO_C" >&6
38954 else
38955 cat >conftest.$ac_ext <<_ACEOF
38956 /* confdefs.h. */
38957 _ACEOF
38958 cat confdefs.h >>conftest.$ac_ext
38959 cat >>conftest.$ac_ext <<_ACEOF
38960 /* end confdefs.h. */
38961 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38963 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38964
38965 /* System header to define __stub macros and hopefully few prototypes,
38966 which can conflict with char pthread_attr_setstacksize (); below.
38967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38968 <limits.h> exists even on freestanding compilers. */
38969
38970 #ifdef __STDC__
38971 # include <limits.h>
38972 #else
38973 # include <assert.h>
38974 #endif
38975
38976 #undef pthread_attr_setstacksize
38977
38978 /* Override any gcc2 internal prototype to avoid an error. */
38979 #ifdef __cplusplus
38980 extern "C"
38981 {
38982 #endif
38983 /* We use char because int might match the return type of a gcc2
38984 builtin and then its argument prototype would still apply. */
38985 char pthread_attr_setstacksize ();
38986 /* The GNU C library defines this for functions which it implements
38987 to always fail with ENOSYS. Some functions are actually named
38988 something starting with __ and the normal name is an alias. */
38989 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38990 choke me
38991 #else
38992 char (*f) () = pthread_attr_setstacksize;
38993 #endif
38994 #ifdef __cplusplus
38995 }
38996 #endif
38997
38998 int
38999 main ()
39000 {
39001 return f != pthread_attr_setstacksize;
39002 ;
39003 return 0;
39004 }
39005 _ACEOF
39006 rm -f conftest.$ac_objext conftest$ac_exeext
39007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39008 (eval $ac_link) 2>conftest.er1
39009 ac_status=$?
39010 grep -v '^ *+' conftest.er1 >conftest.err
39011 rm -f conftest.er1
39012 cat conftest.err >&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); } &&
39015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39017 (eval $ac_try) 2>&5
39018 ac_status=$?
39019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020 (exit $ac_status); }; } &&
39021 { ac_try='test -s conftest$ac_exeext'
39022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39023 (eval $ac_try) 2>&5
39024 ac_status=$?
39025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39026 (exit $ac_status); }; }; then
39027 ac_cv_func_pthread_attr_setstacksize=yes
39028 else
39029 echo "$as_me: failed program was:" >&5
39030 sed 's/^/| /' conftest.$ac_ext >&5
39031
39032 ac_cv_func_pthread_attr_setstacksize=no
39033 fi
39034 rm -f conftest.err conftest.$ac_objext \
39035 conftest$ac_exeext conftest.$ac_ext
39036 fi
39037 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39038 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39039 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39040 cat >>confdefs.h <<\_ACEOF
39041 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39042 _ACEOF
39043
39044 fi
39045
39046
39047
39048 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39049 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39050 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39051 echo $ECHO_N "(cached) $ECHO_C" >&6
39052 else
39053
39054 cat >conftest.$ac_ext <<_ACEOF
39055 /* confdefs.h. */
39056 _ACEOF
39057 cat confdefs.h >>conftest.$ac_ext
39058 cat >>conftest.$ac_ext <<_ACEOF
39059 /* end confdefs.h. */
39060 #include <pthread.h>
39061 int
39062 main ()
39063 {
39064
39065 pthread_mutexattr_t attr;
39066 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39067
39068 ;
39069 return 0;
39070 }
39071 _ACEOF
39072 rm -f conftest.$ac_objext
39073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39074 (eval $ac_compile) 2>conftest.er1
39075 ac_status=$?
39076 grep -v '^ *+' conftest.er1 >conftest.err
39077 rm -f conftest.er1
39078 cat conftest.err >&5
39079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39080 (exit $ac_status); } &&
39081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39083 (eval $ac_try) 2>&5
39084 ac_status=$?
39085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39086 (exit $ac_status); }; } &&
39087 { ac_try='test -s conftest.$ac_objext'
39088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39089 (eval $ac_try) 2>&5
39090 ac_status=$?
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); }; }; then
39093 wx_cv_type_pthread_mutexattr_t=yes
39094 else
39095 echo "$as_me: failed program was:" >&5
39096 sed 's/^/| /' conftest.$ac_ext >&5
39097
39098 wx_cv_type_pthread_mutexattr_t=no
39099
39100 fi
39101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39102
39103 fi
39104 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39105 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39106
39107 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39108 cat >>confdefs.h <<\_ACEOF
39109 #define HAVE_PTHREAD_MUTEXATTR_T 1
39110 _ACEOF
39111
39112
39113 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39114 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39115 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39116 echo $ECHO_N "(cached) $ECHO_C" >&6
39117 else
39118
39119 cat >conftest.$ac_ext <<_ACEOF
39120 /* confdefs.h. */
39121 _ACEOF
39122 cat confdefs.h >>conftest.$ac_ext
39123 cat >>conftest.$ac_ext <<_ACEOF
39124 /* end confdefs.h. */
39125 #include <pthread.h>
39126 int
39127 main ()
39128 {
39129
39130 pthread_mutexattr_t attr;
39131 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39132
39133 ;
39134 return 0;
39135 }
39136 _ACEOF
39137 rm -f conftest.$ac_objext
39138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39139 (eval $ac_compile) 2>conftest.er1
39140 ac_status=$?
39141 grep -v '^ *+' conftest.er1 >conftest.err
39142 rm -f conftest.er1
39143 cat conftest.err >&5
39144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39145 (exit $ac_status); } &&
39146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39148 (eval $ac_try) 2>&5
39149 ac_status=$?
39150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39151 (exit $ac_status); }; } &&
39152 { ac_try='test -s conftest.$ac_objext'
39153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39154 (eval $ac_try) 2>&5
39155 ac_status=$?
39156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39157 (exit $ac_status); }; }; then
39158 wx_cv_func_pthread_mutexattr_settype_decl=yes
39159 else
39160 echo "$as_me: failed program was:" >&5
39161 sed 's/^/| /' conftest.$ac_ext >&5
39162
39163 wx_cv_func_pthread_mutexattr_settype_decl=no
39164
39165 fi
39166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39167
39168 fi
39169 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39170 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39171 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39172 cat >>confdefs.h <<\_ACEOF
39173 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39174 _ACEOF
39175
39176 fi
39177 else
39178 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39179 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39180 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39181 echo $ECHO_N "(cached) $ECHO_C" >&6
39182 else
39183
39184 cat >conftest.$ac_ext <<_ACEOF
39185 /* confdefs.h. */
39186 _ACEOF
39187 cat confdefs.h >>conftest.$ac_ext
39188 cat >>conftest.$ac_ext <<_ACEOF
39189 /* end confdefs.h. */
39190 #include <pthread.h>
39191 int
39192 main ()
39193 {
39194
39195 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39196
39197 ;
39198 return 0;
39199 }
39200 _ACEOF
39201 rm -f conftest.$ac_objext
39202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39203 (eval $ac_compile) 2>conftest.er1
39204 ac_status=$?
39205 grep -v '^ *+' conftest.er1 >conftest.err
39206 rm -f conftest.er1
39207 cat conftest.err >&5
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); } &&
39210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39212 (eval $ac_try) 2>&5
39213 ac_status=$?
39214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215 (exit $ac_status); }; } &&
39216 { ac_try='test -s conftest.$ac_objext'
39217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39218 (eval $ac_try) 2>&5
39219 ac_status=$?
39220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221 (exit $ac_status); }; }; then
39222
39223 wx_cv_type_pthread_rec_mutex_init=yes
39224
39225 else
39226 echo "$as_me: failed program was:" >&5
39227 sed 's/^/| /' conftest.$ac_ext >&5
39228
39229
39230 wx_cv_type_pthread_rec_mutex_init=no
39231
39232
39233 fi
39234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39235
39236 fi
39237 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39238 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39239 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39240 cat >>confdefs.h <<\_ACEOF
39241 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39242 _ACEOF
39243
39244 else
39245 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39246 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39247 fi
39248 fi
39249 fi
39250
39251 else
39252 if test "$wxUSE_THREADS" = "yes" ; then
39253 case "${host}" in
39254 *-*-mingw32* )
39255 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39256 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39257 if test "${wx_cv_cflags_mthread+set}" = set; then
39258 echo $ECHO_N "(cached) $ECHO_C" >&6
39259 else
39260
39261 CFLAGS_OLD="$CFLAGS"
39262 CFLAGS="-mthreads $CFLAGS"
39263 cat >conftest.$ac_ext <<_ACEOF
39264 /* confdefs.h. */
39265 _ACEOF
39266 cat confdefs.h >>conftest.$ac_ext
39267 cat >>conftest.$ac_ext <<_ACEOF
39268 /* end confdefs.h. */
39269
39270 int
39271 main ()
39272 {
39273
39274 ;
39275 return 0;
39276 }
39277 _ACEOF
39278 rm -f conftest.$ac_objext
39279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39280 (eval $ac_compile) 2>conftest.er1
39281 ac_status=$?
39282 grep -v '^ *+' conftest.er1 >conftest.err
39283 rm -f conftest.er1
39284 cat conftest.err >&5
39285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286 (exit $ac_status); } &&
39287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39289 (eval $ac_try) 2>&5
39290 ac_status=$?
39291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39292 (exit $ac_status); }; } &&
39293 { ac_try='test -s conftest.$ac_objext'
39294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39295 (eval $ac_try) 2>&5
39296 ac_status=$?
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); }; }; then
39299 wx_cv_cflags_mthread=yes
39300 else
39301 echo "$as_me: failed program was:" >&5
39302 sed 's/^/| /' conftest.$ac_ext >&5
39303
39304 wx_cv_cflags_mthread=no
39305
39306 fi
39307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39308
39309
39310 fi
39311 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39312 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
39313
39314 if test "$wx_cv_cflags_mthread" = "yes"; then
39315 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39316 LDFLAGS="$LDFLAGS -mthreads"
39317 else
39318 CFLAGS="$CFLAGS_OLD"
39319 fi
39320 ;;
39321 *-pc-os2*emx )
39322 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39323 LDFLAGS="$LDFLAGS -Zmt"
39324 ;;
39325 esac
39326 fi
39327 fi
39328
39329 echo "$as_me:$LINENO: checking for localtime_r" >&5
39330 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
39331 if test "${ac_cv_func_localtime_r+set}" = set; then
39332 echo $ECHO_N "(cached) $ECHO_C" >&6
39333 else
39334 cat >conftest.$ac_ext <<_ACEOF
39335 /* confdefs.h. */
39336 _ACEOF
39337 cat confdefs.h >>conftest.$ac_ext
39338 cat >>conftest.$ac_ext <<_ACEOF
39339 /* end confdefs.h. */
39340 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39342 #define localtime_r innocuous_localtime_r
39343
39344 /* System header to define __stub macros and hopefully few prototypes,
39345 which can conflict with char localtime_r (); below.
39346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39347 <limits.h> exists even on freestanding compilers. */
39348
39349 #ifdef __STDC__
39350 # include <limits.h>
39351 #else
39352 # include <assert.h>
39353 #endif
39354
39355 #undef localtime_r
39356
39357 /* Override any gcc2 internal prototype to avoid an error. */
39358 #ifdef __cplusplus
39359 extern "C"
39360 {
39361 #endif
39362 /* We use char because int might match the return type of a gcc2
39363 builtin and then its argument prototype would still apply. */
39364 char localtime_r ();
39365 /* The GNU C library defines this for functions which it implements
39366 to always fail with ENOSYS. Some functions are actually named
39367 something starting with __ and the normal name is an alias. */
39368 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39369 choke me
39370 #else
39371 char (*f) () = localtime_r;
39372 #endif
39373 #ifdef __cplusplus
39374 }
39375 #endif
39376
39377 int
39378 main ()
39379 {
39380 return f != localtime_r;
39381 ;
39382 return 0;
39383 }
39384 _ACEOF
39385 rm -f conftest.$ac_objext conftest$ac_exeext
39386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39387 (eval $ac_link) 2>conftest.er1
39388 ac_status=$?
39389 grep -v '^ *+' conftest.er1 >conftest.err
39390 rm -f conftest.er1
39391 cat conftest.err >&5
39392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39393 (exit $ac_status); } &&
39394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39396 (eval $ac_try) 2>&5
39397 ac_status=$?
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); }; } &&
39400 { ac_try='test -s conftest$ac_exeext'
39401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39402 (eval $ac_try) 2>&5
39403 ac_status=$?
39404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39405 (exit $ac_status); }; }; then
39406 ac_cv_func_localtime_r=yes
39407 else
39408 echo "$as_me: failed program was:" >&5
39409 sed 's/^/| /' conftest.$ac_ext >&5
39410
39411 ac_cv_func_localtime_r=no
39412 fi
39413 rm -f conftest.err conftest.$ac_objext \
39414 conftest$ac_exeext conftest.$ac_ext
39415 fi
39416 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39417 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39418 if test $ac_cv_func_localtime_r = yes; then
39419 cat >>confdefs.h <<\_ACEOF
39420 #define HAVE_LOCALTIME_R 1
39421 _ACEOF
39422
39423 fi
39424
39425 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39426 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39427 if test "${ac_cv_func_gmtime_r+set}" = set; then
39428 echo $ECHO_N "(cached) $ECHO_C" >&6
39429 else
39430 cat >conftest.$ac_ext <<_ACEOF
39431 /* confdefs.h. */
39432 _ACEOF
39433 cat confdefs.h >>conftest.$ac_ext
39434 cat >>conftest.$ac_ext <<_ACEOF
39435 /* end confdefs.h. */
39436 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39438 #define gmtime_r innocuous_gmtime_r
39439
39440 /* System header to define __stub macros and hopefully few prototypes,
39441 which can conflict with char gmtime_r (); below.
39442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39443 <limits.h> exists even on freestanding compilers. */
39444
39445 #ifdef __STDC__
39446 # include <limits.h>
39447 #else
39448 # include <assert.h>
39449 #endif
39450
39451 #undef gmtime_r
39452
39453 /* Override any gcc2 internal prototype to avoid an error. */
39454 #ifdef __cplusplus
39455 extern "C"
39456 {
39457 #endif
39458 /* We use char because int might match the return type of a gcc2
39459 builtin and then its argument prototype would still apply. */
39460 char gmtime_r ();
39461 /* The GNU C library defines this for functions which it implements
39462 to always fail with ENOSYS. Some functions are actually named
39463 something starting with __ and the normal name is an alias. */
39464 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39465 choke me
39466 #else
39467 char (*f) () = gmtime_r;
39468 #endif
39469 #ifdef __cplusplus
39470 }
39471 #endif
39472
39473 int
39474 main ()
39475 {
39476 return f != gmtime_r;
39477 ;
39478 return 0;
39479 }
39480 _ACEOF
39481 rm -f conftest.$ac_objext conftest$ac_exeext
39482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39483 (eval $ac_link) 2>conftest.er1
39484 ac_status=$?
39485 grep -v '^ *+' conftest.er1 >conftest.err
39486 rm -f conftest.er1
39487 cat conftest.err >&5
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); } &&
39490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492 (eval $ac_try) 2>&5
39493 ac_status=$?
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); }; } &&
39496 { ac_try='test -s conftest$ac_exeext'
39497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39498 (eval $ac_try) 2>&5
39499 ac_status=$?
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); }; }; then
39502 ac_cv_func_gmtime_r=yes
39503 else
39504 echo "$as_me: failed program was:" >&5
39505 sed 's/^/| /' conftest.$ac_ext >&5
39506
39507 ac_cv_func_gmtime_r=no
39508 fi
39509 rm -f conftest.err conftest.$ac_objext \
39510 conftest$ac_exeext conftest.$ac_ext
39511 fi
39512 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39513 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39514 if test $ac_cv_func_gmtime_r = yes; then
39515 cat >>confdefs.h <<\_ACEOF
39516 #define HAVE_GMTIME_R 1
39517 _ACEOF
39518
39519 fi
39520
39521 echo "$as_me:$LINENO: checking for readdir_r" >&5
39522 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39523 if test "${ac_cv_func_readdir_r+set}" = set; then
39524 echo $ECHO_N "(cached) $ECHO_C" >&6
39525 else
39526 cat >conftest.$ac_ext <<_ACEOF
39527 /* confdefs.h. */
39528 _ACEOF
39529 cat confdefs.h >>conftest.$ac_ext
39530 cat >>conftest.$ac_ext <<_ACEOF
39531 /* end confdefs.h. */
39532 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39534 #define readdir_r innocuous_readdir_r
39535
39536 /* System header to define __stub macros and hopefully few prototypes,
39537 which can conflict with char readdir_r (); below.
39538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39539 <limits.h> exists even on freestanding compilers. */
39540
39541 #ifdef __STDC__
39542 # include <limits.h>
39543 #else
39544 # include <assert.h>
39545 #endif
39546
39547 #undef readdir_r
39548
39549 /* Override any gcc2 internal prototype to avoid an error. */
39550 #ifdef __cplusplus
39551 extern "C"
39552 {
39553 #endif
39554 /* We use char because int might match the return type of a gcc2
39555 builtin and then its argument prototype would still apply. */
39556 char readdir_r ();
39557 /* The GNU C library defines this for functions which it implements
39558 to always fail with ENOSYS. Some functions are actually named
39559 something starting with __ and the normal name is an alias. */
39560 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39561 choke me
39562 #else
39563 char (*f) () = readdir_r;
39564 #endif
39565 #ifdef __cplusplus
39566 }
39567 #endif
39568
39569 int
39570 main ()
39571 {
39572 return f != readdir_r;
39573 ;
39574 return 0;
39575 }
39576 _ACEOF
39577 rm -f conftest.$ac_objext conftest$ac_exeext
39578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39579 (eval $ac_link) 2>conftest.er1
39580 ac_status=$?
39581 grep -v '^ *+' conftest.er1 >conftest.err
39582 rm -f conftest.er1
39583 cat conftest.err >&5
39584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39585 (exit $ac_status); } &&
39586 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39588 (eval $ac_try) 2>&5
39589 ac_status=$?
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); }; } &&
39592 { ac_try='test -s conftest$ac_exeext'
39593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39594 (eval $ac_try) 2>&5
39595 ac_status=$?
39596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39597 (exit $ac_status); }; }; then
39598 ac_cv_func_readdir_r=yes
39599 else
39600 echo "$as_me: failed program was:" >&5
39601 sed 's/^/| /' conftest.$ac_ext >&5
39602
39603 ac_cv_func_readdir_r=no
39604 fi
39605 rm -f conftest.err conftest.$ac_objext \
39606 conftest$ac_exeext conftest.$ac_ext
39607 fi
39608 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39609 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39610 if test $ac_cv_func_readdir_r = yes; then
39611 cat >>confdefs.h <<\_ACEOF
39612 #define HAVE_READDIR_R 1
39613 _ACEOF
39614
39615 fi
39616
39617
39618
39619
39620 ac_ext=c
39621 ac_cpp='$CPP $CPPFLAGS'
39622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39625
39626 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39627 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39628
39629 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39630 echo $ECHO_N "(cached) $ECHO_C" >&6
39631 else
39632
39633
39634 ################################################################
39635
39636 ac_cv_func_which_gethostbyname_r=unknown
39637
39638 #
39639 # ONE ARGUMENT (sanity check)
39640 #
39641
39642 # This should fail, as there is no variant of gethostbyname_r() that takes
39643 # a single argument. If it actually compiles, then we can assume that
39644 # netdb.h is not declaring the function, and the compiler is thereby
39645 # assuming an implicit prototype. In which case, we're out of luck.
39646 #
39647 cat >conftest.$ac_ext <<_ACEOF
39648 /* confdefs.h. */
39649 _ACEOF
39650 cat confdefs.h >>conftest.$ac_ext
39651 cat >>conftest.$ac_ext <<_ACEOF
39652 /* end confdefs.h. */
39653 #include <netdb.h>
39654 int
39655 main ()
39656 {
39657
39658 char *name = "www.gnu.org";
39659 (void)gethostbyname_r(name) /* ; */
39660
39661 ;
39662 return 0;
39663 }
39664 _ACEOF
39665 rm -f conftest.$ac_objext
39666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39667 (eval $ac_compile) 2>conftest.er1
39668 ac_status=$?
39669 grep -v '^ *+' conftest.er1 >conftest.err
39670 rm -f conftest.er1
39671 cat conftest.err >&5
39672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39673 (exit $ac_status); } &&
39674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39676 (eval $ac_try) 2>&5
39677 ac_status=$?
39678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39679 (exit $ac_status); }; } &&
39680 { ac_try='test -s conftest.$ac_objext'
39681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39682 (eval $ac_try) 2>&5
39683 ac_status=$?
39684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39685 (exit $ac_status); }; }; then
39686 ac_cv_func_which_gethostbyname_r=no
39687 else
39688 echo "$as_me: failed program was:" >&5
39689 sed 's/^/| /' conftest.$ac_ext >&5
39690
39691 fi
39692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39693
39694 #
39695 # SIX ARGUMENTS
39696 # (e.g. Linux)
39697 #
39698
39699 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39700
39701 cat >conftest.$ac_ext <<_ACEOF
39702 /* confdefs.h. */
39703 _ACEOF
39704 cat confdefs.h >>conftest.$ac_ext
39705 cat >>conftest.$ac_ext <<_ACEOF
39706 /* end confdefs.h. */
39707 #include <netdb.h>
39708 int
39709 main ()
39710 {
39711
39712 char *name = "www.gnu.org";
39713 struct hostent ret, *retp;
39714 char buf[1024];
39715 int buflen = 1024;
39716 int my_h_errno;
39717 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39718
39719 ;
39720 return 0;
39721 }
39722 _ACEOF
39723 rm -f conftest.$ac_objext
39724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39725 (eval $ac_compile) 2>conftest.er1
39726 ac_status=$?
39727 grep -v '^ *+' conftest.er1 >conftest.err
39728 rm -f conftest.er1
39729 cat conftest.err >&5
39730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39731 (exit $ac_status); } &&
39732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39734 (eval $ac_try) 2>&5
39735 ac_status=$?
39736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737 (exit $ac_status); }; } &&
39738 { ac_try='test -s conftest.$ac_objext'
39739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39740 (eval $ac_try) 2>&5
39741 ac_status=$?
39742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39743 (exit $ac_status); }; }; then
39744 ac_cv_func_which_gethostbyname_r=six
39745 else
39746 echo "$as_me: failed program was:" >&5
39747 sed 's/^/| /' conftest.$ac_ext >&5
39748
39749 fi
39750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39751
39752 fi
39753
39754 #
39755 # FIVE ARGUMENTS
39756 # (e.g. Solaris)
39757 #
39758
39759 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39760
39761 cat >conftest.$ac_ext <<_ACEOF
39762 /* confdefs.h. */
39763 _ACEOF
39764 cat confdefs.h >>conftest.$ac_ext
39765 cat >>conftest.$ac_ext <<_ACEOF
39766 /* end confdefs.h. */
39767 #include <netdb.h>
39768 int
39769 main ()
39770 {
39771
39772 char *name = "www.gnu.org";
39773 struct hostent ret;
39774 char buf[1024];
39775 int buflen = 1024;
39776 int my_h_errno;
39777 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39778
39779 ;
39780 return 0;
39781 }
39782 _ACEOF
39783 rm -f conftest.$ac_objext
39784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39785 (eval $ac_compile) 2>conftest.er1
39786 ac_status=$?
39787 grep -v '^ *+' conftest.er1 >conftest.err
39788 rm -f conftest.er1
39789 cat conftest.err >&5
39790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39791 (exit $ac_status); } &&
39792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39794 (eval $ac_try) 2>&5
39795 ac_status=$?
39796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797 (exit $ac_status); }; } &&
39798 { ac_try='test -s conftest.$ac_objext'
39799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39800 (eval $ac_try) 2>&5
39801 ac_status=$?
39802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803 (exit $ac_status); }; }; then
39804 ac_cv_func_which_gethostbyname_r=five
39805 else
39806 echo "$as_me: failed program was:" >&5
39807 sed 's/^/| /' conftest.$ac_ext >&5
39808
39809 fi
39810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39811
39812 fi
39813
39814 #
39815 # THREE ARGUMENTS
39816 # (e.g. AIX, HP-UX, Tru64)
39817 #
39818
39819 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39820
39821 cat >conftest.$ac_ext <<_ACEOF
39822 /* confdefs.h. */
39823 _ACEOF
39824 cat confdefs.h >>conftest.$ac_ext
39825 cat >>conftest.$ac_ext <<_ACEOF
39826 /* end confdefs.h. */
39827 #include <netdb.h>
39828 int
39829 main ()
39830 {
39831
39832 char *name = "www.gnu.org";
39833 struct hostent ret;
39834 struct hostent_data data;
39835 (void)gethostbyname_r(name, &ret, &data) /* ; */
39836
39837 ;
39838 return 0;
39839 }
39840 _ACEOF
39841 rm -f conftest.$ac_objext
39842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39843 (eval $ac_compile) 2>conftest.er1
39844 ac_status=$?
39845 grep -v '^ *+' conftest.er1 >conftest.err
39846 rm -f conftest.er1
39847 cat conftest.err >&5
39848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39849 (exit $ac_status); } &&
39850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39852 (eval $ac_try) 2>&5
39853 ac_status=$?
39854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39855 (exit $ac_status); }; } &&
39856 { ac_try='test -s conftest.$ac_objext'
39857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39858 (eval $ac_try) 2>&5
39859 ac_status=$?
39860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39861 (exit $ac_status); }; }; then
39862 ac_cv_func_which_gethostbyname_r=three
39863 else
39864 echo "$as_me: failed program was:" >&5
39865 sed 's/^/| /' conftest.$ac_ext >&5
39866
39867 fi
39868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39869
39870 fi
39871
39872 ################################################################
39873
39874
39875 fi
39876
39877 case "$ac_cv_func_which_gethostbyname_r" in
39878 three)
39879 echo "$as_me:$LINENO: result: three" >&5
39880 echo "${ECHO_T}three" >&6
39881 cat >>confdefs.h <<\_ACEOF
39882 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39883 _ACEOF
39884
39885 ;;
39886
39887 five)
39888 echo "$as_me:$LINENO: result: five" >&5
39889 echo "${ECHO_T}five" >&6
39890 cat >>confdefs.h <<\_ACEOF
39891 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39892 _ACEOF
39893
39894 ;;
39895
39896 six)
39897 echo "$as_me:$LINENO: result: six" >&5
39898 echo "${ECHO_T}six" >&6
39899 cat >>confdefs.h <<\_ACEOF
39900 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39901 _ACEOF
39902
39903 ;;
39904
39905 no)
39906 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39907 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39908 ;;
39909
39910 unknown)
39911 echo "$as_me:$LINENO: result: can't tell" >&5
39912 echo "${ECHO_T}can't tell" >&6
39913 ;;
39914
39915 *)
39916 { { echo "$as_me:$LINENO: error: internal error" >&5
39917 echo "$as_me: error: internal error" >&2;}
39918 { (exit 1); exit 1; }; }
39919 ;;
39920 esac
39921
39922 ac_ext=c
39923 ac_cpp='$CPP $CPPFLAGS'
39924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39927
39928
39929
39930 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39931 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39932 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39933 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39934 if test "${ac_cv_func_gethostbyname+set}" = set; then
39935 echo $ECHO_N "(cached) $ECHO_C" >&6
39936 else
39937 cat >conftest.$ac_ext <<_ACEOF
39938 /* confdefs.h. */
39939 _ACEOF
39940 cat confdefs.h >>conftest.$ac_ext
39941 cat >>conftest.$ac_ext <<_ACEOF
39942 /* end confdefs.h. */
39943 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39945 #define gethostbyname innocuous_gethostbyname
39946
39947 /* System header to define __stub macros and hopefully few prototypes,
39948 which can conflict with char gethostbyname (); below.
39949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39950 <limits.h> exists even on freestanding compilers. */
39951
39952 #ifdef __STDC__
39953 # include <limits.h>
39954 #else
39955 # include <assert.h>
39956 #endif
39957
39958 #undef gethostbyname
39959
39960 /* Override any gcc2 internal prototype to avoid an error. */
39961 #ifdef __cplusplus
39962 extern "C"
39963 {
39964 #endif
39965 /* We use char because int might match the return type of a gcc2
39966 builtin and then its argument prototype would still apply. */
39967 char gethostbyname ();
39968 /* The GNU C library defines this for functions which it implements
39969 to always fail with ENOSYS. Some functions are actually named
39970 something starting with __ and the normal name is an alias. */
39971 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39972 choke me
39973 #else
39974 char (*f) () = gethostbyname;
39975 #endif
39976 #ifdef __cplusplus
39977 }
39978 #endif
39979
39980 int
39981 main ()
39982 {
39983 return f != gethostbyname;
39984 ;
39985 return 0;
39986 }
39987 _ACEOF
39988 rm -f conftest.$ac_objext conftest$ac_exeext
39989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39990 (eval $ac_link) 2>conftest.er1
39991 ac_status=$?
39992 grep -v '^ *+' conftest.er1 >conftest.err
39993 rm -f conftest.er1
39994 cat conftest.err >&5
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); } &&
39997 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39999 (eval $ac_try) 2>&5
40000 ac_status=$?
40001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40002 (exit $ac_status); }; } &&
40003 { ac_try='test -s conftest$ac_exeext'
40004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40005 (eval $ac_try) 2>&5
40006 ac_status=$?
40007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40008 (exit $ac_status); }; }; then
40009 ac_cv_func_gethostbyname=yes
40010 else
40011 echo "$as_me: failed program was:" >&5
40012 sed 's/^/| /' conftest.$ac_ext >&5
40013
40014 ac_cv_func_gethostbyname=no
40015 fi
40016 rm -f conftest.err conftest.$ac_objext \
40017 conftest$ac_exeext conftest.$ac_ext
40018 fi
40019 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40020 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40021 if test $ac_cv_func_gethostbyname = yes; then
40022 cat >>confdefs.h <<\_ACEOF
40023 #define HAVE_GETHOSTBYNAME 1
40024 _ACEOF
40025
40026 fi
40027
40028 fi
40029
40030 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40031 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
40032 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40033 echo $ECHO_N "(cached) $ECHO_C" >&6
40034 else
40035
40036 ac_ext=cc
40037 ac_cpp='$CXXCPP $CPPFLAGS'
40038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40041
40042
40043 cat >conftest.$ac_ext <<_ACEOF
40044 /* confdefs.h. */
40045 _ACEOF
40046 cat confdefs.h >>conftest.$ac_ext
40047 cat >>conftest.$ac_ext <<_ACEOF
40048 /* end confdefs.h. */
40049 #include <netdb.h>
40050 int
40051 main ()
40052 {
40053
40054 char *name;
40055 char *proto;
40056 struct servent *se, *res;
40057 char buffer[2048];
40058 int buflen = 2048;
40059 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40060
40061 ;
40062 return 0;
40063 }
40064 _ACEOF
40065 rm -f conftest.$ac_objext
40066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40067 (eval $ac_compile) 2>conftest.er1
40068 ac_status=$?
40069 grep -v '^ *+' conftest.er1 >conftest.err
40070 rm -f conftest.er1
40071 cat conftest.err >&5
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); } &&
40074 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40076 (eval $ac_try) 2>&5
40077 ac_status=$?
40078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079 (exit $ac_status); }; } &&
40080 { ac_try='test -s conftest.$ac_objext'
40081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40082 (eval $ac_try) 2>&5
40083 ac_status=$?
40084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40085 (exit $ac_status); }; }; then
40086 ac_cv_func_which_getservbyname_r=six
40087 else
40088 echo "$as_me: failed program was:" >&5
40089 sed 's/^/| /' conftest.$ac_ext >&5
40090
40091
40092 cat >conftest.$ac_ext <<_ACEOF
40093 /* confdefs.h. */
40094 _ACEOF
40095 cat confdefs.h >>conftest.$ac_ext
40096 cat >>conftest.$ac_ext <<_ACEOF
40097 /* end confdefs.h. */
40098 #include <netdb.h>
40099 int
40100 main ()
40101 {
40102
40103 char *name;
40104 char *proto;
40105 struct servent *se;
40106 char buffer[2048];
40107 int buflen = 2048;
40108 (void) getservbyname_r(name, proto, se, buffer, buflen)
40109
40110 ;
40111 return 0;
40112 }
40113 _ACEOF
40114 rm -f conftest.$ac_objext
40115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40116 (eval $ac_compile) 2>conftest.er1
40117 ac_status=$?
40118 grep -v '^ *+' conftest.er1 >conftest.err
40119 rm -f conftest.er1
40120 cat conftest.err >&5
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); } &&
40123 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40125 (eval $ac_try) 2>&5
40126 ac_status=$?
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); }; } &&
40129 { ac_try='test -s conftest.$ac_objext'
40130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40131 (eval $ac_try) 2>&5
40132 ac_status=$?
40133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40134 (exit $ac_status); }; }; then
40135 ac_cv_func_which_getservbyname_r=five
40136 else
40137 echo "$as_me: failed program was:" >&5
40138 sed 's/^/| /' conftest.$ac_ext >&5
40139
40140
40141 cat >conftest.$ac_ext <<_ACEOF
40142 /* confdefs.h. */
40143 _ACEOF
40144 cat confdefs.h >>conftest.$ac_ext
40145 cat >>conftest.$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40147 #include <netdb.h>
40148 int
40149 main ()
40150 {
40151
40152 char *name;
40153 char *proto;
40154 struct servent *se;
40155 struct servent_data data;
40156 (void) getservbyname_r(name, proto, se, &data);
40157
40158 ;
40159 return 0;
40160 }
40161 _ACEOF
40162 rm -f conftest.$ac_objext
40163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40164 (eval $ac_compile) 2>conftest.er1
40165 ac_status=$?
40166 grep -v '^ *+' conftest.er1 >conftest.err
40167 rm -f conftest.er1
40168 cat conftest.err >&5
40169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40170 (exit $ac_status); } &&
40171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40173 (eval $ac_try) 2>&5
40174 ac_status=$?
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); }; } &&
40177 { ac_try='test -s conftest.$ac_objext'
40178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40179 (eval $ac_try) 2>&5
40180 ac_status=$?
40181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40182 (exit $ac_status); }; }; then
40183 ac_cv_func_which_getservbyname_r=four
40184 else
40185 echo "$as_me: failed program was:" >&5
40186 sed 's/^/| /' conftest.$ac_ext >&5
40187
40188 ac_cv_func_which_getservbyname_r=no
40189
40190 fi
40191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40192
40193
40194 fi
40195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40196
40197
40198 fi
40199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40200 ac_ext=c
40201 ac_cpp='$CPP $CPPFLAGS'
40202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40205
40206
40207
40208 fi
40209 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40210 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
40211
40212 if test $ac_cv_func_which_getservbyname_r = six; then
40213 cat >>confdefs.h <<\_ACEOF
40214 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40215 _ACEOF
40216
40217 elif test $ac_cv_func_which_getservbyname_r = five; then
40218 cat >>confdefs.h <<\_ACEOF
40219 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40220 _ACEOF
40221
40222 elif test $ac_cv_func_which_getservbyname_r = four; then
40223 cat >>confdefs.h <<\_ACEOF
40224 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40225 _ACEOF
40226
40227 fi
40228
40229
40230 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40231 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40232
40233 for ac_func in getservbyname
40234 do
40235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40236 echo "$as_me:$LINENO: checking for $ac_func" >&5
40237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40238 if eval "test \"\${$as_ac_var+set}\" = set"; then
40239 echo $ECHO_N "(cached) $ECHO_C" >&6
40240 else
40241 cat >conftest.$ac_ext <<_ACEOF
40242 /* confdefs.h. */
40243 _ACEOF
40244 cat confdefs.h >>conftest.$ac_ext
40245 cat >>conftest.$ac_ext <<_ACEOF
40246 /* end confdefs.h. */
40247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40249 #define $ac_func innocuous_$ac_func
40250
40251 /* System header to define __stub macros and hopefully few prototypes,
40252 which can conflict with char $ac_func (); below.
40253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40254 <limits.h> exists even on freestanding compilers. */
40255
40256 #ifdef __STDC__
40257 # include <limits.h>
40258 #else
40259 # include <assert.h>
40260 #endif
40261
40262 #undef $ac_func
40263
40264 /* Override any gcc2 internal prototype to avoid an error. */
40265 #ifdef __cplusplus
40266 extern "C"
40267 {
40268 #endif
40269 /* We use char because int might match the return type of a gcc2
40270 builtin and then its argument prototype would still apply. */
40271 char $ac_func ();
40272 /* The GNU C library defines this for functions which it implements
40273 to always fail with ENOSYS. Some functions are actually named
40274 something starting with __ and the normal name is an alias. */
40275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40276 choke me
40277 #else
40278 char (*f) () = $ac_func;
40279 #endif
40280 #ifdef __cplusplus
40281 }
40282 #endif
40283
40284 int
40285 main ()
40286 {
40287 return f != $ac_func;
40288 ;
40289 return 0;
40290 }
40291 _ACEOF
40292 rm -f conftest.$ac_objext conftest$ac_exeext
40293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40294 (eval $ac_link) 2>conftest.er1
40295 ac_status=$?
40296 grep -v '^ *+' conftest.er1 >conftest.err
40297 rm -f conftest.er1
40298 cat conftest.err >&5
40299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40300 (exit $ac_status); } &&
40301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40303 (eval $ac_try) 2>&5
40304 ac_status=$?
40305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40306 (exit $ac_status); }; } &&
40307 { ac_try='test -s conftest$ac_exeext'
40308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40309 (eval $ac_try) 2>&5
40310 ac_status=$?
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); }; }; then
40313 eval "$as_ac_var=yes"
40314 else
40315 echo "$as_me: failed program was:" >&5
40316 sed 's/^/| /' conftest.$ac_ext >&5
40317
40318 eval "$as_ac_var=no"
40319 fi
40320 rm -f conftest.err conftest.$ac_objext \
40321 conftest$ac_exeext conftest.$ac_ext
40322 fi
40323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40325 if test `eval echo '${'$as_ac_var'}'` = yes; then
40326 cat >>confdefs.h <<_ACEOF
40327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40328 _ACEOF
40329 cat >>confdefs.h <<\_ACEOF
40330 #define HAVE_GETSERVBYNAME 1
40331 _ACEOF
40332
40333 fi
40334 done
40335
40336 fi
40337
40338 if test "$wxUSE_THREADS" = "yes"; then
40339 cat >>confdefs.h <<\_ACEOF
40340 #define wxUSE_THREADS 1
40341 _ACEOF
40342
40343
40344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40345 else
40346 if test "$wx_cv_func_strtok_r" = "yes"; then
40347 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40348 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40349 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40350 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40351 echo "$as_me:$LINENO: result: yes" >&5
40352 echo "${ECHO_T}yes" >&6
40353 else
40354 echo "$as_me:$LINENO: result: no" >&5
40355 echo "${ECHO_T}no" >&6
40356 fi
40357 fi
40358 fi
40359
40360 if test "$WXGTK20" = 1 ; then
40361 cat >>confdefs.h <<_ACEOF
40362 #define __WXGTK20__ $WXGTK20
40363 _ACEOF
40364
40365 WXGTK12=1
40366 fi
40367
40368 if test "$WXGTK12" = 1 ; then
40369 cat >>confdefs.h <<_ACEOF
40370 #define __WXGTK12__ $WXGTK12
40371 _ACEOF
40372
40373 fi
40374
40375 if test "$WXGTK127" = 1 ; then
40376 cat >>confdefs.h <<_ACEOF
40377 #define __WXGTK127__ $WXGTK127
40378 _ACEOF
40379
40380 fi
40381
40382 if test "$WXGPE" = 1 ; then
40383 cat >>confdefs.h <<_ACEOF
40384 #define __WXGPE__ $WXGPE
40385 _ACEOF
40386
40387 fi
40388
40389 DEBUG_CFLAGS=
40390 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40391 DEBUG_CFLAGS="-g"
40392 wxUSE_OPTIMISE=no
40393 fi
40394
40395 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40396 wxUSE_DEBUG_INFO=yes
40397 if test "$GCC" = yes; then
40398 DEBUG_CFLAGS="-ggdb"
40399 fi
40400 fi
40401
40402 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40403 cat >>confdefs.h <<\_ACEOF
40404 #define WXDEBUG 1
40405 _ACEOF
40406
40407 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40408 else
40409 if test "$wxUSE_GTK" = 1 ; then
40410 if test "x$wxGTK_VERSION" = "x1" ; then
40411 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40412 fi
40413 fi
40414 fi
40415
40416 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40417 cat >>confdefs.h <<\_ACEOF
40418 #define wxUSE_MEMORY_TRACING 1
40419 _ACEOF
40420
40421 cat >>confdefs.h <<\_ACEOF
40422 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40423 _ACEOF
40424
40425 cat >>confdefs.h <<\_ACEOF
40426 #define wxUSE_DEBUG_NEW_ALWAYS 1
40427 _ACEOF
40428
40429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40430 fi
40431
40432 if test "$wxUSE_DMALLOC" = "yes" ; then
40433 DMALLOC_LIBS="-ldmallocthcxx"
40434 fi
40435
40436 PROFILE_FLAGS=
40437 if test "$wxUSE_PROFILE" = "yes" ; then
40438 PROFILE_FLAGS=" -pg"
40439 fi
40440
40441 if test "$GCC" = "yes" ; then
40442 if test "$wxUSE_NO_RTTI" = "yes" ; then
40443 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40444 fi
40445 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40446 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40447 fi
40448 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40449 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40450 fi
40451
40452 case "${host}" in
40453 powerpc*-*-aix* )
40454 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40455 ;;
40456 *-hppa* )
40457 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40458 ;;
40459 esac
40460 fi
40461
40462 OPTIMISE_CFLAGS=
40463 if test "$wxUSE_OPTIMISE" = "no" ; then
40464 if test "$GCC" = yes ; then
40465 OPTIMISE_CFLAGS="-O0"
40466 fi
40467 else
40468 if test "$GCC" = yes ; then
40469 case "${host}" in
40470 *-pc-os2_emx | *-pc-os2-emx )
40471 OPTIMISE_CFLAGS="-O2"
40472 ;;
40473 *)
40474 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40475 ;;
40476 esac
40477 else
40478 OPTIMISE_CFLAGS="-O"
40479 fi
40480 fi
40481
40482
40483 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40484 cat >>confdefs.h <<\_ACEOF
40485 #define WXWIN_COMPATIBILITY_2_6 1
40486 _ACEOF
40487
40488
40489 WXWIN_COMPATIBILITY_2_8="yes"
40490 fi
40491
40492 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40493 cat >>confdefs.h <<\_ACEOF
40494 #define WXWIN_COMPATIBILITY_2_8 1
40495 _ACEOF
40496
40497 fi
40498
40499
40500 if test "$wxUSE_GUI" = "yes"; then
40501 cat >>confdefs.h <<\_ACEOF
40502 #define wxUSE_GUI 1
40503 _ACEOF
40504
40505
40506 fi
40507
40508
40509 if test "$wxUSE_UNIX" = "yes"; then
40510 cat >>confdefs.h <<\_ACEOF
40511 #define wxUSE_UNIX 1
40512 _ACEOF
40513
40514 fi
40515
40516
40517 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40518
40519 HAVE_DL_FUNCS=0
40520 HAVE_SHL_FUNCS=0
40521 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40522 if test "$USE_DARWIN" = 1; then
40523 HAVE_DL_FUNCS=1
40524 elif test "$USE_DOS" = 1; then
40525 HAVE_DL_FUNCS=0
40526 else
40527
40528 for ac_func in dlopen
40529 do
40530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40531 echo "$as_me:$LINENO: checking for $ac_func" >&5
40532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40533 if eval "test \"\${$as_ac_var+set}\" = set"; then
40534 echo $ECHO_N "(cached) $ECHO_C" >&6
40535 else
40536 cat >conftest.$ac_ext <<_ACEOF
40537 /* confdefs.h. */
40538 _ACEOF
40539 cat confdefs.h >>conftest.$ac_ext
40540 cat >>conftest.$ac_ext <<_ACEOF
40541 /* end confdefs.h. */
40542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40544 #define $ac_func innocuous_$ac_func
40545
40546 /* System header to define __stub macros and hopefully few prototypes,
40547 which can conflict with char $ac_func (); below.
40548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40549 <limits.h> exists even on freestanding compilers. */
40550
40551 #ifdef __STDC__
40552 # include <limits.h>
40553 #else
40554 # include <assert.h>
40555 #endif
40556
40557 #undef $ac_func
40558
40559 /* Override any gcc2 internal prototype to avoid an error. */
40560 #ifdef __cplusplus
40561 extern "C"
40562 {
40563 #endif
40564 /* We use char because int might match the return type of a gcc2
40565 builtin and then its argument prototype would still apply. */
40566 char $ac_func ();
40567 /* The GNU C library defines this for functions which it implements
40568 to always fail with ENOSYS. Some functions are actually named
40569 something starting with __ and the normal name is an alias. */
40570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40571 choke me
40572 #else
40573 char (*f) () = $ac_func;
40574 #endif
40575 #ifdef __cplusplus
40576 }
40577 #endif
40578
40579 int
40580 main ()
40581 {
40582 return f != $ac_func;
40583 ;
40584 return 0;
40585 }
40586 _ACEOF
40587 rm -f conftest.$ac_objext conftest$ac_exeext
40588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40589 (eval $ac_link) 2>conftest.er1
40590 ac_status=$?
40591 grep -v '^ *+' conftest.er1 >conftest.err
40592 rm -f conftest.er1
40593 cat conftest.err >&5
40594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40595 (exit $ac_status); } &&
40596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40598 (eval $ac_try) 2>&5
40599 ac_status=$?
40600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601 (exit $ac_status); }; } &&
40602 { ac_try='test -s conftest$ac_exeext'
40603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40604 (eval $ac_try) 2>&5
40605 ac_status=$?
40606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40607 (exit $ac_status); }; }; then
40608 eval "$as_ac_var=yes"
40609 else
40610 echo "$as_me: failed program was:" >&5
40611 sed 's/^/| /' conftest.$ac_ext >&5
40612
40613 eval "$as_ac_var=no"
40614 fi
40615 rm -f conftest.err conftest.$ac_objext \
40616 conftest$ac_exeext conftest.$ac_ext
40617 fi
40618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40620 if test `eval echo '${'$as_ac_var'}'` = yes; then
40621 cat >>confdefs.h <<_ACEOF
40622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40623 _ACEOF
40624
40625 cat >>confdefs.h <<\_ACEOF
40626 #define HAVE_DLOPEN 1
40627 _ACEOF
40628
40629 HAVE_DL_FUNCS=1
40630
40631 else
40632
40633 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40634 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40635 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40636 echo $ECHO_N "(cached) $ECHO_C" >&6
40637 else
40638 ac_check_lib_save_LIBS=$LIBS
40639 LIBS="-ldl $LIBS"
40640 cat >conftest.$ac_ext <<_ACEOF
40641 /* confdefs.h. */
40642 _ACEOF
40643 cat confdefs.h >>conftest.$ac_ext
40644 cat >>conftest.$ac_ext <<_ACEOF
40645 /* end confdefs.h. */
40646
40647 /* Override any gcc2 internal prototype to avoid an error. */
40648 #ifdef __cplusplus
40649 extern "C"
40650 #endif
40651 /* We use char because int might match the return type of a gcc2
40652 builtin and then its argument prototype would still apply. */
40653 char dlopen ();
40654 int
40655 main ()
40656 {
40657 dlopen ();
40658 ;
40659 return 0;
40660 }
40661 _ACEOF
40662 rm -f conftest.$ac_objext conftest$ac_exeext
40663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40664 (eval $ac_link) 2>conftest.er1
40665 ac_status=$?
40666 grep -v '^ *+' conftest.er1 >conftest.err
40667 rm -f conftest.er1
40668 cat conftest.err >&5
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); } &&
40671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40673 (eval $ac_try) 2>&5
40674 ac_status=$?
40675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40676 (exit $ac_status); }; } &&
40677 { ac_try='test -s conftest$ac_exeext'
40678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40679 (eval $ac_try) 2>&5
40680 ac_status=$?
40681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40682 (exit $ac_status); }; }; then
40683 ac_cv_lib_dl_dlopen=yes
40684 else
40685 echo "$as_me: failed program was:" >&5
40686 sed 's/^/| /' conftest.$ac_ext >&5
40687
40688 ac_cv_lib_dl_dlopen=no
40689 fi
40690 rm -f conftest.err conftest.$ac_objext \
40691 conftest$ac_exeext conftest.$ac_ext
40692 LIBS=$ac_check_lib_save_LIBS
40693 fi
40694 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40695 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40696 if test $ac_cv_lib_dl_dlopen = yes; then
40697
40698 cat >>confdefs.h <<\_ACEOF
40699 #define HAVE_DLOPEN 1
40700 _ACEOF
40701
40702 HAVE_DL_FUNCS=1
40703 DL_LINK=" -ldl$DL_LINK"
40704
40705 else
40706
40707
40708 for ac_func in shl_load
40709 do
40710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40711 echo "$as_me:$LINENO: checking for $ac_func" >&5
40712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40713 if eval "test \"\${$as_ac_var+set}\" = set"; then
40714 echo $ECHO_N "(cached) $ECHO_C" >&6
40715 else
40716 cat >conftest.$ac_ext <<_ACEOF
40717 /* confdefs.h. */
40718 _ACEOF
40719 cat confdefs.h >>conftest.$ac_ext
40720 cat >>conftest.$ac_ext <<_ACEOF
40721 /* end confdefs.h. */
40722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40724 #define $ac_func innocuous_$ac_func
40725
40726 /* System header to define __stub macros and hopefully few prototypes,
40727 which can conflict with char $ac_func (); below.
40728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40729 <limits.h> exists even on freestanding compilers. */
40730
40731 #ifdef __STDC__
40732 # include <limits.h>
40733 #else
40734 # include <assert.h>
40735 #endif
40736
40737 #undef $ac_func
40738
40739 /* Override any gcc2 internal prototype to avoid an error. */
40740 #ifdef __cplusplus
40741 extern "C"
40742 {
40743 #endif
40744 /* We use char because int might match the return type of a gcc2
40745 builtin and then its argument prototype would still apply. */
40746 char $ac_func ();
40747 /* The GNU C library defines this for functions which it implements
40748 to always fail with ENOSYS. Some functions are actually named
40749 something starting with __ and the normal name is an alias. */
40750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40751 choke me
40752 #else
40753 char (*f) () = $ac_func;
40754 #endif
40755 #ifdef __cplusplus
40756 }
40757 #endif
40758
40759 int
40760 main ()
40761 {
40762 return f != $ac_func;
40763 ;
40764 return 0;
40765 }
40766 _ACEOF
40767 rm -f conftest.$ac_objext conftest$ac_exeext
40768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40769 (eval $ac_link) 2>conftest.er1
40770 ac_status=$?
40771 grep -v '^ *+' conftest.er1 >conftest.err
40772 rm -f conftest.er1
40773 cat conftest.err >&5
40774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40775 (exit $ac_status); } &&
40776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40778 (eval $ac_try) 2>&5
40779 ac_status=$?
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); }; } &&
40782 { ac_try='test -s conftest$ac_exeext'
40783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40784 (eval $ac_try) 2>&5
40785 ac_status=$?
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); }; }; then
40788 eval "$as_ac_var=yes"
40789 else
40790 echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.$ac_ext >&5
40792
40793 eval "$as_ac_var=no"
40794 fi
40795 rm -f conftest.err conftest.$ac_objext \
40796 conftest$ac_exeext conftest.$ac_ext
40797 fi
40798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40800 if test `eval echo '${'$as_ac_var'}'` = yes; then
40801 cat >>confdefs.h <<_ACEOF
40802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40803 _ACEOF
40804
40805 cat >>confdefs.h <<\_ACEOF
40806 #define HAVE_SHL_LOAD 1
40807 _ACEOF
40808
40809 HAVE_SHL_FUNCS=1
40810
40811 else
40812
40813 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40814 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40815 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40816 echo $ECHO_N "(cached) $ECHO_C" >&6
40817 else
40818 ac_check_lib_save_LIBS=$LIBS
40819 LIBS="-lshl_load $LIBS"
40820 cat >conftest.$ac_ext <<_ACEOF
40821 /* confdefs.h. */
40822 _ACEOF
40823 cat confdefs.h >>conftest.$ac_ext
40824 cat >>conftest.$ac_ext <<_ACEOF
40825 /* end confdefs.h. */
40826
40827 /* Override any gcc2 internal prototype to avoid an error. */
40828 #ifdef __cplusplus
40829 extern "C"
40830 #endif
40831 /* We use char because int might match the return type of a gcc2
40832 builtin and then its argument prototype would still apply. */
40833 char dld ();
40834 int
40835 main ()
40836 {
40837 dld ();
40838 ;
40839 return 0;
40840 }
40841 _ACEOF
40842 rm -f conftest.$ac_objext conftest$ac_exeext
40843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40844 (eval $ac_link) 2>conftest.er1
40845 ac_status=$?
40846 grep -v '^ *+' conftest.er1 >conftest.err
40847 rm -f conftest.er1
40848 cat conftest.err >&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); } &&
40851 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40853 (eval $ac_try) 2>&5
40854 ac_status=$?
40855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40856 (exit $ac_status); }; } &&
40857 { ac_try='test -s conftest$ac_exeext'
40858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40859 (eval $ac_try) 2>&5
40860 ac_status=$?
40861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40862 (exit $ac_status); }; }; then
40863 ac_cv_lib_shl_load_dld=yes
40864 else
40865 echo "$as_me: failed program was:" >&5
40866 sed 's/^/| /' conftest.$ac_ext >&5
40867
40868 ac_cv_lib_shl_load_dld=no
40869 fi
40870 rm -f conftest.err conftest.$ac_objext \
40871 conftest$ac_exeext conftest.$ac_ext
40872 LIBS=$ac_check_lib_save_LIBS
40873 fi
40874 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40875 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40876 if test $ac_cv_lib_shl_load_dld = yes; then
40877
40878 HAVE_SHL_FUNCS=1
40879 DL_LINK=" -ldld$DL_LINK"
40880
40881 fi
40882
40883
40884 fi
40885 done
40886
40887
40888 fi
40889
40890
40891 fi
40892 done
40893
40894
40895 if test "$HAVE_DL_FUNCS" = 1; then
40896
40897 for ac_func in dlerror
40898 do
40899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40900 echo "$as_me:$LINENO: checking for $ac_func" >&5
40901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40902 if eval "test \"\${$as_ac_var+set}\" = set"; then
40903 echo $ECHO_N "(cached) $ECHO_C" >&6
40904 else
40905 cat >conftest.$ac_ext <<_ACEOF
40906 /* confdefs.h. */
40907 _ACEOF
40908 cat confdefs.h >>conftest.$ac_ext
40909 cat >>conftest.$ac_ext <<_ACEOF
40910 /* end confdefs.h. */
40911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40913 #define $ac_func innocuous_$ac_func
40914
40915 /* System header to define __stub macros and hopefully few prototypes,
40916 which can conflict with char $ac_func (); below.
40917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40918 <limits.h> exists even on freestanding compilers. */
40919
40920 #ifdef __STDC__
40921 # include <limits.h>
40922 #else
40923 # include <assert.h>
40924 #endif
40925
40926 #undef $ac_func
40927
40928 /* Override any gcc2 internal prototype to avoid an error. */
40929 #ifdef __cplusplus
40930 extern "C"
40931 {
40932 #endif
40933 /* We use char because int might match the return type of a gcc2
40934 builtin and then its argument prototype would still apply. */
40935 char $ac_func ();
40936 /* The GNU C library defines this for functions which it implements
40937 to always fail with ENOSYS. Some functions are actually named
40938 something starting with __ and the normal name is an alias. */
40939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40940 choke me
40941 #else
40942 char (*f) () = $ac_func;
40943 #endif
40944 #ifdef __cplusplus
40945 }
40946 #endif
40947
40948 int
40949 main ()
40950 {
40951 return f != $ac_func;
40952 ;
40953 return 0;
40954 }
40955 _ACEOF
40956 rm -f conftest.$ac_objext conftest$ac_exeext
40957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40958 (eval $ac_link) 2>conftest.er1
40959 ac_status=$?
40960 grep -v '^ *+' conftest.er1 >conftest.err
40961 rm -f conftest.er1
40962 cat conftest.err >&5
40963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964 (exit $ac_status); } &&
40965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40967 (eval $ac_try) 2>&5
40968 ac_status=$?
40969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40970 (exit $ac_status); }; } &&
40971 { ac_try='test -s conftest$ac_exeext'
40972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40973 (eval $ac_try) 2>&5
40974 ac_status=$?
40975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40976 (exit $ac_status); }; }; then
40977 eval "$as_ac_var=yes"
40978 else
40979 echo "$as_me: failed program was:" >&5
40980 sed 's/^/| /' conftest.$ac_ext >&5
40981
40982 eval "$as_ac_var=no"
40983 fi
40984 rm -f conftest.err conftest.$ac_objext \
40985 conftest$ac_exeext conftest.$ac_ext
40986 fi
40987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40989 if test `eval echo '${'$as_ac_var'}'` = yes; then
40990 cat >>confdefs.h <<_ACEOF
40991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40992 _ACEOF
40993 cat >>confdefs.h <<\_ACEOF
40994 #define HAVE_DLERROR 1
40995 _ACEOF
40996
40997 else
40998
40999 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41000 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41001 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41002 echo $ECHO_N "(cached) $ECHO_C" >&6
41003 else
41004 ac_check_lib_save_LIBS=$LIBS
41005 LIBS="-ldl $LIBS"
41006 cat >conftest.$ac_ext <<_ACEOF
41007 /* confdefs.h. */
41008 _ACEOF
41009 cat confdefs.h >>conftest.$ac_ext
41010 cat >>conftest.$ac_ext <<_ACEOF
41011 /* end confdefs.h. */
41012
41013 /* Override any gcc2 internal prototype to avoid an error. */
41014 #ifdef __cplusplus
41015 extern "C"
41016 #endif
41017 /* We use char because int might match the return type of a gcc2
41018 builtin and then its argument prototype would still apply. */
41019 char dlerror ();
41020 int
41021 main ()
41022 {
41023 dlerror ();
41024 ;
41025 return 0;
41026 }
41027 _ACEOF
41028 rm -f conftest.$ac_objext conftest$ac_exeext
41029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41030 (eval $ac_link) 2>conftest.er1
41031 ac_status=$?
41032 grep -v '^ *+' conftest.er1 >conftest.err
41033 rm -f conftest.er1
41034 cat conftest.err >&5
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); } &&
41037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41039 (eval $ac_try) 2>&5
41040 ac_status=$?
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); }; } &&
41043 { ac_try='test -s conftest$ac_exeext'
41044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41045 (eval $ac_try) 2>&5
41046 ac_status=$?
41047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41048 (exit $ac_status); }; }; then
41049 ac_cv_lib_dl_dlerror=yes
41050 else
41051 echo "$as_me: failed program was:" >&5
41052 sed 's/^/| /' conftest.$ac_ext >&5
41053
41054 ac_cv_lib_dl_dlerror=no
41055 fi
41056 rm -f conftest.err conftest.$ac_objext \
41057 conftest$ac_exeext conftest.$ac_ext
41058 LIBS=$ac_check_lib_save_LIBS
41059 fi
41060 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41061 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41062 if test $ac_cv_lib_dl_dlerror = yes; then
41063 cat >>confdefs.h <<\_ACEOF
41064 #define HAVE_DLERROR 1
41065 _ACEOF
41066
41067 fi
41068
41069
41070
41071 fi
41072 done
41073
41074 fi
41075 fi
41076
41077 if test "$HAVE_DL_FUNCS" = 0; then
41078 if test "$HAVE_SHL_FUNCS" = 0; then
41079 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41080 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41081 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41082 wxUSE_DYNAMIC_LOADER=no
41083 wxUSE_DYNLIB_CLASS=no
41084 else
41085 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41086 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41087 fi
41088 fi
41089 fi
41090 fi
41091 fi
41092
41093 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41094 cat >>confdefs.h <<\_ACEOF
41095 #define wxUSE_DYNAMIC_LOADER 1
41096 _ACEOF
41097
41098 fi
41099 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41100 cat >>confdefs.h <<\_ACEOF
41101 #define wxUSE_DYNLIB_CLASS 1
41102 _ACEOF
41103
41104 fi
41105
41106
41107
41108 if test "$wxUSE_PLUGINS" = "yes" ; then
41109 if test "$wxUSE_SHARED" = "no" ; then
41110 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41111 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41112 wxUSE_PLUGINS=no
41113 fi
41114 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41115 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41116 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41117 wxUSE_PLUGINS=no
41118 fi
41119 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41120 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41121 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41122 wxUSE_PLUGINS=no
41123 fi
41124 if test "$wxUSE_PLUGINS" = "yes" ; then
41125 cat >>confdefs.h <<\_ACEOF
41126 #define wxUSE_PLUGINS 1
41127 _ACEOF
41128
41129 fi
41130 fi
41131
41132
41133 if test "$wxUSE_STL" = "yes"; then
41134 cat >>confdefs.h <<\_ACEOF
41135 #define wxUSE_STL 1
41136 _ACEOF
41137
41138 fi
41139
41140 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41141 cat >>confdefs.h <<\_ACEOF
41142 #define wxUSE_EXTENDED_RTTI 1
41143 _ACEOF
41144
41145 fi
41146
41147 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41148 cat >>confdefs.h <<\_ACEOF
41149 #define wxUSE_APPLE_IEEE 1
41150 _ACEOF
41151
41152 fi
41153
41154 if test "$wxUSE_TIMER" = "yes"; then
41155 cat >>confdefs.h <<\_ACEOF
41156 #define wxUSE_TIMER 1
41157 _ACEOF
41158
41159 fi
41160
41161 if test "$USE_UNIX" = "1" ; then
41162 if test "$wxUSE_MGL" != 1; then
41163 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41164 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41165 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41166 echo $ECHO_N "(cached) $ECHO_C" >&6
41167 else
41168
41169 cat >conftest.$ac_ext <<_ACEOF
41170 /* confdefs.h. */
41171 _ACEOF
41172 cat confdefs.h >>conftest.$ac_ext
41173 cat >>conftest.$ac_ext <<_ACEOF
41174 /* end confdefs.h. */
41175
41176 #include <sys/ioctl.h>
41177 #include <sys/soundcard.h>
41178
41179 int
41180 main ()
41181 {
41182
41183 ioctl(0, SNDCTL_DSP_SPEED, 0);
41184
41185 ;
41186 return 0;
41187 }
41188 _ACEOF
41189 rm -f conftest.$ac_objext conftest$ac_exeext
41190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41191 (eval $ac_link) 2>conftest.er1
41192 ac_status=$?
41193 grep -v '^ *+' conftest.er1 >conftest.err
41194 rm -f conftest.er1
41195 cat conftest.err >&5
41196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41197 (exit $ac_status); } &&
41198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41200 (eval $ac_try) 2>&5
41201 ac_status=$?
41202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41203 (exit $ac_status); }; } &&
41204 { ac_try='test -s conftest$ac_exeext'
41205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41206 (eval $ac_try) 2>&5
41207 ac_status=$?
41208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41209 (exit $ac_status); }; }; then
41210 ac_cv_header_sys_soundcard=yes
41211 else
41212 echo "$as_me: failed program was:" >&5
41213 sed 's/^/| /' conftest.$ac_ext >&5
41214
41215
41216 saveLibs="$LIBS"
41217 LIBS="$saveLibs -lossaudio"
41218 cat >conftest.$ac_ext <<_ACEOF
41219 /* confdefs.h. */
41220 _ACEOF
41221 cat confdefs.h >>conftest.$ac_ext
41222 cat >>conftest.$ac_ext <<_ACEOF
41223 /* end confdefs.h. */
41224
41225 #include <sys/ioctl.h>
41226 #include <sys/soundcard.h>
41227
41228 int
41229 main ()
41230 {
41231
41232 ioctl(0, SNDCTL_DSP_SPEED, 0);
41233
41234 ;
41235 return 0;
41236 }
41237 _ACEOF
41238 rm -f conftest.$ac_objext conftest$ac_exeext
41239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41240 (eval $ac_link) 2>conftest.er1
41241 ac_status=$?
41242 grep -v '^ *+' conftest.er1 >conftest.err
41243 rm -f conftest.er1
41244 cat conftest.err >&5
41245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246 (exit $ac_status); } &&
41247 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41249 (eval $ac_try) 2>&5
41250 ac_status=$?
41251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41252 (exit $ac_status); }; } &&
41253 { ac_try='test -s conftest$ac_exeext'
41254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41255 (eval $ac_try) 2>&5
41256 ac_status=$?
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); }; }; then
41259 ac_cv_header_sys_soundcard=yes
41260 else
41261 echo "$as_me: failed program was:" >&5
41262 sed 's/^/| /' conftest.$ac_ext >&5
41263
41264
41265 LIBS="$saveLibs"
41266 ac_cv_header_sys_soundcard=no
41267
41268
41269 fi
41270 rm -f conftest.err conftest.$ac_objext \
41271 conftest$ac_exeext conftest.$ac_ext
41272
41273
41274 fi
41275 rm -f conftest.err conftest.$ac_objext \
41276 conftest$ac_exeext conftest.$ac_ext
41277
41278 fi
41279 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41280 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41281 fi
41282
41283 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41284 cat >>confdefs.h <<\_ACEOF
41285 #define HAVE_SYS_SOUNDCARD_H 1
41286 _ACEOF
41287
41288 fi
41289 fi
41290
41291 WITH_PLUGIN_SDL=0
41292 if test "$wxUSE_SOUND" = "yes"; then
41293 if test "$USE_UNIX" = "1" ; then
41294 if test "$wxUSE_LIBSDL" != "no"; then
41295
41296 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41297 if test "${with_sdl_prefix+set}" = set; then
41298 withval="$with_sdl_prefix"
41299 sdl_prefix="$withval"
41300 else
41301 sdl_prefix=""
41302 fi;
41303
41304 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41305 if test "${with_sdl_exec_prefix+set}" = set; then
41306 withval="$with_sdl_exec_prefix"
41307 sdl_exec_prefix="$withval"
41308 else
41309 sdl_exec_prefix=""
41310 fi;
41311 # Check whether --enable-sdltest or --disable-sdltest was given.
41312 if test "${enable_sdltest+set}" = set; then
41313 enableval="$enable_sdltest"
41314
41315 else
41316 enable_sdltest=yes
41317 fi;
41318
41319 if test x$sdl_exec_prefix != x ; then
41320 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41321 if test x${SDL_CONFIG+set} != xset ; then
41322 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41323 fi
41324 fi
41325 if test x$sdl_prefix != x ; then
41326 sdl_args="$sdl_args --prefix=$sdl_prefix"
41327 if test x${SDL_CONFIG+set} != xset ; then
41328 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41329 fi
41330 fi
41331
41332 if test "x$prefix" != xNONE; then
41333 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41334 fi
41335 # Extract the first word of "sdl-config", so it can be a program name with args.
41336 set dummy sdl-config; ac_word=$2
41337 echo "$as_me:$LINENO: checking for $ac_word" >&5
41338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41339 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41340 echo $ECHO_N "(cached) $ECHO_C" >&6
41341 else
41342 case $SDL_CONFIG in
41343 [\\/]* | ?:[\\/]*)
41344 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41345 ;;
41346 *)
41347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41348 for as_dir in $PATH
41349 do
41350 IFS=$as_save_IFS
41351 test -z "$as_dir" && as_dir=.
41352 for ac_exec_ext in '' $ac_executable_extensions; do
41353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41354 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41356 break 2
41357 fi
41358 done
41359 done
41360
41361 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41362 ;;
41363 esac
41364 fi
41365 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41366
41367 if test -n "$SDL_CONFIG"; then
41368 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41369 echo "${ECHO_T}$SDL_CONFIG" >&6
41370 else
41371 echo "$as_me:$LINENO: result: no" >&5
41372 echo "${ECHO_T}no" >&6
41373 fi
41374
41375 min_sdl_version=1.2.0
41376 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41377 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41378 no_sdl=""
41379 if test "$SDL_CONFIG" = "no" ; then
41380 no_sdl=yes
41381 else
41382 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41383 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41384
41385 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41387 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41389 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41391 if test "x$enable_sdltest" = "xyes" ; then
41392 ac_save_CFLAGS="$CFLAGS"
41393 ac_save_CXXFLAGS="$CXXFLAGS"
41394 ac_save_LIBS="$LIBS"
41395 CFLAGS="$CFLAGS $SDL_CFLAGS"
41396 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41397 LIBS="$LIBS $SDL_LIBS"
41398 rm -f conf.sdltest
41399 if test "$cross_compiling" = yes; then
41400 echo $ac_n "cross compiling; assumed OK... $ac_c"
41401 else
41402 cat >conftest.$ac_ext <<_ACEOF
41403 /* confdefs.h. */
41404 _ACEOF
41405 cat confdefs.h >>conftest.$ac_ext
41406 cat >>conftest.$ac_ext <<_ACEOF
41407 /* end confdefs.h. */
41408
41409 #include <stdio.h>
41410 #include <stdlib.h>
41411 #include <string.h>
41412 #include "SDL.h"
41413
41414 char*
41415 my_strdup (char *str)
41416 {
41417 char *new_str;
41418
41419 if (str)
41420 {
41421 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41422 strcpy (new_str, str);
41423 }
41424 else
41425 new_str = NULL;
41426
41427 return new_str;
41428 }
41429
41430 int main (int argc, char *argv[])
41431 {
41432 int major, minor, micro;
41433 char *tmp_version;
41434
41435 /* This hangs on some systems (?)
41436 system ("touch conf.sdltest");
41437 */
41438 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41439
41440 /* HP/UX 9 (%@#!) writes to sscanf strings */
41441 tmp_version = my_strdup("$min_sdl_version");
41442 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41443 printf("%s, bad version string\n", "$min_sdl_version");
41444 exit(1);
41445 }
41446
41447 if (($sdl_major_version > major) ||
41448 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41449 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41450 {
41451 return 0;
41452 }
41453 else
41454 {
41455 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41456 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41457 printf("*** best to upgrade to the required version.\n");
41458 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41459 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41460 printf("*** config.cache before re-running configure\n");
41461 return 1;
41462 }
41463 }
41464
41465
41466 _ACEOF
41467 rm -f conftest$ac_exeext
41468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41469 (eval $ac_link) 2>&5
41470 ac_status=$?
41471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41472 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41474 (eval $ac_try) 2>&5
41475 ac_status=$?
41476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41477 (exit $ac_status); }; }; then
41478 :
41479 else
41480 echo "$as_me: program exited with status $ac_status" >&5
41481 echo "$as_me: failed program was:" >&5
41482 sed 's/^/| /' conftest.$ac_ext >&5
41483
41484 ( exit $ac_status )
41485 no_sdl=yes
41486 fi
41487 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41488 fi
41489 CFLAGS="$ac_save_CFLAGS"
41490 CXXFLAGS="$ac_save_CXXFLAGS"
41491 LIBS="$ac_save_LIBS"
41492 fi
41493 fi
41494 if test "x$no_sdl" = x ; then
41495 echo "$as_me:$LINENO: result: yes" >&5
41496 echo "${ECHO_T}yes" >&6
41497
41498 EXTRALIBS_SDL="$SDL_LIBS"
41499 CFLAGS="$SDL_CFLAGS $CFLAGS"
41500 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41501 cat >>confdefs.h <<\_ACEOF
41502 #define wxUSE_LIBSDL 1
41503 _ACEOF
41504
41505
41506 else
41507 echo "$as_me:$LINENO: result: no" >&5
41508 echo "${ECHO_T}no" >&6
41509 if test "$SDL_CONFIG" = "no" ; then
41510 echo "*** The sdl-config script installed by SDL could not be found"
41511 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41512 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41513 echo "*** full path to sdl-config."
41514 else
41515 if test -f conf.sdltest ; then
41516 :
41517 else
41518 echo "*** Could not run SDL test program, checking why..."
41519 CFLAGS="$CFLAGS $SDL_CFLAGS"
41520 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41521 LIBS="$LIBS $SDL_LIBS"
41522 cat >conftest.$ac_ext <<_ACEOF
41523 /* confdefs.h. */
41524 _ACEOF
41525 cat confdefs.h >>conftest.$ac_ext
41526 cat >>conftest.$ac_ext <<_ACEOF
41527 /* end confdefs.h. */
41528
41529 #include <stdio.h>
41530 #include "SDL.h"
41531
41532 int main(int argc, char *argv[])
41533 { return 0; }
41534 #undef main
41535 #define main K_and_R_C_main
41536
41537 int
41538 main ()
41539 {
41540 return 0;
41541 ;
41542 return 0;
41543 }
41544 _ACEOF
41545 rm -f conftest.$ac_objext conftest$ac_exeext
41546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41547 (eval $ac_link) 2>conftest.er1
41548 ac_status=$?
41549 grep -v '^ *+' conftest.er1 >conftest.err
41550 rm -f conftest.er1
41551 cat conftest.err >&5
41552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41553 (exit $ac_status); } &&
41554 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41556 (eval $ac_try) 2>&5
41557 ac_status=$?
41558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559 (exit $ac_status); }; } &&
41560 { ac_try='test -s conftest$ac_exeext'
41561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41562 (eval $ac_try) 2>&5
41563 ac_status=$?
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); }; }; then
41566 echo "*** The test program compiled, but did not run. This usually means"
41567 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41568 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41569 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41570 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41571 echo "*** is required on your system"
41572 echo "***"
41573 echo "*** If you have an old version installed, it is best to remove it, although"
41574 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41575 else
41576 echo "$as_me: failed program was:" >&5
41577 sed 's/^/| /' conftest.$ac_ext >&5
41578
41579 echo "*** The test program failed to compile or link. See the file config.log for the"
41580 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41581 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41582 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41583 fi
41584 rm -f conftest.err conftest.$ac_objext \
41585 conftest$ac_exeext conftest.$ac_ext
41586 CFLAGS="$ac_save_CFLAGS"
41587 CXXFLAGS="$ac_save_CXXFLAGS"
41588 LIBS="$ac_save_LIBS"
41589 fi
41590 fi
41591 SDL_CFLAGS=""
41592 SDL_LIBS=""
41593 wxUSE_LIBSDL="no"
41594 fi
41595
41596
41597 rm -f conf.sdltest
41598
41599 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41600 WITH_PLUGIN_SDL=1
41601 fi
41602 fi
41603 else
41604 if test "$wxUSE_MGL" = 1; then
41605 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41606 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41607 wxUSE_SOUND="no"
41608 fi
41609 fi
41610 fi
41611
41612 if test "$wxUSE_SOUND" = "yes"; then
41613 cat >>confdefs.h <<\_ACEOF
41614 #define wxUSE_SOUND 1
41615 _ACEOF
41616
41617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41618 fi
41619
41620 if test "$WXGTK20" = 1; then
41621
41622
41623 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41624 if test -n "$ac_tool_prefix"; then
41625 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41626 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41627 echo "$as_me:$LINENO: checking for $ac_word" >&5
41628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41629 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41630 echo $ECHO_N "(cached) $ECHO_C" >&6
41631 else
41632 case $PKG_CONFIG in
41633 [\\/]* | ?:[\\/]*)
41634 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41635 ;;
41636 *)
41637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41638 for as_dir in $PATH
41639 do
41640 IFS=$as_save_IFS
41641 test -z "$as_dir" && as_dir=.
41642 for ac_exec_ext in '' $ac_executable_extensions; do
41643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41644 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41646 break 2
41647 fi
41648 done
41649 done
41650
41651 ;;
41652 esac
41653 fi
41654 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41655
41656 if test -n "$PKG_CONFIG"; then
41657 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41658 echo "${ECHO_T}$PKG_CONFIG" >&6
41659 else
41660 echo "$as_me:$LINENO: result: no" >&5
41661 echo "${ECHO_T}no" >&6
41662 fi
41663
41664 fi
41665 if test -z "$ac_cv_path_PKG_CONFIG"; then
41666 ac_pt_PKG_CONFIG=$PKG_CONFIG
41667 # Extract the first word of "pkg-config", so it can be a program name with args.
41668 set dummy pkg-config; ac_word=$2
41669 echo "$as_me:$LINENO: checking for $ac_word" >&5
41670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41671 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41672 echo $ECHO_N "(cached) $ECHO_C" >&6
41673 else
41674 case $ac_pt_PKG_CONFIG in
41675 [\\/]* | ?:[\\/]*)
41676 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41677 ;;
41678 *)
41679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41680 for as_dir in $PATH
41681 do
41682 IFS=$as_save_IFS
41683 test -z "$as_dir" && as_dir=.
41684 for ac_exec_ext in '' $ac_executable_extensions; do
41685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41686 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41688 break 2
41689 fi
41690 done
41691 done
41692
41693 ;;
41694 esac
41695 fi
41696 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41697
41698 if test -n "$ac_pt_PKG_CONFIG"; then
41699 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41700 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
41701 else
41702 echo "$as_me:$LINENO: result: no" >&5
41703 echo "${ECHO_T}no" >&6
41704 fi
41705
41706 PKG_CONFIG=$ac_pt_PKG_CONFIG
41707 else
41708 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41709 fi
41710
41711 fi
41712 if test -n "$PKG_CONFIG"; then
41713 _pkg_min_version=0.9.0
41714 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41715 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
41716 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41717 echo "$as_me:$LINENO: result: yes" >&5
41718 echo "${ECHO_T}yes" >&6
41719 else
41720 echo "$as_me:$LINENO: result: no" >&5
41721 echo "${ECHO_T}no" >&6
41722 PKG_CONFIG=""
41723 fi
41724
41725 fi
41726
41727 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41728 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41729
41730
41731 pkg_failed=no
41732 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41733 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
41734
41735 if test -n "$PKG_CONFIG"; then
41736 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41737 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41738 else
41739 if test -n "$PKG_CONFIG" && \
41740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41741 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41742 ac_status=$?
41743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41744 (exit $ac_status); }; then
41745 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41746 else
41747 pkg_failed=yes
41748 fi
41749 fi
41750 else
41751 pkg_failed=untried
41752 fi
41753 if test -n "$PKG_CONFIG"; then
41754 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41755 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41756 else
41757 if test -n "$PKG_CONFIG" && \
41758 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41759 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41760 ac_status=$?
41761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41762 (exit $ac_status); }; then
41763 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41764 else
41765 pkg_failed=yes
41766 fi
41767 fi
41768 else
41769 pkg_failed=untried
41770 fi
41771
41772
41773
41774 if test $pkg_failed = yes; then
41775
41776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41777 _pkg_short_errors_supported=yes
41778 else
41779 _pkg_short_errors_supported=no
41780 fi
41781 if test $_pkg_short_errors_supported = yes; then
41782 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41783 else
41784 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41785 fi
41786 # Put the nasty error message in config.log where it belongs
41787 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41788
41789
41790 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41791 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41792 wxUSE_LIBGNOMEPRINT="no"
41793
41794
41795 elif test $pkg_failed = untried; then
41796
41797 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41798 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41799 wxUSE_LIBGNOMEPRINT="no"
41800
41801
41802 else
41803 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41804 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41805 echo "$as_me:$LINENO: result: yes" >&5
41806 echo "${ECHO_T}yes" >&6
41807
41808 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41809 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41810 cat >>confdefs.h <<\_ACEOF
41811 #define wxUSE_LIBGNOMEPRINT 1
41812 _ACEOF
41813
41814
41815 fi
41816 fi
41817 fi
41818
41819 if test "$wxUSE_MIMETYPE" = "yes" ; then
41820 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41821
41822
41823 pkg_failed=no
41824 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41825 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
41826
41827 if test -n "$PKG_CONFIG"; then
41828 if test -n "$GNOMEVFS_CFLAGS"; then
41829 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41830 else
41831 if test -n "$PKG_CONFIG" && \
41832 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41833 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41834 ac_status=$?
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); }; then
41837 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41838 else
41839 pkg_failed=yes
41840 fi
41841 fi
41842 else
41843 pkg_failed=untried
41844 fi
41845 if test -n "$PKG_CONFIG"; then
41846 if test -n "$GNOMEVFS_LIBS"; then
41847 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41848 else
41849 if test -n "$PKG_CONFIG" && \
41850 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41851 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41852 ac_status=$?
41853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41854 (exit $ac_status); }; then
41855 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41856 else
41857 pkg_failed=yes
41858 fi
41859 fi
41860 else
41861 pkg_failed=untried
41862 fi
41863
41864
41865
41866 if test $pkg_failed = yes; then
41867
41868 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41869 _pkg_short_errors_supported=yes
41870 else
41871 _pkg_short_errors_supported=no
41872 fi
41873 if test $_pkg_short_errors_supported = yes; then
41874 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41875 else
41876 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41877 fi
41878 # Put the nasty error message in config.log where it belongs
41879 echo "$GNOMEVFS_PKG_ERRORS" >&5
41880
41881
41882 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41883 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41884 wxUSE_LIBGNOMEVFS="no"
41885
41886
41887 elif test $pkg_failed = untried; then
41888
41889 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41890 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41891 wxUSE_LIBGNOMEVFS="no"
41892
41893
41894 else
41895 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41896 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41897 echo "$as_me:$LINENO: result: yes" >&5
41898 echo "${ECHO_T}yes" >&6
41899
41900 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41901 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41902 cat >>confdefs.h <<\_ACEOF
41903 #define wxUSE_LIBGNOMEVFS 1
41904 _ACEOF
41905
41906
41907 fi
41908 fi
41909 fi
41910
41911 if test "$wxUSE_LIBHILDON" = "yes" ; then
41912
41913 pkg_failed=no
41914 echo "$as_me:$LINENO: checking for HILDON" >&5
41915 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
41916
41917 if test -n "$PKG_CONFIG"; then
41918 if test -n "$HILDON_CFLAGS"; then
41919 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41920 else
41921 if test -n "$PKG_CONFIG" && \
41922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41923 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41924 ac_status=$?
41925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 (exit $ac_status); }; then
41927 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41928 else
41929 pkg_failed=yes
41930 fi
41931 fi
41932 else
41933 pkg_failed=untried
41934 fi
41935 if test -n "$PKG_CONFIG"; then
41936 if test -n "$HILDON_LIBS"; then
41937 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41938 else
41939 if test -n "$PKG_CONFIG" && \
41940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41941 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41942 ac_status=$?
41943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41944 (exit $ac_status); }; then
41945 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41946 else
41947 pkg_failed=yes
41948 fi
41949 fi
41950 else
41951 pkg_failed=untried
41952 fi
41953
41954
41955
41956 if test $pkg_failed = yes; then
41957
41958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41959 _pkg_short_errors_supported=yes
41960 else
41961 _pkg_short_errors_supported=no
41962 fi
41963 if test $_pkg_short_errors_supported = yes; then
41964 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41965 else
41966 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41967 fi
41968 # Put the nasty error message in config.log where it belongs
41969 echo "$HILDON_PKG_ERRORS" >&5
41970
41971
41972 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41973 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41974 wxUSE_LIBHILDON="no"
41975
41976
41977 elif test $pkg_failed = untried; then
41978
41979 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41980 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41981 wxUSE_LIBHILDON="no"
41982
41983
41984 else
41985 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41986 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41987 echo "$as_me:$LINENO: result: yes" >&5
41988 echo "${ECHO_T}yes" >&6
41989
41990 EXTRALIBS_HILDON="$HILDON_LIBS"
41991 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41992 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41993 cat >>confdefs.h <<\_ACEOF
41994 #define wxUSE_LIBHILDON 1
41995 _ACEOF
41996
41997
41998 fi
41999 fi
42000 fi
42001
42002 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42003 cat >>confdefs.h <<\_ACEOF
42004 #define wxUSE_CMDLINE_PARSER 1
42005 _ACEOF
42006
42007 fi
42008
42009 if test "$wxUSE_STOPWATCH" = "yes"; then
42010 cat >>confdefs.h <<\_ACEOF
42011 #define wxUSE_STOPWATCH 1
42012 _ACEOF
42013
42014 fi
42015
42016 if test "$wxUSE_DATETIME" = "yes"; then
42017 cat >>confdefs.h <<\_ACEOF
42018 #define wxUSE_DATETIME 1
42019 _ACEOF
42020
42021 fi
42022
42023 if test "$wxUSE_FILE" = "yes"; then
42024 cat >>confdefs.h <<\_ACEOF
42025 #define wxUSE_FILE 1
42026 _ACEOF
42027
42028 fi
42029
42030 if test "$wxUSE_FFILE" = "yes"; then
42031 cat >>confdefs.h <<\_ACEOF
42032 #define wxUSE_FFILE 1
42033 _ACEOF
42034
42035 fi
42036
42037 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42038 if test "$wxUSE_STREAMS" != yes; then
42039 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42040 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42041 wxUSE_ARCHIVE_STREAMS=no
42042 else
42043 cat >>confdefs.h <<\_ACEOF
42044 #define wxUSE_ARCHIVE_STREAMS 1
42045 _ACEOF
42046
42047 fi
42048 fi
42049
42050 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42051 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42052 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42053 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42054 elif test "$wxUSE_ZLIB" = "no"; then
42055 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42056 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42057 else
42058 cat >>confdefs.h <<\_ACEOF
42059 #define wxUSE_ZIPSTREAM 1
42060 _ACEOF
42061
42062 fi
42063 fi
42064
42065 if test "$wxUSE_TARSTREAM" = "yes"; then
42066 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42067 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42068 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42069 else
42070 cat >>confdefs.h <<\_ACEOF
42071 #define wxUSE_TARSTREAM 1
42072 _ACEOF
42073
42074 fi
42075 fi
42076
42077 if test "$wxUSE_FILESYSTEM" = "yes"; then
42078 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42079 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42080 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42081 wxUSE_FILESYSTEM=no
42082 else
42083 cat >>confdefs.h <<\_ACEOF
42084 #define wxUSE_FILESYSTEM 1
42085 _ACEOF
42086
42087 fi
42088 fi
42089
42090 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42091 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42092 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42093 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42094 else
42095 cat >>confdefs.h <<\_ACEOF
42096 #define wxUSE_FS_ARCHIVE 1
42097 _ACEOF
42098
42099 fi
42100 fi
42101
42102 if test "$wxUSE_FS_ZIP" = "yes"; then
42103 if test "$wxUSE_FS_ARCHIVE" != yes; then
42104 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42105 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42106 else
42107 cat >>confdefs.h <<\_ACEOF
42108 #define wxUSE_FS_ZIP 1
42109 _ACEOF
42110
42111 fi
42112 fi
42113
42114 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42115 if test "$USE_UNIX" != 1; then
42116 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42117 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42118 wxUSE_ON_FATAL_EXCEPTION=no
42119 else
42120 cat >>confdefs.h <<\_ACEOF
42121 #define wxUSE_ON_FATAL_EXCEPTION 1
42122 _ACEOF
42123
42124 fi
42125 fi
42126
42127 if test "$wxUSE_STACKWALKER" = "yes"; then
42128 cat >>confdefs.h <<\_ACEOF
42129 #define wxUSE_STACKWALKER 1
42130 _ACEOF
42131
42132 fi
42133
42134 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42135 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42136 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42137 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42138 wxUSE_DEBUGREPORT=no
42139 else
42140 cat >>confdefs.h <<\_ACEOF
42141 #define wxUSE_DEBUGREPORT 1
42142 _ACEOF
42143
42144 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42146 fi
42147 fi
42148 fi
42149
42150 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42151 cat >>confdefs.h <<\_ACEOF
42152 #define wxUSE_SNGLINST_CHECKER 1
42153 _ACEOF
42154
42155 fi
42156
42157 if test "$wxUSE_BUSYINFO" = "yes"; then
42158 cat >>confdefs.h <<\_ACEOF
42159 #define wxUSE_BUSYINFO 1
42160 _ACEOF
42161
42162 fi
42163
42164 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42165 cat >>confdefs.h <<\_ACEOF
42166 #define wxUSE_STD_IOSTREAM 1
42167 _ACEOF
42168
42169 fi
42170
42171 if test "$wxUSE_STD_STRING" = "yes"; then
42172 cat >>confdefs.h <<\_ACEOF
42173 #define wxUSE_STD_STRING 1
42174 _ACEOF
42175
42176 fi
42177
42178 if test "$wxUSE_STDPATHS" = "yes"; then
42179 cat >>confdefs.h <<\_ACEOF
42180 #define wxUSE_STDPATHS 1
42181 _ACEOF
42182
42183 fi
42184
42185 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42186 cat >>confdefs.h <<\_ACEOF
42187 #define wxUSE_TEXTBUFFER 1
42188 _ACEOF
42189
42190 fi
42191
42192 if test "$wxUSE_TEXTFILE" = "yes"; then
42193 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42194 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42195 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42196 else
42197 cat >>confdefs.h <<\_ACEOF
42198 #define wxUSE_TEXTFILE 1
42199 _ACEOF
42200
42201 fi
42202 fi
42203
42204 if test "$wxUSE_CONFIG" = "yes" ; then
42205 if test "$wxUSE_TEXTFILE" != "yes"; then
42206 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42207 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42208 else
42209 cat >>confdefs.h <<\_ACEOF
42210 #define wxUSE_CONFIG 1
42211 _ACEOF
42212
42213 cat >>confdefs.h <<\_ACEOF
42214 #define wxUSE_CONFIG_NATIVE 1
42215 _ACEOF
42216
42217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42218 fi
42219 fi
42220
42221 if test "$wxUSE_INTL" = "yes" ; then
42222 if test "$wxUSE_FILE" != "yes"; then
42223 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42224 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42225 else
42226 cat >>confdefs.h <<\_ACEOF
42227 #define wxUSE_INTL 1
42228 _ACEOF
42229
42230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42231 GUIDIST="$GUIDIST INTL_DIST"
42232 fi
42233 fi
42234
42235 if test "$wxUSE_LOG" = "yes"; then
42236 cat >>confdefs.h <<\_ACEOF
42237 #define wxUSE_LOG 1
42238 _ACEOF
42239
42240
42241 if test "$wxUSE_LOGGUI" = "yes"; then
42242 cat >>confdefs.h <<\_ACEOF
42243 #define wxUSE_LOGGUI 1
42244 _ACEOF
42245
42246 fi
42247
42248 if test "$wxUSE_LOGWINDOW" = "yes"; then
42249 cat >>confdefs.h <<\_ACEOF
42250 #define wxUSE_LOGWINDOW 1
42251 _ACEOF
42252
42253 fi
42254
42255 if test "$wxUSE_LOGDIALOG" = "yes"; then
42256 cat >>confdefs.h <<\_ACEOF
42257 #define wxUSE_LOG_DIALOG 1
42258 _ACEOF
42259
42260 fi
42261
42262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42263 fi
42264
42265 if test "$wxUSE_LONGLONG" = "yes"; then
42266 cat >>confdefs.h <<\_ACEOF
42267 #define wxUSE_LONGLONG 1
42268 _ACEOF
42269
42270 fi
42271
42272 if test "$wxUSE_GEOMETRY" = "yes"; then
42273 cat >>confdefs.h <<\_ACEOF
42274 #define wxUSE_GEOMETRY 1
42275 _ACEOF
42276
42277 fi
42278
42279 if test "$wxUSE_BASE64" = "yes"; then
42280 cat >>confdefs.h <<\_ACEOF
42281 #define wxUSE_BASE64 1
42282 _ACEOF
42283
42284 fi
42285
42286 if test "$wxUSE_STREAMS" = "yes" ; then
42287 cat >>confdefs.h <<\_ACEOF
42288 #define wxUSE_STREAMS 1
42289 _ACEOF
42290
42291 fi
42292
42293 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42294 cat >>confdefs.h <<\_ACEOF
42295 #define wxUSE_PRINTF_POS_PARAMS 1
42296 _ACEOF
42297
42298 fi
42299
42300 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42301 cat >>confdefs.h <<\_ACEOF
42302 #define wxUSE_OBJC_UNIQUIFYING 1
42303 _ACEOF
42304
42305 fi
42306
42307
42308 if test "$wxUSE_DATETIME" = "yes"; then
42309 echo "$as_me:$LINENO: checking for strptime" >&5
42310 echo $ECHO_N "checking for strptime... $ECHO_C" >&6
42311 if test "${ac_cv_func_strptime+set}" = set; then
42312 echo $ECHO_N "(cached) $ECHO_C" >&6
42313 else
42314 cat >conftest.$ac_ext <<_ACEOF
42315 /* confdefs.h. */
42316 _ACEOF
42317 cat confdefs.h >>conftest.$ac_ext
42318 cat >>conftest.$ac_ext <<_ACEOF
42319 /* end confdefs.h. */
42320 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
42321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42322 #define strptime innocuous_strptime
42323
42324 /* System header to define __stub macros and hopefully few prototypes,
42325 which can conflict with char strptime (); below.
42326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42327 <limits.h> exists even on freestanding compilers. */
42328
42329 #ifdef __STDC__
42330 # include <limits.h>
42331 #else
42332 # include <assert.h>
42333 #endif
42334
42335 #undef strptime
42336
42337 /* Override any gcc2 internal prototype to avoid an error. */
42338 #ifdef __cplusplus
42339 extern "C"
42340 {
42341 #endif
42342 /* We use char because int might match the return type of a gcc2
42343 builtin and then its argument prototype would still apply. */
42344 char strptime ();
42345 /* The GNU C library defines this for functions which it implements
42346 to always fail with ENOSYS. Some functions are actually named
42347 something starting with __ and the normal name is an alias. */
42348 #if defined (__stub_strptime) || defined (__stub___strptime)
42349 choke me
42350 #else
42351 char (*f) () = strptime;
42352 #endif
42353 #ifdef __cplusplus
42354 }
42355 #endif
42356
42357 int
42358 main ()
42359 {
42360 return f != strptime;
42361 ;
42362 return 0;
42363 }
42364 _ACEOF
42365 rm -f conftest.$ac_objext conftest$ac_exeext
42366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42367 (eval $ac_link) 2>conftest.er1
42368 ac_status=$?
42369 grep -v '^ *+' conftest.er1 >conftest.err
42370 rm -f conftest.er1
42371 cat conftest.err >&5
42372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373 (exit $ac_status); } &&
42374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42376 (eval $ac_try) 2>&5
42377 ac_status=$?
42378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42379 (exit $ac_status); }; } &&
42380 { ac_try='test -s conftest$ac_exeext'
42381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42382 (eval $ac_try) 2>&5
42383 ac_status=$?
42384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42385 (exit $ac_status); }; }; then
42386 ac_cv_func_strptime=yes
42387 else
42388 echo "$as_me: failed program was:" >&5
42389 sed 's/^/| /' conftest.$ac_ext >&5
42390
42391 ac_cv_func_strptime=no
42392 fi
42393 rm -f conftest.err conftest.$ac_objext \
42394 conftest$ac_exeext conftest.$ac_ext
42395 fi
42396 echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
42397 echo "${ECHO_T}$ac_cv_func_strptime" >&6
42398
42399 if test "$ac_cv_func_strptime" = "yes"; then
42400 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42401 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42402 if test "${wx_cv_func_strptime_decl+set}" = set; then
42403 echo $ECHO_N "(cached) $ECHO_C" >&6
42404 else
42405
42406 ac_ext=cc
42407 ac_cpp='$CXXCPP $CPPFLAGS'
42408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42411
42412 cat >conftest.$ac_ext <<_ACEOF
42413 /* confdefs.h. */
42414 _ACEOF
42415 cat confdefs.h >>conftest.$ac_ext
42416 cat >>conftest.$ac_ext <<_ACEOF
42417 /* end confdefs.h. */
42418
42419 #include <time.h>
42420
42421 int
42422 main ()
42423 {
42424
42425 struct tm t;
42426 strptime("foo", "bar", &t);
42427
42428 ;
42429 return 0;
42430 }
42431 _ACEOF
42432 rm -f conftest.$ac_objext
42433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42434 (eval $ac_compile) 2>conftest.er1
42435 ac_status=$?
42436 grep -v '^ *+' conftest.er1 >conftest.err
42437 rm -f conftest.er1
42438 cat conftest.err >&5
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); } &&
42441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42443 (eval $ac_try) 2>&5
42444 ac_status=$?
42445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42446 (exit $ac_status); }; } &&
42447 { ac_try='test -s conftest.$ac_objext'
42448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42449 (eval $ac_try) 2>&5
42450 ac_status=$?
42451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42452 (exit $ac_status); }; }; then
42453 wx_cv_func_strptime_decl=yes
42454 else
42455 echo "$as_me: failed program was:" >&5
42456 sed 's/^/| /' conftest.$ac_ext >&5
42457
42458 wx_cv_func_strptime_decl=no
42459
42460 fi
42461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42462 ac_ext=c
42463 ac_cpp='$CPP $CPPFLAGS'
42464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42467
42468
42469
42470 fi
42471 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42472 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42473 fi
42474 if test "$wx_cv_func_strptime_decl" = "yes"; then
42475 cat >>confdefs.h <<\_ACEOF
42476 #define HAVE_STRPTIME_DECL 1
42477 _ACEOF
42478
42479 else
42480 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
42481 fi
42482 if test "$ac_cv_func_strptime" = "yes"; then
42483 echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
42484 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6
42485 if test "${wx_cv_func_strptime_ok+set}" = set; then
42486 echo $ECHO_N "(cached) $ECHO_C" >&6
42487 else
42488 if test "$cross_compiling" = yes; then
42489 wx_cv_func_strptime_ok=no
42490
42491 else
42492 cat >conftest.$ac_ext <<_ACEOF
42493
42494 #include <stdlib.h>
42495 #include <time.h>
42496 #include "confdefs.h"
42497
42498 $wx_strptime_decl
42499
42500 int main()
42501 {
42502 struct tm t;
42503 return !!strptime("", "%x", &t);
42504 }
42505
42506 _ACEOF
42507 rm -f conftest$ac_exeext
42508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42509 (eval $ac_link) 2>&5
42510 ac_status=$?
42511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42512 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42514 (eval $ac_try) 2>&5
42515 ac_status=$?
42516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42517 (exit $ac_status); }; }; then
42518 wx_cv_func_strptime_ok=yes
42519 else
42520 echo "$as_me: program exited with status $ac_status" >&5
42521 echo "$as_me: failed program was:" >&5
42522 sed 's/^/| /' conftest.$ac_ext >&5
42523
42524 ( exit $ac_status )
42525 wx_cv_func_strptime_ok=no
42526 fi
42527 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42528 fi
42529
42530 fi
42531 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
42532 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6
42533
42534 if test "$wx_cv_func_strptime_ok" = "yes"; then
42535 cat >>confdefs.h <<\_ACEOF
42536 #define HAVE_STRPTIME 1
42537 _ACEOF
42538
42539 fi
42540 fi
42541
42542 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42543 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42544 if test "${wx_cv_var_timezone+set}" = set; then
42545 echo $ECHO_N "(cached) $ECHO_C" >&6
42546 else
42547
42548 ac_ext=cc
42549 ac_cpp='$CXXCPP $CPPFLAGS'
42550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42553
42554 cat >conftest.$ac_ext <<_ACEOF
42555 /* confdefs.h. */
42556 _ACEOF
42557 cat confdefs.h >>conftest.$ac_ext
42558 cat >>conftest.$ac_ext <<_ACEOF
42559 /* end confdefs.h. */
42560
42561 #include <time.h>
42562
42563 int
42564 main ()
42565 {
42566
42567 int tz;
42568 tz = timezone;
42569
42570 ;
42571 return 0;
42572 }
42573 _ACEOF
42574 rm -f conftest.$ac_objext
42575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42576 (eval $ac_compile) 2>conftest.er1
42577 ac_status=$?
42578 grep -v '^ *+' conftest.er1 >conftest.err
42579 rm -f conftest.er1
42580 cat conftest.err >&5
42581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42582 (exit $ac_status); } &&
42583 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42585 (eval $ac_try) 2>&5
42586 ac_status=$?
42587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42588 (exit $ac_status); }; } &&
42589 { ac_try='test -s conftest.$ac_objext'
42590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42591 (eval $ac_try) 2>&5
42592 ac_status=$?
42593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42594 (exit $ac_status); }; }; then
42595
42596 wx_cv_var_timezone=timezone
42597
42598 else
42599 echo "$as_me: failed program was:" >&5
42600 sed 's/^/| /' conftest.$ac_ext >&5
42601
42602
42603 cat >conftest.$ac_ext <<_ACEOF
42604 /* confdefs.h. */
42605 _ACEOF
42606 cat confdefs.h >>conftest.$ac_ext
42607 cat >>conftest.$ac_ext <<_ACEOF
42608 /* end confdefs.h. */
42609
42610 #include <time.h>
42611
42612 int
42613 main ()
42614 {
42615
42616 int tz;
42617 tz = _timezone;
42618
42619 ;
42620 return 0;
42621 }
42622 _ACEOF
42623 rm -f conftest.$ac_objext
42624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42625 (eval $ac_compile) 2>conftest.er1
42626 ac_status=$?
42627 grep -v '^ *+' conftest.er1 >conftest.err
42628 rm -f conftest.er1
42629 cat conftest.err >&5
42630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42631 (exit $ac_status); } &&
42632 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42634 (eval $ac_try) 2>&5
42635 ac_status=$?
42636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42637 (exit $ac_status); }; } &&
42638 { ac_try='test -s conftest.$ac_objext'
42639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42640 (eval $ac_try) 2>&5
42641 ac_status=$?
42642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42643 (exit $ac_status); }; }; then
42644
42645 wx_cv_var_timezone=_timezone
42646
42647 else
42648 echo "$as_me: failed program was:" >&5
42649 sed 's/^/| /' conftest.$ac_ext >&5
42650
42651
42652 cat >conftest.$ac_ext <<_ACEOF
42653 /* confdefs.h. */
42654 _ACEOF
42655 cat confdefs.h >>conftest.$ac_ext
42656 cat >>conftest.$ac_ext <<_ACEOF
42657 /* end confdefs.h. */
42658
42659 #include <time.h>
42660
42661 int
42662 main ()
42663 {
42664
42665 int tz;
42666 tz = __timezone;
42667
42668 ;
42669 return 0;
42670 }
42671 _ACEOF
42672 rm -f conftest.$ac_objext
42673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42674 (eval $ac_compile) 2>conftest.er1
42675 ac_status=$?
42676 grep -v '^ *+' conftest.er1 >conftest.err
42677 rm -f conftest.er1
42678 cat conftest.err >&5
42679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42680 (exit $ac_status); } &&
42681 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42683 (eval $ac_try) 2>&5
42684 ac_status=$?
42685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42686 (exit $ac_status); }; } &&
42687 { ac_try='test -s conftest.$ac_objext'
42688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42689 (eval $ac_try) 2>&5
42690 ac_status=$?
42691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42692 (exit $ac_status); }; }; then
42693
42694 wx_cv_var_timezone=__timezone
42695
42696 else
42697 echo "$as_me: failed program was:" >&5
42698 sed 's/^/| /' conftest.$ac_ext >&5
42699
42700
42701 if test "$USE_DOS" = 0 ; then
42702 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42703 echo "$as_me: WARNING: no timezone variable" >&2;}
42704 fi
42705
42706
42707 fi
42708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42709
42710
42711 fi
42712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42713
42714
42715 fi
42716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42717 ac_ext=c
42718 ac_cpp='$CPP $CPPFLAGS'
42719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42722
42723
42724
42725 fi
42726 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42727 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42728
42729 if test "x$wx_cv_var_timezone" != x ; then
42730 cat >>confdefs.h <<_ACEOF
42731 #define WX_TIMEZONE $wx_cv_var_timezone
42732 _ACEOF
42733
42734 fi
42735
42736
42737 for ac_func in localtime
42738 do
42739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42740 echo "$as_me:$LINENO: checking for $ac_func" >&5
42741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42742 if eval "test \"\${$as_ac_var+set}\" = set"; then
42743 echo $ECHO_N "(cached) $ECHO_C" >&6
42744 else
42745 cat >conftest.$ac_ext <<_ACEOF
42746 /* confdefs.h. */
42747 _ACEOF
42748 cat confdefs.h >>conftest.$ac_ext
42749 cat >>conftest.$ac_ext <<_ACEOF
42750 /* end confdefs.h. */
42751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42753 #define $ac_func innocuous_$ac_func
42754
42755 /* System header to define __stub macros and hopefully few prototypes,
42756 which can conflict with char $ac_func (); below.
42757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42758 <limits.h> exists even on freestanding compilers. */
42759
42760 #ifdef __STDC__
42761 # include <limits.h>
42762 #else
42763 # include <assert.h>
42764 #endif
42765
42766 #undef $ac_func
42767
42768 /* Override any gcc2 internal prototype to avoid an error. */
42769 #ifdef __cplusplus
42770 extern "C"
42771 {
42772 #endif
42773 /* We use char because int might match the return type of a gcc2
42774 builtin and then its argument prototype would still apply. */
42775 char $ac_func ();
42776 /* The GNU C library defines this for functions which it implements
42777 to always fail with ENOSYS. Some functions are actually named
42778 something starting with __ and the normal name is an alias. */
42779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42780 choke me
42781 #else
42782 char (*f) () = $ac_func;
42783 #endif
42784 #ifdef __cplusplus
42785 }
42786 #endif
42787
42788 int
42789 main ()
42790 {
42791 return f != $ac_func;
42792 ;
42793 return 0;
42794 }
42795 _ACEOF
42796 rm -f conftest.$ac_objext conftest$ac_exeext
42797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42798 (eval $ac_link) 2>conftest.er1
42799 ac_status=$?
42800 grep -v '^ *+' conftest.er1 >conftest.err
42801 rm -f conftest.er1
42802 cat conftest.err >&5
42803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42804 (exit $ac_status); } &&
42805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42807 (eval $ac_try) 2>&5
42808 ac_status=$?
42809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42810 (exit $ac_status); }; } &&
42811 { ac_try='test -s conftest$ac_exeext'
42812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42813 (eval $ac_try) 2>&5
42814 ac_status=$?
42815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42816 (exit $ac_status); }; }; then
42817 eval "$as_ac_var=yes"
42818 else
42819 echo "$as_me: failed program was:" >&5
42820 sed 's/^/| /' conftest.$ac_ext >&5
42821
42822 eval "$as_ac_var=no"
42823 fi
42824 rm -f conftest.err conftest.$ac_objext \
42825 conftest$ac_exeext conftest.$ac_ext
42826 fi
42827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42829 if test `eval echo '${'$as_ac_var'}'` = yes; then
42830 cat >>confdefs.h <<_ACEOF
42831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42832 _ACEOF
42833
42834 fi
42835 done
42836
42837
42838 if test "$ac_cv_func_localtime" = "yes"; then
42839 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42840 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42841 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42842 echo $ECHO_N "(cached) $ECHO_C" >&6
42843 else
42844
42845 cat >conftest.$ac_ext <<_ACEOF
42846 /* confdefs.h. */
42847 _ACEOF
42848 cat confdefs.h >>conftest.$ac_ext
42849 cat >>conftest.$ac_ext <<_ACEOF
42850 /* end confdefs.h. */
42851
42852 #include <time.h>
42853
42854 int
42855 main ()
42856 {
42857
42858 struct tm tm;
42859 tm.tm_gmtoff++;
42860
42861 ;
42862 return 0;
42863 }
42864 _ACEOF
42865 rm -f conftest.$ac_objext
42866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42867 (eval $ac_compile) 2>conftest.er1
42868 ac_status=$?
42869 grep -v '^ *+' conftest.er1 >conftest.err
42870 rm -f conftest.er1
42871 cat conftest.err >&5
42872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42873 (exit $ac_status); } &&
42874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42876 (eval $ac_try) 2>&5
42877 ac_status=$?
42878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42879 (exit $ac_status); }; } &&
42880 { ac_try='test -s conftest.$ac_objext'
42881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42882 (eval $ac_try) 2>&5
42883 ac_status=$?
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); }; }; then
42886
42887 wx_cv_struct_tm_has_gmtoff=yes
42888
42889 else
42890 echo "$as_me: failed program was:" >&5
42891 sed 's/^/| /' conftest.$ac_ext >&5
42892
42893 wx_cv_struct_tm_has_gmtoff=no
42894
42895 fi
42896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42897
42898 fi
42899 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42900 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42901 fi
42902
42903 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42904 cat >>confdefs.h <<\_ACEOF
42905 #define WX_GMTOFF_IN_TM 1
42906 _ACEOF
42907
42908 fi
42909
42910
42911
42912 for ac_func in gettimeofday ftime
42913 do
42914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42915 echo "$as_me:$LINENO: checking for $ac_func" >&5
42916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42917 if eval "test \"\${$as_ac_var+set}\" = set"; then
42918 echo $ECHO_N "(cached) $ECHO_C" >&6
42919 else
42920 cat >conftest.$ac_ext <<_ACEOF
42921 /* confdefs.h. */
42922 _ACEOF
42923 cat confdefs.h >>conftest.$ac_ext
42924 cat >>conftest.$ac_ext <<_ACEOF
42925 /* end confdefs.h. */
42926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42928 #define $ac_func innocuous_$ac_func
42929
42930 /* System header to define __stub macros and hopefully few prototypes,
42931 which can conflict with char $ac_func (); below.
42932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42933 <limits.h> exists even on freestanding compilers. */
42934
42935 #ifdef __STDC__
42936 # include <limits.h>
42937 #else
42938 # include <assert.h>
42939 #endif
42940
42941 #undef $ac_func
42942
42943 /* Override any gcc2 internal prototype to avoid an error. */
42944 #ifdef __cplusplus
42945 extern "C"
42946 {
42947 #endif
42948 /* We use char because int might match the return type of a gcc2
42949 builtin and then its argument prototype would still apply. */
42950 char $ac_func ();
42951 /* The GNU C library defines this for functions which it implements
42952 to always fail with ENOSYS. Some functions are actually named
42953 something starting with __ and the normal name is an alias. */
42954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42955 choke me
42956 #else
42957 char (*f) () = $ac_func;
42958 #endif
42959 #ifdef __cplusplus
42960 }
42961 #endif
42962
42963 int
42964 main ()
42965 {
42966 return f != $ac_func;
42967 ;
42968 return 0;
42969 }
42970 _ACEOF
42971 rm -f conftest.$ac_objext conftest$ac_exeext
42972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42973 (eval $ac_link) 2>conftest.er1
42974 ac_status=$?
42975 grep -v '^ *+' conftest.er1 >conftest.err
42976 rm -f conftest.er1
42977 cat conftest.err >&5
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); } &&
42980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42982 (eval $ac_try) 2>&5
42983 ac_status=$?
42984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42985 (exit $ac_status); }; } &&
42986 { ac_try='test -s conftest$ac_exeext'
42987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42988 (eval $ac_try) 2>&5
42989 ac_status=$?
42990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42991 (exit $ac_status); }; }; then
42992 eval "$as_ac_var=yes"
42993 else
42994 echo "$as_me: failed program was:" >&5
42995 sed 's/^/| /' conftest.$ac_ext >&5
42996
42997 eval "$as_ac_var=no"
42998 fi
42999 rm -f conftest.err conftest.$ac_objext \
43000 conftest$ac_exeext conftest.$ac_ext
43001 fi
43002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43004 if test `eval echo '${'$as_ac_var'}'` = yes; then
43005 cat >>confdefs.h <<_ACEOF
43006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43007 _ACEOF
43008 break
43009 fi
43010 done
43011
43012
43013 if test "$ac_cv_func_gettimeofday" = "yes"; then
43014 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43015 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43016 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43017 echo $ECHO_N "(cached) $ECHO_C" >&6
43018 else
43019
43020 cat >conftest.$ac_ext <<_ACEOF
43021 /* confdefs.h. */
43022 _ACEOF
43023 cat confdefs.h >>conftest.$ac_ext
43024 cat >>conftest.$ac_ext <<_ACEOF
43025 /* end confdefs.h. */
43026
43027 #include <sys/time.h>
43028 #include <unistd.h>
43029
43030 int
43031 main ()
43032 {
43033
43034 struct timeval tv;
43035 gettimeofday(&tv, NULL);
43036
43037 ;
43038 return 0;
43039 }
43040 _ACEOF
43041 rm -f conftest.$ac_objext
43042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43043 (eval $ac_compile) 2>conftest.er1
43044 ac_status=$?
43045 grep -v '^ *+' conftest.er1 >conftest.err
43046 rm -f conftest.er1
43047 cat conftest.err >&5
43048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43049 (exit $ac_status); } &&
43050 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43052 (eval $ac_try) 2>&5
43053 ac_status=$?
43054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43055 (exit $ac_status); }; } &&
43056 { ac_try='test -s conftest.$ac_objext'
43057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43058 (eval $ac_try) 2>&5
43059 ac_status=$?
43060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43061 (exit $ac_status); }; }; then
43062 wx_cv_func_gettimeofday_has_2_args=yes
43063 else
43064 echo "$as_me: failed program was:" >&5
43065 sed 's/^/| /' conftest.$ac_ext >&5
43066
43067 cat >conftest.$ac_ext <<_ACEOF
43068 /* confdefs.h. */
43069 _ACEOF
43070 cat confdefs.h >>conftest.$ac_ext
43071 cat >>conftest.$ac_ext <<_ACEOF
43072 /* end confdefs.h. */
43073
43074 #include <sys/time.h>
43075 #include <unistd.h>
43076
43077 int
43078 main ()
43079 {
43080
43081 struct timeval tv;
43082 gettimeofday(&tv);
43083
43084 ;
43085 return 0;
43086 }
43087 _ACEOF
43088 rm -f conftest.$ac_objext
43089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43090 (eval $ac_compile) 2>conftest.er1
43091 ac_status=$?
43092 grep -v '^ *+' conftest.er1 >conftest.err
43093 rm -f conftest.er1
43094 cat conftest.err >&5
43095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43096 (exit $ac_status); } &&
43097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43099 (eval $ac_try) 2>&5
43100 ac_status=$?
43101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43102 (exit $ac_status); }; } &&
43103 { ac_try='test -s conftest.$ac_objext'
43104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43105 (eval $ac_try) 2>&5
43106 ac_status=$?
43107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43108 (exit $ac_status); }; }; then
43109 wx_cv_func_gettimeofday_has_2_args=no
43110 else
43111 echo "$as_me: failed program was:" >&5
43112 sed 's/^/| /' conftest.$ac_ext >&5
43113
43114
43115 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43116 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43117 wx_cv_func_gettimeofday_has_2_args=unknown
43118
43119
43120 fi
43121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43122
43123 fi
43124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43125
43126 fi
43127 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43128 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43129
43130 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43131 cat >>confdefs.h <<\_ACEOF
43132 #define WX_GETTIMEOFDAY_NO_TZ 1
43133 _ACEOF
43134
43135 fi
43136 fi
43137
43138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43139 fi
43140
43141
43142 if test "$wxUSE_SOCKETS" = "yes"; then
43143 if test "$wxUSE_MGL" = "1"; then
43144 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43145 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43146 wxUSE_SOCKETS="no"
43147 fi
43148 fi
43149
43150 if test "$wxUSE_SOCKETS" = "yes"; then
43151 if test "$TOOLKIT" != "MSW"; then
43152 echo "$as_me:$LINENO: checking for socket" >&5
43153 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43154 if test "${ac_cv_func_socket+set}" = set; then
43155 echo $ECHO_N "(cached) $ECHO_C" >&6
43156 else
43157 cat >conftest.$ac_ext <<_ACEOF
43158 /* confdefs.h. */
43159 _ACEOF
43160 cat confdefs.h >>conftest.$ac_ext
43161 cat >>conftest.$ac_ext <<_ACEOF
43162 /* end confdefs.h. */
43163 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43165 #define socket innocuous_socket
43166
43167 /* System header to define __stub macros and hopefully few prototypes,
43168 which can conflict with char socket (); below.
43169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43170 <limits.h> exists even on freestanding compilers. */
43171
43172 #ifdef __STDC__
43173 # include <limits.h>
43174 #else
43175 # include <assert.h>
43176 #endif
43177
43178 #undef socket
43179
43180 /* Override any gcc2 internal prototype to avoid an error. */
43181 #ifdef __cplusplus
43182 extern "C"
43183 {
43184 #endif
43185 /* We use char because int might match the return type of a gcc2
43186 builtin and then its argument prototype would still apply. */
43187 char socket ();
43188 /* The GNU C library defines this for functions which it implements
43189 to always fail with ENOSYS. Some functions are actually named
43190 something starting with __ and the normal name is an alias. */
43191 #if defined (__stub_socket) || defined (__stub___socket)
43192 choke me
43193 #else
43194 char (*f) () = socket;
43195 #endif
43196 #ifdef __cplusplus
43197 }
43198 #endif
43199
43200 int
43201 main ()
43202 {
43203 return f != socket;
43204 ;
43205 return 0;
43206 }
43207 _ACEOF
43208 rm -f conftest.$ac_objext conftest$ac_exeext
43209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43210 (eval $ac_link) 2>conftest.er1
43211 ac_status=$?
43212 grep -v '^ *+' conftest.er1 >conftest.err
43213 rm -f conftest.er1
43214 cat conftest.err >&5
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); } &&
43217 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43219 (eval $ac_try) 2>&5
43220 ac_status=$?
43221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43222 (exit $ac_status); }; } &&
43223 { ac_try='test -s conftest$ac_exeext'
43224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43225 (eval $ac_try) 2>&5
43226 ac_status=$?
43227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43228 (exit $ac_status); }; }; then
43229 ac_cv_func_socket=yes
43230 else
43231 echo "$as_me: failed program was:" >&5
43232 sed 's/^/| /' conftest.$ac_ext >&5
43233
43234 ac_cv_func_socket=no
43235 fi
43236 rm -f conftest.err conftest.$ac_objext \
43237 conftest$ac_exeext conftest.$ac_ext
43238 fi
43239 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43240 echo "${ECHO_T}$ac_cv_func_socket" >&6
43241 if test $ac_cv_func_socket = yes; then
43242 :
43243 else
43244
43245 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43246 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43247 if test "${ac_cv_lib_socket_socket+set}" = set; then
43248 echo $ECHO_N "(cached) $ECHO_C" >&6
43249 else
43250 ac_check_lib_save_LIBS=$LIBS
43251 LIBS="-lsocket $LIBS"
43252 cat >conftest.$ac_ext <<_ACEOF
43253 /* confdefs.h. */
43254 _ACEOF
43255 cat confdefs.h >>conftest.$ac_ext
43256 cat >>conftest.$ac_ext <<_ACEOF
43257 /* end confdefs.h. */
43258
43259 /* Override any gcc2 internal prototype to avoid an error. */
43260 #ifdef __cplusplus
43261 extern "C"
43262 #endif
43263 /* We use char because int might match the return type of a gcc2
43264 builtin and then its argument prototype would still apply. */
43265 char socket ();
43266 int
43267 main ()
43268 {
43269 socket ();
43270 ;
43271 return 0;
43272 }
43273 _ACEOF
43274 rm -f conftest.$ac_objext conftest$ac_exeext
43275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43276 (eval $ac_link) 2>conftest.er1
43277 ac_status=$?
43278 grep -v '^ *+' conftest.er1 >conftest.err
43279 rm -f conftest.er1
43280 cat conftest.err >&5
43281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43282 (exit $ac_status); } &&
43283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43285 (eval $ac_try) 2>&5
43286 ac_status=$?
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); }; } &&
43289 { ac_try='test -s conftest$ac_exeext'
43290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43291 (eval $ac_try) 2>&5
43292 ac_status=$?
43293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43294 (exit $ac_status); }; }; then
43295 ac_cv_lib_socket_socket=yes
43296 else
43297 echo "$as_me: failed program was:" >&5
43298 sed 's/^/| /' conftest.$ac_ext >&5
43299
43300 ac_cv_lib_socket_socket=no
43301 fi
43302 rm -f conftest.err conftest.$ac_objext \
43303 conftest$ac_exeext conftest.$ac_ext
43304 LIBS=$ac_check_lib_save_LIBS
43305 fi
43306 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43307 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43308 if test $ac_cv_lib_socket_socket = yes; then
43309 if test "$INET_LINK" != " -lsocket"; then
43310 INET_LINK="$INET_LINK -lsocket"
43311 fi
43312 else
43313
43314 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43315 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43316 wxUSE_SOCKETS=no
43317
43318
43319 fi
43320
43321
43322
43323 fi
43324
43325 fi
43326 fi
43327
43328 if test "$wxUSE_SOCKETS" = "yes" ; then
43329 if test "$TOOLKIT" != "MSW"; then
43330 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43331 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43332 if test "${wx_cv_type_getsockname3+set}" = set; then
43333 echo $ECHO_N "(cached) $ECHO_C" >&6
43334 else
43335
43336 ac_ext=cc
43337 ac_cpp='$CXXCPP $CPPFLAGS'
43338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43341
43342 cat >conftest.$ac_ext <<_ACEOF
43343 /* confdefs.h. */
43344 _ACEOF
43345 cat confdefs.h >>conftest.$ac_ext
43346 cat >>conftest.$ac_ext <<_ACEOF
43347 /* end confdefs.h. */
43348
43349 #include <sys/types.h>
43350 #include <sys/socket.h>
43351
43352 int
43353 main ()
43354 {
43355
43356 socklen_t len;
43357 getsockname(0, 0, &len);
43358
43359 ;
43360 return 0;
43361 }
43362 _ACEOF
43363 rm -f conftest.$ac_objext
43364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43365 (eval $ac_compile) 2>conftest.er1
43366 ac_status=$?
43367 grep -v '^ *+' conftest.er1 >conftest.err
43368 rm -f conftest.er1
43369 cat conftest.err >&5
43370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43371 (exit $ac_status); } &&
43372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43374 (eval $ac_try) 2>&5
43375 ac_status=$?
43376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43377 (exit $ac_status); }; } &&
43378 { ac_try='test -s conftest.$ac_objext'
43379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43380 (eval $ac_try) 2>&5
43381 ac_status=$?
43382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43383 (exit $ac_status); }; }; then
43384 wx_cv_type_getsockname3=socklen_t
43385 else
43386 echo "$as_me: failed program was:" >&5
43387 sed 's/^/| /' conftest.$ac_ext >&5
43388
43389
43390 CFLAGS_OLD="$CFLAGS"
43391 if test "$GCC" = yes ; then
43392 CFLAGS="-Werror $CFLAGS"
43393 fi
43394
43395 cat >conftest.$ac_ext <<_ACEOF
43396 /* confdefs.h. */
43397 _ACEOF
43398 cat confdefs.h >>conftest.$ac_ext
43399 cat >>conftest.$ac_ext <<_ACEOF
43400 /* end confdefs.h. */
43401
43402 #include <sys/types.h>
43403 #include <sys/socket.h>
43404
43405 int
43406 main ()
43407 {
43408
43409 size_t len;
43410 getsockname(0, 0, &len);
43411
43412 ;
43413 return 0;
43414 }
43415 _ACEOF
43416 rm -f conftest.$ac_objext
43417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43418 (eval $ac_compile) 2>conftest.er1
43419 ac_status=$?
43420 grep -v '^ *+' conftest.er1 >conftest.err
43421 rm -f conftest.er1
43422 cat conftest.err >&5
43423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43424 (exit $ac_status); } &&
43425 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43427 (eval $ac_try) 2>&5
43428 ac_status=$?
43429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430 (exit $ac_status); }; } &&
43431 { ac_try='test -s conftest.$ac_objext'
43432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43433 (eval $ac_try) 2>&5
43434 ac_status=$?
43435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43436 (exit $ac_status); }; }; then
43437 wx_cv_type_getsockname3=size_t
43438 else
43439 echo "$as_me: failed program was:" >&5
43440 sed 's/^/| /' conftest.$ac_ext >&5
43441
43442 cat >conftest.$ac_ext <<_ACEOF
43443 /* confdefs.h. */
43444 _ACEOF
43445 cat confdefs.h >>conftest.$ac_ext
43446 cat >>conftest.$ac_ext <<_ACEOF
43447 /* end confdefs.h. */
43448
43449 #include <sys/types.h>
43450 #include <sys/socket.h>
43451
43452 int
43453 main ()
43454 {
43455
43456 int len;
43457 getsockname(0, 0, &len);
43458
43459 ;
43460 return 0;
43461 }
43462 _ACEOF
43463 rm -f conftest.$ac_objext
43464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43465 (eval $ac_compile) 2>conftest.er1
43466 ac_status=$?
43467 grep -v '^ *+' conftest.er1 >conftest.err
43468 rm -f conftest.er1
43469 cat conftest.err >&5
43470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43471 (exit $ac_status); } &&
43472 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43474 (eval $ac_try) 2>&5
43475 ac_status=$?
43476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43477 (exit $ac_status); }; } &&
43478 { ac_try='test -s conftest.$ac_objext'
43479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43480 (eval $ac_try) 2>&5
43481 ac_status=$?
43482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43483 (exit $ac_status); }; }; then
43484 wx_cv_type_getsockname3=int
43485 else
43486 echo "$as_me: failed program was:" >&5
43487 sed 's/^/| /' conftest.$ac_ext >&5
43488
43489 wx_cv_type_getsockname3=unknown
43490
43491 fi
43492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43493
43494 fi
43495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43496
43497 CFLAGS="$CFLAGS_OLD"
43498
43499
43500 fi
43501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43502 ac_ext=c
43503 ac_cpp='$CPP $CPPFLAGS'
43504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43507
43508
43509 fi
43510 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43511 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43512
43513 if test "$wx_cv_type_getsockname3" = "unknown"; then
43514 wxUSE_SOCKETS=no
43515 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43516 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43517 else
43518 cat >>confdefs.h <<_ACEOF
43519 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43520 _ACEOF
43521
43522 fi
43523 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43524 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43525 if test "${wx_cv_type_getsockopt5+set}" = set; then
43526 echo $ECHO_N "(cached) $ECHO_C" >&6
43527 else
43528
43529 ac_ext=cc
43530 ac_cpp='$CXXCPP $CPPFLAGS'
43531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43534
43535 cat >conftest.$ac_ext <<_ACEOF
43536 /* confdefs.h. */
43537 _ACEOF
43538 cat confdefs.h >>conftest.$ac_ext
43539 cat >>conftest.$ac_ext <<_ACEOF
43540 /* end confdefs.h. */
43541
43542 #include <sys/types.h>
43543 #include <sys/socket.h>
43544
43545 int
43546 main ()
43547 {
43548
43549 socklen_t len;
43550 getsockopt(0, 0, 0, 0, &len);
43551
43552 ;
43553 return 0;
43554 }
43555 _ACEOF
43556 rm -f conftest.$ac_objext
43557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43558 (eval $ac_compile) 2>conftest.er1
43559 ac_status=$?
43560 grep -v '^ *+' conftest.er1 >conftest.err
43561 rm -f conftest.er1
43562 cat conftest.err >&5
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); } &&
43565 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43567 (eval $ac_try) 2>&5
43568 ac_status=$?
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); }; } &&
43571 { ac_try='test -s conftest.$ac_objext'
43572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43573 (eval $ac_try) 2>&5
43574 ac_status=$?
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); }; }; then
43577 wx_cv_type_getsockopt5=socklen_t
43578 else
43579 echo "$as_me: failed program was:" >&5
43580 sed 's/^/| /' conftest.$ac_ext >&5
43581
43582
43583 cat >conftest.$ac_ext <<_ACEOF
43584 /* confdefs.h. */
43585 _ACEOF
43586 cat confdefs.h >>conftest.$ac_ext
43587 cat >>conftest.$ac_ext <<_ACEOF
43588 /* end confdefs.h. */
43589
43590 #include <sys/types.h>
43591 #include <sys/socket.h>
43592
43593 int
43594 main ()
43595 {
43596
43597 size_t len;
43598 getsockopt(0, 0, 0, 0, &len);
43599
43600 ;
43601 return 0;
43602 }
43603 _ACEOF
43604 rm -f conftest.$ac_objext
43605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43606 (eval $ac_compile) 2>conftest.er1
43607 ac_status=$?
43608 grep -v '^ *+' conftest.er1 >conftest.err
43609 rm -f conftest.er1
43610 cat conftest.err >&5
43611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43612 (exit $ac_status); } &&
43613 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43615 (eval $ac_try) 2>&5
43616 ac_status=$?
43617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43618 (exit $ac_status); }; } &&
43619 { ac_try='test -s conftest.$ac_objext'
43620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43621 (eval $ac_try) 2>&5
43622 ac_status=$?
43623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43624 (exit $ac_status); }; }; then
43625 wx_cv_type_getsockopt5=size_t
43626 else
43627 echo "$as_me: failed program was:" >&5
43628 sed 's/^/| /' conftest.$ac_ext >&5
43629
43630 cat >conftest.$ac_ext <<_ACEOF
43631 /* confdefs.h. */
43632 _ACEOF
43633 cat confdefs.h >>conftest.$ac_ext
43634 cat >>conftest.$ac_ext <<_ACEOF
43635 /* end confdefs.h. */
43636
43637 #include <sys/types.h>
43638 #include <sys/socket.h>
43639
43640 int
43641 main ()
43642 {
43643
43644 int len;
43645 getsockopt(0, 0, 0, 0, &len);
43646
43647 ;
43648 return 0;
43649 }
43650 _ACEOF
43651 rm -f conftest.$ac_objext
43652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43653 (eval $ac_compile) 2>conftest.er1
43654 ac_status=$?
43655 grep -v '^ *+' conftest.er1 >conftest.err
43656 rm -f conftest.er1
43657 cat conftest.err >&5
43658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43659 (exit $ac_status); } &&
43660 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43662 (eval $ac_try) 2>&5
43663 ac_status=$?
43664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43665 (exit $ac_status); }; } &&
43666 { ac_try='test -s conftest.$ac_objext'
43667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43668 (eval $ac_try) 2>&5
43669 ac_status=$?
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); }; }; then
43672 wx_cv_type_getsockopt5=int
43673 else
43674 echo "$as_me: failed program was:" >&5
43675 sed 's/^/| /' conftest.$ac_ext >&5
43676
43677 wx_cv_type_getsockopt5=unknown
43678
43679 fi
43680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43681
43682 fi
43683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43684
43685
43686 fi
43687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43688 ac_ext=c
43689 ac_cpp='$CPP $CPPFLAGS'
43690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43693
43694
43695 fi
43696 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43697 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43698
43699 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43700 wxUSE_SOCKETS=no
43701 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43702 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43703 else
43704 cat >>confdefs.h <<_ACEOF
43705 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43706 _ACEOF
43707
43708 fi
43709 fi
43710 fi
43711
43712 if test "$wxUSE_SOCKETS" = "yes" ; then
43713 cat >>confdefs.h <<\_ACEOF
43714 #define wxUSE_SOCKETS 1
43715 _ACEOF
43716
43717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43718 fi
43719
43720 if test "$wxUSE_PROTOCOL" = "yes"; then
43721 if test "$wxUSE_SOCKETS" != "yes"; then
43722 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43723 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43724 wxUSE_PROTOCOL=no
43725 fi
43726 fi
43727
43728 if test "$wxUSE_PROTOCOL" = "yes"; then
43729 cat >>confdefs.h <<\_ACEOF
43730 #define wxUSE_PROTOCOL 1
43731 _ACEOF
43732
43733
43734 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43735 cat >>confdefs.h <<\_ACEOF
43736 #define wxUSE_PROTOCOL_HTTP 1
43737 _ACEOF
43738
43739 fi
43740 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43741 cat >>confdefs.h <<\_ACEOF
43742 #define wxUSE_PROTOCOL_FTP 1
43743 _ACEOF
43744
43745 fi
43746 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43747 cat >>confdefs.h <<\_ACEOF
43748 #define wxUSE_PROTOCOL_FILE 1
43749 _ACEOF
43750
43751 fi
43752 else
43753 if test "$wxUSE_FS_INET" = "yes"; then
43754 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43755 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43756 wxUSE_FS_INET="no"
43757 fi
43758 fi
43759
43760 if test "$wxUSE_URL" = "yes"; then
43761 if test "$wxUSE_PROTOCOL" != "yes"; then
43762 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43763 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43764 wxUSE_URL=no
43765 fi
43766 if test "$wxUSE_URL" = "yes"; then
43767 cat >>confdefs.h <<\_ACEOF
43768 #define wxUSE_URL 1
43769 _ACEOF
43770
43771 fi
43772 fi
43773
43774 if test "$wxUSE_VARIANT" = "yes"; then
43775 cat >>confdefs.h <<\_ACEOF
43776 #define wxUSE_VARIANT 1
43777 _ACEOF
43778
43779 fi
43780
43781 if test "$wxUSE_FS_INET" = "yes"; then
43782 cat >>confdefs.h <<\_ACEOF
43783 #define wxUSE_FS_INET 1
43784 _ACEOF
43785
43786 fi
43787
43788
43789 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43790 wxUSE_JOYSTICK=no
43791
43792 if test "$TOOLKIT" = "MSW"; then
43793 wxUSE_JOYSTICK=yes
43794
43795 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43796 if test "$USE_DARWIN" = 1; then
43797 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43798 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43799 ac_ext=cc
43800 ac_cpp='$CXXCPP $CPPFLAGS'
43801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43804
43805 cat >conftest.$ac_ext <<_ACEOF
43806 /* confdefs.h. */
43807 _ACEOF
43808 cat confdefs.h >>conftest.$ac_ext
43809 cat >>conftest.$ac_ext <<_ACEOF
43810 /* end confdefs.h. */
43811 #include <IOKit/hid/IOHIDLib.h>
43812 int
43813 main ()
43814 {
43815 IOHIDQueueInterface *qi = NULL;
43816 IOHIDCallbackFunction cb = NULL;
43817 qi->setEventCallout(NULL, cb, NULL, NULL);
43818 ;
43819 return 0;
43820 }
43821 _ACEOF
43822 rm -f conftest.$ac_objext
43823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43824 (eval $ac_compile) 2>conftest.er1
43825 ac_status=$?
43826 grep -v '^ *+' conftest.er1 >conftest.err
43827 rm -f conftest.er1
43828 cat conftest.err >&5
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); } &&
43831 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43833 (eval $ac_try) 2>&5
43834 ac_status=$?
43835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43836 (exit $ac_status); }; } &&
43837 { ac_try='test -s conftest.$ac_objext'
43838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43839 (eval $ac_try) 2>&5
43840 ac_status=$?
43841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43842 (exit $ac_status); }; }; then
43843 wxUSE_JOYSTICK=yes
43844
43845 else
43846 echo "$as_me: failed program was:" >&5
43847 sed 's/^/| /' conftest.$ac_ext >&5
43848
43849 fi
43850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43851 ac_ext=c
43852 ac_cpp='$CPP $CPPFLAGS'
43853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43856
43857 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43858 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43859 fi
43860
43861 else
43862 if test "$wxUSE_MGL" != "1"; then
43863 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43864 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
43865 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43866 echo $ECHO_N "(cached) $ECHO_C" >&6
43867 else
43868 cat >conftest.$ac_ext <<_ACEOF
43869 /* confdefs.h. */
43870 _ACEOF
43871 cat confdefs.h >>conftest.$ac_ext
43872 cat >>conftest.$ac_ext <<_ACEOF
43873 /* end confdefs.h. */
43874 $ac_includes_default
43875
43876 #include <linux/joystick.h>
43877 _ACEOF
43878 rm -f conftest.$ac_objext
43879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43880 (eval $ac_compile) 2>conftest.er1
43881 ac_status=$?
43882 grep -v '^ *+' conftest.er1 >conftest.err
43883 rm -f conftest.er1
43884 cat conftest.err >&5
43885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43886 (exit $ac_status); } &&
43887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43889 (eval $ac_try) 2>&5
43890 ac_status=$?
43891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43892 (exit $ac_status); }; } &&
43893 { ac_try='test -s conftest.$ac_objext'
43894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43895 (eval $ac_try) 2>&5
43896 ac_status=$?
43897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43898 (exit $ac_status); }; }; then
43899 ac_cv_header_linux_joystick_h=yes
43900 else
43901 echo "$as_me: failed program was:" >&5
43902 sed 's/^/| /' conftest.$ac_ext >&5
43903
43904 ac_cv_header_linux_joystick_h=no
43905 fi
43906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43907 fi
43908 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43909 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
43910 if test $ac_cv_header_linux_joystick_h = yes; then
43911 wxUSE_JOYSTICK=yes
43912 fi
43913
43914
43915 fi
43916 fi
43917
43918 if test "$wxUSE_JOYSTICK" = "yes"; then
43919 cat >>confdefs.h <<\_ACEOF
43920 #define wxUSE_JOYSTICK 1
43921 _ACEOF
43922
43923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43924 else
43925 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43926 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43927 fi
43928 fi
43929
43930
43931
43932 if test "$wxUSE_FONTMAP" = "yes" ; then
43933 cat >>confdefs.h <<\_ACEOF
43934 #define wxUSE_FONTMAP 1
43935 _ACEOF
43936
43937 fi
43938
43939 if test "$wxUSE_UNICODE" = "yes" ; then
43940 cat >>confdefs.h <<\_ACEOF
43941 #define wxUSE_UNICODE 1
43942 _ACEOF
43943
43944
43945 if test "$USE_WIN32" != 1; then
43946 wxUSE_UNICODE_MSLU=no
43947 fi
43948
43949 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43950 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43951 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43952 if test "${ac_cv_lib_unicows_main+set}" = set; then
43953 echo $ECHO_N "(cached) $ECHO_C" >&6
43954 else
43955 ac_check_lib_save_LIBS=$LIBS
43956 LIBS="-lunicows $LIBS"
43957 cat >conftest.$ac_ext <<_ACEOF
43958 /* confdefs.h. */
43959 _ACEOF
43960 cat confdefs.h >>conftest.$ac_ext
43961 cat >>conftest.$ac_ext <<_ACEOF
43962 /* end confdefs.h. */
43963
43964
43965 int
43966 main ()
43967 {
43968 main ();
43969 ;
43970 return 0;
43971 }
43972 _ACEOF
43973 rm -f conftest.$ac_objext conftest$ac_exeext
43974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43975 (eval $ac_link) 2>conftest.er1
43976 ac_status=$?
43977 grep -v '^ *+' conftest.er1 >conftest.err
43978 rm -f conftest.er1
43979 cat conftest.err >&5
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); } &&
43982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43984 (eval $ac_try) 2>&5
43985 ac_status=$?
43986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43987 (exit $ac_status); }; } &&
43988 { ac_try='test -s conftest$ac_exeext'
43989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43990 (eval $ac_try) 2>&5
43991 ac_status=$?
43992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43993 (exit $ac_status); }; }; then
43994 ac_cv_lib_unicows_main=yes
43995 else
43996 echo "$as_me: failed program was:" >&5
43997 sed 's/^/| /' conftest.$ac_ext >&5
43998
43999 ac_cv_lib_unicows_main=no
44000 fi
44001 rm -f conftest.err conftest.$ac_objext \
44002 conftest$ac_exeext conftest.$ac_ext
44003 LIBS=$ac_check_lib_save_LIBS
44004 fi
44005 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44006 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44007 if test $ac_cv_lib_unicows_main = yes; then
44008
44009 cat >>confdefs.h <<\_ACEOF
44010 #define wxUSE_UNICODE_MSLU 1
44011 _ACEOF
44012
44013
44014 else
44015
44016 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44017 Applications will only run on Windows NT/2000/XP!" >&5
44018 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44019 Applications will only run on Windows NT/2000/XP!" >&2;}
44020 wxUSE_UNICODE_MSLU=no
44021
44022 fi
44023
44024 fi
44025 fi
44026
44027 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44028 cat >>confdefs.h <<\_ACEOF
44029 #define wxUSE_UNICODE_UTF8 1
44030 _ACEOF
44031
44032
44033 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44034 cat >>confdefs.h <<\_ACEOF
44035 #define wxUSE_UTF8_LOCALE_ONLY 1
44036 _ACEOF
44037
44038 fi
44039 fi
44040
44041 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_EXPERIMENTAL_PRINTF 1
44044 _ACEOF
44045
44046 fi
44047
44048
44049 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44050 cat >>confdefs.h <<\_ACEOF
44051 #define wxUSE_POSTSCRIPT 1
44052 _ACEOF
44053
44054 fi
44055
44056 cat >>confdefs.h <<\_ACEOF
44057 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44058 _ACEOF
44059
44060
44061 cat >>confdefs.h <<\_ACEOF
44062 #define wxUSE_NORMALIZED_PS_FONTS 1
44063 _ACEOF
44064
44065
44066
44067 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44068 cat >>confdefs.h <<\_ACEOF
44069 #define wxUSE_CONSTRAINTS 1
44070 _ACEOF
44071
44072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44073 fi
44074
44075 if test "$wxUSE_MDI" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define wxUSE_MDI 1
44078 _ACEOF
44079
44080
44081 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44082 cat >>confdefs.h <<\_ACEOF
44083 #define wxUSE_MDI_ARCHITECTURE 1
44084 _ACEOF
44085
44086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44087 fi
44088 fi
44089
44090 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44091 cat >>confdefs.h <<\_ACEOF
44092 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44093 _ACEOF
44094
44095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44096 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44098 fi
44099 fi
44100
44101 if test "$wxUSE_HELP" = "yes"; then
44102 cat >>confdefs.h <<\_ACEOF
44103 #define wxUSE_HELP 1
44104 _ACEOF
44105
44106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44107
44108 if test "$wxUSE_MSW" = 1; then
44109 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44110 cat >>confdefs.h <<\_ACEOF
44111 #define wxUSE_MS_HTML_HELP 1
44112 _ACEOF
44113
44114 fi
44115 fi
44116
44117 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44118 if test "$wxUSE_HTML" = "yes"; then
44119 cat >>confdefs.h <<\_ACEOF
44120 #define wxUSE_WXHTML_HELP 1
44121 _ACEOF
44122
44123 else
44124 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44125 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44126 wxUSE_WXHTML_HELP=no
44127 fi
44128 fi
44129 fi
44130
44131 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44132 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44133 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44134 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44135 else
44136 cat >>confdefs.h <<\_ACEOF
44137 #define wxUSE_PRINTING_ARCHITECTURE 1
44138 _ACEOF
44139
44140 fi
44141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44142 fi
44143
44144
44145
44146 if test "$wxUSE_METAFILE" = "yes"; then
44147 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44148 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44149 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44150 wxUSE_METAFILE=no
44151 fi
44152 fi
44153
44154
44155 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44156 -o "$wxUSE_CLIPBOARD" = "yes" \
44157 -o "$wxUSE_OLE" = "yes" \
44158 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44159 echo "$as_me:$LINENO: checking for ole2.h" >&5
44160 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
44161 if test "${ac_cv_header_ole2_h+set}" = set; then
44162 echo $ECHO_N "(cached) $ECHO_C" >&6
44163 else
44164 cat >conftest.$ac_ext <<_ACEOF
44165 /* confdefs.h. */
44166 _ACEOF
44167 cat confdefs.h >>conftest.$ac_ext
44168 cat >>conftest.$ac_ext <<_ACEOF
44169 /* end confdefs.h. */
44170
44171
44172 #include <ole2.h>
44173 _ACEOF
44174 rm -f conftest.$ac_objext
44175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44176 (eval $ac_compile) 2>conftest.er1
44177 ac_status=$?
44178 grep -v '^ *+' conftest.er1 >conftest.err
44179 rm -f conftest.er1
44180 cat conftest.err >&5
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); } &&
44183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44185 (eval $ac_try) 2>&5
44186 ac_status=$?
44187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44188 (exit $ac_status); }; } &&
44189 { ac_try='test -s conftest.$ac_objext'
44190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44191 (eval $ac_try) 2>&5
44192 ac_status=$?
44193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44194 (exit $ac_status); }; }; then
44195 ac_cv_header_ole2_h=yes
44196 else
44197 echo "$as_me: failed program was:" >&5
44198 sed 's/^/| /' conftest.$ac_ext >&5
44199
44200 ac_cv_header_ole2_h=no
44201 fi
44202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44203 fi
44204 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44205 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
44206
44207
44208
44209 if test "$ac_cv_header_ole2_h" = "yes" ; then
44210 if test "$GCC" = yes ; then
44211 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44212 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44213 cat >conftest.$ac_ext <<_ACEOF
44214 /* confdefs.h. */
44215 _ACEOF
44216 cat confdefs.h >>conftest.$ac_ext
44217 cat >>conftest.$ac_ext <<_ACEOF
44218 /* end confdefs.h. */
44219 #include <windows.h>
44220 #include <ole2.h>
44221 int
44222 main ()
44223 {
44224
44225 ;
44226 return 0;
44227 }
44228 _ACEOF
44229 rm -f conftest.$ac_objext
44230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44231 (eval $ac_compile) 2>conftest.er1
44232 ac_status=$?
44233 grep -v '^ *+' conftest.er1 >conftest.err
44234 rm -f conftest.er1
44235 cat conftest.err >&5
44236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237 (exit $ac_status); } &&
44238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44240 (eval $ac_try) 2>&5
44241 ac_status=$?
44242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243 (exit $ac_status); }; } &&
44244 { ac_try='test -s conftest.$ac_objext'
44245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44246 (eval $ac_try) 2>&5
44247 ac_status=$?
44248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44249 (exit $ac_status); }; }; then
44250 echo "$as_me:$LINENO: result: no" >&5
44251 echo "${ECHO_T}no" >&6
44252 else
44253 echo "$as_me: failed program was:" >&5
44254 sed 's/^/| /' conftest.$ac_ext >&5
44255
44256 echo "$as_me:$LINENO: result: yes" >&5
44257 echo "${ECHO_T}yes" >&6
44258 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44259 fi
44260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44261 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44262 if test "$wxUSE_OLE" = "yes" ; then
44263 cat >>confdefs.h <<\_ACEOF
44264 #define wxUSE_OLE 1
44265 _ACEOF
44266
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_OLE_AUTOMATION 1
44269 _ACEOF
44270
44271 cat >>confdefs.h <<\_ACEOF
44272 #define wxUSE_ACTIVEX 1
44273 _ACEOF
44274
44275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44276 fi
44277 fi
44278
44279 if test "$wxUSE_DATAOBJ" = "yes" ; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_DATAOBJ 1
44282 _ACEOF
44283
44284 fi
44285 else
44286 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44287 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44288
44289 wxUSE_CLIPBOARD=no
44290 wxUSE_DRAG_AND_DROP=no
44291 wxUSE_DATAOBJ=no
44292 wxUSE_OLE=no
44293 fi
44294
44295 if test "$wxUSE_METAFILE" = "yes"; then
44296 cat >>confdefs.h <<\_ACEOF
44297 #define wxUSE_METAFILE 1
44298 _ACEOF
44299
44300
44301 cat >>confdefs.h <<\_ACEOF
44302 #define wxUSE_ENH_METAFILE 1
44303 _ACEOF
44304
44305 fi
44306 fi
44307
44308 if test "$wxUSE_IPC" = "yes"; then
44309 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44310 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44311 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44312 wxUSE_IPC=no
44313 fi
44314
44315 if test "$wxUSE_IPC" = "yes"; then
44316 cat >>confdefs.h <<\_ACEOF
44317 #define wxUSE_IPC 1
44318 _ACEOF
44319
44320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44321 fi
44322 fi
44323
44324 if test "$wxUSE_DATAOBJ" = "yes"; then
44325 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44326 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44327 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44328 wxUSE_DATAOBJ=no
44329 else
44330 cat >>confdefs.h <<\_ACEOF
44331 #define wxUSE_DATAOBJ 1
44332 _ACEOF
44333
44334 fi
44335 else
44336 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44337 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44338 wxUSE_CLIPBOARD=no
44339 wxUSE_DRAG_AND_DROP=no
44340 fi
44341
44342 if test "$wxUSE_CLIPBOARD" = "yes"; then
44343 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44344 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44345 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44346 wxUSE_CLIPBOARD=no
44347 fi
44348
44349 if test "$wxUSE_CLIPBOARD" = "yes"; then
44350 cat >>confdefs.h <<\_ACEOF
44351 #define wxUSE_CLIPBOARD 1
44352 _ACEOF
44353
44354 fi
44355 fi
44356
44357 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44358 if test "$wxUSE_GTK" = 1; then
44359 if test "$WXGTK12" != 1; then
44360 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44361 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44362 wxUSE_DRAG_AND_DROP=no
44363 fi
44364 fi
44365
44366 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44367 "$wxUSE_DFB" = 1; then
44368 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44369 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44370 wxUSE_DRAG_AND_DROP=no
44371 fi
44372
44373 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44374 cat >>confdefs.h <<\_ACEOF
44375 #define wxUSE_DRAG_AND_DROP 1
44376 _ACEOF
44377
44378 fi
44379
44380 fi
44381
44382 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44384 fi
44385
44386 if test "$wxUSE_SPLINES" = "yes" ; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_SPLINES 1
44389 _ACEOF
44390
44391 fi
44392
44393 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44394 cat >>confdefs.h <<\_ACEOF
44395 #define wxUSE_MOUSEWHEEL 1
44396 _ACEOF
44397
44398 fi
44399
44400
44401 USES_CONTROLS=0
44402 if test "$wxUSE_CONTROLS" = "yes"; then
44403 USES_CONTROLS=1
44404 fi
44405
44406 if test "$wxUSE_ACCEL" = "yes"; then
44407 cat >>confdefs.h <<\_ACEOF
44408 #define wxUSE_ACCEL 1
44409 _ACEOF
44410
44411 USES_CONTROLS=1
44412 fi
44413
44414 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44415 cat >>confdefs.h <<\_ACEOF
44416 #define wxUSE_ANIMATIONCTRL 1
44417 _ACEOF
44418
44419 USES_CONTROLS=1
44420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44421 fi
44422
44423 if test "$wxUSE_BUTTON" = "yes"; then
44424 cat >>confdefs.h <<\_ACEOF
44425 #define wxUSE_BUTTON 1
44426 _ACEOF
44427
44428 USES_CONTROLS=1
44429 fi
44430
44431 if test "$wxUSE_BMPBUTTON" = "yes"; then
44432 cat >>confdefs.h <<\_ACEOF
44433 #define wxUSE_BMPBUTTON 1
44434 _ACEOF
44435
44436 USES_CONTROLS=1
44437 fi
44438
44439 if test "$wxUSE_CALCTRL" = "yes"; then
44440 cat >>confdefs.h <<\_ACEOF
44441 #define wxUSE_CALENDARCTRL 1
44442 _ACEOF
44443
44444 USES_CONTROLS=1
44445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44446 fi
44447
44448 if test "$wxUSE_CARET" = "yes"; then
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_CARET 1
44451 _ACEOF
44452
44453 USES_CONTROLS=1
44454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44455 fi
44456
44457 if test "$wxUSE_COLLPANE" = "yes"; then
44458 cat >>confdefs.h <<\_ACEOF
44459 #define wxUSE_COLLPANE 1
44460 _ACEOF
44461
44462 USES_CONTROLS=1
44463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44464 fi
44465
44466 if test "$wxUSE_COMBOBOX" = "yes"; then
44467 cat >>confdefs.h <<\_ACEOF
44468 #define wxUSE_COMBOBOX 1
44469 _ACEOF
44470
44471 USES_CONTROLS=1
44472 fi
44473
44474 if test "$wxUSE_COMBOCTRL" = "yes"; then
44475 cat >>confdefs.h <<\_ACEOF
44476 #define wxUSE_COMBOCTRL 1
44477 _ACEOF
44478
44479 USES_CONTROLS=1
44480 fi
44481
44482 if test "$wxUSE_CHOICE" = "yes"; then
44483 cat >>confdefs.h <<\_ACEOF
44484 #define wxUSE_CHOICE 1
44485 _ACEOF
44486
44487 USES_CONTROLS=1
44488 fi
44489
44490 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44491 cat >>confdefs.h <<\_ACEOF
44492 #define wxUSE_CHOICEBOOK 1
44493 _ACEOF
44494
44495 USES_CONTROLS=1
44496 fi
44497
44498 if test "$wxUSE_CHECKBOX" = "yes"; then
44499 cat >>confdefs.h <<\_ACEOF
44500 #define wxUSE_CHECKBOX 1
44501 _ACEOF
44502
44503 USES_CONTROLS=1
44504 fi
44505
44506 if test "$wxUSE_CHECKLST" = "yes"; then
44507 cat >>confdefs.h <<\_ACEOF
44508 #define wxUSE_CHECKLISTBOX 1
44509 _ACEOF
44510
44511 USES_CONTROLS=1
44512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44513 fi
44514
44515 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44516 cat >>confdefs.h <<\_ACEOF
44517 #define wxUSE_COLOURPICKERCTRL 1
44518 _ACEOF
44519
44520 USES_CONTROLS=1
44521 fi
44522
44523 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44524 cat >>confdefs.h <<\_ACEOF
44525 #define wxUSE_DATEPICKCTRL 1
44526 _ACEOF
44527
44528 USES_CONTROLS=1
44529 fi
44530
44531 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44532 cat >>confdefs.h <<\_ACEOF
44533 #define wxUSE_DIRPICKERCTRL 1
44534 _ACEOF
44535
44536 USES_CONTROLS=1
44537 fi
44538
44539 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44540 cat >>confdefs.h <<\_ACEOF
44541 #define wxUSE_FILEPICKERCTRL 1
44542 _ACEOF
44543
44544 USES_CONTROLS=1
44545 fi
44546
44547 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44548 cat >>confdefs.h <<\_ACEOF
44549 #define wxUSE_FONTPICKERCTRL 1
44550 _ACEOF
44551
44552 USES_CONTROLS=1
44553 fi
44554
44555 if test "$wxUSE_DISPLAY" = "yes"; then
44556 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44557 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44558 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44559 wxUSE_DISPLAY=no
44560 else
44561 cat >>confdefs.h <<\_ACEOF
44562 #define wxUSE_DISPLAY 1
44563 _ACEOF
44564
44565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44566 fi
44567 fi
44568
44569 if test "$wxUSE_DETECT_SM" = "yes"; then
44570 cat >>confdefs.h <<\_ACEOF
44571 #define wxUSE_DETECT_SM 1
44572 _ACEOF
44573
44574 fi
44575
44576 if test "$wxUSE_GAUGE" = "yes"; then
44577 cat >>confdefs.h <<\_ACEOF
44578 #define wxUSE_GAUGE 1
44579 _ACEOF
44580
44581 USES_CONTROLS=1
44582 fi
44583
44584 if test "$wxUSE_GRID" = "yes"; then
44585 cat >>confdefs.h <<\_ACEOF
44586 #define wxUSE_GRID 1
44587 _ACEOF
44588
44589 USES_CONTROLS=1
44590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44591 fi
44592
44593 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44594 cat >>confdefs.h <<\_ACEOF
44595 #define wxUSE_HYPERLINKCTRL 1
44596 _ACEOF
44597
44598 USES_CONTROLS=1
44599 fi
44600
44601 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44602 cat >>confdefs.h <<\_ACEOF
44603 #define wxUSE_BITMAPCOMBOBOX 1
44604 _ACEOF
44605
44606 USES_CONTROLS=1
44607 fi
44608
44609 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44610 cat >>confdefs.h <<\_ACEOF
44611 #define wxUSE_DATAVIEWCTRL 1
44612 _ACEOF
44613
44614 USES_CONTROLS=1
44615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44616 fi
44617
44618 if test "$wxUSE_IMAGLIST" = "yes"; then
44619 cat >>confdefs.h <<\_ACEOF
44620 #define wxUSE_IMAGLIST 1
44621 _ACEOF
44622
44623 fi
44624
44625 if test "$wxUSE_LISTBOOK" = "yes"; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_LISTBOOK 1
44628 _ACEOF
44629
44630 USES_CONTROLS=1
44631 fi
44632
44633 if test "$wxUSE_LISTBOX" = "yes"; then
44634 cat >>confdefs.h <<\_ACEOF
44635 #define wxUSE_LISTBOX 1
44636 _ACEOF
44637
44638 USES_CONTROLS=1
44639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44640 fi
44641
44642 if test "$wxUSE_LISTCTRL" = "yes"; then
44643 if test "$wxUSE_IMAGLIST" = "yes"; then
44644 cat >>confdefs.h <<\_ACEOF
44645 #define wxUSE_LISTCTRL 1
44646 _ACEOF
44647
44648 USES_CONTROLS=1
44649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44650 else
44651 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44652 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44653 fi
44654 fi
44655
44656 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44657 cat >>confdefs.h <<\_ACEOF
44658 #define wxUSE_EDITABLELISTBOX 1
44659 _ACEOF
44660
44661 USES_CONTROLS=1
44662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44663 fi
44664
44665 if test "$wxUSE_NOTEBOOK" = "yes"; then
44666 cat >>confdefs.h <<\_ACEOF
44667 #define wxUSE_NOTEBOOK 1
44668 _ACEOF
44669
44670 USES_CONTROLS=1
44671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44672 fi
44673
44674 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44675 cat >>confdefs.h <<\_ACEOF
44676 #define wxUSE_ODCOMBOBOX 1
44677 _ACEOF
44678
44679 USES_CONTROLS=1
44680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44681 fi
44682
44683
44684 if test "$wxUSE_RADIOBOX" = "yes"; then
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_RADIOBOX 1
44687 _ACEOF
44688
44689 USES_CONTROLS=1
44690 fi
44691
44692 if test "$wxUSE_RADIOBTN" = "yes"; then
44693 cat >>confdefs.h <<\_ACEOF
44694 #define wxUSE_RADIOBTN 1
44695 _ACEOF
44696
44697 USES_CONTROLS=1
44698 fi
44699
44700 if test "$wxUSE_SASH" = "yes"; then
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_SASH 1
44703 _ACEOF
44704
44705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44706 fi
44707
44708 if test "$wxUSE_SCROLLBAR" = "yes"; then
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_SCROLLBAR 1
44711 _ACEOF
44712
44713 USES_CONTROLS=1
44714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44715 fi
44716
44717 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44718 cat >>confdefs.h <<\_ACEOF
44719 #define wxUSE_SEARCHCTRL 1
44720 _ACEOF
44721
44722 USES_CONTROLS=1
44723 fi
44724
44725 if test "$wxUSE_SLIDER" = "yes"; then
44726 cat >>confdefs.h <<\_ACEOF
44727 #define wxUSE_SLIDER 1
44728 _ACEOF
44729
44730 USES_CONTROLS=1
44731 fi
44732
44733 if test "$wxUSE_SPINBTN" = "yes"; then
44734 cat >>confdefs.h <<\_ACEOF
44735 #define wxUSE_SPINBTN 1
44736 _ACEOF
44737
44738 USES_CONTROLS=1
44739 fi
44740
44741 if test "$wxUSE_SPINCTRL" = "yes"; then
44742 cat >>confdefs.h <<\_ACEOF
44743 #define wxUSE_SPINCTRL 1
44744 _ACEOF
44745
44746 USES_CONTROLS=1
44747 fi
44748
44749 if test "$wxUSE_SPLITTER" = "yes"; then
44750 cat >>confdefs.h <<\_ACEOF
44751 #define wxUSE_SPLITTER 1
44752 _ACEOF
44753
44754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44755 fi
44756
44757 if test "$wxUSE_STATBMP" = "yes"; then
44758 cat >>confdefs.h <<\_ACEOF
44759 #define wxUSE_STATBMP 1
44760 _ACEOF
44761
44762 USES_CONTROLS=1
44763 fi
44764
44765 if test "$wxUSE_STATBOX" = "yes"; then
44766 cat >>confdefs.h <<\_ACEOF
44767 #define wxUSE_STATBOX 1
44768 _ACEOF
44769
44770 USES_CONTROLS=1
44771 fi
44772
44773 if test "$wxUSE_STATTEXT" = "yes"; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_STATTEXT 1
44776 _ACEOF
44777
44778 USES_CONTROLS=1
44779 fi
44780
44781 if test "$wxUSE_STATLINE" = "yes"; then
44782 cat >>confdefs.h <<\_ACEOF
44783 #define wxUSE_STATLINE 1
44784 _ACEOF
44785
44786 USES_CONTROLS=1
44787 fi
44788
44789 if test "$wxUSE_STATUSBAR" = "yes"; then
44790 cat >>confdefs.h <<\_ACEOF
44791 #define wxUSE_NATIVE_STATUSBAR 1
44792 _ACEOF
44793
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_STATUSBAR 1
44796 _ACEOF
44797
44798 USES_CONTROLS=1
44799
44800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44801 fi
44802
44803 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44804 cat >>confdefs.h <<\_ACEOF
44805 #define wxUSE_TAB_DIALOG 1
44806 _ACEOF
44807
44808 fi
44809
44810 if test "$wxUSE_TEXTCTRL" = "yes"; then
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_TEXTCTRL 1
44813 _ACEOF
44814
44815 USES_CONTROLS=1
44816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44817 fi
44818
44819 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44820 if test "$wxUSE_COCOA" = 1 ; then
44821 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44822 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44823 wxUSE_TOGGLEBTN=no
44824 fi
44825
44826 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44827 cat >>confdefs.h <<\_ACEOF
44828 #define wxUSE_TOGGLEBTN 1
44829 _ACEOF
44830
44831 USES_CONTROLS=1
44832 fi
44833 fi
44834
44835 if test "$wxUSE_TOOLBAR" = "yes"; then
44836 cat >>confdefs.h <<\_ACEOF
44837 #define wxUSE_TOOLBAR 1
44838 _ACEOF
44839
44840 USES_CONTROLS=1
44841
44842 if test "$wxUSE_UNIVERSAL" = "yes"; then
44843 wxUSE_TOOLBAR_NATIVE="no"
44844 else
44845 wxUSE_TOOLBAR_NATIVE="yes"
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_TOOLBAR_NATIVE 1
44848 _ACEOF
44849
44850 fi
44851
44852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44853 fi
44854
44855 if test "$wxUSE_TOOLTIPS" = "yes"; then
44856 if test "$wxUSE_MOTIF" = 1; then
44857 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44858 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44859 else
44860 if test "$wxUSE_UNIVERSAL" = "yes"; then
44861 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44862 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44863 else
44864 cat >>confdefs.h <<\_ACEOF
44865 #define wxUSE_TOOLTIPS 1
44866 _ACEOF
44867
44868 fi
44869 fi
44870 fi
44871
44872 if test "$wxUSE_TREEBOOK" = "yes"; then
44873 cat >>confdefs.h <<\_ACEOF
44874 #define wxUSE_TREEBOOK 1
44875 _ACEOF
44876
44877 USES_CONTROLS=1
44878 fi
44879
44880 if test "$wxUSE_TOOLBOOK" = "yes"; then
44881 cat >>confdefs.h <<\_ACEOF
44882 #define wxUSE_TOOLBOOK 1
44883 _ACEOF
44884
44885 USES_CONTROLS=1
44886 fi
44887
44888 if test "$wxUSE_TREECTRL" = "yes"; then
44889 if test "$wxUSE_IMAGLIST" = "yes"; then
44890 cat >>confdefs.h <<\_ACEOF
44891 #define wxUSE_TREECTRL 1
44892 _ACEOF
44893
44894 USES_CONTROLS=1
44895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44896 else
44897 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44898 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44899 fi
44900 fi
44901
44902 if test "$wxUSE_POPUPWIN" = "yes"; then
44903 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44904 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44905 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44906 else
44907 if test "$wxUSE_PM" = 1; then
44908 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44909 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44910 else
44911 cat >>confdefs.h <<\_ACEOF
44912 #define wxUSE_POPUPWIN 1
44913 _ACEOF
44914
44915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44916
44917 USES_CONTROLS=1
44918 fi
44919 fi
44920 fi
44921
44922 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44923 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44924 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44925 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44926 else
44927 cat >>confdefs.h <<\_ACEOF
44928 #define wxUSE_DIALUP_MANAGER 1
44929 _ACEOF
44930
44931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44932 fi
44933 fi
44934
44935 if test "$wxUSE_TIPWINDOW" = "yes"; then
44936 if test "$wxUSE_PM" = 1; then
44937 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44938 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44939 else
44940 cat >>confdefs.h <<\_ACEOF
44941 #define wxUSE_TIPWINDOW 1
44942 _ACEOF
44943
44944 fi
44945 fi
44946
44947 if test "$USES_CONTROLS" = 1; then
44948 cat >>confdefs.h <<\_ACEOF
44949 #define wxUSE_CONTROLS 1
44950 _ACEOF
44951
44952 fi
44953
44954
44955 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44956 cat >>confdefs.h <<\_ACEOF
44957 #define wxUSE_ACCESSIBILITY 1
44958 _ACEOF
44959
44960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44961 fi
44962
44963 if test "$wxUSE_DC_CACHEING" = "yes"; then
44964 cat >>confdefs.h <<\_ACEOF
44965 #define wxUSE_DC_CACHEING 1
44966 _ACEOF
44967
44968 fi
44969
44970 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_DRAGIMAGE 1
44973 _ACEOF
44974
44975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44976 fi
44977
44978 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44979 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44980 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44981 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44982 else
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_EXCEPTIONS 1
44985 _ACEOF
44986
44987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44988 fi
44989 fi
44990
44991 USE_HTML=0
44992 if test "$wxUSE_HTML" = "yes"; then
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_HTML 1
44995 _ACEOF
44996
44997 USE_HTML=1
44998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44999 if test "$wxUSE_MAC" = 1; then
45000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45001 fi
45002 fi
45003 if test "$wxUSE_WEBKIT" = "yes"; then
45004 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45005 old_CPPFLAGS="$CPPFLAGS"
45006 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45007 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45008 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45009 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45010 echo $ECHO_N "(cached) $ECHO_C" >&6
45011 else
45012 cat >conftest.$ac_ext <<_ACEOF
45013 /* confdefs.h. */
45014 _ACEOF
45015 cat confdefs.h >>conftest.$ac_ext
45016 cat >>conftest.$ac_ext <<_ACEOF
45017 /* end confdefs.h. */
45018
45019 #include <Carbon/Carbon.h>
45020 #include <WebKit/WebKit.h>
45021
45022
45023 #include <WebKit/HIWebView.h>
45024 _ACEOF
45025 rm -f conftest.$ac_objext
45026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45027 (eval $ac_compile) 2>conftest.er1
45028 ac_status=$?
45029 grep -v '^ *+' conftest.er1 >conftest.err
45030 rm -f conftest.er1
45031 cat conftest.err >&5
45032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45033 (exit $ac_status); } &&
45034 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45036 (eval $ac_try) 2>&5
45037 ac_status=$?
45038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45039 (exit $ac_status); }; } &&
45040 { ac_try='test -s conftest.$ac_objext'
45041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45042 (eval $ac_try) 2>&5
45043 ac_status=$?
45044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45045 (exit $ac_status); }; }; then
45046 ac_cv_header_WebKit_HIWebView_h=yes
45047 else
45048 echo "$as_me: failed program was:" >&5
45049 sed 's/^/| /' conftest.$ac_ext >&5
45050
45051 ac_cv_header_WebKit_HIWebView_h=no
45052 fi
45053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45054 fi
45055 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45056 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45057 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45058
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_WEBKIT 1
45061 _ACEOF
45062
45063 WEBKIT_LINK="-framework WebKit"
45064
45065 else
45066
45067 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45068 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45069 wxUSE_WEBKIT=no
45070
45071 fi
45072
45073
45074 CPPFLAGS="$old_CPPFLAGS"
45075 elif test "$wxUSE_COCOA" = 1; then
45076 cat >>confdefs.h <<\_ACEOF
45077 #define wxUSE_WEBKIT 1
45078 _ACEOF
45079
45080 else
45081 wxUSE_WEBKIT=no
45082 fi
45083 fi
45084
45085 USE_XRC=0
45086 if test "$wxUSE_XRC" = "yes"; then
45087 if test "$wxUSE_XML" != "yes"; then
45088 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45089 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45090 wxUSE_XRC=no
45091 else
45092 cat >>confdefs.h <<\_ACEOF
45093 #define wxUSE_XRC 1
45094 _ACEOF
45095
45096 USE_XRC=1
45097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45098 fi
45099 fi
45100
45101 USE_AUI=0
45102 if test "$wxUSE_AUI" = "yes"; then
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_AUI 1
45105 _ACEOF
45106
45107 USE_AUI=1
45108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45109 fi
45110
45111 USE_STC=0
45112 if test "$wxUSE_STC" = "yes"; then
45113 cat >>confdefs.h <<\_ACEOF
45114 #define wxUSE_STC 1
45115 _ACEOF
45116
45117 USE_STC=1
45118 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45119 fi
45120
45121 if test "$wxUSE_MENUS" = "yes"; then
45122 cat >>confdefs.h <<\_ACEOF
45123 #define wxUSE_MENUS 1
45124 _ACEOF
45125
45126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45127 fi
45128
45129 if test "$wxUSE_METAFILE" = "yes"; then
45130 cat >>confdefs.h <<\_ACEOF
45131 #define wxUSE_METAFILE 1
45132 _ACEOF
45133
45134 fi
45135
45136 if test "$wxUSE_MIMETYPE" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_MIMETYPE 1
45139 _ACEOF
45140
45141 fi
45142
45143 if test "$wxUSE_MINIFRAME" = "yes"; then
45144 cat >>confdefs.h <<\_ACEOF
45145 #define wxUSE_MINIFRAME 1
45146 _ACEOF
45147
45148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45149 fi
45150
45151 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45152 cat >>confdefs.h <<\_ACEOF
45153 #define wxUSE_SYSTEM_OPTIONS 1
45154 _ACEOF
45155
45156 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45157 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45159 fi
45160 fi
45161
45162
45163 if test "$wxUSE_VALIDATORS" = "yes"; then
45164 cat >>confdefs.h <<\_ACEOF
45165 #define wxUSE_VALIDATORS 1
45166 _ACEOF
45167
45168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45169 fi
45170
45171 if test "$wxUSE_PALETTE" = "yes" ; then
45172 if test "$wxUSE_DFB" = 1; then
45173 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45174 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45175 wxUSE_PALETTE=no
45176 else
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_PALETTE 1
45179 _ACEOF
45180
45181 fi
45182 fi
45183
45184 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45185 LIBS=" -lunicows $LIBS"
45186 fi
45187
45188 USE_RICHTEXT=0
45189 if test "$wxUSE_RICHTEXT" = "yes"; then
45190 cat >>confdefs.h <<\_ACEOF
45191 #define wxUSE_RICHTEXT 1
45192 _ACEOF
45193
45194 USE_RICHTEXT=1
45195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45196 fi
45197
45198
45199 if test "$wxUSE_IMAGE" = "yes" ; then
45200 cat >>confdefs.h <<\_ACEOF
45201 #define wxUSE_IMAGE 1
45202 _ACEOF
45203
45204
45205 if test "$wxUSE_GIF" = "yes" ; then
45206 cat >>confdefs.h <<\_ACEOF
45207 #define wxUSE_GIF 1
45208 _ACEOF
45209
45210 fi
45211
45212 if test "$wxUSE_PCX" = "yes" ; then
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_PCX 1
45215 _ACEOF
45216
45217 fi
45218
45219 if test "$wxUSE_TGA" = "yes" ; then
45220 cat >>confdefs.h <<\_ACEOF
45221 #define wxUSE_TGA 1
45222 _ACEOF
45223
45224 fi
45225
45226 if test "$wxUSE_IFF" = "yes" ; then
45227 cat >>confdefs.h <<\_ACEOF
45228 #define wxUSE_IFF 1
45229 _ACEOF
45230
45231 fi
45232
45233 if test "$wxUSE_PNM" = "yes" ; then
45234 cat >>confdefs.h <<\_ACEOF
45235 #define wxUSE_PNM 1
45236 _ACEOF
45237
45238 fi
45239
45240 if test "$wxUSE_XPM" = "yes" ; then
45241 cat >>confdefs.h <<\_ACEOF
45242 #define wxUSE_XPM 1
45243 _ACEOF
45244
45245 fi
45246
45247 if test "$wxUSE_ICO_CUR" = "yes" ; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_ICO_CUR 1
45250 _ACEOF
45251
45252 fi
45253 fi
45254
45255
45256 if test "$wxUSE_ABOUTDLG" = "yes"; then
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_ABOUTDLG 1
45259 _ACEOF
45260
45261 fi
45262
45263 if test "$wxUSE_CHOICEDLG" = "yes"; then
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_CHOICEDLG 1
45266 _ACEOF
45267
45268 fi
45269
45270 if test "$wxUSE_COLOURDLG" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_COLOURDLG 1
45273 _ACEOF
45274
45275 fi
45276
45277 if test "$wxUSE_FILEDLG" = "yes"; then
45278 cat >>confdefs.h <<\_ACEOF
45279 #define wxUSE_FILEDLG 1
45280 _ACEOF
45281
45282 fi
45283
45284 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45285 cat >>confdefs.h <<\_ACEOF
45286 #define wxUSE_FINDREPLDLG 1
45287 _ACEOF
45288
45289 fi
45290
45291 if test "$wxUSE_FONTDLG" = "yes"; then
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_FONTDLG 1
45294 _ACEOF
45295
45296 fi
45297
45298 if test "$wxUSE_DIRDLG" = "yes"; then
45299 if test "$wxUSE_TREECTRL" != "yes"; then
45300 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45301 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45302 else
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_DIRDLG 1
45305 _ACEOF
45306
45307 fi
45308 fi
45309
45310 if test "$wxUSE_MSGDLG" = "yes"; then
45311 cat >>confdefs.h <<\_ACEOF
45312 #define wxUSE_MSGDLG 1
45313 _ACEOF
45314
45315 fi
45316
45317 if test "$wxUSE_NUMBERDLG" = "yes"; then
45318 cat >>confdefs.h <<\_ACEOF
45319 #define wxUSE_NUMBERDLG 1
45320 _ACEOF
45321
45322 fi
45323
45324 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45325 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45326 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45327 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45328 else
45329 cat >>confdefs.h <<\_ACEOF
45330 #define wxUSE_PROGRESSDLG 1
45331 _ACEOF
45332
45333 fi
45334 fi
45335
45336 if test "$wxUSE_SPLASH" = "yes"; then
45337 cat >>confdefs.h <<\_ACEOF
45338 #define wxUSE_SPLASH 1
45339 _ACEOF
45340
45341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45342 fi
45343
45344 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45345 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45346 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45347 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45348 else
45349 cat >>confdefs.h <<\_ACEOF
45350 #define wxUSE_STARTUP_TIPS 1
45351 _ACEOF
45352
45353 fi
45354 fi
45355
45356 if test "$wxUSE_TEXTDLG" = "yes"; then
45357 cat >>confdefs.h <<\_ACEOF
45358 #define wxUSE_TEXTDLG 1
45359 _ACEOF
45360
45361 fi
45362
45363 if test "$wxUSE_WIZARDDLG" = "yes"; then
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_WIZARDDLG 1
45366 _ACEOF
45367
45368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45369 fi
45370
45371
45372 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45373 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45374 cat >>confdefs.h <<\_ACEOF
45375 #define wxUSE_GRAPHICS_CONTEXT 1
45376 _ACEOF
45377
45378 elif test "$wxUSE_GTK" != 1; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_GRAPHICS_CONTEXT 1
45381 _ACEOF
45382
45383 else
45384
45385 pkg_failed=no
45386 echo "$as_me:$LINENO: checking for CAIRO" >&5
45387 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
45388
45389 if test -n "$PKG_CONFIG"; then
45390 if test -n "$CAIRO_CFLAGS"; then
45391 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45392 else
45393 if test -n "$PKG_CONFIG" && \
45394 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45395 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45396 ac_status=$?
45397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45398 (exit $ac_status); }; then
45399 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45400 else
45401 pkg_failed=yes
45402 fi
45403 fi
45404 else
45405 pkg_failed=untried
45406 fi
45407 if test -n "$PKG_CONFIG"; then
45408 if test -n "$CAIRO_LIBS"; then
45409 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45410 else
45411 if test -n "$PKG_CONFIG" && \
45412 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45413 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45414 ac_status=$?
45415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45416 (exit $ac_status); }; then
45417 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45418 else
45419 pkg_failed=yes
45420 fi
45421 fi
45422 else
45423 pkg_failed=untried
45424 fi
45425
45426
45427
45428 if test $pkg_failed = yes; then
45429
45430 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45431 _pkg_short_errors_supported=yes
45432 else
45433 _pkg_short_errors_supported=no
45434 fi
45435 if test $_pkg_short_errors_supported = yes; then
45436 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45437 else
45438 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45439 fi
45440 # Put the nasty error message in config.log where it belongs
45441 echo "$CAIRO_PKG_ERRORS" >&5
45442
45443 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45444 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45445
45446 elif test $pkg_failed = untried; then
45447 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45448 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45449
45450 else
45451 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45452 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45453 echo "$as_me:$LINENO: result: yes" >&5
45454 echo "${ECHO_T}yes" >&6
45455 cat >>confdefs.h <<\_ACEOF
45456 #define wxUSE_GRAPHICS_CONTEXT 1
45457 _ACEOF
45458
45459 fi
45460 fi
45461 fi
45462
45463
45464 USE_MEDIA=0
45465
45466 if test "$wxUSE_MEDIACTRL" = "yes"; then
45467 USE_MEDIA=1
45468
45469 if test "$wxUSE_GTK" = 1; then
45470 wxUSE_GSTREAMER="no"
45471
45472 GST_VERSION_MAJOR=0
45473 GST_VERSION_MINOR=10
45474 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45475
45476 if test "$wxUSE_GSTREAMER8" = "no"; then
45477
45478 pkg_failed=no
45479 echo "$as_me:$LINENO: checking for GST" >&5
45480 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45481
45482 if test -n "$PKG_CONFIG"; then
45483 if test -n "$GST_CFLAGS"; then
45484 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45485 else
45486 if test -n "$PKG_CONFIG" && \
45487 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45488 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45489 ac_status=$?
45490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45491 (exit $ac_status); }; then
45492 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45493 else
45494 pkg_failed=yes
45495 fi
45496 fi
45497 else
45498 pkg_failed=untried
45499 fi
45500 if test -n "$PKG_CONFIG"; then
45501 if test -n "$GST_LIBS"; then
45502 pkg_cv_GST_LIBS="$GST_LIBS"
45503 else
45504 if test -n "$PKG_CONFIG" && \
45505 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45506 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45507 ac_status=$?
45508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45509 (exit $ac_status); }; then
45510 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45511 else
45512 pkg_failed=yes
45513 fi
45514 fi
45515 else
45516 pkg_failed=untried
45517 fi
45518
45519
45520
45521 if test $pkg_failed = yes; then
45522
45523 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45524 _pkg_short_errors_supported=yes
45525 else
45526 _pkg_short_errors_supported=no
45527 fi
45528 if test $_pkg_short_errors_supported = yes; then
45529 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45530 else
45531 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45532 fi
45533 # Put the nasty error message in config.log where it belongs
45534 echo "$GST_PKG_ERRORS" >&5
45535
45536
45537 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45538 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45539 GST_VERSION_MINOR=8
45540
45541
45542 elif test $pkg_failed = untried; then
45543
45544 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45545 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45546 GST_VERSION_MINOR=8
45547
45548
45549 else
45550 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45551 GST_LIBS=$pkg_cv_GST_LIBS
45552 echo "$as_me:$LINENO: result: yes" >&5
45553 echo "${ECHO_T}yes" >&6
45554
45555 wxUSE_GSTREAMER="yes"
45556 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45557
45558 fi
45559 else
45560 GST_VERSION_MINOR=8
45561 fi
45562
45563 if test $GST_VERSION_MINOR = "8"; then
45564 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45565
45566 pkg_failed=no
45567 echo "$as_me:$LINENO: checking for GST" >&5
45568 echo $ECHO_N "checking for GST... $ECHO_C" >&6
45569
45570 if test -n "$PKG_CONFIG"; then
45571 if test -n "$GST_CFLAGS"; then
45572 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45573 else
45574 if test -n "$PKG_CONFIG" && \
45575 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45576 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45577 ac_status=$?
45578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45579 (exit $ac_status); }; then
45580 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45581 else
45582 pkg_failed=yes
45583 fi
45584 fi
45585 else
45586 pkg_failed=untried
45587 fi
45588 if test -n "$PKG_CONFIG"; then
45589 if test -n "$GST_LIBS"; then
45590 pkg_cv_GST_LIBS="$GST_LIBS"
45591 else
45592 if test -n "$PKG_CONFIG" && \
45593 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45594 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45595 ac_status=$?
45596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45597 (exit $ac_status); }; then
45598 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45599 else
45600 pkg_failed=yes
45601 fi
45602 fi
45603 else
45604 pkg_failed=untried
45605 fi
45606
45607
45608
45609 if test $pkg_failed = yes; then
45610
45611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45612 _pkg_short_errors_supported=yes
45613 else
45614 _pkg_short_errors_supported=no
45615 fi
45616 if test $_pkg_short_errors_supported = yes; then
45617 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45618 else
45619 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45620 fi
45621 # Put the nasty error message in config.log where it belongs
45622 echo "$GST_PKG_ERRORS" >&5
45623
45624
45625 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45626 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45627
45628 elif test $pkg_failed = untried; then
45629
45630 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45631 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45632
45633 else
45634 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45635 GST_LIBS=$pkg_cv_GST_LIBS
45636 echo "$as_me:$LINENO: result: yes" >&5
45637 echo "${ECHO_T}yes" >&6
45638 wxUSE_GSTREAMER="yes"
45639 fi
45640 fi
45641
45642
45643 if test "$wxUSE_GSTREAMER" = "yes"; then
45644 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45645 LIBS="$GST_LIBS $LIBS"
45646
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_GSTREAMER 1
45649 _ACEOF
45650
45651 else
45652 USE_MEDIA=0
45653 fi
45654 fi
45655
45656 if test $USE_MEDIA = 1; then
45657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45658 cat >>confdefs.h <<\_ACEOF
45659 #define wxUSE_MEDIACTRL 1
45660 _ACEOF
45661
45662 fi
45663 fi
45664
45665
45666 if test "$cross_compiling" = "yes"; then
45667 OSINFO="\"$host\""
45668 else
45669 OSINFO=`uname -s -r -m`
45670 OSINFO="\"$OSINFO\""
45671 fi
45672
45673 cat >>confdefs.h <<_ACEOF
45674 #define WXWIN_OS_DESCRIPTION $OSINFO
45675 _ACEOF
45676
45677
45678
45679 if test "x$prefix" != "xNONE"; then
45680 wxPREFIX=$prefix
45681 else
45682 wxPREFIX=$ac_default_prefix
45683 fi
45684
45685 cat >>confdefs.h <<_ACEOF
45686 #define wxINSTALL_PREFIX "$wxPREFIX"
45687 _ACEOF
45688
45689
45690
45691
45692 STD_BASE_LIBS="base"
45693 STD_GUI_LIBS=""
45694 BUILT_WX_LIBS="base"
45695 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
45696
45697 if test "$wxUSE_SOCKETS" = "yes" ; then
45698 STD_BASE_LIBS="net $STD_BASE_LIBS"
45699 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
45700 fi
45701 if test "$wxUSE_ODBC" != "no" ; then
45702 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
45703 fi
45704 if test "$wxUSE_XML" = "yes" ; then
45705 STD_BASE_LIBS="xml $STD_BASE_LIBS"
45706 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
45707 fi
45708
45709 if test "$wxUSE_GUI" = "yes"; then
45710 STD_GUI_LIBS="adv core"
45711
45712 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45713 STD_GUI_LIBS="qa $STD_GUI_LIBS"
45714 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
45715 fi
45716 if test "$wxUSE_ODBC" != "no" ; then
45717 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
45718 fi
45719 if test "$wxUSE_HTML" = "yes" ; then
45720 STD_GUI_LIBS="html $STD_GUI_LIBS"
45721 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
45722 fi
45723 if test "$wxUSE_MEDIACTRL" = "yes" ; then
45724 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
45725 fi
45726 if test "$wxUSE_OPENGL" = "yes" ; then
45727 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
45728 fi
45729 if test "$wxUSE_AUI" = "yes" ; then
45730 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
45731 fi
45732 if test "$wxUSE_STC" = "yes" ; then
45733 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
45734 fi
45735 if test "$wxUSE_XRC" = "yes" ; then
45736 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
45737 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
45738 fi
45739 fi
45740
45741
45742
45743
45744
45745
45746
45747
45748 if test "$wxUSE_MAC" = 1 ; then
45749 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45750 if test "$USE_DARWIN" = 1; then
45751 LDFLAGS="$LDFLAGS -framework QuickTime"
45752 else
45753 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45754 fi
45755 fi
45756 if test "$USE_DARWIN" = 1; then
45757 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45758 else
45759 LDFLAGS="$LDFLAGS -lCarbonLib"
45760 fi
45761 fi
45762 if test "$wxUSE_COCOA" = 1 ; then
45763 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45764 if test "$wxUSE_MEDIACTRL" = "yes"; then
45765 LDFLAGS="$LDFLAGS -framework QuickTime"
45766 fi
45767 fi
45768 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45769 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45770 fi
45771
45772 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45773
45774 if test "$wxUSE_GUI" = "yes"; then
45775
45776
45777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45778 dynamic erase event exec font image minimal mobile \
45779 mobile/wxedit mobile/styles propsize render \
45780 rotate shaped svg taborder vscroll widgets"
45781
45782 if test "$wxUSE_MONOLITHIC" != "yes"; then
45783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45784 fi
45785 if test "$TOOLKIT" = "MSW"; then
45786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45787 if test "$wxUSE_UNIVERSAL" != "yes"; then
45788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45789 fi
45790 fi
45791 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45793 fi
45794 else
45795 SAMPLES_SUBDIRS="console"
45796 fi
45797
45798
45799 if test "x$INTELCC" = "xyes" ; then
45800 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45801 elif test "$GCC" = yes ; then
45802 CWARNINGS="-Wall -Wundef"
45803 fi
45804
45805 if test "x$INTELCXX" = "xyes" ; then
45806 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45807 elif test "$GXX" = yes ; then
45808 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45809 fi
45810
45811
45812 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45813 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45814
45815
45816 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45817 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45818 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45819 $CPPFLAGS `
45820
45821 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45822 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45823 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45824
45825 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45826
45827
45828 if test "x$MWCC" = "xyes"; then
45829
45830 CC="$CC -cwd source -I-"
45831 CXX="$CXX -cwd source -I-"
45832 fi
45833
45834
45835 LIBS=`echo $LIBS`
45836 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45837 EXTRALIBS_XML="$EXPAT_LINK"
45838 EXTRALIBS_HTML="$MSPACK_LINK"
45839 EXTRALIBS_ODBC="$ODBC_LINK"
45840 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45841 if test "$wxUSE_GUI" = "yes"; then
45842 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45843 fi
45844 if test "$wxUSE_OPENGL" = "yes"; then
45845 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45846 fi
45847
45848 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45849
45850 WXCONFIG_LIBS="$LIBS"
45851
45852 if test "$wxUSE_REGEX" = "builtin" ; then
45853 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45854 fi
45855 if test "$wxUSE_EXPAT" = "builtin" ; then
45856 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45857 fi
45858 if test "$wxUSE_ODBC" = "builtin" ; then
45859 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45860 fi
45861 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45862 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45863 fi
45864 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45865 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45866 fi
45867 if test "$wxUSE_LIBPNG" = "builtin" ; then
45868 wxconfig_3rdparty="png $wxconfig_3rdparty"
45869 fi
45870 if test "$wxUSE_ZLIB" = "builtin" ; then
45871 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45872 fi
45873
45874 for i in $wxconfig_3rdparty ; do
45875 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45876 done
45877
45878
45879 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45880 WXUNIV=1
45881
45882 case "$wxUNIV_THEMES" in
45883 ''|all)
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_ALL_THEMES 1
45886 _ACEOF
45887
45888 ;;
45889
45890 *)
45891 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45892 cat >>confdefs.h <<_ACEOF
45893 #define wxUSE_THEME_$t 1
45894 _ACEOF
45895
45896 done
45897 esac
45898 else
45899 WXUNIV=0
45900 fi
45901
45902
45903
45904
45905
45906
45907
45908
45909
45910 if test $wxUSE_MONOLITHIC = "yes" ; then
45911 MONOLITHIC=1
45912 else
45913 MONOLITHIC=0
45914 fi
45915
45916 if test $wxUSE_PLUGINS = "yes" ; then
45917 USE_PLUGINS=1
45918 else
45919 USE_PLUGINS=0
45920 fi
45921
45922 if test $wxUSE_ODBC != "no" ; then
45923 USE_ODBC=1
45924 else
45925 USE_ODBC=0
45926 fi
45927
45928 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45929 USE_QA=1
45930 else
45931 USE_QA=0
45932 fi
45933
45934 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45935 OFFICIAL_BUILD=1
45936 else
45937 OFFICIAL_BUILD=0
45938 fi
45939
45940
45941
45942
45943
45944
45945
45946
45947
45948
45949
45950
45951
45952
45953
45954
45955
45956
45957
45958
45959
45960
45961
45962
45963
45964
45965 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45966
45967
45968
45969
45970
45971
45972
45973
45974 case "$TOOLKIT" in
45975 GTK)
45976 TOOLKIT_DESC="GTK+"
45977 if test "$WXGTK20" = 1; then
45978 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45979 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45980 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45981 fi
45982 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45983 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45984 fi
45985 if test "$wxUSE_LIBHILDON" = "yes"; then
45986 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45987 fi
45988
45989 if test "$TOOLKIT_EXTRA" != ""; then
45990 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45991 fi
45992 fi
45993 ;;
45994
45995 ?*)
45996 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45997 ;;
45998
45999 *)
46000 TOOLKIT_DESC="base only"
46001 ;;
46002 esac
46003
46004 if test "$wxUSE_WINE" = "yes"; then
46005 BAKEFILE_FORCE_PLATFORM=win32
46006 fi
46007
46008 if test "$wxUSE_MAC" = 1 ; then
46009 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46010 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46011 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46012 else
46013 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46014 fi
46015 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46016 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46017 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46018 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46019 bk_use_pch=no
46020 fi
46021 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46022 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46023 fi
46024
46025 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46026 then
46027 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46028 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
46029 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46030 echo $ECHO_N "(cached) $ECHO_C" >&6
46031 else
46032
46033 echo '#include <stdio.h>
46034 const wchar_t test_var[] = L"awidetest";' > conftest.h
46035
46036 echo '#include "conftest.h"
46037 int main()
46038 {
46039 printf("%ls", test_var);
46040 return 0;
46041 }' > conftest.cpp
46042
46043 wx_cv_gcc_pch_bug="pch not supported"
46044
46045 if $CXX conftest.h >/dev/null 2>&1
46046 then
46047 wx_cv_gcc_pch_bug=
46048
46049 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46050 then
46051 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46052 grep awidetest >/dev/null
46053 then
46054 wx_cv_gcc_pch_bug=no
46055 else
46056 wx_cv_gcc_pch_bug=yes
46057 fi
46058 fi
46059 fi
46060
46061 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46062
46063 fi
46064 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46065 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
46066
46067 if test "$wx_cv_gcc_pch_bug" = yes; then
46068 bk_use_pch=no
46069 fi
46070 fi
46071
46072
46073
46074
46075 if test "x$BAKEFILE_HOST" = "x"; then
46076 if test "x${host}" = "x" ; then
46077 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46078 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46079 { (exit 1); exit 1; }; }
46080 fi
46081
46082 BAKEFILE_HOST="${host}"
46083 fi
46084
46085 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46086
46087 if test -n "$ac_tool_prefix"; then
46088 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46089 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46090 echo "$as_me:$LINENO: checking for $ac_word" >&5
46091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46092 if test "${ac_cv_prog_RANLIB+set}" = set; then
46093 echo $ECHO_N "(cached) $ECHO_C" >&6
46094 else
46095 if test -n "$RANLIB"; then
46096 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46097 else
46098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46099 for as_dir in $PATH
46100 do
46101 IFS=$as_save_IFS
46102 test -z "$as_dir" && as_dir=.
46103 for ac_exec_ext in '' $ac_executable_extensions; do
46104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46105 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46107 break 2
46108 fi
46109 done
46110 done
46111
46112 fi
46113 fi
46114 RANLIB=$ac_cv_prog_RANLIB
46115 if test -n "$RANLIB"; then
46116 echo "$as_me:$LINENO: result: $RANLIB" >&5
46117 echo "${ECHO_T}$RANLIB" >&6
46118 else
46119 echo "$as_me:$LINENO: result: no" >&5
46120 echo "${ECHO_T}no" >&6
46121 fi
46122
46123 fi
46124 if test -z "$ac_cv_prog_RANLIB"; then
46125 ac_ct_RANLIB=$RANLIB
46126 # Extract the first word of "ranlib", so it can be a program name with args.
46127 set dummy ranlib; ac_word=$2
46128 echo "$as_me:$LINENO: checking for $ac_word" >&5
46129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46130 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46131 echo $ECHO_N "(cached) $ECHO_C" >&6
46132 else
46133 if test -n "$ac_ct_RANLIB"; then
46134 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46135 else
46136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46137 for as_dir in $PATH
46138 do
46139 IFS=$as_save_IFS
46140 test -z "$as_dir" && as_dir=.
46141 for ac_exec_ext in '' $ac_executable_extensions; do
46142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46143 ac_cv_prog_ac_ct_RANLIB="ranlib"
46144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46145 break 2
46146 fi
46147 done
46148 done
46149
46150 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
46151 fi
46152 fi
46153 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46154 if test -n "$ac_ct_RANLIB"; then
46155 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46156 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46157 else
46158 echo "$as_me:$LINENO: result: no" >&5
46159 echo "${ECHO_T}no" >&6
46160 fi
46161
46162 RANLIB=$ac_ct_RANLIB
46163 else
46164 RANLIB="$ac_cv_prog_RANLIB"
46165 fi
46166
46167 # Find a good install program. We prefer a C program (faster),
46168 # so one script is as good as another. But avoid the broken or
46169 # incompatible versions:
46170 # SysV /etc/install, /usr/sbin/install
46171 # SunOS /usr/etc/install
46172 # IRIX /sbin/install
46173 # AIX /bin/install
46174 # AmigaOS /C/install, which installs bootblocks on floppy discs
46175 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46176 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46177 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46178 # OS/2's system install, which has a completely different semantic
46179 # ./install, which can be erroneously created by make from ./install.sh.
46180 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46181 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46182 if test -z "$INSTALL"; then
46183 if test "${ac_cv_path_install+set}" = set; then
46184 echo $ECHO_N "(cached) $ECHO_C" >&6
46185 else
46186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46187 for as_dir in $PATH
46188 do
46189 IFS=$as_save_IFS
46190 test -z "$as_dir" && as_dir=.
46191 # Account for people who put trailing slashes in PATH elements.
46192 case $as_dir/ in
46193 ./ | .// | /cC/* | \
46194 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46195 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46196 /usr/ucb/* ) ;;
46197 *)
46198 # OSF1 and SCO ODT 3.0 have their own names for install.
46199 # Don't use installbsd from OSF since it installs stuff as root
46200 # by default.
46201 for ac_prog in ginstall scoinst install; do
46202 for ac_exec_ext in '' $ac_executable_extensions; do
46203 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46204 if test $ac_prog = install &&
46205 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46206 # AIX install. It has an incompatible calling convention.
46207 :
46208 elif test $ac_prog = install &&
46209 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46210 # program-specific install script used by HP pwplus--don't use.
46211 :
46212 else
46213 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46214 break 3
46215 fi
46216 fi
46217 done
46218 done
46219 ;;
46220 esac
46221 done
46222
46223
46224 fi
46225 if test "${ac_cv_path_install+set}" = set; then
46226 INSTALL=$ac_cv_path_install
46227 else
46228 # As a last resort, use the slow shell script. We don't cache a
46229 # path for INSTALL within a source directory, because that will
46230 # break other packages using the cache if that directory is
46231 # removed, or if the path is relative.
46232 INSTALL=$ac_install_sh
46233 fi
46234 fi
46235 echo "$as_me:$LINENO: result: $INSTALL" >&5
46236 echo "${ECHO_T}$INSTALL" >&6
46237
46238 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46239 # It thinks the first close brace ends the variable substitution.
46240 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46241
46242 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46243
46244 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46245
46246 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46247 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46248 LN_S=$as_ln_s
46249 if test "$LN_S" = "ln -s"; then
46250 echo "$as_me:$LINENO: result: yes" >&5
46251 echo "${ECHO_T}yes" >&6
46252 else
46253 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46254 echo "${ECHO_T}no, using $LN_S" >&6
46255 fi
46256
46257
46258 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46259 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46260 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
46261 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46262 echo $ECHO_N "(cached) $ECHO_C" >&6
46263 else
46264 cat >conftest.make <<\_ACEOF
46265 all:
46266 @echo 'ac_maketemp="$(MAKE)"'
46267 _ACEOF
46268 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46269 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46270 if test -n "$ac_maketemp"; then
46271 eval ac_cv_prog_make_${ac_make}_set=yes
46272 else
46273 eval ac_cv_prog_make_${ac_make}_set=no
46274 fi
46275 rm -f conftest.make
46276 fi
46277 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46278 echo "$as_me:$LINENO: result: yes" >&5
46279 echo "${ECHO_T}yes" >&6
46280 SET_MAKE=
46281 else
46282 echo "$as_me:$LINENO: result: no" >&5
46283 echo "${ECHO_T}no" >&6
46284 SET_MAKE="MAKE=${MAKE-make}"
46285 fi
46286
46287
46288
46289 if test "x$SUNCXX" = "xyes"; then
46290 AR=$CXX
46291 AROPTIONS="-xar -o"
46292
46293 elif test "x$SGICC" = "xyes"; then
46294 AR=$CXX
46295 AROPTIONS="-ar -o"
46296
46297 else
46298 if test -n "$ac_tool_prefix"; then
46299 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46300 set dummy ${ac_tool_prefix}ar; ac_word=$2
46301 echo "$as_me:$LINENO: checking for $ac_word" >&5
46302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46303 if test "${ac_cv_prog_AR+set}" = set; then
46304 echo $ECHO_N "(cached) $ECHO_C" >&6
46305 else
46306 if test -n "$AR"; then
46307 ac_cv_prog_AR="$AR" # Let the user override the test.
46308 else
46309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46310 for as_dir in $PATH
46311 do
46312 IFS=$as_save_IFS
46313 test -z "$as_dir" && as_dir=.
46314 for ac_exec_ext in '' $ac_executable_extensions; do
46315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46316 ac_cv_prog_AR="${ac_tool_prefix}ar"
46317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46318 break 2
46319 fi
46320 done
46321 done
46322
46323 fi
46324 fi
46325 AR=$ac_cv_prog_AR
46326 if test -n "$AR"; then
46327 echo "$as_me:$LINENO: result: $AR" >&5
46328 echo "${ECHO_T}$AR" >&6
46329 else
46330 echo "$as_me:$LINENO: result: no" >&5
46331 echo "${ECHO_T}no" >&6
46332 fi
46333
46334 fi
46335 if test -z "$ac_cv_prog_AR"; then
46336 ac_ct_AR=$AR
46337 # Extract the first word of "ar", so it can be a program name with args.
46338 set dummy ar; ac_word=$2
46339 echo "$as_me:$LINENO: checking for $ac_word" >&5
46340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46341 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46342 echo $ECHO_N "(cached) $ECHO_C" >&6
46343 else
46344 if test -n "$ac_ct_AR"; then
46345 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46346 else
46347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46348 for as_dir in $PATH
46349 do
46350 IFS=$as_save_IFS
46351 test -z "$as_dir" && as_dir=.
46352 for ac_exec_ext in '' $ac_executable_extensions; do
46353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46354 ac_cv_prog_ac_ct_AR="ar"
46355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46356 break 2
46357 fi
46358 done
46359 done
46360
46361 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
46362 fi
46363 fi
46364 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46365 if test -n "$ac_ct_AR"; then
46366 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46367 echo "${ECHO_T}$ac_ct_AR" >&6
46368 else
46369 echo "$as_me:$LINENO: result: no" >&5
46370 echo "${ECHO_T}no" >&6
46371 fi
46372
46373 AR=$ac_ct_AR
46374 else
46375 AR="$ac_cv_prog_AR"
46376 fi
46377
46378 AROPTIONS=rcu
46379 fi
46380
46381
46382 if test -n "$ac_tool_prefix"; then
46383 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46384 set dummy ${ac_tool_prefix}strip; ac_word=$2
46385 echo "$as_me:$LINENO: checking for $ac_word" >&5
46386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46387 if test "${ac_cv_prog_STRIP+set}" = set; then
46388 echo $ECHO_N "(cached) $ECHO_C" >&6
46389 else
46390 if test -n "$STRIP"; then
46391 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46392 else
46393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46394 for as_dir in $PATH
46395 do
46396 IFS=$as_save_IFS
46397 test -z "$as_dir" && as_dir=.
46398 for ac_exec_ext in '' $ac_executable_extensions; do
46399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46400 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46402 break 2
46403 fi
46404 done
46405 done
46406
46407 fi
46408 fi
46409 STRIP=$ac_cv_prog_STRIP
46410 if test -n "$STRIP"; then
46411 echo "$as_me:$LINENO: result: $STRIP" >&5
46412 echo "${ECHO_T}$STRIP" >&6
46413 else
46414 echo "$as_me:$LINENO: result: no" >&5
46415 echo "${ECHO_T}no" >&6
46416 fi
46417
46418 fi
46419 if test -z "$ac_cv_prog_STRIP"; then
46420 ac_ct_STRIP=$STRIP
46421 # Extract the first word of "strip", so it can be a program name with args.
46422 set dummy strip; ac_word=$2
46423 echo "$as_me:$LINENO: checking for $ac_word" >&5
46424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46425 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46426 echo $ECHO_N "(cached) $ECHO_C" >&6
46427 else
46428 if test -n "$ac_ct_STRIP"; then
46429 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46430 else
46431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46432 for as_dir in $PATH
46433 do
46434 IFS=$as_save_IFS
46435 test -z "$as_dir" && as_dir=.
46436 for ac_exec_ext in '' $ac_executable_extensions; do
46437 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46438 ac_cv_prog_ac_ct_STRIP="strip"
46439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46440 break 2
46441 fi
46442 done
46443 done
46444
46445 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46446 fi
46447 fi
46448 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46449 if test -n "$ac_ct_STRIP"; then
46450 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46451 echo "${ECHO_T}$ac_ct_STRIP" >&6
46452 else
46453 echo "$as_me:$LINENO: result: no" >&5
46454 echo "${ECHO_T}no" >&6
46455 fi
46456
46457 STRIP=$ac_ct_STRIP
46458 else
46459 STRIP="$ac_cv_prog_STRIP"
46460 fi
46461
46462 if test -n "$ac_tool_prefix"; then
46463 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46464 set dummy ${ac_tool_prefix}nm; ac_word=$2
46465 echo "$as_me:$LINENO: checking for $ac_word" >&5
46466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46467 if test "${ac_cv_prog_NM+set}" = set; then
46468 echo $ECHO_N "(cached) $ECHO_C" >&6
46469 else
46470 if test -n "$NM"; then
46471 ac_cv_prog_NM="$NM" # Let the user override the test.
46472 else
46473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46474 for as_dir in $PATH
46475 do
46476 IFS=$as_save_IFS
46477 test -z "$as_dir" && as_dir=.
46478 for ac_exec_ext in '' $ac_executable_extensions; do
46479 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46480 ac_cv_prog_NM="${ac_tool_prefix}nm"
46481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46482 break 2
46483 fi
46484 done
46485 done
46486
46487 fi
46488 fi
46489 NM=$ac_cv_prog_NM
46490 if test -n "$NM"; then
46491 echo "$as_me:$LINENO: result: $NM" >&5
46492 echo "${ECHO_T}$NM" >&6
46493 else
46494 echo "$as_me:$LINENO: result: no" >&5
46495 echo "${ECHO_T}no" >&6
46496 fi
46497
46498 fi
46499 if test -z "$ac_cv_prog_NM"; then
46500 ac_ct_NM=$NM
46501 # Extract the first word of "nm", so it can be a program name with args.
46502 set dummy nm; ac_word=$2
46503 echo "$as_me:$LINENO: checking for $ac_word" >&5
46504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46505 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46506 echo $ECHO_N "(cached) $ECHO_C" >&6
46507 else
46508 if test -n "$ac_ct_NM"; then
46509 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46510 else
46511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46512 for as_dir in $PATH
46513 do
46514 IFS=$as_save_IFS
46515 test -z "$as_dir" && as_dir=.
46516 for ac_exec_ext in '' $ac_executable_extensions; do
46517 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46518 ac_cv_prog_ac_ct_NM="nm"
46519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46520 break 2
46521 fi
46522 done
46523 done
46524
46525 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
46526 fi
46527 fi
46528 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46529 if test -n "$ac_ct_NM"; then
46530 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46531 echo "${ECHO_T}$ac_ct_NM" >&6
46532 else
46533 echo "$as_me:$LINENO: result: no" >&5
46534 echo "${ECHO_T}no" >&6
46535 fi
46536
46537 NM=$ac_ct_NM
46538 else
46539 NM="$ac_cv_prog_NM"
46540 fi
46541
46542
46543 case ${BAKEFILE_HOST} in
46544 *-hp-hpux* )
46545 INSTALL_DIR="mkdir -p"
46546 ;;
46547 * )
46548 INSTALL_DIR='$(INSTALL) -d'
46549 ;;
46550 esac
46551
46552
46553 LDFLAGS_GUI=
46554 case ${BAKEFILE_HOST} in
46555 *-*-cygwin* | *-*-mingw32* )
46556 LDFLAGS_GUI="-mwindows"
46557 esac
46558
46559
46560 fi
46561
46562 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46563 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46564 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46565 echo $ECHO_N "(cached) $ECHO_C" >&6
46566 else
46567
46568 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46569 egrep -s GNU > /dev/null); then
46570 bakefile_cv_prog_makeisgnu="yes"
46571 else
46572 bakefile_cv_prog_makeisgnu="no"
46573 fi
46574
46575 fi
46576 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46577 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46578
46579 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46580 IF_GNU_MAKE=""
46581 else
46582 IF_GNU_MAKE="#"
46583 fi
46584
46585
46586
46587 PLATFORM_UNIX=0
46588 PLATFORM_WIN32=0
46589 PLATFORM_MSDOS=0
46590 PLATFORM_MAC=0
46591 PLATFORM_MACOS=0
46592 PLATFORM_MACOSX=0
46593 PLATFORM_OS2=0
46594 PLATFORM_BEOS=0
46595
46596 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46597 case "${BAKEFILE_HOST}" in
46598 *-*-mingw32* )
46599 PLATFORM_WIN32=1
46600 ;;
46601 *-pc-msdosdjgpp )
46602 PLATFORM_MSDOS=1
46603 ;;
46604 *-pc-os2_emx | *-pc-os2-emx )
46605 PLATFORM_OS2=1
46606 ;;
46607 *-*-darwin* )
46608 PLATFORM_MAC=1
46609 PLATFORM_MACOSX=1
46610 ;;
46611 *-*-beos* )
46612 PLATFORM_BEOS=1
46613 ;;
46614 powerpc-apple-macos* )
46615 PLATFORM_MAC=1
46616 PLATFORM_MACOS=1
46617 ;;
46618 * )
46619 PLATFORM_UNIX=1
46620 ;;
46621 esac
46622 else
46623 case "$BAKEFILE_FORCE_PLATFORM" in
46624 win32 )
46625 PLATFORM_WIN32=1
46626 ;;
46627 msdos )
46628 PLATFORM_MSDOS=1
46629 ;;
46630 os2 )
46631 PLATFORM_OS2=1
46632 ;;
46633 darwin )
46634 PLATFORM_MAC=1
46635 PLATFORM_MACOSX=1
46636 ;;
46637 unix )
46638 PLATFORM_UNIX=1
46639 ;;
46640 beos )
46641 PLATFORM_BEOS=1
46642 ;;
46643 * )
46644 ;;
46645 esac
46646 fi
46647
46648
46649
46650
46651
46652
46653
46654
46655
46656
46657
46658 # Check whether --enable-omf or --disable-omf was given.
46659 if test "${enable_omf+set}" = set; then
46660 enableval="$enable_omf"
46661 bk_os2_use_omf="$enableval"
46662 fi;
46663
46664 case "${BAKEFILE_HOST}" in
46665 *-*-darwin* )
46666 if test "x$GCC" = "xyes"; then
46667 CFLAGS="$CFLAGS -fno-common"
46668 CXXFLAGS="$CXXFLAGS -fno-common"
46669 fi
46670 if test "x$XLCC" = "xyes"; then
46671 CFLAGS="$CFLAGS -qnocommon"
46672 CXXFLAGS="$CXXFLAGS -qnocommon"
46673 fi
46674 ;;
46675
46676 *-pc-os2_emx | *-pc-os2-emx )
46677 if test "x$bk_os2_use_omf" = "xyes" ; then
46678 AR=emxomfar
46679 RANLIB=:
46680 LDFLAGS="-Zomf $LDFLAGS"
46681 CFLAGS="-Zomf $CFLAGS"
46682 CXXFLAGS="-Zomf $CXXFLAGS"
46683 OS2_LIBEXT="lib"
46684 else
46685 OS2_LIBEXT="a"
46686 fi
46687 ;;
46688
46689 i*86-*-beos* )
46690 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46691 ;;
46692 esac
46693
46694
46695 SO_SUFFIX="so"
46696 SO_SUFFIX_MODULE="so"
46697 EXEEXT=""
46698 LIBPREFIX="lib"
46699 LIBEXT=".a"
46700 DLLPREFIX="lib"
46701 DLLPREFIX_MODULE=""
46702 DLLIMP_SUFFIX=""
46703 dlldir="$libdir"
46704
46705 case "${BAKEFILE_HOST}" in
46706 *-hp-hpux* )
46707 SO_SUFFIX="sl"
46708 SO_SUFFIX_MODULE="sl"
46709 ;;
46710 *-*-aix* )
46711 SO_SUFFIX="a"
46712 SO_SUFFIX_MODULE="a"
46713 ;;
46714 *-*-cygwin* )
46715 SO_SUFFIX="dll"
46716 SO_SUFFIX_MODULE="dll"
46717 DLLIMP_SUFFIX="dll.a"
46718 EXEEXT=".exe"
46719 DLLPREFIX="cyg"
46720 dlldir="$bindir"
46721 ;;
46722 *-*-mingw32* )
46723 SO_SUFFIX="dll"
46724 SO_SUFFIX_MODULE="dll"
46725 DLLIMP_SUFFIX="dll.a"
46726 EXEEXT=".exe"
46727 DLLPREFIX=""
46728 dlldir="$bindir"
46729 ;;
46730 *-pc-msdosdjgpp )
46731 EXEEXT=".exe"
46732 DLLPREFIX=""
46733 dlldir="$bindir"
46734 ;;
46735 *-pc-os2_emx | *-pc-os2-emx )
46736 SO_SUFFIX="dll"
46737 SO_SUFFIX_MODULE="dll"
46738 DLLIMP_SUFFIX=$OS2_LIBEXT
46739 EXEEXT=".exe"
46740 DLLPREFIX=""
46741 LIBPREFIX=""
46742 LIBEXT=".$OS2_LIBEXT"
46743 dlldir="$bindir"
46744 ;;
46745 *-*-darwin* )
46746 SO_SUFFIX="dylib"
46747 SO_SUFFIX_MODULE="bundle"
46748 ;;
46749 esac
46750
46751 if test "x$DLLIMP_SUFFIX" = "x" ; then
46752 DLLIMP_SUFFIX="$SO_SUFFIX"
46753 fi
46754
46755
46756
46757
46758
46759
46760
46761
46762
46763
46764
46765
46766 PIC_FLAG=""
46767 if test "x$GCC" = "xyes"; then
46768 PIC_FLAG="-fPIC"
46769 fi
46770
46771 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46772 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46773 WINDOWS_IMPLIB=0
46774
46775 case "${BAKEFILE_HOST}" in
46776 *-hp-hpux* )
46777 if test "x$GCC" != "xyes"; then
46778 LDFLAGS="$LDFLAGS -L/usr/lib"
46779
46780 SHARED_LD_CC="${CC} -b -o"
46781 SHARED_LD_CXX="${CXX} -b -o"
46782 PIC_FLAG="+Z"
46783 fi
46784 ;;
46785
46786 *-*-linux* )
46787 if test "$INTELCC" = "yes"; then
46788 PIC_FLAG="-KPIC"
46789 elif test "x$SUNCXX" = "xyes"; then
46790 SHARED_LD_CC="${CC} -G -o"
46791 SHARED_LD_CXX="${CXX} -G -o"
46792 PIC_FLAG="-KPIC"
46793 fi
46794 ;;
46795
46796 *-*-solaris2* )
46797 if test "x$SUNCXX" = xyes ; then
46798 SHARED_LD_CC="${CC} -G -o"
46799 SHARED_LD_CXX="${CXX} -G -o"
46800 PIC_FLAG="-KPIC"
46801 fi
46802 ;;
46803
46804 *-*-darwin* )
46805
46806 D='$'
46807 cat <<EOF >shared-ld-sh
46808 #!/bin/sh
46809 #-----------------------------------------------------------------------------
46810 #-- Name: distrib/mac/shared-ld-sh
46811 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46812 #-- Author: Gilles Depeyrot
46813 #-- Copyright: (c) 2002 Gilles Depeyrot
46814 #-- Licence: any use permitted
46815 #-----------------------------------------------------------------------------
46816
46817 verbose=0
46818 args=""
46819 objects=""
46820 linking_flag="-dynamiclib"
46821 ldargs="-r -keep_private_externs -nostdlib"
46822
46823 while test ${D}# -gt 0; do
46824 case ${D}1 in
46825
46826 -v)
46827 verbose=1
46828 ;;
46829
46830 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46831 # collect these options and values
46832 args="${D}{args} ${D}1 ${D}2"
46833 shift
46834 ;;
46835
46836 -s|-Wl,*)
46837 # collect these load args
46838 ldargs="${D}{ldargs} ${D}1"
46839 ;;
46840
46841 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46842 # collect these options
46843 args="${D}{args} ${D}1"
46844 ;;
46845
46846 -dynamiclib|-bundle)
46847 linking_flag="${D}1"
46848 ;;
46849
46850 -*)
46851 echo "shared-ld: unhandled option '${D}1'"
46852 exit 1
46853 ;;
46854
46855 *.o | *.a | *.dylib)
46856 # collect object files
46857 objects="${D}{objects} ${D}1"
46858 ;;
46859
46860 *)
46861 echo "shared-ld: unhandled argument '${D}1'"
46862 exit 1
46863 ;;
46864
46865 esac
46866 shift
46867 done
46868
46869 status=0
46870
46871 #
46872 # Link one module containing all the others
46873 #
46874 if test ${D}{verbose} = 1; then
46875 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46876 fi
46877 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46878 status=${D}?
46879
46880 #
46881 # Link the shared library from the single module created, but only if the
46882 # previous command didn't fail:
46883 #
46884 if test ${D}{status} = 0; then
46885 if test ${D}{verbose} = 1; then
46886 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46887 fi
46888 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46889 status=${D}?
46890 fi
46891
46892 #
46893 # Remove intermediate module
46894 #
46895 rm -f master.${D}${D}.o
46896
46897 exit ${D}status
46898 EOF
46899
46900 chmod +x shared-ld-sh
46901
46902 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46903 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46904
46905
46906 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46907 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46908 if test "${bakefile_cv_gcc31+set}" = set; then
46909 echo $ECHO_N "(cached) $ECHO_C" >&6
46910 else
46911
46912 cat >conftest.$ac_ext <<_ACEOF
46913 /* confdefs.h. */
46914 _ACEOF
46915 cat confdefs.h >>conftest.$ac_ext
46916 cat >>conftest.$ac_ext <<_ACEOF
46917 /* end confdefs.h. */
46918
46919 int
46920 main ()
46921 {
46922
46923 #if (__GNUC__ < 3) || \
46924 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46925 This is old gcc
46926 #endif
46927
46928 ;
46929 return 0;
46930 }
46931 _ACEOF
46932 rm -f conftest.$ac_objext
46933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46934 (eval $ac_compile) 2>conftest.er1
46935 ac_status=$?
46936 grep -v '^ *+' conftest.er1 >conftest.err
46937 rm -f conftest.er1
46938 cat conftest.err >&5
46939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46940 (exit $ac_status); } &&
46941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46943 (eval $ac_try) 2>&5
46944 ac_status=$?
46945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46946 (exit $ac_status); }; } &&
46947 { ac_try='test -s conftest.$ac_objext'
46948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46949 (eval $ac_try) 2>&5
46950 ac_status=$?
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); }; }; then
46953
46954 bakefile_cv_gcc31=yes
46955
46956 else
46957 echo "$as_me: failed program was:" >&5
46958 sed 's/^/| /' conftest.$ac_ext >&5
46959
46960
46961 bakefile_cv_gcc31=no
46962
46963
46964 fi
46965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46966
46967 fi
46968 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46969 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46970 if test "$bakefile_cv_gcc31" = "no"; then
46971 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46972 SHARED_LD_CXX="$SHARED_LD_CC"
46973 else
46974 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46975 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46976 fi
46977
46978 if test "x$GCC" == "xyes"; then
46979 PIC_FLAG="-dynamic -fPIC"
46980 fi
46981 if test "x$XLCC" = "xyes"; then
46982 PIC_FLAG="-dynamic -DPIC"
46983 fi
46984 ;;
46985
46986 *-*-aix* )
46987 if test "x$GCC" = "xyes"; then
46988 PIC_FLAG=""
46989
46990 case "${BAKEFILE_HOST}" in
46991 *-*-aix5* )
46992 LD_EXPFULL="-Wl,-bexpfull"
46993 ;;
46994 esac
46995
46996 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46997 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46998 else
46999 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47000 set dummy makeC++SharedLib; ac_word=$2
47001 echo "$as_me:$LINENO: checking for $ac_word" >&5
47002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47003 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47004 echo $ECHO_N "(cached) $ECHO_C" >&6
47005 else
47006 if test -n "$AIX_CXX_LD"; then
47007 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47008 else
47009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47010 for as_dir in $PATH
47011 do
47012 IFS=$as_save_IFS
47013 test -z "$as_dir" && as_dir=.
47014 for ac_exec_ext in '' $ac_executable_extensions; do
47015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47016 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47018 break 2
47019 fi
47020 done
47021 done
47022
47023 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47024 fi
47025 fi
47026 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47027 if test -n "$AIX_CXX_LD"; then
47028 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47029 echo "${ECHO_T}$AIX_CXX_LD" >&6
47030 else
47031 echo "$as_me:$LINENO: result: no" >&5
47032 echo "${ECHO_T}no" >&6
47033 fi
47034
47035 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47036 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47037 fi
47038 ;;
47039
47040 *-*-beos* )
47041 SHARED_LD_CC="${LD} -nostart -o"
47042 SHARED_LD_CXX="${LD} -nostart -o"
47043 ;;
47044
47045 *-*-irix* )
47046 if test "x$GCC" != "xyes"; then
47047 PIC_FLAG="-KPIC"
47048 fi
47049 ;;
47050
47051 *-*-cygwin* | *-*-mingw32* )
47052 PIC_FLAG=""
47053 SHARED_LD_CC="\$(CC) -shared -o"
47054 SHARED_LD_CXX="\$(CXX) -shared -o"
47055 WINDOWS_IMPLIB=1
47056 ;;
47057
47058 *-pc-os2_emx | *-pc-os2-emx )
47059 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47060 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47061 PIC_FLAG=""
47062
47063 D='$'
47064 cat <<EOF >dllar.sh
47065 #!/bin/sh
47066 #
47067 # dllar - a tool to build both a .dll and an .a file
47068 # from a set of object (.o) files for EMX/OS2.
47069 #
47070 # Written by Andrew Zabolotny, bit@freya.etu.ru
47071 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47072 #
47073 # This script will accept a set of files on the command line.
47074 # All the public symbols from the .o files will be exported into
47075 # a .DEF file, then linker will be run (through gcc) against them to
47076 # build a shared library consisting of all given .o files. All libraries
47077 # (.a) will be first decompressed into component .o files then act as
47078 # described above. You can optionally give a description (-d "description")
47079 # which will be put into .DLL. To see the list of accepted options (as well
47080 # as command-line format) simply run this program without options. The .DLL
47081 # is built to be imported by name (there is no guarantee that new versions
47082 # of the library you build will have same ordinals for same symbols).
47083 #
47084 # dllar is free software; you can redistribute it and/or modify
47085 # it under the terms of the GNU General Public License as published by
47086 # the Free Software Foundation; either version 2, or (at your option)
47087 # any later version.
47088 #
47089 # dllar is distributed in the hope that it will be useful,
47090 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47091 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47092 # GNU General Public License for more details.
47093 #
47094 # You should have received a copy of the GNU General Public License
47095 # along with dllar; see the file COPYING. If not, write to the Free
47096 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47097 # 02111-1307, USA.
47098
47099 # To successfuly run this program you will need:
47100 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47101 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47102 # - gcc
47103 # (used to build the .dll)
47104 # - emxexp
47105 # (used to create .def file from .o files)
47106 # - emximp
47107 # (used to create .a file from .def file)
47108 # - GNU text utilites (cat, sort, uniq)
47109 # used to process emxexp output
47110 # - GNU file utilities (mv, rm)
47111 # - GNU sed
47112 # - lxlite (optional, see flag below)
47113 # (used for general .dll cleanup)
47114 #
47115
47116 flag_USE_LXLITE=1;
47117
47118 #
47119 # helper functions
47120 # basnam, variant of basename, which does _not_ remove the path, _iff_
47121 # second argument (suffix to remove) is given
47122 basnam(){
47123 case ${D}# in
47124 1)
47125 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47126 ;;
47127 2)
47128 echo ${D}1 | sed 's/'${D}2'${D}//'
47129 ;;
47130 *)
47131 echo "error in basnam ${D}*"
47132 exit 8
47133 ;;
47134 esac
47135 }
47136
47137 # Cleanup temporary files and output
47138 CleanUp() {
47139 cd ${D}curDir
47140 for i in ${D}inputFiles ; do
47141 case ${D}i in
47142 *!)
47143 rm -rf \`basnam ${D}i !\`
47144 ;;
47145 *)
47146 ;;
47147 esac
47148 done
47149
47150 # Kill result in case of failure as there is just to many stupid make/nmake
47151 # things out there which doesn't do this.
47152 if [ ${D}# -eq 0 ]; then
47153 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47154 fi
47155 }
47156
47157 # Print usage and exit script with rc=1.
47158 PrintHelp() {
47159 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47160 echo ' [-name-mangler-script script.sh]'
47161 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47162 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47163 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47164 echo ' [*.o] [*.a]'
47165 echo '*> "output_file" should have no extension.'
47166 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47167 echo ' The import library name is derived from this and is set to "name".a,'
47168 echo ' unless overridden by -import'
47169 echo '*> "importlib_name" should have no extension.'
47170 echo ' If it has the .o, or .a extension, it is automatically removed.'
47171 echo ' This name is used as the import library name and may be longer and'
47172 echo ' more descriptive than the DLL name which has to follow the old '
47173 echo ' 8.3 convention of FAT.'
47174 echo '*> "script.sh may be given to override the output_file name by a'
47175 echo ' different name. It is mainly useful if the regular make process'
47176 echo ' of some package does not take into account OS/2 restriction of'
47177 echo ' DLL name lengths. It takes the importlib name as input and is'
47178 echo ' supposed to procude a shorter name as output. The script should'
47179 echo ' expect to get importlib_name without extension and should produce'
47180 echo ' a (max.) 8 letter name without extension.'
47181 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47182 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47183 echo ' These flags will be put at the start of GCC command line.'
47184 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47185 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47186 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47187 echo ' If the last character of a symbol is "*", all symbols beginning'
47188 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47189 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47190 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47191 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47192 echo ' C runtime DLLs.'
47193 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47194 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47195 echo ' unchanged to GCC at the end of command line.'
47196 echo '*> If you create a DLL from a library and you do not specify -o,'
47197 echo ' the basename for DLL and import library will be set to library name,'
47198 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47199 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47200 echo ' library will be renamed into gcc_s.a.'
47201 echo '--------'
47202 echo 'Example:'
47203 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47204 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47205 CleanUp
47206 exit 1
47207 }
47208
47209 # Execute a command.
47210 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47211 # @Uses Whatever CleanUp() uses.
47212 doCommand() {
47213 echo "${D}*"
47214 eval ${D}*
47215 rcCmd=${D}?
47216
47217 if [ ${D}rcCmd -ne 0 ]; then
47218 echo "command failed, exit code="${D}rcCmd
47219 CleanUp
47220 exit ${D}rcCmd
47221 fi
47222 }
47223
47224 # main routine
47225 # setup globals
47226 cmdLine=${D}*
47227 outFile=""
47228 outimpFile=""
47229 inputFiles=""
47230 renameScript=""
47231 description=""
47232 CC=gcc.exe
47233 CFLAGS="-s -Zcrtdll"
47234 EXTRA_CFLAGS=""
47235 EXPORT_BY_ORDINALS=0
47236 exclude_symbols=""
47237 library_flags=""
47238 curDir=\`pwd\`
47239 curDirS=curDir
47240 case ${D}curDirS in
47241 */)
47242 ;;
47243 *)
47244 curDirS=${D}{curDirS}"/"
47245 ;;
47246 esac
47247 # Parse commandline
47248 libsToLink=0
47249 omfLinking=0
47250 while [ ${D}1 ]; do
47251 case ${D}1 in
47252 -ord*)
47253 EXPORT_BY_ORDINALS=1;
47254 ;;
47255 -o*)
47256 shift
47257 outFile=${D}1
47258 ;;
47259 -i*)
47260 shift
47261 outimpFile=${D}1
47262 ;;
47263 -name-mangler-script)
47264 shift
47265 renameScript=${D}1
47266 ;;
47267 -d*)
47268 shift
47269 description=${D}1
47270 ;;
47271 -f*)
47272 shift
47273 CFLAGS=${D}1
47274 ;;
47275 -c*)
47276 shift
47277 CC=${D}1
47278 ;;
47279 -h*)
47280 PrintHelp
47281 ;;
47282 -ex*)
47283 shift
47284 exclude_symbols=${D}{exclude_symbols}${D}1" "
47285 ;;
47286 -libf*)
47287 shift
47288 library_flags=${D}{library_flags}${D}1" "
47289 ;;
47290 -nocrt*)
47291 CFLAGS="-s"
47292 ;;
47293 -nolxl*)
47294 flag_USE_LXLITE=0
47295 ;;
47296 -* | /*)
47297 case ${D}1 in
47298 -L* | -l*)
47299 libsToLink=1
47300 ;;
47301 -Zomf)
47302 omfLinking=1
47303 ;;
47304 *)
47305 ;;
47306 esac
47307 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47308 ;;
47309 *.dll)
47310 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47311 if [ ${D}omfLinking -eq 1 ]; then
47312 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47313 else
47314 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47315 fi
47316 ;;
47317 *)
47318 found=0;
47319 if [ ${D}libsToLink -ne 0 ]; then
47320 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47321 else
47322 for file in ${D}1 ; do
47323 if [ -f ${D}file ]; then
47324 inputFiles="${D}{inputFiles} ${D}file"
47325 found=1
47326 fi
47327 done
47328 if [ ${D}found -eq 0 ]; then
47329 echo "ERROR: No file(s) found: "${D}1
47330 exit 8
47331 fi
47332 fi
47333 ;;
47334 esac
47335 shift
47336 done # iterate cmdline words
47337
47338 #
47339 if [ -z "${D}inputFiles" ]; then
47340 echo "dllar: no input files"
47341 PrintHelp
47342 fi
47343
47344 # Now extract all .o files from .a files
47345 newInputFiles=""
47346 for file in ${D}inputFiles ; do
47347 case ${D}file in
47348 *.a | *.lib)
47349 case ${D}file in
47350 *.a)
47351 suffix=".a"
47352 AR="ar"
47353 ;;
47354 *.lib)
47355 suffix=".lib"
47356 AR="emxomfar"
47357 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47358 ;;
47359 *)
47360 ;;
47361 esac
47362 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47363 mkdir ${D}dirname
47364 if [ ${D}? -ne 0 ]; then
47365 echo "Failed to create subdirectory ./${D}dirname"
47366 CleanUp
47367 exit 8;
47368 fi
47369 # Append '!' to indicate archive
47370 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47371 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47372 cd ${D}curDir
47373 found=0;
47374 for subfile in ${D}dirname/*.o* ; do
47375 if [ -f ${D}subfile ]; then
47376 found=1
47377 if [ -s ${D}subfile ]; then
47378 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47379 newInputFiles="${D}newInputFiles ${D}subfile"
47380 fi
47381 fi
47382 done
47383 if [ ${D}found -eq 0 ]; then
47384 echo "WARNING: there are no files in archive \\'${D}file\\'"
47385 fi
47386 ;;
47387 *)
47388 newInputFiles="${D}{newInputFiles} ${D}file"
47389 ;;
47390 esac
47391 done
47392 inputFiles="${D}newInputFiles"
47393
47394 # Output filename(s).
47395 do_backup=0;
47396 if [ -z ${D}outFile ]; then
47397 do_backup=1;
47398 set outFile ${D}inputFiles; outFile=${D}2
47399 fi
47400
47401 # If it is an archive, remove the '!' and the '_%' suffixes
47402 case ${D}outFile in
47403 *_%!)
47404 outFile=\`basnam ${D}outFile _%!\`
47405 ;;
47406 *)
47407 ;;
47408 esac
47409 case ${D}outFile in
47410 *.dll)
47411 outFile=\`basnam ${D}outFile .dll\`
47412 ;;
47413 *.DLL)
47414 outFile=\`basnam ${D}outFile .DLL\`
47415 ;;
47416 *.o)
47417 outFile=\`basnam ${D}outFile .o\`
47418 ;;
47419 *.obj)
47420 outFile=\`basnam ${D}outFile .obj\`
47421 ;;
47422 *.a)
47423 outFile=\`basnam ${D}outFile .a\`
47424 ;;
47425 *.lib)
47426 outFile=\`basnam ${D}outFile .lib\`
47427 ;;
47428 *)
47429 ;;
47430 esac
47431 case ${D}outimpFile in
47432 *.a)
47433 outimpFile=\`basnam ${D}outimpFile .a\`
47434 ;;
47435 *.lib)
47436 outimpFile=\`basnam ${D}outimpFile .lib\`
47437 ;;
47438 *)
47439 ;;
47440 esac
47441 if [ -z ${D}outimpFile ]; then
47442 outimpFile=${D}outFile
47443 fi
47444 defFile="${D}{outFile}.def"
47445 arcFile="${D}{outimpFile}.a"
47446 arcFile2="${D}{outimpFile}.lib"
47447
47448 #create ${D}dllFile as something matching 8.3 restrictions,
47449 if [ -z ${D}renameScript ] ; then
47450 dllFile="${D}outFile"
47451 else
47452 dllFile=\`${D}renameScript ${D}outimpFile\`
47453 fi
47454
47455 if [ ${D}do_backup -ne 0 ] ; then
47456 if [ -f ${D}arcFile ] ; then
47457 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47458 fi
47459 if [ -f ${D}arcFile2 ] ; then
47460 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47461 fi
47462 fi
47463
47464 # Extract public symbols from all the object files.
47465 tmpdefFile=${D}{defFile}_%
47466 rm -f ${D}tmpdefFile
47467 for file in ${D}inputFiles ; do
47468 case ${D}file in
47469 *!)
47470 ;;
47471 *)
47472 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47473 ;;
47474 esac
47475 done
47476
47477 # Create the def file.
47478 rm -f ${D}defFile
47479 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47480 dllFile="${D}{dllFile}.dll"
47481 if [ ! -z ${D}description ]; then
47482 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47483 fi
47484 echo "EXPORTS" >> ${D}defFile
47485
47486 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47487 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47488
47489 # Checks if the export is ok or not.
47490 for word in ${D}exclude_symbols; do
47491 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47492 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47493 done
47494
47495
47496 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47497 sed "=" < ${D}tmpdefFile | \\
47498 sed '
47499 N
47500 : loop
47501 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47502 t loop
47503 ' > ${D}{tmpdefFile}%
47504 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47505 else
47506 rm -f ${D}{tmpdefFile}%
47507 fi
47508 cat ${D}tmpdefFile >> ${D}defFile
47509 rm -f ${D}tmpdefFile
47510
47511 # Do linking, create implib, and apply lxlite.
47512 gccCmdl="";
47513 for file in ${D}inputFiles ; do
47514 case ${D}file in
47515 *!)
47516 ;;
47517 *)
47518 gccCmdl="${D}gccCmdl ${D}file"
47519 ;;
47520 esac
47521 done
47522 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47523 touch "${D}{outFile}.dll"
47524
47525 doCommand "emximp -o ${D}arcFile ${D}defFile"
47526 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47527 add_flags="";
47528 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47529 add_flags="-ynd"
47530 fi
47531 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47532 fi
47533 doCommand "emxomf -s -l ${D}arcFile"
47534
47535 # Successful exit.
47536 CleanUp 1
47537 exit 0
47538 EOF
47539
47540 chmod +x dllar.sh
47541 ;;
47542
47543 powerpc-apple-macos* | \
47544 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47545 *-*-mirbsd* | \
47546 *-*-sunos4* | \
47547 *-*-osf* | \
47548 *-*-dgux5* | \
47549 *-*-sysv5* | \
47550 *-pc-msdosdjgpp )
47551 ;;
47552
47553 *)
47554 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47555 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47556 { (exit 1); exit 1; }; }
47557 esac
47558
47559 if test "x$PIC_FLAG" != "x" ; then
47560 PIC_FLAG="$PIC_FLAG -DPIC"
47561 fi
47562
47563 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47564 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47565 fi
47566 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47567 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47568 fi
47569
47570
47571
47572
47573
47574
47575
47576
47577
47578 USE_SOVERSION=0
47579 USE_SOVERLINUX=0
47580 USE_SOVERSOLARIS=0
47581 USE_SOVERCYGWIN=0
47582 USE_SOSYMLINKS=0
47583 USE_MACVERSION=0
47584 SONAME_FLAG=
47585
47586 case "${BAKEFILE_HOST}" in
47587 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47588 if test "x$SUNCXX" = "xyes"; then
47589 SONAME_FLAG="-h "
47590 else
47591 SONAME_FLAG="-Wl,-soname,"
47592 fi
47593 USE_SOVERSION=1
47594 USE_SOVERLINUX=1
47595 USE_SOSYMLINKS=1
47596 ;;
47597
47598 *-*-solaris2* )
47599 SONAME_FLAG="-h "
47600 USE_SOVERSION=1
47601 USE_SOVERSOLARIS=1
47602 USE_SOSYMLINKS=1
47603 ;;
47604
47605 *-*-darwin* )
47606 USE_MACVERSION=1
47607 USE_SOVERSION=1
47608 USE_SOSYMLINKS=1
47609 ;;
47610
47611 *-*-cygwin* )
47612 USE_SOVERSION=1
47613 USE_SOVERCYGWIN=1
47614 ;;
47615 esac
47616
47617
47618
47619
47620
47621
47622
47623
47624
47625
47626 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47627 if test "${enable_dependency_tracking+set}" = set; then
47628 enableval="$enable_dependency_tracking"
47629 bk_use_trackdeps="$enableval"
47630 fi;
47631
47632 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47633 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47634
47635 BK_DEPS=""
47636 if test "x$bk_use_trackdeps" = "xno" ; then
47637 DEPS_TRACKING=0
47638 echo "$as_me:$LINENO: result: disabled" >&5
47639 echo "${ECHO_T}disabled" >&6
47640 else
47641 DEPS_TRACKING=1
47642
47643 if test "x$GCC" = "xyes"; then
47644 DEPSMODE=gcc
47645 case "${BAKEFILE_HOST}" in
47646 *-*-darwin* )
47647 DEPSFLAG="-no-cpp-precomp -MMD"
47648 ;;
47649 * )
47650 DEPSFLAG="-MMD"
47651 ;;
47652 esac
47653 echo "$as_me:$LINENO: result: gcc" >&5
47654 echo "${ECHO_T}gcc" >&6
47655 elif test "x$MWCC" = "xyes"; then
47656 DEPSMODE=mwcc
47657 DEPSFLAG="-MM"
47658 echo "$as_me:$LINENO: result: mwcc" >&5
47659 echo "${ECHO_T}mwcc" >&6
47660 elif test "x$SUNCC" = "xyes"; then
47661 DEPSMODE=unixcc
47662 DEPSFLAG="-xM1"
47663 echo "$as_me:$LINENO: result: Sun cc" >&5
47664 echo "${ECHO_T}Sun cc" >&6
47665 elif test "x$SGICC" = "xyes"; then
47666 DEPSMODE=unixcc
47667 DEPSFLAG="-M"
47668 echo "$as_me:$LINENO: result: SGI cc" >&5
47669 echo "${ECHO_T}SGI cc" >&6
47670 elif test "x$HPCC" = "xyes"; then
47671 DEPSMODE=unixcc
47672 DEPSFLAG="+make"
47673 echo "$as_me:$LINENO: result: HP cc" >&5
47674 echo "${ECHO_T}HP cc" >&6
47675 elif test "x$COMPAQCC" = "xyes"; then
47676 DEPSMODE=gcc
47677 DEPSFLAG="-MD"
47678 echo "$as_me:$LINENO: result: Compaq cc" >&5
47679 echo "${ECHO_T}Compaq cc" >&6
47680 else
47681 DEPS_TRACKING=0
47682 echo "$as_me:$LINENO: result: none" >&5
47683 echo "${ECHO_T}none" >&6
47684 fi
47685
47686 if test $DEPS_TRACKING = 1 ; then
47687
47688 D='$'
47689 cat <<EOF >bk-deps
47690 #!/bin/sh
47691
47692 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47693 # script. It is used to track C/C++ files dependencies in portable way.
47694 #
47695 # Permission is given to use this file in any way.
47696
47697 DEPSMODE=${DEPSMODE}
47698 DEPSDIR=.deps
47699 DEPSFLAG="${DEPSFLAG}"
47700
47701 mkdir -p ${D}DEPSDIR
47702
47703 if test ${D}DEPSMODE = gcc ; then
47704 ${D}* ${D}{DEPSFLAG}
47705 status=${D}?
47706 if test ${D}{status} != 0 ; then
47707 exit ${D}{status}
47708 fi
47709 # move created file to the location we want it in:
47710 while test ${D}# -gt 0; do
47711 case "${D}1" in
47712 -o )
47713 shift
47714 objfile=${D}1
47715 ;;
47716 -* )
47717 ;;
47718 * )
47719 srcfile=${D}1
47720 ;;
47721 esac
47722 shift
47723 done
47724 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47725 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47726 if test -f ${D}depfile ; then
47727 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47728 rm -f ${D}depfile
47729 else
47730 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47731 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47732 if test ! -f ${D}depfile ; then
47733 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47734 depfile="${D}objfile.d"
47735 fi
47736 if test -f ${D}depfile ; then
47737 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47738 rm -f ${D}depfile
47739 fi
47740 fi
47741 exit 0
47742 elif test ${D}DEPSMODE = mwcc ; then
47743 ${D}* || exit ${D}?
47744 # Run mwcc again with -MM and redirect into the dep file we want
47745 # NOTE: We can't use shift here because we need ${D}* to be valid
47746 prevarg=
47747 for arg in ${D}* ; do
47748 if test "${D}prevarg" = "-o"; then
47749 objfile=${D}arg
47750 else
47751 case "${D}arg" in
47752 -* )
47753 ;;
47754 * )
47755 srcfile=${D}arg
47756 ;;
47757 esac
47758 fi
47759 prevarg="${D}arg"
47760 done
47761 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47762 exit 0
47763 elif test ${D}DEPSMODE = unixcc; then
47764 ${D}* || exit ${D}?
47765 # Run compiler again with deps flag and redirect into the dep file.
47766 # It doesn't work if the '-o FILE' option is used, but without it the
47767 # dependency file will contain the wrong name for the object. So it is
47768 # removed from the command line, and the dep file is fixed with sed.
47769 cmd=""
47770 while test ${D}# -gt 0; do
47771 case "${D}1" in
47772 -o )
47773 shift
47774 objfile=${D}1
47775 ;;
47776 * )
47777 eval arg${D}#=\\${D}1
47778 cmd="${D}cmd \\${D}arg${D}#"
47779 ;;
47780 esac
47781 shift
47782 done
47783 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47784 exit 0
47785 else
47786 ${D}*
47787 exit ${D}?
47788 fi
47789 EOF
47790
47791 chmod +x bk-deps
47792 BK_DEPS="`pwd`/bk-deps"
47793 fi
47794 fi
47795
47796
47797
47798
47799
47800 case ${BAKEFILE_HOST} in
47801 *-*-cygwin* | *-*-mingw32* )
47802 if test -n "$ac_tool_prefix"; then
47803 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47804 set dummy ${ac_tool_prefix}windres; ac_word=$2
47805 echo "$as_me:$LINENO: checking for $ac_word" >&5
47806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47807 if test "${ac_cv_prog_WINDRES+set}" = set; then
47808 echo $ECHO_N "(cached) $ECHO_C" >&6
47809 else
47810 if test -n "$WINDRES"; then
47811 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47812 else
47813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47814 for as_dir in $PATH
47815 do
47816 IFS=$as_save_IFS
47817 test -z "$as_dir" && as_dir=.
47818 for ac_exec_ext in '' $ac_executable_extensions; do
47819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47820 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47822 break 2
47823 fi
47824 done
47825 done
47826
47827 fi
47828 fi
47829 WINDRES=$ac_cv_prog_WINDRES
47830 if test -n "$WINDRES"; then
47831 echo "$as_me:$LINENO: result: $WINDRES" >&5
47832 echo "${ECHO_T}$WINDRES" >&6
47833 else
47834 echo "$as_me:$LINENO: result: no" >&5
47835 echo "${ECHO_T}no" >&6
47836 fi
47837
47838 fi
47839 if test -z "$ac_cv_prog_WINDRES"; then
47840 ac_ct_WINDRES=$WINDRES
47841 # Extract the first word of "windres", so it can be a program name with args.
47842 set dummy windres; ac_word=$2
47843 echo "$as_me:$LINENO: checking for $ac_word" >&5
47844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47845 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47846 echo $ECHO_N "(cached) $ECHO_C" >&6
47847 else
47848 if test -n "$ac_ct_WINDRES"; then
47849 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47850 else
47851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47852 for as_dir in $PATH
47853 do
47854 IFS=$as_save_IFS
47855 test -z "$as_dir" && as_dir=.
47856 for ac_exec_ext in '' $ac_executable_extensions; do
47857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47858 ac_cv_prog_ac_ct_WINDRES="windres"
47859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47860 break 2
47861 fi
47862 done
47863 done
47864
47865 fi
47866 fi
47867 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47868 if test -n "$ac_ct_WINDRES"; then
47869 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47870 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47871 else
47872 echo "$as_me:$LINENO: result: no" >&5
47873 echo "${ECHO_T}no" >&6
47874 fi
47875
47876 WINDRES=$ac_ct_WINDRES
47877 else
47878 WINDRES="$ac_cv_prog_WINDRES"
47879 fi
47880
47881 ;;
47882
47883 *-*-darwin* | powerpc-apple-macos* )
47884 # Extract the first word of "Rez", so it can be a program name with args.
47885 set dummy Rez; ac_word=$2
47886 echo "$as_me:$LINENO: checking for $ac_word" >&5
47887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47888 if test "${ac_cv_prog_REZ+set}" = set; then
47889 echo $ECHO_N "(cached) $ECHO_C" >&6
47890 else
47891 if test -n "$REZ"; then
47892 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47893 else
47894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47895 for as_dir in $PATH
47896 do
47897 IFS=$as_save_IFS
47898 test -z "$as_dir" && as_dir=.
47899 for ac_exec_ext in '' $ac_executable_extensions; do
47900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47901 ac_cv_prog_REZ="Rez"
47902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47903 break 2
47904 fi
47905 done
47906 done
47907
47908 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47909 fi
47910 fi
47911 REZ=$ac_cv_prog_REZ
47912 if test -n "$REZ"; then
47913 echo "$as_me:$LINENO: result: $REZ" >&5
47914 echo "${ECHO_T}$REZ" >&6
47915 else
47916 echo "$as_me:$LINENO: result: no" >&5
47917 echo "${ECHO_T}no" >&6
47918 fi
47919
47920 # Extract the first word of "SetFile", so it can be a program name with args.
47921 set dummy SetFile; ac_word=$2
47922 echo "$as_me:$LINENO: checking for $ac_word" >&5
47923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47924 if test "${ac_cv_prog_SETFILE+set}" = set; then
47925 echo $ECHO_N "(cached) $ECHO_C" >&6
47926 else
47927 if test -n "$SETFILE"; then
47928 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47929 else
47930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47931 for as_dir in $PATH
47932 do
47933 IFS=$as_save_IFS
47934 test -z "$as_dir" && as_dir=.
47935 for ac_exec_ext in '' $ac_executable_extensions; do
47936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47937 ac_cv_prog_SETFILE="SetFile"
47938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47939 break 2
47940 fi
47941 done
47942 done
47943
47944 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47945 fi
47946 fi
47947 SETFILE=$ac_cv_prog_SETFILE
47948 if test -n "$SETFILE"; then
47949 echo "$as_me:$LINENO: result: $SETFILE" >&5
47950 echo "${ECHO_T}$SETFILE" >&6
47951 else
47952 echo "$as_me:$LINENO: result: no" >&5
47953 echo "${ECHO_T}no" >&6
47954 fi
47955
47956 ;;
47957 esac
47958
47959
47960
47961
47962
47963
47964 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47965
47966
47967 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47968
47969
47970
47971 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47972 if test "${enable_precomp_headers+set}" = set; then
47973 enableval="$enable_precomp_headers"
47974 bk_use_pch="$enableval"
47975 fi;
47976
47977 GCC_PCH=0
47978 ICC_PCH=0
47979 USE_PCH=0
47980 BK_MAKE_PCH=""
47981
47982 case ${BAKEFILE_HOST} in
47983 *-*-cygwin* )
47984 bk_use_pch="no"
47985 ;;
47986 esac
47987
47988 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47989 if test "x$GCC" = "xyes"; then
47990 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47991 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47992 cat >conftest.$ac_ext <<_ACEOF
47993 /* confdefs.h. */
47994 _ACEOF
47995 cat confdefs.h >>conftest.$ac_ext
47996 cat >>conftest.$ac_ext <<_ACEOF
47997 /* end confdefs.h. */
47998
47999 int
48000 main ()
48001 {
48002
48003 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48004 There is no PCH support
48005 #endif
48006 #if (__GNUC__ < 3)
48007 There is no PCH support
48008 #endif
48009 #if (__GNUC__ == 3) && \
48010 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48011 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48012 ( defined(__INTEL_COMPILER) )
48013 There is no PCH support
48014 #endif
48015
48016 ;
48017 return 0;
48018 }
48019 _ACEOF
48020 rm -f conftest.$ac_objext
48021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48022 (eval $ac_compile) 2>conftest.er1
48023 ac_status=$?
48024 grep -v '^ *+' conftest.er1 >conftest.err
48025 rm -f conftest.er1
48026 cat conftest.err >&5
48027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48028 (exit $ac_status); } &&
48029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48031 (eval $ac_try) 2>&5
48032 ac_status=$?
48033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48034 (exit $ac_status); }; } &&
48035 { ac_try='test -s conftest.$ac_objext'
48036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48037 (eval $ac_try) 2>&5
48038 ac_status=$?
48039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48040 (exit $ac_status); }; }; then
48041
48042 echo "$as_me:$LINENO: result: yes" >&5
48043 echo "${ECHO_T}yes" >&6
48044 GCC_PCH=1
48045
48046 else
48047 echo "$as_me: failed program was:" >&5
48048 sed 's/^/| /' conftest.$ac_ext >&5
48049
48050
48051 cat >conftest.$ac_ext <<_ACEOF
48052 /* confdefs.h. */
48053 _ACEOF
48054 cat confdefs.h >>conftest.$ac_ext
48055 cat >>conftest.$ac_ext <<_ACEOF
48056 /* end confdefs.h. */
48057
48058 int
48059 main ()
48060 {
48061
48062 #if !defined(__INTEL_COMPILER) || \
48063 (__INTEL_COMPILER < 800)
48064 There is no PCH support
48065 #endif
48066
48067 ;
48068 return 0;
48069 }
48070 _ACEOF
48071 rm -f conftest.$ac_objext
48072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48073 (eval $ac_compile) 2>conftest.er1
48074 ac_status=$?
48075 grep -v '^ *+' conftest.er1 >conftest.err
48076 rm -f conftest.er1
48077 cat conftest.err >&5
48078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48079 (exit $ac_status); } &&
48080 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48082 (eval $ac_try) 2>&5
48083 ac_status=$?
48084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48085 (exit $ac_status); }; } &&
48086 { ac_try='test -s conftest.$ac_objext'
48087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48088 (eval $ac_try) 2>&5
48089 ac_status=$?
48090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48091 (exit $ac_status); }; }; then
48092
48093 echo "$as_me:$LINENO: result: yes" >&5
48094 echo "${ECHO_T}yes" >&6
48095 ICC_PCH=1
48096
48097 else
48098 echo "$as_me: failed program was:" >&5
48099 sed 's/^/| /' conftest.$ac_ext >&5
48100
48101
48102 echo "$as_me:$LINENO: result: no" >&5
48103 echo "${ECHO_T}no" >&6
48104
48105 fi
48106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48107
48108 fi
48109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48110 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48111 USE_PCH=1
48112
48113 D='$'
48114 cat <<EOF >bk-make-pch
48115 #!/bin/sh
48116
48117 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48118 # script. It is used to generated precompiled headers.
48119 #
48120 # Permission is given to use this file in any way.
48121
48122 outfile="${D}{1}"
48123 header="${D}{2}"
48124 shift
48125 shift
48126
48127 compiler=""
48128 headerfile=""
48129
48130 while test ${D}{#} -gt 0; do
48131 add_to_cmdline=1
48132 case "${D}{1}" in
48133 -I* )
48134 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48135 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48136 headerfile="${D}{incdir}/${D}{header}"
48137 fi
48138 ;;
48139 -use-pch|-use_pch )
48140 shift
48141 add_to_cmdline=0
48142 ;;
48143 esac
48144 if test ${D}add_to_cmdline = 1 ; then
48145 compiler="${D}{compiler} ${D}{1}"
48146 fi
48147 shift
48148 done
48149
48150 if test "x${D}{headerfile}" = "x" ; then
48151 echo "error: can't find header ${D}{header} in include paths" >&2
48152 else
48153 if test -f ${D}{outfile} ; then
48154 rm -f ${D}{outfile}
48155 else
48156 mkdir -p \`dirname ${D}{outfile}\`
48157 fi
48158 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48159 mkdir -p .deps
48160 if test "x${GCC_PCH}" = "x1" ; then
48161 # can do this because gcc is >= 3.4:
48162 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48163 elif test "x${ICC_PCH}" = "x1" ; then
48164 filename=pch_gen-${D}${D}
48165 file=${D}{filename}.c
48166 dfile=${D}{filename}.d
48167 cat > ${D}file <<EOT
48168 #include "${D}header"
48169 EOT
48170 # using -MF icc complains about differing command lines in creation/use
48171 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48172 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48173 rm -f ${D}file ${D}dfile ${D}{filename}.o
48174 fi
48175 exit ${D}{?}
48176 fi
48177 EOF
48178
48179 chmod +x bk-make-pch
48180 BK_MAKE_PCH="`pwd`/bk-make-pch"
48181 fi
48182 fi
48183 fi
48184
48185
48186
48187
48188
48189 COND_BUILD_DEBUG="#"
48190 if test "x$BUILD" = "xdebug" ; then
48191 COND_BUILD_DEBUG=""
48192 fi
48193
48194 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48195 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48196 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48197 fi
48198
48199 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48200 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48201 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48202 fi
48203
48204 COND_BUILD_DEBUG_UNICODE_0="#"
48205 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48206 COND_BUILD_DEBUG_UNICODE_0=""
48207 fi
48208
48209 COND_BUILD_DEBUG_UNICODE_1="#"
48210 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48211 COND_BUILD_DEBUG_UNICODE_1=""
48212 fi
48213
48214 COND_BUILD_RELEASE="#"
48215 if test "x$BUILD" = "xrelease" ; then
48216 COND_BUILD_RELEASE=""
48217 fi
48218
48219 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48220 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48221 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48222 fi
48223
48224 COND_BUILD_RELEASE_UNICODE_0="#"
48225 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48226 COND_BUILD_RELEASE_UNICODE_0=""
48227 fi
48228
48229 COND_BUILD_RELEASE_UNICODE_1="#"
48230 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48231 COND_BUILD_RELEASE_UNICODE_1=""
48232 fi
48233
48234 COND_DEBUG_FLAG_1="#"
48235 if test "x$DEBUG_FLAG" = "x1" ; then
48236 COND_DEBUG_FLAG_1=""
48237 fi
48238
48239 COND_DEBUG_INFO_0="#"
48240 if test "x$DEBUG_INFO" = "x0" ; then
48241 COND_DEBUG_INFO_0=""
48242 fi
48243
48244 COND_DEBUG_INFO_1="#"
48245 if test "x$DEBUG_INFO" = "x1" ; then
48246 COND_DEBUG_INFO_1=""
48247 fi
48248
48249 COND_DEPS_TRACKING_0="#"
48250 if test "x$DEPS_TRACKING" = "x0" ; then
48251 COND_DEPS_TRACKING_0=""
48252 fi
48253
48254 COND_DEPS_TRACKING_1="#"
48255 if test "x$DEPS_TRACKING" = "x1" ; then
48256 COND_DEPS_TRACKING_1=""
48257 fi
48258
48259 COND_GCC_PCH_1="#"
48260 if test "x$GCC_PCH" = "x1" ; then
48261 COND_GCC_PCH_1=""
48262 fi
48263
48264 COND_ICC_PCH_1="#"
48265 if test "x$ICC_PCH" = "x1" ; then
48266 COND_ICC_PCH_1=""
48267 fi
48268
48269 COND_MONOLITHIC_0="#"
48270 if test "x$MONOLITHIC" = "x0" ; then
48271 COND_MONOLITHIC_0=""
48272 fi
48273
48274 COND_MONOLITHIC_0_SHARED_0="#"
48275 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48276 COND_MONOLITHIC_0_SHARED_0=""
48277 fi
48278
48279 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48280 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48281 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48282 fi
48283
48284 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48285 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48286 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48287 fi
48288
48289 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48290 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48291 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48292 fi
48293
48294 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48295 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48296 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48297 fi
48298
48299 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48300 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48301 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48302 fi
48303
48304 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48305 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48306 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48307 fi
48308
48309 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48310 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48311 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48312 fi
48313
48314 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48315 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48316 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48317 fi
48318
48319 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48320 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48321 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48322 fi
48323
48324 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48325 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48326 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48327 fi
48328
48329 COND_MONOLITHIC_0_SHARED_1="#"
48330 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48331 COND_MONOLITHIC_0_SHARED_1=""
48332 fi
48333
48334 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48335 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48336 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48337 fi
48338
48339 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48340 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48341 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48342 fi
48343
48344 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48345 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48346 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48347 fi
48348
48349 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48350 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48351 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48352 fi
48353
48354 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48355 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48356 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48357 fi
48358
48359 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48360 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48361 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48362 fi
48363
48364 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48365 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48366 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48367 fi
48368
48369 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48370 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48371 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48372 fi
48373
48374 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48375 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48376 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48377 fi
48378
48379 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48380 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48381 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48382 fi
48383
48384 COND_MONOLITHIC_0_USE_AUI_1="#"
48385 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48386 COND_MONOLITHIC_0_USE_AUI_1=""
48387 fi
48388
48389 COND_MONOLITHIC_0_USE_GUI_1="#"
48390 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48391 COND_MONOLITHIC_0_USE_GUI_1=""
48392 fi
48393
48394 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48395 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48396 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48397 fi
48398
48399 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48400 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48401 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48402 fi
48403
48404 COND_MONOLITHIC_0_USE_HTML_1="#"
48405 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48406 COND_MONOLITHIC_0_USE_HTML_1=""
48407 fi
48408
48409 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48410 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48411 COND_MONOLITHIC_0_USE_MEDIA_1=""
48412 fi
48413
48414 COND_MONOLITHIC_0_USE_ODBC_1="#"
48415 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48416 COND_MONOLITHIC_0_USE_ODBC_1=""
48417 fi
48418
48419 COND_MONOLITHIC_0_USE_QA_1="#"
48420 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48421 COND_MONOLITHIC_0_USE_QA_1=""
48422 fi
48423
48424 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48425 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48426 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48427 fi
48428
48429 COND_MONOLITHIC_0_USE_STC_1="#"
48430 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48431 COND_MONOLITHIC_0_USE_STC_1=""
48432 fi
48433
48434 COND_MONOLITHIC_0_USE_XRC_1="#"
48435 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48436 COND_MONOLITHIC_0_USE_XRC_1=""
48437 fi
48438
48439 COND_MONOLITHIC_1="#"
48440 if test "x$MONOLITHIC" = "x1" ; then
48441 COND_MONOLITHIC_1=""
48442 fi
48443
48444 COND_MONOLITHIC_1_SHARED_0="#"
48445 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48446 COND_MONOLITHIC_1_SHARED_0=""
48447 fi
48448
48449 COND_MONOLITHIC_1_SHARED_1="#"
48450 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48451 COND_MONOLITHIC_1_SHARED_1=""
48452 fi
48453
48454 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48455 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48456 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48457 fi
48458
48459 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48460 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48461 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48462 fi
48463
48464 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48465 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48466 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48467 fi
48468
48469 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48470 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48471 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48472 fi
48473
48474 COND_PLATFORM_MACOSX_1="#"
48475 if test "x$PLATFORM_MACOSX" = "x1" ; then
48476 COND_PLATFORM_MACOSX_1=""
48477 fi
48478
48479 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48480 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48481 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48482 fi
48483
48484 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48485 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48486 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48487 fi
48488
48489 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48490 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48491 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48492 fi
48493
48494 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48495 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48496 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48497 fi
48498
48499 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48500 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48501 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48502 fi
48503
48504 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48505 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48506 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48507 fi
48508
48509 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48510 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48511 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48512 fi
48513
48514 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48515 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48516 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48517 fi
48518
48519 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48520 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48521 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48522 fi
48523
48524 COND_PLATFORM_MACOS_1="#"
48525 if test "x$PLATFORM_MACOS" = "x1" ; then
48526 COND_PLATFORM_MACOS_1=""
48527 fi
48528
48529 COND_PLATFORM_MAC_1="#"
48530 if test "x$PLATFORM_MAC" = "x1" ; then
48531 COND_PLATFORM_MAC_1=""
48532 fi
48533
48534 COND_PLATFORM_MSDOS_0="#"
48535 if test "x$PLATFORM_MSDOS" = "x0" ; then
48536 COND_PLATFORM_MSDOS_0=""
48537 fi
48538
48539 COND_PLATFORM_MSDOS_1="#"
48540 if test "x$PLATFORM_MSDOS" = "x1" ; then
48541 COND_PLATFORM_MSDOS_1=""
48542 fi
48543
48544 COND_PLATFORM_OS2_1="#"
48545 if test "x$PLATFORM_OS2" = "x1" ; then
48546 COND_PLATFORM_OS2_1=""
48547 fi
48548
48549 COND_PLATFORM_UNIX_0="#"
48550 if test "x$PLATFORM_UNIX" = "x0" ; then
48551 COND_PLATFORM_UNIX_0=""
48552 fi
48553
48554 COND_PLATFORM_UNIX_1="#"
48555 if test "x$PLATFORM_UNIX" = "x1" ; then
48556 COND_PLATFORM_UNIX_1=""
48557 fi
48558
48559 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48560 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48561 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48562 fi
48563
48564 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48565 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48566 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48567 fi
48568
48569 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48570 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48571 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48572 fi
48573
48574 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48575 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48576 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48577 fi
48578
48579 COND_PLATFORM_WIN32_0="#"
48580 if test "x$PLATFORM_WIN32" = "x0" ; then
48581 COND_PLATFORM_WIN32_0=""
48582 fi
48583
48584 COND_PLATFORM_WIN32_1="#"
48585 if test "x$PLATFORM_WIN32" = "x1" ; then
48586 COND_PLATFORM_WIN32_1=""
48587 fi
48588
48589 COND_SHARED_0="#"
48590 if test "x$SHARED" = "x0" ; then
48591 COND_SHARED_0=""
48592 fi
48593
48594 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48595 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48596 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48597 fi
48598
48599 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48600 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48601 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48602 fi
48603
48604 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48605 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48606 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48607 fi
48608
48609 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48610 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48611 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48612 fi
48613
48614 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48615 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48616 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48617 fi
48618
48619 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48620 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48621 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48622 fi
48623
48624 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48625 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48626 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48627 fi
48628
48629 COND_SHARED_0_USE_STC_1="#"
48630 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48631 COND_SHARED_0_USE_STC_1=""
48632 fi
48633
48634 COND_SHARED_0_USE_XRC_1="#"
48635 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48636 COND_SHARED_0_USE_XRC_1=""
48637 fi
48638
48639 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48640 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48641 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48642 fi
48643
48644 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48645 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48646 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48647 fi
48648
48649 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48650 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48651 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48652 fi
48653
48654 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48655 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48656 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48657 fi
48658
48659 COND_SHARED_1="#"
48660 if test "x$SHARED" = "x1" ; then
48661 COND_SHARED_1=""
48662 fi
48663
48664 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48665 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48666 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48667 fi
48668
48669 COND_SHARED_1_USE_XRC_1="#"
48670 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48671 COND_SHARED_1_USE_XRC_1=""
48672 fi
48673
48674 COND_TOOLKIT_="#"
48675 if test "x$TOOLKIT" = "x" ; then
48676 COND_TOOLKIT_=""
48677 fi
48678
48679 COND_TOOLKIT_COCOA="#"
48680 if test "x$TOOLKIT" = "xCOCOA" ; then
48681 COND_TOOLKIT_COCOA=""
48682 fi
48683
48684 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48685 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48686 COND_TOOLKIT_COCOA_USE_GUI_1=""
48687 fi
48688
48689 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48690 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48691 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48692 fi
48693
48694 COND_TOOLKIT_DFB="#"
48695 if test "x$TOOLKIT" = "xDFB" ; then
48696 COND_TOOLKIT_DFB=""
48697 fi
48698
48699 COND_TOOLKIT_DFB_USE_GUI_1="#"
48700 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48701 COND_TOOLKIT_DFB_USE_GUI_1=""
48702 fi
48703
48704 COND_TOOLKIT_GTK="#"
48705 if test "x$TOOLKIT" = "xGTK" ; then
48706 COND_TOOLKIT_GTK=""
48707 fi
48708
48709 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48710 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48711 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48712 fi
48713
48714 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48715 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48716 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48717 fi
48718
48719 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48720 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48721 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48722 fi
48723
48724 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48725 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48726 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48727 fi
48728
48729 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48730 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48731 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48732 fi
48733
48734 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48735 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48736 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48737 fi
48738
48739 COND_TOOLKIT_GTK_USE_GUI_1="#"
48740 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48741 COND_TOOLKIT_GTK_USE_GUI_1=""
48742 fi
48743
48744 COND_TOOLKIT_MAC="#"
48745 if test "x$TOOLKIT" = "xMAC" ; then
48746 COND_TOOLKIT_MAC=""
48747 fi
48748
48749 COND_TOOLKIT_MAC_USE_GUI_1="#"
48750 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48751 COND_TOOLKIT_MAC_USE_GUI_1=""
48752 fi
48753
48754 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48755 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48756 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48757 fi
48758
48759 COND_TOOLKIT_MGL="#"
48760 if test "x$TOOLKIT" = "xMGL" ; then
48761 COND_TOOLKIT_MGL=""
48762 fi
48763
48764 COND_TOOLKIT_MGL_USE_GUI_1="#"
48765 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48766 COND_TOOLKIT_MGL_USE_GUI_1=""
48767 fi
48768
48769 COND_TOOLKIT_MOTIF="#"
48770 if test "x$TOOLKIT" = "xMOTIF" ; then
48771 COND_TOOLKIT_MOTIF=""
48772 fi
48773
48774 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48775 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48776 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48777 fi
48778
48779 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48780 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48781 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48782 fi
48783
48784 COND_TOOLKIT_MSW="#"
48785 if test "x$TOOLKIT" = "xMSW" ; then
48786 COND_TOOLKIT_MSW=""
48787 fi
48788
48789 COND_TOOLKIT_MSW_USE_GUI_1="#"
48790 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48791 COND_TOOLKIT_MSW_USE_GUI_1=""
48792 fi
48793
48794 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48795 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48796 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48797 fi
48798
48799 COND_TOOLKIT_MSW_WXUNIV_0="#"
48800 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48801 COND_TOOLKIT_MSW_WXUNIV_0=""
48802 fi
48803
48804 COND_TOOLKIT_PM="#"
48805 if test "x$TOOLKIT" = "xPM" ; then
48806 COND_TOOLKIT_PM=""
48807 fi
48808
48809 COND_TOOLKIT_PM_USE_GUI_1="#"
48810 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48811 COND_TOOLKIT_PM_USE_GUI_1=""
48812 fi
48813
48814 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48815 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48816 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48817 fi
48818
48819 COND_TOOLKIT_WINCE="#"
48820 if test "x$TOOLKIT" = "xWINCE" ; then
48821 COND_TOOLKIT_WINCE=""
48822 fi
48823
48824 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48825 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48826 COND_TOOLKIT_WINCE_USE_GUI_1=""
48827 fi
48828
48829 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48830 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48831 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48832 fi
48833
48834 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48835 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48836 COND_TOOLKIT_WINCE_WXUNIV_0=""
48837 fi
48838
48839 COND_TOOLKIT_X11="#"
48840 if test "x$TOOLKIT" = "xX11" ; then
48841 COND_TOOLKIT_X11=""
48842 fi
48843
48844 COND_TOOLKIT_X11_USE_GUI_1="#"
48845 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48846 COND_TOOLKIT_X11_USE_GUI_1=""
48847 fi
48848
48849 COND_UNICODE_1="#"
48850 if test "x$UNICODE" = "x1" ; then
48851 COND_UNICODE_1=""
48852 fi
48853
48854 COND_USE_EXCEPTIONS_0="#"
48855 if test "x$USE_EXCEPTIONS" = "x0" ; then
48856 COND_USE_EXCEPTIONS_0=""
48857 fi
48858
48859 COND_USE_EXCEPTIONS_1="#"
48860 if test "x$USE_EXCEPTIONS" = "x1" ; then
48861 COND_USE_EXCEPTIONS_1=""
48862 fi
48863
48864 COND_USE_GUI_0="#"
48865 if test "x$USE_GUI" = "x0" ; then
48866 COND_USE_GUI_0=""
48867 fi
48868
48869 COND_USE_GUI_1="#"
48870 if test "x$USE_GUI" = "x1" ; then
48871 COND_USE_GUI_1=""
48872 fi
48873
48874 COND_USE_GUI_1_USE_OPENGL_1="#"
48875 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48876 COND_USE_GUI_1_USE_OPENGL_1=""
48877 fi
48878
48879 COND_USE_GUI_1_WXUNIV_0="#"
48880 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48881 COND_USE_GUI_1_WXUNIV_0=""
48882 fi
48883
48884 COND_USE_GUI_1_WXUNIV_1="#"
48885 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48886 COND_USE_GUI_1_WXUNIV_1=""
48887 fi
48888
48889 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48890 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48891 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48892 fi
48893
48894 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48895 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48896 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48897 fi
48898
48899 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48900 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48901 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48902 fi
48903
48904 COND_USE_ODBC_1="#"
48905 if test "x$USE_ODBC" = "x1" ; then
48906 COND_USE_ODBC_1=""
48907 fi
48908
48909 COND_USE_OPENGL_1="#"
48910 if test "x$USE_OPENGL" = "x1" ; then
48911 COND_USE_OPENGL_1=""
48912 fi
48913
48914 COND_USE_PCH_1="#"
48915 if test "x$USE_PCH" = "x1" ; then
48916 COND_USE_PCH_1=""
48917 fi
48918
48919 COND_USE_PLUGINS_0="#"
48920 if test "x$USE_PLUGINS" = "x0" ; then
48921 COND_USE_PLUGINS_0=""
48922 fi
48923
48924 COND_USE_RTTI_0="#"
48925 if test "x$USE_RTTI" = "x0" ; then
48926 COND_USE_RTTI_0=""
48927 fi
48928
48929 COND_USE_RTTI_1="#"
48930 if test "x$USE_RTTI" = "x1" ; then
48931 COND_USE_RTTI_1=""
48932 fi
48933
48934 COND_USE_SOSYMLINKS_1="#"
48935 if test "x$USE_SOSYMLINKS" = "x1" ; then
48936 COND_USE_SOSYMLINKS_1=""
48937 fi
48938
48939 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48940 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48941 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48942 fi
48943
48944 COND_USE_SOVERLINUX_1="#"
48945 if test "x$USE_SOVERLINUX" = "x1" ; then
48946 COND_USE_SOVERLINUX_1=""
48947 fi
48948
48949 COND_USE_SOVERSION_0="#"
48950 if test "x$USE_SOVERSION" = "x0" ; then
48951 COND_USE_SOVERSION_0=""
48952 fi
48953
48954 COND_USE_SOVERSOLARIS_1="#"
48955 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48956 COND_USE_SOVERSOLARIS_1=""
48957 fi
48958
48959 COND_USE_STC_1="#"
48960 if test "x$USE_STC" = "x1" ; then
48961 COND_USE_STC_1=""
48962 fi
48963
48964 COND_USE_THREADS_0="#"
48965 if test "x$USE_THREADS" = "x0" ; then
48966 COND_USE_THREADS_0=""
48967 fi
48968
48969 COND_USE_THREADS_1="#"
48970 if test "x$USE_THREADS" = "x1" ; then
48971 COND_USE_THREADS_1=""
48972 fi
48973
48974 COND_USE_XRC_1="#"
48975 if test "x$USE_XRC" = "x1" ; then
48976 COND_USE_XRC_1=""
48977 fi
48978
48979 COND_WINDOWS_IMPLIB_1="#"
48980 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48981 COND_WINDOWS_IMPLIB_1=""
48982 fi
48983
48984 COND_WITH_PLUGIN_SDL_1="#"
48985 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48986 COND_WITH_PLUGIN_SDL_1=""
48987 fi
48988
48989 COND_WXUNIV_0="#"
48990 if test "x$WXUNIV" = "x0" ; then
48991 COND_WXUNIV_0=""
48992 fi
48993
48994 COND_WXUNIV_1="#"
48995 if test "x$WXUNIV" = "x1" ; then
48996 COND_WXUNIV_1=""
48997 fi
48998
48999 COND_WXUSE_EXPAT_BUILTIN="#"
49000 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49001 COND_WXUSE_EXPAT_BUILTIN=""
49002 fi
49003
49004 COND_WXUSE_LIBJPEG_BUILTIN="#"
49005 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49006 COND_WXUSE_LIBJPEG_BUILTIN=""
49007 fi
49008
49009 COND_WXUSE_LIBPNG_BUILTIN="#"
49010 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49011 COND_WXUSE_LIBPNG_BUILTIN=""
49012 fi
49013
49014 COND_WXUSE_LIBTIFF_BUILTIN="#"
49015 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49016 COND_WXUSE_LIBTIFF_BUILTIN=""
49017 fi
49018
49019 COND_WXUSE_ODBC_BUILTIN="#"
49020 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49021 COND_WXUSE_ODBC_BUILTIN=""
49022 fi
49023
49024 COND_WXUSE_REGEX_BUILTIN="#"
49025 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49026 COND_WXUSE_REGEX_BUILTIN=""
49027 fi
49028
49029 COND_WXUSE_ZLIB_BUILTIN="#"
49030 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49031 COND_WXUSE_ZLIB_BUILTIN=""
49032 fi
49033
49034
49035
49036 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49037 { { 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
49038 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;}
49039 { (exit 1); exit 1; }; }
49040 fi
49041
49042 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49043 { { 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
49044 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;}
49045 { (exit 1); exit 1; }; }
49046 fi
49047
49048
49049 if test $GCC_PCH = 1
49050 then
49051 if test "$wx_cv_gcc_pch_bug" = yes; then
49052 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49053 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49054 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49055 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49056 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49057 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49058 fi
49059
49060 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49061 fi
49062
49063
49064 if test "$wxUSE_MAC" = 1 ; then
49065 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49066 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49067 mv temp bk-deps
49068 chmod +x bk-deps
49069 fi
49070 fi
49071
49072 if test "$wxUSE_SHARED" = "yes"; then
49073
49074 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49075 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49076
49077 case "${host}" in
49078 *-pc-os2_emx | *-pc-os2-emx )
49079 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49080 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49081 cp -p ${srcdir}/src/os2/dllnames.sh .
49082 cp -p ${srcdir}/src/os2/dllar.sh .
49083 ;;
49084 esac
49085 else
49086
49087 EXE_LINKER="$CXX -o"
49088
49089 fi
49090 if test "$wxUSE_OMF" = "yes"; then
49091 case "${host}" in
49092 *-pc-os2_emx | *-pc-os2-emx )
49093 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49094 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49095 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49096 ;;
49097 esac
49098 fi
49099
49100 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49101
49102
49103 case "${host}" in
49104 *-*-solaris2* )
49105 if "$GCC" = yes; then
49106 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49107 LIBS=`echo $LIBS | sed 's/-mt//'`
49108 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49109 fi
49110 ;;
49111
49112 *-*-linux* )
49113 if test "x$SUNCXX" = xyes; then
49114 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49115 LIBS=`echo $LIBS | sed 's/-pthread//'`
49116 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49117 fi
49118 ;;
49119 esac
49120
49121 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49122 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49123
49124 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49125
49126
49127
49128
49129
49130
49131
49132
49133
49134
49135
49136
49137
49138
49139
49140
49141
49142
49143
49144
49145
49146
49147
49148
49149
49150
49151
49152
49153
49154
49155
49156
49157
49158
49159
49160
49161
49162
49163
49164
49165
49166
49167
49168
49169
49170
49171
49172
49173
49174
49175
49176
49177
49178
49179
49180
49181
49182
49183
49184
49185
49186 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49187 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49188 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
49189 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49190 echo $ECHO_N "(cached) $ECHO_C" >&6
49191 else
49192 cat >conftest.make <<\_ACEOF
49193 all:
49194 @echo 'ac_maketemp="$(MAKE)"'
49195 _ACEOF
49196 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49197 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49198 if test -n "$ac_maketemp"; then
49199 eval ac_cv_prog_make_${ac_make}_set=yes
49200 else
49201 eval ac_cv_prog_make_${ac_make}_set=no
49202 fi
49203 rm -f conftest.make
49204 fi
49205 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49206 echo "$as_me:$LINENO: result: yes" >&5
49207 echo "${ECHO_T}yes" >&6
49208 SET_MAKE=
49209 else
49210 echo "$as_me:$LINENO: result: no" >&5
49211 echo "${ECHO_T}no" >&6
49212 SET_MAKE="MAKE=${MAKE-make}"
49213 fi
49214
49215
49216
49217 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49218
49219
49220 if test "$USE_WIN32" = 1; then
49221 ac_config_commands="$ac_config_commands
49222 rcdefs.h
49223 "
49224
49225 fi
49226
49227 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49228
49229
49230 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49231
49232
49233 if test "$wx_cv_version_script" = "yes"; then
49234 ac_config_files="$ac_config_files version-script"
49235
49236 fi
49237 ac_config_files="$ac_config_files Makefile"
49238
49239
49240 ac_config_commands="$ac_config_commands wx-config"
49241
49242
49243
49244 if test "$wxWITH_SUBDIRS" != "no"; then
49245 if test "$wxUSE_GUI" = "yes"; then
49246 SUBDIRS="samples demos utils"
49247 else SUBDIRS="samples utils"
49248 fi
49249
49250
49251
49252 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49253 if test "${with_cppunit_prefix+set}" = set; then
49254 withval="$with_cppunit_prefix"
49255 cppunit_config_prefix="$withval"
49256 else
49257 cppunit_config_prefix=""
49258 fi;
49259
49260 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49261 if test "${with_cppunit_exec_prefix+set}" = set; then
49262 withval="$with_cppunit_exec_prefix"
49263 cppunit_config_exec_prefix="$withval"
49264 else
49265 cppunit_config_exec_prefix=""
49266 fi;
49267
49268 if test x$cppunit_config_exec_prefix != x ; then
49269 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49270 if test x${CPPUNIT_CONFIG+set} != xset ; then
49271 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49272 fi
49273 fi
49274 if test x$cppunit_config_prefix != x ; then
49275 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49276 if test x${CPPUNIT_CONFIG+set} != xset ; then
49277 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49278 fi
49279 fi
49280
49281 # Extract the first word of "cppunit-config", so it can be a program name with args.
49282 set dummy cppunit-config; ac_word=$2
49283 echo "$as_me:$LINENO: checking for $ac_word" >&5
49284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49285 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49286 echo $ECHO_N "(cached) $ECHO_C" >&6
49287 else
49288 case $CPPUNIT_CONFIG in
49289 [\\/]* | ?:[\\/]*)
49290 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49291 ;;
49292 *)
49293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49294 for as_dir in $PATH
49295 do
49296 IFS=$as_save_IFS
49297 test -z "$as_dir" && as_dir=.
49298 for ac_exec_ext in '' $ac_executable_extensions; do
49299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49300 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49302 break 2
49303 fi
49304 done
49305 done
49306
49307 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49308 ;;
49309 esac
49310 fi
49311 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49312
49313 if test -n "$CPPUNIT_CONFIG"; then
49314 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49315 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49316 else
49317 echo "$as_me:$LINENO: result: no" >&5
49318 echo "${ECHO_T}no" >&6
49319 fi
49320
49321 cppunit_version_min=1.8.0
49322
49323 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49324 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49325 no_cppunit=""
49326 if test "$CPPUNIT_CONFIG" = "no" ; then
49327 echo "$as_me:$LINENO: result: no" >&5
49328 echo "${ECHO_T}no" >&6
49329 no_cppunit=yes
49330 else
49331 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49332 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49333 cppunit_version=`$CPPUNIT_CONFIG --version`
49334
49335 cppunit_major_version=`echo $cppunit_version | \
49336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49337 cppunit_minor_version=`echo $cppunit_version | \
49338 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49339 cppunit_micro_version=`echo $cppunit_version | \
49340 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49341
49342 cppunit_major_min=`echo $cppunit_version_min | \
49343 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49344 cppunit_minor_min=`echo $cppunit_version_min | \
49345 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49346 cppunit_micro_min=`echo $cppunit_version_min | \
49347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49348
49349 cppunit_version_proper=`expr \
49350 $cppunit_major_version \> $cppunit_major_min \| \
49351 $cppunit_major_version \= $cppunit_major_min \& \
49352 $cppunit_minor_version \> $cppunit_minor_min \| \
49353 $cppunit_major_version \= $cppunit_major_min \& \
49354 $cppunit_minor_version \= $cppunit_minor_min \& \
49355 $cppunit_micro_version \>= $cppunit_micro_min `
49356
49357 if test "$cppunit_version_proper" = "1" ; then
49358 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49359 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49360 else
49361 echo "$as_me:$LINENO: result: no" >&5
49362 echo "${ECHO_T}no" >&6
49363 no_cppunit=yes
49364 fi
49365 fi
49366
49367 if test "x$no_cppunit" = x ; then
49368 SUBDIRS="$SUBDIRS tests"
49369 else
49370 CPPUNIT_CFLAGS=""
49371 CPPUNIT_LIBS=""
49372 :
49373 fi
49374
49375
49376
49377
49378
49379 for subdir in `echo $SUBDIRS`; do
49380 if test -d ${srcdir}/${subdir} ; then
49381 if test "$wxUSE_GUI" = "yes"; then
49382 if test ${subdir} = "samples"; then
49383 makefiles="samples/Makefile.in $makefiles"
49384 for sample in `echo $SAMPLES_SUBDIRS`; do
49385 if test -d $srcdir/samples/$sample; then
49386 makefiles="samples/$sample/Makefile.in $makefiles"
49387 fi
49388 done
49389 else
49390 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49391 eval "disabled=\$$disabled_var"
49392 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49393 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49394 fi
49395 else if test ${subdir} = "samples"; then
49396 makefiles="samples/Makefile.in samples/console/Makefile.in"
49397 elif test ${subdir} = "utils"; then
49398 makefiles=""
49399 for util in HelpGen tex2rtf ; do
49400 if test -d $srcdir/utils/$util ; then
49401 makefiles="utils/$util/Makefile.in \
49402 utils/$util/src/Makefile.in \
49403 $makefiles"
49404 fi
49405 done
49406 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49407 fi
49408 fi
49409
49410 for mkin in $makefiles ; do
49411 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49412 ac_config_files="$ac_config_files $mk"
49413
49414 done
49415 fi
49416 done
49417 fi
49418 cat >confcache <<\_ACEOF
49419 # This file is a shell script that caches the results of configure
49420 # tests run on this system so they can be shared between configure
49421 # scripts and configure runs, see configure's option --config-cache.
49422 # It is not useful on other systems. If it contains results you don't
49423 # want to keep, you may remove or edit it.
49424 #
49425 # config.status only pays attention to the cache file if you give it
49426 # the --recheck option to rerun configure.
49427 #
49428 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49429 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49430 # following values.
49431
49432 _ACEOF
49433
49434 # The following way of writing the cache mishandles newlines in values,
49435 # but we know of no workaround that is simple, portable, and efficient.
49436 # So, don't put newlines in cache variables' values.
49437 # Ultrix sh set writes to stderr and can't be redirected directly,
49438 # and sets the high bit in the cache file unless we assign to the vars.
49439 {
49440 (set) 2>&1 |
49441 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49442 *ac_space=\ *)
49443 # `set' does not quote correctly, so add quotes (double-quote
49444 # substitution turns \\\\ into \\, and sed turns \\ into \).
49445 sed -n \
49446 "s/'/'\\\\''/g;
49447 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49448 ;;
49449 *)
49450 # `set' quotes correctly as required by POSIX, so do not add quotes.
49451 sed -n \
49452 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49453 ;;
49454 esac;
49455 } |
49456 sed '
49457 t clear
49458 : clear
49459 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49460 t end
49461 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49462 : end' >>confcache
49463 if diff $cache_file confcache >/dev/null 2>&1; then :; else
49464 if test -w $cache_file; then
49465 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49466 cat confcache >$cache_file
49467 else
49468 echo "not updating unwritable cache $cache_file"
49469 fi
49470 fi
49471 rm -f confcache
49472
49473 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49474 # Let make expand exec_prefix.
49475 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49476
49477 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49478 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49479 # trailing colons and then remove the whole line if VPATH becomes empty
49480 # (actually we leave an empty line to preserve line numbers).
49481 if test "x$srcdir" = x.; then
49482 ac_vpsub='/^[ ]*VPATH[ ]*=/{
49483 s/:*\$(srcdir):*/:/;
49484 s/:*\${srcdir}:*/:/;
49485 s/:*@srcdir@:*/:/;
49486 s/^\([^=]*=[ ]*\):*/\1/;
49487 s/:*$//;
49488 s/^[^=]*=[ ]*$//;
49489 }'
49490 fi
49491
49492 DEFS=-DHAVE_CONFIG_H
49493
49494 ac_libobjs=
49495 ac_ltlibobjs=
49496 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49497 # 1. Remove the extension, and $U if already installed.
49498 ac_i=`echo "$ac_i" |
49499 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49500 # 2. Add them.
49501 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
49502 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
49503 done
49504 LIBOBJS=$ac_libobjs
49505
49506 LTLIBOBJS=$ac_ltlibobjs
49507
49508
49509
49510 : ${CONFIG_STATUS=./config.status}
49511 ac_clean_files_save=$ac_clean_files
49512 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49513 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49514 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49515 cat >$CONFIG_STATUS <<_ACEOF
49516 #! $SHELL
49517 # Generated by $as_me.
49518 # Run this file to recreate the current configuration.
49519 # Compiler output produced by configure, useful for debugging
49520 # configure, is in config.log if it exists.
49521
49522 debug=false
49523 ac_cs_recheck=false
49524 ac_cs_silent=false
49525 SHELL=\${CONFIG_SHELL-$SHELL}
49526 _ACEOF
49527
49528 cat >>$CONFIG_STATUS <<\_ACEOF
49529 ## --------------------- ##
49530 ## M4sh Initialization. ##
49531 ## --------------------- ##
49532
49533 # Be Bourne compatible
49534 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49535 emulate sh
49536 NULLCMD=:
49537 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49538 # is contrary to our usage. Disable this feature.
49539 alias -g '${1+"$@"}'='"$@"'
49540 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49541 set -o posix
49542 fi
49543 DUALCASE=1; export DUALCASE # for MKS sh
49544
49545 # Support unset when possible.
49546 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49547 as_unset=unset
49548 else
49549 as_unset=false
49550 fi
49551
49552
49553 # Work around bugs in pre-3.0 UWIN ksh.
49554 $as_unset ENV MAIL MAILPATH
49555 PS1='$ '
49556 PS2='> '
49557 PS4='+ '
49558
49559 # NLS nuisances.
49560 for as_var in \
49561 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49562 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49563 LC_TELEPHONE LC_TIME
49564 do
49565 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49566 eval $as_var=C; export $as_var
49567 else
49568 $as_unset $as_var
49569 fi
49570 done
49571
49572 # Required to use basename.
49573 if expr a : '\(a\)' >/dev/null 2>&1; then
49574 as_expr=expr
49575 else
49576 as_expr=false
49577 fi
49578
49579 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
49580 as_basename=basename
49581 else
49582 as_basename=false
49583 fi
49584
49585
49586 # Name of the executable.
49587 as_me=`$as_basename "$0" ||
49588 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49589 X"$0" : 'X\(//\)$' \| \
49590 X"$0" : 'X\(/\)$' \| \
49591 . : '\(.\)' 2>/dev/null ||
49592 echo X/"$0" |
49593 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49594 /^X\/\(\/\/\)$/{ s//\1/; q; }
49595 /^X\/\(\/\).*/{ s//\1/; q; }
49596 s/.*/./; q'`
49597
49598
49599 # PATH needs CR, and LINENO needs CR and PATH.
49600 # Avoid depending upon Character Ranges.
49601 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49602 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49603 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49604 as_cr_digits='0123456789'
49605 as_cr_alnum=$as_cr_Letters$as_cr_digits
49606
49607 # The user is always right.
49608 if test "${PATH_SEPARATOR+set}" != set; then
49609 echo "#! /bin/sh" >conf$$.sh
49610 echo "exit 0" >>conf$$.sh
49611 chmod +x conf$$.sh
49612 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49613 PATH_SEPARATOR=';'
49614 else
49615 PATH_SEPARATOR=:
49616 fi
49617 rm -f conf$$.sh
49618 fi
49619
49620
49621 as_lineno_1=$LINENO
49622 as_lineno_2=$LINENO
49623 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49624 test "x$as_lineno_1" != "x$as_lineno_2" &&
49625 test "x$as_lineno_3" = "x$as_lineno_2" || {
49626 # Find who we are. Look in the path if we contain no path at all
49627 # relative or not.
49628 case $0 in
49629 *[\\/]* ) as_myself=$0 ;;
49630 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49631 for as_dir in $PATH
49632 do
49633 IFS=$as_save_IFS
49634 test -z "$as_dir" && as_dir=.
49635 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49636 done
49637
49638 ;;
49639 esac
49640 # We did not find ourselves, most probably we were run as `sh COMMAND'
49641 # in which case we are not to be found in the path.
49642 if test "x$as_myself" = x; then
49643 as_myself=$0
49644 fi
49645 if test ! -f "$as_myself"; then
49646 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49647 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49648 { (exit 1); exit 1; }; }
49649 fi
49650 case $CONFIG_SHELL in
49651 '')
49652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49653 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
49654 do
49655 IFS=$as_save_IFS
49656 test -z "$as_dir" && as_dir=.
49657 for as_base in sh bash ksh sh5; do
49658 case $as_dir in
49659 /*)
49660 if ("$as_dir/$as_base" -c '
49661 as_lineno_1=$LINENO
49662 as_lineno_2=$LINENO
49663 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49664 test "x$as_lineno_1" != "x$as_lineno_2" &&
49665 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
49666 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
49667 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
49668 CONFIG_SHELL=$as_dir/$as_base
49669 export CONFIG_SHELL
49670 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49671 fi;;
49672 esac
49673 done
49674 done
49675 ;;
49676 esac
49677
49678 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49679 # uniformly replaced by the line number. The first 'sed' inserts a
49680 # line-number line before each line; the second 'sed' does the real
49681 # work. The second script uses 'N' to pair each line-number line
49682 # with the numbered line, and appends trailing '-' during
49683 # substitution so that $LINENO is not a special case at line end.
49684 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49685 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49686 sed '=' <$as_myself |
49687 sed '
49688 N
49689 s,$,-,
49690 : loop
49691 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49692 t loop
49693 s,-$,,
49694 s,^['$as_cr_digits']*\n,,
49695 ' >$as_me.lineno &&
49696 chmod +x $as_me.lineno ||
49697 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49698 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49699 { (exit 1); exit 1; }; }
49700
49701 # Don't try to exec as it changes $[0], causing all sort of problems
49702 # (the dirname of $[0] is not the place where we might find the
49703 # original and so on. Autoconf is especially sensible to this).
49704 . ./$as_me.lineno
49705 # Exit status is that of the last command.
49706 exit
49707 }
49708
49709
49710 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49711 *c*,-n*) ECHO_N= ECHO_C='
49712 ' ECHO_T=' ' ;;
49713 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
49714 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
49715 esac
49716
49717 if expr a : '\(a\)' >/dev/null 2>&1; then
49718 as_expr=expr
49719 else
49720 as_expr=false
49721 fi
49722
49723 rm -f conf$$ conf$$.exe conf$$.file
49724 echo >conf$$.file
49725 if ln -s conf$$.file conf$$ 2>/dev/null; then
49726 # We could just check for DJGPP; but this test a) works b) is more generic
49727 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49728 if test -f conf$$.exe; then
49729 # Don't use ln at all; we don't have any links
49730 as_ln_s='cp -p'
49731 else
49732 as_ln_s='ln -s'
49733 fi
49734 elif ln conf$$.file conf$$ 2>/dev/null; then
49735 as_ln_s=ln
49736 else
49737 as_ln_s='cp -p'
49738 fi
49739 rm -f conf$$ conf$$.exe conf$$.file
49740
49741 if mkdir -p . 2>/dev/null; then
49742 as_mkdir_p=:
49743 else
49744 test -d ./-p && rmdir ./-p
49745 as_mkdir_p=false
49746 fi
49747
49748 as_executable_p="test -f"
49749
49750 # Sed expression to map a string onto a valid CPP name.
49751 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49752
49753 # Sed expression to map a string onto a valid variable name.
49754 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49755
49756
49757 # IFS
49758 # We need space, tab and new line, in precisely that order.
49759 as_nl='
49760 '
49761 IFS=" $as_nl"
49762
49763 # CDPATH.
49764 $as_unset CDPATH
49765
49766 exec 6>&1
49767
49768 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49769 # report actual input values of CONFIG_FILES etc. instead of their
49770 # values after options handling. Logging --version etc. is OK.
49771 exec 5>>config.log
49772 {
49773 echo
49774 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49775 ## Running $as_me. ##
49776 _ASBOX
49777 } >&5
49778 cat >&5 <<_CSEOF
49779
49780 This file was extended by wxWidgets $as_me 2.9.0, which was
49781 generated by GNU Autoconf 2.59. Invocation command line was
49782
49783 CONFIG_FILES = $CONFIG_FILES
49784 CONFIG_HEADERS = $CONFIG_HEADERS
49785 CONFIG_LINKS = $CONFIG_LINKS
49786 CONFIG_COMMANDS = $CONFIG_COMMANDS
49787 $ $0 $@
49788
49789 _CSEOF
49790 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49791 echo >&5
49792 _ACEOF
49793
49794 # Files that config.status was made for.
49795 if test -n "$ac_config_files"; then
49796 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49797 fi
49798
49799 if test -n "$ac_config_headers"; then
49800 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49801 fi
49802
49803 if test -n "$ac_config_links"; then
49804 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49805 fi
49806
49807 if test -n "$ac_config_commands"; then
49808 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49809 fi
49810
49811 cat >>$CONFIG_STATUS <<\_ACEOF
49812
49813 ac_cs_usage="\
49814 \`$as_me' instantiates files from templates according to the
49815 current configuration.
49816
49817 Usage: $0 [OPTIONS] [FILE]...
49818
49819 -h, --help print this help, then exit
49820 -V, --version print version number, then exit
49821 -q, --quiet do not print progress messages
49822 -d, --debug don't remove temporary files
49823 --recheck update $as_me by reconfiguring in the same conditions
49824 --file=FILE[:TEMPLATE]
49825 instantiate the configuration file FILE
49826 --header=FILE[:TEMPLATE]
49827 instantiate the configuration header FILE
49828
49829 Configuration files:
49830 $config_files
49831
49832 Configuration headers:
49833 $config_headers
49834
49835 Configuration commands:
49836 $config_commands
49837
49838 Report bugs to <bug-autoconf@gnu.org>."
49839 _ACEOF
49840
49841 cat >>$CONFIG_STATUS <<_ACEOF
49842 ac_cs_version="\\
49843 wxWidgets config.status 2.9.0
49844 configured by $0, generated by GNU Autoconf 2.59,
49845 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49846
49847 Copyright (C) 2003 Free Software Foundation, Inc.
49848 This config.status script is free software; the Free Software Foundation
49849 gives unlimited permission to copy, distribute and modify it."
49850 srcdir=$srcdir
49851 INSTALL="$INSTALL"
49852 _ACEOF
49853
49854 cat >>$CONFIG_STATUS <<\_ACEOF
49855 # If no file are specified by the user, then we need to provide default
49856 # value. By we need to know if files were specified by the user.
49857 ac_need_defaults=:
49858 while test $# != 0
49859 do
49860 case $1 in
49861 --*=*)
49862 ac_option=`expr "x$1" : 'x\([^=]*\)='`
49863 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
49864 ac_shift=:
49865 ;;
49866 -*)
49867 ac_option=$1
49868 ac_optarg=$2
49869 ac_shift=shift
49870 ;;
49871 *) # This is not an option, so the user has probably given explicit
49872 # arguments.
49873 ac_option=$1
49874 ac_need_defaults=false;;
49875 esac
49876
49877 case $ac_option in
49878 # Handling of the options.
49879 _ACEOF
49880 cat >>$CONFIG_STATUS <<\_ACEOF
49881 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49882 ac_cs_recheck=: ;;
49883 --version | --vers* | -V )
49884 echo "$ac_cs_version"; exit 0 ;;
49885 --he | --h)
49886 # Conflict between --help and --header
49887 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49888 Try \`$0 --help' for more information." >&5
49889 echo "$as_me: error: ambiguous option: $1
49890 Try \`$0 --help' for more information." >&2;}
49891 { (exit 1); exit 1; }; };;
49892 --help | --hel | -h )
49893 echo "$ac_cs_usage"; exit 0 ;;
49894 --debug | --d* | -d )
49895 debug=: ;;
49896 --file | --fil | --fi | --f )
49897 $ac_shift
49898 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49899 ac_need_defaults=false;;
49900 --header | --heade | --head | --hea )
49901 $ac_shift
49902 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49903 ac_need_defaults=false;;
49904 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49905 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49906 ac_cs_silent=: ;;
49907
49908 # This is an error.
49909 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49910 Try \`$0 --help' for more information." >&5
49911 echo "$as_me: error: unrecognized option: $1
49912 Try \`$0 --help' for more information." >&2;}
49913 { (exit 1); exit 1; }; } ;;
49914
49915 *) ac_config_targets="$ac_config_targets $1" ;;
49916
49917 esac
49918 shift
49919 done
49920
49921 ac_configure_extra_args=
49922
49923 if $ac_cs_silent; then
49924 exec 6>/dev/null
49925 ac_configure_extra_args="$ac_configure_extra_args --silent"
49926 fi
49927
49928 _ACEOF
49929 cat >>$CONFIG_STATUS <<_ACEOF
49930 if \$ac_cs_recheck; then
49931 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49932 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49933 fi
49934
49935 _ACEOF
49936
49937 cat >>$CONFIG_STATUS <<_ACEOF
49938 #
49939 # INIT-COMMANDS section.
49940 #
49941
49942
49943 CPP="$CPP"
49944 infile="$srcdir/include/wx/msw/genrcdefs.h"
49945 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49946
49947
49948 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49949 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49950 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49951 LN_S="${LN_S}"
49952
49953
49954 _ACEOF
49955
49956
49957
49958 cat >>$CONFIG_STATUS <<\_ACEOF
49959 for ac_config_target in $ac_config_targets
49960 do
49961 case "$ac_config_target" in
49962 # Handling of arguments.
49963 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49964 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49965 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
49966 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49967 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
49968 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49969 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49970 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49971 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49972 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49973 { (exit 1); exit 1; }; };;
49974 esac
49975 done
49976
49977 # If the user did not use the arguments to specify the items to instantiate,
49978 # then the envvar interface is used. Set only those that are not.
49979 # We use the long form for the default assignment because of an extremely
49980 # bizarre bug on SunOS 4.1.3.
49981 if $ac_need_defaults; then
49982 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49983 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49984 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49985 fi
49986
49987 # Have a temporary directory for convenience. Make it in the build tree
49988 # simply because there is no reason to put it here, and in addition,
49989 # creating and moving files from /tmp can sometimes cause problems.
49990 # Create a temporary directory, and hook for its removal unless debugging.
49991 $debug ||
49992 {
49993 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49994 trap '{ (exit 1); exit 1; }' 1 2 13 15
49995 }
49996
49997 # Create a (secure) tmp directory for tmp files.
49998
49999 {
50000 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50001 test -n "$tmp" && test -d "$tmp"
50002 } ||
50003 {
50004 tmp=./confstat$$-$RANDOM
50005 (umask 077 && mkdir $tmp)
50006 } ||
50007 {
50008 echo "$me: cannot create a temporary directory in ." >&2
50009 { (exit 1); exit 1; }
50010 }
50011
50012 _ACEOF
50013
50014 cat >>$CONFIG_STATUS <<_ACEOF
50015
50016 #
50017 # CONFIG_FILES section.
50018 #
50019
50020 # No need to generate the scripts if there are no CONFIG_FILES.
50021 # This happens for instance when ./config.status config.h
50022 if test -n "\$CONFIG_FILES"; then
50023 # Protect against being on the right side of a sed subst in config.status.
50024 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50025 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50026 s,@SHELL@,$SHELL,;t t
50027 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50028 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50029 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50030 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50031 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50032 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50033 s,@exec_prefix@,$exec_prefix,;t t
50034 s,@prefix@,$prefix,;t t
50035 s,@program_transform_name@,$program_transform_name,;t t
50036 s,@bindir@,$bindir,;t t
50037 s,@sbindir@,$sbindir,;t t
50038 s,@libexecdir@,$libexecdir,;t t
50039 s,@datadir@,$datadir,;t t
50040 s,@sysconfdir@,$sysconfdir,;t t
50041 s,@sharedstatedir@,$sharedstatedir,;t t
50042 s,@localstatedir@,$localstatedir,;t t
50043 s,@libdir@,$libdir,;t t
50044 s,@includedir@,$includedir,;t t
50045 s,@oldincludedir@,$oldincludedir,;t t
50046 s,@infodir@,$infodir,;t t
50047 s,@mandir@,$mandir,;t t
50048 s,@build_alias@,$build_alias,;t t
50049 s,@host_alias@,$host_alias,;t t
50050 s,@target_alias@,$target_alias,;t t
50051 s,@DEFS@,$DEFS,;t t
50052 s,@ECHO_C@,$ECHO_C,;t t
50053 s,@ECHO_N@,$ECHO_N,;t t
50054 s,@ECHO_T@,$ECHO_T,;t t
50055 s,@LIBS@,$LIBS,;t t
50056 s,@build@,$build,;t t
50057 s,@build_cpu@,$build_cpu,;t t
50058 s,@build_vendor@,$build_vendor,;t t
50059 s,@build_os@,$build_os,;t t
50060 s,@host@,$host,;t t
50061 s,@host_cpu@,$host_cpu,;t t
50062 s,@host_vendor@,$host_vendor,;t t
50063 s,@host_os@,$host_os,;t t
50064 s,@target@,$target,;t t
50065 s,@target_cpu@,$target_cpu,;t t
50066 s,@target_vendor@,$target_vendor,;t t
50067 s,@target_os@,$target_os,;t t
50068 s,@wx_top_builddir@,$wx_top_builddir,;t t
50069 s,@CC@,$CC,;t t
50070 s,@CFLAGS@,$CFLAGS,;t t
50071 s,@LDFLAGS@,$LDFLAGS,;t t
50072 s,@CPPFLAGS@,$CPPFLAGS,;t t
50073 s,@ac_ct_CC@,$ac_ct_CC,;t t
50074 s,@EXEEXT@,$EXEEXT,;t t
50075 s,@OBJEXT@,$OBJEXT,;t t
50076 s,@CPP@,$CPP,;t t
50077 s,@EGREP@,$EGREP,;t t
50078 s,@CXX@,$CXX,;t t
50079 s,@CXXFLAGS@,$CXXFLAGS,;t t
50080 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50081 s,@RANLIB@,$RANLIB,;t t
50082 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50083 s,@AR@,$AR,;t t
50084 s,@ac_ct_AR@,$ac_ct_AR,;t t
50085 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50086 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50087 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50088 s,@STRIP@,$STRIP,;t t
50089 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50090 s,@WINDRES@,$WINDRES,;t t
50091 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50092 s,@DLLTOOL@,$DLLTOOL,;t t
50093 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50094 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50095 s,@LN_S@,$LN_S,;t t
50096 s,@subdirs@,$subdirs,;t t
50097 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50098 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50099 s,@GTK_LIBS@,$GTK_LIBS,;t t
50100 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50101 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50102 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50103 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50104 s,@X_CFLAGS@,$X_CFLAGS,;t t
50105 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50106 s,@X_LIBS@,$X_LIBS,;t t
50107 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50108 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50109 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50110 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50111 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50112 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50113 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50114 s,@CFLAGS_VISIBILITY@,$CFLAGS_VISIBILITY,;t t
50115 s,@CXXFLAGS_VISIBILITY@,$CXXFLAGS_VISIBILITY,;t t
50116 s,@REZ@,$REZ,;t t
50117 s,@DEREZ@,$DEREZ,;t t
50118 s,@SETFILE@,$SETFILE,;t t
50119 s,@LIBICONV@,$LIBICONV,;t t
50120 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50121 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50122 s,@SDL_LIBS@,$SDL_LIBS,;t t
50123 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50124 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50125 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50126 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50127 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50128 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50129 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
50130 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
50131 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50132 s,@GST_LIBS@,$GST_LIBS,;t t
50133 s,@ALL_WX_LIBS@,$ALL_WX_LIBS,;t t
50134 s,@BUILT_WX_LIBS@,$BUILT_WX_LIBS,;t t
50135 s,@STD_BASE_LIBS@,$STD_BASE_LIBS,;t t
50136 s,@STD_GUI_LIBS@,$STD_GUI_LIBS,;t t
50137 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50138 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50139 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50140 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50141 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50142 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50143 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50144 s,@VENDOR@,$VENDOR,;t t
50145 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50146 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50147 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50148 s,@WXUNIV@,$WXUNIV,;t t
50149 s,@MONOLITHIC@,$MONOLITHIC,;t t
50150 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50151 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
50152 s,@EXTRALIBS@,$EXTRALIBS,;t t
50153 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50154 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50155 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50156 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50157 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50158 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50159 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50160 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50161 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50162 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50163 s,@UNICODE@,$UNICODE,;t t
50164 s,@BUILD@,$BUILD,;t t
50165 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50166 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50167 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50168 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50169 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50170 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50171 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50172 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50173 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50174 s,@SET_MAKE@,$SET_MAKE,;t t
50175 s,@MAKE_SET@,$MAKE_SET,;t t
50176 s,@AROPTIONS@,$AROPTIONS,;t t
50177 s,@NM@,$NM,;t t
50178 s,@ac_ct_NM@,$ac_ct_NM,;t t
50179 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50180 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50181 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50182 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50183 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50184 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50185 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50186 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50187 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50188 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50189 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50190 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50191 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50192 s,@LIBPREFIX@,$LIBPREFIX,;t t
50193 s,@LIBEXT@,$LIBEXT,;t t
50194 s,@DLLPREFIX@,$DLLPREFIX,;t t
50195 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50196 s,@dlldir@,$dlldir,;t t
50197 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50198 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50199 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50200 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50201 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50202 s,@PIC_FLAG@,$PIC_FLAG,;t t
50203 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50204 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50205 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50206 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50207 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50208 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50209 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50210 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50211 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50212 s,@BK_DEPS@,$BK_DEPS,;t t
50213 s,@GCC_PCH@,$GCC_PCH,;t t
50214 s,@ICC_PCH@,$ICC_PCH,;t t
50215 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
50216 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50217 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50218 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50219 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50220 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50221 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50222 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50223 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50224 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50225 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50226 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50227 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50228 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50229 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50230 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50231 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50232 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50233 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50234 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50235 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50236 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
50237 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
50238 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
50239 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
50240 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50241 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50242 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
50243 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50244 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50245 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50246 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50247 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
50248 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
50249 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
50250 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
50251 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50252 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50253 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
50254 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50255 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
50256 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
50257 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
50258 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
50259 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
50260 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50261 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50262 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
50263 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
50264 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
50265 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
50266 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50267 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50268 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50269 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50270 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50271 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50272 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50273 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50274 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50275 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50276 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50277 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50278 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50279 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50280 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50281 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50282 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50283 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50284 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50285 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50286 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50287 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50288 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50289 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50290 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
50291 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
50292 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50293 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50294 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50295 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50296 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50297 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50298 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50299 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50300 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50301 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50302 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50303 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50304 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
50305 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50306 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50307 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50308 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50309 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50310 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50311 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50312 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50313 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50314 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50315 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50316 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50317 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50318 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50319 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50320 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50321 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50322 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50323 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
50324 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50325 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50326 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50327 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50328 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50329 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50330 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50331 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50332 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50333 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50334 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50335 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50336 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50337 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50338 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50339 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50340 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50341 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50342 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50343 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50344 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50345 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50346 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50347 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50348 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50349 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50350 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50351 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50352 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50353 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
50354 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50355 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50356 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50357 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50358 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50359 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50360 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50361 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50362 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50363 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50364 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50365 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50366 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50367 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50368 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50369 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50370 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
50371 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50372 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50373 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50374 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50375 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50376 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50377 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50378 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50379 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50380 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50381 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50382 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50383 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50384 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50385 s,@SHARED@,$SHARED,;t t
50386 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50387 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50388 s,@USE_GUI@,$USE_GUI,;t t
50389 s,@AFMINSTALL@,$AFMINSTALL,;t t
50390 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50391 s,@TOOLKIT@,$TOOLKIT,;t t
50392 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50393 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50394 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50395 s,@cross_compiling@,$cross_compiling,;t t
50396 s,@WIDGET_SET@,$WIDGET_SET,;t t
50397 s,@WX_RELEASE@,$WX_RELEASE,;t t
50398 s,@WX_VERSION@,$WX_VERSION,;t t
50399 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50400 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50401 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50402 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50403 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50404 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50405 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50406 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50407 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50408 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50409 s,@EXE_LINKER@,$EXE_LINKER,;t t
50410 s,@GUIDIST@,$GUIDIST,;t t
50411 s,@DISTDIR@,$DISTDIR,;t t
50412 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50413 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50414 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50415 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50416 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50417 s,@RESCOMP@,$RESCOMP,;t t
50418 s,@RESFLAGS@,$RESFLAGS,;t t
50419 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50420 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50421 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50422 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50423 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50424 s,@MACSETFILE@,$MACSETFILE,;t t
50425 s,@GCC@,$GCC,;t t
50426 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50427 s,@LIBOBJS@,$LIBOBJS,;t t
50428 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50429 CEOF
50430
50431 _ACEOF
50432
50433 cat >>$CONFIG_STATUS <<\_ACEOF
50434 # Split the substitutions into bite-sized pieces for seds with
50435 # small command number limits, like on Digital OSF/1 and HP-UX.
50436 ac_max_sed_lines=48
50437 ac_sed_frag=1 # Number of current file.
50438 ac_beg=1 # First line for current file.
50439 ac_end=$ac_max_sed_lines # Line after last line for current file.
50440 ac_more_lines=:
50441 ac_sed_cmds=
50442 while $ac_more_lines; do
50443 if test $ac_beg -gt 1; then
50444 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50445 else
50446 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50447 fi
50448 if test ! -s $tmp/subs.frag; then
50449 ac_more_lines=false
50450 else
50451 # The purpose of the label and of the branching condition is to
50452 # speed up the sed processing (if there are no `@' at all, there
50453 # is no need to browse any of the substitutions).
50454 # These are the two extra sed commands mentioned above.
50455 (echo ':t
50456 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
50457 if test -z "$ac_sed_cmds"; then
50458 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
50459 else
50460 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50461 fi
50462 ac_sed_frag=`expr $ac_sed_frag + 1`
50463 ac_beg=$ac_end
50464 ac_end=`expr $ac_end + $ac_max_sed_lines`
50465 fi
50466 done
50467 if test -z "$ac_sed_cmds"; then
50468 ac_sed_cmds=cat
50469 fi
50470 fi # test -n "$CONFIG_FILES"
50471
50472 _ACEOF
50473 cat >>$CONFIG_STATUS <<\_ACEOF
50474 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
50475 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50476 case $ac_file in
50477 - | *:- | *:-:* ) # input from stdin
50478 cat >$tmp/stdin
50479 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50480 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50481 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50482 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50483 * ) ac_file_in=$ac_file.in ;;
50484 esac
50485
50486 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50487 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50488 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50489 X"$ac_file" : 'X\(//\)[^/]' \| \
50490 X"$ac_file" : 'X\(//\)$' \| \
50491 X"$ac_file" : 'X\(/\)' \| \
50492 . : '\(.\)' 2>/dev/null ||
50493 echo X"$ac_file" |
50494 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50495 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50496 /^X\(\/\/\)$/{ s//\1/; q; }
50497 /^X\(\/\).*/{ s//\1/; q; }
50498 s/.*/./; q'`
50499 { if $as_mkdir_p; then
50500 mkdir -p "$ac_dir"
50501 else
50502 as_dir="$ac_dir"
50503 as_dirs=
50504 while test ! -d "$as_dir"; do
50505 as_dirs="$as_dir $as_dirs"
50506 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50507 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50508 X"$as_dir" : 'X\(//\)[^/]' \| \
50509 X"$as_dir" : 'X\(//\)$' \| \
50510 X"$as_dir" : 'X\(/\)' \| \
50511 . : '\(.\)' 2>/dev/null ||
50512 echo X"$as_dir" |
50513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50514 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50515 /^X\(\/\/\)$/{ s//\1/; q; }
50516 /^X\(\/\).*/{ s//\1/; q; }
50517 s/.*/./; q'`
50518 done
50519 test ! -n "$as_dirs" || mkdir $as_dirs
50520 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50521 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50522 { (exit 1); exit 1; }; }; }
50523
50524 ac_builddir=.
50525
50526 if test "$ac_dir" != .; then
50527 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50528 # A "../" for each directory in $ac_dir_suffix.
50529 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50530 else
50531 ac_dir_suffix= ac_top_builddir=
50532 fi
50533
50534 case $srcdir in
50535 .) # No --srcdir option. We are building in place.
50536 ac_srcdir=.
50537 if test -z "$ac_top_builddir"; then
50538 ac_top_srcdir=.
50539 else
50540 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50541 fi ;;
50542 [\\/]* | ?:[\\/]* ) # Absolute path.
50543 ac_srcdir=$srcdir$ac_dir_suffix;
50544 ac_top_srcdir=$srcdir ;;
50545 *) # Relative path.
50546 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50547 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50548 esac
50549
50550 # Do not use `cd foo && pwd` to compute absolute paths, because
50551 # the directories may not exist.
50552 case `pwd` in
50553 .) ac_abs_builddir="$ac_dir";;
50554 *)
50555 case "$ac_dir" in
50556 .) ac_abs_builddir=`pwd`;;
50557 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50558 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50559 esac;;
50560 esac
50561 case $ac_abs_builddir in
50562 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50563 *)
50564 case ${ac_top_builddir}. in
50565 .) ac_abs_top_builddir=$ac_abs_builddir;;
50566 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50567 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50568 esac;;
50569 esac
50570 case $ac_abs_builddir in
50571 .) ac_abs_srcdir=$ac_srcdir;;
50572 *)
50573 case $ac_srcdir in
50574 .) ac_abs_srcdir=$ac_abs_builddir;;
50575 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50576 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50577 esac;;
50578 esac
50579 case $ac_abs_builddir in
50580 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50581 *)
50582 case $ac_top_srcdir in
50583 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50584 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50585 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50586 esac;;
50587 esac
50588
50589
50590 case $INSTALL in
50591 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50592 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
50593 esac
50594
50595 # Let's still pretend it is `configure' which instantiates (i.e., don't
50596 # use $as_me), people would be surprised to read:
50597 # /* config.h. Generated by config.status. */
50598 if test x"$ac_file" = x-; then
50599 configure_input=
50600 else
50601 configure_input="$ac_file. "
50602 fi
50603 configure_input=$configure_input"Generated from `echo $ac_file_in |
50604 sed 's,.*/,,'` by configure."
50605
50606 # First look for the input files in the build tree, otherwise in the
50607 # src tree.
50608 ac_file_inputs=`IFS=:
50609 for f in $ac_file_in; do
50610 case $f in
50611 -) echo $tmp/stdin ;;
50612 [\\/$]*)
50613 # Absolute (can't be DOS-style, as IFS=:)
50614 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50615 echo "$as_me: error: cannot find input file: $f" >&2;}
50616 { (exit 1); exit 1; }; }
50617 echo "$f";;
50618 *) # Relative
50619 if test -f "$f"; then
50620 # Build tree
50621 echo "$f"
50622 elif test -f "$srcdir/$f"; then
50623 # Source tree
50624 echo "$srcdir/$f"
50625 else
50626 # /dev/null tree
50627 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50628 echo "$as_me: error: cannot find input file: $f" >&2;}
50629 { (exit 1); exit 1; }; }
50630 fi;;
50631 esac
50632 done` || { (exit 1); exit 1; }
50633
50634 if test x"$ac_file" != x-; then
50635 { echo "$as_me:$LINENO: creating $ac_file" >&5
50636 echo "$as_me: creating $ac_file" >&6;}
50637 rm -f "$ac_file"
50638 fi
50639 _ACEOF
50640 cat >>$CONFIG_STATUS <<_ACEOF
50641 sed "$ac_vpsub
50642 $extrasub
50643 _ACEOF
50644 cat >>$CONFIG_STATUS <<\_ACEOF
50645 :t
50646 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50647 s,@configure_input@,$configure_input,;t t
50648 s,@srcdir@,$ac_srcdir,;t t
50649 s,@abs_srcdir@,$ac_abs_srcdir,;t t
50650 s,@top_srcdir@,$ac_top_srcdir,;t t
50651 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
50652 s,@builddir@,$ac_builddir,;t t
50653 s,@abs_builddir@,$ac_abs_builddir,;t t
50654 s,@top_builddir@,$ac_top_builddir,;t t
50655 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
50656 s,@INSTALL@,$ac_INSTALL,;t t
50657 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50658 rm -f $tmp/stdin
50659 if test x"$ac_file" != x-; then
50660 mv $tmp/out $ac_file
50661 else
50662 cat $tmp/out
50663 rm -f $tmp/out
50664 fi
50665
50666 # Run the commands associated with the file.
50667 case $ac_file in
50668 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50669 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50670 esac
50671 done
50672 _ACEOF
50673 cat >>$CONFIG_STATUS <<\_ACEOF
50674
50675 #
50676 # CONFIG_HEADER section.
50677 #
50678
50679 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
50680 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50681 #
50682 # ac_d sets the value in "#define NAME VALUE" lines.
50683 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50684 ac_dB='[ ].*$,\1#\2'
50685 ac_dC=' '
50686 ac_dD=',;t'
50687 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50688 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50689 ac_uB='$,\1#\2define\3'
50690 ac_uC=' '
50691 ac_uD=',;t'
50692
50693 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
50694 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50695 case $ac_file in
50696 - | *:- | *:-:* ) # input from stdin
50697 cat >$tmp/stdin
50698 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50699 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50700 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50701 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50702 * ) ac_file_in=$ac_file.in ;;
50703 esac
50704
50705 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50706 echo "$as_me: creating $ac_file" >&6;}
50707
50708 # First look for the input files in the build tree, otherwise in the
50709 # src tree.
50710 ac_file_inputs=`IFS=:
50711 for f in $ac_file_in; do
50712 case $f in
50713 -) echo $tmp/stdin ;;
50714 [\\/$]*)
50715 # Absolute (can't be DOS-style, as IFS=:)
50716 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50717 echo "$as_me: error: cannot find input file: $f" >&2;}
50718 { (exit 1); exit 1; }; }
50719 # Do quote $f, to prevent DOS paths from being IFS'd.
50720 echo "$f";;
50721 *) # Relative
50722 if test -f "$f"; then
50723 # Build tree
50724 echo "$f"
50725 elif test -f "$srcdir/$f"; then
50726 # Source tree
50727 echo "$srcdir/$f"
50728 else
50729 # /dev/null tree
50730 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50731 echo "$as_me: error: cannot find input file: $f" >&2;}
50732 { (exit 1); exit 1; }; }
50733 fi;;
50734 esac
50735 done` || { (exit 1); exit 1; }
50736 # Remove the trailing spaces.
50737 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50738
50739 _ACEOF
50740
50741 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50742 # `conftest.undefs', that substitutes the proper values into
50743 # config.h.in to produce config.h. The first handles `#define'
50744 # templates, and the second `#undef' templates.
50745 # And first: Protect against being on the right side of a sed subst in
50746 # config.status. Protect against being in an unquoted here document
50747 # in config.status.
50748 rm -f conftest.defines conftest.undefs
50749 # Using a here document instead of a string reduces the quoting nightmare.
50750 # Putting comments in sed scripts is not portable.
50751 #
50752 # `end' is used to avoid that the second main sed command (meant for
50753 # 0-ary CPP macros) applies to n-ary macro definitions.
50754 # See the Autoconf documentation for `clear'.
50755 cat >confdef2sed.sed <<\_ACEOF
50756 s/[\\&,]/\\&/g
50757 s,[\\$`],\\&,g
50758 t clear
50759 : clear
50760 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50761 t end
50762 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50763 : end
50764 _ACEOF
50765 # If some macros were called several times there might be several times
50766 # the same #defines, which is useless. Nevertheless, we may not want to
50767 # sort them, since we want the *last* AC-DEFINE to be honored.
50768 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50769 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50770 rm -f confdef2sed.sed
50771
50772 # This sed command replaces #undef with comments. This is necessary, for
50773 # example, in the case of _POSIX_SOURCE, which is predefined and required
50774 # on some systems where configure will not decide to define it.
50775 cat >>conftest.undefs <<\_ACEOF
50776 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50777 _ACEOF
50778
50779 # Break up conftest.defines because some shells have a limit on the size
50780 # of here documents, and old seds have small limits too (100 cmds).
50781 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50782 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50783 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50784 echo ' :' >>$CONFIG_STATUS
50785 rm -f conftest.tail
50786 while grep . conftest.defines >/dev/null
50787 do
50788 # Write a limited-size here document to $tmp/defines.sed.
50789 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50790 # Speed up: don't consider the non `#define' lines.
50791 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50792 # Work around the forget-to-reset-the-flag bug.
50793 echo 't clr' >>$CONFIG_STATUS
50794 echo ': clr' >>$CONFIG_STATUS
50795 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
50796 echo 'CEOF
50797 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50798 rm -f $tmp/in
50799 mv $tmp/out $tmp/in
50800 ' >>$CONFIG_STATUS
50801 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
50802 rm -f conftest.defines
50803 mv conftest.tail conftest.defines
50804 done
50805 rm -f conftest.defines
50806 echo ' fi # grep' >>$CONFIG_STATUS
50807 echo >>$CONFIG_STATUS
50808
50809 # Break up conftest.undefs because some shells have a limit on the size
50810 # of here documents, and old seds have small limits too (100 cmds).
50811 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50812 rm -f conftest.tail
50813 while grep . conftest.undefs >/dev/null
50814 do
50815 # Write a limited-size here document to $tmp/undefs.sed.
50816 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50817 # Speed up: don't consider the non `#undef'
50818 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50819 # Work around the forget-to-reset-the-flag bug.
50820 echo 't clr' >>$CONFIG_STATUS
50821 echo ': clr' >>$CONFIG_STATUS
50822 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50823 echo 'CEOF
50824 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50825 rm -f $tmp/in
50826 mv $tmp/out $tmp/in
50827 ' >>$CONFIG_STATUS
50828 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50829 rm -f conftest.undefs
50830 mv conftest.tail conftest.undefs
50831 done
50832 rm -f conftest.undefs
50833
50834 cat >>$CONFIG_STATUS <<\_ACEOF
50835 # Let's still pretend it is `configure' which instantiates (i.e., don't
50836 # use $as_me), people would be surprised to read:
50837 # /* config.h. Generated by config.status. */
50838 if test x"$ac_file" = x-; then
50839 echo "/* Generated by configure. */" >$tmp/config.h
50840 else
50841 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50842 fi
50843 cat $tmp/in >>$tmp/config.h
50844 rm -f $tmp/in
50845 if test x"$ac_file" != x-; then
50846 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
50847 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50848 echo "$as_me: $ac_file is unchanged" >&6;}
50849 else
50850 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50851 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50852 X"$ac_file" : 'X\(//\)[^/]' \| \
50853 X"$ac_file" : 'X\(//\)$' \| \
50854 X"$ac_file" : 'X\(/\)' \| \
50855 . : '\(.\)' 2>/dev/null ||
50856 echo X"$ac_file" |
50857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50858 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50859 /^X\(\/\/\)$/{ s//\1/; q; }
50860 /^X\(\/\).*/{ s//\1/; q; }
50861 s/.*/./; q'`
50862 { if $as_mkdir_p; then
50863 mkdir -p "$ac_dir"
50864 else
50865 as_dir="$ac_dir"
50866 as_dirs=
50867 while test ! -d "$as_dir"; do
50868 as_dirs="$as_dir $as_dirs"
50869 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50870 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50871 X"$as_dir" : 'X\(//\)[^/]' \| \
50872 X"$as_dir" : 'X\(//\)$' \| \
50873 X"$as_dir" : 'X\(/\)' \| \
50874 . : '\(.\)' 2>/dev/null ||
50875 echo X"$as_dir" |
50876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50877 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50878 /^X\(\/\/\)$/{ s//\1/; q; }
50879 /^X\(\/\).*/{ s//\1/; q; }
50880 s/.*/./; q'`
50881 done
50882 test ! -n "$as_dirs" || mkdir $as_dirs
50883 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50884 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50885 { (exit 1); exit 1; }; }; }
50886
50887 rm -f $ac_file
50888 mv $tmp/config.h $ac_file
50889 fi
50890 else
50891 cat $tmp/config.h
50892 rm -f $tmp/config.h
50893 fi
50894 done
50895 _ACEOF
50896 cat >>$CONFIG_STATUS <<\_ACEOF
50897
50898 #
50899 # CONFIG_COMMANDS section.
50900 #
50901 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
50902 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
50903 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
50904 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
50905 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50906 X"$ac_dest" : 'X\(//\)[^/]' \| \
50907 X"$ac_dest" : 'X\(//\)$' \| \
50908 X"$ac_dest" : 'X\(/\)' \| \
50909 . : '\(.\)' 2>/dev/null ||
50910 echo X"$ac_dest" |
50911 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50912 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50913 /^X\(\/\/\)$/{ s//\1/; q; }
50914 /^X\(\/\).*/{ s//\1/; q; }
50915 s/.*/./; q'`
50916 { if $as_mkdir_p; then
50917 mkdir -p "$ac_dir"
50918 else
50919 as_dir="$ac_dir"
50920 as_dirs=
50921 while test ! -d "$as_dir"; do
50922 as_dirs="$as_dir $as_dirs"
50923 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50924 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50925 X"$as_dir" : 'X\(//\)[^/]' \| \
50926 X"$as_dir" : 'X\(//\)$' \| \
50927 X"$as_dir" : 'X\(/\)' \| \
50928 . : '\(.\)' 2>/dev/null ||
50929 echo X"$as_dir" |
50930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50931 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50932 /^X\(\/\/\)$/{ s//\1/; q; }
50933 /^X\(\/\).*/{ s//\1/; q; }
50934 s/.*/./; q'`
50935 done
50936 test ! -n "$as_dirs" || mkdir $as_dirs
50937 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50938 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50939 { (exit 1); exit 1; }; }; }
50940
50941 ac_builddir=.
50942
50943 if test "$ac_dir" != .; then
50944 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50945 # A "../" for each directory in $ac_dir_suffix.
50946 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50947 else
50948 ac_dir_suffix= ac_top_builddir=
50949 fi
50950
50951 case $srcdir in
50952 .) # No --srcdir option. We are building in place.
50953 ac_srcdir=.
50954 if test -z "$ac_top_builddir"; then
50955 ac_top_srcdir=.
50956 else
50957 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50958 fi ;;
50959 [\\/]* | ?:[\\/]* ) # Absolute path.
50960 ac_srcdir=$srcdir$ac_dir_suffix;
50961 ac_top_srcdir=$srcdir ;;
50962 *) # Relative path.
50963 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50964 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50965 esac
50966
50967 # Do not use `cd foo && pwd` to compute absolute paths, because
50968 # the directories may not exist.
50969 case `pwd` in
50970 .) ac_abs_builddir="$ac_dir";;
50971 *)
50972 case "$ac_dir" in
50973 .) ac_abs_builddir=`pwd`;;
50974 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50975 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50976 esac;;
50977 esac
50978 case $ac_abs_builddir in
50979 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50980 *)
50981 case ${ac_top_builddir}. in
50982 .) ac_abs_top_builddir=$ac_abs_builddir;;
50983 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50984 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50985 esac;;
50986 esac
50987 case $ac_abs_builddir in
50988 .) ac_abs_srcdir=$ac_srcdir;;
50989 *)
50990 case $ac_srcdir in
50991 .) ac_abs_srcdir=$ac_abs_builddir;;
50992 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50993 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50994 esac;;
50995 esac
50996 case $ac_abs_builddir in
50997 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50998 *)
50999 case $ac_top_srcdir in
51000 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51001 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51002 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51003 esac;;
51004 esac
51005
51006
51007 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51008 echo "$as_me: executing $ac_dest commands" >&6;}
51009 case $ac_dest in
51010 rcdefs.h )
51011 mkdir -p $outdir &&
51012 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51013 ;;
51014 wx-config ) rm -f wx-config
51015 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51016 ;;
51017 esac
51018 done
51019 _ACEOF
51020
51021 cat >>$CONFIG_STATUS <<\_ACEOF
51022
51023 { (exit 0); exit 0; }
51024 _ACEOF
51025 chmod +x $CONFIG_STATUS
51026 ac_clean_files=$ac_clean_files_save
51027
51028
51029 # configure is writing to config.log, and then calls config.status.
51030 # config.status does its own redirection, appending to config.log.
51031 # Unfortunately, on DOS this fails, as config.log is still kept open
51032 # by configure, so config.status won't be able to write to it; its
51033 # output is simply discarded. So we exec the FD to /dev/null,
51034 # effectively closing config.log, so it can be properly (re)opened and
51035 # appended to by config.status. When coming back to configure, we
51036 # need to make the FD available again.
51037 if test "$no_create" != yes; then
51038 ac_cs_success=:
51039 ac_config_status_args=
51040 test "$silent" = yes &&
51041 ac_config_status_args="$ac_config_status_args --quiet"
51042 exec 5>/dev/null
51043 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51044 exec 5>>config.log
51045 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51046 # would make configure fail if this is the last instruction.
51047 $ac_cs_success || { (exit 1); exit 1; }
51048 fi
51049
51050 #
51051 # CONFIG_SUBDIRS section.
51052 #
51053 if test "$no_recursion" != yes; then
51054
51055 # Remove --cache-file and --srcdir arguments so they do not pile up.
51056 ac_sub_configure_args=
51057 ac_prev=
51058 for ac_arg in $ac_configure_args; do
51059 if test -n "$ac_prev"; then
51060 ac_prev=
51061 continue
51062 fi
51063 case $ac_arg in
51064 -cache-file | --cache-file | --cache-fil | --cache-fi \
51065 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51066 ac_prev=cache_file ;;
51067 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51068 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51069 | --c=*)
51070 ;;
51071 --config-cache | -C)
51072 ;;
51073 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51074 ac_prev=srcdir ;;
51075 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51076 ;;
51077 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51078 ac_prev=prefix ;;
51079 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51080 ;;
51081 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51082 esac
51083 done
51084
51085 # Always prepend --prefix to ensure using the same prefix
51086 # in subdir configurations.
51087 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51088
51089 ac_popdir=`pwd`
51090 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51091
51092 # Do not complain, so a configure script can configure whichever
51093 # parts of a large source tree are present.
51094 test -d $srcdir/$ac_dir || continue
51095
51096 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51097 echo "$as_me: configuring in $ac_dir" >&6;}
51098 { if $as_mkdir_p; then
51099 mkdir -p "$ac_dir"
51100 else
51101 as_dir="$ac_dir"
51102 as_dirs=
51103 while test ! -d "$as_dir"; do
51104 as_dirs="$as_dir $as_dirs"
51105 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51106 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51107 X"$as_dir" : 'X\(//\)[^/]' \| \
51108 X"$as_dir" : 'X\(//\)$' \| \
51109 X"$as_dir" : 'X\(/\)' \| \
51110 . : '\(.\)' 2>/dev/null ||
51111 echo X"$as_dir" |
51112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51114 /^X\(\/\/\)$/{ s//\1/; q; }
51115 /^X\(\/\).*/{ s//\1/; q; }
51116 s/.*/./; q'`
51117 done
51118 test ! -n "$as_dirs" || mkdir $as_dirs
51119 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51120 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51121 { (exit 1); exit 1; }; }; }
51122
51123 ac_builddir=.
51124
51125 if test "$ac_dir" != .; then
51126 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51127 # A "../" for each directory in $ac_dir_suffix.
51128 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51129 else
51130 ac_dir_suffix= ac_top_builddir=
51131 fi
51132
51133 case $srcdir in
51134 .) # No --srcdir option. We are building in place.
51135 ac_srcdir=.
51136 if test -z "$ac_top_builddir"; then
51137 ac_top_srcdir=.
51138 else
51139 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51140 fi ;;
51141 [\\/]* | ?:[\\/]* ) # Absolute path.
51142 ac_srcdir=$srcdir$ac_dir_suffix;
51143 ac_top_srcdir=$srcdir ;;
51144 *) # Relative path.
51145 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51146 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51147 esac
51148
51149 # Do not use `cd foo && pwd` to compute absolute paths, because
51150 # the directories may not exist.
51151 case `pwd` in
51152 .) ac_abs_builddir="$ac_dir";;
51153 *)
51154 case "$ac_dir" in
51155 .) ac_abs_builddir=`pwd`;;
51156 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51157 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51158 esac;;
51159 esac
51160 case $ac_abs_builddir in
51161 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51162 *)
51163 case ${ac_top_builddir}. in
51164 .) ac_abs_top_builddir=$ac_abs_builddir;;
51165 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51166 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51167 esac;;
51168 esac
51169 case $ac_abs_builddir in
51170 .) ac_abs_srcdir=$ac_srcdir;;
51171 *)
51172 case $ac_srcdir in
51173 .) ac_abs_srcdir=$ac_abs_builddir;;
51174 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51175 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51176 esac;;
51177 esac
51178 case $ac_abs_builddir in
51179 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51180 *)
51181 case $ac_top_srcdir in
51182 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51183 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51184 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51185 esac;;
51186 esac
51187
51188
51189 cd $ac_dir
51190
51191 # Check for guested configure; otherwise get Cygnus style configure.
51192 if test -f $ac_srcdir/configure.gnu; then
51193 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51194 elif test -f $ac_srcdir/configure; then
51195 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51196 elif test -f $ac_srcdir/configure.in; then
51197 ac_sub_configure=$ac_configure
51198 else
51199 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51200 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51201 ac_sub_configure=
51202 fi
51203
51204 # The recursion is here.
51205 if test -n "$ac_sub_configure"; then
51206 # Make the cache file name correct relative to the subdirectory.
51207 case $cache_file in
51208 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51209 *) # Relative path.
51210 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
51211 esac
51212
51213 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51214 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51215 # The eval makes quoting arguments work.
51216 eval $ac_sub_configure $ac_sub_configure_args \
51217 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51218 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51219 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51220 { (exit 1); exit 1; }; }
51221 fi
51222
51223 cd "$ac_popdir"
51224 done
51225 fi
51226
51227
51228 echo
51229 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51230 echo ""
51231 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51232 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51233
51234 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51235 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51236 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51237 if test "$wxUSE_UNICODE" = "yes"; then
51238 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51239 echo " (using UTF-8)"
51240 else
51241 echo " (using wchar_t)"
51242 fi
51243 else
51244 echo
51245 fi
51246
51247 echo " What level of wxWidgets compatibility should be enabled?"
51248 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51249 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51250
51251 echo " Which libraries should wxWidgets use?"
51252 echo " jpeg ${wxUSE_LIBJPEG-none}"
51253 echo " png ${wxUSE_LIBPNG-none}"
51254 echo " regex ${wxUSE_REGEX}"
51255 echo " tiff ${wxUSE_LIBTIFF-none}"
51256 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51257 echo " xpm ${wxUSE_LIBXPM-none}"
51258 fi
51259 echo " zlib ${wxUSE_ZLIB}"
51260 echo " odbc ${wxUSE_ODBC}"
51261 echo " expat ${wxUSE_EXPAT}"
51262 echo " libmspack ${wxUSE_LIBMSPACK}"
51263 echo " sdl ${wxUSE_LIBSDL}"
51264
51265 echo ""
51266