]> git.saurik.com Git - wxWidgets.git/blob - configure
Added wxBackingFile and wxBackedInputStream.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.1'
274 PACKAGE_STRING='wxWidgets 2.7.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.7.1:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
969 --enable-compat24 enable wxWidgets 2.4 compatibility
970 --disable-compat26 disable wxWidgets 2.6 compatibility
971 --disable-rpath disable use of rpath for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig (and derived) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP (requires wxProtocol
976 --enable-http use wxHTTP (requires wxProtocol
977 --enable-fileproto use wxFileProto class (requires wxProtocol
978 --enable-sockets use socket/network classes
979 --enable-ole use OLE classes (Win32 only)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication (wxSocket etc.)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backingfile use wxBackingFile
985 --enable-backtrace use wxStackWalker class for getting backtraces
986 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
987 --enable-cmdline use wxCmdLineParser class
988 --enable-datetime use wxDateTime class
989 --enable-debugreport use wxDebugReport class
990 --enable-dialupman use dialup network classes
991 --enable-dynlib use wxLibrary class for DLL loading
992 --enable-dynamicloader use (new) wxDynamicLibrary class
993 --enable-exceptions build exception-safe library
994 --enable-ffile use wxFFile class
995 --enable-file use wxFile class
996 --enable-filesystem use virtual file systems classes
997 --enable-fontmap use font encodings conversion classes
998 --enable-fs_inet use virtual HTTP/FTP filesystems
999 --enable-fs_zip use virtual ZIP filesystems
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-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C++ stream classes
1007 --enable-std_string use standard C++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-textbuf use wxTextBuffer class
1013 --enable-textfile use wxTextFile class
1014 --enable-timer use wxTimer class
1015 --enable-unicode compile wxString with Unicode support
1016 --enable-sound use wxSound class
1017 --enable-mediactrl use wxMediaCtrl class
1018 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1019 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1020 --enable-zipstream use wxZip streams
1021 --enable-url use wxURL class
1022 --enable-variant use wxVariant class
1023 --enable-protocol use wxProtocol class
1024 --enable-protocol-http HTTP support in wxProtocol
1025 --enable-protocol-ftp FTP support in wxProtocol
1026 --enable-protocol-file FILE support in wxProtocol
1027 --enable-threads use threads
1028 --enable-docview use document view architecture
1029 --enable-help use help subsystem
1030 --enable-mshtmlhelp use MS HTML Help (win32)
1031 --enable-html use wxHTML sub-library
1032 --enable-htmlhelp use wxHTML-based help
1033 --enable-xrc use XRC resources sub-library
1034 --enable-aui use AUI docking library
1035 --enable-constraints use layout-constraints system
1036 --enable-printarch use printing architecture
1037 --enable-mdi use multiple document interface architecture
1038 --enable-mdidoc use docview architecture with MDI
1039 --enable-loggui use standard GUI logger
1040 --enable-logwin use wxLogWindow
1041 --enable-logdialog use wxLogDialog
1042 --enable-webkit use wxWebKitCtrl (Mac)
1043 --enable-richtext use wxRichTextCtrl
1044 --enable-graphics_ctx use graphics context 2D drawing API
1045 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1046 --enable-prologio not available; see contrib
1047 --enable-resources not available; see contrib
1048 --enable-clipboard use wxClipboard class
1049 --enable-dnd use Drag'n'Drop classes
1050 --enable-metafile use win32 metafiles
1051 --enable-controls use all usual controls
1052 --enable-accel use accelerators
1053 --enable-animatectrl use wxAnimationCtrl class
1054 --enable-button use wxButton class
1055 --enable-bmpbutton use wxBitmapButton class
1056 --enable-bmpcombobox use wxBitmapComboBox class
1057 --enable-calendar use wxCalendarCtrl class
1058 --enable-caret use wxCaret class
1059 --enable-checkbox use wxCheckBox class
1060 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1061 --enable-choice use wxChoice class
1062 --enable-choicebook use wxChoicebook class
1063 --enable-colourpicker use wxColourPickerCtrl class
1064 --enable-combobox use wxComboBox class
1065 --enable-comboctrl use wxComboCtrl class
1066 --enable-datepick use wxDatePickerCtrl class
1067 --enable-dirpicker use wxDirPickerCtrl class
1068 --enable-display use wxDisplay class
1069 --enable-detect_sm use code to detect X11 session manager
1070 --enable-filepicker use wxFilePickerCtrl class
1071 --enable-fontpicker use wxFontPickerCtrl class
1072 --enable-gauge use wxGauge class
1073 --enable-grid use wxGrid class
1074 --enable-dataviewctrl, use wxDataViewCtrl class
1075 --enable-hyperlink use wxHyperlinkCtrl class
1076 --enable-imaglist use wxImageList class
1077 --enable-listbook use wxListbook class
1078 --enable-listbox use wxListBox class
1079 --enable-listctrl use wxListCtrl class
1080 --enable-notebook use wxNotebook class
1081 --enable-odcombobox use wxOwnerDrawnComboBox class
1082 --enable-radiobox use wxRadioBox class
1083 --enable-radiobtn use wxRadioButton class
1084 --enable-sash use wxSashWindow class
1085 --enable-scrollbar use wxScrollBar class and scrollable windows
1086 --enable-slider use wxSlider class
1087 --enable-spinbtn use wxSpinButton class
1088 --enable-spinctrl use wxSpinCtrl class
1089 --enable-splitter use wxSplitterWindow class
1090 --enable-statbmp use wxStaticBitmap class
1091 --enable-statbox use wxStaticBox class
1092 --enable-statline use wxStaticLine class
1093 --enable-stattext use wxStaticText class
1094 --enable-statusbar use wxStatusBar class
1095 --enable-tabdialog use wxTabControl class
1096 --enable-textctrl use wxTextCtrl class
1097 --enable-togglebtn use wxToggleButton class
1098 --enable-toolbar use wxToolBar class
1099 --enable-tbarnative use native wxToolBar class
1100 --enable-treebook use wxTreebook class
1101 --enable-toolbook use wxToolbook class
1102 --enable-treectrl use wxTreeCtrl class
1103 --enable-tipwindow use wxTipWindow class
1104 --enable-popupwin use wxPopUpWindow class
1105 --enable-commondlg use all common dialogs
1106 --enable-aboutdlg use wxAboutBox
1107 --enable-choicedlg use wxChoiceDialog
1108 --enable-coldlg use wxColourDialog
1109 --enable-filedlg use wxFileDialog
1110 --enable-finddlg use wxFindReplaceDialog
1111 --enable-fontdlg use wxFontDialog
1112 --enable-dirdlg use wxDirDialog
1113 --enable-msgdlg use wxMessageDialog
1114 --enable-numberdlg use wxNumberEntryDialog
1115 --enable-splash use wxSplashScreen
1116 --enable-textdlg use wxTextDialog
1117 --enable-tipdlg use startup tips
1118 --enable-progressdlg use wxProgressDialog
1119 --enable-wizarddlg use wxWizard
1120 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1121 --enable-miniframe use wxMiniFrame class
1122 --enable-tooltips use wxToolTip class
1123 --enable-splines use spline drawing code
1124 --enable-mousewheel use mousewheel
1125 --enable-validators use wxValidator and derived classes
1126 --enable-busyinfo use wxBusyInfo
1127 --enable-joystick use wxJoystick
1128 --enable-metafiles use wxMetaFile (Win32 only)
1129 --enable-dragimage use wxDragImage
1130 --enable-accessibility enable accessibility support
1131 --enable-dccache cache temporary wxDC objects (Win32 only)
1132 --enable-palette use wxPalette class
1133 --enable-image use wxImage class
1134 --enable-gif use gif images (GIF file format)
1135 --enable-pcx use pcx images (PCX file format)
1136 --enable-iff use iff images (IFF file format)
1137 --enable-pnm use pnm images (PNM file format)
1138 --enable-xpm use xpm images (XPM file format)
1139 --enable-icocur use Windows ICO and CUR formats
1140 --enable-official_build official build of wxWidgets (win32 DLL only)
1141 --enable-vendor=VENDOR vendor name (win32 DLL only)
1142 --disable-largefile omit support for large files
1143 --disable-gtktest do not try to compile and run a test GTK+ program
1144 --disable-gtktest Do not try to compile and run a test GTK program
1145 --disable-sdltest Do not try to compile and run a test SDL program
1146 --enable-omf use OMF object format (OS/2)
1147 --disable-dependency-tracking
1148 don't use dependency tracking even if the compiler
1149 can
1150 --disable-precomp-headers
1151 don't use precompiled headers even if compiler can
1152
1153 Optional Packages:
1154 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1155 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1156 --without-subdirs don't generate makefiles for samples/demos/...
1157 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1158 --with-motif use Motif/Lesstif
1159 --with-mac use Mac OS X
1160 --with-cocoa use Cocoa
1161 --with-wine use Wine
1162 --with-msw use MS-Windows
1163 --with-pm use OS/2 Presentation Manager
1164 --with-mgl use SciTech MGL
1165 --with-directfb use DirectFB
1166 --with-microwin use MicroWindows
1167 --with-x11 use X11
1168 --with-libpng use libpng (PNG image format)
1169 --with-libjpeg use libjpeg (JPEG file format)
1170 --with-libtiff use libtiff (TIFF file format)
1171 --with-libxpm use libxpm (XPM file format)
1172 --with-libmspack use libmspack (CHM help files loading)
1173 --with-sdl use SDL for audio on Unix
1174 --with-gnomeprint use GNOME print for printing under GNOME
1175 --with-gnomevfs use GNOME VFS for associating MIME types
1176 --with-hildon use Hildon framework for Nokia 770
1177 --with-opengl use OpenGL (or Mesa)
1178 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1179 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1180 --with-regex enable support for wxRegEx class
1181 --with-zlib use zlib for LZW compression
1182 --with-odbc use the IODBC and wxODBC classes
1183 --with-expat enable XML support using expat parser
1184 --with-flavour=NAME specify a name to identify this build
1185 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1186 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1187 --with-x use the X Window System
1188 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1189 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1190 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1191 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1192 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1193
1194 Some influential environment variables:
1195 CC C compiler command
1196 CFLAGS C compiler flags
1197 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1198 nonstandard directory <lib dir>
1199 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1200 headers in a nonstandard directory <include dir>
1201 CPP C preprocessor
1202 CXX C++ compiler command
1203 CXXFLAGS C++ compiler flags
1204 CXXCPP C++ preprocessor
1205 PKG_CONFIG path to pkg-config utility
1206 DIRECTFB_CFLAGS
1207 C compiler flags for DIRECTFB, overriding pkg-config
1208 DIRECTFB_LIBS
1209 linker flags for DIRECTFB, overriding pkg-config
1210 PANGOX_CFLAGS
1211 C compiler flags for PANGOX, overriding pkg-config
1212 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1213 PANGOFT2_CFLAGS
1214 C compiler flags for PANGOFT2, overriding pkg-config
1215 PANGOFT2_LIBS
1216 linker flags for PANGOFT2, overriding pkg-config
1217 PANGOXFT_CFLAGS
1218 C compiler flags for PANGOXFT, overriding pkg-config
1219 PANGOXFT_LIBS
1220 linker flags for PANGOXFT, overriding pkg-config
1221 LIBGNOMEPRINTUI_CFLAGS
1222 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1223 LIBGNOMEPRINTUI_LIBS
1224 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1225 GNOMEVFS_CFLAGS
1226 C compiler flags for GNOMEVFS, overriding pkg-config
1227 GNOMEVFS_LIBS
1228 linker flags for GNOMEVFS, overriding pkg-config
1229 HILDON_CFLAGS
1230 C compiler flags for HILDON, overriding pkg-config
1231 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1232 CAIRO_CFLAGS
1233 C compiler flags for CAIRO, overriding pkg-config
1234 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1235 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1236 GST_LIBS linker flags for GST, overriding pkg-config
1237
1238 Use these variables to override the choices made by `configure' or to help
1239 it to find libraries and programs with nonstandard names/locations.
1240
1241 Report bugs to <wx-dev@lists.wxwidgets.org>.
1242 _ACEOF
1243 fi
1244
1245 if test "$ac_init_help" = "recursive"; then
1246 # If there are subdirs, report their specific --help.
1247 ac_popdir=`pwd`
1248 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1249 test -d $ac_dir || continue
1250 ac_builddir=.
1251
1252 if test "$ac_dir" != .; then
1253 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1254 # A "../" for each directory in $ac_dir_suffix.
1255 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1256 else
1257 ac_dir_suffix= ac_top_builddir=
1258 fi
1259
1260 case $srcdir in
1261 .) # No --srcdir option. We are building in place.
1262 ac_srcdir=.
1263 if test -z "$ac_top_builddir"; then
1264 ac_top_srcdir=.
1265 else
1266 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1267 fi ;;
1268 [\\/]* | ?:[\\/]* ) # Absolute path.
1269 ac_srcdir=$srcdir$ac_dir_suffix;
1270 ac_top_srcdir=$srcdir ;;
1271 *) # Relative path.
1272 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1273 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1274 esac
1275
1276 # Do not use `cd foo && pwd` to compute absolute paths, because
1277 # the directories may not exist.
1278 case `pwd` in
1279 .) ac_abs_builddir="$ac_dir";;
1280 *)
1281 case "$ac_dir" in
1282 .) ac_abs_builddir=`pwd`;;
1283 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1284 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1285 esac;;
1286 esac
1287 case $ac_abs_builddir in
1288 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1289 *)
1290 case ${ac_top_builddir}. in
1291 .) ac_abs_top_builddir=$ac_abs_builddir;;
1292 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1293 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1294 esac;;
1295 esac
1296 case $ac_abs_builddir in
1297 .) ac_abs_srcdir=$ac_srcdir;;
1298 *)
1299 case $ac_srcdir in
1300 .) ac_abs_srcdir=$ac_abs_builddir;;
1301 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1302 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1303 esac;;
1304 esac
1305 case $ac_abs_builddir in
1306 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1307 *)
1308 case $ac_top_srcdir in
1309 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1310 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1311 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1312 esac;;
1313 esac
1314
1315 cd $ac_dir
1316 # Check for guested configure; otherwise get Cygnus style configure.
1317 if test -f $ac_srcdir/configure.gnu; then
1318 echo
1319 $SHELL $ac_srcdir/configure.gnu --help=recursive
1320 elif test -f $ac_srcdir/configure; then
1321 echo
1322 $SHELL $ac_srcdir/configure --help=recursive
1323 elif test -f $ac_srcdir/configure.ac ||
1324 test -f $ac_srcdir/configure.in; then
1325 echo
1326 $ac_configure --help
1327 else
1328 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1329 fi
1330 cd "$ac_popdir"
1331 done
1332 fi
1333
1334 test -n "$ac_init_help" && exit 0
1335 if $ac_init_version; then
1336 cat <<\_ACEOF
1337 wxWidgets configure 2.7.1
1338 generated by GNU Autoconf 2.59
1339
1340 Copyright (C) 2003 Free Software Foundation, Inc.
1341 This configure script is free software; the Free Software Foundation
1342 gives unlimited permission to copy, distribute and modify it.
1343 _ACEOF
1344 exit 0
1345 fi
1346 exec 5>config.log
1347 cat >&5 <<_ACEOF
1348 This file contains any messages produced by compilers while
1349 running configure, to aid debugging if configure makes a mistake.
1350
1351 It was created by wxWidgets $as_me 2.7.1, which was
1352 generated by GNU Autoconf 2.59. Invocation command line was
1353
1354 $ $0 $@
1355
1356 _ACEOF
1357 {
1358 cat <<_ASUNAME
1359 ## --------- ##
1360 ## Platform. ##
1361 ## --------- ##
1362
1363 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1364 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1365 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1366 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1367 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1368
1369 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1370 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1371
1372 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1373 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1374 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1375 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1376 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1377 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1378 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1379
1380 _ASUNAME
1381
1382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1383 for as_dir in $PATH
1384 do
1385 IFS=$as_save_IFS
1386 test -z "$as_dir" && as_dir=.
1387 echo "PATH: $as_dir"
1388 done
1389
1390 } >&5
1391
1392 cat >&5 <<_ACEOF
1393
1394
1395 ## ----------- ##
1396 ## Core tests. ##
1397 ## ----------- ##
1398
1399 _ACEOF
1400
1401
1402 # Keep a trace of the command line.
1403 # Strip out --no-create and --no-recursion so they do not pile up.
1404 # Strip out --silent because we don't want to record it for future runs.
1405 # Also quote any args containing shell meta-characters.
1406 # Make two passes to allow for proper duplicate-argument suppression.
1407 ac_configure_args=
1408 ac_configure_args0=
1409 ac_configure_args1=
1410 ac_sep=
1411 ac_must_keep_next=false
1412 for ac_pass in 1 2
1413 do
1414 for ac_arg
1415 do
1416 case $ac_arg in
1417 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1418 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1419 | -silent | --silent | --silen | --sile | --sil)
1420 continue ;;
1421 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1422 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1423 esac
1424 case $ac_pass in
1425 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1426 2)
1427 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1428 if test $ac_must_keep_next = true; then
1429 ac_must_keep_next=false # Got value, back to normal.
1430 else
1431 case $ac_arg in
1432 *=* | --config-cache | -C | -disable-* | --disable-* \
1433 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1434 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1435 | -with-* | --with-* | -without-* | --without-* | --x)
1436 case "$ac_configure_args0 " in
1437 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1438 esac
1439 ;;
1440 -* ) ac_must_keep_next=true ;;
1441 esac
1442 fi
1443 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1444 # Get rid of the leading space.
1445 ac_sep=" "
1446 ;;
1447 esac
1448 done
1449 done
1450 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1451 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1452
1453 # When interrupted or exit'd, cleanup temporary files, and complete
1454 # config.log. We remove comments because anyway the quotes in there
1455 # would cause problems or look ugly.
1456 # WARNING: Be sure not to use single quotes in there, as some shells,
1457 # such as our DU 5.0 friend, will then `close' the trap.
1458 trap 'exit_status=$?
1459 # Save into config.log some information that might help in debugging.
1460 {
1461 echo
1462
1463 cat <<\_ASBOX
1464 ## ---------------- ##
1465 ## Cache variables. ##
1466 ## ---------------- ##
1467 _ASBOX
1468 echo
1469 # The following way of writing the cache mishandles newlines in values,
1470 {
1471 (set) 2>&1 |
1472 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1473 *ac_space=\ *)
1474 sed -n \
1475 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1477 ;;
1478 *)
1479 sed -n \
1480 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1481 ;;
1482 esac;
1483 }
1484 echo
1485
1486 cat <<\_ASBOX
1487 ## ----------------- ##
1488 ## Output variables. ##
1489 ## ----------------- ##
1490 _ASBOX
1491 echo
1492 for ac_var in $ac_subst_vars
1493 do
1494 eval ac_val=$`echo $ac_var`
1495 echo "$ac_var='"'"'$ac_val'"'"'"
1496 done | sort
1497 echo
1498
1499 if test -n "$ac_subst_files"; then
1500 cat <<\_ASBOX
1501 ## ------------- ##
1502 ## Output files. ##
1503 ## ------------- ##
1504 _ASBOX
1505 echo
1506 for ac_var in $ac_subst_files
1507 do
1508 eval ac_val=$`echo $ac_var`
1509 echo "$ac_var='"'"'$ac_val'"'"'"
1510 done | sort
1511 echo
1512 fi
1513
1514 if test -s confdefs.h; then
1515 cat <<\_ASBOX
1516 ## ----------- ##
1517 ## confdefs.h. ##
1518 ## ----------- ##
1519 _ASBOX
1520 echo
1521 sed "/^$/d" confdefs.h | sort
1522 echo
1523 fi
1524 test "$ac_signal" != 0 &&
1525 echo "$as_me: caught signal $ac_signal"
1526 echo "$as_me: exit $exit_status"
1527 } >&5
1528 rm -f core *.core &&
1529 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1530 exit $exit_status
1531 ' 0
1532 for ac_signal in 1 2 13 15; do
1533 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1534 done
1535 ac_signal=0
1536
1537 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1538 rm -rf conftest* confdefs.h
1539 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1540 echo >confdefs.h
1541
1542 # Predefined preprocessor variables.
1543
1544 cat >>confdefs.h <<_ACEOF
1545 #define PACKAGE_NAME "$PACKAGE_NAME"
1546 _ACEOF
1547
1548
1549 cat >>confdefs.h <<_ACEOF
1550 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1551 _ACEOF
1552
1553
1554 cat >>confdefs.h <<_ACEOF
1555 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1556 _ACEOF
1557
1558
1559 cat >>confdefs.h <<_ACEOF
1560 #define PACKAGE_STRING "$PACKAGE_STRING"
1561 _ACEOF
1562
1563
1564 cat >>confdefs.h <<_ACEOF
1565 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1566 _ACEOF
1567
1568
1569 # Let the site file select an alternate cache file if it wants to.
1570 # Prefer explicitly selected file to automatically selected ones.
1571 if test -z "$CONFIG_SITE"; then
1572 if test "x$prefix" != xNONE; then
1573 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1574 else
1575 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1576 fi
1577 fi
1578 for ac_site_file in $CONFIG_SITE; do
1579 if test -r "$ac_site_file"; then
1580 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1581 echo "$as_me: loading site script $ac_site_file" >&6;}
1582 sed 's/^/| /' "$ac_site_file" >&5
1583 . "$ac_site_file"
1584 fi
1585 done
1586
1587 if test -r "$cache_file"; then
1588 # Some versions of bash will fail to source /dev/null (special
1589 # files actually), so we avoid doing that.
1590 if test -f "$cache_file"; then
1591 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1592 echo "$as_me: loading cache $cache_file" >&6;}
1593 case $cache_file in
1594 [\\/]* | ?:[\\/]* ) . $cache_file;;
1595 *) . ./$cache_file;;
1596 esac
1597 fi
1598 else
1599 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1600 echo "$as_me: creating cache $cache_file" >&6;}
1601 >$cache_file
1602 fi
1603
1604 # Check that the precious variables saved in the cache have kept the same
1605 # value.
1606 ac_cache_corrupted=false
1607 for ac_var in `(set) 2>&1 |
1608 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1609 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1610 eval ac_new_set=\$ac_env_${ac_var}_set
1611 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1612 eval ac_new_val="\$ac_env_${ac_var}_value"
1613 case $ac_old_set,$ac_new_set in
1614 set,)
1615 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1616 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1617 ac_cache_corrupted=: ;;
1618 ,set)
1619 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1620 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1621 ac_cache_corrupted=: ;;
1622 ,);;
1623 *)
1624 if test "x$ac_old_val" != "x$ac_new_val"; then
1625 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1626 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1627 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1628 echo "$as_me: former value: $ac_old_val" >&2;}
1629 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1630 echo "$as_me: current value: $ac_new_val" >&2;}
1631 ac_cache_corrupted=:
1632 fi;;
1633 esac
1634 # Pass precious variables to config.status.
1635 if test "$ac_new_set" = set; then
1636 case $ac_new_val in
1637 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1638 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1639 *) ac_arg=$ac_var=$ac_new_val ;;
1640 esac
1641 case " $ac_configure_args " in
1642 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1643 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1644 esac
1645 fi
1646 done
1647 if $ac_cache_corrupted; then
1648 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1649 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1650 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1651 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1652 { (exit 1); exit 1; }; }
1653 fi
1654
1655 ac_ext=c
1656 ac_cpp='$CPP $CPPFLAGS'
1657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690 ac_aux_dir=
1691 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1692 if test -f $ac_dir/install-sh; then
1693 ac_aux_dir=$ac_dir
1694 ac_install_sh="$ac_aux_dir/install-sh -c"
1695 break
1696 elif test -f $ac_dir/install.sh; then
1697 ac_aux_dir=$ac_dir
1698 ac_install_sh="$ac_aux_dir/install.sh -c"
1699 break
1700 elif test -f $ac_dir/shtool; then
1701 ac_aux_dir=$ac_dir
1702 ac_install_sh="$ac_aux_dir/shtool install -c"
1703 break
1704 fi
1705 done
1706 if test -z "$ac_aux_dir"; then
1707 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1708 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1709 { (exit 1); exit 1; }; }
1710 fi
1711 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1712 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1713 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1714
1715 # Make sure we can run config.sub.
1716 $ac_config_sub sun4 >/dev/null 2>&1 ||
1717 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1718 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1719 { (exit 1); exit 1; }; }
1720
1721 echo "$as_me:$LINENO: checking build system type" >&5
1722 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1723 if test "${ac_cv_build+set}" = set; then
1724 echo $ECHO_N "(cached) $ECHO_C" >&6
1725 else
1726 ac_cv_build_alias=$build_alias
1727 test -z "$ac_cv_build_alias" &&
1728 ac_cv_build_alias=`$ac_config_guess`
1729 test -z "$ac_cv_build_alias" &&
1730 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1731 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1732 { (exit 1); exit 1; }; }
1733 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1734 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1735 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1736 { (exit 1); exit 1; }; }
1737
1738 fi
1739 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1740 echo "${ECHO_T}$ac_cv_build" >&6
1741 build=$ac_cv_build
1742 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1743 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1744 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1745
1746
1747 echo "$as_me:$LINENO: checking host system type" >&5
1748 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1749 if test "${ac_cv_host+set}" = set; then
1750 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 else
1752 ac_cv_host_alias=$host_alias
1753 test -z "$ac_cv_host_alias" &&
1754 ac_cv_host_alias=$ac_cv_build_alias
1755 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1756 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1757 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1758 { (exit 1); exit 1; }; }
1759
1760 fi
1761 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1762 echo "${ECHO_T}$ac_cv_host" >&6
1763 host=$ac_cv_host
1764 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1765 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1766 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1767
1768
1769 echo "$as_me:$LINENO: checking target system type" >&5
1770 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1771 if test "${ac_cv_target+set}" = set; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1773 else
1774 ac_cv_target_alias=$target_alias
1775 test "x$ac_cv_target_alias" = "x" &&
1776 ac_cv_target_alias=$ac_cv_host_alias
1777 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1778 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1779 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1780 { (exit 1); exit 1; }; }
1781
1782 fi
1783 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1784 echo "${ECHO_T}$ac_cv_target" >&6
1785 target=$ac_cv_target
1786 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1787 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1788 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1789
1790
1791 # The aliases save the names the user supplied, while $host etc.
1792 # will get canonicalized.
1793 test -n "$target_alias" &&
1794 test "$program_prefix$program_suffix$program_transform_name" = \
1795 NONENONEs,x,x, &&
1796 program_prefix=${target_alias}-
1797
1798
1799
1800 wx_major_version_number=2
1801 wx_minor_version_number=7
1802 wx_release_number=1
1803 wx_subrelease_number=2
1804
1805 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1806 WX_VERSION=$WX_RELEASE.$wx_release_number
1807 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1808
1809 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1810
1811
1812
1813
1814 USE_UNIX=1
1815 USE_OS2=0
1816 USE_WIN32=0
1817 USE_DOS=0
1818 USE_BEOS=0
1819 USE_MAC=0
1820
1821 USE_AIX=
1822 USE_BSD= USE_DARWIN= USE_FREEBSD=
1823 USE_GNU= USE_HPUX=
1824 USE_LINUX=
1825 USE_NETBSD=
1826 USE_OPENBSD=
1827 USE_OSF= USE_SGI=
1828 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1829 USE_ULTRIX=
1830 USE_UNIXWARE=
1831
1832 USE_ALPHA=
1833
1834 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1835
1836 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1837
1838 DEFAULT_wxUSE_COCOA=0
1839 DEFAULT_wxUSE_GTK=0
1840 DEFAULT_wxUSE_MAC=0
1841 DEFAULT_wxUSE_MGL=0
1842 DEFAULT_wxUSE_MICROWIN=0
1843 DEFAULT_wxUSE_MOTIF=0
1844 DEFAULT_wxUSE_MSW=0
1845 DEFAULT_wxUSE_PM=0
1846 DEFAULT_wxUSE_X11=0
1847 DEFAULT_wxUSE_DFB=0
1848
1849 DEFAULT_DEFAULT_wxUSE_COCOA=0
1850 DEFAULT_DEFAULT_wxUSE_GTK=0
1851 DEFAULT_DEFAULT_wxUSE_MAC=0
1852 DEFAULT_DEFAULT_wxUSE_MGL=0
1853 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1854 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1855 DEFAULT_DEFAULT_wxUSE_MSW=0
1856 DEFAULT_DEFAULT_wxUSE_PM=0
1857 DEFAULT_DEFAULT_wxUSE_X11=0
1858 DEFAULT_DEFAULT_wxUSE_DFB=0
1859
1860 PROGRAM_EXT=
1861 SO_SUFFIX=so
1862 SAMPLES_RPATH_FLAG=
1863 SAMPLES_RPATH_POSTLINK=
1864
1865 DEFAULT_STD_FLAG=yes
1866
1867 case "${host}" in
1868 *-hp-hpux* )
1869 USE_HPUX=1
1870 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1872 SO_SUFFIX=sl
1873 cat >>confdefs.h <<\_ACEOF
1874 #define __HPUX__ 1
1875 _ACEOF
1876
1877
1878 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1879 ;;
1880 *-*-linux* )
1881 USE_LINUX=1
1882 cat >>confdefs.h <<\_ACEOF
1883 #define __LINUX__ 1
1884 _ACEOF
1885
1886 TMP=`uname -m`
1887 if test "x$TMP" = "xalpha"; then
1888 USE_ALPHA=1
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __ALPHA__ 1
1891 _ACEOF
1892
1893 fi
1894 DEFAULT_DEFAULT_wxUSE_GTK=1
1895 ;;
1896 *-*-gnu* | *-*-k*bsd*-gnu )
1897 USE_GNU=1
1898 TMP=`uname -m`
1899 if test "x$TMP" = "xalpha"; then
1900 USE_ALPHA=1
1901 cat >>confdefs.h <<\_ACEOF
1902 #define __ALPHA__ 1
1903 _ACEOF
1904
1905 fi
1906 DEFAULT_DEFAULT_wxUSE_GTK=1
1907 ;;
1908 *-*-irix5* | *-*-irix6* )
1909 USE_SGI=1
1910 USE_SVR4=1
1911 cat >>confdefs.h <<\_ACEOF
1912 #define __SGI__ 1
1913 _ACEOF
1914
1915 cat >>confdefs.h <<\_ACEOF
1916 #define __SVR4__ 1
1917 _ACEOF
1918
1919 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1920 ;;
1921 *-*-solaris2* )
1922 USE_SUN=1
1923 USE_SOLARIS=1
1924 USE_SVR4=1
1925 cat >>confdefs.h <<\_ACEOF
1926 #define __SUN__ 1
1927 _ACEOF
1928
1929 cat >>confdefs.h <<\_ACEOF
1930 #define __SOLARIS__ 1
1931 _ACEOF
1932
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __SVR4__ 1
1935 _ACEOF
1936
1937 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1938 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1939 ;;
1940 *-*-sunos4* )
1941 USE_SUN=1
1942 USE_SUNOS=1
1943 USE_BSD=1
1944 cat >>confdefs.h <<\_ACEOF
1945 #define __SUN__ 1
1946 _ACEOF
1947
1948 cat >>confdefs.h <<\_ACEOF
1949 #define __SUNOS__ 1
1950 _ACEOF
1951
1952 cat >>confdefs.h <<\_ACEOF
1953 #define __BSD__ 1
1954 _ACEOF
1955
1956 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1957 ;;
1958 *-*-freebsd*)
1959 USE_BSD=1
1960 USE_FREEBSD=1
1961 cat >>confdefs.h <<\_ACEOF
1962 #define __FREEBSD__ 1
1963 _ACEOF
1964
1965 cat >>confdefs.h <<\_ACEOF
1966 #define __BSD__ 1
1967 _ACEOF
1968
1969 DEFAULT_DEFAULT_wxUSE_GTK=1
1970 ;;
1971 *-*-openbsd*|*-*-mirbsd*)
1972 USE_BSD=1
1973 USE_OPENBSD=1
1974 cat >>confdefs.h <<\_ACEOF
1975 #define __OPENBSD__ 1
1976 _ACEOF
1977
1978 cat >>confdefs.h <<\_ACEOF
1979 #define __BSD__ 1
1980 _ACEOF
1981
1982 DEFAULT_DEFAULT_wxUSE_GTK=1
1983 ;;
1984 *-*-netbsd*)
1985 USE_BSD=1
1986 USE_NETBSD=1
1987 cat >>confdefs.h <<\_ACEOF
1988 #define __NETBSD__ 1
1989 _ACEOF
1990
1991 cat >>confdefs.h <<\_ACEOF
1992 #define __BSD__ 1
1993 _ACEOF
1994
1995 DEFAULT_DEFAULT_wxUSE_GTK=1
1996 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1997
1998 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1999 ;;
2000 *-*-osf* )
2001 USE_ALPHA=1
2002 USE_OSF=1
2003 cat >>confdefs.h <<\_ACEOF
2004 #define __ALPHA__ 1
2005 _ACEOF
2006
2007 cat >>confdefs.h <<\_ACEOF
2008 #define __OSF__ 1
2009 _ACEOF
2010
2011 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2012 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2013 ;;
2014 *-*-dgux5* )
2015 USE_ALPHA=1
2016 USE_SVR4=1
2017 cat >>confdefs.h <<\_ACEOF
2018 #define __ALPHA__ 1
2019 _ACEOF
2020
2021 cat >>confdefs.h <<\_ACEOF
2022 #define __SVR4__ 1
2023 _ACEOF
2024
2025 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2026 ;;
2027 *-*-sysv5* )
2028 USE_SYSV=1
2029 USE_SVR4=1
2030 cat >>confdefs.h <<\_ACEOF
2031 #define __SYSV__ 1
2032 _ACEOF
2033
2034 cat >>confdefs.h <<\_ACEOF
2035 #define __SVR4__ 1
2036 _ACEOF
2037
2038 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2039 ;;
2040 *-*-aix* )
2041 USE_AIX=1
2042 USE_SYSV=1
2043 USE_SVR4=1
2044 SO_SUFFIX=a
2045 cat >>confdefs.h <<\_ACEOF
2046 #define __AIX__ 1
2047 _ACEOF
2048
2049 cat >>confdefs.h <<\_ACEOF
2050 #define __SYSV__ 1
2051 _ACEOF
2052
2053 cat >>confdefs.h <<\_ACEOF
2054 #define __SVR4__ 1
2055 _ACEOF
2056
2057 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2058 ;;
2059
2060 *-*-*UnixWare*)
2061 USE_SYSV=1
2062 USE_SVR4=1
2063 USE_UNIXWARE=1
2064 cat >>confdefs.h <<\_ACEOF
2065 #define __UNIXWARE__ 1
2066 _ACEOF
2067
2068 ;;
2069
2070 *-*-cygwin* | *-*-mingw32* )
2071 SO_SUFFIX=dll
2072 PROGRAM_EXT=".exe"
2073 DEFAULT_DEFAULT_wxUSE_MSW=1
2074 ;;
2075
2076 *-pc-msdosdjgpp )
2077 USE_UNIX=0
2078 USE_DOS=1
2079 cat >>confdefs.h <<\_ACEOF
2080 #define __DOS__ 1
2081 _ACEOF
2082
2083 PROGRAM_EXT=".exe"
2084 DEFAULT_DEFAULT_wxUSE_MGL=1
2085 ;;
2086
2087 *-pc-os2_emx | *-pc-os2-emx )
2088 cat >>confdefs.h <<\_ACEOF
2089 #define __EMX__ 1
2090 _ACEOF
2091
2092 USE_OS2=1
2093 cat >>confdefs.h <<\_ACEOF
2094 #define __OS2__ 1
2095 _ACEOF
2096
2097 PROGRAM_EXT=".exe"
2098 DEFAULT_DEFAULT_wxUSE_PM=1
2099 CXX=gcc
2100 LDFLAGS="$LDFLAGS -Zcrtdll"
2101 ac_executable_extensions=".exe"
2102 export ac_executable_extensions
2103 ac_save_IFS="$IFS"
2104 IFS='\\'
2105 ac_TEMP_PATH=
2106 for ac_dir in $PATH; do
2107 IFS=$ac_save_IFS
2108 if test -z "$ac_TEMP_PATH"; then
2109 ac_TEMP_PATH="$ac_dir"
2110 else
2111 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2112 fi
2113 done
2114 export PATH="$ac_TEMP_PATH"
2115 unset ac_TEMP_PATH
2116 DEFAULT_STD_FLAG=no
2117 ;;
2118
2119 *-*-darwin* )
2120 USE_BSD=1
2121 USE_DARWIN=1
2122 SO_SUFFIX=dylib
2123 cat >>confdefs.h <<\_ACEOF
2124 #define __BSD__ 1
2125 _ACEOF
2126
2127 cat >>confdefs.h <<\_ACEOF
2128 #define __DARWIN__ 1
2129 _ACEOF
2130
2131 cat >>confdefs.h <<\_ACEOF
2132 #define TARGET_CARBON 1
2133 _ACEOF
2134
2135 DEFAULT_DEFAULT_wxUSE_MAC=1
2136 DEFAULT_STD_FLAG=no
2137 ;;
2138 powerpc-apple-macos* )
2139 USE_UNIX=0
2140 ac_cv_c_bigendian=yes
2141 SO_SUFFIX=shlib
2142 DEFAULT_DEFAULT_wxUSE_MAC=1
2143 DEFAULT_STD_FLAG=no
2144 ;;
2145
2146 *-*-beos* )
2147 USE_BEOS=1
2148 cat >>confdefs.h <<\_ACEOF
2149 #define __BEOS__ 1
2150 _ACEOF
2151
2152 ;;
2153
2154 *)
2155 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2156 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2157 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2158 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2159
2160 DEFAULT_DEFAULT_wxUSE_X11=1
2161 DEFAULT_wxUSE_SHARED=no
2162 esac
2163
2164
2165
2166
2167 wx_arg_cache_file="configarg.cache"
2168 echo "loading argument cache $wx_arg_cache_file"
2169 rm -f ${wx_arg_cache_file}.tmp
2170 touch ${wx_arg_cache_file}.tmp
2171 touch ${wx_arg_cache_file}
2172
2173
2174 DEBUG_CONFIGURE=0
2175 if test $DEBUG_CONFIGURE = 1; then
2176 DEFAULT_wxUSE_UNIVERSAL=no
2177 DEFAULT_wxUSE_STL=no
2178
2179 DEFAULT_wxUSE_NANOX=no
2180
2181 DEFAULT_wxUSE_THREADS=yes
2182
2183 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2184 DEFAULT_wxUSE_OPTIMISE=no
2185 DEFAULT_wxUSE_PROFILE=no
2186 DEFAULT_wxUSE_NO_DEPS=no
2187 DEFAULT_wxUSE_NO_RTTI=no
2188 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2189 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2190 DEFAULT_wxUSE_RPATH=yes
2191 DEFAULT_wxUSE_PERMISSIVE=no
2192 DEFAULT_wxUSE_DEBUG_FLAG=yes
2193 DEFAULT_wxUSE_DEBUG_INFO=yes
2194 DEFAULT_wxUSE_DEBUG_GDB=yes
2195 DEFAULT_wxUSE_MEM_TRACING=no
2196 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2197 DEFAULT_wxUSE_DMALLOC=no
2198 DEFAULT_wxUSE_APPLE_IEEE=no
2199
2200 DEFAULT_wxUSE_EXCEPTIONS=no
2201 DEFAULT_wxUSE_LOG=yes
2202 DEFAULT_wxUSE_LOGWINDOW=no
2203 DEFAULT_wxUSE_LOGGUI=no
2204 DEFAULT_wxUSE_LOGDIALOG=no
2205
2206 DEFAULT_wxUSE_GUI=yes
2207 DEFAULT_wxUSE_CONTROLS=no
2208
2209 DEFAULT_wxUSE_REGEX=no
2210 DEFAULT_wxUSE_XML=no
2211 DEFAULT_wxUSE_EXPAT=no
2212 DEFAULT_wxUSE_ZLIB=no
2213 DEFAULT_wxUSE_LIBPNG=no
2214 DEFAULT_wxUSE_LIBJPEG=no
2215 DEFAULT_wxUSE_LIBTIFF=no
2216 DEFAULT_wxUSE_LIBXPM=no
2217 DEFAULT_wxUSE_LIBMSPACK=no
2218 DEFAULT_wxUSE_LIBSDL=no
2219 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2220 DEFAULT_wxUSE_LIBGNOMEVFS=no
2221 DEFAULT_wxUSE_LIBHILDON=no
2222 DEFAULT_wxUSE_ODBC=no
2223 DEFAULT_wxUSE_OPENGL=no
2224
2225 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2226 DEFAULT_wxUSE_STACKWALKER=no
2227 DEFAULT_wxUSE_DEBUGREPORT=no
2228 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2229 DEFAULT_wxUSE_STD_IOSTREAM=no
2230 DEFAULT_wxUSE_STD_STRING=no
2231 DEFAULT_wxUSE_CMDLINE_PARSER=no
2232 DEFAULT_wxUSE_DATETIME=no
2233 DEFAULT_wxUSE_TIMER=no
2234 DEFAULT_wxUSE_STOPWATCH=no
2235 DEFAULT_wxUSE_FILE=no
2236 DEFAULT_wxUSE_FFILE=no
2237 DEFAULT_wxUSE_STDPATHS=no
2238 DEFAULT_wxUSE_TEXTBUFFER=no
2239 DEFAULT_wxUSE_TEXTFILE=no
2240 DEFAULT_wxUSE_SOUND=no
2241 DEFAULT_wxUSE_MEDIACTRL=no
2242 DEFAULT_wxUSE_GSTREAMER8=no
2243 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2244 DEFAULT_wxUSE_INTL=no
2245 DEFAULT_wxUSE_CONFIG=no
2246 DEFAULT_wxUSE_FONTMAP=no
2247 DEFAULT_wxUSE_STREAMS=no
2248 DEFAULT_wxUSE_SOCKETS=no
2249 DEFAULT_wxUSE_OLE=no
2250 DEFAULT_wxUSE_DATAOBJ=no
2251 DEFAULT_wxUSE_DIALUP_MANAGER=no
2252 DEFAULT_wxUSE_JOYSTICK=no
2253 DEFAULT_wxUSE_DYNLIB_CLASS=no
2254 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2255 DEFAULT_wxUSE_LONGLONG=no
2256 DEFAULT_wxUSE_GEOMETRY=no
2257
2258 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2259 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2260 DEFAULT_wxUSE_POSTSCRIPT=no
2261
2262 DEFAULT_wxUSE_CLIPBOARD=no
2263 DEFAULT_wxUSE_TOOLTIPS=no
2264 DEFAULT_wxUSE_DRAG_AND_DROP=no
2265 DEFAULT_wxUSE_DRAGIMAGE=no
2266 DEFAULT_wxUSE_SPLINES=no
2267 DEFAULT_wxUSE_MOUSEWHEEL=no
2268
2269 DEFAULT_wxUSE_MDI=no
2270 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2271 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2272 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2273
2274 DEFAULT_wxUSE_RESOURCES=no
2275 DEFAULT_wxUSE_CONSTRAINTS=no
2276 DEFAULT_wxUSE_IPC=no
2277 DEFAULT_wxUSE_HELP=no
2278 DEFAULT_wxUSE_MS_HTML_HELP=no
2279 DEFAULT_wxUSE_WXHTML_HELP=no
2280 DEFAULT_wxUSE_TREELAYOUT=no
2281 DEFAULT_wxUSE_METAFILE=no
2282 DEFAULT_wxUSE_MIMETYPE=no
2283 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2284 DEFAULT_wxUSE_PROTOCOL=no
2285 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2286 DEFAULT_wxUSE_PROTOCOL_FTP=no
2287 DEFAULT_wxUSE_PROTOCOL_FILE=no
2288 DEFAULT_wxUSE_URL=no
2289 DEFAULT_wxUSE_VARIANT=no
2290
2291 DEFAULT_wxUSE_ABOUTDLG=no
2292 DEFAULT_wxUSE_COMMONDLGS=no
2293 DEFAULT_wxUSE_CHOICEDLG=no
2294 DEFAULT_wxUSE_COLOURDLG=no
2295 DEFAULT_wxUSE_DIRDLG=no
2296 DEFAULT_wxUSE_FILEDLG=no
2297 DEFAULT_wxUSE_FINDREPLDLG=no
2298 DEFAULT_wxUSE_FONTDLG=no
2299 DEFAULT_wxUSE_MSGDLG=no
2300 DEFAULT_wxUSE_NUMBERDLG=no
2301 DEFAULT_wxUSE_TEXTDLG=no
2302 DEFAULT_wxUSE_SPLASH=no
2303 DEFAULT_wxUSE_STARTUP_TIPS=no
2304 DEFAULT_wxUSE_PROGRESSDLG=no
2305 DEFAULT_wxUSE_WIZARDDLG=no
2306
2307 DEFAULT_wxUSE_MENUS=no
2308 DEFAULT_wxUSE_MINIFRAME=no
2309 DEFAULT_wxUSE_HTML=no
2310 DEFAULT_wxUSE_RICHTEXT=no
2311 DEFAULT_wxUSE_XRC=no
2312 DEFAULT_wxUSE_AUI=no
2313 DEFAULT_wxUSE_WEBKIT=no
2314 DEFAULT_wxUSE_FILESYSTEM=no
2315 DEFAULT_wxUSE_FS_INET=no
2316 DEFAULT_wxUSE_FS_ZIP=no
2317 DEFAULT_wxUSE_BUSYINFO=no
2318 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2319 DEFAULT_wxUSE_ZIPSTREAM=no
2320 DEFAULT_wxUSE_BACKINGFILE=no
2321 DEFAULT_wxUSE_VALIDATORS=no
2322
2323 DEFAULT_wxUSE_ACCEL=no
2324 DEFAULT_wxUSE_ANIMATIONCTRL=no
2325 DEFAULT_wxUSE_BUTTON=no
2326 DEFAULT_wxUSE_BMPBUTTON=no
2327 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2328 DEFAULT_wxUSE_CALCTRL=no
2329 DEFAULT_wxUSE_CARET=no
2330 DEFAULT_wxUSE_CHECKBOX=no
2331 DEFAULT_wxUSE_CHECKLST=no
2332 DEFAULT_wxUSE_CHOICE=no
2333 DEFAULT_wxUSE_CHOICEBOOK=no
2334 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2335 DEFAULT_wxUSE_COMBOBOX=no
2336 DEFAULT_wxUSE_COMBOCTRL=no
2337 DEFAULT_wxUSE_DATEPICKCTRL=no
2338 DEFAULT_wxUSE_DISPLAY=no
2339 DEFAULT_wxUSE_DETECT_SM=no
2340 DEFAULT_wxUSE_DIRPICKERCTRL=no
2341 DEFAULT_wxUSE_FILEPICKERCTRL=no
2342 DEFAULT_wxUSE_FONTPICKERCTRL=no
2343 DEFAULT_wxUSE_GAUGE=no
2344 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2345 DEFAULT_wxUSE_GRID=no
2346 DEFAULT_wxUSE_HYPERLINKCTRL=no
2347 DEFAULT_wxUSE_DATAVIEWCTRL=no
2348 DEFAULT_wxUSE_IMAGLIST=no
2349 DEFAULT_wxUSE_LISTBOOK=no
2350 DEFAULT_wxUSE_LISTBOX=no
2351 DEFAULT_wxUSE_LISTCTRL=no
2352 DEFAULT_wxUSE_NOTEBOOK=no
2353 DEFAULT_wxUSE_ODCOMBOBOX=no
2354 DEFAULT_wxUSE_RADIOBOX=no
2355 DEFAULT_wxUSE_RADIOBTN=no
2356 DEFAULT_wxUSE_SASH=no
2357 DEFAULT_wxUSE_SCROLLBAR=no
2358 DEFAULT_wxUSE_SLIDER=no
2359 DEFAULT_wxUSE_SPINBTN=no
2360 DEFAULT_wxUSE_SPINCTRL=no
2361 DEFAULT_wxUSE_SPLITTER=no
2362 DEFAULT_wxUSE_STATBMP=no
2363 DEFAULT_wxUSE_STATBOX=no
2364 DEFAULT_wxUSE_STATLINE=no
2365 DEFAULT_wxUSE_STATTEXT=no
2366 DEFAULT_wxUSE_STATUSBAR=yes
2367 DEFAULT_wxUSE_TAB_DIALOG=no
2368 DEFAULT_wxUSE_TEXTCTRL=no
2369 DEFAULT_wxUSE_TOGGLEBTN=no
2370 DEFAULT_wxUSE_TOOLBAR=no
2371 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2372 DEFAULT_wxUSE_TREEBOOK=no
2373 DEFAULT_wxUSE_TOOLBOOK=no
2374 DEFAULT_wxUSE_TREECTRL=no
2375 DEFAULT_wxUSE_POPUPWIN=no
2376 DEFAULT_wxUSE_TIPWINDOW=no
2377
2378 DEFAULT_wxUSE_UNICODE=no
2379 DEFAULT_wxUSE_UNICODE_MSLU=no
2380 DEFAULT_wxUSE_WCSRTOMBS=no
2381
2382 DEFAULT_wxUSE_PALETTE=no
2383 DEFAULT_wxUSE_IMAGE=no
2384 DEFAULT_wxUSE_GIF=no
2385 DEFAULT_wxUSE_PCX=no
2386 DEFAULT_wxUSE_PNM=no
2387 DEFAULT_wxUSE_IFF=no
2388 DEFAULT_wxUSE_XPM=no
2389 DEFAULT_wxUSE_ICO_CUR=no
2390 DEFAULT_wxUSE_ACCESSIBILITY=no
2391
2392 DEFAULT_wxUSE_MONOLITHIC=no
2393 DEFAULT_wxUSE_PLUGINS=no
2394 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2395 else
2396 DEFAULT_wxUSE_UNIVERSAL=no
2397 DEFAULT_wxUSE_STL=no
2398
2399 DEFAULT_wxUSE_NANOX=no
2400
2401 DEFAULT_wxUSE_THREADS=yes
2402
2403 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2404 DEFAULT_wxUSE_OPTIMISE=yes
2405 DEFAULT_wxUSE_PROFILE=no
2406 DEFAULT_wxUSE_NO_DEPS=no
2407 DEFAULT_wxUSE_NO_RTTI=no
2408 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2409 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2410 DEFAULT_wxUSE_RPATH=yes
2411 DEFAULT_wxUSE_PERMISSIVE=no
2412 DEFAULT_wxUSE_DEBUG_FLAG=no
2413 DEFAULT_wxUSE_DEBUG_INFO=no
2414 DEFAULT_wxUSE_DEBUG_GDB=no
2415 DEFAULT_wxUSE_MEM_TRACING=no
2416 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2417 DEFAULT_wxUSE_DMALLOC=no
2418 DEFAULT_wxUSE_APPLE_IEEE=yes
2419
2420 DEFAULT_wxUSE_EXCEPTIONS=yes
2421 DEFAULT_wxUSE_LOG=yes
2422 DEFAULT_wxUSE_LOGWINDOW=yes
2423 DEFAULT_wxUSE_LOGGUI=yes
2424 DEFAULT_wxUSE_LOGDIALOG=yes
2425
2426 DEFAULT_wxUSE_GUI=yes
2427
2428 DEFAULT_wxUSE_REGEX=yes
2429 DEFAULT_wxUSE_XML=yes
2430 DEFAULT_wxUSE_EXPAT=yes
2431 DEFAULT_wxUSE_ZLIB=yes
2432 DEFAULT_wxUSE_LIBPNG=yes
2433 DEFAULT_wxUSE_LIBJPEG=yes
2434 DEFAULT_wxUSE_LIBTIFF=yes
2435 DEFAULT_wxUSE_LIBXPM=yes
2436 DEFAULT_wxUSE_LIBMSPACK=yes
2437 DEFAULT_wxUSE_LIBSDL=no
2438 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2439 DEFAULT_wxUSE_LIBGNOMEVFS=no
2440 DEFAULT_wxUSE_LIBHILDON=no
2441 DEFAULT_wxUSE_ODBC=no
2442 DEFAULT_wxUSE_OPENGL=no
2443
2444 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2445 DEFAULT_wxUSE_STACKWALKER=yes
2446 DEFAULT_wxUSE_DEBUGREPORT=yes
2447 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2448 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2449 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2450 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2451 DEFAULT_wxUSE_DATETIME=yes
2452 DEFAULT_wxUSE_TIMER=yes
2453 DEFAULT_wxUSE_STOPWATCH=yes
2454 DEFAULT_wxUSE_FILE=yes
2455 DEFAULT_wxUSE_FFILE=yes
2456 DEFAULT_wxUSE_STDPATHS=yes
2457 DEFAULT_wxUSE_TEXTBUFFER=yes
2458 DEFAULT_wxUSE_TEXTFILE=yes
2459 DEFAULT_wxUSE_SOUND=yes
2460 DEFAULT_wxUSE_MEDIACTRL=no
2461 DEFAULT_wxUSE_GSTREAMER8=no
2462 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2463 DEFAULT_wxUSE_INTL=yes
2464 DEFAULT_wxUSE_CONFIG=yes
2465 DEFAULT_wxUSE_FONTMAP=yes
2466 DEFAULT_wxUSE_STREAMS=yes
2467 DEFAULT_wxUSE_SOCKETS=yes
2468 DEFAULT_wxUSE_OLE=yes
2469 DEFAULT_wxUSE_DATAOBJ=yes
2470 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2471 DEFAULT_wxUSE_JOYSTICK=yes
2472 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2473 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2474 DEFAULT_wxUSE_LONGLONG=yes
2475 DEFAULT_wxUSE_GEOMETRY=yes
2476
2477 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2478 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2479 DEFAULT_wxUSE_POSTSCRIPT=yes
2480
2481 DEFAULT_wxUSE_CLIPBOARD=yes
2482 DEFAULT_wxUSE_TOOLTIPS=yes
2483 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2484 DEFAULT_wxUSE_DRAGIMAGE=yes
2485 DEFAULT_wxUSE_SPLINES=yes
2486 DEFAULT_wxUSE_MOUSEWHEEL=yes
2487
2488 DEFAULT_wxUSE_MDI=yes
2489 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2490 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2491 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2492
2493 DEFAULT_wxUSE_RESOURCES=no
2494 DEFAULT_wxUSE_CONSTRAINTS=yes
2495 DEFAULT_wxUSE_IPC=yes
2496 DEFAULT_wxUSE_HELP=yes
2497 DEFAULT_wxUSE_MS_HTML_HELP=yes
2498 DEFAULT_wxUSE_WXHTML_HELP=yes
2499 DEFAULT_wxUSE_TREELAYOUT=yes
2500 DEFAULT_wxUSE_METAFILE=yes
2501 DEFAULT_wxUSE_MIMETYPE=yes
2502 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2503 DEFAULT_wxUSE_PROTOCOL=yes
2504 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2505 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2506 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2507 DEFAULT_wxUSE_URL=yes
2508 DEFAULT_wxUSE_VARIANT=yes
2509
2510 DEFAULT_wxUSE_ABOUTDLG=yes
2511 DEFAULT_wxUSE_COMMONDLGS=yes
2512 DEFAULT_wxUSE_CHOICEDLG=yes
2513 DEFAULT_wxUSE_COLOURDLG=yes
2514 DEFAULT_wxUSE_DIRDLG=yes
2515 DEFAULT_wxUSE_FILEDLG=yes
2516 DEFAULT_wxUSE_FINDREPLDLG=yes
2517 DEFAULT_wxUSE_FONTDLG=yes
2518 DEFAULT_wxUSE_MSGDLG=yes
2519 DEFAULT_wxUSE_NUMBERDLG=yes
2520 DEFAULT_wxUSE_TEXTDLG=yes
2521 DEFAULT_wxUSE_SPLASH=yes
2522 DEFAULT_wxUSE_STARTUP_TIPS=yes
2523 DEFAULT_wxUSE_PROGRESSDLG=yes
2524 DEFAULT_wxUSE_WIZARDDLG=yes
2525
2526 DEFAULT_wxUSE_MENUS=yes
2527 DEFAULT_wxUSE_MINIFRAME=yes
2528 DEFAULT_wxUSE_HTML=yes
2529 DEFAULT_wxUSE_RICHTEXT=yes
2530 DEFAULT_wxUSE_XRC=yes
2531 DEFAULT_wxUSE_AUI=yes
2532 DEFAULT_wxUSE_WEBKIT=yes
2533 DEFAULT_wxUSE_FILESYSTEM=yes
2534 DEFAULT_wxUSE_FS_INET=yes
2535 DEFAULT_wxUSE_FS_ZIP=yes
2536 DEFAULT_wxUSE_BUSYINFO=yes
2537 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2538 DEFAULT_wxUSE_ZIPSTREAM=yes
2539 DEFAULT_wxUSE_BACKINGFILE=yes
2540 DEFAULT_wxUSE_VALIDATORS=yes
2541
2542 DEFAULT_wxUSE_ACCEL=yes
2543 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2544 DEFAULT_wxUSE_BUTTON=yes
2545 DEFAULT_wxUSE_BMPBUTTON=yes
2546 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2547 DEFAULT_wxUSE_CALCTRL=yes
2548 DEFAULT_wxUSE_CARET=yes
2549 DEFAULT_wxUSE_CHECKBOX=yes
2550 DEFAULT_wxUSE_CHECKLST=yes
2551 DEFAULT_wxUSE_CHOICE=yes
2552 DEFAULT_wxUSE_CHOICEBOOK=yes
2553 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2554 DEFAULT_wxUSE_COMBOBOX=yes
2555 DEFAULT_wxUSE_COMBOCTRL=yes
2556 DEFAULT_wxUSE_DATEPICKCTRL=yes
2557 DEFAULT_wxUSE_DISPLAY=yes
2558 DEFAULT_wxUSE_DETECT_SM=yes
2559 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2560 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2561 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2562 DEFAULT_wxUSE_GAUGE=yes
2563 DEFAULT_wxUSE_GRID=yes
2564 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2565 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2566 DEFAULT_wxUSE_DATAVIEWCTRL=no
2567 DEFAULT_wxUSE_IMAGLIST=yes
2568 DEFAULT_wxUSE_LISTBOOK=yes
2569 DEFAULT_wxUSE_LISTBOX=yes
2570 DEFAULT_wxUSE_LISTCTRL=yes
2571 DEFAULT_wxUSE_NOTEBOOK=yes
2572 DEFAULT_wxUSE_ODCOMBOBOX=yes
2573 DEFAULT_wxUSE_RADIOBOX=yes
2574 DEFAULT_wxUSE_RADIOBTN=yes
2575 DEFAULT_wxUSE_SASH=yes
2576 DEFAULT_wxUSE_SCROLLBAR=yes
2577 DEFAULT_wxUSE_SLIDER=yes
2578 DEFAULT_wxUSE_SPINBTN=yes
2579 DEFAULT_wxUSE_SPINCTRL=yes
2580 DEFAULT_wxUSE_SPLITTER=yes
2581 DEFAULT_wxUSE_STATBMP=yes
2582 DEFAULT_wxUSE_STATBOX=yes
2583 DEFAULT_wxUSE_STATLINE=yes
2584 DEFAULT_wxUSE_STATTEXT=yes
2585 DEFAULT_wxUSE_STATUSBAR=yes
2586 DEFAULT_wxUSE_TAB_DIALOG=no
2587 DEFAULT_wxUSE_TEXTCTRL=yes
2588 DEFAULT_wxUSE_TOGGLEBTN=yes
2589 DEFAULT_wxUSE_TOOLBAR=yes
2590 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2591 DEFAULT_wxUSE_TREEBOOK=yes
2592 DEFAULT_wxUSE_TOOLBOOK=yes
2593 DEFAULT_wxUSE_TREECTRL=yes
2594 DEFAULT_wxUSE_POPUPWIN=yes
2595 DEFAULT_wxUSE_TIPWINDOW=yes
2596
2597 DEFAULT_wxUSE_UNICODE=no
2598 DEFAULT_wxUSE_UNICODE_MSLU=yes
2599 DEFAULT_wxUSE_WCSRTOMBS=no
2600
2601 DEFAULT_wxUSE_PALETTE=yes
2602 DEFAULT_wxUSE_IMAGE=yes
2603 DEFAULT_wxUSE_GIF=yes
2604 DEFAULT_wxUSE_PCX=yes
2605 DEFAULT_wxUSE_IFF=no
2606 DEFAULT_wxUSE_PNM=yes
2607 DEFAULT_wxUSE_XPM=yes
2608 DEFAULT_wxUSE_ICO_CUR=yes
2609 DEFAULT_wxUSE_ACCESSIBILITY=no
2610
2611 DEFAULT_wxUSE_MONOLITHIC=no
2612 DEFAULT_wxUSE_PLUGINS=no
2613 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2614
2615 DEFAULT_wxUSE_GTK2=yes
2616 fi
2617
2618
2619
2620
2621 for toolkit in `echo $ALL_TOOLKITS`; do
2622 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2623 if test "x$LINE" != "x" ; then
2624 has_toolkit_in_cache=1
2625 eval "DEFAULT_$LINE"
2626 eval "CACHE_$toolkit=1"
2627
2628 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2629 if test "x$LINE" != "x" ; then
2630 eval "DEFAULT_$LINE"
2631 fi
2632 fi
2633 done
2634
2635
2636
2637 enablestring=
2638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2639 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2640 no_cache=0
2641 # Check whether --enable-gui or --disable-gui was given.
2642 if test "${enable_gui+set}" = set; then
2643 enableval="$enable_gui"
2644
2645 if test "$enableval" = yes; then
2646 ac_cv_use_gui='wxUSE_GUI=yes'
2647 else
2648 ac_cv_use_gui='wxUSE_GUI=no'
2649 fi
2650
2651 else
2652
2653 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2654 if test "x$LINE" != x ; then
2655 eval "DEFAULT_$LINE"
2656 else
2657 no_cache=1
2658 fi
2659
2660 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2661
2662 fi;
2663
2664 eval "$ac_cv_use_gui"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2667 fi
2668
2669 if test "$wxUSE_GUI" = yes; then
2670 echo "$as_me:$LINENO: result: yes" >&5
2671 echo "${ECHO_T}yes" >&6
2672 else
2673 echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6
2675 fi
2676
2677
2678 enablestring=
2679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2680 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2681 no_cache=0
2682 # Check whether --enable-monolithic or --disable-monolithic was given.
2683 if test "${enable_monolithic+set}" = set; then
2684 enableval="$enable_monolithic"
2685
2686 if test "$enableval" = yes; then
2687 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2688 else
2689 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2690 fi
2691
2692 else
2693
2694 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2695 if test "x$LINE" != x ; then
2696 eval "DEFAULT_$LINE"
2697 else
2698 no_cache=1
2699 fi
2700
2701 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2702
2703 fi;
2704
2705 eval "$ac_cv_use_monolithic"
2706 if test "$no_cache" != 1; then
2707 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2708 fi
2709
2710 if test "$wxUSE_MONOLITHIC" = yes; then
2711 echo "$as_me:$LINENO: result: yes" >&5
2712 echo "${ECHO_T}yes" >&6
2713 else
2714 echo "$as_me:$LINENO: result: no" >&5
2715 echo "${ECHO_T}no" >&6
2716 fi
2717
2718
2719 enablestring=
2720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2721 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2722 no_cache=0
2723 # Check whether --enable-plugins or --disable-plugins was given.
2724 if test "${enable_plugins+set}" = set; then
2725 enableval="$enable_plugins"
2726
2727 if test "$enableval" = yes; then
2728 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2729 else
2730 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2731 fi
2732
2733 else
2734
2735 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x ; then
2737 eval "DEFAULT_$LINE"
2738 else
2739 no_cache=1
2740 fi
2741
2742 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2743
2744 fi;
2745
2746 eval "$ac_cv_use_plugins"
2747 if test "$no_cache" != 1; then
2748 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2749 fi
2750
2751 if test "$wxUSE_PLUGINS" = yes; then
2752 echo "$as_me:$LINENO: result: yes" >&5
2753 echo "${ECHO_T}yes" >&6
2754 else
2755 echo "$as_me:$LINENO: result: no" >&5
2756 echo "${ECHO_T}no" >&6
2757 fi
2758
2759
2760 withstring=without
2761 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2762 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2763 no_cache=0
2764
2765 # Check whether --with-subdirs or --without-subdirs was given.
2766 if test "${with_subdirs+set}" = set; then
2767 withval="$with_subdirs"
2768
2769 if test "$withval" = yes; then
2770 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2771 else
2772 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2773 fi
2774
2775 else
2776
2777 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x ; then
2779 eval "DEFAULT_$LINE"
2780 else
2781 no_cache=1
2782 fi
2783
2784 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2785
2786 fi;
2787
2788 eval "$ac_cv_use_subdirs"
2789 if test "$no_cache" != 1; then
2790 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2791 fi
2792
2793 if test "$wxWITH_SUBDIRS" = yes; then
2794 echo "$as_me:$LINENO: result: yes" >&5
2795 echo "${ECHO_T}yes" >&6
2796 else
2797 echo "$as_me:$LINENO: result: no" >&5
2798 echo "${ECHO_T}no" >&6
2799 fi
2800
2801
2802 if test "$wxUSE_GUI" = "yes"; then
2803
2804
2805 enablestring=
2806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2807 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2808 no_cache=0
2809 # Check whether --enable-universal or --disable-universal was given.
2810 if test "${enable_universal+set}" = set; then
2811 enableval="$enable_universal"
2812
2813 if test "$enableval" = yes; then
2814 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2815 else
2816 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2817 fi
2818
2819 else
2820
2821 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2822 if test "x$LINE" != x ; then
2823 eval "DEFAULT_$LINE"
2824 else
2825 no_cache=1
2826 fi
2827
2828 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2829
2830 fi;
2831
2832 eval "$ac_cv_use_universal"
2833 if test "$no_cache" != 1; then
2834 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2835 fi
2836
2837 if test "$wxUSE_UNIVERSAL" = yes; then
2838 echo "$as_me:$LINENO: result: yes" >&5
2839 echo "${ECHO_T}yes" >&6
2840 else
2841 echo "$as_me:$LINENO: result: no" >&5
2842 echo "${ECHO_T}no" >&6
2843 fi
2844
2845
2846 # Check whether --with-gtk or --without-gtk was given.
2847 if test "${with_gtk+set}" = set; then
2848 withval="$with_gtk"
2849 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2850 fi;
2851
2852 # Check whether --with-motif or --without-motif was given.
2853 if test "${with_motif+set}" = set; then
2854 withval="$with_motif"
2855 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2856 fi;
2857
2858 # Check whether --with-mac or --without-mac was given.
2859 if test "${with_mac+set}" = set; then
2860 withval="$with_mac"
2861 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2862 fi;
2863
2864 # Check whether --with-cocoa or --without-cocoa was given.
2865 if test "${with_cocoa+set}" = set; then
2866 withval="$with_cocoa"
2867 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2868 fi;
2869
2870 # Check whether --with-wine or --without-wine was given.
2871 if test "${with_wine+set}" = set; then
2872 withval="$with_wine"
2873 wxUSE_WINE="$withval" CACHE_WINE=1
2874 fi;
2875
2876 # Check whether --with-msw or --without-msw was given.
2877 if test "${with_msw+set}" = set; then
2878 withval="$with_msw"
2879 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2880 fi;
2881
2882 # Check whether --with-pm or --without-pm was given.
2883 if test "${with_pm+set}" = set; then
2884 withval="$with_pm"
2885 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2886 fi;
2887
2888 # Check whether --with-mgl or --without-mgl was given.
2889 if test "${with_mgl+set}" = set; then
2890 withval="$with_mgl"
2891 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2892 fi;
2893
2894 # Check whether --with-directfb or --without-directfb was given.
2895 if test "${with_directfb+set}" = set; then
2896 withval="$with_directfb"
2897 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2898 fi;
2899
2900 # Check whether --with-microwin or --without-microwin was given.
2901 if test "${with_microwin+set}" = set; then
2902 withval="$with_microwin"
2903 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2904 fi;
2905
2906 # Check whether --with-x11 or --without-x11 was given.
2907 if test "${with_x11+set}" = set; then
2908 withval="$with_x11"
2909 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2910 fi;
2911
2912 enablestring=
2913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2914 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2915 no_cache=0
2916 # Check whether --enable-nanox or --disable-nanox was given.
2917 if test "${enable_nanox+set}" = set; then
2918 enableval="$enable_nanox"
2919
2920 if test "$enableval" = yes; then
2921 ac_cv_use_nanox='wxUSE_NANOX=yes'
2922 else
2923 ac_cv_use_nanox='wxUSE_NANOX=no'
2924 fi
2925
2926 else
2927
2928 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2929 if test "x$LINE" != x ; then
2930 eval "DEFAULT_$LINE"
2931 else
2932 no_cache=1
2933 fi
2934
2935 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2936
2937 fi;
2938
2939 eval "$ac_cv_use_nanox"
2940 if test "$no_cache" != 1; then
2941 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2942 fi
2943
2944 if test "$wxUSE_NANOX" = yes; then
2945 echo "$as_me:$LINENO: result: yes" >&5
2946 echo "${ECHO_T}yes" >&6
2947 else
2948 echo "$as_me:$LINENO: result: no" >&5
2949 echo "${ECHO_T}no" >&6
2950 fi
2951
2952
2953 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2954 if test "${enable_gtk2+set}" = set; then
2955 enableval="$enable_gtk2"
2956 wxUSE_GTK2="$enableval"
2957 fi;
2958
2959 enablestring=
2960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2961 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2962 no_cache=0
2963 # Check whether --enable-gpe or --disable-gpe was given.
2964 if test "${enable_gpe+set}" = set; then
2965 enableval="$enable_gpe"
2966
2967 if test "$enableval" = yes; then
2968 ac_cv_use_gpe='wxUSE_GPE=yes'
2969 else
2970 ac_cv_use_gpe='wxUSE_GPE=no'
2971 fi
2972
2973 else
2974
2975 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2976 if test "x$LINE" != x ; then
2977 eval "DEFAULT_$LINE"
2978 else
2979 no_cache=1
2980 fi
2981
2982 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2983
2984 fi;
2985
2986 eval "$ac_cv_use_gpe"
2987 if test "$no_cache" != 1; then
2988 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2989 fi
2990
2991 if test "$wxUSE_GPE" = yes; then
2992 echo "$as_me:$LINENO: result: yes" >&5
2993 echo "${ECHO_T}yes" >&6
2994 else
2995 echo "$as_me:$LINENO: result: no" >&5
2996 echo "${ECHO_T}no" >&6
2997 fi
2998
2999
3000
3001 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3002 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3003 no_cache=0
3004
3005 # Check whether --with-libpng or --without-libpng was given.
3006 if test "${with_libpng+set}" = set; then
3007 withval="$with_libpng"
3008
3009 if test "$withval" = yes; then
3010 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3011 elif test "$withval" = no; then
3012 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3013 elif test "$withval" = sys; then
3014 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3015 elif test "$withval" = builtin; then
3016 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3017 else
3018 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3019 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3020 { (exit 1); exit 1; }; }
3021 fi
3022
3023 else
3024
3025 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3026 if test "x$LINE" != x ; then
3027 eval "DEFAULT_$LINE"
3028 else
3029 no_cache=1
3030 fi
3031
3032 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3033
3034 fi;
3035
3036 eval "$ac_cv_use_libpng"
3037 if test "$no_cache" != 1; then
3038 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3039 fi
3040
3041 if test "$wxUSE_LIBPNG" = yes; then
3042 echo "$as_me:$LINENO: result: yes" >&5
3043 echo "${ECHO_T}yes" >&6
3044 elif test "$wxUSE_LIBPNG" = no; then
3045 echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6
3047 elif test "$wxUSE_LIBPNG" = sys; then
3048 echo "$as_me:$LINENO: result: system version" >&5
3049 echo "${ECHO_T}system version" >&6
3050 elif test "$wxUSE_LIBPNG" = builtin; then
3051 echo "$as_me:$LINENO: result: builtin version" >&5
3052 echo "${ECHO_T}builtin version" >&6
3053 else
3054 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3055 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3056 { (exit 1); exit 1; }; }
3057 fi
3058
3059
3060 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3061 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3062 no_cache=0
3063
3064 # Check whether --with-libjpeg or --without-libjpeg was given.
3065 if test "${with_libjpeg+set}" = set; then
3066 withval="$with_libjpeg"
3067
3068 if test "$withval" = yes; then
3069 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3070 elif test "$withval" = no; then
3071 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3072 elif test "$withval" = sys; then
3073 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3074 elif test "$withval" = builtin; then
3075 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3076 else
3077 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3078 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3079 { (exit 1); exit 1; }; }
3080 fi
3081
3082 else
3083
3084 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3085 if test "x$LINE" != x ; then
3086 eval "DEFAULT_$LINE"
3087 else
3088 no_cache=1
3089 fi
3090
3091 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3092
3093 fi;
3094
3095 eval "$ac_cv_use_libjpeg"
3096 if test "$no_cache" != 1; then
3097 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3098 fi
3099
3100 if test "$wxUSE_LIBJPEG" = yes; then
3101 echo "$as_me:$LINENO: result: yes" >&5
3102 echo "${ECHO_T}yes" >&6
3103 elif test "$wxUSE_LIBJPEG" = no; then
3104 echo "$as_me:$LINENO: result: no" >&5
3105 echo "${ECHO_T}no" >&6
3106 elif test "$wxUSE_LIBJPEG" = sys; then
3107 echo "$as_me:$LINENO: result: system version" >&5
3108 echo "${ECHO_T}system version" >&6
3109 elif test "$wxUSE_LIBJPEG" = builtin; then
3110 echo "$as_me:$LINENO: result: builtin version" >&5
3111 echo "${ECHO_T}builtin version" >&6
3112 else
3113 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3114 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3115 { (exit 1); exit 1; }; }
3116 fi
3117
3118
3119 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3120 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3121 no_cache=0
3122
3123 # Check whether --with-libtiff or --without-libtiff was given.
3124 if test "${with_libtiff+set}" = set; then
3125 withval="$with_libtiff"
3126
3127 if test "$withval" = yes; then
3128 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3129 elif test "$withval" = no; then
3130 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3131 elif test "$withval" = sys; then
3132 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3133 elif test "$withval" = builtin; then
3134 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3135 else
3136 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3137 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3138 { (exit 1); exit 1; }; }
3139 fi
3140
3141 else
3142
3143 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3144 if test "x$LINE" != x ; then
3145 eval "DEFAULT_$LINE"
3146 else
3147 no_cache=1
3148 fi
3149
3150 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3151
3152 fi;
3153
3154 eval "$ac_cv_use_libtiff"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3157 fi
3158
3159 if test "$wxUSE_LIBTIFF" = yes; then
3160 echo "$as_me:$LINENO: result: yes" >&5
3161 echo "${ECHO_T}yes" >&6
3162 elif test "$wxUSE_LIBTIFF" = no; then
3163 echo "$as_me:$LINENO: result: no" >&5
3164 echo "${ECHO_T}no" >&6
3165 elif test "$wxUSE_LIBTIFF" = sys; then
3166 echo "$as_me:$LINENO: result: system version" >&5
3167 echo "${ECHO_T}system version" >&6
3168 elif test "$wxUSE_LIBTIFF" = builtin; then
3169 echo "$as_me:$LINENO: result: builtin version" >&5
3170 echo "${ECHO_T}builtin version" >&6
3171 else
3172 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3173 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3174 { (exit 1); exit 1; }; }
3175 fi
3176
3177
3178 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3179 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3180 no_cache=0
3181
3182 # Check whether --with-libxpm or --without-libxpm was given.
3183 if test "${with_libxpm+set}" = set; then
3184 withval="$with_libxpm"
3185
3186 if test "$withval" = yes; then
3187 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3188 elif test "$withval" = no; then
3189 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3190 elif test "$withval" = sys; then
3191 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3192 elif test "$withval" = builtin; then
3193 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3194 else
3195 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3196 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3197 { (exit 1); exit 1; }; }
3198 fi
3199
3200 else
3201
3202 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3203 if test "x$LINE" != x ; then
3204 eval "DEFAULT_$LINE"
3205 else
3206 no_cache=1
3207 fi
3208
3209 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3210
3211 fi;
3212
3213 eval "$ac_cv_use_libxpm"
3214 if test "$no_cache" != 1; then
3215 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3216 fi
3217
3218 if test "$wxUSE_LIBXPM" = yes; then
3219 echo "$as_me:$LINENO: result: yes" >&5
3220 echo "${ECHO_T}yes" >&6
3221 elif test "$wxUSE_LIBXPM" = no; then
3222 echo "$as_me:$LINENO: result: no" >&5
3223 echo "${ECHO_T}no" >&6
3224 elif test "$wxUSE_LIBXPM" = sys; then
3225 echo "$as_me:$LINENO: result: system version" >&5
3226 echo "${ECHO_T}system version" >&6
3227 elif test "$wxUSE_LIBXPM" = builtin; then
3228 echo "$as_me:$LINENO: result: builtin version" >&5
3229 echo "${ECHO_T}builtin version" >&6
3230 else
3231 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3232 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3233 { (exit 1); exit 1; }; }
3234 fi
3235
3236
3237 withstring=
3238 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3239 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3240 no_cache=0
3241
3242 # Check whether --with-libmspack or --without-libmspack was given.
3243 if test "${with_libmspack+set}" = set; then
3244 withval="$with_libmspack"
3245
3246 if test "$withval" = yes; then
3247 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3248 else
3249 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3250 fi
3251
3252 else
3253
3254 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3255 if test "x$LINE" != x ; then
3256 eval "DEFAULT_$LINE"
3257 else
3258 no_cache=1
3259 fi
3260
3261 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3262
3263 fi;
3264
3265 eval "$ac_cv_use_libmspack"
3266 if test "$no_cache" != 1; then
3267 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3268 fi
3269
3270 if test "$wxUSE_LIBMSPACK" = yes; then
3271 echo "$as_me:$LINENO: result: yes" >&5
3272 echo "${ECHO_T}yes" >&6
3273 else
3274 echo "$as_me:$LINENO: result: no" >&5
3275 echo "${ECHO_T}no" >&6
3276 fi
3277
3278
3279 withstring=
3280 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3281 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3282 no_cache=0
3283
3284 # Check whether --with-sdl or --without-sdl was given.
3285 if test "${with_sdl+set}" = set; then
3286 withval="$with_sdl"
3287
3288 if test "$withval" = yes; then
3289 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3290 else
3291 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3292 fi
3293
3294 else
3295
3296 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3297 if test "x$LINE" != x ; then
3298 eval "DEFAULT_$LINE"
3299 else
3300 no_cache=1
3301 fi
3302
3303 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3304
3305 fi;
3306
3307 eval "$ac_cv_use_sdl"
3308 if test "$no_cache" != 1; then
3309 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3310 fi
3311
3312 if test "$wxUSE_LIBSDL" = yes; then
3313 echo "$as_me:$LINENO: result: yes" >&5
3314 echo "${ECHO_T}yes" >&6
3315 else
3316 echo "$as_me:$LINENO: result: no" >&5
3317 echo "${ECHO_T}no" >&6
3318 fi
3319
3320
3321 withstring=
3322 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3323 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3324 no_cache=0
3325
3326 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3327 if test "${with_gnomeprint+set}" = set; then
3328 withval="$with_gnomeprint"
3329
3330 if test "$withval" = yes; then
3331 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3332 else
3333 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3334 fi
3335
3336 else
3337
3338 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3339 if test "x$LINE" != x ; then
3340 eval "DEFAULT_$LINE"
3341 else
3342 no_cache=1
3343 fi
3344
3345 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3346
3347 fi;
3348
3349 eval "$ac_cv_use_gnomeprint"
3350 if test "$no_cache" != 1; then
3351 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3352 fi
3353
3354 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3355 echo "$as_me:$LINENO: result: yes" >&5
3356 echo "${ECHO_T}yes" >&6
3357 else
3358 echo "$as_me:$LINENO: result: no" >&5
3359 echo "${ECHO_T}no" >&6
3360 fi
3361
3362
3363 withstring=
3364 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3365 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3366 no_cache=0
3367
3368 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3369 if test "${with_gnomevfs+set}" = set; then
3370 withval="$with_gnomevfs"
3371
3372 if test "$withval" = yes; then
3373 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3374 else
3375 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3376 fi
3377
3378 else
3379
3380 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3381 if test "x$LINE" != x ; then
3382 eval "DEFAULT_$LINE"
3383 else
3384 no_cache=1
3385 fi
3386
3387 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3388
3389 fi;
3390
3391 eval "$ac_cv_use_gnomevfs"
3392 if test "$no_cache" != 1; then
3393 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3394 fi
3395
3396 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3397 echo "$as_me:$LINENO: result: yes" >&5
3398 echo "${ECHO_T}yes" >&6
3399 else
3400 echo "$as_me:$LINENO: result: no" >&5
3401 echo "${ECHO_T}no" >&6
3402 fi
3403
3404
3405 withstring=
3406 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3407 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3408 no_cache=0
3409
3410 # Check whether --with-hildon or --without-hildon was given.
3411 if test "${with_hildon+set}" = set; then
3412 withval="$with_hildon"
3413
3414 if test "$withval" = yes; then
3415 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3416 else
3417 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3418 fi
3419
3420 else
3421
3422 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3423 if test "x$LINE" != x ; then
3424 eval "DEFAULT_$LINE"
3425 else
3426 no_cache=1
3427 fi
3428
3429 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3430
3431 fi;
3432
3433 eval "$ac_cv_use_hildon"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3436 fi
3437
3438 if test "$wxUSE_LIBHILDON" = yes; then
3439 echo "$as_me:$LINENO: result: yes" >&5
3440 echo "${ECHO_T}yes" >&6
3441 else
3442 echo "$as_me:$LINENO: result: no" >&5
3443 echo "${ECHO_T}no" >&6
3444 fi
3445
3446
3447 withstring=
3448 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3449 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3450 no_cache=0
3451
3452 # Check whether --with-opengl or --without-opengl was given.
3453 if test "${with_opengl+set}" = set; then
3454 withval="$with_opengl"
3455
3456 if test "$withval" = yes; then
3457 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3458 else
3459 ac_cv_use_opengl='wxUSE_OPENGL=no'
3460 fi
3461
3462 else
3463
3464 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3465 if test "x$LINE" != x ; then
3466 eval "DEFAULT_$LINE"
3467 else
3468 no_cache=1
3469 fi
3470
3471 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3472
3473 fi;
3474
3475 eval "$ac_cv_use_opengl"
3476 if test "$no_cache" != 1; then
3477 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3478 fi
3479
3480 if test "$wxUSE_OPENGL" = yes; then
3481 echo "$as_me:$LINENO: result: yes" >&5
3482 echo "${ECHO_T}yes" >&6
3483 else
3484 echo "$as_me:$LINENO: result: no" >&5
3485 echo "${ECHO_T}no" >&6
3486 fi
3487
3488
3489 if test "$wxUSE_UNIVERSAL" = "yes"; then
3490
3491 # Check whether --with-themes or --without-themes was given.
3492 if test "${with_themes+set}" = set; then
3493 withval="$with_themes"
3494 wxUNIV_THEMES="$withval"
3495 fi;
3496 fi
3497
3498 fi
3499
3500
3501 withstring=
3502 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3503 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3504 no_cache=0
3505
3506 # Check whether --with-dmalloc or --without-dmalloc was given.
3507 if test "${with_dmalloc+set}" = set; then
3508 withval="$with_dmalloc"
3509
3510 if test "$withval" = yes; then
3511 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3512 else
3513 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3514 fi
3515
3516 else
3517
3518 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x ; then
3520 eval "DEFAULT_$LINE"
3521 else
3522 no_cache=1
3523 fi
3524
3525 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3526
3527 fi;
3528
3529 eval "$ac_cv_use_dmalloc"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3532 fi
3533
3534 if test "$wxUSE_DMALLOC" = yes; then
3535 echo "$as_me:$LINENO: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6
3537 else
3538 echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6
3540 fi
3541
3542
3543 echo "$as_me:$LINENO: checking for --with-regex" >&5
3544 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3545 no_cache=0
3546
3547 # Check whether --with-regex or --without-regex was given.
3548 if test "${with_regex+set}" = set; then
3549 withval="$with_regex"
3550
3551 if test "$withval" = yes; then
3552 ac_cv_use_regex='wxUSE_REGEX=yes'
3553 elif test "$withval" = no; then
3554 ac_cv_use_regex='wxUSE_REGEX=no'
3555 elif test "$withval" = sys; then
3556 ac_cv_use_regex='wxUSE_REGEX=sys'
3557 elif test "$withval" = builtin; then
3558 ac_cv_use_regex='wxUSE_REGEX=builtin'
3559 else
3560 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3561 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3562 { (exit 1); exit 1; }; }
3563 fi
3564
3565 else
3566
3567 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x ; then
3569 eval "DEFAULT_$LINE"
3570 else
3571 no_cache=1
3572 fi
3573
3574 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3575
3576 fi;
3577
3578 eval "$ac_cv_use_regex"
3579 if test "$no_cache" != 1; then
3580 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3581 fi
3582
3583 if test "$wxUSE_REGEX" = yes; then
3584 echo "$as_me:$LINENO: result: yes" >&5
3585 echo "${ECHO_T}yes" >&6
3586 elif test "$wxUSE_REGEX" = no; then
3587 echo "$as_me:$LINENO: result: no" >&5
3588 echo "${ECHO_T}no" >&6
3589 elif test "$wxUSE_REGEX" = sys; then
3590 echo "$as_me:$LINENO: result: system version" >&5
3591 echo "${ECHO_T}system version" >&6
3592 elif test "$wxUSE_REGEX" = builtin; then
3593 echo "$as_me:$LINENO: result: builtin version" >&5
3594 echo "${ECHO_T}builtin version" >&6
3595 else
3596 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3597 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3598 { (exit 1); exit 1; }; }
3599 fi
3600
3601
3602 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3603 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3604 no_cache=0
3605
3606 # Check whether --with-zlib or --without-zlib was given.
3607 if test "${with_zlib+set}" = set; then
3608 withval="$with_zlib"
3609
3610 if test "$withval" = yes; then
3611 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3612 elif test "$withval" = no; then
3613 ac_cv_use_zlib='wxUSE_ZLIB=no'
3614 elif test "$withval" = sys; then
3615 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3616 elif test "$withval" = builtin; then
3617 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3618 else
3619 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3620 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3621 { (exit 1); exit 1; }; }
3622 fi
3623
3624 else
3625
3626 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x ; then
3628 eval "DEFAULT_$LINE"
3629 else
3630 no_cache=1
3631 fi
3632
3633 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3634
3635 fi;
3636
3637 eval "$ac_cv_use_zlib"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3640 fi
3641
3642 if test "$wxUSE_ZLIB" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3645 elif test "$wxUSE_ZLIB" = no; then
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3648 elif test "$wxUSE_ZLIB" = sys; then
3649 echo "$as_me:$LINENO: result: system version" >&5
3650 echo "${ECHO_T}system version" >&6
3651 elif test "$wxUSE_ZLIB" = builtin; then
3652 echo "$as_me:$LINENO: result: builtin version" >&5
3653 echo "${ECHO_T}builtin version" >&6
3654 else
3655 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3656 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3657 { (exit 1); exit 1; }; }
3658 fi
3659
3660
3661 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3662 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3663 no_cache=0
3664
3665 # Check whether --with-odbc or --without-odbc was given.
3666 if test "${with_odbc+set}" = set; then
3667 withval="$with_odbc"
3668
3669 if test "$withval" = yes; then
3670 ac_cv_use_odbc='wxUSE_ODBC=yes'
3671 elif test "$withval" = no; then
3672 ac_cv_use_odbc='wxUSE_ODBC=no'
3673 elif test "$withval" = sys; then
3674 ac_cv_use_odbc='wxUSE_ODBC=sys'
3675 elif test "$withval" = builtin; then
3676 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3677 else
3678 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3679 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3680 { (exit 1); exit 1; }; }
3681 fi
3682
3683 else
3684
3685 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3686 if test "x$LINE" != x ; then
3687 eval "DEFAULT_$LINE"
3688 else
3689 no_cache=1
3690 fi
3691
3692 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3693
3694 fi;
3695
3696 eval "$ac_cv_use_odbc"
3697 if test "$no_cache" != 1; then
3698 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3699 fi
3700
3701 if test "$wxUSE_ODBC" = yes; then
3702 echo "$as_me:$LINENO: result: yes" >&5
3703 echo "${ECHO_T}yes" >&6
3704 elif test "$wxUSE_ODBC" = no; then
3705 echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6
3707 elif test "$wxUSE_ODBC" = sys; then
3708 echo "$as_me:$LINENO: result: system version" >&5
3709 echo "${ECHO_T}system version" >&6
3710 elif test "$wxUSE_ODBC" = builtin; then
3711 echo "$as_me:$LINENO: result: builtin version" >&5
3712 echo "${ECHO_T}builtin version" >&6
3713 else
3714 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3715 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3716 { (exit 1); exit 1; }; }
3717 fi
3718
3719
3720 echo "$as_me:$LINENO: checking for --with-expat" >&5
3721 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3722 no_cache=0
3723
3724 # Check whether --with-expat or --without-expat was given.
3725 if test "${with_expat+set}" = set; then
3726 withval="$with_expat"
3727
3728 if test "$withval" = yes; then
3729 ac_cv_use_expat='wxUSE_EXPAT=yes'
3730 elif test "$withval" = no; then
3731 ac_cv_use_expat='wxUSE_EXPAT=no'
3732 elif test "$withval" = sys; then
3733 ac_cv_use_expat='wxUSE_EXPAT=sys'
3734 elif test "$withval" = builtin; then
3735 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3736 else
3737 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3738 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3739 { (exit 1); exit 1; }; }
3740 fi
3741
3742 else
3743
3744 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x ; then
3746 eval "DEFAULT_$LINE"
3747 else
3748 no_cache=1
3749 fi
3750
3751 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3752
3753 fi;
3754
3755 eval "$ac_cv_use_expat"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3758 fi
3759
3760 if test "$wxUSE_EXPAT" = yes; then
3761 echo "$as_me:$LINENO: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6
3763 elif test "$wxUSE_EXPAT" = no; then
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3766 elif test "$wxUSE_EXPAT" = sys; then
3767 echo "$as_me:$LINENO: result: system version" >&5
3768 echo "${ECHO_T}system version" >&6
3769 elif test "$wxUSE_EXPAT" = builtin; then
3770 echo "$as_me:$LINENO: result: builtin version" >&5
3771 echo "${ECHO_T}builtin version" >&6
3772 else
3773 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3774 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3775 { (exit 1); exit 1; }; }
3776 fi
3777
3778
3779
3780
3781 enablestring=
3782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3783 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3784 no_cache=0
3785 # Check whether --enable-shared or --disable-shared was given.
3786 if test "${enable_shared+set}" = set; then
3787 enableval="$enable_shared"
3788
3789 if test "$enableval" = yes; then
3790 ac_cv_use_shared='wxUSE_SHARED=yes'
3791 else
3792 ac_cv_use_shared='wxUSE_SHARED=no'
3793 fi
3794
3795 else
3796
3797 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x ; then
3799 eval "DEFAULT_$LINE"
3800 else
3801 no_cache=1
3802 fi
3803
3804 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3805
3806 fi;
3807
3808 eval "$ac_cv_use_shared"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3811 fi
3812
3813 if test "$wxUSE_SHARED" = yes; then
3814 echo "$as_me:$LINENO: result: yes" >&5
3815 echo "${ECHO_T}yes" >&6
3816 else
3817 echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6
3819 fi
3820
3821
3822 enablestring=
3823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3824 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3825 no_cache=0
3826 # Check whether --enable-optimise or --disable-optimise was given.
3827 if test "${enable_optimise+set}" = set; then
3828 enableval="$enable_optimise"
3829
3830 if test "$enableval" = yes; then
3831 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3832 else
3833 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3834 fi
3835
3836 else
3837
3838 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x ; then
3840 eval "DEFAULT_$LINE"
3841 else
3842 no_cache=1
3843 fi
3844
3845 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3846
3847 fi;
3848
3849 eval "$ac_cv_use_optimise"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3852 fi
3853
3854 if test "$wxUSE_OPTIMISE" = yes; then
3855 echo "$as_me:$LINENO: result: yes" >&5
3856 echo "${ECHO_T}yes" >&6
3857 else
3858 echo "$as_me:$LINENO: result: no" >&5
3859 echo "${ECHO_T}no" >&6
3860 fi
3861
3862
3863 enablestring=
3864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3865 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3866 no_cache=0
3867 # Check whether --enable-debug or --disable-debug was given.
3868 if test "${enable_debug+set}" = set; then
3869 enableval="$enable_debug"
3870
3871 if test "$enableval" = yes; then
3872 ac_cv_use_debug='wxUSE_DEBUG=yes'
3873 else
3874 ac_cv_use_debug='wxUSE_DEBUG=no'
3875 fi
3876
3877 else
3878
3879 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x ; then
3881 eval "DEFAULT_$LINE"
3882 else
3883 no_cache=1
3884 fi
3885
3886 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3887
3888 fi;
3889
3890 eval "$ac_cv_use_debug"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3893 fi
3894
3895 if test "$wxUSE_DEBUG" = yes; then
3896 echo "$as_me:$LINENO: result: yes" >&5
3897 echo "${ECHO_T}yes" >&6
3898 else
3899 echo "$as_me:$LINENO: result: no" >&5
3900 echo "${ECHO_T}no" >&6
3901 fi
3902
3903
3904 enablestring=
3905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3906 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3907 no_cache=0
3908 # Check whether --enable-stl or --disable-stl was given.
3909 if test "${enable_stl+set}" = set; then
3910 enableval="$enable_stl"
3911
3912 if test "$enableval" = yes; then
3913 ac_cv_use_stl='wxUSE_STL=yes'
3914 else
3915 ac_cv_use_stl='wxUSE_STL=no'
3916 fi
3917
3918 else
3919
3920 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x ; then
3922 eval "DEFAULT_$LINE"
3923 else
3924 no_cache=1
3925 fi
3926
3927 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3928
3929 fi;
3930
3931 eval "$ac_cv_use_stl"
3932 if test "$no_cache" != 1; then
3933 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3934 fi
3935
3936 if test "$wxUSE_STL" = yes; then
3937 echo "$as_me:$LINENO: result: yes" >&5
3938 echo "${ECHO_T}yes" >&6
3939 else
3940 echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6
3942 fi
3943
3944 if test "$USE_OS2" = "1"; then
3945 DEFAULT_wxUSE_OMF=no
3946
3947 enablestring=
3948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3949 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3950 no_cache=0
3951 # Check whether --enable-omf or --disable-omf was given.
3952 if test "${enable_omf+set}" = set; then
3953 enableval="$enable_omf"
3954
3955 if test "$enableval" = yes; then
3956 ac_cv_use_omf='wxUSE_OMF=yes'
3957 else
3958 ac_cv_use_omf='wxUSE_OMF=no'
3959 fi
3960
3961 else
3962
3963 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x ; then
3965 eval "DEFAULT_$LINE"
3966 else
3967 no_cache=1
3968 fi
3969
3970 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3971
3972 fi;
3973
3974 eval "$ac_cv_use_omf"
3975 if test "$no_cache" != 1; then
3976 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3977 fi
3978
3979 if test "$wxUSE_OMF" = yes; then
3980 echo "$as_me:$LINENO: result: yes" >&5
3981 echo "${ECHO_T}yes" >&6
3982 else
3983 echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6
3985 fi
3986
3987 fi
3988
3989 if test "$wxUSE_DEBUG" = "yes"; then
3990 DEFAULT_wxUSE_DEBUG_FLAG=yes
3991 DEFAULT_wxUSE_DEBUG_INFO=yes
3992 BUILD=debug
3993 elif test "$wxUSE_DEBUG" = "no"; then
3994 DEFAULT_wxUSE_DEBUG_FLAG=no
3995 DEFAULT_wxUSE_DEBUG_INFO=no
3996 BUILD=release
3997 fi
3998
3999
4000 enablestring=
4001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4002 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4003 no_cache=0
4004 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4005 if test "${enable_debug_flag+set}" = set; then
4006 enableval="$enable_debug_flag"
4007
4008 if test "$enableval" = yes; then
4009 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4010 else
4011 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4012 fi
4013
4014 else
4015
4016 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4017 if test "x$LINE" != x ; then
4018 eval "DEFAULT_$LINE"
4019 else
4020 no_cache=1
4021 fi
4022
4023 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4024
4025 fi;
4026
4027 eval "$ac_cv_use_debug_flag"
4028 if test "$no_cache" != 1; then
4029 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4030 fi
4031
4032 if test "$wxUSE_DEBUG_FLAG" = yes; then
4033 echo "$as_me:$LINENO: result: yes" >&5
4034 echo "${ECHO_T}yes" >&6
4035 else
4036 echo "$as_me:$LINENO: result: no" >&5
4037 echo "${ECHO_T}no" >&6
4038 fi
4039
4040
4041 enablestring=
4042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4043 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4044 no_cache=0
4045 # Check whether --enable-debug_info or --disable-debug_info was given.
4046 if test "${enable_debug_info+set}" = set; then
4047 enableval="$enable_debug_info"
4048
4049 if test "$enableval" = yes; then
4050 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4051 else
4052 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4053 fi
4054
4055 else
4056
4057 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4058 if test "x$LINE" != x ; then
4059 eval "DEFAULT_$LINE"
4060 else
4061 no_cache=1
4062 fi
4063
4064 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4065
4066 fi;
4067
4068 eval "$ac_cv_use_debug_info"
4069 if test "$no_cache" != 1; then
4070 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4071 fi
4072
4073 if test "$wxUSE_DEBUG_INFO" = yes; then
4074 echo "$as_me:$LINENO: result: yes" >&5
4075 echo "${ECHO_T}yes" >&6
4076 else
4077 echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4079 fi
4080
4081
4082 enablestring=
4083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4084 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4085 no_cache=0
4086 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4087 if test "${enable_debug_gdb+set}" = set; then
4088 enableval="$enable_debug_gdb"
4089
4090 if test "$enableval" = yes; then
4091 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4092 else
4093 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4094 fi
4095
4096 else
4097
4098 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4099 if test "x$LINE" != x ; then
4100 eval "DEFAULT_$LINE"
4101 else
4102 no_cache=1
4103 fi
4104
4105 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4106
4107 fi;
4108
4109 eval "$ac_cv_use_debug_gdb"
4110 if test "$no_cache" != 1; then
4111 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4112 fi
4113
4114 if test "$wxUSE_DEBUG_GDB" = yes; then
4115 echo "$as_me:$LINENO: result: yes" >&5
4116 echo "${ECHO_T}yes" >&6
4117 else
4118 echo "$as_me:$LINENO: result: no" >&5
4119 echo "${ECHO_T}no" >&6
4120 fi
4121
4122
4123 enablestring=
4124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4126 no_cache=0
4127 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4128 if test "${enable_debug_cntxt+set}" = set; then
4129 enableval="$enable_debug_cntxt"
4130
4131 if test "$enableval" = yes; then
4132 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4133 else
4134 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4135 fi
4136
4137 else
4138
4139 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4140 if test "x$LINE" != x ; then
4141 eval "DEFAULT_$LINE"
4142 else
4143 no_cache=1
4144 fi
4145
4146 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4147
4148 fi;
4149
4150 eval "$ac_cv_use_debug_cntxt"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4153 fi
4154
4155 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4156 echo "$as_me:$LINENO: result: yes" >&5
4157 echo "${ECHO_T}yes" >&6
4158 else
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4161 fi
4162
4163
4164 enablestring=
4165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4167 no_cache=0
4168 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4169 if test "${enable_mem_tracing+set}" = set; then
4170 enableval="$enable_mem_tracing"
4171
4172 if test "$enableval" = yes; then
4173 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4174 else
4175 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4176 fi
4177
4178 else
4179
4180 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x ; then
4182 eval "DEFAULT_$LINE"
4183 else
4184 no_cache=1
4185 fi
4186
4187 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4188
4189 fi;
4190
4191 eval "$ac_cv_use_mem_tracing"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4194 fi
4195
4196 if test "$wxUSE_MEM_TRACING" = yes; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4199 else
4200 echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6
4202 fi
4203
4204
4205 enablestring=
4206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4207 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4208 no_cache=0
4209 # Check whether --enable-profile or --disable-profile was given.
4210 if test "${enable_profile+set}" = set; then
4211 enableval="$enable_profile"
4212
4213 if test "$enableval" = yes; then
4214 ac_cv_use_profile='wxUSE_PROFILE=yes'
4215 else
4216 ac_cv_use_profile='wxUSE_PROFILE=no'
4217 fi
4218
4219 else
4220
4221 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4222 if test "x$LINE" != x ; then
4223 eval "DEFAULT_$LINE"
4224 else
4225 no_cache=1
4226 fi
4227
4228 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4229
4230 fi;
4231
4232 eval "$ac_cv_use_profile"
4233 if test "$no_cache" != 1; then
4234 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4235 fi
4236
4237 if test "$wxUSE_PROFILE" = yes; then
4238 echo "$as_me:$LINENO: result: yes" >&5
4239 echo "${ECHO_T}yes" >&6
4240 else
4241 echo "$as_me:$LINENO: result: no" >&5
4242 echo "${ECHO_T}no" >&6
4243 fi
4244
4245
4246 enablestring=
4247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4248 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4249 no_cache=0
4250 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4251 if test "${enable_no_rtti+set}" = set; then
4252 enableval="$enable_no_rtti"
4253
4254 if test "$enableval" = yes; then
4255 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4256 else
4257 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4258 fi
4259
4260 else
4261
4262 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4263 if test "x$LINE" != x ; then
4264 eval "DEFAULT_$LINE"
4265 else
4266 no_cache=1
4267 fi
4268
4269 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4270
4271 fi;
4272
4273 eval "$ac_cv_use_no_rtti"
4274 if test "$no_cache" != 1; then
4275 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4276 fi
4277
4278 if test "$wxUSE_NO_RTTI" = yes; then
4279 echo "$as_me:$LINENO: result: yes" >&5
4280 echo "${ECHO_T}yes" >&6
4281 else
4282 echo "$as_me:$LINENO: result: no" >&5
4283 echo "${ECHO_T}no" >&6
4284 fi
4285
4286
4287 enablestring=
4288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4289 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4290 no_cache=0
4291 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4292 if test "${enable_no_exceptions+set}" = set; then
4293 enableval="$enable_no_exceptions"
4294
4295 if test "$enableval" = yes; then
4296 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4297 else
4298 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4299 fi
4300
4301 else
4302
4303 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4304 if test "x$LINE" != x ; then
4305 eval "DEFAULT_$LINE"
4306 else
4307 no_cache=1
4308 fi
4309
4310 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4311
4312 fi;
4313
4314 eval "$ac_cv_use_no_exceptions"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4317 fi
4318
4319 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4320 echo "$as_me:$LINENO: result: yes" >&5
4321 echo "${ECHO_T}yes" >&6
4322 else
4323 echo "$as_me:$LINENO: result: no" >&5
4324 echo "${ECHO_T}no" >&6
4325 fi
4326
4327
4328 enablestring=
4329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4330 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4331 no_cache=0
4332 # Check whether --enable-permissive or --disable-permissive was given.
4333 if test "${enable_permissive+set}" = set; then
4334 enableval="$enable_permissive"
4335
4336 if test "$enableval" = yes; then
4337 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4338 else
4339 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4340 fi
4341
4342 else
4343
4344 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x ; then
4346 eval "DEFAULT_$LINE"
4347 else
4348 no_cache=1
4349 fi
4350
4351 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4352
4353 fi;
4354
4355 eval "$ac_cv_use_permissive"
4356 if test "$no_cache" != 1; then
4357 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4358 fi
4359
4360 if test "$wxUSE_PERMISSIVE" = yes; then
4361 echo "$as_me:$LINENO: result: yes" >&5
4362 echo "${ECHO_T}yes" >&6
4363 else
4364 echo "$as_me:$LINENO: result: no" >&5
4365 echo "${ECHO_T}no" >&6
4366 fi
4367
4368
4369 enablestring=
4370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4371 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4372 no_cache=0
4373 # Check whether --enable-no_deps or --disable-no_deps was given.
4374 if test "${enable_no_deps+set}" = set; then
4375 enableval="$enable_no_deps"
4376
4377 if test "$enableval" = yes; then
4378 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4379 else
4380 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4381 fi
4382
4383 else
4384
4385 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4386 if test "x$LINE" != x ; then
4387 eval "DEFAULT_$LINE"
4388 else
4389 no_cache=1
4390 fi
4391
4392 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4393
4394 fi;
4395
4396 eval "$ac_cv_use_no_deps"
4397 if test "$no_cache" != 1; then
4398 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4399 fi
4400
4401 if test "$wxUSE_NO_DEPS" = yes; then
4402 echo "$as_me:$LINENO: result: yes" >&5
4403 echo "${ECHO_T}yes" >&6
4404 else
4405 echo "$as_me:$LINENO: result: no" >&5
4406 echo "${ECHO_T}no" >&6
4407 fi
4408
4409
4410 enablestring=
4411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4412 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4413 no_cache=0
4414 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4415 if test "${enable_universal_binary+set}" = set; then
4416 enableval="$enable_universal_binary"
4417
4418 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4419
4420 else
4421
4422 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x ; then
4424 eval "DEFAULT_$LINE"
4425 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4426 else
4427 no_cache=1
4428 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4429 fi
4430
4431 fi;
4432
4433 eval "$wx_cv_use_universal_binary"
4434 if test "$no_cache" != 1; then
4435 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4436 fi
4437
4438 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4439 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4440
4441
4442
4443 enablestring=enable
4444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4446 no_cache=0
4447 # Check whether --enable-compat24 or --disable-compat24 was given.
4448 if test "${enable_compat24+set}" = set; then
4449 enableval="$enable_compat24"
4450
4451 if test "$enableval" = yes; then
4452 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4453 else
4454 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4455 fi
4456
4457 else
4458
4459 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x ; then
4461 eval "DEFAULT_$LINE"
4462 else
4463 no_cache=1
4464 fi
4465
4466 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4467
4468 fi;
4469
4470 eval "$ac_cv_use_compat24"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4473 fi
4474
4475 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4476 echo "$as_me:$LINENO: result: yes" >&5
4477 echo "${ECHO_T}yes" >&6
4478 else
4479 echo "$as_me:$LINENO: result: no" >&5
4480 echo "${ECHO_T}no" >&6
4481 fi
4482
4483
4484 enablestring=disable
4485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4486 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4487 no_cache=0
4488 # Check whether --enable-compat26 or --disable-compat26 was given.
4489 if test "${enable_compat26+set}" = set; then
4490 enableval="$enable_compat26"
4491
4492 if test "$enableval" = yes; then
4493 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4494 else
4495 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4496 fi
4497
4498 else
4499
4500 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4501 if test "x$LINE" != x ; then
4502 eval "DEFAULT_$LINE"
4503 else
4504 no_cache=1
4505 fi
4506
4507 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4508
4509 fi;
4510
4511 eval "$ac_cv_use_compat26"
4512 if test "$no_cache" != 1; then
4513 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4514 fi
4515
4516 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4517 echo "$as_me:$LINENO: result: yes" >&5
4518 echo "${ECHO_T}yes" >&6
4519 else
4520 echo "$as_me:$LINENO: result: no" >&5
4521 echo "${ECHO_T}no" >&6
4522 fi
4523
4524
4525
4526 enablestring=
4527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4528 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4529 no_cache=0
4530 # Check whether --enable-rpath or --disable-rpath was given.
4531 if test "${enable_rpath+set}" = set; then
4532 enableval="$enable_rpath"
4533
4534 if test "$enableval" = yes; then
4535 ac_cv_use_rpath='wxUSE_RPATH=yes'
4536 else
4537 ac_cv_use_rpath='wxUSE_RPATH=no'
4538 fi
4539
4540 else
4541
4542 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4543 if test "x$LINE" != x ; then
4544 eval "DEFAULT_$LINE"
4545 else
4546 no_cache=1
4547 fi
4548
4549 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4550
4551 fi;
4552
4553 eval "$ac_cv_use_rpath"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4556 fi
4557
4558 if test "$wxUSE_RPATH" = yes; then
4559 echo "$as_me:$LINENO: result: yes" >&5
4560 echo "${ECHO_T}yes" >&6
4561 else
4562 echo "$as_me:$LINENO: result: no" >&5
4563 echo "${ECHO_T}no" >&6
4564 fi
4565
4566
4567
4568
4569
4570 enablestring=
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4573 no_cache=0
4574 # Check whether --enable-intl or --disable-intl was given.
4575 if test "${enable_intl+set}" = set; then
4576 enableval="$enable_intl"
4577
4578 if test "$enableval" = yes; then
4579 ac_cv_use_intl='wxUSE_INTL=yes'
4580 else
4581 ac_cv_use_intl='wxUSE_INTL=no'
4582 fi
4583
4584 else
4585
4586 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4589 else
4590 no_cache=1
4591 fi
4592
4593 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4594
4595 fi;
4596
4597 eval "$ac_cv_use_intl"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4600 fi
4601
4602 if test "$wxUSE_INTL" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4605 else
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4608 fi
4609
4610
4611 enablestring=
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4614 no_cache=0
4615 # Check whether --enable-config or --disable-config was given.
4616 if test "${enable_config+set}" = set; then
4617 enableval="$enable_config"
4618
4619 if test "$enableval" = yes; then
4620 ac_cv_use_config='wxUSE_CONFIG=yes'
4621 else
4622 ac_cv_use_config='wxUSE_CONFIG=no'
4623 fi
4624
4625 else
4626
4627 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x ; then
4629 eval "DEFAULT_$LINE"
4630 else
4631 no_cache=1
4632 fi
4633
4634 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4635
4636 fi;
4637
4638 eval "$ac_cv_use_config"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4641 fi
4642
4643 if test "$wxUSE_CONFIG" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4646 else
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4649 fi
4650
4651
4652
4653 enablestring=
4654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4655 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4656 no_cache=0
4657 # Check whether --enable-protocols or --disable-protocols was given.
4658 if test "${enable_protocols+set}" = set; then
4659 enableval="$enable_protocols"
4660
4661 if test "$enableval" = yes; then
4662 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4663 else
4664 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4665 fi
4666
4667 else
4668
4669 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x ; then
4671 eval "DEFAULT_$LINE"
4672 else
4673 no_cache=1
4674 fi
4675
4676 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4677
4678 fi;
4679
4680 eval "$ac_cv_use_protocols"
4681 if test "$no_cache" != 1; then
4682 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4683 fi
4684
4685 if test "$wxUSE_PROTOCOL" = yes; then
4686 echo "$as_me:$LINENO: result: yes" >&5
4687 echo "${ECHO_T}yes" >&6
4688 else
4689 echo "$as_me:$LINENO: result: no" >&5
4690 echo "${ECHO_T}no" >&6
4691 fi
4692
4693
4694 enablestring=
4695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4697 no_cache=0
4698 # Check whether --enable-ftp or --disable-ftp was given.
4699 if test "${enable_ftp+set}" = set; then
4700 enableval="$enable_ftp"
4701
4702 if test "$enableval" = yes; then
4703 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4704 else
4705 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4706 fi
4707
4708 else
4709
4710 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4711 if test "x$LINE" != x ; then
4712 eval "DEFAULT_$LINE"
4713 else
4714 no_cache=1
4715 fi
4716
4717 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4718
4719 fi;
4720
4721 eval "$ac_cv_use_ftp"
4722 if test "$no_cache" != 1; then
4723 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4724 fi
4725
4726 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4727 echo "$as_me:$LINENO: result: yes" >&5
4728 echo "${ECHO_T}yes" >&6
4729 else
4730 echo "$as_me:$LINENO: result: no" >&5
4731 echo "${ECHO_T}no" >&6
4732 fi
4733
4734
4735 enablestring=
4736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4738 no_cache=0
4739 # Check whether --enable-http or --disable-http was given.
4740 if test "${enable_http+set}" = set; then
4741 enableval="$enable_http"
4742
4743 if test "$enableval" = yes; then
4744 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4745 else
4746 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4747 fi
4748
4749 else
4750
4751 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4752 if test "x$LINE" != x ; then
4753 eval "DEFAULT_$LINE"
4754 else
4755 no_cache=1
4756 fi
4757
4758 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4759
4760 fi;
4761
4762 eval "$ac_cv_use_http"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4765 fi
4766
4767 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4768 echo "$as_me:$LINENO: result: yes" >&5
4769 echo "${ECHO_T}yes" >&6
4770 else
4771 echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6
4773 fi
4774
4775
4776 enablestring=
4777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4778 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4779 no_cache=0
4780 # Check whether --enable-fileproto or --disable-fileproto was given.
4781 if test "${enable_fileproto+set}" = set; then
4782 enableval="$enable_fileproto"
4783
4784 if test "$enableval" = yes; then
4785 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4786 else
4787 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4788 fi
4789
4790 else
4791
4792 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x ; then
4794 eval "DEFAULT_$LINE"
4795 else
4796 no_cache=1
4797 fi
4798
4799 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4800
4801 fi;
4802
4803 eval "$ac_cv_use_fileproto"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4806 fi
4807
4808 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4809 echo "$as_me:$LINENO: result: yes" >&5
4810 echo "${ECHO_T}yes" >&6
4811 else
4812 echo "$as_me:$LINENO: result: no" >&5
4813 echo "${ECHO_T}no" >&6
4814 fi
4815
4816
4817 enablestring=
4818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4819 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4820 no_cache=0
4821 # Check whether --enable-sockets or --disable-sockets was given.
4822 if test "${enable_sockets+set}" = set; then
4823 enableval="$enable_sockets"
4824
4825 if test "$enableval" = yes; then
4826 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4827 else
4828 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4829 fi
4830
4831 else
4832
4833 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4834 if test "x$LINE" != x ; then
4835 eval "DEFAULT_$LINE"
4836 else
4837 no_cache=1
4838 fi
4839
4840 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4841
4842 fi;
4843
4844 eval "$ac_cv_use_sockets"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4847 fi
4848
4849 if test "$wxUSE_SOCKETS" = yes; then
4850 echo "$as_me:$LINENO: result: yes" >&5
4851 echo "${ECHO_T}yes" >&6
4852 else
4853 echo "$as_me:$LINENO: result: no" >&5
4854 echo "${ECHO_T}no" >&6
4855 fi
4856
4857
4858 enablestring=
4859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4860 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4861 no_cache=0
4862 # Check whether --enable-ole or --disable-ole was given.
4863 if test "${enable_ole+set}" = set; then
4864 enableval="$enable_ole"
4865
4866 if test "$enableval" = yes; then
4867 ac_cv_use_ole='wxUSE_OLE=yes'
4868 else
4869 ac_cv_use_ole='wxUSE_OLE=no'
4870 fi
4871
4872 else
4873
4874 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x ; then
4876 eval "DEFAULT_$LINE"
4877 else
4878 no_cache=1
4879 fi
4880
4881 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4882
4883 fi;
4884
4885 eval "$ac_cv_use_ole"
4886 if test "$no_cache" != 1; then
4887 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4888 fi
4889
4890 if test "$wxUSE_OLE" = yes; then
4891 echo "$as_me:$LINENO: result: yes" >&5
4892 echo "${ECHO_T}yes" >&6
4893 else
4894 echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6
4896 fi
4897
4898
4899 enablestring=
4900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4901 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4902 no_cache=0
4903 # Check whether --enable-dataobj or --disable-dataobj was given.
4904 if test "${enable_dataobj+set}" = set; then
4905 enableval="$enable_dataobj"
4906
4907 if test "$enableval" = yes; then
4908 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4909 else
4910 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4911 fi
4912
4913 else
4914
4915 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4916 if test "x$LINE" != x ; then
4917 eval "DEFAULT_$LINE"
4918 else
4919 no_cache=1
4920 fi
4921
4922 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4923
4924 fi;
4925
4926 eval "$ac_cv_use_dataobj"
4927 if test "$no_cache" != 1; then
4928 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4929 fi
4930
4931 if test "$wxUSE_DATAOBJ" = yes; then
4932 echo "$as_me:$LINENO: result: yes" >&5
4933 echo "${ECHO_T}yes" >&6
4934 else
4935 echo "$as_me:$LINENO: result: no" >&5
4936 echo "${ECHO_T}no" >&6
4937 fi
4938
4939
4940
4941 enablestring=
4942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4944 no_cache=0
4945 # Check whether --enable-ipc or --disable-ipc was given.
4946 if test "${enable_ipc+set}" = set; then
4947 enableval="$enable_ipc"
4948
4949 if test "$enableval" = yes; then
4950 ac_cv_use_ipc='wxUSE_IPC=yes'
4951 else
4952 ac_cv_use_ipc='wxUSE_IPC=no'
4953 fi
4954
4955 else
4956
4957 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x ; then
4959 eval "DEFAULT_$LINE"
4960 else
4961 no_cache=1
4962 fi
4963
4964 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4965
4966 fi;
4967
4968 eval "$ac_cv_use_ipc"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4971 fi
4972
4973 if test "$wxUSE_IPC" = yes; then
4974 echo "$as_me:$LINENO: result: yes" >&5
4975 echo "${ECHO_T}yes" >&6
4976 else
4977 echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6
4979 fi
4980
4981
4982
4983 enablestring=
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4986 no_cache=0
4987 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4988 if test "${enable_apple_ieee+set}" = set; then
4989 enableval="$enable_apple_ieee"
4990
4991 if test "$enableval" = yes; then
4992 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4993 else
4994 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4995 fi
4996
4997 else
4998
4999 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x ; then
5001 eval "DEFAULT_$LINE"
5002 else
5003 no_cache=1
5004 fi
5005
5006 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5007
5008 fi;
5009
5010 eval "$ac_cv_use_apple_ieee"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5013 fi
5014
5015 if test "$wxUSE_APPLE_IEEE" = yes; then
5016 echo "$as_me:$LINENO: result: yes" >&5
5017 echo "${ECHO_T}yes" >&6
5018 else
5019 echo "$as_me:$LINENO: result: no" >&5
5020 echo "${ECHO_T}no" >&6
5021 fi
5022
5023
5024 enablestring=
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5027 no_cache=0
5028 # Check whether --enable-arcstream or --disable-arcstream was given.
5029 if test "${enable_arcstream+set}" = set; then
5030 enableval="$enable_arcstream"
5031
5032 if test "$enableval" = yes; then
5033 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5034 else
5035 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5036 fi
5037
5038 else
5039
5040 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x ; then
5042 eval "DEFAULT_$LINE"
5043 else
5044 no_cache=1
5045 fi
5046
5047 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5048
5049 fi;
5050
5051 eval "$ac_cv_use_arcstream"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5054 fi
5055
5056 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5057 echo "$as_me:$LINENO: result: yes" >&5
5058 echo "${ECHO_T}yes" >&6
5059 else
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5062 fi
5063
5064
5065 enablestring=
5066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backingfile" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-backingfile... $ECHO_C" >&6
5068 no_cache=0
5069 # Check whether --enable-backingfile or --disable-backingfile was given.
5070 if test "${enable_backingfile+set}" = set; then
5071 enableval="$enable_backingfile"
5072
5073 if test "$enableval" = yes; then
5074 ac_cv_use_backingfile='wxUSE_BACKINGFILE=yes'
5075 else
5076 ac_cv_use_backingfile='wxUSE_BACKINGFILE=no'
5077 fi
5078
5079 else
5080
5081 LINE=`grep "wxUSE_BACKINGFILE" ${wx_arg_cache_file}`
5082 if test "x$LINE" != x ; then
5083 eval "DEFAULT_$LINE"
5084 else
5085 no_cache=1
5086 fi
5087
5088 ac_cv_use_backingfile='wxUSE_BACKINGFILE='$DEFAULT_wxUSE_BACKINGFILE
5089
5090 fi;
5091
5092 eval "$ac_cv_use_backingfile"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_backingfile >> ${wx_arg_cache_file}.tmp
5095 fi
5096
5097 if test "$wxUSE_BACKINGFILE" = yes; then
5098 echo "$as_me:$LINENO: result: yes" >&5
5099 echo "${ECHO_T}yes" >&6
5100 else
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5103 fi
5104
5105
5106 enablestring=
5107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5109 no_cache=0
5110 # Check whether --enable-backtrace or --disable-backtrace was given.
5111 if test "${enable_backtrace+set}" = set; then
5112 enableval="$enable_backtrace"
5113
5114 if test "$enableval" = yes; then
5115 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5116 else
5117 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5118 fi
5119
5120 else
5121
5122 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5123 if test "x$LINE" != x ; then
5124 eval "DEFAULT_$LINE"
5125 else
5126 no_cache=1
5127 fi
5128
5129 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5130
5131 fi;
5132
5133 eval "$ac_cv_use_backtrace"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5136 fi
5137
5138 if test "$wxUSE_STACKWALKER" = yes; then
5139 echo "$as_me:$LINENO: result: yes" >&5
5140 echo "${ECHO_T}yes" >&6
5141 else
5142 echo "$as_me:$LINENO: result: no" >&5
5143 echo "${ECHO_T}no" >&6
5144 fi
5145
5146
5147 enablestring=
5148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5150 no_cache=0
5151 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5152 if test "${enable_catch_segvs+set}" = set; then
5153 enableval="$enable_catch_segvs"
5154
5155 if test "$enableval" = yes; then
5156 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5157 else
5158 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5159 fi
5160
5161 else
5162
5163 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x ; then
5165 eval "DEFAULT_$LINE"
5166 else
5167 no_cache=1
5168 fi
5169
5170 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5171
5172 fi;
5173
5174 eval "$ac_cv_use_catch_segvs"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5177 fi
5178
5179 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5180 echo "$as_me:$LINENO: result: yes" >&5
5181 echo "${ECHO_T}yes" >&6
5182 else
5183 echo "$as_me:$LINENO: result: no" >&5
5184 echo "${ECHO_T}no" >&6
5185 fi
5186
5187
5188 enablestring=
5189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5191 no_cache=0
5192 # Check whether --enable-cmdline or --disable-cmdline was given.
5193 if test "${enable_cmdline+set}" = set; then
5194 enableval="$enable_cmdline"
5195
5196 if test "$enableval" = yes; then
5197 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5198 else
5199 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5200 fi
5201
5202 else
5203
5204 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5205 if test "x$LINE" != x ; then
5206 eval "DEFAULT_$LINE"
5207 else
5208 no_cache=1
5209 fi
5210
5211 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5212
5213 fi;
5214
5215 eval "$ac_cv_use_cmdline"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5218 fi
5219
5220 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5221 echo "$as_me:$LINENO: result: yes" >&5
5222 echo "${ECHO_T}yes" >&6
5223 else
5224 echo "$as_me:$LINENO: result: no" >&5
5225 echo "${ECHO_T}no" >&6
5226 fi
5227
5228
5229 enablestring=
5230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5232 no_cache=0
5233 # Check whether --enable-datetime or --disable-datetime was given.
5234 if test "${enable_datetime+set}" = set; then
5235 enableval="$enable_datetime"
5236
5237 if test "$enableval" = yes; then
5238 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5239 else
5240 ac_cv_use_datetime='wxUSE_DATETIME=no'
5241 fi
5242
5243 else
5244
5245 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x ; then
5247 eval "DEFAULT_$LINE"
5248 else
5249 no_cache=1
5250 fi
5251
5252 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5253
5254 fi;
5255
5256 eval "$ac_cv_use_datetime"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5259 fi
5260
5261 if test "$wxUSE_DATETIME" = yes; then
5262 echo "$as_me:$LINENO: result: yes" >&5
5263 echo "${ECHO_T}yes" >&6
5264 else
5265 echo "$as_me:$LINENO: result: no" >&5
5266 echo "${ECHO_T}no" >&6
5267 fi
5268
5269
5270 enablestring=
5271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5273 no_cache=0
5274 # Check whether --enable-debugreport or --disable-debugreport was given.
5275 if test "${enable_debugreport+set}" = set; then
5276 enableval="$enable_debugreport"
5277
5278 if test "$enableval" = yes; then
5279 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5280 else
5281 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5282 fi
5283
5284 else
5285
5286 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x ; then
5288 eval "DEFAULT_$LINE"
5289 else
5290 no_cache=1
5291 fi
5292
5293 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5294
5295 fi;
5296
5297 eval "$ac_cv_use_debugreport"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5300 fi
5301
5302 if test "$wxUSE_DEBUGREPORT" = yes; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5305 else
5306 echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6
5308 fi
5309
5310
5311 enablestring=
5312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5314 no_cache=0
5315 # Check whether --enable-dialupman or --disable-dialupman was given.
5316 if test "${enable_dialupman+set}" = set; then
5317 enableval="$enable_dialupman"
5318
5319 if test "$enableval" = yes; then
5320 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5321 else
5322 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5323 fi
5324
5325 else
5326
5327 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x ; then
5329 eval "DEFAULT_$LINE"
5330 else
5331 no_cache=1
5332 fi
5333
5334 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5335
5336 fi;
5337
5338 eval "$ac_cv_use_dialupman"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5341 fi
5342
5343 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5344 echo "$as_me:$LINENO: result: yes" >&5
5345 echo "${ECHO_T}yes" >&6
5346 else
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5349 fi
5350
5351
5352 enablestring=
5353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5355 no_cache=0
5356 # Check whether --enable-dynlib or --disable-dynlib was given.
5357 if test "${enable_dynlib+set}" = set; then
5358 enableval="$enable_dynlib"
5359
5360 if test "$enableval" = yes; then
5361 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5362 else
5363 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5364 fi
5365
5366 else
5367
5368 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x ; then
5370 eval "DEFAULT_$LINE"
5371 else
5372 no_cache=1
5373 fi
5374
5375 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5376
5377 fi;
5378
5379 eval "$ac_cv_use_dynlib"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5382 fi
5383
5384 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5385 echo "$as_me:$LINENO: result: yes" >&5
5386 echo "${ECHO_T}yes" >&6
5387 else
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5390 fi
5391
5392
5393 enablestring=
5394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5396 no_cache=0
5397 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5398 if test "${enable_dynamicloader+set}" = set; then
5399 enableval="$enable_dynamicloader"
5400
5401 if test "$enableval" = yes; then
5402 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5403 else
5404 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5405 fi
5406
5407 else
5408
5409 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x ; then
5411 eval "DEFAULT_$LINE"
5412 else
5413 no_cache=1
5414 fi
5415
5416 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5417
5418 fi;
5419
5420 eval "$ac_cv_use_dynamicloader"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5423 fi
5424
5425 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5426 echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6
5428 else
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5431 fi
5432
5433
5434 enablestring=
5435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5437 no_cache=0
5438 # Check whether --enable-exceptions or --disable-exceptions was given.
5439 if test "${enable_exceptions+set}" = set; then
5440 enableval="$enable_exceptions"
5441
5442 if test "$enableval" = yes; then
5443 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5444 else
5445 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5446 fi
5447
5448 else
5449
5450 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x ; then
5452 eval "DEFAULT_$LINE"
5453 else
5454 no_cache=1
5455 fi
5456
5457 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5458
5459 fi;
5460
5461 eval "$ac_cv_use_exceptions"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5464 fi
5465
5466 if test "$wxUSE_EXCEPTIONS" = yes; then
5467 echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6
5469 else
5470 echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6
5472 fi
5473
5474
5475 enablestring=
5476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5478 no_cache=0
5479 # Check whether --enable-ffile or --disable-ffile was given.
5480 if test "${enable_ffile+set}" = set; then
5481 enableval="$enable_ffile"
5482
5483 if test "$enableval" = yes; then
5484 ac_cv_use_ffile='wxUSE_FFILE=yes'
5485 else
5486 ac_cv_use_ffile='wxUSE_FFILE=no'
5487 fi
5488
5489 else
5490
5491 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x ; then
5493 eval "DEFAULT_$LINE"
5494 else
5495 no_cache=1
5496 fi
5497
5498 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5499
5500 fi;
5501
5502 eval "$ac_cv_use_ffile"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5505 fi
5506
5507 if test "$wxUSE_FFILE" = yes; then
5508 echo "$as_me:$LINENO: result: yes" >&5
5509 echo "${ECHO_T}yes" >&6
5510 else
5511 echo "$as_me:$LINENO: result: no" >&5
5512 echo "${ECHO_T}no" >&6
5513 fi
5514
5515
5516 enablestring=
5517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5519 no_cache=0
5520 # Check whether --enable-file or --disable-file was given.
5521 if test "${enable_file+set}" = set; then
5522 enableval="$enable_file"
5523
5524 if test "$enableval" = yes; then
5525 ac_cv_use_file='wxUSE_FILE=yes'
5526 else
5527 ac_cv_use_file='wxUSE_FILE=no'
5528 fi
5529
5530 else
5531
5532 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x ; then
5534 eval "DEFAULT_$LINE"
5535 else
5536 no_cache=1
5537 fi
5538
5539 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5540
5541 fi;
5542
5543 eval "$ac_cv_use_file"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5546 fi
5547
5548 if test "$wxUSE_FILE" = yes; then
5549 echo "$as_me:$LINENO: result: yes" >&5
5550 echo "${ECHO_T}yes" >&6
5551 else
5552 echo "$as_me:$LINENO: result: no" >&5
5553 echo "${ECHO_T}no" >&6
5554 fi
5555
5556
5557 enablestring=
5558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5560 no_cache=0
5561 # Check whether --enable-filesystem or --disable-filesystem was given.
5562 if test "${enable_filesystem+set}" = set; then
5563 enableval="$enable_filesystem"
5564
5565 if test "$enableval" = yes; then
5566 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5567 else
5568 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5569 fi
5570
5571 else
5572
5573 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x ; then
5575 eval "DEFAULT_$LINE"
5576 else
5577 no_cache=1
5578 fi
5579
5580 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5581
5582 fi;
5583
5584 eval "$ac_cv_use_filesystem"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5587 fi
5588
5589 if test "$wxUSE_FILESYSTEM" = yes; then
5590 echo "$as_me:$LINENO: result: yes" >&5
5591 echo "${ECHO_T}yes" >&6
5592 else
5593 echo "$as_me:$LINENO: result: no" >&5
5594 echo "${ECHO_T}no" >&6
5595 fi
5596
5597
5598 enablestring=
5599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5601 no_cache=0
5602 # Check whether --enable-fontmap or --disable-fontmap was given.
5603 if test "${enable_fontmap+set}" = set; then
5604 enableval="$enable_fontmap"
5605
5606 if test "$enableval" = yes; then
5607 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5608 else
5609 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5610 fi
5611
5612 else
5613
5614 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x ; then
5616 eval "DEFAULT_$LINE"
5617 else
5618 no_cache=1
5619 fi
5620
5621 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5622
5623 fi;
5624
5625 eval "$ac_cv_use_fontmap"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5628 fi
5629
5630 if test "$wxUSE_FONTMAP" = yes; then
5631 echo "$as_me:$LINENO: result: yes" >&5
5632 echo "${ECHO_T}yes" >&6
5633 else
5634 echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6
5636 fi
5637
5638
5639 enablestring=
5640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5642 no_cache=0
5643 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5644 if test "${enable_fs_inet+set}" = set; then
5645 enableval="$enable_fs_inet"
5646
5647 if test "$enableval" = yes; then
5648 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5649 else
5650 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5651 fi
5652
5653 else
5654
5655 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x ; then
5657 eval "DEFAULT_$LINE"
5658 else
5659 no_cache=1
5660 fi
5661
5662 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5663
5664 fi;
5665
5666 eval "$ac_cv_use_fs_inet"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5669 fi
5670
5671 if test "$wxUSE_FS_INET" = yes; then
5672 echo "$as_me:$LINENO: result: yes" >&5
5673 echo "${ECHO_T}yes" >&6
5674 else
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5677 fi
5678
5679
5680 enablestring=
5681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5683 no_cache=0
5684 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5685 if test "${enable_fs_zip+set}" = set; then
5686 enableval="$enable_fs_zip"
5687
5688 if test "$enableval" = yes; then
5689 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5690 else
5691 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5692 fi
5693
5694 else
5695
5696 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x ; then
5698 eval "DEFAULT_$LINE"
5699 else
5700 no_cache=1
5701 fi
5702
5703 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5704
5705 fi;
5706
5707 eval "$ac_cv_use_fs_zip"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5710 fi
5711
5712 if test "$wxUSE_FS_ZIP" = yes; then
5713 echo "$as_me:$LINENO: result: yes" >&5
5714 echo "${ECHO_T}yes" >&6
5715 else
5716 echo "$as_me:$LINENO: result: no" >&5
5717 echo "${ECHO_T}no" >&6
5718 fi
5719
5720
5721 enablestring=
5722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5724 no_cache=0
5725 # Check whether --enable-geometry or --disable-geometry was given.
5726 if test "${enable_geometry+set}" = set; then
5727 enableval="$enable_geometry"
5728
5729 if test "$enableval" = yes; then
5730 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5731 else
5732 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5733 fi
5734
5735 else
5736
5737 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x ; then
5739 eval "DEFAULT_$LINE"
5740 else
5741 no_cache=1
5742 fi
5743
5744 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5745
5746 fi;
5747
5748 eval "$ac_cv_use_geometry"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5751 fi
5752
5753 if test "$wxUSE_GEOMETRY" = yes; then
5754 echo "$as_me:$LINENO: result: yes" >&5
5755 echo "${ECHO_T}yes" >&6
5756 else
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5759 fi
5760
5761
5762 enablestring=
5763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5765 no_cache=0
5766 # Check whether --enable-log or --disable-log was given.
5767 if test "${enable_log+set}" = set; then
5768 enableval="$enable_log"
5769
5770 if test "$enableval" = yes; then
5771 ac_cv_use_log='wxUSE_LOG=yes'
5772 else
5773 ac_cv_use_log='wxUSE_LOG=no'
5774 fi
5775
5776 else
5777
5778 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5779 if test "x$LINE" != x ; then
5780 eval "DEFAULT_$LINE"
5781 else
5782 no_cache=1
5783 fi
5784
5785 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5786
5787 fi;
5788
5789 eval "$ac_cv_use_log"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5792 fi
5793
5794 if test "$wxUSE_LOG" = yes; then
5795 echo "$as_me:$LINENO: result: yes" >&5
5796 echo "${ECHO_T}yes" >&6
5797 else
5798 echo "$as_me:$LINENO: result: no" >&5
5799 echo "${ECHO_T}no" >&6
5800 fi
5801
5802
5803 enablestring=
5804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5806 no_cache=0
5807 # Check whether --enable-longlong or --disable-longlong was given.
5808 if test "${enable_longlong+set}" = set; then
5809 enableval="$enable_longlong"
5810
5811 if test "$enableval" = yes; then
5812 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5813 else
5814 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5815 fi
5816
5817 else
5818
5819 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x ; then
5821 eval "DEFAULT_$LINE"
5822 else
5823 no_cache=1
5824 fi
5825
5826 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5827
5828 fi;
5829
5830 eval "$ac_cv_use_longlong"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5833 fi
5834
5835 if test "$wxUSE_LONGLONG" = yes; then
5836 echo "$as_me:$LINENO: result: yes" >&5
5837 echo "${ECHO_T}yes" >&6
5838 else
5839 echo "$as_me:$LINENO: result: no" >&5
5840 echo "${ECHO_T}no" >&6
5841 fi
5842
5843
5844 enablestring=
5845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5847 no_cache=0
5848 # Check whether --enable-mimetype or --disable-mimetype was given.
5849 if test "${enable_mimetype+set}" = set; then
5850 enableval="$enable_mimetype"
5851
5852 if test "$enableval" = yes; then
5853 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5854 else
5855 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5856 fi
5857
5858 else
5859
5860 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x ; then
5862 eval "DEFAULT_$LINE"
5863 else
5864 no_cache=1
5865 fi
5866
5867 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5868
5869 fi;
5870
5871 eval "$ac_cv_use_mimetype"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5874 fi
5875
5876 if test "$wxUSE_MIMETYPE" = yes; then
5877 echo "$as_me:$LINENO: result: yes" >&5
5878 echo "${ECHO_T}yes" >&6
5879 else
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5882 fi
5883
5884
5885 enablestring=
5886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5888 no_cache=0
5889 # Check whether --enable-mslu or --disable-mslu was given.
5890 if test "${enable_mslu+set}" = set; then
5891 enableval="$enable_mslu"
5892
5893 if test "$enableval" = yes; then
5894 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5895 else
5896 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5897 fi
5898
5899 else
5900
5901 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x ; then
5903 eval "DEFAULT_$LINE"
5904 else
5905 no_cache=1
5906 fi
5907
5908 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5909
5910 fi;
5911
5912 eval "$ac_cv_use_mslu"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5915 fi
5916
5917 if test "$wxUSE_UNICODE_MSLU" = yes; then
5918 echo "$as_me:$LINENO: result: yes" >&5
5919 echo "${ECHO_T}yes" >&6
5920 else
5921 echo "$as_me:$LINENO: result: no" >&5
5922 echo "${ECHO_T}no" >&6
5923 fi
5924
5925
5926 enablestring=
5927 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5929 no_cache=0
5930 # Check whether --enable-snglinst or --disable-snglinst was given.
5931 if test "${enable_snglinst+set}" = set; then
5932 enableval="$enable_snglinst"
5933
5934 if test "$enableval" = yes; then
5935 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5936 else
5937 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5938 fi
5939
5940 else
5941
5942 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5943 if test "x$LINE" != x ; then
5944 eval "DEFAULT_$LINE"
5945 else
5946 no_cache=1
5947 fi
5948
5949 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5950
5951 fi;
5952
5953 eval "$ac_cv_use_snglinst"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5956 fi
5957
5958 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5959 echo "$as_me:$LINENO: result: yes" >&5
5960 echo "${ECHO_T}yes" >&6
5961 else
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5964 fi
5965
5966
5967 enablestring=
5968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5970 no_cache=0
5971 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5972 if test "${enable_std_iostreams+set}" = set; then
5973 enableval="$enable_std_iostreams"
5974
5975 if test "$enableval" = yes; then
5976 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5977 else
5978 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5979 fi
5980
5981 else
5982
5983 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x ; then
5985 eval "DEFAULT_$LINE"
5986 else
5987 no_cache=1
5988 fi
5989
5990 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5991
5992 fi;
5993
5994 eval "$ac_cv_use_std_iostreams"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5997 fi
5998
5999 if test "$wxUSE_STD_IOSTREAM" = yes; then
6000 echo "$as_me:$LINENO: result: yes" >&5
6001 echo "${ECHO_T}yes" >&6
6002 else
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6005 fi
6006
6007
6008 enablestring=
6009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6011 no_cache=0
6012 # Check whether --enable-std_string or --disable-std_string was given.
6013 if test "${enable_std_string+set}" = set; then
6014 enableval="$enable_std_string"
6015
6016 if test "$enableval" = yes; then
6017 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6018 else
6019 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6020 fi
6021
6022 else
6023
6024 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x ; then
6026 eval "DEFAULT_$LINE"
6027 else
6028 no_cache=1
6029 fi
6030
6031 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6032
6033 fi;
6034
6035 eval "$ac_cv_use_std_string"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6038 fi
6039
6040 if test "$wxUSE_STD_STRING" = yes; then
6041 echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6
6043 else
6044 echo "$as_me:$LINENO: result: no" >&5
6045 echo "${ECHO_T}no" >&6
6046 fi
6047
6048
6049 enablestring=
6050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6052 no_cache=0
6053 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6054 if test "${enable_stdpaths+set}" = set; then
6055 enableval="$enable_stdpaths"
6056
6057 if test "$enableval" = yes; then
6058 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6059 else
6060 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6061 fi
6062
6063 else
6064
6065 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6066 if test "x$LINE" != x ; then
6067 eval "DEFAULT_$LINE"
6068 else
6069 no_cache=1
6070 fi
6071
6072 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6073
6074 fi;
6075
6076 eval "$ac_cv_use_stdpaths"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6079 fi
6080
6081 if test "$wxUSE_STDPATHS" = yes; then
6082 echo "$as_me:$LINENO: result: yes" >&5
6083 echo "${ECHO_T}yes" >&6
6084 else
6085 echo "$as_me:$LINENO: result: no" >&5
6086 echo "${ECHO_T}no" >&6
6087 fi
6088
6089
6090 enablestring=
6091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6093 no_cache=0
6094 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6095 if test "${enable_stopwatch+set}" = set; then
6096 enableval="$enable_stopwatch"
6097
6098 if test "$enableval" = yes; then
6099 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6100 else
6101 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6102 fi
6103
6104 else
6105
6106 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6107 if test "x$LINE" != x ; then
6108 eval "DEFAULT_$LINE"
6109 else
6110 no_cache=1
6111 fi
6112
6113 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6114
6115 fi;
6116
6117 eval "$ac_cv_use_stopwatch"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6120 fi
6121
6122 if test "$wxUSE_STOPWATCH" = yes; then
6123 echo "$as_me:$LINENO: result: yes" >&5
6124 echo "${ECHO_T}yes" >&6
6125 else
6126 echo "$as_me:$LINENO: result: no" >&5
6127 echo "${ECHO_T}no" >&6
6128 fi
6129
6130
6131 enablestring=
6132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6134 no_cache=0
6135 # Check whether --enable-streams or --disable-streams was given.
6136 if test "${enable_streams+set}" = set; then
6137 enableval="$enable_streams"
6138
6139 if test "$enableval" = yes; then
6140 ac_cv_use_streams='wxUSE_STREAMS=yes'
6141 else
6142 ac_cv_use_streams='wxUSE_STREAMS=no'
6143 fi
6144
6145 else
6146
6147 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6148 if test "x$LINE" != x ; then
6149 eval "DEFAULT_$LINE"
6150 else
6151 no_cache=1
6152 fi
6153
6154 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6155
6156 fi;
6157
6158 eval "$ac_cv_use_streams"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6161 fi
6162
6163 if test "$wxUSE_STREAMS" = yes; then
6164 echo "$as_me:$LINENO: result: yes" >&5
6165 echo "${ECHO_T}yes" >&6
6166 else
6167 echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6
6169 fi
6170
6171
6172 enablestring=
6173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6175 no_cache=0
6176 # Check whether --enable-system_options or --disable-system_options was given.
6177 if test "${enable_system_options+set}" = set; then
6178 enableval="$enable_system_options"
6179
6180 if test "$enableval" = yes; then
6181 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6182 else
6183 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6184 fi
6185
6186 else
6187
6188 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x ; then
6190 eval "DEFAULT_$LINE"
6191 else
6192 no_cache=1
6193 fi
6194
6195 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6196
6197 fi;
6198
6199 eval "$ac_cv_use_system_options"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6202 fi
6203
6204 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6205 echo "$as_me:$LINENO: result: yes" >&5
6206 echo "${ECHO_T}yes" >&6
6207 else
6208 echo "$as_me:$LINENO: result: no" >&5
6209 echo "${ECHO_T}no" >&6
6210 fi
6211
6212
6213 enablestring=
6214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6216 no_cache=0
6217 # Check whether --enable-textbuf or --disable-textbuf was given.
6218 if test "${enable_textbuf+set}" = set; then
6219 enableval="$enable_textbuf"
6220
6221 if test "$enableval" = yes; then
6222 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6223 else
6224 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6225 fi
6226
6227 else
6228
6229 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x ; then
6231 eval "DEFAULT_$LINE"
6232 else
6233 no_cache=1
6234 fi
6235
6236 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6237
6238 fi;
6239
6240 eval "$ac_cv_use_textbuf"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6243 fi
6244
6245 if test "$wxUSE_TEXTBUFFER" = yes; then
6246 echo "$as_me:$LINENO: result: yes" >&5
6247 echo "${ECHO_T}yes" >&6
6248 else
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6251 fi
6252
6253
6254 enablestring=
6255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6257 no_cache=0
6258 # Check whether --enable-textfile or --disable-textfile was given.
6259 if test "${enable_textfile+set}" = set; then
6260 enableval="$enable_textfile"
6261
6262 if test "$enableval" = yes; then
6263 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6264 else
6265 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6266 fi
6267
6268 else
6269
6270 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6271 if test "x$LINE" != x ; then
6272 eval "DEFAULT_$LINE"
6273 else
6274 no_cache=1
6275 fi
6276
6277 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6278
6279 fi;
6280
6281 eval "$ac_cv_use_textfile"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6284 fi
6285
6286 if test "$wxUSE_TEXTFILE" = yes; then
6287 echo "$as_me:$LINENO: result: yes" >&5
6288 echo "${ECHO_T}yes" >&6
6289 else
6290 echo "$as_me:$LINENO: result: no" >&5
6291 echo "${ECHO_T}no" >&6
6292 fi
6293
6294
6295 enablestring=
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6298 no_cache=0
6299 # Check whether --enable-timer or --disable-timer was given.
6300 if test "${enable_timer+set}" = set; then
6301 enableval="$enable_timer"
6302
6303 if test "$enableval" = yes; then
6304 ac_cv_use_timer='wxUSE_TIMER=yes'
6305 else
6306 ac_cv_use_timer='wxUSE_TIMER=no'
6307 fi
6308
6309 else
6310
6311 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x ; then
6313 eval "DEFAULT_$LINE"
6314 else
6315 no_cache=1
6316 fi
6317
6318 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6319
6320 fi;
6321
6322 eval "$ac_cv_use_timer"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6325 fi
6326
6327 if test "$wxUSE_TIMER" = yes; then
6328 echo "$as_me:$LINENO: result: yes" >&5
6329 echo "${ECHO_T}yes" >&6
6330 else
6331 echo "$as_me:$LINENO: result: no" >&5
6332 echo "${ECHO_T}no" >&6
6333 fi
6334
6335
6336 enablestring=
6337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6339 no_cache=0
6340 # Check whether --enable-unicode or --disable-unicode was given.
6341 if test "${enable_unicode+set}" = set; then
6342 enableval="$enable_unicode"
6343
6344 if test "$enableval" = yes; then
6345 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6346 else
6347 ac_cv_use_unicode='wxUSE_UNICODE=no'
6348 fi
6349
6350 else
6351
6352 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6353 if test "x$LINE" != x ; then
6354 eval "DEFAULT_$LINE"
6355 else
6356 no_cache=1
6357 fi
6358
6359 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6360
6361 fi;
6362
6363 eval "$ac_cv_use_unicode"
6364 if test "$no_cache" != 1; then
6365 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6366 fi
6367
6368 if test "$wxUSE_UNICODE" = yes; then
6369 echo "$as_me:$LINENO: result: yes" >&5
6370 echo "${ECHO_T}yes" >&6
6371 else
6372 echo "$as_me:$LINENO: result: no" >&5
6373 echo "${ECHO_T}no" >&6
6374 fi
6375
6376
6377 enablestring=
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6380 no_cache=0
6381 # Check whether --enable-sound or --disable-sound was given.
6382 if test "${enable_sound+set}" = set; then
6383 enableval="$enable_sound"
6384
6385 if test "$enableval" = yes; then
6386 ac_cv_use_sound='wxUSE_SOUND=yes'
6387 else
6388 ac_cv_use_sound='wxUSE_SOUND=no'
6389 fi
6390
6391 else
6392
6393 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x ; then
6395 eval "DEFAULT_$LINE"
6396 else
6397 no_cache=1
6398 fi
6399
6400 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6401
6402 fi;
6403
6404 eval "$ac_cv_use_sound"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test "$wxUSE_SOUND" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6412 else
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6415 fi
6416
6417
6418 enablestring=
6419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6421 no_cache=0
6422 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6423 if test "${enable_mediactrl+set}" = set; then
6424 enableval="$enable_mediactrl"
6425
6426 if test "$enableval" = yes; then
6427 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6428 else
6429 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6430 fi
6431
6432 else
6433
6434 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6435 if test "x$LINE" != x ; then
6436 eval "DEFAULT_$LINE"
6437 else
6438 no_cache=1
6439 fi
6440
6441 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6442
6443 fi;
6444
6445 eval "$ac_cv_use_mediactrl"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6448 fi
6449
6450 if test "$wxUSE_MEDIACTRL" = yes; then
6451 echo "$as_me:$LINENO: result: yes" >&5
6452 echo "${ECHO_T}yes" >&6
6453 else
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6456 fi
6457
6458
6459 enablestring=
6460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6462 no_cache=0
6463 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6464 if test "${enable_gstreamer8+set}" = set; then
6465 enableval="$enable_gstreamer8"
6466
6467 if test "$enableval" = yes; then
6468 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6469 else
6470 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6471 fi
6472
6473 else
6474
6475 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x ; then
6477 eval "DEFAULT_$LINE"
6478 else
6479 no_cache=1
6480 fi
6481
6482 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6483
6484 fi;
6485
6486 eval "$ac_cv_use_gstreamer8"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6489 fi
6490
6491 if test "$wxUSE_GSTREAMER8" = yes; then
6492 echo "$as_me:$LINENO: result: yes" >&5
6493 echo "${ECHO_T}yes" >&6
6494 else
6495 echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6
6497 fi
6498
6499
6500 enablestring=
6501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6502 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6503 no_cache=0
6504 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6505 if test "${enable_printfposparam+set}" = set; then
6506 enableval="$enable_printfposparam"
6507
6508 if test "$enableval" = yes; then
6509 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6510 else
6511 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6512 fi
6513
6514 else
6515
6516 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x ; then
6518 eval "DEFAULT_$LINE"
6519 else
6520 no_cache=1
6521 fi
6522
6523 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6524
6525 fi;
6526
6527 eval "$ac_cv_use_printfposparam"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6530 fi
6531
6532 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6533 echo "$as_me:$LINENO: result: yes" >&5
6534 echo "${ECHO_T}yes" >&6
6535 else
6536 echo "$as_me:$LINENO: result: no" >&5
6537 echo "${ECHO_T}no" >&6
6538 fi
6539
6540
6541 enablestring=
6542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6543 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6544 no_cache=0
6545 # Check whether --enable-zipstream or --disable-zipstream was given.
6546 if test "${enable_zipstream+set}" = set; then
6547 enableval="$enable_zipstream"
6548
6549 if test "$enableval" = yes; then
6550 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6551 else
6552 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6553 fi
6554
6555 else
6556
6557 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6558 if test "x$LINE" != x ; then
6559 eval "DEFAULT_$LINE"
6560 else
6561 no_cache=1
6562 fi
6563
6564 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6565
6566 fi;
6567
6568 eval "$ac_cv_use_zipstream"
6569 if test "$no_cache" != 1; then
6570 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6571 fi
6572
6573 if test "$wxUSE_ZIPSTREAM" = yes; then
6574 echo "$as_me:$LINENO: result: yes" >&5
6575 echo "${ECHO_T}yes" >&6
6576 else
6577 echo "$as_me:$LINENO: result: no" >&5
6578 echo "${ECHO_T}no" >&6
6579 fi
6580
6581
6582
6583 enablestring=
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6586 no_cache=0
6587 # Check whether --enable-url or --disable-url was given.
6588 if test "${enable_url+set}" = set; then
6589 enableval="$enable_url"
6590
6591 if test "$enableval" = yes; then
6592 ac_cv_use_url='wxUSE_URL=yes'
6593 else
6594 ac_cv_use_url='wxUSE_URL=no'
6595 fi
6596
6597 else
6598
6599 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6602 else
6603 no_cache=1
6604 fi
6605
6606 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6607
6608 fi;
6609
6610 eval "$ac_cv_use_url"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6613 fi
6614
6615 if test "$wxUSE_URL" = yes; then
6616 echo "$as_me:$LINENO: result: yes" >&5
6617 echo "${ECHO_T}yes" >&6
6618 else
6619 echo "$as_me:$LINENO: result: no" >&5
6620 echo "${ECHO_T}no" >&6
6621 fi
6622
6623
6624 enablestring=
6625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6627 no_cache=0
6628 # Check whether --enable-variant or --disable-variant was given.
6629 if test "${enable_variant+set}" = set; then
6630 enableval="$enable_variant"
6631
6632 if test "$enableval" = yes; then
6633 ac_cv_use_variant='wxUSE_VARIANT=yes'
6634 else
6635 ac_cv_use_variant='wxUSE_VARIANT=no'
6636 fi
6637
6638 else
6639
6640 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x ; then
6642 eval "DEFAULT_$LINE"
6643 else
6644 no_cache=1
6645 fi
6646
6647 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6648
6649 fi;
6650
6651 eval "$ac_cv_use_variant"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6654 fi
6655
6656 if test "$wxUSE_VARIANT" = yes; then
6657 echo "$as_me:$LINENO: result: yes" >&5
6658 echo "${ECHO_T}yes" >&6
6659 else
6660 echo "$as_me:$LINENO: result: no" >&5
6661 echo "${ECHO_T}no" >&6
6662 fi
6663
6664
6665 enablestring=
6666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6668 no_cache=0
6669 # Check whether --enable-protocol or --disable-protocol was given.
6670 if test "${enable_protocol+set}" = set; then
6671 enableval="$enable_protocol"
6672
6673 if test "$enableval" = yes; then
6674 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6675 else
6676 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6677 fi
6678
6679 else
6680
6681 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x ; then
6683 eval "DEFAULT_$LINE"
6684 else
6685 no_cache=1
6686 fi
6687
6688 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6689
6690 fi;
6691
6692 eval "$ac_cv_use_protocol"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6695 fi
6696
6697 if test "$wxUSE_PROTOCOL" = yes; then
6698 echo "$as_me:$LINENO: result: yes" >&5
6699 echo "${ECHO_T}yes" >&6
6700 else
6701 echo "$as_me:$LINENO: result: no" >&5
6702 echo "${ECHO_T}no" >&6
6703 fi
6704
6705
6706 enablestring=
6707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6708 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6709 no_cache=0
6710 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6711 if test "${enable_protocol_http+set}" = set; then
6712 enableval="$enable_protocol_http"
6713
6714 if test "$enableval" = yes; then
6715 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6716 else
6717 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6718 fi
6719
6720 else
6721
6722 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6723 if test "x$LINE" != x ; then
6724 eval "DEFAULT_$LINE"
6725 else
6726 no_cache=1
6727 fi
6728
6729 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6730
6731 fi;
6732
6733 eval "$ac_cv_use_protocol_http"
6734 if test "$no_cache" != 1; then
6735 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6736 fi
6737
6738 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6739 echo "$as_me:$LINENO: result: yes" >&5
6740 echo "${ECHO_T}yes" >&6
6741 else
6742 echo "$as_me:$LINENO: result: no" >&5
6743 echo "${ECHO_T}no" >&6
6744 fi
6745
6746
6747 enablestring=
6748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6749 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6750 no_cache=0
6751 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6752 if test "${enable_protocol_ftp+set}" = set; then
6753 enableval="$enable_protocol_ftp"
6754
6755 if test "$enableval" = yes; then
6756 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6757 else
6758 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6759 fi
6760
6761 else
6762
6763 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6764 if test "x$LINE" != x ; then
6765 eval "DEFAULT_$LINE"
6766 else
6767 no_cache=1
6768 fi
6769
6770 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6771
6772 fi;
6773
6774 eval "$ac_cv_use_protocol_ftp"
6775 if test "$no_cache" != 1; then
6776 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6777 fi
6778
6779 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6780 echo "$as_me:$LINENO: result: yes" >&5
6781 echo "${ECHO_T}yes" >&6
6782 else
6783 echo "$as_me:$LINENO: result: no" >&5
6784 echo "${ECHO_T}no" >&6
6785 fi
6786
6787
6788 enablestring=
6789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6790 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6791 no_cache=0
6792 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6793 if test "${enable_protocol_file+set}" = set; then
6794 enableval="$enable_protocol_file"
6795
6796 if test "$enableval" = yes; then
6797 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6798 else
6799 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6800 fi
6801
6802 else
6803
6804 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6805 if test "x$LINE" != x ; then
6806 eval "DEFAULT_$LINE"
6807 else
6808 no_cache=1
6809 fi
6810
6811 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6812
6813 fi;
6814
6815 eval "$ac_cv_use_protocol_file"
6816 if test "$no_cache" != 1; then
6817 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6818 fi
6819
6820 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6821 echo "$as_me:$LINENO: result: yes" >&5
6822 echo "${ECHO_T}yes" >&6
6823 else
6824 echo "$as_me:$LINENO: result: no" >&5
6825 echo "${ECHO_T}no" >&6
6826 fi
6827
6828
6829
6830
6831
6832 enablestring=
6833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6834 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6835 no_cache=0
6836 # Check whether --enable-threads or --disable-threads was given.
6837 if test "${enable_threads+set}" = set; then
6838 enableval="$enable_threads"
6839
6840 if test "$enableval" = yes; then
6841 ac_cv_use_threads='wxUSE_THREADS=yes'
6842 else
6843 ac_cv_use_threads='wxUSE_THREADS=no'
6844 fi
6845
6846 else
6847
6848 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6849 if test "x$LINE" != x ; then
6850 eval "DEFAULT_$LINE"
6851 else
6852 no_cache=1
6853 fi
6854
6855 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6856
6857 fi;
6858
6859 eval "$ac_cv_use_threads"
6860 if test "$no_cache" != 1; then
6861 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6862 fi
6863
6864 if test "$wxUSE_THREADS" = yes; then
6865 echo "$as_me:$LINENO: result: yes" >&5
6866 echo "${ECHO_T}yes" >&6
6867 else
6868 echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6
6870 fi
6871
6872
6873 if test "$wxUSE_GUI" = "yes"; then
6874
6875
6876
6877 enablestring=
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6880 no_cache=0
6881 # Check whether --enable-docview or --disable-docview was given.
6882 if test "${enable_docview+set}" = set; then
6883 enableval="$enable_docview"
6884
6885 if test "$enableval" = yes; then
6886 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6887 else
6888 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6889 fi
6890
6891 else
6892
6893 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x ; then
6895 eval "DEFAULT_$LINE"
6896 else
6897 no_cache=1
6898 fi
6899
6900 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6901
6902 fi;
6903
6904 eval "$ac_cv_use_docview"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6907 fi
6908
6909 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6910 echo "$as_me:$LINENO: result: yes" >&5
6911 echo "${ECHO_T}yes" >&6
6912 else
6913 echo "$as_me:$LINENO: result: no" >&5
6914 echo "${ECHO_T}no" >&6
6915 fi
6916
6917
6918 enablestring=
6919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6921 no_cache=0
6922 # Check whether --enable-help or --disable-help was given.
6923 if test "${enable_help+set}" = set; then
6924 enableval="$enable_help"
6925
6926 if test "$enableval" = yes; then
6927 ac_cv_use_help='wxUSE_HELP=yes'
6928 else
6929 ac_cv_use_help='wxUSE_HELP=no'
6930 fi
6931
6932 else
6933
6934 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x ; then
6936 eval "DEFAULT_$LINE"
6937 else
6938 no_cache=1
6939 fi
6940
6941 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6942
6943 fi;
6944
6945 eval "$ac_cv_use_help"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6948 fi
6949
6950 if test "$wxUSE_HELP" = yes; then
6951 echo "$as_me:$LINENO: result: yes" >&5
6952 echo "${ECHO_T}yes" >&6
6953 else
6954 echo "$as_me:$LINENO: result: no" >&5
6955 echo "${ECHO_T}no" >&6
6956 fi
6957
6958
6959 enablestring=
6960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6962 no_cache=0
6963 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6964 if test "${enable_mshtmlhelp+set}" = set; then
6965 enableval="$enable_mshtmlhelp"
6966
6967 if test "$enableval" = yes; then
6968 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6969 else
6970 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6971 fi
6972
6973 else
6974
6975 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x ; then
6977 eval "DEFAULT_$LINE"
6978 else
6979 no_cache=1
6980 fi
6981
6982 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6983
6984 fi;
6985
6986 eval "$ac_cv_use_mshtmlhelp"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6989 fi
6990
6991 if test "$wxUSE_MS_HTML_HELP" = yes; then
6992 echo "$as_me:$LINENO: result: yes" >&5
6993 echo "${ECHO_T}yes" >&6
6994 else
6995 echo "$as_me:$LINENO: result: no" >&5
6996 echo "${ECHO_T}no" >&6
6997 fi
6998
6999
7000 enablestring=
7001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7002 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7003 no_cache=0
7004 # Check whether --enable-html or --disable-html was given.
7005 if test "${enable_html+set}" = set; then
7006 enableval="$enable_html"
7007
7008 if test "$enableval" = yes; then
7009 ac_cv_use_html='wxUSE_HTML=yes'
7010 else
7011 ac_cv_use_html='wxUSE_HTML=no'
7012 fi
7013
7014 else
7015
7016 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x ; then
7018 eval "DEFAULT_$LINE"
7019 else
7020 no_cache=1
7021 fi
7022
7023 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7024
7025 fi;
7026
7027 eval "$ac_cv_use_html"
7028 if test "$no_cache" != 1; then
7029 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7030 fi
7031
7032 if test "$wxUSE_HTML" = yes; then
7033 echo "$as_me:$LINENO: result: yes" >&5
7034 echo "${ECHO_T}yes" >&6
7035 else
7036 echo "$as_me:$LINENO: result: no" >&5
7037 echo "${ECHO_T}no" >&6
7038 fi
7039
7040
7041 enablestring=
7042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7044 no_cache=0
7045 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7046 if test "${enable_htmlhelp+set}" = set; then
7047 enableval="$enable_htmlhelp"
7048
7049 if test "$enableval" = yes; then
7050 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7051 else
7052 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7053 fi
7054
7055 else
7056
7057 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7058 if test "x$LINE" != x ; then
7059 eval "DEFAULT_$LINE"
7060 else
7061 no_cache=1
7062 fi
7063
7064 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7065
7066 fi;
7067
7068 eval "$ac_cv_use_htmlhelp"
7069 if test "$no_cache" != 1; then
7070 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7071 fi
7072
7073 if test "$wxUSE_WXHTML_HELP" = yes; then
7074 echo "$as_me:$LINENO: result: yes" >&5
7075 echo "${ECHO_T}yes" >&6
7076 else
7077 echo "$as_me:$LINENO: result: no" >&5
7078 echo "${ECHO_T}no" >&6
7079 fi
7080
7081
7082 enablestring=
7083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7084 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7085 no_cache=0
7086 # Check whether --enable-xrc or --disable-xrc was given.
7087 if test "${enable_xrc+set}" = set; then
7088 enableval="$enable_xrc"
7089
7090 if test "$enableval" = yes; then
7091 ac_cv_use_xrc='wxUSE_XRC=yes'
7092 else
7093 ac_cv_use_xrc='wxUSE_XRC=no'
7094 fi
7095
7096 else
7097
7098 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7099 if test "x$LINE" != x ; then
7100 eval "DEFAULT_$LINE"
7101 else
7102 no_cache=1
7103 fi
7104
7105 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7106
7107 fi;
7108
7109 eval "$ac_cv_use_xrc"
7110 if test "$no_cache" != 1; then
7111 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7112 fi
7113
7114 if test "$wxUSE_XRC" = yes; then
7115 echo "$as_me:$LINENO: result: yes" >&5
7116 echo "${ECHO_T}yes" >&6
7117 else
7118 echo "$as_me:$LINENO: result: no" >&5
7119 echo "${ECHO_T}no" >&6
7120 fi
7121
7122
7123 enablestring=
7124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7126 no_cache=0
7127 # Check whether --enable-aui or --disable-aui was given.
7128 if test "${enable_aui+set}" = set; then
7129 enableval="$enable_aui"
7130
7131 if test "$enableval" = yes; then
7132 ac_cv_use_aui='wxUSE_AUI=yes'
7133 else
7134 ac_cv_use_aui='wxUSE_AUI=no'
7135 fi
7136
7137 else
7138
7139 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x ; then
7141 eval "DEFAULT_$LINE"
7142 else
7143 no_cache=1
7144 fi
7145
7146 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7147
7148 fi;
7149
7150 eval "$ac_cv_use_aui"
7151 if test "$no_cache" != 1; then
7152 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7153 fi
7154
7155 if test "$wxUSE_AUI" = yes; then
7156 echo "$as_me:$LINENO: result: yes" >&5
7157 echo "${ECHO_T}yes" >&6
7158 else
7159 echo "$as_me:$LINENO: result: no" >&5
7160 echo "${ECHO_T}no" >&6
7161 fi
7162
7163
7164 enablestring=
7165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7166 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7167 no_cache=0
7168 # Check whether --enable-constraints or --disable-constraints was given.
7169 if test "${enable_constraints+set}" = set; then
7170 enableval="$enable_constraints"
7171
7172 if test "$enableval" = yes; then
7173 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7174 else
7175 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7176 fi
7177
7178 else
7179
7180 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7181 if test "x$LINE" != x ; then
7182 eval "DEFAULT_$LINE"
7183 else
7184 no_cache=1
7185 fi
7186
7187 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7188
7189 fi;
7190
7191 eval "$ac_cv_use_constraints"
7192 if test "$no_cache" != 1; then
7193 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7194 fi
7195
7196 if test "$wxUSE_CONSTRAINTS" = yes; then
7197 echo "$as_me:$LINENO: result: yes" >&5
7198 echo "${ECHO_T}yes" >&6
7199 else
7200 echo "$as_me:$LINENO: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7202 fi
7203
7204
7205 enablestring=
7206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7207 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7208 no_cache=0
7209 # Check whether --enable-printarch or --disable-printarch was given.
7210 if test "${enable_printarch+set}" = set; then
7211 enableval="$enable_printarch"
7212
7213 if test "$enableval" = yes; then
7214 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7215 else
7216 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7217 fi
7218
7219 else
7220
7221 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7222 if test "x$LINE" != x ; then
7223 eval "DEFAULT_$LINE"
7224 else
7225 no_cache=1
7226 fi
7227
7228 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7229
7230 fi;
7231
7232 eval "$ac_cv_use_printarch"
7233 if test "$no_cache" != 1; then
7234 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7235 fi
7236
7237 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7238 echo "$as_me:$LINENO: result: yes" >&5
7239 echo "${ECHO_T}yes" >&6
7240 else
7241 echo "$as_me:$LINENO: result: no" >&5
7242 echo "${ECHO_T}no" >&6
7243 fi
7244
7245
7246 enablestring=
7247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7249 no_cache=0
7250 # Check whether --enable-mdi or --disable-mdi was given.
7251 if test "${enable_mdi+set}" = set; then
7252 enableval="$enable_mdi"
7253
7254 if test "$enableval" = yes; then
7255 ac_cv_use_mdi='wxUSE_MDI=yes'
7256 else
7257 ac_cv_use_mdi='wxUSE_MDI=no'
7258 fi
7259
7260 else
7261
7262 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x ; then
7264 eval "DEFAULT_$LINE"
7265 else
7266 no_cache=1
7267 fi
7268
7269 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7270
7271 fi;
7272
7273 eval "$ac_cv_use_mdi"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7276 fi
7277
7278 if test "$wxUSE_MDI" = yes; then
7279 echo "$as_me:$LINENO: result: yes" >&5
7280 echo "${ECHO_T}yes" >&6
7281 else
7282 echo "$as_me:$LINENO: result: no" >&5
7283 echo "${ECHO_T}no" >&6
7284 fi
7285
7286
7287 enablestring=
7288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7289 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7290 no_cache=0
7291 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7292 if test "${enable_mdidoc+set}" = set; then
7293 enableval="$enable_mdidoc"
7294
7295 if test "$enableval" = yes; then
7296 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7297 else
7298 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7299 fi
7300
7301 else
7302
7303 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x ; then
7305 eval "DEFAULT_$LINE"
7306 else
7307 no_cache=1
7308 fi
7309
7310 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7311
7312 fi;
7313
7314 eval "$ac_cv_use_mdidoc"
7315 if test "$no_cache" != 1; then
7316 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7317 fi
7318
7319 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7320 echo "$as_me:$LINENO: result: yes" >&5
7321 echo "${ECHO_T}yes" >&6
7322 else
7323 echo "$as_me:$LINENO: result: no" >&5
7324 echo "${ECHO_T}no" >&6
7325 fi
7326
7327
7328 enablestring=
7329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7330 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7331 no_cache=0
7332 # Check whether --enable-loggui or --disable-loggui was given.
7333 if test "${enable_loggui+set}" = set; then
7334 enableval="$enable_loggui"
7335
7336 if test "$enableval" = yes; then
7337 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7338 else
7339 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7340 fi
7341
7342 else
7343
7344 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x ; then
7346 eval "DEFAULT_$LINE"
7347 else
7348 no_cache=1
7349 fi
7350
7351 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7352
7353 fi;
7354
7355 eval "$ac_cv_use_loggui"
7356 if test "$no_cache" != 1; then
7357 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7358 fi
7359
7360 if test "$wxUSE_LOGGUI" = yes; then
7361 echo "$as_me:$LINENO: result: yes" >&5
7362 echo "${ECHO_T}yes" >&6
7363 else
7364 echo "$as_me:$LINENO: result: no" >&5
7365 echo "${ECHO_T}no" >&6
7366 fi
7367
7368
7369 enablestring=
7370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7371 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7372 no_cache=0
7373 # Check whether --enable-logwin or --disable-logwin was given.
7374 if test "${enable_logwin+set}" = set; then
7375 enableval="$enable_logwin"
7376
7377 if test "$enableval" = yes; then
7378 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7379 else
7380 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7381 fi
7382
7383 else
7384
7385 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7386 if test "x$LINE" != x ; then
7387 eval "DEFAULT_$LINE"
7388 else
7389 no_cache=1
7390 fi
7391
7392 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7393
7394 fi;
7395
7396 eval "$ac_cv_use_logwin"
7397 if test "$no_cache" != 1; then
7398 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7399 fi
7400
7401 if test "$wxUSE_LOGWINDOW" = yes; then
7402 echo "$as_me:$LINENO: result: yes" >&5
7403 echo "${ECHO_T}yes" >&6
7404 else
7405 echo "$as_me:$LINENO: result: no" >&5
7406 echo "${ECHO_T}no" >&6
7407 fi
7408
7409
7410 enablestring=
7411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7412 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7413 no_cache=0
7414 # Check whether --enable-logdialog or --disable-logdialog was given.
7415 if test "${enable_logdialog+set}" = set; then
7416 enableval="$enable_logdialog"
7417
7418 if test "$enableval" = yes; then
7419 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7420 else
7421 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7422 fi
7423
7424 else
7425
7426 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7427 if test "x$LINE" != x ; then
7428 eval "DEFAULT_$LINE"
7429 else
7430 no_cache=1
7431 fi
7432
7433 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7434
7435 fi;
7436
7437 eval "$ac_cv_use_logdialog"
7438 if test "$no_cache" != 1; then
7439 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7440 fi
7441
7442 if test "$wxUSE_LOGDIALOG" = yes; then
7443 echo "$as_me:$LINENO: result: yes" >&5
7444 echo "${ECHO_T}yes" >&6
7445 else
7446 echo "$as_me:$LINENO: result: no" >&5
7447 echo "${ECHO_T}no" >&6
7448 fi
7449
7450
7451 enablestring=
7452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7453 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7454 no_cache=0
7455 # Check whether --enable-webkit or --disable-webkit was given.
7456 if test "${enable_webkit+set}" = set; then
7457 enableval="$enable_webkit"
7458
7459 if test "$enableval" = yes; then
7460 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7461 else
7462 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7463 fi
7464
7465 else
7466
7467 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7468 if test "x$LINE" != x ; then
7469 eval "DEFAULT_$LINE"
7470 else
7471 no_cache=1
7472 fi
7473
7474 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7475
7476 fi;
7477
7478 eval "$ac_cv_use_webkit"
7479 if test "$no_cache" != 1; then
7480 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7481 fi
7482
7483 if test "$wxUSE_WEBKIT" = yes; then
7484 echo "$as_me:$LINENO: result: yes" >&5
7485 echo "${ECHO_T}yes" >&6
7486 else
7487 echo "$as_me:$LINENO: result: no" >&5
7488 echo "${ECHO_T}no" >&6
7489 fi
7490
7491
7492 enablestring=
7493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7494 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7495 no_cache=0
7496 # Check whether --enable-html or --disable-html was given.
7497 if test "${enable_html+set}" = set; then
7498 enableval="$enable_html"
7499
7500 if test "$enableval" = yes; then
7501 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7502 else
7503 ac_cv_use_html='wxUSE_RICHTEXT=no'
7504 fi
7505
7506 else
7507
7508 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7509 if test "x$LINE" != x ; then
7510 eval "DEFAULT_$LINE"
7511 else
7512 no_cache=1
7513 fi
7514
7515 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7516
7517 fi;
7518
7519 eval "$ac_cv_use_html"
7520 if test "$no_cache" != 1; then
7521 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7522 fi
7523
7524 if test "$wxUSE_RICHTEXT" = yes; then
7525 echo "$as_me:$LINENO: result: yes" >&5
7526 echo "${ECHO_T}yes" >&6
7527 else
7528 echo "$as_me:$LINENO: result: no" >&5
7529 echo "${ECHO_T}no" >&6
7530 fi
7531
7532
7533 enablestring=
7534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7536 no_cache=0
7537 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7538 if test "${enable_graphics_ctx+set}" = set; then
7539 enableval="$enable_graphics_ctx"
7540
7541 if test "$enableval" = yes; then
7542 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7543 else
7544 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7545 fi
7546
7547 else
7548
7549 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7550 if test "x$LINE" != x ; then
7551 eval "DEFAULT_$LINE"
7552 else
7553 no_cache=1
7554 fi
7555
7556 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7557
7558 fi;
7559
7560 eval "$ac_cv_use_graphics_ctx"
7561 if test "$no_cache" != 1; then
7562 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7563 fi
7564
7565 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7566 echo "$as_me:$LINENO: result: yes" >&5
7567 echo "${ECHO_T}yes" >&6
7568 else
7569 echo "$as_me:$LINENO: result: no" >&5
7570 echo "${ECHO_T}no" >&6
7571 fi
7572
7573
7574
7575 enablestring=
7576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7577 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7578 no_cache=0
7579 # Check whether --enable-postscript or --disable-postscript was given.
7580 if test "${enable_postscript+set}" = set; then
7581 enableval="$enable_postscript"
7582
7583 if test "$enableval" = yes; then
7584 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7585 else
7586 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7587 fi
7588
7589 else
7590
7591 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7592 if test "x$LINE" != x ; then
7593 eval "DEFAULT_$LINE"
7594 else
7595 no_cache=1
7596 fi
7597
7598 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7599
7600 fi;
7601
7602 eval "$ac_cv_use_postscript"
7603 if test "$no_cache" != 1; then
7604 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7605 fi
7606
7607 if test "$wxUSE_POSTSCRIPT" = yes; then
7608 echo "$as_me:$LINENO: result: yes" >&5
7609 echo "${ECHO_T}yes" >&6
7610 else
7611 echo "$as_me:$LINENO: result: no" >&5
7612 echo "${ECHO_T}no" >&6
7613 fi
7614
7615
7616
7617
7618
7619 enablestring=
7620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7621 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7622 no_cache=0
7623 # Check whether --enable-prologio or --disable-prologio was given.
7624 if test "${enable_prologio+set}" = set; then
7625 enableval="$enable_prologio"
7626
7627 if test "$enableval" = yes; then
7628 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7629 else
7630 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7631 fi
7632
7633 else
7634
7635 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7636 if test "x$LINE" != x ; then
7637 eval "DEFAULT_$LINE"
7638 else
7639 no_cache=1
7640 fi
7641
7642 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7643
7644 fi;
7645
7646 eval "$ac_cv_use_prologio"
7647 if test "$no_cache" != 1; then
7648 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7649 fi
7650
7651 if test "$wxUSE_PROLOGIO" = yes; then
7652 echo "$as_me:$LINENO: result: yes" >&5
7653 echo "${ECHO_T}yes" >&6
7654 else
7655 echo "$as_me:$LINENO: result: no" >&5
7656 echo "${ECHO_T}no" >&6
7657 fi
7658
7659
7660 enablestring=
7661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7662 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7663 no_cache=0
7664 # Check whether --enable-resources or --disable-resources was given.
7665 if test "${enable_resources+set}" = set; then
7666 enableval="$enable_resources"
7667
7668 if test "$enableval" = yes; then
7669 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7670 else
7671 ac_cv_use_resources='wxUSE_RESOURCES=no'
7672 fi
7673
7674 else
7675
7676 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7677 if test "x$LINE" != x ; then
7678 eval "DEFAULT_$LINE"
7679 else
7680 no_cache=1
7681 fi
7682
7683 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7684
7685 fi;
7686
7687 eval "$ac_cv_use_resources"
7688 if test "$no_cache" != 1; then
7689 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7690 fi
7691
7692 if test "$wxUSE_RESOURCES" = yes; then
7693 echo "$as_me:$LINENO: result: yes" >&5
7694 echo "${ECHO_T}yes" >&6
7695 else
7696 echo "$as_me:$LINENO: result: no" >&5
7697 echo "${ECHO_T}no" >&6
7698 fi
7699
7700
7701
7702
7703 enablestring=
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7706 no_cache=0
7707 # Check whether --enable-clipboard or --disable-clipboard was given.
7708 if test "${enable_clipboard+set}" = set; then
7709 enableval="$enable_clipboard"
7710
7711 if test "$enableval" = yes; then
7712 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7713 else
7714 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7715 fi
7716
7717 else
7718
7719 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x ; then
7721 eval "DEFAULT_$LINE"
7722 else
7723 no_cache=1
7724 fi
7725
7726 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7727
7728 fi;
7729
7730 eval "$ac_cv_use_clipboard"
7731 if test "$no_cache" != 1; then
7732 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7733 fi
7734
7735 if test "$wxUSE_CLIPBOARD" = yes; then
7736 echo "$as_me:$LINENO: result: yes" >&5
7737 echo "${ECHO_T}yes" >&6
7738 else
7739 echo "$as_me:$LINENO: result: no" >&5
7740 echo "${ECHO_T}no" >&6
7741 fi
7742
7743
7744 enablestring=
7745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7747 no_cache=0
7748 # Check whether --enable-dnd or --disable-dnd was given.
7749 if test "${enable_dnd+set}" = set; then
7750 enableval="$enable_dnd"
7751
7752 if test "$enableval" = yes; then
7753 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7754 else
7755 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7756 fi
7757
7758 else
7759
7760 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x ; then
7762 eval "DEFAULT_$LINE"
7763 else
7764 no_cache=1
7765 fi
7766
7767 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7768
7769 fi;
7770
7771 eval "$ac_cv_use_dnd"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7774 fi
7775
7776 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7777 echo "$as_me:$LINENO: result: yes" >&5
7778 echo "${ECHO_T}yes" >&6
7779 else
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7782 fi
7783
7784
7785 enablestring=
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7788 no_cache=0
7789 # Check whether --enable-metafile or --disable-metafile was given.
7790 if test "${enable_metafile+set}" = set; then
7791 enableval="$enable_metafile"
7792
7793 if test "$enableval" = yes; then
7794 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7795 else
7796 ac_cv_use_metafile='wxUSE_METAFILE=no'
7797 fi
7798
7799 else
7800
7801 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x ; then
7803 eval "DEFAULT_$LINE"
7804 else
7805 no_cache=1
7806 fi
7807
7808 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7809
7810 fi;
7811
7812 eval "$ac_cv_use_metafile"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7815 fi
7816
7817 if test "$wxUSE_METAFILE" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819 echo "${ECHO_T}yes" >&6
7820 else
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7823 fi
7824
7825
7826
7827
7828
7829 enablestring=
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7832 no_cache=0
7833 # Check whether --enable-controls or --disable-controls was given.
7834 if test "${enable_controls+set}" = set; then
7835 enableval="$enable_controls"
7836
7837 if test "$enableval" = yes; then
7838 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7839 else
7840 ac_cv_use_controls='wxUSE_CONTROLS=no'
7841 fi
7842
7843 else
7844
7845 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x ; then
7847 eval "DEFAULT_$LINE"
7848 else
7849 no_cache=1
7850 fi
7851
7852 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7853
7854 fi;
7855
7856 eval "$ac_cv_use_controls"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7859 fi
7860
7861 if test "$wxUSE_CONTROLS" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7864 else
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7867 fi
7868
7869
7870 if test "$wxUSE_CONTROLS" = "yes"; then
7871 DEFAULT_wxUSE_ACCEL=yes
7872 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7873 DEFAULT_wxUSE_BMPBUTTON=yes
7874 DEFAULT_wxUSE_BUTTON=yes
7875 DEFAULT_wxUSE_CALCTRL=yes
7876 DEFAULT_wxUSE_CARET=yes
7877 DEFAULT_wxUSE_COMBOBOX=yes
7878 DEFAULT_wxUSE_CHECKBOX=yes
7879 DEFAULT_wxUSE_CHECKLISTBOX=yes
7880 DEFAULT_wxUSE_CHOICE=yes
7881 DEFAULT_wxUSE_CHOICEBOOK=yes
7882 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7883 DEFAULT_wxUSE_COMBOBOX=yes
7884 DEFAULT_wxUSE_DATEPICKCTRL=yes
7885 DEFAULT_wxUSE_DISPLAY=yes
7886 DEFAULT_wxUSE_DETECT_SM=yes
7887 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7888 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7889 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7890 DEFAULT_wxUSE_GAUGE=yes
7891 DEFAULT_wxUSE_GRID=yes
7892 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7893 DEFAULT_wxUSE_DATAVIEWCTRL=no
7894 DEFAULT_wxUSE_IMAGLIST=yes
7895 DEFAULT_wxUSE_LISTBOOK=yes
7896 DEFAULT_wxUSE_LISTBOX=yes
7897 DEFAULT_wxUSE_LISTCTRL=yes
7898 DEFAULT_wxUSE_NOTEBOOK=yes
7899 DEFAULT_wxUSE_RADIOBOX=yes
7900 DEFAULT_wxUSE_RADIOBTN=yes
7901 DEFAULT_wxUSE_SASH=yes
7902 DEFAULT_wxUSE_SCROLLBAR=yes
7903 DEFAULT_wxUSE_SLIDER=yes
7904 DEFAULT_wxUSE_SPINBTN=yes
7905 DEFAULT_wxUSE_SPINCTRL=yes
7906 DEFAULT_wxUSE_SPLITTER=yes
7907 DEFAULT_wxUSE_STATBMP=yes
7908 DEFAULT_wxUSE_STATBOX=yes
7909 DEFAULT_wxUSE_STATLINE=yes
7910 DEFAULT_wxUSE_STATUSBAR=yes
7911 DEFAULT_wxUSE_TAB_DIALOG=yes
7912 DEFAULT_wxUSE_TOGGLEBTN=yes
7913 DEFAULT_wxUSE_TOOLBAR=yes
7914 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7915 DEFAULT_wxUSE_TOOLTIPS=yes
7916 DEFAULT_wxUSE_TREEBOOK=yes
7917 DEFAULT_wxUSE_TOOLBOOK=yes
7918 DEFAULT_wxUSE_TREECTRL=yes
7919 DEFAULT_wxUSE_POPUPWIN=yes
7920 DEFAULT_wxUSE_TIPWINDOW=yes
7921 elif test "$wxUSE_CONTROLS" = "no"; then
7922 DEFAULT_wxUSE_ACCEL=no
7923 DEFAULT_wxUSE_ANIMATIONCTRL=no
7924 DEFAULT_wxUSE_BMPBUTTON=no
7925 DEFAULT_wxUSE_BUTTON=no
7926 DEFAULT_wxUSE_CALCTRL=no
7927 DEFAULT_wxUSE_CARET=no
7928 DEFAULT_wxUSE_COMBOBOX=no
7929 DEFAULT_wxUSE_CHECKBOX=no
7930 DEFAULT_wxUSE_CHECKLISTBOX=no
7931 DEFAULT_wxUSE_CHOICE=no
7932 DEFAULT_wxUSE_CHOICEBOOK=no
7933 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7934 DEFAULT_wxUSE_COMBOBOX=no
7935 DEFAULT_wxUSE_DATEPICKCTRL=no
7936 DEFAULT_wxUSE_DISPLAY=no
7937 DEFAULT_wxUSE_DETECT_SM=no
7938 DEFAULT_wxUSE_DIRPICKERCTRL=no
7939 DEFAULT_wxUSE_FILEPICKERCTRL=no
7940 DEFAULT_wxUSE_FONTPICKERCTRL=no
7941 DEFAULT_wxUSE_GAUGE=no
7942 DEFAULT_wxUSE_GRID=no
7943 DEFAULT_wxUSE_HYPERLINKCTRL=no
7944 DEFAULT_wxUSE_DATAVIEWCTRL=no
7945 DEFAULT_wxUSE_IMAGLIST=no
7946 DEFAULT_wxUSE_LISTBOOK=no
7947 DEFAULT_wxUSE_LISTBOX=no
7948 DEFAULT_wxUSE_LISTCTRL=no
7949 DEFAULT_wxUSE_NOTEBOOK=no
7950 DEFAULT_wxUSE_RADIOBOX=no
7951 DEFAULT_wxUSE_RADIOBTN=no
7952 DEFAULT_wxUSE_SASH=no
7953 DEFAULT_wxUSE_SCROLLBAR=no
7954 DEFAULT_wxUSE_SLIDER=no
7955 DEFAULT_wxUSE_SPINBTN=no
7956 DEFAULT_wxUSE_SPINCTRL=no
7957 DEFAULT_wxUSE_SPLITTER=no
7958 DEFAULT_wxUSE_STATBMP=no
7959 DEFAULT_wxUSE_STATBOX=no
7960 DEFAULT_wxUSE_STATLINE=no
7961 DEFAULT_wxUSE_STATUSBAR=no
7962 DEFAULT_wxUSE_TAB_DIALOG=no
7963 DEFAULT_wxUSE_TOGGLEBTN=no
7964 DEFAULT_wxUSE_TOOLBAR=no
7965 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7966 DEFAULT_wxUSE_TOOLTIPS=no
7967 DEFAULT_wxUSE_TREEBOOK=no
7968 DEFAULT_wxUSE_TOOLBOOK=no
7969 DEFAULT_wxUSE_TREECTRL=no
7970 DEFAULT_wxUSE_POPUPWIN=no
7971 DEFAULT_wxUSE_TIPWINDOW=no
7972 fi
7973
7974
7975 enablestring=
7976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7977 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7978 no_cache=0
7979 # Check whether --enable-accel or --disable-accel was given.
7980 if test "${enable_accel+set}" = set; then
7981 enableval="$enable_accel"
7982
7983 if test "$enableval" = yes; then
7984 ac_cv_use_accel='wxUSE_ACCEL=yes'
7985 else
7986 ac_cv_use_accel='wxUSE_ACCEL=no'
7987 fi
7988
7989 else
7990
7991 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x ; then
7993 eval "DEFAULT_$LINE"
7994 else
7995 no_cache=1
7996 fi
7997
7998 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7999
8000 fi;
8001
8002 eval "$ac_cv_use_accel"
8003 if test "$no_cache" != 1; then
8004 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8005 fi
8006
8007 if test "$wxUSE_ACCEL" = yes; then
8008 echo "$as_me:$LINENO: result: yes" >&5
8009 echo "${ECHO_T}yes" >&6
8010 else
8011 echo "$as_me:$LINENO: result: no" >&5
8012 echo "${ECHO_T}no" >&6
8013 fi
8014
8015
8016 enablestring=
8017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8018 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8019 no_cache=0
8020 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8021 if test "${enable_animatectrl+set}" = set; then
8022 enableval="$enable_animatectrl"
8023
8024 if test "$enableval" = yes; then
8025 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8026 else
8027 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8028 fi
8029
8030 else
8031
8032 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x ; then
8034 eval "DEFAULT_$LINE"
8035 else
8036 no_cache=1
8037 fi
8038
8039 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8040
8041 fi;
8042
8043 eval "$ac_cv_use_animatectrl"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8046 fi
8047
8048 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8049 echo "$as_me:$LINENO: result: yes" >&5
8050 echo "${ECHO_T}yes" >&6
8051 else
8052 echo "$as_me:$LINENO: result: no" >&5
8053 echo "${ECHO_T}no" >&6
8054 fi
8055
8056
8057 enablestring=
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8060 no_cache=0
8061 # Check whether --enable-button or --disable-button was given.
8062 if test "${enable_button+set}" = set; then
8063 enableval="$enable_button"
8064
8065 if test "$enableval" = yes; then
8066 ac_cv_use_button='wxUSE_BUTTON=yes'
8067 else
8068 ac_cv_use_button='wxUSE_BUTTON=no'
8069 fi
8070
8071 else
8072
8073 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x ; then
8075 eval "DEFAULT_$LINE"
8076 else
8077 no_cache=1
8078 fi
8079
8080 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8081
8082 fi;
8083
8084 eval "$ac_cv_use_button"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8087 fi
8088
8089 if test "$wxUSE_BUTTON" = yes; then
8090 echo "$as_me:$LINENO: result: yes" >&5
8091 echo "${ECHO_T}yes" >&6
8092 else
8093 echo "$as_me:$LINENO: result: no" >&5
8094 echo "${ECHO_T}no" >&6
8095 fi
8096
8097
8098 enablestring=
8099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8101 no_cache=0
8102 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8103 if test "${enable_bmpbutton+set}" = set; then
8104 enableval="$enable_bmpbutton"
8105
8106 if test "$enableval" = yes; then
8107 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8108 else
8109 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8110 fi
8111
8112 else
8113
8114 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x ; then
8116 eval "DEFAULT_$LINE"
8117 else
8118 no_cache=1
8119 fi
8120
8121 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8122
8123 fi;
8124
8125 eval "$ac_cv_use_bmpbutton"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8128 fi
8129
8130 if test "$wxUSE_BMPBUTTON" = yes; then
8131 echo "$as_me:$LINENO: result: yes" >&5
8132 echo "${ECHO_T}yes" >&6
8133 else
8134 echo "$as_me:$LINENO: result: no" >&5
8135 echo "${ECHO_T}no" >&6
8136 fi
8137
8138
8139 enablestring=
8140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8141 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8142 no_cache=0
8143 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8144 if test "${enable_bmpcombobox+set}" = set; then
8145 enableval="$enable_bmpcombobox"
8146
8147 if test "$enableval" = yes; then
8148 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8149 else
8150 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8151 fi
8152
8153 else
8154
8155 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8158 else
8159 no_cache=1
8160 fi
8161
8162 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8163
8164 fi;
8165
8166 eval "$ac_cv_use_bmpcombobox"
8167 if test "$no_cache" != 1; then
8168 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8169 fi
8170
8171 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8172 echo "$as_me:$LINENO: result: yes" >&5
8173 echo "${ECHO_T}yes" >&6
8174 else
8175 echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6
8177 fi
8178
8179
8180 enablestring=
8181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8183 no_cache=0
8184 # Check whether --enable-calendar or --disable-calendar was given.
8185 if test "${enable_calendar+set}" = set; then
8186 enableval="$enable_calendar"
8187
8188 if test "$enableval" = yes; then
8189 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8190 else
8191 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8192 fi
8193
8194 else
8195
8196 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8199 else
8200 no_cache=1
8201 fi
8202
8203 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8204
8205 fi;
8206
8207 eval "$ac_cv_use_calendar"
8208 if test "$no_cache" != 1; then
8209 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8210 fi
8211
8212 if test "$wxUSE_CALCTRL" = yes; then
8213 echo "$as_me:$LINENO: result: yes" >&5
8214 echo "${ECHO_T}yes" >&6
8215 else
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8218 fi
8219
8220
8221 enablestring=
8222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8223 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8224 no_cache=0
8225 # Check whether --enable-caret or --disable-caret was given.
8226 if test "${enable_caret+set}" = set; then
8227 enableval="$enable_caret"
8228
8229 if test "$enableval" = yes; then
8230 ac_cv_use_caret='wxUSE_CARET=yes'
8231 else
8232 ac_cv_use_caret='wxUSE_CARET=no'
8233 fi
8234
8235 else
8236
8237 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x ; then
8239 eval "DEFAULT_$LINE"
8240 else
8241 no_cache=1
8242 fi
8243
8244 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8245
8246 fi;
8247
8248 eval "$ac_cv_use_caret"
8249 if test "$no_cache" != 1; then
8250 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8251 fi
8252
8253 if test "$wxUSE_CARET" = yes; then
8254 echo "$as_me:$LINENO: result: yes" >&5
8255 echo "${ECHO_T}yes" >&6
8256 else
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8259 fi
8260
8261
8262 enablestring=
8263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8264 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8265 no_cache=0
8266 # Check whether --enable-checkbox or --disable-checkbox was given.
8267 if test "${enable_checkbox+set}" = set; then
8268 enableval="$enable_checkbox"
8269
8270 if test "$enableval" = yes; then
8271 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8272 else
8273 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8274 fi
8275
8276 else
8277
8278 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x ; then
8280 eval "DEFAULT_$LINE"
8281 else
8282 no_cache=1
8283 fi
8284
8285 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8286
8287 fi;
8288
8289 eval "$ac_cv_use_checkbox"
8290 if test "$no_cache" != 1; then
8291 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8292 fi
8293
8294 if test "$wxUSE_CHECKBOX" = yes; then
8295 echo "$as_me:$LINENO: result: yes" >&5
8296 echo "${ECHO_T}yes" >&6
8297 else
8298 echo "$as_me:$LINENO: result: no" >&5
8299 echo "${ECHO_T}no" >&6
8300 fi
8301
8302
8303 enablestring=
8304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8305 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8306 no_cache=0
8307 # Check whether --enable-checklst or --disable-checklst was given.
8308 if test "${enable_checklst+set}" = set; then
8309 enableval="$enable_checklst"
8310
8311 if test "$enableval" = yes; then
8312 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8313 else
8314 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8315 fi
8316
8317 else
8318
8319 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x ; then
8321 eval "DEFAULT_$LINE"
8322 else
8323 no_cache=1
8324 fi
8325
8326 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8327
8328 fi;
8329
8330 eval "$ac_cv_use_checklst"
8331 if test "$no_cache" != 1; then
8332 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8333 fi
8334
8335 if test "$wxUSE_CHECKLST" = yes; then
8336 echo "$as_me:$LINENO: result: yes" >&5
8337 echo "${ECHO_T}yes" >&6
8338 else
8339 echo "$as_me:$LINENO: result: no" >&5
8340 echo "${ECHO_T}no" >&6
8341 fi
8342
8343
8344 enablestring=
8345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8346 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8347 no_cache=0
8348 # Check whether --enable-choice or --disable-choice was given.
8349 if test "${enable_choice+set}" = set; then
8350 enableval="$enable_choice"
8351
8352 if test "$enableval" = yes; then
8353 ac_cv_use_choice='wxUSE_CHOICE=yes'
8354 else
8355 ac_cv_use_choice='wxUSE_CHOICE=no'
8356 fi
8357
8358 else
8359
8360 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x ; then
8362 eval "DEFAULT_$LINE"
8363 else
8364 no_cache=1
8365 fi
8366
8367 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8368
8369 fi;
8370
8371 eval "$ac_cv_use_choice"
8372 if test "$no_cache" != 1; then
8373 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8374 fi
8375
8376 if test "$wxUSE_CHOICE" = yes; then
8377 echo "$as_me:$LINENO: result: yes" >&5
8378 echo "${ECHO_T}yes" >&6
8379 else
8380 echo "$as_me:$LINENO: result: no" >&5
8381 echo "${ECHO_T}no" >&6
8382 fi
8383
8384
8385 enablestring=
8386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8387 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8388 no_cache=0
8389 # Check whether --enable-choicebook or --disable-choicebook was given.
8390 if test "${enable_choicebook+set}" = set; then
8391 enableval="$enable_choicebook"
8392
8393 if test "$enableval" = yes; then
8394 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8395 else
8396 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8397 fi
8398
8399 else
8400
8401 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8402 if test "x$LINE" != x ; then
8403 eval "DEFAULT_$LINE"
8404 else
8405 no_cache=1
8406 fi
8407
8408 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8409
8410 fi;
8411
8412 eval "$ac_cv_use_choicebook"
8413 if test "$no_cache" != 1; then
8414 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8415 fi
8416
8417 if test "$wxUSE_CHOICEBOOK" = yes; then
8418 echo "$as_me:$LINENO: result: yes" >&5
8419 echo "${ECHO_T}yes" >&6
8420 else
8421 echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6
8423 fi
8424
8425
8426 enablestring=
8427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8429 no_cache=0
8430 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8431 if test "${enable_colourpicker+set}" = set; then
8432 enableval="$enable_colourpicker"
8433
8434 if test "$enableval" = yes; then
8435 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8436 else
8437 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8438 fi
8439
8440 else
8441
8442 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8443 if test "x$LINE" != x ; then
8444 eval "DEFAULT_$LINE"
8445 else
8446 no_cache=1
8447 fi
8448
8449 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8450
8451 fi;
8452
8453 eval "$ac_cv_use_colourpicker"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8456 fi
8457
8458 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8459 echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6
8461 else
8462 echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6
8464 fi
8465
8466
8467 enablestring=
8468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8470 no_cache=0
8471 # Check whether --enable-combobox or --disable-combobox was given.
8472 if test "${enable_combobox+set}" = set; then
8473 enableval="$enable_combobox"
8474
8475 if test "$enableval" = yes; then
8476 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8477 else
8478 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8479 fi
8480
8481 else
8482
8483 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8484 if test "x$LINE" != x ; then
8485 eval "DEFAULT_$LINE"
8486 else
8487 no_cache=1
8488 fi
8489
8490 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8491
8492 fi;
8493
8494 eval "$ac_cv_use_combobox"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8497 fi
8498
8499 if test "$wxUSE_COMBOBOX" = yes; then
8500 echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6
8502 else
8503 echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6
8505 fi
8506
8507
8508 enablestring=
8509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8510 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8511 no_cache=0
8512 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8513 if test "${enable_comboctrl+set}" = set; then
8514 enableval="$enable_comboctrl"
8515
8516 if test "$enableval" = yes; then
8517 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8518 else
8519 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8520 fi
8521
8522 else
8523
8524 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8525 if test "x$LINE" != x ; then
8526 eval "DEFAULT_$LINE"
8527 else
8528 no_cache=1
8529 fi
8530
8531 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8532
8533 fi;
8534
8535 eval "$ac_cv_use_comboctrl"
8536 if test "$no_cache" != 1; then
8537 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8538 fi
8539
8540 if test "$wxUSE_COMBOCTRL" = yes; then
8541 echo "$as_me:$LINENO: result: yes" >&5
8542 echo "${ECHO_T}yes" >&6
8543 else
8544 echo "$as_me:$LINENO: result: no" >&5
8545 echo "${ECHO_T}no" >&6
8546 fi
8547
8548
8549 enablestring=
8550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8551 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8552 no_cache=0
8553 # Check whether --enable-datepick or --disable-datepick was given.
8554 if test "${enable_datepick+set}" = set; then
8555 enableval="$enable_datepick"
8556
8557 if test "$enableval" = yes; then
8558 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8559 else
8560 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8561 fi
8562
8563 else
8564
8565 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8566 if test "x$LINE" != x ; then
8567 eval "DEFAULT_$LINE"
8568 else
8569 no_cache=1
8570 fi
8571
8572 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8573
8574 fi;
8575
8576 eval "$ac_cv_use_datepick"
8577 if test "$no_cache" != 1; then
8578 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8579 fi
8580
8581 if test "$wxUSE_DATEPICKCTRL" = yes; then
8582 echo "$as_me:$LINENO: result: yes" >&5
8583 echo "${ECHO_T}yes" >&6
8584 else
8585 echo "$as_me:$LINENO: result: no" >&5
8586 echo "${ECHO_T}no" >&6
8587 fi
8588
8589
8590 enablestring=
8591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8592 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8593 no_cache=0
8594 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8595 if test "${enable_dirpicker+set}" = set; then
8596 enableval="$enable_dirpicker"
8597
8598 if test "$enableval" = yes; then
8599 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8600 else
8601 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8602 fi
8603
8604 else
8605
8606 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x ; then
8608 eval "DEFAULT_$LINE"
8609 else
8610 no_cache=1
8611 fi
8612
8613 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8614
8615 fi;
8616
8617 eval "$ac_cv_use_dirpicker"
8618 if test "$no_cache" != 1; then
8619 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8620 fi
8621
8622 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8623 echo "$as_me:$LINENO: result: yes" >&5
8624 echo "${ECHO_T}yes" >&6
8625 else
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8628 fi
8629
8630
8631 enablestring=
8632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8634 no_cache=0
8635 # Check whether --enable-display or --disable-display was given.
8636 if test "${enable_display+set}" = set; then
8637 enableval="$enable_display"
8638
8639 if test "$enableval" = yes; then
8640 ac_cv_use_display='wxUSE_DISPLAY=yes'
8641 else
8642 ac_cv_use_display='wxUSE_DISPLAY=no'
8643 fi
8644
8645 else
8646
8647 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x ; then
8649 eval "DEFAULT_$LINE"
8650 else
8651 no_cache=1
8652 fi
8653
8654 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8655
8656 fi;
8657
8658 eval "$ac_cv_use_display"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8661 fi
8662
8663 if test "$wxUSE_DISPLAY" = yes; then
8664 echo "$as_me:$LINENO: result: yes" >&5
8665 echo "${ECHO_T}yes" >&6
8666 else
8667 echo "$as_me:$LINENO: result: no" >&5
8668 echo "${ECHO_T}no" >&6
8669 fi
8670
8671
8672 enablestring=
8673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8674 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8675 no_cache=0
8676 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8677 if test "${enable_detect_sm+set}" = set; then
8678 enableval="$enable_detect_sm"
8679
8680 if test "$enableval" = yes; then
8681 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8682 else
8683 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8684 fi
8685
8686 else
8687
8688 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8689 if test "x$LINE" != x ; then
8690 eval "DEFAULT_$LINE"
8691 else
8692 no_cache=1
8693 fi
8694
8695 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8696
8697 fi;
8698
8699 eval "$ac_cv_use_detect_sm"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8702 fi
8703
8704 if test "$wxUSE_DETECT_SM" = yes; then
8705 echo "$as_me:$LINENO: result: yes" >&5
8706 echo "${ECHO_T}yes" >&6
8707 else
8708 echo "$as_me:$LINENO: result: no" >&5
8709 echo "${ECHO_T}no" >&6
8710 fi
8711
8712
8713 enablestring=
8714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8716 no_cache=0
8717 # Check whether --enable-filepicker or --disable-filepicker was given.
8718 if test "${enable_filepicker+set}" = set; then
8719 enableval="$enable_filepicker"
8720
8721 if test "$enableval" = yes; then
8722 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8723 else
8724 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8725 fi
8726
8727 else
8728
8729 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8730 if test "x$LINE" != x ; then
8731 eval "DEFAULT_$LINE"
8732 else
8733 no_cache=1
8734 fi
8735
8736 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8737
8738 fi;
8739
8740 eval "$ac_cv_use_filepicker"
8741 if test "$no_cache" != 1; then
8742 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8743 fi
8744
8745 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8746 echo "$as_me:$LINENO: result: yes" >&5
8747 echo "${ECHO_T}yes" >&6
8748 else
8749 echo "$as_me:$LINENO: result: no" >&5
8750 echo "${ECHO_T}no" >&6
8751 fi
8752
8753
8754 enablestring=
8755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8757 no_cache=0
8758 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8759 if test "${enable_fontpicker+set}" = set; then
8760 enableval="$enable_fontpicker"
8761
8762 if test "$enableval" = yes; then
8763 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8764 else
8765 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8766 fi
8767
8768 else
8769
8770 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8771 if test "x$LINE" != x ; then
8772 eval "DEFAULT_$LINE"
8773 else
8774 no_cache=1
8775 fi
8776
8777 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8778
8779 fi;
8780
8781 eval "$ac_cv_use_fontpicker"
8782 if test "$no_cache" != 1; then
8783 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8784 fi
8785
8786 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8787 echo "$as_me:$LINENO: result: yes" >&5
8788 echo "${ECHO_T}yes" >&6
8789 else
8790 echo "$as_me:$LINENO: result: no" >&5
8791 echo "${ECHO_T}no" >&6
8792 fi
8793
8794
8795 enablestring=
8796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8797 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8798 no_cache=0
8799 # Check whether --enable-gauge or --disable-gauge was given.
8800 if test "${enable_gauge+set}" = set; then
8801 enableval="$enable_gauge"
8802
8803 if test "$enableval" = yes; then
8804 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8805 else
8806 ac_cv_use_gauge='wxUSE_GAUGE=no'
8807 fi
8808
8809 else
8810
8811 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8812 if test "x$LINE" != x ; then
8813 eval "DEFAULT_$LINE"
8814 else
8815 no_cache=1
8816 fi
8817
8818 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8819
8820 fi;
8821
8822 eval "$ac_cv_use_gauge"
8823 if test "$no_cache" != 1; then
8824 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8825 fi
8826
8827 if test "$wxUSE_GAUGE" = yes; then
8828 echo "$as_me:$LINENO: result: yes" >&5
8829 echo "${ECHO_T}yes" >&6
8830 else
8831 echo "$as_me:$LINENO: result: no" >&5
8832 echo "${ECHO_T}no" >&6
8833 fi
8834
8835
8836 enablestring=
8837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8838 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8839 no_cache=0
8840 # Check whether --enable-grid or --disable-grid was given.
8841 if test "${enable_grid+set}" = set; then
8842 enableval="$enable_grid"
8843
8844 if test "$enableval" = yes; then
8845 ac_cv_use_grid='wxUSE_GRID=yes'
8846 else
8847 ac_cv_use_grid='wxUSE_GRID=no'
8848 fi
8849
8850 else
8851
8852 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8853 if test "x$LINE" != x ; then
8854 eval "DEFAULT_$LINE"
8855 else
8856 no_cache=1
8857 fi
8858
8859 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8860
8861 fi;
8862
8863 eval "$ac_cv_use_grid"
8864 if test "$no_cache" != 1; then
8865 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8866 fi
8867
8868 if test "$wxUSE_GRID" = yes; then
8869 echo "$as_me:$LINENO: result: yes" >&5
8870 echo "${ECHO_T}yes" >&6
8871 else
8872 echo "$as_me:$LINENO: result: no" >&5
8873 echo "${ECHO_T}no" >&6
8874 fi
8875
8876
8877 enablestring=
8878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8879 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8880 no_cache=0
8881 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8882 if test "${enable_dataviewctrl+set}" = set; then
8883 enableval="$enable_dataviewctrl"
8884
8885 if test "$enableval" = yes; then
8886 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8887 else
8888 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8889 fi
8890
8891 else
8892
8893 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8894 if test "x$LINE" != x ; then
8895 eval "DEFAULT_$LINE"
8896 else
8897 no_cache=1
8898 fi
8899
8900 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8901
8902 fi;
8903
8904 eval "$ac_cv_use_dataviewctrl"
8905 if test "$no_cache" != 1; then
8906 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8907 fi
8908
8909 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8910 echo "$as_me:$LINENO: result: yes" >&5
8911 echo "${ECHO_T}yes" >&6
8912 else
8913 echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6
8915 fi
8916
8917
8918 enablestring=
8919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8920 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8921 no_cache=0
8922 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8923 if test "${enable_hyperlink+set}" = set; then
8924 enableval="$enable_hyperlink"
8925
8926 if test "$enableval" = yes; then
8927 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8928 else
8929 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8930 fi
8931
8932 else
8933
8934 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8935 if test "x$LINE" != x ; then
8936 eval "DEFAULT_$LINE"
8937 else
8938 no_cache=1
8939 fi
8940
8941 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8942
8943 fi;
8944
8945 eval "$ac_cv_use_hyperlink"
8946 if test "$no_cache" != 1; then
8947 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8948 fi
8949
8950 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8951 echo "$as_me:$LINENO: result: yes" >&5
8952 echo "${ECHO_T}yes" >&6
8953 else
8954 echo "$as_me:$LINENO: result: no" >&5
8955 echo "${ECHO_T}no" >&6
8956 fi
8957
8958
8959 enablestring=
8960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8962 no_cache=0
8963 # Check whether --enable-imaglist or --disable-imaglist was given.
8964 if test "${enable_imaglist+set}" = set; then
8965 enableval="$enable_imaglist"
8966
8967 if test "$enableval" = yes; then
8968 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8969 else
8970 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8971 fi
8972
8973 else
8974
8975 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8976 if test "x$LINE" != x ; then
8977 eval "DEFAULT_$LINE"
8978 else
8979 no_cache=1
8980 fi
8981
8982 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8983
8984 fi;
8985
8986 eval "$ac_cv_use_imaglist"
8987 if test "$no_cache" != 1; then
8988 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8989 fi
8990
8991 if test "$wxUSE_IMAGLIST" = yes; then
8992 echo "$as_me:$LINENO: result: yes" >&5
8993 echo "${ECHO_T}yes" >&6
8994 else
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
8997 fi
8998
8999
9000 enablestring=
9001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9002 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9003 no_cache=0
9004 # Check whether --enable-listbook or --disable-listbook was given.
9005 if test "${enable_listbook+set}" = set; then
9006 enableval="$enable_listbook"
9007
9008 if test "$enableval" = yes; then
9009 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9010 else
9011 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9012 fi
9013
9014 else
9015
9016 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9017 if test "x$LINE" != x ; then
9018 eval "DEFAULT_$LINE"
9019 else
9020 no_cache=1
9021 fi
9022
9023 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9024
9025 fi;
9026
9027 eval "$ac_cv_use_listbook"
9028 if test "$no_cache" != 1; then
9029 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9030 fi
9031
9032 if test "$wxUSE_LISTBOOK" = yes; then
9033 echo "$as_me:$LINENO: result: yes" >&5
9034 echo "${ECHO_T}yes" >&6
9035 else
9036 echo "$as_me:$LINENO: result: no" >&5
9037 echo "${ECHO_T}no" >&6
9038 fi
9039
9040
9041 enablestring=
9042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9043 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9044 no_cache=0
9045 # Check whether --enable-listbox or --disable-listbox was given.
9046 if test "${enable_listbox+set}" = set; then
9047 enableval="$enable_listbox"
9048
9049 if test "$enableval" = yes; then
9050 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9051 else
9052 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9053 fi
9054
9055 else
9056
9057 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9058 if test "x$LINE" != x ; then
9059 eval "DEFAULT_$LINE"
9060 else
9061 no_cache=1
9062 fi
9063
9064 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9065
9066 fi;
9067
9068 eval "$ac_cv_use_listbox"
9069 if test "$no_cache" != 1; then
9070 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9071 fi
9072
9073 if test "$wxUSE_LISTBOX" = yes; then
9074 echo "$as_me:$LINENO: result: yes" >&5
9075 echo "${ECHO_T}yes" >&6
9076 else
9077 echo "$as_me:$LINENO: result: no" >&5
9078 echo "${ECHO_T}no" >&6
9079 fi
9080
9081
9082 enablestring=
9083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9084 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9085 no_cache=0
9086 # Check whether --enable-listctrl or --disable-listctrl was given.
9087 if test "${enable_listctrl+set}" = set; then
9088 enableval="$enable_listctrl"
9089
9090 if test "$enableval" = yes; then
9091 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9092 else
9093 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9094 fi
9095
9096 else
9097
9098 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9099 if test "x$LINE" != x ; then
9100 eval "DEFAULT_$LINE"
9101 else
9102 no_cache=1
9103 fi
9104
9105 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9106
9107 fi;
9108
9109 eval "$ac_cv_use_listctrl"
9110 if test "$no_cache" != 1; then
9111 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9112 fi
9113
9114 if test "$wxUSE_LISTCTRL" = yes; then
9115 echo "$as_me:$LINENO: result: yes" >&5
9116 echo "${ECHO_T}yes" >&6
9117 else
9118 echo "$as_me:$LINENO: result: no" >&5
9119 echo "${ECHO_T}no" >&6
9120 fi
9121
9122
9123 enablestring=
9124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9125 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9126 no_cache=0
9127 # Check whether --enable-notebook or --disable-notebook was given.
9128 if test "${enable_notebook+set}" = set; then
9129 enableval="$enable_notebook"
9130
9131 if test "$enableval" = yes; then
9132 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9133 else
9134 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9135 fi
9136
9137 else
9138
9139 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9140 if test "x$LINE" != x ; then
9141 eval "DEFAULT_$LINE"
9142 else
9143 no_cache=1
9144 fi
9145
9146 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9147
9148 fi;
9149
9150 eval "$ac_cv_use_notebook"
9151 if test "$no_cache" != 1; then
9152 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9153 fi
9154
9155 if test "$wxUSE_NOTEBOOK" = yes; then
9156 echo "$as_me:$LINENO: result: yes" >&5
9157 echo "${ECHO_T}yes" >&6
9158 else
9159 echo "$as_me:$LINENO: result: no" >&5
9160 echo "${ECHO_T}no" >&6
9161 fi
9162
9163
9164 enablestring=
9165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9166 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9167 no_cache=0
9168 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9169 if test "${enable_odcombobox+set}" = set; then
9170 enableval="$enable_odcombobox"
9171
9172 if test "$enableval" = yes; then
9173 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9174 else
9175 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9176 fi
9177
9178 else
9179
9180 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9181 if test "x$LINE" != x ; then
9182 eval "DEFAULT_$LINE"
9183 else
9184 no_cache=1
9185 fi
9186
9187 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9188
9189 fi;
9190
9191 eval "$ac_cv_use_odcombobox"
9192 if test "$no_cache" != 1; then
9193 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9194 fi
9195
9196 if test "$wxUSE_ODCOMBOBOX" = yes; then
9197 echo "$as_me:$LINENO: result: yes" >&5
9198 echo "${ECHO_T}yes" >&6
9199 else
9200 echo "$as_me:$LINENO: result: no" >&5
9201 echo "${ECHO_T}no" >&6
9202 fi
9203
9204
9205 enablestring=
9206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9207 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9208 no_cache=0
9209 # Check whether --enable-radiobox or --disable-radiobox was given.
9210 if test "${enable_radiobox+set}" = set; then
9211 enableval="$enable_radiobox"
9212
9213 if test "$enableval" = yes; then
9214 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9215 else
9216 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9217 fi
9218
9219 else
9220
9221 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9222 if test "x$LINE" != x ; then
9223 eval "DEFAULT_$LINE"
9224 else
9225 no_cache=1
9226 fi
9227
9228 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9229
9230 fi;
9231
9232 eval "$ac_cv_use_radiobox"
9233 if test "$no_cache" != 1; then
9234 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9235 fi
9236
9237 if test "$wxUSE_RADIOBOX" = yes; then
9238 echo "$as_me:$LINENO: result: yes" >&5
9239 echo "${ECHO_T}yes" >&6
9240 else
9241 echo "$as_me:$LINENO: result: no" >&5
9242 echo "${ECHO_T}no" >&6
9243 fi
9244
9245
9246 enablestring=
9247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9248 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9249 no_cache=0
9250 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9251 if test "${enable_radiobtn+set}" = set; then
9252 enableval="$enable_radiobtn"
9253
9254 if test "$enableval" = yes; then
9255 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9256 else
9257 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9258 fi
9259
9260 else
9261
9262 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9263 if test "x$LINE" != x ; then
9264 eval "DEFAULT_$LINE"
9265 else
9266 no_cache=1
9267 fi
9268
9269 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9270
9271 fi;
9272
9273 eval "$ac_cv_use_radiobtn"
9274 if test "$no_cache" != 1; then
9275 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9276 fi
9277
9278 if test "$wxUSE_RADIOBTN" = yes; then
9279 echo "$as_me:$LINENO: result: yes" >&5
9280 echo "${ECHO_T}yes" >&6
9281 else
9282 echo "$as_me:$LINENO: result: no" >&5
9283 echo "${ECHO_T}no" >&6
9284 fi
9285
9286
9287 enablestring=
9288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9289 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9290 no_cache=0
9291 # Check whether --enable-sash or --disable-sash was given.
9292 if test "${enable_sash+set}" = set; then
9293 enableval="$enable_sash"
9294
9295 if test "$enableval" = yes; then
9296 ac_cv_use_sash='wxUSE_SASH=yes'
9297 else
9298 ac_cv_use_sash='wxUSE_SASH=no'
9299 fi
9300
9301 else
9302
9303 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9304 if test "x$LINE" != x ; then
9305 eval "DEFAULT_$LINE"
9306 else
9307 no_cache=1
9308 fi
9309
9310 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9311
9312 fi;
9313
9314 eval "$ac_cv_use_sash"
9315 if test "$no_cache" != 1; then
9316 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9317 fi
9318
9319 if test "$wxUSE_SASH" = yes; then
9320 echo "$as_me:$LINENO: result: yes" >&5
9321 echo "${ECHO_T}yes" >&6
9322 else
9323 echo "$as_me:$LINENO: result: no" >&5
9324 echo "${ECHO_T}no" >&6
9325 fi
9326
9327
9328 enablestring=
9329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9330 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9331 no_cache=0
9332 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9333 if test "${enable_scrollbar+set}" = set; then
9334 enableval="$enable_scrollbar"
9335
9336 if test "$enableval" = yes; then
9337 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9338 else
9339 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9340 fi
9341
9342 else
9343
9344 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9345 if test "x$LINE" != x ; then
9346 eval "DEFAULT_$LINE"
9347 else
9348 no_cache=1
9349 fi
9350
9351 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9352
9353 fi;
9354
9355 eval "$ac_cv_use_scrollbar"
9356 if test "$no_cache" != 1; then
9357 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9358 fi
9359
9360 if test "$wxUSE_SCROLLBAR" = yes; then
9361 echo "$as_me:$LINENO: result: yes" >&5
9362 echo "${ECHO_T}yes" >&6
9363 else
9364 echo "$as_me:$LINENO: result: no" >&5
9365 echo "${ECHO_T}no" >&6
9366 fi
9367
9368
9369 enablestring=
9370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9371 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9372 no_cache=0
9373 # Check whether --enable-slider or --disable-slider was given.
9374 if test "${enable_slider+set}" = set; then
9375 enableval="$enable_slider"
9376
9377 if test "$enableval" = yes; then
9378 ac_cv_use_slider='wxUSE_SLIDER=yes'
9379 else
9380 ac_cv_use_slider='wxUSE_SLIDER=no'
9381 fi
9382
9383 else
9384
9385 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9386 if test "x$LINE" != x ; then
9387 eval "DEFAULT_$LINE"
9388 else
9389 no_cache=1
9390 fi
9391
9392 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9393
9394 fi;
9395
9396 eval "$ac_cv_use_slider"
9397 if test "$no_cache" != 1; then
9398 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9399 fi
9400
9401 if test "$wxUSE_SLIDER" = yes; then
9402 echo "$as_me:$LINENO: result: yes" >&5
9403 echo "${ECHO_T}yes" >&6
9404 else
9405 echo "$as_me:$LINENO: result: no" >&5
9406 echo "${ECHO_T}no" >&6
9407 fi
9408
9409
9410 enablestring=
9411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9412 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9413 no_cache=0
9414 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9415 if test "${enable_spinbtn+set}" = set; then
9416 enableval="$enable_spinbtn"
9417
9418 if test "$enableval" = yes; then
9419 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9420 else
9421 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9422 fi
9423
9424 else
9425
9426 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9427 if test "x$LINE" != x ; then
9428 eval "DEFAULT_$LINE"
9429 else
9430 no_cache=1
9431 fi
9432
9433 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9434
9435 fi;
9436
9437 eval "$ac_cv_use_spinbtn"
9438 if test "$no_cache" != 1; then
9439 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9440 fi
9441
9442 if test "$wxUSE_SPINBTN" = yes; then
9443 echo "$as_me:$LINENO: result: yes" >&5
9444 echo "${ECHO_T}yes" >&6
9445 else
9446 echo "$as_me:$LINENO: result: no" >&5
9447 echo "${ECHO_T}no" >&6
9448 fi
9449
9450
9451 enablestring=
9452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9453 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9454 no_cache=0
9455 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9456 if test "${enable_spinctrl+set}" = set; then
9457 enableval="$enable_spinctrl"
9458
9459 if test "$enableval" = yes; then
9460 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9461 else
9462 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9463 fi
9464
9465 else
9466
9467 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9468 if test "x$LINE" != x ; then
9469 eval "DEFAULT_$LINE"
9470 else
9471 no_cache=1
9472 fi
9473
9474 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9475
9476 fi;
9477
9478 eval "$ac_cv_use_spinctrl"
9479 if test "$no_cache" != 1; then
9480 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9481 fi
9482
9483 if test "$wxUSE_SPINCTRL" = yes; then
9484 echo "$as_me:$LINENO: result: yes" >&5
9485 echo "${ECHO_T}yes" >&6
9486 else
9487 echo "$as_me:$LINENO: result: no" >&5
9488 echo "${ECHO_T}no" >&6
9489 fi
9490
9491
9492 enablestring=
9493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9494 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9495 no_cache=0
9496 # Check whether --enable-splitter or --disable-splitter was given.
9497 if test "${enable_splitter+set}" = set; then
9498 enableval="$enable_splitter"
9499
9500 if test "$enableval" = yes; then
9501 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9502 else
9503 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9504 fi
9505
9506 else
9507
9508 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9509 if test "x$LINE" != x ; then
9510 eval "DEFAULT_$LINE"
9511 else
9512 no_cache=1
9513 fi
9514
9515 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9516
9517 fi;
9518
9519 eval "$ac_cv_use_splitter"
9520 if test "$no_cache" != 1; then
9521 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9522 fi
9523
9524 if test "$wxUSE_SPLITTER" = yes; then
9525 echo "$as_me:$LINENO: result: yes" >&5
9526 echo "${ECHO_T}yes" >&6
9527 else
9528 echo "$as_me:$LINENO: result: no" >&5
9529 echo "${ECHO_T}no" >&6
9530 fi
9531
9532
9533 enablestring=
9534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9535 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9536 no_cache=0
9537 # Check whether --enable-statbmp or --disable-statbmp was given.
9538 if test "${enable_statbmp+set}" = set; then
9539 enableval="$enable_statbmp"
9540
9541 if test "$enableval" = yes; then
9542 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9543 else
9544 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9545 fi
9546
9547 else
9548
9549 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9550 if test "x$LINE" != x ; then
9551 eval "DEFAULT_$LINE"
9552 else
9553 no_cache=1
9554 fi
9555
9556 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9557
9558 fi;
9559
9560 eval "$ac_cv_use_statbmp"
9561 if test "$no_cache" != 1; then
9562 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9563 fi
9564
9565 if test "$wxUSE_STATBMP" = yes; then
9566 echo "$as_me:$LINENO: result: yes" >&5
9567 echo "${ECHO_T}yes" >&6
9568 else
9569 echo "$as_me:$LINENO: result: no" >&5
9570 echo "${ECHO_T}no" >&6
9571 fi
9572
9573
9574 enablestring=
9575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9576 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9577 no_cache=0
9578 # Check whether --enable-statbox or --disable-statbox was given.
9579 if test "${enable_statbox+set}" = set; then
9580 enableval="$enable_statbox"
9581
9582 if test "$enableval" = yes; then
9583 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9584 else
9585 ac_cv_use_statbox='wxUSE_STATBOX=no'
9586 fi
9587
9588 else
9589
9590 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9591 if test "x$LINE" != x ; then
9592 eval "DEFAULT_$LINE"
9593 else
9594 no_cache=1
9595 fi
9596
9597 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9598
9599 fi;
9600
9601 eval "$ac_cv_use_statbox"
9602 if test "$no_cache" != 1; then
9603 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9604 fi
9605
9606 if test "$wxUSE_STATBOX" = yes; then
9607 echo "$as_me:$LINENO: result: yes" >&5
9608 echo "${ECHO_T}yes" >&6
9609 else
9610 echo "$as_me:$LINENO: result: no" >&5
9611 echo "${ECHO_T}no" >&6
9612 fi
9613
9614
9615 enablestring=
9616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9617 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9618 no_cache=0
9619 # Check whether --enable-statline or --disable-statline was given.
9620 if test "${enable_statline+set}" = set; then
9621 enableval="$enable_statline"
9622
9623 if test "$enableval" = yes; then
9624 ac_cv_use_statline='wxUSE_STATLINE=yes'
9625 else
9626 ac_cv_use_statline='wxUSE_STATLINE=no'
9627 fi
9628
9629 else
9630
9631 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9632 if test "x$LINE" != x ; then
9633 eval "DEFAULT_$LINE"
9634 else
9635 no_cache=1
9636 fi
9637
9638 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9639
9640 fi;
9641
9642 eval "$ac_cv_use_statline"
9643 if test "$no_cache" != 1; then
9644 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9645 fi
9646
9647 if test "$wxUSE_STATLINE" = yes; then
9648 echo "$as_me:$LINENO: result: yes" >&5
9649 echo "${ECHO_T}yes" >&6
9650 else
9651 echo "$as_me:$LINENO: result: no" >&5
9652 echo "${ECHO_T}no" >&6
9653 fi
9654
9655
9656 enablestring=
9657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9658 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9659 no_cache=0
9660 # Check whether --enable-stattext or --disable-stattext was given.
9661 if test "${enable_stattext+set}" = set; then
9662 enableval="$enable_stattext"
9663
9664 if test "$enableval" = yes; then
9665 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9666 else
9667 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9668 fi
9669
9670 else
9671
9672 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9673 if test "x$LINE" != x ; then
9674 eval "DEFAULT_$LINE"
9675 else
9676 no_cache=1
9677 fi
9678
9679 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9680
9681 fi;
9682
9683 eval "$ac_cv_use_stattext"
9684 if test "$no_cache" != 1; then
9685 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9686 fi
9687
9688 if test "$wxUSE_STATTEXT" = yes; then
9689 echo "$as_me:$LINENO: result: yes" >&5
9690 echo "${ECHO_T}yes" >&6
9691 else
9692 echo "$as_me:$LINENO: result: no" >&5
9693 echo "${ECHO_T}no" >&6
9694 fi
9695
9696
9697 enablestring=
9698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9699 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9700 no_cache=0
9701 # Check whether --enable-statusbar or --disable-statusbar was given.
9702 if test "${enable_statusbar+set}" = set; then
9703 enableval="$enable_statusbar"
9704
9705 if test "$enableval" = yes; then
9706 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9707 else
9708 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9709 fi
9710
9711 else
9712
9713 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9714 if test "x$LINE" != x ; then
9715 eval "DEFAULT_$LINE"
9716 else
9717 no_cache=1
9718 fi
9719
9720 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9721
9722 fi;
9723
9724 eval "$ac_cv_use_statusbar"
9725 if test "$no_cache" != 1; then
9726 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9727 fi
9728
9729 if test "$wxUSE_STATUSBAR" = yes; then
9730 echo "$as_me:$LINENO: result: yes" >&5
9731 echo "${ECHO_T}yes" >&6
9732 else
9733 echo "$as_me:$LINENO: result: no" >&5
9734 echo "${ECHO_T}no" >&6
9735 fi
9736
9737
9738 enablestring=
9739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9740 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9741 no_cache=0
9742 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9743 if test "${enable_tabdialog+set}" = set; then
9744 enableval="$enable_tabdialog"
9745
9746 if test "$enableval" = yes; then
9747 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9748 else
9749 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9750 fi
9751
9752 else
9753
9754 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9755 if test "x$LINE" != x ; then
9756 eval "DEFAULT_$LINE"
9757 else
9758 no_cache=1
9759 fi
9760
9761 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9762
9763 fi;
9764
9765 eval "$ac_cv_use_tabdialog"
9766 if test "$no_cache" != 1; then
9767 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9768 fi
9769
9770 if test "$wxUSE_TAB_DIALOG" = yes; then
9771 echo "$as_me:$LINENO: result: yes" >&5
9772 echo "${ECHO_T}yes" >&6
9773 else
9774 echo "$as_me:$LINENO: result: no" >&5
9775 echo "${ECHO_T}no" >&6
9776 fi
9777
9778
9779 enablestring=
9780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9781 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9782 no_cache=0
9783 # Check whether --enable-textctrl or --disable-textctrl was given.
9784 if test "${enable_textctrl+set}" = set; then
9785 enableval="$enable_textctrl"
9786
9787 if test "$enableval" = yes; then
9788 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9789 else
9790 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9791 fi
9792
9793 else
9794
9795 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9796 if test "x$LINE" != x ; then
9797 eval "DEFAULT_$LINE"
9798 else
9799 no_cache=1
9800 fi
9801
9802 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9803
9804 fi;
9805
9806 eval "$ac_cv_use_textctrl"
9807 if test "$no_cache" != 1; then
9808 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9809 fi
9810
9811 if test "$wxUSE_TEXTCTRL" = yes; then
9812 echo "$as_me:$LINENO: result: yes" >&5
9813 echo "${ECHO_T}yes" >&6
9814 else
9815 echo "$as_me:$LINENO: result: no" >&5
9816 echo "${ECHO_T}no" >&6
9817 fi
9818
9819
9820 enablestring=
9821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9822 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9823 no_cache=0
9824 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9825 if test "${enable_togglebtn+set}" = set; then
9826 enableval="$enable_togglebtn"
9827
9828 if test "$enableval" = yes; then
9829 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9830 else
9831 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9832 fi
9833
9834 else
9835
9836 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9837 if test "x$LINE" != x ; then
9838 eval "DEFAULT_$LINE"
9839 else
9840 no_cache=1
9841 fi
9842
9843 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9844
9845 fi;
9846
9847 eval "$ac_cv_use_togglebtn"
9848 if test "$no_cache" != 1; then
9849 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9850 fi
9851
9852 if test "$wxUSE_TOGGLEBTN" = yes; then
9853 echo "$as_me:$LINENO: result: yes" >&5
9854 echo "${ECHO_T}yes" >&6
9855 else
9856 echo "$as_me:$LINENO: result: no" >&5
9857 echo "${ECHO_T}no" >&6
9858 fi
9859
9860
9861 enablestring=
9862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9863 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9864 no_cache=0
9865 # Check whether --enable-toolbar or --disable-toolbar was given.
9866 if test "${enable_toolbar+set}" = set; then
9867 enableval="$enable_toolbar"
9868
9869 if test "$enableval" = yes; then
9870 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9871 else
9872 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9873 fi
9874
9875 else
9876
9877 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9878 if test "x$LINE" != x ; then
9879 eval "DEFAULT_$LINE"
9880 else
9881 no_cache=1
9882 fi
9883
9884 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9885
9886 fi;
9887
9888 eval "$ac_cv_use_toolbar"
9889 if test "$no_cache" != 1; then
9890 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9891 fi
9892
9893 if test "$wxUSE_TOOLBAR" = yes; then
9894 echo "$as_me:$LINENO: result: yes" >&5
9895 echo "${ECHO_T}yes" >&6
9896 else
9897 echo "$as_me:$LINENO: result: no" >&5
9898 echo "${ECHO_T}no" >&6
9899 fi
9900
9901
9902 enablestring=
9903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9904 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9905 no_cache=0
9906 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9907 if test "${enable_tbarnative+set}" = set; then
9908 enableval="$enable_tbarnative"
9909
9910 if test "$enableval" = yes; then
9911 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9912 else
9913 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9914 fi
9915
9916 else
9917
9918 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9919 if test "x$LINE" != x ; then
9920 eval "DEFAULT_$LINE"
9921 else
9922 no_cache=1
9923 fi
9924
9925 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9926
9927 fi;
9928
9929 eval "$ac_cv_use_tbarnative"
9930 if test "$no_cache" != 1; then
9931 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9932 fi
9933
9934 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9935 echo "$as_me:$LINENO: result: yes" >&5
9936 echo "${ECHO_T}yes" >&6
9937 else
9938 echo "$as_me:$LINENO: result: no" >&5
9939 echo "${ECHO_T}no" >&6
9940 fi
9941
9942
9943 enablestring=
9944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9945 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9946 no_cache=0
9947 # Check whether --enable-treebook or --disable-treebook was given.
9948 if test "${enable_treebook+set}" = set; then
9949 enableval="$enable_treebook"
9950
9951 if test "$enableval" = yes; then
9952 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9953 else
9954 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9955 fi
9956
9957 else
9958
9959 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9960 if test "x$LINE" != x ; then
9961 eval "DEFAULT_$LINE"
9962 else
9963 no_cache=1
9964 fi
9965
9966 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9967
9968 fi;
9969
9970 eval "$ac_cv_use_treebook"
9971 if test "$no_cache" != 1; then
9972 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9973 fi
9974
9975 if test "$wxUSE_TREEBOOK" = yes; then
9976 echo "$as_me:$LINENO: result: yes" >&5
9977 echo "${ECHO_T}yes" >&6
9978 else
9979 echo "$as_me:$LINENO: result: no" >&5
9980 echo "${ECHO_T}no" >&6
9981 fi
9982
9983
9984 enablestring=
9985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9986 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9987 no_cache=0
9988 # Check whether --enable-toolbook or --disable-toolbook was given.
9989 if test "${enable_toolbook+set}" = set; then
9990 enableval="$enable_toolbook"
9991
9992 if test "$enableval" = yes; then
9993 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9994 else
9995 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9996 fi
9997
9998 else
9999
10000 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10001 if test "x$LINE" != x ; then
10002 eval "DEFAULT_$LINE"
10003 else
10004 no_cache=1
10005 fi
10006
10007 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10008
10009 fi;
10010
10011 eval "$ac_cv_use_toolbook"
10012 if test "$no_cache" != 1; then
10013 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10014 fi
10015
10016 if test "$wxUSE_TOOLBOOK" = yes; then
10017 echo "$as_me:$LINENO: result: yes" >&5
10018 echo "${ECHO_T}yes" >&6
10019 else
10020 echo "$as_me:$LINENO: result: no" >&5
10021 echo "${ECHO_T}no" >&6
10022 fi
10023
10024
10025 enablestring=
10026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10028 no_cache=0
10029 # Check whether --enable-treectrl or --disable-treectrl was given.
10030 if test "${enable_treectrl+set}" = set; then
10031 enableval="$enable_treectrl"
10032
10033 if test "$enableval" = yes; then
10034 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10035 else
10036 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10037 fi
10038
10039 else
10040
10041 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10042 if test "x$LINE" != x ; then
10043 eval "DEFAULT_$LINE"
10044 else
10045 no_cache=1
10046 fi
10047
10048 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10049
10050 fi;
10051
10052 eval "$ac_cv_use_treectrl"
10053 if test "$no_cache" != 1; then
10054 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10055 fi
10056
10057 if test "$wxUSE_TREECTRL" = yes; then
10058 echo "$as_me:$LINENO: result: yes" >&5
10059 echo "${ECHO_T}yes" >&6
10060 else
10061 echo "$as_me:$LINENO: result: no" >&5
10062 echo "${ECHO_T}no" >&6
10063 fi
10064
10065
10066 enablestring=
10067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10069 no_cache=0
10070 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10071 if test "${enable_tipwindow+set}" = set; then
10072 enableval="$enable_tipwindow"
10073
10074 if test "$enableval" = yes; then
10075 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10076 else
10077 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10078 fi
10079
10080 else
10081
10082 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10083 if test "x$LINE" != x ; then
10084 eval "DEFAULT_$LINE"
10085 else
10086 no_cache=1
10087 fi
10088
10089 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10090
10091 fi;
10092
10093 eval "$ac_cv_use_tipwindow"
10094 if test "$no_cache" != 1; then
10095 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10096 fi
10097
10098 if test "$wxUSE_TIPWINDOW" = yes; then
10099 echo "$as_me:$LINENO: result: yes" >&5
10100 echo "${ECHO_T}yes" >&6
10101 else
10102 echo "$as_me:$LINENO: result: no" >&5
10103 echo "${ECHO_T}no" >&6
10104 fi
10105
10106
10107 enablestring=
10108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10110 no_cache=0
10111 # Check whether --enable-popupwin or --disable-popupwin was given.
10112 if test "${enable_popupwin+set}" = set; then
10113 enableval="$enable_popupwin"
10114
10115 if test "$enableval" = yes; then
10116 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10117 else
10118 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10119 fi
10120
10121 else
10122
10123 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10124 if test "x$LINE" != x ; then
10125 eval "DEFAULT_$LINE"
10126 else
10127 no_cache=1
10128 fi
10129
10130 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10131
10132 fi;
10133
10134 eval "$ac_cv_use_popupwin"
10135 if test "$no_cache" != 1; then
10136 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10137 fi
10138
10139 if test "$wxUSE_POPUPWIN" = yes; then
10140 echo "$as_me:$LINENO: result: yes" >&5
10141 echo "${ECHO_T}yes" >&6
10142 else
10143 echo "$as_me:$LINENO: result: no" >&5
10144 echo "${ECHO_T}no" >&6
10145 fi
10146
10147
10148
10149
10150 enablestring=
10151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10153 no_cache=0
10154 # Check whether --enable-commondlg or --disable-commondlg was given.
10155 if test "${enable_commondlg+set}" = set; then
10156 enableval="$enable_commondlg"
10157
10158 if test "$enableval" = yes; then
10159 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10160 else
10161 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10162 fi
10163
10164 else
10165
10166 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10167 if test "x$LINE" != x ; then
10168 eval "DEFAULT_$LINE"
10169 else
10170 no_cache=1
10171 fi
10172
10173 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10174
10175 fi;
10176
10177 eval "$ac_cv_use_commondlg"
10178 if test "$no_cache" != 1; then
10179 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10180 fi
10181
10182 if test "$wxUSE_COMMONDLGS" = yes; then
10183 echo "$as_me:$LINENO: result: yes" >&5
10184 echo "${ECHO_T}yes" >&6
10185 else
10186 echo "$as_me:$LINENO: result: no" >&5
10187 echo "${ECHO_T}no" >&6
10188 fi
10189
10190
10191 enablestring=
10192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10194 no_cache=0
10195 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10196 if test "${enable_aboutdlg+set}" = set; then
10197 enableval="$enable_aboutdlg"
10198
10199 if test "$enableval" = yes; then
10200 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10201 else
10202 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10203 fi
10204
10205 else
10206
10207 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10208 if test "x$LINE" != x ; then
10209 eval "DEFAULT_$LINE"
10210 else
10211 no_cache=1
10212 fi
10213
10214 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10215
10216 fi;
10217
10218 eval "$ac_cv_use_aboutdlg"
10219 if test "$no_cache" != 1; then
10220 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10221 fi
10222
10223 if test "$wxUSE_ABOUTDLG" = yes; then
10224 echo "$as_me:$LINENO: result: yes" >&5
10225 echo "${ECHO_T}yes" >&6
10226 else
10227 echo "$as_me:$LINENO: result: no" >&5
10228 echo "${ECHO_T}no" >&6
10229 fi
10230
10231
10232 enablestring=
10233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10235 no_cache=0
10236 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10237 if test "${enable_choicedlg+set}" = set; then
10238 enableval="$enable_choicedlg"
10239
10240 if test "$enableval" = yes; then
10241 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10242 else
10243 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10244 fi
10245
10246 else
10247
10248 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10249 if test "x$LINE" != x ; then
10250 eval "DEFAULT_$LINE"
10251 else
10252 no_cache=1
10253 fi
10254
10255 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10256
10257 fi;
10258
10259 eval "$ac_cv_use_choicedlg"
10260 if test "$no_cache" != 1; then
10261 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10262 fi
10263
10264 if test "$wxUSE_CHOICEDLG" = yes; then
10265 echo "$as_me:$LINENO: result: yes" >&5
10266 echo "${ECHO_T}yes" >&6
10267 else
10268 echo "$as_me:$LINENO: result: no" >&5
10269 echo "${ECHO_T}no" >&6
10270 fi
10271
10272
10273 enablestring=
10274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10276 no_cache=0
10277 # Check whether --enable-coldlg or --disable-coldlg was given.
10278 if test "${enable_coldlg+set}" = set; then
10279 enableval="$enable_coldlg"
10280
10281 if test "$enableval" = yes; then
10282 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10283 else
10284 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10285 fi
10286
10287 else
10288
10289 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10290 if test "x$LINE" != x ; then
10291 eval "DEFAULT_$LINE"
10292 else
10293 no_cache=1
10294 fi
10295
10296 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10297
10298 fi;
10299
10300 eval "$ac_cv_use_coldlg"
10301 if test "$no_cache" != 1; then
10302 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10303 fi
10304
10305 if test "$wxUSE_COLOURDLG" = yes; then
10306 echo "$as_me:$LINENO: result: yes" >&5
10307 echo "${ECHO_T}yes" >&6
10308 else
10309 echo "$as_me:$LINENO: result: no" >&5
10310 echo "${ECHO_T}no" >&6
10311 fi
10312
10313
10314 enablestring=
10315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10317 no_cache=0
10318 # Check whether --enable-filedlg or --disable-filedlg was given.
10319 if test "${enable_filedlg+set}" = set; then
10320 enableval="$enable_filedlg"
10321
10322 if test "$enableval" = yes; then
10323 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10324 else
10325 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10326 fi
10327
10328 else
10329
10330 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10331 if test "x$LINE" != x ; then
10332 eval "DEFAULT_$LINE"
10333 else
10334 no_cache=1
10335 fi
10336
10337 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10338
10339 fi;
10340
10341 eval "$ac_cv_use_filedlg"
10342 if test "$no_cache" != 1; then
10343 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10344 fi
10345
10346 if test "$wxUSE_FILEDLG" = yes; then
10347 echo "$as_me:$LINENO: result: yes" >&5
10348 echo "${ECHO_T}yes" >&6
10349 else
10350 echo "$as_me:$LINENO: result: no" >&5
10351 echo "${ECHO_T}no" >&6
10352 fi
10353
10354
10355 enablestring=
10356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10357 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10358 no_cache=0
10359 # Check whether --enable-finddlg or --disable-finddlg was given.
10360 if test "${enable_finddlg+set}" = set; then
10361 enableval="$enable_finddlg"
10362
10363 if test "$enableval" = yes; then
10364 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10365 else
10366 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10367 fi
10368
10369 else
10370
10371 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10372 if test "x$LINE" != x ; then
10373 eval "DEFAULT_$LINE"
10374 else
10375 no_cache=1
10376 fi
10377
10378 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10379
10380 fi;
10381
10382 eval "$ac_cv_use_finddlg"
10383 if test "$no_cache" != 1; then
10384 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10385 fi
10386
10387 if test "$wxUSE_FINDREPLDLG" = yes; then
10388 echo "$as_me:$LINENO: result: yes" >&5
10389 echo "${ECHO_T}yes" >&6
10390 else
10391 echo "$as_me:$LINENO: result: no" >&5
10392 echo "${ECHO_T}no" >&6
10393 fi
10394
10395
10396 enablestring=
10397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10399 no_cache=0
10400 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10401 if test "${enable_fontdlg+set}" = set; then
10402 enableval="$enable_fontdlg"
10403
10404 if test "$enableval" = yes; then
10405 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10406 else
10407 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10408 fi
10409
10410 else
10411
10412 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10413 if test "x$LINE" != x ; then
10414 eval "DEFAULT_$LINE"
10415 else
10416 no_cache=1
10417 fi
10418
10419 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10420
10421 fi;
10422
10423 eval "$ac_cv_use_fontdlg"
10424 if test "$no_cache" != 1; then
10425 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10426 fi
10427
10428 if test "$wxUSE_FONTDLG" = yes; then
10429 echo "$as_me:$LINENO: result: yes" >&5
10430 echo "${ECHO_T}yes" >&6
10431 else
10432 echo "$as_me:$LINENO: result: no" >&5
10433 echo "${ECHO_T}no" >&6
10434 fi
10435
10436
10437 enablestring=
10438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10439 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10440 no_cache=0
10441 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10442 if test "${enable_dirdlg+set}" = set; then
10443 enableval="$enable_dirdlg"
10444
10445 if test "$enableval" = yes; then
10446 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10447 else
10448 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10449 fi
10450
10451 else
10452
10453 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10454 if test "x$LINE" != x ; then
10455 eval "DEFAULT_$LINE"
10456 else
10457 no_cache=1
10458 fi
10459
10460 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10461
10462 fi;
10463
10464 eval "$ac_cv_use_dirdlg"
10465 if test "$no_cache" != 1; then
10466 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10467 fi
10468
10469 if test "$wxUSE_DIRDLG" = yes; then
10470 echo "$as_me:$LINENO: result: yes" >&5
10471 echo "${ECHO_T}yes" >&6
10472 else
10473 echo "$as_me:$LINENO: result: no" >&5
10474 echo "${ECHO_T}no" >&6
10475 fi
10476
10477
10478 enablestring=
10479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10480 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10481 no_cache=0
10482 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10483 if test "${enable_msgdlg+set}" = set; then
10484 enableval="$enable_msgdlg"
10485
10486 if test "$enableval" = yes; then
10487 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10488 else
10489 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10490 fi
10491
10492 else
10493
10494 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10495 if test "x$LINE" != x ; then
10496 eval "DEFAULT_$LINE"
10497 else
10498 no_cache=1
10499 fi
10500
10501 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10502
10503 fi;
10504
10505 eval "$ac_cv_use_msgdlg"
10506 if test "$no_cache" != 1; then
10507 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10508 fi
10509
10510 if test "$wxUSE_MSGDLG" = yes; then
10511 echo "$as_me:$LINENO: result: yes" >&5
10512 echo "${ECHO_T}yes" >&6
10513 else
10514 echo "$as_me:$LINENO: result: no" >&5
10515 echo "${ECHO_T}no" >&6
10516 fi
10517
10518
10519 enablestring=
10520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10521 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10522 no_cache=0
10523 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10524 if test "${enable_numberdlg+set}" = set; then
10525 enableval="$enable_numberdlg"
10526
10527 if test "$enableval" = yes; then
10528 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10529 else
10530 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10531 fi
10532
10533 else
10534
10535 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10536 if test "x$LINE" != x ; then
10537 eval "DEFAULT_$LINE"
10538 else
10539 no_cache=1
10540 fi
10541
10542 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10543
10544 fi;
10545
10546 eval "$ac_cv_use_numberdlg"
10547 if test "$no_cache" != 1; then
10548 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10549 fi
10550
10551 if test "$wxUSE_NUMBERDLG" = yes; then
10552 echo "$as_me:$LINENO: result: yes" >&5
10553 echo "${ECHO_T}yes" >&6
10554 else
10555 echo "$as_me:$LINENO: result: no" >&5
10556 echo "${ECHO_T}no" >&6
10557 fi
10558
10559
10560 enablestring=
10561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10562 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10563 no_cache=0
10564 # Check whether --enable-splash or --disable-splash was given.
10565 if test "${enable_splash+set}" = set; then
10566 enableval="$enable_splash"
10567
10568 if test "$enableval" = yes; then
10569 ac_cv_use_splash='wxUSE_SPLASH=yes'
10570 else
10571 ac_cv_use_splash='wxUSE_SPLASH=no'
10572 fi
10573
10574 else
10575
10576 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10577 if test "x$LINE" != x ; then
10578 eval "DEFAULT_$LINE"
10579 else
10580 no_cache=1
10581 fi
10582
10583 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10584
10585 fi;
10586
10587 eval "$ac_cv_use_splash"
10588 if test "$no_cache" != 1; then
10589 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10590 fi
10591
10592 if test "$wxUSE_SPLASH" = yes; then
10593 echo "$as_me:$LINENO: result: yes" >&5
10594 echo "${ECHO_T}yes" >&6
10595 else
10596 echo "$as_me:$LINENO: result: no" >&5
10597 echo "${ECHO_T}no" >&6
10598 fi
10599
10600
10601 enablestring=
10602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10603 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10604 no_cache=0
10605 # Check whether --enable-textdlg or --disable-textdlg was given.
10606 if test "${enable_textdlg+set}" = set; then
10607 enableval="$enable_textdlg"
10608
10609 if test "$enableval" = yes; then
10610 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10611 else
10612 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10613 fi
10614
10615 else
10616
10617 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10618 if test "x$LINE" != x ; then
10619 eval "DEFAULT_$LINE"
10620 else
10621 no_cache=1
10622 fi
10623
10624 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10625
10626 fi;
10627
10628 eval "$ac_cv_use_textdlg"
10629 if test "$no_cache" != 1; then
10630 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10631 fi
10632
10633 if test "$wxUSE_TEXTDLG" = yes; then
10634 echo "$as_me:$LINENO: result: yes" >&5
10635 echo "${ECHO_T}yes" >&6
10636 else
10637 echo "$as_me:$LINENO: result: no" >&5
10638 echo "${ECHO_T}no" >&6
10639 fi
10640
10641
10642 enablestring=
10643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10645 no_cache=0
10646 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10647 if test "${enable_tipdlg+set}" = set; then
10648 enableval="$enable_tipdlg"
10649
10650 if test "$enableval" = yes; then
10651 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10652 else
10653 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10654 fi
10655
10656 else
10657
10658 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10659 if test "x$LINE" != x ; then
10660 eval "DEFAULT_$LINE"
10661 else
10662 no_cache=1
10663 fi
10664
10665 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10666
10667 fi;
10668
10669 eval "$ac_cv_use_tipdlg"
10670 if test "$no_cache" != 1; then
10671 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10672 fi
10673
10674 if test "$wxUSE_STARTUP_TIPS" = yes; then
10675 echo "$as_me:$LINENO: result: yes" >&5
10676 echo "${ECHO_T}yes" >&6
10677 else
10678 echo "$as_me:$LINENO: result: no" >&5
10679 echo "${ECHO_T}no" >&6
10680 fi
10681
10682
10683 enablestring=
10684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10686 no_cache=0
10687 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10688 if test "${enable_progressdlg+set}" = set; then
10689 enableval="$enable_progressdlg"
10690
10691 if test "$enableval" = yes; then
10692 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10693 else
10694 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10695 fi
10696
10697 else
10698
10699 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10700 if test "x$LINE" != x ; then
10701 eval "DEFAULT_$LINE"
10702 else
10703 no_cache=1
10704 fi
10705
10706 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10707
10708 fi;
10709
10710 eval "$ac_cv_use_progressdlg"
10711 if test "$no_cache" != 1; then
10712 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10713 fi
10714
10715 if test "$wxUSE_PROGRESSDLG" = yes; then
10716 echo "$as_me:$LINENO: result: yes" >&5
10717 echo "${ECHO_T}yes" >&6
10718 else
10719 echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6
10721 fi
10722
10723
10724 enablestring=
10725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10727 no_cache=0
10728 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10729 if test "${enable_wizarddlg+set}" = set; then
10730 enableval="$enable_wizarddlg"
10731
10732 if test "$enableval" = yes; then
10733 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10734 else
10735 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10736 fi
10737
10738 else
10739
10740 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10741 if test "x$LINE" != x ; then
10742 eval "DEFAULT_$LINE"
10743 else
10744 no_cache=1
10745 fi
10746
10747 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10748
10749 fi;
10750
10751 eval "$ac_cv_use_wizarddlg"
10752 if test "$no_cache" != 1; then
10753 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10754 fi
10755
10756 if test "$wxUSE_WIZARDDLG" = yes; then
10757 echo "$as_me:$LINENO: result: yes" >&5
10758 echo "${ECHO_T}yes" >&6
10759 else
10760 echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6
10762 fi
10763
10764
10765
10766
10767 enablestring=
10768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10769 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10770 no_cache=0
10771 # Check whether --enable-menus or --disable-menus was given.
10772 if test "${enable_menus+set}" = set; then
10773 enableval="$enable_menus"
10774
10775 if test "$enableval" = yes; then
10776 ac_cv_use_menus='wxUSE_MENUS=yes'
10777 else
10778 ac_cv_use_menus='wxUSE_MENUS=no'
10779 fi
10780
10781 else
10782
10783 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10784 if test "x$LINE" != x ; then
10785 eval "DEFAULT_$LINE"
10786 else
10787 no_cache=1
10788 fi
10789
10790 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10791
10792 fi;
10793
10794 eval "$ac_cv_use_menus"
10795 if test "$no_cache" != 1; then
10796 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10797 fi
10798
10799 if test "$wxUSE_MENUS" = yes; then
10800 echo "$as_me:$LINENO: result: yes" >&5
10801 echo "${ECHO_T}yes" >&6
10802 else
10803 echo "$as_me:$LINENO: result: no" >&5
10804 echo "${ECHO_T}no" >&6
10805 fi
10806
10807
10808 enablestring=
10809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10810 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10811 no_cache=0
10812 # Check whether --enable-miniframe or --disable-miniframe was given.
10813 if test "${enable_miniframe+set}" = set; then
10814 enableval="$enable_miniframe"
10815
10816 if test "$enableval" = yes; then
10817 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10818 else
10819 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10820 fi
10821
10822 else
10823
10824 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10825 if test "x$LINE" != x ; then
10826 eval "DEFAULT_$LINE"
10827 else
10828 no_cache=1
10829 fi
10830
10831 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10832
10833 fi;
10834
10835 eval "$ac_cv_use_miniframe"
10836 if test "$no_cache" != 1; then
10837 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10838 fi
10839
10840 if test "$wxUSE_MINIFRAME" = yes; then
10841 echo "$as_me:$LINENO: result: yes" >&5
10842 echo "${ECHO_T}yes" >&6
10843 else
10844 echo "$as_me:$LINENO: result: no" >&5
10845 echo "${ECHO_T}no" >&6
10846 fi
10847
10848
10849 enablestring=
10850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10852 no_cache=0
10853 # Check whether --enable-tooltips or --disable-tooltips was given.
10854 if test "${enable_tooltips+set}" = set; then
10855 enableval="$enable_tooltips"
10856
10857 if test "$enableval" = yes; then
10858 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10859 else
10860 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10861 fi
10862
10863 else
10864
10865 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x ; then
10867 eval "DEFAULT_$LINE"
10868 else
10869 no_cache=1
10870 fi
10871
10872 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10873
10874 fi;
10875
10876 eval "$ac_cv_use_tooltips"
10877 if test "$no_cache" != 1; then
10878 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10879 fi
10880
10881 if test "$wxUSE_TOOLTIPS" = yes; then
10882 echo "$as_me:$LINENO: result: yes" >&5
10883 echo "${ECHO_T}yes" >&6
10884 else
10885 echo "$as_me:$LINENO: result: no" >&5
10886 echo "${ECHO_T}no" >&6
10887 fi
10888
10889
10890 enablestring=
10891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10892 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10893 no_cache=0
10894 # Check whether --enable-splines or --disable-splines was given.
10895 if test "${enable_splines+set}" = set; then
10896 enableval="$enable_splines"
10897
10898 if test "$enableval" = yes; then
10899 ac_cv_use_splines='wxUSE_SPLINES=yes'
10900 else
10901 ac_cv_use_splines='wxUSE_SPLINES=no'
10902 fi
10903
10904 else
10905
10906 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10907 if test "x$LINE" != x ; then
10908 eval "DEFAULT_$LINE"
10909 else
10910 no_cache=1
10911 fi
10912
10913 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10914
10915 fi;
10916
10917 eval "$ac_cv_use_splines"
10918 if test "$no_cache" != 1; then
10919 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10920 fi
10921
10922 if test "$wxUSE_SPLINES" = yes; then
10923 echo "$as_me:$LINENO: result: yes" >&5
10924 echo "${ECHO_T}yes" >&6
10925 else
10926 echo "$as_me:$LINENO: result: no" >&5
10927 echo "${ECHO_T}no" >&6
10928 fi
10929
10930
10931 enablestring=
10932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10933 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10934 no_cache=0
10935 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10936 if test "${enable_mousewheel+set}" = set; then
10937 enableval="$enable_mousewheel"
10938
10939 if test "$enableval" = yes; then
10940 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10941 else
10942 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10943 fi
10944
10945 else
10946
10947 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10948 if test "x$LINE" != x ; then
10949 eval "DEFAULT_$LINE"
10950 else
10951 no_cache=1
10952 fi
10953
10954 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10955
10956 fi;
10957
10958 eval "$ac_cv_use_mousewheel"
10959 if test "$no_cache" != 1; then
10960 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10961 fi
10962
10963 if test "$wxUSE_MOUSEWHEEL" = yes; then
10964 echo "$as_me:$LINENO: result: yes" >&5
10965 echo "${ECHO_T}yes" >&6
10966 else
10967 echo "$as_me:$LINENO: result: no" >&5
10968 echo "${ECHO_T}no" >&6
10969 fi
10970
10971
10972 enablestring=
10973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10974 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10975 no_cache=0
10976 # Check whether --enable-validators or --disable-validators was given.
10977 if test "${enable_validators+set}" = set; then
10978 enableval="$enable_validators"
10979
10980 if test "$enableval" = yes; then
10981 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10982 else
10983 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10984 fi
10985
10986 else
10987
10988 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10989 if test "x$LINE" != x ; then
10990 eval "DEFAULT_$LINE"
10991 else
10992 no_cache=1
10993 fi
10994
10995 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10996
10997 fi;
10998
10999 eval "$ac_cv_use_validators"
11000 if test "$no_cache" != 1; then
11001 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11002 fi
11003
11004 if test "$wxUSE_VALIDATORS" = yes; then
11005 echo "$as_me:$LINENO: result: yes" >&5
11006 echo "${ECHO_T}yes" >&6
11007 else
11008 echo "$as_me:$LINENO: result: no" >&5
11009 echo "${ECHO_T}no" >&6
11010 fi
11011
11012
11013 enablestring=
11014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11015 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11016 no_cache=0
11017 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11018 if test "${enable_busyinfo+set}" = set; then
11019 enableval="$enable_busyinfo"
11020
11021 if test "$enableval" = yes; then
11022 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11023 else
11024 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11025 fi
11026
11027 else
11028
11029 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11030 if test "x$LINE" != x ; then
11031 eval "DEFAULT_$LINE"
11032 else
11033 no_cache=1
11034 fi
11035
11036 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11037
11038 fi;
11039
11040 eval "$ac_cv_use_busyinfo"
11041 if test "$no_cache" != 1; then
11042 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11043 fi
11044
11045 if test "$wxUSE_BUSYINFO" = yes; then
11046 echo "$as_me:$LINENO: result: yes" >&5
11047 echo "${ECHO_T}yes" >&6
11048 else
11049 echo "$as_me:$LINENO: result: no" >&5
11050 echo "${ECHO_T}no" >&6
11051 fi
11052
11053
11054 enablestring=
11055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11056 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11057 no_cache=0
11058 # Check whether --enable-joystick or --disable-joystick was given.
11059 if test "${enable_joystick+set}" = set; then
11060 enableval="$enable_joystick"
11061
11062 if test "$enableval" = yes; then
11063 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11064 else
11065 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11066 fi
11067
11068 else
11069
11070 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11071 if test "x$LINE" != x ; then
11072 eval "DEFAULT_$LINE"
11073 else
11074 no_cache=1
11075 fi
11076
11077 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11078
11079 fi;
11080
11081 eval "$ac_cv_use_joystick"
11082 if test "$no_cache" != 1; then
11083 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11084 fi
11085
11086 if test "$wxUSE_JOYSTICK" = yes; then
11087 echo "$as_me:$LINENO: result: yes" >&5
11088 echo "${ECHO_T}yes" >&6
11089 else
11090 echo "$as_me:$LINENO: result: no" >&5
11091 echo "${ECHO_T}no" >&6
11092 fi
11093
11094
11095 enablestring=
11096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11097 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11098 no_cache=0
11099 # Check whether --enable-metafile or --disable-metafile was given.
11100 if test "${enable_metafile+set}" = set; then
11101 enableval="$enable_metafile"
11102
11103 if test "$enableval" = yes; then
11104 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11105 else
11106 ac_cv_use_metafile='wxUSE_METAFILE=no'
11107 fi
11108
11109 else
11110
11111 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11112 if test "x$LINE" != x ; then
11113 eval "DEFAULT_$LINE"
11114 else
11115 no_cache=1
11116 fi
11117
11118 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11119
11120 fi;
11121
11122 eval "$ac_cv_use_metafile"
11123 if test "$no_cache" != 1; then
11124 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11125 fi
11126
11127 if test "$wxUSE_METAFILE" = yes; then
11128 echo "$as_me:$LINENO: result: yes" >&5
11129 echo "${ECHO_T}yes" >&6
11130 else
11131 echo "$as_me:$LINENO: result: no" >&5
11132 echo "${ECHO_T}no" >&6
11133 fi
11134
11135
11136 enablestring=
11137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11138 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11139 no_cache=0
11140 # Check whether --enable-dragimage or --disable-dragimage was given.
11141 if test "${enable_dragimage+set}" = set; then
11142 enableval="$enable_dragimage"
11143
11144 if test "$enableval" = yes; then
11145 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11146 else
11147 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11148 fi
11149
11150 else
11151
11152 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11153 if test "x$LINE" != x ; then
11154 eval "DEFAULT_$LINE"
11155 else
11156 no_cache=1
11157 fi
11158
11159 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11160
11161 fi;
11162
11163 eval "$ac_cv_use_dragimage"
11164 if test "$no_cache" != 1; then
11165 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11166 fi
11167
11168 if test "$wxUSE_DRAGIMAGE" = yes; then
11169 echo "$as_me:$LINENO: result: yes" >&5
11170 echo "${ECHO_T}yes" >&6
11171 else
11172 echo "$as_me:$LINENO: result: no" >&5
11173 echo "${ECHO_T}no" >&6
11174 fi
11175
11176
11177 enablestring=
11178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11179 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11180 no_cache=0
11181 # Check whether --enable-accessibility or --disable-accessibility was given.
11182 if test "${enable_accessibility+set}" = set; then
11183 enableval="$enable_accessibility"
11184
11185 if test "$enableval" = yes; then
11186 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11187 else
11188 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11189 fi
11190
11191 else
11192
11193 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11194 if test "x$LINE" != x ; then
11195 eval "DEFAULT_$LINE"
11196 else
11197 no_cache=1
11198 fi
11199
11200 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11201
11202 fi;
11203
11204 eval "$ac_cv_use_accessibility"
11205 if test "$no_cache" != 1; then
11206 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11207 fi
11208
11209 if test "$wxUSE_ACCESSIBILITY" = yes; then
11210 echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6
11212 else
11213 echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6
11215 fi
11216
11217
11218 if test "$wxUSE_MSW" = "1"; then
11219
11220 enablestring=
11221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11222 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11223 no_cache=0
11224 # Check whether --enable-dccache or --disable-dccache was given.
11225 if test "${enable_dccache+set}" = set; then
11226 enableval="$enable_dccache"
11227
11228 if test "$enableval" = yes; then
11229 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11230 else
11231 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11232 fi
11233
11234 else
11235
11236 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11237 if test "x$LINE" != x ; then
11238 eval "DEFAULT_$LINE"
11239 else
11240 no_cache=1
11241 fi
11242
11243 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11244
11245 fi;
11246
11247 eval "$ac_cv_use_dccache"
11248 if test "$no_cache" != 1; then
11249 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11250 fi
11251
11252 if test "$wxUSE_DC_CACHEING" = yes; then
11253 echo "$as_me:$LINENO: result: yes" >&5
11254 echo "${ECHO_T}yes" >&6
11255 else
11256 echo "$as_me:$LINENO: result: no" >&5
11257 echo "${ECHO_T}no" >&6
11258 fi
11259
11260 fi
11261
11262
11263
11264 enablestring=
11265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11266 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11267 no_cache=0
11268 # Check whether --enable-palette or --disable-palette was given.
11269 if test "${enable_palette+set}" = set; then
11270 enableval="$enable_palette"
11271
11272 if test "$enableval" = yes; then
11273 ac_cv_use_palette='wxUSE_PALETTE=yes'
11274 else
11275 ac_cv_use_palette='wxUSE_PALETTE=no'
11276 fi
11277
11278 else
11279
11280 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11281 if test "x$LINE" != x ; then
11282 eval "DEFAULT_$LINE"
11283 else
11284 no_cache=1
11285 fi
11286
11287 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11288
11289 fi;
11290
11291 eval "$ac_cv_use_palette"
11292 if test "$no_cache" != 1; then
11293 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11294 fi
11295
11296 if test "$wxUSE_PALETTE" = yes; then
11297 echo "$as_me:$LINENO: result: yes" >&5
11298 echo "${ECHO_T}yes" >&6
11299 else
11300 echo "$as_me:$LINENO: result: no" >&5
11301 echo "${ECHO_T}no" >&6
11302 fi
11303
11304
11305 enablestring=
11306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11307 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11308 no_cache=0
11309 # Check whether --enable-image or --disable-image was given.
11310 if test "${enable_image+set}" = set; then
11311 enableval="$enable_image"
11312
11313 if test "$enableval" = yes; then
11314 ac_cv_use_image='wxUSE_IMAGE=yes'
11315 else
11316 ac_cv_use_image='wxUSE_IMAGE=no'
11317 fi
11318
11319 else
11320
11321 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11322 if test "x$LINE" != x ; then
11323 eval "DEFAULT_$LINE"
11324 else
11325 no_cache=1
11326 fi
11327
11328 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11329
11330 fi;
11331
11332 eval "$ac_cv_use_image"
11333 if test "$no_cache" != 1; then
11334 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11335 fi
11336
11337 if test "$wxUSE_IMAGE" = yes; then
11338 echo "$as_me:$LINENO: result: yes" >&5
11339 echo "${ECHO_T}yes" >&6
11340 else
11341 echo "$as_me:$LINENO: result: no" >&5
11342 echo "${ECHO_T}no" >&6
11343 fi
11344
11345
11346 enablestring=
11347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11348 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11349 no_cache=0
11350 # Check whether --enable-gif or --disable-gif was given.
11351 if test "${enable_gif+set}" = set; then
11352 enableval="$enable_gif"
11353
11354 if test "$enableval" = yes; then
11355 ac_cv_use_gif='wxUSE_GIF=yes'
11356 else
11357 ac_cv_use_gif='wxUSE_GIF=no'
11358 fi
11359
11360 else
11361
11362 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11363 if test "x$LINE" != x ; then
11364 eval "DEFAULT_$LINE"
11365 else
11366 no_cache=1
11367 fi
11368
11369 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11370
11371 fi;
11372
11373 eval "$ac_cv_use_gif"
11374 if test "$no_cache" != 1; then
11375 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11376 fi
11377
11378 if test "$wxUSE_GIF" = yes; then
11379 echo "$as_me:$LINENO: result: yes" >&5
11380 echo "${ECHO_T}yes" >&6
11381 else
11382 echo "$as_me:$LINENO: result: no" >&5
11383 echo "${ECHO_T}no" >&6
11384 fi
11385
11386
11387 enablestring=
11388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11389 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11390 no_cache=0
11391 # Check whether --enable-pcx or --disable-pcx was given.
11392 if test "${enable_pcx+set}" = set; then
11393 enableval="$enable_pcx"
11394
11395 if test "$enableval" = yes; then
11396 ac_cv_use_pcx='wxUSE_PCX=yes'
11397 else
11398 ac_cv_use_pcx='wxUSE_PCX=no'
11399 fi
11400
11401 else
11402
11403 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11404 if test "x$LINE" != x ; then
11405 eval "DEFAULT_$LINE"
11406 else
11407 no_cache=1
11408 fi
11409
11410 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11411
11412 fi;
11413
11414 eval "$ac_cv_use_pcx"
11415 if test "$no_cache" != 1; then
11416 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11417 fi
11418
11419 if test "$wxUSE_PCX" = yes; then
11420 echo "$as_me:$LINENO: result: yes" >&5
11421 echo "${ECHO_T}yes" >&6
11422 else
11423 echo "$as_me:$LINENO: result: no" >&5
11424 echo "${ECHO_T}no" >&6
11425 fi
11426
11427
11428 enablestring=
11429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11430 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11431 no_cache=0
11432 # Check whether --enable-iff or --disable-iff was given.
11433 if test "${enable_iff+set}" = set; then
11434 enableval="$enable_iff"
11435
11436 if test "$enableval" = yes; then
11437 ac_cv_use_iff='wxUSE_IFF=yes'
11438 else
11439 ac_cv_use_iff='wxUSE_IFF=no'
11440 fi
11441
11442 else
11443
11444 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11445 if test "x$LINE" != x ; then
11446 eval "DEFAULT_$LINE"
11447 else
11448 no_cache=1
11449 fi
11450
11451 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11452
11453 fi;
11454
11455 eval "$ac_cv_use_iff"
11456 if test "$no_cache" != 1; then
11457 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11458 fi
11459
11460 if test "$wxUSE_IFF" = yes; then
11461 echo "$as_me:$LINENO: result: yes" >&5
11462 echo "${ECHO_T}yes" >&6
11463 else
11464 echo "$as_me:$LINENO: result: no" >&5
11465 echo "${ECHO_T}no" >&6
11466 fi
11467
11468
11469 enablestring=
11470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11471 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11472 no_cache=0
11473 # Check whether --enable-pnm or --disable-pnm was given.
11474 if test "${enable_pnm+set}" = set; then
11475 enableval="$enable_pnm"
11476
11477 if test "$enableval" = yes; then
11478 ac_cv_use_pnm='wxUSE_PNM=yes'
11479 else
11480 ac_cv_use_pnm='wxUSE_PNM=no'
11481 fi
11482
11483 else
11484
11485 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11486 if test "x$LINE" != x ; then
11487 eval "DEFAULT_$LINE"
11488 else
11489 no_cache=1
11490 fi
11491
11492 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11493
11494 fi;
11495
11496 eval "$ac_cv_use_pnm"
11497 if test "$no_cache" != 1; then
11498 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11499 fi
11500
11501 if test "$wxUSE_PNM" = yes; then
11502 echo "$as_me:$LINENO: result: yes" >&5
11503 echo "${ECHO_T}yes" >&6
11504 else
11505 echo "$as_me:$LINENO: result: no" >&5
11506 echo "${ECHO_T}no" >&6
11507 fi
11508
11509
11510 enablestring=
11511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11512 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11513 no_cache=0
11514 # Check whether --enable-xpm or --disable-xpm was given.
11515 if test "${enable_xpm+set}" = set; then
11516 enableval="$enable_xpm"
11517
11518 if test "$enableval" = yes; then
11519 ac_cv_use_xpm='wxUSE_XPM=yes'
11520 else
11521 ac_cv_use_xpm='wxUSE_XPM=no'
11522 fi
11523
11524 else
11525
11526 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11527 if test "x$LINE" != x ; then
11528 eval "DEFAULT_$LINE"
11529 else
11530 no_cache=1
11531 fi
11532
11533 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11534
11535 fi;
11536
11537 eval "$ac_cv_use_xpm"
11538 if test "$no_cache" != 1; then
11539 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11540 fi
11541
11542 if test "$wxUSE_XPM" = yes; then
11543 echo "$as_me:$LINENO: result: yes" >&5
11544 echo "${ECHO_T}yes" >&6
11545 else
11546 echo "$as_me:$LINENO: result: no" >&5
11547 echo "${ECHO_T}no" >&6
11548 fi
11549
11550
11551 enablestring=
11552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11553 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11554 no_cache=0
11555 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11556 if test "${enable_ico_cur+set}" = set; then
11557 enableval="$enable_ico_cur"
11558
11559 if test "$enableval" = yes; then
11560 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11561 else
11562 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11563 fi
11564
11565 else
11566
11567 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11568 if test "x$LINE" != x ; then
11569 eval "DEFAULT_$LINE"
11570 else
11571 no_cache=1
11572 fi
11573
11574 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11575
11576 fi;
11577
11578 eval "$ac_cv_use_ico_cur"
11579 if test "$no_cache" != 1; then
11580 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11581 fi
11582
11583 if test "$wxUSE_ICO_CUR" = yes; then
11584 echo "$as_me:$LINENO: result: yes" >&5
11585 echo "${ECHO_T}yes" >&6
11586 else
11587 echo "$as_me:$LINENO: result: no" >&5
11588 echo "${ECHO_T}no" >&6
11589 fi
11590
11591
11592 fi
11593
11594
11595
11596 # Check whether --with-flavour or --without-flavour was given.
11597 if test "${with_flavour+set}" = set; then
11598 withval="$with_flavour"
11599 WX_FLAVOUR="$withval"
11600 fi;
11601
11602
11603
11604 enablestring=
11605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11606 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11607 no_cache=0
11608 # Check whether --enable-official_build or --disable-official_build was given.
11609 if test "${enable_official_build+set}" = set; then
11610 enableval="$enable_official_build"
11611
11612 if test "$enableval" = yes; then
11613 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11614 else
11615 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11616 fi
11617
11618 else
11619
11620 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11621 if test "x$LINE" != x ; then
11622 eval "DEFAULT_$LINE"
11623 else
11624 no_cache=1
11625 fi
11626
11627 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11628
11629 fi;
11630
11631 eval "$ac_cv_use_official_build"
11632 if test "$no_cache" != 1; then
11633 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11634 fi
11635
11636 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11637 echo "$as_me:$LINENO: result: yes" >&5
11638 echo "${ECHO_T}yes" >&6
11639 else
11640 echo "$as_me:$LINENO: result: no" >&5
11641 echo "${ECHO_T}no" >&6
11642 fi
11643
11644 # Check whether --enable-vendor or --disable-vendor was given.
11645 if test "${enable_vendor+set}" = set; then
11646 enableval="$enable_vendor"
11647 VENDOR="$enableval"
11648 fi;
11649 if test "x$VENDOR" = "x"; then
11650 VENDOR="custom"
11651 fi
11652
11653
11654
11655
11656 echo "saving argument cache $wx_arg_cache_file"
11657 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11658
11659
11660
11661 echo "$as_me:$LINENO: checking for toolkit" >&5
11662 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11663
11664 # In Wine, we need to default to MSW, not GTK or MOTIF
11665 if test "$wxUSE_WINE" = "yes"; then
11666 DEFAULT_DEFAULT_wxUSE_GTK=0
11667 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11668 DEFAULT_DEFAULT_wxUSE_MSW=1
11669 wxUSE_SHARED=no
11670 fi
11671
11672
11673 if test "$wxUSE_GUI" = "yes"; then
11674
11675 if test "$USE_BEOS" = 1; then
11676 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11677 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11678 { (exit 1); exit 1; }; }
11679 fi
11680
11681 if test "$TOOLKIT_GIVEN" = 1; then
11682 for toolkit in `echo $ALL_TOOLKITS`; do
11683 var=wxUSE_$toolkit
11684 eval "value=\$${var}"
11685 if test "x$value" = "xno"; then
11686 eval "$var=0"
11687 elif test "x$value" != "x"; then
11688 eval "$var=1"
11689 fi
11690
11691 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11692 eval "wx${toolkit}_VERSION=$value"
11693 fi
11694 done
11695 else
11696 for toolkit in `echo $ALL_TOOLKITS`; do
11697 if test "$has_toolkit_in_cache" != 1; then
11698 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11699 else
11700 var=DEFAULT_wxUSE_$toolkit
11701
11702 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11703 if test "x$version" != "x"; then
11704 eval "wx${toolkit}_VERSION=$version"
11705 fi
11706 fi
11707 eval "wxUSE_$toolkit=\$${var}"
11708 done
11709 fi
11710
11711 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11712 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11713 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11714
11715 case "${host}" in
11716 *-pc-os2_emx | *-pc-os2-emx )
11717 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11718 esac
11719
11720 case "$NUM_TOOLKITS" in
11721 1)
11722 ;;
11723 0)
11724 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11725 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11726 { (exit 1); exit 1; }; }
11727 ;;
11728 *)
11729 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11730 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11731 { (exit 1); exit 1; }; }
11732 esac
11733
11734 # to be removed when --disable-gtk2 isn't needed
11735 if test "x$wxUSE_GTK2" = "xyes"; then
11736 wxGTK_VERSION=2
11737 elif test "x$wxUSE_GTK2" = "xno"; then
11738 wxGTK_VERSION=1
11739 fi
11740
11741 for toolkit in `echo $ALL_TOOLKITS`; do
11742 var=wxUSE_$toolkit
11743 eval "value=\$${var}"
11744 if test "x$value" != x; then
11745 cache_var=CACHE_$toolkit
11746 eval "cache=\$${cache_var}"
11747 if test "$cache" = 1; then
11748 echo "$var=$value" >> ${wx_arg_cache_file}
11749 eval "version=\$wx${toolkit}_VERSION"
11750 if test "x$version" != "x"; then
11751 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11752 fi
11753 fi
11754 if test "$value" = 1; then
11755 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11756 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11757 echo "${ECHO_T}$toolkit_echo" >&6
11758 fi
11759 fi
11760 done
11761 else
11762 if test "x$host_alias" != "x"; then
11763 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11764 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11765 else
11766 echo "$as_me:$LINENO: result: base only" >&5
11767 echo "${ECHO_T}base only" >&6
11768 fi
11769 fi
11770
11771 wants_win32=0
11772 doesnt_want_win32=0
11773 case "${host}" in
11774 *-*-cygwin*)
11775 if test "$wxUSE_MSW" = 1 ; then
11776 wants_win32=1
11777 BAKEFILE_FORCE_PLATFORM=win32
11778 else
11779 doesnt_want_win32=1
11780 fi
11781 ;;
11782 *-*-mingw*)
11783 wants_win32=1
11784 ;;
11785 esac
11786
11787 if test "$wxUSE_WINE" = "yes"; then
11788 wants_win32=1
11789 CC=winegcc
11790 CXX=wineg++
11791 LDFLAGS_GUI="-mwindows"
11792 fi
11793
11794 if test "$wants_win32" = 1 ; then
11795 USE_UNIX=0
11796 USE_WIN32=1
11797 cat >>confdefs.h <<\_ACEOF
11798 #define __WIN32__ 1
11799 _ACEOF
11800
11801 cat >>confdefs.h <<\_ACEOF
11802 #define __WIN95__ 1
11803 _ACEOF
11804
11805 cat >>confdefs.h <<\_ACEOF
11806 #define __WINDOWS__ 1
11807 _ACEOF
11808
11809 cat >>confdefs.h <<\_ACEOF
11810 #define __GNUWIN32__ 1
11811 _ACEOF
11812
11813 cat >>confdefs.h <<\_ACEOF
11814 #define STRICT 1
11815 _ACEOF
11816
11817 cat >>confdefs.h <<\_ACEOF
11818 #define WINVER 0x0400
11819 _ACEOF
11820
11821 fi
11822 if test "$doesnt_want_win32" = 1 ; then
11823 USE_UNIX=1
11824 USE_WIN32=0
11825 fi
11826
11827 if test "$USE_UNIX" = 1 ; then
11828 wxUSE_UNIX=yes
11829 cat >>confdefs.h <<\_ACEOF
11830 #define __UNIX__ 1
11831 _ACEOF
11832
11833 fi
11834
11835
11836 cat >confcache <<\_ACEOF
11837 # This file is a shell script that caches the results of configure
11838 # tests run on this system so they can be shared between configure
11839 # scripts and configure runs, see configure's option --config-cache.
11840 # It is not useful on other systems. If it contains results you don't
11841 # want to keep, you may remove or edit it.
11842 #
11843 # config.status only pays attention to the cache file if you give it
11844 # the --recheck option to rerun configure.
11845 #
11846 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11847 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11848 # following values.
11849
11850 _ACEOF
11851
11852 # The following way of writing the cache mishandles newlines in values,
11853 # but we know of no workaround that is simple, portable, and efficient.
11854 # So, don't put newlines in cache variables' values.
11855 # Ultrix sh set writes to stderr and can't be redirected directly,
11856 # and sets the high bit in the cache file unless we assign to the vars.
11857 {
11858 (set) 2>&1 |
11859 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11860 *ac_space=\ *)
11861 # `set' does not quote correctly, so add quotes (double-quote
11862 # substitution turns \\\\ into \\, and sed turns \\ into \).
11863 sed -n \
11864 "s/'/'\\\\''/g;
11865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11866 ;;
11867 *)
11868 # `set' quotes correctly as required by POSIX, so do not add quotes.
11869 sed -n \
11870 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11871 ;;
11872 esac;
11873 } |
11874 sed '
11875 t clear
11876 : clear
11877 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11878 t end
11879 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11880 : end' >>confcache
11881 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11882 if test -w $cache_file; then
11883 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11884 cat confcache >$cache_file
11885 else
11886 echo "not updating unwritable cache $cache_file"
11887 fi
11888 fi
11889 rm -f confcache
11890
11891 CFLAGS=${CFLAGS:=}
11892
11893
11894
11895 ac_ext=c
11896 ac_cpp='$CPP $CPPFLAGS'
11897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11900 if test -n "$ac_tool_prefix"; then
11901 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11902 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11903 echo "$as_me:$LINENO: checking for $ac_word" >&5
11904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11905 if test "${ac_cv_prog_CC+set}" = set; then
11906 echo $ECHO_N "(cached) $ECHO_C" >&6
11907 else
11908 if test -n "$CC"; then
11909 ac_cv_prog_CC="$CC" # Let the user override the test.
11910 else
11911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11912 for as_dir in $PATH
11913 do
11914 IFS=$as_save_IFS
11915 test -z "$as_dir" && as_dir=.
11916 for ac_exec_ext in '' $ac_executable_extensions; do
11917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11918 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11920 break 2
11921 fi
11922 done
11923 done
11924
11925 fi
11926 fi
11927 CC=$ac_cv_prog_CC
11928 if test -n "$CC"; then
11929 echo "$as_me:$LINENO: result: $CC" >&5
11930 echo "${ECHO_T}$CC" >&6
11931 else
11932 echo "$as_me:$LINENO: result: no" >&5
11933 echo "${ECHO_T}no" >&6
11934 fi
11935
11936 fi
11937 if test -z "$ac_cv_prog_CC"; then
11938 ac_ct_CC=$CC
11939 # Extract the first word of "gcc", so it can be a program name with args.
11940 set dummy gcc; ac_word=$2
11941 echo "$as_me:$LINENO: checking for $ac_word" >&5
11942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11943 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11944 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 else
11946 if test -n "$ac_ct_CC"; then
11947 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11948 else
11949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11950 for as_dir in $PATH
11951 do
11952 IFS=$as_save_IFS
11953 test -z "$as_dir" && as_dir=.
11954 for ac_exec_ext in '' $ac_executable_extensions; do
11955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11956 ac_cv_prog_ac_ct_CC="gcc"
11957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11958 break 2
11959 fi
11960 done
11961 done
11962
11963 fi
11964 fi
11965 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11966 if test -n "$ac_ct_CC"; then
11967 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11968 echo "${ECHO_T}$ac_ct_CC" >&6
11969 else
11970 echo "$as_me:$LINENO: result: no" >&5
11971 echo "${ECHO_T}no" >&6
11972 fi
11973
11974 CC=$ac_ct_CC
11975 else
11976 CC="$ac_cv_prog_CC"
11977 fi
11978
11979 if test -z "$CC"; then
11980 if test -n "$ac_tool_prefix"; then
11981 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11982 set dummy ${ac_tool_prefix}cc; ac_word=$2
11983 echo "$as_me:$LINENO: checking for $ac_word" >&5
11984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11985 if test "${ac_cv_prog_CC+set}" = set; then
11986 echo $ECHO_N "(cached) $ECHO_C" >&6
11987 else
11988 if test -n "$CC"; then
11989 ac_cv_prog_CC="$CC" # Let the user override the test.
11990 else
11991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11992 for as_dir in $PATH
11993 do
11994 IFS=$as_save_IFS
11995 test -z "$as_dir" && as_dir=.
11996 for ac_exec_ext in '' $ac_executable_extensions; do
11997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11998 ac_cv_prog_CC="${ac_tool_prefix}cc"
11999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12000 break 2
12001 fi
12002 done
12003 done
12004
12005 fi
12006 fi
12007 CC=$ac_cv_prog_CC
12008 if test -n "$CC"; then
12009 echo "$as_me:$LINENO: result: $CC" >&5
12010 echo "${ECHO_T}$CC" >&6
12011 else
12012 echo "$as_me:$LINENO: result: no" >&5
12013 echo "${ECHO_T}no" >&6
12014 fi
12015
12016 fi
12017 if test -z "$ac_cv_prog_CC"; then
12018 ac_ct_CC=$CC
12019 # Extract the first word of "cc", so it can be a program name with args.
12020 set dummy cc; ac_word=$2
12021 echo "$as_me:$LINENO: checking for $ac_word" >&5
12022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12023 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 else
12026 if test -n "$ac_ct_CC"; then
12027 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12028 else
12029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12030 for as_dir in $PATH
12031 do
12032 IFS=$as_save_IFS
12033 test -z "$as_dir" && as_dir=.
12034 for ac_exec_ext in '' $ac_executable_extensions; do
12035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12036 ac_cv_prog_ac_ct_CC="cc"
12037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12038 break 2
12039 fi
12040 done
12041 done
12042
12043 fi
12044 fi
12045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12046 if test -n "$ac_ct_CC"; then
12047 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12048 echo "${ECHO_T}$ac_ct_CC" >&6
12049 else
12050 echo "$as_me:$LINENO: result: no" >&5
12051 echo "${ECHO_T}no" >&6
12052 fi
12053
12054 CC=$ac_ct_CC
12055 else
12056 CC="$ac_cv_prog_CC"
12057 fi
12058
12059 fi
12060 if test -z "$CC"; then
12061 # Extract the first word of "cc", so it can be a program name with args.
12062 set dummy cc; ac_word=$2
12063 echo "$as_me:$LINENO: checking for $ac_word" >&5
12064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12065 if test "${ac_cv_prog_CC+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12067 else
12068 if test -n "$CC"; then
12069 ac_cv_prog_CC="$CC" # Let the user override the test.
12070 else
12071 ac_prog_rejected=no
12072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12073 for as_dir in $PATH
12074 do
12075 IFS=$as_save_IFS
12076 test -z "$as_dir" && as_dir=.
12077 for ac_exec_ext in '' $ac_executable_extensions; do
12078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12079 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12080 ac_prog_rejected=yes
12081 continue
12082 fi
12083 ac_cv_prog_CC="cc"
12084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12085 break 2
12086 fi
12087 done
12088 done
12089
12090 if test $ac_prog_rejected = yes; then
12091 # We found a bogon in the path, so make sure we never use it.
12092 set dummy $ac_cv_prog_CC
12093 shift
12094 if test $# != 0; then
12095 # We chose a different compiler from the bogus one.
12096 # However, it has the same basename, so the bogon will be chosen
12097 # first if we set CC to just the basename; use the full file name.
12098 shift
12099 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12100 fi
12101 fi
12102 fi
12103 fi
12104 CC=$ac_cv_prog_CC
12105 if test -n "$CC"; then
12106 echo "$as_me:$LINENO: result: $CC" >&5
12107 echo "${ECHO_T}$CC" >&6
12108 else
12109 echo "$as_me:$LINENO: result: no" >&5
12110 echo "${ECHO_T}no" >&6
12111 fi
12112
12113 fi
12114 if test -z "$CC"; then
12115 if test -n "$ac_tool_prefix"; then
12116 for ac_prog in cl
12117 do
12118 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12119 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12120 echo "$as_me:$LINENO: checking for $ac_word" >&5
12121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12122 if test "${ac_cv_prog_CC+set}" = set; then
12123 echo $ECHO_N "(cached) $ECHO_C" >&6
12124 else
12125 if test -n "$CC"; then
12126 ac_cv_prog_CC="$CC" # Let the user override the test.
12127 else
12128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12129 for as_dir in $PATH
12130 do
12131 IFS=$as_save_IFS
12132 test -z "$as_dir" && as_dir=.
12133 for ac_exec_ext in '' $ac_executable_extensions; do
12134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12135 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12137 break 2
12138 fi
12139 done
12140 done
12141
12142 fi
12143 fi
12144 CC=$ac_cv_prog_CC
12145 if test -n "$CC"; then
12146 echo "$as_me:$LINENO: result: $CC" >&5
12147 echo "${ECHO_T}$CC" >&6
12148 else
12149 echo "$as_me:$LINENO: result: no" >&5
12150 echo "${ECHO_T}no" >&6
12151 fi
12152
12153 test -n "$CC" && break
12154 done
12155 fi
12156 if test -z "$CC"; then
12157 ac_ct_CC=$CC
12158 for ac_prog in cl
12159 do
12160 # Extract the first word of "$ac_prog", so it can be a program name with args.
12161 set dummy $ac_prog; ac_word=$2
12162 echo "$as_me:$LINENO: checking for $ac_word" >&5
12163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12165 echo $ECHO_N "(cached) $ECHO_C" >&6
12166 else
12167 if test -n "$ac_ct_CC"; then
12168 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12169 else
12170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12171 for as_dir in $PATH
12172 do
12173 IFS=$as_save_IFS
12174 test -z "$as_dir" && as_dir=.
12175 for ac_exec_ext in '' $ac_executable_extensions; do
12176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12177 ac_cv_prog_ac_ct_CC="$ac_prog"
12178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12179 break 2
12180 fi
12181 done
12182 done
12183
12184 fi
12185 fi
12186 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12187 if test -n "$ac_ct_CC"; then
12188 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12189 echo "${ECHO_T}$ac_ct_CC" >&6
12190 else
12191 echo "$as_me:$LINENO: result: no" >&5
12192 echo "${ECHO_T}no" >&6
12193 fi
12194
12195 test -n "$ac_ct_CC" && break
12196 done
12197
12198 CC=$ac_ct_CC
12199 fi
12200
12201 fi
12202
12203
12204 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12205 See \`config.log' for more details." >&5
12206 echo "$as_me: error: no acceptable C compiler found in \$PATH
12207 See \`config.log' for more details." >&2;}
12208 { (exit 1); exit 1; }; }
12209
12210 # Provide some information about the compiler.
12211 echo "$as_me:$LINENO:" \
12212 "checking for C compiler version" >&5
12213 ac_compiler=`set X $ac_compile; echo $2`
12214 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12215 (eval $ac_compiler --version </dev/null >&5) 2>&5
12216 ac_status=$?
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); }
12219 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12220 (eval $ac_compiler -v </dev/null >&5) 2>&5
12221 ac_status=$?
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); }
12224 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12225 (eval $ac_compiler -V </dev/null >&5) 2>&5
12226 ac_status=$?
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }
12229
12230 cat >conftest.$ac_ext <<_ACEOF
12231 /* confdefs.h. */
12232 _ACEOF
12233 cat confdefs.h >>conftest.$ac_ext
12234 cat >>conftest.$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12236
12237 int
12238 main ()
12239 {
12240
12241 ;
12242 return 0;
12243 }
12244 _ACEOF
12245 ac_clean_files_save=$ac_clean_files
12246 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12247 # Try to create an executable without -o first, disregard a.out.
12248 # It will help us diagnose broken compilers, and finding out an intuition
12249 # of exeext.
12250 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12251 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12252 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12253 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12254 (eval $ac_link_default) 2>&5
12255 ac_status=$?
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); }; then
12258 # Find the output, starting from the most likely. This scheme is
12259 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12260 # resort.
12261
12262 # Be careful to initialize this variable, since it used to be cached.
12263 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12264 ac_cv_exeext=
12265 # b.out is created by i960 compilers.
12266 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12267 do
12268 test -f "$ac_file" || continue
12269 case $ac_file in
12270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12271 ;;
12272 conftest.$ac_ext )
12273 # This is the source file.
12274 ;;
12275 [ab].out )
12276 # We found the default executable, but exeext='' is most
12277 # certainly right.
12278 break;;
12279 *.* )
12280 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12281 # FIXME: I believe we export ac_cv_exeext for Libtool,
12282 # but it would be cool to find out if it's true. Does anybody
12283 # maintain Libtool? --akim.
12284 export ac_cv_exeext
12285 break;;
12286 * )
12287 break;;
12288 esac
12289 done
12290 else
12291 echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.$ac_ext >&5
12293
12294 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12295 See \`config.log' for more details." >&5
12296 echo "$as_me: error: C compiler cannot create executables
12297 See \`config.log' for more details." >&2;}
12298 { (exit 77); exit 77; }; }
12299 fi
12300
12301 ac_exeext=$ac_cv_exeext
12302 echo "$as_me:$LINENO: result: $ac_file" >&5
12303 echo "${ECHO_T}$ac_file" >&6
12304
12305 # Check the compiler produces executables we can run. If not, either
12306 # the compiler is broken, or we cross compile.
12307 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12308 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12309 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12310 # If not cross compiling, check that we can run a simple program.
12311 if test "$cross_compiling" != yes; then
12312 if { ac_try='./$ac_file'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12315 ac_status=$?
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then
12318 cross_compiling=no
12319 else
12320 if test "$cross_compiling" = maybe; then
12321 cross_compiling=yes
12322 else
12323 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12324 If you meant to cross compile, use \`--host'.
12325 See \`config.log' for more details." >&5
12326 echo "$as_me: error: cannot run C compiled programs.
12327 If you meant to cross compile, use \`--host'.
12328 See \`config.log' for more details." >&2;}
12329 { (exit 1); exit 1; }; }
12330 fi
12331 fi
12332 fi
12333 echo "$as_me:$LINENO: result: yes" >&5
12334 echo "${ECHO_T}yes" >&6
12335
12336 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12337 ac_clean_files=$ac_clean_files_save
12338 # Check the compiler produces executables we can run. If not, either
12339 # the compiler is broken, or we cross compile.
12340 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12341 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12342 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12343 echo "${ECHO_T}$cross_compiling" >&6
12344
12345 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12346 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12348 (eval $ac_link) 2>&5
12349 ac_status=$?
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); }; then
12352 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12353 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12354 # work properly (i.e., refer to `conftest.exe'), while it won't with
12355 # `rm'.
12356 for ac_file in conftest.exe conftest conftest.*; do
12357 test -f "$ac_file" || continue
12358 case $ac_file in
12359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12360 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12361 export ac_cv_exeext
12362 break;;
12363 * ) break;;
12364 esac
12365 done
12366 else
12367 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12368 See \`config.log' for more details." >&5
12369 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12370 See \`config.log' for more details." >&2;}
12371 { (exit 1); exit 1; }; }
12372 fi
12373
12374 rm -f conftest$ac_cv_exeext
12375 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12376 echo "${ECHO_T}$ac_cv_exeext" >&6
12377
12378 rm -f conftest.$ac_ext
12379 EXEEXT=$ac_cv_exeext
12380 ac_exeext=$EXEEXT
12381 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12382 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12383 if test "${ac_cv_objext+set}" = set; then
12384 echo $ECHO_N "(cached) $ECHO_C" >&6
12385 else
12386 cat >conftest.$ac_ext <<_ACEOF
12387 /* confdefs.h. */
12388 _ACEOF
12389 cat confdefs.h >>conftest.$ac_ext
12390 cat >>conftest.$ac_ext <<_ACEOF
12391 /* end confdefs.h. */
12392
12393 int
12394 main ()
12395 {
12396
12397 ;
12398 return 0;
12399 }
12400 _ACEOF
12401 rm -f conftest.o conftest.obj
12402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12403 (eval $ac_compile) 2>&5
12404 ac_status=$?
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; then
12407 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12408 case $ac_file in
12409 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12410 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12411 break;;
12412 esac
12413 done
12414 else
12415 echo "$as_me: failed program was:" >&5
12416 sed 's/^/| /' conftest.$ac_ext >&5
12417
12418 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12419 See \`config.log' for more details." >&5
12420 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12421 See \`config.log' for more details." >&2;}
12422 { (exit 1); exit 1; }; }
12423 fi
12424
12425 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12426 fi
12427 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12428 echo "${ECHO_T}$ac_cv_objext" >&6
12429 OBJEXT=$ac_cv_objext
12430 ac_objext=$OBJEXT
12431 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12432 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12433 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12434 echo $ECHO_N "(cached) $ECHO_C" >&6
12435 else
12436 cat >conftest.$ac_ext <<_ACEOF
12437 /* confdefs.h. */
12438 _ACEOF
12439 cat confdefs.h >>conftest.$ac_ext
12440 cat >>conftest.$ac_ext <<_ACEOF
12441 /* end confdefs.h. */
12442
12443 int
12444 main ()
12445 {
12446 #ifndef __GNUC__
12447 choke me
12448 #endif
12449
12450 ;
12451 return 0;
12452 }
12453 _ACEOF
12454 rm -f conftest.$ac_objext
12455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12456 (eval $ac_compile) 2>conftest.er1
12457 ac_status=$?
12458 grep -v '^ *+' conftest.er1 >conftest.err
12459 rm -f conftest.er1
12460 cat conftest.err >&5
12461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 (exit $ac_status); } &&
12463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12465 (eval $ac_try) 2>&5
12466 ac_status=$?
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); }; } &&
12469 { ac_try='test -s conftest.$ac_objext'
12470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12471 (eval $ac_try) 2>&5
12472 ac_status=$?
12473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12474 (exit $ac_status); }; }; then
12475 ac_compiler_gnu=yes
12476 else
12477 echo "$as_me: failed program was:" >&5
12478 sed 's/^/| /' conftest.$ac_ext >&5
12479
12480 ac_compiler_gnu=no
12481 fi
12482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12483 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12484
12485 fi
12486 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12487 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12488 GCC=`test $ac_compiler_gnu = yes && echo yes`
12489 ac_test_CFLAGS=${CFLAGS+set}
12490 ac_save_CFLAGS=$CFLAGS
12491 CFLAGS="-g"
12492 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12493 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12494 if test "${ac_cv_prog_cc_g+set}" = set; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12496 else
12497 cat >conftest.$ac_ext <<_ACEOF
12498 /* confdefs.h. */
12499 _ACEOF
12500 cat confdefs.h >>conftest.$ac_ext
12501 cat >>conftest.$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12503
12504 int
12505 main ()
12506 {
12507
12508 ;
12509 return 0;
12510 }
12511 _ACEOF
12512 rm -f conftest.$ac_objext
12513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12514 (eval $ac_compile) 2>conftest.er1
12515 ac_status=$?
12516 grep -v '^ *+' conftest.er1 >conftest.err
12517 rm -f conftest.er1
12518 cat conftest.err >&5
12519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520 (exit $ac_status); } &&
12521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12523 (eval $ac_try) 2>&5
12524 ac_status=$?
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); }; } &&
12527 { ac_try='test -s conftest.$ac_objext'
12528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12529 (eval $ac_try) 2>&5
12530 ac_status=$?
12531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 (exit $ac_status); }; }; then
12533 ac_cv_prog_cc_g=yes
12534 else
12535 echo "$as_me: failed program was:" >&5
12536 sed 's/^/| /' conftest.$ac_ext >&5
12537
12538 ac_cv_prog_cc_g=no
12539 fi
12540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12541 fi
12542 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12543 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12544 if test "$ac_test_CFLAGS" = set; then
12545 CFLAGS=$ac_save_CFLAGS
12546 elif test $ac_cv_prog_cc_g = yes; then
12547 if test "$GCC" = yes; then
12548 CFLAGS="-g -O2"
12549 else
12550 CFLAGS="-g"
12551 fi
12552 else
12553 if test "$GCC" = yes; then
12554 CFLAGS="-O2"
12555 else
12556 CFLAGS=
12557 fi
12558 fi
12559 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12560 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12561 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12562 echo $ECHO_N "(cached) $ECHO_C" >&6
12563 else
12564 ac_cv_prog_cc_stdc=no
12565 ac_save_CC=$CC
12566 cat >conftest.$ac_ext <<_ACEOF
12567 /* confdefs.h. */
12568 _ACEOF
12569 cat confdefs.h >>conftest.$ac_ext
12570 cat >>conftest.$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12572 #include <stdarg.h>
12573 #include <stdio.h>
12574 #include <sys/types.h>
12575 #include <sys/stat.h>
12576 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12577 struct buf { int x; };
12578 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12579 static char *e (p, i)
12580 char **p;
12581 int i;
12582 {
12583 return p[i];
12584 }
12585 static char *f (char * (*g) (char **, int), char **p, ...)
12586 {
12587 char *s;
12588 va_list v;
12589 va_start (v,p);
12590 s = g (p, va_arg (v,int));
12591 va_end (v);
12592 return s;
12593 }
12594
12595 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12596 function prototypes and stuff, but not '\xHH' hex character constants.
12597 These don't provoke an error unfortunately, instead are silently treated
12598 as 'x'. The following induces an error, until -std1 is added to get
12599 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12600 array size at least. It's necessary to write '\x00'==0 to get something
12601 that's true only with -std1. */
12602 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12603
12604 int test (int i, double x);
12605 struct s1 {int (*f) (int a);};
12606 struct s2 {int (*f) (double a);};
12607 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12608 int argc;
12609 char **argv;
12610 int
12611 main ()
12612 {
12613 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12614 ;
12615 return 0;
12616 }
12617 _ACEOF
12618 # Don't try gcc -ansi; that turns off useful extensions and
12619 # breaks some systems' header files.
12620 # AIX -qlanglvl=ansi
12621 # Ultrix and OSF/1 -std1
12622 # HP-UX 10.20 and later -Ae
12623 # HP-UX older versions -Aa -D_HPUX_SOURCE
12624 # SVR4 -Xc -D__EXTENSIONS__
12625 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12626 do
12627 CC="$ac_save_CC $ac_arg"
12628 rm -f conftest.$ac_objext
12629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12630 (eval $ac_compile) 2>conftest.er1
12631 ac_status=$?
12632 grep -v '^ *+' conftest.er1 >conftest.err
12633 rm -f conftest.er1
12634 cat conftest.err >&5
12635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636 (exit $ac_status); } &&
12637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639 (eval $ac_try) 2>&5
12640 ac_status=$?
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); }; } &&
12643 { ac_try='test -s conftest.$ac_objext'
12644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12645 (eval $ac_try) 2>&5
12646 ac_status=$?
12647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648 (exit $ac_status); }; }; then
12649 ac_cv_prog_cc_stdc=$ac_arg
12650 break
12651 else
12652 echo "$as_me: failed program was:" >&5
12653 sed 's/^/| /' conftest.$ac_ext >&5
12654
12655 fi
12656 rm -f conftest.err conftest.$ac_objext
12657 done
12658 rm -f conftest.$ac_ext conftest.$ac_objext
12659 CC=$ac_save_CC
12660
12661 fi
12662
12663 case "x$ac_cv_prog_cc_stdc" in
12664 x|xno)
12665 echo "$as_me:$LINENO: result: none needed" >&5
12666 echo "${ECHO_T}none needed" >&6 ;;
12667 *)
12668 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12669 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12670 CC="$CC $ac_cv_prog_cc_stdc" ;;
12671 esac
12672
12673 # Some people use a C++ compiler to compile C. Since we use `exit',
12674 # in C++ we need to declare it. In case someone uses the same compiler
12675 # for both compiling C and C++ we need to have the C++ compiler decide
12676 # the declaration of exit, since it's the most demanding environment.
12677 cat >conftest.$ac_ext <<_ACEOF
12678 #ifndef __cplusplus
12679 choke me
12680 #endif
12681 _ACEOF
12682 rm -f conftest.$ac_objext
12683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12684 (eval $ac_compile) 2>conftest.er1
12685 ac_status=$?
12686 grep -v '^ *+' conftest.er1 >conftest.err
12687 rm -f conftest.er1
12688 cat conftest.err >&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12690 (exit $ac_status); } &&
12691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12694 ac_status=$?
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; } &&
12697 { ac_try='test -s conftest.$ac_objext'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12700 ac_status=$?
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; }; then
12703 for ac_declaration in \
12704 '' \
12705 'extern "C" void std::exit (int) throw (); using std::exit;' \
12706 'extern "C" void std::exit (int); using std::exit;' \
12707 'extern "C" void exit (int) throw ();' \
12708 'extern "C" void exit (int);' \
12709 'void exit (int);'
12710 do
12711 cat >conftest.$ac_ext <<_ACEOF
12712 /* confdefs.h. */
12713 _ACEOF
12714 cat confdefs.h >>conftest.$ac_ext
12715 cat >>conftest.$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717 $ac_declaration
12718 #include <stdlib.h>
12719 int
12720 main ()
12721 {
12722 exit (42);
12723 ;
12724 return 0;
12725 }
12726 _ACEOF
12727 rm -f conftest.$ac_objext
12728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12729 (eval $ac_compile) 2>conftest.er1
12730 ac_status=$?
12731 grep -v '^ *+' conftest.er1 >conftest.err
12732 rm -f conftest.er1
12733 cat conftest.err >&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } &&
12736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12738 (eval $ac_try) 2>&5
12739 ac_status=$?
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); }; } &&
12742 { ac_try='test -s conftest.$ac_objext'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12745 ac_status=$?
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; }; then
12748 :
12749 else
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.$ac_ext >&5
12752
12753 continue
12754 fi
12755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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 $ac_declaration
12763 int
12764 main ()
12765 {
12766 exit (42);
12767 ;
12768 return 0;
12769 }
12770 _ACEOF
12771 rm -f conftest.$ac_objext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>conftest.er1
12774 ac_status=$?
12775 grep -v '^ *+' conftest.er1 >conftest.err
12776 rm -f conftest.er1
12777 cat conftest.err >&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12783 ac_status=$?
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; } &&
12786 { ac_try='test -s conftest.$ac_objext'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12789 ac_status=$?
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 break
12793 else
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.$ac_ext >&5
12796
12797 fi
12798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12799 done
12800 rm -f conftest*
12801 if test -n "$ac_declaration"; then
12802 echo '#ifdef __cplusplus' >>confdefs.h
12803 echo $ac_declaration >>confdefs.h
12804 echo '#endif' >>confdefs.h
12805 fi
12806
12807 else
12808 echo "$as_me: failed program was:" >&5
12809 sed 's/^/| /' conftest.$ac_ext >&5
12810
12811 fi
12812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12813 ac_ext=c
12814 ac_cpp='$CPP $CPPFLAGS'
12815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12818
12819
12820
12821 ac_ext=c
12822 ac_cpp='$CPP $CPPFLAGS'
12823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12826
12827 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12828 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12829 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12830 echo $ECHO_N "(cached) $ECHO_C" >&6
12831 else
12832 cat >conftest.$ac_ext <<_ACEOF
12833 /* confdefs.h. */
12834 _ACEOF
12835 cat confdefs.h >>conftest.$ac_ext
12836 cat >>conftest.$ac_ext <<_ACEOF
12837 /* end confdefs.h. */
12838
12839 int
12840 main ()
12841 {
12842
12843 #ifndef __INTEL_COMPILER
12844 choke me
12845 #endif
12846
12847 ;
12848 return 0;
12849 }
12850 _ACEOF
12851 rm -f conftest.$ac_objext
12852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12853 (eval $ac_compile) 2>conftest.er1
12854 ac_status=$?
12855 grep -v '^ *+' conftest.er1 >conftest.err
12856 rm -f conftest.er1
12857 cat conftest.err >&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } &&
12860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 (eval $ac_try) 2>&5
12863 ac_status=$?
12864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 (exit $ac_status); }; } &&
12866 { ac_try='test -s conftest.$ac_objext'
12867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12868 (eval $ac_try) 2>&5
12869 ac_status=$?
12870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12871 (exit $ac_status); }; }; then
12872 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12873 else
12874 echo "$as_me: failed program was:" >&5
12875 sed 's/^/| /' conftest.$ac_ext >&5
12876
12877 bakefile_cv_c_compiler___INTEL_COMPILER=no
12878
12879 fi
12880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12881
12882
12883 fi
12884 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12885 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12886 ac_ext=c
12887 ac_cpp='$CPP $CPPFLAGS'
12888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12891
12892 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12893 :; INTELCC=yes
12894 else
12895 :;
12896 fi
12897
12898
12899 if test "x$GCC" != "xyes"; then
12900 if test "xCC" = "xC"; then
12901 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12902 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12903 if test "${bakefile_cv_c_exto+set}" = set; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12905 else
12906 cat >conftest.$ac_ext <<_ACEOF
12907 /* confdefs.h. */
12908 _ACEOF
12909 cat confdefs.h >>conftest.$ac_ext
12910 cat >>conftest.$ac_ext <<_ACEOF
12911 /* end confdefs.h. */
12912
12913 int
12914 main ()
12915 {
12916
12917 ;
12918 return 0;
12919 }
12920 _ACEOF
12921 rm -f conftest.$ac_objext conftest.$ac_ext.o
12922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12923 (eval $ac_compile) 2>&5
12924 ac_status=$?
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); }; then
12927 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12928 case $ac_file in
12929 conftest.$ac_ext.o)
12930 bakefile_cv_c_exto="-ext o"
12931 ;;
12932 *)
12933 ;;
12934 esac
12935 done
12936 else
12937 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12938 See \`config.log' for more details." >&5
12939 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12940 See \`config.log' for more details." >&2;}
12941 { (exit 1); exit 1; }; }
12942
12943 fi
12944
12945 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12946
12947 fi
12948 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12949 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12950 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12951 if test "c" = "c"; then
12952 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12953 fi
12954 if test "c" = "cxx"; then
12955 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12956 fi
12957 fi
12958
12959 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12960 unset ac_cv_prog_cc_g
12961 ac_test_CFLAGS=${CFLAGS+set}
12962 ac_save_CFLAGS=$CFLAGS
12963 CFLAGS="-g"
12964 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12965 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12966 if test "${ac_cv_prog_cc_g+set}" = set; then
12967 echo $ECHO_N "(cached) $ECHO_C" >&6
12968 else
12969 cat >conftest.$ac_ext <<_ACEOF
12970 /* confdefs.h. */
12971 _ACEOF
12972 cat confdefs.h >>conftest.$ac_ext
12973 cat >>conftest.$ac_ext <<_ACEOF
12974 /* end confdefs.h. */
12975
12976 int
12977 main ()
12978 {
12979
12980 ;
12981 return 0;
12982 }
12983 _ACEOF
12984 rm -f conftest.$ac_objext
12985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12986 (eval $ac_compile) 2>conftest.er1
12987 ac_status=$?
12988 grep -v '^ *+' conftest.er1 >conftest.err
12989 rm -f conftest.er1
12990 cat conftest.err >&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); } &&
12993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 (eval $ac_try) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; } &&
12999 { ac_try='test -s conftest.$ac_objext'
13000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13001 (eval $ac_try) 2>&5
13002 ac_status=$?
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); }; }; then
13005 ac_cv_prog_cc_g=yes
13006 else
13007 echo "$as_me: failed program was:" >&5
13008 sed 's/^/| /' conftest.$ac_ext >&5
13009
13010 ac_cv_prog_cc_g=no
13011 fi
13012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13013 fi
13014 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13015 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13016 if test "$ac_test_CFLAGS" = set; then
13017 CFLAGS=$ac_save_CFLAGS
13018 elif test $ac_cv_prog_cc_g = yes; then
13019 if test "$GCC" = yes; then
13020 CFLAGS="-g -O2"
13021 else
13022 CFLAGS="-g"
13023 fi
13024 else
13025 if test "$GCC" = yes; then
13026 CFLAGS="-O2"
13027 else
13028 CFLAGS=
13029 fi
13030 fi
13031 fi
13032 fi
13033
13034 case `uname -s` in
13035 AIX*)
13036 ac_ext=c
13037 ac_cpp='$CPP $CPPFLAGS'
13038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13041
13042 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13043 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13044 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13045 echo $ECHO_N "(cached) $ECHO_C" >&6
13046 else
13047 cat >conftest.$ac_ext <<_ACEOF
13048 /* confdefs.h. */
13049 _ACEOF
13050 cat confdefs.h >>conftest.$ac_ext
13051 cat >>conftest.$ac_ext <<_ACEOF
13052 /* end confdefs.h. */
13053
13054 int
13055 main ()
13056 {
13057 #ifndef __xlC__
13058 choke me
13059 #endif
13060
13061 ;
13062 return 0;
13063 }
13064 _ACEOF
13065 rm -f conftest.$ac_objext
13066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13067 (eval $ac_compile) 2>conftest.er1
13068 ac_status=$?
13069 grep -v '^ *+' conftest.er1 >conftest.err
13070 rm -f conftest.er1
13071 cat conftest.err >&5
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); } &&
13074 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13076 (eval $ac_try) 2>&5
13077 ac_status=$?
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); }; } &&
13080 { ac_try='test -s conftest.$ac_objext'
13081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13082 (eval $ac_try) 2>&5
13083 ac_status=$?
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); }; }; then
13086 bakefile_compiler_xlc=yes
13087 else
13088 echo "$as_me: failed program was:" >&5
13089 sed 's/^/| /' conftest.$ac_ext >&5
13090
13091 bakefile_compiler_xlc=no
13092 fi
13093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13094 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13095
13096 fi
13097 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13098 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13099
13100 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13101 ac_ext=c
13102 ac_cpp='$CPP $CPPFLAGS'
13103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13106
13107
13108 ;;
13109
13110 Darwin)
13111 ac_ext=c
13112 ac_cpp='$CPP $CPPFLAGS'
13113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13116
13117 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13118 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13119 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13120 echo $ECHO_N "(cached) $ECHO_C" >&6
13121 else
13122 cat >conftest.$ac_ext <<_ACEOF
13123 /* confdefs.h. */
13124 _ACEOF
13125 cat confdefs.h >>conftest.$ac_ext
13126 cat >>conftest.$ac_ext <<_ACEOF
13127 /* end confdefs.h. */
13128
13129 int
13130 main ()
13131 {
13132 #ifndef __MWERKS__
13133 choke me
13134 #endif
13135
13136 ;
13137 return 0;
13138 }
13139 _ACEOF
13140 rm -f conftest.$ac_objext
13141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13142 (eval $ac_compile) 2>conftest.er1
13143 ac_status=$?
13144 grep -v '^ *+' conftest.er1 >conftest.err
13145 rm -f conftest.er1
13146 cat conftest.err >&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); } &&
13149 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13152 ac_status=$?
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; } &&
13155 { ac_try='test -s conftest.$ac_objext'
13156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13157 (eval $ac_try) 2>&5
13158 ac_status=$?
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); }; }; then
13161 bakefile_compiler_mwerks=yes
13162 else
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.$ac_ext >&5
13165
13166 bakefile_compiler_mwerks=no
13167 fi
13168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13169 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13170
13171 fi
13172 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13173 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13174
13175 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13176 ac_ext=c
13177 ac_cpp='$CPP $CPPFLAGS'
13178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13181
13182
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 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13190 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13191 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 else
13194 cat >conftest.$ac_ext <<_ACEOF
13195 /* confdefs.h. */
13196 _ACEOF
13197 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200
13201 int
13202 main ()
13203 {
13204 #ifndef __xlC__
13205 choke me
13206 #endif
13207
13208 ;
13209 return 0;
13210 }
13211 _ACEOF
13212 rm -f conftest.$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13215 ac_status=$?
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13224 ac_status=$?
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 bakefile_compiler_xlc=yes
13234 else
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.$ac_ext >&5
13237
13238 bakefile_compiler_xlc=no
13239 fi
13240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13241 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13242
13243 fi
13244 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13245 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13246
13247 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13248 ac_ext=c
13249 ac_cpp='$CPP $CPPFLAGS'
13250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13253
13254
13255 ;;
13256
13257 IRIX*)
13258
13259
13260 ac_ext=c
13261 ac_cpp='$CPP $CPPFLAGS'
13262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13265
13266 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13267 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13268 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13270 else
13271 cat >conftest.$ac_ext <<_ACEOF
13272 /* confdefs.h. */
13273 _ACEOF
13274 cat confdefs.h >>conftest.$ac_ext
13275 cat >>conftest.$ac_ext <<_ACEOF
13276 /* end confdefs.h. */
13277
13278 int
13279 main ()
13280 {
13281
13282 #ifndef _SGI_COMPILER_VERSION
13283 choke me
13284 #endif
13285
13286 ;
13287 return 0;
13288 }
13289 _ACEOF
13290 rm -f conftest.$ac_objext
13291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13292 (eval $ac_compile) 2>conftest.er1
13293 ac_status=$?
13294 grep -v '^ *+' conftest.er1 >conftest.err
13295 rm -f conftest.er1
13296 cat conftest.err >&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); } &&
13299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13302 ac_status=$?
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; } &&
13305 { ac_try='test -s conftest.$ac_objext'
13306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13307 (eval $ac_try) 2>&5
13308 ac_status=$?
13309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); }; }; then
13311 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13312 else
13313 echo "$as_me: failed program was:" >&5
13314 sed 's/^/| /' conftest.$ac_ext >&5
13315
13316 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13317
13318 fi
13319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13320
13321
13322 fi
13323 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13324 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13325 ac_ext=c
13326 ac_cpp='$CPP $CPPFLAGS'
13327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13330
13331 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13332 :; SGICC=yes
13333 else
13334 :;
13335 fi
13336
13337
13338 ;;
13339
13340 HP-UX*)
13341
13342
13343 ac_ext=c
13344 ac_cpp='$CPP $CPPFLAGS'
13345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13348
13349 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13350 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13351 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13352 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 else
13354 cat >conftest.$ac_ext <<_ACEOF
13355 /* confdefs.h. */
13356 _ACEOF
13357 cat confdefs.h >>conftest.$ac_ext
13358 cat >>conftest.$ac_ext <<_ACEOF
13359 /* end confdefs.h. */
13360
13361 int
13362 main ()
13363 {
13364
13365 #ifndef __HP_cc
13366 choke me
13367 #endif
13368
13369 ;
13370 return 0;
13371 }
13372 _ACEOF
13373 rm -f conftest.$ac_objext
13374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13375 (eval $ac_compile) 2>conftest.er1
13376 ac_status=$?
13377 grep -v '^ *+' conftest.er1 >conftest.err
13378 rm -f conftest.er1
13379 cat conftest.err >&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); } &&
13382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13385 ac_status=$?
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; } &&
13388 { ac_try='test -s conftest.$ac_objext'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13391 ac_status=$?
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; }; then
13394 bakefile_cv_c_compiler___HP_cc=yes
13395 else
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.$ac_ext >&5
13398
13399 bakefile_cv_c_compiler___HP_cc=no
13400
13401 fi
13402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13403
13404
13405 fi
13406 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13407 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13408 ac_ext=c
13409 ac_cpp='$CPP $CPPFLAGS'
13410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13413
13414 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13415 :; HPCC=yes
13416 else
13417 :;
13418 fi
13419
13420
13421 ;;
13422
13423 OSF1)
13424
13425
13426 ac_ext=c
13427 ac_cpp='$CPP $CPPFLAGS'
13428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13431
13432 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13433 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13434 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13435 echo $ECHO_N "(cached) $ECHO_C" >&6
13436 else
13437 cat >conftest.$ac_ext <<_ACEOF
13438 /* confdefs.h. */
13439 _ACEOF
13440 cat confdefs.h >>conftest.$ac_ext
13441 cat >>conftest.$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13443
13444 int
13445 main ()
13446 {
13447
13448 #ifndef __DECC
13449 choke me
13450 #endif
13451
13452 ;
13453 return 0;
13454 }
13455 _ACEOF
13456 rm -f conftest.$ac_objext
13457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13458 (eval $ac_compile) 2>conftest.er1
13459 ac_status=$?
13460 grep -v '^ *+' conftest.er1 >conftest.err
13461 rm -f conftest.er1
13462 cat conftest.err >&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); } &&
13465 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13468 ac_status=$?
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; } &&
13471 { ac_try='test -s conftest.$ac_objext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13474 ac_status=$?
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13477 bakefile_cv_c_compiler___DECC=yes
13478 else
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13481
13482 bakefile_cv_c_compiler___DECC=no
13483
13484 fi
13485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13486
13487
13488 fi
13489 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13490 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13491 ac_ext=c
13492 ac_cpp='$CPP $CPPFLAGS'
13493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13496
13497 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13498 :; COMPAQCC=yes
13499 else
13500 :;
13501 fi
13502
13503
13504 ;;
13505
13506 SunOS)
13507
13508
13509 ac_ext=c
13510 ac_cpp='$CPP $CPPFLAGS'
13511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13514
13515 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13516 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13517 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13518 echo $ECHO_N "(cached) $ECHO_C" >&6
13519 else
13520 cat >conftest.$ac_ext <<_ACEOF
13521 /* confdefs.h. */
13522 _ACEOF
13523 cat confdefs.h >>conftest.$ac_ext
13524 cat >>conftest.$ac_ext <<_ACEOF
13525 /* end confdefs.h. */
13526
13527 int
13528 main ()
13529 {
13530
13531 #ifndef __SUNPRO_C
13532 choke me
13533 #endif
13534
13535 ;
13536 return 0;
13537 }
13538 _ACEOF
13539 rm -f conftest.$ac_objext
13540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13541 (eval $ac_compile) 2>conftest.er1
13542 ac_status=$?
13543 grep -v '^ *+' conftest.er1 >conftest.err
13544 rm -f conftest.er1
13545 cat conftest.err >&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } &&
13548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13551 ac_status=$?
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; } &&
13554 { ac_try='test -s conftest.$ac_objext'
13555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 (eval $ac_try) 2>&5
13557 ac_status=$?
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); }; }; then
13560 bakefile_cv_c_compiler___SUNPRO_C=yes
13561 else
13562 echo "$as_me: failed program was:" >&5
13563 sed 's/^/| /' conftest.$ac_ext >&5
13564
13565 bakefile_cv_c_compiler___SUNPRO_C=no
13566
13567 fi
13568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13569
13570
13571 fi
13572 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13573 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13574 ac_ext=c
13575 ac_cpp='$CPP $CPPFLAGS'
13576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13579
13580 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13581 :; SUNCC=yes
13582 else
13583 :;
13584 fi
13585
13586
13587 ;;
13588 esac
13589 fi
13590
13591
13592
13593 ac_ext=c
13594 ac_cpp='$CPP $CPPFLAGS'
13595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13598 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13599 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13600 # On Suns, sometimes $CPP names a directory.
13601 if test -n "$CPP" && test -d "$CPP"; then
13602 CPP=
13603 fi
13604 if test -z "$CPP"; then
13605 if test "${ac_cv_prog_CPP+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 else
13608 # Double quotes because CPP needs to be expanded
13609 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13610 do
13611 ac_preproc_ok=false
13612 for ac_c_preproc_warn_flag in '' yes
13613 do
13614 # Use a header file that comes with gcc, so configuring glibc
13615 # with a fresh cross-compiler works.
13616 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13617 # <limits.h> exists even on freestanding compilers.
13618 # On the NeXT, cc -E runs the code through the compiler's parser,
13619 # not just through cpp. "Syntax error" is here to catch this case.
13620 cat >conftest.$ac_ext <<_ACEOF
13621 /* confdefs.h. */
13622 _ACEOF
13623 cat confdefs.h >>conftest.$ac_ext
13624 cat >>conftest.$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13626 #ifdef __STDC__
13627 # include <limits.h>
13628 #else
13629 # include <assert.h>
13630 #endif
13631 Syntax error
13632 _ACEOF
13633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13635 ac_status=$?
13636 grep -v '^ *+' conftest.er1 >conftest.err
13637 rm -f conftest.er1
13638 cat conftest.err >&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } >/dev/null; then
13641 if test -s conftest.err; then
13642 ac_cpp_err=$ac_c_preproc_warn_flag
13643 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13644 else
13645 ac_cpp_err=
13646 fi
13647 else
13648 ac_cpp_err=yes
13649 fi
13650 if test -z "$ac_cpp_err"; then
13651 :
13652 else
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.$ac_ext >&5
13655
13656 # Broken: fails on valid input.
13657 continue
13658 fi
13659 rm -f conftest.err conftest.$ac_ext
13660
13661 # OK, works on sane cases. Now check whether non-existent headers
13662 # can be detected and how.
13663 cat >conftest.$ac_ext <<_ACEOF
13664 /* confdefs.h. */
13665 _ACEOF
13666 cat confdefs.h >>conftest.$ac_ext
13667 cat >>conftest.$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13669 #include <ac_nonexistent.h>
13670 _ACEOF
13671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13673 ac_status=$?
13674 grep -v '^ *+' conftest.er1 >conftest.err
13675 rm -f conftest.er1
13676 cat conftest.err >&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); } >/dev/null; then
13679 if test -s conftest.err; then
13680 ac_cpp_err=$ac_c_preproc_warn_flag
13681 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13682 else
13683 ac_cpp_err=
13684 fi
13685 else
13686 ac_cpp_err=yes
13687 fi
13688 if test -z "$ac_cpp_err"; then
13689 # Broken: success on invalid input.
13690 continue
13691 else
13692 echo "$as_me: failed program was:" >&5
13693 sed 's/^/| /' conftest.$ac_ext >&5
13694
13695 # Passes both tests.
13696 ac_preproc_ok=:
13697 break
13698 fi
13699 rm -f conftest.err conftest.$ac_ext
13700
13701 done
13702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13703 rm -f conftest.err conftest.$ac_ext
13704 if $ac_preproc_ok; then
13705 break
13706 fi
13707
13708 done
13709 ac_cv_prog_CPP=$CPP
13710
13711 fi
13712 CPP=$ac_cv_prog_CPP
13713 else
13714 ac_cv_prog_CPP=$CPP
13715 fi
13716 echo "$as_me:$LINENO: result: $CPP" >&5
13717 echo "${ECHO_T}$CPP" >&6
13718 ac_preproc_ok=false
13719 for ac_c_preproc_warn_flag in '' yes
13720 do
13721 # Use a header file that comes with gcc, so configuring glibc
13722 # with a fresh cross-compiler works.
13723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13724 # <limits.h> exists even on freestanding compilers.
13725 # On the NeXT, cc -E runs the code through the compiler's parser,
13726 # not just through cpp. "Syntax error" is here to catch this case.
13727 cat >conftest.$ac_ext <<_ACEOF
13728 /* confdefs.h. */
13729 _ACEOF
13730 cat confdefs.h >>conftest.$ac_ext
13731 cat >>conftest.$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13733 #ifdef __STDC__
13734 # include <limits.h>
13735 #else
13736 # include <assert.h>
13737 #endif
13738 Syntax error
13739 _ACEOF
13740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13741 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13742 ac_status=$?
13743 grep -v '^ *+' conftest.er1 >conftest.err
13744 rm -f conftest.er1
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } >/dev/null; then
13748 if test -s conftest.err; then
13749 ac_cpp_err=$ac_c_preproc_warn_flag
13750 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13751 else
13752 ac_cpp_err=
13753 fi
13754 else
13755 ac_cpp_err=yes
13756 fi
13757 if test -z "$ac_cpp_err"; then
13758 :
13759 else
13760 echo "$as_me: failed program was:" >&5
13761 sed 's/^/| /' conftest.$ac_ext >&5
13762
13763 # Broken: fails on valid input.
13764 continue
13765 fi
13766 rm -f conftest.err conftest.$ac_ext
13767
13768 # OK, works on sane cases. Now check whether non-existent headers
13769 # can be detected and how.
13770 cat >conftest.$ac_ext <<_ACEOF
13771 /* confdefs.h. */
13772 _ACEOF
13773 cat confdefs.h >>conftest.$ac_ext
13774 cat >>conftest.$ac_ext <<_ACEOF
13775 /* end confdefs.h. */
13776 #include <ac_nonexistent.h>
13777 _ACEOF
13778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13780 ac_status=$?
13781 grep -v '^ *+' conftest.er1 >conftest.err
13782 rm -f conftest.er1
13783 cat conftest.err >&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); } >/dev/null; then
13786 if test -s conftest.err; then
13787 ac_cpp_err=$ac_c_preproc_warn_flag
13788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13789 else
13790 ac_cpp_err=
13791 fi
13792 else
13793 ac_cpp_err=yes
13794 fi
13795 if test -z "$ac_cpp_err"; then
13796 # Broken: success on invalid input.
13797 continue
13798 else
13799 echo "$as_me: failed program was:" >&5
13800 sed 's/^/| /' conftest.$ac_ext >&5
13801
13802 # Passes both tests.
13803 ac_preproc_ok=:
13804 break
13805 fi
13806 rm -f conftest.err conftest.$ac_ext
13807
13808 done
13809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13810 rm -f conftest.err conftest.$ac_ext
13811 if $ac_preproc_ok; then
13812 :
13813 else
13814 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13815 See \`config.log' for more details." >&5
13816 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13817 See \`config.log' for more details." >&2;}
13818 { (exit 1); exit 1; }; }
13819 fi
13820
13821 ac_ext=c
13822 ac_cpp='$CPP $CPPFLAGS'
13823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13826
13827
13828 echo "$as_me:$LINENO: checking for egrep" >&5
13829 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13830 if test "${ac_cv_prog_egrep+set}" = set; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 else
13833 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13834 then ac_cv_prog_egrep='grep -E'
13835 else ac_cv_prog_egrep='egrep'
13836 fi
13837 fi
13838 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13839 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13840 EGREP=$ac_cv_prog_egrep
13841
13842
13843 if test $ac_cv_c_compiler_gnu = yes; then
13844 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13845 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13846 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13847 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 else
13849 ac_pattern="Autoconf.*'x'"
13850 cat >conftest.$ac_ext <<_ACEOF
13851 /* confdefs.h. */
13852 _ACEOF
13853 cat confdefs.h >>conftest.$ac_ext
13854 cat >>conftest.$ac_ext <<_ACEOF
13855 /* end confdefs.h. */
13856 #include <sgtty.h>
13857 Autoconf TIOCGETP
13858 _ACEOF
13859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13860 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13861 ac_cv_prog_gcc_traditional=yes
13862 else
13863 ac_cv_prog_gcc_traditional=no
13864 fi
13865 rm -f conftest*
13866
13867
13868 if test $ac_cv_prog_gcc_traditional = no; then
13869 cat >conftest.$ac_ext <<_ACEOF
13870 /* confdefs.h. */
13871 _ACEOF
13872 cat confdefs.h >>conftest.$ac_ext
13873 cat >>conftest.$ac_ext <<_ACEOF
13874 /* end confdefs.h. */
13875 #include <termio.h>
13876 Autoconf TCGETA
13877 _ACEOF
13878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13879 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13880 ac_cv_prog_gcc_traditional=yes
13881 fi
13882 rm -f conftest*
13883
13884 fi
13885 fi
13886 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13887 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13888 if test $ac_cv_prog_gcc_traditional = yes; then
13889 CC="$CC -traditional"
13890 fi
13891 fi
13892
13893
13894 ac_ext=cc
13895 ac_cpp='$CXXCPP $CPPFLAGS'
13896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13899
13900
13901 CXXFLAGS=${CXXFLAGS:=}
13902
13903
13904
13905 ac_ext=cc
13906 ac_cpp='$CXXCPP $CPPFLAGS'
13907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13910 if test -n "$ac_tool_prefix"; then
13911 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13912 do
13913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13915 echo "$as_me:$LINENO: checking for $ac_word" >&5
13916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13917 if test "${ac_cv_prog_CXX+set}" = set; then
13918 echo $ECHO_N "(cached) $ECHO_C" >&6
13919 else
13920 if test -n "$CXX"; then
13921 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13922 else
13923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13924 for as_dir in $PATH
13925 do
13926 IFS=$as_save_IFS
13927 test -z "$as_dir" && as_dir=.
13928 for ac_exec_ext in '' $ac_executable_extensions; do
13929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13930 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13932 break 2
13933 fi
13934 done
13935 done
13936
13937 fi
13938 fi
13939 CXX=$ac_cv_prog_CXX
13940 if test -n "$CXX"; then
13941 echo "$as_me:$LINENO: result: $CXX" >&5
13942 echo "${ECHO_T}$CXX" >&6
13943 else
13944 echo "$as_me:$LINENO: result: no" >&5
13945 echo "${ECHO_T}no" >&6
13946 fi
13947
13948 test -n "$CXX" && break
13949 done
13950 fi
13951 if test -z "$CXX"; then
13952 ac_ct_CXX=$CXX
13953 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13954 do
13955 # Extract the first word of "$ac_prog", so it can be a program name with args.
13956 set dummy $ac_prog; ac_word=$2
13957 echo "$as_me:$LINENO: checking for $ac_word" >&5
13958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13959 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13960 echo $ECHO_N "(cached) $ECHO_C" >&6
13961 else
13962 if test -n "$ac_ct_CXX"; then
13963 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13964 else
13965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13966 for as_dir in $PATH
13967 do
13968 IFS=$as_save_IFS
13969 test -z "$as_dir" && as_dir=.
13970 for ac_exec_ext in '' $ac_executable_extensions; do
13971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13972 ac_cv_prog_ac_ct_CXX="$ac_prog"
13973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13974 break 2
13975 fi
13976 done
13977 done
13978
13979 fi
13980 fi
13981 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13982 if test -n "$ac_ct_CXX"; then
13983 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13984 echo "${ECHO_T}$ac_ct_CXX" >&6
13985 else
13986 echo "$as_me:$LINENO: result: no" >&5
13987 echo "${ECHO_T}no" >&6
13988 fi
13989
13990 test -n "$ac_ct_CXX" && break
13991 done
13992 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13993
13994 CXX=$ac_ct_CXX
13995 fi
13996
13997
13998 # Provide some information about the compiler.
13999 echo "$as_me:$LINENO:" \
14000 "checking for C++ compiler version" >&5
14001 ac_compiler=`set X $ac_compile; echo $2`
14002 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14003 (eval $ac_compiler --version </dev/null >&5) 2>&5
14004 ac_status=$?
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }
14007 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14008 (eval $ac_compiler -v </dev/null >&5) 2>&5
14009 ac_status=$?
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); }
14012 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14013 (eval $ac_compiler -V </dev/null >&5) 2>&5
14014 ac_status=$?
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }
14017
14018 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14019 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14020 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14021 echo $ECHO_N "(cached) $ECHO_C" >&6
14022 else
14023 cat >conftest.$ac_ext <<_ACEOF
14024 /* confdefs.h. */
14025 _ACEOF
14026 cat confdefs.h >>conftest.$ac_ext
14027 cat >>conftest.$ac_ext <<_ACEOF
14028 /* end confdefs.h. */
14029
14030 int
14031 main ()
14032 {
14033 #ifndef __GNUC__
14034 choke me
14035 #endif
14036
14037 ;
14038 return 0;
14039 }
14040 _ACEOF
14041 rm -f conftest.$ac_objext
14042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14043 (eval $ac_compile) 2>conftest.er1
14044 ac_status=$?
14045 grep -v '^ *+' conftest.er1 >conftest.err
14046 rm -f conftest.er1
14047 cat conftest.err >&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); } &&
14050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 (eval $ac_try) 2>&5
14053 ac_status=$?
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; } &&
14056 { ac_try='test -s conftest.$ac_objext'
14057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14058 (eval $ac_try) 2>&5
14059 ac_status=$?
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); }; }; then
14062 ac_compiler_gnu=yes
14063 else
14064 echo "$as_me: failed program was:" >&5
14065 sed 's/^/| /' conftest.$ac_ext >&5
14066
14067 ac_compiler_gnu=no
14068 fi
14069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14070 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14071
14072 fi
14073 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14074 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14075 GXX=`test $ac_compiler_gnu = yes && echo yes`
14076 ac_test_CXXFLAGS=${CXXFLAGS+set}
14077 ac_save_CXXFLAGS=$CXXFLAGS
14078 CXXFLAGS="-g"
14079 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14080 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14081 if test "${ac_cv_prog_cxx_g+set}" = set; then
14082 echo $ECHO_N "(cached) $ECHO_C" >&6
14083 else
14084 cat >conftest.$ac_ext <<_ACEOF
14085 /* confdefs.h. */
14086 _ACEOF
14087 cat confdefs.h >>conftest.$ac_ext
14088 cat >>conftest.$ac_ext <<_ACEOF
14089 /* end confdefs.h. */
14090
14091 int
14092 main ()
14093 {
14094
14095 ;
14096 return 0;
14097 }
14098 _ACEOF
14099 rm -f conftest.$ac_objext
14100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14101 (eval $ac_compile) 2>conftest.er1
14102 ac_status=$?
14103 grep -v '^ *+' conftest.er1 >conftest.err
14104 rm -f conftest.er1
14105 cat conftest.err >&5
14106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 (exit $ac_status); } &&
14108 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14110 (eval $ac_try) 2>&5
14111 ac_status=$?
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); }; } &&
14114 { ac_try='test -s conftest.$ac_objext'
14115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14116 (eval $ac_try) 2>&5
14117 ac_status=$?
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); }; }; then
14120 ac_cv_prog_cxx_g=yes
14121 else
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.$ac_ext >&5
14124
14125 ac_cv_prog_cxx_g=no
14126 fi
14127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14128 fi
14129 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14130 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14131 if test "$ac_test_CXXFLAGS" = set; then
14132 CXXFLAGS=$ac_save_CXXFLAGS
14133 elif test $ac_cv_prog_cxx_g = yes; then
14134 if test "$GXX" = yes; then
14135 CXXFLAGS="-g -O2"
14136 else
14137 CXXFLAGS="-g"
14138 fi
14139 else
14140 if test "$GXX" = yes; then
14141 CXXFLAGS="-O2"
14142 else
14143 CXXFLAGS=
14144 fi
14145 fi
14146 for ac_declaration in \
14147 '' \
14148 'extern "C" void std::exit (int) throw (); using std::exit;' \
14149 'extern "C" void std::exit (int); using std::exit;' \
14150 'extern "C" void exit (int) throw ();' \
14151 'extern "C" void exit (int);' \
14152 'void exit (int);'
14153 do
14154 cat >conftest.$ac_ext <<_ACEOF
14155 /* confdefs.h. */
14156 _ACEOF
14157 cat confdefs.h >>conftest.$ac_ext
14158 cat >>conftest.$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14160 $ac_declaration
14161 #include <stdlib.h>
14162 int
14163 main ()
14164 {
14165 exit (42);
14166 ;
14167 return 0;
14168 }
14169 _ACEOF
14170 rm -f conftest.$ac_objext
14171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>conftest.er1
14173 ac_status=$?
14174 grep -v '^ *+' conftest.er1 >conftest.err
14175 rm -f conftest.er1
14176 cat conftest.err >&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14182 ac_status=$?
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try='test -s conftest.$ac_objext'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14188 ac_status=$?
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14191 :
14192 else
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.$ac_ext >&5
14195
14196 continue
14197 fi
14198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14199 cat >conftest.$ac_ext <<_ACEOF
14200 /* confdefs.h. */
14201 _ACEOF
14202 cat confdefs.h >>conftest.$ac_ext
14203 cat >>conftest.$ac_ext <<_ACEOF
14204 /* end confdefs.h. */
14205 $ac_declaration
14206 int
14207 main ()
14208 {
14209 exit (42);
14210 ;
14211 return 0;
14212 }
14213 _ACEOF
14214 rm -f conftest.$ac_objext
14215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14216 (eval $ac_compile) 2>conftest.er1
14217 ac_status=$?
14218 grep -v '^ *+' conftest.er1 >conftest.err
14219 rm -f conftest.er1
14220 cat conftest.err >&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); } &&
14223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14226 ac_status=$?
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); }; } &&
14229 { ac_try='test -s conftest.$ac_objext'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14232 ac_status=$?
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; }; then
14235 break
14236 else
14237 echo "$as_me: failed program was:" >&5
14238 sed 's/^/| /' conftest.$ac_ext >&5
14239
14240 fi
14241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14242 done
14243 rm -f conftest*
14244 if test -n "$ac_declaration"; then
14245 echo '#ifdef __cplusplus' >>confdefs.h
14246 echo $ac_declaration >>confdefs.h
14247 echo '#endif' >>confdefs.h
14248 fi
14249
14250 ac_ext=cc
14251 ac_cpp='$CXXCPP $CPPFLAGS'
14252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14255
14256
14257
14258 ac_ext=cc
14259 ac_cpp='$CXXCPP $CPPFLAGS'
14260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14263
14264 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14265 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14266 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14267 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 else
14269 cat >conftest.$ac_ext <<_ACEOF
14270 /* confdefs.h. */
14271 _ACEOF
14272 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14275
14276 int
14277 main ()
14278 {
14279
14280 #ifndef __INTEL_COMPILER
14281 choke me
14282 #endif
14283
14284 ;
14285 return 0;
14286 }
14287 _ACEOF
14288 rm -f conftest.$ac_objext
14289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14290 (eval $ac_compile) 2>conftest.er1
14291 ac_status=$?
14292 grep -v '^ *+' conftest.er1 >conftest.err
14293 rm -f conftest.er1
14294 cat conftest.err >&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } &&
14297 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14299 (eval $ac_try) 2>&5
14300 ac_status=$?
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; } &&
14303 { ac_try='test -s conftest.$ac_objext'
14304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14305 (eval $ac_try) 2>&5
14306 ac_status=$?
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); }; }; then
14309 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14310 else
14311 echo "$as_me: failed program was:" >&5
14312 sed 's/^/| /' conftest.$ac_ext >&5
14313
14314 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14315
14316 fi
14317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14318
14319
14320 fi
14321 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14322 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14323 ac_ext=cc
14324 ac_cpp='$CXXCPP $CPPFLAGS'
14325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14328
14329 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14330 :; INTELCXX=yes
14331 else
14332 :;
14333 fi
14334
14335
14336 if test "x$GCXX" != "xyes"; then
14337 if test "xCXX" = "xC"; then
14338 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14339 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14340 if test "${bakefile_cv_cxx_exto+set}" = set; then
14341 echo $ECHO_N "(cached) $ECHO_C" >&6
14342 else
14343 cat >conftest.$ac_ext <<_ACEOF
14344 /* confdefs.h. */
14345 _ACEOF
14346 cat confdefs.h >>conftest.$ac_ext
14347 cat >>conftest.$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349
14350 int
14351 main ()
14352 {
14353
14354 ;
14355 return 0;
14356 }
14357 _ACEOF
14358 rm -f conftest.$ac_objext conftest.$ac_ext.o
14359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14360 (eval $ac_compile) 2>&5
14361 ac_status=$?
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; then
14364 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14365 case $ac_file in
14366 conftest.$ac_ext.o)
14367 bakefile_cv_cxx_exto="-ext o"
14368 ;;
14369 *)
14370 ;;
14371 esac
14372 done
14373 else
14374 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14375 See \`config.log' for more details." >&5
14376 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14377 See \`config.log' for more details." >&2;}
14378 { (exit 1); exit 1; }; }
14379
14380 fi
14381
14382 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14383
14384 fi
14385 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14386 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14387 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14388 if test "cxx" = "c"; then
14389 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14390 fi
14391 if test "cxx" = "cxx"; then
14392 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14393 fi
14394 fi
14395
14396 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14397 unset ac_cv_prog_cc_g
14398 ac_test_CFLAGS=${CFLAGS+set}
14399 ac_save_CFLAGS=$CFLAGS
14400 CFLAGS="-g"
14401 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14402 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14403 if test "${ac_cv_prog_cc_g+set}" = set; then
14404 echo $ECHO_N "(cached) $ECHO_C" >&6
14405 else
14406 cat >conftest.$ac_ext <<_ACEOF
14407 /* confdefs.h. */
14408 _ACEOF
14409 cat confdefs.h >>conftest.$ac_ext
14410 cat >>conftest.$ac_ext <<_ACEOF
14411 /* end confdefs.h. */
14412
14413 int
14414 main ()
14415 {
14416
14417 ;
14418 return 0;
14419 }
14420 _ACEOF
14421 rm -f conftest.$ac_objext
14422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14423 (eval $ac_compile) 2>conftest.er1
14424 ac_status=$?
14425 grep -v '^ *+' conftest.er1 >conftest.err
14426 rm -f conftest.er1
14427 cat conftest.err >&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14433 ac_status=$?
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; } &&
14436 { ac_try='test -s conftest.$ac_objext'
14437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14438 (eval $ac_try) 2>&5
14439 ac_status=$?
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); }; }; then
14442 ac_cv_prog_cc_g=yes
14443 else
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5
14446
14447 ac_cv_prog_cc_g=no
14448 fi
14449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14450 fi
14451 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14452 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14453 if test "$ac_test_CFLAGS" = set; then
14454 CFLAGS=$ac_save_CFLAGS
14455 elif test $ac_cv_prog_cc_g = yes; then
14456 if test "$GCC" = yes; then
14457 CFLAGS="-g -O2"
14458 else
14459 CFLAGS="-g"
14460 fi
14461 else
14462 if test "$GCC" = yes; then
14463 CFLAGS="-O2"
14464 else
14465 CFLAGS=
14466 fi
14467 fi
14468 fi
14469 fi
14470
14471 case `uname -s` in
14472 AIX*)
14473 ac_ext=cc
14474 ac_cpp='$CXXCPP $CPPFLAGS'
14475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14478
14479 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14480 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14481 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14483 else
14484 cat >conftest.$ac_ext <<_ACEOF
14485 /* confdefs.h. */
14486 _ACEOF
14487 cat confdefs.h >>conftest.$ac_ext
14488 cat >>conftest.$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14490
14491 int
14492 main ()
14493 {
14494 #ifndef __xlC__
14495 choke me
14496 #endif
14497
14498 ;
14499 return 0;
14500 }
14501 _ACEOF
14502 rm -f conftest.$ac_objext
14503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14504 (eval $ac_compile) 2>conftest.er1
14505 ac_status=$?
14506 grep -v '^ *+' conftest.er1 >conftest.err
14507 rm -f conftest.er1
14508 cat conftest.err >&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); } &&
14511 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14513 (eval $ac_try) 2>&5
14514 ac_status=$?
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; } &&
14517 { ac_try='test -s conftest.$ac_objext'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14520 ac_status=$?
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; }; then
14523 bakefile_compiler_xlc=yes
14524 else
14525 echo "$as_me: failed program was:" >&5
14526 sed 's/^/| /' conftest.$ac_ext >&5
14527
14528 bakefile_compiler_xlc=no
14529 fi
14530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14531 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14532
14533 fi
14534 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14535 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14536
14537 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14538 ac_ext=cc
14539 ac_cpp='$CXXCPP $CPPFLAGS'
14540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14543
14544
14545 ;;
14546
14547 Darwin)
14548 ac_ext=cc
14549 ac_cpp='$CXXCPP $CPPFLAGS'
14550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14553
14554 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14555 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14556 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14557 echo $ECHO_N "(cached) $ECHO_C" >&6
14558 else
14559 cat >conftest.$ac_ext <<_ACEOF
14560 /* confdefs.h. */
14561 _ACEOF
14562 cat confdefs.h >>conftest.$ac_ext
14563 cat >>conftest.$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14565
14566 int
14567 main ()
14568 {
14569 #ifndef __MWERKS__
14570 choke me
14571 #endif
14572
14573 ;
14574 return 0;
14575 }
14576 _ACEOF
14577 rm -f conftest.$ac_objext
14578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14579 (eval $ac_compile) 2>conftest.er1
14580 ac_status=$?
14581 grep -v '^ *+' conftest.er1 >conftest.err
14582 rm -f conftest.er1
14583 cat conftest.err >&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } &&
14586 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
14592 { ac_try='test -s conftest.$ac_objext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14598 bakefile_compiler_mwerks=yes
14599 else
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.$ac_ext >&5
14602
14603 bakefile_compiler_mwerks=no
14604 fi
14605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14606 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14607
14608 fi
14609 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14610 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14611
14612 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14613 ac_ext=cc
14614 ac_cpp='$CXXCPP $CPPFLAGS'
14615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14618
14619
14620 ac_ext=cc
14621 ac_cpp='$CXXCPP $CPPFLAGS'
14622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14625
14626 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14627 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14628 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14630 else
14631 cat >conftest.$ac_ext <<_ACEOF
14632 /* confdefs.h. */
14633 _ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14637
14638 int
14639 main ()
14640 {
14641 #ifndef __xlC__
14642 choke me
14643 #endif
14644
14645 ;
14646 return 0;
14647 }
14648 _ACEOF
14649 rm -f conftest.$ac_objext
14650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14651 (eval $ac_compile) 2>conftest.er1
14652 ac_status=$?
14653 grep -v '^ *+' conftest.er1 >conftest.err
14654 rm -f conftest.er1
14655 cat conftest.err >&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; } &&
14664 { ac_try='test -s conftest.$ac_objext'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14667 ac_status=$?
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; }; then
14670 bakefile_compiler_xlc=yes
14671 else
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.$ac_ext >&5
14674
14675 bakefile_compiler_xlc=no
14676 fi
14677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14678 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14679
14680 fi
14681 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14682 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14683
14684 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14685 ac_ext=cc
14686 ac_cpp='$CXXCPP $CPPFLAGS'
14687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14690
14691
14692 ;;
14693
14694 IRIX*)
14695
14696
14697 ac_ext=cc
14698 ac_cpp='$CXXCPP $CPPFLAGS'
14699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14702
14703 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14704 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14705 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14706 echo $ECHO_N "(cached) $ECHO_C" >&6
14707 else
14708 cat >conftest.$ac_ext <<_ACEOF
14709 /* confdefs.h. */
14710 _ACEOF
14711 cat confdefs.h >>conftest.$ac_ext
14712 cat >>conftest.$ac_ext <<_ACEOF
14713 /* end confdefs.h. */
14714
14715 int
14716 main ()
14717 {
14718
14719 #ifndef _SGI_COMPILER_VERSION
14720 choke me
14721 #endif
14722
14723 ;
14724 return 0;
14725 }
14726 _ACEOF
14727 rm -f conftest.$ac_objext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14729 (eval $ac_compile) 2>conftest.er1
14730 ac_status=$?
14731 grep -v '^ *+' conftest.er1 >conftest.err
14732 rm -f conftest.er1
14733 cat conftest.err >&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14739 ac_status=$?
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; } &&
14742 { ac_try='test -s conftest.$ac_objext'
14743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14744 (eval $ac_try) 2>&5
14745 ac_status=$?
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; }; then
14748 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14749 else
14750 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.$ac_ext >&5
14752
14753 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14754
14755 fi
14756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14757
14758
14759 fi
14760 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14761 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14762 ac_ext=cc
14763 ac_cpp='$CXXCPP $CPPFLAGS'
14764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14767
14768 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14769 :; SGICXX=yes
14770 else
14771 :;
14772 fi
14773
14774
14775 ;;
14776
14777 HP-UX*)
14778
14779
14780 ac_ext=cc
14781 ac_cpp='$CXXCPP $CPPFLAGS'
14782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14785
14786 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14787 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14788 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14789 echo $ECHO_N "(cached) $ECHO_C" >&6
14790 else
14791 cat >conftest.$ac_ext <<_ACEOF
14792 /* confdefs.h. */
14793 _ACEOF
14794 cat confdefs.h >>conftest.$ac_ext
14795 cat >>conftest.$ac_ext <<_ACEOF
14796 /* end confdefs.h. */
14797
14798 int
14799 main ()
14800 {
14801
14802 #ifndef __HP_aCC
14803 choke me
14804 #endif
14805
14806 ;
14807 return 0;
14808 }
14809 _ACEOF
14810 rm -f conftest.$ac_objext
14811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14812 (eval $ac_compile) 2>conftest.er1
14813 ac_status=$?
14814 grep -v '^ *+' conftest.er1 >conftest.err
14815 rm -f conftest.er1
14816 cat conftest.err >&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } &&
14819 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14822 ac_status=$?
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; } &&
14825 { ac_try='test -s conftest.$ac_objext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14828 ac_status=$?
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 bakefile_cv_cxx_compiler___HP_aCC=yes
14832 else
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14835
14836 bakefile_cv_cxx_compiler___HP_aCC=no
14837
14838 fi
14839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14840
14841
14842 fi
14843 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14844 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14845 ac_ext=cc
14846 ac_cpp='$CXXCPP $CPPFLAGS'
14847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14850
14851 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14852 :; HPCXX=yes
14853 else
14854 :;
14855 fi
14856
14857
14858 ;;
14859
14860 OSF1)
14861
14862
14863 ac_ext=cc
14864 ac_cpp='$CXXCPP $CPPFLAGS'
14865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14868
14869 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14870 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14871 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14873 else
14874 cat >conftest.$ac_ext <<_ACEOF
14875 /* confdefs.h. */
14876 _ACEOF
14877 cat confdefs.h >>conftest.$ac_ext
14878 cat >>conftest.$ac_ext <<_ACEOF
14879 /* end confdefs.h. */
14880
14881 int
14882 main ()
14883 {
14884
14885 #ifndef __DECCXX
14886 choke me
14887 #endif
14888
14889 ;
14890 return 0;
14891 }
14892 _ACEOF
14893 rm -f conftest.$ac_objext
14894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14895 (eval $ac_compile) 2>conftest.er1
14896 ac_status=$?
14897 grep -v '^ *+' conftest.er1 >conftest.err
14898 rm -f conftest.er1
14899 cat conftest.err >&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } &&
14902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14904 (eval $ac_try) 2>&5
14905 ac_status=$?
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); }; } &&
14908 { ac_try='test -s conftest.$ac_objext'
14909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14910 (eval $ac_try) 2>&5
14911 ac_status=$?
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }; }; then
14914 bakefile_cv_cxx_compiler___DECCXX=yes
14915 else
14916 echo "$as_me: failed program was:" >&5
14917 sed 's/^/| /' conftest.$ac_ext >&5
14918
14919 bakefile_cv_cxx_compiler___DECCXX=no
14920
14921 fi
14922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14923
14924
14925 fi
14926 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14927 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14928 ac_ext=cc
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14933
14934 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14935 :; COMPAQCXX=yes
14936 else
14937 :;
14938 fi
14939
14940
14941 ;;
14942
14943 SunOS)
14944
14945
14946 ac_ext=cc
14947 ac_cpp='$CXXCPP $CPPFLAGS'
14948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14951
14952 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14953 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14954 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14955 echo $ECHO_N "(cached) $ECHO_C" >&6
14956 else
14957 cat >conftest.$ac_ext <<_ACEOF
14958 /* confdefs.h. */
14959 _ACEOF
14960 cat confdefs.h >>conftest.$ac_ext
14961 cat >>conftest.$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14963
14964 int
14965 main ()
14966 {
14967
14968 #ifndef __SUNPRO_CC
14969 choke me
14970 #endif
14971
14972 ;
14973 return 0;
14974 }
14975 _ACEOF
14976 rm -f conftest.$ac_objext
14977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14978 (eval $ac_compile) 2>conftest.er1
14979 ac_status=$?
14980 grep -v '^ *+' conftest.er1 >conftest.err
14981 rm -f conftest.er1
14982 cat conftest.err >&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } &&
14985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14987 (eval $ac_try) 2>&5
14988 ac_status=$?
14989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); }; } &&
14991 { ac_try='test -s conftest.$ac_objext'
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14993 (eval $ac_try) 2>&5
14994 ac_status=$?
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); }; }; then
14997 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14998 else
14999 echo "$as_me: failed program was:" >&5
15000 sed 's/^/| /' conftest.$ac_ext >&5
15001
15002 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15003
15004 fi
15005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15006
15007
15008 fi
15009 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15010 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15011 ac_ext=cc
15012 ac_cpp='$CXXCPP $CPPFLAGS'
15013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15016
15017 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15018 :; SUNCXX=yes
15019 else
15020 :;
15021 fi
15022
15023
15024 ;;
15025 esac
15026 fi
15027
15028
15029
15030 if test -n "$ac_tool_prefix"; then
15031 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15032 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15033 echo "$as_me:$LINENO: checking for $ac_word" >&5
15034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15035 if test "${ac_cv_prog_RANLIB+set}" = set; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15037 else
15038 if test -n "$RANLIB"; then
15039 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15040 else
15041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15042 for as_dir in $PATH
15043 do
15044 IFS=$as_save_IFS
15045 test -z "$as_dir" && as_dir=.
15046 for ac_exec_ext in '' $ac_executable_extensions; do
15047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15048 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15050 break 2
15051 fi
15052 done
15053 done
15054
15055 fi
15056 fi
15057 RANLIB=$ac_cv_prog_RANLIB
15058 if test -n "$RANLIB"; then
15059 echo "$as_me:$LINENO: result: $RANLIB" >&5
15060 echo "${ECHO_T}$RANLIB" >&6
15061 else
15062 echo "$as_me:$LINENO: result: no" >&5
15063 echo "${ECHO_T}no" >&6
15064 fi
15065
15066 fi
15067 if test -z "$ac_cv_prog_RANLIB"; then
15068 ac_ct_RANLIB=$RANLIB
15069 # Extract the first word of "ranlib", so it can be a program name with args.
15070 set dummy ranlib; ac_word=$2
15071 echo "$as_me:$LINENO: checking for $ac_word" >&5
15072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15073 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15074 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 else
15076 if test -n "$ac_ct_RANLIB"; then
15077 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15078 else
15079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15080 for as_dir in $PATH
15081 do
15082 IFS=$as_save_IFS
15083 test -z "$as_dir" && as_dir=.
15084 for ac_exec_ext in '' $ac_executable_extensions; do
15085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15086 ac_cv_prog_ac_ct_RANLIB="ranlib"
15087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15088 break 2
15089 fi
15090 done
15091 done
15092
15093 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15094 fi
15095 fi
15096 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15097 if test -n "$ac_ct_RANLIB"; then
15098 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15099 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15100 else
15101 echo "$as_me:$LINENO: result: no" >&5
15102 echo "${ECHO_T}no" >&6
15103 fi
15104
15105 RANLIB=$ac_ct_RANLIB
15106 else
15107 RANLIB="$ac_cv_prog_RANLIB"
15108 fi
15109
15110
15111 if test -n "$ac_tool_prefix"; then
15112 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15113 set dummy ${ac_tool_prefix}ar; ac_word=$2
15114 echo "$as_me:$LINENO: checking for $ac_word" >&5
15115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15116 if test "${ac_cv_prog_AR+set}" = set; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15118 else
15119 if test -n "$AR"; then
15120 ac_cv_prog_AR="$AR" # Let the user override the test.
15121 else
15122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15123 for as_dir in $PATH
15124 do
15125 IFS=$as_save_IFS
15126 test -z "$as_dir" && as_dir=.
15127 for ac_exec_ext in '' $ac_executable_extensions; do
15128 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15129 ac_cv_prog_AR="${ac_tool_prefix}ar"
15130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15131 break 2
15132 fi
15133 done
15134 done
15135
15136 fi
15137 fi
15138 AR=$ac_cv_prog_AR
15139 if test -n "$AR"; then
15140 echo "$as_me:$LINENO: result: $AR" >&5
15141 echo "${ECHO_T}$AR" >&6
15142 else
15143 echo "$as_me:$LINENO: result: no" >&5
15144 echo "${ECHO_T}no" >&6
15145 fi
15146
15147 fi
15148 if test -z "$ac_cv_prog_AR"; then
15149 ac_ct_AR=$AR
15150 # Extract the first word of "ar", so it can be a program name with args.
15151 set dummy ar; ac_word=$2
15152 echo "$as_me:$LINENO: checking for $ac_word" >&5
15153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15154 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15155 echo $ECHO_N "(cached) $ECHO_C" >&6
15156 else
15157 if test -n "$ac_ct_AR"; then
15158 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15159 else
15160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15161 for as_dir in $PATH
15162 do
15163 IFS=$as_save_IFS
15164 test -z "$as_dir" && as_dir=.
15165 for ac_exec_ext in '' $ac_executable_extensions; do
15166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15167 ac_cv_prog_ac_ct_AR="ar"
15168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15169 break 2
15170 fi
15171 done
15172 done
15173
15174 fi
15175 fi
15176 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15177 if test -n "$ac_ct_AR"; then
15178 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15179 echo "${ECHO_T}$ac_ct_AR" >&6
15180 else
15181 echo "$as_me:$LINENO: result: no" >&5
15182 echo "${ECHO_T}no" >&6
15183 fi
15184
15185 AR=$ac_ct_AR
15186 else
15187 AR="$ac_cv_prog_AR"
15188 fi
15189
15190 if test "x$AR" = "x" ; then
15191 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15192 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15193 { (exit 1); exit 1; }; }
15194 fi
15195
15196 # Find a good install program. We prefer a C program (faster),
15197 # so one script is as good as another. But avoid the broken or
15198 # incompatible versions:
15199 # SysV /etc/install, /usr/sbin/install
15200 # SunOS /usr/etc/install
15201 # IRIX /sbin/install
15202 # AIX /bin/install
15203 # AmigaOS /C/install, which installs bootblocks on floppy discs
15204 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15205 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15206 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15207 # OS/2's system install, which has a completely different semantic
15208 # ./install, which can be erroneously created by make from ./install.sh.
15209 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15210 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15211 if test -z "$INSTALL"; then
15212 if test "${ac_cv_path_install+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 else
15215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15216 for as_dir in $PATH
15217 do
15218 IFS=$as_save_IFS
15219 test -z "$as_dir" && as_dir=.
15220 # Account for people who put trailing slashes in PATH elements.
15221 case $as_dir/ in
15222 ./ | .// | /cC/* | \
15223 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15224 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15225 /usr/ucb/* ) ;;
15226 *)
15227 # OSF1 and SCO ODT 3.0 have their own names for install.
15228 # Don't use installbsd from OSF since it installs stuff as root
15229 # by default.
15230 for ac_prog in ginstall scoinst install; do
15231 for ac_exec_ext in '' $ac_executable_extensions; do
15232 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15233 if test $ac_prog = install &&
15234 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15235 # AIX install. It has an incompatible calling convention.
15236 :
15237 elif test $ac_prog = install &&
15238 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15239 # program-specific install script used by HP pwplus--don't use.
15240 :
15241 else
15242 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15243 break 3
15244 fi
15245 fi
15246 done
15247 done
15248 ;;
15249 esac
15250 done
15251
15252
15253 fi
15254 if test "${ac_cv_path_install+set}" = set; then
15255 INSTALL=$ac_cv_path_install
15256 else
15257 # As a last resort, use the slow shell script. We don't cache a
15258 # path for INSTALL within a source directory, because that will
15259 # break other packages using the cache if that directory is
15260 # removed, or if the path is relative.
15261 INSTALL=$ac_install_sh
15262 fi
15263 fi
15264 echo "$as_me:$LINENO: result: $INSTALL" >&5
15265 echo "${ECHO_T}$INSTALL" >&6
15266
15267 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15268 # It thinks the first close brace ends the variable substitution.
15269 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15270
15271 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15272
15273 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15274
15275
15276 case ${INSTALL} in
15277 /* ) # Absolute
15278 ;;
15279 ?:* ) # Drive letter, considered as absolute.
15280 ;;
15281 *)
15282 INSTALL=`pwd`/${INSTALL} ;;
15283 esac
15284
15285
15286 case "${host}" in
15287
15288 *-*-darwin* )
15289 INSTALL_PROGRAM="cp -fp"
15290 INSTALL_DATA="cp -fp"
15291 ;;
15292 *)
15293 ;;
15294 esac
15295
15296 if test -n "$ac_tool_prefix"; then
15297 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15298 set dummy ${ac_tool_prefix}strip; ac_word=$2
15299 echo "$as_me:$LINENO: checking for $ac_word" >&5
15300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15301 if test "${ac_cv_prog_STRIP+set}" = set; then
15302 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 else
15304 if test -n "$STRIP"; then
15305 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15306 else
15307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15308 for as_dir in $PATH
15309 do
15310 IFS=$as_save_IFS
15311 test -z "$as_dir" && as_dir=.
15312 for ac_exec_ext in '' $ac_executable_extensions; do
15313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15314 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15316 break 2
15317 fi
15318 done
15319 done
15320
15321 fi
15322 fi
15323 STRIP=$ac_cv_prog_STRIP
15324 if test -n "$STRIP"; then
15325 echo "$as_me:$LINENO: result: $STRIP" >&5
15326 echo "${ECHO_T}$STRIP" >&6
15327 else
15328 echo "$as_me:$LINENO: result: no" >&5
15329 echo "${ECHO_T}no" >&6
15330 fi
15331
15332 fi
15333 if test -z "$ac_cv_prog_STRIP"; then
15334 ac_ct_STRIP=$STRIP
15335 # Extract the first word of "strip", so it can be a program name with args.
15336 set dummy strip; ac_word=$2
15337 echo "$as_me:$LINENO: checking for $ac_word" >&5
15338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15339 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15340 echo $ECHO_N "(cached) $ECHO_C" >&6
15341 else
15342 if test -n "$ac_ct_STRIP"; then
15343 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15344 else
15345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15346 for as_dir in $PATH
15347 do
15348 IFS=$as_save_IFS
15349 test -z "$as_dir" && as_dir=.
15350 for ac_exec_ext in '' $ac_executable_extensions; do
15351 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15352 ac_cv_prog_ac_ct_STRIP="strip"
15353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15354 break 2
15355 fi
15356 done
15357 done
15358
15359 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15360 fi
15361 fi
15362 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15363 if test -n "$ac_ct_STRIP"; then
15364 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15365 echo "${ECHO_T}$ac_ct_STRIP" >&6
15366 else
15367 echo "$as_me:$LINENO: result: no" >&5
15368 echo "${ECHO_T}no" >&6
15369 fi
15370
15371 STRIP=$ac_ct_STRIP
15372 else
15373 STRIP="$ac_cv_prog_STRIP"
15374 fi
15375
15376
15377 if test "$wxUSE_WINE" = "yes"; then
15378 if test -n "$ac_tool_prefix"; then
15379 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15380 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15381 echo "$as_me:$LINENO: checking for $ac_word" >&5
15382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15383 if test "${ac_cv_prog_WINDRES+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 else
15386 if test -n "$WINDRES"; then
15387 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15388 else
15389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15390 for as_dir in $PATH
15391 do
15392 IFS=$as_save_IFS
15393 test -z "$as_dir" && as_dir=.
15394 for ac_exec_ext in '' $ac_executable_extensions; do
15395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15396 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15398 break 2
15399 fi
15400 done
15401 done
15402
15403 fi
15404 fi
15405 WINDRES=$ac_cv_prog_WINDRES
15406 if test -n "$WINDRES"; then
15407 echo "$as_me:$LINENO: result: $WINDRES" >&5
15408 echo "${ECHO_T}$WINDRES" >&6
15409 else
15410 echo "$as_me:$LINENO: result: no" >&5
15411 echo "${ECHO_T}no" >&6
15412 fi
15413
15414 fi
15415 if test -z "$ac_cv_prog_WINDRES"; then
15416 ac_ct_WINDRES=$WINDRES
15417 # Extract the first word of "wrc", so it can be a program name with args.
15418 set dummy wrc; ac_word=$2
15419 echo "$as_me:$LINENO: checking for $ac_word" >&5
15420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15421 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15422 echo $ECHO_N "(cached) $ECHO_C" >&6
15423 else
15424 if test -n "$ac_ct_WINDRES"; then
15425 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15426 else
15427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15428 for as_dir in $PATH
15429 do
15430 IFS=$as_save_IFS
15431 test -z "$as_dir" && as_dir=.
15432 for ac_exec_ext in '' $ac_executable_extensions; do
15433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15434 ac_cv_prog_ac_ct_WINDRES="wrc"
15435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15436 break 2
15437 fi
15438 done
15439 done
15440
15441 fi
15442 fi
15443 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15444 if test -n "$ac_ct_WINDRES"; then
15445 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15446 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15447 else
15448 echo "$as_me:$LINENO: result: no" >&5
15449 echo "${ECHO_T}no" >&6
15450 fi
15451
15452 WINDRES=$ac_ct_WINDRES
15453 else
15454 WINDRES="$ac_cv_prog_WINDRES"
15455 fi
15456
15457 RESCOMP="$WINDRES"
15458 else
15459 case "${host}" in
15460 *-*-cygwin* | *-*-mingw32* )
15461 if test -n "$ac_tool_prefix"; then
15462 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15463 set dummy ${ac_tool_prefix}windres; ac_word=$2
15464 echo "$as_me:$LINENO: checking for $ac_word" >&5
15465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15466 if test "${ac_cv_prog_WINDRES+set}" = set; then
15467 echo $ECHO_N "(cached) $ECHO_C" >&6
15468 else
15469 if test -n "$WINDRES"; then
15470 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15471 else
15472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15473 for as_dir in $PATH
15474 do
15475 IFS=$as_save_IFS
15476 test -z "$as_dir" && as_dir=.
15477 for ac_exec_ext in '' $ac_executable_extensions; do
15478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15479 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15481 break 2
15482 fi
15483 done
15484 done
15485
15486 fi
15487 fi
15488 WINDRES=$ac_cv_prog_WINDRES
15489 if test -n "$WINDRES"; then
15490 echo "$as_me:$LINENO: result: $WINDRES" >&5
15491 echo "${ECHO_T}$WINDRES" >&6
15492 else
15493 echo "$as_me:$LINENO: result: no" >&5
15494 echo "${ECHO_T}no" >&6
15495 fi
15496
15497 fi
15498 if test -z "$ac_cv_prog_WINDRES"; then
15499 ac_ct_WINDRES=$WINDRES
15500 # Extract the first word of "windres", so it can be a program name with args.
15501 set dummy windres; ac_word=$2
15502 echo "$as_me:$LINENO: checking for $ac_word" >&5
15503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15504 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15505 echo $ECHO_N "(cached) $ECHO_C" >&6
15506 else
15507 if test -n "$ac_ct_WINDRES"; then
15508 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15509 else
15510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15511 for as_dir in $PATH
15512 do
15513 IFS=$as_save_IFS
15514 test -z "$as_dir" && as_dir=.
15515 for ac_exec_ext in '' $ac_executable_extensions; do
15516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15517 ac_cv_prog_ac_ct_WINDRES="windres"
15518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15519 break 2
15520 fi
15521 done
15522 done
15523
15524 fi
15525 fi
15526 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15527 if test -n "$ac_ct_WINDRES"; then
15528 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15529 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15530 else
15531 echo "$as_me:$LINENO: result: no" >&5
15532 echo "${ECHO_T}no" >&6
15533 fi
15534
15535 WINDRES=$ac_ct_WINDRES
15536 else
15537 WINDRES="$ac_cv_prog_WINDRES"
15538 fi
15539
15540 RESCOMP="$WINDRES"
15541 if test -n "$ac_tool_prefix"; then
15542 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15543 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15544 echo "$as_me:$LINENO: checking for $ac_word" >&5
15545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15546 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15548 else
15549 if test -n "$DLLTOOL"; then
15550 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15551 else
15552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15553 for as_dir in $PATH
15554 do
15555 IFS=$as_save_IFS
15556 test -z "$as_dir" && as_dir=.
15557 for ac_exec_ext in '' $ac_executable_extensions; do
15558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15559 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15561 break 2
15562 fi
15563 done
15564 done
15565
15566 fi
15567 fi
15568 DLLTOOL=$ac_cv_prog_DLLTOOL
15569 if test -n "$DLLTOOL"; then
15570 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15571 echo "${ECHO_T}$DLLTOOL" >&6
15572 else
15573 echo "$as_me:$LINENO: result: no" >&5
15574 echo "${ECHO_T}no" >&6
15575 fi
15576
15577 fi
15578 if test -z "$ac_cv_prog_DLLTOOL"; then
15579 ac_ct_DLLTOOL=$DLLTOOL
15580 # Extract the first word of "dlltool", so it can be a program name with args.
15581 set dummy dlltool; ac_word=$2
15582 echo "$as_me:$LINENO: checking for $ac_word" >&5
15583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15584 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15585 echo $ECHO_N "(cached) $ECHO_C" >&6
15586 else
15587 if test -n "$ac_ct_DLLTOOL"; then
15588 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15589 else
15590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15591 for as_dir in $PATH
15592 do
15593 IFS=$as_save_IFS
15594 test -z "$as_dir" && as_dir=.
15595 for ac_exec_ext in '' $ac_executable_extensions; do
15596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15597 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15599 break 2
15600 fi
15601 done
15602 done
15603
15604 fi
15605 fi
15606 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15607 if test -n "$ac_ct_DLLTOOL"; then
15608 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15609 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15610 else
15611 echo "$as_me:$LINENO: result: no" >&5
15612 echo "${ECHO_T}no" >&6
15613 fi
15614
15615 DLLTOOL=$ac_ct_DLLTOOL
15616 else
15617 DLLTOOL="$ac_cv_prog_DLLTOOL"
15618 fi
15619
15620 ;;
15621 esac
15622 fi
15623
15624 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15625 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15626 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15627 echo $ECHO_N "(cached) $ECHO_C" >&6
15628 else
15629
15630 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15631 egrep -s GNU > /dev/null); then
15632 wx_cv_prog_makeisgnu="yes"
15633 else
15634 wx_cv_prog_makeisgnu="no"
15635 fi
15636
15637 fi
15638 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15639 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15640
15641 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15642 IF_GNU_MAKE=""
15643 else
15644 IF_GNU_MAKE="#"
15645 fi
15646
15647
15648
15649 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15650 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15651 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15652 if test "${wx_cv_prog_makevpath+set}" = set; then
15653 echo $ECHO_N "(cached) $ECHO_C" >&6
15654 else
15655
15656 cat - << EOF > confMake
15657 check : file
15658 cp \$? \$@
15659 cp \$? final_file
15660 EOF
15661
15662 if test ! -d sub ; then
15663 mkdir sub
15664 fi
15665 echo dummy > sub/file
15666 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15667 RESULT=$?
15668 rm -f sub/file check final_file confMake
15669 rmdir sub
15670 if test "$RESULT" = 0; then
15671 wx_cv_prog_makevpath="yes"
15672 else
15673 wx_cv_prog_makevpath="no"
15674 fi
15675
15676 fi
15677 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15678 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15679
15680 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15681 { { echo "$as_me:$LINENO: error:
15682 You need a make-utility that is able to use the variable
15683 VPATH correctly.
15684 If your version of make does not support VPATH correctly,
15685 please install GNU-make (possibly as gmake), and start
15686 configure with the following command:
15687 export MAKE=gmake; ./configure for sh-type shells
15688 setenv MAKE gmake; ./configure for csh-type shells
15689 Also please do remember to use gmake in this case every time
15690 you are trying to compile.
15691 " >&5
15692 echo "$as_me: error:
15693 You need a make-utility that is able to use the variable
15694 VPATH correctly.
15695 If your version of make does not support VPATH correctly,
15696 please install GNU-make (possibly as gmake), and start
15697 configure with the following command:
15698 export MAKE=gmake; ./configure for sh-type shells
15699 setenv MAKE gmake; ./configure for csh-type shells
15700 Also please do remember to use gmake in this case every time
15701 you are trying to compile.
15702 " >&2;}
15703 { (exit 1); exit 1; }; }
15704 fi fi
15705 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15706 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15707 LN_S=$as_ln_s
15708 if test "$LN_S" = "ln -s"; then
15709 echo "$as_me:$LINENO: result: yes" >&5
15710 echo "${ECHO_T}yes" >&6
15711 else
15712 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15713 echo "${ECHO_T}no, using $LN_S" >&6
15714 fi
15715
15716
15717
15718
15719 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15720 CXXFLAGS="-qunique $CXXFLAGS"
15721 fi
15722
15723 case "${host}" in
15724 powerpc-*-darwin* )
15725 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15726 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15727 cat >conftest.$ac_ext <<_ACEOF
15728 /* confdefs.h. */
15729 _ACEOF
15730 cat confdefs.h >>conftest.$ac_ext
15731 cat >>conftest.$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15733
15734 int
15735 main ()
15736 {
15737 #ifndef __POWERPC__
15738 choke me for lack of PowerPC
15739 #endif
15740
15741 ;
15742 return 0;
15743 }
15744 _ACEOF
15745 rm -f conftest.$ac_objext
15746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15747 (eval $ac_compile) 2>conftest.er1
15748 ac_status=$?
15749 grep -v '^ *+' conftest.er1 >conftest.err
15750 rm -f conftest.er1
15751 cat conftest.err >&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); } &&
15754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15757 ac_status=$?
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; } &&
15760 { ac_try='test -s conftest.$ac_objext'
15761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15762 (eval $ac_try) 2>&5
15763 ac_status=$?
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); }; }; then
15766 echo "$as_me:$LINENO: result: yes" >&5
15767 echo "${ECHO_T}yes" >&6
15768 else
15769 echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.$ac_ext >&5
15771
15772 echo "$as_me:$LINENO: result: no" >&5
15773 echo "${ECHO_T}no" >&6
15774 cat >>confdefs.h <<\_ACEOF
15775 #define __POWERPC__ 1
15776 _ACEOF
15777
15778
15779 fi
15780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15781 ;;
15782 esac
15783
15784 case "${host}" in
15785 *-*-darwin* )
15786 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15787 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15788 cat >conftest.$ac_ext <<_ACEOF
15789 /* confdefs.h. */
15790 _ACEOF
15791 cat confdefs.h >>conftest.$ac_ext
15792 cat >>conftest.$ac_ext <<_ACEOF
15793 /* end confdefs.h. */
15794 #include <CoreFoundation/CFBase.h>
15795
15796 int
15797 main ()
15798 {
15799
15800 ;
15801 return 0;
15802 }
15803 _ACEOF
15804 rm -f conftest.$ac_objext
15805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15806 (eval $ac_compile) 2>conftest.er1
15807 ac_status=$?
15808 grep -v '^ *+' conftest.er1 >conftest.err
15809 rm -f conftest.er1
15810 cat conftest.err >&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } &&
15813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15815 (eval $ac_try) 2>&5
15816 ac_status=$?
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); }; } &&
15819 { ac_try='test -s conftest.$ac_objext'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15822 ac_status=$?
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 echo "$as_me:$LINENO: result: yes" >&5
15826 echo "${ECHO_T}yes" >&6
15827 else
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.$ac_ext >&5
15830
15831 echo "$as_me:$LINENO: result: no" >&5
15832 echo "${ECHO_T}no" >&6
15833 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15834 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15835 cat >conftest.$ac_ext <<_ACEOF
15836 /* confdefs.h. */
15837 _ACEOF
15838 cat confdefs.h >>conftest.$ac_ext
15839 cat >>conftest.$ac_ext <<_ACEOF
15840 /* end confdefs.h. */
15841 #define __CF_USE_FRAMEWORK_INCLUDES__
15842 #include <CoreFoundation/CFBase.h>
15843
15844 int
15845 main ()
15846 {
15847
15848 ;
15849 return 0;
15850 }
15851 _ACEOF
15852 rm -f conftest.$ac_objext
15853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15854 (eval $ac_compile) 2>conftest.er1
15855 ac_status=$?
15856 grep -v '^ *+' conftest.er1 >conftest.err
15857 rm -f conftest.er1
15858 cat conftest.err >&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); } &&
15861 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15863 (eval $ac_try) 2>&5
15864 ac_status=$?
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; } &&
15867 { ac_try='test -s conftest.$ac_objext'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15870 ac_status=$?
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; }; then
15873 echo "$as_me:$LINENO: result: yes" >&5
15874 echo "${ECHO_T}yes" >&6
15875 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15876 else
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15879
15880 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15881 See \`config.log' for more details." >&5
15882 echo "$as_me: error: no. CoreFoundation not available.
15883 See \`config.log' for more details." >&2;}
15884 { (exit 1); exit 1; }; }
15885
15886 fi
15887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15888
15889
15890 fi
15891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15892 ;;
15893 esac
15894
15895 case "${host}" in
15896 *-pc-os2_emx | *-pc-os2-emx )
15897 ac_ext=c
15898 ac_cpp='$CPP $CPPFLAGS'
15899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15902
15903 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15904 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15905 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15906 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6
15908 else
15909 ac_check_lib_save_LIBS=$LIBS
15910 LIBS="-lcExt $LIBS"
15911 cat >conftest.$ac_ext <<_ACEOF
15912 /* confdefs.h. */
15913 _ACEOF
15914 cat confdefs.h >>conftest.$ac_ext
15915 cat >>conftest.$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15917
15918 /* Override any gcc2 internal prototype to avoid an error. */
15919 #ifdef __cplusplus
15920 extern "C"
15921 #endif
15922 /* We use char because int might match the return type of a gcc2
15923 builtin and then its argument prototype would still apply. */
15924 char drand48 ();
15925 int
15926 main ()
15927 {
15928 drand48 ();
15929 ;
15930 return 0;
15931 }
15932 _ACEOF
15933 rm -f conftest.$ac_objext conftest$ac_exeext
15934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15935 (eval $ac_link) 2>conftest.er1
15936 ac_status=$?
15937 grep -v '^ *+' conftest.er1 >conftest.err
15938 rm -f conftest.er1
15939 cat conftest.err >&5
15940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15941 (exit $ac_status); } &&
15942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15944 (eval $ac_try) 2>&5
15945 ac_status=$?
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try='test -s conftest$ac_exeext'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15951 ac_status=$?
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; }; then
15954 ac_cv_lib_cExt_drand48=yes
15955 else
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.$ac_ext >&5
15958
15959 ac_cv_lib_cExt_drand48=no
15960 fi
15961 rm -f conftest.err conftest.$ac_objext \
15962 conftest$ac_exeext conftest.$ac_ext
15963 LIBS=$ac_check_lib_save_LIBS
15964 fi
15965 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15966 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15967 if test $ac_cv_lib_cExt_drand48 = yes; then
15968 LIBS="$LIBS -lcExt"
15969 fi
15970
15971 else
15972 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15973 fi
15974 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15975 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15976 if test "${wx_cv_gccversion+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 else
15979
15980 if test "$cross_compiling" = yes; then
15981 wx_cv_gccversion="EMX2"
15982
15983 else
15984 cat >conftest.$ac_ext <<_ACEOF
15985 /* confdefs.h. */
15986 _ACEOF
15987 cat confdefs.h >>conftest.$ac_ext
15988 cat >>conftest.$ac_ext <<_ACEOF
15989 /* end confdefs.h. */
15990
15991 #include <stdio.h>
15992
15993 int main()
15994 {
15995 FILE *f=fopen("conftestval", "w");
15996 if (!f) exit(1);
15997 fprintf(f,
15998 #if (__GNUC__ < 3)
15999 "EMX2"
16000 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16001 "EMX3"
16002 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16003 "Innotek5"
16004 #else
16005 "Innotek6"
16006 #endif
16007 );
16008 exit(0);
16009 }
16010
16011 _ACEOF
16012 rm -f conftest$ac_exeext
16013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16014 (eval $ac_link) 2>&5
16015 ac_status=$?
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16019 (eval $ac_try) 2>&5
16020 ac_status=$?
16021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16022 (exit $ac_status); }; }; then
16023 wx_cv_gccversion=`cat conftestval`
16024 else
16025 echo "$as_me: program exited with status $ac_status" >&5
16026 echo "$as_me: failed program was:" >&5
16027 sed 's/^/| /' conftest.$ac_ext >&5
16028
16029 ( exit $ac_status )
16030 wx_cv_gccversion="EMX2"
16031 fi
16032 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16033 fi
16034
16035 fi
16036 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16037 echo "${ECHO_T}$wx_cv_gccversion" >&6
16038 ac_ext=cc
16039 ac_cpp='$CXXCPP $CPPFLAGS'
16040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16043
16044 if test "$wx_cv_gccversion" = "EMX2"; then
16045 LIBS="$LIBS -lstdcpp"
16046 LDFLAGS="$LDFLAGS -Zsysv-signals"
16047 else
16048 if test "$wx_cv_gccversion" = "EMX3"; then
16049 LIBS="$LIBS -lstdcxx -lgcc"
16050 LDFLAGS="$LDFLAGS -Zsysv-signals"
16051 else
16052 LIBS="$LIBS -lstdc++"
16053 fi
16054 fi
16055 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16056 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16057 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16058 wxUSE_OMF=yes
16059 enable_omf=yes
16060 fi
16061 ;;
16062 *)
16063
16064 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16065 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16066 if test "${ac_cv_string_strcasecmp+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 else
16069
16070 cat >conftest.$ac_ext <<_ACEOF
16071 /* confdefs.h. */
16072 _ACEOF
16073 cat confdefs.h >>conftest.$ac_ext
16074 cat >>conftest.$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076
16077 #include <string.h>
16078
16079 int
16080 main ()
16081 {
16082
16083 strcasecmp("foo", "bar");
16084
16085 ;
16086 return 0;
16087 }
16088 _ACEOF
16089 rm -f conftest.$ac_objext conftest$ac_exeext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16091 (eval $ac_link) 2>conftest.er1
16092 ac_status=$?
16093 grep -v '^ *+' conftest.er1 >conftest.err
16094 rm -f conftest.er1
16095 cat conftest.err >&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16101 ac_status=$?
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; } &&
16104 { ac_try='test -s conftest$ac_exeext'
16105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106 (eval $ac_try) 2>&5
16107 ac_status=$?
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; }; then
16110 ac_cv_string_strcasecmp=yes
16111 else
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16114
16115 ac_cv_string_strcasecmp=no
16116
16117 fi
16118 rm -f conftest.err conftest.$ac_objext \
16119 conftest$ac_exeext conftest.$ac_ext
16120
16121 fi
16122 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16123 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16124
16125 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16126 cat >>confdefs.h <<\_ACEOF
16127 #define HAVE_STRCASECMP_IN_STRING_H 1
16128 _ACEOF
16129
16130 else
16131 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16132 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16133 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16134 echo $ECHO_N "(cached) $ECHO_C" >&6
16135 else
16136
16137 cat >conftest.$ac_ext <<_ACEOF
16138 /* confdefs.h. */
16139 _ACEOF
16140 cat confdefs.h >>conftest.$ac_ext
16141 cat >>conftest.$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16143
16144 #include <strings.h>
16145
16146 int
16147 main ()
16148 {
16149
16150 strcasecmp("foo", "bar");
16151
16152 ;
16153 return 0;
16154 }
16155 _ACEOF
16156 rm -f conftest.$ac_objext conftest$ac_exeext
16157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16158 (eval $ac_link) 2>conftest.er1
16159 ac_status=$?
16160 grep -v '^ *+' conftest.er1 >conftest.err
16161 rm -f conftest.er1
16162 cat conftest.err >&5
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); } &&
16165 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16168 ac_status=$?
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; } &&
16171 { ac_try='test -s conftest$ac_exeext'
16172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16173 (eval $ac_try) 2>&5
16174 ac_status=$?
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); }; }; then
16177 ac_cv_strings_strcasecmp=yes
16178 else
16179 echo "$as_me: failed program was:" >&5
16180 sed 's/^/| /' conftest.$ac_ext >&5
16181
16182 ac_cv_strings_strcasecmp=no
16183
16184 fi
16185 rm -f conftest.err conftest.$ac_objext \
16186 conftest$ac_exeext conftest.$ac_ext
16187
16188 fi
16189 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16190 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16191
16192 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16193 cat >>confdefs.h <<\_ACEOF
16194 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16195 _ACEOF
16196
16197 else
16198 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16199 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16200 { (exit 1); exit 1; }; }
16201 fi
16202 fi
16203
16204 ;;
16205 esac
16206
16207
16208 ac_ext=cc
16209 ac_cpp='$CXXCPP $CPPFLAGS'
16210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16213 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16214 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16215 if test -z "$CXXCPP"; then
16216 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16218 else
16219 # Double quotes because CXXCPP needs to be expanded
16220 for CXXCPP in "$CXX -E" "/lib/cpp"
16221 do
16222 ac_preproc_ok=false
16223 for ac_cxx_preproc_warn_flag in '' yes
16224 do
16225 # Use a header file that comes with gcc, so configuring glibc
16226 # with a fresh cross-compiler works.
16227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16228 # <limits.h> exists even on freestanding compilers.
16229 # On the NeXT, cc -E runs the code through the compiler's parser,
16230 # not just through cpp. "Syntax error" is here to catch this case.
16231 cat >conftest.$ac_ext <<_ACEOF
16232 /* confdefs.h. */
16233 _ACEOF
16234 cat confdefs.h >>conftest.$ac_ext
16235 cat >>conftest.$ac_ext <<_ACEOF
16236 /* end confdefs.h. */
16237 #ifdef __STDC__
16238 # include <limits.h>
16239 #else
16240 # include <assert.h>
16241 #endif
16242 Syntax error
16243 _ACEOF
16244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16246 ac_status=$?
16247 grep -v '^ *+' conftest.er1 >conftest.err
16248 rm -f conftest.er1
16249 cat conftest.err >&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } >/dev/null; then
16252 if test -s conftest.err; then
16253 ac_cpp_err=$ac_cxx_preproc_warn_flag
16254 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16255 else
16256 ac_cpp_err=
16257 fi
16258 else
16259 ac_cpp_err=yes
16260 fi
16261 if test -z "$ac_cpp_err"; then
16262 :
16263 else
16264 echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.$ac_ext >&5
16266
16267 # Broken: fails on valid input.
16268 continue
16269 fi
16270 rm -f conftest.err conftest.$ac_ext
16271
16272 # OK, works on sane cases. Now check whether non-existent headers
16273 # can be detected and how.
16274 cat >conftest.$ac_ext <<_ACEOF
16275 /* confdefs.h. */
16276 _ACEOF
16277 cat confdefs.h >>conftest.$ac_ext
16278 cat >>conftest.$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16280 #include <ac_nonexistent.h>
16281 _ACEOF
16282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16284 ac_status=$?
16285 grep -v '^ *+' conftest.er1 >conftest.err
16286 rm -f conftest.er1
16287 cat conftest.err >&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); } >/dev/null; then
16290 if test -s conftest.err; then
16291 ac_cpp_err=$ac_cxx_preproc_warn_flag
16292 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16293 else
16294 ac_cpp_err=
16295 fi
16296 else
16297 ac_cpp_err=yes
16298 fi
16299 if test -z "$ac_cpp_err"; then
16300 # Broken: success on invalid input.
16301 continue
16302 else
16303 echo "$as_me: failed program was:" >&5
16304 sed 's/^/| /' conftest.$ac_ext >&5
16305
16306 # Passes both tests.
16307 ac_preproc_ok=:
16308 break
16309 fi
16310 rm -f conftest.err conftest.$ac_ext
16311
16312 done
16313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16314 rm -f conftest.err conftest.$ac_ext
16315 if $ac_preproc_ok; then
16316 break
16317 fi
16318
16319 done
16320 ac_cv_prog_CXXCPP=$CXXCPP
16321
16322 fi
16323 CXXCPP=$ac_cv_prog_CXXCPP
16324 else
16325 ac_cv_prog_CXXCPP=$CXXCPP
16326 fi
16327 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16328 echo "${ECHO_T}$CXXCPP" >&6
16329 ac_preproc_ok=false
16330 for ac_cxx_preproc_warn_flag in '' yes
16331 do
16332 # Use a header file that comes with gcc, so configuring glibc
16333 # with a fresh cross-compiler works.
16334 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16335 # <limits.h> exists even on freestanding compilers.
16336 # On the NeXT, cc -E runs the code through the compiler's parser,
16337 # not just through cpp. "Syntax error" is here to catch this case.
16338 cat >conftest.$ac_ext <<_ACEOF
16339 /* confdefs.h. */
16340 _ACEOF
16341 cat confdefs.h >>conftest.$ac_ext
16342 cat >>conftest.$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 #ifdef __STDC__
16345 # include <limits.h>
16346 #else
16347 # include <assert.h>
16348 #endif
16349 Syntax error
16350 _ACEOF
16351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16353 ac_status=$?
16354 grep -v '^ *+' conftest.er1 >conftest.err
16355 rm -f conftest.er1
16356 cat conftest.err >&5
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } >/dev/null; then
16359 if test -s conftest.err; then
16360 ac_cpp_err=$ac_cxx_preproc_warn_flag
16361 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16362 else
16363 ac_cpp_err=
16364 fi
16365 else
16366 ac_cpp_err=yes
16367 fi
16368 if test -z "$ac_cpp_err"; then
16369 :
16370 else
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16373
16374 # Broken: fails on valid input.
16375 continue
16376 fi
16377 rm -f conftest.err conftest.$ac_ext
16378
16379 # OK, works on sane cases. Now check whether non-existent headers
16380 # can be detected and how.
16381 cat >conftest.$ac_ext <<_ACEOF
16382 /* confdefs.h. */
16383 _ACEOF
16384 cat confdefs.h >>conftest.$ac_ext
16385 cat >>conftest.$ac_ext <<_ACEOF
16386 /* end confdefs.h. */
16387 #include <ac_nonexistent.h>
16388 _ACEOF
16389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16391 ac_status=$?
16392 grep -v '^ *+' conftest.er1 >conftest.err
16393 rm -f conftest.er1
16394 cat conftest.err >&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); } >/dev/null; then
16397 if test -s conftest.err; then
16398 ac_cpp_err=$ac_cxx_preproc_warn_flag
16399 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16400 else
16401 ac_cpp_err=
16402 fi
16403 else
16404 ac_cpp_err=yes
16405 fi
16406 if test -z "$ac_cpp_err"; then
16407 # Broken: success on invalid input.
16408 continue
16409 else
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.$ac_ext >&5
16412
16413 # Passes both tests.
16414 ac_preproc_ok=:
16415 break
16416 fi
16417 rm -f conftest.err conftest.$ac_ext
16418
16419 done
16420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16421 rm -f conftest.err conftest.$ac_ext
16422 if $ac_preproc_ok; then
16423 :
16424 else
16425 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16426 See \`config.log' for more details." >&5
16427 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16428 See \`config.log' for more details." >&2;}
16429 { (exit 1); exit 1; }; }
16430 fi
16431
16432 ac_ext=cc
16433 ac_cpp='$CXXCPP $CPPFLAGS'
16434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16437
16438
16439 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16440 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16441 if test "${ac_cv_header_stdc+set}" = set; then
16442 echo $ECHO_N "(cached) $ECHO_C" >&6
16443 else
16444 cat >conftest.$ac_ext <<_ACEOF
16445 /* confdefs.h. */
16446 _ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 #include <stdlib.h>
16451 #include <stdarg.h>
16452 #include <string.h>
16453 #include <float.h>
16454
16455 int
16456 main ()
16457 {
16458
16459 ;
16460 return 0;
16461 }
16462 _ACEOF
16463 rm -f conftest.$ac_objext
16464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16465 (eval $ac_compile) 2>conftest.er1
16466 ac_status=$?
16467 grep -v '^ *+' conftest.er1 >conftest.err
16468 rm -f conftest.er1
16469 cat conftest.err >&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } &&
16472 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16475 ac_status=$?
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; } &&
16478 { ac_try='test -s conftest.$ac_objext'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16481 ac_status=$?
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; }; then
16484 ac_cv_header_stdc=yes
16485 else
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.$ac_ext >&5
16488
16489 ac_cv_header_stdc=no
16490 fi
16491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16492
16493 if test $ac_cv_header_stdc = yes; then
16494 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16495 cat >conftest.$ac_ext <<_ACEOF
16496 /* confdefs.h. */
16497 _ACEOF
16498 cat confdefs.h >>conftest.$ac_ext
16499 cat >>conftest.$ac_ext <<_ACEOF
16500 /* end confdefs.h. */
16501 #include <string.h>
16502
16503 _ACEOF
16504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16505 $EGREP "memchr" >/dev/null 2>&1; then
16506 :
16507 else
16508 ac_cv_header_stdc=no
16509 fi
16510 rm -f conftest*
16511
16512 fi
16513
16514 if test $ac_cv_header_stdc = yes; then
16515 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16516 cat >conftest.$ac_ext <<_ACEOF
16517 /* confdefs.h. */
16518 _ACEOF
16519 cat confdefs.h >>conftest.$ac_ext
16520 cat >>conftest.$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16522 #include <stdlib.h>
16523
16524 _ACEOF
16525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16526 $EGREP "free" >/dev/null 2>&1; then
16527 :
16528 else
16529 ac_cv_header_stdc=no
16530 fi
16531 rm -f conftest*
16532
16533 fi
16534
16535 if test $ac_cv_header_stdc = yes; then
16536 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16537 if test "$cross_compiling" = yes; then
16538 :
16539 else
16540 cat >conftest.$ac_ext <<_ACEOF
16541 /* confdefs.h. */
16542 _ACEOF
16543 cat confdefs.h >>conftest.$ac_ext
16544 cat >>conftest.$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16546 #include <ctype.h>
16547 #if ((' ' & 0x0FF) == 0x020)
16548 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16549 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16550 #else
16551 # define ISLOWER(c) \
16552 (('a' <= (c) && (c) <= 'i') \
16553 || ('j' <= (c) && (c) <= 'r') \
16554 || ('s' <= (c) && (c) <= 'z'))
16555 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16556 #endif
16557
16558 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16559 int
16560 main ()
16561 {
16562 int i;
16563 for (i = 0; i < 256; i++)
16564 if (XOR (islower (i), ISLOWER (i))
16565 || toupper (i) != TOUPPER (i))
16566 exit(2);
16567 exit (0);
16568 }
16569 _ACEOF
16570 rm -f conftest$ac_exeext
16571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16572 (eval $ac_link) 2>&5
16573 ac_status=$?
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16577 (eval $ac_try) 2>&5
16578 ac_status=$?
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); }; }; then
16581 :
16582 else
16583 echo "$as_me: program exited with status $ac_status" >&5
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16586
16587 ( exit $ac_status )
16588 ac_cv_header_stdc=no
16589 fi
16590 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16591 fi
16592 fi
16593 fi
16594 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16595 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16596 if test $ac_cv_header_stdc = yes; then
16597
16598 cat >>confdefs.h <<\_ACEOF
16599 #define STDC_HEADERS 1
16600 _ACEOF
16601
16602 fi
16603
16604 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16615 inttypes.h stdint.h unistd.h
16616 do
16617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16618 echo "$as_me:$LINENO: checking for $ac_header" >&5
16619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16621 echo $ECHO_N "(cached) $ECHO_C" >&6
16622 else
16623 cat >conftest.$ac_ext <<_ACEOF
16624 /* confdefs.h. */
16625 _ACEOF
16626 cat confdefs.h >>conftest.$ac_ext
16627 cat >>conftest.$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 $ac_includes_default
16630
16631 #include <$ac_header>
16632 _ACEOF
16633 rm -f conftest.$ac_objext
16634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16635 (eval $ac_compile) 2>conftest.er1
16636 ac_status=$?
16637 grep -v '^ *+' conftest.er1 >conftest.err
16638 rm -f conftest.er1
16639 cat conftest.err >&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } &&
16642 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16644 (eval $ac_try) 2>&5
16645 ac_status=$?
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); }; } &&
16648 { ac_try='test -s conftest.$ac_objext'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16651 ac_status=$?
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; }; then
16654 eval "$as_ac_Header=yes"
16655 else
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.$ac_ext >&5
16658
16659 eval "$as_ac_Header=no"
16660 fi
16661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16662 fi
16663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16666 cat >>confdefs.h <<_ACEOF
16667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16668 _ACEOF
16669
16670 fi
16671
16672 done
16673
16674
16675
16676 for ac_header in stdlib.h
16677 do
16678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16680 echo "$as_me:$LINENO: checking for $ac_header" >&5
16681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16683 echo $ECHO_N "(cached) $ECHO_C" >&6
16684 fi
16685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16687 else
16688 # Is the header compilable?
16689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16691 cat >conftest.$ac_ext <<_ACEOF
16692 /* confdefs.h. */
16693 _ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 $ac_includes_default
16698 #include <$ac_header>
16699 _ACEOF
16700 rm -f conftest.$ac_objext
16701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16702 (eval $ac_compile) 2>conftest.er1
16703 ac_status=$?
16704 grep -v '^ *+' conftest.er1 >conftest.err
16705 rm -f conftest.er1
16706 cat conftest.err >&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } &&
16709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; } &&
16715 { ac_try='test -s conftest.$ac_objext'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16718 ac_status=$?
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; }; then
16721 ac_header_compiler=yes
16722 else
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16725
16726 ac_header_compiler=no
16727 fi
16728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16729 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16730 echo "${ECHO_T}$ac_header_compiler" >&6
16731
16732 # Is the header present?
16733 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16734 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16735 cat >conftest.$ac_ext <<_ACEOF
16736 /* confdefs.h. */
16737 _ACEOF
16738 cat confdefs.h >>conftest.$ac_ext
16739 cat >>conftest.$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 #include <$ac_header>
16742 _ACEOF
16743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16745 ac_status=$?
16746 grep -v '^ *+' conftest.er1 >conftest.err
16747 rm -f conftest.er1
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } >/dev/null; then
16751 if test -s conftest.err; then
16752 ac_cpp_err=$ac_cxx_preproc_warn_flag
16753 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16754 else
16755 ac_cpp_err=
16756 fi
16757 else
16758 ac_cpp_err=yes
16759 fi
16760 if test -z "$ac_cpp_err"; then
16761 ac_header_preproc=yes
16762 else
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.$ac_ext >&5
16765
16766 ac_header_preproc=no
16767 fi
16768 rm -f conftest.err conftest.$ac_ext
16769 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16770 echo "${ECHO_T}$ac_header_preproc" >&6
16771
16772 # So? What about this header?
16773 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16774 yes:no: )
16775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16779 ac_header_preproc=yes
16780 ;;
16781 no:yes:* )
16782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16794 (
16795 cat <<\_ASBOX
16796 ## ----------------------------------------- ##
16797 ## Report this to wx-dev@lists.wxwidgets.org ##
16798 ## ----------------------------------------- ##
16799 _ASBOX
16800 ) |
16801 sed "s/^/$as_me: WARNING: /" >&2
16802 ;;
16803 esac
16804 echo "$as_me:$LINENO: checking for $ac_header" >&5
16805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16808 else
16809 eval "$as_ac_Header=\$ac_header_preproc"
16810 fi
16811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16813
16814 fi
16815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16816 cat >>confdefs.h <<_ACEOF
16817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16818 _ACEOF
16819
16820 fi
16821
16822 done
16823
16824
16825 for ac_header in malloc.h
16826 do
16827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16829 echo "$as_me:$LINENO: checking for $ac_header" >&5
16830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16833 fi
16834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16836 else
16837 # Is the header compilable?
16838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16840 cat >conftest.$ac_ext <<_ACEOF
16841 /* confdefs.h. */
16842 _ACEOF
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
16845 /* end confdefs.h. */
16846 $ac_includes_default
16847 #include <$ac_header>
16848 _ACEOF
16849 rm -f conftest.$ac_objext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16851 (eval $ac_compile) 2>conftest.er1
16852 ac_status=$?
16853 grep -v '^ *+' conftest.er1 >conftest.err
16854 rm -f conftest.er1
16855 cat conftest.err >&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16861 ac_status=$?
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; } &&
16864 { ac_try='test -s conftest.$ac_objext'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16867 ac_status=$?
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16870 ac_header_compiler=yes
16871 else
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16874
16875 ac_header_compiler=no
16876 fi
16877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16879 echo "${ECHO_T}$ac_header_compiler" >&6
16880
16881 # Is the header present?
16882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16884 cat >conftest.$ac_ext <<_ACEOF
16885 /* confdefs.h. */
16886 _ACEOF
16887 cat confdefs.h >>conftest.$ac_ext
16888 cat >>conftest.$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 #include <$ac_header>
16891 _ACEOF
16892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16894 ac_status=$?
16895 grep -v '^ *+' conftest.er1 >conftest.err
16896 rm -f conftest.er1
16897 cat conftest.err >&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } >/dev/null; then
16900 if test -s conftest.err; then
16901 ac_cpp_err=$ac_cxx_preproc_warn_flag
16902 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16903 else
16904 ac_cpp_err=
16905 fi
16906 else
16907 ac_cpp_err=yes
16908 fi
16909 if test -z "$ac_cpp_err"; then
16910 ac_header_preproc=yes
16911 else
16912 echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.$ac_ext >&5
16914
16915 ac_header_preproc=no
16916 fi
16917 rm -f conftest.err conftest.$ac_ext
16918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16919 echo "${ECHO_T}$ac_header_preproc" >&6
16920
16921 # So? What about this header?
16922 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16923 yes:no: )
16924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16928 ac_header_preproc=yes
16929 ;;
16930 no:yes:* )
16931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16943 (
16944 cat <<\_ASBOX
16945 ## ----------------------------------------- ##
16946 ## Report this to wx-dev@lists.wxwidgets.org ##
16947 ## ----------------------------------------- ##
16948 _ASBOX
16949 ) |
16950 sed "s/^/$as_me: WARNING: /" >&2
16951 ;;
16952 esac
16953 echo "$as_me:$LINENO: checking for $ac_header" >&5
16954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 else
16958 eval "$as_ac_Header=\$ac_header_preproc"
16959 fi
16960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16962
16963 fi
16964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16965 cat >>confdefs.h <<_ACEOF
16966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16967 _ACEOF
16968
16969 fi
16970
16971 done
16972
16973
16974 for ac_header in unistd.h
16975 do
16976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16978 echo "$as_me:$LINENO: checking for $ac_header" >&5
16979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16981 echo $ECHO_N "(cached) $ECHO_C" >&6
16982 fi
16983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16985 else
16986 # Is the header compilable?
16987 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16988 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16989 cat >conftest.$ac_ext <<_ACEOF
16990 /* confdefs.h. */
16991 _ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 $ac_includes_default
16996 #include <$ac_header>
16997 _ACEOF
16998 rm -f conftest.$ac_objext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17000 (eval $ac_compile) 2>conftest.er1
17001 ac_status=$?
17002 grep -v '^ *+' conftest.er1 >conftest.err
17003 rm -f conftest.er1
17004 cat conftest.err >&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); } &&
17007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17010 ac_status=$?
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; } &&
17013 { ac_try='test -s conftest.$ac_objext'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17016 ac_status=$?
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; }; then
17019 ac_header_compiler=yes
17020 else
17021 echo "$as_me: failed program was:" >&5
17022 sed 's/^/| /' conftest.$ac_ext >&5
17023
17024 ac_header_compiler=no
17025 fi
17026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17028 echo "${ECHO_T}$ac_header_compiler" >&6
17029
17030 # Is the header present?
17031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17033 cat >conftest.$ac_ext <<_ACEOF
17034 /* confdefs.h. */
17035 _ACEOF
17036 cat confdefs.h >>conftest.$ac_ext
17037 cat >>conftest.$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17039 #include <$ac_header>
17040 _ACEOF
17041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17043 ac_status=$?
17044 grep -v '^ *+' conftest.er1 >conftest.err
17045 rm -f conftest.er1
17046 cat conftest.err >&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } >/dev/null; then
17049 if test -s conftest.err; then
17050 ac_cpp_err=$ac_cxx_preproc_warn_flag
17051 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17052 else
17053 ac_cpp_err=
17054 fi
17055 else
17056 ac_cpp_err=yes
17057 fi
17058 if test -z "$ac_cpp_err"; then
17059 ac_header_preproc=yes
17060 else
17061 echo "$as_me: failed program was:" >&5
17062 sed 's/^/| /' conftest.$ac_ext >&5
17063
17064 ac_header_preproc=no
17065 fi
17066 rm -f conftest.err conftest.$ac_ext
17067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17068 echo "${ECHO_T}$ac_header_preproc" >&6
17069
17070 # So? What about this header?
17071 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17072 yes:no: )
17073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17076 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17077 ac_header_preproc=yes
17078 ;;
17079 no:yes:* )
17080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17084 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17085 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17086 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17087 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17089 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17090 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17091 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17092 (
17093 cat <<\_ASBOX
17094 ## ----------------------------------------- ##
17095 ## Report this to wx-dev@lists.wxwidgets.org ##
17096 ## ----------------------------------------- ##
17097 _ASBOX
17098 ) |
17099 sed "s/^/$as_me: WARNING: /" >&2
17100 ;;
17101 esac
17102 echo "$as_me:$LINENO: checking for $ac_header" >&5
17103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17105 echo $ECHO_N "(cached) $ECHO_C" >&6
17106 else
17107 eval "$as_ac_Header=\$ac_header_preproc"
17108 fi
17109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17111
17112 fi
17113 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17114 cat >>confdefs.h <<_ACEOF
17115 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17116 _ACEOF
17117
17118 fi
17119
17120 done
17121
17122
17123 for ac_header in wchar.h
17124 do
17125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17127 echo "$as_me:$LINENO: checking for $ac_header" >&5
17128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17131 fi
17132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17134 else
17135 # Is the header compilable?
17136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17138 cat >conftest.$ac_ext <<_ACEOF
17139 /* confdefs.h. */
17140 _ACEOF
17141 cat confdefs.h >>conftest.$ac_ext
17142 cat >>conftest.$ac_ext <<_ACEOF
17143 /* end confdefs.h. */
17144 $ac_includes_default
17145 #include <$ac_header>
17146 _ACEOF
17147 rm -f conftest.$ac_objext
17148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17149 (eval $ac_compile) 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } &&
17156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17158 (eval $ac_try) 2>&5
17159 ac_status=$?
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); }; } &&
17162 { ac_try='test -s conftest.$ac_objext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17165 ac_status=$?
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 ac_header_compiler=yes
17169 else
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17172
17173 ac_header_compiler=no
17174 fi
17175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17177 echo "${ECHO_T}$ac_header_compiler" >&6
17178
17179 # Is the header present?
17180 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17181 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17182 cat >conftest.$ac_ext <<_ACEOF
17183 /* confdefs.h. */
17184 _ACEOF
17185 cat confdefs.h >>conftest.$ac_ext
17186 cat >>conftest.$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188 #include <$ac_header>
17189 _ACEOF
17190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17192 ac_status=$?
17193 grep -v '^ *+' conftest.er1 >conftest.err
17194 rm -f conftest.er1
17195 cat conftest.err >&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); } >/dev/null; then
17198 if test -s conftest.err; then
17199 ac_cpp_err=$ac_cxx_preproc_warn_flag
17200 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17201 else
17202 ac_cpp_err=
17203 fi
17204 else
17205 ac_cpp_err=yes
17206 fi
17207 if test -z "$ac_cpp_err"; then
17208 ac_header_preproc=yes
17209 else
17210 echo "$as_me: failed program was:" >&5
17211 sed 's/^/| /' conftest.$ac_ext >&5
17212
17213 ac_header_preproc=no
17214 fi
17215 rm -f conftest.err conftest.$ac_ext
17216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17217 echo "${ECHO_T}$ac_header_preproc" >&6
17218
17219 # So? What about this header?
17220 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17221 yes:no: )
17222 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17223 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17225 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17226 ac_header_preproc=yes
17227 ;;
17228 no:yes:* )
17229 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17230 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17231 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17232 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17233 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17234 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17235 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17236 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17238 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17239 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17240 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17241 (
17242 cat <<\_ASBOX
17243 ## ----------------------------------------- ##
17244 ## Report this to wx-dev@lists.wxwidgets.org ##
17245 ## ----------------------------------------- ##
17246 _ASBOX
17247 ) |
17248 sed "s/^/$as_me: WARNING: /" >&2
17249 ;;
17250 esac
17251 echo "$as_me:$LINENO: checking for $ac_header" >&5
17252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17254 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 else
17256 eval "$as_ac_Header=\$ac_header_preproc"
17257 fi
17258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17260
17261 fi
17262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17263 cat >>confdefs.h <<_ACEOF
17264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17265 _ACEOF
17266
17267 fi
17268
17269 done
17270
17271
17272 if test "$ac_cv_header_wchar_h" != "yes"; then
17273
17274 for ac_header in wcstr.h
17275 do
17276 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17278 echo "$as_me:$LINENO: checking for $ac_header" >&5
17279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 fi
17283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17285 else
17286 # Is the header compilable?
17287 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17288 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17289 cat >conftest.$ac_ext <<_ACEOF
17290 /* confdefs.h. */
17291 _ACEOF
17292 cat confdefs.h >>conftest.$ac_ext
17293 cat >>conftest.$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 $ac_includes_default
17296 #include <$ac_header>
17297 _ACEOF
17298 rm -f conftest.$ac_objext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17300 (eval $ac_compile) 2>conftest.er1
17301 ac_status=$?
17302 grep -v '^ *+' conftest.er1 >conftest.err
17303 rm -f conftest.er1
17304 cat conftest.err >&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } &&
17307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17310 ac_status=$?
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; } &&
17313 { ac_try='test -s conftest.$ac_objext'
17314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17315 (eval $ac_try) 2>&5
17316 ac_status=$?
17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318 (exit $ac_status); }; }; then
17319 ac_header_compiler=yes
17320 else
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.$ac_ext >&5
17323
17324 ac_header_compiler=no
17325 fi
17326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17328 echo "${ECHO_T}$ac_header_compiler" >&6
17329
17330 # Is the header present?
17331 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17332 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17333 cat >conftest.$ac_ext <<_ACEOF
17334 /* confdefs.h. */
17335 _ACEOF
17336 cat confdefs.h >>conftest.$ac_ext
17337 cat >>conftest.$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339 #include <$ac_header>
17340 _ACEOF
17341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17343 ac_status=$?
17344 grep -v '^ *+' conftest.er1 >conftest.err
17345 rm -f conftest.er1
17346 cat conftest.err >&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } >/dev/null; then
17349 if test -s conftest.err; then
17350 ac_cpp_err=$ac_cxx_preproc_warn_flag
17351 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17352 else
17353 ac_cpp_err=
17354 fi
17355 else
17356 ac_cpp_err=yes
17357 fi
17358 if test -z "$ac_cpp_err"; then
17359 ac_header_preproc=yes
17360 else
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17363
17364 ac_header_preproc=no
17365 fi
17366 rm -f conftest.err conftest.$ac_ext
17367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17368 echo "${ECHO_T}$ac_header_preproc" >&6
17369
17370 # So? What about this header?
17371 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17372 yes:no: )
17373 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17374 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17376 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17377 ac_header_preproc=yes
17378 ;;
17379 no:yes:* )
17380 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17381 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17382 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17383 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17384 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17385 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17386 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17387 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17390 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17391 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17392 (
17393 cat <<\_ASBOX
17394 ## ----------------------------------------- ##
17395 ## Report this to wx-dev@lists.wxwidgets.org ##
17396 ## ----------------------------------------- ##
17397 _ASBOX
17398 ) |
17399 sed "s/^/$as_me: WARNING: /" >&2
17400 ;;
17401 esac
17402 echo "$as_me:$LINENO: checking for $ac_header" >&5
17403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17405 echo $ECHO_N "(cached) $ECHO_C" >&6
17406 else
17407 eval "$as_ac_Header=\$ac_header_preproc"
17408 fi
17409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17411
17412 fi
17413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17414 cat >>confdefs.h <<_ACEOF
17415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17416 _ACEOF
17417
17418 fi
17419
17420 done
17421
17422 fi
17423
17424
17425 for ac_header in fnmatch.h
17426 do
17427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17429 echo "$as_me:$LINENO: checking for $ac_header" >&5
17430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17432 echo $ECHO_N "(cached) $ECHO_C" >&6
17433 fi
17434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17436 else
17437 # Is the header compilable?
17438 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17440 cat >conftest.$ac_ext <<_ACEOF
17441 /* confdefs.h. */
17442 _ACEOF
17443 cat confdefs.h >>conftest.$ac_ext
17444 cat >>conftest.$ac_ext <<_ACEOF
17445 /* end confdefs.h. */
17446 $ac_includes_default
17447 #include <$ac_header>
17448 _ACEOF
17449 rm -f conftest.$ac_objext
17450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17451 (eval $ac_compile) 2>conftest.er1
17452 ac_status=$?
17453 grep -v '^ *+' conftest.er1 >conftest.err
17454 rm -f conftest.er1
17455 cat conftest.err >&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } &&
17458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17461 ac_status=$?
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; } &&
17464 { ac_try='test -s conftest.$ac_objext'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17467 ac_status=$?
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470 ac_header_compiler=yes
17471 else
17472 echo "$as_me: failed program was:" >&5
17473 sed 's/^/| /' conftest.$ac_ext >&5
17474
17475 ac_header_compiler=no
17476 fi
17477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17478 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17479 echo "${ECHO_T}$ac_header_compiler" >&6
17480
17481 # Is the header present?
17482 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17483 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17484 cat >conftest.$ac_ext <<_ACEOF
17485 /* confdefs.h. */
17486 _ACEOF
17487 cat confdefs.h >>conftest.$ac_ext
17488 cat >>conftest.$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17490 #include <$ac_header>
17491 _ACEOF
17492 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17493 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17494 ac_status=$?
17495 grep -v '^ *+' conftest.er1 >conftest.err
17496 rm -f conftest.er1
17497 cat conftest.err >&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } >/dev/null; then
17500 if test -s conftest.err; then
17501 ac_cpp_err=$ac_cxx_preproc_warn_flag
17502 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17503 else
17504 ac_cpp_err=
17505 fi
17506 else
17507 ac_cpp_err=yes
17508 fi
17509 if test -z "$ac_cpp_err"; then
17510 ac_header_preproc=yes
17511 else
17512 echo "$as_me: failed program was:" >&5
17513 sed 's/^/| /' conftest.$ac_ext >&5
17514
17515 ac_header_preproc=no
17516 fi
17517 rm -f conftest.err conftest.$ac_ext
17518 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17519 echo "${ECHO_T}$ac_header_preproc" >&6
17520
17521 # So? What about this header?
17522 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17523 yes:no: )
17524 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17525 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17527 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17528 ac_header_preproc=yes
17529 ;;
17530 no:yes:* )
17531 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17532 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17533 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17534 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17535 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17536 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17537 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17538 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17540 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17541 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17542 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17543 (
17544 cat <<\_ASBOX
17545 ## ----------------------------------------- ##
17546 ## Report this to wx-dev@lists.wxwidgets.org ##
17547 ## ----------------------------------------- ##
17548 _ASBOX
17549 ) |
17550 sed "s/^/$as_me: WARNING: /" >&2
17551 ;;
17552 esac
17553 echo "$as_me:$LINENO: checking for $ac_header" >&5
17554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17556 echo $ECHO_N "(cached) $ECHO_C" >&6
17557 else
17558 eval "$as_ac_Header=\$ac_header_preproc"
17559 fi
17560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17562
17563 fi
17564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17565 cat >>confdefs.h <<_ACEOF
17566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17567 _ACEOF
17568
17569 fi
17570
17571 done
17572
17573
17574
17575 for ac_header in langinfo.h
17576 do
17577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17579 echo "$as_me:$LINENO: checking for $ac_header" >&5
17580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17582 echo $ECHO_N "(cached) $ECHO_C" >&6
17583 fi
17584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17586 else
17587 # Is the header compilable?
17588 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17589 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17590 cat >conftest.$ac_ext <<_ACEOF
17591 /* confdefs.h. */
17592 _ACEOF
17593 cat confdefs.h >>conftest.$ac_ext
17594 cat >>conftest.$ac_ext <<_ACEOF
17595 /* end confdefs.h. */
17596 $ac_includes_default
17597 #include <$ac_header>
17598 _ACEOF
17599 rm -f conftest.$ac_objext
17600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17601 (eval $ac_compile) 2>conftest.er1
17602 ac_status=$?
17603 grep -v '^ *+' conftest.er1 >conftest.err
17604 rm -f conftest.er1
17605 cat conftest.err >&5
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); } &&
17608 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17611 ac_status=$?
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; } &&
17614 { ac_try='test -s conftest.$ac_objext'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17617 ac_status=$?
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; }; then
17620 ac_header_compiler=yes
17621 else
17622 echo "$as_me: failed program was:" >&5
17623 sed 's/^/| /' conftest.$ac_ext >&5
17624
17625 ac_header_compiler=no
17626 fi
17627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17629 echo "${ECHO_T}$ac_header_compiler" >&6
17630
17631 # Is the header present?
17632 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17633 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17634 cat >conftest.$ac_ext <<_ACEOF
17635 /* confdefs.h. */
17636 _ACEOF
17637 cat confdefs.h >>conftest.$ac_ext
17638 cat >>conftest.$ac_ext <<_ACEOF
17639 /* end confdefs.h. */
17640 #include <$ac_header>
17641 _ACEOF
17642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17644 ac_status=$?
17645 grep -v '^ *+' conftest.er1 >conftest.err
17646 rm -f conftest.er1
17647 cat conftest.err >&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); } >/dev/null; then
17650 if test -s conftest.err; then
17651 ac_cpp_err=$ac_cxx_preproc_warn_flag
17652 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17653 else
17654 ac_cpp_err=
17655 fi
17656 else
17657 ac_cpp_err=yes
17658 fi
17659 if test -z "$ac_cpp_err"; then
17660 ac_header_preproc=yes
17661 else
17662 echo "$as_me: failed program was:" >&5
17663 sed 's/^/| /' conftest.$ac_ext >&5
17664
17665 ac_header_preproc=no
17666 fi
17667 rm -f conftest.err conftest.$ac_ext
17668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17669 echo "${ECHO_T}$ac_header_preproc" >&6
17670
17671 # So? What about this header?
17672 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17673 yes:no: )
17674 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17675 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17677 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17678 ac_header_preproc=yes
17679 ;;
17680 no:yes:* )
17681 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17682 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17683 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17684 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17685 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17686 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17687 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17688 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17691 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17692 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17693 (
17694 cat <<\_ASBOX
17695 ## ----------------------------------------- ##
17696 ## Report this to wx-dev@lists.wxwidgets.org ##
17697 ## ----------------------------------------- ##
17698 _ASBOX
17699 ) |
17700 sed "s/^/$as_me: WARNING: /" >&2
17701 ;;
17702 esac
17703 echo "$as_me:$LINENO: checking for $ac_header" >&5
17704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17706 echo $ECHO_N "(cached) $ECHO_C" >&6
17707 else
17708 eval "$as_ac_Header=\$ac_header_preproc"
17709 fi
17710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17712
17713 fi
17714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17715 cat >>confdefs.h <<_ACEOF
17716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17717 _ACEOF
17718
17719 fi
17720
17721 done
17722
17723
17724 case "${host}" in
17725 *-pc-os2_emx | *-pc-os2-emx )
17726 if test $ac_cv_header_langinfo_h = "yes" \
17727 -a \( "$wx_cv_gccversion" = "EMX2" \
17728 -o "$wx_cv_gccversion" = "EMX3" \
17729 -o "$wx_cv_gccversion" = "Innotek5" \); then
17730 LIBS="$LIBS -lintl"
17731 fi
17732 ;;
17733 esac
17734
17735 if test "$USE_UNIX" = 1 ; then
17736
17737 for ac_header in sys/select.h
17738 do
17739 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17741 echo "$as_me:$LINENO: checking for $ac_header" >&5
17742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17744 echo $ECHO_N "(cached) $ECHO_C" >&6
17745 fi
17746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17748 else
17749 # Is the header compilable?
17750 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17751 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17752 cat >conftest.$ac_ext <<_ACEOF
17753 /* confdefs.h. */
17754 _ACEOF
17755 cat confdefs.h >>conftest.$ac_ext
17756 cat >>conftest.$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17758 $ac_includes_default
17759 #include <$ac_header>
17760 _ACEOF
17761 rm -f conftest.$ac_objext
17762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17763 (eval $ac_compile) 2>conftest.er1
17764 ac_status=$?
17765 grep -v '^ *+' conftest.er1 >conftest.err
17766 rm -f conftest.er1
17767 cat conftest.err >&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } &&
17770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17773 ac_status=$?
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; } &&
17776 { ac_try='test -s conftest.$ac_objext'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17779 ac_status=$?
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; }; then
17782 ac_header_compiler=yes
17783 else
17784 echo "$as_me: failed program was:" >&5
17785 sed 's/^/| /' conftest.$ac_ext >&5
17786
17787 ac_header_compiler=no
17788 fi
17789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17791 echo "${ECHO_T}$ac_header_compiler" >&6
17792
17793 # Is the header present?
17794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17796 cat >conftest.$ac_ext <<_ACEOF
17797 /* confdefs.h. */
17798 _ACEOF
17799 cat confdefs.h >>conftest.$ac_ext
17800 cat >>conftest.$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 #include <$ac_header>
17803 _ACEOF
17804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17806 ac_status=$?
17807 grep -v '^ *+' conftest.er1 >conftest.err
17808 rm -f conftest.er1
17809 cat conftest.err >&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); } >/dev/null; then
17812 if test -s conftest.err; then
17813 ac_cpp_err=$ac_cxx_preproc_warn_flag
17814 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17815 else
17816 ac_cpp_err=
17817 fi
17818 else
17819 ac_cpp_err=yes
17820 fi
17821 if test -z "$ac_cpp_err"; then
17822 ac_header_preproc=yes
17823 else
17824 echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.$ac_ext >&5
17826
17827 ac_header_preproc=no
17828 fi
17829 rm -f conftest.err conftest.$ac_ext
17830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17831 echo "${ECHO_T}$ac_header_preproc" >&6
17832
17833 # So? What about this header?
17834 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17835 yes:no: )
17836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17840 ac_header_preproc=yes
17841 ;;
17842 no:yes:* )
17843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17847 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17849 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17850 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17853 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17855 (
17856 cat <<\_ASBOX
17857 ## ----------------------------------------- ##
17858 ## Report this to wx-dev@lists.wxwidgets.org ##
17859 ## ----------------------------------------- ##
17860 _ASBOX
17861 ) |
17862 sed "s/^/$as_me: WARNING: /" >&2
17863 ;;
17864 esac
17865 echo "$as_me:$LINENO: checking for $ac_header" >&5
17866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17868 echo $ECHO_N "(cached) $ECHO_C" >&6
17869 else
17870 eval "$as_ac_Header=\$ac_header_preproc"
17871 fi
17872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17874
17875 fi
17876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17877 cat >>confdefs.h <<_ACEOF
17878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17879 _ACEOF
17880
17881 fi
17882
17883 done
17884
17885 fi
17886
17887
17888 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17889 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17890 if test "${ac_cv_c_const+set}" = set; then
17891 echo $ECHO_N "(cached) $ECHO_C" >&6
17892 else
17893 cat >conftest.$ac_ext <<_ACEOF
17894 /* confdefs.h. */
17895 _ACEOF
17896 cat confdefs.h >>conftest.$ac_ext
17897 cat >>conftest.$ac_ext <<_ACEOF
17898 /* end confdefs.h. */
17899
17900 int
17901 main ()
17902 {
17903 /* FIXME: Include the comments suggested by Paul. */
17904 #ifndef __cplusplus
17905 /* Ultrix mips cc rejects this. */
17906 typedef int charset[2];
17907 const charset x;
17908 /* SunOS 4.1.1 cc rejects this. */
17909 char const *const *ccp;
17910 char **p;
17911 /* NEC SVR4.0.2 mips cc rejects this. */
17912 struct point {int x, y;};
17913 static struct point const zero = {0,0};
17914 /* AIX XL C 1.02.0.0 rejects this.
17915 It does not let you subtract one const X* pointer from another in
17916 an arm of an if-expression whose if-part is not a constant
17917 expression */
17918 const char *g = "string";
17919 ccp = &g + (g ? g-g : 0);
17920 /* HPUX 7.0 cc rejects these. */
17921 ++ccp;
17922 p = (char**) ccp;
17923 ccp = (char const *const *) p;
17924 { /* SCO 3.2v4 cc rejects this. */
17925 char *t;
17926 char const *s = 0 ? (char *) 0 : (char const *) 0;
17927
17928 *t++ = 0;
17929 }
17930 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17931 int x[] = {25, 17};
17932 const int *foo = &x[0];
17933 ++foo;
17934 }
17935 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17936 typedef const int *iptr;
17937 iptr p = 0;
17938 ++p;
17939 }
17940 { /* AIX XL C 1.02.0.0 rejects this saying
17941 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17942 struct s { int j; const int *ap[3]; };
17943 struct s *b; b->j = 5;
17944 }
17945 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17946 const int foo = 10;
17947 }
17948 #endif
17949
17950 ;
17951 return 0;
17952 }
17953 _ACEOF
17954 rm -f conftest.$ac_objext
17955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17956 (eval $ac_compile) 2>conftest.er1
17957 ac_status=$?
17958 grep -v '^ *+' conftest.er1 >conftest.err
17959 rm -f conftest.er1
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } &&
17963 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17965 (eval $ac_try) 2>&5
17966 ac_status=$?
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); }; } &&
17969 { ac_try='test -s conftest.$ac_objext'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17972 ac_status=$?
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; }; then
17975 ac_cv_c_const=yes
17976 else
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.$ac_ext >&5
17979
17980 ac_cv_c_const=no
17981 fi
17982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17983 fi
17984 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17985 echo "${ECHO_T}$ac_cv_c_const" >&6
17986 if test $ac_cv_c_const = no; then
17987
17988 cat >>confdefs.h <<\_ACEOF
17989 #define const
17990 _ACEOF
17991
17992 fi
17993
17994 echo "$as_me:$LINENO: checking for inline" >&5
17995 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17996 if test "${ac_cv_c_inline+set}" = set; then
17997 echo $ECHO_N "(cached) $ECHO_C" >&6
17998 else
17999 ac_cv_c_inline=no
18000 for ac_kw in inline __inline__ __inline; do
18001 cat >conftest.$ac_ext <<_ACEOF
18002 /* confdefs.h. */
18003 _ACEOF
18004 cat confdefs.h >>conftest.$ac_ext
18005 cat >>conftest.$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 #ifndef __cplusplus
18008 typedef int foo_t;
18009 static $ac_kw foo_t static_foo () {return 0; }
18010 $ac_kw foo_t foo () {return 0; }
18011 #endif
18012
18013 _ACEOF
18014 rm -f conftest.$ac_objext
18015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18016 (eval $ac_compile) 2>conftest.er1
18017 ac_status=$?
18018 grep -v '^ *+' conftest.er1 >conftest.err
18019 rm -f conftest.er1
18020 cat conftest.err >&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } &&
18023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18026 ac_status=$?
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; } &&
18029 { ac_try='test -s conftest.$ac_objext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18032 ac_status=$?
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; }; then
18035 ac_cv_c_inline=$ac_kw; break
18036 else
18037 echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.$ac_ext >&5
18039
18040 fi
18041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18042 done
18043
18044 fi
18045 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18046 echo "${ECHO_T}$ac_cv_c_inline" >&6
18047
18048
18049 case $ac_cv_c_inline in
18050 inline | yes) ;;
18051 *)
18052 case $ac_cv_c_inline in
18053 no) ac_val=;;
18054 *) ac_val=$ac_cv_c_inline;;
18055 esac
18056 cat >>confdefs.h <<_ACEOF
18057 #ifndef __cplusplus
18058 #define inline $ac_val
18059 #endif
18060 _ACEOF
18061 ;;
18062 esac
18063
18064
18065 echo "$as_me:$LINENO: checking for char" >&5
18066 echo $ECHO_N "checking for char... $ECHO_C" >&6
18067 if test "${ac_cv_type_char+set}" = set; then
18068 echo $ECHO_N "(cached) $ECHO_C" >&6
18069 else
18070 cat >conftest.$ac_ext <<_ACEOF
18071 /* confdefs.h. */
18072 _ACEOF
18073 cat confdefs.h >>conftest.$ac_ext
18074 cat >>conftest.$ac_ext <<_ACEOF
18075 /* end confdefs.h. */
18076 $ac_includes_default
18077 int
18078 main ()
18079 {
18080 if ((char *) 0)
18081 return 0;
18082 if (sizeof (char))
18083 return 0;
18084 ;
18085 return 0;
18086 }
18087 _ACEOF
18088 rm -f conftest.$ac_objext
18089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18090 (eval $ac_compile) 2>conftest.er1
18091 ac_status=$?
18092 grep -v '^ *+' conftest.er1 >conftest.err
18093 rm -f conftest.er1
18094 cat conftest.err >&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } &&
18097 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18100 ac_status=$?
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; } &&
18103 { ac_try='test -s conftest.$ac_objext'
18104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18105 (eval $ac_try) 2>&5
18106 ac_status=$?
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); }; }; then
18109 ac_cv_type_char=yes
18110 else
18111 echo "$as_me: failed program was:" >&5
18112 sed 's/^/| /' conftest.$ac_ext >&5
18113
18114 ac_cv_type_char=no
18115 fi
18116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18117 fi
18118 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18119 echo "${ECHO_T}$ac_cv_type_char" >&6
18120
18121 echo "$as_me:$LINENO: checking size of char" >&5
18122 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18123 if test "${ac_cv_sizeof_char+set}" = set; then
18124 echo $ECHO_N "(cached) $ECHO_C" >&6
18125 else
18126 if test "$ac_cv_type_char" = yes; then
18127 # The cast to unsigned long works around a bug in the HP C Compiler
18128 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18129 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18130 # This bug is HP SR number 8606223364.
18131 if test "$cross_compiling" = yes; then
18132 # Depending upon the size, compute the lo and hi bounds.
18133 cat >conftest.$ac_ext <<_ACEOF
18134 /* confdefs.h. */
18135 _ACEOF
18136 cat confdefs.h >>conftest.$ac_ext
18137 cat >>conftest.$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 $ac_includes_default
18140 int
18141 main ()
18142 {
18143 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18144 test_array [0] = 0
18145
18146 ;
18147 return 0;
18148 }
18149 _ACEOF
18150 rm -f conftest.$ac_objext
18151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18152 (eval $ac_compile) 2>conftest.er1
18153 ac_status=$?
18154 grep -v '^ *+' conftest.er1 >conftest.err
18155 rm -f conftest.er1
18156 cat conftest.err >&5
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); } &&
18159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18161 (eval $ac_try) 2>&5
18162 ac_status=$?
18163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18164 (exit $ac_status); }; } &&
18165 { ac_try='test -s conftest.$ac_objext'
18166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18167 (eval $ac_try) 2>&5
18168 ac_status=$?
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); }; }; then
18171 ac_lo=0 ac_mid=0
18172 while :; do
18173 cat >conftest.$ac_ext <<_ACEOF
18174 /* confdefs.h. */
18175 _ACEOF
18176 cat confdefs.h >>conftest.$ac_ext
18177 cat >>conftest.$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179 $ac_includes_default
18180 int
18181 main ()
18182 {
18183 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18184 test_array [0] = 0
18185
18186 ;
18187 return 0;
18188 }
18189 _ACEOF
18190 rm -f conftest.$ac_objext
18191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18192 (eval $ac_compile) 2>conftest.er1
18193 ac_status=$?
18194 grep -v '^ *+' conftest.er1 >conftest.err
18195 rm -f conftest.er1
18196 cat conftest.err >&5
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); } &&
18199 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18202 ac_status=$?
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; } &&
18205 { ac_try='test -s conftest.$ac_objext'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18208 ac_status=$?
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; }; then
18211 ac_hi=$ac_mid; break
18212 else
18213 echo "$as_me: failed program was:" >&5
18214 sed 's/^/| /' conftest.$ac_ext >&5
18215
18216 ac_lo=`expr $ac_mid + 1`
18217 if test $ac_lo -le $ac_mid; then
18218 ac_lo= ac_hi=
18219 break
18220 fi
18221 ac_mid=`expr 2 '*' $ac_mid + 1`
18222 fi
18223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18224 done
18225 else
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.$ac_ext >&5
18228
18229 cat >conftest.$ac_ext <<_ACEOF
18230 /* confdefs.h. */
18231 _ACEOF
18232 cat confdefs.h >>conftest.$ac_ext
18233 cat >>conftest.$ac_ext <<_ACEOF
18234 /* end confdefs.h. */
18235 $ac_includes_default
18236 int
18237 main ()
18238 {
18239 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18240 test_array [0] = 0
18241
18242 ;
18243 return 0;
18244 }
18245 _ACEOF
18246 rm -f conftest.$ac_objext
18247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18248 (eval $ac_compile) 2>conftest.er1
18249 ac_status=$?
18250 grep -v '^ *+' conftest.er1 >conftest.err
18251 rm -f conftest.er1
18252 cat conftest.err >&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } &&
18255 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18257 (eval $ac_try) 2>&5
18258 ac_status=$?
18259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18260 (exit $ac_status); }; } &&
18261 { ac_try='test -s conftest.$ac_objext'
18262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18263 (eval $ac_try) 2>&5
18264 ac_status=$?
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); }; }; then
18267 ac_hi=-1 ac_mid=-1
18268 while :; do
18269 cat >conftest.$ac_ext <<_ACEOF
18270 /* confdefs.h. */
18271 _ACEOF
18272 cat confdefs.h >>conftest.$ac_ext
18273 cat >>conftest.$ac_ext <<_ACEOF
18274 /* end confdefs.h. */
18275 $ac_includes_default
18276 int
18277 main ()
18278 {
18279 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18280 test_array [0] = 0
18281
18282 ;
18283 return 0;
18284 }
18285 _ACEOF
18286 rm -f conftest.$ac_objext
18287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18288 (eval $ac_compile) 2>conftest.er1
18289 ac_status=$?
18290 grep -v '^ *+' conftest.er1 >conftest.err
18291 rm -f conftest.er1
18292 cat conftest.err >&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); } &&
18295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297 (eval $ac_try) 2>&5
18298 ac_status=$?
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; } &&
18301 { ac_try='test -s conftest.$ac_objext'
18302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303 (eval $ac_try) 2>&5
18304 ac_status=$?
18305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306 (exit $ac_status); }; }; then
18307 ac_lo=$ac_mid; break
18308 else
18309 echo "$as_me: failed program was:" >&5
18310 sed 's/^/| /' conftest.$ac_ext >&5
18311
18312 ac_hi=`expr '(' $ac_mid ')' - 1`
18313 if test $ac_mid -le $ac_hi; then
18314 ac_lo= ac_hi=
18315 break
18316 fi
18317 ac_mid=`expr 2 '*' $ac_mid`
18318 fi
18319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18320 done
18321 else
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.$ac_ext >&5
18324
18325 ac_lo= ac_hi=
18326 fi
18327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18328 fi
18329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18330 # Binary search between lo and hi bounds.
18331 while test "x$ac_lo" != "x$ac_hi"; do
18332 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18333 cat >conftest.$ac_ext <<_ACEOF
18334 /* confdefs.h. */
18335 _ACEOF
18336 cat confdefs.h >>conftest.$ac_ext
18337 cat >>conftest.$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18339 $ac_includes_default
18340 int
18341 main ()
18342 {
18343 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18344 test_array [0] = 0
18345
18346 ;
18347 return 0;
18348 }
18349 _ACEOF
18350 rm -f conftest.$ac_objext
18351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18352 (eval $ac_compile) 2>conftest.er1
18353 ac_status=$?
18354 grep -v '^ *+' conftest.er1 >conftest.err
18355 rm -f conftest.er1
18356 cat conftest.err >&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); } &&
18359 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18361 (eval $ac_try) 2>&5
18362 ac_status=$?
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); }; } &&
18365 { ac_try='test -s conftest.$ac_objext'
18366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18367 (eval $ac_try) 2>&5
18368 ac_status=$?
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); }; }; then
18371 ac_hi=$ac_mid
18372 else
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.$ac_ext >&5
18375
18376 ac_lo=`expr '(' $ac_mid ')' + 1`
18377 fi
18378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18379 done
18380 case $ac_lo in
18381 ?*) ac_cv_sizeof_char=$ac_lo;;
18382 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18383 See \`config.log' for more details." >&5
18384 echo "$as_me: error: cannot compute sizeof (char), 77
18385 See \`config.log' for more details." >&2;}
18386 { (exit 1); exit 1; }; } ;;
18387 esac
18388 else
18389 if test "$cross_compiling" = yes; then
18390 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18391 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18392 { (exit 1); exit 1; }; }
18393 else
18394 cat >conftest.$ac_ext <<_ACEOF
18395 /* confdefs.h. */
18396 _ACEOF
18397 cat confdefs.h >>conftest.$ac_ext
18398 cat >>conftest.$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18400 $ac_includes_default
18401 long longval () { return (long) (sizeof (char)); }
18402 unsigned long ulongval () { return (long) (sizeof (char)); }
18403 #include <stdio.h>
18404 #include <stdlib.h>
18405 int
18406 main ()
18407 {
18408
18409 FILE *f = fopen ("conftest.val", "w");
18410 if (! f)
18411 exit (1);
18412 if (((long) (sizeof (char))) < 0)
18413 {
18414 long i = longval ();
18415 if (i != ((long) (sizeof (char))))
18416 exit (1);
18417 fprintf (f, "%ld\n", i);
18418 }
18419 else
18420 {
18421 unsigned long i = ulongval ();
18422 if (i != ((long) (sizeof (char))))
18423 exit (1);
18424 fprintf (f, "%lu\n", i);
18425 }
18426 exit (ferror (f) || fclose (f) != 0);
18427
18428 ;
18429 return 0;
18430 }
18431 _ACEOF
18432 rm -f conftest$ac_exeext
18433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18434 (eval $ac_link) 2>&5
18435 ac_status=$?
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18439 (eval $ac_try) 2>&5
18440 ac_status=$?
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); }; }; then
18443 ac_cv_sizeof_char=`cat conftest.val`
18444 else
18445 echo "$as_me: program exited with status $ac_status" >&5
18446 echo "$as_me: failed program was:" >&5
18447 sed 's/^/| /' conftest.$ac_ext >&5
18448
18449 ( exit $ac_status )
18450 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18451 See \`config.log' for more details." >&5
18452 echo "$as_me: error: cannot compute sizeof (char), 77
18453 See \`config.log' for more details." >&2;}
18454 { (exit 1); exit 1; }; }
18455 fi
18456 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18457 fi
18458 fi
18459 rm -f conftest.val
18460 else
18461 ac_cv_sizeof_char=0
18462 fi
18463 fi
18464 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18465 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18466 cat >>confdefs.h <<_ACEOF
18467 #define SIZEOF_CHAR $ac_cv_sizeof_char
18468 _ACEOF
18469
18470
18471 echo "$as_me:$LINENO: checking for short" >&5
18472 echo $ECHO_N "checking for short... $ECHO_C" >&6
18473 if test "${ac_cv_type_short+set}" = set; then
18474 echo $ECHO_N "(cached) $ECHO_C" >&6
18475 else
18476 cat >conftest.$ac_ext <<_ACEOF
18477 /* confdefs.h. */
18478 _ACEOF
18479 cat confdefs.h >>conftest.$ac_ext
18480 cat >>conftest.$ac_ext <<_ACEOF
18481 /* end confdefs.h. */
18482 $ac_includes_default
18483 int
18484 main ()
18485 {
18486 if ((short *) 0)
18487 return 0;
18488 if (sizeof (short))
18489 return 0;
18490 ;
18491 return 0;
18492 }
18493 _ACEOF
18494 rm -f conftest.$ac_objext
18495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18496 (eval $ac_compile) 2>conftest.er1
18497 ac_status=$?
18498 grep -v '^ *+' conftest.er1 >conftest.err
18499 rm -f conftest.er1
18500 cat conftest.err >&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } &&
18503 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505 (eval $ac_try) 2>&5
18506 ac_status=$?
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); }; } &&
18509 { ac_try='test -s conftest.$ac_objext'
18510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18511 (eval $ac_try) 2>&5
18512 ac_status=$?
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); }; }; then
18515 ac_cv_type_short=yes
18516 else
18517 echo "$as_me: failed program was:" >&5
18518 sed 's/^/| /' conftest.$ac_ext >&5
18519
18520 ac_cv_type_short=no
18521 fi
18522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18523 fi
18524 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18525 echo "${ECHO_T}$ac_cv_type_short" >&6
18526
18527 echo "$as_me:$LINENO: checking size of short" >&5
18528 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18529 if test "${ac_cv_sizeof_short+set}" = set; then
18530 echo $ECHO_N "(cached) $ECHO_C" >&6
18531 else
18532 if test "$ac_cv_type_short" = yes; then
18533 # The cast to unsigned long works around a bug in the HP C Compiler
18534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18536 # This bug is HP SR number 8606223364.
18537 if test "$cross_compiling" = yes; then
18538 # Depending upon the size, compute the lo and hi bounds.
18539 cat >conftest.$ac_ext <<_ACEOF
18540 /* confdefs.h. */
18541 _ACEOF
18542 cat confdefs.h >>conftest.$ac_ext
18543 cat >>conftest.$ac_ext <<_ACEOF
18544 /* end confdefs.h. */
18545 $ac_includes_default
18546 int
18547 main ()
18548 {
18549 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18550 test_array [0] = 0
18551
18552 ;
18553 return 0;
18554 }
18555 _ACEOF
18556 rm -f conftest.$ac_objext
18557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18558 (eval $ac_compile) 2>conftest.er1
18559 ac_status=$?
18560 grep -v '^ *+' conftest.er1 >conftest.err
18561 rm -f conftest.er1
18562 cat conftest.err >&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); } &&
18565 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18568 ac_status=$?
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; } &&
18571 { ac_try='test -s conftest.$ac_objext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18574 ac_status=$?
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 ac_lo=0 ac_mid=0
18578 while :; do
18579 cat >conftest.$ac_ext <<_ACEOF
18580 /* confdefs.h. */
18581 _ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18585 $ac_includes_default
18586 int
18587 main ()
18588 {
18589 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18590 test_array [0] = 0
18591
18592 ;
18593 return 0;
18594 }
18595 _ACEOF
18596 rm -f conftest.$ac_objext
18597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18598 (eval $ac_compile) 2>conftest.er1
18599 ac_status=$?
18600 grep -v '^ *+' conftest.er1 >conftest.err
18601 rm -f conftest.er1
18602 cat conftest.err >&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } &&
18605 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18607 (eval $ac_try) 2>&5
18608 ac_status=$?
18609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610 (exit $ac_status); }; } &&
18611 { ac_try='test -s conftest.$ac_objext'
18612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18613 (eval $ac_try) 2>&5
18614 ac_status=$?
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); }; }; then
18617 ac_hi=$ac_mid; break
18618 else
18619 echo "$as_me: failed program was:" >&5
18620 sed 's/^/| /' conftest.$ac_ext >&5
18621
18622 ac_lo=`expr $ac_mid + 1`
18623 if test $ac_lo -le $ac_mid; then
18624 ac_lo= ac_hi=
18625 break
18626 fi
18627 ac_mid=`expr 2 '*' $ac_mid + 1`
18628 fi
18629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18630 done
18631 else
18632 echo "$as_me: failed program was:" >&5
18633 sed 's/^/| /' conftest.$ac_ext >&5
18634
18635 cat >conftest.$ac_ext <<_ACEOF
18636 /* confdefs.h. */
18637 _ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 $ac_includes_default
18642 int
18643 main ()
18644 {
18645 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18646 test_array [0] = 0
18647
18648 ;
18649 return 0;
18650 }
18651 _ACEOF
18652 rm -f conftest.$ac_objext
18653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18654 (eval $ac_compile) 2>conftest.er1
18655 ac_status=$?
18656 grep -v '^ *+' conftest.er1 >conftest.err
18657 rm -f conftest.er1
18658 cat conftest.err >&5
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); } &&
18661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 (eval $ac_try) 2>&5
18664 ac_status=$?
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); }; } &&
18667 { ac_try='test -s conftest.$ac_objext'
18668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18669 (eval $ac_try) 2>&5
18670 ac_status=$?
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18673 ac_hi=-1 ac_mid=-1
18674 while :; do
18675 cat >conftest.$ac_ext <<_ACEOF
18676 /* confdefs.h. */
18677 _ACEOF
18678 cat confdefs.h >>conftest.$ac_ext
18679 cat >>conftest.$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18681 $ac_includes_default
18682 int
18683 main ()
18684 {
18685 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18686 test_array [0] = 0
18687
18688 ;
18689 return 0;
18690 }
18691 _ACEOF
18692 rm -f conftest.$ac_objext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18694 (eval $ac_compile) 2>conftest.er1
18695 ac_status=$?
18696 grep -v '^ *+' conftest.er1 >conftest.err
18697 rm -f conftest.er1
18698 cat conftest.err >&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } &&
18701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18704 ac_status=$?
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; } &&
18707 { ac_try='test -s conftest.$ac_objext'
18708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709 (eval $ac_try) 2>&5
18710 ac_status=$?
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; }; then
18713 ac_lo=$ac_mid; break
18714 else
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.$ac_ext >&5
18717
18718 ac_hi=`expr '(' $ac_mid ')' - 1`
18719 if test $ac_mid -le $ac_hi; then
18720 ac_lo= ac_hi=
18721 break
18722 fi
18723 ac_mid=`expr 2 '*' $ac_mid`
18724 fi
18725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18726 done
18727 else
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.$ac_ext >&5
18730
18731 ac_lo= ac_hi=
18732 fi
18733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18734 fi
18735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18736 # Binary search between lo and hi bounds.
18737 while test "x$ac_lo" != "x$ac_hi"; do
18738 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18739 cat >conftest.$ac_ext <<_ACEOF
18740 /* confdefs.h. */
18741 _ACEOF
18742 cat confdefs.h >>conftest.$ac_ext
18743 cat >>conftest.$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18745 $ac_includes_default
18746 int
18747 main ()
18748 {
18749 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18750 test_array [0] = 0
18751
18752 ;
18753 return 0;
18754 }
18755 _ACEOF
18756 rm -f conftest.$ac_objext
18757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18758 (eval $ac_compile) 2>conftest.er1
18759 ac_status=$?
18760 grep -v '^ *+' conftest.er1 >conftest.err
18761 rm -f conftest.er1
18762 cat conftest.err >&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } &&
18765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18767 (eval $ac_try) 2>&5
18768 ac_status=$?
18769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770 (exit $ac_status); }; } &&
18771 { ac_try='test -s conftest.$ac_objext'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18774 ac_status=$?
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; }; then
18777 ac_hi=$ac_mid
18778 else
18779 echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.$ac_ext >&5
18781
18782 ac_lo=`expr '(' $ac_mid ')' + 1`
18783 fi
18784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18785 done
18786 case $ac_lo in
18787 ?*) ac_cv_sizeof_short=$ac_lo;;
18788 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18789 See \`config.log' for more details." >&5
18790 echo "$as_me: error: cannot compute sizeof (short), 77
18791 See \`config.log' for more details." >&2;}
18792 { (exit 1); exit 1; }; } ;;
18793 esac
18794 else
18795 if test "$cross_compiling" = yes; then
18796 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18797 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18798 { (exit 1); exit 1; }; }
18799 else
18800 cat >conftest.$ac_ext <<_ACEOF
18801 /* confdefs.h. */
18802 _ACEOF
18803 cat confdefs.h >>conftest.$ac_ext
18804 cat >>conftest.$ac_ext <<_ACEOF
18805 /* end confdefs.h. */
18806 $ac_includes_default
18807 long longval () { return (long) (sizeof (short)); }
18808 unsigned long ulongval () { return (long) (sizeof (short)); }
18809 #include <stdio.h>
18810 #include <stdlib.h>
18811 int
18812 main ()
18813 {
18814
18815 FILE *f = fopen ("conftest.val", "w");
18816 if (! f)
18817 exit (1);
18818 if (((long) (sizeof (short))) < 0)
18819 {
18820 long i = longval ();
18821 if (i != ((long) (sizeof (short))))
18822 exit (1);
18823 fprintf (f, "%ld\n", i);
18824 }
18825 else
18826 {
18827 unsigned long i = ulongval ();
18828 if (i != ((long) (sizeof (short))))
18829 exit (1);
18830 fprintf (f, "%lu\n", i);
18831 }
18832 exit (ferror (f) || fclose (f) != 0);
18833
18834 ;
18835 return 0;
18836 }
18837 _ACEOF
18838 rm -f conftest$ac_exeext
18839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18840 (eval $ac_link) 2>&5
18841 ac_status=$?
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845 (eval $ac_try) 2>&5
18846 ac_status=$?
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); }; }; then
18849 ac_cv_sizeof_short=`cat conftest.val`
18850 else
18851 echo "$as_me: program exited with status $ac_status" >&5
18852 echo "$as_me: failed program was:" >&5
18853 sed 's/^/| /' conftest.$ac_ext >&5
18854
18855 ( exit $ac_status )
18856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18857 See \`config.log' for more details." >&5
18858 echo "$as_me: error: cannot compute sizeof (short), 77
18859 See \`config.log' for more details." >&2;}
18860 { (exit 1); exit 1; }; }
18861 fi
18862 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18863 fi
18864 fi
18865 rm -f conftest.val
18866 else
18867 ac_cv_sizeof_short=0
18868 fi
18869 fi
18870 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18871 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18872 cat >>confdefs.h <<_ACEOF
18873 #define SIZEOF_SHORT $ac_cv_sizeof_short
18874 _ACEOF
18875
18876
18877 echo "$as_me:$LINENO: checking for void *" >&5
18878 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18879 if test "${ac_cv_type_void_p+set}" = set; then
18880 echo $ECHO_N "(cached) $ECHO_C" >&6
18881 else
18882 cat >conftest.$ac_ext <<_ACEOF
18883 /* confdefs.h. */
18884 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18889 int
18890 main ()
18891 {
18892 if ((void * *) 0)
18893 return 0;
18894 if (sizeof (void *))
18895 return 0;
18896 ;
18897 return 0;
18898 }
18899 _ACEOF
18900 rm -f conftest.$ac_objext
18901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18902 (eval $ac_compile) 2>conftest.er1
18903 ac_status=$?
18904 grep -v '^ *+' conftest.er1 >conftest.err
18905 rm -f conftest.er1
18906 cat conftest.err >&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } &&
18909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18911 (eval $ac_try) 2>&5
18912 ac_status=$?
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); }; } &&
18915 { ac_try='test -s conftest.$ac_objext'
18916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18917 (eval $ac_try) 2>&5
18918 ac_status=$?
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); }; }; then
18921 ac_cv_type_void_p=yes
18922 else
18923 echo "$as_me: failed program was:" >&5
18924 sed 's/^/| /' conftest.$ac_ext >&5
18925
18926 ac_cv_type_void_p=no
18927 fi
18928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18929 fi
18930 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18931 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18932
18933 echo "$as_me:$LINENO: checking size of void *" >&5
18934 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18935 if test "${ac_cv_sizeof_void_p+set}" = set; then
18936 echo $ECHO_N "(cached) $ECHO_C" >&6
18937 else
18938 if test "$ac_cv_type_void_p" = yes; then
18939 # The cast to unsigned long works around a bug in the HP C Compiler
18940 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18941 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18942 # This bug is HP SR number 8606223364.
18943 if test "$cross_compiling" = yes; then
18944 # Depending upon the size, compute the lo and hi bounds.
18945 cat >conftest.$ac_ext <<_ACEOF
18946 /* confdefs.h. */
18947 _ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951 $ac_includes_default
18952 int
18953 main ()
18954 {
18955 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18956 test_array [0] = 0
18957
18958 ;
18959 return 0;
18960 }
18961 _ACEOF
18962 rm -f conftest.$ac_objext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18964 (eval $ac_compile) 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18973 (eval $ac_try) 2>&5
18974 ac_status=$?
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); }; } &&
18977 { ac_try='test -s conftest.$ac_objext'
18978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18979 (eval $ac_try) 2>&5
18980 ac_status=$?
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); }; }; then
18983 ac_lo=0 ac_mid=0
18984 while :; do
18985 cat >conftest.$ac_ext <<_ACEOF
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 $ac_includes_default
18992 int
18993 main ()
18994 {
18995 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18996 test_array [0] = 0
18997
18998 ;
18999 return 0;
19000 }
19001 _ACEOF
19002 rm -f conftest.$ac_objext
19003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19004 (eval $ac_compile) 2>conftest.er1
19005 ac_status=$?
19006 grep -v '^ *+' conftest.er1 >conftest.err
19007 rm -f conftest.er1
19008 cat conftest.err >&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); } &&
19011 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19014 ac_status=$?
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; } &&
19017 { ac_try='test -s conftest.$ac_objext'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19020 ac_status=$?
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; }; then
19023 ac_hi=$ac_mid; break
19024 else
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.$ac_ext >&5
19027
19028 ac_lo=`expr $ac_mid + 1`
19029 if test $ac_lo -le $ac_mid; then
19030 ac_lo= ac_hi=
19031 break
19032 fi
19033 ac_mid=`expr 2 '*' $ac_mid + 1`
19034 fi
19035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19036 done
19037 else
19038 echo "$as_me: failed program was:" >&5
19039 sed 's/^/| /' conftest.$ac_ext >&5
19040
19041 cat >conftest.$ac_ext <<_ACEOF
19042 /* confdefs.h. */
19043 _ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19047 $ac_includes_default
19048 int
19049 main ()
19050 {
19051 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19052 test_array [0] = 0
19053
19054 ;
19055 return 0;
19056 }
19057 _ACEOF
19058 rm -f conftest.$ac_objext
19059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19060 (eval $ac_compile) 2>conftest.er1
19061 ac_status=$?
19062 grep -v '^ *+' conftest.er1 >conftest.err
19063 rm -f conftest.er1
19064 cat conftest.err >&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); } &&
19067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19070 ac_status=$?
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; } &&
19073 { ac_try='test -s conftest.$ac_objext'
19074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19075 (eval $ac_try) 2>&5
19076 ac_status=$?
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); }; }; then
19079 ac_hi=-1 ac_mid=-1
19080 while :; do
19081 cat >conftest.$ac_ext <<_ACEOF
19082 /* confdefs.h. */
19083 _ACEOF
19084 cat confdefs.h >>conftest.$ac_ext
19085 cat >>conftest.$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087 $ac_includes_default
19088 int
19089 main ()
19090 {
19091 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19092 test_array [0] = 0
19093
19094 ;
19095 return 0;
19096 }
19097 _ACEOF
19098 rm -f conftest.$ac_objext
19099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19100 (eval $ac_compile) 2>conftest.er1
19101 ac_status=$?
19102 grep -v '^ *+' conftest.er1 >conftest.err
19103 rm -f conftest.er1
19104 cat conftest.err >&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); } &&
19107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19109 (eval $ac_try) 2>&5
19110 ac_status=$?
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; } &&
19113 { ac_try='test -s conftest.$ac_objext'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19116 ac_status=$?
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; }; then
19119 ac_lo=$ac_mid; break
19120 else
19121 echo "$as_me: failed program was:" >&5
19122 sed 's/^/| /' conftest.$ac_ext >&5
19123
19124 ac_hi=`expr '(' $ac_mid ')' - 1`
19125 if test $ac_mid -le $ac_hi; then
19126 ac_lo= ac_hi=
19127 break
19128 fi
19129 ac_mid=`expr 2 '*' $ac_mid`
19130 fi
19131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19132 done
19133 else
19134 echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.$ac_ext >&5
19136
19137 ac_lo= ac_hi=
19138 fi
19139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19140 fi
19141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19142 # Binary search between lo and hi bounds.
19143 while test "x$ac_lo" != "x$ac_hi"; do
19144 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19145 cat >conftest.$ac_ext <<_ACEOF
19146 /* confdefs.h. */
19147 _ACEOF
19148 cat confdefs.h >>conftest.$ac_ext
19149 cat >>conftest.$ac_ext <<_ACEOF
19150 /* end confdefs.h. */
19151 $ac_includes_default
19152 int
19153 main ()
19154 {
19155 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19156 test_array [0] = 0
19157
19158 ;
19159 return 0;
19160 }
19161 _ACEOF
19162 rm -f conftest.$ac_objext
19163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19164 (eval $ac_compile) 2>conftest.er1
19165 ac_status=$?
19166 grep -v '^ *+' conftest.er1 >conftest.err
19167 rm -f conftest.er1
19168 cat conftest.err >&5
19169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19170 (exit $ac_status); } &&
19171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173 (eval $ac_try) 2>&5
19174 ac_status=$?
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); }; } &&
19177 { ac_try='test -s conftest.$ac_objext'
19178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179 (eval $ac_try) 2>&5
19180 ac_status=$?
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); }; }; then
19183 ac_hi=$ac_mid
19184 else
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19187
19188 ac_lo=`expr '(' $ac_mid ')' + 1`
19189 fi
19190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19191 done
19192 case $ac_lo in
19193 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19194 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19195 See \`config.log' for more details." >&5
19196 echo "$as_me: error: cannot compute sizeof (void *), 77
19197 See \`config.log' for more details." >&2;}
19198 { (exit 1); exit 1; }; } ;;
19199 esac
19200 else
19201 if test "$cross_compiling" = yes; then
19202 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19203 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19204 { (exit 1); exit 1; }; }
19205 else
19206 cat >conftest.$ac_ext <<_ACEOF
19207 /* confdefs.h. */
19208 _ACEOF
19209 cat confdefs.h >>conftest.$ac_ext
19210 cat >>conftest.$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19212 $ac_includes_default
19213 long longval () { return (long) (sizeof (void *)); }
19214 unsigned long ulongval () { return (long) (sizeof (void *)); }
19215 #include <stdio.h>
19216 #include <stdlib.h>
19217 int
19218 main ()
19219 {
19220
19221 FILE *f = fopen ("conftest.val", "w");
19222 if (! f)
19223 exit (1);
19224 if (((long) (sizeof (void *))) < 0)
19225 {
19226 long i = longval ();
19227 if (i != ((long) (sizeof (void *))))
19228 exit (1);
19229 fprintf (f, "%ld\n", i);
19230 }
19231 else
19232 {
19233 unsigned long i = ulongval ();
19234 if (i != ((long) (sizeof (void *))))
19235 exit (1);
19236 fprintf (f, "%lu\n", i);
19237 }
19238 exit (ferror (f) || fclose (f) != 0);
19239
19240 ;
19241 return 0;
19242 }
19243 _ACEOF
19244 rm -f conftest$ac_exeext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19246 (eval $ac_link) 2>&5
19247 ac_status=$?
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19252 ac_status=$?
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 ac_cv_sizeof_void_p=`cat conftest.val`
19256 else
19257 echo "$as_me: program exited with status $ac_status" >&5
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19260
19261 ( exit $ac_status )
19262 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19263 See \`config.log' for more details." >&5
19264 echo "$as_me: error: cannot compute sizeof (void *), 77
19265 See \`config.log' for more details." >&2;}
19266 { (exit 1); exit 1; }; }
19267 fi
19268 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19269 fi
19270 fi
19271 rm -f conftest.val
19272 else
19273 ac_cv_sizeof_void_p=0
19274 fi
19275 fi
19276 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19277 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19278 cat >>confdefs.h <<_ACEOF
19279 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19280 _ACEOF
19281
19282
19283 echo "$as_me:$LINENO: checking for int" >&5
19284 echo $ECHO_N "checking for int... $ECHO_C" >&6
19285 if test "${ac_cv_type_int+set}" = set; then
19286 echo $ECHO_N "(cached) $ECHO_C" >&6
19287 else
19288 cat >conftest.$ac_ext <<_ACEOF
19289 /* confdefs.h. */
19290 _ACEOF
19291 cat confdefs.h >>conftest.$ac_ext
19292 cat >>conftest.$ac_ext <<_ACEOF
19293 /* end confdefs.h. */
19294 $ac_includes_default
19295 int
19296 main ()
19297 {
19298 if ((int *) 0)
19299 return 0;
19300 if (sizeof (int))
19301 return 0;
19302 ;
19303 return 0;
19304 }
19305 _ACEOF
19306 rm -f conftest.$ac_objext
19307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19308 (eval $ac_compile) 2>conftest.er1
19309 ac_status=$?
19310 grep -v '^ *+' conftest.er1 >conftest.err
19311 rm -f conftest.er1
19312 cat conftest.err >&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } &&
19315 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19317 (eval $ac_try) 2>&5
19318 ac_status=$?
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); }; } &&
19321 { ac_try='test -s conftest.$ac_objext'
19322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19323 (eval $ac_try) 2>&5
19324 ac_status=$?
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); }; }; then
19327 ac_cv_type_int=yes
19328 else
19329 echo "$as_me: failed program was:" >&5
19330 sed 's/^/| /' conftest.$ac_ext >&5
19331
19332 ac_cv_type_int=no
19333 fi
19334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19335 fi
19336 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19337 echo "${ECHO_T}$ac_cv_type_int" >&6
19338
19339 echo "$as_me:$LINENO: checking size of int" >&5
19340 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19341 if test "${ac_cv_sizeof_int+set}" = set; then
19342 echo $ECHO_N "(cached) $ECHO_C" >&6
19343 else
19344 if test "$ac_cv_type_int" = yes; then
19345 # The cast to unsigned long works around a bug in the HP C Compiler
19346 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19347 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19348 # This bug is HP SR number 8606223364.
19349 if test "$cross_compiling" = yes; then
19350 # Depending upon the size, compute the lo and hi bounds.
19351 cat >conftest.$ac_ext <<_ACEOF
19352 /* confdefs.h. */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 $ac_includes_default
19358 int
19359 main ()
19360 {
19361 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19362 test_array [0] = 0
19363
19364 ;
19365 return 0;
19366 }
19367 _ACEOF
19368 rm -f conftest.$ac_objext
19369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19370 (eval $ac_compile) 2>conftest.er1
19371 ac_status=$?
19372 grep -v '^ *+' conftest.er1 >conftest.err
19373 rm -f conftest.er1
19374 cat conftest.err >&5
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); } &&
19377 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19379 (eval $ac_try) 2>&5
19380 ac_status=$?
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); }; } &&
19383 { ac_try='test -s conftest.$ac_objext'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19386 ac_status=$?
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; }; then
19389 ac_lo=0 ac_mid=0
19390 while :; do
19391 cat >conftest.$ac_ext <<_ACEOF
19392 /* confdefs.h. */
19393 _ACEOF
19394 cat confdefs.h >>conftest.$ac_ext
19395 cat >>conftest.$ac_ext <<_ACEOF
19396 /* end confdefs.h. */
19397 $ac_includes_default
19398 int
19399 main ()
19400 {
19401 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19402 test_array [0] = 0
19403
19404 ;
19405 return 0;
19406 }
19407 _ACEOF
19408 rm -f conftest.$ac_objext
19409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19410 (eval $ac_compile) 2>conftest.er1
19411 ac_status=$?
19412 grep -v '^ *+' conftest.er1 >conftest.err
19413 rm -f conftest.er1
19414 cat conftest.err >&5
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); } &&
19417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19419 (eval $ac_try) 2>&5
19420 ac_status=$?
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); }; } &&
19423 { ac_try='test -s conftest.$ac_objext'
19424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19425 (eval $ac_try) 2>&5
19426 ac_status=$?
19427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19428 (exit $ac_status); }; }; then
19429 ac_hi=$ac_mid; break
19430 else
19431 echo "$as_me: failed program was:" >&5
19432 sed 's/^/| /' conftest.$ac_ext >&5
19433
19434 ac_lo=`expr $ac_mid + 1`
19435 if test $ac_lo -le $ac_mid; then
19436 ac_lo= ac_hi=
19437 break
19438 fi
19439 ac_mid=`expr 2 '*' $ac_mid + 1`
19440 fi
19441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19442 done
19443 else
19444 echo "$as_me: failed program was:" >&5
19445 sed 's/^/| /' conftest.$ac_ext >&5
19446
19447 cat >conftest.$ac_ext <<_ACEOF
19448 /* confdefs.h. */
19449 _ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453 $ac_includes_default
19454 int
19455 main ()
19456 {
19457 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19458 test_array [0] = 0
19459
19460 ;
19461 return 0;
19462 }
19463 _ACEOF
19464 rm -f conftest.$ac_objext
19465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19466 (eval $ac_compile) 2>conftest.er1
19467 ac_status=$?
19468 grep -v '^ *+' conftest.er1 >conftest.err
19469 rm -f conftest.er1
19470 cat conftest.err >&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } &&
19473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19476 ac_status=$?
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; } &&
19479 { ac_try='test -s conftest.$ac_objext'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19482 ac_status=$?
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; }; then
19485 ac_hi=-1 ac_mid=-1
19486 while :; do
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 $ac_includes_default
19494 int
19495 main ()
19496 {
19497 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19498 test_array [0] = 0
19499
19500 ;
19501 return 0;
19502 }
19503 _ACEOF
19504 rm -f conftest.$ac_objext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19506 (eval $ac_compile) 2>conftest.er1
19507 ac_status=$?
19508 grep -v '^ *+' conftest.er1 >conftest.err
19509 rm -f conftest.er1
19510 cat conftest.err >&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515 (eval $ac_try) 2>&5
19516 ac_status=$?
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); }; } &&
19519 { ac_try='test -s conftest.$ac_objext'
19520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19521 (eval $ac_try) 2>&5
19522 ac_status=$?
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); }; }; then
19525 ac_lo=$ac_mid; break
19526 else
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.$ac_ext >&5
19529
19530 ac_hi=`expr '(' $ac_mid ')' - 1`
19531 if test $ac_mid -le $ac_hi; then
19532 ac_lo= ac_hi=
19533 break
19534 fi
19535 ac_mid=`expr 2 '*' $ac_mid`
19536 fi
19537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19538 done
19539 else
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19542
19543 ac_lo= ac_hi=
19544 fi
19545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19546 fi
19547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19548 # Binary search between lo and hi bounds.
19549 while test "x$ac_lo" != "x$ac_hi"; do
19550 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19551 cat >conftest.$ac_ext <<_ACEOF
19552 /* confdefs.h. */
19553 _ACEOF
19554 cat confdefs.h >>conftest.$ac_ext
19555 cat >>conftest.$ac_ext <<_ACEOF
19556 /* end confdefs.h. */
19557 $ac_includes_default
19558 int
19559 main ()
19560 {
19561 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19562 test_array [0] = 0
19563
19564 ;
19565 return 0;
19566 }
19567 _ACEOF
19568 rm -f conftest.$ac_objext
19569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19570 (eval $ac_compile) 2>conftest.er1
19571 ac_status=$?
19572 grep -v '^ *+' conftest.er1 >conftest.err
19573 rm -f conftest.er1
19574 cat conftest.err >&5
19575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19576 (exit $ac_status); } &&
19577 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19579 (eval $ac_try) 2>&5
19580 ac_status=$?
19581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19582 (exit $ac_status); }; } &&
19583 { ac_try='test -s conftest.$ac_objext'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19586 ac_status=$?
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; }; then
19589 ac_hi=$ac_mid
19590 else
19591 echo "$as_me: failed program was:" >&5
19592 sed 's/^/| /' conftest.$ac_ext >&5
19593
19594 ac_lo=`expr '(' $ac_mid ')' + 1`
19595 fi
19596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19597 done
19598 case $ac_lo in
19599 ?*) ac_cv_sizeof_int=$ac_lo;;
19600 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19601 See \`config.log' for more details." >&5
19602 echo "$as_me: error: cannot compute sizeof (int), 77
19603 See \`config.log' for more details." >&2;}
19604 { (exit 1); exit 1; }; } ;;
19605 esac
19606 else
19607 if test "$cross_compiling" = yes; then
19608 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19609 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19610 { (exit 1); exit 1; }; }
19611 else
19612 cat >conftest.$ac_ext <<_ACEOF
19613 /* confdefs.h. */
19614 _ACEOF
19615 cat confdefs.h >>conftest.$ac_ext
19616 cat >>conftest.$ac_ext <<_ACEOF
19617 /* end confdefs.h. */
19618 $ac_includes_default
19619 long longval () { return (long) (sizeof (int)); }
19620 unsigned long ulongval () { return (long) (sizeof (int)); }
19621 #include <stdio.h>
19622 #include <stdlib.h>
19623 int
19624 main ()
19625 {
19626
19627 FILE *f = fopen ("conftest.val", "w");
19628 if (! f)
19629 exit (1);
19630 if (((long) (sizeof (int))) < 0)
19631 {
19632 long i = longval ();
19633 if (i != ((long) (sizeof (int))))
19634 exit (1);
19635 fprintf (f, "%ld\n", i);
19636 }
19637 else
19638 {
19639 unsigned long i = ulongval ();
19640 if (i != ((long) (sizeof (int))))
19641 exit (1);
19642 fprintf (f, "%lu\n", i);
19643 }
19644 exit (ferror (f) || fclose (f) != 0);
19645
19646 ;
19647 return 0;
19648 }
19649 _ACEOF
19650 rm -f conftest$ac_exeext
19651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19652 (eval $ac_link) 2>&5
19653 ac_status=$?
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19657 (eval $ac_try) 2>&5
19658 ac_status=$?
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); }; }; then
19661 ac_cv_sizeof_int=`cat conftest.val`
19662 else
19663 echo "$as_me: program exited with status $ac_status" >&5
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.$ac_ext >&5
19666
19667 ( exit $ac_status )
19668 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19669 See \`config.log' for more details." >&5
19670 echo "$as_me: error: cannot compute sizeof (int), 77
19671 See \`config.log' for more details." >&2;}
19672 { (exit 1); exit 1; }; }
19673 fi
19674 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19675 fi
19676 fi
19677 rm -f conftest.val
19678 else
19679 ac_cv_sizeof_int=0
19680 fi
19681 fi
19682 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19683 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19684 cat >>confdefs.h <<_ACEOF
19685 #define SIZEOF_INT $ac_cv_sizeof_int
19686 _ACEOF
19687
19688
19689 echo "$as_me:$LINENO: checking for long" >&5
19690 echo $ECHO_N "checking for long... $ECHO_C" >&6
19691 if test "${ac_cv_type_long+set}" = set; then
19692 echo $ECHO_N "(cached) $ECHO_C" >&6
19693 else
19694 cat >conftest.$ac_ext <<_ACEOF
19695 /* confdefs.h. */
19696 _ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700 $ac_includes_default
19701 int
19702 main ()
19703 {
19704 if ((long *) 0)
19705 return 0;
19706 if (sizeof (long))
19707 return 0;
19708 ;
19709 return 0;
19710 }
19711 _ACEOF
19712 rm -f conftest.$ac_objext
19713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19714 (eval $ac_compile) 2>conftest.er1
19715 ac_status=$?
19716 grep -v '^ *+' conftest.er1 >conftest.err
19717 rm -f conftest.er1
19718 cat conftest.err >&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } &&
19721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19723 (eval $ac_try) 2>&5
19724 ac_status=$?
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); }; } &&
19727 { ac_try='test -s conftest.$ac_objext'
19728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19729 (eval $ac_try) 2>&5
19730 ac_status=$?
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); }; }; then
19733 ac_cv_type_long=yes
19734 else
19735 echo "$as_me: failed program was:" >&5
19736 sed 's/^/| /' conftest.$ac_ext >&5
19737
19738 ac_cv_type_long=no
19739 fi
19740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19741 fi
19742 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19743 echo "${ECHO_T}$ac_cv_type_long" >&6
19744
19745 echo "$as_me:$LINENO: checking size of long" >&5
19746 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19747 if test "${ac_cv_sizeof_long+set}" = set; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19749 else
19750 if test "$ac_cv_type_long" = yes; then
19751 # The cast to unsigned long works around a bug in the HP C Compiler
19752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19754 # This bug is HP SR number 8606223364.
19755 if test "$cross_compiling" = yes; then
19756 # Depending upon the size, compute the lo and hi bounds.
19757 cat >conftest.$ac_ext <<_ACEOF
19758 /* confdefs.h. */
19759 _ACEOF
19760 cat confdefs.h >>conftest.$ac_ext
19761 cat >>conftest.$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19763 $ac_includes_default
19764 int
19765 main ()
19766 {
19767 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19768 test_array [0] = 0
19769
19770 ;
19771 return 0;
19772 }
19773 _ACEOF
19774 rm -f conftest.$ac_objext
19775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19776 (eval $ac_compile) 2>conftest.er1
19777 ac_status=$?
19778 grep -v '^ *+' conftest.er1 >conftest.err
19779 rm -f conftest.er1
19780 cat conftest.err >&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); } &&
19783 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19785 (eval $ac_try) 2>&5
19786 ac_status=$?
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); }; } &&
19789 { ac_try='test -s conftest.$ac_objext'
19790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19791 (eval $ac_try) 2>&5
19792 ac_status=$?
19793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19794 (exit $ac_status); }; }; then
19795 ac_lo=0 ac_mid=0
19796 while :; do
19797 cat >conftest.$ac_ext <<_ACEOF
19798 /* confdefs.h. */
19799 _ACEOF
19800 cat confdefs.h >>conftest.$ac_ext
19801 cat >>conftest.$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19803 $ac_includes_default
19804 int
19805 main ()
19806 {
19807 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19808 test_array [0] = 0
19809
19810 ;
19811 return 0;
19812 }
19813 _ACEOF
19814 rm -f conftest.$ac_objext
19815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19816 (eval $ac_compile) 2>conftest.er1
19817 ac_status=$?
19818 grep -v '^ *+' conftest.er1 >conftest.err
19819 rm -f conftest.er1
19820 cat conftest.err >&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } &&
19823 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825 (eval $ac_try) 2>&5
19826 ac_status=$?
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; } &&
19829 { ac_try='test -s conftest.$ac_objext'
19830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19831 (eval $ac_try) 2>&5
19832 ac_status=$?
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); }; }; then
19835 ac_hi=$ac_mid; break
19836 else
19837 echo "$as_me: failed program was:" >&5
19838 sed 's/^/| /' conftest.$ac_ext >&5
19839
19840 ac_lo=`expr $ac_mid + 1`
19841 if test $ac_lo -le $ac_mid; then
19842 ac_lo= ac_hi=
19843 break
19844 fi
19845 ac_mid=`expr 2 '*' $ac_mid + 1`
19846 fi
19847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19848 done
19849 else
19850 echo "$as_me: failed program was:" >&5
19851 sed 's/^/| /' conftest.$ac_ext >&5
19852
19853 cat >conftest.$ac_ext <<_ACEOF
19854 /* confdefs.h. */
19855 _ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 $ac_includes_default
19860 int
19861 main ()
19862 {
19863 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19864 test_array [0] = 0
19865
19866 ;
19867 return 0;
19868 }
19869 _ACEOF
19870 rm -f conftest.$ac_objext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19872 (eval $ac_compile) 2>conftest.er1
19873 ac_status=$?
19874 grep -v '^ *+' conftest.er1 >conftest.err
19875 rm -f conftest.er1
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } &&
19879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19881 (eval $ac_try) 2>&5
19882 ac_status=$?
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); }; } &&
19885 { ac_try='test -s conftest.$ac_objext'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19888 ac_status=$?
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; }; then
19891 ac_hi=-1 ac_mid=-1
19892 while :; do
19893 cat >conftest.$ac_ext <<_ACEOF
19894 /* confdefs.h. */
19895 _ACEOF
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 $ac_includes_default
19900 int
19901 main ()
19902 {
19903 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19904 test_array [0] = 0
19905
19906 ;
19907 return 0;
19908 }
19909 _ACEOF
19910 rm -f conftest.$ac_objext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19912 (eval $ac_compile) 2>conftest.er1
19913 ac_status=$?
19914 grep -v '^ *+' conftest.er1 >conftest.err
19915 rm -f conftest.er1
19916 cat conftest.err >&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } &&
19919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19922 ac_status=$?
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; } &&
19925 { ac_try='test -s conftest.$ac_objext'
19926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19927 (eval $ac_try) 2>&5
19928 ac_status=$?
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); }; }; then
19931 ac_lo=$ac_mid; break
19932 else
19933 echo "$as_me: failed program was:" >&5
19934 sed 's/^/| /' conftest.$ac_ext >&5
19935
19936 ac_hi=`expr '(' $ac_mid ')' - 1`
19937 if test $ac_mid -le $ac_hi; then
19938 ac_lo= ac_hi=
19939 break
19940 fi
19941 ac_mid=`expr 2 '*' $ac_mid`
19942 fi
19943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19944 done
19945 else
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19948
19949 ac_lo= ac_hi=
19950 fi
19951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19952 fi
19953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19954 # Binary search between lo and hi bounds.
19955 while test "x$ac_lo" != "x$ac_hi"; do
19956 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19957 cat >conftest.$ac_ext <<_ACEOF
19958 /* confdefs.h. */
19959 _ACEOF
19960 cat confdefs.h >>conftest.$ac_ext
19961 cat >>conftest.$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19963 $ac_includes_default
19964 int
19965 main ()
19966 {
19967 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19968 test_array [0] = 0
19969
19970 ;
19971 return 0;
19972 }
19973 _ACEOF
19974 rm -f conftest.$ac_objext
19975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19976 (eval $ac_compile) 2>conftest.er1
19977 ac_status=$?
19978 grep -v '^ *+' conftest.er1 >conftest.err
19979 rm -f conftest.er1
19980 cat conftest.err >&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); } &&
19983 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19985 (eval $ac_try) 2>&5
19986 ac_status=$?
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); }; } &&
19989 { ac_try='test -s conftest.$ac_objext'
19990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19991 (eval $ac_try) 2>&5
19992 ac_status=$?
19993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19994 (exit $ac_status); }; }; then
19995 ac_hi=$ac_mid
19996 else
19997 echo "$as_me: failed program was:" >&5
19998 sed 's/^/| /' conftest.$ac_ext >&5
19999
20000 ac_lo=`expr '(' $ac_mid ')' + 1`
20001 fi
20002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20003 done
20004 case $ac_lo in
20005 ?*) ac_cv_sizeof_long=$ac_lo;;
20006 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20007 See \`config.log' for more details." >&5
20008 echo "$as_me: error: cannot compute sizeof (long), 77
20009 See \`config.log' for more details." >&2;}
20010 { (exit 1); exit 1; }; } ;;
20011 esac
20012 else
20013 if test "$cross_compiling" = yes; then
20014 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20015 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20016 { (exit 1); exit 1; }; }
20017 else
20018 cat >conftest.$ac_ext <<_ACEOF
20019 /* confdefs.h. */
20020 _ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 $ac_includes_default
20025 long longval () { return (long) (sizeof (long)); }
20026 unsigned long ulongval () { return (long) (sizeof (long)); }
20027 #include <stdio.h>
20028 #include <stdlib.h>
20029 int
20030 main ()
20031 {
20032
20033 FILE *f = fopen ("conftest.val", "w");
20034 if (! f)
20035 exit (1);
20036 if (((long) (sizeof (long))) < 0)
20037 {
20038 long i = longval ();
20039 if (i != ((long) (sizeof (long))))
20040 exit (1);
20041 fprintf (f, "%ld\n", i);
20042 }
20043 else
20044 {
20045 unsigned long i = ulongval ();
20046 if (i != ((long) (sizeof (long))))
20047 exit (1);
20048 fprintf (f, "%lu\n", i);
20049 }
20050 exit (ferror (f) || fclose (f) != 0);
20051
20052 ;
20053 return 0;
20054 }
20055 _ACEOF
20056 rm -f conftest$ac_exeext
20057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20058 (eval $ac_link) 2>&5
20059 ac_status=$?
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 (eval $ac_try) 2>&5
20064 ac_status=$?
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; }; then
20067 ac_cv_sizeof_long=`cat conftest.val`
20068 else
20069 echo "$as_me: program exited with status $ac_status" >&5
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.$ac_ext >&5
20072
20073 ( exit $ac_status )
20074 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20075 See \`config.log' for more details." >&5
20076 echo "$as_me: error: cannot compute sizeof (long), 77
20077 See \`config.log' for more details." >&2;}
20078 { (exit 1); exit 1; }; }
20079 fi
20080 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20081 fi
20082 fi
20083 rm -f conftest.val
20084 else
20085 ac_cv_sizeof_long=0
20086 fi
20087 fi
20088 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20089 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20090 cat >>confdefs.h <<_ACEOF
20091 #define SIZEOF_LONG $ac_cv_sizeof_long
20092 _ACEOF
20093
20094
20095 echo "$as_me:$LINENO: checking for size_t" >&5
20096 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20097 if test "${ac_cv_type_size_t+set}" = set; then
20098 echo $ECHO_N "(cached) $ECHO_C" >&6
20099 else
20100 cat >conftest.$ac_ext <<_ACEOF
20101 /* confdefs.h. */
20102 _ACEOF
20103 cat confdefs.h >>conftest.$ac_ext
20104 cat >>conftest.$ac_ext <<_ACEOF
20105 /* end confdefs.h. */
20106 $ac_includes_default
20107 int
20108 main ()
20109 {
20110 if ((size_t *) 0)
20111 return 0;
20112 if (sizeof (size_t))
20113 return 0;
20114 ;
20115 return 0;
20116 }
20117 _ACEOF
20118 rm -f conftest.$ac_objext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20120 (eval $ac_compile) 2>conftest.er1
20121 ac_status=$?
20122 grep -v '^ *+' conftest.er1 >conftest.err
20123 rm -f conftest.er1
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } &&
20127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20129 (eval $ac_try) 2>&5
20130 ac_status=$?
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); }; } &&
20133 { ac_try='test -s conftest.$ac_objext'
20134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20135 (eval $ac_try) 2>&5
20136 ac_status=$?
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); }; }; then
20139 ac_cv_type_size_t=yes
20140 else
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.$ac_ext >&5
20143
20144 ac_cv_type_size_t=no
20145 fi
20146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20147 fi
20148 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20149 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20150
20151 echo "$as_me:$LINENO: checking size of size_t" >&5
20152 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20153 if test "${ac_cv_sizeof_size_t+set}" = set; then
20154 echo $ECHO_N "(cached) $ECHO_C" >&6
20155 else
20156 if test "$ac_cv_type_size_t" = yes; then
20157 # The cast to unsigned long works around a bug in the HP C Compiler
20158 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20159 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20160 # This bug is HP SR number 8606223364.
20161 if test "$cross_compiling" = yes; then
20162 # Depending upon the size, compute the lo and hi bounds.
20163 cat >conftest.$ac_ext <<_ACEOF
20164 /* confdefs.h. */
20165 _ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 $ac_includes_default
20170 int
20171 main ()
20172 {
20173 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20174 test_array [0] = 0
20175
20176 ;
20177 return 0;
20178 }
20179 _ACEOF
20180 rm -f conftest.$ac_objext
20181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20182 (eval $ac_compile) 2>conftest.er1
20183 ac_status=$?
20184 grep -v '^ *+' conftest.er1 >conftest.err
20185 rm -f conftest.er1
20186 cat conftest.err >&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); } &&
20189 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20191 (eval $ac_try) 2>&5
20192 ac_status=$?
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; } &&
20195 { ac_try='test -s conftest.$ac_objext'
20196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20197 (eval $ac_try) 2>&5
20198 ac_status=$?
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); }; }; then
20201 ac_lo=0 ac_mid=0
20202 while :; do
20203 cat >conftest.$ac_ext <<_ACEOF
20204 /* confdefs.h. */
20205 _ACEOF
20206 cat confdefs.h >>conftest.$ac_ext
20207 cat >>conftest.$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20209 $ac_includes_default
20210 int
20211 main ()
20212 {
20213 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20214 test_array [0] = 0
20215
20216 ;
20217 return 0;
20218 }
20219 _ACEOF
20220 rm -f conftest.$ac_objext
20221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20222 (eval $ac_compile) 2>conftest.er1
20223 ac_status=$?
20224 grep -v '^ *+' conftest.er1 >conftest.err
20225 rm -f conftest.er1
20226 cat conftest.err >&5
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); } &&
20229 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20231 (eval $ac_try) 2>&5
20232 ac_status=$?
20233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20234 (exit $ac_status); }; } &&
20235 { ac_try='test -s conftest.$ac_objext'
20236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20237 (eval $ac_try) 2>&5
20238 ac_status=$?
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); }; }; then
20241 ac_hi=$ac_mid; break
20242 else
20243 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.$ac_ext >&5
20245
20246 ac_lo=`expr $ac_mid + 1`
20247 if test $ac_lo -le $ac_mid; then
20248 ac_lo= ac_hi=
20249 break
20250 fi
20251 ac_mid=`expr 2 '*' $ac_mid + 1`
20252 fi
20253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20254 done
20255 else
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20258
20259 cat >conftest.$ac_ext <<_ACEOF
20260 /* confdefs.h. */
20261 _ACEOF
20262 cat confdefs.h >>conftest.$ac_ext
20263 cat >>conftest.$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 $ac_includes_default
20266 int
20267 main ()
20268 {
20269 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20270 test_array [0] = 0
20271
20272 ;
20273 return 0;
20274 }
20275 _ACEOF
20276 rm -f conftest.$ac_objext
20277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20278 (eval $ac_compile) 2>conftest.er1
20279 ac_status=$?
20280 grep -v '^ *+' conftest.er1 >conftest.err
20281 rm -f conftest.er1
20282 cat conftest.err >&5
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); } &&
20285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20287 (eval $ac_try) 2>&5
20288 ac_status=$?
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); }; } &&
20291 { ac_try='test -s conftest.$ac_objext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20294 ac_status=$?
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20297 ac_hi=-1 ac_mid=-1
20298 while :; do
20299 cat >conftest.$ac_ext <<_ACEOF
20300 /* confdefs.h. */
20301 _ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 $ac_includes_default
20306 int
20307 main ()
20308 {
20309 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20310 test_array [0] = 0
20311
20312 ;
20313 return 0;
20314 }
20315 _ACEOF
20316 rm -f conftest.$ac_objext
20317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20318 (eval $ac_compile) 2>conftest.er1
20319 ac_status=$?
20320 grep -v '^ *+' conftest.er1 >conftest.err
20321 rm -f conftest.er1
20322 cat conftest.err >&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } &&
20325 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20328 ac_status=$?
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; } &&
20331 { ac_try='test -s conftest.$ac_objext'
20332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20333 (eval $ac_try) 2>&5
20334 ac_status=$?
20335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 (exit $ac_status); }; }; then
20337 ac_lo=$ac_mid; break
20338 else
20339 echo "$as_me: failed program was:" >&5
20340 sed 's/^/| /' conftest.$ac_ext >&5
20341
20342 ac_hi=`expr '(' $ac_mid ')' - 1`
20343 if test $ac_mid -le $ac_hi; then
20344 ac_lo= ac_hi=
20345 break
20346 fi
20347 ac_mid=`expr 2 '*' $ac_mid`
20348 fi
20349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20350 done
20351 else
20352 echo "$as_me: failed program was:" >&5
20353 sed 's/^/| /' conftest.$ac_ext >&5
20354
20355 ac_lo= ac_hi=
20356 fi
20357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20358 fi
20359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20360 # Binary search between lo and hi bounds.
20361 while test "x$ac_lo" != "x$ac_hi"; do
20362 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20363 cat >conftest.$ac_ext <<_ACEOF
20364 /* confdefs.h. */
20365 _ACEOF
20366 cat confdefs.h >>conftest.$ac_ext
20367 cat >>conftest.$ac_ext <<_ACEOF
20368 /* end confdefs.h. */
20369 $ac_includes_default
20370 int
20371 main ()
20372 {
20373 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20374 test_array [0] = 0
20375
20376 ;
20377 return 0;
20378 }
20379 _ACEOF
20380 rm -f conftest.$ac_objext
20381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20382 (eval $ac_compile) 2>conftest.er1
20383 ac_status=$?
20384 grep -v '^ *+' conftest.er1 >conftest.err
20385 rm -f conftest.er1
20386 cat conftest.err >&5
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); } &&
20389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20391 (eval $ac_try) 2>&5
20392 ac_status=$?
20393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20394 (exit $ac_status); }; } &&
20395 { ac_try='test -s conftest.$ac_objext'
20396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20397 (eval $ac_try) 2>&5
20398 ac_status=$?
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); }; }; then
20401 ac_hi=$ac_mid
20402 else
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.$ac_ext >&5
20405
20406 ac_lo=`expr '(' $ac_mid ')' + 1`
20407 fi
20408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20409 done
20410 case $ac_lo in
20411 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20412 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20413 See \`config.log' for more details." >&5
20414 echo "$as_me: error: cannot compute sizeof (size_t), 77
20415 See \`config.log' for more details." >&2;}
20416 { (exit 1); exit 1; }; } ;;
20417 esac
20418 else
20419 if test "$cross_compiling" = yes; then
20420 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20421 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20422 { (exit 1); exit 1; }; }
20423 else
20424 cat >conftest.$ac_ext <<_ACEOF
20425 /* confdefs.h. */
20426 _ACEOF
20427 cat confdefs.h >>conftest.$ac_ext
20428 cat >>conftest.$ac_ext <<_ACEOF
20429 /* end confdefs.h. */
20430 $ac_includes_default
20431 long longval () { return (long) (sizeof (size_t)); }
20432 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20433 #include <stdio.h>
20434 #include <stdlib.h>
20435 int
20436 main ()
20437 {
20438
20439 FILE *f = fopen ("conftest.val", "w");
20440 if (! f)
20441 exit (1);
20442 if (((long) (sizeof (size_t))) < 0)
20443 {
20444 long i = longval ();
20445 if (i != ((long) (sizeof (size_t))))
20446 exit (1);
20447 fprintf (f, "%ld\n", i);
20448 }
20449 else
20450 {
20451 unsigned long i = ulongval ();
20452 if (i != ((long) (sizeof (size_t))))
20453 exit (1);
20454 fprintf (f, "%lu\n", i);
20455 }
20456 exit (ferror (f) || fclose (f) != 0);
20457
20458 ;
20459 return 0;
20460 }
20461 _ACEOF
20462 rm -f conftest$ac_exeext
20463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20464 (eval $ac_link) 2>&5
20465 ac_status=$?
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20469 (eval $ac_try) 2>&5
20470 ac_status=$?
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); }; }; then
20473 ac_cv_sizeof_size_t=`cat conftest.val`
20474 else
20475 echo "$as_me: program exited with status $ac_status" >&5
20476 echo "$as_me: failed program was:" >&5
20477 sed 's/^/| /' conftest.$ac_ext >&5
20478
20479 ( exit $ac_status )
20480 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20481 See \`config.log' for more details." >&5
20482 echo "$as_me: error: cannot compute sizeof (size_t), 77
20483 See \`config.log' for more details." >&2;}
20484 { (exit 1); exit 1; }; }
20485 fi
20486 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20487 fi
20488 fi
20489 rm -f conftest.val
20490 else
20491 ac_cv_sizeof_size_t=0
20492 fi
20493 fi
20494 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20495 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20496 cat >>confdefs.h <<_ACEOF
20497 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20498 _ACEOF
20499
20500
20501
20502 case "${host}" in
20503 arm-*-linux* )
20504 echo "$as_me:$LINENO: checking for long long" >&5
20505 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20506 if test "${ac_cv_type_long_long+set}" = set; then
20507 echo $ECHO_N "(cached) $ECHO_C" >&6
20508 else
20509 cat >conftest.$ac_ext <<_ACEOF
20510 /* confdefs.h. */
20511 _ACEOF
20512 cat confdefs.h >>conftest.$ac_ext
20513 cat >>conftest.$ac_ext <<_ACEOF
20514 /* end confdefs.h. */
20515 $ac_includes_default
20516 int
20517 main ()
20518 {
20519 if ((long long *) 0)
20520 return 0;
20521 if (sizeof (long long))
20522 return 0;
20523 ;
20524 return 0;
20525 }
20526 _ACEOF
20527 rm -f conftest.$ac_objext
20528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20529 (eval $ac_compile) 2>conftest.er1
20530 ac_status=$?
20531 grep -v '^ *+' conftest.er1 >conftest.err
20532 rm -f conftest.er1
20533 cat conftest.err >&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); } &&
20536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20539 ac_status=$?
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; } &&
20542 { ac_try='test -s conftest.$ac_objext'
20543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20544 (eval $ac_try) 2>&5
20545 ac_status=$?
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; }; then
20548 ac_cv_type_long_long=yes
20549 else
20550 echo "$as_me: failed program was:" >&5
20551 sed 's/^/| /' conftest.$ac_ext >&5
20552
20553 ac_cv_type_long_long=no
20554 fi
20555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20556 fi
20557 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20558 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20559
20560 echo "$as_me:$LINENO: checking size of long long" >&5
20561 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20562 if test "${ac_cv_sizeof_long_long+set}" = set; then
20563 echo $ECHO_N "(cached) $ECHO_C" >&6
20564 else
20565 if test "$ac_cv_type_long_long" = yes; then
20566 # The cast to unsigned long works around a bug in the HP C Compiler
20567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20569 # This bug is HP SR number 8606223364.
20570 if test "$cross_compiling" = yes; then
20571 # Depending upon the size, compute the lo and hi bounds.
20572 cat >conftest.$ac_ext <<_ACEOF
20573 /* confdefs.h. */
20574 _ACEOF
20575 cat confdefs.h >>conftest.$ac_ext
20576 cat >>conftest.$ac_ext <<_ACEOF
20577 /* end confdefs.h. */
20578 $ac_includes_default
20579 int
20580 main ()
20581 {
20582 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20583 test_array [0] = 0
20584
20585 ;
20586 return 0;
20587 }
20588 _ACEOF
20589 rm -f conftest.$ac_objext
20590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20591 (eval $ac_compile) 2>conftest.er1
20592 ac_status=$?
20593 grep -v '^ *+' conftest.er1 >conftest.err
20594 rm -f conftest.er1
20595 cat conftest.err >&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); } &&
20598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20600 (eval $ac_try) 2>&5
20601 ac_status=$?
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; } &&
20604 { ac_try='test -s conftest.$ac_objext'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20607 ac_status=$?
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); }; }; then
20610 ac_lo=0 ac_mid=0
20611 while :; do
20612 cat >conftest.$ac_ext <<_ACEOF
20613 /* confdefs.h. */
20614 _ACEOF
20615 cat confdefs.h >>conftest.$ac_ext
20616 cat >>conftest.$ac_ext <<_ACEOF
20617 /* end confdefs.h. */
20618 $ac_includes_default
20619 int
20620 main ()
20621 {
20622 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20623 test_array [0] = 0
20624
20625 ;
20626 return 0;
20627 }
20628 _ACEOF
20629 rm -f conftest.$ac_objext
20630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20631 (eval $ac_compile) 2>conftest.er1
20632 ac_status=$?
20633 grep -v '^ *+' conftest.er1 >conftest.err
20634 rm -f conftest.er1
20635 cat conftest.err >&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } &&
20638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20640 (eval $ac_try) 2>&5
20641 ac_status=$?
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); }; } &&
20644 { ac_try='test -s conftest.$ac_objext'
20645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20646 (eval $ac_try) 2>&5
20647 ac_status=$?
20648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20649 (exit $ac_status); }; }; then
20650 ac_hi=$ac_mid; break
20651 else
20652 echo "$as_me: failed program was:" >&5
20653 sed 's/^/| /' conftest.$ac_ext >&5
20654
20655 ac_lo=`expr $ac_mid + 1`
20656 if test $ac_lo -le $ac_mid; then
20657 ac_lo= ac_hi=
20658 break
20659 fi
20660 ac_mid=`expr 2 '*' $ac_mid + 1`
20661 fi
20662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20663 done
20664 else
20665 echo "$as_me: failed program was:" >&5
20666 sed 's/^/| /' conftest.$ac_ext >&5
20667
20668 cat >conftest.$ac_ext <<_ACEOF
20669 /* confdefs.h. */
20670 _ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 int
20676 main ()
20677 {
20678 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20679 test_array [0] = 0
20680
20681 ;
20682 return 0;
20683 }
20684 _ACEOF
20685 rm -f conftest.$ac_objext
20686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20687 (eval $ac_compile) 2>conftest.er1
20688 ac_status=$?
20689 grep -v '^ *+' conftest.er1 >conftest.err
20690 rm -f conftest.er1
20691 cat conftest.err >&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } &&
20694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20696 (eval $ac_try) 2>&5
20697 ac_status=$?
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); }; } &&
20700 { ac_try='test -s conftest.$ac_objext'
20701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702 (eval $ac_try) 2>&5
20703 ac_status=$?
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; }; then
20706 ac_hi=-1 ac_mid=-1
20707 while :; do
20708 cat >conftest.$ac_ext <<_ACEOF
20709 /* confdefs.h. */
20710 _ACEOF
20711 cat confdefs.h >>conftest.$ac_ext
20712 cat >>conftest.$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 $ac_includes_default
20715 int
20716 main ()
20717 {
20718 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20719 test_array [0] = 0
20720
20721 ;
20722 return 0;
20723 }
20724 _ACEOF
20725 rm -f conftest.$ac_objext
20726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20727 (eval $ac_compile) 2>conftest.er1
20728 ac_status=$?
20729 grep -v '^ *+' conftest.er1 >conftest.err
20730 rm -f conftest.er1
20731 cat conftest.err >&5
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); } &&
20734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20736 (eval $ac_try) 2>&5
20737 ac_status=$?
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); }; } &&
20740 { ac_try='test -s conftest.$ac_objext'
20741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20742 (eval $ac_try) 2>&5
20743 ac_status=$?
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); }; }; then
20746 ac_lo=$ac_mid; break
20747 else
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.$ac_ext >&5
20750
20751 ac_hi=`expr '(' $ac_mid ')' - 1`
20752 if test $ac_mid -le $ac_hi; then
20753 ac_lo= ac_hi=
20754 break
20755 fi
20756 ac_mid=`expr 2 '*' $ac_mid`
20757 fi
20758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20759 done
20760 else
20761 echo "$as_me: failed program was:" >&5
20762 sed 's/^/| /' conftest.$ac_ext >&5
20763
20764 ac_lo= ac_hi=
20765 fi
20766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20767 fi
20768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20769 # Binary search between lo and hi bounds.
20770 while test "x$ac_lo" != "x$ac_hi"; do
20771 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20772 cat >conftest.$ac_ext <<_ACEOF
20773 /* confdefs.h. */
20774 _ACEOF
20775 cat confdefs.h >>conftest.$ac_ext
20776 cat >>conftest.$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 $ac_includes_default
20779 int
20780 main ()
20781 {
20782 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20783 test_array [0] = 0
20784
20785 ;
20786 return 0;
20787 }
20788 _ACEOF
20789 rm -f conftest.$ac_objext
20790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20791 (eval $ac_compile) 2>conftest.er1
20792 ac_status=$?
20793 grep -v '^ *+' conftest.er1 >conftest.err
20794 rm -f conftest.er1
20795 cat conftest.err >&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } &&
20798 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20801 ac_status=$?
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try='test -s conftest.$ac_objext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20807 ac_status=$?
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20810 ac_hi=$ac_mid
20811 else
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.$ac_ext >&5
20814
20815 ac_lo=`expr '(' $ac_mid ')' + 1`
20816 fi
20817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20818 done
20819 case $ac_lo in
20820 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20821 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20822 See \`config.log' for more details." >&5
20823 echo "$as_me: error: cannot compute sizeof (long long), 77
20824 See \`config.log' for more details." >&2;}
20825 { (exit 1); exit 1; }; } ;;
20826 esac
20827 else
20828 if test "$cross_compiling" = yes; then
20829 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20830 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20831 { (exit 1); exit 1; }; }
20832 else
20833 cat >conftest.$ac_ext <<_ACEOF
20834 /* confdefs.h. */
20835 _ACEOF
20836 cat confdefs.h >>conftest.$ac_ext
20837 cat >>conftest.$ac_ext <<_ACEOF
20838 /* end confdefs.h. */
20839 $ac_includes_default
20840 long longval () { return (long) (sizeof (long long)); }
20841 unsigned long ulongval () { return (long) (sizeof (long long)); }
20842 #include <stdio.h>
20843 #include <stdlib.h>
20844 int
20845 main ()
20846 {
20847
20848 FILE *f = fopen ("conftest.val", "w");
20849 if (! f)
20850 exit (1);
20851 if (((long) (sizeof (long long))) < 0)
20852 {
20853 long i = longval ();
20854 if (i != ((long) (sizeof (long long))))
20855 exit (1);
20856 fprintf (f, "%ld\n", i);
20857 }
20858 else
20859 {
20860 unsigned long i = ulongval ();
20861 if (i != ((long) (sizeof (long long))))
20862 exit (1);
20863 fprintf (f, "%lu\n", i);
20864 }
20865 exit (ferror (f) || fclose (f) != 0);
20866
20867 ;
20868 return 0;
20869 }
20870 _ACEOF
20871 rm -f conftest$ac_exeext
20872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20873 (eval $ac_link) 2>&5
20874 ac_status=$?
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20878 (eval $ac_try) 2>&5
20879 ac_status=$?
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); }; }; then
20882 ac_cv_sizeof_long_long=`cat conftest.val`
20883 else
20884 echo "$as_me: program exited with status $ac_status" >&5
20885 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.$ac_ext >&5
20887
20888 ( exit $ac_status )
20889 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20890 See \`config.log' for more details." >&5
20891 echo "$as_me: error: cannot compute sizeof (long long), 77
20892 See \`config.log' for more details." >&2;}
20893 { (exit 1); exit 1; }; }
20894 fi
20895 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20896 fi
20897 fi
20898 rm -f conftest.val
20899 else
20900 ac_cv_sizeof_long_long=0
20901 fi
20902 fi
20903 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20904 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20905 cat >>confdefs.h <<_ACEOF
20906 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20907 _ACEOF
20908
20909
20910 ;;
20911 *-hp-hpux* )
20912 echo "$as_me:$LINENO: checking for long long" >&5
20913 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20914 if test "${ac_cv_type_long_long+set}" = set; then
20915 echo $ECHO_N "(cached) $ECHO_C" >&6
20916 else
20917 cat >conftest.$ac_ext <<_ACEOF
20918 /* confdefs.h. */
20919 _ACEOF
20920 cat confdefs.h >>conftest.$ac_ext
20921 cat >>conftest.$ac_ext <<_ACEOF
20922 /* end confdefs.h. */
20923 $ac_includes_default
20924 int
20925 main ()
20926 {
20927 if ((long long *) 0)
20928 return 0;
20929 if (sizeof (long long))
20930 return 0;
20931 ;
20932 return 0;
20933 }
20934 _ACEOF
20935 rm -f conftest.$ac_objext
20936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20937 (eval $ac_compile) 2>conftest.er1
20938 ac_status=$?
20939 grep -v '^ *+' conftest.er1 >conftest.err
20940 rm -f conftest.er1
20941 cat conftest.err >&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } &&
20944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20947 ac_status=$?
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; } &&
20950 { ac_try='test -s conftest.$ac_objext'
20951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20952 (eval $ac_try) 2>&5
20953 ac_status=$?
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; }; then
20956 ac_cv_type_long_long=yes
20957 else
20958 echo "$as_me: failed program was:" >&5
20959 sed 's/^/| /' conftest.$ac_ext >&5
20960
20961 ac_cv_type_long_long=no
20962 fi
20963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20964 fi
20965 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20966 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20967
20968 echo "$as_me:$LINENO: checking size of long long" >&5
20969 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20970 if test "${ac_cv_sizeof_long_long+set}" = set; then
20971 echo $ECHO_N "(cached) $ECHO_C" >&6
20972 else
20973 if test "$ac_cv_type_long_long" = yes; then
20974 # The cast to unsigned long works around a bug in the HP C Compiler
20975 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20976 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20977 # This bug is HP SR number 8606223364.
20978 if test "$cross_compiling" = yes; then
20979 # Depending upon the size, compute the lo and hi bounds.
20980 cat >conftest.$ac_ext <<_ACEOF
20981 /* confdefs.h. */
20982 _ACEOF
20983 cat confdefs.h >>conftest.$ac_ext
20984 cat >>conftest.$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 $ac_includes_default
20987 int
20988 main ()
20989 {
20990 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20991 test_array [0] = 0
20992
20993 ;
20994 return 0;
20995 }
20996 _ACEOF
20997 rm -f conftest.$ac_objext
20998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20999 (eval $ac_compile) 2>conftest.er1
21000 ac_status=$?
21001 grep -v '^ *+' conftest.er1 >conftest.err
21002 rm -f conftest.er1
21003 cat conftest.err >&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } &&
21006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21008 (eval $ac_try) 2>&5
21009 ac_status=$?
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); }; } &&
21012 { ac_try='test -s conftest.$ac_objext'
21013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21014 (eval $ac_try) 2>&5
21015 ac_status=$?
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); }; }; then
21018 ac_lo=0 ac_mid=0
21019 while :; do
21020 cat >conftest.$ac_ext <<_ACEOF
21021 /* confdefs.h. */
21022 _ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h. */
21026 $ac_includes_default
21027 int
21028 main ()
21029 {
21030 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21031 test_array [0] = 0
21032
21033 ;
21034 return 0;
21035 }
21036 _ACEOF
21037 rm -f conftest.$ac_objext
21038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21039 (eval $ac_compile) 2>conftest.er1
21040 ac_status=$?
21041 grep -v '^ *+' conftest.er1 >conftest.err
21042 rm -f conftest.er1
21043 cat conftest.err >&5
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); } &&
21046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21048 (eval $ac_try) 2>&5
21049 ac_status=$?
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); }; } &&
21052 { ac_try='test -s conftest.$ac_objext'
21053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21054 (eval $ac_try) 2>&5
21055 ac_status=$?
21056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21057 (exit $ac_status); }; }; then
21058 ac_hi=$ac_mid; break
21059 else
21060 echo "$as_me: failed program was:" >&5
21061 sed 's/^/| /' conftest.$ac_ext >&5
21062
21063 ac_lo=`expr $ac_mid + 1`
21064 if test $ac_lo -le $ac_mid; then
21065 ac_lo= ac_hi=
21066 break
21067 fi
21068 ac_mid=`expr 2 '*' $ac_mid + 1`
21069 fi
21070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21071 done
21072 else
21073 echo "$as_me: failed program was:" >&5
21074 sed 's/^/| /' conftest.$ac_ext >&5
21075
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 $ac_includes_default
21083 int
21084 main ()
21085 {
21086 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21087 test_array [0] = 0
21088
21089 ;
21090 return 0;
21091 }
21092 _ACEOF
21093 rm -f conftest.$ac_objext
21094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21095 (eval $ac_compile) 2>conftest.er1
21096 ac_status=$?
21097 grep -v '^ *+' conftest.er1 >conftest.err
21098 rm -f conftest.er1
21099 cat conftest.err >&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } &&
21102 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21104 (eval $ac_try) 2>&5
21105 ac_status=$?
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; } &&
21108 { ac_try='test -s conftest.$ac_objext'
21109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110 (eval $ac_try) 2>&5
21111 ac_status=$?
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; }; then
21114 ac_hi=-1 ac_mid=-1
21115 while :; do
21116 cat >conftest.$ac_ext <<_ACEOF
21117 /* confdefs.h. */
21118 _ACEOF
21119 cat confdefs.h >>conftest.$ac_ext
21120 cat >>conftest.$ac_ext <<_ACEOF
21121 /* end confdefs.h. */
21122 $ac_includes_default
21123 int
21124 main ()
21125 {
21126 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21127 test_array [0] = 0
21128
21129 ;
21130 return 0;
21131 }
21132 _ACEOF
21133 rm -f conftest.$ac_objext
21134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21135 (eval $ac_compile) 2>conftest.er1
21136 ac_status=$?
21137 grep -v '^ *+' conftest.er1 >conftest.err
21138 rm -f conftest.er1
21139 cat conftest.err >&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); } &&
21142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144 (eval $ac_try) 2>&5
21145 ac_status=$?
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; } &&
21148 { ac_try='test -s conftest.$ac_objext'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21151 ac_status=$?
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; }; then
21154 ac_lo=$ac_mid; break
21155 else
21156 echo "$as_me: failed program was:" >&5
21157 sed 's/^/| /' conftest.$ac_ext >&5
21158
21159 ac_hi=`expr '(' $ac_mid ')' - 1`
21160 if test $ac_mid -le $ac_hi; then
21161 ac_lo= ac_hi=
21162 break
21163 fi
21164 ac_mid=`expr 2 '*' $ac_mid`
21165 fi
21166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21167 done
21168 else
21169 echo "$as_me: failed program was:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21171
21172 ac_lo= ac_hi=
21173 fi
21174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21175 fi
21176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21177 # Binary search between lo and hi bounds.
21178 while test "x$ac_lo" != "x$ac_hi"; do
21179 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21180 cat >conftest.$ac_ext <<_ACEOF
21181 /* confdefs.h. */
21182 _ACEOF
21183 cat confdefs.h >>conftest.$ac_ext
21184 cat >>conftest.$ac_ext <<_ACEOF
21185 /* end confdefs.h. */
21186 $ac_includes_default
21187 int
21188 main ()
21189 {
21190 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21191 test_array [0] = 0
21192
21193 ;
21194 return 0;
21195 }
21196 _ACEOF
21197 rm -f conftest.$ac_objext
21198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21199 (eval $ac_compile) 2>conftest.er1
21200 ac_status=$?
21201 grep -v '^ *+' conftest.er1 >conftest.err
21202 rm -f conftest.er1
21203 cat conftest.err >&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); } &&
21206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21208 (eval $ac_try) 2>&5
21209 ac_status=$?
21210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21211 (exit $ac_status); }; } &&
21212 { ac_try='test -s conftest.$ac_objext'
21213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21214 (eval $ac_try) 2>&5
21215 ac_status=$?
21216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21217 (exit $ac_status); }; }; then
21218 ac_hi=$ac_mid
21219 else
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.$ac_ext >&5
21222
21223 ac_lo=`expr '(' $ac_mid ')' + 1`
21224 fi
21225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21226 done
21227 case $ac_lo in
21228 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21229 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21230 See \`config.log' for more details." >&5
21231 echo "$as_me: error: cannot compute sizeof (long long), 77
21232 See \`config.log' for more details." >&2;}
21233 { (exit 1); exit 1; }; } ;;
21234 esac
21235 else
21236 if test "$cross_compiling" = yes; then
21237 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21238 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21239 { (exit 1); exit 1; }; }
21240 else
21241 cat >conftest.$ac_ext <<_ACEOF
21242 /* confdefs.h. */
21243 _ACEOF
21244 cat confdefs.h >>conftest.$ac_ext
21245 cat >>conftest.$ac_ext <<_ACEOF
21246 /* end confdefs.h. */
21247 $ac_includes_default
21248 long longval () { return (long) (sizeof (long long)); }
21249 unsigned long ulongval () { return (long) (sizeof (long long)); }
21250 #include <stdio.h>
21251 #include <stdlib.h>
21252 int
21253 main ()
21254 {
21255
21256 FILE *f = fopen ("conftest.val", "w");
21257 if (! f)
21258 exit (1);
21259 if (((long) (sizeof (long long))) < 0)
21260 {
21261 long i = longval ();
21262 if (i != ((long) (sizeof (long long))))
21263 exit (1);
21264 fprintf (f, "%ld\n", i);
21265 }
21266 else
21267 {
21268 unsigned long i = ulongval ();
21269 if (i != ((long) (sizeof (long long))))
21270 exit (1);
21271 fprintf (f, "%lu\n", i);
21272 }
21273 exit (ferror (f) || fclose (f) != 0);
21274
21275 ;
21276 return 0;
21277 }
21278 _ACEOF
21279 rm -f conftest$ac_exeext
21280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21281 (eval $ac_link) 2>&5
21282 ac_status=$?
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21286 (eval $ac_try) 2>&5
21287 ac_status=$?
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); }; }; then
21290 ac_cv_sizeof_long_long=`cat conftest.val`
21291 else
21292 echo "$as_me: program exited with status $ac_status" >&5
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.$ac_ext >&5
21295
21296 ( exit $ac_status )
21297 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21298 See \`config.log' for more details." >&5
21299 echo "$as_me: error: cannot compute sizeof (long long), 77
21300 See \`config.log' for more details." >&2;}
21301 { (exit 1); exit 1; }; }
21302 fi
21303 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21304 fi
21305 fi
21306 rm -f conftest.val
21307 else
21308 ac_cv_sizeof_long_long=0
21309 fi
21310 fi
21311 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21312 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21313 cat >>confdefs.h <<_ACEOF
21314 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21315 _ACEOF
21316
21317
21318 if test "$ac_cv_sizeof_long_long" != "0"; then
21319 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21320 fi
21321 ;;
21322 * )
21323 echo "$as_me:$LINENO: checking for long long" >&5
21324 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21325 if test "${ac_cv_type_long_long+set}" = set; then
21326 echo $ECHO_N "(cached) $ECHO_C" >&6
21327 else
21328 cat >conftest.$ac_ext <<_ACEOF
21329 /* confdefs.h. */
21330 _ACEOF
21331 cat confdefs.h >>conftest.$ac_ext
21332 cat >>conftest.$ac_ext <<_ACEOF
21333 /* end confdefs.h. */
21334 $ac_includes_default
21335 int
21336 main ()
21337 {
21338 if ((long long *) 0)
21339 return 0;
21340 if (sizeof (long long))
21341 return 0;
21342 ;
21343 return 0;
21344 }
21345 _ACEOF
21346 rm -f conftest.$ac_objext
21347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21348 (eval $ac_compile) 2>conftest.er1
21349 ac_status=$?
21350 grep -v '^ *+' conftest.er1 >conftest.err
21351 rm -f conftest.er1
21352 cat conftest.err >&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21357 (eval $ac_try) 2>&5
21358 ac_status=$?
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); }; } &&
21361 { ac_try='test -s conftest.$ac_objext'
21362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21363 (eval $ac_try) 2>&5
21364 ac_status=$?
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); }; }; then
21367 ac_cv_type_long_long=yes
21368 else
21369 echo "$as_me: failed program was:" >&5
21370 sed 's/^/| /' conftest.$ac_ext >&5
21371
21372 ac_cv_type_long_long=no
21373 fi
21374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21375 fi
21376 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21377 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21378
21379 echo "$as_me:$LINENO: checking size of long long" >&5
21380 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21381 if test "${ac_cv_sizeof_long_long+set}" = set; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21383 else
21384 if test "$ac_cv_type_long_long" = yes; then
21385 # The cast to unsigned long works around a bug in the HP C Compiler
21386 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21387 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21388 # This bug is HP SR number 8606223364.
21389 if test "$cross_compiling" = yes; then
21390 # Depending upon the size, compute the lo and hi bounds.
21391 cat >conftest.$ac_ext <<_ACEOF
21392 /* confdefs.h. */
21393 _ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 $ac_includes_default
21398 int
21399 main ()
21400 {
21401 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21402 test_array [0] = 0
21403
21404 ;
21405 return 0;
21406 }
21407 _ACEOF
21408 rm -f conftest.$ac_objext
21409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21410 (eval $ac_compile) 2>conftest.er1
21411 ac_status=$?
21412 grep -v '^ *+' conftest.er1 >conftest.err
21413 rm -f conftest.er1
21414 cat conftest.err >&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); } &&
21417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21420 ac_status=$?
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; } &&
21423 { ac_try='test -s conftest.$ac_objext'
21424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425 (eval $ac_try) 2>&5
21426 ac_status=$?
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); }; }; then
21429 ac_lo=0 ac_mid=0
21430 while :; do
21431 cat >conftest.$ac_ext <<_ACEOF
21432 /* confdefs.h. */
21433 _ACEOF
21434 cat confdefs.h >>conftest.$ac_ext
21435 cat >>conftest.$ac_ext <<_ACEOF
21436 /* end confdefs.h. */
21437 $ac_includes_default
21438 int
21439 main ()
21440 {
21441 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21442 test_array [0] = 0
21443
21444 ;
21445 return 0;
21446 }
21447 _ACEOF
21448 rm -f conftest.$ac_objext
21449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21450 (eval $ac_compile) 2>conftest.er1
21451 ac_status=$?
21452 grep -v '^ *+' conftest.er1 >conftest.err
21453 rm -f conftest.er1
21454 cat conftest.err >&5
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); } &&
21457 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21459 (eval $ac_try) 2>&5
21460 ac_status=$?
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); }; } &&
21463 { ac_try='test -s conftest.$ac_objext'
21464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21465 (eval $ac_try) 2>&5
21466 ac_status=$?
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; }; then
21469 ac_hi=$ac_mid; break
21470 else
21471 echo "$as_me: failed program was:" >&5
21472 sed 's/^/| /' conftest.$ac_ext >&5
21473
21474 ac_lo=`expr $ac_mid + 1`
21475 if test $ac_lo -le $ac_mid; then
21476 ac_lo= ac_hi=
21477 break
21478 fi
21479 ac_mid=`expr 2 '*' $ac_mid + 1`
21480 fi
21481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21482 done
21483 else
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21486
21487 cat >conftest.$ac_ext <<_ACEOF
21488 /* confdefs.h. */
21489 _ACEOF
21490 cat confdefs.h >>conftest.$ac_ext
21491 cat >>conftest.$ac_ext <<_ACEOF
21492 /* end confdefs.h. */
21493 $ac_includes_default
21494 int
21495 main ()
21496 {
21497 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21498 test_array [0] = 0
21499
21500 ;
21501 return 0;
21502 }
21503 _ACEOF
21504 rm -f conftest.$ac_objext
21505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21506 (eval $ac_compile) 2>conftest.er1
21507 ac_status=$?
21508 grep -v '^ *+' conftest.er1 >conftest.err
21509 rm -f conftest.er1
21510 cat conftest.err >&5
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); } &&
21513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21515 (eval $ac_try) 2>&5
21516 ac_status=$?
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; } &&
21519 { ac_try='test -s conftest.$ac_objext'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21522 ac_status=$?
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; }; then
21525 ac_hi=-1 ac_mid=-1
21526 while :; do
21527 cat >conftest.$ac_ext <<_ACEOF
21528 /* confdefs.h. */
21529 _ACEOF
21530 cat confdefs.h >>conftest.$ac_ext
21531 cat >>conftest.$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21533 $ac_includes_default
21534 int
21535 main ()
21536 {
21537 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21538 test_array [0] = 0
21539
21540 ;
21541 return 0;
21542 }
21543 _ACEOF
21544 rm -f conftest.$ac_objext
21545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21546 (eval $ac_compile) 2>conftest.er1
21547 ac_status=$?
21548 grep -v '^ *+' conftest.er1 >conftest.err
21549 rm -f conftest.er1
21550 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } &&
21553 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21555 (eval $ac_try) 2>&5
21556 ac_status=$?
21557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21558 (exit $ac_status); }; } &&
21559 { ac_try='test -s conftest.$ac_objext'
21560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21561 (eval $ac_try) 2>&5
21562 ac_status=$?
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 ac_lo=$ac_mid; break
21566 else
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.$ac_ext >&5
21569
21570 ac_hi=`expr '(' $ac_mid ')' - 1`
21571 if test $ac_mid -le $ac_hi; then
21572 ac_lo= ac_hi=
21573 break
21574 fi
21575 ac_mid=`expr 2 '*' $ac_mid`
21576 fi
21577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21578 done
21579 else
21580 echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.$ac_ext >&5
21582
21583 ac_lo= ac_hi=
21584 fi
21585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21586 fi
21587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21588 # Binary search between lo and hi bounds.
21589 while test "x$ac_lo" != "x$ac_hi"; do
21590 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21591 cat >conftest.$ac_ext <<_ACEOF
21592 /* confdefs.h. */
21593 _ACEOF
21594 cat confdefs.h >>conftest.$ac_ext
21595 cat >>conftest.$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21597 $ac_includes_default
21598 int
21599 main ()
21600 {
21601 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21602 test_array [0] = 0
21603
21604 ;
21605 return 0;
21606 }
21607 _ACEOF
21608 rm -f conftest.$ac_objext
21609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21610 (eval $ac_compile) 2>conftest.er1
21611 ac_status=$?
21612 grep -v '^ *+' conftest.er1 >conftest.err
21613 rm -f conftest.er1
21614 cat conftest.err >&5
21615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21616 (exit $ac_status); } &&
21617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21619 (eval $ac_try) 2>&5
21620 ac_status=$?
21621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21622 (exit $ac_status); }; } &&
21623 { ac_try='test -s conftest.$ac_objext'
21624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21625 (eval $ac_try) 2>&5
21626 ac_status=$?
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); }; }; then
21629 ac_hi=$ac_mid
21630 else
21631 echo "$as_me: failed program was:" >&5
21632 sed 's/^/| /' conftest.$ac_ext >&5
21633
21634 ac_lo=`expr '(' $ac_mid ')' + 1`
21635 fi
21636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21637 done
21638 case $ac_lo in
21639 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21640 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21641 See \`config.log' for more details." >&5
21642 echo "$as_me: error: cannot compute sizeof (long long), 77
21643 See \`config.log' for more details." >&2;}
21644 { (exit 1); exit 1; }; } ;;
21645 esac
21646 else
21647 if test "$cross_compiling" = yes; then
21648 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21649 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21650 { (exit 1); exit 1; }; }
21651 else
21652 cat >conftest.$ac_ext <<_ACEOF
21653 /* confdefs.h. */
21654 _ACEOF
21655 cat confdefs.h >>conftest.$ac_ext
21656 cat >>conftest.$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21658 $ac_includes_default
21659 long longval () { return (long) (sizeof (long long)); }
21660 unsigned long ulongval () { return (long) (sizeof (long long)); }
21661 #include <stdio.h>
21662 #include <stdlib.h>
21663 int
21664 main ()
21665 {
21666
21667 FILE *f = fopen ("conftest.val", "w");
21668 if (! f)
21669 exit (1);
21670 if (((long) (sizeof (long long))) < 0)
21671 {
21672 long i = longval ();
21673 if (i != ((long) (sizeof (long long))))
21674 exit (1);
21675 fprintf (f, "%ld\n", i);
21676 }
21677 else
21678 {
21679 unsigned long i = ulongval ();
21680 if (i != ((long) (sizeof (long long))))
21681 exit (1);
21682 fprintf (f, "%lu\n", i);
21683 }
21684 exit (ferror (f) || fclose (f) != 0);
21685
21686 ;
21687 return 0;
21688 }
21689 _ACEOF
21690 rm -f conftest$ac_exeext
21691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21692 (eval $ac_link) 2>&5
21693 ac_status=$?
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21697 (eval $ac_try) 2>&5
21698 ac_status=$?
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); }; }; then
21701 ac_cv_sizeof_long_long=`cat conftest.val`
21702 else
21703 echo "$as_me: program exited with status $ac_status" >&5
21704 echo "$as_me: failed program was:" >&5
21705 sed 's/^/| /' conftest.$ac_ext >&5
21706
21707 ( exit $ac_status )
21708 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21709 See \`config.log' for more details." >&5
21710 echo "$as_me: error: cannot compute sizeof (long long), 77
21711 See \`config.log' for more details." >&2;}
21712 { (exit 1); exit 1; }; }
21713 fi
21714 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21715 fi
21716 fi
21717 rm -f conftest.val
21718 else
21719 ac_cv_sizeof_long_long=0
21720 fi
21721 fi
21722 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21723 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21724 cat >>confdefs.h <<_ACEOF
21725 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21726 _ACEOF
21727
21728
21729 esac
21730
21731 echo "$as_me:$LINENO: checking for wchar_t" >&5
21732 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21733 if test "${ac_cv_type_wchar_t+set}" = set; then
21734 echo $ECHO_N "(cached) $ECHO_C" >&6
21735 else
21736 cat >conftest.$ac_ext <<_ACEOF
21737 /* confdefs.h. */
21738 _ACEOF
21739 cat confdefs.h >>conftest.$ac_ext
21740 cat >>conftest.$ac_ext <<_ACEOF
21741 /* end confdefs.h. */
21742
21743 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21744 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21745 # error "fake wchar_t"
21746 #endif
21747 #ifdef HAVE_WCHAR_H
21748 # ifdef __CYGWIN__
21749 # include <stddef.h>
21750 # endif
21751 # include <wchar.h>
21752 #endif
21753 #ifdef HAVE_STDLIB_H
21754 # include <stdlib.h>
21755 #endif
21756 #include <stdio.h>
21757
21758
21759
21760 int
21761 main ()
21762 {
21763 if ((wchar_t *) 0)
21764 return 0;
21765 if (sizeof (wchar_t))
21766 return 0;
21767 ;
21768 return 0;
21769 }
21770 _ACEOF
21771 rm -f conftest.$ac_objext
21772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21773 (eval $ac_compile) 2>conftest.er1
21774 ac_status=$?
21775 grep -v '^ *+' conftest.er1 >conftest.err
21776 rm -f conftest.er1
21777 cat conftest.err >&5
21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 (exit $ac_status); } &&
21780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21782 (eval $ac_try) 2>&5
21783 ac_status=$?
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; } &&
21786 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21792 ac_cv_type_wchar_t=yes
21793 else
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.$ac_ext >&5
21796
21797 ac_cv_type_wchar_t=no
21798 fi
21799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21800 fi
21801 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21802 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21803
21804 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21805 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21806 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21807 echo $ECHO_N "(cached) $ECHO_C" >&6
21808 else
21809 if test "$ac_cv_type_wchar_t" = yes; then
21810 # The cast to unsigned long works around a bug in the HP C Compiler
21811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21813 # This bug is HP SR number 8606223364.
21814 if test "$cross_compiling" = yes; then
21815 # Depending upon the size, compute the lo and hi bounds.
21816 cat >conftest.$ac_ext <<_ACEOF
21817 /* confdefs.h. */
21818 _ACEOF
21819 cat confdefs.h >>conftest.$ac_ext
21820 cat >>conftest.$ac_ext <<_ACEOF
21821 /* end confdefs.h. */
21822
21823 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21824 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21825 # error "fake wchar_t"
21826 #endif
21827 #ifdef HAVE_WCHAR_H
21828 # ifdef __CYGWIN__
21829 # include <stddef.h>
21830 # endif
21831 # include <wchar.h>
21832 #endif
21833 #ifdef HAVE_STDLIB_H
21834 # include <stdlib.h>
21835 #endif
21836 #include <stdio.h>
21837
21838
21839
21840 int
21841 main ()
21842 {
21843 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21844 test_array [0] = 0
21845
21846 ;
21847 return 0;
21848 }
21849 _ACEOF
21850 rm -f conftest.$ac_objext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21852 (eval $ac_compile) 2>conftest.er1
21853 ac_status=$?
21854 grep -v '^ *+' conftest.er1 >conftest.err
21855 rm -f conftest.er1
21856 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } &&
21859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21861 (eval $ac_try) 2>&5
21862 ac_status=$?
21863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864 (exit $ac_status); }; } &&
21865 { ac_try='test -s conftest.$ac_objext'
21866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21867 (eval $ac_try) 2>&5
21868 ac_status=$?
21869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21870 (exit $ac_status); }; }; then
21871 ac_lo=0 ac_mid=0
21872 while :; do
21873 cat >conftest.$ac_ext <<_ACEOF
21874 /* confdefs.h. */
21875 _ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879
21880 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21881 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21882 # error "fake wchar_t"
21883 #endif
21884 #ifdef HAVE_WCHAR_H
21885 # ifdef __CYGWIN__
21886 # include <stddef.h>
21887 # endif
21888 # include <wchar.h>
21889 #endif
21890 #ifdef HAVE_STDLIB_H
21891 # include <stdlib.h>
21892 #endif
21893 #include <stdio.h>
21894
21895
21896
21897 int
21898 main ()
21899 {
21900 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21901 test_array [0] = 0
21902
21903 ;
21904 return 0;
21905 }
21906 _ACEOF
21907 rm -f conftest.$ac_objext
21908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21909 (eval $ac_compile) 2>conftest.er1
21910 ac_status=$?
21911 grep -v '^ *+' conftest.er1 >conftest.err
21912 rm -f conftest.er1
21913 cat conftest.err >&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); } &&
21916 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21918 (eval $ac_try) 2>&5
21919 ac_status=$?
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); }; } &&
21922 { ac_try='test -s conftest.$ac_objext'
21923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924 (eval $ac_try) 2>&5
21925 ac_status=$?
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; }; then
21928 ac_hi=$ac_mid; break
21929 else
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21932
21933 ac_lo=`expr $ac_mid + 1`
21934 if test $ac_lo -le $ac_mid; then
21935 ac_lo= ac_hi=
21936 break
21937 fi
21938 ac_mid=`expr 2 '*' $ac_mid + 1`
21939 fi
21940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21941 done
21942 else
21943 echo "$as_me: failed program was:" >&5
21944 sed 's/^/| /' conftest.$ac_ext >&5
21945
21946 cat >conftest.$ac_ext <<_ACEOF
21947 /* confdefs.h. */
21948 _ACEOF
21949 cat confdefs.h >>conftest.$ac_ext
21950 cat >>conftest.$ac_ext <<_ACEOF
21951 /* end confdefs.h. */
21952
21953 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21954 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21955 # error "fake wchar_t"
21956 #endif
21957 #ifdef HAVE_WCHAR_H
21958 # ifdef __CYGWIN__
21959 # include <stddef.h>
21960 # endif
21961 # include <wchar.h>
21962 #endif
21963 #ifdef HAVE_STDLIB_H
21964 # include <stdlib.h>
21965 #endif
21966 #include <stdio.h>
21967
21968
21969
21970 int
21971 main ()
21972 {
21973 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21974 test_array [0] = 0
21975
21976 ;
21977 return 0;
21978 }
21979 _ACEOF
21980 rm -f conftest.$ac_objext
21981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21982 (eval $ac_compile) 2>conftest.er1
21983 ac_status=$?
21984 grep -v '^ *+' conftest.er1 >conftest.err
21985 rm -f conftest.er1
21986 cat conftest.err >&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } &&
21989 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21992 ac_status=$?
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; } &&
21995 { ac_try='test -s conftest.$ac_objext'
21996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21997 (eval $ac_try) 2>&5
21998 ac_status=$?
21999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22000 (exit $ac_status); }; }; then
22001 ac_hi=-1 ac_mid=-1
22002 while :; do
22003 cat >conftest.$ac_ext <<_ACEOF
22004 /* confdefs.h. */
22005 _ACEOF
22006 cat confdefs.h >>conftest.$ac_ext
22007 cat >>conftest.$ac_ext <<_ACEOF
22008 /* end confdefs.h. */
22009
22010 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22011 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22012 # error "fake wchar_t"
22013 #endif
22014 #ifdef HAVE_WCHAR_H
22015 # ifdef __CYGWIN__
22016 # include <stddef.h>
22017 # endif
22018 # include <wchar.h>
22019 #endif
22020 #ifdef HAVE_STDLIB_H
22021 # include <stdlib.h>
22022 #endif
22023 #include <stdio.h>
22024
22025
22026
22027 int
22028 main ()
22029 {
22030 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22031 test_array [0] = 0
22032
22033 ;
22034 return 0;
22035 }
22036 _ACEOF
22037 rm -f conftest.$ac_objext
22038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22039 (eval $ac_compile) 2>conftest.er1
22040 ac_status=$?
22041 grep -v '^ *+' conftest.er1 >conftest.err
22042 rm -f conftest.er1
22043 cat conftest.err >&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } &&
22046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22048 (eval $ac_try) 2>&5
22049 ac_status=$?
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; } &&
22052 { ac_try='test -s conftest.$ac_objext'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22055 ac_status=$?
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; }; then
22058 ac_lo=$ac_mid; break
22059 else
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.$ac_ext >&5
22062
22063 ac_hi=`expr '(' $ac_mid ')' - 1`
22064 if test $ac_mid -le $ac_hi; then
22065 ac_lo= ac_hi=
22066 break
22067 fi
22068 ac_mid=`expr 2 '*' $ac_mid`
22069 fi
22070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22071 done
22072 else
22073 echo "$as_me: failed program was:" >&5
22074 sed 's/^/| /' conftest.$ac_ext >&5
22075
22076 ac_lo= ac_hi=
22077 fi
22078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22079 fi
22080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22081 # Binary search between lo and hi bounds.
22082 while test "x$ac_lo" != "x$ac_hi"; do
22083 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22084 cat >conftest.$ac_ext <<_ACEOF
22085 /* confdefs.h. */
22086 _ACEOF
22087 cat confdefs.h >>conftest.$ac_ext
22088 cat >>conftest.$ac_ext <<_ACEOF
22089 /* end confdefs.h. */
22090
22091 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22092 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22093 # error "fake wchar_t"
22094 #endif
22095 #ifdef HAVE_WCHAR_H
22096 # ifdef __CYGWIN__
22097 # include <stddef.h>
22098 # endif
22099 # include <wchar.h>
22100 #endif
22101 #ifdef HAVE_STDLIB_H
22102 # include <stdlib.h>
22103 #endif
22104 #include <stdio.h>
22105
22106
22107
22108 int
22109 main ()
22110 {
22111 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22112 test_array [0] = 0
22113
22114 ;
22115 return 0;
22116 }
22117 _ACEOF
22118 rm -f conftest.$ac_objext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22120 (eval $ac_compile) 2>conftest.er1
22121 ac_status=$?
22122 grep -v '^ *+' conftest.er1 >conftest.err
22123 rm -f conftest.er1
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } &&
22127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22129 (eval $ac_try) 2>&5
22130 ac_status=$?
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); }; } &&
22133 { ac_try='test -s conftest.$ac_objext'
22134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22135 (eval $ac_try) 2>&5
22136 ac_status=$?
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); }; }; then
22139 ac_hi=$ac_mid
22140 else
22141 echo "$as_me: failed program was:" >&5
22142 sed 's/^/| /' conftest.$ac_ext >&5
22143
22144 ac_lo=`expr '(' $ac_mid ')' + 1`
22145 fi
22146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22147 done
22148 case $ac_lo in
22149 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22150 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22151 See \`config.log' for more details." >&5
22152 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22153 See \`config.log' for more details." >&2;}
22154 { (exit 1); exit 1; }; } ;;
22155 esac
22156 else
22157 if test "$cross_compiling" = yes; then
22158 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22159 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22160 { (exit 1); exit 1; }; }
22161 else
22162 cat >conftest.$ac_ext <<_ACEOF
22163 /* confdefs.h. */
22164 _ACEOF
22165 cat confdefs.h >>conftest.$ac_ext
22166 cat >>conftest.$ac_ext <<_ACEOF
22167 /* end confdefs.h. */
22168
22169 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22170 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22171 # error "fake wchar_t"
22172 #endif
22173 #ifdef HAVE_WCHAR_H
22174 # ifdef __CYGWIN__
22175 # include <stddef.h>
22176 # endif
22177 # include <wchar.h>
22178 #endif
22179 #ifdef HAVE_STDLIB_H
22180 # include <stdlib.h>
22181 #endif
22182 #include <stdio.h>
22183
22184
22185
22186 long longval () { return (long) (sizeof (wchar_t)); }
22187 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22188 #include <stdio.h>
22189 #include <stdlib.h>
22190 int
22191 main ()
22192 {
22193
22194 FILE *f = fopen ("conftest.val", "w");
22195 if (! f)
22196 exit (1);
22197 if (((long) (sizeof (wchar_t))) < 0)
22198 {
22199 long i = longval ();
22200 if (i != ((long) (sizeof (wchar_t))))
22201 exit (1);
22202 fprintf (f, "%ld\n", i);
22203 }
22204 else
22205 {
22206 unsigned long i = ulongval ();
22207 if (i != ((long) (sizeof (wchar_t))))
22208 exit (1);
22209 fprintf (f, "%lu\n", i);
22210 }
22211 exit (ferror (f) || fclose (f) != 0);
22212
22213 ;
22214 return 0;
22215 }
22216 _ACEOF
22217 rm -f conftest$ac_exeext
22218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22219 (eval $ac_link) 2>&5
22220 ac_status=$?
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22224 (eval $ac_try) 2>&5
22225 ac_status=$?
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); }; }; then
22228 ac_cv_sizeof_wchar_t=`cat conftest.val`
22229 else
22230 echo "$as_me: program exited with status $ac_status" >&5
22231 echo "$as_me: failed program was:" >&5
22232 sed 's/^/| /' conftest.$ac_ext >&5
22233
22234 ( exit $ac_status )
22235 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22236 See \`config.log' for more details." >&5
22237 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22238 See \`config.log' for more details." >&2;}
22239 { (exit 1); exit 1; }; }
22240 fi
22241 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22242 fi
22243 fi
22244 rm -f conftest.val
22245 else
22246 ac_cv_sizeof_wchar_t=0
22247 fi
22248 fi
22249 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22250 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22251 cat >>confdefs.h <<_ACEOF
22252 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22253 _ACEOF
22254
22255
22256 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22257 wxUSE_WCHAR_T=yes
22258 else
22259 wxUSE_WCHAR_T=no
22260 fi
22261
22262 echo "$as_me:$LINENO: checking for va_copy" >&5
22263 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22264 if test "${wx_cv_func_va_copy+set}" = set; then
22265 echo $ECHO_N "(cached) $ECHO_C" >&6
22266 else
22267
22268 cat >conftest.$ac_ext <<_ACEOF
22269
22270 #include <stdarg.h>
22271 void foo(char *f, ...)
22272 {
22273 va_list ap1, ap2;
22274 va_start(ap1, f);
22275 va_copy(ap2, ap1);
22276 va_end(ap2);
22277 va_end(ap1);
22278 }
22279 int main()
22280 {
22281 foo("hi", 17);
22282 return 0;
22283 }
22284 _ACEOF
22285 rm -f conftest.$ac_objext conftest$ac_exeext
22286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22287 (eval $ac_link) 2>conftest.er1
22288 ac_status=$?
22289 grep -v '^ *+' conftest.er1 >conftest.err
22290 rm -f conftest.er1
22291 cat conftest.err >&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } &&
22294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296 (eval $ac_try) 2>&5
22297 ac_status=$?
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); }; } &&
22300 { ac_try='test -s conftest$ac_exeext'
22301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22302 (eval $ac_try) 2>&5
22303 ac_status=$?
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); }; }; then
22306 wx_cv_func_va_copy=yes
22307 else
22308 echo "$as_me: failed program was:" >&5
22309 sed 's/^/| /' conftest.$ac_ext >&5
22310
22311 wx_cv_func_va_copy=no
22312
22313 fi
22314 rm -f conftest.err conftest.$ac_objext \
22315 conftest$ac_exeext conftest.$ac_ext
22316
22317
22318 fi
22319 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22320 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22321
22322 if test $wx_cv_func_va_copy = "yes"; then
22323 cat >>confdefs.h <<\_ACEOF
22324 #define HAVE_VA_COPY 1
22325 _ACEOF
22326
22327 else
22328 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22329 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22330 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22331 echo $ECHO_N "(cached) $ECHO_C" >&6
22332 else
22333
22334 if test "$cross_compiling" = yes; then
22335 wx_cv_type_va_list_lvalue=yes
22336
22337 else
22338 cat >conftest.$ac_ext <<_ACEOF
22339
22340 #include <stdarg.h>
22341 int foo(char *f, ...)
22342 {
22343 va_list ap1, ap2;
22344 va_start(ap1, f);
22345 ap2 = ap1;
22346 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22347 return 1;
22348 va_end(ap2);
22349 va_end(ap1);
22350 return 0;
22351 }
22352 int main()
22353 {
22354 return foo("hi", 17);
22355 }
22356 _ACEOF
22357 rm -f conftest$ac_exeext
22358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22359 (eval $ac_link) 2>&5
22360 ac_status=$?
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22364 (eval $ac_try) 2>&5
22365 ac_status=$?
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); }; }; then
22368 wx_cv_type_va_list_lvalue=yes
22369 else
22370 echo "$as_me: program exited with status $ac_status" >&5
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.$ac_ext >&5
22373
22374 ( exit $ac_status )
22375 wx_cv_type_va_list_lvalue=no
22376 fi
22377 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22378 fi
22379
22380
22381 fi
22382 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22383 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22384
22385 if test $wx_cv_type_va_list_lvalue != "yes"; then
22386 cat >>confdefs.h <<\_ACEOF
22387 #define VA_LIST_IS_ARRAY 1
22388 _ACEOF
22389
22390 fi
22391 fi
22392
22393 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22394 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22395 if test "${wx_cv_have_variadic_macros+set}" = set; then
22396 echo $ECHO_N "(cached) $ECHO_C" >&6
22397 else
22398
22399 cat >conftest.$ac_ext <<_ACEOF
22400 /* confdefs.h. */
22401 _ACEOF
22402 cat confdefs.h >>conftest.$ac_ext
22403 cat >>conftest.$ac_ext <<_ACEOF
22404 /* end confdefs.h. */
22405
22406 #include <stdio.h>
22407 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22408
22409 int
22410 main ()
22411 {
22412
22413 test("%s %d %p", "test", 1, 0);
22414
22415
22416 ;
22417 return 0;
22418 }
22419 _ACEOF
22420 rm -f conftest.$ac_objext
22421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22422 (eval $ac_compile) 2>conftest.er1
22423 ac_status=$?
22424 grep -v '^ *+' conftest.er1 >conftest.err
22425 rm -f conftest.er1
22426 cat conftest.err >&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } &&
22429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22432 ac_status=$?
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; } &&
22435 { ac_try='test -s conftest.$ac_objext'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; }; then
22441 wx_cv_have_variadic_macros=yes
22442 else
22443 echo "$as_me: failed program was:" >&5
22444 sed 's/^/| /' conftest.$ac_ext >&5
22445
22446 wx_cv_have_variadic_macros=no
22447
22448 fi
22449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22450
22451
22452 fi
22453 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22454 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22455
22456 if test $wx_cv_have_variadic_macros = "yes"; then
22457 cat >>confdefs.h <<\_ACEOF
22458 #define HAVE_VARIADIC_MACROS 1
22459 _ACEOF
22460
22461 fi
22462
22463 # Check whether --enable-largefile or --disable-largefile was given.
22464 if test "${enable_largefile+set}" = set; then
22465 enableval="$enable_largefile"
22466
22467 fi;
22468 if test "$enable_largefile" != no; then
22469 wx_largefile=no
22470
22471 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22472 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22473 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22474 echo $ECHO_N "(cached) $ECHO_C" >&6
22475 else
22476
22477 cat >conftest.$ac_ext <<_ACEOF
22478 /* confdefs.h. */
22479 _ACEOF
22480 cat confdefs.h >>conftest.$ac_ext
22481 cat >>conftest.$ac_ext <<_ACEOF
22482 /* end confdefs.h. */
22483 #define _FILE_OFFSET_BITS 64
22484 #include <sys/types.h>
22485 int
22486 main ()
22487 {
22488 typedef struct {
22489 unsigned int field: sizeof(off_t) == 8;
22490 } wxlf;
22491
22492 ;
22493 return 0;
22494 }
22495 _ACEOF
22496 rm -f conftest.$ac_objext
22497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22498 (eval $ac_compile) 2>conftest.er1
22499 ac_status=$?
22500 grep -v '^ *+' conftest.er1 >conftest.err
22501 rm -f conftest.er1
22502 cat conftest.err >&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); } &&
22505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22507 (eval $ac_try) 2>&5
22508 ac_status=$?
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); }; } &&
22511 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22517 ac_cv_sys_file_offset_bits=64
22518 else
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.$ac_ext >&5
22521
22522 ac_cv_sys_file_offset_bits=no
22523 fi
22524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22525
22526
22527 fi
22528 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22529 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22530
22531 if test "$ac_cv_sys_file_offset_bits" != no; then
22532 wx_largefile=yes
22533 cat >>confdefs.h <<_ACEOF
22534 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22535 _ACEOF
22536
22537 fi
22538
22539 if test "x$wx_largefile" != "xyes"; then
22540
22541 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22542 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22543 if test "${ac_cv_sys_large_files+set}" = set; then
22544 echo $ECHO_N "(cached) $ECHO_C" >&6
22545 else
22546
22547 cat >conftest.$ac_ext <<_ACEOF
22548 /* confdefs.h. */
22549 _ACEOF
22550 cat confdefs.h >>conftest.$ac_ext
22551 cat >>conftest.$ac_ext <<_ACEOF
22552 /* end confdefs.h. */
22553 #define _LARGE_FILES 1
22554 #include <sys/types.h>
22555 int
22556 main ()
22557 {
22558 typedef struct {
22559 unsigned int field: sizeof(off_t) == 8;
22560 } wxlf;
22561
22562 ;
22563 return 0;
22564 }
22565 _ACEOF
22566 rm -f conftest.$ac_objext
22567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22568 (eval $ac_compile) 2>conftest.er1
22569 ac_status=$?
22570 grep -v '^ *+' conftest.er1 >conftest.err
22571 rm -f conftest.er1
22572 cat conftest.err >&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); } &&
22575 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22577 (eval $ac_try) 2>&5
22578 ac_status=$?
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); }; } &&
22581 { ac_try='test -s conftest.$ac_objext'
22582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22583 (eval $ac_try) 2>&5
22584 ac_status=$?
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); }; }; then
22587 ac_cv_sys_large_files=1
22588 else
22589 echo "$as_me: failed program was:" >&5
22590 sed 's/^/| /' conftest.$ac_ext >&5
22591
22592 ac_cv_sys_large_files=no
22593 fi
22594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22595
22596
22597 fi
22598 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22599 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22600
22601 if test "$ac_cv_sys_large_files" != no; then
22602 wx_largefile=yes
22603 cat >>confdefs.h <<_ACEOF
22604 #define _LARGE_FILES $ac_cv_sys_large_files
22605 _ACEOF
22606
22607 fi
22608
22609 fi
22610
22611 echo "$as_me:$LINENO: checking if large file support is available" >&5
22612 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22613 if test "x$wx_largefile" = "xyes"; then
22614 cat >>confdefs.h <<\_ACEOF
22615 #define HAVE_LARGEFILE_SUPPORT 1
22616 _ACEOF
22617
22618 fi
22619 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22620 echo "${ECHO_T}$wx_largefile" >&6
22621 fi
22622
22623
22624 if test "x$wx_largefile" = "xyes"; then
22625 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22626 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22627
22628 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22629 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22630 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22631 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22633 else
22634
22635 cat >conftest.$ac_ext <<_ACEOF
22636 /* confdefs.h. */
22637 _ACEOF
22638 cat confdefs.h >>conftest.$ac_ext
22639 cat >>conftest.$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641
22642 int
22643 main ()
22644 {
22645
22646 #ifndef __STDC_EXT__
22647 choke me
22648 #endif
22649
22650 ;
22651 return 0;
22652 }
22653 _ACEOF
22654 rm -f conftest.$ac_objext
22655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22656 (eval $ac_compile) 2>conftest.er1
22657 ac_status=$?
22658 grep -v '^ *+' conftest.er1 >conftest.err
22659 rm -f conftest.er1
22660 cat conftest.err >&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; } &&
22669 { ac_try='test -s conftest.$ac_objext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22672 ac_status=$?
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 wx_cv_STDC_EXT_required=no
22676 else
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22679
22680 wx_cv_STDC_EXT_required=yes
22681
22682 fi
22683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22684
22685
22686 fi
22687 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22688 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22689 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22690 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22691 fi
22692 fi
22693 else
22694 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22695 fi
22696 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22697 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22698 if test "${ac_cv_sys_largefile_source+set}" = set; then
22699 echo $ECHO_N "(cached) $ECHO_C" >&6
22700 else
22701 while :; do
22702 ac_cv_sys_largefile_source=no
22703 cat >conftest.$ac_ext <<_ACEOF
22704 /* confdefs.h. */
22705 _ACEOF
22706 cat confdefs.h >>conftest.$ac_ext
22707 cat >>conftest.$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22709 #include <stdio.h>
22710 int
22711 main ()
22712 {
22713 return !fseeko;
22714 ;
22715 return 0;
22716 }
22717 _ACEOF
22718 rm -f conftest.$ac_objext
22719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22720 (eval $ac_compile) 2>conftest.er1
22721 ac_status=$?
22722 grep -v '^ *+' conftest.er1 >conftest.err
22723 rm -f conftest.er1
22724 cat conftest.err >&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); } &&
22727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22729 (eval $ac_try) 2>&5
22730 ac_status=$?
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); }; } &&
22733 { ac_try='test -s conftest.$ac_objext'
22734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22735 (eval $ac_try) 2>&5
22736 ac_status=$?
22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738 (exit $ac_status); }; }; then
22739 break
22740 else
22741 echo "$as_me: failed program was:" >&5
22742 sed 's/^/| /' conftest.$ac_ext >&5
22743
22744 fi
22745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22746 cat >conftest.$ac_ext <<_ACEOF
22747 /* confdefs.h. */
22748 _ACEOF
22749 cat confdefs.h >>conftest.$ac_ext
22750 cat >>conftest.$ac_ext <<_ACEOF
22751 /* end confdefs.h. */
22752 #define _LARGEFILE_SOURCE 1
22753 #include <stdio.h>
22754 int
22755 main ()
22756 {
22757 return !fseeko;
22758 ;
22759 return 0;
22760 }
22761 _ACEOF
22762 rm -f conftest.$ac_objext
22763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22764 (eval $ac_compile) 2>conftest.er1
22765 ac_status=$?
22766 grep -v '^ *+' conftest.er1 >conftest.err
22767 rm -f conftest.er1
22768 cat conftest.err >&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); } &&
22771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22774 ac_status=$?
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; } &&
22777 { ac_try='test -s conftest.$ac_objext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 ac_cv_sys_largefile_source=1; break
22784 else
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22787
22788 fi
22789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22790 break
22791 done
22792 fi
22793 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22794 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22795 if test "$ac_cv_sys_largefile_source" != no; then
22796
22797 cat >>confdefs.h <<_ACEOF
22798 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22799 _ACEOF
22800
22801 fi
22802 rm -f conftest*
22803
22804 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22805 # in glibc 2.1.3, but that breaks too many other things.
22806 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22807 echo "$as_me:$LINENO: checking for fseeko" >&5
22808 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22809 if test "${ac_cv_func_fseeko+set}" = set; then
22810 echo $ECHO_N "(cached) $ECHO_C" >&6
22811 else
22812 cat >conftest.$ac_ext <<_ACEOF
22813 /* confdefs.h. */
22814 _ACEOF
22815 cat confdefs.h >>conftest.$ac_ext
22816 cat >>conftest.$ac_ext <<_ACEOF
22817 /* end confdefs.h. */
22818 #include <stdio.h>
22819 int
22820 main ()
22821 {
22822 return fseeko && fseeko (stdin, 0, 0);
22823 ;
22824 return 0;
22825 }
22826 _ACEOF
22827 rm -f conftest.$ac_objext conftest$ac_exeext
22828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22829 (eval $ac_link) 2>conftest.er1
22830 ac_status=$?
22831 grep -v '^ *+' conftest.er1 >conftest.err
22832 rm -f conftest.er1
22833 cat conftest.err >&5
22834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 (exit $ac_status); } &&
22836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22838 (eval $ac_try) 2>&5
22839 ac_status=$?
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); }; } &&
22842 { ac_try='test -s conftest$ac_exeext'
22843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22844 (eval $ac_try) 2>&5
22845 ac_status=$?
22846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); }; }; then
22848 ac_cv_func_fseeko=yes
22849 else
22850 echo "$as_me: failed program was:" >&5
22851 sed 's/^/| /' conftest.$ac_ext >&5
22852
22853 ac_cv_func_fseeko=no
22854 fi
22855 rm -f conftest.err conftest.$ac_objext \
22856 conftest$ac_exeext conftest.$ac_ext
22857 fi
22858 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22859 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22860 if test $ac_cv_func_fseeko = yes; then
22861
22862 cat >>confdefs.h <<\_ACEOF
22863 #define HAVE_FSEEKO 1
22864 _ACEOF
22865
22866 fi
22867
22868 if test "$ac_cv_sys_largefile_source" != no; then
22869 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22870 fi
22871 fi
22872
22873 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22874 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22875 if test "${ac_cv_c_bigendian+set}" = set; then
22876 echo $ECHO_N "(cached) $ECHO_C" >&6
22877 else
22878 ac_cv_c_bigendian=unknown
22879 # See if sys/param.h defines the BYTE_ORDER macro.
22880 cat >conftest.$ac_ext <<_ACEOF
22881 /* confdefs.h. */
22882 _ACEOF
22883 cat confdefs.h >>conftest.$ac_ext
22884 cat >>conftest.$ac_ext <<_ACEOF
22885 /* end confdefs.h. */
22886 #include <sys/types.h>
22887 #include <sys/param.h>
22888 int
22889 main ()
22890 {
22891
22892 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22893 bogus endian macros
22894 #endif
22895 ;
22896 return 0;
22897 }
22898 _ACEOF
22899 rm -f conftest.$ac_objext
22900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22901 (eval $ac_compile) 2>conftest.er1
22902 ac_status=$?
22903 grep -v '^ *+' conftest.er1 >conftest.err
22904 rm -f conftest.er1
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } &&
22908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22910 (eval $ac_try) 2>&5
22911 ac_status=$?
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; } &&
22914 { ac_try='test -s conftest.$ac_objext'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22917 ac_status=$?
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; }; then
22920 # It does; now see whether it defined to BIG_ENDIAN or not.
22921 cat >conftest.$ac_ext <<_ACEOF
22922 /* confdefs.h. */
22923 _ACEOF
22924 cat confdefs.h >>conftest.$ac_ext
22925 cat >>conftest.$ac_ext <<_ACEOF
22926 /* end confdefs.h. */
22927 #include <sys/types.h>
22928 #include <sys/param.h>
22929 int
22930 main ()
22931 {
22932
22933 #if BYTE_ORDER != BIG_ENDIAN
22934 not big endian
22935 #endif
22936 ;
22937 return 0;
22938 }
22939 _ACEOF
22940 rm -f conftest.$ac_objext
22941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22942 (eval $ac_compile) 2>conftest.er1
22943 ac_status=$?
22944 grep -v '^ *+' conftest.er1 >conftest.err
22945 rm -f conftest.er1
22946 cat conftest.err >&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); } &&
22949 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951 (eval $ac_try) 2>&5
22952 ac_status=$?
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; } &&
22955 { ac_try='test -s conftest.$ac_objext'
22956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22957 (eval $ac_try) 2>&5
22958 ac_status=$?
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); }; }; then
22961 ac_cv_c_bigendian=yes
22962 else
22963 echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.$ac_ext >&5
22965
22966 ac_cv_c_bigendian=no
22967 fi
22968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22969 else
22970 echo "$as_me: failed program was:" >&5
22971 sed 's/^/| /' conftest.$ac_ext >&5
22972
22973 fi
22974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22975 if test $ac_cv_c_bigendian = unknown; then
22976 if test "$cross_compiling" = yes; then
22977 ac_cv_c_bigendian=unknown
22978 else
22979 cat >conftest.$ac_ext <<_ACEOF
22980 /* confdefs.h. */
22981 _ACEOF
22982 cat confdefs.h >>conftest.$ac_ext
22983 cat >>conftest.$ac_ext <<_ACEOF
22984 /* end confdefs.h. */
22985 main () {
22986 /* Are we little or big endian? From Harbison&Steele. */
22987 union
22988 {
22989 long l;
22990 char c[sizeof (long)];
22991 } u;
22992 u.l = 1;
22993 exit (u.c[sizeof (long) - 1] == 1);
22994 }
22995 _ACEOF
22996 rm -f conftest$ac_exeext
22997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22998 (eval $ac_link) 2>&5
22999 ac_status=$?
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23003 (eval $ac_try) 2>&5
23004 ac_status=$?
23005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006 (exit $ac_status); }; }; then
23007 ac_cv_c_bigendian=no
23008 else
23009 echo "$as_me: program exited with status $ac_status" >&5
23010 echo "$as_me: failed program was:" >&5
23011 sed 's/^/| /' conftest.$ac_ext >&5
23012
23013 ( exit $ac_status )
23014 ac_cv_c_bigendian=yes
23015 fi
23016 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23017 fi
23018 fi
23019 fi
23020 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23021 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23022 if test $ac_cv_c_bigendian = unknown; then
23023 { 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
23024 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;}
23025 fi
23026 if test $ac_cv_c_bigendian = yes; then
23027 cat >>confdefs.h <<\_ACEOF
23028 #define WORDS_BIGENDIAN 1
23029 _ACEOF
23030
23031 fi
23032
23033
23034
23035
23036
23037 ac_ext=cc
23038 ac_cpp='$CXXCPP $CPPFLAGS'
23039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23042
23043
23044
23045 for ac_header in iostream
23046 do
23047 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23049 echo "$as_me:$LINENO: checking for $ac_header" >&5
23050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23052 echo $ECHO_N "(cached) $ECHO_C" >&6
23053 fi
23054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23056 else
23057 # Is the header compilable?
23058 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23060 cat >conftest.$ac_ext <<_ACEOF
23061 /* confdefs.h. */
23062 _ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 $ac_includes_default
23067 #include <$ac_header>
23068 _ACEOF
23069 rm -f conftest.$ac_objext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23071 (eval $ac_compile) 2>conftest.er1
23072 ac_status=$?
23073 grep -v '^ *+' conftest.er1 >conftest.err
23074 rm -f conftest.er1
23075 cat conftest.err >&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); } &&
23078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23080 (eval $ac_try) 2>&5
23081 ac_status=$?
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); }; } &&
23084 { ac_try='test -s conftest.$ac_objext'
23085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086 (eval $ac_try) 2>&5
23087 ac_status=$?
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; }; then
23090 ac_header_compiler=yes
23091 else
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23094
23095 ac_header_compiler=no
23096 fi
23097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23098 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23099 echo "${ECHO_T}$ac_header_compiler" >&6
23100
23101 # Is the header present?
23102 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23103 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23104 cat >conftest.$ac_ext <<_ACEOF
23105 /* confdefs.h. */
23106 _ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 #include <$ac_header>
23111 _ACEOF
23112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23113 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23114 ac_status=$?
23115 grep -v '^ *+' conftest.er1 >conftest.err
23116 rm -f conftest.er1
23117 cat conftest.err >&5
23118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23119 (exit $ac_status); } >/dev/null; then
23120 if test -s conftest.err; then
23121 ac_cpp_err=$ac_cxx_preproc_warn_flag
23122 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23123 else
23124 ac_cpp_err=
23125 fi
23126 else
23127 ac_cpp_err=yes
23128 fi
23129 if test -z "$ac_cpp_err"; then
23130 ac_header_preproc=yes
23131 else
23132 echo "$as_me: failed program was:" >&5
23133 sed 's/^/| /' conftest.$ac_ext >&5
23134
23135 ac_header_preproc=no
23136 fi
23137 rm -f conftest.err conftest.$ac_ext
23138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23139 echo "${ECHO_T}$ac_header_preproc" >&6
23140
23141 # So? What about this header?
23142 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23143 yes:no: )
23144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23147 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23148 ac_header_preproc=yes
23149 ;;
23150 no:yes:* )
23151 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23152 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23153 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23154 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23155 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23156 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23157 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23158 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23161 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23162 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23163 (
23164 cat <<\_ASBOX
23165 ## ----------------------------------------- ##
23166 ## Report this to wx-dev@lists.wxwidgets.org ##
23167 ## ----------------------------------------- ##
23168 _ASBOX
23169 ) |
23170 sed "s/^/$as_me: WARNING: /" >&2
23171 ;;
23172 esac
23173 echo "$as_me:$LINENO: checking for $ac_header" >&5
23174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23176 echo $ECHO_N "(cached) $ECHO_C" >&6
23177 else
23178 eval "$as_ac_Header=\$ac_header_preproc"
23179 fi
23180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23182
23183 fi
23184 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23185 cat >>confdefs.h <<_ACEOF
23186 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23187 _ACEOF
23188
23189 fi
23190
23191 done
23192
23193
23194 if test "$ac_cv_header_iostream" = "yes" ; then
23195 :
23196 else
23197 cat >>confdefs.h <<\_ACEOF
23198 #define wxUSE_IOSTREAMH 1
23199 _ACEOF
23200
23201 fi
23202
23203 ac_ext=cc
23204 ac_cpp='$CXXCPP $CPPFLAGS'
23205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23208
23209
23210
23211
23212 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23213 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23214 if test "${wx_cv_cpp_bool+set}" = set; then
23215 echo $ECHO_N "(cached) $ECHO_C" >&6
23216 else
23217
23218
23219
23220 ac_ext=cc
23221 ac_cpp='$CXXCPP $CPPFLAGS'
23222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23225
23226
23227 cat >conftest.$ac_ext <<_ACEOF
23228 /* confdefs.h. */
23229 _ACEOF
23230 cat confdefs.h >>conftest.$ac_ext
23231 cat >>conftest.$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23233
23234
23235 int
23236 main ()
23237 {
23238
23239 bool b = true;
23240
23241 return 0;
23242
23243 ;
23244 return 0;
23245 }
23246 _ACEOF
23247 rm -f conftest.$ac_objext
23248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23249 (eval $ac_compile) 2>conftest.er1
23250 ac_status=$?
23251 grep -v '^ *+' conftest.er1 >conftest.err
23252 rm -f conftest.er1
23253 cat conftest.err >&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); } &&
23256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23258 (eval $ac_try) 2>&5
23259 ac_status=$?
23260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23261 (exit $ac_status); }; } &&
23262 { ac_try='test -s conftest.$ac_objext'
23263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23264 (eval $ac_try) 2>&5
23265 ac_status=$?
23266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267 (exit $ac_status); }; }; then
23268
23269 wx_cv_cpp_bool=yes
23270
23271 else
23272 echo "$as_me: failed program was:" >&5
23273 sed 's/^/| /' conftest.$ac_ext >&5
23274
23275
23276 wx_cv_cpp_bool=no
23277
23278
23279 fi
23280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23281
23282 ac_ext=cc
23283 ac_cpp='$CXXCPP $CPPFLAGS'
23284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23287
23288
23289 fi
23290 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23291 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23292
23293 if test "$wx_cv_cpp_bool" = "yes"; then
23294 cat >>confdefs.h <<\_ACEOF
23295 #define HAVE_BOOL 1
23296 _ACEOF
23297
23298 fi
23299
23300
23301
23302 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23303 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23304 if test "${wx_cv_explicit+set}" = set; then
23305 echo $ECHO_N "(cached) $ECHO_C" >&6
23306 else
23307
23308
23309
23310 ac_ext=cc
23311 ac_cpp='$CXXCPP $CPPFLAGS'
23312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23315
23316
23317 cat >conftest.$ac_ext <<_ACEOF
23318 /* confdefs.h. */
23319 _ACEOF
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23323
23324 class Foo { public: explicit Foo(int) {} };
23325
23326 int
23327 main ()
23328 {
23329
23330 return 0;
23331
23332 ;
23333 return 0;
23334 }
23335 _ACEOF
23336 rm -f conftest.$ac_objext
23337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23338 (eval $ac_compile) 2>conftest.er1
23339 ac_status=$?
23340 grep -v '^ *+' conftest.er1 >conftest.err
23341 rm -f conftest.er1
23342 cat conftest.err >&5
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); } &&
23345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347 (eval $ac_try) 2>&5
23348 ac_status=$?
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; } &&
23351 { ac_try='test -s conftest.$ac_objext'
23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353 (eval $ac_try) 2>&5
23354 ac_status=$?
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; }; then
23357
23358 cat >conftest.$ac_ext <<_ACEOF
23359 /* confdefs.h. */
23360 _ACEOF
23361 cat confdefs.h >>conftest.$ac_ext
23362 cat >>conftest.$ac_ext <<_ACEOF
23363 /* end confdefs.h. */
23364
23365 class Foo { public: explicit Foo(int) {} };
23366 static void TakeFoo(const Foo& foo) { }
23367
23368 int
23369 main ()
23370 {
23371
23372 TakeFoo(17);
23373 return 0;
23374
23375 ;
23376 return 0;
23377 }
23378 _ACEOF
23379 rm -f conftest.$ac_objext
23380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23381 (eval $ac_compile) 2>conftest.er1
23382 ac_status=$?
23383 grep -v '^ *+' conftest.er1 >conftest.err
23384 rm -f conftest.er1
23385 cat conftest.err >&5
23386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23387 (exit $ac_status); } &&
23388 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23390 (eval $ac_try) 2>&5
23391 ac_status=$?
23392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23393 (exit $ac_status); }; } &&
23394 { ac_try='test -s conftest.$ac_objext'
23395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23396 (eval $ac_try) 2>&5
23397 ac_status=$?
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); }; }; then
23400 wx_cv_explicit=no
23401 else
23402 echo "$as_me: failed program was:" >&5
23403 sed 's/^/| /' conftest.$ac_ext >&5
23404
23405 wx_cv_explicit=yes
23406
23407 fi
23408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23409
23410 else
23411 echo "$as_me: failed program was:" >&5
23412 sed 's/^/| /' conftest.$ac_ext >&5
23413
23414 wx_cv_explicit=no
23415
23416 fi
23417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23418
23419 ac_ext=cc
23420 ac_cpp='$CXXCPP $CPPFLAGS'
23421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23424
23425
23426 fi
23427 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23428 echo "${ECHO_T}$wx_cv_explicit" >&6
23429
23430 if test "$wx_cv_explicit" = "yes"; then
23431 cat >>confdefs.h <<\_ACEOF
23432 #define HAVE_EXPLICIT 1
23433 _ACEOF
23434
23435 fi
23436
23437
23438 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23439 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23440 if test "${ac_cv_cxx_const_cast+set}" = set; then
23441 echo $ECHO_N "(cached) $ECHO_C" >&6
23442 else
23443
23444
23445 ac_ext=cc
23446 ac_cpp='$CXXCPP $CPPFLAGS'
23447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23450
23451 cat >conftest.$ac_ext <<_ACEOF
23452 /* confdefs.h. */
23453 _ACEOF
23454 cat confdefs.h >>conftest.$ac_ext
23455 cat >>conftest.$ac_ext <<_ACEOF
23456 /* end confdefs.h. */
23457
23458 int
23459 main ()
23460 {
23461 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23462 ;
23463 return 0;
23464 }
23465 _ACEOF
23466 rm -f conftest.$ac_objext
23467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23468 (eval $ac_compile) 2>conftest.er1
23469 ac_status=$?
23470 grep -v '^ *+' conftest.er1 >conftest.err
23471 rm -f conftest.er1
23472 cat conftest.err >&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } &&
23475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23477 (eval $ac_try) 2>&5
23478 ac_status=$?
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); }; } &&
23481 { ac_try='test -s conftest.$ac_objext'
23482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23483 (eval $ac_try) 2>&5
23484 ac_status=$?
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); }; }; then
23487 ac_cv_cxx_const_cast=yes
23488 else
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.$ac_ext >&5
23491
23492 ac_cv_cxx_const_cast=no
23493 fi
23494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23495 ac_ext=cc
23496 ac_cpp='$CXXCPP $CPPFLAGS'
23497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23500
23501
23502 fi
23503 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23504 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23505 if test "$ac_cv_cxx_const_cast" = yes; then
23506
23507 cat >>confdefs.h <<\_ACEOF
23508 #define HAVE_CONST_CAST
23509 _ACEOF
23510
23511 fi
23512
23513 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23514 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23515 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23517 else
23518
23519
23520 ac_ext=cc
23521 ac_cpp='$CXXCPP $CPPFLAGS'
23522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23525
23526 cat >conftest.$ac_ext <<_ACEOF
23527 /* confdefs.h. */
23528 _ACEOF
23529 cat confdefs.h >>conftest.$ac_ext
23530 cat >>conftest.$ac_ext <<_ACEOF
23531 /* end confdefs.h. */
23532 #include <typeinfo>
23533 class Base { public : Base () {} virtual void f () = 0;};
23534 class Derived : public Base { public : Derived () {} virtual void f () {} };
23535 class Unrelated { public : Unrelated () {} };
23536 int g (Unrelated&) { return 0; }
23537 int
23538 main ()
23539 {
23540
23541 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23542 ;
23543 return 0;
23544 }
23545 _ACEOF
23546 rm -f conftest.$ac_objext
23547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23548 (eval $ac_compile) 2>conftest.er1
23549 ac_status=$?
23550 grep -v '^ *+' conftest.er1 >conftest.err
23551 rm -f conftest.er1
23552 cat conftest.err >&5
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); } &&
23555 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23557 (eval $ac_try) 2>&5
23558 ac_status=$?
23559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23560 (exit $ac_status); }; } &&
23561 { ac_try='test -s conftest.$ac_objext'
23562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23563 (eval $ac_try) 2>&5
23564 ac_status=$?
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); }; }; then
23567 ac_cv_cxx_reinterpret_cast=yes
23568 else
23569 echo "$as_me: failed program was:" >&5
23570 sed 's/^/| /' conftest.$ac_ext >&5
23571
23572 ac_cv_cxx_reinterpret_cast=no
23573 fi
23574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23575 ac_ext=cc
23576 ac_cpp='$CXXCPP $CPPFLAGS'
23577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23580
23581
23582 fi
23583 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23584 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23585 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23586
23587 cat >>confdefs.h <<\_ACEOF
23588 #define HAVE_REINTERPRET_CAST
23589 _ACEOF
23590
23591 fi
23592
23593 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23594 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23595 if test "${ac_cv_cxx_static_cast+set}" = set; then
23596 echo $ECHO_N "(cached) $ECHO_C" >&6
23597 else
23598
23599
23600 ac_ext=cc
23601 ac_cpp='$CXXCPP $CPPFLAGS'
23602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23605
23606 cat >conftest.$ac_ext <<_ACEOF
23607 /* confdefs.h. */
23608 _ACEOF
23609 cat confdefs.h >>conftest.$ac_ext
23610 cat >>conftest.$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23612 #include <typeinfo>
23613 class Base { public : Base () {} virtual void f () = 0; };
23614 class Derived : public Base { public : Derived () {} virtual void f () {} };
23615 int g (Derived&) { return 0; }
23616 int
23617 main ()
23618 {
23619
23620 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23621 ;
23622 return 0;
23623 }
23624 _ACEOF
23625 rm -f conftest.$ac_objext
23626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23627 (eval $ac_compile) 2>conftest.er1
23628 ac_status=$?
23629 grep -v '^ *+' conftest.er1 >conftest.err
23630 rm -f conftest.er1
23631 cat conftest.err >&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); } &&
23634 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23636 (eval $ac_try) 2>&5
23637 ac_status=$?
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); }; } &&
23640 { ac_try='test -s conftest.$ac_objext'
23641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642 (eval $ac_try) 2>&5
23643 ac_status=$?
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; }; then
23646 ac_cv_cxx_static_cast=yes
23647 else
23648 echo "$as_me: failed program was:" >&5
23649 sed 's/^/| /' conftest.$ac_ext >&5
23650
23651 ac_cv_cxx_static_cast=no
23652 fi
23653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23654 ac_ext=cc
23655 ac_cpp='$CXXCPP $CPPFLAGS'
23656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23659
23660
23661 fi
23662 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23663 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23664 if test "$ac_cv_cxx_static_cast" = yes; then
23665
23666 cat >>confdefs.h <<\_ACEOF
23667 #define HAVE_STATIC_CAST
23668 _ACEOF
23669
23670 fi
23671
23672
23673 if test "x$SUNCXX" = xyes; then
23674 CXXFLAGS="-features=tmplife $CXXFLAGS"
23675 fi
23676
23677 if test "x$SUNCC" = xyes; then
23678 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23679 fi
23680
23681 if test "x$SGICC" = "xyes"; then
23682 CFLAGS="-woff 3970 $CFLAGS"
23683 fi
23684 if test "x$SGICXX" = "xyes"; then
23685 CXXFLAGS="-woff 3970 $CXXFLAGS"
23686 fi
23687
23688 if test "x$HPCC" = "xyes"; then
23689 CFLAGS="+W 2011,2450 $CFLAGS"
23690 fi
23691 if test "x$HPCXX" = "xyes"; then
23692 CXXFLAGS="+W 2340 $CXXFLAGS"
23693 fi
23694
23695 if test "x$COMPAQCXX" = "xyes"; then
23696 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23697 fi
23698
23699 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23700 if test "$wxUSE_UNICODE" = "yes"; then
23701 std_string="std::wstring"
23702 char_type="wchar_t"
23703 else
23704 std_string="std::string"
23705 char_type="char"
23706 fi
23707
23708 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23709 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23710 cat >conftest.$ac_ext <<_ACEOF
23711 /* confdefs.h. */
23712 _ACEOF
23713 cat confdefs.h >>conftest.$ac_ext
23714 cat >>conftest.$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23716 #include <string>
23717 int
23718 main ()
23719 {
23720 $std_string foo;
23721 ;
23722 return 0;
23723 }
23724 _ACEOF
23725 rm -f conftest.$ac_objext
23726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23727 (eval $ac_compile) 2>conftest.er1
23728 ac_status=$?
23729 grep -v '^ *+' conftest.er1 >conftest.err
23730 rm -f conftest.er1
23731 cat conftest.err >&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); } &&
23734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23736 (eval $ac_try) 2>&5
23737 ac_status=$?
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); }; } &&
23740 { ac_try='test -s conftest.$ac_objext'
23741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742 (eval $ac_try) 2>&5
23743 ac_status=$?
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); }; }; then
23746 echo "$as_me:$LINENO: result: yes" >&5
23747 echo "${ECHO_T}yes" >&6
23748 cat >>confdefs.h <<\_ACEOF
23749 #define HAVE_STD_WSTRING 1
23750 _ACEOF
23751
23752 else
23753 echo "$as_me: failed program was:" >&5
23754 sed 's/^/| /' conftest.$ac_ext >&5
23755
23756 echo "$as_me:$LINENO: result: no" >&5
23757 echo "${ECHO_T}no" >&6
23758 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23759 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23760 cat >conftest.$ac_ext <<_ACEOF
23761 /* confdefs.h. */
23762 _ACEOF
23763 cat confdefs.h >>conftest.$ac_ext
23764 cat >>conftest.$ac_ext <<_ACEOF
23765 /* end confdefs.h. */
23766
23767 #ifdef HAVE_WCHAR_H
23768 # ifdef __CYGWIN__
23769 # include <stddef.h>
23770 # endif
23771 # include <wchar.h>
23772 #endif
23773 #ifdef HAVE_STDLIB_H
23774 # include <stdlib.h>
23775 #endif
23776 #include <stdio.h>
23777 #include <string>
23778
23779 int
23780 main ()
23781 {
23782 std::basic_string<$char_type> foo;
23783 const $char_type* dummy = foo.c_str();
23784 ;
23785 return 0;
23786 }
23787 _ACEOF
23788 rm -f conftest.$ac_objext
23789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23790 (eval $ac_compile) 2>conftest.er1
23791 ac_status=$?
23792 grep -v '^ *+' conftest.er1 >conftest.err
23793 rm -f conftest.er1
23794 cat conftest.err >&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); } &&
23797 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23799 (eval $ac_try) 2>&5
23800 ac_status=$?
23801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23802 (exit $ac_status); }; } &&
23803 { ac_try='test -s conftest.$ac_objext'
23804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23805 (eval $ac_try) 2>&5
23806 ac_status=$?
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); }; }; then
23809 echo "$as_me:$LINENO: result: yes" >&5
23810 echo "${ECHO_T}yes" >&6
23811 else
23812 echo "$as_me: failed program was:" >&5
23813 sed 's/^/| /' conftest.$ac_ext >&5
23814
23815 echo "$as_me:$LINENO: result: no" >&5
23816 echo "${ECHO_T}no" >&6
23817 if test "$wxUSE_STL" = "yes"; then
23818 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23819 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23820 { (exit 1); exit 1; }; }
23821 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23822 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23823 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23824 { (exit 1); exit 1; }; }
23825 else
23826 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23827 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23828 wxUSE_STD_STRING=no
23829 fi
23830
23831
23832 fi
23833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23834
23835 fi
23836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23837 fi
23838
23839 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23840 echo "$as_me:$LINENO: checking for std::istream" >&5
23841 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23842 if test "${ac_cv_type_std__istream+set}" = set; then
23843 echo $ECHO_N "(cached) $ECHO_C" >&6
23844 else
23845 cat >conftest.$ac_ext <<_ACEOF
23846 /* confdefs.h. */
23847 _ACEOF
23848 cat confdefs.h >>conftest.$ac_ext
23849 cat >>conftest.$ac_ext <<_ACEOF
23850 /* end confdefs.h. */
23851 #include <iostream>
23852
23853 int
23854 main ()
23855 {
23856 if ((std::istream *) 0)
23857 return 0;
23858 if (sizeof (std::istream))
23859 return 0;
23860 ;
23861 return 0;
23862 }
23863 _ACEOF
23864 rm -f conftest.$ac_objext
23865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23866 (eval $ac_compile) 2>conftest.er1
23867 ac_status=$?
23868 grep -v '^ *+' conftest.er1 >conftest.err
23869 rm -f conftest.er1
23870 cat conftest.err >&5
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } &&
23873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23875 (eval $ac_try) 2>&5
23876 ac_status=$?
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; } &&
23879 { ac_try='test -s conftest.$ac_objext'
23880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23881 (eval $ac_try) 2>&5
23882 ac_status=$?
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); }; }; then
23885 ac_cv_type_std__istream=yes
23886 else
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.$ac_ext >&5
23889
23890 ac_cv_type_std__istream=no
23891 fi
23892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23893 fi
23894 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23895 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23896 if test $ac_cv_type_std__istream = yes; then
23897
23898 cat >>confdefs.h <<_ACEOF
23899 #define HAVE_STD__ISTREAM 1
23900 _ACEOF
23901
23902
23903 else
23904 wxUSE_STD_IOSTREAM=no
23905 fi
23906 echo "$as_me:$LINENO: checking for std::ostream" >&5
23907 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23908 if test "${ac_cv_type_std__ostream+set}" = set; then
23909 echo $ECHO_N "(cached) $ECHO_C" >&6
23910 else
23911 cat >conftest.$ac_ext <<_ACEOF
23912 /* confdefs.h. */
23913 _ACEOF
23914 cat confdefs.h >>conftest.$ac_ext
23915 cat >>conftest.$ac_ext <<_ACEOF
23916 /* end confdefs.h. */
23917 #include <iostream>
23918
23919 int
23920 main ()
23921 {
23922 if ((std::ostream *) 0)
23923 return 0;
23924 if (sizeof (std::ostream))
23925 return 0;
23926 ;
23927 return 0;
23928 }
23929 _ACEOF
23930 rm -f conftest.$ac_objext
23931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23932 (eval $ac_compile) 2>conftest.er1
23933 ac_status=$?
23934 grep -v '^ *+' conftest.er1 >conftest.err
23935 rm -f conftest.er1
23936 cat conftest.err >&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); } &&
23939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23942 ac_status=$?
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; } &&
23945 { ac_try='test -s conftest.$ac_objext'
23946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23947 (eval $ac_try) 2>&5
23948 ac_status=$?
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); }; }; then
23951 ac_cv_type_std__ostream=yes
23952 else
23953 echo "$as_me: failed program was:" >&5
23954 sed 's/^/| /' conftest.$ac_ext >&5
23955
23956 ac_cv_type_std__ostream=no
23957 fi
23958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23959 fi
23960 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23961 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23962 if test $ac_cv_type_std__ostream = yes; then
23963
23964 cat >>confdefs.h <<_ACEOF
23965 #define HAVE_STD__OSTREAM 1
23966 _ACEOF
23967
23968
23969 else
23970 wxUSE_STD_IOSTREAM=no
23971 fi
23972
23973
23974 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23975 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23976 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23977 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23978 { (exit 1); exit 1; }; }
23979 else
23980 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23981 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23982 fi
23983 fi
23984 fi
23985
23986 if test "$wxUSE_STL" = "yes"; then
23987 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23988 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23989 cat >conftest.$ac_ext <<_ACEOF
23990 /* confdefs.h. */
23991 _ACEOF
23992 cat confdefs.h >>conftest.$ac_ext
23993 cat >>conftest.$ac_ext <<_ACEOF
23994 /* end confdefs.h. */
23995 #include <string>
23996 #include <functional>
23997 #include <algorithm>
23998 #include <vector>
23999 #include <list>
24000 int
24001 main ()
24002 {
24003 std::vector<int> moo;
24004 std::list<int> foo;
24005 std::vector<int>::iterator it =
24006 std::find_if(moo.begin(), moo.end(),
24007 std::bind2nd(std::less<int>(), 3));
24008 ;
24009 return 0;
24010 }
24011 _ACEOF
24012 rm -f conftest.$ac_objext
24013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24014 (eval $ac_compile) 2>conftest.er1
24015 ac_status=$?
24016 grep -v '^ *+' conftest.er1 >conftest.err
24017 rm -f conftest.er1
24018 cat conftest.err >&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } &&
24021 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24023 (eval $ac_try) 2>&5
24024 ac_status=$?
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); }; } &&
24027 { ac_try='test -s conftest.$ac_objext'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24030 ac_status=$?
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; }; then
24033 echo "$as_me:$LINENO: result: yes" >&5
24034 echo "${ECHO_T}yes" >&6
24035 else
24036 echo "$as_me: failed program was:" >&5
24037 sed 's/^/| /' conftest.$ac_ext >&5
24038
24039 echo "$as_me:$LINENO: result: no" >&5
24040 echo "${ECHO_T}no" >&6
24041 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24042 echo "$as_me: error: Basic STL functionality missing" >&2;}
24043 { (exit 1); exit 1; }; }
24044 fi
24045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24046
24047 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24048 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24049 cat >conftest.$ac_ext <<_ACEOF
24050 /* confdefs.h. */
24051 _ACEOF
24052 cat confdefs.h >>conftest.$ac_ext
24053 cat >>conftest.$ac_ext <<_ACEOF
24054 /* end confdefs.h. */
24055 #include <string>
24056 int
24057 main ()
24058 {
24059 std::string foo, bar;
24060 foo.compare(bar);
24061 foo.compare(1, 1, bar);
24062 foo.compare(1, 1, bar, 1, 1);
24063 foo.compare("");
24064 foo.compare(1, 1, "");
24065 foo.compare(1, 1, "", 2);
24066 ;
24067 return 0;
24068 }
24069 _ACEOF
24070 rm -f conftest.$ac_objext
24071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24072 (eval $ac_compile) 2>conftest.er1
24073 ac_status=$?
24074 grep -v '^ *+' conftest.er1 >conftest.err
24075 rm -f conftest.er1
24076 cat conftest.err >&5
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); } &&
24079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24081 (eval $ac_try) 2>&5
24082 ac_status=$?
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); }; } &&
24085 { ac_try='test -s conftest.$ac_objext'
24086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24087 (eval $ac_try) 2>&5
24088 ac_status=$?
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); }; }; then
24091 echo "$as_me:$LINENO: result: yes" >&5
24092 echo "${ECHO_T}yes" >&6
24093 cat >>confdefs.h <<\_ACEOF
24094 #define HAVE_STD_STRING_COMPARE 1
24095 _ACEOF
24096
24097 else
24098 echo "$as_me: failed program was:" >&5
24099 sed 's/^/| /' conftest.$ac_ext >&5
24100
24101 echo "$as_me:$LINENO: result: no" >&5
24102 echo "${ECHO_T}no" >&6
24103 fi
24104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24105
24106 if test "${ac_cv_header_hash_map+set}" = set; then
24107 echo "$as_me:$LINENO: checking for hash_map" >&5
24108 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24109 if test "${ac_cv_header_hash_map+set}" = set; then
24110 echo $ECHO_N "(cached) $ECHO_C" >&6
24111 fi
24112 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24113 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24114 else
24115 # Is the header compilable?
24116 echo "$as_me:$LINENO: checking hash_map usability" >&5
24117 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24118 cat >conftest.$ac_ext <<_ACEOF
24119 /* confdefs.h. */
24120 _ACEOF
24121 cat confdefs.h >>conftest.$ac_ext
24122 cat >>conftest.$ac_ext <<_ACEOF
24123 /* end confdefs.h. */
24124 $ac_includes_default
24125 #include <hash_map>
24126 _ACEOF
24127 rm -f conftest.$ac_objext
24128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24129 (eval $ac_compile) 2>conftest.er1
24130 ac_status=$?
24131 grep -v '^ *+' conftest.er1 >conftest.err
24132 rm -f conftest.er1
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } &&
24136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24138 (eval $ac_try) 2>&5
24139 ac_status=$?
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); }; } &&
24142 { ac_try='test -s conftest.$ac_objext'
24143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24144 (eval $ac_try) 2>&5
24145 ac_status=$?
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); }; }; then
24148 ac_header_compiler=yes
24149 else
24150 echo "$as_me: failed program was:" >&5
24151 sed 's/^/| /' conftest.$ac_ext >&5
24152
24153 ac_header_compiler=no
24154 fi
24155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24157 echo "${ECHO_T}$ac_header_compiler" >&6
24158
24159 # Is the header present?
24160 echo "$as_me:$LINENO: checking hash_map presence" >&5
24161 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
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 #include <hash_map>
24169 _ACEOF
24170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24172 ac_status=$?
24173 grep -v '^ *+' conftest.er1 >conftest.err
24174 rm -f conftest.er1
24175 cat conftest.err >&5
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); } >/dev/null; then
24178 if test -s conftest.err; then
24179 ac_cpp_err=$ac_cxx_preproc_warn_flag
24180 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24181 else
24182 ac_cpp_err=
24183 fi
24184 else
24185 ac_cpp_err=yes
24186 fi
24187 if test -z "$ac_cpp_err"; then
24188 ac_header_preproc=yes
24189 else
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.$ac_ext >&5
24192
24193 ac_header_preproc=no
24194 fi
24195 rm -f conftest.err conftest.$ac_ext
24196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24197 echo "${ECHO_T}$ac_header_preproc" >&6
24198
24199 # So? What about this header?
24200 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24201 yes:no: )
24202 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24203 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24204 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24205 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24206 ac_header_preproc=yes
24207 ;;
24208 no:yes:* )
24209 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24210 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24211 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24212 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24213 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24214 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24215 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24216 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24217 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24218 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24219 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24220 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24221 (
24222 cat <<\_ASBOX
24223 ## ----------------------------------------- ##
24224 ## Report this to wx-dev@lists.wxwidgets.org ##
24225 ## ----------------------------------------- ##
24226 _ASBOX
24227 ) |
24228 sed "s/^/$as_me: WARNING: /" >&2
24229 ;;
24230 esac
24231 echo "$as_me:$LINENO: checking for hash_map" >&5
24232 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24233 if test "${ac_cv_header_hash_map+set}" = set; then
24234 echo $ECHO_N "(cached) $ECHO_C" >&6
24235 else
24236 ac_cv_header_hash_map=$ac_header_preproc
24237 fi
24238 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24239 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24240
24241 fi
24242 if test $ac_cv_header_hash_map = yes; then
24243 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24244 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24245 cat >conftest.$ac_ext <<_ACEOF
24246 /* confdefs.h. */
24247 _ACEOF
24248 cat confdefs.h >>conftest.$ac_ext
24249 cat >>conftest.$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24251 #include <hash_map>
24252 #include <hash_set>
24253 int
24254 main ()
24255 {
24256 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24257 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24258 ;
24259 return 0;
24260 }
24261 _ACEOF
24262 rm -f conftest.$ac_objext
24263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24264 (eval $ac_compile) 2>conftest.er1
24265 ac_status=$?
24266 grep -v '^ *+' conftest.er1 >conftest.err
24267 rm -f conftest.er1
24268 cat conftest.err >&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } &&
24271 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24274 ac_status=$?
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; } &&
24277 { ac_try='test -s conftest.$ac_objext'
24278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24279 (eval $ac_try) 2>&5
24280 ac_status=$?
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); }; }; then
24283 echo "$as_me:$LINENO: result: yes" >&5
24284 echo "${ECHO_T}yes" >&6
24285 cat >>confdefs.h <<\_ACEOF
24286 #define HAVE_HASH_MAP 1
24287 _ACEOF
24288
24289 cat >>confdefs.h <<\_ACEOF
24290 #define HAVE_STD_HASH_MAP 1
24291 _ACEOF
24292
24293 else
24294 echo "$as_me: failed program was:" >&5
24295 sed 's/^/| /' conftest.$ac_ext >&5
24296
24297 echo "$as_me:$LINENO: result: no" >&5
24298 echo "${ECHO_T}no" >&6
24299 fi
24300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24301
24302 fi
24303
24304
24305
24306 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24307 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24308 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24309 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24310 echo $ECHO_N "(cached) $ECHO_C" >&6
24311 fi
24312 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24313 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24314 else
24315 # Is the header compilable?
24316 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24317 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24318 cat >conftest.$ac_ext <<_ACEOF
24319 /* confdefs.h. */
24320 _ACEOF
24321 cat confdefs.h >>conftest.$ac_ext
24322 cat >>conftest.$ac_ext <<_ACEOF
24323 /* end confdefs.h. */
24324 $ac_includes_default
24325 #include <ext/hash_map>
24326 _ACEOF
24327 rm -f conftest.$ac_objext
24328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24329 (eval $ac_compile) 2>conftest.er1
24330 ac_status=$?
24331 grep -v '^ *+' conftest.er1 >conftest.err
24332 rm -f conftest.er1
24333 cat conftest.err >&5
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); } &&
24336 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338 (eval $ac_try) 2>&5
24339 ac_status=$?
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); }; } &&
24342 { ac_try='test -s conftest.$ac_objext'
24343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24344 (eval $ac_try) 2>&5
24345 ac_status=$?
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); }; }; then
24348 ac_header_compiler=yes
24349 else
24350 echo "$as_me: failed program was:" >&5
24351 sed 's/^/| /' conftest.$ac_ext >&5
24352
24353 ac_header_compiler=no
24354 fi
24355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24357 echo "${ECHO_T}$ac_header_compiler" >&6
24358
24359 # Is the header present?
24360 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24361 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24362 cat >conftest.$ac_ext <<_ACEOF
24363 /* confdefs.h. */
24364 _ACEOF
24365 cat confdefs.h >>conftest.$ac_ext
24366 cat >>conftest.$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24368 #include <ext/hash_map>
24369 _ACEOF
24370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24372 ac_status=$?
24373 grep -v '^ *+' conftest.er1 >conftest.err
24374 rm -f conftest.er1
24375 cat conftest.err >&5
24376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24377 (exit $ac_status); } >/dev/null; then
24378 if test -s conftest.err; then
24379 ac_cpp_err=$ac_cxx_preproc_warn_flag
24380 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24381 else
24382 ac_cpp_err=
24383 fi
24384 else
24385 ac_cpp_err=yes
24386 fi
24387 if test -z "$ac_cpp_err"; then
24388 ac_header_preproc=yes
24389 else
24390 echo "$as_me: failed program was:" >&5
24391 sed 's/^/| /' conftest.$ac_ext >&5
24392
24393 ac_header_preproc=no
24394 fi
24395 rm -f conftest.err conftest.$ac_ext
24396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24397 echo "${ECHO_T}$ac_header_preproc" >&6
24398
24399 # So? What about this header?
24400 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24401 yes:no: )
24402 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24403 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24404 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24405 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24406 ac_header_preproc=yes
24407 ;;
24408 no:yes:* )
24409 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24410 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24411 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24412 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24413 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24414 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24415 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24416 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24417 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24418 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24419 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24420 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24421 (
24422 cat <<\_ASBOX
24423 ## ----------------------------------------- ##
24424 ## Report this to wx-dev@lists.wxwidgets.org ##
24425 ## ----------------------------------------- ##
24426 _ASBOX
24427 ) |
24428 sed "s/^/$as_me: WARNING: /" >&2
24429 ;;
24430 esac
24431 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24432 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24433 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24434 echo $ECHO_N "(cached) $ECHO_C" >&6
24435 else
24436 ac_cv_header_ext_hash_map=$ac_header_preproc
24437 fi
24438 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24439 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24440
24441 fi
24442 if test $ac_cv_header_ext_hash_map = yes; then
24443 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24444 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24445 cat >conftest.$ac_ext <<_ACEOF
24446 /* confdefs.h. */
24447 _ACEOF
24448 cat confdefs.h >>conftest.$ac_ext
24449 cat >>conftest.$ac_ext <<_ACEOF
24450 /* end confdefs.h. */
24451 #include <ext/hash_map>
24452 #include <ext/hash_set>
24453 int
24454 main ()
24455 {
24456 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24457 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24458 ;
24459 return 0;
24460 }
24461 _ACEOF
24462 rm -f conftest.$ac_objext
24463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24464 (eval $ac_compile) 2>conftest.er1
24465 ac_status=$?
24466 grep -v '^ *+' conftest.er1 >conftest.err
24467 rm -f conftest.er1
24468 cat conftest.err >&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } &&
24471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24473 (eval $ac_try) 2>&5
24474 ac_status=$?
24475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24476 (exit $ac_status); }; } &&
24477 { ac_try='test -s conftest.$ac_objext'
24478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24479 (eval $ac_try) 2>&5
24480 ac_status=$?
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); }; }; then
24483 echo "$as_me:$LINENO: result: yes" >&5
24484 echo "${ECHO_T}yes" >&6
24485 cat >>confdefs.h <<\_ACEOF
24486 #define HAVE_EXT_HASH_MAP 1
24487 _ACEOF
24488
24489 cat >>confdefs.h <<\_ACEOF
24490 #define HAVE_GNU_CXX_HASH_MAP 1
24491 _ACEOF
24492
24493 else
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.$ac_ext >&5
24496
24497 echo "$as_me:$LINENO: result: no" >&5
24498 echo "${ECHO_T}no" >&6
24499 fi
24500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24501
24502 fi
24503
24504
24505 fi
24506
24507
24508 SEARCH_INCLUDE="\
24509 /usr/local/include \
24510 \
24511 /usr/Motif-2.1/include \
24512 /usr/Motif-1.2/include \
24513 /usr/include/Motif1.2 \
24514 \
24515 /usr/dt/include \
24516 /usr/openwin/include \
24517 \
24518 /usr/include/Xm \
24519 \
24520 /usr/X11R6/include \
24521 /usr/X11R6.4/include \
24522 /usr/X11R5/include \
24523 /usr/X11R4/include \
24524 \
24525 /usr/include/X11R6 \
24526 /usr/include/X11R5 \
24527 /usr/include/X11R4 \
24528 \
24529 /usr/local/X11R6/include \
24530 /usr/local/X11R5/include \
24531 /usr/local/X11R4/include \
24532 \
24533 /usr/local/include/X11R6 \
24534 /usr/local/include/X11R5 \
24535 /usr/local/include/X11R4 \
24536 \
24537 /usr/X11/include \
24538 /usr/include/X11 \
24539 /usr/local/X11/include \
24540 /usr/local/include/X11 \
24541 \
24542 /usr/XFree86/include/X11 \
24543 /usr/pkg/include \
24544 \
24545 /usr/openwin/share/include"
24546
24547 echo "$as_me:$LINENO: checking for libraries directory" >&5
24548 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24549
24550 case "${host}" in
24551 *-*-irix6* )
24552 if test "${wx_cv_std_libpath+set}" = set; then
24553 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 else
24555
24556 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24557 for e in a so sl dylib dll.a; do
24558 libc="$d/libc.$e"
24559 if test -f $libc; then
24560 save_LIBS="$LIBS"
24561 LIBS="$libc"
24562 cat >conftest.$ac_ext <<_ACEOF
24563 int main() { return 0; }
24564 _ACEOF
24565 rm -f conftest.$ac_objext conftest$ac_exeext
24566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24567 (eval $ac_link) 2>conftest.er1
24568 ac_status=$?
24569 grep -v '^ *+' conftest.er1 >conftest.err
24570 rm -f conftest.er1
24571 cat conftest.err >&5
24572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24573 (exit $ac_status); } &&
24574 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24576 (eval $ac_try) 2>&5
24577 ac_status=$?
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); }; } &&
24580 { ac_try='test -s conftest$ac_exeext'
24581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24582 (eval $ac_try) 2>&5
24583 ac_status=$?
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); }; }; then
24586 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24587 else
24588 echo "$as_me: failed program was:" >&5
24589 sed 's/^/| /' conftest.$ac_ext >&5
24590
24591 fi
24592 rm -f conftest.err conftest.$ac_objext \
24593 conftest$ac_exeext conftest.$ac_ext
24594 LIBS="$save_LIBS"
24595 if test "x$wx_cv_std_libpath" != "x"; then
24596 break 2
24597 fi
24598 fi
24599 done
24600 done
24601 if test "x$wx_cv_std_libpath" = "x"; then
24602 wx_cv_std_libpath="lib"
24603 fi
24604
24605
24606 fi
24607
24608 ;;
24609
24610 *-*-solaris2* )
24611 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24612 wx_cv_std_libpath="lib/64"
24613 else
24614 wx_cv_std_libpath="lib"
24615 fi
24616 ;;
24617
24618 *-*-linux* )
24619 if test "$ac_cv_sizeof_void_p" = 8 -a \
24620 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24621 wx_cv_std_libpath="lib64"
24622 else
24623 wx_cv_std_libpath="lib"
24624 fi
24625 ;;
24626
24627 *)
24628 wx_cv_std_libpath="lib";
24629 ;;
24630 esac
24631
24632 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24633 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24634
24635 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24636
24637 if test "$build" != "$host" -a "$GCC" = yes; then
24638 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24639 cross_root=`dirname $cross_root`
24640 cross_root=`dirname $cross_root`
24641
24642 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24643 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24644 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24645
24646 if test -z "$PKG_CONFIG_PATH"; then
24647 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24648 export PKG_CONFIG_PATH
24649 fi
24650
24651 if test -z "$x_includes" -o "$x_includes" = NONE; then
24652
24653 ac_find_includes=
24654 for ac_dir in $SEARCH_INCLUDE /usr/include;
24655 do
24656 if test -f "$ac_dir/X11/Intrinsic.h"; then
24657 ac_find_includes=$ac_dir
24658 break
24659 fi
24660 done
24661
24662 x_includes=$ac_find_includes
24663 fi
24664 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24665
24666 ac_find_libraries=
24667 for ac_dir in $SEARCH_LIB;
24668 do
24669 for ac_extension in a so sl dylib dll.a; do
24670 if test -f "$ac_dir/libXt.$ac_extension"; then
24671 ac_find_libraries=$ac_dir
24672 break 2
24673 fi
24674 done
24675 done
24676
24677 x_libraries=$ac_find_libraries
24678 fi
24679 fi
24680 fi
24681
24682
24683 cat >confcache <<\_ACEOF
24684 # This file is a shell script that caches the results of configure
24685 # tests run on this system so they can be shared between configure
24686 # scripts and configure runs, see configure's option --config-cache.
24687 # It is not useful on other systems. If it contains results you don't
24688 # want to keep, you may remove or edit it.
24689 #
24690 # config.status only pays attention to the cache file if you give it
24691 # the --recheck option to rerun configure.
24692 #
24693 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24694 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24695 # following values.
24696
24697 _ACEOF
24698
24699 # The following way of writing the cache mishandles newlines in values,
24700 # but we know of no workaround that is simple, portable, and efficient.
24701 # So, don't put newlines in cache variables' values.
24702 # Ultrix sh set writes to stderr and can't be redirected directly,
24703 # and sets the high bit in the cache file unless we assign to the vars.
24704 {
24705 (set) 2>&1 |
24706 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24707 *ac_space=\ *)
24708 # `set' does not quote correctly, so add quotes (double-quote
24709 # substitution turns \\\\ into \\, and sed turns \\ into \).
24710 sed -n \
24711 "s/'/'\\\\''/g;
24712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24713 ;;
24714 *)
24715 # `set' quotes correctly as required by POSIX, so do not add quotes.
24716 sed -n \
24717 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24718 ;;
24719 esac;
24720 } |
24721 sed '
24722 t clear
24723 : clear
24724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24725 t end
24726 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24727 : end' >>confcache
24728 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24729 if test -w $cache_file; then
24730 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24731 cat confcache >$cache_file
24732 else
24733 echo "not updating unwritable cache $cache_file"
24734 fi
24735 fi
24736 rm -f confcache
24737
24738 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24739 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24740 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24741 if test "${wx_cv_lib_glibc21+set}" = set; then
24742 echo $ECHO_N "(cached) $ECHO_C" >&6
24743 else
24744
24745 cat >conftest.$ac_ext <<_ACEOF
24746 /* confdefs.h. */
24747 _ACEOF
24748 cat confdefs.h >>conftest.$ac_ext
24749 cat >>conftest.$ac_ext <<_ACEOF
24750 /* end confdefs.h. */
24751 #include <features.h>
24752 int
24753 main ()
24754 {
24755
24756 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24757 not glibc 2.1
24758 #endif
24759
24760 ;
24761 return 0;
24762 }
24763 _ACEOF
24764 rm -f conftest.$ac_objext
24765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24766 (eval $ac_compile) 2>conftest.er1
24767 ac_status=$?
24768 grep -v '^ *+' conftest.er1 >conftest.err
24769 rm -f conftest.er1
24770 cat conftest.err >&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); } &&
24773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24775 (eval $ac_try) 2>&5
24776 ac_status=$?
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); }; } &&
24779 { ac_try='test -s conftest.$ac_objext'
24780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781 (eval $ac_try) 2>&5
24782 ac_status=$?
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); }; }; then
24785
24786 wx_cv_lib_glibc21=yes
24787
24788 else
24789 echo "$as_me: failed program was:" >&5
24790 sed 's/^/| /' conftest.$ac_ext >&5
24791
24792
24793 wx_cv_lib_glibc21=no
24794
24795
24796 fi
24797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24798
24799 fi
24800 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24801 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24802 if test "$wx_cv_lib_glibc21" = "yes"; then
24803 cat >>confdefs.h <<\_ACEOF
24804 #define wxHAVE_GLIBC2 1
24805 _ACEOF
24806
24807 fi
24808 fi
24809
24810 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24811 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24812 cat >>confdefs.h <<\_ACEOF
24813 #define _GNU_SOURCE 1
24814 _ACEOF
24815
24816 fi
24817 fi
24818
24819 have_cos=0
24820 have_floor=0
24821
24822 for ac_func in cos
24823 do
24824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24825 echo "$as_me:$LINENO: checking for $ac_func" >&5
24826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24827 if eval "test \"\${$as_ac_var+set}\" = set"; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 else
24830 cat >conftest.$ac_ext <<_ACEOF
24831 /* confdefs.h. */
24832 _ACEOF
24833 cat confdefs.h >>conftest.$ac_ext
24834 cat >>conftest.$ac_ext <<_ACEOF
24835 /* end confdefs.h. */
24836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24838 #define $ac_func innocuous_$ac_func
24839
24840 /* System header to define __stub macros and hopefully few prototypes,
24841 which can conflict with char $ac_func (); below.
24842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24843 <limits.h> exists even on freestanding compilers. */
24844
24845 #ifdef __STDC__
24846 # include <limits.h>
24847 #else
24848 # include <assert.h>
24849 #endif
24850
24851 #undef $ac_func
24852
24853 /* Override any gcc2 internal prototype to avoid an error. */
24854 #ifdef __cplusplus
24855 extern "C"
24856 {
24857 #endif
24858 /* We use char because int might match the return type of a gcc2
24859 builtin and then its argument prototype would still apply. */
24860 char $ac_func ();
24861 /* The GNU C library defines this for functions which it implements
24862 to always fail with ENOSYS. Some functions are actually named
24863 something starting with __ and the normal name is an alias. */
24864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24865 choke me
24866 #else
24867 char (*f) () = $ac_func;
24868 #endif
24869 #ifdef __cplusplus
24870 }
24871 #endif
24872
24873 int
24874 main ()
24875 {
24876 return f != $ac_func;
24877 ;
24878 return 0;
24879 }
24880 _ACEOF
24881 rm -f conftest.$ac_objext conftest$ac_exeext
24882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24883 (eval $ac_link) 2>conftest.er1
24884 ac_status=$?
24885 grep -v '^ *+' conftest.er1 >conftest.err
24886 rm -f conftest.er1
24887 cat conftest.err >&5
24888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24889 (exit $ac_status); } &&
24890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24892 (eval $ac_try) 2>&5
24893 ac_status=$?
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); }; } &&
24896 { ac_try='test -s conftest$ac_exeext'
24897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24898 (eval $ac_try) 2>&5
24899 ac_status=$?
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); }; }; then
24902 eval "$as_ac_var=yes"
24903 else
24904 echo "$as_me: failed program was:" >&5
24905 sed 's/^/| /' conftest.$ac_ext >&5
24906
24907 eval "$as_ac_var=no"
24908 fi
24909 rm -f conftest.err conftest.$ac_objext \
24910 conftest$ac_exeext conftest.$ac_ext
24911 fi
24912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24914 if test `eval echo '${'$as_ac_var'}'` = yes; then
24915 cat >>confdefs.h <<_ACEOF
24916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24917 _ACEOF
24918 have_cos=1
24919 fi
24920 done
24921
24922
24923 for ac_func in floor
24924 do
24925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24926 echo "$as_me:$LINENO: checking for $ac_func" >&5
24927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24928 if eval "test \"\${$as_ac_var+set}\" = set"; then
24929 echo $ECHO_N "(cached) $ECHO_C" >&6
24930 else
24931 cat >conftest.$ac_ext <<_ACEOF
24932 /* confdefs.h. */
24933 _ACEOF
24934 cat confdefs.h >>conftest.$ac_ext
24935 cat >>conftest.$ac_ext <<_ACEOF
24936 /* end confdefs.h. */
24937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24939 #define $ac_func innocuous_$ac_func
24940
24941 /* System header to define __stub macros and hopefully few prototypes,
24942 which can conflict with char $ac_func (); below.
24943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24944 <limits.h> exists even on freestanding compilers. */
24945
24946 #ifdef __STDC__
24947 # include <limits.h>
24948 #else
24949 # include <assert.h>
24950 #endif
24951
24952 #undef $ac_func
24953
24954 /* Override any gcc2 internal prototype to avoid an error. */
24955 #ifdef __cplusplus
24956 extern "C"
24957 {
24958 #endif
24959 /* We use char because int might match the return type of a gcc2
24960 builtin and then its argument prototype would still apply. */
24961 char $ac_func ();
24962 /* The GNU C library defines this for functions which it implements
24963 to always fail with ENOSYS. Some functions are actually named
24964 something starting with __ and the normal name is an alias. */
24965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24966 choke me
24967 #else
24968 char (*f) () = $ac_func;
24969 #endif
24970 #ifdef __cplusplus
24971 }
24972 #endif
24973
24974 int
24975 main ()
24976 {
24977 return f != $ac_func;
24978 ;
24979 return 0;
24980 }
24981 _ACEOF
24982 rm -f conftest.$ac_objext conftest$ac_exeext
24983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24984 (eval $ac_link) 2>conftest.er1
24985 ac_status=$?
24986 grep -v '^ *+' conftest.er1 >conftest.err
24987 rm -f conftest.er1
24988 cat conftest.err >&5
24989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24990 (exit $ac_status); } &&
24991 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24993 (eval $ac_try) 2>&5
24994 ac_status=$?
24995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24996 (exit $ac_status); }; } &&
24997 { ac_try='test -s conftest$ac_exeext'
24998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24999 (eval $ac_try) 2>&5
25000 ac_status=$?
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); }; }; then
25003 eval "$as_ac_var=yes"
25004 else
25005 echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25007
25008 eval "$as_ac_var=no"
25009 fi
25010 rm -f conftest.err conftest.$ac_objext \
25011 conftest$ac_exeext conftest.$ac_ext
25012 fi
25013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25015 if test `eval echo '${'$as_ac_var'}'` = yes; then
25016 cat >>confdefs.h <<_ACEOF
25017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25018 _ACEOF
25019 have_floor=1
25020 fi
25021 done
25022
25023 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25024 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25025 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25026 echo "$as_me:$LINENO: result: yes" >&5
25027 echo "${ECHO_T}yes" >&6
25028 else
25029 echo "$as_me:$LINENO: result: no" >&5
25030 echo "${ECHO_T}no" >&6
25031 LIBS="$LIBS -lm"
25032 # use different functions to avoid configure caching
25033 have_sin=0
25034 have_ceil=0
25035
25036 for ac_func in sin
25037 do
25038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25039 echo "$as_me:$LINENO: checking for $ac_func" >&5
25040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25041 if eval "test \"\${$as_ac_var+set}\" = set"; then
25042 echo $ECHO_N "(cached) $ECHO_C" >&6
25043 else
25044 cat >conftest.$ac_ext <<_ACEOF
25045 /* confdefs.h. */
25046 _ACEOF
25047 cat confdefs.h >>conftest.$ac_ext
25048 cat >>conftest.$ac_ext <<_ACEOF
25049 /* end confdefs.h. */
25050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25052 #define $ac_func innocuous_$ac_func
25053
25054 /* System header to define __stub macros and hopefully few prototypes,
25055 which can conflict with char $ac_func (); below.
25056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25057 <limits.h> exists even on freestanding compilers. */
25058
25059 #ifdef __STDC__
25060 # include <limits.h>
25061 #else
25062 # include <assert.h>
25063 #endif
25064
25065 #undef $ac_func
25066
25067 /* Override any gcc2 internal prototype to avoid an error. */
25068 #ifdef __cplusplus
25069 extern "C"
25070 {
25071 #endif
25072 /* We use char because int might match the return type of a gcc2
25073 builtin and then its argument prototype would still apply. */
25074 char $ac_func ();
25075 /* The GNU C library defines this for functions which it implements
25076 to always fail with ENOSYS. Some functions are actually named
25077 something starting with __ and the normal name is an alias. */
25078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25079 choke me
25080 #else
25081 char (*f) () = $ac_func;
25082 #endif
25083 #ifdef __cplusplus
25084 }
25085 #endif
25086
25087 int
25088 main ()
25089 {
25090 return f != $ac_func;
25091 ;
25092 return 0;
25093 }
25094 _ACEOF
25095 rm -f conftest.$ac_objext conftest$ac_exeext
25096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25097 (eval $ac_link) 2>conftest.er1
25098 ac_status=$?
25099 grep -v '^ *+' conftest.er1 >conftest.err
25100 rm -f conftest.er1
25101 cat conftest.err >&5
25102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25103 (exit $ac_status); } &&
25104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25106 (eval $ac_try) 2>&5
25107 ac_status=$?
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); }; } &&
25110 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
25116 eval "$as_ac_var=yes"
25117 else
25118 echo "$as_me: failed program was:" >&5
25119 sed 's/^/| /' conftest.$ac_ext >&5
25120
25121 eval "$as_ac_var=no"
25122 fi
25123 rm -f conftest.err conftest.$ac_objext \
25124 conftest$ac_exeext conftest.$ac_ext
25125 fi
25126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25128 if test `eval echo '${'$as_ac_var'}'` = yes; then
25129 cat >>confdefs.h <<_ACEOF
25130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25131 _ACEOF
25132 have_sin=1
25133 fi
25134 done
25135
25136
25137 for ac_func in ceil
25138 do
25139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25140 echo "$as_me:$LINENO: checking for $ac_func" >&5
25141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25142 if eval "test \"\${$as_ac_var+set}\" = set"; then
25143 echo $ECHO_N "(cached) $ECHO_C" >&6
25144 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25153 #define $ac_func innocuous_$ac_func
25154
25155 /* System header to define __stub macros and hopefully few prototypes,
25156 which can conflict with char $ac_func (); below.
25157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25158 <limits.h> exists even on freestanding compilers. */
25159
25160 #ifdef __STDC__
25161 # include <limits.h>
25162 #else
25163 # include <assert.h>
25164 #endif
25165
25166 #undef $ac_func
25167
25168 /* Override any gcc2 internal prototype to avoid an error. */
25169 #ifdef __cplusplus
25170 extern "C"
25171 {
25172 #endif
25173 /* We use char because int might match the return type of a gcc2
25174 builtin and then its argument prototype would still apply. */
25175 char $ac_func ();
25176 /* The GNU C library defines this for functions which it implements
25177 to always fail with ENOSYS. Some functions are actually named
25178 something starting with __ and the normal name is an alias. */
25179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25180 choke me
25181 #else
25182 char (*f) () = $ac_func;
25183 #endif
25184 #ifdef __cplusplus
25185 }
25186 #endif
25187
25188 int
25189 main ()
25190 {
25191 return f != $ac_func;
25192 ;
25193 return 0;
25194 }
25195 _ACEOF
25196 rm -f conftest.$ac_objext conftest$ac_exeext
25197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25198 (eval $ac_link) 2>conftest.er1
25199 ac_status=$?
25200 grep -v '^ *+' conftest.er1 >conftest.err
25201 rm -f conftest.er1
25202 cat conftest.err >&5
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); } &&
25205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25207 (eval $ac_try) 2>&5
25208 ac_status=$?
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); }; } &&
25211 { ac_try='test -s conftest$ac_exeext'
25212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25213 (eval $ac_try) 2>&5
25214 ac_status=$?
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); }; }; then
25217 eval "$as_ac_var=yes"
25218 else
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.$ac_ext >&5
25221
25222 eval "$as_ac_var=no"
25223 fi
25224 rm -f conftest.err conftest.$ac_objext \
25225 conftest$ac_exeext conftest.$ac_ext
25226 fi
25227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25229 if test `eval echo '${'$as_ac_var'}'` = yes; then
25230 cat >>confdefs.h <<_ACEOF
25231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25232 _ACEOF
25233 have_ceil=1
25234 fi
25235 done
25236
25237 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25238 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25239 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25240 echo "$as_me:$LINENO: result: yes" >&5
25241 echo "${ECHO_T}yes" >&6
25242 else
25243 echo "$as_me:$LINENO: result: no" >&5
25244 echo "${ECHO_T}no" >&6
25245 # not sure we should warn the user, crash, etc.
25246 fi
25247 fi
25248
25249
25250
25251 if test "$wxUSE_REGEX" != "no"; then
25252 cat >>confdefs.h <<\_ACEOF
25253 #define wxUSE_REGEX 1
25254 _ACEOF
25255
25256
25257 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25258 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25259 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25260 wxUSE_REGEX=builtin
25261 fi
25262
25263 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25264 if test "${ac_cv_header_regex_h+set}" = set; then
25265 echo "$as_me:$LINENO: checking for regex.h" >&5
25266 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25267 if test "${ac_cv_header_regex_h+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25269 fi
25270 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25271 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25272 else
25273 # Is the header compilable?
25274 echo "$as_me:$LINENO: checking regex.h usability" >&5
25275 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25276 cat >conftest.$ac_ext <<_ACEOF
25277 /* confdefs.h. */
25278 _ACEOF
25279 cat confdefs.h >>conftest.$ac_ext
25280 cat >>conftest.$ac_ext <<_ACEOF
25281 /* end confdefs.h. */
25282 $ac_includes_default
25283 #include <regex.h>
25284 _ACEOF
25285 rm -f conftest.$ac_objext
25286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25287 (eval $ac_compile) 2>conftest.er1
25288 ac_status=$?
25289 grep -v '^ *+' conftest.er1 >conftest.err
25290 rm -f conftest.er1
25291 cat conftest.err >&5
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); } &&
25294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25296 (eval $ac_try) 2>&5
25297 ac_status=$?
25298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299 (exit $ac_status); }; } &&
25300 { ac_try='test -s conftest.$ac_objext'
25301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25302 (eval $ac_try) 2>&5
25303 ac_status=$?
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); }; }; then
25306 ac_header_compiler=yes
25307 else
25308 echo "$as_me: failed program was:" >&5
25309 sed 's/^/| /' conftest.$ac_ext >&5
25310
25311 ac_header_compiler=no
25312 fi
25313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25314 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25315 echo "${ECHO_T}$ac_header_compiler" >&6
25316
25317 # Is the header present?
25318 echo "$as_me:$LINENO: checking regex.h presence" >&5
25319 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25320 cat >conftest.$ac_ext <<_ACEOF
25321 /* confdefs.h. */
25322 _ACEOF
25323 cat confdefs.h >>conftest.$ac_ext
25324 cat >>conftest.$ac_ext <<_ACEOF
25325 /* end confdefs.h. */
25326 #include <regex.h>
25327 _ACEOF
25328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25330 ac_status=$?
25331 grep -v '^ *+' conftest.er1 >conftest.err
25332 rm -f conftest.er1
25333 cat conftest.err >&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); } >/dev/null; then
25336 if test -s conftest.err; then
25337 ac_cpp_err=$ac_cxx_preproc_warn_flag
25338 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25339 else
25340 ac_cpp_err=
25341 fi
25342 else
25343 ac_cpp_err=yes
25344 fi
25345 if test -z "$ac_cpp_err"; then
25346 ac_header_preproc=yes
25347 else
25348 echo "$as_me: failed program was:" >&5
25349 sed 's/^/| /' conftest.$ac_ext >&5
25350
25351 ac_header_preproc=no
25352 fi
25353 rm -f conftest.err conftest.$ac_ext
25354 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25355 echo "${ECHO_T}$ac_header_preproc" >&6
25356
25357 # So? What about this header?
25358 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25359 yes:no: )
25360 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25361 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25362 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25363 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25364 ac_header_preproc=yes
25365 ;;
25366 no:yes:* )
25367 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25368 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25369 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25370 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25371 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25372 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25373 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25374 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25375 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25376 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25377 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25378 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25379 (
25380 cat <<\_ASBOX
25381 ## ----------------------------------------- ##
25382 ## Report this to wx-dev@lists.wxwidgets.org ##
25383 ## ----------------------------------------- ##
25384 _ASBOX
25385 ) |
25386 sed "s/^/$as_me: WARNING: /" >&2
25387 ;;
25388 esac
25389 echo "$as_me:$LINENO: checking for regex.h" >&5
25390 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25391 if test "${ac_cv_header_regex_h+set}" = set; then
25392 echo $ECHO_N "(cached) $ECHO_C" >&6
25393 else
25394 ac_cv_header_regex_h=$ac_header_preproc
25395 fi
25396 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25397 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25398
25399 fi
25400 if test $ac_cv_header_regex_h = yes; then
25401
25402
25403 for ac_func in regcomp re_search
25404 do
25405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25406 echo "$as_me:$LINENO: checking for $ac_func" >&5
25407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25408 if eval "test \"\${$as_ac_var+set}\" = set"; then
25409 echo $ECHO_N "(cached) $ECHO_C" >&6
25410 else
25411 cat >conftest.$ac_ext <<_ACEOF
25412 /* confdefs.h. */
25413 _ACEOF
25414 cat confdefs.h >>conftest.$ac_ext
25415 cat >>conftest.$ac_ext <<_ACEOF
25416 /* end confdefs.h. */
25417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25419 #define $ac_func innocuous_$ac_func
25420
25421 /* System header to define __stub macros and hopefully few prototypes,
25422 which can conflict with char $ac_func (); below.
25423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25424 <limits.h> exists even on freestanding compilers. */
25425
25426 #ifdef __STDC__
25427 # include <limits.h>
25428 #else
25429 # include <assert.h>
25430 #endif
25431
25432 #undef $ac_func
25433
25434 /* Override any gcc2 internal prototype to avoid an error. */
25435 #ifdef __cplusplus
25436 extern "C"
25437 {
25438 #endif
25439 /* We use char because int might match the return type of a gcc2
25440 builtin and then its argument prototype would still apply. */
25441 char $ac_func ();
25442 /* The GNU C library defines this for functions which it implements
25443 to always fail with ENOSYS. Some functions are actually named
25444 something starting with __ and the normal name is an alias. */
25445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25446 choke me
25447 #else
25448 char (*f) () = $ac_func;
25449 #endif
25450 #ifdef __cplusplus
25451 }
25452 #endif
25453
25454 int
25455 main ()
25456 {
25457 return f != $ac_func;
25458 ;
25459 return 0;
25460 }
25461 _ACEOF
25462 rm -f conftest.$ac_objext conftest$ac_exeext
25463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25464 (eval $ac_link) 2>conftest.er1
25465 ac_status=$?
25466 grep -v '^ *+' conftest.er1 >conftest.err
25467 rm -f conftest.er1
25468 cat conftest.err >&5
25469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 (exit $ac_status); } &&
25471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473 (eval $ac_try) 2>&5
25474 ac_status=$?
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); }; } &&
25477 { ac_try='test -s conftest$ac_exeext'
25478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25479 (eval $ac_try) 2>&5
25480 ac_status=$?
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); }; }; then
25483 eval "$as_ac_var=yes"
25484 else
25485 echo "$as_me: failed program was:" >&5
25486 sed 's/^/| /' conftest.$ac_ext >&5
25487
25488 eval "$as_ac_var=no"
25489 fi
25490 rm -f conftest.err conftest.$ac_objext \
25491 conftest$ac_exeext conftest.$ac_ext
25492 fi
25493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25495 if test `eval echo '${'$as_ac_var'}'` = yes; then
25496 cat >>confdefs.h <<_ACEOF
25497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25498 _ACEOF
25499
25500 fi
25501 done
25502
25503 fi
25504
25505
25506
25507 if test "x$ac_cv_func_regcomp" != "xyes"; then
25508 if test "$wxUSE_REGEX" = "sys" ; then
25509 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25510 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25511 { (exit 1); exit 1; }; }
25512 else
25513 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25514 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25515 wxUSE_REGEX=builtin
25516 fi
25517 else
25518 wxUSE_REGEX=sys
25519 cat >>confdefs.h <<\_ACEOF
25520 #define WX_NO_REGEX_ADVANCED 1
25521 _ACEOF
25522
25523 fi
25524 fi
25525 fi
25526
25527
25528 ZLIB_LINK=
25529 if test "$wxUSE_ZLIB" != "no" ; then
25530 cat >>confdefs.h <<\_ACEOF
25531 #define wxUSE_ZLIB 1
25532 _ACEOF
25533
25534
25535 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25536 if test "$USE_DARWIN" = 1; then
25537 system_zlib_h_ok="yes"
25538 else
25539 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25540 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25541 if test "${ac_cv_header_zlib_h+set}" = set; then
25542 echo $ECHO_N "(cached) $ECHO_C" >&6
25543 else
25544 if test "$cross_compiling" = yes; then
25545 unset ac_cv_header_zlib_h
25546
25547 else
25548 cat >conftest.$ac_ext <<_ACEOF
25549 /* confdefs.h. */
25550 _ACEOF
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25554
25555 #include <zlib.h>
25556 #include <stdio.h>
25557
25558 int main()
25559 {
25560 FILE *f=fopen("conftestval", "w");
25561 if (!f) exit(1);
25562 fprintf(f, "%s",
25563 ZLIB_VERSION[0] == '1' &&
25564 (ZLIB_VERSION[2] > '1' ||
25565 (ZLIB_VERSION[2] == '1' &&
25566 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25567 exit(0);
25568 }
25569
25570 _ACEOF
25571 rm -f conftest$ac_exeext
25572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25573 (eval $ac_link) 2>&5
25574 ac_status=$?
25575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25578 (eval $ac_try) 2>&5
25579 ac_status=$?
25580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); }; }; then
25582 ac_cv_header_zlib_h=`cat conftestval`
25583 else
25584 echo "$as_me: program exited with status $ac_status" >&5
25585 echo "$as_me: failed program was:" >&5
25586 sed 's/^/| /' conftest.$ac_ext >&5
25587
25588 ( exit $ac_status )
25589 ac_cv_header_zlib_h=no
25590 fi
25591 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25592 fi
25593
25594 fi
25595 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25596 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25597 if test "${ac_cv_header_zlib_h+set}" = set; then
25598 echo "$as_me:$LINENO: checking for zlib.h" >&5
25599 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25600 if test "${ac_cv_header_zlib_h+set}" = set; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25602 fi
25603 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25604 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25605 else
25606 # Is the header compilable?
25607 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25608 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25609 cat >conftest.$ac_ext <<_ACEOF
25610 /* confdefs.h. */
25611 _ACEOF
25612 cat confdefs.h >>conftest.$ac_ext
25613 cat >>conftest.$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25615 $ac_includes_default
25616 #include <zlib.h>
25617 _ACEOF
25618 rm -f conftest.$ac_objext
25619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25620 (eval $ac_compile) 2>conftest.er1
25621 ac_status=$?
25622 grep -v '^ *+' conftest.er1 >conftest.err
25623 rm -f conftest.er1
25624 cat conftest.err >&5
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); } &&
25627 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25629 (eval $ac_try) 2>&5
25630 ac_status=$?
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); }; } &&
25633 { ac_try='test -s conftest.$ac_objext'
25634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635 (eval $ac_try) 2>&5
25636 ac_status=$?
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }; }; then
25639 ac_header_compiler=yes
25640 else
25641 echo "$as_me: failed program was:" >&5
25642 sed 's/^/| /' conftest.$ac_ext >&5
25643
25644 ac_header_compiler=no
25645 fi
25646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25648 echo "${ECHO_T}$ac_header_compiler" >&6
25649
25650 # Is the header present?
25651 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25652 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25653 cat >conftest.$ac_ext <<_ACEOF
25654 /* confdefs.h. */
25655 _ACEOF
25656 cat confdefs.h >>conftest.$ac_ext
25657 cat >>conftest.$ac_ext <<_ACEOF
25658 /* end confdefs.h. */
25659 #include <zlib.h>
25660 _ACEOF
25661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25662 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25663 ac_status=$?
25664 grep -v '^ *+' conftest.er1 >conftest.err
25665 rm -f conftest.er1
25666 cat conftest.err >&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); } >/dev/null; then
25669 if test -s conftest.err; then
25670 ac_cpp_err=$ac_cxx_preproc_warn_flag
25671 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25672 else
25673 ac_cpp_err=
25674 fi
25675 else
25676 ac_cpp_err=yes
25677 fi
25678 if test -z "$ac_cpp_err"; then
25679 ac_header_preproc=yes
25680 else
25681 echo "$as_me: failed program was:" >&5
25682 sed 's/^/| /' conftest.$ac_ext >&5
25683
25684 ac_header_preproc=no
25685 fi
25686 rm -f conftest.err conftest.$ac_ext
25687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25688 echo "${ECHO_T}$ac_header_preproc" >&6
25689
25690 # So? What about this header?
25691 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25692 yes:no: )
25693 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25694 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25695 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25696 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25697 ac_header_preproc=yes
25698 ;;
25699 no:yes:* )
25700 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25701 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25702 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25703 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25704 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25705 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25706 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25707 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25708 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25709 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25710 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25711 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25712 (
25713 cat <<\_ASBOX
25714 ## ----------------------------------------- ##
25715 ## Report this to wx-dev@lists.wxwidgets.org ##
25716 ## ----------------------------------------- ##
25717 _ASBOX
25718 ) |
25719 sed "s/^/$as_me: WARNING: /" >&2
25720 ;;
25721 esac
25722 echo "$as_me:$LINENO: checking for zlib.h" >&5
25723 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25724 if test "${ac_cv_header_zlib_h+set}" = set; then
25725 echo $ECHO_N "(cached) $ECHO_C" >&6
25726 else
25727 ac_cv_header_zlib_h=$ac_header_preproc
25728 fi
25729 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25730 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25731
25732 fi
25733
25734
25735
25736 system_zlib_h_ok=$ac_cv_header_zlib_h
25737 fi
25738
25739 if test "$system_zlib_h_ok" = "yes"; then
25740 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25741 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25742 if test "${ac_cv_lib_z_deflate+set}" = set; then
25743 echo $ECHO_N "(cached) $ECHO_C" >&6
25744 else
25745 ac_check_lib_save_LIBS=$LIBS
25746 LIBS="-lz $LIBS"
25747 cat >conftest.$ac_ext <<_ACEOF
25748 /* confdefs.h. */
25749 _ACEOF
25750 cat confdefs.h >>conftest.$ac_ext
25751 cat >>conftest.$ac_ext <<_ACEOF
25752 /* end confdefs.h. */
25753
25754 /* Override any gcc2 internal prototype to avoid an error. */
25755 #ifdef __cplusplus
25756 extern "C"
25757 #endif
25758 /* We use char because int might match the return type of a gcc2
25759 builtin and then its argument prototype would still apply. */
25760 char deflate ();
25761 int
25762 main ()
25763 {
25764 deflate ();
25765 ;
25766 return 0;
25767 }
25768 _ACEOF
25769 rm -f conftest.$ac_objext conftest$ac_exeext
25770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25771 (eval $ac_link) 2>conftest.er1
25772 ac_status=$?
25773 grep -v '^ *+' conftest.er1 >conftest.err
25774 rm -f conftest.er1
25775 cat conftest.err >&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); } &&
25778 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25781 ac_status=$?
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; } &&
25784 { ac_try='test -s conftest$ac_exeext'
25785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25786 (eval $ac_try) 2>&5
25787 ac_status=$?
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); }; }; then
25790 ac_cv_lib_z_deflate=yes
25791 else
25792 echo "$as_me: failed program was:" >&5
25793 sed 's/^/| /' conftest.$ac_ext >&5
25794
25795 ac_cv_lib_z_deflate=no
25796 fi
25797 rm -f conftest.err conftest.$ac_objext \
25798 conftest$ac_exeext conftest.$ac_ext
25799 LIBS=$ac_check_lib_save_LIBS
25800 fi
25801 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25802 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25803 if test $ac_cv_lib_z_deflate = yes; then
25804 ZLIB_LINK=" -lz"
25805 fi
25806
25807 fi
25808
25809 if test "x$ZLIB_LINK" = "x" ; then
25810 if test "$wxUSE_ZLIB" = "sys" ; then
25811 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25812 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25813 { (exit 1); exit 1; }; }
25814 else
25815 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25816 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25817 wxUSE_ZLIB=builtin
25818 fi
25819 else
25820 wxUSE_ZLIB=sys
25821 fi
25822 fi
25823 fi
25824
25825
25826 PNG_LINK=
25827 if test "$wxUSE_LIBPNG" != "no" ; then
25828 cat >>confdefs.h <<\_ACEOF
25829 #define wxUSE_LIBPNG 1
25830 _ACEOF
25831
25832
25833 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25834 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25835 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25836 wxUSE_LIBPNG=sys
25837 fi
25838
25839 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25840 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25841 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25842 wxUSE_LIBPNG=builtin
25843 fi
25844
25845 if test "$wxUSE_MGL" != 1 ; then
25846 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25847 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25848 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25849 if test "${ac_cv_header_png_h+set}" = set; then
25850 echo $ECHO_N "(cached) $ECHO_C" >&6
25851 else
25852 if test "$cross_compiling" = yes; then
25853 unset ac_cv_header_png_h
25854
25855 else
25856 cat >conftest.$ac_ext <<_ACEOF
25857 /* confdefs.h. */
25858 _ACEOF
25859 cat confdefs.h >>conftest.$ac_ext
25860 cat >>conftest.$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25862
25863 #include <png.h>
25864 #include <stdio.h>
25865
25866 int main()
25867 {
25868 FILE *f=fopen("conftestval", "w");
25869 if (!f) exit(1);
25870 fprintf(f, "%s",
25871 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25872 exit(0);
25873 }
25874
25875 _ACEOF
25876 rm -f conftest$ac_exeext
25877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25878 (eval $ac_link) 2>&5
25879 ac_status=$?
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25883 (eval $ac_try) 2>&5
25884 ac_status=$?
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); }; }; then
25887 ac_cv_header_png_h=`cat conftestval`
25888 else
25889 echo "$as_me: program exited with status $ac_status" >&5
25890 echo "$as_me: failed program was:" >&5
25891 sed 's/^/| /' conftest.$ac_ext >&5
25892
25893 ( exit $ac_status )
25894 ac_cv_header_png_h=no
25895 fi
25896 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25897 fi
25898
25899 fi
25900 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25901 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25902 if test "${ac_cv_header_png_h+set}" = set; then
25903 echo "$as_me:$LINENO: checking for png.h" >&5
25904 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25905 if test "${ac_cv_header_png_h+set}" = set; then
25906 echo $ECHO_N "(cached) $ECHO_C" >&6
25907 fi
25908 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25909 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25910 else
25911 # Is the header compilable?
25912 echo "$as_me:$LINENO: checking png.h usability" >&5
25913 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25914 cat >conftest.$ac_ext <<_ACEOF
25915 /* confdefs.h. */
25916 _ACEOF
25917 cat confdefs.h >>conftest.$ac_ext
25918 cat >>conftest.$ac_ext <<_ACEOF
25919 /* end confdefs.h. */
25920 $ac_includes_default
25921 #include <png.h>
25922 _ACEOF
25923 rm -f conftest.$ac_objext
25924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25925 (eval $ac_compile) 2>conftest.er1
25926 ac_status=$?
25927 grep -v '^ *+' conftest.er1 >conftest.err
25928 rm -f conftest.er1
25929 cat conftest.err >&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); } &&
25932 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25935 ac_status=$?
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; } &&
25938 { ac_try='test -s conftest.$ac_objext'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25941 ac_status=$?
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; }; then
25944 ac_header_compiler=yes
25945 else
25946 echo "$as_me: failed program was:" >&5
25947 sed 's/^/| /' conftest.$ac_ext >&5
25948
25949 ac_header_compiler=no
25950 fi
25951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25953 echo "${ECHO_T}$ac_header_compiler" >&6
25954
25955 # Is the header present?
25956 echo "$as_me:$LINENO: checking png.h presence" >&5
25957 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25958 cat >conftest.$ac_ext <<_ACEOF
25959 /* confdefs.h. */
25960 _ACEOF
25961 cat confdefs.h >>conftest.$ac_ext
25962 cat >>conftest.$ac_ext <<_ACEOF
25963 /* end confdefs.h. */
25964 #include <png.h>
25965 _ACEOF
25966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25968 ac_status=$?
25969 grep -v '^ *+' conftest.er1 >conftest.err
25970 rm -f conftest.er1
25971 cat conftest.err >&5
25972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25973 (exit $ac_status); } >/dev/null; then
25974 if test -s conftest.err; then
25975 ac_cpp_err=$ac_cxx_preproc_warn_flag
25976 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25977 else
25978 ac_cpp_err=
25979 fi
25980 else
25981 ac_cpp_err=yes
25982 fi
25983 if test -z "$ac_cpp_err"; then
25984 ac_header_preproc=yes
25985 else
25986 echo "$as_me: failed program was:" >&5
25987 sed 's/^/| /' conftest.$ac_ext >&5
25988
25989 ac_header_preproc=no
25990 fi
25991 rm -f conftest.err conftest.$ac_ext
25992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25993 echo "${ECHO_T}$ac_header_preproc" >&6
25994
25995 # So? What about this header?
25996 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25997 yes:no: )
25998 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25999 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26000 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26001 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26002 ac_header_preproc=yes
26003 ;;
26004 no:yes:* )
26005 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26006 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26007 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26008 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26009 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26010 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26011 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26012 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26013 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26014 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26015 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26016 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26017 (
26018 cat <<\_ASBOX
26019 ## ----------------------------------------- ##
26020 ## Report this to wx-dev@lists.wxwidgets.org ##
26021 ## ----------------------------------------- ##
26022 _ASBOX
26023 ) |
26024 sed "s/^/$as_me: WARNING: /" >&2
26025 ;;
26026 esac
26027 echo "$as_me:$LINENO: checking for png.h" >&5
26028 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26029 if test "${ac_cv_header_png_h+set}" = set; then
26030 echo $ECHO_N "(cached) $ECHO_C" >&6
26031 else
26032 ac_cv_header_png_h=$ac_header_preproc
26033 fi
26034 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26035 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26036
26037 fi
26038
26039
26040
26041 if test "$ac_cv_header_png_h" = "yes"; then
26042 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26043 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26044 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26046 else
26047 ac_check_lib_save_LIBS=$LIBS
26048 LIBS="-lpng -lz -lm $LIBS"
26049 cat >conftest.$ac_ext <<_ACEOF
26050 /* confdefs.h. */
26051 _ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055
26056 /* Override any gcc2 internal prototype to avoid an error. */
26057 #ifdef __cplusplus
26058 extern "C"
26059 #endif
26060 /* We use char because int might match the return type of a gcc2
26061 builtin and then its argument prototype would still apply. */
26062 char png_check_sig ();
26063 int
26064 main ()
26065 {
26066 png_check_sig ();
26067 ;
26068 return 0;
26069 }
26070 _ACEOF
26071 rm -f conftest.$ac_objext conftest$ac_exeext
26072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26073 (eval $ac_link) 2>conftest.er1
26074 ac_status=$?
26075 grep -v '^ *+' conftest.er1 >conftest.err
26076 rm -f conftest.er1
26077 cat conftest.err >&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } &&
26080 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26083 ac_status=$?
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; } &&
26086 { ac_try='test -s conftest$ac_exeext'
26087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26088 (eval $ac_try) 2>&5
26089 ac_status=$?
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); }; }; then
26092 ac_cv_lib_png_png_check_sig=yes
26093 else
26094 echo "$as_me: failed program was:" >&5
26095 sed 's/^/| /' conftest.$ac_ext >&5
26096
26097 ac_cv_lib_png_png_check_sig=no
26098 fi
26099 rm -f conftest.err conftest.$ac_objext \
26100 conftest$ac_exeext conftest.$ac_ext
26101 LIBS=$ac_check_lib_save_LIBS
26102 fi
26103 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26104 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26105 if test $ac_cv_lib_png_png_check_sig = yes; then
26106 PNG_LINK=" -lpng -lz"
26107 fi
26108
26109 fi
26110
26111 if test "x$PNG_LINK" = "x" ; then
26112 if test "$wxUSE_LIBPNG" = "sys" ; then
26113 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26114 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26115 { (exit 1); exit 1; }; }
26116 else
26117 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26118 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26119 wxUSE_LIBPNG=builtin
26120 fi
26121 else
26122 wxUSE_LIBPNG=sys
26123 fi
26124 fi
26125 fi
26126
26127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26128 fi
26129
26130
26131 JPEG_LINK=
26132 if test "$wxUSE_LIBJPEG" != "no" ; then
26133 cat >>confdefs.h <<\_ACEOF
26134 #define wxUSE_LIBJPEG 1
26135 _ACEOF
26136
26137
26138 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26139 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26140 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26141 wxUSE_LIBJPEG=sys
26142 fi
26143
26144 if test "$wxUSE_MGL" != 1 ; then
26145 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26146 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26147 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26148 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26150 else
26151 cat >conftest.$ac_ext <<_ACEOF
26152 /* confdefs.h. */
26153 _ACEOF
26154 cat confdefs.h >>conftest.$ac_ext
26155 cat >>conftest.$ac_ext <<_ACEOF
26156 /* end confdefs.h. */
26157
26158 #undef HAVE_STDLIB_H
26159 #include <stdio.h>
26160 #include <jpeglib.h>
26161
26162 int
26163 main ()
26164 {
26165
26166
26167 ;
26168 return 0;
26169 }
26170 _ACEOF
26171 rm -f conftest.$ac_objext
26172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26173 (eval $ac_compile) 2>conftest.er1
26174 ac_status=$?
26175 grep -v '^ *+' conftest.er1 >conftest.err
26176 rm -f conftest.er1
26177 cat conftest.err >&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); } &&
26180 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26182 (eval $ac_try) 2>&5
26183 ac_status=$?
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); }; } &&
26186 { ac_try='test -s conftest.$ac_objext'
26187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26188 (eval $ac_try) 2>&5
26189 ac_status=$?
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); }; }; then
26192 ac_cv_header_jpeglib_h=yes
26193 else
26194 echo "$as_me: failed program was:" >&5
26195 sed 's/^/| /' conftest.$ac_ext >&5
26196
26197 ac_cv_header_jpeglib_h=no
26198
26199 fi
26200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26201
26202 fi
26203
26204 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26205 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26206
26207 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26208 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26209 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26210 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26211 echo $ECHO_N "(cached) $ECHO_C" >&6
26212 else
26213 ac_check_lib_save_LIBS=$LIBS
26214 LIBS="-ljpeg $LIBS"
26215 cat >conftest.$ac_ext <<_ACEOF
26216 /* confdefs.h. */
26217 _ACEOF
26218 cat confdefs.h >>conftest.$ac_ext
26219 cat >>conftest.$ac_ext <<_ACEOF
26220 /* end confdefs.h. */
26221
26222 /* Override any gcc2 internal prototype to avoid an error. */
26223 #ifdef __cplusplus
26224 extern "C"
26225 #endif
26226 /* We use char because int might match the return type of a gcc2
26227 builtin and then its argument prototype would still apply. */
26228 char jpeg_read_header ();
26229 int
26230 main ()
26231 {
26232 jpeg_read_header ();
26233 ;
26234 return 0;
26235 }
26236 _ACEOF
26237 rm -f conftest.$ac_objext conftest$ac_exeext
26238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26239 (eval $ac_link) 2>conftest.er1
26240 ac_status=$?
26241 grep -v '^ *+' conftest.er1 >conftest.err
26242 rm -f conftest.er1
26243 cat conftest.err >&5
26244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26245 (exit $ac_status); } &&
26246 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26249 ac_status=$?
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; } &&
26252 { ac_try='test -s conftest$ac_exeext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26255 ac_status=$?
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 ac_cv_lib_jpeg_jpeg_read_header=yes
26259 else
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.$ac_ext >&5
26262
26263 ac_cv_lib_jpeg_jpeg_read_header=no
26264 fi
26265 rm -f conftest.err conftest.$ac_objext \
26266 conftest$ac_exeext conftest.$ac_ext
26267 LIBS=$ac_check_lib_save_LIBS
26268 fi
26269 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26270 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26271 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26272 JPEG_LINK=" -ljpeg"
26273 fi
26274
26275 fi
26276
26277 if test "x$JPEG_LINK" = "x" ; then
26278 if test "$wxUSE_LIBJPEG" = "sys" ; then
26279 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26280 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26281 { (exit 1); exit 1; }; }
26282 else
26283 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26284 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26285 wxUSE_LIBJPEG=builtin
26286 fi
26287 else
26288 wxUSE_LIBJPEG=sys
26289 fi
26290 fi
26291 fi
26292 fi
26293
26294
26295 TIFF_LINK=
26296 TIFF_PREREQ_LINKS=-lm
26297 if test "$wxUSE_LIBTIFF" != "no" ; then
26298 cat >>confdefs.h <<\_ACEOF
26299 #define wxUSE_LIBTIFF 1
26300 _ACEOF
26301
26302
26303 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26304 if test "$wxUSE_LIBJPEG" = "sys"; then
26305 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26306 fi
26307 if test "$wxUSE_ZLIB" = "sys"; then
26308 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26309 fi
26310 if test "${ac_cv_header_tiffio_h+set}" = set; then
26311 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26312 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26313 if test "${ac_cv_header_tiffio_h+set}" = set; then
26314 echo $ECHO_N "(cached) $ECHO_C" >&6
26315 fi
26316 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26317 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26318 else
26319 # Is the header compilable?
26320 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26321 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26322 cat >conftest.$ac_ext <<_ACEOF
26323 /* confdefs.h. */
26324 _ACEOF
26325 cat confdefs.h >>conftest.$ac_ext
26326 cat >>conftest.$ac_ext <<_ACEOF
26327 /* end confdefs.h. */
26328 $ac_includes_default
26329 #include <tiffio.h>
26330 _ACEOF
26331 rm -f conftest.$ac_objext
26332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26333 (eval $ac_compile) 2>conftest.er1
26334 ac_status=$?
26335 grep -v '^ *+' conftest.er1 >conftest.err
26336 rm -f conftest.er1
26337 cat conftest.err >&5
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); } &&
26340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26343 ac_status=$?
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; } &&
26346 { ac_try='test -s conftest.$ac_objext'
26347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26348 (eval $ac_try) 2>&5
26349 ac_status=$?
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); }; }; then
26352 ac_header_compiler=yes
26353 else
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26356
26357 ac_header_compiler=no
26358 fi
26359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26361 echo "${ECHO_T}$ac_header_compiler" >&6
26362
26363 # Is the header present?
26364 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26365 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26366 cat >conftest.$ac_ext <<_ACEOF
26367 /* confdefs.h. */
26368 _ACEOF
26369 cat confdefs.h >>conftest.$ac_ext
26370 cat >>conftest.$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26372 #include <tiffio.h>
26373 _ACEOF
26374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26376 ac_status=$?
26377 grep -v '^ *+' conftest.er1 >conftest.err
26378 rm -f conftest.er1
26379 cat conftest.err >&5
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); } >/dev/null; then
26382 if test -s conftest.err; then
26383 ac_cpp_err=$ac_cxx_preproc_warn_flag
26384 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26385 else
26386 ac_cpp_err=
26387 fi
26388 else
26389 ac_cpp_err=yes
26390 fi
26391 if test -z "$ac_cpp_err"; then
26392 ac_header_preproc=yes
26393 else
26394 echo "$as_me: failed program was:" >&5
26395 sed 's/^/| /' conftest.$ac_ext >&5
26396
26397 ac_header_preproc=no
26398 fi
26399 rm -f conftest.err conftest.$ac_ext
26400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26401 echo "${ECHO_T}$ac_header_preproc" >&6
26402
26403 # So? What about this header?
26404 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26405 yes:no: )
26406 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26407 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26408 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26409 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26410 ac_header_preproc=yes
26411 ;;
26412 no:yes:* )
26413 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26414 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26415 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26416 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26417 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26418 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26419 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26420 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26421 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26422 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26423 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26424 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26425 (
26426 cat <<\_ASBOX
26427 ## ----------------------------------------- ##
26428 ## Report this to wx-dev@lists.wxwidgets.org ##
26429 ## ----------------------------------------- ##
26430 _ASBOX
26431 ) |
26432 sed "s/^/$as_me: WARNING: /" >&2
26433 ;;
26434 esac
26435 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26436 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26437 if test "${ac_cv_header_tiffio_h+set}" = set; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26439 else
26440 ac_cv_header_tiffio_h=$ac_header_preproc
26441 fi
26442 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26443 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26444
26445 fi
26446 if test $ac_cv_header_tiffio_h = yes; then
26447
26448 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26449 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26450 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26452 else
26453 ac_check_lib_save_LIBS=$LIBS
26454 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26455 cat >conftest.$ac_ext <<_ACEOF
26456 /* confdefs.h. */
26457 _ACEOF
26458 cat confdefs.h >>conftest.$ac_ext
26459 cat >>conftest.$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26461
26462 /* Override any gcc2 internal prototype to avoid an error. */
26463 #ifdef __cplusplus
26464 extern "C"
26465 #endif
26466 /* We use char because int might match the return type of a gcc2
26467 builtin and then its argument prototype would still apply. */
26468 char TIFFError ();
26469 int
26470 main ()
26471 {
26472 TIFFError ();
26473 ;
26474 return 0;
26475 }
26476 _ACEOF
26477 rm -f conftest.$ac_objext conftest$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>conftest.er1
26480 ac_status=$?
26481 grep -v '^ *+' conftest.er1 >conftest.err
26482 rm -f conftest.er1
26483 cat conftest.err >&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); } &&
26486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26488 (eval $ac_try) 2>&5
26489 ac_status=$?
26490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26491 (exit $ac_status); }; } &&
26492 { ac_try='test -s conftest$ac_exeext'
26493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26494 (eval $ac_try) 2>&5
26495 ac_status=$?
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); }; }; then
26498 ac_cv_lib_tiff_TIFFError=yes
26499 else
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.$ac_ext >&5
26502
26503 ac_cv_lib_tiff_TIFFError=no
26504 fi
26505 rm -f conftest.err conftest.$ac_objext \
26506 conftest$ac_exeext conftest.$ac_ext
26507 LIBS=$ac_check_lib_save_LIBS
26508 fi
26509 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26510 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26511 if test $ac_cv_lib_tiff_TIFFError = yes; then
26512 TIFF_LINK=" -ltiff"
26513 fi
26514
26515
26516
26517 fi
26518
26519
26520
26521 if test "x$TIFF_LINK" = "x" ; then
26522 if test "$wxUSE_LIBTIFF" = "sys" ; then
26523 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26524 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26525 { (exit 1); exit 1; }; }
26526 else
26527 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26528 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26529 wxUSE_LIBTIFF=builtin
26530 fi
26531 else
26532 wxUSE_LIBTIFF=sys
26533 fi
26534 fi
26535 fi
26536
26537
26538 if test "$wxUSE_WCHAR_T" != "yes"; then
26539 if test "$wxUSE_EXPAT" != "no"; then
26540 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26541 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26542 wxUSE_EXPAT=no
26543 fi
26544 if test "$wxUSE_XML" != "no"; then
26545 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26546 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26547 wxUSE_XML=no
26548 fi
26549 fi
26550
26551 if test "$wxUSE_EXPAT" != "no"; then
26552 wxUSE_XML=yes
26553 cat >>confdefs.h <<\_ACEOF
26554 #define wxUSE_EXPAT 1
26555 _ACEOF
26556
26557 cat >>confdefs.h <<\_ACEOF
26558 #define wxUSE_XML 1
26559 _ACEOF
26560
26561
26562 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26563 if test "${ac_cv_header_expat_h+set}" = set; then
26564 echo "$as_me:$LINENO: checking for expat.h" >&5
26565 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26566 if test "${ac_cv_header_expat_h+set}" = set; then
26567 echo $ECHO_N "(cached) $ECHO_C" >&6
26568 fi
26569 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26570 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26571 else
26572 # Is the header compilable?
26573 echo "$as_me:$LINENO: checking expat.h usability" >&5
26574 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26575 cat >conftest.$ac_ext <<_ACEOF
26576 /* confdefs.h. */
26577 _ACEOF
26578 cat confdefs.h >>conftest.$ac_ext
26579 cat >>conftest.$ac_ext <<_ACEOF
26580 /* end confdefs.h. */
26581 $ac_includes_default
26582 #include <expat.h>
26583 _ACEOF
26584 rm -f conftest.$ac_objext
26585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26586 (eval $ac_compile) 2>conftest.er1
26587 ac_status=$?
26588 grep -v '^ *+' conftest.er1 >conftest.err
26589 rm -f conftest.er1
26590 cat conftest.err >&5
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); } &&
26593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26595 (eval $ac_try) 2>&5
26596 ac_status=$?
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); }; } &&
26599 { ac_try='test -s conftest.$ac_objext'
26600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26601 (eval $ac_try) 2>&5
26602 ac_status=$?
26603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26604 (exit $ac_status); }; }; then
26605 ac_header_compiler=yes
26606 else
26607 echo "$as_me: failed program was:" >&5
26608 sed 's/^/| /' conftest.$ac_ext >&5
26609
26610 ac_header_compiler=no
26611 fi
26612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26613 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26614 echo "${ECHO_T}$ac_header_compiler" >&6
26615
26616 # Is the header present?
26617 echo "$as_me:$LINENO: checking expat.h presence" >&5
26618 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26619 cat >conftest.$ac_ext <<_ACEOF
26620 /* confdefs.h. */
26621 _ACEOF
26622 cat confdefs.h >>conftest.$ac_ext
26623 cat >>conftest.$ac_ext <<_ACEOF
26624 /* end confdefs.h. */
26625 #include <expat.h>
26626 _ACEOF
26627 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26628 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26629 ac_status=$?
26630 grep -v '^ *+' conftest.er1 >conftest.err
26631 rm -f conftest.er1
26632 cat conftest.err >&5
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); } >/dev/null; then
26635 if test -s conftest.err; then
26636 ac_cpp_err=$ac_cxx_preproc_warn_flag
26637 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26638 else
26639 ac_cpp_err=
26640 fi
26641 else
26642 ac_cpp_err=yes
26643 fi
26644 if test -z "$ac_cpp_err"; then
26645 ac_header_preproc=yes
26646 else
26647 echo "$as_me: failed program was:" >&5
26648 sed 's/^/| /' conftest.$ac_ext >&5
26649
26650 ac_header_preproc=no
26651 fi
26652 rm -f conftest.err conftest.$ac_ext
26653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26654 echo "${ECHO_T}$ac_header_preproc" >&6
26655
26656 # So? What about this header?
26657 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26658 yes:no: )
26659 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26660 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26661 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26662 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26663 ac_header_preproc=yes
26664 ;;
26665 no:yes:* )
26666 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26667 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26668 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26669 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26670 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26671 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26672 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26673 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26674 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26675 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26676 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26677 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26678 (
26679 cat <<\_ASBOX
26680 ## ----------------------------------------- ##
26681 ## Report this to wx-dev@lists.wxwidgets.org ##
26682 ## ----------------------------------------- ##
26683 _ASBOX
26684 ) |
26685 sed "s/^/$as_me: WARNING: /" >&2
26686 ;;
26687 esac
26688 echo "$as_me:$LINENO: checking for expat.h" >&5
26689 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26690 if test "${ac_cv_header_expat_h+set}" = set; then
26691 echo $ECHO_N "(cached) $ECHO_C" >&6
26692 else
26693 ac_cv_header_expat_h=$ac_header_preproc
26694 fi
26695 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26696 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26697
26698 fi
26699 if test $ac_cv_header_expat_h = yes; then
26700 found_expat_h=1
26701 fi
26702
26703
26704 if test "x$found_expat_h" = "x1"; then
26705 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26706 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26707 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26708 echo $ECHO_N "(cached) $ECHO_C" >&6
26709 else
26710
26711 cat >conftest.$ac_ext <<_ACEOF
26712 /* confdefs.h. */
26713 _ACEOF
26714 cat confdefs.h >>conftest.$ac_ext
26715 cat >>conftest.$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26717 #include <expat.h>
26718 int
26719 main ()
26720 {
26721
26722 ;
26723 return 0;
26724 }
26725 _ACEOF
26726 rm -f conftest.$ac_objext
26727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26728 (eval $ac_compile) 2>conftest.er1
26729 ac_status=$?
26730 grep -v '^ *+' conftest.er1 >conftest.err
26731 rm -f conftest.er1
26732 cat conftest.err >&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); } &&
26735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26738 ac_status=$?
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; } &&
26741 { ac_try='test -s conftest.$ac_objext'
26742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26743 (eval $ac_try) 2>&5
26744 ac_status=$?
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); }; }; then
26747 wx_cv_expat_is_not_broken=yes
26748 else
26749 echo "$as_me: failed program was:" >&5
26750 sed 's/^/| /' conftest.$ac_ext >&5
26751
26752 wx_cv_expat_is_not_broken=no
26753
26754 fi
26755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26756
26757
26758 fi
26759 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26760 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26761 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26762 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26763 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26764 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26765 echo $ECHO_N "(cached) $ECHO_C" >&6
26766 else
26767 ac_check_lib_save_LIBS=$LIBS
26768 LIBS="-lexpat $LIBS"
26769 cat >conftest.$ac_ext <<_ACEOF
26770 /* confdefs.h. */
26771 _ACEOF
26772 cat confdefs.h >>conftest.$ac_ext
26773 cat >>conftest.$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26775
26776 /* Override any gcc2 internal prototype to avoid an error. */
26777 #ifdef __cplusplus
26778 extern "C"
26779 #endif
26780 /* We use char because int might match the return type of a gcc2
26781 builtin and then its argument prototype would still apply. */
26782 char XML_ParserCreate ();
26783 int
26784 main ()
26785 {
26786 XML_ParserCreate ();
26787 ;
26788 return 0;
26789 }
26790 _ACEOF
26791 rm -f conftest.$ac_objext conftest$ac_exeext
26792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26793 (eval $ac_link) 2>conftest.er1
26794 ac_status=$?
26795 grep -v '^ *+' conftest.er1 >conftest.err
26796 rm -f conftest.er1
26797 cat conftest.err >&5
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); } &&
26800 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26802 (eval $ac_try) 2>&5
26803 ac_status=$?
26804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26805 (exit $ac_status); }; } &&
26806 { ac_try='test -s conftest$ac_exeext'
26807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26808 (eval $ac_try) 2>&5
26809 ac_status=$?
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); }; }; then
26812 ac_cv_lib_expat_XML_ParserCreate=yes
26813 else
26814 echo "$as_me: failed program was:" >&5
26815 sed 's/^/| /' conftest.$ac_ext >&5
26816
26817 ac_cv_lib_expat_XML_ParserCreate=no
26818 fi
26819 rm -f conftest.err conftest.$ac_objext \
26820 conftest$ac_exeext conftest.$ac_ext
26821 LIBS=$ac_check_lib_save_LIBS
26822 fi
26823 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26824 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26825 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26826 EXPAT_LINK=" -lexpat"
26827 fi
26828
26829 fi
26830 fi
26831 if test "x$EXPAT_LINK" = "x" ; then
26832 if test "$wxUSE_EXPAT" = "sys" ; then
26833 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26834 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26835 { (exit 1); exit 1; }; }
26836 else
26837 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26838 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26839 wxUSE_EXPAT=builtin
26840 fi
26841 else
26842 wxUSE_EXPAT=sys
26843 fi
26844 fi
26845 if test "$wxUSE_EXPAT" = "builtin" ; then
26846
26847
26848 subdirs="$subdirs src/expat"
26849
26850 fi
26851 fi
26852
26853
26854
26855 if test "$wxUSE_LIBMSPACK" != "no"; then
26856 if test "${ac_cv_header_mspack_h+set}" = set; then
26857 echo "$as_me:$LINENO: checking for mspack.h" >&5
26858 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26859 if test "${ac_cv_header_mspack_h+set}" = set; then
26860 echo $ECHO_N "(cached) $ECHO_C" >&6
26861 fi
26862 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26863 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26864 else
26865 # Is the header compilable?
26866 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26867 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26868 cat >conftest.$ac_ext <<_ACEOF
26869 /* confdefs.h. */
26870 _ACEOF
26871 cat confdefs.h >>conftest.$ac_ext
26872 cat >>conftest.$ac_ext <<_ACEOF
26873 /* end confdefs.h. */
26874 $ac_includes_default
26875 #include <mspack.h>
26876 _ACEOF
26877 rm -f conftest.$ac_objext
26878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26879 (eval $ac_compile) 2>conftest.er1
26880 ac_status=$?
26881 grep -v '^ *+' conftest.er1 >conftest.err
26882 rm -f conftest.er1
26883 cat conftest.err >&5
26884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885 (exit $ac_status); } &&
26886 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26888 (eval $ac_try) 2>&5
26889 ac_status=$?
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); }; } &&
26892 { ac_try='test -s conftest.$ac_objext'
26893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26894 (eval $ac_try) 2>&5
26895 ac_status=$?
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); }; }; then
26898 ac_header_compiler=yes
26899 else
26900 echo "$as_me: failed program was:" >&5
26901 sed 's/^/| /' conftest.$ac_ext >&5
26902
26903 ac_header_compiler=no
26904 fi
26905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26907 echo "${ECHO_T}$ac_header_compiler" >&6
26908
26909 # Is the header present?
26910 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26911 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26912 cat >conftest.$ac_ext <<_ACEOF
26913 /* confdefs.h. */
26914 _ACEOF
26915 cat confdefs.h >>conftest.$ac_ext
26916 cat >>conftest.$ac_ext <<_ACEOF
26917 /* end confdefs.h. */
26918 #include <mspack.h>
26919 _ACEOF
26920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26921 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26922 ac_status=$?
26923 grep -v '^ *+' conftest.er1 >conftest.err
26924 rm -f conftest.er1
26925 cat conftest.err >&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } >/dev/null; then
26928 if test -s conftest.err; then
26929 ac_cpp_err=$ac_cxx_preproc_warn_flag
26930 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26931 else
26932 ac_cpp_err=
26933 fi
26934 else
26935 ac_cpp_err=yes
26936 fi
26937 if test -z "$ac_cpp_err"; then
26938 ac_header_preproc=yes
26939 else
26940 echo "$as_me: failed program was:" >&5
26941 sed 's/^/| /' conftest.$ac_ext >&5
26942
26943 ac_header_preproc=no
26944 fi
26945 rm -f conftest.err conftest.$ac_ext
26946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26947 echo "${ECHO_T}$ac_header_preproc" >&6
26948
26949 # So? What about this header?
26950 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26951 yes:no: )
26952 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26953 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26954 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26955 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26956 ac_header_preproc=yes
26957 ;;
26958 no:yes:* )
26959 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26960 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26961 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26962 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26963 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26964 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26965 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26966 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26967 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26968 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26969 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26970 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26971 (
26972 cat <<\_ASBOX
26973 ## ----------------------------------------- ##
26974 ## Report this to wx-dev@lists.wxwidgets.org ##
26975 ## ----------------------------------------- ##
26976 _ASBOX
26977 ) |
26978 sed "s/^/$as_me: WARNING: /" >&2
26979 ;;
26980 esac
26981 echo "$as_me:$LINENO: checking for mspack.h" >&5
26982 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26983 if test "${ac_cv_header_mspack_h+set}" = set; then
26984 echo $ECHO_N "(cached) $ECHO_C" >&6
26985 else
26986 ac_cv_header_mspack_h=$ac_header_preproc
26987 fi
26988 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26989 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26990
26991 fi
26992 if test $ac_cv_header_mspack_h = yes; then
26993 found_mspack_h=1
26994 fi
26995
26996
26997 if test "x$found_mspack_h" = "x1"; then
26998 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26999 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27000 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 else
27003 ac_check_lib_save_LIBS=$LIBS
27004 LIBS="-lmspack $LIBS"
27005 cat >conftest.$ac_ext <<_ACEOF
27006 /* confdefs.h. */
27007 _ACEOF
27008 cat confdefs.h >>conftest.$ac_ext
27009 cat >>conftest.$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27011
27012 /* Override any gcc2 internal prototype to avoid an error. */
27013 #ifdef __cplusplus
27014 extern "C"
27015 #endif
27016 /* We use char because int might match the return type of a gcc2
27017 builtin and then its argument prototype would still apply. */
27018 char mspack_create_chm_decompressor ();
27019 int
27020 main ()
27021 {
27022 mspack_create_chm_decompressor ();
27023 ;
27024 return 0;
27025 }
27026 _ACEOF
27027 rm -f conftest.$ac_objext conftest$ac_exeext
27028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27029 (eval $ac_link) 2>conftest.er1
27030 ac_status=$?
27031 grep -v '^ *+' conftest.er1 >conftest.err
27032 rm -f conftest.er1
27033 cat conftest.err >&5
27034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035 (exit $ac_status); } &&
27036 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27038 (eval $ac_try) 2>&5
27039 ac_status=$?
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); }; } &&
27042 { ac_try='test -s conftest$ac_exeext'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27045 ac_status=$?
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; }; then
27048 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27049 else
27050 echo "$as_me: failed program was:" >&5
27051 sed 's/^/| /' conftest.$ac_ext >&5
27052
27053 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27054 fi
27055 rm -f conftest.err conftest.$ac_objext \
27056 conftest$ac_exeext conftest.$ac_ext
27057 LIBS=$ac_check_lib_save_LIBS
27058 fi
27059 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27060 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27061 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27062 MSPACK_LINK=" -lmspack"
27063 fi
27064
27065 fi
27066 if test "x$MSPACK_LINK" = "x" ; then
27067 wxUSE_LIBMSPACK=no
27068 fi
27069 fi
27070
27071 if test "$wxUSE_LIBMSPACK" != "no"; then
27072 cat >>confdefs.h <<\_ACEOF
27073 #define wxUSE_LIBMSPACK 1
27074 _ACEOF
27075
27076 fi
27077
27078
27079
27080 AFMINSTALL=
27081 WIN32INSTALL=
27082
27083 TOOLKIT=
27084 TOOLKIT_INCLUDE=
27085 WIDGET_SET=
27086
27087 if test "$USE_WIN32" = 1 ; then
27088
27089 for ac_header in w32api.h
27090 do
27091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27093 echo "$as_me:$LINENO: checking for $ac_header" >&5
27094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 fi
27098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27100 else
27101 # Is the header compilable?
27102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27104 cat >conftest.$ac_ext <<_ACEOF
27105 /* confdefs.h. */
27106 _ACEOF
27107 cat confdefs.h >>conftest.$ac_ext
27108 cat >>conftest.$ac_ext <<_ACEOF
27109 /* end confdefs.h. */
27110 $ac_includes_default
27111 #include <$ac_header>
27112 _ACEOF
27113 rm -f conftest.$ac_objext
27114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27115 (eval $ac_compile) 2>conftest.er1
27116 ac_status=$?
27117 grep -v '^ *+' conftest.er1 >conftest.err
27118 rm -f conftest.er1
27119 cat conftest.err >&5
27120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27121 (exit $ac_status); } &&
27122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
27128 { ac_try='test -s conftest.$ac_objext'
27129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27130 (eval $ac_try) 2>&5
27131 ac_status=$?
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); }; }; then
27134 ac_header_compiler=yes
27135 else
27136 echo "$as_me: failed program was:" >&5
27137 sed 's/^/| /' conftest.$ac_ext >&5
27138
27139 ac_header_compiler=no
27140 fi
27141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27143 echo "${ECHO_T}$ac_header_compiler" >&6
27144
27145 # Is the header present?
27146 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27147 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27148 cat >conftest.$ac_ext <<_ACEOF
27149 /* confdefs.h. */
27150 _ACEOF
27151 cat confdefs.h >>conftest.$ac_ext
27152 cat >>conftest.$ac_ext <<_ACEOF
27153 /* end confdefs.h. */
27154 #include <$ac_header>
27155 _ACEOF
27156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27157 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27158 ac_status=$?
27159 grep -v '^ *+' conftest.er1 >conftest.err
27160 rm -f conftest.er1
27161 cat conftest.err >&5
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); } >/dev/null; then
27164 if test -s conftest.err; then
27165 ac_cpp_err=$ac_cxx_preproc_warn_flag
27166 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27167 else
27168 ac_cpp_err=
27169 fi
27170 else
27171 ac_cpp_err=yes
27172 fi
27173 if test -z "$ac_cpp_err"; then
27174 ac_header_preproc=yes
27175 else
27176 echo "$as_me: failed program was:" >&5
27177 sed 's/^/| /' conftest.$ac_ext >&5
27178
27179 ac_header_preproc=no
27180 fi
27181 rm -f conftest.err conftest.$ac_ext
27182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27183 echo "${ECHO_T}$ac_header_preproc" >&6
27184
27185 # So? What about this header?
27186 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27187 yes:no: )
27188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27191 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27192 ac_header_preproc=yes
27193 ;;
27194 no:yes:* )
27195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27199 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27200 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27201 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27202 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27204 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27205 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27206 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27207 (
27208 cat <<\_ASBOX
27209 ## ----------------------------------------- ##
27210 ## Report this to wx-dev@lists.wxwidgets.org ##
27211 ## ----------------------------------------- ##
27212 _ASBOX
27213 ) |
27214 sed "s/^/$as_me: WARNING: /" >&2
27215 ;;
27216 esac
27217 echo "$as_me:$LINENO: checking for $ac_header" >&5
27218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27220 echo $ECHO_N "(cached) $ECHO_C" >&6
27221 else
27222 eval "$as_ac_Header=\$ac_header_preproc"
27223 fi
27224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27226
27227 fi
27228 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27229 cat >>confdefs.h <<_ACEOF
27230 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27231 _ACEOF
27232
27233 fi
27234
27235 done
27236
27237 if test "${ac_cv_header_windows_h+set}" = set; then
27238 echo "$as_me:$LINENO: checking for windows.h" >&5
27239 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27240 if test "${ac_cv_header_windows_h+set}" = set; then
27241 echo $ECHO_N "(cached) $ECHO_C" >&6
27242 fi
27243 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27244 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27245 else
27246 # Is the header compilable?
27247 echo "$as_me:$LINENO: checking windows.h usability" >&5
27248 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27249 cat >conftest.$ac_ext <<_ACEOF
27250 /* confdefs.h. */
27251 _ACEOF
27252 cat confdefs.h >>conftest.$ac_ext
27253 cat >>conftest.$ac_ext <<_ACEOF
27254 /* end confdefs.h. */
27255 $ac_includes_default
27256 #include <windows.h>
27257 _ACEOF
27258 rm -f conftest.$ac_objext
27259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27260 (eval $ac_compile) 2>conftest.er1
27261 ac_status=$?
27262 grep -v '^ *+' conftest.er1 >conftest.err
27263 rm -f conftest.er1
27264 cat conftest.err >&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } &&
27267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27269 (eval $ac_try) 2>&5
27270 ac_status=$?
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); }; } &&
27273 { ac_try='test -s conftest.$ac_objext'
27274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27275 (eval $ac_try) 2>&5
27276 ac_status=$?
27277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 (exit $ac_status); }; }; then
27279 ac_header_compiler=yes
27280 else
27281 echo "$as_me: failed program was:" >&5
27282 sed 's/^/| /' conftest.$ac_ext >&5
27283
27284 ac_header_compiler=no
27285 fi
27286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27288 echo "${ECHO_T}$ac_header_compiler" >&6
27289
27290 # Is the header present?
27291 echo "$as_me:$LINENO: checking windows.h presence" >&5
27292 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27293 cat >conftest.$ac_ext <<_ACEOF
27294 /* confdefs.h. */
27295 _ACEOF
27296 cat confdefs.h >>conftest.$ac_ext
27297 cat >>conftest.$ac_ext <<_ACEOF
27298 /* end confdefs.h. */
27299 #include <windows.h>
27300 _ACEOF
27301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27303 ac_status=$?
27304 grep -v '^ *+' conftest.er1 >conftest.err
27305 rm -f conftest.er1
27306 cat conftest.err >&5
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); } >/dev/null; then
27309 if test -s conftest.err; then
27310 ac_cpp_err=$ac_cxx_preproc_warn_flag
27311 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27312 else
27313 ac_cpp_err=
27314 fi
27315 else
27316 ac_cpp_err=yes
27317 fi
27318 if test -z "$ac_cpp_err"; then
27319 ac_header_preproc=yes
27320 else
27321 echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.$ac_ext >&5
27323
27324 ac_header_preproc=no
27325 fi
27326 rm -f conftest.err conftest.$ac_ext
27327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27328 echo "${ECHO_T}$ac_header_preproc" >&6
27329
27330 # So? What about this header?
27331 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27332 yes:no: )
27333 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27334 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27335 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27336 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27337 ac_header_preproc=yes
27338 ;;
27339 no:yes:* )
27340 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27341 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27342 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27343 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27344 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27345 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27346 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27347 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27348 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27349 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27350 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27351 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27352 (
27353 cat <<\_ASBOX
27354 ## ----------------------------------------- ##
27355 ## Report this to wx-dev@lists.wxwidgets.org ##
27356 ## ----------------------------------------- ##
27357 _ASBOX
27358 ) |
27359 sed "s/^/$as_me: WARNING: /" >&2
27360 ;;
27361 esac
27362 echo "$as_me:$LINENO: checking for windows.h" >&5
27363 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27364 if test "${ac_cv_header_windows_h+set}" = set; then
27365 echo $ECHO_N "(cached) $ECHO_C" >&6
27366 else
27367 ac_cv_header_windows_h=$ac_header_preproc
27368 fi
27369 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27370 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27371
27372 fi
27373 if test $ac_cv_header_windows_h = yes; then
27374 :
27375 else
27376
27377 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27378 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27379 { (exit 1); exit 1; }; }
27380
27381 fi
27382
27383
27384
27385 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27386
27387 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27388 LIBS="$LIBS -loleacc"
27389 fi
27390
27391 case "${host}" in
27392 *-*-cygwin* )
27393 LIBS="$LIBS -lkernel32 -luser32"
27394 esac
27395
27396 if test "$wxUSE_ODBC" = "sys" ; then
27397 wxUSE_ODBC = "yes"
27398 fi
27399 if test "$wxUSE_ODBC" = "yes" ; then
27400 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27401 cat >>confdefs.h <<\_ACEOF
27402 #define wxUSE_ODBC 1
27403 _ACEOF
27404
27405 fi
27406
27407 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27408 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27409
27410 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27411
27412 WIN32INSTALL=win32install
27413
27414 echo "$as_me:$LINENO: checking for boolean" >&5
27415 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27416 if test "${ac_cv_type_boolean+set}" = set; then
27417 echo $ECHO_N "(cached) $ECHO_C" >&6
27418 else
27419 cat >conftest.$ac_ext <<_ACEOF
27420 /* confdefs.h. */
27421 _ACEOF
27422 cat confdefs.h >>conftest.$ac_ext
27423 cat >>conftest.$ac_ext <<_ACEOF
27424 /* end confdefs.h. */
27425 #include <windows.h>
27426
27427 int
27428 main ()
27429 {
27430 if ((boolean *) 0)
27431 return 0;
27432 if (sizeof (boolean))
27433 return 0;
27434 ;
27435 return 0;
27436 }
27437 _ACEOF
27438 rm -f conftest.$ac_objext
27439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27440 (eval $ac_compile) 2>conftest.er1
27441 ac_status=$?
27442 grep -v '^ *+' conftest.er1 >conftest.err
27443 rm -f conftest.er1
27444 cat conftest.err >&5
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); } &&
27447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27450 ac_status=$?
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; } &&
27453 { ac_try='test -s conftest.$ac_objext'
27454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27455 (eval $ac_try) 2>&5
27456 ac_status=$?
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); }; }; then
27459 ac_cv_type_boolean=yes
27460 else
27461 echo "$as_me: failed program was:" >&5
27462 sed 's/^/| /' conftest.$ac_ext >&5
27463
27464 ac_cv_type_boolean=no
27465 fi
27466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27467 fi
27468 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27469 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27470 if test $ac_cv_type_boolean = yes; then
27471
27472 cat >>confdefs.h <<_ACEOF
27473 #define HAVE_BOOLEAN 1
27474 _ACEOF
27475
27476
27477 fi
27478
27479
27480
27481 for ac_header in pbt.h
27482 do
27483 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27485 echo "$as_me:$LINENO: checking for $ac_header" >&5
27486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27488 echo $ECHO_N "(cached) $ECHO_C" >&6
27489 fi
27490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27492 else
27493 # Is the header compilable?
27494 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27495 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27496 cat >conftest.$ac_ext <<_ACEOF
27497 /* confdefs.h. */
27498 _ACEOF
27499 cat confdefs.h >>conftest.$ac_ext
27500 cat >>conftest.$ac_ext <<_ACEOF
27501 /* end confdefs.h. */
27502 $ac_includes_default
27503 #include <$ac_header>
27504 _ACEOF
27505 rm -f conftest.$ac_objext
27506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27507 (eval $ac_compile) 2>conftest.er1
27508 ac_status=$?
27509 grep -v '^ *+' conftest.er1 >conftest.err
27510 rm -f conftest.er1
27511 cat conftest.err >&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); } &&
27514 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27516 (eval $ac_try) 2>&5
27517 ac_status=$?
27518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27519 (exit $ac_status); }; } &&
27520 { ac_try='test -s conftest.$ac_objext'
27521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27522 (eval $ac_try) 2>&5
27523 ac_status=$?
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); }; }; then
27526 ac_header_compiler=yes
27527 else
27528 echo "$as_me: failed program was:" >&5
27529 sed 's/^/| /' conftest.$ac_ext >&5
27530
27531 ac_header_compiler=no
27532 fi
27533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27535 echo "${ECHO_T}$ac_header_compiler" >&6
27536
27537 # Is the header present?
27538 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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 <$ac_header>
27547 _ACEOF
27548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27550 ac_status=$?
27551 grep -v '^ *+' conftest.er1 >conftest.err
27552 rm -f conftest.er1
27553 cat conftest.err >&5
27554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27555 (exit $ac_status); } >/dev/null; then
27556 if test -s conftest.err; then
27557 ac_cpp_err=$ac_cxx_preproc_warn_flag
27558 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27559 else
27560 ac_cpp_err=
27561 fi
27562 else
27563 ac_cpp_err=yes
27564 fi
27565 if test -z "$ac_cpp_err"; then
27566 ac_header_preproc=yes
27567 else
27568 echo "$as_me: failed program was:" >&5
27569 sed 's/^/| /' conftest.$ac_ext >&5
27570
27571 ac_header_preproc=no
27572 fi
27573 rm -f conftest.err conftest.$ac_ext
27574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27575 echo "${ECHO_T}$ac_header_preproc" >&6
27576
27577 # So? What about this header?
27578 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27579 yes:no: )
27580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27584 ac_header_preproc=yes
27585 ;;
27586 no:yes:* )
27587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27599 (
27600 cat <<\_ASBOX
27601 ## ----------------------------------------- ##
27602 ## Report this to wx-dev@lists.wxwidgets.org ##
27603 ## ----------------------------------------- ##
27604 _ASBOX
27605 ) |
27606 sed "s/^/$as_me: WARNING: /" >&2
27607 ;;
27608 esac
27609 echo "$as_me:$LINENO: checking for $ac_header" >&5
27610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27612 echo $ECHO_N "(cached) $ECHO_C" >&6
27613 else
27614 eval "$as_ac_Header=\$ac_header_preproc"
27615 fi
27616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27618
27619 fi
27620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27621 cat >>confdefs.h <<_ACEOF
27622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27623 _ACEOF
27624
27625 else
27626 cat >>confdefs.h <<\_ACEOF
27627 #define NEED_PBT_H 1
27628 _ACEOF
27629
27630 fi
27631
27632 done
27633
27634 fi
27635
27636 if test "$wxUSE_GUI" = "yes"; then
27637 USE_GUI=1
27638
27639 GUI_TK_LIBRARY=
27640
27641 WXGTK12=
27642 WXGTK127=
27643 WXGTK20=
27644 WXGPE=
27645
27646 if test "$wxUSE_COCOA" = 1 ; then
27647 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27648 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27649 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27650 wxUSE_PRINTING_ARCHITECTURE=no
27651 fi
27652 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27653 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27654 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27655 wxUSE_DRAG_AND_DROP=no
27656 fi
27657 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27658 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27659 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27660 wxUSE_DRAGIMAGE=no
27661 fi
27662 fi
27663
27664 if test "$wxUSE_MSW" = 1 ; then
27665 TOOLKIT=MSW
27666 GUIDIST=MSW_DIST
27667
27668 case "${host}" in
27669 *-*-mingw32* )
27670 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27671 esac
27672 fi
27673
27674 if test "$wxUSE_GTK" = 1; then
27675 ac_ext=c
27676 ac_cpp='$CPP $CPPFLAGS'
27677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27680
27681
27682 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27683 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27684
27685 gtk_version_cached=1
27686 if test "${wx_cv_lib_gtk+set}" = set; then
27687 echo $ECHO_N "(cached) $ECHO_C" >&6
27688 else
27689
27690 gtk_version_cached=0
27691 echo "$as_me:$LINENO: result: " >&5
27692 echo "${ECHO_T}" >&6
27693
27694 GTK_MODULES=
27695 if test "$wxUSE_THREADS" = "yes"; then
27696 GTK_MODULES=gthread
27697 fi
27698
27699 wx_cv_lib_gtk=
27700 if test "x$wxGTK_VERSION" != "x1"
27701 then
27702 case "${host}" in
27703 *-*-solaris2* )
27704 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27705 enable_gtktest=no
27706 fi
27707 esac
27708
27709 # Check whether --enable-gtktest or --disable-gtktest was given.
27710 if test "${enable_gtktest+set}" = set; then
27711 enableval="$enable_gtktest"
27712
27713 else
27714 enable_gtktest=yes
27715 fi;
27716
27717 pkg_config_args=gtk+-2.0
27718 for module in . $GTK_MODULES
27719 do
27720 case "$module" in
27721 gthread)
27722 pkg_config_args="$pkg_config_args gthread-2.0"
27723 ;;
27724 esac
27725 done
27726
27727 no_gtk=""
27728
27729 # Extract the first word of "pkg-config", so it can be a program name with args.
27730 set dummy pkg-config; ac_word=$2
27731 echo "$as_me:$LINENO: checking for $ac_word" >&5
27732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27733 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27734 echo $ECHO_N "(cached) $ECHO_C" >&6
27735 else
27736 case $PKG_CONFIG in
27737 [\\/]* | ?:[\\/]*)
27738 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27739 ;;
27740 *)
27741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27742 for as_dir in $PATH
27743 do
27744 IFS=$as_save_IFS
27745 test -z "$as_dir" && as_dir=.
27746 for ac_exec_ext in '' $ac_executable_extensions; do
27747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27748 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27750 break 2
27751 fi
27752 done
27753 done
27754
27755 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27756 ;;
27757 esac
27758 fi
27759 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27760
27761 if test -n "$PKG_CONFIG"; then
27762 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27763 echo "${ECHO_T}$PKG_CONFIG" >&6
27764 else
27765 echo "$as_me:$LINENO: result: no" >&5
27766 echo "${ECHO_T}no" >&6
27767 fi
27768
27769
27770 if test x$PKG_CONFIG != xno ; then
27771 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27772 :
27773 else
27774 echo "*** pkg-config too old; version 0.7 or better required."
27775 no_gtk=yes
27776 PKG_CONFIG=no
27777 fi
27778 else
27779 no_gtk=yes
27780 fi
27781
27782 min_gtk_version=2.0.0
27783 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27784 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27785
27786 if test x$PKG_CONFIG != xno ; then
27787 ## don't try to run the test against uninstalled libtool libs
27788 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27789 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27790 enable_gtktest=no
27791 fi
27792
27793 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27794 :
27795 else
27796 no_gtk=yes
27797 fi
27798 fi
27799
27800 if test x"$no_gtk" = x ; then
27801 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27802 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27803 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27804 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27805 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27806 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27807 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27808 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27809 if test "x$enable_gtktest" = "xyes" ; then
27810 ac_save_CFLAGS="$CFLAGS"
27811 ac_save_LIBS="$LIBS"
27812 CFLAGS="$CFLAGS $GTK_CFLAGS"
27813 LIBS="$GTK_LIBS $LIBS"
27814 rm -f conf.gtktest
27815 if test "$cross_compiling" = yes; then
27816 echo $ac_n "cross compiling; assumed OK... $ac_c"
27817 else
27818 cat >conftest.$ac_ext <<_ACEOF
27819 /* confdefs.h. */
27820 _ACEOF
27821 cat confdefs.h >>conftest.$ac_ext
27822 cat >>conftest.$ac_ext <<_ACEOF
27823 /* end confdefs.h. */
27824
27825 #include <gtk/gtk.h>
27826 #include <stdio.h>
27827 #include <stdlib.h>
27828
27829 int
27830 main ()
27831 {
27832 int major, minor, micro;
27833 char *tmp_version;
27834
27835 system ("touch conf.gtktest");
27836
27837 /* HP/UX 9 (%@#!) writes to sscanf strings */
27838 tmp_version = g_strdup("$min_gtk_version");
27839 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27840 printf("%s, bad version string\n", "$min_gtk_version");
27841 exit(1);
27842 }
27843
27844 if ((gtk_major_version != $gtk_config_major_version) ||
27845 (gtk_minor_version != $gtk_config_minor_version) ||
27846 (gtk_micro_version != $gtk_config_micro_version))
27847 {
27848 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27849 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27850 gtk_major_version, gtk_minor_version, gtk_micro_version);
27851 printf ("*** was found! If pkg-config was correct, then it is best\n");
27852 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27853 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27854 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27855 printf("*** required on your system.\n");
27856 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27857 printf("*** to point to the correct configuration files\n");
27858 }
27859 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27860 (gtk_minor_version != GTK_MINOR_VERSION) ||
27861 (gtk_micro_version != GTK_MICRO_VERSION))
27862 {
27863 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27864 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27865 printf("*** library (version %d.%d.%d)\n",
27866 gtk_major_version, gtk_minor_version, gtk_micro_version);
27867 }
27868 else
27869 {
27870 if ((gtk_major_version > major) ||
27871 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27872 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27873 {
27874 return 0;
27875 }
27876 else
27877 {
27878 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27879 gtk_major_version, gtk_minor_version, gtk_micro_version);
27880 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27881 major, minor, micro);
27882 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27883 printf("***\n");
27884 printf("*** If you have already installed a sufficiently new version, this error\n");
27885 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27886 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27887 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27888 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27889 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27890 printf("*** so that the correct libraries are found at run-time))\n");
27891 }
27892 }
27893 return 1;
27894 }
27895
27896 _ACEOF
27897 rm -f conftest$ac_exeext
27898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27899 (eval $ac_link) 2>&5
27900 ac_status=$?
27901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27904 (eval $ac_try) 2>&5
27905 ac_status=$?
27906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907 (exit $ac_status); }; }; then
27908 :
27909 else
27910 echo "$as_me: program exited with status $ac_status" >&5
27911 echo "$as_me: failed program was:" >&5
27912 sed 's/^/| /' conftest.$ac_ext >&5
27913
27914 ( exit $ac_status )
27915 no_gtk=yes
27916 fi
27917 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27918 fi
27919 CFLAGS="$ac_save_CFLAGS"
27920 LIBS="$ac_save_LIBS"
27921 fi
27922 fi
27923 if test "x$no_gtk" = x ; then
27924 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27925 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27926 wx_cv_lib_gtk=2.0
27927 else
27928 echo "$as_me:$LINENO: result: no" >&5
27929 echo "${ECHO_T}no" >&6
27930 if test "$PKG_CONFIG" = "no" ; then
27931 echo "*** A new enough version of pkg-config was not found."
27932 echo "*** See http://pkgconfig.sourceforge.net"
27933 else
27934 if test -f conf.gtktest ; then
27935 :
27936 else
27937 echo "*** Could not run GTK+ test program, checking why..."
27938 ac_save_CFLAGS="$CFLAGS"
27939 ac_save_LIBS="$LIBS"
27940 CFLAGS="$CFLAGS $GTK_CFLAGS"
27941 LIBS="$LIBS $GTK_LIBS"
27942 cat >conftest.$ac_ext <<_ACEOF
27943 /* confdefs.h. */
27944 _ACEOF
27945 cat confdefs.h >>conftest.$ac_ext
27946 cat >>conftest.$ac_ext <<_ACEOF
27947 /* end confdefs.h. */
27948
27949 #include <gtk/gtk.h>
27950 #include <stdio.h>
27951
27952 int
27953 main ()
27954 {
27955 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27956 ;
27957 return 0;
27958 }
27959 _ACEOF
27960 rm -f conftest.$ac_objext conftest$ac_exeext
27961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27962 (eval $ac_link) 2>conftest.er1
27963 ac_status=$?
27964 grep -v '^ *+' conftest.er1 >conftest.err
27965 rm -f conftest.er1
27966 cat conftest.err >&5
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); } &&
27969 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27971 (eval $ac_try) 2>&5
27972 ac_status=$?
27973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974 (exit $ac_status); }; } &&
27975 { ac_try='test -s conftest$ac_exeext'
27976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27977 (eval $ac_try) 2>&5
27978 ac_status=$?
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); }; }; then
27981 echo "*** The test program compiled, but did not run. This usually means"
27982 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27983 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27984 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27985 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27986 echo "*** is required on your system"
27987 echo "***"
27988 echo "*** If you have an old version installed, it is best to remove it, although"
27989 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27990 else
27991 echo "$as_me: failed program was:" >&5
27992 sed 's/^/| /' conftest.$ac_ext >&5
27993
27994 echo "*** The test program failed to compile or link. See the file config.log for the"
27995 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27996 fi
27997 rm -f conftest.err conftest.$ac_objext \
27998 conftest$ac_exeext conftest.$ac_ext
27999 CFLAGS="$ac_save_CFLAGS"
28000 LIBS="$ac_save_LIBS"
28001 fi
28002 fi
28003 GTK_CFLAGS=""
28004 GTK_LIBS=""
28005 :
28006 fi
28007
28008
28009 rm -f conf.gtktest
28010
28011
28012 case "${host}" in
28013 *-*-solaris2* )
28014 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28015 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28016 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28017 fi
28018 if test "$wxUSE_SHARED" != "yes"; then
28019 GTK_LIBS="$GTK_LIBS -lX11"
28020 fi
28021 esac
28022 fi
28023
28024 if test -z "$wx_cv_lib_gtk"; then
28025 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28026
28027 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28028 if test "${with_gtk_prefix+set}" = set; then
28029 withval="$with_gtk_prefix"
28030 gtk_config_prefix="$withval"
28031 else
28032 gtk_config_prefix=""
28033 fi;
28034
28035 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28036 if test "${with_gtk_exec_prefix+set}" = set; then
28037 withval="$with_gtk_exec_prefix"
28038 gtk_config_exec_prefix="$withval"
28039 else
28040 gtk_config_exec_prefix=""
28041 fi;
28042 # Check whether --enable-gtktest or --disable-gtktest was given.
28043 if test "${enable_gtktest+set}" = set; then
28044 enableval="$enable_gtktest"
28045
28046 else
28047 enable_gtktest=yes
28048 fi;
28049
28050 for module in . $GTK_MODULES
28051 do
28052 case "$module" in
28053 gthread)
28054 gtk_config_args="$gtk_config_args gthread"
28055 ;;
28056 esac
28057 done
28058
28059 if test x$gtk_config_exec_prefix != x ; then
28060 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28061 if test x${GTK_CONFIG+set} != xset ; then
28062 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28063 fi
28064 fi
28065 if test x$gtk_config_prefix != x ; then
28066 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28067 if test x${GTK_CONFIG+set} != xset ; then
28068 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28069 fi
28070 fi
28071
28072 # Extract the first word of "gtk-config", so it can be a program name with args.
28073 set dummy gtk-config; ac_word=$2
28074 echo "$as_me:$LINENO: checking for $ac_word" >&5
28075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28076 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28077 echo $ECHO_N "(cached) $ECHO_C" >&6
28078 else
28079 case $GTK_CONFIG in
28080 [\\/]* | ?:[\\/]*)
28081 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28082 ;;
28083 *)
28084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28085 for as_dir in $PATH
28086 do
28087 IFS=$as_save_IFS
28088 test -z "$as_dir" && as_dir=.
28089 for ac_exec_ext in '' $ac_executable_extensions; do
28090 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28091 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28093 break 2
28094 fi
28095 done
28096 done
28097
28098 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28099 ;;
28100 esac
28101 fi
28102 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28103
28104 if test -n "$GTK_CONFIG"; then
28105 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28106 echo "${ECHO_T}$GTK_CONFIG" >&6
28107 else
28108 echo "$as_me:$LINENO: result: no" >&5
28109 echo "${ECHO_T}no" >&6
28110 fi
28111
28112 min_gtk_version=1.2.7
28113 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28114 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28115 no_gtk=""
28116 if test "$GTK_CONFIG" = "no" ; then
28117 no_gtk=yes
28118 else
28119 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28120 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28121 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28122 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28123 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28125 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28127 if test "x$enable_gtktest" = "xyes" ; then
28128 ac_save_CFLAGS="$CFLAGS"
28129 ac_save_LIBS="$LIBS"
28130 CFLAGS="$CFLAGS $GTK_CFLAGS"
28131 LIBS="$GTK_LIBS $LIBS"
28132 rm -f conf.gtktest
28133 if test "$cross_compiling" = yes; then
28134 echo $ac_n "cross compiling; assumed OK... $ac_c"
28135 else
28136 cat >conftest.$ac_ext <<_ACEOF
28137 /* confdefs.h. */
28138 _ACEOF
28139 cat confdefs.h >>conftest.$ac_ext
28140 cat >>conftest.$ac_ext <<_ACEOF
28141 /* end confdefs.h. */
28142
28143 #include <gtk/gtk.h>
28144 #include <stdio.h>
28145 #include <stdlib.h>
28146
28147 int
28148 main ()
28149 {
28150 int major, minor, micro;
28151 char *tmp_version;
28152
28153 system ("touch conf.gtktest");
28154
28155 /* HP/UX 9 (%@#!) writes to sscanf strings */
28156 tmp_version = g_strdup("$min_gtk_version");
28157 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28158 printf("%s, bad version string\n", "$min_gtk_version");
28159 exit(1);
28160 }
28161
28162 if ((gtk_major_version != $gtk_config_major_version) ||
28163 (gtk_minor_version != $gtk_config_minor_version) ||
28164 (gtk_micro_version != $gtk_config_micro_version))
28165 {
28166 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28167 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28168 gtk_major_version, gtk_minor_version, gtk_micro_version);
28169 printf ("*** was found! If gtk-config was correct, then it is best\n");
28170 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28171 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28172 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28173 printf("*** required on your system.\n");
28174 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28175 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28176 printf("*** before re-running configure\n");
28177 }
28178 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28179 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28180 (gtk_minor_version != GTK_MINOR_VERSION) ||
28181 (gtk_micro_version != GTK_MICRO_VERSION))
28182 {
28183 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28184 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28185 printf("*** library (version %d.%d.%d)\n",
28186 gtk_major_version, gtk_minor_version, gtk_micro_version);
28187 }
28188 #endif /* defined (GTK_MAJOR_VERSION) ... */
28189 else
28190 {
28191 if ((gtk_major_version > major) ||
28192 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28193 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28194 {
28195 return 0;
28196 }
28197 else
28198 {
28199 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28200 gtk_major_version, gtk_minor_version, gtk_micro_version);
28201 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28202 major, minor, micro);
28203 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28204 printf("***\n");
28205 printf("*** If you have already installed a sufficiently new version, this error\n");
28206 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28207 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28208 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28209 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28210 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28211 printf("*** so that the correct libraries are found at run-time))\n");
28212 }
28213 }
28214 return 1;
28215 }
28216
28217 _ACEOF
28218 rm -f conftest$ac_exeext
28219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28220 (eval $ac_link) 2>&5
28221 ac_status=$?
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28225 (eval $ac_try) 2>&5
28226 ac_status=$?
28227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228 (exit $ac_status); }; }; then
28229 :
28230 else
28231 echo "$as_me: program exited with status $ac_status" >&5
28232 echo "$as_me: failed program was:" >&5
28233 sed 's/^/| /' conftest.$ac_ext >&5
28234
28235 ( exit $ac_status )
28236 no_gtk=yes
28237 fi
28238 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28239 fi
28240 CFLAGS="$ac_save_CFLAGS"
28241 LIBS="$ac_save_LIBS"
28242 fi
28243 fi
28244 if test "x$no_gtk" = x ; then
28245 echo "$as_me:$LINENO: result: yes" >&5
28246 echo "${ECHO_T}yes" >&6
28247 wx_cv_lib_gtk=1.2.7
28248 else
28249 echo "$as_me:$LINENO: result: no" >&5
28250 echo "${ECHO_T}no" >&6
28251 if test "$GTK_CONFIG" = "no" ; then
28252 echo "*** The gtk-config script installed by GTK could not be found"
28253 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28254 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28255 echo "*** full path to gtk-config."
28256 else
28257 if test -f conf.gtktest ; then
28258 :
28259 else
28260 echo "*** Could not run GTK test program, checking why..."
28261 CFLAGS="$CFLAGS $GTK_CFLAGS"
28262 LIBS="$LIBS $GTK_LIBS"
28263 cat >conftest.$ac_ext <<_ACEOF
28264 /* confdefs.h. */
28265 _ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28269
28270 #include <gtk/gtk.h>
28271 #include <stdio.h>
28272
28273 int
28274 main ()
28275 {
28276 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28277 ;
28278 return 0;
28279 }
28280 _ACEOF
28281 rm -f conftest.$ac_objext conftest$ac_exeext
28282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28283 (eval $ac_link) 2>conftest.er1
28284 ac_status=$?
28285 grep -v '^ *+' conftest.er1 >conftest.err
28286 rm -f conftest.er1
28287 cat conftest.err >&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); } &&
28290 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28292 (eval $ac_try) 2>&5
28293 ac_status=$?
28294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28295 (exit $ac_status); }; } &&
28296 { ac_try='test -s conftest$ac_exeext'
28297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28298 (eval $ac_try) 2>&5
28299 ac_status=$?
28300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28301 (exit $ac_status); }; }; then
28302 echo "*** The test program compiled, but did not run. This usually means"
28303 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28304 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28305 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28306 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28307 echo "*** is required on your system"
28308 echo "***"
28309 echo "*** If you have an old version installed, it is best to remove it, although"
28310 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28311 echo "***"
28312 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28313 echo "*** came with the system with the command"
28314 echo "***"
28315 echo "*** rpm --erase --nodeps gtk gtk-devel"
28316 else
28317 echo "$as_me: failed program was:" >&5
28318 sed 's/^/| /' conftest.$ac_ext >&5
28319
28320 echo "*** The test program failed to compile or link. See the file config.log for the"
28321 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28322 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28323 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28324 fi
28325 rm -f conftest.err conftest.$ac_objext \
28326 conftest$ac_exeext conftest.$ac_ext
28327 CFLAGS="$ac_save_CFLAGS"
28328 LIBS="$ac_save_LIBS"
28329 fi
28330 fi
28331 GTK_CFLAGS=""
28332 GTK_LIBS=""
28333 :
28334 fi
28335
28336
28337 rm -f conf.gtktest
28338
28339
28340 if test -z "$wx_cv_lib_gtk"; then
28341
28342 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28343 if test "${with_gtk_prefix+set}" = set; then
28344 withval="$with_gtk_prefix"
28345 gtk_config_prefix="$withval"
28346 else
28347 gtk_config_prefix=""
28348 fi;
28349
28350 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28351 if test "${with_gtk_exec_prefix+set}" = set; then
28352 withval="$with_gtk_exec_prefix"
28353 gtk_config_exec_prefix="$withval"
28354 else
28355 gtk_config_exec_prefix=""
28356 fi;
28357 # Check whether --enable-gtktest or --disable-gtktest was given.
28358 if test "${enable_gtktest+set}" = set; then
28359 enableval="$enable_gtktest"
28360
28361 else
28362 enable_gtktest=yes
28363 fi;
28364
28365 for module in . $GTK_MODULES
28366 do
28367 case "$module" in
28368 gthread)
28369 gtk_config_args="$gtk_config_args gthread"
28370 ;;
28371 esac
28372 done
28373
28374 if test x$gtk_config_exec_prefix != x ; then
28375 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28376 if test x${GTK_CONFIG+set} != xset ; then
28377 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28378 fi
28379 fi
28380 if test x$gtk_config_prefix != x ; then
28381 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28382 if test x${GTK_CONFIG+set} != xset ; then
28383 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28384 fi
28385 fi
28386
28387 # Extract the first word of "gtk-config", so it can be a program name with args.
28388 set dummy gtk-config; ac_word=$2
28389 echo "$as_me:$LINENO: checking for $ac_word" >&5
28390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28391 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28392 echo $ECHO_N "(cached) $ECHO_C" >&6
28393 else
28394 case $GTK_CONFIG in
28395 [\\/]* | ?:[\\/]*)
28396 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28397 ;;
28398 *)
28399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28400 for as_dir in $PATH
28401 do
28402 IFS=$as_save_IFS
28403 test -z "$as_dir" && as_dir=.
28404 for ac_exec_ext in '' $ac_executable_extensions; do
28405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28406 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28408 break 2
28409 fi
28410 done
28411 done
28412
28413 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28414 ;;
28415 esac
28416 fi
28417 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28418
28419 if test -n "$GTK_CONFIG"; then
28420 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28421 echo "${ECHO_T}$GTK_CONFIG" >&6
28422 else
28423 echo "$as_me:$LINENO: result: no" >&5
28424 echo "${ECHO_T}no" >&6
28425 fi
28426
28427 min_gtk_version=1.2.3
28428 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28429 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28430 no_gtk=""
28431 if test "$GTK_CONFIG" = "no" ; then
28432 no_gtk=yes
28433 else
28434 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28435 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28436 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28438 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28440 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28442 if test "x$enable_gtktest" = "xyes" ; then
28443 ac_save_CFLAGS="$CFLAGS"
28444 ac_save_LIBS="$LIBS"
28445 CFLAGS="$CFLAGS $GTK_CFLAGS"
28446 LIBS="$GTK_LIBS $LIBS"
28447 rm -f conf.gtktest
28448 if test "$cross_compiling" = yes; then
28449 echo $ac_n "cross compiling; assumed OK... $ac_c"
28450 else
28451 cat >conftest.$ac_ext <<_ACEOF
28452 /* confdefs.h. */
28453 _ACEOF
28454 cat confdefs.h >>conftest.$ac_ext
28455 cat >>conftest.$ac_ext <<_ACEOF
28456 /* end confdefs.h. */
28457
28458 #include <gtk/gtk.h>
28459 #include <stdio.h>
28460 #include <stdlib.h>
28461
28462 int
28463 main ()
28464 {
28465 int major, minor, micro;
28466 char *tmp_version;
28467
28468 system ("touch conf.gtktest");
28469
28470 /* HP/UX 9 (%@#!) writes to sscanf strings */
28471 tmp_version = g_strdup("$min_gtk_version");
28472 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28473 printf("%s, bad version string\n", "$min_gtk_version");
28474 exit(1);
28475 }
28476
28477 if ((gtk_major_version != $gtk_config_major_version) ||
28478 (gtk_minor_version != $gtk_config_minor_version) ||
28479 (gtk_micro_version != $gtk_config_micro_version))
28480 {
28481 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28482 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28483 gtk_major_version, gtk_minor_version, gtk_micro_version);
28484 printf ("*** was found! If gtk-config was correct, then it is best\n");
28485 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28486 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28487 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28488 printf("*** required on your system.\n");
28489 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28490 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28491 printf("*** before re-running configure\n");
28492 }
28493 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28494 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28495 (gtk_minor_version != GTK_MINOR_VERSION) ||
28496 (gtk_micro_version != GTK_MICRO_VERSION))
28497 {
28498 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28499 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28500 printf("*** library (version %d.%d.%d)\n",
28501 gtk_major_version, gtk_minor_version, gtk_micro_version);
28502 }
28503 #endif /* defined (GTK_MAJOR_VERSION) ... */
28504 else
28505 {
28506 if ((gtk_major_version > major) ||
28507 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28508 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28509 {
28510 return 0;
28511 }
28512 else
28513 {
28514 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28515 gtk_major_version, gtk_minor_version, gtk_micro_version);
28516 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28517 major, minor, micro);
28518 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28519 printf("***\n");
28520 printf("*** If you have already installed a sufficiently new version, this error\n");
28521 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28522 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28523 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28524 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28525 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28526 printf("*** so that the correct libraries are found at run-time))\n");
28527 }
28528 }
28529 return 1;
28530 }
28531
28532 _ACEOF
28533 rm -f conftest$ac_exeext
28534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28535 (eval $ac_link) 2>&5
28536 ac_status=$?
28537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28540 (eval $ac_try) 2>&5
28541 ac_status=$?
28542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543 (exit $ac_status); }; }; then
28544 :
28545 else
28546 echo "$as_me: program exited with status $ac_status" >&5
28547 echo "$as_me: failed program was:" >&5
28548 sed 's/^/| /' conftest.$ac_ext >&5
28549
28550 ( exit $ac_status )
28551 no_gtk=yes
28552 fi
28553 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28554 fi
28555 CFLAGS="$ac_save_CFLAGS"
28556 LIBS="$ac_save_LIBS"
28557 fi
28558 fi
28559 if test "x$no_gtk" = x ; then
28560 echo "$as_me:$LINENO: result: yes" >&5
28561 echo "${ECHO_T}yes" >&6
28562 wx_cv_lib_gtk=1.2.3
28563 else
28564 echo "$as_me:$LINENO: result: no" >&5
28565 echo "${ECHO_T}no" >&6
28566 if test "$GTK_CONFIG" = "no" ; then
28567 echo "*** The gtk-config script installed by GTK could not be found"
28568 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28569 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28570 echo "*** full path to gtk-config."
28571 else
28572 if test -f conf.gtktest ; then
28573 :
28574 else
28575 echo "*** Could not run GTK test program, checking why..."
28576 CFLAGS="$CFLAGS $GTK_CFLAGS"
28577 LIBS="$LIBS $GTK_LIBS"
28578 cat >conftest.$ac_ext <<_ACEOF
28579 /* confdefs.h. */
28580 _ACEOF
28581 cat confdefs.h >>conftest.$ac_ext
28582 cat >>conftest.$ac_ext <<_ACEOF
28583 /* end confdefs.h. */
28584
28585 #include <gtk/gtk.h>
28586 #include <stdio.h>
28587
28588 int
28589 main ()
28590 {
28591 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28592 ;
28593 return 0;
28594 }
28595 _ACEOF
28596 rm -f conftest.$ac_objext conftest$ac_exeext
28597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28598 (eval $ac_link) 2>conftest.er1
28599 ac_status=$?
28600 grep -v '^ *+' conftest.er1 >conftest.err
28601 rm -f conftest.er1
28602 cat conftest.err >&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); } &&
28605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28607 (eval $ac_try) 2>&5
28608 ac_status=$?
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); }; } &&
28611 { ac_try='test -s conftest$ac_exeext'
28612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613 (eval $ac_try) 2>&5
28614 ac_status=$?
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); }; }; then
28617 echo "*** The test program compiled, but did not run. This usually means"
28618 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28619 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28620 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28621 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28622 echo "*** is required on your system"
28623 echo "***"
28624 echo "*** If you have an old version installed, it is best to remove it, although"
28625 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28626 echo "***"
28627 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28628 echo "*** came with the system with the command"
28629 echo "***"
28630 echo "*** rpm --erase --nodeps gtk gtk-devel"
28631 else
28632 echo "$as_me: failed program was:" >&5
28633 sed 's/^/| /' conftest.$ac_ext >&5
28634
28635 echo "*** The test program failed to compile or link. See the file config.log for the"
28636 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28637 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28638 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28639 fi
28640 rm -f conftest.err conftest.$ac_objext \
28641 conftest$ac_exeext conftest.$ac_ext
28642 CFLAGS="$ac_save_CFLAGS"
28643 LIBS="$ac_save_LIBS"
28644 fi
28645 fi
28646 GTK_CFLAGS=""
28647 GTK_LIBS=""
28648 :
28649 fi
28650
28651
28652 rm -f conf.gtktest
28653
28654 fi
28655 fi
28656 fi
28657
28658 if test -z "$wx_cv_lib_gtk"; then
28659 wx_cv_lib_gtk=none
28660 else
28661 wx_cv_cflags_gtk=$GTK_CFLAGS
28662 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28663 fi
28664
28665
28666 fi
28667
28668
28669 if test "$gtk_version_cached" = 1; then
28670 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28671 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28672 fi
28673
28674 case "$wx_cv_lib_gtk" in
28675 2.0) WXGTK20=1
28676 TOOLKIT_VERSION=2
28677 ;;
28678 1.2.7) WXGTK127=1
28679 WXGTK12=1
28680 ;;
28681 1.2.3) WXGTK12=1
28682 ;;
28683 *) { { echo "$as_me:$LINENO: error:
28684 The development files for GTK+ were not found. For GTK+ 2, please
28685 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28686 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28687 and that the version is 1.2.3 or above. Also check that the
28688 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28689 --libs' are in the LD_LIBRARY_PATH or equivalent.
28690 " >&5
28691 echo "$as_me: error:
28692 The development files for GTK+ were not found. For GTK+ 2, please
28693 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28694 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28695 and that the version is 1.2.3 or above. Also check that the
28696 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28697 --libs' are in the LD_LIBRARY_PATH or equivalent.
28698 " >&2;}
28699 { (exit 1); exit 1; }; }
28700 ;;
28701 esac
28702
28703 if test "$WXGTK20" = 1; then
28704 save_CFLAGS="$CFLAGS"
28705 save_LIBS="$LIBS"
28706 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28707 LIBS="$LIBS $wx_cv_libs_gtk"
28708
28709 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28710 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28711 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28712 echo $ECHO_N "(cached) $ECHO_C" >&6
28713 else
28714 cat >conftest.$ac_ext <<_ACEOF
28715 /* confdefs.h. */
28716 _ACEOF
28717 cat confdefs.h >>conftest.$ac_ext
28718 cat >>conftest.$ac_ext <<_ACEOF
28719 /* end confdefs.h. */
28720 #include <gtk/gtk.h>
28721
28722 int
28723 main ()
28724 {
28725 #ifndef gtk_icon_size_lookup
28726 char *p = (char *) gtk_icon_size_lookup;
28727 #endif
28728
28729 ;
28730 return 0;
28731 }
28732 _ACEOF
28733 rm -f conftest.$ac_objext
28734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28735 (eval $ac_compile) 2>conftest.er1
28736 ac_status=$?
28737 grep -v '^ *+' conftest.er1 >conftest.err
28738 rm -f conftest.er1
28739 cat conftest.err >&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); } &&
28742 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28744 (eval $ac_try) 2>&5
28745 ac_status=$?
28746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28747 (exit $ac_status); }; } &&
28748 { ac_try='test -s conftest.$ac_objext'
28749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28750 (eval $ac_try) 2>&5
28751 ac_status=$?
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; }; then
28754 ac_cv_have_decl_gtk_icon_size_lookup=yes
28755 else
28756 echo "$as_me: failed program was:" >&5
28757 sed 's/^/| /' conftest.$ac_ext >&5
28758
28759 ac_cv_have_decl_gtk_icon_size_lookup=no
28760 fi
28761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28762 fi
28763 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28764 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28765 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28766
28767 cat >>confdefs.h <<_ACEOF
28768 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28769 _ACEOF
28770
28771
28772 else
28773 cat >>confdefs.h <<_ACEOF
28774 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28775 _ACEOF
28776
28777 cat >>confdefs.h <<\_ACEOF
28778 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28779 _ACEOF
28780
28781 fi
28782
28783
28784
28785 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28786 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28787 cat >conftest.$ac_ext <<_ACEOF
28788 /* confdefs.h. */
28789 _ACEOF
28790 cat confdefs.h >>conftest.$ac_ext
28791 cat >>conftest.$ac_ext <<_ACEOF
28792 /* end confdefs.h. */
28793
28794 #include <gtk/gtk.h>
28795
28796 int
28797 main ()
28798 {
28799
28800 #if !GTK_CHECK_VERSION(2,6,0)
28801 Not GTK+ 2.6
28802 #endif
28803
28804 ;
28805 return 0;
28806 }
28807 _ACEOF
28808 rm -f conftest.$ac_objext
28809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28810 (eval $ac_compile) 2>conftest.er1
28811 ac_status=$?
28812 grep -v '^ *+' conftest.er1 >conftest.err
28813 rm -f conftest.er1
28814 cat conftest.err >&5
28815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816 (exit $ac_status); } &&
28817 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28819 (eval $ac_try) 2>&5
28820 ac_status=$?
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); }; } &&
28823 { ac_try='test -s conftest.$ac_objext'
28824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28825 (eval $ac_try) 2>&5
28826 ac_status=$?
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); }; }; then
28829
28830 cat >>confdefs.h <<\_ACEOF
28831 #define __WXGTK26__ 1
28832 _ACEOF
28833
28834 cat >>confdefs.h <<\_ACEOF
28835 #define __WXGTK24__ 1
28836 _ACEOF
28837
28838 echo "$as_me:$LINENO: result: yes" >&5
28839 echo "${ECHO_T}yes" >&6
28840 ac_wxgtk26=1
28841
28842 else
28843 echo "$as_me: failed program was:" >&5
28844 sed 's/^/| /' conftest.$ac_ext >&5
28845
28846
28847 echo "$as_me:$LINENO: result: no" >&5
28848 echo "${ECHO_T}no" >&6
28849 ac_wxgtk26=0
28850
28851 fi
28852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28853
28854 if test "$ac_wxgtk26" = 0; then
28855 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28856 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28857 cat >conftest.$ac_ext <<_ACEOF
28858 /* confdefs.h. */
28859 _ACEOF
28860 cat confdefs.h >>conftest.$ac_ext
28861 cat >>conftest.$ac_ext <<_ACEOF
28862 /* end confdefs.h. */
28863
28864 #include <gtk/gtk.h>
28865
28866 int
28867 main ()
28868 {
28869
28870 #if !GTK_CHECK_VERSION(2,4,0)
28871 Not GTK+ 2.4
28872 #endif
28873
28874 ;
28875 return 0;
28876 }
28877 _ACEOF
28878 rm -f conftest.$ac_objext
28879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28880 (eval $ac_compile) 2>conftest.er1
28881 ac_status=$?
28882 grep -v '^ *+' conftest.er1 >conftest.err
28883 rm -f conftest.er1
28884 cat conftest.err >&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); } &&
28887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 (eval $ac_try) 2>&5
28890 ac_status=$?
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); }; } &&
28893 { ac_try='test -s conftest.$ac_objext'
28894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28895 (eval $ac_try) 2>&5
28896 ac_status=$?
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); }; }; then
28899
28900 cat >>confdefs.h <<\_ACEOF
28901 #define __WXGTK24__ 1
28902 _ACEOF
28903
28904 echo "$as_me:$LINENO: result: yes" >&5
28905 echo "${ECHO_T}yes" >&6
28906
28907 else
28908 echo "$as_me: failed program was:" >&5
28909 sed 's/^/| /' conftest.$ac_ext >&5
28910
28911
28912 echo "$as_me:$LINENO: result: no" >&5
28913 echo "${ECHO_T}no" >&6
28914
28915 fi
28916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28917 fi
28918
28919 CFLAGS="$save_CFLAGS"
28920 LIBS="$save_LIBS"
28921 else
28922 if test "$wxUSE_UNICODE" = "yes"; then
28923 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28924 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28925 wxUSE_UNICODE=no
28926 fi
28927
28928 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28929 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28930 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28931 echo $ECHO_N "(cached) $ECHO_C" >&6
28932 else
28933 ac_check_lib_save_LIBS=$LIBS
28934 LIBS="-lgdk $LIBS"
28935 cat >conftest.$ac_ext <<_ACEOF
28936 /* confdefs.h. */
28937 _ACEOF
28938 cat confdefs.h >>conftest.$ac_ext
28939 cat >>conftest.$ac_ext <<_ACEOF
28940 /* end confdefs.h. */
28941
28942 /* Override any gcc2 internal prototype to avoid an error. */
28943 #ifdef __cplusplus
28944 extern "C"
28945 #endif
28946 /* We use char because int might match the return type of a gcc2
28947 builtin and then its argument prototype would still apply. */
28948 char gdk_im_open ();
28949 int
28950 main ()
28951 {
28952 gdk_im_open ();
28953 ;
28954 return 0;
28955 }
28956 _ACEOF
28957 rm -f conftest.$ac_objext conftest$ac_exeext
28958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28959 (eval $ac_link) 2>conftest.er1
28960 ac_status=$?
28961 grep -v '^ *+' conftest.er1 >conftest.err
28962 rm -f conftest.er1
28963 cat conftest.err >&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } &&
28966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28968 (eval $ac_try) 2>&5
28969 ac_status=$?
28970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971 (exit $ac_status); }; } &&
28972 { ac_try='test -s conftest$ac_exeext'
28973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28974 (eval $ac_try) 2>&5
28975 ac_status=$?
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); }; }; then
28978 ac_cv_lib_gdk_gdk_im_open=yes
28979 else
28980 echo "$as_me: failed program was:" >&5
28981 sed 's/^/| /' conftest.$ac_ext >&5
28982
28983 ac_cv_lib_gdk_gdk_im_open=no
28984 fi
28985 rm -f conftest.err conftest.$ac_objext \
28986 conftest$ac_exeext conftest.$ac_ext
28987 LIBS=$ac_check_lib_save_LIBS
28988 fi
28989 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28990 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28991 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28992 cat >>confdefs.h <<\_ACEOF
28993 #define HAVE_XIM 1
28994 _ACEOF
28995
28996 fi
28997
28998 fi
28999
29000 ac_ext=cc
29001 ac_cpp='$CXXCPP $CPPFLAGS'
29002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29005
29006
29007 if test "$USE_DARWIN" != 1; then
29008
29009 for ac_func in poll
29010 do
29011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29012 echo "$as_me:$LINENO: checking for $ac_func" >&5
29013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29014 if eval "test \"\${$as_ac_var+set}\" = set"; then
29015 echo $ECHO_N "(cached) $ECHO_C" >&6
29016 else
29017 cat >conftest.$ac_ext <<_ACEOF
29018 /* confdefs.h. */
29019 _ACEOF
29020 cat confdefs.h >>conftest.$ac_ext
29021 cat >>conftest.$ac_ext <<_ACEOF
29022 /* end confdefs.h. */
29023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29025 #define $ac_func innocuous_$ac_func
29026
29027 /* System header to define __stub macros and hopefully few prototypes,
29028 which can conflict with char $ac_func (); below.
29029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29030 <limits.h> exists even on freestanding compilers. */
29031
29032 #ifdef __STDC__
29033 # include <limits.h>
29034 #else
29035 # include <assert.h>
29036 #endif
29037
29038 #undef $ac_func
29039
29040 /* Override any gcc2 internal prototype to avoid an error. */
29041 #ifdef __cplusplus
29042 extern "C"
29043 {
29044 #endif
29045 /* We use char because int might match the return type of a gcc2
29046 builtin and then its argument prototype would still apply. */
29047 char $ac_func ();
29048 /* The GNU C library defines this for functions which it implements
29049 to always fail with ENOSYS. Some functions are actually named
29050 something starting with __ and the normal name is an alias. */
29051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29052 choke me
29053 #else
29054 char (*f) () = $ac_func;
29055 #endif
29056 #ifdef __cplusplus
29057 }
29058 #endif
29059
29060 int
29061 main ()
29062 {
29063 return f != $ac_func;
29064 ;
29065 return 0;
29066 }
29067 _ACEOF
29068 rm -f conftest.$ac_objext conftest$ac_exeext
29069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29070 (eval $ac_link) 2>conftest.er1
29071 ac_status=$?
29072 grep -v '^ *+' conftest.er1 >conftest.err
29073 rm -f conftest.er1
29074 cat conftest.err >&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } &&
29077 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29079 (eval $ac_try) 2>&5
29080 ac_status=$?
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); }; } &&
29083 { ac_try='test -s conftest$ac_exeext'
29084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29085 (eval $ac_try) 2>&5
29086 ac_status=$?
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); }; }; then
29089 eval "$as_ac_var=yes"
29090 else
29091 echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.$ac_ext >&5
29093
29094 eval "$as_ac_var=no"
29095 fi
29096 rm -f conftest.err conftest.$ac_objext \
29097 conftest$ac_exeext conftest.$ac_ext
29098 fi
29099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29101 if test `eval echo '${'$as_ac_var'}'` = yes; then
29102 cat >>confdefs.h <<_ACEOF
29103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29104 _ACEOF
29105
29106 fi
29107 done
29108
29109 fi
29110
29111 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29112 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29113
29114 AFMINSTALL=afminstall
29115 TOOLKIT=GTK
29116 GUIDIST=GTK_DIST
29117
29118 if test "$wxUSE_GPE" = "yes"; then
29119 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29120 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29121
29122 ac_find_libraries=
29123 for ac_dir in $SEARCH_LIB;
29124 do
29125 for ac_extension in a so sl dylib dll.a; do
29126 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29127 ac_find_libraries=$ac_dir
29128 break 2
29129 fi
29130 done
29131 done
29132
29133 if test "$ac_find_libraries" != "" ; then
29134
29135 if test "$ac_find_libraries" = "default location"; then
29136 ac_path_to_link=""
29137 else
29138 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29139 result=$?
29140 if test $result = 0; then
29141 ac_path_to_link=""
29142 else
29143 ac_path_to_link=" -L$ac_find_libraries"
29144 fi
29145 fi
29146
29147 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29148 WXGPE=1
29149 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29150 echo "${ECHO_T}found in $ac_find_libraries" >&6
29151 else
29152 echo "$as_me:$LINENO: result: not found" >&5
29153 echo "${ECHO_T}not found" >&6
29154 fi
29155
29156 fi
29157 fi
29158
29159 if test "$wxUSE_MGL" = 1; then
29160 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29161 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29162 if test "x$MGL_ROOT" = x ; then
29163 echo "$as_me:$LINENO: result: not found" >&5
29164 echo "${ECHO_T}not found" >&6
29165 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29166 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29167 { (exit 1); exit 1; }; }
29168 else
29169 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29170 echo "${ECHO_T}$MGL_ROOT" >&6
29171 fi
29172
29173 echo "$as_me:$LINENO: checking for libmgl location" >&5
29174 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29175 case "${host}" in
29176 *-*-linux* )
29177 if test "x$wxUSE_SHARED" = xyes ; then
29178 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29179 else
29180 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29181 fi
29182 ;;
29183 *-pc-msdosdjgpp )
29184 mgl_os_candidates="dos32/dj2"
29185 ;;
29186 *)
29187 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29188 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29189 { (exit 1); exit 1; }; }
29190 esac
29191
29192 mgl_lib_type=""
29193 mgl_os=""
29194
29195 for mgl_os_i in $mgl_os_candidates ; do
29196 if test "x$mgl_os" = x ; then
29197 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29198 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29199 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29200 mgl_lib_type=debug
29201 mgl_os=$mgl_os_i
29202 fi
29203 fi
29204 if test "x$mgl_lib_type" = x ; then
29205 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29206 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29207 mgl_lib_type=release
29208 mgl_os=$mgl_os_i
29209 fi
29210 fi
29211 fi
29212 done
29213
29214 if test "x$mgl_os" = x ; then
29215 echo "$as_me:$LINENO: result: not found" >&5
29216 echo "${ECHO_T}not found" >&6
29217 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29218 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29219 { (exit 1); exit 1; }; }
29220 fi
29221 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29222 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29223
29224 wxUSE_UNIVERSAL="yes"
29225
29226 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29227 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29228
29229 AFMINSTALL=afminstall
29230 TOOLKIT=MGL
29231 GUIDIST=MGL_DIST
29232 fi
29233
29234 if test "$wxUSE_DFB" = 1; then
29235
29236
29237 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29238 if test -n "$ac_tool_prefix"; then
29239 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29240 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29241 echo "$as_me:$LINENO: checking for $ac_word" >&5
29242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29243 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29244 echo $ECHO_N "(cached) $ECHO_C" >&6
29245 else
29246 case $PKG_CONFIG in
29247 [\\/]* | ?:[\\/]*)
29248 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29249 ;;
29250 *)
29251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29252 for as_dir in $PATH
29253 do
29254 IFS=$as_save_IFS
29255 test -z "$as_dir" && as_dir=.
29256 for ac_exec_ext in '' $ac_executable_extensions; do
29257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29258 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29260 break 2
29261 fi
29262 done
29263 done
29264
29265 ;;
29266 esac
29267 fi
29268 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29269
29270 if test -n "$PKG_CONFIG"; then
29271 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29272 echo "${ECHO_T}$PKG_CONFIG" >&6
29273 else
29274 echo "$as_me:$LINENO: result: no" >&5
29275 echo "${ECHO_T}no" >&6
29276 fi
29277
29278 fi
29279 if test -z "$ac_cv_path_PKG_CONFIG"; then
29280 ac_pt_PKG_CONFIG=$PKG_CONFIG
29281 # Extract the first word of "pkg-config", so it can be a program name with args.
29282 set dummy pkg-config; ac_word=$2
29283 echo "$as_me:$LINENO: checking for $ac_word" >&5
29284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29285 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29286 echo $ECHO_N "(cached) $ECHO_C" >&6
29287 else
29288 case $ac_pt_PKG_CONFIG in
29289 [\\/]* | ?:[\\/]*)
29290 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29291 ;;
29292 *)
29293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29294 for as_dir in $PATH
29295 do
29296 IFS=$as_save_IFS
29297 test -z "$as_dir" && as_dir=.
29298 for ac_exec_ext in '' $ac_executable_extensions; do
29299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29300 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29302 break 2
29303 fi
29304 done
29305 done
29306
29307 ;;
29308 esac
29309 fi
29310 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29311
29312 if test -n "$ac_pt_PKG_CONFIG"; then
29313 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29314 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29315 else
29316 echo "$as_me:$LINENO: result: no" >&5
29317 echo "${ECHO_T}no" >&6
29318 fi
29319
29320 PKG_CONFIG=$ac_pt_PKG_CONFIG
29321 else
29322 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29323 fi
29324
29325 fi
29326 if test -n "$PKG_CONFIG"; then
29327 _pkg_min_version=0.9.0
29328 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29329 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29330 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29331 echo "$as_me:$LINENO: result: yes" >&5
29332 echo "${ECHO_T}yes" >&6
29333 else
29334 echo "$as_me:$LINENO: result: no" >&5
29335 echo "${ECHO_T}no" >&6
29336 PKG_CONFIG=""
29337 fi
29338
29339 fi
29340
29341
29342 pkg_failed=no
29343 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29344 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29345
29346 if test -n "$PKG_CONFIG"; then
29347 if test -n "$DIRECTFB_CFLAGS"; then
29348 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29349 else
29350 if test -n "$PKG_CONFIG" && \
29351 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29352 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29353 ac_status=$?
29354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29355 (exit $ac_status); }; then
29356 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29357 else
29358 pkg_failed=yes
29359 fi
29360 fi
29361 else
29362 pkg_failed=untried
29363 fi
29364 if test -n "$PKG_CONFIG"; then
29365 if test -n "$DIRECTFB_LIBS"; then
29366 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29367 else
29368 if test -n "$PKG_CONFIG" && \
29369 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29370 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29371 ac_status=$?
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); }; then
29374 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29375 else
29376 pkg_failed=yes
29377 fi
29378 fi
29379 else
29380 pkg_failed=untried
29381 fi
29382
29383
29384
29385 if test $pkg_failed = yes; then
29386
29387 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29388 _pkg_short_errors_supported=yes
29389 else
29390 _pkg_short_errors_supported=no
29391 fi
29392 if test $_pkg_short_errors_supported = yes; then
29393 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29394 else
29395 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29396 fi
29397 # Put the nasty error message in config.log where it belongs
29398 echo "$DIRECTFB_PKG_ERRORS" >&5
29399
29400
29401 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29402 echo "$as_me: error: DirectFB not found." >&2;}
29403 { (exit 1); exit 1; }; }
29404
29405
29406 elif test $pkg_failed = untried; then
29407
29408 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29409 echo "$as_me: error: DirectFB not found." >&2;}
29410 { (exit 1); exit 1; }; }
29411
29412
29413 else
29414 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29415 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29416 echo "$as_me:$LINENO: result: yes" >&5
29417 echo "${ECHO_T}yes" >&6
29418
29419 wxUSE_UNIVERSAL="yes"
29420 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29421 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29422 TOOLKIT=DFB
29423 GUIDIST=DFB_DIST
29424
29425 fi
29426 fi
29427
29428 if test "$wxUSE_MICROWIN" = 1; then
29429 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29430 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29431 if test "x$MICROWINDOWS" = x ; then
29432 echo "$as_me:$LINENO: result: not found" >&5
29433 echo "${ECHO_T}not found" >&6
29434 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29435 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29436 { (exit 1); exit 1; }; }
29437 else
29438 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29439 echo "${ECHO_T}$MICROWINDOWS" >&6
29440 fi
29441
29442 if test -f $MICROWINDOWS/lib/libmwin.a; then
29443 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29444 echo "${ECHO_T}MicroWindows' libraries found." >&6
29445 else
29446 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29447 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29448 { (exit 1); exit 1; }; }
29449 fi
29450
29451 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29452 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29453
29454 wxUSE_UNIVERSAL="yes"
29455
29456 AFMINSTALL=afminstall
29457 TOOLKIT=MICROWIN
29458 GUIDIST=MICROWIN_DIST
29459
29460 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29461 fi
29462
29463 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29464
29465 if test "x$ac_path_x_has_been_run" != xyes; then
29466 echo "$as_me:$LINENO: checking for X" >&5
29467 echo $ECHO_N "checking for X... $ECHO_C" >&6
29468
29469 ac_path_x_has_been_run=yes
29470
29471 # Check whether --with-x or --without-x was given.
29472 if test "${with_x+set}" = set; then
29473 withval="$with_x"
29474
29475 fi;
29476 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29477 if test "x$with_x" = xno; then
29478 # The user explicitly disabled X.
29479 have_x=disabled
29480 else
29481 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29482 # Both variables are already set.
29483 have_x=yes
29484 else
29485 if test "${ac_cv_have_x+set}" = set; then
29486 echo $ECHO_N "(cached) $ECHO_C" >&6
29487 else
29488 # One or both of the vars are not set, and there is no cached value.
29489 ac_x_includes=no ac_x_libraries=no
29490 rm -fr conftest.dir
29491 if mkdir conftest.dir; then
29492 cd conftest.dir
29493 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29494 cat >Imakefile <<'_ACEOF'
29495 acfindx:
29496 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29497 _ACEOF
29498 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29499 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29500 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29501 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29502 for ac_extension in a so sl; do
29503 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29504 test -f $ac_im_libdir/libX11.$ac_extension; then
29505 ac_im_usrlibdir=$ac_im_libdir; break
29506 fi
29507 done
29508 # Screen out bogus values from the imake configuration. They are
29509 # bogus both because they are the default anyway, and because
29510 # using them would break gcc on systems where it needs fixed includes.
29511 case $ac_im_incroot in
29512 /usr/include) ;;
29513 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29514 esac
29515 case $ac_im_usrlibdir in
29516 /usr/lib | /lib) ;;
29517 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29518 esac
29519 fi
29520 cd ..
29521 rm -fr conftest.dir
29522 fi
29523
29524 # Standard set of common directories for X headers.
29525 # Check X11 before X11Rn because it is often a symlink to the current release.
29526 ac_x_header_dirs='
29527 /usr/X11/include
29528 /usr/X11R6/include
29529 /usr/X11R5/include
29530 /usr/X11R4/include
29531
29532 /usr/include/X11
29533 /usr/include/X11R6
29534 /usr/include/X11R5
29535 /usr/include/X11R4
29536
29537 /usr/local/X11/include
29538 /usr/local/X11R6/include
29539 /usr/local/X11R5/include
29540 /usr/local/X11R4/include
29541
29542 /usr/local/include/X11
29543 /usr/local/include/X11R6
29544 /usr/local/include/X11R5
29545 /usr/local/include/X11R4
29546
29547 /usr/X386/include
29548 /usr/x386/include
29549 /usr/XFree86/include/X11
29550
29551 /usr/include
29552 /usr/local/include
29553 /usr/unsupported/include
29554 /usr/athena/include
29555 /usr/local/x11r5/include
29556 /usr/lpp/Xamples/include
29557
29558 /usr/openwin/include
29559 /usr/openwin/share/include'
29560
29561 if test "$ac_x_includes" = no; then
29562 # Guess where to find include files, by looking for a specified header file.
29563 # First, try using that file with no special directory specified.
29564 cat >conftest.$ac_ext <<_ACEOF
29565 /* confdefs.h. */
29566 _ACEOF
29567 cat confdefs.h >>conftest.$ac_ext
29568 cat >>conftest.$ac_ext <<_ACEOF
29569 /* end confdefs.h. */
29570 #include <X11/Intrinsic.h>
29571 _ACEOF
29572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29574 ac_status=$?
29575 grep -v '^ *+' conftest.er1 >conftest.err
29576 rm -f conftest.er1
29577 cat conftest.err >&5
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); } >/dev/null; then
29580 if test -s conftest.err; then
29581 ac_cpp_err=$ac_cxx_preproc_warn_flag
29582 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29583 else
29584 ac_cpp_err=
29585 fi
29586 else
29587 ac_cpp_err=yes
29588 fi
29589 if test -z "$ac_cpp_err"; then
29590 # We can compile using X headers with no special include directory.
29591 ac_x_includes=
29592 else
29593 echo "$as_me: failed program was:" >&5
29594 sed 's/^/| /' conftest.$ac_ext >&5
29595
29596 for ac_dir in $ac_x_header_dirs; do
29597 if test -r "$ac_dir/X11/Intrinsic.h"; then
29598 ac_x_includes=$ac_dir
29599 break
29600 fi
29601 done
29602 fi
29603 rm -f conftest.err conftest.$ac_ext
29604 fi # $ac_x_includes = no
29605
29606 if test "$ac_x_libraries" = no; then
29607 # Check for the libraries.
29608 # See if we find them without any special options.
29609 # Don't add to $LIBS permanently.
29610 ac_save_LIBS=$LIBS
29611 LIBS="-lXt $LIBS"
29612 cat >conftest.$ac_ext <<_ACEOF
29613 /* confdefs.h. */
29614 _ACEOF
29615 cat confdefs.h >>conftest.$ac_ext
29616 cat >>conftest.$ac_ext <<_ACEOF
29617 /* end confdefs.h. */
29618 #include <X11/Intrinsic.h>
29619 int
29620 main ()
29621 {
29622 XtMalloc (0)
29623 ;
29624 return 0;
29625 }
29626 _ACEOF
29627 rm -f conftest.$ac_objext conftest$ac_exeext
29628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29629 (eval $ac_link) 2>conftest.er1
29630 ac_status=$?
29631 grep -v '^ *+' conftest.er1 >conftest.err
29632 rm -f conftest.er1
29633 cat conftest.err >&5
29634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29635 (exit $ac_status); } &&
29636 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29638 (eval $ac_try) 2>&5
29639 ac_status=$?
29640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29641 (exit $ac_status); }; } &&
29642 { ac_try='test -s conftest$ac_exeext'
29643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29644 (eval $ac_try) 2>&5
29645 ac_status=$?
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); }; }; then
29648 LIBS=$ac_save_LIBS
29649 # We can link X programs with no special library path.
29650 ac_x_libraries=
29651 else
29652 echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.$ac_ext >&5
29654
29655 LIBS=$ac_save_LIBS
29656 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29657 do
29658 # Don't even attempt the hair of trying to link an X program!
29659 for ac_extension in a so sl; do
29660 if test -r $ac_dir/libXt.$ac_extension; then
29661 ac_x_libraries=$ac_dir
29662 break 2
29663 fi
29664 done
29665 done
29666 fi
29667 rm -f conftest.err conftest.$ac_objext \
29668 conftest$ac_exeext conftest.$ac_ext
29669 fi # $ac_x_libraries = no
29670
29671 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29672 # Didn't find X anywhere. Cache the known absence of X.
29673 ac_cv_have_x="have_x=no"
29674 else
29675 # Record where we found X for the cache.
29676 ac_cv_have_x="have_x=yes \
29677 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29678 fi
29679 fi
29680
29681 fi
29682 eval "$ac_cv_have_x"
29683 fi # $with_x != no
29684
29685 if test "$have_x" != yes; then
29686 echo "$as_me:$LINENO: result: $have_x" >&5
29687 echo "${ECHO_T}$have_x" >&6
29688 no_x=yes
29689 else
29690 # If each of the values was on the command line, it overrides each guess.
29691 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29692 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29693 # Update the cache value to reflect the command line values.
29694 ac_cv_have_x="have_x=yes \
29695 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29696 # It might be that x_includes is empty (headers are found in the
29697 # standard search path. Then output the corresponding message
29698 ac_out_x_includes=$x_includes
29699 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29700 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29701 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29702 fi
29703
29704 fi
29705 if test "$no_x" = yes; then
29706 # Not all programs may use this symbol, but it does not hurt to define it.
29707
29708 cat >>confdefs.h <<\_ACEOF
29709 #define X_DISPLAY_MISSING 1
29710 _ACEOF
29711
29712 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29713 else
29714 if test -n "$x_includes"; then
29715 X_CFLAGS="$X_CFLAGS -I$x_includes"
29716 fi
29717
29718 # It would also be nice to do this for all -L options, not just this one.
29719 if test -n "$x_libraries"; then
29720 X_LIBS="$X_LIBS -L$x_libraries"
29721 # For Solaris; some versions of Sun CC require a space after -R and
29722 # others require no space. Words are not sufficient . . . .
29723 case `(uname -sr) 2>/dev/null` in
29724 "SunOS 5"*)
29725 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29726 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29727 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29728 cat >conftest.$ac_ext <<_ACEOF
29729 /* confdefs.h. */
29730 _ACEOF
29731 cat confdefs.h >>conftest.$ac_ext
29732 cat >>conftest.$ac_ext <<_ACEOF
29733 /* end confdefs.h. */
29734
29735 int
29736 main ()
29737 {
29738
29739 ;
29740 return 0;
29741 }
29742 _ACEOF
29743 rm -f conftest.$ac_objext conftest$ac_exeext
29744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29745 (eval $ac_link) 2>conftest.er1
29746 ac_status=$?
29747 grep -v '^ *+' conftest.er1 >conftest.err
29748 rm -f conftest.er1
29749 cat conftest.err >&5
29750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751 (exit $ac_status); } &&
29752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29754 (eval $ac_try) 2>&5
29755 ac_status=$?
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); }; } &&
29758 { ac_try='test -s conftest$ac_exeext'
29759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29760 (eval $ac_try) 2>&5
29761 ac_status=$?
29762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29763 (exit $ac_status); }; }; then
29764 ac_R_nospace=yes
29765 else
29766 echo "$as_me: failed program was:" >&5
29767 sed 's/^/| /' conftest.$ac_ext >&5
29768
29769 ac_R_nospace=no
29770 fi
29771 rm -f conftest.err conftest.$ac_objext \
29772 conftest$ac_exeext conftest.$ac_ext
29773 if test $ac_R_nospace = yes; then
29774 echo "$as_me:$LINENO: result: no" >&5
29775 echo "${ECHO_T}no" >&6
29776 X_LIBS="$X_LIBS -R$x_libraries"
29777 else
29778 LIBS="$ac_xsave_LIBS -R $x_libraries"
29779 cat >conftest.$ac_ext <<_ACEOF
29780 /* confdefs.h. */
29781 _ACEOF
29782 cat confdefs.h >>conftest.$ac_ext
29783 cat >>conftest.$ac_ext <<_ACEOF
29784 /* end confdefs.h. */
29785
29786 int
29787 main ()
29788 {
29789
29790 ;
29791 return 0;
29792 }
29793 _ACEOF
29794 rm -f conftest.$ac_objext conftest$ac_exeext
29795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29796 (eval $ac_link) 2>conftest.er1
29797 ac_status=$?
29798 grep -v '^ *+' conftest.er1 >conftest.err
29799 rm -f conftest.er1
29800 cat conftest.err >&5
29801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802 (exit $ac_status); } &&
29803 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805 (eval $ac_try) 2>&5
29806 ac_status=$?
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); }; } &&
29809 { ac_try='test -s conftest$ac_exeext'
29810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29811 (eval $ac_try) 2>&5
29812 ac_status=$?
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); }; }; then
29815 ac_R_space=yes
29816 else
29817 echo "$as_me: failed program was:" >&5
29818 sed 's/^/| /' conftest.$ac_ext >&5
29819
29820 ac_R_space=no
29821 fi
29822 rm -f conftest.err conftest.$ac_objext \
29823 conftest$ac_exeext conftest.$ac_ext
29824 if test $ac_R_space = yes; then
29825 echo "$as_me:$LINENO: result: yes" >&5
29826 echo "${ECHO_T}yes" >&6
29827 X_LIBS="$X_LIBS -R $x_libraries"
29828 else
29829 echo "$as_me:$LINENO: result: neither works" >&5
29830 echo "${ECHO_T}neither works" >&6
29831 fi
29832 fi
29833 LIBS=$ac_xsave_LIBS
29834 esac
29835 fi
29836
29837 # Check for system-dependent libraries X programs must link with.
29838 # Do this before checking for the system-independent R6 libraries
29839 # (-lICE), since we may need -lsocket or whatever for X linking.
29840
29841 if test "$ISC" = yes; then
29842 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29843 else
29844 # Martyn Johnson says this is needed for Ultrix, if the X
29845 # libraries were built with DECnet support. And Karl Berry says
29846 # the Alpha needs dnet_stub (dnet does not exist).
29847 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29848 cat >conftest.$ac_ext <<_ACEOF
29849 /* confdefs.h. */
29850 _ACEOF
29851 cat confdefs.h >>conftest.$ac_ext
29852 cat >>conftest.$ac_ext <<_ACEOF
29853 /* end confdefs.h. */
29854
29855 /* Override any gcc2 internal prototype to avoid an error. */
29856 #ifdef __cplusplus
29857 extern "C"
29858 #endif
29859 /* We use char because int might match the return type of a gcc2
29860 builtin and then its argument prototype would still apply. */
29861 char XOpenDisplay ();
29862 int
29863 main ()
29864 {
29865 XOpenDisplay ();
29866 ;
29867 return 0;
29868 }
29869 _ACEOF
29870 rm -f conftest.$ac_objext conftest$ac_exeext
29871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29872 (eval $ac_link) 2>conftest.er1
29873 ac_status=$?
29874 grep -v '^ *+' conftest.er1 >conftest.err
29875 rm -f conftest.er1
29876 cat conftest.err >&5
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); } &&
29879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29882 ac_status=$?
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; } &&
29885 { ac_try='test -s conftest$ac_exeext'
29886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29887 (eval $ac_try) 2>&5
29888 ac_status=$?
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); }; }; then
29891 :
29892 else
29893 echo "$as_me: failed program was:" >&5
29894 sed 's/^/| /' conftest.$ac_ext >&5
29895
29896 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29897 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29898 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29899 echo $ECHO_N "(cached) $ECHO_C" >&6
29900 else
29901 ac_check_lib_save_LIBS=$LIBS
29902 LIBS="-ldnet $LIBS"
29903 cat >conftest.$ac_ext <<_ACEOF
29904 /* confdefs.h. */
29905 _ACEOF
29906 cat confdefs.h >>conftest.$ac_ext
29907 cat >>conftest.$ac_ext <<_ACEOF
29908 /* end confdefs.h. */
29909
29910 /* Override any gcc2 internal prototype to avoid an error. */
29911 #ifdef __cplusplus
29912 extern "C"
29913 #endif
29914 /* We use char because int might match the return type of a gcc2
29915 builtin and then its argument prototype would still apply. */
29916 char dnet_ntoa ();
29917 int
29918 main ()
29919 {
29920 dnet_ntoa ();
29921 ;
29922 return 0;
29923 }
29924 _ACEOF
29925 rm -f conftest.$ac_objext conftest$ac_exeext
29926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29927 (eval $ac_link) 2>conftest.er1
29928 ac_status=$?
29929 grep -v '^ *+' conftest.er1 >conftest.err
29930 rm -f conftest.er1
29931 cat conftest.err >&5
29932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29933 (exit $ac_status); } &&
29934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29936 (eval $ac_try) 2>&5
29937 ac_status=$?
29938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29939 (exit $ac_status); }; } &&
29940 { ac_try='test -s conftest$ac_exeext'
29941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29942 (eval $ac_try) 2>&5
29943 ac_status=$?
29944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29945 (exit $ac_status); }; }; then
29946 ac_cv_lib_dnet_dnet_ntoa=yes
29947 else
29948 echo "$as_me: failed program was:" >&5
29949 sed 's/^/| /' conftest.$ac_ext >&5
29950
29951 ac_cv_lib_dnet_dnet_ntoa=no
29952 fi
29953 rm -f conftest.err conftest.$ac_objext \
29954 conftest$ac_exeext conftest.$ac_ext
29955 LIBS=$ac_check_lib_save_LIBS
29956 fi
29957 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29958 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29959 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29960 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29961 fi
29962
29963 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29964 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29965 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29966 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29967 echo $ECHO_N "(cached) $ECHO_C" >&6
29968 else
29969 ac_check_lib_save_LIBS=$LIBS
29970 LIBS="-ldnet_stub $LIBS"
29971 cat >conftest.$ac_ext <<_ACEOF
29972 /* confdefs.h. */
29973 _ACEOF
29974 cat confdefs.h >>conftest.$ac_ext
29975 cat >>conftest.$ac_ext <<_ACEOF
29976 /* end confdefs.h. */
29977
29978 /* Override any gcc2 internal prototype to avoid an error. */
29979 #ifdef __cplusplus
29980 extern "C"
29981 #endif
29982 /* We use char because int might match the return type of a gcc2
29983 builtin and then its argument prototype would still apply. */
29984 char dnet_ntoa ();
29985 int
29986 main ()
29987 {
29988 dnet_ntoa ();
29989 ;
29990 return 0;
29991 }
29992 _ACEOF
29993 rm -f conftest.$ac_objext conftest$ac_exeext
29994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29995 (eval $ac_link) 2>conftest.er1
29996 ac_status=$?
29997 grep -v '^ *+' conftest.er1 >conftest.err
29998 rm -f conftest.er1
29999 cat conftest.err >&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } &&
30002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30005 ac_status=$?
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; } &&
30008 { ac_try='test -s conftest$ac_exeext'
30009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 (eval $ac_try) 2>&5
30011 ac_status=$?
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); }; }; then
30014 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30015 else
30016 echo "$as_me: failed program was:" >&5
30017 sed 's/^/| /' conftest.$ac_ext >&5
30018
30019 ac_cv_lib_dnet_stub_dnet_ntoa=no
30020 fi
30021 rm -f conftest.err conftest.$ac_objext \
30022 conftest$ac_exeext conftest.$ac_ext
30023 LIBS=$ac_check_lib_save_LIBS
30024 fi
30025 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30026 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30027 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30028 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30029 fi
30030
30031 fi
30032 fi
30033 rm -f conftest.err conftest.$ac_objext \
30034 conftest$ac_exeext conftest.$ac_ext
30035 LIBS="$ac_xsave_LIBS"
30036
30037 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30038 # to get the SysV transport functions.
30039 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30040 # needs -lnsl.
30041 # The nsl library prevents programs from opening the X display
30042 # on Irix 5.2, according to T.E. Dickey.
30043 # The functions gethostbyname, getservbyname, and inet_addr are
30044 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30045 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30046 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30047 if test "${ac_cv_func_gethostbyname+set}" = set; then
30048 echo $ECHO_N "(cached) $ECHO_C" >&6
30049 else
30050 cat >conftest.$ac_ext <<_ACEOF
30051 /* confdefs.h. */
30052 _ACEOF
30053 cat confdefs.h >>conftest.$ac_ext
30054 cat >>conftest.$ac_ext <<_ACEOF
30055 /* end confdefs.h. */
30056 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30058 #define gethostbyname innocuous_gethostbyname
30059
30060 /* System header to define __stub macros and hopefully few prototypes,
30061 which can conflict with char gethostbyname (); below.
30062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30063 <limits.h> exists even on freestanding compilers. */
30064
30065 #ifdef __STDC__
30066 # include <limits.h>
30067 #else
30068 # include <assert.h>
30069 #endif
30070
30071 #undef gethostbyname
30072
30073 /* Override any gcc2 internal prototype to avoid an error. */
30074 #ifdef __cplusplus
30075 extern "C"
30076 {
30077 #endif
30078 /* We use char because int might match the return type of a gcc2
30079 builtin and then its argument prototype would still apply. */
30080 char gethostbyname ();
30081 /* The GNU C library defines this for functions which it implements
30082 to always fail with ENOSYS. Some functions are actually named
30083 something starting with __ and the normal name is an alias. */
30084 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30085 choke me
30086 #else
30087 char (*f) () = gethostbyname;
30088 #endif
30089 #ifdef __cplusplus
30090 }
30091 #endif
30092
30093 int
30094 main ()
30095 {
30096 return f != gethostbyname;
30097 ;
30098 return 0;
30099 }
30100 _ACEOF
30101 rm -f conftest.$ac_objext conftest$ac_exeext
30102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30103 (eval $ac_link) 2>conftest.er1
30104 ac_status=$?
30105 grep -v '^ *+' conftest.er1 >conftest.err
30106 rm -f conftest.er1
30107 cat conftest.err >&5
30108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30109 (exit $ac_status); } &&
30110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30112 (eval $ac_try) 2>&5
30113 ac_status=$?
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); }; } &&
30116 { ac_try='test -s conftest$ac_exeext'
30117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30118 (eval $ac_try) 2>&5
30119 ac_status=$?
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); }; }; then
30122 ac_cv_func_gethostbyname=yes
30123 else
30124 echo "$as_me: failed program was:" >&5
30125 sed 's/^/| /' conftest.$ac_ext >&5
30126
30127 ac_cv_func_gethostbyname=no
30128 fi
30129 rm -f conftest.err conftest.$ac_objext \
30130 conftest$ac_exeext conftest.$ac_ext
30131 fi
30132 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30133 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30134
30135 if test $ac_cv_func_gethostbyname = no; then
30136 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30137 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30138 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30139 echo $ECHO_N "(cached) $ECHO_C" >&6
30140 else
30141 ac_check_lib_save_LIBS=$LIBS
30142 LIBS="-lnsl $LIBS"
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149
30150 /* Override any gcc2 internal prototype to avoid an error. */
30151 #ifdef __cplusplus
30152 extern "C"
30153 #endif
30154 /* We use char because int might match the return type of a gcc2
30155 builtin and then its argument prototype would still apply. */
30156 char gethostbyname ();
30157 int
30158 main ()
30159 {
30160 gethostbyname ();
30161 ;
30162 return 0;
30163 }
30164 _ACEOF
30165 rm -f conftest.$ac_objext conftest$ac_exeext
30166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30167 (eval $ac_link) 2>conftest.er1
30168 ac_status=$?
30169 grep -v '^ *+' conftest.er1 >conftest.err
30170 rm -f conftest.er1
30171 cat conftest.err >&5
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); } &&
30174 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30176 (eval $ac_try) 2>&5
30177 ac_status=$?
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); }; } &&
30180 { ac_try='test -s conftest$ac_exeext'
30181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30182 (eval $ac_try) 2>&5
30183 ac_status=$?
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); }; }; then
30186 ac_cv_lib_nsl_gethostbyname=yes
30187 else
30188 echo "$as_me: failed program was:" >&5
30189 sed 's/^/| /' conftest.$ac_ext >&5
30190
30191 ac_cv_lib_nsl_gethostbyname=no
30192 fi
30193 rm -f conftest.err conftest.$ac_objext \
30194 conftest$ac_exeext conftest.$ac_ext
30195 LIBS=$ac_check_lib_save_LIBS
30196 fi
30197 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30198 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30199 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30200 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30201 fi
30202
30203 if test $ac_cv_lib_nsl_gethostbyname = no; then
30204 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30205 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30206 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30207 echo $ECHO_N "(cached) $ECHO_C" >&6
30208 else
30209 ac_check_lib_save_LIBS=$LIBS
30210 LIBS="-lbsd $LIBS"
30211 cat >conftest.$ac_ext <<_ACEOF
30212 /* confdefs.h. */
30213 _ACEOF
30214 cat confdefs.h >>conftest.$ac_ext
30215 cat >>conftest.$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30217
30218 /* Override any gcc2 internal prototype to avoid an error. */
30219 #ifdef __cplusplus
30220 extern "C"
30221 #endif
30222 /* We use char because int might match the return type of a gcc2
30223 builtin and then its argument prototype would still apply. */
30224 char gethostbyname ();
30225 int
30226 main ()
30227 {
30228 gethostbyname ();
30229 ;
30230 return 0;
30231 }
30232 _ACEOF
30233 rm -f conftest.$ac_objext conftest$ac_exeext
30234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30235 (eval $ac_link) 2>conftest.er1
30236 ac_status=$?
30237 grep -v '^ *+' conftest.er1 >conftest.err
30238 rm -f conftest.er1
30239 cat conftest.err >&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); } &&
30242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30244 (eval $ac_try) 2>&5
30245 ac_status=$?
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); }; } &&
30248 { ac_try='test -s conftest$ac_exeext'
30249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30250 (eval $ac_try) 2>&5
30251 ac_status=$?
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); }; }; then
30254 ac_cv_lib_bsd_gethostbyname=yes
30255 else
30256 echo "$as_me: failed program was:" >&5
30257 sed 's/^/| /' conftest.$ac_ext >&5
30258
30259 ac_cv_lib_bsd_gethostbyname=no
30260 fi
30261 rm -f conftest.err conftest.$ac_objext \
30262 conftest$ac_exeext conftest.$ac_ext
30263 LIBS=$ac_check_lib_save_LIBS
30264 fi
30265 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30266 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30267 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30269 fi
30270
30271 fi
30272 fi
30273
30274 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30275 # socket/setsockopt and other routines are undefined under SCO ODT
30276 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30277 # on later versions), says Simon Leinen: it contains gethostby*
30278 # variants that don't use the name server (or something). -lsocket
30279 # must be given before -lnsl if both are needed. We assume that
30280 # if connect needs -lnsl, so does gethostbyname.
30281 echo "$as_me:$LINENO: checking for connect" >&5
30282 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30283 if test "${ac_cv_func_connect+set}" = set; then
30284 echo $ECHO_N "(cached) $ECHO_C" >&6
30285 else
30286 cat >conftest.$ac_ext <<_ACEOF
30287 /* confdefs.h. */
30288 _ACEOF
30289 cat confdefs.h >>conftest.$ac_ext
30290 cat >>conftest.$ac_ext <<_ACEOF
30291 /* end confdefs.h. */
30292 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30294 #define connect innocuous_connect
30295
30296 /* System header to define __stub macros and hopefully few prototypes,
30297 which can conflict with char connect (); below.
30298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30299 <limits.h> exists even on freestanding compilers. */
30300
30301 #ifdef __STDC__
30302 # include <limits.h>
30303 #else
30304 # include <assert.h>
30305 #endif
30306
30307 #undef connect
30308
30309 /* Override any gcc2 internal prototype to avoid an error. */
30310 #ifdef __cplusplus
30311 extern "C"
30312 {
30313 #endif
30314 /* We use char because int might match the return type of a gcc2
30315 builtin and then its argument prototype would still apply. */
30316 char connect ();
30317 /* The GNU C library defines this for functions which it implements
30318 to always fail with ENOSYS. Some functions are actually named
30319 something starting with __ and the normal name is an alias. */
30320 #if defined (__stub_connect) || defined (__stub___connect)
30321 choke me
30322 #else
30323 char (*f) () = connect;
30324 #endif
30325 #ifdef __cplusplus
30326 }
30327 #endif
30328
30329 int
30330 main ()
30331 {
30332 return f != connect;
30333 ;
30334 return 0;
30335 }
30336 _ACEOF
30337 rm -f conftest.$ac_objext conftest$ac_exeext
30338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30339 (eval $ac_link) 2>conftest.er1
30340 ac_status=$?
30341 grep -v '^ *+' conftest.er1 >conftest.err
30342 rm -f conftest.er1
30343 cat conftest.err >&5
30344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345 (exit $ac_status); } &&
30346 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30348 (eval $ac_try) 2>&5
30349 ac_status=$?
30350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30351 (exit $ac_status); }; } &&
30352 { ac_try='test -s conftest$ac_exeext'
30353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30354 (eval $ac_try) 2>&5
30355 ac_status=$?
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); }; }; then
30358 ac_cv_func_connect=yes
30359 else
30360 echo "$as_me: failed program was:" >&5
30361 sed 's/^/| /' conftest.$ac_ext >&5
30362
30363 ac_cv_func_connect=no
30364 fi
30365 rm -f conftest.err conftest.$ac_objext \
30366 conftest$ac_exeext conftest.$ac_ext
30367 fi
30368 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30369 echo "${ECHO_T}$ac_cv_func_connect" >&6
30370
30371 if test $ac_cv_func_connect = no; then
30372 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30373 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30374 if test "${ac_cv_lib_socket_connect+set}" = set; then
30375 echo $ECHO_N "(cached) $ECHO_C" >&6
30376 else
30377 ac_check_lib_save_LIBS=$LIBS
30378 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30379 cat >conftest.$ac_ext <<_ACEOF
30380 /* confdefs.h. */
30381 _ACEOF
30382 cat confdefs.h >>conftest.$ac_ext
30383 cat >>conftest.$ac_ext <<_ACEOF
30384 /* end confdefs.h. */
30385
30386 /* Override any gcc2 internal prototype to avoid an error. */
30387 #ifdef __cplusplus
30388 extern "C"
30389 #endif
30390 /* We use char because int might match the return type of a gcc2
30391 builtin and then its argument prototype would still apply. */
30392 char connect ();
30393 int
30394 main ()
30395 {
30396 connect ();
30397 ;
30398 return 0;
30399 }
30400 _ACEOF
30401 rm -f conftest.$ac_objext conftest$ac_exeext
30402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30403 (eval $ac_link) 2>conftest.er1
30404 ac_status=$?
30405 grep -v '^ *+' conftest.er1 >conftest.err
30406 rm -f conftest.er1
30407 cat conftest.err >&5
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); } &&
30410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30412 (eval $ac_try) 2>&5
30413 ac_status=$?
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); }; } &&
30416 { ac_try='test -s conftest$ac_exeext'
30417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30418 (eval $ac_try) 2>&5
30419 ac_status=$?
30420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30421 (exit $ac_status); }; }; then
30422 ac_cv_lib_socket_connect=yes
30423 else
30424 echo "$as_me: failed program was:" >&5
30425 sed 's/^/| /' conftest.$ac_ext >&5
30426
30427 ac_cv_lib_socket_connect=no
30428 fi
30429 rm -f conftest.err conftest.$ac_objext \
30430 conftest$ac_exeext conftest.$ac_ext
30431 LIBS=$ac_check_lib_save_LIBS
30432 fi
30433 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30434 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30435 if test $ac_cv_lib_socket_connect = yes; then
30436 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30437 fi
30438
30439 fi
30440
30441 # Guillermo Gomez says -lposix is necessary on A/UX.
30442 echo "$as_me:$LINENO: checking for remove" >&5
30443 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30444 if test "${ac_cv_func_remove+set}" = set; then
30445 echo $ECHO_N "(cached) $ECHO_C" >&6
30446 else
30447 cat >conftest.$ac_ext <<_ACEOF
30448 /* confdefs.h. */
30449 _ACEOF
30450 cat confdefs.h >>conftest.$ac_ext
30451 cat >>conftest.$ac_ext <<_ACEOF
30452 /* end confdefs.h. */
30453 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30455 #define remove innocuous_remove
30456
30457 /* System header to define __stub macros and hopefully few prototypes,
30458 which can conflict with char remove (); below.
30459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30460 <limits.h> exists even on freestanding compilers. */
30461
30462 #ifdef __STDC__
30463 # include <limits.h>
30464 #else
30465 # include <assert.h>
30466 #endif
30467
30468 #undef remove
30469
30470 /* Override any gcc2 internal prototype to avoid an error. */
30471 #ifdef __cplusplus
30472 extern "C"
30473 {
30474 #endif
30475 /* We use char because int might match the return type of a gcc2
30476 builtin and then its argument prototype would still apply. */
30477 char remove ();
30478 /* The GNU C library defines this for functions which it implements
30479 to always fail with ENOSYS. Some functions are actually named
30480 something starting with __ and the normal name is an alias. */
30481 #if defined (__stub_remove) || defined (__stub___remove)
30482 choke me
30483 #else
30484 char (*f) () = remove;
30485 #endif
30486 #ifdef __cplusplus
30487 }
30488 #endif
30489
30490 int
30491 main ()
30492 {
30493 return f != remove;
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_cxx_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 ac_cv_func_remove=yes
30520 else
30521 echo "$as_me: failed program was:" >&5
30522 sed 's/^/| /' conftest.$ac_ext >&5
30523
30524 ac_cv_func_remove=no
30525 fi
30526 rm -f conftest.err conftest.$ac_objext \
30527 conftest$ac_exeext conftest.$ac_ext
30528 fi
30529 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30530 echo "${ECHO_T}$ac_cv_func_remove" >&6
30531
30532 if test $ac_cv_func_remove = no; then
30533 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30534 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30535 if test "${ac_cv_lib_posix_remove+set}" = set; then
30536 echo $ECHO_N "(cached) $ECHO_C" >&6
30537 else
30538 ac_check_lib_save_LIBS=$LIBS
30539 LIBS="-lposix $LIBS"
30540 cat >conftest.$ac_ext <<_ACEOF
30541 /* confdefs.h. */
30542 _ACEOF
30543 cat confdefs.h >>conftest.$ac_ext
30544 cat >>conftest.$ac_ext <<_ACEOF
30545 /* end confdefs.h. */
30546
30547 /* Override any gcc2 internal prototype to avoid an error. */
30548 #ifdef __cplusplus
30549 extern "C"
30550 #endif
30551 /* We use char because int might match the return type of a gcc2
30552 builtin and then its argument prototype would still apply. */
30553 char remove ();
30554 int
30555 main ()
30556 {
30557 remove ();
30558 ;
30559 return 0;
30560 }
30561 _ACEOF
30562 rm -f conftest.$ac_objext conftest$ac_exeext
30563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30564 (eval $ac_link) 2>conftest.er1
30565 ac_status=$?
30566 grep -v '^ *+' conftest.er1 >conftest.err
30567 rm -f conftest.er1
30568 cat conftest.err >&5
30569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30570 (exit $ac_status); } &&
30571 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30573 (eval $ac_try) 2>&5
30574 ac_status=$?
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); }; } &&
30577 { ac_try='test -s conftest$ac_exeext'
30578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579 (eval $ac_try) 2>&5
30580 ac_status=$?
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); }; }; then
30583 ac_cv_lib_posix_remove=yes
30584 else
30585 echo "$as_me: failed program was:" >&5
30586 sed 's/^/| /' conftest.$ac_ext >&5
30587
30588 ac_cv_lib_posix_remove=no
30589 fi
30590 rm -f conftest.err conftest.$ac_objext \
30591 conftest$ac_exeext conftest.$ac_ext
30592 LIBS=$ac_check_lib_save_LIBS
30593 fi
30594 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30595 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30596 if test $ac_cv_lib_posix_remove = yes; then
30597 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30598 fi
30599
30600 fi
30601
30602 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30603 echo "$as_me:$LINENO: checking for shmat" >&5
30604 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30605 if test "${ac_cv_func_shmat+set}" = set; then
30606 echo $ECHO_N "(cached) $ECHO_C" >&6
30607 else
30608 cat >conftest.$ac_ext <<_ACEOF
30609 /* confdefs.h. */
30610 _ACEOF
30611 cat confdefs.h >>conftest.$ac_ext
30612 cat >>conftest.$ac_ext <<_ACEOF
30613 /* end confdefs.h. */
30614 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30616 #define shmat innocuous_shmat
30617
30618 /* System header to define __stub macros and hopefully few prototypes,
30619 which can conflict with char shmat (); below.
30620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30621 <limits.h> exists even on freestanding compilers. */
30622
30623 #ifdef __STDC__
30624 # include <limits.h>
30625 #else
30626 # include <assert.h>
30627 #endif
30628
30629 #undef shmat
30630
30631 /* Override any gcc2 internal prototype to avoid an error. */
30632 #ifdef __cplusplus
30633 extern "C"
30634 {
30635 #endif
30636 /* We use char because int might match the return type of a gcc2
30637 builtin and then its argument prototype would still apply. */
30638 char shmat ();
30639 /* The GNU C library defines this for functions which it implements
30640 to always fail with ENOSYS. Some functions are actually named
30641 something starting with __ and the normal name is an alias. */
30642 #if defined (__stub_shmat) || defined (__stub___shmat)
30643 choke me
30644 #else
30645 char (*f) () = shmat;
30646 #endif
30647 #ifdef __cplusplus
30648 }
30649 #endif
30650
30651 int
30652 main ()
30653 {
30654 return f != shmat;
30655 ;
30656 return 0;
30657 }
30658 _ACEOF
30659 rm -f conftest.$ac_objext conftest$ac_exeext
30660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30661 (eval $ac_link) 2>conftest.er1
30662 ac_status=$?
30663 grep -v '^ *+' conftest.er1 >conftest.err
30664 rm -f conftest.er1
30665 cat conftest.err >&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } &&
30668 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670 (eval $ac_try) 2>&5
30671 ac_status=$?
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); }; } &&
30674 { ac_try='test -s conftest$ac_exeext'
30675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30676 (eval $ac_try) 2>&5
30677 ac_status=$?
30678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30679 (exit $ac_status); }; }; then
30680 ac_cv_func_shmat=yes
30681 else
30682 echo "$as_me: failed program was:" >&5
30683 sed 's/^/| /' conftest.$ac_ext >&5
30684
30685 ac_cv_func_shmat=no
30686 fi
30687 rm -f conftest.err conftest.$ac_objext \
30688 conftest$ac_exeext conftest.$ac_ext
30689 fi
30690 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30691 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30692
30693 if test $ac_cv_func_shmat = no; then
30694 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30695 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30696 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30697 echo $ECHO_N "(cached) $ECHO_C" >&6
30698 else
30699 ac_check_lib_save_LIBS=$LIBS
30700 LIBS="-lipc $LIBS"
30701 cat >conftest.$ac_ext <<_ACEOF
30702 /* confdefs.h. */
30703 _ACEOF
30704 cat confdefs.h >>conftest.$ac_ext
30705 cat >>conftest.$ac_ext <<_ACEOF
30706 /* end confdefs.h. */
30707
30708 /* Override any gcc2 internal prototype to avoid an error. */
30709 #ifdef __cplusplus
30710 extern "C"
30711 #endif
30712 /* We use char because int might match the return type of a gcc2
30713 builtin and then its argument prototype would still apply. */
30714 char shmat ();
30715 int
30716 main ()
30717 {
30718 shmat ();
30719 ;
30720 return 0;
30721 }
30722 _ACEOF
30723 rm -f conftest.$ac_objext conftest$ac_exeext
30724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30725 (eval $ac_link) 2>conftest.er1
30726 ac_status=$?
30727 grep -v '^ *+' conftest.er1 >conftest.err
30728 rm -f conftest.er1
30729 cat conftest.err >&5
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); } &&
30732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734 (eval $ac_try) 2>&5
30735 ac_status=$?
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); }; } &&
30738 { ac_try='test -s conftest$ac_exeext'
30739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30740 (eval $ac_try) 2>&5
30741 ac_status=$?
30742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30743 (exit $ac_status); }; }; then
30744 ac_cv_lib_ipc_shmat=yes
30745 else
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.$ac_ext >&5
30748
30749 ac_cv_lib_ipc_shmat=no
30750 fi
30751 rm -f conftest.err conftest.$ac_objext \
30752 conftest$ac_exeext conftest.$ac_ext
30753 LIBS=$ac_check_lib_save_LIBS
30754 fi
30755 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30756 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30757 if test $ac_cv_lib_ipc_shmat = yes; then
30758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30759 fi
30760
30761 fi
30762 fi
30763
30764 # Check for libraries that X11R6 Xt/Xaw programs need.
30765 ac_save_LDFLAGS=$LDFLAGS
30766 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30767 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30768 # check for ICE first), but we must link in the order -lSM -lICE or
30769 # we get undefined symbols. So assume we have SM if we have ICE.
30770 # These have to be linked with before -lX11, unlike the other
30771 # libraries we check for below, so use a different variable.
30772 # John Interrante, Karl Berry
30773 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30774 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30775 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30776 echo $ECHO_N "(cached) $ECHO_C" >&6
30777 else
30778 ac_check_lib_save_LIBS=$LIBS
30779 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30780 cat >conftest.$ac_ext <<_ACEOF
30781 /* confdefs.h. */
30782 _ACEOF
30783 cat confdefs.h >>conftest.$ac_ext
30784 cat >>conftest.$ac_ext <<_ACEOF
30785 /* end confdefs.h. */
30786
30787 /* Override any gcc2 internal prototype to avoid an error. */
30788 #ifdef __cplusplus
30789 extern "C"
30790 #endif
30791 /* We use char because int might match the return type of a gcc2
30792 builtin and then its argument prototype would still apply. */
30793 char IceConnectionNumber ();
30794 int
30795 main ()
30796 {
30797 IceConnectionNumber ();
30798 ;
30799 return 0;
30800 }
30801 _ACEOF
30802 rm -f conftest.$ac_objext conftest$ac_exeext
30803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30804 (eval $ac_link) 2>conftest.er1
30805 ac_status=$?
30806 grep -v '^ *+' conftest.er1 >conftest.err
30807 rm -f conftest.er1
30808 cat conftest.err >&5
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); } &&
30811 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30813 (eval $ac_try) 2>&5
30814 ac_status=$?
30815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30816 (exit $ac_status); }; } &&
30817 { ac_try='test -s conftest$ac_exeext'
30818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30819 (eval $ac_try) 2>&5
30820 ac_status=$?
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); }; }; then
30823 ac_cv_lib_ICE_IceConnectionNumber=yes
30824 else
30825 echo "$as_me: failed program was:" >&5
30826 sed 's/^/| /' conftest.$ac_ext >&5
30827
30828 ac_cv_lib_ICE_IceConnectionNumber=no
30829 fi
30830 rm -f conftest.err conftest.$ac_objext \
30831 conftest$ac_exeext conftest.$ac_ext
30832 LIBS=$ac_check_lib_save_LIBS
30833 fi
30834 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30835 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30836 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30837 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30838 fi
30839
30840 LDFLAGS=$ac_save_LDFLAGS
30841
30842 fi
30843
30844
30845 if test "$no_x" = "yes"; then
30846 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30847 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30848 { (exit 1); exit 1; }; }
30849 fi
30850
30851 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30852 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30853 AFMINSTALL=afminstall
30854 COMPILED_X_PROGRAM=0
30855
30856 fi
30857
30858 if test "$wxUSE_X11" = 1; then
30859 if test "$wxUSE_NANOX" = "yes"; then
30860 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30861 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30862 if test "x$MICROWIN" = x ; then
30863 echo "$as_me:$LINENO: result: not found" >&5
30864 echo "${ECHO_T}not found" >&6
30865 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30866 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30867 { (exit 1); exit 1; }; }
30868 else
30869 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30870 echo "${ECHO_T}$MICROWIN" >&6
30871 cat >>confdefs.h <<\_ACEOF
30872 #define wxUSE_NANOX 1
30873 _ACEOF
30874
30875 fi
30876 fi
30877
30878 if test "$wxUSE_UNICODE" = "yes"; then
30879
30880
30881 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30882 if test -n "$ac_tool_prefix"; then
30883 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30884 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30885 echo "$as_me:$LINENO: checking for $ac_word" >&5
30886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30887 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 else
30890 case $PKG_CONFIG in
30891 [\\/]* | ?:[\\/]*)
30892 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30893 ;;
30894 *)
30895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30896 for as_dir in $PATH
30897 do
30898 IFS=$as_save_IFS
30899 test -z "$as_dir" && as_dir=.
30900 for ac_exec_ext in '' $ac_executable_extensions; do
30901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30902 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30904 break 2
30905 fi
30906 done
30907 done
30908
30909 ;;
30910 esac
30911 fi
30912 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30913
30914 if test -n "$PKG_CONFIG"; then
30915 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30916 echo "${ECHO_T}$PKG_CONFIG" >&6
30917 else
30918 echo "$as_me:$LINENO: result: no" >&5
30919 echo "${ECHO_T}no" >&6
30920 fi
30921
30922 fi
30923 if test -z "$ac_cv_path_PKG_CONFIG"; then
30924 ac_pt_PKG_CONFIG=$PKG_CONFIG
30925 # Extract the first word of "pkg-config", so it can be a program name with args.
30926 set dummy pkg-config; ac_word=$2
30927 echo "$as_me:$LINENO: checking for $ac_word" >&5
30928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30929 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30930 echo $ECHO_N "(cached) $ECHO_C" >&6
30931 else
30932 case $ac_pt_PKG_CONFIG in
30933 [\\/]* | ?:[\\/]*)
30934 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30935 ;;
30936 *)
30937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30938 for as_dir in $PATH
30939 do
30940 IFS=$as_save_IFS
30941 test -z "$as_dir" && as_dir=.
30942 for ac_exec_ext in '' $ac_executable_extensions; do
30943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30944 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30946 break 2
30947 fi
30948 done
30949 done
30950
30951 ;;
30952 esac
30953 fi
30954 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30955
30956 if test -n "$ac_pt_PKG_CONFIG"; then
30957 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30958 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30959 else
30960 echo "$as_me:$LINENO: result: no" >&5
30961 echo "${ECHO_T}no" >&6
30962 fi
30963
30964 PKG_CONFIG=$ac_pt_PKG_CONFIG
30965 else
30966 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30967 fi
30968
30969 fi
30970 if test -n "$PKG_CONFIG"; then
30971 _pkg_min_version=0.9.0
30972 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30973 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30974 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30975 echo "$as_me:$LINENO: result: yes" >&5
30976 echo "${ECHO_T}yes" >&6
30977 else
30978 echo "$as_me:$LINENO: result: no" >&5
30979 echo "${ECHO_T}no" >&6
30980 PKG_CONFIG=""
30981 fi
30982
30983 fi
30984
30985
30986 pkg_failed=no
30987 echo "$as_me:$LINENO: checking for PANGOX" >&5
30988 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30989
30990 if test -n "$PKG_CONFIG"; then
30991 if test -n "$PANGOX_CFLAGS"; then
30992 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30993 else
30994 if test -n "$PKG_CONFIG" && \
30995 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30996 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30997 ac_status=$?
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); }; then
31000 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31001 else
31002 pkg_failed=yes
31003 fi
31004 fi
31005 else
31006 pkg_failed=untried
31007 fi
31008 if test -n "$PKG_CONFIG"; then
31009 if test -n "$PANGOX_LIBS"; then
31010 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31011 else
31012 if test -n "$PKG_CONFIG" && \
31013 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31014 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31015 ac_status=$?
31016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31017 (exit $ac_status); }; then
31018 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31019 else
31020 pkg_failed=yes
31021 fi
31022 fi
31023 else
31024 pkg_failed=untried
31025 fi
31026
31027
31028
31029 if test $pkg_failed = yes; then
31030
31031 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31032 _pkg_short_errors_supported=yes
31033 else
31034 _pkg_short_errors_supported=no
31035 fi
31036 if test $_pkg_short_errors_supported = yes; then
31037 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31038 else
31039 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31040 fi
31041 # Put the nasty error message in config.log where it belongs
31042 echo "$PANGOX_PKG_ERRORS" >&5
31043
31044
31045 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31046 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31047 { (exit 1); exit 1; }; }
31048
31049
31050 elif test $pkg_failed = untried; then
31051
31052 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31053 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31054 { (exit 1); exit 1; }; }
31055
31056
31057 else
31058 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31059 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31060 echo "$as_me:$LINENO: result: yes" >&5
31061 echo "${ECHO_T}yes" >&6
31062
31063 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31064 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31065
31066 fi
31067
31068 pkg_failed=no
31069 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31070 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31071
31072 if test -n "$PKG_CONFIG"; then
31073 if test -n "$PANGOFT2_CFLAGS"; then
31074 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31075 else
31076 if test -n "$PKG_CONFIG" && \
31077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31078 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31079 ac_status=$?
31080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31081 (exit $ac_status); }; then
31082 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31083 else
31084 pkg_failed=yes
31085 fi
31086 fi
31087 else
31088 pkg_failed=untried
31089 fi
31090 if test -n "$PKG_CONFIG"; then
31091 if test -n "$PANGOFT2_LIBS"; then
31092 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31093 else
31094 if test -n "$PKG_CONFIG" && \
31095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31096 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31097 ac_status=$?
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; then
31100 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31101 else
31102 pkg_failed=yes
31103 fi
31104 fi
31105 else
31106 pkg_failed=untried
31107 fi
31108
31109
31110
31111 if test $pkg_failed = yes; then
31112
31113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31114 _pkg_short_errors_supported=yes
31115 else
31116 _pkg_short_errors_supported=no
31117 fi
31118 if test $_pkg_short_errors_supported = yes; then
31119 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31120 else
31121 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31122 fi
31123 # Put the nasty error message in config.log where it belongs
31124 echo "$PANGOFT2_PKG_ERRORS" >&5
31125
31126
31127 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31128 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31129 wxUSE_PRINTING_ARCHITECTURE="no"
31130
31131
31132 elif test $pkg_failed = untried; then
31133
31134 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31135 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31136 wxUSE_PRINTING_ARCHITECTURE="no"
31137
31138
31139 else
31140 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31141 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31142 echo "$as_me:$LINENO: result: yes" >&5
31143 echo "${ECHO_T}yes" >&6
31144
31145 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31146 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31147
31148 fi
31149
31150 pkg_failed=no
31151 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31152 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31153
31154 if test -n "$PKG_CONFIG"; then
31155 if test -n "$PANGOXFT_CFLAGS"; then
31156 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31157 else
31158 if test -n "$PKG_CONFIG" && \
31159 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31160 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31161 ac_status=$?
31162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31163 (exit $ac_status); }; then
31164 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31165 else
31166 pkg_failed=yes
31167 fi
31168 fi
31169 else
31170 pkg_failed=untried
31171 fi
31172 if test -n "$PKG_CONFIG"; then
31173 if test -n "$PANGOXFT_LIBS"; then
31174 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31175 else
31176 if test -n "$PKG_CONFIG" && \
31177 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31178 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31179 ac_status=$?
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; then
31182 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31183 else
31184 pkg_failed=yes
31185 fi
31186 fi
31187 else
31188 pkg_failed=untried
31189 fi
31190
31191
31192
31193 if test $pkg_failed = yes; then
31194
31195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31196 _pkg_short_errors_supported=yes
31197 else
31198 _pkg_short_errors_supported=no
31199 fi
31200 if test $_pkg_short_errors_supported = yes; then
31201 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31202 else
31203 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31204 fi
31205 # Put the nasty error message in config.log where it belongs
31206 echo "$PANGOXFT_PKG_ERRORS" >&5
31207
31208
31209 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31210 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31211
31212
31213 elif test $pkg_failed = untried; then
31214
31215 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31216 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31217
31218
31219 else
31220 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31221 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31222 echo "$as_me:$LINENO: result: yes" >&5
31223 echo "${ECHO_T}yes" >&6
31224
31225 cat >>confdefs.h <<\_ACEOF
31226 #define HAVE_PANGO_XFT 1
31227 _ACEOF
31228
31229 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31230 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31231
31232 fi
31233 save_CXXFLAGS="$CXXFLAGS"
31234 save_LIBS="$LIBS"
31235 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31236 LIBS="$LIBS $PANGOX_LIBS"
31237
31238 for ac_func in pango_font_family_is_monospace
31239 do
31240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31241 echo "$as_me:$LINENO: checking for $ac_func" >&5
31242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31243 if eval "test \"\${$as_ac_var+set}\" = set"; then
31244 echo $ECHO_N "(cached) $ECHO_C" >&6
31245 else
31246 cat >conftest.$ac_ext <<_ACEOF
31247 /* confdefs.h. */
31248 _ACEOF
31249 cat confdefs.h >>conftest.$ac_ext
31250 cat >>conftest.$ac_ext <<_ACEOF
31251 /* end confdefs.h. */
31252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31254 #define $ac_func innocuous_$ac_func
31255
31256 /* System header to define __stub macros and hopefully few prototypes,
31257 which can conflict with char $ac_func (); below.
31258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31259 <limits.h> exists even on freestanding compilers. */
31260
31261 #ifdef __STDC__
31262 # include <limits.h>
31263 #else
31264 # include <assert.h>
31265 #endif
31266
31267 #undef $ac_func
31268
31269 /* Override any gcc2 internal prototype to avoid an error. */
31270 #ifdef __cplusplus
31271 extern "C"
31272 {
31273 #endif
31274 /* We use char because int might match the return type of a gcc2
31275 builtin and then its argument prototype would still apply. */
31276 char $ac_func ();
31277 /* The GNU C library defines this for functions which it implements
31278 to always fail with ENOSYS. Some functions are actually named
31279 something starting with __ and the normal name is an alias. */
31280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31281 choke me
31282 #else
31283 char (*f) () = $ac_func;
31284 #endif
31285 #ifdef __cplusplus
31286 }
31287 #endif
31288
31289 int
31290 main ()
31291 {
31292 return f != $ac_func;
31293 ;
31294 return 0;
31295 }
31296 _ACEOF
31297 rm -f conftest.$ac_objext conftest$ac_exeext
31298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31299 (eval $ac_link) 2>conftest.er1
31300 ac_status=$?
31301 grep -v '^ *+' conftest.er1 >conftest.err
31302 rm -f conftest.er1
31303 cat conftest.err >&5
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); } &&
31306 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31308 (eval $ac_try) 2>&5
31309 ac_status=$?
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; } &&
31312 { ac_try='test -s conftest$ac_exeext'
31313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31314 (eval $ac_try) 2>&5
31315 ac_status=$?
31316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31317 (exit $ac_status); }; }; then
31318 eval "$as_ac_var=yes"
31319 else
31320 echo "$as_me: failed program was:" >&5
31321 sed 's/^/| /' conftest.$ac_ext >&5
31322
31323 eval "$as_ac_var=no"
31324 fi
31325 rm -f conftest.err conftest.$ac_objext \
31326 conftest$ac_exeext conftest.$ac_ext
31327 fi
31328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31330 if test `eval echo '${'$as_ac_var'}'` = yes; then
31331 cat >>confdefs.h <<_ACEOF
31332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31333 _ACEOF
31334
31335 fi
31336 done
31337
31338 CXXFLAGS="$save_CXXFLAGS"
31339 LIBS="$save_LIBS"
31340 fi
31341
31342 wxUSE_UNIVERSAL="yes"
31343
31344 if test "$wxUSE_NANOX" = "yes"; then
31345 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31346 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"
31347 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31348 else
31349 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31350 fi
31351
31352 TOOLKIT=X11
31353 GUIDIST=X11_DIST
31354 fi
31355
31356 if test "$wxUSE_MOTIF" = 1; then
31357 if test "$wxUSE_UNICODE" = "yes"; then
31358 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31359 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31360 { (exit 1); exit 1; }; }
31361 fi
31362
31363 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31364 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31365
31366 ac_find_includes=
31367 for ac_dir in $SEARCH_INCLUDE /usr/include;
31368 do
31369 if test -f "$ac_dir/Xm/Xm.h"; then
31370 ac_find_includes=$ac_dir
31371 break
31372 fi
31373 done
31374
31375 if test "$ac_find_includes" != "" ; then
31376 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31377 echo "${ECHO_T}found in $ac_find_includes" >&6
31378
31379 if test "x$ac_find_includes" = "x/usr/include"; then
31380 ac_path_to_include=""
31381 else
31382 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31383 result=$?
31384 if test $result = 0; then
31385 ac_path_to_include=""
31386 else
31387 ac_path_to_include=" -I$ac_find_includes"
31388 fi
31389 fi
31390
31391 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31392 else
31393 save_CXXFLAGS=$CXXFLAGS
31394 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31395
31396 cat >conftest.$ac_ext <<_ACEOF
31397 /* confdefs.h. */
31398 _ACEOF
31399 cat confdefs.h >>conftest.$ac_ext
31400 cat >>conftest.$ac_ext <<_ACEOF
31401 /* end confdefs.h. */
31402
31403 #include <Xm/Xm.h>
31404
31405 int
31406 main ()
31407 {
31408
31409 int version;
31410 version = xmUseVersion;
31411
31412 ;
31413 return 0;
31414 }
31415 _ACEOF
31416 rm -f conftest.$ac_objext
31417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31418 (eval $ac_compile) 2>conftest.er1
31419 ac_status=$?
31420 grep -v '^ *+' conftest.er1 >conftest.err
31421 rm -f conftest.er1
31422 cat conftest.err >&5
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); } &&
31425 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31427 (eval $ac_try) 2>&5
31428 ac_status=$?
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); }; } &&
31431 { ac_try='test -s conftest.$ac_objext'
31432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31433 (eval $ac_try) 2>&5
31434 ac_status=$?
31435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31436 (exit $ac_status); }; }; then
31437
31438 echo "$as_me:$LINENO: result: found in default search path" >&5
31439 echo "${ECHO_T}found in default search path" >&6
31440 COMPILED_X_PROGRAM=1
31441
31442 else
31443 echo "$as_me: failed program was:" >&5
31444 sed 's/^/| /' conftest.$ac_ext >&5
31445
31446
31447 echo "$as_me:$LINENO: result: no" >&5
31448 echo "${ECHO_T}no" >&6
31449 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31450 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31451 { (exit 1); exit 1; }; }
31452
31453
31454 fi
31455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31456
31457 CXXFLAGS=$save_CXXFLAGS
31458 fi
31459
31460
31461 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31462 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31463
31464 ac_find_libraries=
31465 for ac_dir in $SEARCH_LIB;
31466 do
31467 for ac_extension in a so sl dylib dll.a; do
31468 if test -f "$ac_dir/libXm.$ac_extension"; then
31469 ac_find_libraries=$ac_dir
31470 break 2
31471 fi
31472 done
31473 done
31474
31475
31476 if test "x$ac_find_libraries" != "x" ; then
31477 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31478 echo "${ECHO_T}found in $ac_find_libraries" >&6
31479
31480
31481 if test "$ac_find_libraries" = "default location"; then
31482 ac_path_to_link=""
31483 else
31484 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31485 result=$?
31486 if test $result = 0; then
31487 ac_path_to_link=""
31488 else
31489 ac_path_to_link=" -L$ac_find_libraries"
31490 fi
31491 fi
31492
31493 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31494 else
31495 save_CXXFLAGS=$CXXFLAGS
31496 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31497 save_LIBS="$LIBS"
31498 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31499
31500 cat >conftest.$ac_ext <<_ACEOF
31501 /* confdefs.h. */
31502 _ACEOF
31503 cat confdefs.h >>conftest.$ac_ext
31504 cat >>conftest.$ac_ext <<_ACEOF
31505 /* end confdefs.h. */
31506
31507 #include <Xm/Xm.h>
31508
31509 int
31510 main ()
31511 {
31512
31513 int version;
31514 version = xmUseVersion;
31515
31516 ;
31517 return 0;
31518 }
31519 _ACEOF
31520 rm -f conftest.$ac_objext conftest$ac_exeext
31521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31522 (eval $ac_link) 2>conftest.er1
31523 ac_status=$?
31524 grep -v '^ *+' conftest.er1 >conftest.err
31525 rm -f conftest.er1
31526 cat conftest.err >&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); } &&
31529 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31531 (eval $ac_try) 2>&5
31532 ac_status=$?
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; } &&
31535 { ac_try='test -s conftest$ac_exeext'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31538 ac_status=$?
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; }; then
31541
31542 echo "$as_me:$LINENO: result: found in default search path" >&5
31543 echo "${ECHO_T}found in default search path" >&6
31544 COMPILED_X_PROGRAM=1
31545
31546 else
31547 echo "$as_me: failed program was:" >&5
31548 sed 's/^/| /' conftest.$ac_ext >&5
31549
31550
31551 echo "$as_me:$LINENO: result: no" >&5
31552 echo "${ECHO_T}no" >&6
31553 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31554 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31555 { (exit 1); exit 1; }; }
31556
31557
31558 fi
31559 rm -f conftest.err conftest.$ac_objext \
31560 conftest$ac_exeext conftest.$ac_ext
31561
31562 CXXFLAGS=$save_CXXFLAGS
31563 LIBS="$save_LIBS"
31564 fi
31565
31566 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31567 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31568 libp_link=""
31569 libsm_ice_link=""
31570 libs_found=0
31571 for libp in "" " -lXp"; do
31572 if test "$libs_found" = "0"; then
31573 for libsm_ice in "" " -lSM -lICE"; do
31574 if test "$libs_found" = "0"; then
31575 save_LIBS="$LIBS"
31576 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31577 save_CXXFLAGS=$CXXFLAGS
31578 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31579
31580 cat >conftest.$ac_ext <<_ACEOF
31581 /* confdefs.h. */
31582 _ACEOF
31583 cat confdefs.h >>conftest.$ac_ext
31584 cat >>conftest.$ac_ext <<_ACEOF
31585 /* end confdefs.h. */
31586
31587 #include <Xm/Xm.h>
31588 #include <Xm/List.h>
31589
31590 int
31591 main ()
31592 {
31593
31594 XmString string = NULL;
31595 Widget w = NULL;
31596 int position = 0;
31597 XmListAddItem(w, string, position);
31598
31599 ;
31600 return 0;
31601 }
31602 _ACEOF
31603 rm -f conftest.$ac_objext conftest$ac_exeext
31604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31605 (eval $ac_link) 2>conftest.er1
31606 ac_status=$?
31607 grep -v '^ *+' conftest.er1 >conftest.err
31608 rm -f conftest.er1
31609 cat conftest.err >&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); } &&
31612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31614 (eval $ac_try) 2>&5
31615 ac_status=$?
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; } &&
31618 { ac_try='test -s conftest$ac_exeext'
31619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620 (eval $ac_try) 2>&5
31621 ac_status=$?
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); }; }; then
31624
31625 libp_link="$libp"
31626 libsm_ice_link="$libsm_ice"
31627 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31628 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31629 libs_found=1
31630
31631 else
31632 echo "$as_me: failed program was:" >&5
31633 sed 's/^/| /' conftest.$ac_ext >&5
31634
31635
31636
31637 fi
31638 rm -f conftest.err conftest.$ac_objext \
31639 conftest$ac_exeext conftest.$ac_ext
31640
31641 LIBS="$save_LIBS"
31642 CXXFLAGS=$save_CXXFLAGS
31643 fi
31644 done
31645 fi
31646 done
31647
31648 if test "$libs_found" = "0"; then
31649 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31650 echo "${ECHO_T}can't find the right libraries" >&6
31651 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31652 echo "$as_me: error: can't link a simple motif program" >&2;}
31653 { (exit 1); exit 1; }; }
31654 fi
31655
31656 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31657 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31658 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31659 echo $ECHO_N "(cached) $ECHO_C" >&6
31660 else
31661 ac_check_lib_save_LIBS=$LIBS
31662 LIBS="-lSgm $LIBS"
31663 cat >conftest.$ac_ext <<_ACEOF
31664 /* confdefs.h. */
31665 _ACEOF
31666 cat confdefs.h >>conftest.$ac_ext
31667 cat >>conftest.$ac_ext <<_ACEOF
31668 /* end confdefs.h. */
31669
31670 /* Override any gcc2 internal prototype to avoid an error. */
31671 #ifdef __cplusplus
31672 extern "C"
31673 #endif
31674 /* We use char because int might match the return type of a gcc2
31675 builtin and then its argument prototype would still apply. */
31676 char SgCreateList ();
31677 int
31678 main ()
31679 {
31680 SgCreateList ();
31681 ;
31682 return 0;
31683 }
31684 _ACEOF
31685 rm -f conftest.$ac_objext conftest$ac_exeext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31687 (eval $ac_link) 2>conftest.er1
31688 ac_status=$?
31689 grep -v '^ *+' conftest.er1 >conftest.err
31690 rm -f conftest.er1
31691 cat conftest.err >&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } &&
31694 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31696 (eval $ac_try) 2>&5
31697 ac_status=$?
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); }; } &&
31700 { ac_try='test -s conftest$ac_exeext'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31703 ac_status=$?
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; }; then
31706 ac_cv_lib_Sgm_SgCreateList=yes
31707 else
31708 echo "$as_me: failed program was:" >&5
31709 sed 's/^/| /' conftest.$ac_ext >&5
31710
31711 ac_cv_lib_Sgm_SgCreateList=no
31712 fi
31713 rm -f conftest.err conftest.$ac_objext \
31714 conftest$ac_exeext conftest.$ac_ext
31715 LIBS=$ac_check_lib_save_LIBS
31716 fi
31717 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31718 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31719 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31720 libsgm_link=" -lSgm"
31721 fi
31722
31723
31724 save_CXXFLAGS=$CXXFLAGS
31725 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31726
31727 echo "$as_me:$LINENO: checking for Motif 2" >&5
31728 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31729 if test "${wx_cv_lib_motif2+set}" = set; then
31730 echo $ECHO_N "(cached) $ECHO_C" >&6
31731 else
31732 cat >conftest.$ac_ext <<_ACEOF
31733 /* confdefs.h. */
31734 _ACEOF
31735 cat confdefs.h >>conftest.$ac_ext
31736 cat >>conftest.$ac_ext <<_ACEOF
31737 /* end confdefs.h. */
31738
31739 #include <Xm/Xm.h>
31740
31741 int
31742 main ()
31743 {
31744
31745 #if XmVersion < 2000
31746 Not Motif 2
31747 #endif
31748
31749 ;
31750 return 0;
31751 }
31752 _ACEOF
31753 rm -f conftest.$ac_objext
31754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31755 (eval $ac_compile) 2>conftest.er1
31756 ac_status=$?
31757 grep -v '^ *+' conftest.er1 >conftest.err
31758 rm -f conftest.er1
31759 cat conftest.err >&5
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); } &&
31762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31764 (eval $ac_try) 2>&5
31765 ac_status=$?
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); }; } &&
31768 { ac_try='test -s conftest.$ac_objext'
31769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31770 (eval $ac_try) 2>&5
31771 ac_status=$?
31772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31773 (exit $ac_status); }; }; then
31774 wx_cv_lib_motif2="yes"
31775 else
31776 echo "$as_me: failed program was:" >&5
31777 sed 's/^/| /' conftest.$ac_ext >&5
31778
31779 wx_cv_lib_motif2="no"
31780 fi
31781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31782 fi
31783 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31784 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31785 if test "$wx_cv_lib_motif2" = "yes"; then
31786 cat >>confdefs.h <<\_ACEOF
31787 #define __WXMOTIF20__ 1
31788 _ACEOF
31789
31790 else
31791 cat >>confdefs.h <<\_ACEOF
31792 #define __WXMOTIF20__ 0
31793 _ACEOF
31794
31795 fi
31796
31797 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31798 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31799 if test "${wx_cv_lib_lesstif+set}" = set; then
31800 echo $ECHO_N "(cached) $ECHO_C" >&6
31801 else
31802 cat >conftest.$ac_ext <<_ACEOF
31803 /* confdefs.h. */
31804 _ACEOF
31805 cat confdefs.h >>conftest.$ac_ext
31806 cat >>conftest.$ac_ext <<_ACEOF
31807 /* end confdefs.h. */
31808
31809 #include <Xm/Xm.h>
31810
31811 int
31812 main ()
31813 {
31814
31815 #if !defined(LesstifVersion) || LesstifVersion <= 0
31816 Not Lesstif
31817 #endif
31818
31819 ;
31820 return 0;
31821 }
31822 _ACEOF
31823 rm -f conftest.$ac_objext
31824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31825 (eval $ac_compile) 2>conftest.er1
31826 ac_status=$?
31827 grep -v '^ *+' conftest.er1 >conftest.err
31828 rm -f conftest.er1
31829 cat conftest.err >&5
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); } &&
31832 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31834 (eval $ac_try) 2>&5
31835 ac_status=$?
31836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837 (exit $ac_status); }; } &&
31838 { ac_try='test -s conftest.$ac_objext'
31839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31840 (eval $ac_try) 2>&5
31841 ac_status=$?
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); }; }; then
31844 wx_cv_lib_lesstif="yes"
31845 else
31846 echo "$as_me: failed program was:" >&5
31847 sed 's/^/| /' conftest.$ac_ext >&5
31848
31849 wx_cv_lib_lesstif="no"
31850 fi
31851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31852
31853 fi
31854 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31855 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31856 if test "$wx_cv_lib_lesstif" = "yes"; then
31857 cat >>confdefs.h <<\_ACEOF
31858 #define __WXLESSTIF__ 1
31859 _ACEOF
31860
31861 else
31862 cat >>confdefs.h <<\_ACEOF
31863 #define __WXLESSTIF__ 0
31864 _ACEOF
31865
31866 fi
31867
31868 CXXFLAGS=$save_CXXFLAGS
31869
31870 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31871 TOOLKIT=MOTIF
31872 GUIDIST=MOTIF_DIST
31873 fi
31874
31875 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31876 if test "$wxUSE_LIBXPM" = "sys"; then
31877 echo "$as_me:$LINENO: checking for Xpm library" >&5
31878 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31879
31880 ac_find_libraries=
31881 for ac_dir in $SEARCH_LIB;
31882 do
31883 for ac_extension in a so sl dylib dll.a; do
31884 if test -f "$ac_dir/libXpm.$ac_extension"; then
31885 ac_find_libraries=$ac_dir
31886 break 2
31887 fi
31888 done
31889 done
31890
31891 if test "$ac_find_libraries" != "" ; then
31892
31893 if test "$ac_find_libraries" = "default location"; then
31894 ac_path_to_link=""
31895 else
31896 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31897 result=$?
31898 if test $result = 0; then
31899 ac_path_to_link=""
31900 else
31901 ac_path_to_link=" -L$ac_find_libraries"
31902 fi
31903 fi
31904
31905 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31906 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31907 echo "${ECHO_T}found in $ac_find_libraries" >&6
31908
31909 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31910 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31911 if test "${wx_cv_x11_xpm_h+set}" = set; then
31912 echo $ECHO_N "(cached) $ECHO_C" >&6
31913 else
31914
31915 save_CXXFLAGS=$CXXFLAGS
31916 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31917
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
31925 #include <X11/xpm.h>
31926
31927 int
31928 main ()
31929 {
31930
31931 int version;
31932 version = XpmLibraryVersion();
31933
31934 ;
31935 return 0;
31936 }
31937 _ACEOF
31938 rm -f conftest.$ac_objext
31939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31940 (eval $ac_compile) 2>conftest.er1
31941 ac_status=$?
31942 grep -v '^ *+' conftest.er1 >conftest.err
31943 rm -f conftest.er1
31944 cat conftest.err >&5
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); } &&
31947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31949 (eval $ac_try) 2>&5
31950 ac_status=$?
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); }; } &&
31953 { ac_try='test -s conftest.$ac_objext'
31954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31955 (eval $ac_try) 2>&5
31956 ac_status=$?
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); }; }; then
31959 wx_cv_x11_xpm_h=yes
31960 else
31961 echo "$as_me: failed program was:" >&5
31962 sed 's/^/| /' conftest.$ac_ext >&5
31963
31964 wx_cv_x11_xpm_h=no
31965
31966 fi
31967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31968
31969 CXXFLAGS=$save_CXXFLAGS
31970
31971
31972 fi
31973 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31974 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31975
31976 if test $wx_cv_x11_xpm_h = "yes"; then
31977 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31978 cat >>confdefs.h <<\_ACEOF
31979 #define wxHAVE_LIB_XPM 1
31980 _ACEOF
31981
31982 else
31983 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31984 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31985 fi
31986 fi
31987
31988 fi
31989
31990 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31991 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31992 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31993 echo $ECHO_N "(cached) $ECHO_C" >&6
31994 else
31995 ac_check_lib_save_LIBS=$LIBS
31996 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31997 cat >conftest.$ac_ext <<_ACEOF
31998 /* confdefs.h. */
31999 _ACEOF
32000 cat confdefs.h >>conftest.$ac_ext
32001 cat >>conftest.$ac_ext <<_ACEOF
32002 /* end confdefs.h. */
32003
32004 /* Override any gcc2 internal prototype to avoid an error. */
32005 #ifdef __cplusplus
32006 extern "C"
32007 #endif
32008 /* We use char because int might match the return type of a gcc2
32009 builtin and then its argument prototype would still apply. */
32010 char XShapeQueryExtension ();
32011 int
32012 main ()
32013 {
32014 XShapeQueryExtension ();
32015 ;
32016 return 0;
32017 }
32018 _ACEOF
32019 rm -f conftest.$ac_objext conftest$ac_exeext
32020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32021 (eval $ac_link) 2>conftest.er1
32022 ac_status=$?
32023 grep -v '^ *+' conftest.er1 >conftest.err
32024 rm -f conftest.er1
32025 cat conftest.err >&5
32026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027 (exit $ac_status); } &&
32028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32030 (eval $ac_try) 2>&5
32031 ac_status=$?
32032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32033 (exit $ac_status); }; } &&
32034 { ac_try='test -s conftest$ac_exeext'
32035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32036 (eval $ac_try) 2>&5
32037 ac_status=$?
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); }; }; then
32040 ac_cv_lib_Xext_XShapeQueryExtension=yes
32041 else
32042 echo "$as_me: failed program was:" >&5
32043 sed 's/^/| /' conftest.$ac_ext >&5
32044
32045 ac_cv_lib_Xext_XShapeQueryExtension=no
32046 fi
32047 rm -f conftest.err conftest.$ac_objext \
32048 conftest$ac_exeext conftest.$ac_ext
32049 LIBS=$ac_check_lib_save_LIBS
32050 fi
32051 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32052 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32053 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32054
32055 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32056 wxHAVE_XEXT_LIB=1
32057
32058 fi
32059
32060
32061 if test "$wxHAVE_XEXT_LIB" = 1; then
32062 save_CXXFLAGS="$CXXFLAGS"
32063 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32064
32065 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32066 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32067 cat >conftest.$ac_ext <<_ACEOF
32068 /* confdefs.h. */
32069 _ACEOF
32070 cat confdefs.h >>conftest.$ac_ext
32071 cat >>conftest.$ac_ext <<_ACEOF
32072 /* end confdefs.h. */
32073
32074 #include <X11/Xlib.h>
32075 #include <X11/extensions/shape.h>
32076
32077 int
32078 main ()
32079 {
32080
32081 int dummy1, dummy2;
32082 XShapeQueryExtension((Display*)NULL,
32083 (int*)NULL, (int*)NULL);
32084
32085 ;
32086 return 0;
32087 }
32088 _ACEOF
32089 rm -f conftest.$ac_objext
32090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32091 (eval $ac_compile) 2>conftest.er1
32092 ac_status=$?
32093 grep -v '^ *+' conftest.er1 >conftest.err
32094 rm -f conftest.er1
32095 cat conftest.err >&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); } &&
32098 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32100 (eval $ac_try) 2>&5
32101 ac_status=$?
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; } &&
32104 { ac_try='test -s conftest.$ac_objext'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32107 ac_status=$?
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; }; then
32110
32111 cat >>confdefs.h <<\_ACEOF
32112 #define HAVE_XSHAPE 1
32113 _ACEOF
32114
32115 echo "$as_me:$LINENO: result: found" >&5
32116 echo "${ECHO_T}found" >&6
32117
32118 else
32119 echo "$as_me: failed program was:" >&5
32120 sed 's/^/| /' conftest.$ac_ext >&5
32121
32122
32123 echo "$as_me:$LINENO: result: not found" >&5
32124 echo "${ECHO_T}not found" >&6
32125
32126 fi
32127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32128 CXXFLAGS="$save_CXXFLAGS"
32129
32130 fi
32131 fi
32132
32133 if test "$wxUSE_MAC" = 1; then
32134 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32135 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32136 if test "$GCC" = yes; then
32137 echo "$as_me:$LINENO: result: gcc" >&5
32138 echo "${ECHO_T}gcc" >&6
32139 CPPFLAGS_PASCAL="-fpascal-strings"
32140 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32141 echo "$as_me:$LINENO: result: xlc" >&5
32142 echo "${ECHO_T}xlc" >&6
32143 CPPFLAGS_PASCAL="-qmacpstr"
32144 else
32145 echo "$as_me:$LINENO: result: none" >&5
32146 echo "${ECHO_T}none" >&6
32147 fi
32148
32149 if test "x$wxUSE_UNIX" = "xyes"; then
32150 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32151 else
32152 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32153 fi
32154
32155 TOOLKIT=MAC
32156 GUIDIST=MACX_DIST
32157 WXBASEPORT="_carbon"
32158 fi
32159
32160 if test "$wxUSE_COCOA" = 1; then
32161 TOOLKIT=COCOA
32162 GUIDIST=COCOA_DIST
32163 fi
32164
32165 if test "$wxUSE_PM" = 1; then
32166 TOOLKIT=PM
32167 GUIDIST=PM_DIST
32168 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32169 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32170 if test "${wx_cv_spbcdata+set}" = set; then
32171 echo $ECHO_N "(cached) $ECHO_C" >&6
32172 else
32173
32174 cat >conftest.$ac_ext <<_ACEOF
32175 /* confdefs.h. */
32176 _ACEOF
32177 cat confdefs.h >>conftest.$ac_ext
32178 cat >>conftest.$ac_ext <<_ACEOF
32179 /* end confdefs.h. */
32180
32181 #define INCL_PM
32182 #include <os2.h>
32183
32184 int
32185 main ()
32186 {
32187
32188 SPBCDATA test;
32189
32190 ;
32191 return 0;
32192 }
32193 _ACEOF
32194 rm -f conftest.$ac_objext
32195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32196 (eval $ac_compile) 2>conftest.er1
32197 ac_status=$?
32198 grep -v '^ *+' conftest.er1 >conftest.err
32199 rm -f conftest.er1
32200 cat conftest.err >&5
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); } &&
32203 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32205 (eval $ac_try) 2>&5
32206 ac_status=$?
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); }; } &&
32209 { ac_try='test -s conftest.$ac_objext'
32210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211 (eval $ac_try) 2>&5
32212 ac_status=$?
32213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214 (exit $ac_status); }; }; then
32215 wx_cv_spbcdata=yes
32216 else
32217 echo "$as_me: failed program was:" >&5
32218 sed 's/^/| /' conftest.$ac_ext >&5
32219
32220 wx_cv_spbcdata=no
32221
32222 fi
32223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32224
32225
32226 fi
32227 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32228 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32229
32230 if test $wx_cv_spbcdata = "yes"; then
32231 cat >>confdefs.h <<\_ACEOF
32232 #define HAVE_SPBCDATA 1
32233 _ACEOF
32234
32235 fi
32236 fi
32237
32238 if test "$TOOLKIT" = "PM" ; then
32239 TOOLKIT_DIR="os2"
32240 else
32241 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32242 fi
32243
32244 if test "$wxUSE_UNIVERSAL" = "yes"; then
32245 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32246 WIDGET_SET=univ
32247 fi
32248
32249 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32250 DISTDIR="wx\$(TOOLKIT)"
32251 else
32252 USE_GUI=0
32253
32254 TOOLKIT_DIR="base"
32255
32256 if test "$USE_WIN32" = 1 ; then
32257 TOOLKIT="MSW"
32258 fi
32259
32260 GUIDIST="BASE_DIST"
32261 DISTDIR="wxBase"
32262 fi
32263
32264
32265 if test "$wxUSE_GUI" = "yes"; then
32266 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32267
32268 for ac_header in X11/Xlib.h
32269 do
32270 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32272 echo "$as_me:$LINENO: checking for $ac_header" >&5
32273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32275 echo $ECHO_N "(cached) $ECHO_C" >&6
32276 fi
32277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32279 else
32280 # Is the header compilable?
32281 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32282 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32283 cat >conftest.$ac_ext <<_ACEOF
32284 /* confdefs.h. */
32285 _ACEOF
32286 cat confdefs.h >>conftest.$ac_ext
32287 cat >>conftest.$ac_ext <<_ACEOF
32288 /* end confdefs.h. */
32289 $ac_includes_default
32290 #include <$ac_header>
32291 _ACEOF
32292 rm -f conftest.$ac_objext
32293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32294 (eval $ac_compile) 2>conftest.er1
32295 ac_status=$?
32296 grep -v '^ *+' conftest.er1 >conftest.err
32297 rm -f conftest.er1
32298 cat conftest.err >&5
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); } &&
32301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32303 (eval $ac_try) 2>&5
32304 ac_status=$?
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; } &&
32307 { ac_try='test -s conftest.$ac_objext'
32308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32309 (eval $ac_try) 2>&5
32310 ac_status=$?
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); }; }; then
32313 ac_header_compiler=yes
32314 else
32315 echo "$as_me: failed program was:" >&5
32316 sed 's/^/| /' conftest.$ac_ext >&5
32317
32318 ac_header_compiler=no
32319 fi
32320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32322 echo "${ECHO_T}$ac_header_compiler" >&6
32323
32324 # Is the header present?
32325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32327 cat >conftest.$ac_ext <<_ACEOF
32328 /* confdefs.h. */
32329 _ACEOF
32330 cat confdefs.h >>conftest.$ac_ext
32331 cat >>conftest.$ac_ext <<_ACEOF
32332 /* end confdefs.h. */
32333 #include <$ac_header>
32334 _ACEOF
32335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32337 ac_status=$?
32338 grep -v '^ *+' conftest.er1 >conftest.err
32339 rm -f conftest.er1
32340 cat conftest.err >&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); } >/dev/null; then
32343 if test -s conftest.err; then
32344 ac_cpp_err=$ac_cxx_preproc_warn_flag
32345 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32346 else
32347 ac_cpp_err=
32348 fi
32349 else
32350 ac_cpp_err=yes
32351 fi
32352 if test -z "$ac_cpp_err"; then
32353 ac_header_preproc=yes
32354 else
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.$ac_ext >&5
32357
32358 ac_header_preproc=no
32359 fi
32360 rm -f conftest.err conftest.$ac_ext
32361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32362 echo "${ECHO_T}$ac_header_preproc" >&6
32363
32364 # So? What about this header?
32365 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32366 yes:no: )
32367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32371 ac_header_preproc=yes
32372 ;;
32373 no:yes:* )
32374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32386 (
32387 cat <<\_ASBOX
32388 ## ----------------------------------------- ##
32389 ## Report this to wx-dev@lists.wxwidgets.org ##
32390 ## ----------------------------------------- ##
32391 _ASBOX
32392 ) |
32393 sed "s/^/$as_me: WARNING: /" >&2
32394 ;;
32395 esac
32396 echo "$as_me:$LINENO: checking for $ac_header" >&5
32397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32399 echo $ECHO_N "(cached) $ECHO_C" >&6
32400 else
32401 eval "$as_ac_Header=\$ac_header_preproc"
32402 fi
32403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32405
32406 fi
32407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32408 cat >>confdefs.h <<_ACEOF
32409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32410 _ACEOF
32411
32412 fi
32413
32414 done
32415
32416
32417 for ac_header in X11/XKBlib.h
32418 do
32419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32420 echo "$as_me:$LINENO: checking for $ac_header" >&5
32421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32423 echo $ECHO_N "(cached) $ECHO_C" >&6
32424 else
32425 cat >conftest.$ac_ext <<_ACEOF
32426 /* confdefs.h. */
32427 _ACEOF
32428 cat confdefs.h >>conftest.$ac_ext
32429 cat >>conftest.$ac_ext <<_ACEOF
32430 /* end confdefs.h. */
32431
32432 #if HAVE_X11_XLIB_H
32433 #include <X11/Xlib.h>
32434 #endif
32435
32436
32437 #include <$ac_header>
32438 _ACEOF
32439 rm -f conftest.$ac_objext
32440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32441 (eval $ac_compile) 2>conftest.er1
32442 ac_status=$?
32443 grep -v '^ *+' conftest.er1 >conftest.err
32444 rm -f conftest.er1
32445 cat conftest.err >&5
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); } &&
32448 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32450 (eval $ac_try) 2>&5
32451 ac_status=$?
32452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32453 (exit $ac_status); }; } &&
32454 { ac_try='test -s conftest.$ac_objext'
32455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32456 (eval $ac_try) 2>&5
32457 ac_status=$?
32458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32459 (exit $ac_status); }; }; then
32460 eval "$as_ac_Header=yes"
32461 else
32462 echo "$as_me: failed program was:" >&5
32463 sed 's/^/| /' conftest.$ac_ext >&5
32464
32465 eval "$as_ac_Header=no"
32466 fi
32467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32468 fi
32469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32472 cat >>confdefs.h <<_ACEOF
32473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32474 _ACEOF
32475
32476 fi
32477
32478 done
32479
32480 fi
32481 fi
32482
32483
32484
32485 IODBC_C_SRC=""
32486
32487
32488 if test "$TOOLKIT" != "MSW" ; then
32489
32490 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32491
32492 if test "${ac_cv_header_sql_h+set}" = set; then
32493 echo "$as_me:$LINENO: checking for sql.h" >&5
32494 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32495 if test "${ac_cv_header_sql_h+set}" = set; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32497 fi
32498 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32499 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32500 else
32501 # Is the header compilable?
32502 echo "$as_me:$LINENO: checking sql.h usability" >&5
32503 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32504 cat >conftest.$ac_ext <<_ACEOF
32505 /* confdefs.h. */
32506 _ACEOF
32507 cat confdefs.h >>conftest.$ac_ext
32508 cat >>conftest.$ac_ext <<_ACEOF
32509 /* end confdefs.h. */
32510 $ac_includes_default
32511 #include <sql.h>
32512 _ACEOF
32513 rm -f conftest.$ac_objext
32514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32515 (eval $ac_compile) 2>conftest.er1
32516 ac_status=$?
32517 grep -v '^ *+' conftest.er1 >conftest.err
32518 rm -f conftest.er1
32519 cat conftest.err >&5
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); } &&
32522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32524 (eval $ac_try) 2>&5
32525 ac_status=$?
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); }; } &&
32528 { ac_try='test -s conftest.$ac_objext'
32529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32530 (eval $ac_try) 2>&5
32531 ac_status=$?
32532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32533 (exit $ac_status); }; }; then
32534 ac_header_compiler=yes
32535 else
32536 echo "$as_me: failed program was:" >&5
32537 sed 's/^/| /' conftest.$ac_ext >&5
32538
32539 ac_header_compiler=no
32540 fi
32541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32543 echo "${ECHO_T}$ac_header_compiler" >&6
32544
32545 # Is the header present?
32546 echo "$as_me:$LINENO: checking sql.h presence" >&5
32547 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32548 cat >conftest.$ac_ext <<_ACEOF
32549 /* confdefs.h. */
32550 _ACEOF
32551 cat confdefs.h >>conftest.$ac_ext
32552 cat >>conftest.$ac_ext <<_ACEOF
32553 /* end confdefs.h. */
32554 #include <sql.h>
32555 _ACEOF
32556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32558 ac_status=$?
32559 grep -v '^ *+' conftest.er1 >conftest.err
32560 rm -f conftest.er1
32561 cat conftest.err >&5
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); } >/dev/null; then
32564 if test -s conftest.err; then
32565 ac_cpp_err=$ac_cxx_preproc_warn_flag
32566 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32567 else
32568 ac_cpp_err=
32569 fi
32570 else
32571 ac_cpp_err=yes
32572 fi
32573 if test -z "$ac_cpp_err"; then
32574 ac_header_preproc=yes
32575 else
32576 echo "$as_me: failed program was:" >&5
32577 sed 's/^/| /' conftest.$ac_ext >&5
32578
32579 ac_header_preproc=no
32580 fi
32581 rm -f conftest.err conftest.$ac_ext
32582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32583 echo "${ECHO_T}$ac_header_preproc" >&6
32584
32585 # So? What about this header?
32586 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32587 yes:no: )
32588 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32589 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32590 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32591 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32592 ac_header_preproc=yes
32593 ;;
32594 no:yes:* )
32595 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32596 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32597 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32598 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32599 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32600 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32601 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32602 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32603 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32604 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32605 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32606 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32607 (
32608 cat <<\_ASBOX
32609 ## ----------------------------------------- ##
32610 ## Report this to wx-dev@lists.wxwidgets.org ##
32611 ## ----------------------------------------- ##
32612 _ASBOX
32613 ) |
32614 sed "s/^/$as_me: WARNING: /" >&2
32615 ;;
32616 esac
32617 echo "$as_me:$LINENO: checking for sql.h" >&5
32618 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32619 if test "${ac_cv_header_sql_h+set}" = set; then
32620 echo $ECHO_N "(cached) $ECHO_C" >&6
32621 else
32622 ac_cv_header_sql_h=$ac_header_preproc
32623 fi
32624 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32625 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32626
32627 fi
32628 if test $ac_cv_header_sql_h = yes; then
32629 found_sql_h=1
32630 fi
32631
32632
32633 if test "x$found_sql_h" = "x1" ; then
32634 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32635 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32636 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32637 echo $ECHO_N "(cached) $ECHO_C" >&6
32638 else
32639 ac_check_lib_save_LIBS=$LIBS
32640 LIBS="-liodbc $LIBS"
32641 cat >conftest.$ac_ext <<_ACEOF
32642 /* confdefs.h. */
32643 _ACEOF
32644 cat confdefs.h >>conftest.$ac_ext
32645 cat >>conftest.$ac_ext <<_ACEOF
32646 /* end confdefs.h. */
32647
32648 /* Override any gcc2 internal prototype to avoid an error. */
32649 #ifdef __cplusplus
32650 extern "C"
32651 #endif
32652 /* We use char because int might match the return type of a gcc2
32653 builtin and then its argument prototype would still apply. */
32654 char SQLAllocEnv ();
32655 int
32656 main ()
32657 {
32658 SQLAllocEnv ();
32659 ;
32660 return 0;
32661 }
32662 _ACEOF
32663 rm -f conftest.$ac_objext conftest$ac_exeext
32664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32665 (eval $ac_link) 2>conftest.er1
32666 ac_status=$?
32667 grep -v '^ *+' conftest.er1 >conftest.err
32668 rm -f conftest.er1
32669 cat conftest.err >&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); } &&
32672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32674 (eval $ac_try) 2>&5
32675 ac_status=$?
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); }; } &&
32678 { ac_try='test -s conftest$ac_exeext'
32679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32680 (eval $ac_try) 2>&5
32681 ac_status=$?
32682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32683 (exit $ac_status); }; }; then
32684 ac_cv_lib_iodbc_SQLAllocEnv=yes
32685 else
32686 echo "$as_me: failed program was:" >&5
32687 sed 's/^/| /' conftest.$ac_ext >&5
32688
32689 ac_cv_lib_iodbc_SQLAllocEnv=no
32690 fi
32691 rm -f conftest.err conftest.$ac_objext \
32692 conftest$ac_exeext conftest.$ac_ext
32693 LIBS=$ac_check_lib_save_LIBS
32694 fi
32695 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32696 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32697 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32698 ODBC_LINK=" -liodbc"
32699 else
32700
32701 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32702 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32703 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32704 echo $ECHO_N "(cached) $ECHO_C" >&6
32705 else
32706 ac_check_lib_save_LIBS=$LIBS
32707 LIBS="-lunixodbc $LIBS"
32708 cat >conftest.$ac_ext <<_ACEOF
32709 /* confdefs.h. */
32710 _ACEOF
32711 cat confdefs.h >>conftest.$ac_ext
32712 cat >>conftest.$ac_ext <<_ACEOF
32713 /* end confdefs.h. */
32714
32715 /* Override any gcc2 internal prototype to avoid an error. */
32716 #ifdef __cplusplus
32717 extern "C"
32718 #endif
32719 /* We use char because int might match the return type of a gcc2
32720 builtin and then its argument prototype would still apply. */
32721 char SQLAllocEnv ();
32722 int
32723 main ()
32724 {
32725 SQLAllocEnv ();
32726 ;
32727 return 0;
32728 }
32729 _ACEOF
32730 rm -f conftest.$ac_objext conftest$ac_exeext
32731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32732 (eval $ac_link) 2>conftest.er1
32733 ac_status=$?
32734 grep -v '^ *+' conftest.er1 >conftest.err
32735 rm -f conftest.er1
32736 cat conftest.err >&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); } &&
32739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32741 (eval $ac_try) 2>&5
32742 ac_status=$?
32743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32744 (exit $ac_status); }; } &&
32745 { ac_try='test -s conftest$ac_exeext'
32746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32747 (eval $ac_try) 2>&5
32748 ac_status=$?
32749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32750 (exit $ac_status); }; }; then
32751 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32752 else
32753 echo "$as_me: failed program was:" >&5
32754 sed 's/^/| /' conftest.$ac_ext >&5
32755
32756 ac_cv_lib_unixodbc_SQLAllocEnv=no
32757 fi
32758 rm -f conftest.err conftest.$ac_objext \
32759 conftest$ac_exeext conftest.$ac_ext
32760 LIBS=$ac_check_lib_save_LIBS
32761 fi
32762 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32763 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32764 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32765 ODBC_LINK=" -lunixodbc"
32766 else
32767
32768 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32769 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32770 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32771 echo $ECHO_N "(cached) $ECHO_C" >&6
32772 else
32773 ac_check_lib_save_LIBS=$LIBS
32774 LIBS="-lodbc $LIBS"
32775 cat >conftest.$ac_ext <<_ACEOF
32776 /* confdefs.h. */
32777 _ACEOF
32778 cat confdefs.h >>conftest.$ac_ext
32779 cat >>conftest.$ac_ext <<_ACEOF
32780 /* end confdefs.h. */
32781
32782 /* Override any gcc2 internal prototype to avoid an error. */
32783 #ifdef __cplusplus
32784 extern "C"
32785 #endif
32786 /* We use char because int might match the return type of a gcc2
32787 builtin and then its argument prototype would still apply. */
32788 char SQLAllocEnv ();
32789 int
32790 main ()
32791 {
32792 SQLAllocEnv ();
32793 ;
32794 return 0;
32795 }
32796 _ACEOF
32797 rm -f conftest.$ac_objext conftest$ac_exeext
32798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32799 (eval $ac_link) 2>conftest.er1
32800 ac_status=$?
32801 grep -v '^ *+' conftest.er1 >conftest.err
32802 rm -f conftest.er1
32803 cat conftest.err >&5
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); } &&
32806 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32808 (eval $ac_try) 2>&5
32809 ac_status=$?
32810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32811 (exit $ac_status); }; } &&
32812 { ac_try='test -s conftest$ac_exeext'
32813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32814 (eval $ac_try) 2>&5
32815 ac_status=$?
32816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32817 (exit $ac_status); }; }; then
32818 ac_cv_lib_odbc_SQLAllocEnv=yes
32819 else
32820 echo "$as_me: failed program was:" >&5
32821 sed 's/^/| /' conftest.$ac_ext >&5
32822
32823 ac_cv_lib_odbc_SQLAllocEnv=no
32824 fi
32825 rm -f conftest.err conftest.$ac_objext \
32826 conftest$ac_exeext conftest.$ac_ext
32827 LIBS=$ac_check_lib_save_LIBS
32828 fi
32829 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32830 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32831 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32832 ODBC_LINK=" -lodbc"
32833 fi
32834
32835
32836 fi
32837
32838
32839 fi
32840
32841 fi
32842 if test "x$ODBC_LINK" = "x" ; then
32843 if test "$wxUSE_ODBC" = "sys" ; then
32844 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32845 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32846 { (exit 1); exit 1; }; }
32847 else
32848 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32849 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32850 wxUSE_ODBC=builtin
32851 fi
32852 else
32853 wxUSE_ODBC=sys
32854 fi
32855 fi
32856
32857 if test "$wxUSE_ODBC" = "builtin" ; then
32858 cat >>confdefs.h <<\_ACEOF
32859 #define wxUSE_BUILTIN_IODBC 1
32860 _ACEOF
32861
32862 fi
32863 fi
32864
32865 if test "$wxUSE_ODBC" != "no" ; then
32866 cat >>confdefs.h <<\_ACEOF
32867 #define wxUSE_ODBC 1
32868 _ACEOF
32869
32870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32871
32872 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32873 fi
32874
32875
32876 if test "$wxUSE_DISPLAY" = "yes"; then
32877 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32878 echo "$as_me:$LINENO: checking for Xinerama" >&5
32879 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32880
32881 ac_find_libraries=
32882 for ac_dir in $SEARCH_LIB;
32883 do
32884 for ac_extension in a so sl dylib dll.a; do
32885 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32886 ac_find_libraries=$ac_dir
32887 break 2
32888 fi
32889 done
32890 done
32891
32892 if test "$ac_find_libraries" != "" ; then
32893
32894 if test "$ac_find_libraries" = "default location"; then
32895 ac_path_to_link=""
32896 else
32897 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32898 result=$?
32899 if test $result = 0; then
32900 ac_path_to_link=""
32901 else
32902 ac_path_to_link=" -L$ac_find_libraries"
32903 fi
32904 fi
32905
32906 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32907 LDFLAGS="$LDFLAGS $ac_path_to_link"
32908 fi
32909 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32910 echo "$as_me:$LINENO: result: yes" >&5
32911 echo "${ECHO_T}yes" >&6
32912
32913 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32914 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32915
32916 ac_find_libraries=
32917 for ac_dir in $SEARCH_LIB;
32918 do
32919 for ac_extension in a so sl dylib dll.a; do
32920 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32921 ac_find_libraries=$ac_dir
32922 break 2
32923 fi
32924 done
32925 done
32926
32927 if test "$ac_find_libraries" != "" ; then
32928 echo "$as_me:$LINENO: result: yes" >&5
32929 echo "${ECHO_T}yes" >&6
32930
32931 for ac_header in X11/extensions/xf86vmode.h
32932 do
32933 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32934 echo "$as_me:$LINENO: checking for $ac_header" >&5
32935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32937 echo $ECHO_N "(cached) $ECHO_C" >&6
32938 else
32939 cat >conftest.$ac_ext <<_ACEOF
32940 /* confdefs.h. */
32941 _ACEOF
32942 cat confdefs.h >>conftest.$ac_ext
32943 cat >>conftest.$ac_ext <<_ACEOF
32944 /* end confdefs.h. */
32945
32946 #if HAVE_X11_XLIB_H
32947 #include <X11/Xlib.h>
32948 #endif
32949
32950
32951 #include <$ac_header>
32952 _ACEOF
32953 rm -f conftest.$ac_objext
32954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32955 (eval $ac_compile) 2>conftest.er1
32956 ac_status=$?
32957 grep -v '^ *+' conftest.er1 >conftest.err
32958 rm -f conftest.er1
32959 cat conftest.err >&5
32960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32961 (exit $ac_status); } &&
32962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32964 (eval $ac_try) 2>&5
32965 ac_status=$?
32966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32967 (exit $ac_status); }; } &&
32968 { ac_try='test -s conftest.$ac_objext'
32969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32970 (eval $ac_try) 2>&5
32971 ac_status=$?
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); }; }; then
32974 eval "$as_ac_Header=yes"
32975 else
32976 echo "$as_me: failed program was:" >&5
32977 sed 's/^/| /' conftest.$ac_ext >&5
32978
32979 eval "$as_ac_Header=no"
32980 fi
32981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32982 fi
32983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32984 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32986 cat >>confdefs.h <<_ACEOF
32987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32988 _ACEOF
32989
32990 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32991
32992 fi
32993
32994 done
32995
32996 else
32997 echo "$as_me:$LINENO: result: no" >&5
32998 echo "${ECHO_T}no" >&6
32999 fi
33000
33001 else
33002 echo "$as_me:$LINENO: result: no" >&5
33003 echo "${ECHO_T}no" >&6
33004 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33005 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33006 wxUSE_DISPLAY="no"
33007 fi
33008 elif test "$wxUSE_MSW" = 1; then
33009
33010 for ac_header in ddraw.h
33011 do
33012 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33013 echo "$as_me:$LINENO: checking for $ac_header" >&5
33014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33016 echo $ECHO_N "(cached) $ECHO_C" >&6
33017 else
33018 cat >conftest.$ac_ext <<_ACEOF
33019 /* confdefs.h. */
33020 _ACEOF
33021 cat confdefs.h >>conftest.$ac_ext
33022 cat >>conftest.$ac_ext <<_ACEOF
33023 /* end confdefs.h. */
33024 #include <windows.h>
33025
33026 #include <$ac_header>
33027 _ACEOF
33028 rm -f conftest.$ac_objext
33029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33030 (eval $ac_compile) 2>conftest.er1
33031 ac_status=$?
33032 grep -v '^ *+' conftest.er1 >conftest.err
33033 rm -f conftest.er1
33034 cat conftest.err >&5
33035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036 (exit $ac_status); } &&
33037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33039 (eval $ac_try) 2>&5
33040 ac_status=$?
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); }; } &&
33043 { ac_try='test -s conftest.$ac_objext'
33044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33045 (eval $ac_try) 2>&5
33046 ac_status=$?
33047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33048 (exit $ac_status); }; }; then
33049 eval "$as_ac_Header=yes"
33050 else
33051 echo "$as_me: failed program was:" >&5
33052 sed 's/^/| /' conftest.$ac_ext >&5
33053
33054 eval "$as_ac_Header=no"
33055 fi
33056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33057 fi
33058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33061 cat >>confdefs.h <<_ACEOF
33062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33063 _ACEOF
33064
33065 fi
33066
33067 done
33068
33069 fi
33070 fi
33071
33072 if test "$wxUSE_DETECT_SM" = "yes"; then
33073 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33074 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33075 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33076
33077 ac_find_libraries=
33078 for ac_dir in $SEARCH_LIB;
33079 do
33080 for ac_extension in a so sl dylib dll.a; do
33081 if test -f "$ac_dir/libSM.$ac_extension"; then
33082 ac_find_libraries=$ac_dir
33083 break 2
33084 fi
33085 done
33086 done
33087
33088 if test "$ac_find_libraries" != "" ; then
33089
33090 if test "$ac_find_libraries" = "default location"; then
33091 ac_path_to_link=""
33092 else
33093 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33094 result=$?
33095 if test $result = 0; then
33096 ac_path_to_link=""
33097 else
33098 ac_path_to_link=" -L$ac_find_libraries"
33099 fi
33100 fi
33101
33102 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33103 LDFLAGS="$LDFLAGS $ac_path_to_link"
33104 fi
33105 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33106 echo "$as_me:$LINENO: result: yes" >&5
33107 echo "${ECHO_T}yes" >&6
33108 else
33109 echo "$as_me:$LINENO: result: no" >&5
33110 echo "${ECHO_T}no" >&6
33111 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33112 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33113 wxUSE_DETECT_SM="no"
33114 fi
33115 else
33116 wxUSE_DETECT_SM="no"
33117 fi
33118 fi
33119
33120
33121
33122 USE_OPENGL=0
33123 if test "$wxUSE_OPENGL" = "yes"; then
33124 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33125 OPENGL_LIBS="-framework OpenGL -framework AGL"
33126 elif test "$wxUSE_MSW" = 1; then
33127 OPENGL_LIBS="-lopengl32 -lglu32"
33128 else
33129
33130
33131 ac_find_includes=
33132 for ac_dir in $SEARCH_INCLUDE /usr/include;
33133 do
33134 if test -f "$ac_dir/GL/gl.h"; then
33135 ac_find_includes=$ac_dir
33136 break
33137 fi
33138 done
33139
33140 if test "$ac_find_includes" != "" ; then
33141 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33142 echo "${ECHO_T}found in $ac_find_includes" >&6
33143
33144 if test "x$ac_find_includes" = "x/usr/include"; then
33145 ac_path_to_include=""
33146 else
33147 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33148 result=$?
33149 if test $result = 0; then
33150 ac_path_to_include=""
33151 else
33152 ac_path_to_include=" -I$ac_find_includes"
33153 fi
33154 fi
33155
33156 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33157 fi
33158
33159 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33160 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33161 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33162 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33163 echo $ECHO_N "(cached) $ECHO_C" >&6
33164 fi
33165 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33166 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33167 else
33168 # Is the header compilable?
33169 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33170 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33171 cat >conftest.$ac_ext <<_ACEOF
33172 /* confdefs.h. */
33173 _ACEOF
33174 cat confdefs.h >>conftest.$ac_ext
33175 cat >>conftest.$ac_ext <<_ACEOF
33176 /* end confdefs.h. */
33177 $ac_includes_default
33178 #include <GL/gl.h>
33179 _ACEOF
33180 rm -f conftest.$ac_objext
33181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33182 (eval $ac_compile) 2>conftest.er1
33183 ac_status=$?
33184 grep -v '^ *+' conftest.er1 >conftest.err
33185 rm -f conftest.er1
33186 cat conftest.err >&5
33187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33188 (exit $ac_status); } &&
33189 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33191 (eval $ac_try) 2>&5
33192 ac_status=$?
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); }; } &&
33195 { ac_try='test -s conftest.$ac_objext'
33196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33197 (eval $ac_try) 2>&5
33198 ac_status=$?
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); }; }; then
33201 ac_header_compiler=yes
33202 else
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.$ac_ext >&5
33205
33206 ac_header_compiler=no
33207 fi
33208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33210 echo "${ECHO_T}$ac_header_compiler" >&6
33211
33212 # Is the header present?
33213 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33214 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33215 cat >conftest.$ac_ext <<_ACEOF
33216 /* confdefs.h. */
33217 _ACEOF
33218 cat confdefs.h >>conftest.$ac_ext
33219 cat >>conftest.$ac_ext <<_ACEOF
33220 /* end confdefs.h. */
33221 #include <GL/gl.h>
33222 _ACEOF
33223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33225 ac_status=$?
33226 grep -v '^ *+' conftest.er1 >conftest.err
33227 rm -f conftest.er1
33228 cat conftest.err >&5
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); } >/dev/null; then
33231 if test -s conftest.err; then
33232 ac_cpp_err=$ac_cxx_preproc_warn_flag
33233 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33234 else
33235 ac_cpp_err=
33236 fi
33237 else
33238 ac_cpp_err=yes
33239 fi
33240 if test -z "$ac_cpp_err"; then
33241 ac_header_preproc=yes
33242 else
33243 echo "$as_me: failed program was:" >&5
33244 sed 's/^/| /' conftest.$ac_ext >&5
33245
33246 ac_header_preproc=no
33247 fi
33248 rm -f conftest.err conftest.$ac_ext
33249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33250 echo "${ECHO_T}$ac_header_preproc" >&6
33251
33252 # So? What about this header?
33253 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33254 yes:no: )
33255 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33256 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33257 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33258 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33259 ac_header_preproc=yes
33260 ;;
33261 no:yes:* )
33262 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33263 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33264 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33265 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33266 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33267 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33268 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33269 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33270 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33271 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33272 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33273 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33274 (
33275 cat <<\_ASBOX
33276 ## ----------------------------------------- ##
33277 ## Report this to wx-dev@lists.wxwidgets.org ##
33278 ## ----------------------------------------- ##
33279 _ASBOX
33280 ) |
33281 sed "s/^/$as_me: WARNING: /" >&2
33282 ;;
33283 esac
33284 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33285 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33286 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33287 echo $ECHO_N "(cached) $ECHO_C" >&6
33288 else
33289 ac_cv_header_GL_gl_h=$ac_header_preproc
33290 fi
33291 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33292 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33293
33294 fi
33295 if test $ac_cv_header_GL_gl_h = yes; then
33296
33297 found_gl=0
33298
33299 echo "$as_me:$LINENO: checking for -lGL" >&5
33300 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33301
33302 ac_find_libraries=
33303 for ac_dir in $SEARCH_LIB;
33304 do
33305 for ac_extension in a so sl dylib dll.a; do
33306 if test -f "$ac_dir/libGL.$ac_extension"; then
33307 ac_find_libraries=$ac_dir
33308 break 2
33309 fi
33310 done
33311 done
33312
33313 if test "$ac_find_libraries" != "" ; then
33314 echo "$as_me:$LINENO: result: yes" >&5
33315 echo "${ECHO_T}yes" >&6
33316
33317
33318 if test "$ac_find_libraries" = "default location"; then
33319 ac_path_to_link=""
33320 else
33321 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33322 result=$?
33323 if test $result = 0; then
33324 ac_path_to_link=""
33325 else
33326 ac_path_to_link=" -L$ac_find_libraries"
33327 fi
33328 fi
33329
33330 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33331 LDFLAGS_GL="$ac_path_to_link"
33332 fi
33333
33334 echo "$as_me:$LINENO: checking for -lGLU" >&5
33335 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33336
33337 ac_find_libraries=
33338 for ac_dir in $SEARCH_LIB;
33339 do
33340 for ac_extension in a so sl dylib dll.a; do
33341 if test -f "$ac_dir/libGLU.$ac_extension"; then
33342 ac_find_libraries=$ac_dir
33343 break 2
33344 fi
33345 done
33346 done
33347
33348 if test "$ac_find_libraries" != "" ; then
33349
33350 if test "$ac_find_libraries" = "default location"; then
33351 ac_path_to_link=""
33352 else
33353 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33354 result=$?
33355 if test $result = 0; then
33356 ac_path_to_link=""
33357 else
33358 ac_path_to_link=" -L$ac_find_libraries"
33359 fi
33360 fi
33361
33362 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33363 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33364 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33365 fi
33366
33367 found_gl=1
33368 OPENGL_LIBS="-lGL -lGLU"
33369 echo "$as_me:$LINENO: result: yes" >&5
33370 echo "${ECHO_T}yes" >&6
33371 else
33372 echo "$as_me:$LINENO: result: no" >&5
33373 echo "${ECHO_T}no" >&6
33374 fi
33375 else
33376 echo "$as_me:$LINENO: result: no" >&5
33377 echo "${ECHO_T}no" >&6
33378 fi
33379
33380 if test "$found_gl" != 1; then
33381 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33382 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33383
33384 ac_find_libraries=
33385 for ac_dir in $SEARCH_LIB;
33386 do
33387 for ac_extension in a so sl dylib dll.a; do
33388 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33389 ac_find_libraries=$ac_dir
33390 break 2
33391 fi
33392 done
33393 done
33394
33395 if test "$ac_find_libraries" != "" ; then
33396
33397 if test "$ac_find_libraries" = "default location"; then
33398 ac_path_to_link=""
33399 else
33400 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33401 result=$?
33402 if test $result = 0; then
33403 ac_path_to_link=""
33404 else
33405 ac_path_to_link=" -L$ac_find_libraries"
33406 fi
33407 fi
33408
33409 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33410 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33411 echo "$as_me:$LINENO: result: yes" >&5
33412 echo "${ECHO_T}yes" >&6
33413 else
33414 echo "$as_me:$LINENO: result: no" >&5
33415 echo "${ECHO_T}no" >&6
33416 fi
33417 fi
33418
33419 fi
33420
33421
33422
33423 if test "x$OPENGL_LIBS" = "x"; then
33424 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33425 echo "$as_me: error: OpenGL libraries not available" >&2;}
33426 { (exit 1); exit 1; }; }
33427 fi
33428 fi
33429
33430 if test "$wxUSE_OPENGL" = "yes"; then
33431 USE_OPENGL=1
33432 cat >>confdefs.h <<\_ACEOF
33433 #define wxUSE_OPENGL 1
33434 _ACEOF
33435
33436 cat >>confdefs.h <<\_ACEOF
33437 #define wxUSE_GLCANVAS 1
33438 _ACEOF
33439
33440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33441 fi
33442 fi
33443
33444
33445 if test -n "$TOOLKIT" ; then
33446 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33447 fi
33448
33449
33450
33451 if test "$wxUSE_SHARED" = "yes"; then
33452 case "${host}" in
33453 *-pc-msdosdjgpp )
33454 wxUSE_SHARED=no
33455 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33456 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33457 ;;
33458 esac
33459 fi
33460
33461 if test "$wxUSE_SHARED" = "yes"; then
33462
33463
33464 found_versioning=no
33465
33466
33467 if test $found_versioning = no ; then
33468 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33469 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33470 if test "${wx_cv_version_script+set}" = set; then
33471 echo $ECHO_N "(cached) $ECHO_C" >&6
33472 else
33473
33474 echo "VER_1 { *; };" >conftest.sym
33475 echo "int main() { return 0; }" >conftest.cpp
33476
33477 if { ac_try='
33478 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33479 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481 (eval $ac_try) 2>&5
33482 ac_status=$?
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; } ; then
33485 if test -s conftest.stderr ; then
33486 wx_cv_version_script=no
33487 else
33488 wx_cv_version_script=yes
33489 fi
33490 else
33491 wx_cv_version_script=no
33492 fi
33493
33494 if test $wx_cv_version_script = yes
33495 then
33496 echo "struct B { virtual ~B() { } }; \
33497 struct D : public B { }; \
33498 void F() { D d; }" > conftest.cpp
33499
33500 if { ac_try='
33501 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33502 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33504 (eval $ac_try) 2>&5
33505 ac_status=$?
33506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33507 (exit $ac_status); }; } &&
33508 { ac_try='
33509 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33510 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33512 (eval $ac_try) 2>&5
33513 ac_status=$?
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); }; }
33516 then
33517 if { ac_try='
33518 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33519 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521 (eval $ac_try) 2>&5
33522 ac_status=$?
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); }; }
33525 then
33526 wx_cv_version_script=yes
33527 else
33528 wx_cv_version_script=no
33529 fi
33530 fi
33531 fi
33532
33533 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33534 rm -f conftest1.output conftest2.output conftest3.output
33535
33536 fi
33537 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33538 echo "${ECHO_T}$wx_cv_version_script" >&6
33539 if test $wx_cv_version_script = yes ; then
33540 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33541 fi
33542 fi
33543
33544
33545 case "${host}" in
33546 *-*-linux* | *-*-gnu* )
33547 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33548 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33549 ;;
33550
33551 *-*-solaris2* )
33552 if test "$GCC" = yes ; then
33553 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33554
33555 saveLdflags="$LDFLAGS"
33556 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33557 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33558 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33559 cat >conftest.$ac_ext <<_ACEOF
33560 /* confdefs.h. */
33561 _ACEOF
33562 cat confdefs.h >>conftest.$ac_ext
33563 cat >>conftest.$ac_ext <<_ACEOF
33564 /* end confdefs.h. */
33565
33566 int
33567 main ()
33568 {
33569
33570 ;
33571 return 0;
33572 }
33573 _ACEOF
33574 rm -f conftest.$ac_objext conftest$ac_exeext
33575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33576 (eval $ac_link) 2>conftest.er1
33577 ac_status=$?
33578 grep -v '^ *+' conftest.er1 >conftest.err
33579 rm -f conftest.er1
33580 cat conftest.err >&5
33581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33582 (exit $ac_status); } &&
33583 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585 (eval $ac_try) 2>&5
33586 ac_status=$?
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); }; } &&
33589 { ac_try='test -s conftest$ac_exeext'
33590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33591 (eval $ac_try) 2>&5
33592 ac_status=$?
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); }; }; then
33595
33596 echo "$as_me:$LINENO: result: yes" >&5
33597 echo "${ECHO_T}yes" >&6
33598 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33599 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33600
33601 else
33602 echo "$as_me: failed program was:" >&5
33603 sed 's/^/| /' conftest.$ac_ext >&5
33604
33605
33606 echo "$as_me:$LINENO: result: no" >&5
33607 echo "${ECHO_T}no" >&6
33608 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33609 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33610 LDFLAGS="$saveLdflags -Wl,-R,/"
33611 cat >conftest.$ac_ext <<_ACEOF
33612 /* confdefs.h. */
33613 _ACEOF
33614 cat confdefs.h >>conftest.$ac_ext
33615 cat >>conftest.$ac_ext <<_ACEOF
33616 /* end confdefs.h. */
33617
33618 int
33619 main ()
33620 {
33621
33622 ;
33623 return 0;
33624 }
33625 _ACEOF
33626 rm -f conftest.$ac_objext conftest$ac_exeext
33627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33628 (eval $ac_link) 2>conftest.er1
33629 ac_status=$?
33630 grep -v '^ *+' conftest.er1 >conftest.err
33631 rm -f conftest.er1
33632 cat conftest.err >&5
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); } &&
33635 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33637 (eval $ac_try) 2>&5
33638 ac_status=$?
33639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33640 (exit $ac_status); }; } &&
33641 { ac_try='test -s conftest$ac_exeext'
33642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33643 (eval $ac_try) 2>&5
33644 ac_status=$?
33645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33646 (exit $ac_status); }; }; then
33647
33648 echo "$as_me:$LINENO: result: yes" >&5
33649 echo "${ECHO_T}yes" >&6
33650 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33651 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33652
33653 else
33654 echo "$as_me: failed program was:" >&5
33655 sed 's/^/| /' conftest.$ac_ext >&5
33656
33657
33658 echo "$as_me:$LINENO: result: no" >&5
33659 echo "${ECHO_T}no" >&6
33660
33661 fi
33662 rm -f conftest.err conftest.$ac_objext \
33663 conftest$ac_exeext conftest.$ac_ext
33664
33665 fi
33666 rm -f conftest.err conftest.$ac_objext \
33667 conftest$ac_exeext conftest.$ac_ext
33668 LDFLAGS="$saveLdflags"
33669 else
33670 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33671 WXCONFIG_RPATH="-R\$libdir"
33672 fi
33673 ;;
33674
33675 *-*-darwin* )
33676 install_name_tool=`which install_name_tool`
33677 if test "$install_name_tool" -a -x "$install_name_tool"; then
33678 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33679 cat <<EOF >change-install-names
33680 #!/bin/sh
33681 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33682 inst_cmd="install_name_tool "
33683 for i in \${libnames} ; do
33684 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33685 done
33686 \${inst_cmd} \${3}
33687 EOF
33688 chmod +x change-install-names
33689 fi
33690 ;;
33691
33692 *-*-cygwin* | *-*-mingw32* )
33693 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33694 ;;
33695
33696 *-*-hpux* )
33697 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33698 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33699 ;;
33700
33701 esac
33702
33703 if test $wxUSE_RPATH = "no"; then
33704 SAMPLES_RPATH_FLAG=''
33705 SAMPLES_RPATH_POSTLINK=''
33706 WXCONFIG_RPATH=''
33707 fi
33708
33709 SHARED=1
33710
33711 else
33712
33713 config_linkage_component="-static"
33714 SHARED=0
33715
33716 fi
33717
33718
33719 UNICODE=0
33720 lib_unicode_suffix=
33721 WX_CHARTYPE="ansi"
33722 if test "$wxUSE_UNICODE" = "yes"; then
33723 lib_unicode_suffix=u
33724 WX_CHARTYPE="unicode"
33725 UNICODE=1
33726 fi
33727
33728 lib_debug_suffix=
33729 WX_DEBUGTYPE="release"
33730 DEBUG_FLAG=0
33731 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33732 lib_debug_suffix=d
33733 WX_DEBUGTYPE="debug"
33734 DEBUG_FLAG=1
33735 fi
33736
33737 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33738 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33739
33740 DEBUG_INFO=0
33741 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33742 DEBUG_INFO=1
33743 fi
33744
33745 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33746
33747 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33748
33749 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33750
33751 if test "$cross_compiling" = "yes"; then
33752 HOST_SUFFIX="-$host_alias"
33753 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33754 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33755 fi
33756
33757 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33758 if test "${TOOLKIT_DIR}" = "os2"; then
33759 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33760 else
33761 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33762 fi
33763
33764
33765
33766 if test "$wxUSE_COCOA" = 1; then
33767
33768
33769 ac_ext=c
33770 ac_cpp='$CPP $CPPFLAGS'
33771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33774
33775 ac_ext=m
33776
33777 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33778 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33779 cat >conftest.$ac_ext <<_ACEOF
33780 /* confdefs.h. */
33781 _ACEOF
33782 cat confdefs.h >>conftest.$ac_ext
33783 cat >>conftest.$ac_ext <<_ACEOF
33784 /* end confdefs.h. */
33785 #include <AppKit/NSEvent.h>
33786 #include <CoreFoundation/CoreFoundation.h>
33787
33788 int
33789 main ()
33790 {
33791
33792 ;
33793 return 0;
33794 }
33795 _ACEOF
33796 rm -f conftest.$ac_objext
33797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33798 (eval $ac_compile) 2>conftest.er1
33799 ac_status=$?
33800 grep -v '^ *+' conftest.er1 >conftest.err
33801 rm -f conftest.er1
33802 cat conftest.err >&5
33803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 (exit $ac_status); } &&
33805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33807 (eval $ac_try) 2>&5
33808 ac_status=$?
33809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33810 (exit $ac_status); }; } &&
33811 { ac_try='test -s conftest.$ac_objext'
33812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33813 (eval $ac_try) 2>&5
33814 ac_status=$?
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); }; }; then
33817 echo "$as_me:$LINENO: result: no" >&5
33818 echo "${ECHO_T}no" >&6
33819 else
33820 echo "$as_me: failed program was:" >&5
33821 sed 's/^/| /' conftest.$ac_ext >&5
33822
33823 echo "$as_me:$LINENO: result: yes" >&5
33824 echo "${ECHO_T}yes" >&6
33825 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33826 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33827 cat >conftest.$ac_ext <<_ACEOF
33828 /* confdefs.h. */
33829 _ACEOF
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33833 #define __Point__ 1
33834 #include <AppKit/NSEvent.h>
33835 #include <CoreFoundation/CoreFoundation.h>
33836
33837 int
33838 main ()
33839 {
33840
33841 ;
33842 return 0;
33843 }
33844 _ACEOF
33845 rm -f conftest.$ac_objext
33846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33847 (eval $ac_compile) 2>conftest.er1
33848 ac_status=$?
33849 grep -v '^ *+' conftest.er1 >conftest.err
33850 rm -f conftest.er1
33851 cat conftest.err >&5
33852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853 (exit $ac_status); } &&
33854 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33856 (eval $ac_try) 2>&5
33857 ac_status=$?
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); }; } &&
33860 { ac_try='test -s conftest.$ac_objext'
33861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33862 (eval $ac_try) 2>&5
33863 ac_status=$?
33864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865 (exit $ac_status); }; }; then
33866 echo "$as_me:$LINENO: result: yes" >&5
33867 echo "${ECHO_T}yes" >&6
33868 cat >>confdefs.h <<\_ACEOF
33869 #define __Point__ 1
33870 _ACEOF
33871
33872
33873 else
33874 echo "$as_me: failed program was:" >&5
33875 sed 's/^/| /' conftest.$ac_ext >&5
33876
33877 { { echo "$as_me:$LINENO: error: no
33878 See \`config.log' for more details." >&5
33879 echo "$as_me: error: no
33880 See \`config.log' for more details." >&2;}
33881 { (exit 1); exit 1; }; }
33882
33883 fi
33884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33885
33886 fi
33887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33888 ac_ext=cc
33889 ac_cpp='$CXXCPP $CPPFLAGS'
33890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33893
33894 fi
33895
33896 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33897 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33898 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33899
33900 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33901
33902 # Extract the first word of "Rez", so it can be a program name with args.
33903 set dummy Rez; ac_word=$2
33904 echo "$as_me:$LINENO: checking for $ac_word" >&5
33905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33906 if test "${ac_cv_prog_REZ+set}" = set; then
33907 echo $ECHO_N "(cached) $ECHO_C" >&6
33908 else
33909 if test -n "$REZ"; then
33910 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33911 else
33912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33913 for as_dir in $PATH
33914 do
33915 IFS=$as_save_IFS
33916 test -z "$as_dir" && as_dir=.
33917 for ac_exec_ext in '' $ac_executable_extensions; do
33918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33919 ac_cv_prog_REZ="Rez"
33920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33921 break 2
33922 fi
33923 done
33924 done
33925
33926 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33927 fi
33928 fi
33929 REZ=$ac_cv_prog_REZ
33930 if test -n "$REZ"; then
33931 echo "$as_me:$LINENO: result: $REZ" >&5
33932 echo "${ECHO_T}$REZ" >&6
33933 else
33934 echo "$as_me:$LINENO: result: no" >&5
33935 echo "${ECHO_T}no" >&6
33936 fi
33937
33938 # Extract the first word of "DeRez", so it can be a program name with args.
33939 set dummy DeRez; ac_word=$2
33940 echo "$as_me:$LINENO: checking for $ac_word" >&5
33941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33942 if test "${ac_cv_prog_DEREZ+set}" = set; then
33943 echo $ECHO_N "(cached) $ECHO_C" >&6
33944 else
33945 if test -n "$DEREZ"; then
33946 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33947 else
33948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33949 for as_dir in $PATH
33950 do
33951 IFS=$as_save_IFS
33952 test -z "$as_dir" && as_dir=.
33953 for ac_exec_ext in '' $ac_executable_extensions; do
33954 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33955 ac_cv_prog_DEREZ="DeRez"
33956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33957 break 2
33958 fi
33959 done
33960 done
33961
33962 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33963 fi
33964 fi
33965 DEREZ=$ac_cv_prog_DEREZ
33966 if test -n "$DEREZ"; then
33967 echo "$as_me:$LINENO: result: $DEREZ" >&5
33968 echo "${ECHO_T}$DEREZ" >&6
33969 else
33970 echo "$as_me:$LINENO: result: no" >&5
33971 echo "${ECHO_T}no" >&6
33972 fi
33973
33974 # Extract the first word of "SetFile", so it can be a program name with args.
33975 set dummy SetFile; ac_word=$2
33976 echo "$as_me:$LINENO: checking for $ac_word" >&5
33977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33978 if test "${ac_cv_prog_SETFILE+set}" = set; then
33979 echo $ECHO_N "(cached) $ECHO_C" >&6
33980 else
33981 if test -n "$SETFILE"; then
33982 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33983 else
33984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33985 for as_dir in $PATH
33986 do
33987 IFS=$as_save_IFS
33988 test -z "$as_dir" && as_dir=.
33989 for ac_exec_ext in '' $ac_executable_extensions; do
33990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33991 ac_cv_prog_SETFILE="SetFile"
33992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33993 break 2
33994 fi
33995 done
33996 done
33997
33998 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33999 fi
34000 fi
34001 SETFILE=$ac_cv_prog_SETFILE
34002 if test -n "$SETFILE"; then
34003 echo "$as_me:$LINENO: result: $SETFILE" >&5
34004 echo "${ECHO_T}$SETFILE" >&6
34005 else
34006 echo "$as_me:$LINENO: result: no" >&5
34007 echo "${ECHO_T}no" >&6
34008 fi
34009
34010
34011 MACSETFILE="\$(SETFILE)"
34012
34013 if test "$wxUSE_MAC" = 1; then
34014 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34015 RESCOMP="$REZ"
34016 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34017 else
34018 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34019 RESCOMP="echo -n \| $REZ"
34020 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34021 fi
34022
34023 else
34024 MACSETFILE="@true"
34025
34026 if test "$wxUSE_PM" = 1; then
34027 RESCOMP="emxbind"
34028 WXCONFIG_RESFLAGS="-ep"
34029
34030 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34031 else
34032 POSTLINK_COMMAND="@true"
34033 fi
34034
34035 fi
34036
34037
34038
34039 echo "$as_me:$LINENO: checking for mode_t" >&5
34040 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34041 if test "${ac_cv_type_mode_t+set}" = set; then
34042 echo $ECHO_N "(cached) $ECHO_C" >&6
34043 else
34044 cat >conftest.$ac_ext <<_ACEOF
34045 /* confdefs.h. */
34046 _ACEOF
34047 cat confdefs.h >>conftest.$ac_ext
34048 cat >>conftest.$ac_ext <<_ACEOF
34049 /* end confdefs.h. */
34050 $ac_includes_default
34051 int
34052 main ()
34053 {
34054 if ((mode_t *) 0)
34055 return 0;
34056 if (sizeof (mode_t))
34057 return 0;
34058 ;
34059 return 0;
34060 }
34061 _ACEOF
34062 rm -f conftest.$ac_objext
34063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34064 (eval $ac_compile) 2>conftest.er1
34065 ac_status=$?
34066 grep -v '^ *+' conftest.er1 >conftest.err
34067 rm -f conftest.er1
34068 cat conftest.err >&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); } &&
34071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34074 ac_status=$?
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; } &&
34077 { ac_try='test -s conftest.$ac_objext'
34078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34079 (eval $ac_try) 2>&5
34080 ac_status=$?
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); }; }; then
34083 ac_cv_type_mode_t=yes
34084 else
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.$ac_ext >&5
34087
34088 ac_cv_type_mode_t=no
34089 fi
34090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34091 fi
34092 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34093 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34094 if test $ac_cv_type_mode_t = yes; then
34095 :
34096 else
34097
34098 cat >>confdefs.h <<_ACEOF
34099 #define mode_t int
34100 _ACEOF
34101
34102 fi
34103
34104 echo "$as_me:$LINENO: checking for off_t" >&5
34105 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34106 if test "${ac_cv_type_off_t+set}" = set; then
34107 echo $ECHO_N "(cached) $ECHO_C" >&6
34108 else
34109 cat >conftest.$ac_ext <<_ACEOF
34110 /* confdefs.h. */
34111 _ACEOF
34112 cat confdefs.h >>conftest.$ac_ext
34113 cat >>conftest.$ac_ext <<_ACEOF
34114 /* end confdefs.h. */
34115 $ac_includes_default
34116 int
34117 main ()
34118 {
34119 if ((off_t *) 0)
34120 return 0;
34121 if (sizeof (off_t))
34122 return 0;
34123 ;
34124 return 0;
34125 }
34126 _ACEOF
34127 rm -f conftest.$ac_objext
34128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34129 (eval $ac_compile) 2>conftest.er1
34130 ac_status=$?
34131 grep -v '^ *+' conftest.er1 >conftest.err
34132 rm -f conftest.er1
34133 cat conftest.err >&5
34134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34135 (exit $ac_status); } &&
34136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34138 (eval $ac_try) 2>&5
34139 ac_status=$?
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); }; } &&
34142 { ac_try='test -s conftest.$ac_objext'
34143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34144 (eval $ac_try) 2>&5
34145 ac_status=$?
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); }; }; then
34148 ac_cv_type_off_t=yes
34149 else
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.$ac_ext >&5
34152
34153 ac_cv_type_off_t=no
34154 fi
34155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34156 fi
34157 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34158 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34159 if test $ac_cv_type_off_t = yes; then
34160 :
34161 else
34162
34163 cat >>confdefs.h <<_ACEOF
34164 #define off_t long
34165 _ACEOF
34166
34167 fi
34168
34169 echo "$as_me:$LINENO: checking for pid_t" >&5
34170 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34171 if test "${ac_cv_type_pid_t+set}" = set; then
34172 echo $ECHO_N "(cached) $ECHO_C" >&6
34173 else
34174 cat >conftest.$ac_ext <<_ACEOF
34175 /* confdefs.h. */
34176 _ACEOF
34177 cat confdefs.h >>conftest.$ac_ext
34178 cat >>conftest.$ac_ext <<_ACEOF
34179 /* end confdefs.h. */
34180 $ac_includes_default
34181 int
34182 main ()
34183 {
34184 if ((pid_t *) 0)
34185 return 0;
34186 if (sizeof (pid_t))
34187 return 0;
34188 ;
34189 return 0;
34190 }
34191 _ACEOF
34192 rm -f conftest.$ac_objext
34193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34194 (eval $ac_compile) 2>conftest.er1
34195 ac_status=$?
34196 grep -v '^ *+' conftest.er1 >conftest.err
34197 rm -f conftest.er1
34198 cat conftest.err >&5
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); } &&
34201 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34203 (eval $ac_try) 2>&5
34204 ac_status=$?
34205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34206 (exit $ac_status); }; } &&
34207 { ac_try='test -s conftest.$ac_objext'
34208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34209 (eval $ac_try) 2>&5
34210 ac_status=$?
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); }; }; then
34213 ac_cv_type_pid_t=yes
34214 else
34215 echo "$as_me: failed program was:" >&5
34216 sed 's/^/| /' conftest.$ac_ext >&5
34217
34218 ac_cv_type_pid_t=no
34219 fi
34220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34221 fi
34222 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34223 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34224 if test $ac_cv_type_pid_t = yes; then
34225 :
34226 else
34227
34228 cat >>confdefs.h <<_ACEOF
34229 #define pid_t int
34230 _ACEOF
34231
34232 fi
34233
34234 echo "$as_me:$LINENO: checking for size_t" >&5
34235 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34236 if test "${ac_cv_type_size_t+set}" = set; then
34237 echo $ECHO_N "(cached) $ECHO_C" >&6
34238 else
34239 cat >conftest.$ac_ext <<_ACEOF
34240 /* confdefs.h. */
34241 _ACEOF
34242 cat confdefs.h >>conftest.$ac_ext
34243 cat >>conftest.$ac_ext <<_ACEOF
34244 /* end confdefs.h. */
34245 $ac_includes_default
34246 int
34247 main ()
34248 {
34249 if ((size_t *) 0)
34250 return 0;
34251 if (sizeof (size_t))
34252 return 0;
34253 ;
34254 return 0;
34255 }
34256 _ACEOF
34257 rm -f conftest.$ac_objext
34258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34259 (eval $ac_compile) 2>conftest.er1
34260 ac_status=$?
34261 grep -v '^ *+' conftest.er1 >conftest.err
34262 rm -f conftest.er1
34263 cat conftest.err >&5
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); } &&
34266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34268 (eval $ac_try) 2>&5
34269 ac_status=$?
34270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34271 (exit $ac_status); }; } &&
34272 { ac_try='test -s conftest.$ac_objext'
34273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34274 (eval $ac_try) 2>&5
34275 ac_status=$?
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); }; }; then
34278 ac_cv_type_size_t=yes
34279 else
34280 echo "$as_me: failed program was:" >&5
34281 sed 's/^/| /' conftest.$ac_ext >&5
34282
34283 ac_cv_type_size_t=no
34284 fi
34285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34286 fi
34287 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34288 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34289 if test $ac_cv_type_size_t = yes; then
34290 :
34291 else
34292
34293 cat >>confdefs.h <<_ACEOF
34294 #define size_t unsigned
34295 _ACEOF
34296
34297 fi
34298
34299 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34300 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34301 if test "${ac_cv_type_uid_t+set}" = set; then
34302 echo $ECHO_N "(cached) $ECHO_C" >&6
34303 else
34304 cat >conftest.$ac_ext <<_ACEOF
34305 /* confdefs.h. */
34306 _ACEOF
34307 cat confdefs.h >>conftest.$ac_ext
34308 cat >>conftest.$ac_ext <<_ACEOF
34309 /* end confdefs.h. */
34310 #include <sys/types.h>
34311
34312 _ACEOF
34313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34314 $EGREP "uid_t" >/dev/null 2>&1; then
34315 ac_cv_type_uid_t=yes
34316 else
34317 ac_cv_type_uid_t=no
34318 fi
34319 rm -f conftest*
34320
34321 fi
34322 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34323 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34324 if test $ac_cv_type_uid_t = no; then
34325
34326 cat >>confdefs.h <<\_ACEOF
34327 #define uid_t int
34328 _ACEOF
34329
34330
34331 cat >>confdefs.h <<\_ACEOF
34332 #define gid_t int
34333 _ACEOF
34334
34335 fi
34336
34337
34338 echo "$as_me:$LINENO: checking for ssize_t" >&5
34339 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34340 if test "${ac_cv_type_ssize_t+set}" = set; then
34341 echo $ECHO_N "(cached) $ECHO_C" >&6
34342 else
34343 cat >conftest.$ac_ext <<_ACEOF
34344 /* confdefs.h. */
34345 _ACEOF
34346 cat confdefs.h >>conftest.$ac_ext
34347 cat >>conftest.$ac_ext <<_ACEOF
34348 /* end confdefs.h. */
34349 $ac_includes_default
34350 int
34351 main ()
34352 {
34353 if ((ssize_t *) 0)
34354 return 0;
34355 if (sizeof (ssize_t))
34356 return 0;
34357 ;
34358 return 0;
34359 }
34360 _ACEOF
34361 rm -f conftest.$ac_objext
34362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34363 (eval $ac_compile) 2>conftest.er1
34364 ac_status=$?
34365 grep -v '^ *+' conftest.er1 >conftest.err
34366 rm -f conftest.er1
34367 cat conftest.err >&5
34368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34369 (exit $ac_status); } &&
34370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34372 (eval $ac_try) 2>&5
34373 ac_status=$?
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); }; } &&
34376 { ac_try='test -s conftest.$ac_objext'
34377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34378 (eval $ac_try) 2>&5
34379 ac_status=$?
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); }; }; then
34382 ac_cv_type_ssize_t=yes
34383 else
34384 echo "$as_me: failed program was:" >&5
34385 sed 's/^/| /' conftest.$ac_ext >&5
34386
34387 ac_cv_type_ssize_t=no
34388 fi
34389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34390 fi
34391 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34392 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34393 if test $ac_cv_type_ssize_t = yes; then
34394
34395 cat >>confdefs.h <<_ACEOF
34396 #define HAVE_SSIZE_T 1
34397 _ACEOF
34398
34399
34400 fi
34401
34402
34403 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34404 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34405 if test "${wx_cv_size_t_is_uint+set}" = set; then
34406 echo $ECHO_N "(cached) $ECHO_C" >&6
34407 else
34408
34409 cat >conftest.$ac_ext <<_ACEOF
34410 /* confdefs.h. */
34411 _ACEOF
34412 cat confdefs.h >>conftest.$ac_ext
34413 cat >>conftest.$ac_ext <<_ACEOF
34414 /* end confdefs.h. */
34415 #include <stddef.h>
34416 int
34417 main ()
34418 {
34419
34420 return 0; }
34421
34422 struct Foo { void foo(size_t); void foo(unsigned int); };
34423
34424 int bar() {
34425
34426 ;
34427 return 0;
34428 }
34429 _ACEOF
34430 rm -f conftest.$ac_objext
34431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34432 (eval $ac_compile) 2>conftest.er1
34433 ac_status=$?
34434 grep -v '^ *+' conftest.er1 >conftest.err
34435 rm -f conftest.er1
34436 cat conftest.err >&5
34437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34438 (exit $ac_status); } &&
34439 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34441 (eval $ac_try) 2>&5
34442 ac_status=$?
34443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34444 (exit $ac_status); }; } &&
34445 { ac_try='test -s conftest.$ac_objext'
34446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34447 (eval $ac_try) 2>&5
34448 ac_status=$?
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); }; }; then
34451 wx_cv_size_t_is_uint=no
34452 else
34453 echo "$as_me: failed program was:" >&5
34454 sed 's/^/| /' conftest.$ac_ext >&5
34455
34456 wx_cv_size_t_is_uint=yes
34457
34458 fi
34459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34460
34461
34462 fi
34463 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34464 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34465
34466 if test "$wx_cv_size_t_is_uint" = "yes"; then
34467 cat >>confdefs.h <<\_ACEOF
34468 #define wxSIZE_T_IS_UINT 1
34469 _ACEOF
34470
34471 else
34472 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34473 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34474 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34475 echo $ECHO_N "(cached) $ECHO_C" >&6
34476 else
34477 cat >conftest.$ac_ext <<_ACEOF
34478 /* confdefs.h. */
34479 _ACEOF
34480 cat confdefs.h >>conftest.$ac_ext
34481 cat >>conftest.$ac_ext <<_ACEOF
34482 /* end confdefs.h. */
34483 #include <stddef.h>
34484 int
34485 main ()
34486 {
34487
34488 return 0; }
34489
34490 struct Foo { void foo(size_t); void foo(unsigned long); };
34491
34492 int bar() {
34493
34494 ;
34495 return 0;
34496 }
34497 _ACEOF
34498 rm -f conftest.$ac_objext
34499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34500 (eval $ac_compile) 2>conftest.er1
34501 ac_status=$?
34502 grep -v '^ *+' conftest.er1 >conftest.err
34503 rm -f conftest.er1
34504 cat conftest.err >&5
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); } &&
34507 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34509 (eval $ac_try) 2>&5
34510 ac_status=$?
34511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34512 (exit $ac_status); }; } &&
34513 { ac_try='test -s conftest.$ac_objext'
34514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34515 (eval $ac_try) 2>&5
34516 ac_status=$?
34517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34518 (exit $ac_status); }; }; then
34519 wx_cv_size_t_is_ulong=no
34520 else
34521 echo "$as_me: failed program was:" >&5
34522 sed 's/^/| /' conftest.$ac_ext >&5
34523
34524 wx_cv_size_t_is_ulong=yes
34525
34526 fi
34527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34528
34529 fi
34530 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34531 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34532
34533 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34534 cat >>confdefs.h <<\_ACEOF
34535 #define wxSIZE_T_IS_ULONG 1
34536 _ACEOF
34537
34538 fi
34539 fi
34540
34541
34542 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34543 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34544 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34545 echo $ECHO_N "(cached) $ECHO_C" >&6
34546 else
34547
34548 cat >conftest.$ac_ext <<_ACEOF
34549 /* confdefs.h. */
34550 _ACEOF
34551 cat confdefs.h >>conftest.$ac_ext
34552 cat >>conftest.$ac_ext <<_ACEOF
34553 /* end confdefs.h. */
34554 #include <pwd.h>
34555 int
34556 main ()
34557 {
34558
34559 char *p;
34560 struct passwd *pw;
34561 p = pw->pw_gecos;
34562
34563 ;
34564 return 0;
34565 }
34566 _ACEOF
34567 rm -f conftest.$ac_objext
34568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34569 (eval $ac_compile) 2>conftest.er1
34570 ac_status=$?
34571 grep -v '^ *+' conftest.er1 >conftest.err
34572 rm -f conftest.er1
34573 cat conftest.err >&5
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); } &&
34576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34578 (eval $ac_try) 2>&5
34579 ac_status=$?
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); }; } &&
34582 { ac_try='test -s conftest.$ac_objext'
34583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34584 (eval $ac_try) 2>&5
34585 ac_status=$?
34586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34587 (exit $ac_status); }; }; then
34588
34589 wx_cv_struct_pw_gecos=yes
34590
34591 else
34592 echo "$as_me: failed program was:" >&5
34593 sed 's/^/| /' conftest.$ac_ext >&5
34594
34595
34596 wx_cv_struct_pw_gecos=no
34597
34598
34599 fi
34600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34601
34602
34603 fi
34604 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34605 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34606
34607 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34608 cat >>confdefs.h <<\_ACEOF
34609 #define HAVE_PW_GECOS 1
34610 _ACEOF
34611
34612 fi
34613
34614
34615 if test "$wxUSE_WCHAR_T" = "yes"; then
34616 cat >>confdefs.h <<\_ACEOF
34617 #define wxUSE_WCHAR_T 1
34618 _ACEOF
34619
34620
34621 WCSLEN_FOUND=0
34622 WCHAR_LINK=
34623
34624 for ac_func in wcslen
34625 do
34626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34627 echo "$as_me:$LINENO: checking for $ac_func" >&5
34628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34629 if eval "test \"\${$as_ac_var+set}\" = set"; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34631 else
34632 cat >conftest.$ac_ext <<_ACEOF
34633 /* confdefs.h. */
34634 _ACEOF
34635 cat confdefs.h >>conftest.$ac_ext
34636 cat >>conftest.$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34640 #define $ac_func innocuous_$ac_func
34641
34642 /* System header to define __stub macros and hopefully few prototypes,
34643 which can conflict with char $ac_func (); below.
34644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34645 <limits.h> exists even on freestanding compilers. */
34646
34647 #ifdef __STDC__
34648 # include <limits.h>
34649 #else
34650 # include <assert.h>
34651 #endif
34652
34653 #undef $ac_func
34654
34655 /* Override any gcc2 internal prototype to avoid an error. */
34656 #ifdef __cplusplus
34657 extern "C"
34658 {
34659 #endif
34660 /* We use char because int might match the return type of a gcc2
34661 builtin and then its argument prototype would still apply. */
34662 char $ac_func ();
34663 /* The GNU C library defines this for functions which it implements
34664 to always fail with ENOSYS. Some functions are actually named
34665 something starting with __ and the normal name is an alias. */
34666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34667 choke me
34668 #else
34669 char (*f) () = $ac_func;
34670 #endif
34671 #ifdef __cplusplus
34672 }
34673 #endif
34674
34675 int
34676 main ()
34677 {
34678 return f != $ac_func;
34679 ;
34680 return 0;
34681 }
34682 _ACEOF
34683 rm -f conftest.$ac_objext conftest$ac_exeext
34684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34685 (eval $ac_link) 2>conftest.er1
34686 ac_status=$?
34687 grep -v '^ *+' conftest.er1 >conftest.err
34688 rm -f conftest.er1
34689 cat conftest.err >&5
34690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34691 (exit $ac_status); } &&
34692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34694 (eval $ac_try) 2>&5
34695 ac_status=$?
34696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34697 (exit $ac_status); }; } &&
34698 { ac_try='test -s conftest$ac_exeext'
34699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34700 (eval $ac_try) 2>&5
34701 ac_status=$?
34702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34703 (exit $ac_status); }; }; then
34704 eval "$as_ac_var=yes"
34705 else
34706 echo "$as_me: failed program was:" >&5
34707 sed 's/^/| /' conftest.$ac_ext >&5
34708
34709 eval "$as_ac_var=no"
34710 fi
34711 rm -f conftest.err conftest.$ac_objext \
34712 conftest$ac_exeext conftest.$ac_ext
34713 fi
34714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34716 if test `eval echo '${'$as_ac_var'}'` = yes; then
34717 cat >>confdefs.h <<_ACEOF
34718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34719 _ACEOF
34720 WCSLEN_FOUND=1
34721 fi
34722 done
34723
34724
34725 if test "$WCSLEN_FOUND" = 0; then
34726 if test "$TOOLKIT" = "MSW"; then
34727 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34728 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34729 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34730 echo $ECHO_N "(cached) $ECHO_C" >&6
34731 else
34732 ac_check_lib_save_LIBS=$LIBS
34733 LIBS="-lmsvcrt $LIBS"
34734 cat >conftest.$ac_ext <<_ACEOF
34735 /* confdefs.h. */
34736 _ACEOF
34737 cat confdefs.h >>conftest.$ac_ext
34738 cat >>conftest.$ac_ext <<_ACEOF
34739 /* end confdefs.h. */
34740
34741 /* Override any gcc2 internal prototype to avoid an error. */
34742 #ifdef __cplusplus
34743 extern "C"
34744 #endif
34745 /* We use char because int might match the return type of a gcc2
34746 builtin and then its argument prototype would still apply. */
34747 char wcslen ();
34748 int
34749 main ()
34750 {
34751 wcslen ();
34752 ;
34753 return 0;
34754 }
34755 _ACEOF
34756 rm -f conftest.$ac_objext conftest$ac_exeext
34757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34758 (eval $ac_link) 2>conftest.er1
34759 ac_status=$?
34760 grep -v '^ *+' conftest.er1 >conftest.err
34761 rm -f conftest.er1
34762 cat conftest.err >&5
34763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34764 (exit $ac_status); } &&
34765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34767 (eval $ac_try) 2>&5
34768 ac_status=$?
34769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34770 (exit $ac_status); }; } &&
34771 { ac_try='test -s conftest$ac_exeext'
34772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34773 (eval $ac_try) 2>&5
34774 ac_status=$?
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); }; }; then
34777 ac_cv_lib_msvcrt_wcslen=yes
34778 else
34779 echo "$as_me: failed program was:" >&5
34780 sed 's/^/| /' conftest.$ac_ext >&5
34781
34782 ac_cv_lib_msvcrt_wcslen=no
34783 fi
34784 rm -f conftest.err conftest.$ac_objext \
34785 conftest$ac_exeext conftest.$ac_ext
34786 LIBS=$ac_check_lib_save_LIBS
34787 fi
34788 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34789 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34790 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34791 WCHAR_OK=1
34792 fi
34793
34794 else
34795 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34796 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34797 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34798 echo $ECHO_N "(cached) $ECHO_C" >&6
34799 else
34800 ac_check_lib_save_LIBS=$LIBS
34801 LIBS="-lw $LIBS"
34802 cat >conftest.$ac_ext <<_ACEOF
34803 /* confdefs.h. */
34804 _ACEOF
34805 cat confdefs.h >>conftest.$ac_ext
34806 cat >>conftest.$ac_ext <<_ACEOF
34807 /* end confdefs.h. */
34808
34809 /* Override any gcc2 internal prototype to avoid an error. */
34810 #ifdef __cplusplus
34811 extern "C"
34812 #endif
34813 /* We use char because int might match the return type of a gcc2
34814 builtin and then its argument prototype would still apply. */
34815 char wcslen ();
34816 int
34817 main ()
34818 {
34819 wcslen ();
34820 ;
34821 return 0;
34822 }
34823 _ACEOF
34824 rm -f conftest.$ac_objext conftest$ac_exeext
34825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34826 (eval $ac_link) 2>conftest.er1
34827 ac_status=$?
34828 grep -v '^ *+' conftest.er1 >conftest.err
34829 rm -f conftest.er1
34830 cat conftest.err >&5
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); } &&
34833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34835 (eval $ac_try) 2>&5
34836 ac_status=$?
34837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34838 (exit $ac_status); }; } &&
34839 { ac_try='test -s conftest$ac_exeext'
34840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34841 (eval $ac_try) 2>&5
34842 ac_status=$?
34843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34844 (exit $ac_status); }; }; then
34845 ac_cv_lib_w_wcslen=yes
34846 else
34847 echo "$as_me: failed program was:" >&5
34848 sed 's/^/| /' conftest.$ac_ext >&5
34849
34850 ac_cv_lib_w_wcslen=no
34851 fi
34852 rm -f conftest.err conftest.$ac_objext \
34853 conftest$ac_exeext conftest.$ac_ext
34854 LIBS=$ac_check_lib_save_LIBS
34855 fi
34856 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34857 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34858 if test $ac_cv_lib_w_wcslen = yes; then
34859
34860 WCHAR_LINK=" -lw"
34861 WCSLEN_FOUND=1
34862
34863 fi
34864
34865 fi
34866 fi
34867
34868 if test "$WCSLEN_FOUND" = 1; then
34869 cat >>confdefs.h <<\_ACEOF
34870 #define HAVE_WCSLEN 1
34871 _ACEOF
34872
34873 fi
34874
34875 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34876 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34877 fi
34878
34879 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34880 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34881 if test "${ac_cv_type_mbstate_t+set}" = set; then
34882 echo $ECHO_N "(cached) $ECHO_C" >&6
34883 else
34884 cat >conftest.$ac_ext <<_ACEOF
34885 /* confdefs.h. */
34886 _ACEOF
34887 cat confdefs.h >>conftest.$ac_ext
34888 cat >>conftest.$ac_ext <<_ACEOF
34889 /* end confdefs.h. */
34890 #include <wchar.h>
34891
34892 int
34893 main ()
34894 {
34895 if ((mbstate_t *) 0)
34896 return 0;
34897 if (sizeof (mbstate_t))
34898 return 0;
34899 ;
34900 return 0;
34901 }
34902 _ACEOF
34903 rm -f conftest.$ac_objext
34904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34905 (eval $ac_compile) 2>conftest.er1
34906 ac_status=$?
34907 grep -v '^ *+' conftest.er1 >conftest.err
34908 rm -f conftest.er1
34909 cat conftest.err >&5
34910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34911 (exit $ac_status); } &&
34912 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34914 (eval $ac_try) 2>&5
34915 ac_status=$?
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); }; } &&
34918 { ac_try='test -s conftest.$ac_objext'
34919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34920 (eval $ac_try) 2>&5
34921 ac_status=$?
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); }; }; then
34924 ac_cv_type_mbstate_t=yes
34925 else
34926 echo "$as_me: failed program was:" >&5
34927 sed 's/^/| /' conftest.$ac_ext >&5
34928
34929 ac_cv_type_mbstate_t=no
34930 fi
34931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34932 fi
34933 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34934 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34935 if test $ac_cv_type_mbstate_t = yes; then
34936
34937 cat >>confdefs.h <<_ACEOF
34938 #define HAVE_MBSTATE_T 1
34939 _ACEOF
34940
34941
34942 for ac_func in wcsrtombs
34943 do
34944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34945 echo "$as_me:$LINENO: checking for $ac_func" >&5
34946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34947 if eval "test \"\${$as_ac_var+set}\" = set"; then
34948 echo $ECHO_N "(cached) $ECHO_C" >&6
34949 else
34950 cat >conftest.$ac_ext <<_ACEOF
34951 /* confdefs.h. */
34952 _ACEOF
34953 cat confdefs.h >>conftest.$ac_ext
34954 cat >>conftest.$ac_ext <<_ACEOF
34955 /* end confdefs.h. */
34956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34958 #define $ac_func innocuous_$ac_func
34959
34960 /* System header to define __stub macros and hopefully few prototypes,
34961 which can conflict with char $ac_func (); below.
34962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34963 <limits.h> exists even on freestanding compilers. */
34964
34965 #ifdef __STDC__
34966 # include <limits.h>
34967 #else
34968 # include <assert.h>
34969 #endif
34970
34971 #undef $ac_func
34972
34973 /* Override any gcc2 internal prototype to avoid an error. */
34974 #ifdef __cplusplus
34975 extern "C"
34976 {
34977 #endif
34978 /* We use char because int might match the return type of a gcc2
34979 builtin and then its argument prototype would still apply. */
34980 char $ac_func ();
34981 /* The GNU C library defines this for functions which it implements
34982 to always fail with ENOSYS. Some functions are actually named
34983 something starting with __ and the normal name is an alias. */
34984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34985 choke me
34986 #else
34987 char (*f) () = $ac_func;
34988 #endif
34989 #ifdef __cplusplus
34990 }
34991 #endif
34992
34993 int
34994 main ()
34995 {
34996 return f != $ac_func;
34997 ;
34998 return 0;
34999 }
35000 _ACEOF
35001 rm -f conftest.$ac_objext conftest$ac_exeext
35002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35003 (eval $ac_link) 2>conftest.er1
35004 ac_status=$?
35005 grep -v '^ *+' conftest.er1 >conftest.err
35006 rm -f conftest.er1
35007 cat conftest.err >&5
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); } &&
35010 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35012 (eval $ac_try) 2>&5
35013 ac_status=$?
35014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35015 (exit $ac_status); }; } &&
35016 { ac_try='test -s conftest$ac_exeext'
35017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35018 (eval $ac_try) 2>&5
35019 ac_status=$?
35020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35021 (exit $ac_status); }; }; then
35022 eval "$as_ac_var=yes"
35023 else
35024 echo "$as_me: failed program was:" >&5
35025 sed 's/^/| /' conftest.$ac_ext >&5
35026
35027 eval "$as_ac_var=no"
35028 fi
35029 rm -f conftest.err conftest.$ac_objext \
35030 conftest$ac_exeext conftest.$ac_ext
35031 fi
35032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35034 if test `eval echo '${'$as_ac_var'}'` = yes; then
35035 cat >>confdefs.h <<_ACEOF
35036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35037 _ACEOF
35038
35039 fi
35040 done
35041
35042 fi
35043
35044 else
35045 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35046 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35047 fi
35048
35049
35050
35051 for ac_func in snprintf vsnprintf
35052 do
35053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35054 echo "$as_me:$LINENO: checking for $ac_func" >&5
35055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35056 if eval "test \"\${$as_ac_var+set}\" = set"; then
35057 echo $ECHO_N "(cached) $ECHO_C" >&6
35058 else
35059 cat >conftest.$ac_ext <<_ACEOF
35060 /* confdefs.h. */
35061 _ACEOF
35062 cat confdefs.h >>conftest.$ac_ext
35063 cat >>conftest.$ac_ext <<_ACEOF
35064 /* end confdefs.h. */
35065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35067 #define $ac_func innocuous_$ac_func
35068
35069 /* System header to define __stub macros and hopefully few prototypes,
35070 which can conflict with char $ac_func (); below.
35071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35072 <limits.h> exists even on freestanding compilers. */
35073
35074 #ifdef __STDC__
35075 # include <limits.h>
35076 #else
35077 # include <assert.h>
35078 #endif
35079
35080 #undef $ac_func
35081
35082 /* Override any gcc2 internal prototype to avoid an error. */
35083 #ifdef __cplusplus
35084 extern "C"
35085 {
35086 #endif
35087 /* We use char because int might match the return type of a gcc2
35088 builtin and then its argument prototype would still apply. */
35089 char $ac_func ();
35090 /* The GNU C library defines this for functions which it implements
35091 to always fail with ENOSYS. Some functions are actually named
35092 something starting with __ and the normal name is an alias. */
35093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35094 choke me
35095 #else
35096 char (*f) () = $ac_func;
35097 #endif
35098 #ifdef __cplusplus
35099 }
35100 #endif
35101
35102 int
35103 main ()
35104 {
35105 return f != $ac_func;
35106 ;
35107 return 0;
35108 }
35109 _ACEOF
35110 rm -f conftest.$ac_objext conftest$ac_exeext
35111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35112 (eval $ac_link) 2>conftest.er1
35113 ac_status=$?
35114 grep -v '^ *+' conftest.er1 >conftest.err
35115 rm -f conftest.er1
35116 cat conftest.err >&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } &&
35119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35121 (eval $ac_try) 2>&5
35122 ac_status=$?
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); }; } &&
35125 { ac_try='test -s conftest$ac_exeext'
35126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35127 (eval $ac_try) 2>&5
35128 ac_status=$?
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); }; }; then
35131 eval "$as_ac_var=yes"
35132 else
35133 echo "$as_me: failed program was:" >&5
35134 sed 's/^/| /' conftest.$ac_ext >&5
35135
35136 eval "$as_ac_var=no"
35137 fi
35138 rm -f conftest.err conftest.$ac_objext \
35139 conftest$ac_exeext conftest.$ac_ext
35140 fi
35141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35143 if test `eval echo '${'$as_ac_var'}'` = yes; then
35144 cat >>confdefs.h <<_ACEOF
35145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35146 _ACEOF
35147
35148 fi
35149 done
35150
35151
35152 if test "$ac_cv_func_vsnprintf" = "yes"; then
35153 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35154 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35155 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35156 echo $ECHO_N "(cached) $ECHO_C" >&6
35157 else
35158
35159 cat >conftest.$ac_ext <<_ACEOF
35160 /* confdefs.h. */
35161 _ACEOF
35162 cat confdefs.h >>conftest.$ac_ext
35163 cat >>conftest.$ac_ext <<_ACEOF
35164 /* end confdefs.h. */
35165
35166 #include <stdio.h>
35167 #include <stdarg.h>
35168 #ifdef __MSL__
35169 #if __MSL__ >= 0x6000
35170 namespace std {}
35171 using namespace std;
35172 #endif
35173 #endif
35174
35175 int
35176 main ()
35177 {
35178
35179 char *buf;
35180 va_list ap;
35181 vsnprintf(buf, 10u, "%s", ap);
35182
35183 ;
35184 return 0;
35185 }
35186 _ACEOF
35187 rm -f conftest.$ac_objext
35188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35189 (eval $ac_compile) 2>conftest.er1
35190 ac_status=$?
35191 grep -v '^ *+' conftest.er1 >conftest.err
35192 rm -f conftest.er1
35193 cat conftest.err >&5
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); } &&
35196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35198 (eval $ac_try) 2>&5
35199 ac_status=$?
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); }; } &&
35202 { ac_try='test -s conftest.$ac_objext'
35203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35204 (eval $ac_try) 2>&5
35205 ac_status=$?
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; }; then
35208 wx_cv_func_vsnprintf_decl=yes
35209 else
35210 echo "$as_me: failed program was:" >&5
35211 sed 's/^/| /' conftest.$ac_ext >&5
35212
35213 wx_cv_func_vsnprintf_decl=no
35214
35215 fi
35216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35217
35218
35219 fi
35220 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35221 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35222
35223 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35224 cat >>confdefs.h <<\_ACEOF
35225 #define HAVE_VSNPRINTF_DECL 1
35226 _ACEOF
35227
35228
35229 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35230 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35231 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35232 echo $ECHO_N "(cached) $ECHO_C" >&6
35233 else
35234
35235 cat >conftest.$ac_ext <<_ACEOF
35236 /* confdefs.h. */
35237 _ACEOF
35238 cat confdefs.h >>conftest.$ac_ext
35239 cat >>conftest.$ac_ext <<_ACEOF
35240 /* end confdefs.h. */
35241
35242 #include <stdio.h>
35243 #include <stdarg.h>
35244 #ifdef __MSL__
35245 #if __MSL__ >= 0x6000
35246 namespace std {}
35247 using namespace std;
35248 #endif
35249 #endif
35250
35251 int
35252 main ()
35253 {
35254
35255 char *buf;
35256 va_list ap;
35257 const char *fmt = "%s";
35258 vsnprintf(buf, 10u, fmt, ap);
35259
35260 ;
35261 return 0;
35262 }
35263 _ACEOF
35264 rm -f conftest.$ac_objext
35265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35266 (eval $ac_compile) 2>conftest.er1
35267 ac_status=$?
35268 grep -v '^ *+' conftest.er1 >conftest.err
35269 rm -f conftest.er1
35270 cat conftest.err >&5
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); } &&
35273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35275 (eval $ac_try) 2>&5
35276 ac_status=$?
35277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35278 (exit $ac_status); }; } &&
35279 { ac_try='test -s conftest.$ac_objext'
35280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281 (eval $ac_try) 2>&5
35282 ac_status=$?
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); }; }; then
35285 wx_cv_func_broken_vsnprintf_decl=no
35286 else
35287 echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.$ac_ext >&5
35289
35290 wx_cv_func_broken_vsnprintf_decl=yes
35291
35292 fi
35293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35294
35295
35296 fi
35297 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35298 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35299
35300 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35301 cat >>confdefs.h <<\_ACEOF
35302 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35303 _ACEOF
35304
35305 fi
35306 fi
35307 fi
35308
35309 if test "$ac_cv_func_snprintf" = "yes"; then
35310 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35311 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35312 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35313 echo $ECHO_N "(cached) $ECHO_C" >&6
35314 else
35315
35316 cat >conftest.$ac_ext <<_ACEOF
35317 /* confdefs.h. */
35318 _ACEOF
35319 cat confdefs.h >>conftest.$ac_ext
35320 cat >>conftest.$ac_ext <<_ACEOF
35321 /* end confdefs.h. */
35322
35323 #include <stdio.h>
35324 #include <stdarg.h>
35325 #ifdef __MSL__
35326 #if __MSL__ >= 0x6000
35327 namespace std {}
35328 using namespace std;
35329 #endif
35330 #endif
35331
35332 int
35333 main ()
35334 {
35335
35336 char *buf;
35337 snprintf(buf, 10u, "%s", "wx");
35338
35339 ;
35340 return 0;
35341 }
35342 _ACEOF
35343 rm -f conftest.$ac_objext
35344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35345 (eval $ac_compile) 2>conftest.er1
35346 ac_status=$?
35347 grep -v '^ *+' conftest.er1 >conftest.err
35348 rm -f conftest.er1
35349 cat conftest.err >&5
35350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35351 (exit $ac_status); } &&
35352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35354 (eval $ac_try) 2>&5
35355 ac_status=$?
35356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357 (exit $ac_status); }; } &&
35358 { ac_try='test -s conftest.$ac_objext'
35359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35360 (eval $ac_try) 2>&5
35361 ac_status=$?
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); }; }; then
35364 wx_cv_func_snprintf_decl=yes
35365 else
35366 echo "$as_me: failed program was:" >&5
35367 sed 's/^/| /' conftest.$ac_ext >&5
35368
35369 wx_cv_func_snprintf_decl=no
35370
35371 fi
35372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35373
35374
35375 fi
35376 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35377 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35378
35379 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35380 cat >>confdefs.h <<\_ACEOF
35381 #define HAVE_SNPRINTF_DECL 1
35382 _ACEOF
35383
35384
35385 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35386 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35387 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35388 echo $ECHO_N "(cached) $ECHO_C" >&6
35389 else
35390
35391 cat >conftest.$ac_ext <<_ACEOF
35392 /* confdefs.h. */
35393 _ACEOF
35394 cat confdefs.h >>conftest.$ac_ext
35395 cat >>conftest.$ac_ext <<_ACEOF
35396 /* end confdefs.h. */
35397
35398 #include <stdio.h>
35399 #include <stdarg.h>
35400 #ifdef __MSL__
35401 #if __MSL__ >= 0x6000
35402 namespace std {}
35403 using namespace std;
35404 #endif
35405 #endif
35406
35407 int
35408 main ()
35409 {
35410
35411 char *buf;
35412 const char *fmt = "%s";
35413 snprintf(buf, 10u, fmt, "wx");
35414
35415 ;
35416 return 0;
35417 }
35418 _ACEOF
35419 rm -f conftest.$ac_objext
35420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35421 (eval $ac_compile) 2>conftest.er1
35422 ac_status=$?
35423 grep -v '^ *+' conftest.er1 >conftest.err
35424 rm -f conftest.er1
35425 cat conftest.err >&5
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); } &&
35428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35430 (eval $ac_try) 2>&5
35431 ac_status=$?
35432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35433 (exit $ac_status); }; } &&
35434 { ac_try='test -s conftest.$ac_objext'
35435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35436 (eval $ac_try) 2>&5
35437 ac_status=$?
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); }; }; then
35440 wx_cv_func_broken_snprintf_decl=no
35441 else
35442 echo "$as_me: failed program was:" >&5
35443 sed 's/^/| /' conftest.$ac_ext >&5
35444
35445 wx_cv_func_broken_snprintf_decl=yes
35446
35447 fi
35448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35449
35450
35451 fi
35452 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35453 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35454
35455 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35456 cat >>confdefs.h <<\_ACEOF
35457 #define HAVE_BROKEN_SNPRINTF_DECL 1
35458 _ACEOF
35459
35460 fi
35461 fi
35462
35463 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35464
35465 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35466 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35467 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35468 echo $ECHO_N "(cached) $ECHO_C" >&6
35469 else
35470
35471 if test "$cross_compiling" = yes; then
35472
35473 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35474 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35475 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35476 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35477 wx_cv_func_snprintf_pos_params=no
35478
35479
35480 else
35481 cat >conftest.$ac_ext <<_ACEOF
35482 /* confdefs.h. */
35483 _ACEOF
35484 cat confdefs.h >>conftest.$ac_ext
35485 cat >>conftest.$ac_ext <<_ACEOF
35486 /* end confdefs.h. */
35487
35488 #include <stdio.h>
35489
35490 int main (void)
35491 {
35492 char buffer[128];
35493 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35494 if (strcmp ("2 3 1", buffer) == 0)
35495 exit (0);
35496 exit (1);
35497 }
35498
35499 _ACEOF
35500 rm -f conftest$ac_exeext
35501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35502 (eval $ac_link) 2>&5
35503 ac_status=$?
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35507 (eval $ac_try) 2>&5
35508 ac_status=$?
35509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35510 (exit $ac_status); }; }; then
35511 wx_cv_func_snprintf_pos_params=no
35512 else
35513 echo "$as_me: program exited with status $ac_status" >&5
35514 echo "$as_me: failed program was:" >&5
35515 sed 's/^/| /' conftest.$ac_ext >&5
35516
35517 ( exit $ac_status )
35518 wx_cv_func_snprintf_pos_params=yes
35519 fi
35520 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35521 fi
35522
35523
35524 fi
35525 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35526 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35527
35528 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35529 cat >>confdefs.h <<\_ACEOF
35530 #define HAVE_UNIX98_PRINTF 1
35531 _ACEOF
35532
35533 fi
35534 fi
35535 fi
35536
35537 if test "$wxUSE_UNICODE" = yes; then
35538
35539
35540 for ac_func in swprintf
35541 do
35542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35543 echo "$as_me:$LINENO: checking for $ac_func" >&5
35544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35545 if eval "test \"\${$as_ac_var+set}\" = set"; then
35546 echo $ECHO_N "(cached) $ECHO_C" >&6
35547 else
35548 cat >conftest.$ac_ext <<_ACEOF
35549 /* confdefs.h. */
35550 _ACEOF
35551 cat confdefs.h >>conftest.$ac_ext
35552 cat >>conftest.$ac_ext <<_ACEOF
35553 /* end confdefs.h. */
35554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35556 #define $ac_func innocuous_$ac_func
35557
35558 /* System header to define __stub macros and hopefully few prototypes,
35559 which can conflict with char $ac_func (); below.
35560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35561 <limits.h> exists even on freestanding compilers. */
35562
35563 #ifdef __STDC__
35564 # include <limits.h>
35565 #else
35566 # include <assert.h>
35567 #endif
35568
35569 #undef $ac_func
35570
35571 /* Override any gcc2 internal prototype to avoid an error. */
35572 #ifdef __cplusplus
35573 extern "C"
35574 {
35575 #endif
35576 /* We use char because int might match the return type of a gcc2
35577 builtin and then its argument prototype would still apply. */
35578 char $ac_func ();
35579 /* The GNU C library defines this for functions which it implements
35580 to always fail with ENOSYS. Some functions are actually named
35581 something starting with __ and the normal name is an alias. */
35582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35583 choke me
35584 #else
35585 char (*f) () = $ac_func;
35586 #endif
35587 #ifdef __cplusplus
35588 }
35589 #endif
35590
35591 int
35592 main ()
35593 {
35594 return f != $ac_func;
35595 ;
35596 return 0;
35597 }
35598 _ACEOF
35599 rm -f conftest.$ac_objext conftest$ac_exeext
35600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35601 (eval $ac_link) 2>conftest.er1
35602 ac_status=$?
35603 grep -v '^ *+' conftest.er1 >conftest.err
35604 rm -f conftest.er1
35605 cat conftest.err >&5
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); } &&
35608 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35610 (eval $ac_try) 2>&5
35611 ac_status=$?
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); }; } &&
35614 { ac_try='test -s conftest$ac_exeext'
35615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616 (eval $ac_try) 2>&5
35617 ac_status=$?
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); }; }; then
35620 eval "$as_ac_var=yes"
35621 else
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35624
35625 eval "$as_ac_var=no"
35626 fi
35627 rm -f conftest.err conftest.$ac_objext \
35628 conftest$ac_exeext conftest.$ac_ext
35629 fi
35630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35632 if test `eval echo '${'$as_ac_var'}'` = yes; then
35633 cat >>confdefs.h <<_ACEOF
35634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35635 _ACEOF
35636
35637 fi
35638 done
35639
35640
35641 if test "$ac_cv_func_swprintf" = "yes"; then
35642 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35643 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35644 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35645 echo $ECHO_N "(cached) $ECHO_C" >&6
35646 else
35647
35648 cat >conftest.$ac_ext <<_ACEOF
35649 /* confdefs.h. */
35650 _ACEOF
35651 cat confdefs.h >>conftest.$ac_ext
35652 cat >>conftest.$ac_ext <<_ACEOF
35653 /* end confdefs.h. */
35654
35655 #include <stdio.h>
35656 #include <stdarg.h>
35657 #include <wchar.h>
35658
35659 int
35660 main ()
35661 {
35662
35663 wchar_t *buf;
35664 const wchar_t *fmt = L"test";
35665 swprintf(buf, 10u, fmt);
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_broken_swprintf_decl=no
35693 else
35694 echo "$as_me: failed program was:" >&5
35695 sed 's/^/| /' conftest.$ac_ext >&5
35696
35697 wx_cv_func_broken_swprintf_decl=yes
35698
35699 fi
35700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35701
35702
35703 fi
35704 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35705 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35706
35707 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35708 cat >>confdefs.h <<\_ACEOF
35709 #define HAVE_BROKEN_SWPRINTF_DECL 1
35710 _ACEOF
35711
35712 fi
35713 fi
35714
35715
35716
35717
35718
35719
35720
35721 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35722 do
35723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35724 echo "$as_me:$LINENO: checking for $ac_func" >&5
35725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35726 if eval "test \"\${$as_ac_var+set}\" = set"; then
35727 echo $ECHO_N "(cached) $ECHO_C" >&6
35728 else
35729 cat >conftest.$ac_ext <<_ACEOF
35730 /* confdefs.h. */
35731 _ACEOF
35732 cat confdefs.h >>conftest.$ac_ext
35733 cat >>conftest.$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35737 #define $ac_func innocuous_$ac_func
35738
35739 /* System header to define __stub macros and hopefully few prototypes,
35740 which can conflict with char $ac_func (); below.
35741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35742 <limits.h> exists even on freestanding compilers. */
35743
35744 #ifdef __STDC__
35745 # include <limits.h>
35746 #else
35747 # include <assert.h>
35748 #endif
35749
35750 #undef $ac_func
35751
35752 /* Override any gcc2 internal prototype to avoid an error. */
35753 #ifdef __cplusplus
35754 extern "C"
35755 {
35756 #endif
35757 /* We use char because int might match the return type of a gcc2
35758 builtin and then its argument prototype would still apply. */
35759 char $ac_func ();
35760 /* The GNU C library defines this for functions which it implements
35761 to always fail with ENOSYS. Some functions are actually named
35762 something starting with __ and the normal name is an alias. */
35763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35764 choke me
35765 #else
35766 char (*f) () = $ac_func;
35767 #endif
35768 #ifdef __cplusplus
35769 }
35770 #endif
35771
35772 int
35773 main ()
35774 {
35775 return f != $ac_func;
35776 ;
35777 return 0;
35778 }
35779 _ACEOF
35780 rm -f conftest.$ac_objext conftest$ac_exeext
35781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35782 (eval $ac_link) 2>conftest.er1
35783 ac_status=$?
35784 grep -v '^ *+' conftest.er1 >conftest.err
35785 rm -f conftest.er1
35786 cat conftest.err >&5
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); } &&
35789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35791 (eval $ac_try) 2>&5
35792 ac_status=$?
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); }; } &&
35795 { ac_try='test -s conftest$ac_exeext'
35796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35797 (eval $ac_try) 2>&5
35798 ac_status=$?
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); }; }; then
35801 eval "$as_ac_var=yes"
35802 else
35803 echo "$as_me: failed program was:" >&5
35804 sed 's/^/| /' conftest.$ac_ext >&5
35805
35806 eval "$as_ac_var=no"
35807 fi
35808 rm -f conftest.err conftest.$ac_objext \
35809 conftest$ac_exeext conftest.$ac_ext
35810 fi
35811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35813 if test `eval echo '${'$as_ac_var'}'` = yes; then
35814 cat >>confdefs.h <<_ACEOF
35815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35816 _ACEOF
35817
35818 fi
35819 done
35820
35821
35822 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35823 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35824 cat >conftest.$ac_ext <<_ACEOF
35825 /* confdefs.h. */
35826 _ACEOF
35827 cat confdefs.h >>conftest.$ac_ext
35828 cat >>conftest.$ac_ext <<_ACEOF
35829 /* end confdefs.h. */
35830 #include <wchar.h>
35831 int
35832 main ()
35833 {
35834 &_vsnwprintf;
35835 ;
35836 return 0;
35837 }
35838 _ACEOF
35839 rm -f conftest.$ac_objext
35840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35841 (eval $ac_compile) 2>conftest.er1
35842 ac_status=$?
35843 grep -v '^ *+' conftest.er1 >conftest.err
35844 rm -f conftest.er1
35845 cat conftest.err >&5
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); } &&
35848 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35850 (eval $ac_try) 2>&5
35851 ac_status=$?
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); }; } &&
35854 { ac_try='test -s conftest.$ac_objext'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35857 ac_status=$?
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; }; then
35860 echo "$as_me:$LINENO: result: yes" >&5
35861 echo "${ECHO_T}yes" >&6
35862 cat >>confdefs.h <<\_ACEOF
35863 #define HAVE__VSNWPRINTF 1
35864 _ACEOF
35865
35866 else
35867 echo "$as_me: failed program was:" >&5
35868 sed 's/^/| /' conftest.$ac_ext >&5
35869
35870 echo "$as_me:$LINENO: result: no" >&5
35871 echo "${ECHO_T}no" >&6
35872 fi
35873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35874 fi
35875
35876 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35877
35878 for ac_func in fnmatch
35879 do
35880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35881 echo "$as_me:$LINENO: checking for $ac_func" >&5
35882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35883 if eval "test \"\${$as_ac_var+set}\" = set"; then
35884 echo $ECHO_N "(cached) $ECHO_C" >&6
35885 else
35886 cat >conftest.$ac_ext <<_ACEOF
35887 /* confdefs.h. */
35888 _ACEOF
35889 cat confdefs.h >>conftest.$ac_ext
35890 cat >>conftest.$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35894 #define $ac_func innocuous_$ac_func
35895
35896 /* System header to define __stub macros and hopefully few prototypes,
35897 which can conflict with char $ac_func (); below.
35898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35899 <limits.h> exists even on freestanding compilers. */
35900
35901 #ifdef __STDC__
35902 # include <limits.h>
35903 #else
35904 # include <assert.h>
35905 #endif
35906
35907 #undef $ac_func
35908
35909 /* Override any gcc2 internal prototype to avoid an error. */
35910 #ifdef __cplusplus
35911 extern "C"
35912 {
35913 #endif
35914 /* We use char because int might match the return type of a gcc2
35915 builtin and then its argument prototype would still apply. */
35916 char $ac_func ();
35917 /* The GNU C library defines this for functions which it implements
35918 to always fail with ENOSYS. Some functions are actually named
35919 something starting with __ and the normal name is an alias. */
35920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35921 choke me
35922 #else
35923 char (*f) () = $ac_func;
35924 #endif
35925 #ifdef __cplusplus
35926 }
35927 #endif
35928
35929 int
35930 main ()
35931 {
35932 return f != $ac_func;
35933 ;
35934 return 0;
35935 }
35936 _ACEOF
35937 rm -f conftest.$ac_objext conftest$ac_exeext
35938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35939 (eval $ac_link) 2>conftest.er1
35940 ac_status=$?
35941 grep -v '^ *+' conftest.er1 >conftest.err
35942 rm -f conftest.er1
35943 cat conftest.err >&5
35944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35945 (exit $ac_status); } &&
35946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35948 (eval $ac_try) 2>&5
35949 ac_status=$?
35950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35951 (exit $ac_status); }; } &&
35952 { ac_try='test -s conftest$ac_exeext'
35953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35954 (eval $ac_try) 2>&5
35955 ac_status=$?
35956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35957 (exit $ac_status); }; }; then
35958 eval "$as_ac_var=yes"
35959 else
35960 echo "$as_me: failed program was:" >&5
35961 sed 's/^/| /' conftest.$ac_ext >&5
35962
35963 eval "$as_ac_var=no"
35964 fi
35965 rm -f conftest.err conftest.$ac_objext \
35966 conftest$ac_exeext conftest.$ac_ext
35967 fi
35968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35970 if test `eval echo '${'$as_ac_var'}'` = yes; then
35971 cat >>confdefs.h <<_ACEOF
35972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35973 _ACEOF
35974
35975 fi
35976 done
35977
35978 fi
35979
35980 if test "$wxUSE_FILE" = "yes"; then
35981
35982 for ac_func in fsync
35983 do
35984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35985 echo "$as_me:$LINENO: checking for $ac_func" >&5
35986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35987 if eval "test \"\${$as_ac_var+set}\" = set"; then
35988 echo $ECHO_N "(cached) $ECHO_C" >&6
35989 else
35990 cat >conftest.$ac_ext <<_ACEOF
35991 /* confdefs.h. */
35992 _ACEOF
35993 cat confdefs.h >>conftest.$ac_ext
35994 cat >>conftest.$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35998 #define $ac_func innocuous_$ac_func
35999
36000 /* System header to define __stub macros and hopefully few prototypes,
36001 which can conflict with char $ac_func (); below.
36002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36003 <limits.h> exists even on freestanding compilers. */
36004
36005 #ifdef __STDC__
36006 # include <limits.h>
36007 #else
36008 # include <assert.h>
36009 #endif
36010
36011 #undef $ac_func
36012
36013 /* Override any gcc2 internal prototype to avoid an error. */
36014 #ifdef __cplusplus
36015 extern "C"
36016 {
36017 #endif
36018 /* We use char because int might match the return type of a gcc2
36019 builtin and then its argument prototype would still apply. */
36020 char $ac_func ();
36021 /* The GNU C library defines this for functions which it implements
36022 to always fail with ENOSYS. Some functions are actually named
36023 something starting with __ and the normal name is an alias. */
36024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36025 choke me
36026 #else
36027 char (*f) () = $ac_func;
36028 #endif
36029 #ifdef __cplusplus
36030 }
36031 #endif
36032
36033 int
36034 main ()
36035 {
36036 return f != $ac_func;
36037 ;
36038 return 0;
36039 }
36040 _ACEOF
36041 rm -f conftest.$ac_objext conftest$ac_exeext
36042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36043 (eval $ac_link) 2>conftest.er1
36044 ac_status=$?
36045 grep -v '^ *+' conftest.er1 >conftest.err
36046 rm -f conftest.er1
36047 cat conftest.err >&5
36048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36049 (exit $ac_status); } &&
36050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36052 (eval $ac_try) 2>&5
36053 ac_status=$?
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); }; } &&
36056 { ac_try='test -s conftest$ac_exeext'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36059 ac_status=$?
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; }; then
36062 eval "$as_ac_var=yes"
36063 else
36064 echo "$as_me: failed program was:" >&5
36065 sed 's/^/| /' conftest.$ac_ext >&5
36066
36067 eval "$as_ac_var=no"
36068 fi
36069 rm -f conftest.err conftest.$ac_objext \
36070 conftest$ac_exeext conftest.$ac_ext
36071 fi
36072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36074 if test `eval echo '${'$as_ac_var'}'` = yes; then
36075 cat >>confdefs.h <<_ACEOF
36076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36077 _ACEOF
36078
36079 fi
36080 done
36081
36082 fi
36083
36084
36085 for ac_func in round
36086 do
36087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36088 echo "$as_me:$LINENO: checking for $ac_func" >&5
36089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36090 if eval "test \"\${$as_ac_var+set}\" = set"; then
36091 echo $ECHO_N "(cached) $ECHO_C" >&6
36092 else
36093 cat >conftest.$ac_ext <<_ACEOF
36094 /* confdefs.h. */
36095 _ACEOF
36096 cat confdefs.h >>conftest.$ac_ext
36097 cat >>conftest.$ac_ext <<_ACEOF
36098 /* end confdefs.h. */
36099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36101 #define $ac_func innocuous_$ac_func
36102
36103 /* System header to define __stub macros and hopefully few prototypes,
36104 which can conflict with char $ac_func (); below.
36105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36106 <limits.h> exists even on freestanding compilers. */
36107
36108 #ifdef __STDC__
36109 # include <limits.h>
36110 #else
36111 # include <assert.h>
36112 #endif
36113
36114 #undef $ac_func
36115
36116 /* Override any gcc2 internal prototype to avoid an error. */
36117 #ifdef __cplusplus
36118 extern "C"
36119 {
36120 #endif
36121 /* We use char because int might match the return type of a gcc2
36122 builtin and then its argument prototype would still apply. */
36123 char $ac_func ();
36124 /* The GNU C library defines this for functions which it implements
36125 to always fail with ENOSYS. Some functions are actually named
36126 something starting with __ and the normal name is an alias. */
36127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36128 choke me
36129 #else
36130 char (*f) () = $ac_func;
36131 #endif
36132 #ifdef __cplusplus
36133 }
36134 #endif
36135
36136 int
36137 main ()
36138 {
36139 return f != $ac_func;
36140 ;
36141 return 0;
36142 }
36143 _ACEOF
36144 rm -f conftest.$ac_objext conftest$ac_exeext
36145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36146 (eval $ac_link) 2>conftest.er1
36147 ac_status=$?
36148 grep -v '^ *+' conftest.er1 >conftest.err
36149 rm -f conftest.er1
36150 cat conftest.err >&5
36151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36152 (exit $ac_status); } &&
36153 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36155 (eval $ac_try) 2>&5
36156 ac_status=$?
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); }; } &&
36159 { ac_try='test -s conftest$ac_exeext'
36160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36161 (eval $ac_try) 2>&5
36162 ac_status=$?
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); }; }; then
36165 eval "$as_ac_var=yes"
36166 else
36167 echo "$as_me: failed program was:" >&5
36168 sed 's/^/| /' conftest.$ac_ext >&5
36169
36170 eval "$as_ac_var=no"
36171 fi
36172 rm -f conftest.err conftest.$ac_objext \
36173 conftest$ac_exeext conftest.$ac_ext
36174 fi
36175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36177 if test `eval echo '${'$as_ac_var'}'` = yes; then
36178 cat >>confdefs.h <<_ACEOF
36179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36180 _ACEOF
36181
36182 fi
36183 done
36184
36185 if test "$ac_cv_func_round" = yes; then
36186 echo "$as_me:$LINENO: checking whether round is declared" >&5
36187 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36188 if test "${ac_cv_have_decl_round+set}" = set; then
36189 echo $ECHO_N "(cached) $ECHO_C" >&6
36190 else
36191 cat >conftest.$ac_ext <<_ACEOF
36192 /* confdefs.h. */
36193 _ACEOF
36194 cat confdefs.h >>conftest.$ac_ext
36195 cat >>conftest.$ac_ext <<_ACEOF
36196 /* end confdefs.h. */
36197 #include <math.h>
36198
36199 int
36200 main ()
36201 {
36202 #ifndef round
36203 char *p = (char *) round;
36204 #endif
36205
36206 ;
36207 return 0;
36208 }
36209 _ACEOF
36210 rm -f conftest.$ac_objext
36211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36212 (eval $ac_compile) 2>conftest.er1
36213 ac_status=$?
36214 grep -v '^ *+' conftest.er1 >conftest.err
36215 rm -f conftest.er1
36216 cat conftest.err >&5
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); } &&
36219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36221 (eval $ac_try) 2>&5
36222 ac_status=$?
36223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36224 (exit $ac_status); }; } &&
36225 { ac_try='test -s conftest.$ac_objext'
36226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36227 (eval $ac_try) 2>&5
36228 ac_status=$?
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); }; }; then
36231 ac_cv_have_decl_round=yes
36232 else
36233 echo "$as_me: failed program was:" >&5
36234 sed 's/^/| /' conftest.$ac_ext >&5
36235
36236 ac_cv_have_decl_round=no
36237 fi
36238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36239 fi
36240 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36241 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36242 if test $ac_cv_have_decl_round = yes; then
36243
36244 cat >>confdefs.h <<_ACEOF
36245 #define HAVE_DECL_ROUND 1
36246 _ACEOF
36247
36248
36249 else
36250 cat >>confdefs.h <<_ACEOF
36251 #define HAVE_DECL_ROUND 0
36252 _ACEOF
36253
36254
36255 fi
36256
36257
36258 fi
36259
36260
36261 if test "$TOOLKIT" != "MSW"; then
36262
36263
36264
36265
36266
36267 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36268 if test "${with_libiconv_prefix+set}" = set; then
36269 withval="$with_libiconv_prefix"
36270
36271 for dir in `echo "$withval" | tr : ' '`; do
36272 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36273 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36274 done
36275
36276 fi;
36277
36278 echo "$as_me:$LINENO: checking for iconv" >&5
36279 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36280 if test "${am_cv_func_iconv+set}" = set; then
36281 echo $ECHO_N "(cached) $ECHO_C" >&6
36282 else
36283
36284 am_cv_func_iconv="no, consider installing GNU libiconv"
36285 am_cv_lib_iconv=no
36286 cat >conftest.$ac_ext <<_ACEOF
36287 /* confdefs.h. */
36288 _ACEOF
36289 cat confdefs.h >>conftest.$ac_ext
36290 cat >>conftest.$ac_ext <<_ACEOF
36291 /* end confdefs.h. */
36292 #include <stdlib.h>
36293 #include <iconv.h>
36294 int
36295 main ()
36296 {
36297 iconv_t cd = iconv_open("","");
36298 iconv(cd,NULL,NULL,NULL,NULL);
36299 iconv_close(cd);
36300 ;
36301 return 0;
36302 }
36303 _ACEOF
36304 rm -f conftest.$ac_objext conftest$ac_exeext
36305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36306 (eval $ac_link) 2>conftest.er1
36307 ac_status=$?
36308 grep -v '^ *+' conftest.er1 >conftest.err
36309 rm -f conftest.er1
36310 cat conftest.err >&5
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); } &&
36313 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36316 ac_status=$?
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; } &&
36319 { ac_try='test -s conftest$ac_exeext'
36320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36321 (eval $ac_try) 2>&5
36322 ac_status=$?
36323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324 (exit $ac_status); }; }; then
36325 am_cv_func_iconv=yes
36326 else
36327 echo "$as_me: failed program was:" >&5
36328 sed 's/^/| /' conftest.$ac_ext >&5
36329
36330 fi
36331 rm -f conftest.err conftest.$ac_objext \
36332 conftest$ac_exeext conftest.$ac_ext
36333 if test "$am_cv_func_iconv" != yes; then
36334 am_save_LIBS="$LIBS"
36335 LIBS="$LIBS -liconv"
36336 cat >conftest.$ac_ext <<_ACEOF
36337 /* confdefs.h. */
36338 _ACEOF
36339 cat confdefs.h >>conftest.$ac_ext
36340 cat >>conftest.$ac_ext <<_ACEOF
36341 /* end confdefs.h. */
36342 #include <stdlib.h>
36343 #include <iconv.h>
36344 int
36345 main ()
36346 {
36347 iconv_t cd = iconv_open("","");
36348 iconv(cd,NULL,NULL,NULL,NULL);
36349 iconv_close(cd);
36350 ;
36351 return 0;
36352 }
36353 _ACEOF
36354 rm -f conftest.$ac_objext conftest$ac_exeext
36355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36356 (eval $ac_link) 2>conftest.er1
36357 ac_status=$?
36358 grep -v '^ *+' conftest.er1 >conftest.err
36359 rm -f conftest.er1
36360 cat conftest.err >&5
36361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36362 (exit $ac_status); } &&
36363 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36365 (eval $ac_try) 2>&5
36366 ac_status=$?
36367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36368 (exit $ac_status); }; } &&
36369 { ac_try='test -s conftest$ac_exeext'
36370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36371 (eval $ac_try) 2>&5
36372 ac_status=$?
36373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36374 (exit $ac_status); }; }; then
36375 am_cv_lib_iconv=yes
36376 am_cv_func_iconv=yes
36377 else
36378 echo "$as_me: failed program was:" >&5
36379 sed 's/^/| /' conftest.$ac_ext >&5
36380
36381 fi
36382 rm -f conftest.err conftest.$ac_objext \
36383 conftest$ac_exeext conftest.$ac_ext
36384 LIBS="$am_save_LIBS"
36385 fi
36386
36387 fi
36388 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36389 echo "${ECHO_T}$am_cv_func_iconv" >&6
36390 if test "$am_cv_func_iconv" = yes; then
36391
36392 cat >>confdefs.h <<\_ACEOF
36393 #define HAVE_ICONV 1
36394 _ACEOF
36395
36396 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36397 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36398 if test "${wx_cv_func_iconv_const+set}" = set; then
36399 echo $ECHO_N "(cached) $ECHO_C" >&6
36400 else
36401 cat >conftest.$ac_ext <<_ACEOF
36402 /* confdefs.h. */
36403 _ACEOF
36404 cat confdefs.h >>conftest.$ac_ext
36405 cat >>conftest.$ac_ext <<_ACEOF
36406 /* end confdefs.h. */
36407
36408 #include <stdlib.h>
36409 #include <iconv.h>
36410 extern
36411 #ifdef __cplusplus
36412 "C"
36413 #endif
36414 #if defined(__STDC__) || defined(__cplusplus)
36415 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36416 #else
36417 size_t iconv();
36418 #endif
36419
36420 int
36421 main ()
36422 {
36423
36424 ;
36425 return 0;
36426 }
36427 _ACEOF
36428 rm -f conftest.$ac_objext
36429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36430 (eval $ac_compile) 2>conftest.er1
36431 ac_status=$?
36432 grep -v '^ *+' conftest.er1 >conftest.err
36433 rm -f conftest.er1
36434 cat conftest.err >&5
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); } &&
36437 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36439 (eval $ac_try) 2>&5
36440 ac_status=$?
36441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36442 (exit $ac_status); }; } &&
36443 { ac_try='test -s conftest.$ac_objext'
36444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36445 (eval $ac_try) 2>&5
36446 ac_status=$?
36447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36448 (exit $ac_status); }; }; then
36449 wx_cv_func_iconv_const="no"
36450 else
36451 echo "$as_me: failed program was:" >&5
36452 sed 's/^/| /' conftest.$ac_ext >&5
36453
36454 wx_cv_func_iconv_const="yes"
36455
36456 fi
36457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36458
36459 fi
36460 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36461 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36462
36463 iconv_const=
36464 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36465 iconv_const="const"
36466 fi
36467
36468
36469 cat >>confdefs.h <<_ACEOF
36470 #define ICONV_CONST $iconv_const
36471 _ACEOF
36472
36473 fi
36474 LIBICONV=
36475 if test "$am_cv_lib_iconv" = yes; then
36476 LIBICONV="-liconv"
36477 fi
36478
36479
36480 LIBS="$LIBICONV $LIBS"
36481
36482 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36483
36484 for ac_func in sigaction
36485 do
36486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36487 echo "$as_me:$LINENO: checking for $ac_func" >&5
36488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36489 if eval "test \"\${$as_ac_var+set}\" = set"; then
36490 echo $ECHO_N "(cached) $ECHO_C" >&6
36491 else
36492 cat >conftest.$ac_ext <<_ACEOF
36493 /* confdefs.h. */
36494 _ACEOF
36495 cat confdefs.h >>conftest.$ac_ext
36496 cat >>conftest.$ac_ext <<_ACEOF
36497 /* end confdefs.h. */
36498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36500 #define $ac_func innocuous_$ac_func
36501
36502 /* System header to define __stub macros and hopefully few prototypes,
36503 which can conflict with char $ac_func (); below.
36504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36505 <limits.h> exists even on freestanding compilers. */
36506
36507 #ifdef __STDC__
36508 # include <limits.h>
36509 #else
36510 # include <assert.h>
36511 #endif
36512
36513 #undef $ac_func
36514
36515 /* Override any gcc2 internal prototype to avoid an error. */
36516 #ifdef __cplusplus
36517 extern "C"
36518 {
36519 #endif
36520 /* We use char because int might match the return type of a gcc2
36521 builtin and then its argument prototype would still apply. */
36522 char $ac_func ();
36523 /* The GNU C library defines this for functions which it implements
36524 to always fail with ENOSYS. Some functions are actually named
36525 something starting with __ and the normal name is an alias. */
36526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36527 choke me
36528 #else
36529 char (*f) () = $ac_func;
36530 #endif
36531 #ifdef __cplusplus
36532 }
36533 #endif
36534
36535 int
36536 main ()
36537 {
36538 return f != $ac_func;
36539 ;
36540 return 0;
36541 }
36542 _ACEOF
36543 rm -f conftest.$ac_objext conftest$ac_exeext
36544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36545 (eval $ac_link) 2>conftest.er1
36546 ac_status=$?
36547 grep -v '^ *+' conftest.er1 >conftest.err
36548 rm -f conftest.er1
36549 cat conftest.err >&5
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); } &&
36552 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36554 (eval $ac_try) 2>&5
36555 ac_status=$?
36556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36557 (exit $ac_status); }; } &&
36558 { ac_try='test -s conftest$ac_exeext'
36559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36560 (eval $ac_try) 2>&5
36561 ac_status=$?
36562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36563 (exit $ac_status); }; }; then
36564 eval "$as_ac_var=yes"
36565 else
36566 echo "$as_me: failed program was:" >&5
36567 sed 's/^/| /' conftest.$ac_ext >&5
36568
36569 eval "$as_ac_var=no"
36570 fi
36571 rm -f conftest.err conftest.$ac_objext \
36572 conftest$ac_exeext conftest.$ac_ext
36573 fi
36574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36576 if test `eval echo '${'$as_ac_var'}'` = yes; then
36577 cat >>confdefs.h <<_ACEOF
36578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36579 _ACEOF
36580
36581 fi
36582 done
36583
36584
36585 if test "$ac_cv_func_sigaction" = "no"; then
36586 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36587 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36588 wxUSE_ON_FATAL_EXCEPTION=no
36589 fi
36590
36591 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36592 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36593 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36594 if test "${wx_cv_type_sa_handler+set}" = set; then
36595 echo $ECHO_N "(cached) $ECHO_C" >&6
36596 else
36597
36598 cat >conftest.$ac_ext <<_ACEOF
36599 /* confdefs.h. */
36600 _ACEOF
36601 cat confdefs.h >>conftest.$ac_ext
36602 cat >>conftest.$ac_ext <<_ACEOF
36603 /* end confdefs.h. */
36604 #include <signal.h>
36605 int
36606 main ()
36607 {
36608
36609 extern void testSigHandler(int);
36610
36611 struct sigaction sa;
36612 sa.sa_handler = testSigHandler;
36613
36614 ;
36615 return 0;
36616 }
36617 _ACEOF
36618 rm -f conftest.$ac_objext
36619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36620 (eval $ac_compile) 2>conftest.er1
36621 ac_status=$?
36622 grep -v '^ *+' conftest.er1 >conftest.err
36623 rm -f conftest.er1
36624 cat conftest.err >&5
36625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36626 (exit $ac_status); } &&
36627 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36629 (eval $ac_try) 2>&5
36630 ac_status=$?
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); }; } &&
36633 { ac_try='test -s conftest.$ac_objext'
36634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36635 (eval $ac_try) 2>&5
36636 ac_status=$?
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); }; }; then
36639
36640 wx_cv_type_sa_handler=int
36641
36642 else
36643 echo "$as_me: failed program was:" >&5
36644 sed 's/^/| /' conftest.$ac_ext >&5
36645
36646
36647 wx_cv_type_sa_handler=void
36648
36649 fi
36650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36651
36652 fi
36653 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36654 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36655
36656 cat >>confdefs.h <<_ACEOF
36657 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36658 _ACEOF
36659
36660 fi
36661 fi
36662
36663 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36664 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36665 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36666 if test "${wx_cv_func_backtrace+set}" = set; then
36667 echo $ECHO_N "(cached) $ECHO_C" >&6
36668 else
36669
36670 cat >conftest.$ac_ext <<_ACEOF
36671 /* confdefs.h. */
36672 _ACEOF
36673 cat confdefs.h >>conftest.$ac_ext
36674 cat >>conftest.$ac_ext <<_ACEOF
36675 /* end confdefs.h. */
36676 #include <execinfo.h>
36677 int
36678 main ()
36679 {
36680
36681 void *trace[1];
36682 char **messages;
36683
36684 backtrace(trace, 1);
36685 messages = backtrace_symbols(trace, 1);
36686
36687 ;
36688 return 0;
36689 }
36690 _ACEOF
36691 rm -f conftest.$ac_objext
36692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36693 (eval $ac_compile) 2>conftest.er1
36694 ac_status=$?
36695 grep -v '^ *+' conftest.er1 >conftest.err
36696 rm -f conftest.er1
36697 cat conftest.err >&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); } &&
36700 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36702 (eval $ac_try) 2>&5
36703 ac_status=$?
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); }; } &&
36706 { ac_try='test -s conftest.$ac_objext'
36707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36708 (eval $ac_try) 2>&5
36709 ac_status=$?
36710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36711 (exit $ac_status); }; }; then
36712 wx_cv_func_backtrace=yes
36713 else
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.$ac_ext >&5
36716
36717 wx_cv_func_backtrace=no
36718
36719 fi
36720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36721
36722
36723 fi
36724 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36725 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36726
36727
36728 if test "$wx_cv_func_backtrace" = "no"; then
36729 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36730 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36731 wxUSE_STACKWALKER=no
36732 else
36733 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36734 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36735 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36736 echo $ECHO_N "(cached) $ECHO_C" >&6
36737 else
36738
36739 cat >conftest.$ac_ext <<_ACEOF
36740 /* confdefs.h. */
36741 _ACEOF
36742 cat confdefs.h >>conftest.$ac_ext
36743 cat >>conftest.$ac_ext <<_ACEOF
36744 /* end confdefs.h. */
36745 #include <cxxabi.h>
36746 int
36747 main ()
36748 {
36749
36750 int rc;
36751 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36752
36753 ;
36754 return 0;
36755 }
36756 _ACEOF
36757 rm -f conftest.$ac_objext conftest$ac_exeext
36758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36759 (eval $ac_link) 2>conftest.er1
36760 ac_status=$?
36761 grep -v '^ *+' conftest.er1 >conftest.err
36762 rm -f conftest.er1
36763 cat conftest.err >&5
36764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36765 (exit $ac_status); } &&
36766 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
36772 { ac_try='test -s conftest$ac_exeext'
36773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36774 (eval $ac_try) 2>&5
36775 ac_status=$?
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); }; }; then
36778 wx_cv_func_cxa_demangle=yes
36779 else
36780 echo "$as_me: failed program was:" >&5
36781 sed 's/^/| /' conftest.$ac_ext >&5
36782
36783 wx_cv_func_cxa_demangle=no
36784
36785 fi
36786 rm -f conftest.err conftest.$ac_objext \
36787 conftest$ac_exeext conftest.$ac_ext
36788
36789
36790 fi
36791 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36792 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36793
36794 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36795 cat >>confdefs.h <<\_ACEOF
36796 #define HAVE_CXA_DEMANGLE 1
36797 _ACEOF
36798
36799 fi
36800 fi
36801 fi
36802
36803 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36804 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36805 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36806 wxUSE_STACKWALKER=no
36807 fi
36808
36809
36810
36811
36812 for ac_func in mkstemp mktemp
36813 do
36814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36815 echo "$as_me:$LINENO: checking for $ac_func" >&5
36816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36817 if eval "test \"\${$as_ac_var+set}\" = set"; then
36818 echo $ECHO_N "(cached) $ECHO_C" >&6
36819 else
36820 cat >conftest.$ac_ext <<_ACEOF
36821 /* confdefs.h. */
36822 _ACEOF
36823 cat confdefs.h >>conftest.$ac_ext
36824 cat >>conftest.$ac_ext <<_ACEOF
36825 /* end confdefs.h. */
36826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36828 #define $ac_func innocuous_$ac_func
36829
36830 /* System header to define __stub macros and hopefully few prototypes,
36831 which can conflict with char $ac_func (); below.
36832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36833 <limits.h> exists even on freestanding compilers. */
36834
36835 #ifdef __STDC__
36836 # include <limits.h>
36837 #else
36838 # include <assert.h>
36839 #endif
36840
36841 #undef $ac_func
36842
36843 /* Override any gcc2 internal prototype to avoid an error. */
36844 #ifdef __cplusplus
36845 extern "C"
36846 {
36847 #endif
36848 /* We use char because int might match the return type of a gcc2
36849 builtin and then its argument prototype would still apply. */
36850 char $ac_func ();
36851 /* The GNU C library defines this for functions which it implements
36852 to always fail with ENOSYS. Some functions are actually named
36853 something starting with __ and the normal name is an alias. */
36854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36855 choke me
36856 #else
36857 char (*f) () = $ac_func;
36858 #endif
36859 #ifdef __cplusplus
36860 }
36861 #endif
36862
36863 int
36864 main ()
36865 {
36866 return f != $ac_func;
36867 ;
36868 return 0;
36869 }
36870 _ACEOF
36871 rm -f conftest.$ac_objext conftest$ac_exeext
36872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36873 (eval $ac_link) 2>conftest.er1
36874 ac_status=$?
36875 grep -v '^ *+' conftest.er1 >conftest.err
36876 rm -f conftest.er1
36877 cat conftest.err >&5
36878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 (exit $ac_status); } &&
36880 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36882 (eval $ac_try) 2>&5
36883 ac_status=$?
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); }; } &&
36886 { ac_try='test -s conftest$ac_exeext'
36887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36888 (eval $ac_try) 2>&5
36889 ac_status=$?
36890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36891 (exit $ac_status); }; }; then
36892 eval "$as_ac_var=yes"
36893 else
36894 echo "$as_me: failed program was:" >&5
36895 sed 's/^/| /' conftest.$ac_ext >&5
36896
36897 eval "$as_ac_var=no"
36898 fi
36899 rm -f conftest.err conftest.$ac_objext \
36900 conftest$ac_exeext conftest.$ac_ext
36901 fi
36902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36904 if test `eval echo '${'$as_ac_var'}'` = yes; then
36905 cat >>confdefs.h <<_ACEOF
36906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36907 _ACEOF
36908 break
36909 fi
36910 done
36911
36912
36913 echo "$as_me:$LINENO: checking for statfs" >&5
36914 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36915 if test "${wx_cv_func_statfs+set}" = set; then
36916 echo $ECHO_N "(cached) $ECHO_C" >&6
36917 else
36918 cat >conftest.$ac_ext <<_ACEOF
36919 /* confdefs.h. */
36920 _ACEOF
36921 cat confdefs.h >>conftest.$ac_ext
36922 cat >>conftest.$ac_ext <<_ACEOF
36923 /* end confdefs.h. */
36924
36925 #if defined(__BSD__)
36926 #include <sys/param.h>
36927 #include <sys/mount.h>
36928 #else
36929 #include <sys/vfs.h>
36930 #endif
36931
36932 int
36933 main ()
36934 {
36935
36936 long l;
36937 struct statfs fs;
36938 statfs("/", &fs);
36939 l = fs.f_bsize;
36940 l += fs.f_blocks;
36941 l += fs.f_bavail;
36942
36943 ;
36944 return 0;
36945 }
36946 _ACEOF
36947 rm -f conftest.$ac_objext
36948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36949 (eval $ac_compile) 2>conftest.er1
36950 ac_status=$?
36951 grep -v '^ *+' conftest.er1 >conftest.err
36952 rm -f conftest.er1
36953 cat conftest.err >&5
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); } &&
36956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958 (eval $ac_try) 2>&5
36959 ac_status=$?
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); }; } &&
36962 { ac_try='test -s conftest.$ac_objext'
36963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36964 (eval $ac_try) 2>&5
36965 ac_status=$?
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); }; }; then
36968 wx_cv_func_statfs=yes
36969 else
36970 echo "$as_me: failed program was:" >&5
36971 sed 's/^/| /' conftest.$ac_ext >&5
36972
36973 wx_cv_func_statfs=no
36974
36975 fi
36976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36977
36978 fi
36979 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36980 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36981
36982 if test "$wx_cv_func_statfs" = "yes"; then
36983 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36984 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36985 if test "${wx_cv_func_statfs_decl+set}" = set; then
36986 echo $ECHO_N "(cached) $ECHO_C" >&6
36987 else
36988 cat >conftest.$ac_ext <<_ACEOF
36989 /* confdefs.h. */
36990 _ACEOF
36991 cat confdefs.h >>conftest.$ac_ext
36992 cat >>conftest.$ac_ext <<_ACEOF
36993 /* end confdefs.h. */
36994
36995 #if defined(__BSD__)
36996 #include <sys/param.h>
36997 #include <sys/mount.h>
36998 #else
36999 #include <sys/vfs.h>
37000 #endif
37001
37002 int
37003 main ()
37004 {
37005
37006 struct statfs fs;
37007 statfs("", &fs);
37008
37009 ;
37010 return 0;
37011 }
37012 _ACEOF
37013 rm -f conftest.$ac_objext
37014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37015 (eval $ac_compile) 2>conftest.er1
37016 ac_status=$?
37017 grep -v '^ *+' conftest.er1 >conftest.err
37018 rm -f conftest.er1
37019 cat conftest.err >&5
37020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021 (exit $ac_status); } &&
37022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
37028 { ac_try='test -s conftest.$ac_objext'
37029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37030 (eval $ac_try) 2>&5
37031 ac_status=$?
37032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37033 (exit $ac_status); }; }; then
37034 wx_cv_func_statfs_decl=yes
37035 else
37036 echo "$as_me: failed program was:" >&5
37037 sed 's/^/| /' conftest.$ac_ext >&5
37038
37039 wx_cv_func_statfs_decl=no
37040
37041 fi
37042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37043
37044 fi
37045 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37046 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37047
37048 if test "$wx_cv_func_statfs_decl" = "yes"; then
37049 cat >>confdefs.h <<\_ACEOF
37050 #define HAVE_STATFS_DECL 1
37051 _ACEOF
37052
37053 fi
37054
37055 wx_cv_type_statvfs_t="struct statfs"
37056 cat >>confdefs.h <<\_ACEOF
37057 #define HAVE_STATFS 1
37058 _ACEOF
37059
37060 else
37061 echo "$as_me:$LINENO: checking for statvfs" >&5
37062 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37063 if test "${wx_cv_func_statvfs+set}" = set; then
37064 echo $ECHO_N "(cached) $ECHO_C" >&6
37065 else
37066 cat >conftest.$ac_ext <<_ACEOF
37067 /* confdefs.h. */
37068 _ACEOF
37069 cat confdefs.h >>conftest.$ac_ext
37070 cat >>conftest.$ac_ext <<_ACEOF
37071 /* end confdefs.h. */
37072
37073 #include <stddef.h>
37074 #include <sys/statvfs.h>
37075
37076 int
37077 main ()
37078 {
37079
37080 statvfs("/", NULL);
37081
37082 ;
37083 return 0;
37084 }
37085 _ACEOF
37086 rm -f conftest.$ac_objext
37087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37088 (eval $ac_compile) 2>conftest.er1
37089 ac_status=$?
37090 grep -v '^ *+' conftest.er1 >conftest.err
37091 rm -f conftest.er1
37092 cat conftest.err >&5
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); } &&
37095 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37097 (eval $ac_try) 2>&5
37098 ac_status=$?
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); }; } &&
37101 { ac_try='test -s conftest.$ac_objext'
37102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37103 (eval $ac_try) 2>&5
37104 ac_status=$?
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); }; }; then
37107 wx_cv_func_statvfs=yes
37108 else
37109 echo "$as_me: failed program was:" >&5
37110 sed 's/^/| /' conftest.$ac_ext >&5
37111
37112 wx_cv_func_statvfs=no
37113
37114 fi
37115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37116
37117 fi
37118 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37119 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37120
37121 if test "$wx_cv_func_statvfs" = "yes"; then
37122 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37123 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37124 if test "${wx_cv_type_statvfs_t+set}" = set; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 else
37127 cat >conftest.$ac_ext <<_ACEOF
37128 /* confdefs.h. */
37129 _ACEOF
37130 cat confdefs.h >>conftest.$ac_ext
37131 cat >>conftest.$ac_ext <<_ACEOF
37132 /* end confdefs.h. */
37133
37134 #include <sys/statvfs.h>
37135
37136 int
37137 main ()
37138 {
37139
37140 long l;
37141 statvfs_t fs;
37142 statvfs("/", &fs);
37143 l = fs.f_bsize;
37144 l += fs.f_blocks;
37145 l += fs.f_bavail;
37146
37147 ;
37148 return 0;
37149 }
37150 _ACEOF
37151 rm -f conftest.$ac_objext
37152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37153 (eval $ac_compile) 2>conftest.er1
37154 ac_status=$?
37155 grep -v '^ *+' conftest.er1 >conftest.err
37156 rm -f conftest.er1
37157 cat conftest.err >&5
37158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159 (exit $ac_status); } &&
37160 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37162 (eval $ac_try) 2>&5
37163 ac_status=$?
37164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37165 (exit $ac_status); }; } &&
37166 { ac_try='test -s conftest.$ac_objext'
37167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37168 (eval $ac_try) 2>&5
37169 ac_status=$?
37170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37171 (exit $ac_status); }; }; then
37172 wx_cv_type_statvfs_t=statvfs_t
37173 else
37174 echo "$as_me: failed program was:" >&5
37175 sed 's/^/| /' conftest.$ac_ext >&5
37176
37177
37178 cat >conftest.$ac_ext <<_ACEOF
37179 /* confdefs.h. */
37180 _ACEOF
37181 cat confdefs.h >>conftest.$ac_ext
37182 cat >>conftest.$ac_ext <<_ACEOF
37183 /* end confdefs.h. */
37184
37185 #include <sys/statvfs.h>
37186
37187 int
37188 main ()
37189 {
37190
37191 long l;
37192 struct statvfs fs;
37193 statvfs("/", &fs);
37194 l = fs.f_bsize;
37195 l += fs.f_blocks;
37196 l += fs.f_bavail;
37197
37198 ;
37199 return 0;
37200 }
37201 _ACEOF
37202 rm -f conftest.$ac_objext
37203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37204 (eval $ac_compile) 2>conftest.er1
37205 ac_status=$?
37206 grep -v '^ *+' conftest.er1 >conftest.err
37207 rm -f conftest.er1
37208 cat conftest.err >&5
37209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 (exit $ac_status); } &&
37211 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37213 (eval $ac_try) 2>&5
37214 ac_status=$?
37215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216 (exit $ac_status); }; } &&
37217 { ac_try='test -s conftest.$ac_objext'
37218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37219 (eval $ac_try) 2>&5
37220 ac_status=$?
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); }; }; then
37223 wx_cv_type_statvfs_t="struct statvfs"
37224 else
37225 echo "$as_me: failed program was:" >&5
37226 sed 's/^/| /' conftest.$ac_ext >&5
37227
37228 wx_cv_type_statvfs_t="unknown"
37229
37230 fi
37231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37232
37233
37234 fi
37235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37236
37237 fi
37238 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37239 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37240
37241 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37242 cat >>confdefs.h <<\_ACEOF
37243 #define HAVE_STATVFS 1
37244 _ACEOF
37245
37246 fi
37247 else
37248 wx_cv_type_statvfs_t="unknown"
37249 fi
37250 fi
37251
37252 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37253 cat >>confdefs.h <<_ACEOF
37254 #define WX_STATFS_T $wx_cv_type_statvfs_t
37255 _ACEOF
37256
37257 else
37258 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37259 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37260 fi
37261
37262 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37263
37264
37265 for ac_func in fcntl flock
37266 do
37267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37268 echo "$as_me:$LINENO: checking for $ac_func" >&5
37269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37270 if eval "test \"\${$as_ac_var+set}\" = set"; then
37271 echo $ECHO_N "(cached) $ECHO_C" >&6
37272 else
37273 cat >conftest.$ac_ext <<_ACEOF
37274 /* confdefs.h. */
37275 _ACEOF
37276 cat confdefs.h >>conftest.$ac_ext
37277 cat >>conftest.$ac_ext <<_ACEOF
37278 /* end confdefs.h. */
37279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37281 #define $ac_func innocuous_$ac_func
37282
37283 /* System header to define __stub macros and hopefully few prototypes,
37284 which can conflict with char $ac_func (); below.
37285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37286 <limits.h> exists even on freestanding compilers. */
37287
37288 #ifdef __STDC__
37289 # include <limits.h>
37290 #else
37291 # include <assert.h>
37292 #endif
37293
37294 #undef $ac_func
37295
37296 /* Override any gcc2 internal prototype to avoid an error. */
37297 #ifdef __cplusplus
37298 extern "C"
37299 {
37300 #endif
37301 /* We use char because int might match the return type of a gcc2
37302 builtin and then its argument prototype would still apply. */
37303 char $ac_func ();
37304 /* The GNU C library defines this for functions which it implements
37305 to always fail with ENOSYS. Some functions are actually named
37306 something starting with __ and the normal name is an alias. */
37307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37308 choke me
37309 #else
37310 char (*f) () = $ac_func;
37311 #endif
37312 #ifdef __cplusplus
37313 }
37314 #endif
37315
37316 int
37317 main ()
37318 {
37319 return f != $ac_func;
37320 ;
37321 return 0;
37322 }
37323 _ACEOF
37324 rm -f conftest.$ac_objext conftest$ac_exeext
37325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37326 (eval $ac_link) 2>conftest.er1
37327 ac_status=$?
37328 grep -v '^ *+' conftest.er1 >conftest.err
37329 rm -f conftest.er1
37330 cat conftest.err >&5
37331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332 (exit $ac_status); } &&
37333 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37335 (eval $ac_try) 2>&5
37336 ac_status=$?
37337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37338 (exit $ac_status); }; } &&
37339 { ac_try='test -s conftest$ac_exeext'
37340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37341 (eval $ac_try) 2>&5
37342 ac_status=$?
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); }; }; then
37345 eval "$as_ac_var=yes"
37346 else
37347 echo "$as_me: failed program was:" >&5
37348 sed 's/^/| /' conftest.$ac_ext >&5
37349
37350 eval "$as_ac_var=no"
37351 fi
37352 rm -f conftest.err conftest.$ac_objext \
37353 conftest$ac_exeext conftest.$ac_ext
37354 fi
37355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37357 if test `eval echo '${'$as_ac_var'}'` = yes; then
37358 cat >>confdefs.h <<_ACEOF
37359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37360 _ACEOF
37361 break
37362 fi
37363 done
37364
37365
37366 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37367 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37368 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37369 wxUSE_SNGLINST_CHECKER=no
37370 fi
37371 fi
37372
37373
37374 for ac_func in timegm
37375 do
37376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37377 echo "$as_me:$LINENO: checking for $ac_func" >&5
37378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37379 if eval "test \"\${$as_ac_var+set}\" = set"; then
37380 echo $ECHO_N "(cached) $ECHO_C" >&6
37381 else
37382 cat >conftest.$ac_ext <<_ACEOF
37383 /* confdefs.h. */
37384 _ACEOF
37385 cat confdefs.h >>conftest.$ac_ext
37386 cat >>conftest.$ac_ext <<_ACEOF
37387 /* end confdefs.h. */
37388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37390 #define $ac_func innocuous_$ac_func
37391
37392 /* System header to define __stub macros and hopefully few prototypes,
37393 which can conflict with char $ac_func (); below.
37394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37395 <limits.h> exists even on freestanding compilers. */
37396
37397 #ifdef __STDC__
37398 # include <limits.h>
37399 #else
37400 # include <assert.h>
37401 #endif
37402
37403 #undef $ac_func
37404
37405 /* Override any gcc2 internal prototype to avoid an error. */
37406 #ifdef __cplusplus
37407 extern "C"
37408 {
37409 #endif
37410 /* We use char because int might match the return type of a gcc2
37411 builtin and then its argument prototype would still apply. */
37412 char $ac_func ();
37413 /* The GNU C library defines this for functions which it implements
37414 to always fail with ENOSYS. Some functions are actually named
37415 something starting with __ and the normal name is an alias. */
37416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37417 choke me
37418 #else
37419 char (*f) () = $ac_func;
37420 #endif
37421 #ifdef __cplusplus
37422 }
37423 #endif
37424
37425 int
37426 main ()
37427 {
37428 return f != $ac_func;
37429 ;
37430 return 0;
37431 }
37432 _ACEOF
37433 rm -f conftest.$ac_objext conftest$ac_exeext
37434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37435 (eval $ac_link) 2>conftest.er1
37436 ac_status=$?
37437 grep -v '^ *+' conftest.er1 >conftest.err
37438 rm -f conftest.er1
37439 cat conftest.err >&5
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); } &&
37442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37444 (eval $ac_try) 2>&5
37445 ac_status=$?
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); }; } &&
37448 { ac_try='test -s conftest$ac_exeext'
37449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37450 (eval $ac_try) 2>&5
37451 ac_status=$?
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); }; }; then
37454 eval "$as_ac_var=yes"
37455 else
37456 echo "$as_me: failed program was:" >&5
37457 sed 's/^/| /' conftest.$ac_ext >&5
37458
37459 eval "$as_ac_var=no"
37460 fi
37461 rm -f conftest.err conftest.$ac_objext \
37462 conftest$ac_exeext conftest.$ac_ext
37463 fi
37464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37466 if test `eval echo '${'$as_ac_var'}'` = yes; then
37467 cat >>confdefs.h <<_ACEOF
37468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37469 _ACEOF
37470
37471 fi
37472 done
37473
37474
37475
37476
37477 for ac_func in putenv setenv
37478 do
37479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37480 echo "$as_me:$LINENO: checking for $ac_func" >&5
37481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37482 if eval "test \"\${$as_ac_var+set}\" = set"; then
37483 echo $ECHO_N "(cached) $ECHO_C" >&6
37484 else
37485 cat >conftest.$ac_ext <<_ACEOF
37486 /* confdefs.h. */
37487 _ACEOF
37488 cat confdefs.h >>conftest.$ac_ext
37489 cat >>conftest.$ac_ext <<_ACEOF
37490 /* end confdefs.h. */
37491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37493 #define $ac_func innocuous_$ac_func
37494
37495 /* System header to define __stub macros and hopefully few prototypes,
37496 which can conflict with char $ac_func (); below.
37497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37498 <limits.h> exists even on freestanding compilers. */
37499
37500 #ifdef __STDC__
37501 # include <limits.h>
37502 #else
37503 # include <assert.h>
37504 #endif
37505
37506 #undef $ac_func
37507
37508 /* Override any gcc2 internal prototype to avoid an error. */
37509 #ifdef __cplusplus
37510 extern "C"
37511 {
37512 #endif
37513 /* We use char because int might match the return type of a gcc2
37514 builtin and then its argument prototype would still apply. */
37515 char $ac_func ();
37516 /* The GNU C library defines this for functions which it implements
37517 to always fail with ENOSYS. Some functions are actually named
37518 something starting with __ and the normal name is an alias. */
37519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37520 choke me
37521 #else
37522 char (*f) () = $ac_func;
37523 #endif
37524 #ifdef __cplusplus
37525 }
37526 #endif
37527
37528 int
37529 main ()
37530 {
37531 return f != $ac_func;
37532 ;
37533 return 0;
37534 }
37535 _ACEOF
37536 rm -f conftest.$ac_objext conftest$ac_exeext
37537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37538 (eval $ac_link) 2>conftest.er1
37539 ac_status=$?
37540 grep -v '^ *+' conftest.er1 >conftest.err
37541 rm -f conftest.er1
37542 cat conftest.err >&5
37543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544 (exit $ac_status); } &&
37545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37547 (eval $ac_try) 2>&5
37548 ac_status=$?
37549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37550 (exit $ac_status); }; } &&
37551 { ac_try='test -s conftest$ac_exeext'
37552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37553 (eval $ac_try) 2>&5
37554 ac_status=$?
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); }; }; then
37557 eval "$as_ac_var=yes"
37558 else
37559 echo "$as_me: failed program was:" >&5
37560 sed 's/^/| /' conftest.$ac_ext >&5
37561
37562 eval "$as_ac_var=no"
37563 fi
37564 rm -f conftest.err conftest.$ac_objext \
37565 conftest$ac_exeext conftest.$ac_ext
37566 fi
37567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37569 if test `eval echo '${'$as_ac_var'}'` = yes; then
37570 cat >>confdefs.h <<_ACEOF
37571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37572 _ACEOF
37573 break
37574 fi
37575 done
37576
37577
37578 HAVE_SOME_SLEEP_FUNC=0
37579 if test "$USE_BEOS" = 1; then
37580 cat >>confdefs.h <<\_ACEOF
37581 #define HAVE_SLEEP 1
37582 _ACEOF
37583
37584 HAVE_SOME_SLEEP_FUNC=1
37585 fi
37586
37587 if test "$USE_DARWIN" = 1; then
37588 cat >>confdefs.h <<\_ACEOF
37589 #define HAVE_USLEEP 1
37590 _ACEOF
37591
37592 HAVE_SOME_SLEEP_FUNC=1
37593 fi
37594
37595 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37596 POSIX4_LINK=
37597
37598 for ac_func in nanosleep
37599 do
37600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37601 echo "$as_me:$LINENO: checking for $ac_func" >&5
37602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37603 if eval "test \"\${$as_ac_var+set}\" = set"; then
37604 echo $ECHO_N "(cached) $ECHO_C" >&6
37605 else
37606 cat >conftest.$ac_ext <<_ACEOF
37607 /* confdefs.h. */
37608 _ACEOF
37609 cat confdefs.h >>conftest.$ac_ext
37610 cat >>conftest.$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37614 #define $ac_func innocuous_$ac_func
37615
37616 /* System header to define __stub macros and hopefully few prototypes,
37617 which can conflict with char $ac_func (); below.
37618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37619 <limits.h> exists even on freestanding compilers. */
37620
37621 #ifdef __STDC__
37622 # include <limits.h>
37623 #else
37624 # include <assert.h>
37625 #endif
37626
37627 #undef $ac_func
37628
37629 /* Override any gcc2 internal prototype to avoid an error. */
37630 #ifdef __cplusplus
37631 extern "C"
37632 {
37633 #endif
37634 /* We use char because int might match the return type of a gcc2
37635 builtin and then its argument prototype would still apply. */
37636 char $ac_func ();
37637 /* The GNU C library defines this for functions which it implements
37638 to always fail with ENOSYS. Some functions are actually named
37639 something starting with __ and the normal name is an alias. */
37640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37641 choke me
37642 #else
37643 char (*f) () = $ac_func;
37644 #endif
37645 #ifdef __cplusplus
37646 }
37647 #endif
37648
37649 int
37650 main ()
37651 {
37652 return f != $ac_func;
37653 ;
37654 return 0;
37655 }
37656 _ACEOF
37657 rm -f conftest.$ac_objext conftest$ac_exeext
37658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37659 (eval $ac_link) 2>conftest.er1
37660 ac_status=$?
37661 grep -v '^ *+' conftest.er1 >conftest.err
37662 rm -f conftest.er1
37663 cat conftest.err >&5
37664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37665 (exit $ac_status); } &&
37666 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37668 (eval $ac_try) 2>&5
37669 ac_status=$?
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); }; } &&
37672 { ac_try='test -s conftest$ac_exeext'
37673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37674 (eval $ac_try) 2>&5
37675 ac_status=$?
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); }; }; then
37678 eval "$as_ac_var=yes"
37679 else
37680 echo "$as_me: failed program was:" >&5
37681 sed 's/^/| /' conftest.$ac_ext >&5
37682
37683 eval "$as_ac_var=no"
37684 fi
37685 rm -f conftest.err conftest.$ac_objext \
37686 conftest$ac_exeext conftest.$ac_ext
37687 fi
37688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37690 if test `eval echo '${'$as_ac_var'}'` = yes; then
37691 cat >>confdefs.h <<_ACEOF
37692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37693 _ACEOF
37694 cat >>confdefs.h <<\_ACEOF
37695 #define HAVE_NANOSLEEP 1
37696 _ACEOF
37697
37698 else
37699
37700 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37701 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37702 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37703 echo $ECHO_N "(cached) $ECHO_C" >&6
37704 else
37705 ac_check_lib_save_LIBS=$LIBS
37706 LIBS="-lposix4 $LIBS"
37707 cat >conftest.$ac_ext <<_ACEOF
37708 /* confdefs.h. */
37709 _ACEOF
37710 cat confdefs.h >>conftest.$ac_ext
37711 cat >>conftest.$ac_ext <<_ACEOF
37712 /* end confdefs.h. */
37713
37714 /* Override any gcc2 internal prototype to avoid an error. */
37715 #ifdef __cplusplus
37716 extern "C"
37717 #endif
37718 /* We use char because int might match the return type of a gcc2
37719 builtin and then its argument prototype would still apply. */
37720 char nanosleep ();
37721 int
37722 main ()
37723 {
37724 nanosleep ();
37725 ;
37726 return 0;
37727 }
37728 _ACEOF
37729 rm -f conftest.$ac_objext conftest$ac_exeext
37730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37731 (eval $ac_link) 2>conftest.er1
37732 ac_status=$?
37733 grep -v '^ *+' conftest.er1 >conftest.err
37734 rm -f conftest.er1
37735 cat conftest.err >&5
37736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37737 (exit $ac_status); } &&
37738 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37740 (eval $ac_try) 2>&5
37741 ac_status=$?
37742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37743 (exit $ac_status); }; } &&
37744 { ac_try='test -s conftest$ac_exeext'
37745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37746 (eval $ac_try) 2>&5
37747 ac_status=$?
37748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37749 (exit $ac_status); }; }; then
37750 ac_cv_lib_posix4_nanosleep=yes
37751 else
37752 echo "$as_me: failed program was:" >&5
37753 sed 's/^/| /' conftest.$ac_ext >&5
37754
37755 ac_cv_lib_posix4_nanosleep=no
37756 fi
37757 rm -f conftest.err conftest.$ac_objext \
37758 conftest$ac_exeext conftest.$ac_ext
37759 LIBS=$ac_check_lib_save_LIBS
37760 fi
37761 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37762 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37763 if test $ac_cv_lib_posix4_nanosleep = yes; then
37764
37765 cat >>confdefs.h <<\_ACEOF
37766 #define HAVE_NANOSLEEP 1
37767 _ACEOF
37768
37769 POSIX4_LINK=" -lposix4"
37770
37771 else
37772
37773
37774 for ac_func in usleep
37775 do
37776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37777 echo "$as_me:$LINENO: checking for $ac_func" >&5
37778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37779 if eval "test \"\${$as_ac_var+set}\" = set"; then
37780 echo $ECHO_N "(cached) $ECHO_C" >&6
37781 else
37782 cat >conftest.$ac_ext <<_ACEOF
37783 /* confdefs.h. */
37784 _ACEOF
37785 cat confdefs.h >>conftest.$ac_ext
37786 cat >>conftest.$ac_ext <<_ACEOF
37787 /* end confdefs.h. */
37788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37790 #define $ac_func innocuous_$ac_func
37791
37792 /* System header to define __stub macros and hopefully few prototypes,
37793 which can conflict with char $ac_func (); below.
37794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37795 <limits.h> exists even on freestanding compilers. */
37796
37797 #ifdef __STDC__
37798 # include <limits.h>
37799 #else
37800 # include <assert.h>
37801 #endif
37802
37803 #undef $ac_func
37804
37805 /* Override any gcc2 internal prototype to avoid an error. */
37806 #ifdef __cplusplus
37807 extern "C"
37808 {
37809 #endif
37810 /* We use char because int might match the return type of a gcc2
37811 builtin and then its argument prototype would still apply. */
37812 char $ac_func ();
37813 /* The GNU C library defines this for functions which it implements
37814 to always fail with ENOSYS. Some functions are actually named
37815 something starting with __ and the normal name is an alias. */
37816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37817 choke me
37818 #else
37819 char (*f) () = $ac_func;
37820 #endif
37821 #ifdef __cplusplus
37822 }
37823 #endif
37824
37825 int
37826 main ()
37827 {
37828 return f != $ac_func;
37829 ;
37830 return 0;
37831 }
37832 _ACEOF
37833 rm -f conftest.$ac_objext conftest$ac_exeext
37834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37835 (eval $ac_link) 2>conftest.er1
37836 ac_status=$?
37837 grep -v '^ *+' conftest.er1 >conftest.err
37838 rm -f conftest.er1
37839 cat conftest.err >&5
37840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37841 (exit $ac_status); } &&
37842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37844 (eval $ac_try) 2>&5
37845 ac_status=$?
37846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37847 (exit $ac_status); }; } &&
37848 { ac_try='test -s conftest$ac_exeext'
37849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37850 (eval $ac_try) 2>&5
37851 ac_status=$?
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); }; }; then
37854 eval "$as_ac_var=yes"
37855 else
37856 echo "$as_me: failed program was:" >&5
37857 sed 's/^/| /' conftest.$ac_ext >&5
37858
37859 eval "$as_ac_var=no"
37860 fi
37861 rm -f conftest.err conftest.$ac_objext \
37862 conftest$ac_exeext conftest.$ac_ext
37863 fi
37864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37866 if test `eval echo '${'$as_ac_var'}'` = yes; then
37867 cat >>confdefs.h <<_ACEOF
37868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37869 _ACEOF
37870 cat >>confdefs.h <<\_ACEOF
37871 #define HAVE_USLEEP 1
37872 _ACEOF
37873
37874 else
37875 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37876 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37877
37878 fi
37879 done
37880
37881
37882
37883 fi
37884
37885
37886
37887 fi
37888 done
37889
37890 fi
37891
37892
37893
37894 for ac_func in uname gethostname
37895 do
37896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37897 echo "$as_me:$LINENO: checking for $ac_func" >&5
37898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37899 if eval "test \"\${$as_ac_var+set}\" = set"; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37901 else
37902 cat >conftest.$ac_ext <<_ACEOF
37903 /* confdefs.h. */
37904 _ACEOF
37905 cat confdefs.h >>conftest.$ac_ext
37906 cat >>conftest.$ac_ext <<_ACEOF
37907 /* end confdefs.h. */
37908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37910 #define $ac_func innocuous_$ac_func
37911
37912 /* System header to define __stub macros and hopefully few prototypes,
37913 which can conflict with char $ac_func (); below.
37914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37915 <limits.h> exists even on freestanding compilers. */
37916
37917 #ifdef __STDC__
37918 # include <limits.h>
37919 #else
37920 # include <assert.h>
37921 #endif
37922
37923 #undef $ac_func
37924
37925 /* Override any gcc2 internal prototype to avoid an error. */
37926 #ifdef __cplusplus
37927 extern "C"
37928 {
37929 #endif
37930 /* We use char because int might match the return type of a gcc2
37931 builtin and then its argument prototype would still apply. */
37932 char $ac_func ();
37933 /* The GNU C library defines this for functions which it implements
37934 to always fail with ENOSYS. Some functions are actually named
37935 something starting with __ and the normal name is an alias. */
37936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37937 choke me
37938 #else
37939 char (*f) () = $ac_func;
37940 #endif
37941 #ifdef __cplusplus
37942 }
37943 #endif
37944
37945 int
37946 main ()
37947 {
37948 return f != $ac_func;
37949 ;
37950 return 0;
37951 }
37952 _ACEOF
37953 rm -f conftest.$ac_objext conftest$ac_exeext
37954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37955 (eval $ac_link) 2>conftest.er1
37956 ac_status=$?
37957 grep -v '^ *+' conftest.er1 >conftest.err
37958 rm -f conftest.er1
37959 cat conftest.err >&5
37960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37961 (exit $ac_status); } &&
37962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37964 (eval $ac_try) 2>&5
37965 ac_status=$?
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); }; } &&
37968 { ac_try='test -s conftest$ac_exeext'
37969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37970 (eval $ac_try) 2>&5
37971 ac_status=$?
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); }; }; then
37974 eval "$as_ac_var=yes"
37975 else
37976 echo "$as_me: failed program was:" >&5
37977 sed 's/^/| /' conftest.$ac_ext >&5
37978
37979 eval "$as_ac_var=no"
37980 fi
37981 rm -f conftest.err conftest.$ac_objext \
37982 conftest$ac_exeext conftest.$ac_ext
37983 fi
37984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37986 if test `eval echo '${'$as_ac_var'}'` = yes; then
37987 cat >>confdefs.h <<_ACEOF
37988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37989 _ACEOF
37990 break
37991 fi
37992 done
37993
37994
37995
37996 for wx_func in strtok_r
37997 do
37998 echo "$as_me:$LINENO: checking for $wx_func" >&5
37999 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38000 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38001 echo $ECHO_N "(cached) $ECHO_C" >&6
38002 else
38003
38004 cat >conftest.$ac_ext <<_ACEOF
38005
38006 /* confdefs.h. */
38007 _ACEOF
38008 cat confdefs.h >>conftest.$ac_ext
38009 cat >>conftest.$ac_ext <<_ACEOF
38010 /* end confdefs.h. */
38011
38012 #define _REENTRANT
38013 $ac_includes_default
38014
38015 int
38016 main ()
38017 {
38018
38019 #ifndef $wx_func
38020 &$wx_func;
38021 #endif
38022
38023
38024 ;
38025 return 0;
38026 }
38027
38028 _ACEOF
38029 rm -f conftest.$ac_objext conftest$ac_exeext
38030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38031 (eval $ac_link) 2>conftest.er1
38032 ac_status=$?
38033 grep -v '^ *+' conftest.er1 >conftest.err
38034 rm -f conftest.er1
38035 cat conftest.err >&5
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); } &&
38038 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38041 ac_status=$?
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; } &&
38044 { ac_try='test -s conftest$ac_exeext'
38045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38046 (eval $ac_try) 2>&5
38047 ac_status=$?
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); }; }; then
38050 eval wx_cv_func_$wx_func=yes
38051 else
38052 echo "$as_me: failed program was:" >&5
38053 sed 's/^/| /' conftest.$ac_ext >&5
38054
38055 eval wx_cv_func_$wx_func=no
38056 fi
38057 rm -f conftest.err conftest.$ac_objext \
38058 conftest$ac_exeext conftest.$ac_ext
38059
38060 fi
38061 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38062 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38063
38064 if eval test \$wx_cv_func_$wx_func = yes
38065 then
38066 cat >>confdefs.h <<_ACEOF
38067 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38068 _ACEOF
38069
38070
38071 else
38072 :
38073
38074 fi
38075 done
38076
38077
38078 INET_LINK=
38079
38080 for ac_func in inet_addr
38081 do
38082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38083 echo "$as_me:$LINENO: checking for $ac_func" >&5
38084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38085 if eval "test \"\${$as_ac_var+set}\" = set"; then
38086 echo $ECHO_N "(cached) $ECHO_C" >&6
38087 else
38088 cat >conftest.$ac_ext <<_ACEOF
38089 /* confdefs.h. */
38090 _ACEOF
38091 cat confdefs.h >>conftest.$ac_ext
38092 cat >>conftest.$ac_ext <<_ACEOF
38093 /* end confdefs.h. */
38094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38096 #define $ac_func innocuous_$ac_func
38097
38098 /* System header to define __stub macros and hopefully few prototypes,
38099 which can conflict with char $ac_func (); below.
38100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38101 <limits.h> exists even on freestanding compilers. */
38102
38103 #ifdef __STDC__
38104 # include <limits.h>
38105 #else
38106 # include <assert.h>
38107 #endif
38108
38109 #undef $ac_func
38110
38111 /* Override any gcc2 internal prototype to avoid an error. */
38112 #ifdef __cplusplus
38113 extern "C"
38114 {
38115 #endif
38116 /* We use char because int might match the return type of a gcc2
38117 builtin and then its argument prototype would still apply. */
38118 char $ac_func ();
38119 /* The GNU C library defines this for functions which it implements
38120 to always fail with ENOSYS. Some functions are actually named
38121 something starting with __ and the normal name is an alias. */
38122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38123 choke me
38124 #else
38125 char (*f) () = $ac_func;
38126 #endif
38127 #ifdef __cplusplus
38128 }
38129 #endif
38130
38131 int
38132 main ()
38133 {
38134 return f != $ac_func;
38135 ;
38136 return 0;
38137 }
38138 _ACEOF
38139 rm -f conftest.$ac_objext conftest$ac_exeext
38140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38141 (eval $ac_link) 2>conftest.er1
38142 ac_status=$?
38143 grep -v '^ *+' conftest.er1 >conftest.err
38144 rm -f conftest.er1
38145 cat conftest.err >&5
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); } &&
38148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38150 (eval $ac_try) 2>&5
38151 ac_status=$?
38152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 (exit $ac_status); }; } &&
38154 { ac_try='test -s conftest$ac_exeext'
38155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38156 (eval $ac_try) 2>&5
38157 ac_status=$?
38158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159 (exit $ac_status); }; }; then
38160 eval "$as_ac_var=yes"
38161 else
38162 echo "$as_me: failed program was:" >&5
38163 sed 's/^/| /' conftest.$ac_ext >&5
38164
38165 eval "$as_ac_var=no"
38166 fi
38167 rm -f conftest.err conftest.$ac_objext \
38168 conftest$ac_exeext conftest.$ac_ext
38169 fi
38170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38172 if test `eval echo '${'$as_ac_var'}'` = yes; then
38173 cat >>confdefs.h <<_ACEOF
38174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38175 _ACEOF
38176 cat >>confdefs.h <<\_ACEOF
38177 #define HAVE_INET_ADDR 1
38178 _ACEOF
38179
38180 else
38181
38182 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38183 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38184 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38185 echo $ECHO_N "(cached) $ECHO_C" >&6
38186 else
38187 ac_check_lib_save_LIBS=$LIBS
38188 LIBS="-lnsl $LIBS"
38189 cat >conftest.$ac_ext <<_ACEOF
38190 /* confdefs.h. */
38191 _ACEOF
38192 cat confdefs.h >>conftest.$ac_ext
38193 cat >>conftest.$ac_ext <<_ACEOF
38194 /* end confdefs.h. */
38195
38196 /* Override any gcc2 internal prototype to avoid an error. */
38197 #ifdef __cplusplus
38198 extern "C"
38199 #endif
38200 /* We use char because int might match the return type of a gcc2
38201 builtin and then its argument prototype would still apply. */
38202 char inet_addr ();
38203 int
38204 main ()
38205 {
38206 inet_addr ();
38207 ;
38208 return 0;
38209 }
38210 _ACEOF
38211 rm -f conftest.$ac_objext conftest$ac_exeext
38212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38213 (eval $ac_link) 2>conftest.er1
38214 ac_status=$?
38215 grep -v '^ *+' conftest.er1 >conftest.err
38216 rm -f conftest.er1
38217 cat conftest.err >&5
38218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38219 (exit $ac_status); } &&
38220 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38222 (eval $ac_try) 2>&5
38223 ac_status=$?
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); }; } &&
38226 { ac_try='test -s conftest$ac_exeext'
38227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228 (eval $ac_try) 2>&5
38229 ac_status=$?
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); }; }; then
38232 ac_cv_lib_nsl_inet_addr=yes
38233 else
38234 echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.$ac_ext >&5
38236
38237 ac_cv_lib_nsl_inet_addr=no
38238 fi
38239 rm -f conftest.err conftest.$ac_objext \
38240 conftest$ac_exeext conftest.$ac_ext
38241 LIBS=$ac_check_lib_save_LIBS
38242 fi
38243 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38244 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38245 if test $ac_cv_lib_nsl_inet_addr = yes; then
38246 INET_LINK="nsl"
38247 else
38248
38249 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38250 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38251 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38252 echo $ECHO_N "(cached) $ECHO_C" >&6
38253 else
38254 ac_check_lib_save_LIBS=$LIBS
38255 LIBS="-lresolv $LIBS"
38256 cat >conftest.$ac_ext <<_ACEOF
38257 /* confdefs.h. */
38258 _ACEOF
38259 cat confdefs.h >>conftest.$ac_ext
38260 cat >>conftest.$ac_ext <<_ACEOF
38261 /* end confdefs.h. */
38262
38263 /* Override any gcc2 internal prototype to avoid an error. */
38264 #ifdef __cplusplus
38265 extern "C"
38266 #endif
38267 /* We use char because int might match the return type of a gcc2
38268 builtin and then its argument prototype would still apply. */
38269 char inet_addr ();
38270 int
38271 main ()
38272 {
38273 inet_addr ();
38274 ;
38275 return 0;
38276 }
38277 _ACEOF
38278 rm -f conftest.$ac_objext conftest$ac_exeext
38279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38280 (eval $ac_link) 2>conftest.er1
38281 ac_status=$?
38282 grep -v '^ *+' conftest.er1 >conftest.err
38283 rm -f conftest.er1
38284 cat conftest.err >&5
38285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38286 (exit $ac_status); } &&
38287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38289 (eval $ac_try) 2>&5
38290 ac_status=$?
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); }; } &&
38293 { ac_try='test -s conftest$ac_exeext'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38296 ac_status=$?
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; }; then
38299 ac_cv_lib_resolv_inet_addr=yes
38300 else
38301 echo "$as_me: failed program was:" >&5
38302 sed 's/^/| /' conftest.$ac_ext >&5
38303
38304 ac_cv_lib_resolv_inet_addr=no
38305 fi
38306 rm -f conftest.err conftest.$ac_objext \
38307 conftest$ac_exeext conftest.$ac_ext
38308 LIBS=$ac_check_lib_save_LIBS
38309 fi
38310 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38311 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38312 if test $ac_cv_lib_resolv_inet_addr = yes; then
38313 INET_LINK="resolv"
38314 else
38315
38316 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38317 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38318 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38319 echo $ECHO_N "(cached) $ECHO_C" >&6
38320 else
38321 ac_check_lib_save_LIBS=$LIBS
38322 LIBS="-lsocket $LIBS"
38323 cat >conftest.$ac_ext <<_ACEOF
38324 /* confdefs.h. */
38325 _ACEOF
38326 cat confdefs.h >>conftest.$ac_ext
38327 cat >>conftest.$ac_ext <<_ACEOF
38328 /* end confdefs.h. */
38329
38330 /* Override any gcc2 internal prototype to avoid an error. */
38331 #ifdef __cplusplus
38332 extern "C"
38333 #endif
38334 /* We use char because int might match the return type of a gcc2
38335 builtin and then its argument prototype would still apply. */
38336 char inet_addr ();
38337 int
38338 main ()
38339 {
38340 inet_addr ();
38341 ;
38342 return 0;
38343 }
38344 _ACEOF
38345 rm -f conftest.$ac_objext conftest$ac_exeext
38346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38347 (eval $ac_link) 2>conftest.er1
38348 ac_status=$?
38349 grep -v '^ *+' conftest.er1 >conftest.err
38350 rm -f conftest.er1
38351 cat conftest.err >&5
38352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38353 (exit $ac_status); } &&
38354 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38356 (eval $ac_try) 2>&5
38357 ac_status=$?
38358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38359 (exit $ac_status); }; } &&
38360 { ac_try='test -s conftest$ac_exeext'
38361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38362 (eval $ac_try) 2>&5
38363 ac_status=$?
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); }; }; then
38366 ac_cv_lib_socket_inet_addr=yes
38367 else
38368 echo "$as_me: failed program was:" >&5
38369 sed 's/^/| /' conftest.$ac_ext >&5
38370
38371 ac_cv_lib_socket_inet_addr=no
38372 fi
38373 rm -f conftest.err conftest.$ac_objext \
38374 conftest$ac_exeext conftest.$ac_ext
38375 LIBS=$ac_check_lib_save_LIBS
38376 fi
38377 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38378 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38379 if test $ac_cv_lib_socket_inet_addr = yes; then
38380 INET_LINK="socket"
38381
38382 fi
38383
38384
38385
38386 fi
38387
38388
38389
38390 fi
38391
38392
38393
38394 fi
38395 done
38396
38397
38398
38399 for ac_func in inet_aton
38400 do
38401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38402 echo "$as_me:$LINENO: checking for $ac_func" >&5
38403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38404 if eval "test \"\${$as_ac_var+set}\" = set"; then
38405 echo $ECHO_N "(cached) $ECHO_C" >&6
38406 else
38407 cat >conftest.$ac_ext <<_ACEOF
38408 /* confdefs.h. */
38409 _ACEOF
38410 cat confdefs.h >>conftest.$ac_ext
38411 cat >>conftest.$ac_ext <<_ACEOF
38412 /* end confdefs.h. */
38413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38415 #define $ac_func innocuous_$ac_func
38416
38417 /* System header to define __stub macros and hopefully few prototypes,
38418 which can conflict with char $ac_func (); below.
38419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38420 <limits.h> exists even on freestanding compilers. */
38421
38422 #ifdef __STDC__
38423 # include <limits.h>
38424 #else
38425 # include <assert.h>
38426 #endif
38427
38428 #undef $ac_func
38429
38430 /* Override any gcc2 internal prototype to avoid an error. */
38431 #ifdef __cplusplus
38432 extern "C"
38433 {
38434 #endif
38435 /* We use char because int might match the return type of a gcc2
38436 builtin and then its argument prototype would still apply. */
38437 char $ac_func ();
38438 /* The GNU C library defines this for functions which it implements
38439 to always fail with ENOSYS. Some functions are actually named
38440 something starting with __ and the normal name is an alias. */
38441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38442 choke me
38443 #else
38444 char (*f) () = $ac_func;
38445 #endif
38446 #ifdef __cplusplus
38447 }
38448 #endif
38449
38450 int
38451 main ()
38452 {
38453 return f != $ac_func;
38454 ;
38455 return 0;
38456 }
38457 _ACEOF
38458 rm -f conftest.$ac_objext conftest$ac_exeext
38459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38460 (eval $ac_link) 2>conftest.er1
38461 ac_status=$?
38462 grep -v '^ *+' conftest.er1 >conftest.err
38463 rm -f conftest.er1
38464 cat conftest.err >&5
38465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38466 (exit $ac_status); } &&
38467 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38469 (eval $ac_try) 2>&5
38470 ac_status=$?
38471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38472 (exit $ac_status); }; } &&
38473 { ac_try='test -s conftest$ac_exeext'
38474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38475 (eval $ac_try) 2>&5
38476 ac_status=$?
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); }; }; then
38479 eval "$as_ac_var=yes"
38480 else
38481 echo "$as_me: failed program was:" >&5
38482 sed 's/^/| /' conftest.$ac_ext >&5
38483
38484 eval "$as_ac_var=no"
38485 fi
38486 rm -f conftest.err conftest.$ac_objext \
38487 conftest$ac_exeext conftest.$ac_ext
38488 fi
38489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38491 if test `eval echo '${'$as_ac_var'}'` = yes; then
38492 cat >>confdefs.h <<_ACEOF
38493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38494 _ACEOF
38495 cat >>confdefs.h <<\_ACEOF
38496 #define HAVE_INET_ATON 1
38497 _ACEOF
38498
38499 else
38500
38501 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38502 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38503 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38504 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38505 echo $ECHO_N "(cached) $ECHO_C" >&6
38506 else
38507 ac_check_lib_save_LIBS=$LIBS
38508 LIBS="-l$INET_LINK $LIBS"
38509 cat >conftest.$ac_ext <<_ACEOF
38510 /* confdefs.h. */
38511 _ACEOF
38512 cat confdefs.h >>conftest.$ac_ext
38513 cat >>conftest.$ac_ext <<_ACEOF
38514 /* end confdefs.h. */
38515
38516 /* Override any gcc2 internal prototype to avoid an error. */
38517 #ifdef __cplusplus
38518 extern "C"
38519 #endif
38520 /* We use char because int might match the return type of a gcc2
38521 builtin and then its argument prototype would still apply. */
38522 char inet_aton ();
38523 int
38524 main ()
38525 {
38526 inet_aton ();
38527 ;
38528 return 0;
38529 }
38530 _ACEOF
38531 rm -f conftest.$ac_objext conftest$ac_exeext
38532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38533 (eval $ac_link) 2>conftest.er1
38534 ac_status=$?
38535 grep -v '^ *+' conftest.er1 >conftest.err
38536 rm -f conftest.er1
38537 cat conftest.err >&5
38538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38539 (exit $ac_status); } &&
38540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38542 (eval $ac_try) 2>&5
38543 ac_status=$?
38544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38545 (exit $ac_status); }; } &&
38546 { ac_try='test -s conftest$ac_exeext'
38547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38548 (eval $ac_try) 2>&5
38549 ac_status=$?
38550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551 (exit $ac_status); }; }; then
38552 eval "$as_ac_Lib=yes"
38553 else
38554 echo "$as_me: failed program was:" >&5
38555 sed 's/^/| /' conftest.$ac_ext >&5
38556
38557 eval "$as_ac_Lib=no"
38558 fi
38559 rm -f conftest.err conftest.$ac_objext \
38560 conftest$ac_exeext conftest.$ac_ext
38561 LIBS=$ac_check_lib_save_LIBS
38562 fi
38563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38564 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38565 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38566 cat >>confdefs.h <<\_ACEOF
38567 #define HAVE_INET_ATON 1
38568 _ACEOF
38569
38570 fi
38571
38572
38573 fi
38574 done
38575
38576
38577 if test "x$INET_LINK" != "x"; then
38578 cat >>confdefs.h <<\_ACEOF
38579 #define HAVE_INET_ADDR 1
38580 _ACEOF
38581
38582 INET_LINK=" -l$INET_LINK"
38583 fi
38584
38585
38586 for wx_func in fdopen
38587 do
38588 echo "$as_me:$LINENO: checking for $wx_func" >&5
38589 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38590 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38591 echo $ECHO_N "(cached) $ECHO_C" >&6
38592 else
38593
38594 cat >conftest.$ac_ext <<_ACEOF
38595
38596 /* confdefs.h. */
38597 _ACEOF
38598 cat confdefs.h >>conftest.$ac_ext
38599 cat >>conftest.$ac_ext <<_ACEOF
38600 /* end confdefs.h. */
38601
38602
38603 $ac_includes_default
38604
38605 int
38606 main ()
38607 {
38608
38609 #ifndef $wx_func
38610 &$wx_func;
38611 #endif
38612
38613
38614 ;
38615 return 0;
38616 }
38617
38618 _ACEOF
38619 rm -f conftest.$ac_objext conftest$ac_exeext
38620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38621 (eval $ac_link) 2>conftest.er1
38622 ac_status=$?
38623 grep -v '^ *+' conftest.er1 >conftest.err
38624 rm -f conftest.er1
38625 cat conftest.err >&5
38626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38627 (exit $ac_status); } &&
38628 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38630 (eval $ac_try) 2>&5
38631 ac_status=$?
38632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38633 (exit $ac_status); }; } &&
38634 { ac_try='test -s conftest$ac_exeext'
38635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38636 (eval $ac_try) 2>&5
38637 ac_status=$?
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); }; }; then
38640 eval wx_cv_func_$wx_func=yes
38641 else
38642 echo "$as_me: failed program was:" >&5
38643 sed 's/^/| /' conftest.$ac_ext >&5
38644
38645 eval wx_cv_func_$wx_func=no
38646 fi
38647 rm -f conftest.err conftest.$ac_objext \
38648 conftest$ac_exeext conftest.$ac_ext
38649
38650 fi
38651 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38652 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38653
38654 if eval test \$wx_cv_func_$wx_func = yes
38655 then
38656 cat >>confdefs.h <<_ACEOF
38657 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38658 _ACEOF
38659
38660
38661 else
38662 :
38663
38664 fi
38665 done
38666
38667
38668 fi
38669
38670
38671
38672
38673 EXTRALIBS_ESD=
38674 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38675 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38676 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38677 echo $ECHO_N "(cached) $ECHO_C" >&6
38678 else
38679 ac_check_lib_save_LIBS=$LIBS
38680 LIBS="-lesd $LIBS"
38681 cat >conftest.$ac_ext <<_ACEOF
38682 /* confdefs.h. */
38683 _ACEOF
38684 cat confdefs.h >>conftest.$ac_ext
38685 cat >>conftest.$ac_ext <<_ACEOF
38686 /* end confdefs.h. */
38687
38688 /* Override any gcc2 internal prototype to avoid an error. */
38689 #ifdef __cplusplus
38690 extern "C"
38691 #endif
38692 /* We use char because int might match the return type of a gcc2
38693 builtin and then its argument prototype would still apply. */
38694 char esd_close ();
38695 int
38696 main ()
38697 {
38698 esd_close ();
38699 ;
38700 return 0;
38701 }
38702 _ACEOF
38703 rm -f conftest.$ac_objext conftest$ac_exeext
38704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38705 (eval $ac_link) 2>conftest.er1
38706 ac_status=$?
38707 grep -v '^ *+' conftest.er1 >conftest.err
38708 rm -f conftest.er1
38709 cat conftest.err >&5
38710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38711 (exit $ac_status); } &&
38712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38714 (eval $ac_try) 2>&5
38715 ac_status=$?
38716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38717 (exit $ac_status); }; } &&
38718 { ac_try='test -s conftest$ac_exeext'
38719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38720 (eval $ac_try) 2>&5
38721 ac_status=$?
38722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38723 (exit $ac_status); }; }; then
38724 ac_cv_lib_esd_esd_close=yes
38725 else
38726 echo "$as_me: failed program was:" >&5
38727 sed 's/^/| /' conftest.$ac_ext >&5
38728
38729 ac_cv_lib_esd_esd_close=no
38730 fi
38731 rm -f conftest.err conftest.$ac_objext \
38732 conftest$ac_exeext conftest.$ac_ext
38733 LIBS=$ac_check_lib_save_LIBS
38734 fi
38735 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38736 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38737 if test $ac_cv_lib_esd_esd_close = yes; then
38738
38739
38740 for ac_header in esd.h
38741 do
38742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38744 echo "$as_me:$LINENO: checking for $ac_header" >&5
38745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38747 echo $ECHO_N "(cached) $ECHO_C" >&6
38748 fi
38749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38751 else
38752 # Is the header compilable?
38753 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
38762 #include <$ac_header>
38763 _ACEOF
38764 rm -f conftest.$ac_objext
38765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38766 (eval $ac_compile) 2>conftest.er1
38767 ac_status=$?
38768 grep -v '^ *+' conftest.er1 >conftest.err
38769 rm -f conftest.er1
38770 cat conftest.err >&5
38771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38772 (exit $ac_status); } &&
38773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38775 (eval $ac_try) 2>&5
38776 ac_status=$?
38777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38778 (exit $ac_status); }; } &&
38779 { ac_try='test -s conftest.$ac_objext'
38780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38781 (eval $ac_try) 2>&5
38782 ac_status=$?
38783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38784 (exit $ac_status); }; }; then
38785 ac_header_compiler=yes
38786 else
38787 echo "$as_me: failed program was:" >&5
38788 sed 's/^/| /' conftest.$ac_ext >&5
38789
38790 ac_header_compiler=no
38791 fi
38792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38794 echo "${ECHO_T}$ac_header_compiler" >&6
38795
38796 # Is the header present?
38797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38799 cat >conftest.$ac_ext <<_ACEOF
38800 /* confdefs.h. */
38801 _ACEOF
38802 cat confdefs.h >>conftest.$ac_ext
38803 cat >>conftest.$ac_ext <<_ACEOF
38804 /* end confdefs.h. */
38805 #include <$ac_header>
38806 _ACEOF
38807 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38808 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
38815 if test -s conftest.err; then
38816 ac_cpp_err=$ac_cxx_preproc_warn_flag
38817 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38818 else
38819 ac_cpp_err=
38820 fi
38821 else
38822 ac_cpp_err=yes
38823 fi
38824 if test -z "$ac_cpp_err"; then
38825 ac_header_preproc=yes
38826 else
38827 echo "$as_me: failed program was:" >&5
38828 sed 's/^/| /' conftest.$ac_ext >&5
38829
38830 ac_header_preproc=no
38831 fi
38832 rm -f conftest.err conftest.$ac_ext
38833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38834 echo "${ECHO_T}$ac_header_preproc" >&6
38835
38836 # So? What about this header?
38837 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38838 yes:no: )
38839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38842 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38843 ac_header_preproc=yes
38844 ;;
38845 no:yes:* )
38846 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38847 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38848 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38849 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38850 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38851 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38852 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38853 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38856 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38857 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38858 (
38859 cat <<\_ASBOX
38860 ## ----------------------------------------- ##
38861 ## Report this to wx-dev@lists.wxwidgets.org ##
38862 ## ----------------------------------------- ##
38863 _ASBOX
38864 ) |
38865 sed "s/^/$as_me: WARNING: /" >&2
38866 ;;
38867 esac
38868 echo "$as_me:$LINENO: checking for $ac_header" >&5
38869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38871 echo $ECHO_N "(cached) $ECHO_C" >&6
38872 else
38873 eval "$as_ac_Header=\$ac_header_preproc"
38874 fi
38875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38876 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38877
38878 fi
38879 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38880 cat >>confdefs.h <<_ACEOF
38881 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38882 _ACEOF
38883
38884 EXTRALIBS_ESD="-lesd"
38885
38886 fi
38887
38888 done
38889
38890
38891 fi
38892
38893
38894
38895 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38896 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38897 cat >conftest.$ac_ext <<_ACEOF
38898 /* confdefs.h. */
38899 _ACEOF
38900 cat confdefs.h >>conftest.$ac_ext
38901 cat >>conftest.$ac_ext <<_ACEOF
38902 /* end confdefs.h. */
38903 #ifdef __linux__
38904 #include <linux/cdrom.h>
38905 #else
38906 /* For Solaris */
38907 #include <sys/cdio.h>
38908 #endif
38909
38910 int
38911 main ()
38912 {
38913 struct cdrom_tocentry entry, old_entry;
38914 ;
38915 return 0;
38916 }
38917 _ACEOF
38918 rm -f conftest.$ac_objext
38919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38920 (eval $ac_compile) 2>conftest.er1
38921 ac_status=$?
38922 grep -v '^ *+' conftest.er1 >conftest.err
38923 rm -f conftest.er1
38924 cat conftest.err >&5
38925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38926 (exit $ac_status); } &&
38927 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38929 (eval $ac_try) 2>&5
38930 ac_status=$?
38931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38932 (exit $ac_status); }; } &&
38933 { ac_try='test -s conftest.$ac_objext'
38934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38935 (eval $ac_try) 2>&5
38936 ac_status=$?
38937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38938 (exit $ac_status); }; }; then
38939 echo "$as_me:$LINENO: result: yes" >&5
38940 echo "${ECHO_T}yes" >&6
38941 cat >>confdefs.h <<\_ACEOF
38942 #define HAVE_KNOWN_CDROM_INTERFACE 1
38943 _ACEOF
38944
38945 else
38946 echo "$as_me: failed program was:" >&5
38947 sed 's/^/| /' conftest.$ac_ext >&5
38948
38949 echo "$as_me:$LINENO: result: no" >&5
38950 echo "${ECHO_T}no" >&6
38951 fi
38952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38953
38954
38955 cat >confcache <<\_ACEOF
38956 # This file is a shell script that caches the results of configure
38957 # tests run on this system so they can be shared between configure
38958 # scripts and configure runs, see configure's option --config-cache.
38959 # It is not useful on other systems. If it contains results you don't
38960 # want to keep, you may remove or edit it.
38961 #
38962 # config.status only pays attention to the cache file if you give it
38963 # the --recheck option to rerun configure.
38964 #
38965 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38966 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38967 # following values.
38968
38969 _ACEOF
38970
38971 # The following way of writing the cache mishandles newlines in values,
38972 # but we know of no workaround that is simple, portable, and efficient.
38973 # So, don't put newlines in cache variables' values.
38974 # Ultrix sh set writes to stderr and can't be redirected directly,
38975 # and sets the high bit in the cache file unless we assign to the vars.
38976 {
38977 (set) 2>&1 |
38978 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38979 *ac_space=\ *)
38980 # `set' does not quote correctly, so add quotes (double-quote
38981 # substitution turns \\\\ into \\, and sed turns \\ into \).
38982 sed -n \
38983 "s/'/'\\\\''/g;
38984 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38985 ;;
38986 *)
38987 # `set' quotes correctly as required by POSIX, so do not add quotes.
38988 sed -n \
38989 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38990 ;;
38991 esac;
38992 } |
38993 sed '
38994 t clear
38995 : clear
38996 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38997 t end
38998 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38999 : end' >>confcache
39000 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39001 if test -w $cache_file; then
39002 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39003 cat confcache >$cache_file
39004 else
39005 echo "not updating unwritable cache $cache_file"
39006 fi
39007 fi
39008 rm -f confcache
39009
39010
39011 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39012
39013
39014 THREADS_LINK=
39015 THREADS_CXXFLAGS=
39016
39017 if test "$wxUSE_THREADS" = "yes" ; then
39018 if test "$USE_BEOS" = 1; then
39019 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39020 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39021 wxUSE_THREADS="no"
39022 fi
39023 fi
39024
39025 if test "$wxUSE_THREADS" = "yes" ; then
39026
39027
39028 THREAD_OPTS="-pthread"
39029 case "${host}" in
39030 *-*-solaris2* | *-*-sunos4* )
39031 if test "x$GCC" = "xyes"; then
39032 THREAD_OPTS="-pthreads $THREAD_OPTS"
39033 else
39034 THREAD_OPTS="-mt $THREAD_OPTS"
39035 fi
39036 ;;
39037 *-*-freebsd*)
39038 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39039 ;;
39040 *-*-darwin* | *-*-cygwin* )
39041 THREAD_OPTS=""
39042 ;;
39043 *-*-aix*)
39044 THREAD_OPTS="pthreads"
39045 ;;
39046 *-hp-hpux* )
39047 if test "x$GCC" = "xyes"; then
39048 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39049 THREAD_OPTS=""
39050 else
39051 THREAD_OPTS="-mt"
39052 fi
39053 ;;
39054
39055 *-*-irix* )
39056 if test "x$GCC" = "xyes"; then
39057 THREAD_OPTS=""
39058 fi
39059 ;;
39060
39061 *-*-*UnixWare*)
39062 if test "x$GCC" != "xyes"; then
39063 THREAD_OPTS="-Ethread"
39064 fi
39065 ;;
39066 esac
39067
39068 THREAD_OPTS="$THREAD_OPTS pthread none"
39069
39070 THREADS_OK=no
39071 for flag in $THREAD_OPTS; do
39072 case $flag in
39073 none)
39074 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39075 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39076 ;;
39077
39078 -*)
39079 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39080 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39081 THREADS_CXXFLAGS="$flag"
39082 ;;
39083
39084 *)
39085 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39086 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39087 THREADS_LINK="-l$flag"
39088 ;;
39089 esac
39090
39091 save_LIBS="$LIBS"
39092 save_CXXFLAGS="$CXXFLAGS"
39093 LIBS="$THREADS_LINK $LIBS"
39094 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39095
39096 cat >conftest.$ac_ext <<_ACEOF
39097 /* confdefs.h. */
39098 _ACEOF
39099 cat confdefs.h >>conftest.$ac_ext
39100 cat >>conftest.$ac_ext <<_ACEOF
39101 /* end confdefs.h. */
39102 #include <pthread.h>
39103 int
39104 main ()
39105 {
39106 pthread_create(0,0,0,0);
39107 ;
39108 return 0;
39109 }
39110 _ACEOF
39111 rm -f conftest.$ac_objext conftest$ac_exeext
39112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39113 (eval $ac_link) 2>conftest.er1
39114 ac_status=$?
39115 grep -v '^ *+' conftest.er1 >conftest.err
39116 rm -f conftest.er1
39117 cat conftest.err >&5
39118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119 (exit $ac_status); } &&
39120 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39122 (eval $ac_try) 2>&5
39123 ac_status=$?
39124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39125 (exit $ac_status); }; } &&
39126 { ac_try='test -s conftest$ac_exeext'
39127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39128 (eval $ac_try) 2>&5
39129 ac_status=$?
39130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39131 (exit $ac_status); }; }; then
39132 THREADS_OK=yes
39133 else
39134 echo "$as_me: failed program was:" >&5
39135 sed 's/^/| /' conftest.$ac_ext >&5
39136
39137 fi
39138 rm -f conftest.err conftest.$ac_objext \
39139 conftest$ac_exeext conftest.$ac_ext
39140
39141 LIBS="$save_LIBS"
39142 CXXFLAGS="$save_CXXFLAGS"
39143
39144 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39145 echo "${ECHO_T}$THREADS_OK" >&6
39146 if test "x$THREADS_OK" = "xyes"; then
39147 break;
39148 fi
39149
39150 THREADS_LINK=""
39151 THREADS_CXXFLAGS=""
39152 done
39153
39154 if test "x$THREADS_OK" != "xyes"; then
39155 wxUSE_THREADS=no
39156 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39157 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39158 else
39159 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39160 LIBS="$THREADS_LINK $LIBS"
39161
39162 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39163 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39164 flag=no
39165 case "${host}" in
39166 *-aix*)
39167 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39168 flag="-D_THREAD_SAFE"
39169 ;;
39170 *-freebsd*)
39171 flag="-D_THREAD_SAFE"
39172 ;;
39173 *-hp-hpux* )
39174 flag="-D_REENTRANT"
39175 if test "x$GCC" != "xyes"; then
39176 flag="$flag -D_RWSTD_MULTI_THREAD"
39177 fi
39178 ;;
39179 *solaris* | alpha*-osf*)
39180 flag="-D_REENTRANT"
39181 ;;
39182 esac
39183 echo "$as_me:$LINENO: result: ${flag}" >&5
39184 echo "${ECHO_T}${flag}" >&6
39185 if test "x$flag" != xno; then
39186 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39187 fi
39188
39189 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39190 fi
39191 fi
39192
39193 if test "$wxUSE_THREADS" = "yes" ; then
39194
39195 for ac_func in thr_setconcurrency
39196 do
39197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39198 echo "$as_me:$LINENO: checking for $ac_func" >&5
39199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39200 if eval "test \"\${$as_ac_var+set}\" = set"; then
39201 echo $ECHO_N "(cached) $ECHO_C" >&6
39202 else
39203 cat >conftest.$ac_ext <<_ACEOF
39204 /* confdefs.h. */
39205 _ACEOF
39206 cat confdefs.h >>conftest.$ac_ext
39207 cat >>conftest.$ac_ext <<_ACEOF
39208 /* end confdefs.h. */
39209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39211 #define $ac_func innocuous_$ac_func
39212
39213 /* System header to define __stub macros and hopefully few prototypes,
39214 which can conflict with char $ac_func (); below.
39215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39216 <limits.h> exists even on freestanding compilers. */
39217
39218 #ifdef __STDC__
39219 # include <limits.h>
39220 #else
39221 # include <assert.h>
39222 #endif
39223
39224 #undef $ac_func
39225
39226 /* Override any gcc2 internal prototype to avoid an error. */
39227 #ifdef __cplusplus
39228 extern "C"
39229 {
39230 #endif
39231 /* We use char because int might match the return type of a gcc2
39232 builtin and then its argument prototype would still apply. */
39233 char $ac_func ();
39234 /* The GNU C library defines this for functions which it implements
39235 to always fail with ENOSYS. Some functions are actually named
39236 something starting with __ and the normal name is an alias. */
39237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39238 choke me
39239 #else
39240 char (*f) () = $ac_func;
39241 #endif
39242 #ifdef __cplusplus
39243 }
39244 #endif
39245
39246 int
39247 main ()
39248 {
39249 return f != $ac_func;
39250 ;
39251 return 0;
39252 }
39253 _ACEOF
39254 rm -f conftest.$ac_objext conftest$ac_exeext
39255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39256 (eval $ac_link) 2>conftest.er1
39257 ac_status=$?
39258 grep -v '^ *+' conftest.er1 >conftest.err
39259 rm -f conftest.er1
39260 cat conftest.err >&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } &&
39263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39265 (eval $ac_try) 2>&5
39266 ac_status=$?
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); }; } &&
39269 { ac_try='test -s conftest$ac_exeext'
39270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39271 (eval $ac_try) 2>&5
39272 ac_status=$?
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); }; }; then
39275 eval "$as_ac_var=yes"
39276 else
39277 echo "$as_me: failed program was:" >&5
39278 sed 's/^/| /' conftest.$ac_ext >&5
39279
39280 eval "$as_ac_var=no"
39281 fi
39282 rm -f conftest.err conftest.$ac_objext \
39283 conftest$ac_exeext conftest.$ac_ext
39284 fi
39285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39287 if test `eval echo '${'$as_ac_var'}'` = yes; then
39288 cat >>confdefs.h <<_ACEOF
39289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39290 _ACEOF
39291
39292 fi
39293 done
39294
39295
39296 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39297 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39298 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39299 echo $ECHO_N "(cached) $ECHO_C" >&6
39300 else
39301
39302 cat >conftest.$ac_ext <<_ACEOF
39303 /* confdefs.h. */
39304 _ACEOF
39305 cat confdefs.h >>conftest.$ac_ext
39306 cat >>conftest.$ac_ext <<_ACEOF
39307 /* end confdefs.h. */
39308 #include <pthread.h>
39309 void ThreadCleanupFunc(void *p);
39310
39311 int
39312 main ()
39313 {
39314
39315 void *p;
39316 pthread_cleanup_push(ThreadCleanupFunc, p);
39317 pthread_cleanup_pop(0);
39318
39319 ;
39320 return 0;
39321 }
39322 _ACEOF
39323 rm -f conftest.$ac_objext
39324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39325 (eval $ac_compile) 2>conftest.er1
39326 ac_status=$?
39327 grep -v '^ *+' conftest.er1 >conftest.err
39328 rm -f conftest.er1
39329 cat conftest.err >&5
39330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39331 (exit $ac_status); } &&
39332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39334 (eval $ac_try) 2>&5
39335 ac_status=$?
39336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39337 (exit $ac_status); }; } &&
39338 { ac_try='test -s conftest.$ac_objext'
39339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39340 (eval $ac_try) 2>&5
39341 ac_status=$?
39342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39343 (exit $ac_status); }; }; then
39344
39345 wx_cv_func_pthread_cleanup=yes
39346
39347 else
39348 echo "$as_me: failed program was:" >&5
39349 sed 's/^/| /' conftest.$ac_ext >&5
39350
39351
39352 wx_cv_func_pthread_cleanup=no
39353
39354
39355 fi
39356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39357
39358 fi
39359 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39360 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39361 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39362 cat >>confdefs.h <<\_ACEOF
39363 #define wxHAVE_PTHREAD_CLEANUP 1
39364 _ACEOF
39365
39366 fi
39367
39368
39369 for ac_header in sched.h
39370 do
39371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39373 echo "$as_me:$LINENO: checking for $ac_header" >&5
39374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39376 echo $ECHO_N "(cached) $ECHO_C" >&6
39377 fi
39378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39380 else
39381 # Is the header compilable?
39382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39384 cat >conftest.$ac_ext <<_ACEOF
39385 /* confdefs.h. */
39386 _ACEOF
39387 cat confdefs.h >>conftest.$ac_ext
39388 cat >>conftest.$ac_ext <<_ACEOF
39389 /* end confdefs.h. */
39390 $ac_includes_default
39391 #include <$ac_header>
39392 _ACEOF
39393 rm -f conftest.$ac_objext
39394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39395 (eval $ac_compile) 2>conftest.er1
39396 ac_status=$?
39397 grep -v '^ *+' conftest.er1 >conftest.err
39398 rm -f conftest.er1
39399 cat conftest.err >&5
39400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401 (exit $ac_status); } &&
39402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39404 (eval $ac_try) 2>&5
39405 ac_status=$?
39406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39407 (exit $ac_status); }; } &&
39408 { ac_try='test -s conftest.$ac_objext'
39409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39410 (eval $ac_try) 2>&5
39411 ac_status=$?
39412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39413 (exit $ac_status); }; }; then
39414 ac_header_compiler=yes
39415 else
39416 echo "$as_me: failed program was:" >&5
39417 sed 's/^/| /' conftest.$ac_ext >&5
39418
39419 ac_header_compiler=no
39420 fi
39421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39423 echo "${ECHO_T}$ac_header_compiler" >&6
39424
39425 # Is the header present?
39426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39428 cat >conftest.$ac_ext <<_ACEOF
39429 /* confdefs.h. */
39430 _ACEOF
39431 cat confdefs.h >>conftest.$ac_ext
39432 cat >>conftest.$ac_ext <<_ACEOF
39433 /* end confdefs.h. */
39434 #include <$ac_header>
39435 _ACEOF
39436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39438 ac_status=$?
39439 grep -v '^ *+' conftest.er1 >conftest.err
39440 rm -f conftest.er1
39441 cat conftest.err >&5
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); } >/dev/null; then
39444 if test -s conftest.err; then
39445 ac_cpp_err=$ac_cxx_preproc_warn_flag
39446 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39447 else
39448 ac_cpp_err=
39449 fi
39450 else
39451 ac_cpp_err=yes
39452 fi
39453 if test -z "$ac_cpp_err"; then
39454 ac_header_preproc=yes
39455 else
39456 echo "$as_me: failed program was:" >&5
39457 sed 's/^/| /' conftest.$ac_ext >&5
39458
39459 ac_header_preproc=no
39460 fi
39461 rm -f conftest.err conftest.$ac_ext
39462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39463 echo "${ECHO_T}$ac_header_preproc" >&6
39464
39465 # So? What about this header?
39466 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39467 yes:no: )
39468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39472 ac_header_preproc=yes
39473 ;;
39474 no:yes:* )
39475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39487 (
39488 cat <<\_ASBOX
39489 ## ----------------------------------------- ##
39490 ## Report this to wx-dev@lists.wxwidgets.org ##
39491 ## ----------------------------------------- ##
39492 _ASBOX
39493 ) |
39494 sed "s/^/$as_me: WARNING: /" >&2
39495 ;;
39496 esac
39497 echo "$as_me:$LINENO: checking for $ac_header" >&5
39498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39500 echo $ECHO_N "(cached) $ECHO_C" >&6
39501 else
39502 eval "$as_ac_Header=\$ac_header_preproc"
39503 fi
39504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39506
39507 fi
39508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39509 cat >>confdefs.h <<_ACEOF
39510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39511 _ACEOF
39512
39513 fi
39514
39515 done
39516
39517 if test "$ac_cv_header_sched_h" = "yes"; then
39518 echo "$as_me:$LINENO: checking for sched_yield" >&5
39519 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39520 if test "${ac_cv_func_sched_yield+set}" = set; then
39521 echo $ECHO_N "(cached) $ECHO_C" >&6
39522 else
39523 cat >conftest.$ac_ext <<_ACEOF
39524 /* confdefs.h. */
39525 _ACEOF
39526 cat confdefs.h >>conftest.$ac_ext
39527 cat >>conftest.$ac_ext <<_ACEOF
39528 /* end confdefs.h. */
39529 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39531 #define sched_yield innocuous_sched_yield
39532
39533 /* System header to define __stub macros and hopefully few prototypes,
39534 which can conflict with char sched_yield (); below.
39535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39536 <limits.h> exists even on freestanding compilers. */
39537
39538 #ifdef __STDC__
39539 # include <limits.h>
39540 #else
39541 # include <assert.h>
39542 #endif
39543
39544 #undef sched_yield
39545
39546 /* Override any gcc2 internal prototype to avoid an error. */
39547 #ifdef __cplusplus
39548 extern "C"
39549 {
39550 #endif
39551 /* We use char because int might match the return type of a gcc2
39552 builtin and then its argument prototype would still apply. */
39553 char sched_yield ();
39554 /* The GNU C library defines this for functions which it implements
39555 to always fail with ENOSYS. Some functions are actually named
39556 something starting with __ and the normal name is an alias. */
39557 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39558 choke me
39559 #else
39560 char (*f) () = sched_yield;
39561 #endif
39562 #ifdef __cplusplus
39563 }
39564 #endif
39565
39566 int
39567 main ()
39568 {
39569 return f != sched_yield;
39570 ;
39571 return 0;
39572 }
39573 _ACEOF
39574 rm -f conftest.$ac_objext conftest$ac_exeext
39575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39576 (eval $ac_link) 2>conftest.er1
39577 ac_status=$?
39578 grep -v '^ *+' conftest.er1 >conftest.err
39579 rm -f conftest.er1
39580 cat conftest.err >&5
39581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39582 (exit $ac_status); } &&
39583 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39585 (eval $ac_try) 2>&5
39586 ac_status=$?
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); }; } &&
39589 { ac_try='test -s conftest$ac_exeext'
39590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39591 (eval $ac_try) 2>&5
39592 ac_status=$?
39593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39594 (exit $ac_status); }; }; then
39595 ac_cv_func_sched_yield=yes
39596 else
39597 echo "$as_me: failed program was:" >&5
39598 sed 's/^/| /' conftest.$ac_ext >&5
39599
39600 ac_cv_func_sched_yield=no
39601 fi
39602 rm -f conftest.err conftest.$ac_objext \
39603 conftest$ac_exeext conftest.$ac_ext
39604 fi
39605 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39606 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39607 if test $ac_cv_func_sched_yield = yes; then
39608 cat >>confdefs.h <<\_ACEOF
39609 #define HAVE_SCHED_YIELD 1
39610 _ACEOF
39611
39612 else
39613
39614 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39615 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39616 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39617 echo $ECHO_N "(cached) $ECHO_C" >&6
39618 else
39619 ac_check_lib_save_LIBS=$LIBS
39620 LIBS="-lposix4 $LIBS"
39621 cat >conftest.$ac_ext <<_ACEOF
39622 /* confdefs.h. */
39623 _ACEOF
39624 cat confdefs.h >>conftest.$ac_ext
39625 cat >>conftest.$ac_ext <<_ACEOF
39626 /* end confdefs.h. */
39627
39628 /* Override any gcc2 internal prototype to avoid an error. */
39629 #ifdef __cplusplus
39630 extern "C"
39631 #endif
39632 /* We use char because int might match the return type of a gcc2
39633 builtin and then its argument prototype would still apply. */
39634 char sched_yield ();
39635 int
39636 main ()
39637 {
39638 sched_yield ();
39639 ;
39640 return 0;
39641 }
39642 _ACEOF
39643 rm -f conftest.$ac_objext conftest$ac_exeext
39644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39645 (eval $ac_link) 2>conftest.er1
39646 ac_status=$?
39647 grep -v '^ *+' conftest.er1 >conftest.err
39648 rm -f conftest.er1
39649 cat conftest.err >&5
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); } &&
39652 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654 (eval $ac_try) 2>&5
39655 ac_status=$?
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); }; } &&
39658 { ac_try='test -s conftest$ac_exeext'
39659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39660 (eval $ac_try) 2>&5
39661 ac_status=$?
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); }; }; then
39664 ac_cv_lib_posix4_sched_yield=yes
39665 else
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.$ac_ext >&5
39668
39669 ac_cv_lib_posix4_sched_yield=no
39670 fi
39671 rm -f conftest.err conftest.$ac_objext \
39672 conftest$ac_exeext conftest.$ac_ext
39673 LIBS=$ac_check_lib_save_LIBS
39674 fi
39675 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39676 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39677 if test $ac_cv_lib_posix4_sched_yield = yes; then
39678 cat >>confdefs.h <<\_ACEOF
39679 #define HAVE_SCHED_YIELD 1
39680 _ACEOF
39681 POSIX4_LINK=" -lposix4"
39682 else
39683 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39684 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39685
39686 fi
39687
39688
39689
39690 fi
39691
39692 fi
39693
39694 HAVE_PRIOR_FUNCS=0
39695 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39696 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39697 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39698 echo $ECHO_N "(cached) $ECHO_C" >&6
39699 else
39700 cat >conftest.$ac_ext <<_ACEOF
39701 /* confdefs.h. */
39702 _ACEOF
39703 cat confdefs.h >>conftest.$ac_ext
39704 cat >>conftest.$ac_ext <<_ACEOF
39705 /* end confdefs.h. */
39706 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39708 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39709
39710 /* System header to define __stub macros and hopefully few prototypes,
39711 which can conflict with char pthread_attr_getschedpolicy (); below.
39712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39713 <limits.h> exists even on freestanding compilers. */
39714
39715 #ifdef __STDC__
39716 # include <limits.h>
39717 #else
39718 # include <assert.h>
39719 #endif
39720
39721 #undef pthread_attr_getschedpolicy
39722
39723 /* Override any gcc2 internal prototype to avoid an error. */
39724 #ifdef __cplusplus
39725 extern "C"
39726 {
39727 #endif
39728 /* We use char because int might match the return type of a gcc2
39729 builtin and then its argument prototype would still apply. */
39730 char pthread_attr_getschedpolicy ();
39731 /* The GNU C library defines this for functions which it implements
39732 to always fail with ENOSYS. Some functions are actually named
39733 something starting with __ and the normal name is an alias. */
39734 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39735 choke me
39736 #else
39737 char (*f) () = pthread_attr_getschedpolicy;
39738 #endif
39739 #ifdef __cplusplus
39740 }
39741 #endif
39742
39743 int
39744 main ()
39745 {
39746 return f != pthread_attr_getschedpolicy;
39747 ;
39748 return 0;
39749 }
39750 _ACEOF
39751 rm -f conftest.$ac_objext conftest$ac_exeext
39752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39753 (eval $ac_link) 2>conftest.er1
39754 ac_status=$?
39755 grep -v '^ *+' conftest.er1 >conftest.err
39756 rm -f conftest.er1
39757 cat conftest.err >&5
39758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39759 (exit $ac_status); } &&
39760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39762 (eval $ac_try) 2>&5
39763 ac_status=$?
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); }; } &&
39766 { ac_try='test -s conftest$ac_exeext'
39767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39768 (eval $ac_try) 2>&5
39769 ac_status=$?
39770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39771 (exit $ac_status); }; }; then
39772 ac_cv_func_pthread_attr_getschedpolicy=yes
39773 else
39774 echo "$as_me: failed program was:" >&5
39775 sed 's/^/| /' conftest.$ac_ext >&5
39776
39777 ac_cv_func_pthread_attr_getschedpolicy=no
39778 fi
39779 rm -f conftest.err conftest.$ac_objext \
39780 conftest$ac_exeext conftest.$ac_ext
39781 fi
39782 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39783 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39784 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39785 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39786 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39787 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39788 echo $ECHO_N "(cached) $ECHO_C" >&6
39789 else
39790 cat >conftest.$ac_ext <<_ACEOF
39791 /* confdefs.h. */
39792 _ACEOF
39793 cat confdefs.h >>conftest.$ac_ext
39794 cat >>conftest.$ac_ext <<_ACEOF
39795 /* end confdefs.h. */
39796 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39798 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39799
39800 /* System header to define __stub macros and hopefully few prototypes,
39801 which can conflict with char pthread_attr_setschedparam (); below.
39802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39803 <limits.h> exists even on freestanding compilers. */
39804
39805 #ifdef __STDC__
39806 # include <limits.h>
39807 #else
39808 # include <assert.h>
39809 #endif
39810
39811 #undef pthread_attr_setschedparam
39812
39813 /* Override any gcc2 internal prototype to avoid an error. */
39814 #ifdef __cplusplus
39815 extern "C"
39816 {
39817 #endif
39818 /* We use char because int might match the return type of a gcc2
39819 builtin and then its argument prototype would still apply. */
39820 char pthread_attr_setschedparam ();
39821 /* The GNU C library defines this for functions which it implements
39822 to always fail with ENOSYS. Some functions are actually named
39823 something starting with __ and the normal name is an alias. */
39824 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39825 choke me
39826 #else
39827 char (*f) () = pthread_attr_setschedparam;
39828 #endif
39829 #ifdef __cplusplus
39830 }
39831 #endif
39832
39833 int
39834 main ()
39835 {
39836 return f != pthread_attr_setschedparam;
39837 ;
39838 return 0;
39839 }
39840 _ACEOF
39841 rm -f conftest.$ac_objext conftest$ac_exeext
39842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39843 (eval $ac_link) 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_cxx_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_exeext'
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_pthread_attr_setschedparam=yes
39863 else
39864 echo "$as_me: failed program was:" >&5
39865 sed 's/^/| /' conftest.$ac_ext >&5
39866
39867 ac_cv_func_pthread_attr_setschedparam=no
39868 fi
39869 rm -f conftest.err conftest.$ac_objext \
39870 conftest$ac_exeext conftest.$ac_ext
39871 fi
39872 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39873 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39874 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39875 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39876 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39877 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39878 echo $ECHO_N "(cached) $ECHO_C" >&6
39879 else
39880 cat >conftest.$ac_ext <<_ACEOF
39881 /* confdefs.h. */
39882 _ACEOF
39883 cat confdefs.h >>conftest.$ac_ext
39884 cat >>conftest.$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39886 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39888 #define sched_get_priority_max innocuous_sched_get_priority_max
39889
39890 /* System header to define __stub macros and hopefully few prototypes,
39891 which can conflict with char sched_get_priority_max (); below.
39892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39893 <limits.h> exists even on freestanding compilers. */
39894
39895 #ifdef __STDC__
39896 # include <limits.h>
39897 #else
39898 # include <assert.h>
39899 #endif
39900
39901 #undef sched_get_priority_max
39902
39903 /* Override any gcc2 internal prototype to avoid an error. */
39904 #ifdef __cplusplus
39905 extern "C"
39906 {
39907 #endif
39908 /* We use char because int might match the return type of a gcc2
39909 builtin and then its argument prototype would still apply. */
39910 char sched_get_priority_max ();
39911 /* The GNU C library defines this for functions which it implements
39912 to always fail with ENOSYS. Some functions are actually named
39913 something starting with __ and the normal name is an alias. */
39914 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39915 choke me
39916 #else
39917 char (*f) () = sched_get_priority_max;
39918 #endif
39919 #ifdef __cplusplus
39920 }
39921 #endif
39922
39923 int
39924 main ()
39925 {
39926 return f != sched_get_priority_max;
39927 ;
39928 return 0;
39929 }
39930 _ACEOF
39931 rm -f conftest.$ac_objext conftest$ac_exeext
39932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39933 (eval $ac_link) 2>conftest.er1
39934 ac_status=$?
39935 grep -v '^ *+' conftest.er1 >conftest.err
39936 rm -f conftest.er1
39937 cat conftest.err >&5
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); } &&
39940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39942 (eval $ac_try) 2>&5
39943 ac_status=$?
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); }; } &&
39946 { ac_try='test -s conftest$ac_exeext'
39947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39948 (eval $ac_try) 2>&5
39949 ac_status=$?
39950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39951 (exit $ac_status); }; }; then
39952 ac_cv_func_sched_get_priority_max=yes
39953 else
39954 echo "$as_me: failed program was:" >&5
39955 sed 's/^/| /' conftest.$ac_ext >&5
39956
39957 ac_cv_func_sched_get_priority_max=no
39958 fi
39959 rm -f conftest.err conftest.$ac_objext \
39960 conftest$ac_exeext conftest.$ac_ext
39961 fi
39962 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39963 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39964 if test $ac_cv_func_sched_get_priority_max = yes; then
39965 HAVE_PRIOR_FUNCS=1
39966 else
39967 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39968 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39969 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39970 echo $ECHO_N "(cached) $ECHO_C" >&6
39971 else
39972 ac_check_lib_save_LIBS=$LIBS
39973 LIBS="-lposix4 $LIBS"
39974 cat >conftest.$ac_ext <<_ACEOF
39975 /* confdefs.h. */
39976 _ACEOF
39977 cat confdefs.h >>conftest.$ac_ext
39978 cat >>conftest.$ac_ext <<_ACEOF
39979 /* end confdefs.h. */
39980
39981 /* Override any gcc2 internal prototype to avoid an error. */
39982 #ifdef __cplusplus
39983 extern "C"
39984 #endif
39985 /* We use char because int might match the return type of a gcc2
39986 builtin and then its argument prototype would still apply. */
39987 char sched_get_priority_max ();
39988 int
39989 main ()
39990 {
39991 sched_get_priority_max ();
39992 ;
39993 return 0;
39994 }
39995 _ACEOF
39996 rm -f conftest.$ac_objext conftest$ac_exeext
39997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39998 (eval $ac_link) 2>conftest.er1
39999 ac_status=$?
40000 grep -v '^ *+' conftest.er1 >conftest.err
40001 rm -f conftest.er1
40002 cat conftest.err >&5
40003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40004 (exit $ac_status); } &&
40005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40007 (eval $ac_try) 2>&5
40008 ac_status=$?
40009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40010 (exit $ac_status); }; } &&
40011 { ac_try='test -s conftest$ac_exeext'
40012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40013 (eval $ac_try) 2>&5
40014 ac_status=$?
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); }; }; then
40017 ac_cv_lib_posix4_sched_get_priority_max=yes
40018 else
40019 echo "$as_me: failed program was:" >&5
40020 sed 's/^/| /' conftest.$ac_ext >&5
40021
40022 ac_cv_lib_posix4_sched_get_priority_max=no
40023 fi
40024 rm -f conftest.err conftest.$ac_objext \
40025 conftest$ac_exeext conftest.$ac_ext
40026 LIBS=$ac_check_lib_save_LIBS
40027 fi
40028 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40029 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40030 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40031
40032 HAVE_PRIOR_FUNCS=1
40033 POSIX4_LINK=" -lposix4"
40034
40035 fi
40036
40037
40038 fi
40039
40040
40041 fi
40042
40043
40044 fi
40045
40046
40047 if test "$HAVE_PRIOR_FUNCS" = 1; then
40048 cat >>confdefs.h <<\_ACEOF
40049 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40050 _ACEOF
40051
40052 else
40053 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40054 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40055 fi
40056
40057 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40058 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40059 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40060 echo $ECHO_N "(cached) $ECHO_C" >&6
40061 else
40062 cat >conftest.$ac_ext <<_ACEOF
40063 /* confdefs.h. */
40064 _ACEOF
40065 cat confdefs.h >>conftest.$ac_ext
40066 cat >>conftest.$ac_ext <<_ACEOF
40067 /* end confdefs.h. */
40068 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40070 #define pthread_cancel innocuous_pthread_cancel
40071
40072 /* System header to define __stub macros and hopefully few prototypes,
40073 which can conflict with char pthread_cancel (); below.
40074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40075 <limits.h> exists even on freestanding compilers. */
40076
40077 #ifdef __STDC__
40078 # include <limits.h>
40079 #else
40080 # include <assert.h>
40081 #endif
40082
40083 #undef pthread_cancel
40084
40085 /* Override any gcc2 internal prototype to avoid an error. */
40086 #ifdef __cplusplus
40087 extern "C"
40088 {
40089 #endif
40090 /* We use char because int might match the return type of a gcc2
40091 builtin and then its argument prototype would still apply. */
40092 char pthread_cancel ();
40093 /* The GNU C library defines this for functions which it implements
40094 to always fail with ENOSYS. Some functions are actually named
40095 something starting with __ and the normal name is an alias. */
40096 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40097 choke me
40098 #else
40099 char (*f) () = pthread_cancel;
40100 #endif
40101 #ifdef __cplusplus
40102 }
40103 #endif
40104
40105 int
40106 main ()
40107 {
40108 return f != pthread_cancel;
40109 ;
40110 return 0;
40111 }
40112 _ACEOF
40113 rm -f conftest.$ac_objext conftest$ac_exeext
40114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40115 (eval $ac_link) 2>conftest.er1
40116 ac_status=$?
40117 grep -v '^ *+' conftest.er1 >conftest.err
40118 rm -f conftest.er1
40119 cat conftest.err >&5
40120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40121 (exit $ac_status); } &&
40122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40124 (eval $ac_try) 2>&5
40125 ac_status=$?
40126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127 (exit $ac_status); }; } &&
40128 { ac_try='test -s conftest$ac_exeext'
40129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40130 (eval $ac_try) 2>&5
40131 ac_status=$?
40132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133 (exit $ac_status); }; }; then
40134 ac_cv_func_pthread_cancel=yes
40135 else
40136 echo "$as_me: failed program was:" >&5
40137 sed 's/^/| /' conftest.$ac_ext >&5
40138
40139 ac_cv_func_pthread_cancel=no
40140 fi
40141 rm -f conftest.err conftest.$ac_objext \
40142 conftest$ac_exeext conftest.$ac_ext
40143 fi
40144 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40145 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40146 if test $ac_cv_func_pthread_cancel = yes; then
40147 cat >>confdefs.h <<\_ACEOF
40148 #define HAVE_PTHREAD_CANCEL 1
40149 _ACEOF
40150
40151 else
40152 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40153 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40154 fi
40155
40156
40157 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40158 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40159 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40160 echo $ECHO_N "(cached) $ECHO_C" >&6
40161 else
40162 cat >conftest.$ac_ext <<_ACEOF
40163 /* confdefs.h. */
40164 _ACEOF
40165 cat confdefs.h >>conftest.$ac_ext
40166 cat >>conftest.$ac_ext <<_ACEOF
40167 /* end confdefs.h. */
40168 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40170 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40171
40172 /* System header to define __stub macros and hopefully few prototypes,
40173 which can conflict with char pthread_attr_setstacksize (); below.
40174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40175 <limits.h> exists even on freestanding compilers. */
40176
40177 #ifdef __STDC__
40178 # include <limits.h>
40179 #else
40180 # include <assert.h>
40181 #endif
40182
40183 #undef pthread_attr_setstacksize
40184
40185 /* Override any gcc2 internal prototype to avoid an error. */
40186 #ifdef __cplusplus
40187 extern "C"
40188 {
40189 #endif
40190 /* We use char because int might match the return type of a gcc2
40191 builtin and then its argument prototype would still apply. */
40192 char pthread_attr_setstacksize ();
40193 /* The GNU C library defines this for functions which it implements
40194 to always fail with ENOSYS. Some functions are actually named
40195 something starting with __ and the normal name is an alias. */
40196 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40197 choke me
40198 #else
40199 char (*f) () = pthread_attr_setstacksize;
40200 #endif
40201 #ifdef __cplusplus
40202 }
40203 #endif
40204
40205 int
40206 main ()
40207 {
40208 return f != pthread_attr_setstacksize;
40209 ;
40210 return 0;
40211 }
40212 _ACEOF
40213 rm -f conftest.$ac_objext conftest$ac_exeext
40214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40215 (eval $ac_link) 2>conftest.er1
40216 ac_status=$?
40217 grep -v '^ *+' conftest.er1 >conftest.err
40218 rm -f conftest.er1
40219 cat conftest.err >&5
40220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40221 (exit $ac_status); } &&
40222 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40224 (eval $ac_try) 2>&5
40225 ac_status=$?
40226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40227 (exit $ac_status); }; } &&
40228 { ac_try='test -s conftest$ac_exeext'
40229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40230 (eval $ac_try) 2>&5
40231 ac_status=$?
40232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40233 (exit $ac_status); }; }; then
40234 ac_cv_func_pthread_attr_setstacksize=yes
40235 else
40236 echo "$as_me: failed program was:" >&5
40237 sed 's/^/| /' conftest.$ac_ext >&5
40238
40239 ac_cv_func_pthread_attr_setstacksize=no
40240 fi
40241 rm -f conftest.err conftest.$ac_objext \
40242 conftest$ac_exeext conftest.$ac_ext
40243 fi
40244 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40245 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40246 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40247 cat >>confdefs.h <<\_ACEOF
40248 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40249 _ACEOF
40250
40251 fi
40252
40253
40254
40255 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40256 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40257 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40258 echo $ECHO_N "(cached) $ECHO_C" >&6
40259 else
40260
40261 cat >conftest.$ac_ext <<_ACEOF
40262 /* confdefs.h. */
40263 _ACEOF
40264 cat confdefs.h >>conftest.$ac_ext
40265 cat >>conftest.$ac_ext <<_ACEOF
40266 /* end confdefs.h. */
40267 #include <pthread.h>
40268 int
40269 main ()
40270 {
40271
40272 pthread_mutexattr_t attr;
40273 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40274
40275 ;
40276 return 0;
40277 }
40278 _ACEOF
40279 rm -f conftest.$ac_objext
40280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40281 (eval $ac_compile) 2>conftest.er1
40282 ac_status=$?
40283 grep -v '^ *+' conftest.er1 >conftest.err
40284 rm -f conftest.er1
40285 cat conftest.err >&5
40286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40287 (exit $ac_status); } &&
40288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40290 (eval $ac_try) 2>&5
40291 ac_status=$?
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); }; } &&
40294 { ac_try='test -s conftest.$ac_objext'
40295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40296 (eval $ac_try) 2>&5
40297 ac_status=$?
40298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40299 (exit $ac_status); }; }; then
40300 wx_cv_type_pthread_mutexattr_t=yes
40301 else
40302 echo "$as_me: failed program was:" >&5
40303 sed 's/^/| /' conftest.$ac_ext >&5
40304
40305 wx_cv_type_pthread_mutexattr_t=no
40306
40307 fi
40308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40309
40310 fi
40311 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40312 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40313
40314 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40315 cat >>confdefs.h <<\_ACEOF
40316 #define HAVE_PTHREAD_MUTEXATTR_T 1
40317 _ACEOF
40318
40319
40320 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40321 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40322 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40323 echo $ECHO_N "(cached) $ECHO_C" >&6
40324 else
40325
40326 cat >conftest.$ac_ext <<_ACEOF
40327 /* confdefs.h. */
40328 _ACEOF
40329 cat confdefs.h >>conftest.$ac_ext
40330 cat >>conftest.$ac_ext <<_ACEOF
40331 /* end confdefs.h. */
40332 #include <pthread.h>
40333 int
40334 main ()
40335 {
40336
40337 pthread_mutexattr_t attr;
40338 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40339
40340 ;
40341 return 0;
40342 }
40343 _ACEOF
40344 rm -f conftest.$ac_objext
40345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40346 (eval $ac_compile) 2>conftest.er1
40347 ac_status=$?
40348 grep -v '^ *+' conftest.er1 >conftest.err
40349 rm -f conftest.er1
40350 cat conftest.err >&5
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); } &&
40353 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40355 (eval $ac_try) 2>&5
40356 ac_status=$?
40357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40358 (exit $ac_status); }; } &&
40359 { ac_try='test -s conftest.$ac_objext'
40360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40361 (eval $ac_try) 2>&5
40362 ac_status=$?
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); }; }; then
40365 wx_cv_func_pthread_mutexattr_settype_decl=yes
40366 else
40367 echo "$as_me: failed program was:" >&5
40368 sed 's/^/| /' conftest.$ac_ext >&5
40369
40370 wx_cv_func_pthread_mutexattr_settype_decl=no
40371
40372 fi
40373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40374
40375 fi
40376 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40377 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40378 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40379 cat >>confdefs.h <<\_ACEOF
40380 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40381 _ACEOF
40382
40383 fi
40384 else
40385 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40386 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40387 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40388 echo $ECHO_N "(cached) $ECHO_C" >&6
40389 else
40390
40391 cat >conftest.$ac_ext <<_ACEOF
40392 /* confdefs.h. */
40393 _ACEOF
40394 cat confdefs.h >>conftest.$ac_ext
40395 cat >>conftest.$ac_ext <<_ACEOF
40396 /* end confdefs.h. */
40397 #include <pthread.h>
40398 int
40399 main ()
40400 {
40401
40402 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40403
40404 ;
40405 return 0;
40406 }
40407 _ACEOF
40408 rm -f conftest.$ac_objext
40409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40410 (eval $ac_compile) 2>conftest.er1
40411 ac_status=$?
40412 grep -v '^ *+' conftest.er1 >conftest.err
40413 rm -f conftest.er1
40414 cat conftest.err >&5
40415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40416 (exit $ac_status); } &&
40417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40419 (eval $ac_try) 2>&5
40420 ac_status=$?
40421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40422 (exit $ac_status); }; } &&
40423 { ac_try='test -s conftest.$ac_objext'
40424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40425 (eval $ac_try) 2>&5
40426 ac_status=$?
40427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40428 (exit $ac_status); }; }; then
40429
40430 wx_cv_type_pthread_rec_mutex_init=yes
40431
40432 else
40433 echo "$as_me: failed program was:" >&5
40434 sed 's/^/| /' conftest.$ac_ext >&5
40435
40436
40437 wx_cv_type_pthread_rec_mutex_init=no
40438
40439
40440 fi
40441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40442
40443 fi
40444 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40445 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40446 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40447 cat >>confdefs.h <<\_ACEOF
40448 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40449 _ACEOF
40450
40451 else
40452 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40453 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40454 fi
40455 fi
40456 fi
40457
40458 else
40459 if test "$wxUSE_THREADS" = "yes" ; then
40460 case "${host}" in
40461 *-*-mingw32* )
40462 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40463 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40464 if test "${wx_cv_cflags_mthread+set}" = set; then
40465 echo $ECHO_N "(cached) $ECHO_C" >&6
40466 else
40467
40468 CXXFLAGS_OLD="$CXXFLAGS"
40469 CXXFLAGS="-mthreads $CXXFLAGS"
40470 cat >conftest.$ac_ext <<_ACEOF
40471 /* confdefs.h. */
40472 _ACEOF
40473 cat confdefs.h >>conftest.$ac_ext
40474 cat >>conftest.$ac_ext <<_ACEOF
40475 /* end confdefs.h. */
40476
40477 int
40478 main ()
40479 {
40480
40481 ;
40482 return 0;
40483 }
40484 _ACEOF
40485 rm -f conftest.$ac_objext
40486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40487 (eval $ac_compile) 2>conftest.er1
40488 ac_status=$?
40489 grep -v '^ *+' conftest.er1 >conftest.err
40490 rm -f conftest.er1
40491 cat conftest.err >&5
40492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40493 (exit $ac_status); } &&
40494 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40496 (eval $ac_try) 2>&5
40497 ac_status=$?
40498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499 (exit $ac_status); }; } &&
40500 { ac_try='test -s conftest.$ac_objext'
40501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40502 (eval $ac_try) 2>&5
40503 ac_status=$?
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); }; }; then
40506 wx_cv_cflags_mthread=yes
40507 else
40508 echo "$as_me: failed program was:" >&5
40509 sed 's/^/| /' conftest.$ac_ext >&5
40510
40511 wx_cv_cflags_mthread=no
40512
40513 fi
40514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40515
40516
40517 fi
40518 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40519 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40520
40521 if test "$wx_cv_cflags_mthread" = "yes"; then
40522 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40523 LDFLAGS="$LDFLAGS -mthreads"
40524 else
40525 CXXFLAGS="$CXXFLAGS_OLD"
40526 fi
40527 ;;
40528 *-pc-os2*emx )
40529 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40530 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40531 LDFLAGS="$LDFLAGS -Zmt"
40532 ;;
40533 esac
40534 fi
40535 fi
40536
40537 echo "$as_me:$LINENO: checking for localtime_r" >&5
40538 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40539 if test "${ac_cv_func_localtime_r+set}" = set; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40541 else
40542 cat >conftest.$ac_ext <<_ACEOF
40543 /* confdefs.h. */
40544 _ACEOF
40545 cat confdefs.h >>conftest.$ac_ext
40546 cat >>conftest.$ac_ext <<_ACEOF
40547 /* end confdefs.h. */
40548 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40550 #define localtime_r innocuous_localtime_r
40551
40552 /* System header to define __stub macros and hopefully few prototypes,
40553 which can conflict with char localtime_r (); below.
40554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40555 <limits.h> exists even on freestanding compilers. */
40556
40557 #ifdef __STDC__
40558 # include <limits.h>
40559 #else
40560 # include <assert.h>
40561 #endif
40562
40563 #undef localtime_r
40564
40565 /* Override any gcc2 internal prototype to avoid an error. */
40566 #ifdef __cplusplus
40567 extern "C"
40568 {
40569 #endif
40570 /* We use char because int might match the return type of a gcc2
40571 builtin and then its argument prototype would still apply. */
40572 char localtime_r ();
40573 /* The GNU C library defines this for functions which it implements
40574 to always fail with ENOSYS. Some functions are actually named
40575 something starting with __ and the normal name is an alias. */
40576 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40577 choke me
40578 #else
40579 char (*f) () = localtime_r;
40580 #endif
40581 #ifdef __cplusplus
40582 }
40583 #endif
40584
40585 int
40586 main ()
40587 {
40588 return f != localtime_r;
40589 ;
40590 return 0;
40591 }
40592 _ACEOF
40593 rm -f conftest.$ac_objext conftest$ac_exeext
40594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40595 (eval $ac_link) 2>conftest.er1
40596 ac_status=$?
40597 grep -v '^ *+' conftest.er1 >conftest.err
40598 rm -f conftest.er1
40599 cat conftest.err >&5
40600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601 (exit $ac_status); } &&
40602 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
40608 { ac_try='test -s conftest$ac_exeext'
40609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40610 (eval $ac_try) 2>&5
40611 ac_status=$?
40612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40613 (exit $ac_status); }; }; then
40614 ac_cv_func_localtime_r=yes
40615 else
40616 echo "$as_me: failed program was:" >&5
40617 sed 's/^/| /' conftest.$ac_ext >&5
40618
40619 ac_cv_func_localtime_r=no
40620 fi
40621 rm -f conftest.err conftest.$ac_objext \
40622 conftest$ac_exeext conftest.$ac_ext
40623 fi
40624 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40625 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40626 if test $ac_cv_func_localtime_r = yes; then
40627 cat >>confdefs.h <<\_ACEOF
40628 #define HAVE_LOCALTIME_R 1
40629 _ACEOF
40630
40631 fi
40632
40633 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40634 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40635 if test "${ac_cv_func_gmtime_r+set}" = set; then
40636 echo $ECHO_N "(cached) $ECHO_C" >&6
40637 else
40638 cat >conftest.$ac_ext <<_ACEOF
40639 /* confdefs.h. */
40640 _ACEOF
40641 cat confdefs.h >>conftest.$ac_ext
40642 cat >>conftest.$ac_ext <<_ACEOF
40643 /* end confdefs.h. */
40644 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40646 #define gmtime_r innocuous_gmtime_r
40647
40648 /* System header to define __stub macros and hopefully few prototypes,
40649 which can conflict with char gmtime_r (); below.
40650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40651 <limits.h> exists even on freestanding compilers. */
40652
40653 #ifdef __STDC__
40654 # include <limits.h>
40655 #else
40656 # include <assert.h>
40657 #endif
40658
40659 #undef gmtime_r
40660
40661 /* Override any gcc2 internal prototype to avoid an error. */
40662 #ifdef __cplusplus
40663 extern "C"
40664 {
40665 #endif
40666 /* We use char because int might match the return type of a gcc2
40667 builtin and then its argument prototype would still apply. */
40668 char gmtime_r ();
40669 /* The GNU C library defines this for functions which it implements
40670 to always fail with ENOSYS. Some functions are actually named
40671 something starting with __ and the normal name is an alias. */
40672 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40673 choke me
40674 #else
40675 char (*f) () = gmtime_r;
40676 #endif
40677 #ifdef __cplusplus
40678 }
40679 #endif
40680
40681 int
40682 main ()
40683 {
40684 return f != gmtime_r;
40685 ;
40686 return 0;
40687 }
40688 _ACEOF
40689 rm -f conftest.$ac_objext conftest$ac_exeext
40690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40691 (eval $ac_link) 2>conftest.er1
40692 ac_status=$?
40693 grep -v '^ *+' conftest.er1 >conftest.err
40694 rm -f conftest.er1
40695 cat conftest.err >&5
40696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697 (exit $ac_status); } &&
40698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40700 (eval $ac_try) 2>&5
40701 ac_status=$?
40702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703 (exit $ac_status); }; } &&
40704 { ac_try='test -s conftest$ac_exeext'
40705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40706 (eval $ac_try) 2>&5
40707 ac_status=$?
40708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40709 (exit $ac_status); }; }; then
40710 ac_cv_func_gmtime_r=yes
40711 else
40712 echo "$as_me: failed program was:" >&5
40713 sed 's/^/| /' conftest.$ac_ext >&5
40714
40715 ac_cv_func_gmtime_r=no
40716 fi
40717 rm -f conftest.err conftest.$ac_objext \
40718 conftest$ac_exeext conftest.$ac_ext
40719 fi
40720 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40721 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40722 if test $ac_cv_func_gmtime_r = yes; then
40723 cat >>confdefs.h <<\_ACEOF
40724 #define HAVE_GMTIME_R 1
40725 _ACEOF
40726
40727 fi
40728
40729 echo "$as_me:$LINENO: checking for readdir_r" >&5
40730 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40731 if test "${ac_cv_func_readdir_r+set}" = set; then
40732 echo $ECHO_N "(cached) $ECHO_C" >&6
40733 else
40734 cat >conftest.$ac_ext <<_ACEOF
40735 /* confdefs.h. */
40736 _ACEOF
40737 cat confdefs.h >>conftest.$ac_ext
40738 cat >>conftest.$ac_ext <<_ACEOF
40739 /* end confdefs.h. */
40740 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40742 #define readdir_r innocuous_readdir_r
40743
40744 /* System header to define __stub macros and hopefully few prototypes,
40745 which can conflict with char readdir_r (); below.
40746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40747 <limits.h> exists even on freestanding compilers. */
40748
40749 #ifdef __STDC__
40750 # include <limits.h>
40751 #else
40752 # include <assert.h>
40753 #endif
40754
40755 #undef readdir_r
40756
40757 /* Override any gcc2 internal prototype to avoid an error. */
40758 #ifdef __cplusplus
40759 extern "C"
40760 {
40761 #endif
40762 /* We use char because int might match the return type of a gcc2
40763 builtin and then its argument prototype would still apply. */
40764 char readdir_r ();
40765 /* The GNU C library defines this for functions which it implements
40766 to always fail with ENOSYS. Some functions are actually named
40767 something starting with __ and the normal name is an alias. */
40768 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40769 choke me
40770 #else
40771 char (*f) () = readdir_r;
40772 #endif
40773 #ifdef __cplusplus
40774 }
40775 #endif
40776
40777 int
40778 main ()
40779 {
40780 return f != readdir_r;
40781 ;
40782 return 0;
40783 }
40784 _ACEOF
40785 rm -f conftest.$ac_objext conftest$ac_exeext
40786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40787 (eval $ac_link) 2>conftest.er1
40788 ac_status=$?
40789 grep -v '^ *+' conftest.er1 >conftest.err
40790 rm -f conftest.er1
40791 cat conftest.err >&5
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); } &&
40794 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40796 (eval $ac_try) 2>&5
40797 ac_status=$?
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); }; } &&
40800 { ac_try='test -s conftest$ac_exeext'
40801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40802 (eval $ac_try) 2>&5
40803 ac_status=$?
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); }; }; then
40806 ac_cv_func_readdir_r=yes
40807 else
40808 echo "$as_me: failed program was:" >&5
40809 sed 's/^/| /' conftest.$ac_ext >&5
40810
40811 ac_cv_func_readdir_r=no
40812 fi
40813 rm -f conftest.err conftest.$ac_objext \
40814 conftest$ac_exeext conftest.$ac_ext
40815 fi
40816 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40817 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40818 if test $ac_cv_func_readdir_r = yes; then
40819 cat >>confdefs.h <<\_ACEOF
40820 #define HAVE_READDIR_R 1
40821 _ACEOF
40822
40823 fi
40824
40825
40826
40827
40828 ac_ext=c
40829 ac_cpp='$CPP $CPPFLAGS'
40830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40833
40834 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40835 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40836
40837 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40838 echo $ECHO_N "(cached) $ECHO_C" >&6
40839 else
40840
40841
40842 ################################################################
40843
40844 ac_cv_func_which_gethostbyname_r=unknown
40845
40846 #
40847 # ONE ARGUMENT (sanity check)
40848 #
40849
40850 # This should fail, as there is no variant of gethostbyname_r() that takes
40851 # a single argument. If it actually compiles, then we can assume that
40852 # netdb.h is not declaring the function, and the compiler is thereby
40853 # assuming an implicit prototype. In which case, we're out of luck.
40854 #
40855 cat >conftest.$ac_ext <<_ACEOF
40856 /* confdefs.h. */
40857 _ACEOF
40858 cat confdefs.h >>conftest.$ac_ext
40859 cat >>conftest.$ac_ext <<_ACEOF
40860 /* end confdefs.h. */
40861 #include <netdb.h>
40862 int
40863 main ()
40864 {
40865
40866 char *name = "www.gnu.org";
40867 (void)gethostbyname_r(name) /* ; */
40868
40869 ;
40870 return 0;
40871 }
40872 _ACEOF
40873 rm -f conftest.$ac_objext
40874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40875 (eval $ac_compile) 2>conftest.er1
40876 ac_status=$?
40877 grep -v '^ *+' conftest.er1 >conftest.err
40878 rm -f conftest.er1
40879 cat conftest.err >&5
40880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40881 (exit $ac_status); } &&
40882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40884 (eval $ac_try) 2>&5
40885 ac_status=$?
40886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40887 (exit $ac_status); }; } &&
40888 { ac_try='test -s conftest.$ac_objext'
40889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40890 (eval $ac_try) 2>&5
40891 ac_status=$?
40892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40893 (exit $ac_status); }; }; then
40894 ac_cv_func_which_gethostbyname_r=no
40895 else
40896 echo "$as_me: failed program was:" >&5
40897 sed 's/^/| /' conftest.$ac_ext >&5
40898
40899 fi
40900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40901
40902 #
40903 # SIX ARGUMENTS
40904 # (e.g. Linux)
40905 #
40906
40907 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40908
40909 cat >conftest.$ac_ext <<_ACEOF
40910 /* confdefs.h. */
40911 _ACEOF
40912 cat confdefs.h >>conftest.$ac_ext
40913 cat >>conftest.$ac_ext <<_ACEOF
40914 /* end confdefs.h. */
40915 #include <netdb.h>
40916 int
40917 main ()
40918 {
40919
40920 char *name = "www.gnu.org";
40921 struct hostent ret, *retp;
40922 char buf[1024];
40923 int buflen = 1024;
40924 int my_h_errno;
40925 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40926
40927 ;
40928 return 0;
40929 }
40930 _ACEOF
40931 rm -f conftest.$ac_objext
40932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40933 (eval $ac_compile) 2>conftest.er1
40934 ac_status=$?
40935 grep -v '^ *+' conftest.er1 >conftest.err
40936 rm -f conftest.er1
40937 cat conftest.err >&5
40938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40939 (exit $ac_status); } &&
40940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40942 (eval $ac_try) 2>&5
40943 ac_status=$?
40944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40945 (exit $ac_status); }; } &&
40946 { ac_try='test -s conftest.$ac_objext'
40947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40948 (eval $ac_try) 2>&5
40949 ac_status=$?
40950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40951 (exit $ac_status); }; }; then
40952 ac_cv_func_which_gethostbyname_r=six
40953 else
40954 echo "$as_me: failed program was:" >&5
40955 sed 's/^/| /' conftest.$ac_ext >&5
40956
40957 fi
40958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40959
40960 fi
40961
40962 #
40963 # FIVE ARGUMENTS
40964 # (e.g. Solaris)
40965 #
40966
40967 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40968
40969 cat >conftest.$ac_ext <<_ACEOF
40970 /* confdefs.h. */
40971 _ACEOF
40972 cat confdefs.h >>conftest.$ac_ext
40973 cat >>conftest.$ac_ext <<_ACEOF
40974 /* end confdefs.h. */
40975 #include <netdb.h>
40976 int
40977 main ()
40978 {
40979
40980 char *name = "www.gnu.org";
40981 struct hostent ret;
40982 char buf[1024];
40983 int buflen = 1024;
40984 int my_h_errno;
40985 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40986
40987 ;
40988 return 0;
40989 }
40990 _ACEOF
40991 rm -f conftest.$ac_objext
40992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40993 (eval $ac_compile) 2>conftest.er1
40994 ac_status=$?
40995 grep -v '^ *+' conftest.er1 >conftest.err
40996 rm -f conftest.er1
40997 cat conftest.err >&5
40998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999 (exit $ac_status); } &&
41000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41002 (eval $ac_try) 2>&5
41003 ac_status=$?
41004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41005 (exit $ac_status); }; } &&
41006 { ac_try='test -s conftest.$ac_objext'
41007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41008 (eval $ac_try) 2>&5
41009 ac_status=$?
41010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41011 (exit $ac_status); }; }; then
41012 ac_cv_func_which_gethostbyname_r=five
41013 else
41014 echo "$as_me: failed program was:" >&5
41015 sed 's/^/| /' conftest.$ac_ext >&5
41016
41017 fi
41018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41019
41020 fi
41021
41022 #
41023 # THREE ARGUMENTS
41024 # (e.g. AIX, HP-UX, Tru64)
41025 #
41026
41027 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41028
41029 cat >conftest.$ac_ext <<_ACEOF
41030 /* confdefs.h. */
41031 _ACEOF
41032 cat confdefs.h >>conftest.$ac_ext
41033 cat >>conftest.$ac_ext <<_ACEOF
41034 /* end confdefs.h. */
41035 #include <netdb.h>
41036 int
41037 main ()
41038 {
41039
41040 char *name = "www.gnu.org";
41041 struct hostent ret;
41042 struct hostent_data data;
41043 (void)gethostbyname_r(name, &ret, &data) /* ; */
41044
41045 ;
41046 return 0;
41047 }
41048 _ACEOF
41049 rm -f conftest.$ac_objext
41050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41051 (eval $ac_compile) 2>conftest.er1
41052 ac_status=$?
41053 grep -v '^ *+' conftest.er1 >conftest.err
41054 rm -f conftest.er1
41055 cat conftest.err >&5
41056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41057 (exit $ac_status); } &&
41058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41060 (eval $ac_try) 2>&5
41061 ac_status=$?
41062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41063 (exit $ac_status); }; } &&
41064 { ac_try='test -s conftest.$ac_objext'
41065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41066 (eval $ac_try) 2>&5
41067 ac_status=$?
41068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41069 (exit $ac_status); }; }; then
41070 ac_cv_func_which_gethostbyname_r=three
41071 else
41072 echo "$as_me: failed program was:" >&5
41073 sed 's/^/| /' conftest.$ac_ext >&5
41074
41075 fi
41076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41077
41078 fi
41079
41080 ################################################################
41081
41082
41083 fi
41084
41085 case "$ac_cv_func_which_gethostbyname_r" in
41086 three)
41087 echo "$as_me:$LINENO: result: three" >&5
41088 echo "${ECHO_T}three" >&6
41089 cat >>confdefs.h <<\_ACEOF
41090 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41091 _ACEOF
41092
41093 ;;
41094
41095 five)
41096 echo "$as_me:$LINENO: result: five" >&5
41097 echo "${ECHO_T}five" >&6
41098 cat >>confdefs.h <<\_ACEOF
41099 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41100 _ACEOF
41101
41102 ;;
41103
41104 six)
41105 echo "$as_me:$LINENO: result: six" >&5
41106 echo "${ECHO_T}six" >&6
41107 cat >>confdefs.h <<\_ACEOF
41108 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41109 _ACEOF
41110
41111 ;;
41112
41113 no)
41114 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41115 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41116 ;;
41117
41118 unknown)
41119 echo "$as_me:$LINENO: result: can't tell" >&5
41120 echo "${ECHO_T}can't tell" >&6
41121 ;;
41122
41123 *)
41124 { { echo "$as_me:$LINENO: error: internal error" >&5
41125 echo "$as_me: error: internal error" >&2;}
41126 { (exit 1); exit 1; }; }
41127 ;;
41128 esac
41129
41130 ac_ext=cc
41131 ac_cpp='$CXXCPP $CPPFLAGS'
41132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41135
41136
41137
41138 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41139 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41140 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41141 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41142 if test "${ac_cv_func_gethostbyname+set}" = set; then
41143 echo $ECHO_N "(cached) $ECHO_C" >&6
41144 else
41145 cat >conftest.$ac_ext <<_ACEOF
41146 /* confdefs.h. */
41147 _ACEOF
41148 cat confdefs.h >>conftest.$ac_ext
41149 cat >>conftest.$ac_ext <<_ACEOF
41150 /* end confdefs.h. */
41151 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41153 #define gethostbyname innocuous_gethostbyname
41154
41155 /* System header to define __stub macros and hopefully few prototypes,
41156 which can conflict with char gethostbyname (); below.
41157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41158 <limits.h> exists even on freestanding compilers. */
41159
41160 #ifdef __STDC__
41161 # include <limits.h>
41162 #else
41163 # include <assert.h>
41164 #endif
41165
41166 #undef gethostbyname
41167
41168 /* Override any gcc2 internal prototype to avoid an error. */
41169 #ifdef __cplusplus
41170 extern "C"
41171 {
41172 #endif
41173 /* We use char because int might match the return type of a gcc2
41174 builtin and then its argument prototype would still apply. */
41175 char gethostbyname ();
41176 /* The GNU C library defines this for functions which it implements
41177 to always fail with ENOSYS. Some functions are actually named
41178 something starting with __ and the normal name is an alias. */
41179 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41180 choke me
41181 #else
41182 char (*f) () = gethostbyname;
41183 #endif
41184 #ifdef __cplusplus
41185 }
41186 #endif
41187
41188 int
41189 main ()
41190 {
41191 return f != gethostbyname;
41192 ;
41193 return 0;
41194 }
41195 _ACEOF
41196 rm -f conftest.$ac_objext conftest$ac_exeext
41197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41198 (eval $ac_link) 2>conftest.er1
41199 ac_status=$?
41200 grep -v '^ *+' conftest.er1 >conftest.err
41201 rm -f conftest.er1
41202 cat conftest.err >&5
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); } &&
41205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41207 (eval $ac_try) 2>&5
41208 ac_status=$?
41209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41210 (exit $ac_status); }; } &&
41211 { ac_try='test -s conftest$ac_exeext'
41212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41213 (eval $ac_try) 2>&5
41214 ac_status=$?
41215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41216 (exit $ac_status); }; }; then
41217 ac_cv_func_gethostbyname=yes
41218 else
41219 echo "$as_me: failed program was:" >&5
41220 sed 's/^/| /' conftest.$ac_ext >&5
41221
41222 ac_cv_func_gethostbyname=no
41223 fi
41224 rm -f conftest.err conftest.$ac_objext \
41225 conftest$ac_exeext conftest.$ac_ext
41226 fi
41227 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41228 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41229 if test $ac_cv_func_gethostbyname = yes; then
41230 cat >>confdefs.h <<\_ACEOF
41231 #define HAVE_GETHOSTBYNAME 1
41232 _ACEOF
41233
41234 fi
41235
41236 fi
41237
41238 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41239 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41240 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41241 echo $ECHO_N "(cached) $ECHO_C" >&6
41242 else
41243
41244 cat >conftest.$ac_ext <<_ACEOF
41245 /* confdefs.h. */
41246 _ACEOF
41247 cat confdefs.h >>conftest.$ac_ext
41248 cat >>conftest.$ac_ext <<_ACEOF
41249 /* end confdefs.h. */
41250 #include <netdb.h>
41251 int
41252 main ()
41253 {
41254
41255 char *name;
41256 char *proto;
41257 struct servent *se, *res;
41258 char buffer[2048];
41259 int buflen = 2048;
41260 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41261
41262 ;
41263 return 0;
41264 }
41265 _ACEOF
41266 rm -f conftest.$ac_objext
41267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41268 (eval $ac_compile) 2>conftest.er1
41269 ac_status=$?
41270 grep -v '^ *+' conftest.er1 >conftest.err
41271 rm -f conftest.er1
41272 cat conftest.err >&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); } &&
41275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41277 (eval $ac_try) 2>&5
41278 ac_status=$?
41279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41280 (exit $ac_status); }; } &&
41281 { ac_try='test -s conftest.$ac_objext'
41282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41283 (eval $ac_try) 2>&5
41284 ac_status=$?
41285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41286 (exit $ac_status); }; }; then
41287 ac_cv_func_which_getservbyname_r=six
41288 else
41289 echo "$as_me: failed program was:" >&5
41290 sed 's/^/| /' conftest.$ac_ext >&5
41291
41292
41293 cat >conftest.$ac_ext <<_ACEOF
41294 /* confdefs.h. */
41295 _ACEOF
41296 cat confdefs.h >>conftest.$ac_ext
41297 cat >>conftest.$ac_ext <<_ACEOF
41298 /* end confdefs.h. */
41299 #include <netdb.h>
41300 int
41301 main ()
41302 {
41303
41304 char *name;
41305 char *proto;
41306 struct servent *se;
41307 char buffer[2048];
41308 int buflen = 2048;
41309 (void) getservbyname_r(name, proto, se, buffer, buflen)
41310
41311 ;
41312 return 0;
41313 }
41314 _ACEOF
41315 rm -f conftest.$ac_objext
41316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41317 (eval $ac_compile) 2>conftest.er1
41318 ac_status=$?
41319 grep -v '^ *+' conftest.er1 >conftest.err
41320 rm -f conftest.er1
41321 cat conftest.err >&5
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); } &&
41324 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41326 (eval $ac_try) 2>&5
41327 ac_status=$?
41328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41329 (exit $ac_status); }; } &&
41330 { ac_try='test -s conftest.$ac_objext'
41331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41332 (eval $ac_try) 2>&5
41333 ac_status=$?
41334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41335 (exit $ac_status); }; }; then
41336 ac_cv_func_which_getservbyname_r=five
41337 else
41338 echo "$as_me: failed program was:" >&5
41339 sed 's/^/| /' conftest.$ac_ext >&5
41340
41341
41342 cat >conftest.$ac_ext <<_ACEOF
41343 /* confdefs.h. */
41344 _ACEOF
41345 cat confdefs.h >>conftest.$ac_ext
41346 cat >>conftest.$ac_ext <<_ACEOF
41347 /* end confdefs.h. */
41348 #include <netdb.h>
41349 int
41350 main ()
41351 {
41352
41353 char *name;
41354 char *proto;
41355 struct servent *se;
41356 struct servent_data data;
41357 (void) getservbyname_r(name, proto, se, &data);
41358
41359 ;
41360 return 0;
41361 }
41362 _ACEOF
41363 rm -f conftest.$ac_objext
41364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41365 (eval $ac_compile) 2>conftest.er1
41366 ac_status=$?
41367 grep -v '^ *+' conftest.er1 >conftest.err
41368 rm -f conftest.er1
41369 cat conftest.err >&5
41370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371 (exit $ac_status); } &&
41372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41374 (eval $ac_try) 2>&5
41375 ac_status=$?
41376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41377 (exit $ac_status); }; } &&
41378 { ac_try='test -s conftest.$ac_objext'
41379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41380 (eval $ac_try) 2>&5
41381 ac_status=$?
41382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41383 (exit $ac_status); }; }; then
41384 ac_cv_func_which_getservbyname_r=four
41385 else
41386 echo "$as_me: failed program was:" >&5
41387 sed 's/^/| /' conftest.$ac_ext >&5
41388
41389 ac_cv_func_which_getservbyname_r=no
41390
41391 fi
41392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41393
41394
41395 fi
41396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41397
41398
41399 fi
41400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41401
41402
41403 fi
41404 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41405 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41406
41407 if test $ac_cv_func_which_getservbyname_r = six; then
41408 cat >>confdefs.h <<\_ACEOF
41409 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41410 _ACEOF
41411
41412 elif test $ac_cv_func_which_getservbyname_r = five; then
41413 cat >>confdefs.h <<\_ACEOF
41414 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41415 _ACEOF
41416
41417 elif test $ac_cv_func_which_getservbyname_r = four; then
41418 cat >>confdefs.h <<\_ACEOF
41419 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41420 _ACEOF
41421
41422 fi
41423
41424
41425 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41426 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41427
41428 for ac_func in getservbyname
41429 do
41430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41431 echo "$as_me:$LINENO: checking for $ac_func" >&5
41432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41433 if eval "test \"\${$as_ac_var+set}\" = set"; then
41434 echo $ECHO_N "(cached) $ECHO_C" >&6
41435 else
41436 cat >conftest.$ac_ext <<_ACEOF
41437 /* confdefs.h. */
41438 _ACEOF
41439 cat confdefs.h >>conftest.$ac_ext
41440 cat >>conftest.$ac_ext <<_ACEOF
41441 /* end confdefs.h. */
41442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41444 #define $ac_func innocuous_$ac_func
41445
41446 /* System header to define __stub macros and hopefully few prototypes,
41447 which can conflict with char $ac_func (); below.
41448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41449 <limits.h> exists even on freestanding compilers. */
41450
41451 #ifdef __STDC__
41452 # include <limits.h>
41453 #else
41454 # include <assert.h>
41455 #endif
41456
41457 #undef $ac_func
41458
41459 /* Override any gcc2 internal prototype to avoid an error. */
41460 #ifdef __cplusplus
41461 extern "C"
41462 {
41463 #endif
41464 /* We use char because int might match the return type of a gcc2
41465 builtin and then its argument prototype would still apply. */
41466 char $ac_func ();
41467 /* The GNU C library defines this for functions which it implements
41468 to always fail with ENOSYS. Some functions are actually named
41469 something starting with __ and the normal name is an alias. */
41470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41471 choke me
41472 #else
41473 char (*f) () = $ac_func;
41474 #endif
41475 #ifdef __cplusplus
41476 }
41477 #endif
41478
41479 int
41480 main ()
41481 {
41482 return f != $ac_func;
41483 ;
41484 return 0;
41485 }
41486 _ACEOF
41487 rm -f conftest.$ac_objext conftest$ac_exeext
41488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41489 (eval $ac_link) 2>conftest.er1
41490 ac_status=$?
41491 grep -v '^ *+' conftest.er1 >conftest.err
41492 rm -f conftest.er1
41493 cat conftest.err >&5
41494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41495 (exit $ac_status); } &&
41496 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41498 (eval $ac_try) 2>&5
41499 ac_status=$?
41500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501 (exit $ac_status); }; } &&
41502 { ac_try='test -s conftest$ac_exeext'
41503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41504 (eval $ac_try) 2>&5
41505 ac_status=$?
41506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41507 (exit $ac_status); }; }; then
41508 eval "$as_ac_var=yes"
41509 else
41510 echo "$as_me: failed program was:" >&5
41511 sed 's/^/| /' conftest.$ac_ext >&5
41512
41513 eval "$as_ac_var=no"
41514 fi
41515 rm -f conftest.err conftest.$ac_objext \
41516 conftest$ac_exeext conftest.$ac_ext
41517 fi
41518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41520 if test `eval echo '${'$as_ac_var'}'` = yes; then
41521 cat >>confdefs.h <<_ACEOF
41522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41523 _ACEOF
41524 cat >>confdefs.h <<\_ACEOF
41525 #define HAVE_GETSERVBYNAME 1
41526 _ACEOF
41527
41528 fi
41529 done
41530
41531 fi
41532
41533 if test "$wxUSE_THREADS" = "yes"; then
41534 cat >>confdefs.h <<\_ACEOF
41535 #define wxUSE_THREADS 1
41536 _ACEOF
41537
41538
41539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41540 else
41541 if test "$wx_cv_func_strtok_r" = "yes"; then
41542 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41543 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41544 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41545 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41546 echo "$as_me:$LINENO: result: yes" >&5
41547 echo "${ECHO_T}yes" >&6
41548 else
41549 echo "$as_me:$LINENO: result: no" >&5
41550 echo "${ECHO_T}no" >&6
41551 fi
41552 fi
41553 fi
41554
41555 if test "$WXGTK20" = 1 ; then
41556 cat >>confdefs.h <<_ACEOF
41557 #define __WXGTK20__ $WXGTK20
41558 _ACEOF
41559
41560 WXGTK12=1
41561 fi
41562
41563 if test "$WXGTK12" = 1 ; then
41564 cat >>confdefs.h <<_ACEOF
41565 #define __WXGTK12__ $WXGTK12
41566 _ACEOF
41567
41568 fi
41569
41570 if test "$WXGTK127" = 1 ; then
41571 cat >>confdefs.h <<_ACEOF
41572 #define __WXGTK127__ $WXGTK127
41573 _ACEOF
41574
41575 fi
41576
41577 if test "$WXGPE" = 1 ; then
41578 cat >>confdefs.h <<_ACEOF
41579 #define __WXGPE__ $WXGPE
41580 _ACEOF
41581
41582 fi
41583
41584 DEBUG_CFLAGS=
41585 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41586 DEBUG_CFLAGS="-g"
41587 wxUSE_OPTIMISE=no
41588 fi
41589
41590 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41591 wxUSE_DEBUG_INFO=yes
41592 if test "$GCC" = yes; then
41593 DEBUG_CFLAGS="-ggdb"
41594 fi
41595 fi
41596
41597 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41598 cat >>confdefs.h <<\_ACEOF
41599 #define WXDEBUG 1
41600 _ACEOF
41601
41602 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41603 else
41604 if test "$wxUSE_GTK" = 1 ; then
41605 if test "x$wxGTK_VERSION" = "x1" ; then
41606 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41607 fi
41608 fi
41609 fi
41610
41611 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41612 cat >>confdefs.h <<\_ACEOF
41613 #define wxUSE_MEMORY_TRACING 1
41614 _ACEOF
41615
41616 cat >>confdefs.h <<\_ACEOF
41617 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41618 _ACEOF
41619
41620 cat >>confdefs.h <<\_ACEOF
41621 #define wxUSE_DEBUG_NEW_ALWAYS 1
41622 _ACEOF
41623
41624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41625 fi
41626
41627 if test "$wxUSE_DMALLOC" = "yes" ; then
41628 DMALLOC_LIBS="-ldmallocthcxx"
41629 fi
41630
41631 PROFILE_FLAGS=
41632 if test "$wxUSE_PROFILE" = "yes" ; then
41633 PROFILE_FLAGS=" -pg"
41634 fi
41635
41636 if test "$GCC" = "yes" ; then
41637 if test "$wxUSE_NO_RTTI" = "yes" ; then
41638 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41639 fi
41640 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41641 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41642 fi
41643 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41644 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41645 fi
41646
41647 case "${host}" in
41648 powerpc*-*-aix* )
41649 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41650 ;;
41651 *-hppa* )
41652 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41653 ;;
41654 esac
41655 fi
41656
41657 OPTIMISE_CFLAGS=
41658 if test "$wxUSE_OPTIMISE" = "no" ; then
41659 if test "$GCC" = yes ; then
41660 OPTIMISE_CFLAGS="-O0"
41661 fi
41662 else
41663 if test "$GCC" = yes ; then
41664 case "${host}" in
41665 *-pc-os2_emx | *-pc-os2-emx )
41666 OPTIMISE_CFLAGS="-O2"
41667 ;;
41668 *)
41669 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41670 ;;
41671 esac
41672 else
41673 OPTIMISE_CFLAGS="-O"
41674 fi
41675 fi
41676
41677
41678 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41679 cat >>confdefs.h <<\_ACEOF
41680 #define WXWIN_COMPATIBILITY_2_4 1
41681 _ACEOF
41682
41683
41684 WXWIN_COMPATIBILITY_2_6="yes"
41685 fi
41686
41687 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41688 cat >>confdefs.h <<\_ACEOF
41689 #define WXWIN_COMPATIBILITY_2_6 1
41690 _ACEOF
41691
41692 fi
41693
41694
41695 if test "$wxUSE_GUI" = "yes"; then
41696 cat >>confdefs.h <<\_ACEOF
41697 #define wxUSE_GUI 1
41698 _ACEOF
41699
41700
41701 fi
41702
41703
41704 if test "$wxUSE_UNIX" = "yes"; then
41705 cat >>confdefs.h <<\_ACEOF
41706 #define wxUSE_UNIX 1
41707 _ACEOF
41708
41709 fi
41710
41711
41712 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41713
41714 HAVE_DL_FUNCS=0
41715 HAVE_SHL_FUNCS=0
41716 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41717 if test "$USE_DARWIN" = 1; then
41718 HAVE_DL_FUNCS=1
41719 elif test "$USE_DOS" = 1; then
41720 HAVE_DL_FUNCS=0
41721 else
41722
41723 for ac_func in dlopen
41724 do
41725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41726 echo "$as_me:$LINENO: checking for $ac_func" >&5
41727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41728 if eval "test \"\${$as_ac_var+set}\" = set"; then
41729 echo $ECHO_N "(cached) $ECHO_C" >&6
41730 else
41731 cat >conftest.$ac_ext <<_ACEOF
41732 /* confdefs.h. */
41733 _ACEOF
41734 cat confdefs.h >>conftest.$ac_ext
41735 cat >>conftest.$ac_ext <<_ACEOF
41736 /* end confdefs.h. */
41737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41739 #define $ac_func innocuous_$ac_func
41740
41741 /* System header to define __stub macros and hopefully few prototypes,
41742 which can conflict with char $ac_func (); below.
41743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41744 <limits.h> exists even on freestanding compilers. */
41745
41746 #ifdef __STDC__
41747 # include <limits.h>
41748 #else
41749 # include <assert.h>
41750 #endif
41751
41752 #undef $ac_func
41753
41754 /* Override any gcc2 internal prototype to avoid an error. */
41755 #ifdef __cplusplus
41756 extern "C"
41757 {
41758 #endif
41759 /* We use char because int might match the return type of a gcc2
41760 builtin and then its argument prototype would still apply. */
41761 char $ac_func ();
41762 /* The GNU C library defines this for functions which it implements
41763 to always fail with ENOSYS. Some functions are actually named
41764 something starting with __ and the normal name is an alias. */
41765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41766 choke me
41767 #else
41768 char (*f) () = $ac_func;
41769 #endif
41770 #ifdef __cplusplus
41771 }
41772 #endif
41773
41774 int
41775 main ()
41776 {
41777 return f != $ac_func;
41778 ;
41779 return 0;
41780 }
41781 _ACEOF
41782 rm -f conftest.$ac_objext conftest$ac_exeext
41783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41784 (eval $ac_link) 2>conftest.er1
41785 ac_status=$?
41786 grep -v '^ *+' conftest.er1 >conftest.err
41787 rm -f conftest.er1
41788 cat conftest.err >&5
41789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41790 (exit $ac_status); } &&
41791 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41793 (eval $ac_try) 2>&5
41794 ac_status=$?
41795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41796 (exit $ac_status); }; } &&
41797 { ac_try='test -s conftest$ac_exeext'
41798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41799 (eval $ac_try) 2>&5
41800 ac_status=$?
41801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41802 (exit $ac_status); }; }; then
41803 eval "$as_ac_var=yes"
41804 else
41805 echo "$as_me: failed program was:" >&5
41806 sed 's/^/| /' conftest.$ac_ext >&5
41807
41808 eval "$as_ac_var=no"
41809 fi
41810 rm -f conftest.err conftest.$ac_objext \
41811 conftest$ac_exeext conftest.$ac_ext
41812 fi
41813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41815 if test `eval echo '${'$as_ac_var'}'` = yes; then
41816 cat >>confdefs.h <<_ACEOF
41817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41818 _ACEOF
41819
41820 cat >>confdefs.h <<\_ACEOF
41821 #define HAVE_DLOPEN 1
41822 _ACEOF
41823
41824 HAVE_DL_FUNCS=1
41825
41826 else
41827
41828 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41829 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41830 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41831 echo $ECHO_N "(cached) $ECHO_C" >&6
41832 else
41833 ac_check_lib_save_LIBS=$LIBS
41834 LIBS="-ldl $LIBS"
41835 cat >conftest.$ac_ext <<_ACEOF
41836 /* confdefs.h. */
41837 _ACEOF
41838 cat confdefs.h >>conftest.$ac_ext
41839 cat >>conftest.$ac_ext <<_ACEOF
41840 /* end confdefs.h. */
41841
41842 /* Override any gcc2 internal prototype to avoid an error. */
41843 #ifdef __cplusplus
41844 extern "C"
41845 #endif
41846 /* We use char because int might match the return type of a gcc2
41847 builtin and then its argument prototype would still apply. */
41848 char dlopen ();
41849 int
41850 main ()
41851 {
41852 dlopen ();
41853 ;
41854 return 0;
41855 }
41856 _ACEOF
41857 rm -f conftest.$ac_objext conftest$ac_exeext
41858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41859 (eval $ac_link) 2>conftest.er1
41860 ac_status=$?
41861 grep -v '^ *+' conftest.er1 >conftest.err
41862 rm -f conftest.er1
41863 cat conftest.err >&5
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); } &&
41866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41868 (eval $ac_try) 2>&5
41869 ac_status=$?
41870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41871 (exit $ac_status); }; } &&
41872 { ac_try='test -s conftest$ac_exeext'
41873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41874 (eval $ac_try) 2>&5
41875 ac_status=$?
41876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41877 (exit $ac_status); }; }; then
41878 ac_cv_lib_dl_dlopen=yes
41879 else
41880 echo "$as_me: failed program was:" >&5
41881 sed 's/^/| /' conftest.$ac_ext >&5
41882
41883 ac_cv_lib_dl_dlopen=no
41884 fi
41885 rm -f conftest.err conftest.$ac_objext \
41886 conftest$ac_exeext conftest.$ac_ext
41887 LIBS=$ac_check_lib_save_LIBS
41888 fi
41889 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41890 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41891 if test $ac_cv_lib_dl_dlopen = yes; then
41892
41893 cat >>confdefs.h <<\_ACEOF
41894 #define HAVE_DLOPEN 1
41895 _ACEOF
41896
41897 HAVE_DL_FUNCS=1
41898 DL_LINK=" -ldl$DL_LINK"
41899
41900 else
41901
41902
41903 for ac_func in shl_load
41904 do
41905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41906 echo "$as_me:$LINENO: checking for $ac_func" >&5
41907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41908 if eval "test \"\${$as_ac_var+set}\" = set"; then
41909 echo $ECHO_N "(cached) $ECHO_C" >&6
41910 else
41911 cat >conftest.$ac_ext <<_ACEOF
41912 /* confdefs.h. */
41913 _ACEOF
41914 cat confdefs.h >>conftest.$ac_ext
41915 cat >>conftest.$ac_ext <<_ACEOF
41916 /* end confdefs.h. */
41917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41919 #define $ac_func innocuous_$ac_func
41920
41921 /* System header to define __stub macros and hopefully few prototypes,
41922 which can conflict with char $ac_func (); below.
41923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41924 <limits.h> exists even on freestanding compilers. */
41925
41926 #ifdef __STDC__
41927 # include <limits.h>
41928 #else
41929 # include <assert.h>
41930 #endif
41931
41932 #undef $ac_func
41933
41934 /* Override any gcc2 internal prototype to avoid an error. */
41935 #ifdef __cplusplus
41936 extern "C"
41937 {
41938 #endif
41939 /* We use char because int might match the return type of a gcc2
41940 builtin and then its argument prototype would still apply. */
41941 char $ac_func ();
41942 /* The GNU C library defines this for functions which it implements
41943 to always fail with ENOSYS. Some functions are actually named
41944 something starting with __ and the normal name is an alias. */
41945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41946 choke me
41947 #else
41948 char (*f) () = $ac_func;
41949 #endif
41950 #ifdef __cplusplus
41951 }
41952 #endif
41953
41954 int
41955 main ()
41956 {
41957 return f != $ac_func;
41958 ;
41959 return 0;
41960 }
41961 _ACEOF
41962 rm -f conftest.$ac_objext conftest$ac_exeext
41963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41964 (eval $ac_link) 2>conftest.er1
41965 ac_status=$?
41966 grep -v '^ *+' conftest.er1 >conftest.err
41967 rm -f conftest.er1
41968 cat conftest.err >&5
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); } &&
41971 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41973 (eval $ac_try) 2>&5
41974 ac_status=$?
41975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41976 (exit $ac_status); }; } &&
41977 { ac_try='test -s conftest$ac_exeext'
41978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41979 (eval $ac_try) 2>&5
41980 ac_status=$?
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); }; }; then
41983 eval "$as_ac_var=yes"
41984 else
41985 echo "$as_me: failed program was:" >&5
41986 sed 's/^/| /' conftest.$ac_ext >&5
41987
41988 eval "$as_ac_var=no"
41989 fi
41990 rm -f conftest.err conftest.$ac_objext \
41991 conftest$ac_exeext conftest.$ac_ext
41992 fi
41993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41995 if test `eval echo '${'$as_ac_var'}'` = yes; then
41996 cat >>confdefs.h <<_ACEOF
41997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41998 _ACEOF
41999
42000 cat >>confdefs.h <<\_ACEOF
42001 #define HAVE_SHL_LOAD 1
42002 _ACEOF
42003
42004 HAVE_SHL_FUNCS=1
42005
42006 else
42007
42008 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42009 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42010 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42011 echo $ECHO_N "(cached) $ECHO_C" >&6
42012 else
42013 ac_check_lib_save_LIBS=$LIBS
42014 LIBS="-lshl_load $LIBS"
42015 cat >conftest.$ac_ext <<_ACEOF
42016 /* confdefs.h. */
42017 _ACEOF
42018 cat confdefs.h >>conftest.$ac_ext
42019 cat >>conftest.$ac_ext <<_ACEOF
42020 /* end confdefs.h. */
42021
42022 /* Override any gcc2 internal prototype to avoid an error. */
42023 #ifdef __cplusplus
42024 extern "C"
42025 #endif
42026 /* We use char because int might match the return type of a gcc2
42027 builtin and then its argument prototype would still apply. */
42028 char dld ();
42029 int
42030 main ()
42031 {
42032 dld ();
42033 ;
42034 return 0;
42035 }
42036 _ACEOF
42037 rm -f conftest.$ac_objext conftest$ac_exeext
42038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42039 (eval $ac_link) 2>conftest.er1
42040 ac_status=$?
42041 grep -v '^ *+' conftest.er1 >conftest.err
42042 rm -f conftest.er1
42043 cat conftest.err >&5
42044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42045 (exit $ac_status); } &&
42046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42048 (eval $ac_try) 2>&5
42049 ac_status=$?
42050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42051 (exit $ac_status); }; } &&
42052 { ac_try='test -s conftest$ac_exeext'
42053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42054 (eval $ac_try) 2>&5
42055 ac_status=$?
42056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42057 (exit $ac_status); }; }; then
42058 ac_cv_lib_shl_load_dld=yes
42059 else
42060 echo "$as_me: failed program was:" >&5
42061 sed 's/^/| /' conftest.$ac_ext >&5
42062
42063 ac_cv_lib_shl_load_dld=no
42064 fi
42065 rm -f conftest.err conftest.$ac_objext \
42066 conftest$ac_exeext conftest.$ac_ext
42067 LIBS=$ac_check_lib_save_LIBS
42068 fi
42069 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42070 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42071 if test $ac_cv_lib_shl_load_dld = yes; then
42072
42073 HAVE_SHL_FUNCS=1
42074 DL_LINK=" -ldld$DL_LINK"
42075
42076 fi
42077
42078
42079 fi
42080 done
42081
42082
42083 fi
42084
42085
42086 fi
42087 done
42088
42089
42090 if test "$HAVE_DL_FUNCS" = 1; then
42091
42092 for ac_func in dlerror
42093 do
42094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42095 echo "$as_me:$LINENO: checking for $ac_func" >&5
42096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42097 if eval "test \"\${$as_ac_var+set}\" = set"; then
42098 echo $ECHO_N "(cached) $ECHO_C" >&6
42099 else
42100 cat >conftest.$ac_ext <<_ACEOF
42101 /* confdefs.h. */
42102 _ACEOF
42103 cat confdefs.h >>conftest.$ac_ext
42104 cat >>conftest.$ac_ext <<_ACEOF
42105 /* end confdefs.h. */
42106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42108 #define $ac_func innocuous_$ac_func
42109
42110 /* System header to define __stub macros and hopefully few prototypes,
42111 which can conflict with char $ac_func (); below.
42112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42113 <limits.h> exists even on freestanding compilers. */
42114
42115 #ifdef __STDC__
42116 # include <limits.h>
42117 #else
42118 # include <assert.h>
42119 #endif
42120
42121 #undef $ac_func
42122
42123 /* Override any gcc2 internal prototype to avoid an error. */
42124 #ifdef __cplusplus
42125 extern "C"
42126 {
42127 #endif
42128 /* We use char because int might match the return type of a gcc2
42129 builtin and then its argument prototype would still apply. */
42130 char $ac_func ();
42131 /* The GNU C library defines this for functions which it implements
42132 to always fail with ENOSYS. Some functions are actually named
42133 something starting with __ and the normal name is an alias. */
42134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42135 choke me
42136 #else
42137 char (*f) () = $ac_func;
42138 #endif
42139 #ifdef __cplusplus
42140 }
42141 #endif
42142
42143 int
42144 main ()
42145 {
42146 return f != $ac_func;
42147 ;
42148 return 0;
42149 }
42150 _ACEOF
42151 rm -f conftest.$ac_objext conftest$ac_exeext
42152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42153 (eval $ac_link) 2>conftest.er1
42154 ac_status=$?
42155 grep -v '^ *+' conftest.er1 >conftest.err
42156 rm -f conftest.er1
42157 cat conftest.err >&5
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); } &&
42160 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42162 (eval $ac_try) 2>&5
42163 ac_status=$?
42164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42165 (exit $ac_status); }; } &&
42166 { ac_try='test -s conftest$ac_exeext'
42167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42168 (eval $ac_try) 2>&5
42169 ac_status=$?
42170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42171 (exit $ac_status); }; }; then
42172 eval "$as_ac_var=yes"
42173 else
42174 echo "$as_me: failed program was:" >&5
42175 sed 's/^/| /' conftest.$ac_ext >&5
42176
42177 eval "$as_ac_var=no"
42178 fi
42179 rm -f conftest.err conftest.$ac_objext \
42180 conftest$ac_exeext conftest.$ac_ext
42181 fi
42182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42184 if test `eval echo '${'$as_ac_var'}'` = yes; then
42185 cat >>confdefs.h <<_ACEOF
42186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42187 _ACEOF
42188 cat >>confdefs.h <<\_ACEOF
42189 #define HAVE_DLERROR 1
42190 _ACEOF
42191
42192 else
42193
42194 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42195 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42196 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42197 echo $ECHO_N "(cached) $ECHO_C" >&6
42198 else
42199 ac_check_lib_save_LIBS=$LIBS
42200 LIBS="-ldl $LIBS"
42201 cat >conftest.$ac_ext <<_ACEOF
42202 /* confdefs.h. */
42203 _ACEOF
42204 cat confdefs.h >>conftest.$ac_ext
42205 cat >>conftest.$ac_ext <<_ACEOF
42206 /* end confdefs.h. */
42207
42208 /* Override any gcc2 internal prototype to avoid an error. */
42209 #ifdef __cplusplus
42210 extern "C"
42211 #endif
42212 /* We use char because int might match the return type of a gcc2
42213 builtin and then its argument prototype would still apply. */
42214 char dlerror ();
42215 int
42216 main ()
42217 {
42218 dlerror ();
42219 ;
42220 return 0;
42221 }
42222 _ACEOF
42223 rm -f conftest.$ac_objext conftest$ac_exeext
42224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42225 (eval $ac_link) 2>conftest.er1
42226 ac_status=$?
42227 grep -v '^ *+' conftest.er1 >conftest.err
42228 rm -f conftest.er1
42229 cat conftest.err >&5
42230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42231 (exit $ac_status); } &&
42232 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42234 (eval $ac_try) 2>&5
42235 ac_status=$?
42236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237 (exit $ac_status); }; } &&
42238 { ac_try='test -s conftest$ac_exeext'
42239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42240 (eval $ac_try) 2>&5
42241 ac_status=$?
42242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42243 (exit $ac_status); }; }; then
42244 ac_cv_lib_dl_dlerror=yes
42245 else
42246 echo "$as_me: failed program was:" >&5
42247 sed 's/^/| /' conftest.$ac_ext >&5
42248
42249 ac_cv_lib_dl_dlerror=no
42250 fi
42251 rm -f conftest.err conftest.$ac_objext \
42252 conftest$ac_exeext conftest.$ac_ext
42253 LIBS=$ac_check_lib_save_LIBS
42254 fi
42255 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42256 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42257 if test $ac_cv_lib_dl_dlerror = yes; then
42258 cat >>confdefs.h <<\_ACEOF
42259 #define HAVE_DLERROR 1
42260 _ACEOF
42261
42262 fi
42263
42264
42265
42266 fi
42267 done
42268
42269 fi
42270 fi
42271
42272 if test "$HAVE_DL_FUNCS" = 0; then
42273 if test "$HAVE_SHL_FUNCS" = 0; then
42274 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42275 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42276 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42277 wxUSE_DYNAMIC_LOADER=no
42278 wxUSE_DYNLIB_CLASS=no
42279 else
42280 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42281 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42282 fi
42283 fi
42284 fi
42285 fi
42286 fi
42287
42288 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42289 cat >>confdefs.h <<\_ACEOF
42290 #define wxUSE_DYNAMIC_LOADER 1
42291 _ACEOF
42292
42293 fi
42294 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42295 cat >>confdefs.h <<\_ACEOF
42296 #define wxUSE_DYNLIB_CLASS 1
42297 _ACEOF
42298
42299 fi
42300
42301
42302
42303 if test "$wxUSE_PLUGINS" = "yes" ; then
42304 if test "$wxUSE_SHARED" = "no" ; then
42305 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42306 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42307 wxUSE_PLUGINS=no
42308 fi
42309 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42310 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42311 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42312 wxUSE_PLUGINS=no
42313 fi
42314 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42315 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42316 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42317 wxUSE_PLUGINS=no
42318 fi
42319 if test "$wxUSE_PLUGINS" = "yes" ; then
42320 cat >>confdefs.h <<\_ACEOF
42321 #define wxUSE_PLUGINS 1
42322 _ACEOF
42323
42324 fi
42325 fi
42326
42327
42328 if test "$wxUSE_STL" = "yes"; then
42329 cat >>confdefs.h <<\_ACEOF
42330 #define wxUSE_STL 1
42331 _ACEOF
42332
42333 fi
42334
42335 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42336 cat >>confdefs.h <<\_ACEOF
42337 #define wxUSE_APPLE_IEEE 1
42338 _ACEOF
42339
42340 fi
42341
42342 if test "$wxUSE_TIMER" = "yes"; then
42343 cat >>confdefs.h <<\_ACEOF
42344 #define wxUSE_TIMER 1
42345 _ACEOF
42346
42347 fi
42348
42349 if test "$USE_UNIX" = "1" ; then
42350 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42351 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42352 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42353 echo $ECHO_N "(cached) $ECHO_C" >&6
42354 else
42355
42356 cat >conftest.$ac_ext <<_ACEOF
42357 /* confdefs.h. */
42358 _ACEOF
42359 cat confdefs.h >>conftest.$ac_ext
42360 cat >>conftest.$ac_ext <<_ACEOF
42361 /* end confdefs.h. */
42362
42363 #include <sys/ioctl.h>
42364 #include <sys/soundcard.h>
42365
42366 int
42367 main ()
42368 {
42369
42370 ioctl(0, SNDCTL_DSP_SPEED, 0);
42371
42372 ;
42373 return 0;
42374 }
42375 _ACEOF
42376 rm -f conftest.$ac_objext conftest$ac_exeext
42377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42378 (eval $ac_link) 2>conftest.er1
42379 ac_status=$?
42380 grep -v '^ *+' conftest.er1 >conftest.err
42381 rm -f conftest.er1
42382 cat conftest.err >&5
42383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42384 (exit $ac_status); } &&
42385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42387 (eval $ac_try) 2>&5
42388 ac_status=$?
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); }; } &&
42391 { ac_try='test -s conftest$ac_exeext'
42392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42393 (eval $ac_try) 2>&5
42394 ac_status=$?
42395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42396 (exit $ac_status); }; }; then
42397 ac_cv_header_sys_soundcard=yes
42398 else
42399 echo "$as_me: failed program was:" >&5
42400 sed 's/^/| /' conftest.$ac_ext >&5
42401
42402
42403 saveLibs="$LIBS"
42404 LIBS="$saveLibs -lossaudio"
42405 cat >conftest.$ac_ext <<_ACEOF
42406 /* confdefs.h. */
42407 _ACEOF
42408 cat confdefs.h >>conftest.$ac_ext
42409 cat >>conftest.$ac_ext <<_ACEOF
42410 /* end confdefs.h. */
42411
42412 #include <sys/ioctl.h>
42413 #include <sys/soundcard.h>
42414
42415 int
42416 main ()
42417 {
42418
42419 ioctl(0, SNDCTL_DSP_SPEED, 0);
42420
42421 ;
42422 return 0;
42423 }
42424 _ACEOF
42425 rm -f conftest.$ac_objext conftest$ac_exeext
42426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42427 (eval $ac_link) 2>conftest.er1
42428 ac_status=$?
42429 grep -v '^ *+' conftest.er1 >conftest.err
42430 rm -f conftest.er1
42431 cat conftest.err >&5
42432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42433 (exit $ac_status); } &&
42434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42436 (eval $ac_try) 2>&5
42437 ac_status=$?
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); }; } &&
42440 { ac_try='test -s conftest$ac_exeext'
42441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42442 (eval $ac_try) 2>&5
42443 ac_status=$?
42444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42445 (exit $ac_status); }; }; then
42446 ac_cv_header_sys_soundcard=yes
42447 else
42448 echo "$as_me: failed program was:" >&5
42449 sed 's/^/| /' conftest.$ac_ext >&5
42450
42451
42452 LIBS="$saveLibs"
42453 ac_cv_header_sys_soundcard=no
42454
42455
42456 fi
42457 rm -f conftest.err conftest.$ac_objext \
42458 conftest$ac_exeext conftest.$ac_ext
42459
42460
42461 fi
42462 rm -f conftest.err conftest.$ac_objext \
42463 conftest$ac_exeext conftest.$ac_ext
42464
42465 fi
42466 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42467 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42468
42469 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42470 cat >>confdefs.h <<\_ACEOF
42471 #define HAVE_SYS_SOUNDCARD_H 1
42472 _ACEOF
42473
42474 else
42475 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42476 fi
42477 fi
42478 WITH_PLUGIN_SDL=0
42479 if test "$wxUSE_SOUND" = "yes"; then
42480 if test "$USE_UNIX" = "1" ; then
42481 if test "$wxUSE_LIBSDL" != "no"; then
42482
42483 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42484 if test "${with_sdl_prefix+set}" = set; then
42485 withval="$with_sdl_prefix"
42486 sdl_prefix="$withval"
42487 else
42488 sdl_prefix=""
42489 fi;
42490
42491 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42492 if test "${with_sdl_exec_prefix+set}" = set; then
42493 withval="$with_sdl_exec_prefix"
42494 sdl_exec_prefix="$withval"
42495 else
42496 sdl_exec_prefix=""
42497 fi;
42498 # Check whether --enable-sdltest or --disable-sdltest was given.
42499 if test "${enable_sdltest+set}" = set; then
42500 enableval="$enable_sdltest"
42501
42502 else
42503 enable_sdltest=yes
42504 fi;
42505
42506 if test x$sdl_exec_prefix != x ; then
42507 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42508 if test x${SDL_CONFIG+set} != xset ; then
42509 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42510 fi
42511 fi
42512 if test x$sdl_prefix != x ; then
42513 sdl_args="$sdl_args --prefix=$sdl_prefix"
42514 if test x${SDL_CONFIG+set} != xset ; then
42515 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42516 fi
42517 fi
42518
42519 if test "x$prefix" != xNONE; then
42520 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42521 fi
42522 # Extract the first word of "sdl-config", so it can be a program name with args.
42523 set dummy sdl-config; ac_word=$2
42524 echo "$as_me:$LINENO: checking for $ac_word" >&5
42525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42526 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42527 echo $ECHO_N "(cached) $ECHO_C" >&6
42528 else
42529 case $SDL_CONFIG in
42530 [\\/]* | ?:[\\/]*)
42531 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42532 ;;
42533 *)
42534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42535 for as_dir in $PATH
42536 do
42537 IFS=$as_save_IFS
42538 test -z "$as_dir" && as_dir=.
42539 for ac_exec_ext in '' $ac_executable_extensions; do
42540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42541 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42543 break 2
42544 fi
42545 done
42546 done
42547
42548 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42549 ;;
42550 esac
42551 fi
42552 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42553
42554 if test -n "$SDL_CONFIG"; then
42555 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42556 echo "${ECHO_T}$SDL_CONFIG" >&6
42557 else
42558 echo "$as_me:$LINENO: result: no" >&5
42559 echo "${ECHO_T}no" >&6
42560 fi
42561
42562 min_sdl_version=1.2.0
42563 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42564 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42565 no_sdl=""
42566 if test "$SDL_CONFIG" = "no" ; then
42567 no_sdl=yes
42568 else
42569 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42570 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42571
42572 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42573 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42574 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42575 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42576 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42578 if test "x$enable_sdltest" = "xyes" ; then
42579 ac_save_CFLAGS="$CFLAGS"
42580 ac_save_CXXFLAGS="$CXXFLAGS"
42581 ac_save_LIBS="$LIBS"
42582 CFLAGS="$CFLAGS $SDL_CFLAGS"
42583 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42584 LIBS="$LIBS $SDL_LIBS"
42585 rm -f conf.sdltest
42586 if test "$cross_compiling" = yes; then
42587 echo $ac_n "cross compiling; assumed OK... $ac_c"
42588 else
42589 cat >conftest.$ac_ext <<_ACEOF
42590 /* confdefs.h. */
42591 _ACEOF
42592 cat confdefs.h >>conftest.$ac_ext
42593 cat >>conftest.$ac_ext <<_ACEOF
42594 /* end confdefs.h. */
42595
42596 #include <stdio.h>
42597 #include <stdlib.h>
42598 #include <string.h>
42599 #include "SDL.h"
42600
42601 char*
42602 my_strdup (char *str)
42603 {
42604 char *new_str;
42605
42606 if (str)
42607 {
42608 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42609 strcpy (new_str, str);
42610 }
42611 else
42612 new_str = NULL;
42613
42614 return new_str;
42615 }
42616
42617 int main (int argc, char *argv[])
42618 {
42619 int major, minor, micro;
42620 char *tmp_version;
42621
42622 /* This hangs on some systems (?)
42623 system ("touch conf.sdltest");
42624 */
42625 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42626
42627 /* HP/UX 9 (%@#!) writes to sscanf strings */
42628 tmp_version = my_strdup("$min_sdl_version");
42629 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42630 printf("%s, bad version string\n", "$min_sdl_version");
42631 exit(1);
42632 }
42633
42634 if (($sdl_major_version > major) ||
42635 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42636 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42637 {
42638 return 0;
42639 }
42640 else
42641 {
42642 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42643 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42644 printf("*** best to upgrade to the required version.\n");
42645 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42646 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42647 printf("*** config.cache before re-running configure\n");
42648 return 1;
42649 }
42650 }
42651
42652
42653 _ACEOF
42654 rm -f conftest$ac_exeext
42655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42656 (eval $ac_link) 2>&5
42657 ac_status=$?
42658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42661 (eval $ac_try) 2>&5
42662 ac_status=$?
42663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42664 (exit $ac_status); }; }; then
42665 :
42666 else
42667 echo "$as_me: program exited with status $ac_status" >&5
42668 echo "$as_me: failed program was:" >&5
42669 sed 's/^/| /' conftest.$ac_ext >&5
42670
42671 ( exit $ac_status )
42672 no_sdl=yes
42673 fi
42674 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42675 fi
42676 CFLAGS="$ac_save_CFLAGS"
42677 CXXFLAGS="$ac_save_CXXFLAGS"
42678 LIBS="$ac_save_LIBS"
42679 fi
42680 fi
42681 if test "x$no_sdl" = x ; then
42682 echo "$as_me:$LINENO: result: yes" >&5
42683 echo "${ECHO_T}yes" >&6
42684
42685 EXTRALIBS_SDL="$SDL_LIBS"
42686 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42687 cat >>confdefs.h <<\_ACEOF
42688 #define wxUSE_LIBSDL 1
42689 _ACEOF
42690
42691
42692 else
42693 echo "$as_me:$LINENO: result: no" >&5
42694 echo "${ECHO_T}no" >&6
42695 if test "$SDL_CONFIG" = "no" ; then
42696 echo "*** The sdl-config script installed by SDL could not be found"
42697 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42698 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42699 echo "*** full path to sdl-config."
42700 else
42701 if test -f conf.sdltest ; then
42702 :
42703 else
42704 echo "*** Could not run SDL test program, checking why..."
42705 CFLAGS="$CFLAGS $SDL_CFLAGS"
42706 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42707 LIBS="$LIBS $SDL_LIBS"
42708 cat >conftest.$ac_ext <<_ACEOF
42709 /* confdefs.h. */
42710 _ACEOF
42711 cat confdefs.h >>conftest.$ac_ext
42712 cat >>conftest.$ac_ext <<_ACEOF
42713 /* end confdefs.h. */
42714
42715 #include <stdio.h>
42716 #include "SDL.h"
42717
42718 int main(int argc, char *argv[])
42719 { return 0; }
42720 #undef main
42721 #define main K_and_R_C_main
42722
42723 int
42724 main ()
42725 {
42726 return 0;
42727 ;
42728 return 0;
42729 }
42730 _ACEOF
42731 rm -f conftest.$ac_objext conftest$ac_exeext
42732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42733 (eval $ac_link) 2>conftest.er1
42734 ac_status=$?
42735 grep -v '^ *+' conftest.er1 >conftest.err
42736 rm -f conftest.er1
42737 cat conftest.err >&5
42738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42739 (exit $ac_status); } &&
42740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42742 (eval $ac_try) 2>&5
42743 ac_status=$?
42744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42745 (exit $ac_status); }; } &&
42746 { ac_try='test -s conftest$ac_exeext'
42747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42748 (eval $ac_try) 2>&5
42749 ac_status=$?
42750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42751 (exit $ac_status); }; }; then
42752 echo "*** The test program compiled, but did not run. This usually means"
42753 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42754 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42755 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42756 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42757 echo "*** is required on your system"
42758 echo "***"
42759 echo "*** If you have an old version installed, it is best to remove it, although"
42760 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42761 else
42762 echo "$as_me: failed program was:" >&5
42763 sed 's/^/| /' conftest.$ac_ext >&5
42764
42765 echo "*** The test program failed to compile or link. See the file config.log for the"
42766 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42767 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42768 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42769 fi
42770 rm -f conftest.err conftest.$ac_objext \
42771 conftest$ac_exeext conftest.$ac_ext
42772 CFLAGS="$ac_save_CFLAGS"
42773 CXXFLAGS="$ac_save_CXXFLAGS"
42774 LIBS="$ac_save_LIBS"
42775 fi
42776 fi
42777 SDL_CFLAGS=""
42778 SDL_LIBS=""
42779 wxUSE_LIBSDL="no"
42780 fi
42781
42782
42783 rm -f conf.sdltest
42784
42785 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42786 WITH_PLUGIN_SDL=1
42787 fi
42788 fi
42789 fi
42790
42791 cat >>confdefs.h <<\_ACEOF
42792 #define wxUSE_SOUND 1
42793 _ACEOF
42794
42795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42796 fi
42797
42798 if test "$WXGTK20" = 1; then
42799 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42800 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42801
42802
42803 pkg_failed=no
42804 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42805 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42806
42807 if test -n "$PKG_CONFIG"; then
42808 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42809 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42810 else
42811 if test -n "$PKG_CONFIG" && \
42812 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42813 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42814 ac_status=$?
42815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42816 (exit $ac_status); }; then
42817 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42818 else
42819 pkg_failed=yes
42820 fi
42821 fi
42822 else
42823 pkg_failed=untried
42824 fi
42825 if test -n "$PKG_CONFIG"; then
42826 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42827 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42828 else
42829 if test -n "$PKG_CONFIG" && \
42830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42831 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42832 ac_status=$?
42833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42834 (exit $ac_status); }; then
42835 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42836 else
42837 pkg_failed=yes
42838 fi
42839 fi
42840 else
42841 pkg_failed=untried
42842 fi
42843
42844
42845
42846 if test $pkg_failed = yes; then
42847
42848 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42849 _pkg_short_errors_supported=yes
42850 else
42851 _pkg_short_errors_supported=no
42852 fi
42853 if test $_pkg_short_errors_supported = yes; then
42854 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42855 else
42856 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42857 fi
42858 # Put the nasty error message in config.log where it belongs
42859 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42860
42861
42862 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42863 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42864 wxUSE_LIBGNOMEPRINT="no"
42865
42866
42867 elif test $pkg_failed = untried; then
42868
42869 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42870 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42871 wxUSE_LIBGNOMEPRINT="no"
42872
42873
42874 else
42875 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42876 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42877 echo "$as_me:$LINENO: result: yes" >&5
42878 echo "${ECHO_T}yes" >&6
42879
42880 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42881 cat >>confdefs.h <<\_ACEOF
42882 #define wxUSE_LIBGNOMEPRINT 1
42883 _ACEOF
42884
42885
42886 fi
42887 fi
42888 fi
42889 fi
42890
42891 if test "$WXGTK20" = 1; then
42892 if test "$wxUSE_MIMETYPE" = "yes" ; then
42893 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42894
42895
42896 pkg_failed=no
42897 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42898 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42899
42900 if test -n "$PKG_CONFIG"; then
42901 if test -n "$GNOMEVFS_CFLAGS"; then
42902 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42903 else
42904 if test -n "$PKG_CONFIG" && \
42905 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42906 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42907 ac_status=$?
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); }; then
42910 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42911 else
42912 pkg_failed=yes
42913 fi
42914 fi
42915 else
42916 pkg_failed=untried
42917 fi
42918 if test -n "$PKG_CONFIG"; then
42919 if test -n "$GNOMEVFS_LIBS"; then
42920 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42921 else
42922 if test -n "$PKG_CONFIG" && \
42923 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42924 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42925 ac_status=$?
42926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42927 (exit $ac_status); }; then
42928 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42929 else
42930 pkg_failed=yes
42931 fi
42932 fi
42933 else
42934 pkg_failed=untried
42935 fi
42936
42937
42938
42939 if test $pkg_failed = yes; then
42940
42941 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42942 _pkg_short_errors_supported=yes
42943 else
42944 _pkg_short_errors_supported=no
42945 fi
42946 if test $_pkg_short_errors_supported = yes; then
42947 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42948 else
42949 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42950 fi
42951 # Put the nasty error message in config.log where it belongs
42952 echo "$GNOMEVFS_PKG_ERRORS" >&5
42953
42954
42955 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42956 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42957 wxUSE_LIBGNOMEVFS="no"
42958
42959
42960 elif test $pkg_failed = untried; then
42961
42962 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42963 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42964 wxUSE_LIBGNOMEVFS="no"
42965
42966
42967 else
42968 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42969 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42970 echo "$as_me:$LINENO: result: yes" >&5
42971 echo "${ECHO_T}yes" >&6
42972
42973 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42974 cat >>confdefs.h <<\_ACEOF
42975 #define wxUSE_LIBGNOMEVFS 1
42976 _ACEOF
42977
42978
42979 fi
42980 fi
42981 fi
42982 fi
42983
42984 if test "$WXGTK20" = 1; then
42985 if test "$wxUSE_LIBHILDON" = "yes" ; then
42986
42987 pkg_failed=no
42988 echo "$as_me:$LINENO: checking for HILDON" >&5
42989 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42990
42991 if test -n "$PKG_CONFIG"; then
42992 if test -n "$HILDON_CFLAGS"; then
42993 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42994 else
42995 if test -n "$PKG_CONFIG" && \
42996 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42997 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42998 ac_status=$?
42999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43000 (exit $ac_status); }; then
43001 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43002 else
43003 pkg_failed=yes
43004 fi
43005 fi
43006 else
43007 pkg_failed=untried
43008 fi
43009 if test -n "$PKG_CONFIG"; then
43010 if test -n "$HILDON_LIBS"; then
43011 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43012 else
43013 if test -n "$PKG_CONFIG" && \
43014 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43015 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43016 ac_status=$?
43017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43018 (exit $ac_status); }; then
43019 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43020 else
43021 pkg_failed=yes
43022 fi
43023 fi
43024 else
43025 pkg_failed=untried
43026 fi
43027
43028
43029
43030 if test $pkg_failed = yes; then
43031
43032 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43033 _pkg_short_errors_supported=yes
43034 else
43035 _pkg_short_errors_supported=no
43036 fi
43037 if test $_pkg_short_errors_supported = yes; then
43038 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43039 else
43040 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43041 fi
43042 # Put the nasty error message in config.log where it belongs
43043 echo "$HILDON_PKG_ERRORS" >&5
43044
43045
43046 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43047 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43048 wxUSE_LIBHILDON="no"
43049
43050
43051 elif test $pkg_failed = untried; then
43052
43053 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43054 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43055 wxUSE_LIBHILDON="no"
43056
43057
43058 else
43059 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43060 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43061 echo "$as_me:$LINENO: result: yes" >&5
43062 echo "${ECHO_T}yes" >&6
43063
43064 EXTRALIBS_HILDON="$HILDON_LIBS"
43065 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43066 cat >>confdefs.h <<\_ACEOF
43067 #define wxUSE_LIBHILDON 1
43068 _ACEOF
43069
43070
43071 fi
43072 fi
43073 fi
43074
43075 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43076 cat >>confdefs.h <<\_ACEOF
43077 #define wxUSE_CMDLINE_PARSER 1
43078 _ACEOF
43079
43080 fi
43081
43082 if test "$wxUSE_STOPWATCH" = "yes"; then
43083 cat >>confdefs.h <<\_ACEOF
43084 #define wxUSE_STOPWATCH 1
43085 _ACEOF
43086
43087 fi
43088
43089 if test "$wxUSE_DATETIME" = "yes"; then
43090 cat >>confdefs.h <<\_ACEOF
43091 #define wxUSE_DATETIME 1
43092 _ACEOF
43093
43094 fi
43095
43096 if test "$wxUSE_FILE" = "yes"; then
43097 cat >>confdefs.h <<\_ACEOF
43098 #define wxUSE_FILE 1
43099 _ACEOF
43100
43101 fi
43102
43103 if test "$wxUSE_FFILE" = "yes"; then
43104 cat >>confdefs.h <<\_ACEOF
43105 #define wxUSE_FFILE 1
43106 _ACEOF
43107
43108 fi
43109
43110 if test "$wxUSE_FILESYSTEM" = "yes"; then
43111 cat >>confdefs.h <<\_ACEOF
43112 #define wxUSE_FILESYSTEM 1
43113 _ACEOF
43114
43115 fi
43116
43117 if test "$wxUSE_FS_ZIP" = "yes"; then
43118 cat >>confdefs.h <<\_ACEOF
43119 #define wxUSE_FS_ZIP 1
43120 _ACEOF
43121
43122 fi
43123
43124 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43125 cat >>confdefs.h <<\_ACEOF
43126 #define wxUSE_ARCHIVE_STREAMS 1
43127 _ACEOF
43128
43129 fi
43130
43131 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43132 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43133 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43134 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43135 elif test "$wxUSE_ZLIB" = "no"; then
43136 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43137 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43138 else
43139 cat >>confdefs.h <<\_ACEOF
43140 #define wxUSE_ZIPSTREAM 1
43141 _ACEOF
43142
43143 fi
43144 fi
43145
43146 if test "$wxUSE_BACKINGFILE" = "yes"; then
43147 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43148 { echo "$as_me:$LINENO: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&5
43149 echo "$as_me: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43150 else
43151 cat >>confdefs.h <<\_ACEOF
43152 #define wxUSE_BACKINGFILE 1
43153 _ACEOF
43154
43155 fi
43156 fi
43157
43158 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43159 if test "$USE_UNIX" != 1; then
43160 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43161 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43162 wxUSE_ON_FATAL_EXCEPTION=no
43163 else
43164 cat >>confdefs.h <<\_ACEOF
43165 #define wxUSE_ON_FATAL_EXCEPTION 1
43166 _ACEOF
43167
43168 fi
43169 fi
43170
43171 if test "$wxUSE_STACKWALKER" = "yes"; then
43172 cat >>confdefs.h <<\_ACEOF
43173 #define wxUSE_STACKWALKER 1
43174 _ACEOF
43175
43176 fi
43177
43178 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43179 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43180 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43181 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43182 wxUSE_DEBUGREPORT=no
43183 else
43184 cat >>confdefs.h <<\_ACEOF
43185 #define wxUSE_DEBUGREPORT 1
43186 _ACEOF
43187
43188 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43190 fi
43191 fi
43192 fi
43193
43194 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43195 cat >>confdefs.h <<\_ACEOF
43196 #define wxUSE_SNGLINST_CHECKER 1
43197 _ACEOF
43198
43199 fi
43200
43201 if test "$wxUSE_BUSYINFO" = "yes"; then
43202 cat >>confdefs.h <<\_ACEOF
43203 #define wxUSE_BUSYINFO 1
43204 _ACEOF
43205
43206 fi
43207
43208 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43209 cat >>confdefs.h <<\_ACEOF
43210 #define wxUSE_STD_IOSTREAM 1
43211 _ACEOF
43212
43213 fi
43214
43215 if test "$wxUSE_STD_STRING" = "yes"; then
43216 cat >>confdefs.h <<\_ACEOF
43217 #define wxUSE_STD_STRING 1
43218 _ACEOF
43219
43220 fi
43221
43222 if test "$wxUSE_STDPATHS" = "yes"; then
43223 cat >>confdefs.h <<\_ACEOF
43224 #define wxUSE_STDPATHS 1
43225 _ACEOF
43226
43227 fi
43228
43229 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43230 cat >>confdefs.h <<\_ACEOF
43231 #define wxUSE_TEXTBUFFER 1
43232 _ACEOF
43233
43234 fi
43235
43236 if test "$wxUSE_TEXTFILE" = "yes"; then
43237 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43238 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43239 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43240 else
43241 cat >>confdefs.h <<\_ACEOF
43242 #define wxUSE_TEXTFILE 1
43243 _ACEOF
43244
43245 fi
43246 fi
43247
43248 if test "$wxUSE_CONFIG" = "yes" ; then
43249 if test "$wxUSE_TEXTFILE" != "yes"; then
43250 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43251 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43252 else
43253 cat >>confdefs.h <<\_ACEOF
43254 #define wxUSE_CONFIG 1
43255 _ACEOF
43256
43257 cat >>confdefs.h <<\_ACEOF
43258 #define wxUSE_CONFIG_NATIVE 1
43259 _ACEOF
43260
43261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43262 fi
43263 fi
43264
43265 if test "$wxUSE_INTL" = "yes" ; then
43266 if test "$wxUSE_FILE" != "yes"; then
43267 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43268 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43269 else
43270 cat >>confdefs.h <<\_ACEOF
43271 #define wxUSE_INTL 1
43272 _ACEOF
43273
43274 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43275 GUIDIST="$GUIDIST INTL_DIST"
43276 fi
43277 fi
43278
43279 if test "$wxUSE_LOG" = "yes"; then
43280 cat >>confdefs.h <<\_ACEOF
43281 #define wxUSE_LOG 1
43282 _ACEOF
43283
43284
43285 if test "$wxUSE_LOGGUI" = "yes"; then
43286 cat >>confdefs.h <<\_ACEOF
43287 #define wxUSE_LOGGUI 1
43288 _ACEOF
43289
43290 fi
43291
43292 if test "$wxUSE_LOGWINDOW" = "yes"; then
43293 cat >>confdefs.h <<\_ACEOF
43294 #define wxUSE_LOGWINDOW 1
43295 _ACEOF
43296
43297 fi
43298
43299 if test "$wxUSE_LOGDIALOG" = "yes"; then
43300 cat >>confdefs.h <<\_ACEOF
43301 #define wxUSE_LOG_DIALOG 1
43302 _ACEOF
43303
43304 fi
43305
43306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43307 fi
43308
43309 if test "$wxUSE_LONGLONG" = "yes"; then
43310 cat >>confdefs.h <<\_ACEOF
43311 #define wxUSE_LONGLONG 1
43312 _ACEOF
43313
43314 fi
43315
43316 if test "$wxUSE_GEOMETRY" = "yes"; then
43317 cat >>confdefs.h <<\_ACEOF
43318 #define wxUSE_GEOMETRY 1
43319 _ACEOF
43320
43321 fi
43322
43323 if test "$wxUSE_STREAMS" = "yes" ; then
43324 cat >>confdefs.h <<\_ACEOF
43325 #define wxUSE_STREAMS 1
43326 _ACEOF
43327
43328 fi
43329
43330 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43331 cat >>confdefs.h <<\_ACEOF
43332 #define wxUSE_PRINTF_POS_PARAMS 1
43333 _ACEOF
43334
43335 fi
43336
43337
43338
43339 if test "$wxUSE_DATETIME" = "yes"; then
43340
43341 for ac_func in strptime
43342 do
43343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43344 echo "$as_me:$LINENO: checking for $ac_func" >&5
43345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43346 if eval "test \"\${$as_ac_var+set}\" = set"; then
43347 echo $ECHO_N "(cached) $ECHO_C" >&6
43348 else
43349 cat >conftest.$ac_ext <<_ACEOF
43350 /* confdefs.h. */
43351 _ACEOF
43352 cat confdefs.h >>conftest.$ac_ext
43353 cat >>conftest.$ac_ext <<_ACEOF
43354 /* end confdefs.h. */
43355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43357 #define $ac_func innocuous_$ac_func
43358
43359 /* System header to define __stub macros and hopefully few prototypes,
43360 which can conflict with char $ac_func (); below.
43361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43362 <limits.h> exists even on freestanding compilers. */
43363
43364 #ifdef __STDC__
43365 # include <limits.h>
43366 #else
43367 # include <assert.h>
43368 #endif
43369
43370 #undef $ac_func
43371
43372 /* Override any gcc2 internal prototype to avoid an error. */
43373 #ifdef __cplusplus
43374 extern "C"
43375 {
43376 #endif
43377 /* We use char because int might match the return type of a gcc2
43378 builtin and then its argument prototype would still apply. */
43379 char $ac_func ();
43380 /* The GNU C library defines this for functions which it implements
43381 to always fail with ENOSYS. Some functions are actually named
43382 something starting with __ and the normal name is an alias. */
43383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43384 choke me
43385 #else
43386 char (*f) () = $ac_func;
43387 #endif
43388 #ifdef __cplusplus
43389 }
43390 #endif
43391
43392 int
43393 main ()
43394 {
43395 return f != $ac_func;
43396 ;
43397 return 0;
43398 }
43399 _ACEOF
43400 rm -f conftest.$ac_objext conftest$ac_exeext
43401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43402 (eval $ac_link) 2>conftest.er1
43403 ac_status=$?
43404 grep -v '^ *+' conftest.er1 >conftest.err
43405 rm -f conftest.er1
43406 cat conftest.err >&5
43407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408 (exit $ac_status); } &&
43409 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43411 (eval $ac_try) 2>&5
43412 ac_status=$?
43413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43414 (exit $ac_status); }; } &&
43415 { ac_try='test -s conftest$ac_exeext'
43416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43417 (eval $ac_try) 2>&5
43418 ac_status=$?
43419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43420 (exit $ac_status); }; }; then
43421 eval "$as_ac_var=yes"
43422 else
43423 echo "$as_me: failed program was:" >&5
43424 sed 's/^/| /' conftest.$ac_ext >&5
43425
43426 eval "$as_ac_var=no"
43427 fi
43428 rm -f conftest.err conftest.$ac_objext \
43429 conftest$ac_exeext conftest.$ac_ext
43430 fi
43431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43433 if test `eval echo '${'$as_ac_var'}'` = yes; then
43434 cat >>confdefs.h <<_ACEOF
43435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43436 _ACEOF
43437
43438 fi
43439 done
43440
43441 if test "$ac_cv_func_strptime" = "yes"; then
43442 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43443 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43444 if test "${wx_cv_func_strptime_decl+set}" = set; then
43445 echo $ECHO_N "(cached) $ECHO_C" >&6
43446 else
43447
43448 cat >conftest.$ac_ext <<_ACEOF
43449 /* confdefs.h. */
43450 _ACEOF
43451 cat confdefs.h >>conftest.$ac_ext
43452 cat >>conftest.$ac_ext <<_ACEOF
43453 /* end confdefs.h. */
43454
43455 #include <time.h>
43456
43457 int
43458 main ()
43459 {
43460
43461 struct tm t;
43462 strptime("foo", "bar", &t);
43463
43464 ;
43465 return 0;
43466 }
43467 _ACEOF
43468 rm -f conftest.$ac_objext
43469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43470 (eval $ac_compile) 2>conftest.er1
43471 ac_status=$?
43472 grep -v '^ *+' conftest.er1 >conftest.err
43473 rm -f conftest.er1
43474 cat conftest.err >&5
43475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476 (exit $ac_status); } &&
43477 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43479 (eval $ac_try) 2>&5
43480 ac_status=$?
43481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43482 (exit $ac_status); }; } &&
43483 { ac_try='test -s conftest.$ac_objext'
43484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43485 (eval $ac_try) 2>&5
43486 ac_status=$?
43487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43488 (exit $ac_status); }; }; then
43489 wx_cv_func_strptime_decl=yes
43490 else
43491 echo "$as_me: failed program was:" >&5
43492 sed 's/^/| /' conftest.$ac_ext >&5
43493
43494 wx_cv_func_strptime_decl=no
43495
43496 fi
43497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43498
43499
43500 fi
43501 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43502 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43503 fi
43504 if test "$wx_cv_func_strptime_decl" = "yes"; then
43505 cat >>confdefs.h <<\_ACEOF
43506 #define HAVE_STRPTIME_DECL 1
43507 _ACEOF
43508
43509 fi
43510
43511 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43512 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43513 if test "${wx_cv_var_timezone+set}" = set; then
43514 echo $ECHO_N "(cached) $ECHO_C" >&6
43515 else
43516
43517 cat >conftest.$ac_ext <<_ACEOF
43518 /* confdefs.h. */
43519 _ACEOF
43520 cat confdefs.h >>conftest.$ac_ext
43521 cat >>conftest.$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43523
43524 #include <time.h>
43525
43526 int
43527 main ()
43528 {
43529
43530 int tz;
43531 tz = timezone;
43532
43533 ;
43534 return 0;
43535 }
43536 _ACEOF
43537 rm -f conftest.$ac_objext
43538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43539 (eval $ac_compile) 2>conftest.er1
43540 ac_status=$?
43541 grep -v '^ *+' conftest.er1 >conftest.err
43542 rm -f conftest.er1
43543 cat conftest.err >&5
43544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43545 (exit $ac_status); } &&
43546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43548 (eval $ac_try) 2>&5
43549 ac_status=$?
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); }; } &&
43552 { ac_try='test -s conftest.$ac_objext'
43553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43554 (eval $ac_try) 2>&5
43555 ac_status=$?
43556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43557 (exit $ac_status); }; }; then
43558
43559 wx_cv_var_timezone=timezone
43560
43561 else
43562 echo "$as_me: failed program was:" >&5
43563 sed 's/^/| /' conftest.$ac_ext >&5
43564
43565
43566 cat >conftest.$ac_ext <<_ACEOF
43567 /* confdefs.h. */
43568 _ACEOF
43569 cat confdefs.h >>conftest.$ac_ext
43570 cat >>conftest.$ac_ext <<_ACEOF
43571 /* end confdefs.h. */
43572
43573 #include <time.h>
43574
43575 int
43576 main ()
43577 {
43578
43579 int tz;
43580 tz = _timezone;
43581
43582 ;
43583 return 0;
43584 }
43585 _ACEOF
43586 rm -f conftest.$ac_objext
43587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43588 (eval $ac_compile) 2>conftest.er1
43589 ac_status=$?
43590 grep -v '^ *+' conftest.er1 >conftest.err
43591 rm -f conftest.er1
43592 cat conftest.err >&5
43593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43594 (exit $ac_status); } &&
43595 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43597 (eval $ac_try) 2>&5
43598 ac_status=$?
43599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43600 (exit $ac_status); }; } &&
43601 { ac_try='test -s conftest.$ac_objext'
43602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43603 (eval $ac_try) 2>&5
43604 ac_status=$?
43605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43606 (exit $ac_status); }; }; then
43607
43608 wx_cv_var_timezone=_timezone
43609
43610 else
43611 echo "$as_me: failed program was:" >&5
43612 sed 's/^/| /' conftest.$ac_ext >&5
43613
43614
43615 cat >conftest.$ac_ext <<_ACEOF
43616 /* confdefs.h. */
43617 _ACEOF
43618 cat confdefs.h >>conftest.$ac_ext
43619 cat >>conftest.$ac_ext <<_ACEOF
43620 /* end confdefs.h. */
43621
43622 #include <time.h>
43623
43624 int
43625 main ()
43626 {
43627
43628 int tz;
43629 tz = __timezone;
43630
43631 ;
43632 return 0;
43633 }
43634 _ACEOF
43635 rm -f conftest.$ac_objext
43636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43637 (eval $ac_compile) 2>conftest.er1
43638 ac_status=$?
43639 grep -v '^ *+' conftest.er1 >conftest.err
43640 rm -f conftest.er1
43641 cat conftest.err >&5
43642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43643 (exit $ac_status); } &&
43644 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43646 (eval $ac_try) 2>&5
43647 ac_status=$?
43648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43649 (exit $ac_status); }; } &&
43650 { ac_try='test -s conftest.$ac_objext'
43651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43652 (eval $ac_try) 2>&5
43653 ac_status=$?
43654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43655 (exit $ac_status); }; }; then
43656
43657 wx_cv_var_timezone=__timezone
43658
43659 else
43660 echo "$as_me: failed program was:" >&5
43661 sed 's/^/| /' conftest.$ac_ext >&5
43662
43663
43664 if test "$USE_DOS" = 0 ; then
43665 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43666 echo "$as_me: WARNING: no timezone variable" >&2;}
43667 fi
43668
43669
43670 fi
43671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43672
43673
43674 fi
43675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43676
43677
43678 fi
43679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43680
43681
43682 fi
43683 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43684 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43685
43686 if test "x$wx_cv_var_timezone" != x ; then
43687 cat >>confdefs.h <<_ACEOF
43688 #define WX_TIMEZONE $wx_cv_var_timezone
43689 _ACEOF
43690
43691 fi
43692
43693
43694 for ac_func in localtime
43695 do
43696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43697 echo "$as_me:$LINENO: checking for $ac_func" >&5
43698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43699 if eval "test \"\${$as_ac_var+set}\" = set"; then
43700 echo $ECHO_N "(cached) $ECHO_C" >&6
43701 else
43702 cat >conftest.$ac_ext <<_ACEOF
43703 /* confdefs.h. */
43704 _ACEOF
43705 cat confdefs.h >>conftest.$ac_ext
43706 cat >>conftest.$ac_ext <<_ACEOF
43707 /* end confdefs.h. */
43708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43710 #define $ac_func innocuous_$ac_func
43711
43712 /* System header to define __stub macros and hopefully few prototypes,
43713 which can conflict with char $ac_func (); below.
43714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43715 <limits.h> exists even on freestanding compilers. */
43716
43717 #ifdef __STDC__
43718 # include <limits.h>
43719 #else
43720 # include <assert.h>
43721 #endif
43722
43723 #undef $ac_func
43724
43725 /* Override any gcc2 internal prototype to avoid an error. */
43726 #ifdef __cplusplus
43727 extern "C"
43728 {
43729 #endif
43730 /* We use char because int might match the return type of a gcc2
43731 builtin and then its argument prototype would still apply. */
43732 char $ac_func ();
43733 /* The GNU C library defines this for functions which it implements
43734 to always fail with ENOSYS. Some functions are actually named
43735 something starting with __ and the normal name is an alias. */
43736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43737 choke me
43738 #else
43739 char (*f) () = $ac_func;
43740 #endif
43741 #ifdef __cplusplus
43742 }
43743 #endif
43744
43745 int
43746 main ()
43747 {
43748 return f != $ac_func;
43749 ;
43750 return 0;
43751 }
43752 _ACEOF
43753 rm -f conftest.$ac_objext conftest$ac_exeext
43754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43755 (eval $ac_link) 2>conftest.er1
43756 ac_status=$?
43757 grep -v '^ *+' conftest.er1 >conftest.err
43758 rm -f conftest.er1
43759 cat conftest.err >&5
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); } &&
43762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43764 (eval $ac_try) 2>&5
43765 ac_status=$?
43766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43767 (exit $ac_status); }; } &&
43768 { ac_try='test -s conftest$ac_exeext'
43769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43770 (eval $ac_try) 2>&5
43771 ac_status=$?
43772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43773 (exit $ac_status); }; }; then
43774 eval "$as_ac_var=yes"
43775 else
43776 echo "$as_me: failed program was:" >&5
43777 sed 's/^/| /' conftest.$ac_ext >&5
43778
43779 eval "$as_ac_var=no"
43780 fi
43781 rm -f conftest.err conftest.$ac_objext \
43782 conftest$ac_exeext conftest.$ac_ext
43783 fi
43784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43786 if test `eval echo '${'$as_ac_var'}'` = yes; then
43787 cat >>confdefs.h <<_ACEOF
43788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43789 _ACEOF
43790
43791 fi
43792 done
43793
43794
43795 if test "$ac_cv_func_localtime" = "yes"; then
43796 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43797 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43798 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43799 echo $ECHO_N "(cached) $ECHO_C" >&6
43800 else
43801
43802 cat >conftest.$ac_ext <<_ACEOF
43803 /* confdefs.h. */
43804 _ACEOF
43805 cat confdefs.h >>conftest.$ac_ext
43806 cat >>conftest.$ac_ext <<_ACEOF
43807 /* end confdefs.h. */
43808
43809 #include <time.h>
43810
43811 int
43812 main ()
43813 {
43814
43815 struct tm tm;
43816 tm.tm_gmtoff++;
43817
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
43844 wx_cv_struct_tm_has_gmtoff=yes
43845
43846 else
43847 echo "$as_me: failed program was:" >&5
43848 sed 's/^/| /' conftest.$ac_ext >&5
43849
43850 wx_cv_struct_tm_has_gmtoff=no
43851
43852 fi
43853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43854
43855 fi
43856 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43857 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43858 fi
43859
43860 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43861 cat >>confdefs.h <<\_ACEOF
43862 #define WX_GMTOFF_IN_TM 1
43863 _ACEOF
43864
43865 fi
43866
43867
43868
43869 for ac_func in gettimeofday ftime
43870 do
43871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43872 echo "$as_me:$LINENO: checking for $ac_func" >&5
43873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43874 if eval "test \"\${$as_ac_var+set}\" = set"; then
43875 echo $ECHO_N "(cached) $ECHO_C" >&6
43876 else
43877 cat >conftest.$ac_ext <<_ACEOF
43878 /* confdefs.h. */
43879 _ACEOF
43880 cat confdefs.h >>conftest.$ac_ext
43881 cat >>conftest.$ac_ext <<_ACEOF
43882 /* end confdefs.h. */
43883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43885 #define $ac_func innocuous_$ac_func
43886
43887 /* System header to define __stub macros and hopefully few prototypes,
43888 which can conflict with char $ac_func (); below.
43889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43890 <limits.h> exists even on freestanding compilers. */
43891
43892 #ifdef __STDC__
43893 # include <limits.h>
43894 #else
43895 # include <assert.h>
43896 #endif
43897
43898 #undef $ac_func
43899
43900 /* Override any gcc2 internal prototype to avoid an error. */
43901 #ifdef __cplusplus
43902 extern "C"
43903 {
43904 #endif
43905 /* We use char because int might match the return type of a gcc2
43906 builtin and then its argument prototype would still apply. */
43907 char $ac_func ();
43908 /* The GNU C library defines this for functions which it implements
43909 to always fail with ENOSYS. Some functions are actually named
43910 something starting with __ and the normal name is an alias. */
43911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43912 choke me
43913 #else
43914 char (*f) () = $ac_func;
43915 #endif
43916 #ifdef __cplusplus
43917 }
43918 #endif
43919
43920 int
43921 main ()
43922 {
43923 return f != $ac_func;
43924 ;
43925 return 0;
43926 }
43927 _ACEOF
43928 rm -f conftest.$ac_objext conftest$ac_exeext
43929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43930 (eval $ac_link) 2>conftest.er1
43931 ac_status=$?
43932 grep -v '^ *+' conftest.er1 >conftest.err
43933 rm -f conftest.er1
43934 cat conftest.err >&5
43935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43936 (exit $ac_status); } &&
43937 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43939 (eval $ac_try) 2>&5
43940 ac_status=$?
43941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); }; } &&
43943 { ac_try='test -s conftest$ac_exeext'
43944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43945 (eval $ac_try) 2>&5
43946 ac_status=$?
43947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43948 (exit $ac_status); }; }; then
43949 eval "$as_ac_var=yes"
43950 else
43951 echo "$as_me: failed program was:" >&5
43952 sed 's/^/| /' conftest.$ac_ext >&5
43953
43954 eval "$as_ac_var=no"
43955 fi
43956 rm -f conftest.err conftest.$ac_objext \
43957 conftest$ac_exeext conftest.$ac_ext
43958 fi
43959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43961 if test `eval echo '${'$as_ac_var'}'` = yes; then
43962 cat >>confdefs.h <<_ACEOF
43963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43964 _ACEOF
43965 break
43966 fi
43967 done
43968
43969
43970 if test "$ac_cv_func_gettimeofday" = "yes"; then
43971 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43972 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43973 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43974 echo $ECHO_N "(cached) $ECHO_C" >&6
43975 else
43976
43977 cat >conftest.$ac_ext <<_ACEOF
43978 /* confdefs.h. */
43979 _ACEOF
43980 cat confdefs.h >>conftest.$ac_ext
43981 cat >>conftest.$ac_ext <<_ACEOF
43982 /* end confdefs.h. */
43983
43984 #include <sys/time.h>
43985 #include <unistd.h>
43986
43987 int
43988 main ()
43989 {
43990
43991 struct timeval tv;
43992 gettimeofday(&tv, NULL);
43993
43994 ;
43995 return 0;
43996 }
43997 _ACEOF
43998 rm -f conftest.$ac_objext
43999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44000 (eval $ac_compile) 2>conftest.er1
44001 ac_status=$?
44002 grep -v '^ *+' conftest.er1 >conftest.err
44003 rm -f conftest.er1
44004 cat conftest.err >&5
44005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44006 (exit $ac_status); } &&
44007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44009 (eval $ac_try) 2>&5
44010 ac_status=$?
44011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44012 (exit $ac_status); }; } &&
44013 { ac_try='test -s conftest.$ac_objext'
44014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44015 (eval $ac_try) 2>&5
44016 ac_status=$?
44017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44018 (exit $ac_status); }; }; then
44019 wx_cv_func_gettimeofday_has_2_args=yes
44020 else
44021 echo "$as_me: failed program was:" >&5
44022 sed 's/^/| /' conftest.$ac_ext >&5
44023
44024 cat >conftest.$ac_ext <<_ACEOF
44025 /* confdefs.h. */
44026 _ACEOF
44027 cat confdefs.h >>conftest.$ac_ext
44028 cat >>conftest.$ac_ext <<_ACEOF
44029 /* end confdefs.h. */
44030
44031 #include <sys/time.h>
44032 #include <unistd.h>
44033
44034 int
44035 main ()
44036 {
44037
44038 struct timeval tv;
44039 gettimeofday(&tv);
44040
44041 ;
44042 return 0;
44043 }
44044 _ACEOF
44045 rm -f conftest.$ac_objext
44046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44047 (eval $ac_compile) 2>conftest.er1
44048 ac_status=$?
44049 grep -v '^ *+' conftest.er1 >conftest.err
44050 rm -f conftest.er1
44051 cat conftest.err >&5
44052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44053 (exit $ac_status); } &&
44054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44056 (eval $ac_try) 2>&5
44057 ac_status=$?
44058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059 (exit $ac_status); }; } &&
44060 { ac_try='test -s conftest.$ac_objext'
44061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44062 (eval $ac_try) 2>&5
44063 ac_status=$?
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); }; }; then
44066 wx_cv_func_gettimeofday_has_2_args=no
44067 else
44068 echo "$as_me: failed program was:" >&5
44069 sed 's/^/| /' conftest.$ac_ext >&5
44070
44071
44072 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44073 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44074 wx_cv_func_gettimeofday_has_2_args=unknown
44075
44076
44077 fi
44078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44079
44080 fi
44081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44082
44083 fi
44084 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44085 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44086
44087 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44088 cat >>confdefs.h <<\_ACEOF
44089 #define WX_GETTIMEOFDAY_NO_TZ 1
44090 _ACEOF
44091
44092 fi
44093 fi
44094
44095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44096 fi
44097
44098
44099 if test "$wxUSE_SOCKETS" = "yes"; then
44100 if test "$wxUSE_MGL" = "1"; then
44101 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44102 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44103 wxUSE_SOCKETS="no"
44104 fi
44105 fi
44106
44107 if test "$wxUSE_SOCKETS" = "yes"; then
44108 if test "$TOOLKIT" != "MSW"; then
44109 echo "$as_me:$LINENO: checking for socket" >&5
44110 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44111 if test "${ac_cv_func_socket+set}" = set; then
44112 echo $ECHO_N "(cached) $ECHO_C" >&6
44113 else
44114 cat >conftest.$ac_ext <<_ACEOF
44115 /* confdefs.h. */
44116 _ACEOF
44117 cat confdefs.h >>conftest.$ac_ext
44118 cat >>conftest.$ac_ext <<_ACEOF
44119 /* end confdefs.h. */
44120 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44122 #define socket innocuous_socket
44123
44124 /* System header to define __stub macros and hopefully few prototypes,
44125 which can conflict with char socket (); below.
44126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44127 <limits.h> exists even on freestanding compilers. */
44128
44129 #ifdef __STDC__
44130 # include <limits.h>
44131 #else
44132 # include <assert.h>
44133 #endif
44134
44135 #undef socket
44136
44137 /* Override any gcc2 internal prototype to avoid an error. */
44138 #ifdef __cplusplus
44139 extern "C"
44140 {
44141 #endif
44142 /* We use char because int might match the return type of a gcc2
44143 builtin and then its argument prototype would still apply. */
44144 char socket ();
44145 /* The GNU C library defines this for functions which it implements
44146 to always fail with ENOSYS. Some functions are actually named
44147 something starting with __ and the normal name is an alias. */
44148 #if defined (__stub_socket) || defined (__stub___socket)
44149 choke me
44150 #else
44151 char (*f) () = socket;
44152 #endif
44153 #ifdef __cplusplus
44154 }
44155 #endif
44156
44157 int
44158 main ()
44159 {
44160 return f != socket;
44161 ;
44162 return 0;
44163 }
44164 _ACEOF
44165 rm -f conftest.$ac_objext conftest$ac_exeext
44166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44167 (eval $ac_link) 2>conftest.er1
44168 ac_status=$?
44169 grep -v '^ *+' conftest.er1 >conftest.err
44170 rm -f conftest.er1
44171 cat conftest.err >&5
44172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44173 (exit $ac_status); } &&
44174 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44176 (eval $ac_try) 2>&5
44177 ac_status=$?
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); }; } &&
44180 { ac_try='test -s conftest$ac_exeext'
44181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44182 (eval $ac_try) 2>&5
44183 ac_status=$?
44184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44185 (exit $ac_status); }; }; then
44186 ac_cv_func_socket=yes
44187 else
44188 echo "$as_me: failed program was:" >&5
44189 sed 's/^/| /' conftest.$ac_ext >&5
44190
44191 ac_cv_func_socket=no
44192 fi
44193 rm -f conftest.err conftest.$ac_objext \
44194 conftest$ac_exeext conftest.$ac_ext
44195 fi
44196 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44197 echo "${ECHO_T}$ac_cv_func_socket" >&6
44198 if test $ac_cv_func_socket = yes; then
44199 :
44200 else
44201
44202 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44203 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44204 if test "${ac_cv_lib_socket_socket+set}" = set; then
44205 echo $ECHO_N "(cached) $ECHO_C" >&6
44206 else
44207 ac_check_lib_save_LIBS=$LIBS
44208 LIBS="-lsocket $LIBS"
44209 cat >conftest.$ac_ext <<_ACEOF
44210 /* confdefs.h. */
44211 _ACEOF
44212 cat confdefs.h >>conftest.$ac_ext
44213 cat >>conftest.$ac_ext <<_ACEOF
44214 /* end confdefs.h. */
44215
44216 /* Override any gcc2 internal prototype to avoid an error. */
44217 #ifdef __cplusplus
44218 extern "C"
44219 #endif
44220 /* We use char because int might match the return type of a gcc2
44221 builtin and then its argument prototype would still apply. */
44222 char socket ();
44223 int
44224 main ()
44225 {
44226 socket ();
44227 ;
44228 return 0;
44229 }
44230 _ACEOF
44231 rm -f conftest.$ac_objext conftest$ac_exeext
44232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44233 (eval $ac_link) 2>conftest.er1
44234 ac_status=$?
44235 grep -v '^ *+' conftest.er1 >conftest.err
44236 rm -f conftest.er1
44237 cat conftest.err >&5
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); } &&
44240 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44242 (eval $ac_try) 2>&5
44243 ac_status=$?
44244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44245 (exit $ac_status); }; } &&
44246 { ac_try='test -s conftest$ac_exeext'
44247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44248 (eval $ac_try) 2>&5
44249 ac_status=$?
44250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44251 (exit $ac_status); }; }; then
44252 ac_cv_lib_socket_socket=yes
44253 else
44254 echo "$as_me: failed program was:" >&5
44255 sed 's/^/| /' conftest.$ac_ext >&5
44256
44257 ac_cv_lib_socket_socket=no
44258 fi
44259 rm -f conftest.err conftest.$ac_objext \
44260 conftest$ac_exeext conftest.$ac_ext
44261 LIBS=$ac_check_lib_save_LIBS
44262 fi
44263 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44264 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44265 if test $ac_cv_lib_socket_socket = yes; then
44266 if test "$INET_LINK" != " -lsocket"; then
44267 INET_LINK="$INET_LINK -lsocket"
44268 fi
44269 else
44270
44271 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44272 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44273 wxUSE_SOCKETS=no
44274
44275
44276 fi
44277
44278
44279
44280 fi
44281
44282 fi
44283 fi
44284
44285 if test "$wxUSE_SOCKETS" = "yes" ; then
44286 if test "$TOOLKIT" != "MSW"; then
44287 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44288 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44289 if test "${wx_cv_type_getsockname3+set}" = set; then
44290 echo $ECHO_N "(cached) $ECHO_C" >&6
44291 else
44292
44293 cat >conftest.$ac_ext <<_ACEOF
44294 /* confdefs.h. */
44295 _ACEOF
44296 cat confdefs.h >>conftest.$ac_ext
44297 cat >>conftest.$ac_ext <<_ACEOF
44298 /* end confdefs.h. */
44299
44300 #include <sys/types.h>
44301 #include <sys/socket.h>
44302
44303 int
44304 main ()
44305 {
44306
44307 socklen_t len;
44308 getsockname(0, 0, &len);
44309
44310 ;
44311 return 0;
44312 }
44313 _ACEOF
44314 rm -f conftest.$ac_objext
44315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44316 (eval $ac_compile) 2>conftest.er1
44317 ac_status=$?
44318 grep -v '^ *+' conftest.er1 >conftest.err
44319 rm -f conftest.er1
44320 cat conftest.err >&5
44321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44322 (exit $ac_status); } &&
44323 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44325 (eval $ac_try) 2>&5
44326 ac_status=$?
44327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44328 (exit $ac_status); }; } &&
44329 { ac_try='test -s conftest.$ac_objext'
44330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44331 (eval $ac_try) 2>&5
44332 ac_status=$?
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); }; }; then
44335 wx_cv_type_getsockname3=socklen_t
44336 else
44337 echo "$as_me: failed program was:" >&5
44338 sed 's/^/| /' conftest.$ac_ext >&5
44339
44340
44341 CXXFLAGS_OLD="$CXXFLAGS"
44342 if test "$GCC" = yes ; then
44343 CXXFLAGS="-Werror $CXXFLAGS"
44344 fi
44345
44346 cat >conftest.$ac_ext <<_ACEOF
44347 /* confdefs.h. */
44348 _ACEOF
44349 cat confdefs.h >>conftest.$ac_ext
44350 cat >>conftest.$ac_ext <<_ACEOF
44351 /* end confdefs.h. */
44352
44353 #include <sys/types.h>
44354 #include <sys/socket.h>
44355
44356 int
44357 main ()
44358 {
44359
44360 size_t len;
44361 getsockname(0, 0, &len);
44362
44363 ;
44364 return 0;
44365 }
44366 _ACEOF
44367 rm -f conftest.$ac_objext
44368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44369 (eval $ac_compile) 2>conftest.er1
44370 ac_status=$?
44371 grep -v '^ *+' conftest.er1 >conftest.err
44372 rm -f conftest.er1
44373 cat conftest.err >&5
44374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44375 (exit $ac_status); } &&
44376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44378 (eval $ac_try) 2>&5
44379 ac_status=$?
44380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44381 (exit $ac_status); }; } &&
44382 { ac_try='test -s conftest.$ac_objext'
44383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44384 (eval $ac_try) 2>&5
44385 ac_status=$?
44386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44387 (exit $ac_status); }; }; then
44388 wx_cv_type_getsockname3=size_t
44389 else
44390 echo "$as_me: failed program was:" >&5
44391 sed 's/^/| /' conftest.$ac_ext >&5
44392
44393 cat >conftest.$ac_ext <<_ACEOF
44394 /* confdefs.h. */
44395 _ACEOF
44396 cat confdefs.h >>conftest.$ac_ext
44397 cat >>conftest.$ac_ext <<_ACEOF
44398 /* end confdefs.h. */
44399
44400 #include <sys/types.h>
44401 #include <sys/socket.h>
44402
44403 int
44404 main ()
44405 {
44406
44407 int len;
44408 getsockname(0, 0, &len);
44409
44410 ;
44411 return 0;
44412 }
44413 _ACEOF
44414 rm -f conftest.$ac_objext
44415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44416 (eval $ac_compile) 2>conftest.er1
44417 ac_status=$?
44418 grep -v '^ *+' conftest.er1 >conftest.err
44419 rm -f conftest.er1
44420 cat conftest.err >&5
44421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44422 (exit $ac_status); } &&
44423 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44425 (eval $ac_try) 2>&5
44426 ac_status=$?
44427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44428 (exit $ac_status); }; } &&
44429 { ac_try='test -s conftest.$ac_objext'
44430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44431 (eval $ac_try) 2>&5
44432 ac_status=$?
44433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44434 (exit $ac_status); }; }; then
44435 wx_cv_type_getsockname3=int
44436 else
44437 echo "$as_me: failed program was:" >&5
44438 sed 's/^/| /' conftest.$ac_ext >&5
44439
44440 wx_cv_type_getsockname3=unknown
44441
44442 fi
44443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44444
44445 fi
44446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44447
44448 CXXFLAGS="$CXXFLAGS_OLD"
44449
44450
44451 fi
44452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44453
44454 fi
44455 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44456 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44457
44458 if test "$wx_cv_type_getsockname3" = "unknown"; then
44459 wxUSE_SOCKETS=no
44460 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44461 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44462 else
44463 cat >>confdefs.h <<_ACEOF
44464 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44465 _ACEOF
44466
44467 fi
44468 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44469 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44470 if test "${wx_cv_type_getsockopt5+set}" = set; then
44471 echo $ECHO_N "(cached) $ECHO_C" >&6
44472 else
44473
44474 cat >conftest.$ac_ext <<_ACEOF
44475 /* confdefs.h. */
44476 _ACEOF
44477 cat confdefs.h >>conftest.$ac_ext
44478 cat >>conftest.$ac_ext <<_ACEOF
44479 /* end confdefs.h. */
44480
44481 #include <sys/types.h>
44482 #include <sys/socket.h>
44483
44484 int
44485 main ()
44486 {
44487
44488 socklen_t len;
44489 getsockopt(0, 0, 0, 0, &len);
44490
44491 ;
44492 return 0;
44493 }
44494 _ACEOF
44495 rm -f conftest.$ac_objext
44496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44497 (eval $ac_compile) 2>conftest.er1
44498 ac_status=$?
44499 grep -v '^ *+' conftest.er1 >conftest.err
44500 rm -f conftest.er1
44501 cat conftest.err >&5
44502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44503 (exit $ac_status); } &&
44504 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44506 (eval $ac_try) 2>&5
44507 ac_status=$?
44508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44509 (exit $ac_status); }; } &&
44510 { ac_try='test -s conftest.$ac_objext'
44511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44512 (eval $ac_try) 2>&5
44513 ac_status=$?
44514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515 (exit $ac_status); }; }; then
44516 wx_cv_type_getsockopt5=socklen_t
44517 else
44518 echo "$as_me: failed program was:" >&5
44519 sed 's/^/| /' conftest.$ac_ext >&5
44520
44521
44522 CXXFLAGS_OLD="$CXXFLAGS"
44523 if test "$GCC" = yes ; then
44524 CXXFLAGS="-Werror $CXXFLAGS"
44525 fi
44526
44527 cat >conftest.$ac_ext <<_ACEOF
44528 /* confdefs.h. */
44529 _ACEOF
44530 cat confdefs.h >>conftest.$ac_ext
44531 cat >>conftest.$ac_ext <<_ACEOF
44532 /* end confdefs.h. */
44533
44534 #include <sys/types.h>
44535 #include <sys/socket.h>
44536
44537 int
44538 main ()
44539 {
44540
44541 size_t len;
44542 getsockopt(0, 0, 0, 0, &len);
44543
44544 ;
44545 return 0;
44546 }
44547 _ACEOF
44548 rm -f conftest.$ac_objext
44549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44550 (eval $ac_compile) 2>conftest.er1
44551 ac_status=$?
44552 grep -v '^ *+' conftest.er1 >conftest.err
44553 rm -f conftest.er1
44554 cat conftest.err >&5
44555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44556 (exit $ac_status); } &&
44557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44559 (eval $ac_try) 2>&5
44560 ac_status=$?
44561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44562 (exit $ac_status); }; } &&
44563 { ac_try='test -s conftest.$ac_objext'
44564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44565 (eval $ac_try) 2>&5
44566 ac_status=$?
44567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44568 (exit $ac_status); }; }; then
44569 wx_cv_type_getsockopt5=size_t
44570 else
44571 echo "$as_me: failed program was:" >&5
44572 sed 's/^/| /' conftest.$ac_ext >&5
44573
44574 cat >conftest.$ac_ext <<_ACEOF
44575 /* confdefs.h. */
44576 _ACEOF
44577 cat confdefs.h >>conftest.$ac_ext
44578 cat >>conftest.$ac_ext <<_ACEOF
44579 /* end confdefs.h. */
44580
44581 #include <sys/types.h>
44582 #include <sys/socket.h>
44583
44584 int
44585 main ()
44586 {
44587
44588 int len;
44589 getsockopt(0, 0, 0, 0, &len);
44590
44591 ;
44592 return 0;
44593 }
44594 _ACEOF
44595 rm -f conftest.$ac_objext
44596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44597 (eval $ac_compile) 2>conftest.er1
44598 ac_status=$?
44599 grep -v '^ *+' conftest.er1 >conftest.err
44600 rm -f conftest.er1
44601 cat conftest.err >&5
44602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44603 (exit $ac_status); } &&
44604 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44606 (eval $ac_try) 2>&5
44607 ac_status=$?
44608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44609 (exit $ac_status); }; } &&
44610 { ac_try='test -s conftest.$ac_objext'
44611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44612 (eval $ac_try) 2>&5
44613 ac_status=$?
44614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615 (exit $ac_status); }; }; then
44616 wx_cv_type_getsockopt5=int
44617 else
44618 echo "$as_me: failed program was:" >&5
44619 sed 's/^/| /' conftest.$ac_ext >&5
44620
44621 wx_cv_type_getsockopt5=unknown
44622
44623 fi
44624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44625
44626 fi
44627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44628
44629 CXXFLAGS="$CXXFLAGS_OLD"
44630
44631
44632 fi
44633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44634
44635 fi
44636 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44637 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44638
44639 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44640 wxUSE_SOCKETS=no
44641 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44642 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44643 else
44644 cat >>confdefs.h <<_ACEOF
44645 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44646 _ACEOF
44647
44648 fi
44649 fi
44650 fi
44651
44652 if test "$wxUSE_SOCKETS" = "yes" ; then
44653 cat >>confdefs.h <<\_ACEOF
44654 #define wxUSE_SOCKETS 1
44655 _ACEOF
44656
44657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44658 fi
44659
44660 if test "$wxUSE_PROTOCOL" = "yes"; then
44661 if test "$wxUSE_SOCKETS" != "yes"; then
44662 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44663 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44664 wxUSE_PROTOCOL=no
44665 fi
44666 fi
44667
44668 if test "$wxUSE_PROTOCOL" = "yes"; then
44669 cat >>confdefs.h <<\_ACEOF
44670 #define wxUSE_PROTOCOL 1
44671 _ACEOF
44672
44673
44674 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44675 cat >>confdefs.h <<\_ACEOF
44676 #define wxUSE_PROTOCOL_HTTP 1
44677 _ACEOF
44678
44679 fi
44680 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44681 cat >>confdefs.h <<\_ACEOF
44682 #define wxUSE_PROTOCOL_FTP 1
44683 _ACEOF
44684
44685 fi
44686 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44687 cat >>confdefs.h <<\_ACEOF
44688 #define wxUSE_PROTOCOL_FILE 1
44689 _ACEOF
44690
44691 fi
44692 else
44693 if test "$wxUSE_FS_INET" = "yes"; then
44694 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44695 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44696 wxUSE_FS_INET="no"
44697 fi
44698 fi
44699
44700 if test "$wxUSE_URL" = "yes"; then
44701 if test "$wxUSE_PROTOCOL" != "yes"; then
44702 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44703 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44704 wxUSE_URL=no
44705 fi
44706 if test "$wxUSE_URL" = "yes"; then
44707 cat >>confdefs.h <<\_ACEOF
44708 #define wxUSE_URL 1
44709 _ACEOF
44710
44711 fi
44712 fi
44713
44714 if test "$wxUSE_VARIANT" = "yes"; then
44715 cat >>confdefs.h <<\_ACEOF
44716 #define wxUSE_VARIANT 1
44717 _ACEOF
44718
44719 fi
44720
44721 if test "$wxUSE_FS_INET" = "yes"; then
44722 cat >>confdefs.h <<\_ACEOF
44723 #define wxUSE_FS_INET 1
44724 _ACEOF
44725
44726 fi
44727
44728
44729 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44730 wxUSE_JOYSTICK=no
44731
44732 if test "$TOOLKIT" = "MSW"; then
44733 wxUSE_JOYSTICK=yes
44734
44735 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44736 if test "$USE_DARWIN" = 1; then
44737 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44738 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44739 cat >conftest.$ac_ext <<_ACEOF
44740 /* confdefs.h. */
44741 _ACEOF
44742 cat confdefs.h >>conftest.$ac_ext
44743 cat >>conftest.$ac_ext <<_ACEOF
44744 /* end confdefs.h. */
44745 #include <IOKit/hid/IOHIDLib.h>
44746 int
44747 main ()
44748 {
44749 IOHIDQueueInterface *qi = NULL;
44750 IOHIDCallbackFunction cb = NULL;
44751 qi->setEventCallout(NULL, cb, NULL, NULL);
44752 ;
44753 return 0;
44754 }
44755 _ACEOF
44756 rm -f conftest.$ac_objext
44757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44758 (eval $ac_compile) 2>conftest.er1
44759 ac_status=$?
44760 grep -v '^ *+' conftest.er1 >conftest.err
44761 rm -f conftest.er1
44762 cat conftest.err >&5
44763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44764 (exit $ac_status); } &&
44765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44767 (eval $ac_try) 2>&5
44768 ac_status=$?
44769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44770 (exit $ac_status); }; } &&
44771 { ac_try='test -s conftest.$ac_objext'
44772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44773 (eval $ac_try) 2>&5
44774 ac_status=$?
44775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44776 (exit $ac_status); }; }; then
44777 wxUSE_JOYSTICK=yes
44778
44779 else
44780 echo "$as_me: failed program was:" >&5
44781 sed 's/^/| /' conftest.$ac_ext >&5
44782
44783 fi
44784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44785 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44786 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44787 fi
44788
44789 else
44790
44791 for ac_header in linux/joystick.h
44792 do
44793 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44795 echo "$as_me:$LINENO: checking for $ac_header" >&5
44796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44798 echo $ECHO_N "(cached) $ECHO_C" >&6
44799 fi
44800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44802 else
44803 # Is the header compilable?
44804 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44805 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44806 cat >conftest.$ac_ext <<_ACEOF
44807 /* confdefs.h. */
44808 _ACEOF
44809 cat confdefs.h >>conftest.$ac_ext
44810 cat >>conftest.$ac_ext <<_ACEOF
44811 /* end confdefs.h. */
44812 $ac_includes_default
44813 #include <$ac_header>
44814 _ACEOF
44815 rm -f conftest.$ac_objext
44816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44817 (eval $ac_compile) 2>conftest.er1
44818 ac_status=$?
44819 grep -v '^ *+' conftest.er1 >conftest.err
44820 rm -f conftest.er1
44821 cat conftest.err >&5
44822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44823 (exit $ac_status); } &&
44824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44826 (eval $ac_try) 2>&5
44827 ac_status=$?
44828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44829 (exit $ac_status); }; } &&
44830 { ac_try='test -s conftest.$ac_objext'
44831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44832 (eval $ac_try) 2>&5
44833 ac_status=$?
44834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44835 (exit $ac_status); }; }; then
44836 ac_header_compiler=yes
44837 else
44838 echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.$ac_ext >&5
44840
44841 ac_header_compiler=no
44842 fi
44843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44845 echo "${ECHO_T}$ac_header_compiler" >&6
44846
44847 # Is the header present?
44848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44850 cat >conftest.$ac_ext <<_ACEOF
44851 /* confdefs.h. */
44852 _ACEOF
44853 cat confdefs.h >>conftest.$ac_ext
44854 cat >>conftest.$ac_ext <<_ACEOF
44855 /* end confdefs.h. */
44856 #include <$ac_header>
44857 _ACEOF
44858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44860 ac_status=$?
44861 grep -v '^ *+' conftest.er1 >conftest.err
44862 rm -f conftest.er1
44863 cat conftest.err >&5
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); } >/dev/null; then
44866 if test -s conftest.err; then
44867 ac_cpp_err=$ac_cxx_preproc_warn_flag
44868 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44869 else
44870 ac_cpp_err=
44871 fi
44872 else
44873 ac_cpp_err=yes
44874 fi
44875 if test -z "$ac_cpp_err"; then
44876 ac_header_preproc=yes
44877 else
44878 echo "$as_me: failed program was:" >&5
44879 sed 's/^/| /' conftest.$ac_ext >&5
44880
44881 ac_header_preproc=no
44882 fi
44883 rm -f conftest.err conftest.$ac_ext
44884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44885 echo "${ECHO_T}$ac_header_preproc" >&6
44886
44887 # So? What about this header?
44888 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44889 yes:no: )
44890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44893 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44894 ac_header_preproc=yes
44895 ;;
44896 no:yes:* )
44897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44901 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44902 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44903 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44904 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44906 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44907 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44908 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44909 (
44910 cat <<\_ASBOX
44911 ## ----------------------------------------- ##
44912 ## Report this to wx-dev@lists.wxwidgets.org ##
44913 ## ----------------------------------------- ##
44914 _ASBOX
44915 ) |
44916 sed "s/^/$as_me: WARNING: /" >&2
44917 ;;
44918 esac
44919 echo "$as_me:$LINENO: checking for $ac_header" >&5
44920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44922 echo $ECHO_N "(cached) $ECHO_C" >&6
44923 else
44924 eval "$as_ac_Header=\$ac_header_preproc"
44925 fi
44926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44928
44929 fi
44930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44931 cat >>confdefs.h <<_ACEOF
44932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44933 _ACEOF
44934 wxUSE_JOYSTICK=yes
44935 fi
44936
44937 done
44938
44939 fi
44940
44941 if test "$wxUSE_JOYSTICK" = "yes"; then
44942 cat >>confdefs.h <<\_ACEOF
44943 #define wxUSE_JOYSTICK 1
44944 _ACEOF
44945
44946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44947 else
44948 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44949 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44950 fi
44951 fi
44952
44953
44954
44955 if test "$wxUSE_FONTMAP" = "yes" ; then
44956 cat >>confdefs.h <<\_ACEOF
44957 #define wxUSE_FONTMAP 1
44958 _ACEOF
44959
44960 fi
44961
44962 if test "$wxUSE_UNICODE" = "yes" ; then
44963 cat >>confdefs.h <<\_ACEOF
44964 #define wxUSE_UNICODE 1
44965 _ACEOF
44966
44967
44968 if test "$USE_WIN32" != 1; then
44969 wxUSE_UNICODE_MSLU=no
44970 fi
44971
44972 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44973 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44974 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44975 if test "${ac_cv_lib_unicows_main+set}" = set; then
44976 echo $ECHO_N "(cached) $ECHO_C" >&6
44977 else
44978 ac_check_lib_save_LIBS=$LIBS
44979 LIBS="-lunicows $LIBS"
44980 cat >conftest.$ac_ext <<_ACEOF
44981 /* confdefs.h. */
44982 _ACEOF
44983 cat confdefs.h >>conftest.$ac_ext
44984 cat >>conftest.$ac_ext <<_ACEOF
44985 /* end confdefs.h. */
44986
44987
44988 int
44989 main ()
44990 {
44991 main ();
44992 ;
44993 return 0;
44994 }
44995 _ACEOF
44996 rm -f conftest.$ac_objext conftest$ac_exeext
44997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44998 (eval $ac_link) 2>conftest.er1
44999 ac_status=$?
45000 grep -v '^ *+' conftest.er1 >conftest.err
45001 rm -f conftest.er1
45002 cat conftest.err >&5
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); } &&
45005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45007 (eval $ac_try) 2>&5
45008 ac_status=$?
45009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45010 (exit $ac_status); }; } &&
45011 { ac_try='test -s conftest$ac_exeext'
45012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45013 (eval $ac_try) 2>&5
45014 ac_status=$?
45015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45016 (exit $ac_status); }; }; then
45017 ac_cv_lib_unicows_main=yes
45018 else
45019 echo "$as_me: failed program was:" >&5
45020 sed 's/^/| /' conftest.$ac_ext >&5
45021
45022 ac_cv_lib_unicows_main=no
45023 fi
45024 rm -f conftest.err conftest.$ac_objext \
45025 conftest$ac_exeext conftest.$ac_ext
45026 LIBS=$ac_check_lib_save_LIBS
45027 fi
45028 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45029 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45030 if test $ac_cv_lib_unicows_main = yes; then
45031
45032 cat >>confdefs.h <<\_ACEOF
45033 #define wxUSE_UNICODE_MSLU 1
45034 _ACEOF
45035
45036
45037 else
45038
45039 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45040 Applications will only run on Windows NT/2000/XP!" >&5
45041 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45042 Applications will only run on Windows NT/2000/XP!" >&2;}
45043 wxUSE_UNICODE_MSLU=no
45044
45045 fi
45046
45047 fi
45048 fi
45049
45050 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_EXPERIMENTAL_PRINTF 1
45053 _ACEOF
45054
45055 fi
45056
45057
45058 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_POSTSCRIPT 1
45061 _ACEOF
45062
45063 fi
45064
45065 cat >>confdefs.h <<\_ACEOF
45066 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45067 _ACEOF
45068
45069
45070 cat >>confdefs.h <<\_ACEOF
45071 #define wxUSE_NORMALIZED_PS_FONTS 1
45072 _ACEOF
45073
45074
45075
45076 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45077 cat >>confdefs.h <<\_ACEOF
45078 #define wxUSE_CONSTRAINTS 1
45079 _ACEOF
45080
45081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45082 fi
45083
45084 if test "$wxUSE_MDI" = "yes"; then
45085 cat >>confdefs.h <<\_ACEOF
45086 #define wxUSE_MDI 1
45087 _ACEOF
45088
45089
45090 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45091 cat >>confdefs.h <<\_ACEOF
45092 #define wxUSE_MDI_ARCHITECTURE 1
45093 _ACEOF
45094
45095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45096 fi
45097 fi
45098
45099 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45100 cat >>confdefs.h <<\_ACEOF
45101 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45102 _ACEOF
45103
45104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45105 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45107 fi
45108 fi
45109
45110 if test "$wxUSE_HELP" = "yes"; then
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_HELP 1
45113 _ACEOF
45114
45115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45116
45117 if test "$wxUSE_MSW" = 1; then
45118 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45119 cat >>confdefs.h <<\_ACEOF
45120 #define wxUSE_MS_HTML_HELP 1
45121 _ACEOF
45122
45123 fi
45124 fi
45125
45126 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45127 if test "$wxUSE_HTML" = "yes"; then
45128 cat >>confdefs.h <<\_ACEOF
45129 #define wxUSE_WXHTML_HELP 1
45130 _ACEOF
45131
45132 else
45133 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45134 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45135 wxUSE_WXHTML_HELP=no
45136 fi
45137 fi
45138 fi
45139
45140 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45141 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45142 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45143 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45144 else
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_PRINTING_ARCHITECTURE 1
45147 _ACEOF
45148
45149 fi
45150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45151 fi
45152
45153 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45154 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45155 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45156 { (exit 1); exit 1; }; }
45157 fi
45158
45159
45160 if test "$wxUSE_METAFILE" = "yes"; then
45161 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45162 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45163 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45164 wxUSE_METAFILE=no
45165 fi
45166 fi
45167
45168
45169 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45170 -o "$wxUSE_CLIPBOARD" = "yes" \
45171 -o "$wxUSE_OLE" = "yes" \
45172 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45173
45174 for ac_header in ole2.h
45175 do
45176 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45178 echo "$as_me:$LINENO: checking for $ac_header" >&5
45179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45181 echo $ECHO_N "(cached) $ECHO_C" >&6
45182 fi
45183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45185 else
45186 # Is the header compilable?
45187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45189 cat >conftest.$ac_ext <<_ACEOF
45190 /* confdefs.h. */
45191 _ACEOF
45192 cat confdefs.h >>conftest.$ac_ext
45193 cat >>conftest.$ac_ext <<_ACEOF
45194 /* end confdefs.h. */
45195 $ac_includes_default
45196 #include <$ac_header>
45197 _ACEOF
45198 rm -f conftest.$ac_objext
45199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45200 (eval $ac_compile) 2>conftest.er1
45201 ac_status=$?
45202 grep -v '^ *+' conftest.er1 >conftest.err
45203 rm -f conftest.er1
45204 cat conftest.err >&5
45205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45206 (exit $ac_status); } &&
45207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45209 (eval $ac_try) 2>&5
45210 ac_status=$?
45211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45212 (exit $ac_status); }; } &&
45213 { ac_try='test -s conftest.$ac_objext'
45214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45215 (eval $ac_try) 2>&5
45216 ac_status=$?
45217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45218 (exit $ac_status); }; }; then
45219 ac_header_compiler=yes
45220 else
45221 echo "$as_me: failed program was:" >&5
45222 sed 's/^/| /' conftest.$ac_ext >&5
45223
45224 ac_header_compiler=no
45225 fi
45226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45228 echo "${ECHO_T}$ac_header_compiler" >&6
45229
45230 # Is the header present?
45231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45233 cat >conftest.$ac_ext <<_ACEOF
45234 /* confdefs.h. */
45235 _ACEOF
45236 cat confdefs.h >>conftest.$ac_ext
45237 cat >>conftest.$ac_ext <<_ACEOF
45238 /* end confdefs.h. */
45239 #include <$ac_header>
45240 _ACEOF
45241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45243 ac_status=$?
45244 grep -v '^ *+' conftest.er1 >conftest.err
45245 rm -f conftest.er1
45246 cat conftest.err >&5
45247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45248 (exit $ac_status); } >/dev/null; then
45249 if test -s conftest.err; then
45250 ac_cpp_err=$ac_cxx_preproc_warn_flag
45251 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45252 else
45253 ac_cpp_err=
45254 fi
45255 else
45256 ac_cpp_err=yes
45257 fi
45258 if test -z "$ac_cpp_err"; then
45259 ac_header_preproc=yes
45260 else
45261 echo "$as_me: failed program was:" >&5
45262 sed 's/^/| /' conftest.$ac_ext >&5
45263
45264 ac_header_preproc=no
45265 fi
45266 rm -f conftest.err conftest.$ac_ext
45267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45268 echo "${ECHO_T}$ac_header_preproc" >&6
45269
45270 # So? What about this header?
45271 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45272 yes:no: )
45273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45277 ac_header_preproc=yes
45278 ;;
45279 no:yes:* )
45280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45292 (
45293 cat <<\_ASBOX
45294 ## ----------------------------------------- ##
45295 ## Report this to wx-dev@lists.wxwidgets.org ##
45296 ## ----------------------------------------- ##
45297 _ASBOX
45298 ) |
45299 sed "s/^/$as_me: WARNING: /" >&2
45300 ;;
45301 esac
45302 echo "$as_me:$LINENO: checking for $ac_header" >&5
45303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45305 echo $ECHO_N "(cached) $ECHO_C" >&6
45306 else
45307 eval "$as_ac_Header=\$ac_header_preproc"
45308 fi
45309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45311
45312 fi
45313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45314 cat >>confdefs.h <<_ACEOF
45315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45316 _ACEOF
45317
45318 fi
45319
45320 done
45321
45322
45323 if test "$ac_cv_header_ole2_h" = "yes" ; then
45324 if test "$GCC" = yes ; then
45325 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45326 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45327 cat >conftest.$ac_ext <<_ACEOF
45328 /* confdefs.h. */
45329 _ACEOF
45330 cat confdefs.h >>conftest.$ac_ext
45331 cat >>conftest.$ac_ext <<_ACEOF
45332 /* end confdefs.h. */
45333 #include <windows.h>
45334 #include <ole2.h>
45335 int
45336 main ()
45337 {
45338
45339 ;
45340 return 0;
45341 }
45342 _ACEOF
45343 rm -f conftest.$ac_objext
45344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45345 (eval $ac_compile) 2>conftest.er1
45346 ac_status=$?
45347 grep -v '^ *+' conftest.er1 >conftest.err
45348 rm -f conftest.er1
45349 cat conftest.err >&5
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); } &&
45352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45354 (eval $ac_try) 2>&5
45355 ac_status=$?
45356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45357 (exit $ac_status); }; } &&
45358 { ac_try='test -s conftest.$ac_objext'
45359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45360 (eval $ac_try) 2>&5
45361 ac_status=$?
45362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45363 (exit $ac_status); }; }; then
45364 echo "$as_me:$LINENO: result: no" >&5
45365 echo "${ECHO_T}no" >&6
45366 else
45367 echo "$as_me: failed program was:" >&5
45368 sed 's/^/| /' conftest.$ac_ext >&5
45369
45370 echo "$as_me:$LINENO: result: yes" >&5
45371 echo "${ECHO_T}yes" >&6
45372 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45373 fi
45374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45375 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45376 if test "$wxUSE_OLE" = "yes" ; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_OLE 1
45379 _ACEOF
45380
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_OLE_AUTOMATION 1
45383 _ACEOF
45384
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_OLE_ACTIVEX 1
45387 _ACEOF
45388
45389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45390 fi
45391 fi
45392
45393 if test "$wxUSE_DATAOBJ" = "yes" ; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define wxUSE_DATAOBJ 1
45396 _ACEOF
45397
45398 fi
45399 else
45400 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45401 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45402
45403 wxUSE_CLIPBOARD=no
45404 wxUSE_DRAG_AND_DROP=no
45405 wxUSE_DATAOBJ=no
45406 wxUSE_OLE=no
45407 fi
45408
45409 if test "$wxUSE_METAFILE" = "yes"; then
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_METAFILE 1
45412 _ACEOF
45413
45414
45415 cat >>confdefs.h <<\_ACEOF
45416 #define wxUSE_ENH_METAFILE 1
45417 _ACEOF
45418
45419 fi
45420 fi
45421
45422 if test "$wxUSE_IPC" = "yes"; then
45423 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45424 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45425 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45426 wxUSE_IPC=no
45427 fi
45428
45429 if test "$wxUSE_IPC" = "yes"; then
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_IPC 1
45432 _ACEOF
45433
45434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45435 fi
45436 fi
45437
45438 if test "$wxUSE_DATAOBJ" = "yes"; then
45439 if test "$wxUSE_MGL" = 1; then
45440 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45441 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45442 wxUSE_DATAOBJ=no
45443 else
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_DATAOBJ 1
45446 _ACEOF
45447
45448 fi
45449 else
45450 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45451 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45452 wxUSE_CLIPBOARD=no
45453 wxUSE_DRAG_AND_DROP=no
45454 fi
45455
45456 if test "$wxUSE_CLIPBOARD" = "yes"; then
45457 if test "$wxUSE_MGL" = 1; then
45458 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45459 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45460 wxUSE_CLIPBOARD=no
45461 fi
45462
45463 if test "$wxUSE_CLIPBOARD" = "yes"; then
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_CLIPBOARD 1
45466 _ACEOF
45467
45468 fi
45469 fi
45470
45471 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45472 if test "$wxUSE_GTK" = 1; then
45473 if test "$WXGTK12" != 1; then
45474 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45475 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45476 wxUSE_DRAG_AND_DROP=no
45477 fi
45478 fi
45479
45480 if test "$wxUSE_MOTIF" = 1; then
45481 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45482 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45483 wxUSE_DRAG_AND_DROP=no
45484 fi
45485
45486 if test "$wxUSE_X11" = 1; then
45487 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45488 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45489 wxUSE_DRAG_AND_DROP=no
45490 fi
45491
45492 if test "$wxUSE_MGL" = 1; then
45493 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45494 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45495 wxUSE_DRAG_AND_DROP=no
45496 fi
45497
45498 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45499 cat >>confdefs.h <<\_ACEOF
45500 #define wxUSE_DRAG_AND_DROP 1
45501 _ACEOF
45502
45503 fi
45504
45505 fi
45506
45507 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45509 fi
45510
45511 if test "$wxUSE_SPLINES" = "yes" ; then
45512 cat >>confdefs.h <<\_ACEOF
45513 #define wxUSE_SPLINES 1
45514 _ACEOF
45515
45516 fi
45517
45518 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45519 cat >>confdefs.h <<\_ACEOF
45520 #define wxUSE_MOUSEWHEEL 1
45521 _ACEOF
45522
45523 fi
45524
45525
45526 USES_CONTROLS=0
45527 if test "$wxUSE_CONTROLS" = "yes"; then
45528 USES_CONTROLS=1
45529 fi
45530
45531 if test "$wxUSE_ACCEL" = "yes"; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_ACCEL 1
45534 _ACEOF
45535
45536 USES_CONTROLS=1
45537 fi
45538
45539 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_ANIMATIONCTRL 1
45542 _ACEOF
45543
45544 USES_CONTROLS=1
45545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45546 fi
45547
45548 if test "$wxUSE_BUTTON" = "yes"; then
45549 cat >>confdefs.h <<\_ACEOF
45550 #define wxUSE_BUTTON 1
45551 _ACEOF
45552
45553 USES_CONTROLS=1
45554 fi
45555
45556 if test "$wxUSE_BMPBUTTON" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_BMPBUTTON 1
45559 _ACEOF
45560
45561 USES_CONTROLS=1
45562 fi
45563
45564 if test "$wxUSE_CALCTRL" = "yes"; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_CALENDARCTRL 1
45567 _ACEOF
45568
45569 USES_CONTROLS=1
45570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45571 fi
45572
45573 if test "$wxUSE_CARET" = "yes"; then
45574 cat >>confdefs.h <<\_ACEOF
45575 #define wxUSE_CARET 1
45576 _ACEOF
45577
45578 USES_CONTROLS=1
45579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45580 fi
45581
45582 if test "$wxUSE_COMBOBOX" = "yes"; then
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_COMBOBOX 1
45585 _ACEOF
45586
45587 USES_CONTROLS=1
45588 fi
45589
45590 if test "$wxUSE_COMBOCTRL" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_COMBOCTRL 1
45593 _ACEOF
45594
45595 USES_CONTROLS=1
45596 fi
45597
45598 if test "$wxUSE_CHOICE" = "yes"; then
45599 cat >>confdefs.h <<\_ACEOF
45600 #define wxUSE_CHOICE 1
45601 _ACEOF
45602
45603 USES_CONTROLS=1
45604 fi
45605
45606 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45607 cat >>confdefs.h <<\_ACEOF
45608 #define wxUSE_CHOICEBOOK 1
45609 _ACEOF
45610
45611 USES_CONTROLS=1
45612 fi
45613
45614 if test "$wxUSE_CHECKBOX" = "yes"; then
45615 cat >>confdefs.h <<\_ACEOF
45616 #define wxUSE_CHECKBOX 1
45617 _ACEOF
45618
45619 USES_CONTROLS=1
45620 fi
45621
45622 if test "$wxUSE_CHECKLST" = "yes"; then
45623 cat >>confdefs.h <<\_ACEOF
45624 #define wxUSE_CHECKLISTBOX 1
45625 _ACEOF
45626
45627 USES_CONTROLS=1
45628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45629 fi
45630
45631 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_COLOURPICKERCTRL 1
45634 _ACEOF
45635
45636 USES_CONTROLS=1
45637 fi
45638
45639 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_DATEPICKCTRL 1
45642 _ACEOF
45643
45644 USES_CONTROLS=1
45645 fi
45646
45647 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45648 cat >>confdefs.h <<\_ACEOF
45649 #define wxUSE_DIRPICKERCTRL 1
45650 _ACEOF
45651
45652 USES_CONTROLS=1
45653 fi
45654
45655 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_FILEPICKERCTRL 1
45658 _ACEOF
45659
45660 USES_CONTROLS=1
45661 fi
45662
45663 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_FONTPICKERCTRL 1
45666 _ACEOF
45667
45668 USES_CONTROLS=1
45669 fi
45670
45671 if test "$wxUSE_DISPLAY" = "yes"; then
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_DISPLAY 1
45674 _ACEOF
45675
45676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45677 fi
45678
45679 if test "$wxUSE_DETECT_SM" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_DETECT_SM 1
45682 _ACEOF
45683
45684 fi
45685
45686 if test "$wxUSE_GAUGE" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_GAUGE 1
45689 _ACEOF
45690
45691 USES_CONTROLS=1
45692 fi
45693
45694 if test "$wxUSE_GRID" = "yes"; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_GRID 1
45697 _ACEOF
45698
45699 USES_CONTROLS=1
45700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45701 fi
45702
45703 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_HYPERLINKCTRL 1
45706 _ACEOF
45707
45708 USES_CONTROLS=1
45709 fi
45710
45711 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_BITMAPCOMBOBOX 1
45714 _ACEOF
45715
45716 USES_CONTROLS=1
45717 fi
45718
45719 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45720 cat >>confdefs.h <<\_ACEOF
45721 #define wxUSE_DATAVIEWCTRL 1
45722 _ACEOF
45723
45724 USES_CONTROLS=1
45725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45726 fi
45727
45728 if test "$wxUSE_IMAGLIST" = "yes"; then
45729 cat >>confdefs.h <<\_ACEOF
45730 #define wxUSE_IMAGLIST 1
45731 _ACEOF
45732
45733 fi
45734
45735 if test "$wxUSE_LISTBOOK" = "yes"; then
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_LISTBOOK 1
45738 _ACEOF
45739
45740 USES_CONTROLS=1
45741 fi
45742
45743 if test "$wxUSE_LISTBOX" = "yes"; then
45744 cat >>confdefs.h <<\_ACEOF
45745 #define wxUSE_LISTBOX 1
45746 _ACEOF
45747
45748 USES_CONTROLS=1
45749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45750 fi
45751
45752 if test "$wxUSE_LISTCTRL" = "yes"; then
45753 if test "$wxUSE_IMAGLIST" = "yes"; then
45754 cat >>confdefs.h <<\_ACEOF
45755 #define wxUSE_LISTCTRL 1
45756 _ACEOF
45757
45758 USES_CONTROLS=1
45759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45760 else
45761 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45762 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45763 fi
45764 fi
45765
45766 if test "$wxUSE_NOTEBOOK" = "yes"; then
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_NOTEBOOK 1
45769 _ACEOF
45770
45771 USES_CONTROLS=1
45772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45773 fi
45774
45775 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45776 cat >>confdefs.h <<\_ACEOF
45777 #define wxUSE_ODCOMBOBOX 1
45778 _ACEOF
45779
45780 USES_CONTROLS=1
45781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45782 fi
45783
45784
45785 if test "$wxUSE_RADIOBOX" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_RADIOBOX 1
45788 _ACEOF
45789
45790 USES_CONTROLS=1
45791 fi
45792
45793 if test "$wxUSE_RADIOBTN" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_RADIOBTN 1
45796 _ACEOF
45797
45798 USES_CONTROLS=1
45799 fi
45800
45801 if test "$wxUSE_SASH" = "yes"; then
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_SASH 1
45804 _ACEOF
45805
45806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45807 fi
45808
45809 if test "$wxUSE_SCROLLBAR" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_SCROLLBAR 1
45812 _ACEOF
45813
45814 USES_CONTROLS=1
45815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45816 fi
45817
45818 if test "$wxUSE_SLIDER" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_SLIDER 1
45821 _ACEOF
45822
45823 USES_CONTROLS=1
45824 fi
45825
45826 if test "$wxUSE_SPINBTN" = "yes"; then
45827 cat >>confdefs.h <<\_ACEOF
45828 #define wxUSE_SPINBTN 1
45829 _ACEOF
45830
45831 USES_CONTROLS=1
45832 fi
45833
45834 if test "$wxUSE_SPINCTRL" = "yes"; then
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_SPINCTRL 1
45837 _ACEOF
45838
45839 USES_CONTROLS=1
45840 fi
45841
45842 if test "$wxUSE_SPLITTER" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_SPLITTER 1
45845 _ACEOF
45846
45847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45848 fi
45849
45850 if test "$wxUSE_STATBMP" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_STATBMP 1
45853 _ACEOF
45854
45855 USES_CONTROLS=1
45856 fi
45857
45858 if test "$wxUSE_STATBOX" = "yes"; then
45859 cat >>confdefs.h <<\_ACEOF
45860 #define wxUSE_STATBOX 1
45861 _ACEOF
45862
45863 USES_CONTROLS=1
45864 fi
45865
45866 if test "$wxUSE_STATTEXT" = "yes"; then
45867 cat >>confdefs.h <<\_ACEOF
45868 #define wxUSE_STATTEXT 1
45869 _ACEOF
45870
45871 USES_CONTROLS=1
45872 fi
45873
45874 if test "$wxUSE_STATLINE" = "yes"; then
45875 cat >>confdefs.h <<\_ACEOF
45876 #define wxUSE_STATLINE 1
45877 _ACEOF
45878
45879 USES_CONTROLS=1
45880 fi
45881
45882 if test "$wxUSE_STATUSBAR" = "yes"; then
45883 cat >>confdefs.h <<\_ACEOF
45884 #define wxUSE_NATIVE_STATUSBAR 1
45885 _ACEOF
45886
45887 cat >>confdefs.h <<\_ACEOF
45888 #define wxUSE_STATUSBAR 1
45889 _ACEOF
45890
45891 USES_CONTROLS=1
45892
45893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45894 fi
45895
45896 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45897 cat >>confdefs.h <<\_ACEOF
45898 #define wxUSE_TAB_DIALOG 1
45899 _ACEOF
45900
45901 fi
45902
45903 if test "$wxUSE_TEXTCTRL" = "yes"; then
45904 cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_TEXTCTRL 1
45906 _ACEOF
45907
45908 USES_CONTROLS=1
45909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45910 fi
45911
45912 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45913 if test "$wxUSE_COCOA" = 1 ; then
45914 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45915 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45916 wxUSE_TOGGLEBTN=no
45917 fi
45918
45919 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_TOGGLEBTN 1
45922 _ACEOF
45923
45924 USES_CONTROLS=1
45925 fi
45926 fi
45927
45928 if test "$wxUSE_TOOLBAR" = "yes"; then
45929 cat >>confdefs.h <<\_ACEOF
45930 #define wxUSE_TOOLBAR 1
45931 _ACEOF
45932
45933 USES_CONTROLS=1
45934
45935 if test "$wxUSE_UNIVERSAL" = "yes"; then
45936 wxUSE_TOOLBAR_NATIVE="no"
45937 else
45938 wxUSE_TOOLBAR_NATIVE="yes"
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_TOOLBAR_NATIVE 1
45941 _ACEOF
45942
45943 fi
45944
45945 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45946 fi
45947
45948 if test "$wxUSE_TOOLTIPS" = "yes"; then
45949 if test "$wxUSE_MOTIF" = 1; then
45950 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45951 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45952 else
45953 if test "$wxUSE_UNIVERSAL" = "yes"; then
45954 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45955 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45956 else
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_TOOLTIPS 1
45959 _ACEOF
45960
45961 fi
45962 fi
45963 fi
45964
45965 if test "$wxUSE_TREEBOOK" = "yes"; then
45966 cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_TREEBOOK 1
45968 _ACEOF
45969
45970 USES_CONTROLS=1
45971 fi
45972
45973 if test "$wxUSE_TOOLBOOK" = "yes"; then
45974 cat >>confdefs.h <<\_ACEOF
45975 #define wxUSE_TOOLBOOK 1
45976 _ACEOF
45977
45978 USES_CONTROLS=1
45979 fi
45980
45981 if test "$wxUSE_TREECTRL" = "yes"; then
45982 if test "$wxUSE_IMAGLIST" = "yes"; then
45983 cat >>confdefs.h <<\_ACEOF
45984 #define wxUSE_TREECTRL 1
45985 _ACEOF
45986
45987 USES_CONTROLS=1
45988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45989 else
45990 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45991 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45992 fi
45993 fi
45994
45995 if test "$wxUSE_POPUPWIN" = "yes"; then
45996 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45997 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45998 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45999 else
46000 if test "$wxUSE_PM" = 1; then
46001 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46002 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46003 else
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_POPUPWIN 1
46006 _ACEOF
46007
46008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46009
46010 USES_CONTROLS=1
46011 fi
46012 fi
46013 fi
46014
46015 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46016 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46017 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46018 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46019 else
46020 cat >>confdefs.h <<\_ACEOF
46021 #define wxUSE_DIALUP_MANAGER 1
46022 _ACEOF
46023
46024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46025 fi
46026 fi
46027
46028 if test "$wxUSE_TIPWINDOW" = "yes"; then
46029 if test "$wxUSE_PM" = 1; then
46030 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46031 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46032 else
46033 cat >>confdefs.h <<\_ACEOF
46034 #define wxUSE_TIPWINDOW 1
46035 _ACEOF
46036
46037 fi
46038 fi
46039
46040 if test "$USES_CONTROLS" = 1; then
46041 cat >>confdefs.h <<\_ACEOF
46042 #define wxUSE_CONTROLS 1
46043 _ACEOF
46044
46045 fi
46046
46047
46048 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46049 cat >>confdefs.h <<\_ACEOF
46050 #define wxUSE_ACCESSIBILITY 1
46051 _ACEOF
46052
46053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46054 fi
46055
46056 if test "$wxUSE_DC_CACHEING" = "yes"; then
46057 cat >>confdefs.h <<\_ACEOF
46058 #define wxUSE_DC_CACHEING 1
46059 _ACEOF
46060
46061 fi
46062
46063 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46064 cat >>confdefs.h <<\_ACEOF
46065 #define wxUSE_DRAGIMAGE 1
46066 _ACEOF
46067
46068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46069 fi
46070
46071 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46072 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46073 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46074 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46075 else
46076 cat >>confdefs.h <<\_ACEOF
46077 #define wxUSE_EXCEPTIONS 1
46078 _ACEOF
46079
46080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46081 fi
46082 fi
46083
46084 USE_HTML=0
46085 if test "$wxUSE_HTML" = "yes"; then
46086 cat >>confdefs.h <<\_ACEOF
46087 #define wxUSE_HTML 1
46088 _ACEOF
46089
46090 USE_HTML=1
46091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46092 if test "$wxUSE_MAC" = 1; then
46093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46094 fi
46095 fi
46096 if test "$wxUSE_WEBKIT" = "yes"; then
46097 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46098 old_CPPFLAGS="$CPPFLAGS"
46099 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46100 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46101 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46102 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46103 echo $ECHO_N "(cached) $ECHO_C" >&6
46104 else
46105 cat >conftest.$ac_ext <<_ACEOF
46106 /* confdefs.h. */
46107 _ACEOF
46108 cat confdefs.h >>conftest.$ac_ext
46109 cat >>conftest.$ac_ext <<_ACEOF
46110 /* end confdefs.h. */
46111 #include <Carbon/Carbon.h>
46112
46113 #include <WebKit/HIWebView.h>
46114 _ACEOF
46115 rm -f conftest.$ac_objext
46116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46117 (eval $ac_compile) 2>conftest.er1
46118 ac_status=$?
46119 grep -v '^ *+' conftest.er1 >conftest.err
46120 rm -f conftest.er1
46121 cat conftest.err >&5
46122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123 (exit $ac_status); } &&
46124 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46126 (eval $ac_try) 2>&5
46127 ac_status=$?
46128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46129 (exit $ac_status); }; } &&
46130 { ac_try='test -s conftest.$ac_objext'
46131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46132 (eval $ac_try) 2>&5
46133 ac_status=$?
46134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46135 (exit $ac_status); }; }; then
46136 ac_cv_header_WebKit_HIWebView_h=yes
46137 else
46138 echo "$as_me: failed program was:" >&5
46139 sed 's/^/| /' conftest.$ac_ext >&5
46140
46141 ac_cv_header_WebKit_HIWebView_h=no
46142 fi
46143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46144 fi
46145 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46146 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46147 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46148
46149 cat >>confdefs.h <<\_ACEOF
46150 #define wxUSE_WEBKIT 1
46151 _ACEOF
46152
46153 WEBKIT_LINK="-framework WebKit"
46154
46155 else
46156
46157 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46158 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46159 wxUSE_WEBKIT=no
46160
46161 fi
46162
46163
46164 CPPFLAGS="$old_CPPFLAGS"
46165 elif test "$wxUSE_COCOA" = 1; then
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_WEBKIT 1
46168 _ACEOF
46169
46170 else
46171 wxUSE_WEBKIT=no
46172 fi
46173 fi
46174
46175 USE_XRC=0
46176 if test "$wxUSE_XRC" = "yes"; then
46177 if test "$wxUSE_XML" != "yes"; then
46178 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46179 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46180 wxUSE_XRC=no
46181 else
46182 cat >>confdefs.h <<\_ACEOF
46183 #define wxUSE_XRC 1
46184 _ACEOF
46185
46186 USE_XRC=1
46187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46188 fi
46189 fi
46190
46191 USE_AUI=0
46192 if test "$wxUSE_AUI" = "yes"; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_AUI 1
46195 _ACEOF
46196
46197 USE_AUI=1
46198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46199 fi
46200
46201 if test "$wxUSE_MENUS" = "yes"; then
46202 cat >>confdefs.h <<\_ACEOF
46203 #define wxUSE_MENUS 1
46204 _ACEOF
46205
46206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46207 fi
46208
46209 if test "$wxUSE_METAFILE" = "yes"; then
46210 cat >>confdefs.h <<\_ACEOF
46211 #define wxUSE_METAFILE 1
46212 _ACEOF
46213
46214 fi
46215
46216 if test "$wxUSE_MIMETYPE" = "yes"; then
46217 cat >>confdefs.h <<\_ACEOF
46218 #define wxUSE_MIMETYPE 1
46219 _ACEOF
46220
46221 fi
46222
46223 if test "$wxUSE_MINIFRAME" = "yes"; then
46224 cat >>confdefs.h <<\_ACEOF
46225 #define wxUSE_MINIFRAME 1
46226 _ACEOF
46227
46228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46229 fi
46230
46231 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46232 cat >>confdefs.h <<\_ACEOF
46233 #define wxUSE_SYSTEM_OPTIONS 1
46234 _ACEOF
46235
46236 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46237 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46239 fi
46240 fi
46241
46242
46243 if test "$wxUSE_VALIDATORS" = "yes"; then
46244 cat >>confdefs.h <<\_ACEOF
46245 #define wxUSE_VALIDATORS 1
46246 _ACEOF
46247
46248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46249 fi
46250
46251 if test "$wxUSE_PALETTE" = "yes" ; then
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_PALETTE 1
46254 _ACEOF
46255
46256 fi
46257
46258 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46259 LIBS=" -lunicows $LIBS"
46260 fi
46261
46262 USE_RICHTEXT=0
46263 if test "$wxUSE_RICHTEXT" = "yes"; then
46264 cat >>confdefs.h <<\_ACEOF
46265 #define wxUSE_RICHTEXT 1
46266 _ACEOF
46267
46268 USE_RICHTEXT=1
46269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46270 fi
46271
46272
46273 if test "$wxUSE_IMAGE" = "yes" ; then
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_IMAGE 1
46276 _ACEOF
46277
46278
46279 if test "$wxUSE_GIF" = "yes" ; then
46280 cat >>confdefs.h <<\_ACEOF
46281 #define wxUSE_GIF 1
46282 _ACEOF
46283
46284 fi
46285
46286 if test "$wxUSE_PCX" = "yes" ; then
46287 cat >>confdefs.h <<\_ACEOF
46288 #define wxUSE_PCX 1
46289 _ACEOF
46290
46291 fi
46292
46293 if test "$wxUSE_IFF" = "yes" ; then
46294 cat >>confdefs.h <<\_ACEOF
46295 #define wxUSE_IFF 1
46296 _ACEOF
46297
46298 fi
46299
46300 if test "$wxUSE_PNM" = "yes" ; then
46301 cat >>confdefs.h <<\_ACEOF
46302 #define wxUSE_PNM 1
46303 _ACEOF
46304
46305 fi
46306
46307 if test "$wxUSE_XPM" = "yes" ; then
46308 cat >>confdefs.h <<\_ACEOF
46309 #define wxUSE_XPM 1
46310 _ACEOF
46311
46312 fi
46313
46314 if test "$wxUSE_ICO_CUR" = "yes" ; then
46315 cat >>confdefs.h <<\_ACEOF
46316 #define wxUSE_ICO_CUR 1
46317 _ACEOF
46318
46319 fi
46320 fi
46321
46322
46323 if test "$wxUSE_ABOUTDLG" = "yes"; then
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_ABOUTDLG 1
46326 _ACEOF
46327
46328 fi
46329
46330 if test "$wxUSE_CHOICEDLG" = "yes"; then
46331 cat >>confdefs.h <<\_ACEOF
46332 #define wxUSE_CHOICEDLG 1
46333 _ACEOF
46334
46335 fi
46336
46337 if test "$wxUSE_COLOURDLG" = "yes"; then
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_COLOURDLG 1
46340 _ACEOF
46341
46342 fi
46343
46344 if test "$wxUSE_FILEDLG" = "yes"; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_FILEDLG 1
46347 _ACEOF
46348
46349 fi
46350
46351 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46352 cat >>confdefs.h <<\_ACEOF
46353 #define wxUSE_FINDREPLDLG 1
46354 _ACEOF
46355
46356 fi
46357
46358 if test "$wxUSE_FONTDLG" = "yes"; then
46359 cat >>confdefs.h <<\_ACEOF
46360 #define wxUSE_FONTDLG 1
46361 _ACEOF
46362
46363 fi
46364
46365 if test "$wxUSE_DIRDLG" = "yes"; then
46366 if test "$wxUSE_TREECTRL" != "yes"; then
46367 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46368 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46369 else
46370 cat >>confdefs.h <<\_ACEOF
46371 #define wxUSE_DIRDLG 1
46372 _ACEOF
46373
46374 fi
46375 fi
46376
46377 if test "$wxUSE_MSGDLG" = "yes"; then
46378 cat >>confdefs.h <<\_ACEOF
46379 #define wxUSE_MSGDLG 1
46380 _ACEOF
46381
46382 fi
46383
46384 if test "$wxUSE_NUMBERDLG" = "yes"; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_NUMBERDLG 1
46387 _ACEOF
46388
46389 fi
46390
46391 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46392 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46393 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46394 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46395 else
46396 cat >>confdefs.h <<\_ACEOF
46397 #define wxUSE_PROGRESSDLG 1
46398 _ACEOF
46399
46400 fi
46401 fi
46402
46403 if test "$wxUSE_SPLASH" = "yes"; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_SPLASH 1
46406 _ACEOF
46407
46408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46409 fi
46410
46411 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46412 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46413 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46414 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46415 else
46416 cat >>confdefs.h <<\_ACEOF
46417 #define wxUSE_STARTUP_TIPS 1
46418 _ACEOF
46419
46420 fi
46421 fi
46422
46423 if test "$wxUSE_TEXTDLG" = "yes"; then
46424 cat >>confdefs.h <<\_ACEOF
46425 #define wxUSE_TEXTDLG 1
46426 _ACEOF
46427
46428 fi
46429
46430 if test "$wxUSE_WIZARDDLG" = "yes"; then
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_WIZARDDLG 1
46433 _ACEOF
46434
46435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46436 fi
46437
46438
46439 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46440 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_GRAPHICS_CONTEXT 1
46443 _ACEOF
46444
46445 elif test "$wxUSE_GTK" != 1; then
46446 cat >>confdefs.h <<\_ACEOF
46447 #define wxUSE_GRAPHICS_CONTEXT 1
46448 _ACEOF
46449
46450 else
46451
46452 pkg_failed=no
46453 echo "$as_me:$LINENO: checking for CAIRO" >&5
46454 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46455
46456 if test -n "$PKG_CONFIG"; then
46457 if test -n "$CAIRO_CFLAGS"; then
46458 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46459 else
46460 if test -n "$PKG_CONFIG" && \
46461 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46462 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46463 ac_status=$?
46464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46465 (exit $ac_status); }; then
46466 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46467 else
46468 pkg_failed=yes
46469 fi
46470 fi
46471 else
46472 pkg_failed=untried
46473 fi
46474 if test -n "$PKG_CONFIG"; then
46475 if test -n "$CAIRO_LIBS"; then
46476 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46477 else
46478 if test -n "$PKG_CONFIG" && \
46479 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46480 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46481 ac_status=$?
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); }; then
46484 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46485 else
46486 pkg_failed=yes
46487 fi
46488 fi
46489 else
46490 pkg_failed=untried
46491 fi
46492
46493
46494
46495 if test $pkg_failed = yes; then
46496
46497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46498 _pkg_short_errors_supported=yes
46499 else
46500 _pkg_short_errors_supported=no
46501 fi
46502 if test $_pkg_short_errors_supported = yes; then
46503 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46504 else
46505 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46506 fi
46507 # Put the nasty error message in config.log where it belongs
46508 echo "$CAIRO_PKG_ERRORS" >&5
46509
46510
46511 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46512 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46513
46514
46515 elif test $pkg_failed = untried; then
46516
46517 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46518 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46519
46520
46521 else
46522 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46523 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46524 echo "$as_me:$LINENO: result: yes" >&5
46525 echo "${ECHO_T}yes" >&6
46526
46527 cat >>confdefs.h <<\_ACEOF
46528 #define wxUSE_GRAPHICS_CONTEXT 1
46529 _ACEOF
46530
46531
46532 fi
46533 fi
46534 fi
46535
46536
46537 USE_MEDIA=0
46538
46539 if test "$wxUSE_MEDIACTRL" = "yes"; then
46540 USE_MEDIA=1
46541
46542 if test "$wxUSE_GTK" = 1; then
46543 wxUSE_GSTREAMER="no"
46544
46545 GST_VERSION_MAJOR=0
46546 GST_VERSION_MINOR=10
46547 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46548
46549 if test "$wxUSE_GSTREAMER8" = "no"; then
46550
46551 pkg_failed=no
46552 echo "$as_me:$LINENO: checking for GST" >&5
46553 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46554
46555 if test -n "$PKG_CONFIG"; then
46556 if test -n "$GST_CFLAGS"; then
46557 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46558 else
46559 if test -n "$PKG_CONFIG" && \
46560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46561 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46562 ac_status=$?
46563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46564 (exit $ac_status); }; then
46565 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46566 else
46567 pkg_failed=yes
46568 fi
46569 fi
46570 else
46571 pkg_failed=untried
46572 fi
46573 if test -n "$PKG_CONFIG"; then
46574 if test -n "$GST_LIBS"; then
46575 pkg_cv_GST_LIBS="$GST_LIBS"
46576 else
46577 if test -n "$PKG_CONFIG" && \
46578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46579 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46580 ac_status=$?
46581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46582 (exit $ac_status); }; then
46583 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46584 else
46585 pkg_failed=yes
46586 fi
46587 fi
46588 else
46589 pkg_failed=untried
46590 fi
46591
46592
46593
46594 if test $pkg_failed = yes; then
46595
46596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46597 _pkg_short_errors_supported=yes
46598 else
46599 _pkg_short_errors_supported=no
46600 fi
46601 if test $_pkg_short_errors_supported = yes; then
46602 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46603 else
46604 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46605 fi
46606 # Put the nasty error message in config.log where it belongs
46607 echo "$GST_PKG_ERRORS" >&5
46608
46609
46610 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46611 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46612 GST_VERSION_MINOR=8
46613
46614
46615 elif test $pkg_failed = untried; then
46616
46617 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46618 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46619 GST_VERSION_MINOR=8
46620
46621
46622 else
46623 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46624 GST_LIBS=$pkg_cv_GST_LIBS
46625 echo "$as_me:$LINENO: result: yes" >&5
46626 echo "${ECHO_T}yes" >&6
46627
46628 wxUSE_GSTREAMER="yes"
46629 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46630
46631 fi
46632 else
46633 GST_VERSION_MINOR=8
46634 fi
46635
46636 if test $GST_VERSION_MINOR = "8"; then
46637 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46638
46639 pkg_failed=no
46640 echo "$as_me:$LINENO: checking for GST" >&5
46641 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46642
46643 if test -n "$PKG_CONFIG"; then
46644 if test -n "$GST_CFLAGS"; then
46645 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46646 else
46647 if test -n "$PKG_CONFIG" && \
46648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46649 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46650 ac_status=$?
46651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46652 (exit $ac_status); }; then
46653 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46654 else
46655 pkg_failed=yes
46656 fi
46657 fi
46658 else
46659 pkg_failed=untried
46660 fi
46661 if test -n "$PKG_CONFIG"; then
46662 if test -n "$GST_LIBS"; then
46663 pkg_cv_GST_LIBS="$GST_LIBS"
46664 else
46665 if test -n "$PKG_CONFIG" && \
46666 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46667 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46668 ac_status=$?
46669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46670 (exit $ac_status); }; then
46671 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46672 else
46673 pkg_failed=yes
46674 fi
46675 fi
46676 else
46677 pkg_failed=untried
46678 fi
46679
46680
46681
46682 if test $pkg_failed = yes; then
46683
46684 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46685 _pkg_short_errors_supported=yes
46686 else
46687 _pkg_short_errors_supported=no
46688 fi
46689 if test $_pkg_short_errors_supported = yes; then
46690 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46691 else
46692 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46693 fi
46694 # Put the nasty error message in config.log where it belongs
46695 echo "$GST_PKG_ERRORS" >&5
46696
46697
46698 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46699 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46700
46701 elif test $pkg_failed = untried; then
46702
46703 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46704 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46705
46706 else
46707 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46708 GST_LIBS=$pkg_cv_GST_LIBS
46709 echo "$as_me:$LINENO: result: yes" >&5
46710 echo "${ECHO_T}yes" >&6
46711 wxUSE_GSTREAMER="yes"
46712 fi
46713 fi
46714
46715
46716 if test "$wxUSE_GSTREAMER" = "yes"; then
46717 case "${host}" in
46718 *-*-solaris2* )
46719 if "$GCC" = yes; then
46720 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46721 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46722 fi
46723 esac
46724
46725 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46726 LIBS="$GST_LIBS $LIBS"
46727
46728 cat >>confdefs.h <<\_ACEOF
46729 #define wxUSE_GSTREAMER 1
46730 _ACEOF
46731
46732 else
46733 USE_MEDIA=0
46734 fi
46735 fi
46736
46737 if test $USE_MEDIA = 1; then
46738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46739 cat >>confdefs.h <<\_ACEOF
46740 #define wxUSE_MEDIACTRL 1
46741 _ACEOF
46742
46743 fi
46744 fi
46745
46746
46747 if test "$cross_compiling" = "yes"; then
46748 OSINFO="\"$host\""
46749 else
46750 OSINFO=`uname -s -r -m`
46751 OSINFO="\"$OSINFO\""
46752 fi
46753
46754 cat >>confdefs.h <<_ACEOF
46755 #define WXWIN_OS_DESCRIPTION $OSINFO
46756 _ACEOF
46757
46758
46759
46760 if test "x$prefix" != "xNONE"; then
46761 wxPREFIX=$prefix
46762 else
46763 wxPREFIX=$ac_default_prefix
46764 fi
46765
46766 cat >>confdefs.h <<_ACEOF
46767 #define wxINSTALL_PREFIX "$wxPREFIX"
46768 _ACEOF
46769
46770
46771
46772
46773 CORE_BASE_LIBS="net base"
46774 CORE_GUI_LIBS="adv core"
46775
46776 if test "$wxUSE_XML" = "yes" ; then
46777 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46778 fi
46779 if test "$wxUSE_ODBC" != "no" ; then
46780 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46781 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46782 fi
46783 if test "$wxUSE_HTML" = "yes" ; then
46784 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46785 fi
46786 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46787 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46788 fi
46789 if test "$wxUSE_XRC" = "yes" ; then
46790 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46791 fi
46792 if test "$wxUSE_AUI" = "yes" ; then
46793 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46794 fi
46795
46796 if test "$wxUSE_GUI" != "yes"; then
46797 CORE_GUI_LIBS=""
46798 fi
46799
46800
46801
46802
46803
46804 ac_ext=c
46805 ac_cpp='$CPP $CPPFLAGS'
46806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46809
46810
46811
46812 if test "$wxUSE_MAC" = 1 ; then
46813 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46814 if test "$USE_DARWIN" = 1; then
46815 LDFLAGS="$LDFLAGS -framework QuickTime"
46816 else
46817 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46818 fi
46819 fi
46820 if test "$USE_DARWIN" = 1; then
46821 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46822 else
46823 LDFLAGS="$LDFLAGS -lCarbonLib"
46824 fi
46825 fi
46826 if test "$wxUSE_COCOA" = 1 ; then
46827 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46828 if test "$wxUSE_MEDIACTRL" = "yes"; then
46829 LDFLAGS="$LDFLAGS -framework QuickTime"
46830 fi
46831 fi
46832 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46833 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46834 fi
46835
46836 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46837
46838 if test "$wxUSE_GUI" = "yes"; then
46839
46840
46841 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46842 dynamic erase event exec font image minimal mobile \
46843 mobile/wxedit mobile/styles propsize render \
46844 rotate shaped vscroll widgets"
46845
46846 if test "$wxUSE_MONOLITHIC" != "yes"; then
46847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46848 fi
46849 if test "$TOOLKIT" = "MSW"; then
46850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46851 if test "$wxUSE_UNIVERSAL" != "yes"; then
46852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46853 fi
46854 fi
46855 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46857 fi
46858 else
46859 SAMPLES_SUBDIRS="console"
46860 fi
46861
46862
46863 if test "x$INTELCC" = "xyes" ; then
46864 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46865 elif test "$GCC" = yes ; then
46866 CWARNINGS="-Wall -Wundef"
46867 fi
46868
46869 if test "x$INTELCXX" = "xyes" ; then
46870 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46871 elif test "$GXX" = yes ; then
46872 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46873 fi
46874
46875
46876 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46877 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46878
46879
46880 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46881 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46882 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46883 $CPPFLAGS `
46884
46885 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46886 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46887 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46888
46889 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46890
46891
46892 if test "x$MWCC" = "xyes"; then
46893
46894 CC="$CC -cwd source -I-"
46895 CXX="$CXX -cwd source -I-"
46896 fi
46897
46898
46899 LIBS=`echo $LIBS`
46900 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46901 EXTRALIBS_XML="$EXPAT_LINK"
46902 EXTRALIBS_HTML="$MSPACK_LINK"
46903 EXTRALIBS_ODBC="$ODBC_LINK"
46904 if test "$wxUSE_GUI" = "yes"; then
46905 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46906 fi
46907 if test "$wxUSE_OPENGL" = "yes"; then
46908 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46909 fi
46910
46911 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46912
46913 WXCONFIG_LIBS="$LIBS"
46914
46915 if test "$wxUSE_REGEX" = "builtin" ; then
46916 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46917 fi
46918 if test "$wxUSE_EXPAT" = "builtin" ; then
46919 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46920 fi
46921 if test "$wxUSE_ODBC" = "builtin" ; then
46922 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46923 fi
46924 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46925 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46926 fi
46927 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46928 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46929 fi
46930 if test "$wxUSE_LIBPNG" = "builtin" ; then
46931 wxconfig_3rdparty="png $wxconfig_3rdparty"
46932 fi
46933 if test "$wxUSE_ZLIB" = "builtin" ; then
46934 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46935 fi
46936
46937 for i in $wxconfig_3rdparty ; do
46938 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46939 done
46940
46941
46942 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46943 WXUNIV=1
46944
46945 case "$wxUNIV_THEMES" in
46946 ''|all)
46947 cat >>confdefs.h <<\_ACEOF
46948 #define wxUSE_ALL_THEMES 1
46949 _ACEOF
46950
46951 ;;
46952
46953 *)
46954 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46955 cat >>confdefs.h <<_ACEOF
46956 #define wxUSE_THEME_$t 1
46957 _ACEOF
46958
46959 done
46960 esac
46961 else
46962 WXUNIV=0
46963 fi
46964
46965
46966
46967
46968
46969
46970
46971
46972
46973 if test $wxUSE_MONOLITHIC = "yes" ; then
46974 MONOLITHIC=1
46975 else
46976 MONOLITHIC=0
46977 fi
46978
46979 if test $wxUSE_PLUGINS = "yes" ; then
46980 USE_PLUGINS=1
46981 else
46982 USE_PLUGINS=0
46983 fi
46984
46985 if test $wxUSE_ODBC != "no" ; then
46986 USE_ODBC=1
46987 else
46988 USE_ODBC=0
46989 fi
46990
46991 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46992 USE_QA=1
46993 else
46994 USE_QA=0
46995 fi
46996
46997 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46998 OFFICIAL_BUILD=1
46999 else
47000 OFFICIAL_BUILD=0
47001 fi
47002
47003
47004
47005
47006
47007
47008
47009
47010
47011
47012
47013
47014
47015
47016
47017
47018
47019
47020
47021
47022
47023
47024
47025
47026
47027 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47028
47029
47030
47031
47032
47033
47034
47035
47036 case "$TOOLKIT" in
47037 GTK)
47038 TOOLKIT_DESC="GTK+"
47039 if test "$WXGTK20" = 1; then
47040 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47041 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47042 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47043 fi
47044 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47045 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47046 fi
47047 if test "$wxUSE_LIBHILDON" = "yes"; then
47048 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47049 fi
47050
47051 if test "$TOOLKIT_EXTRA" != ""; then
47052 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47053 fi
47054 fi
47055 ;;
47056
47057 ?*)
47058 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47059 ;;
47060
47061 *)
47062 TOOLKIT_DESC="base only"
47063 ;;
47064 esac
47065
47066 if test "$wxUSE_WINE" = "yes"; then
47067 BAKEFILE_FORCE_PLATFORM=win32
47068 fi
47069
47070 if test "$wxUSE_MAC" = 1 ; then
47071 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47072 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47073 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47074 else
47075 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47076 fi
47077 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47078 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47079 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47080 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47081 bk_use_pch=no
47082 fi
47083 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47084 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47085 fi
47086
47087
47088
47089
47090 if test "x$BAKEFILE_HOST" = "x"; then
47091 if test "x${host}" = "x" ; then
47092 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47093 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47094 { (exit 1); exit 1; }; }
47095 fi
47096
47097 BAKEFILE_HOST="${host}"
47098 fi
47099
47100 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47101
47102 if test -n "$ac_tool_prefix"; then
47103 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47104 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47105 echo "$as_me:$LINENO: checking for $ac_word" >&5
47106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47107 if test "${ac_cv_prog_RANLIB+set}" = set; then
47108 echo $ECHO_N "(cached) $ECHO_C" >&6
47109 else
47110 if test -n "$RANLIB"; then
47111 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47112 else
47113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47114 for as_dir in $PATH
47115 do
47116 IFS=$as_save_IFS
47117 test -z "$as_dir" && as_dir=.
47118 for ac_exec_ext in '' $ac_executable_extensions; do
47119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47120 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47122 break 2
47123 fi
47124 done
47125 done
47126
47127 fi
47128 fi
47129 RANLIB=$ac_cv_prog_RANLIB
47130 if test -n "$RANLIB"; then
47131 echo "$as_me:$LINENO: result: $RANLIB" >&5
47132 echo "${ECHO_T}$RANLIB" >&6
47133 else
47134 echo "$as_me:$LINENO: result: no" >&5
47135 echo "${ECHO_T}no" >&6
47136 fi
47137
47138 fi
47139 if test -z "$ac_cv_prog_RANLIB"; then
47140 ac_ct_RANLIB=$RANLIB
47141 # Extract the first word of "ranlib", so it can be a program name with args.
47142 set dummy ranlib; ac_word=$2
47143 echo "$as_me:$LINENO: checking for $ac_word" >&5
47144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47145 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47146 echo $ECHO_N "(cached) $ECHO_C" >&6
47147 else
47148 if test -n "$ac_ct_RANLIB"; then
47149 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47150 else
47151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47152 for as_dir in $PATH
47153 do
47154 IFS=$as_save_IFS
47155 test -z "$as_dir" && as_dir=.
47156 for ac_exec_ext in '' $ac_executable_extensions; do
47157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47158 ac_cv_prog_ac_ct_RANLIB="ranlib"
47159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47160 break 2
47161 fi
47162 done
47163 done
47164
47165 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47166 fi
47167 fi
47168 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47169 if test -n "$ac_ct_RANLIB"; then
47170 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47171 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47172 else
47173 echo "$as_me:$LINENO: result: no" >&5
47174 echo "${ECHO_T}no" >&6
47175 fi
47176
47177 RANLIB=$ac_ct_RANLIB
47178 else
47179 RANLIB="$ac_cv_prog_RANLIB"
47180 fi
47181
47182 # Find a good install program. We prefer a C program (faster),
47183 # so one script is as good as another. But avoid the broken or
47184 # incompatible versions:
47185 # SysV /etc/install, /usr/sbin/install
47186 # SunOS /usr/etc/install
47187 # IRIX /sbin/install
47188 # AIX /bin/install
47189 # AmigaOS /C/install, which installs bootblocks on floppy discs
47190 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47191 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47192 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47193 # OS/2's system install, which has a completely different semantic
47194 # ./install, which can be erroneously created by make from ./install.sh.
47195 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47196 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47197 if test -z "$INSTALL"; then
47198 if test "${ac_cv_path_install+set}" = set; then
47199 echo $ECHO_N "(cached) $ECHO_C" >&6
47200 else
47201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47202 for as_dir in $PATH
47203 do
47204 IFS=$as_save_IFS
47205 test -z "$as_dir" && as_dir=.
47206 # Account for people who put trailing slashes in PATH elements.
47207 case $as_dir/ in
47208 ./ | .// | /cC/* | \
47209 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47210 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47211 /usr/ucb/* ) ;;
47212 *)
47213 # OSF1 and SCO ODT 3.0 have their own names for install.
47214 # Don't use installbsd from OSF since it installs stuff as root
47215 # by default.
47216 for ac_prog in ginstall scoinst install; do
47217 for ac_exec_ext in '' $ac_executable_extensions; do
47218 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47219 if test $ac_prog = install &&
47220 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47221 # AIX install. It has an incompatible calling convention.
47222 :
47223 elif test $ac_prog = install &&
47224 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47225 # program-specific install script used by HP pwplus--don't use.
47226 :
47227 else
47228 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47229 break 3
47230 fi
47231 fi
47232 done
47233 done
47234 ;;
47235 esac
47236 done
47237
47238
47239 fi
47240 if test "${ac_cv_path_install+set}" = set; then
47241 INSTALL=$ac_cv_path_install
47242 else
47243 # As a last resort, use the slow shell script. We don't cache a
47244 # path for INSTALL within a source directory, because that will
47245 # break other packages using the cache if that directory is
47246 # removed, or if the path is relative.
47247 INSTALL=$ac_install_sh
47248 fi
47249 fi
47250 echo "$as_me:$LINENO: result: $INSTALL" >&5
47251 echo "${ECHO_T}$INSTALL" >&6
47252
47253 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47254 # It thinks the first close brace ends the variable substitution.
47255 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47256
47257 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47258
47259 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47260
47261 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47262 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47263 LN_S=$as_ln_s
47264 if test "$LN_S" = "ln -s"; then
47265 echo "$as_me:$LINENO: result: yes" >&5
47266 echo "${ECHO_T}yes" >&6
47267 else
47268 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47269 echo "${ECHO_T}no, using $LN_S" >&6
47270 fi
47271
47272
47273 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47274 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47275 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47276 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47277 echo $ECHO_N "(cached) $ECHO_C" >&6
47278 else
47279 cat >conftest.make <<\_ACEOF
47280 all:
47281 @echo 'ac_maketemp="$(MAKE)"'
47282 _ACEOF
47283 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47284 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47285 if test -n "$ac_maketemp"; then
47286 eval ac_cv_prog_make_${ac_make}_set=yes
47287 else
47288 eval ac_cv_prog_make_${ac_make}_set=no
47289 fi
47290 rm -f conftest.make
47291 fi
47292 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47293 echo "$as_me:$LINENO: result: yes" >&5
47294 echo "${ECHO_T}yes" >&6
47295 SET_MAKE=
47296 else
47297 echo "$as_me:$LINENO: result: no" >&5
47298 echo "${ECHO_T}no" >&6
47299 SET_MAKE="MAKE=${MAKE-make}"
47300 fi
47301
47302
47303
47304 if test -n "$ac_tool_prefix"; then
47305 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47306 set dummy ${ac_tool_prefix}ar; ac_word=$2
47307 echo "$as_me:$LINENO: checking for $ac_word" >&5
47308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47309 if test "${ac_cv_prog_AR+set}" = set; then
47310 echo $ECHO_N "(cached) $ECHO_C" >&6
47311 else
47312 if test -n "$AR"; then
47313 ac_cv_prog_AR="$AR" # Let the user override the test.
47314 else
47315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47316 for as_dir in $PATH
47317 do
47318 IFS=$as_save_IFS
47319 test -z "$as_dir" && as_dir=.
47320 for ac_exec_ext in '' $ac_executable_extensions; do
47321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47322 ac_cv_prog_AR="${ac_tool_prefix}ar"
47323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47324 break 2
47325 fi
47326 done
47327 done
47328
47329 fi
47330 fi
47331 AR=$ac_cv_prog_AR
47332 if test -n "$AR"; then
47333 echo "$as_me:$LINENO: result: $AR" >&5
47334 echo "${ECHO_T}$AR" >&6
47335 else
47336 echo "$as_me:$LINENO: result: no" >&5
47337 echo "${ECHO_T}no" >&6
47338 fi
47339
47340 fi
47341 if test -z "$ac_cv_prog_AR"; then
47342 ac_ct_AR=$AR
47343 # Extract the first word of "ar", so it can be a program name with args.
47344 set dummy ar; ac_word=$2
47345 echo "$as_me:$LINENO: checking for $ac_word" >&5
47346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47347 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47348 echo $ECHO_N "(cached) $ECHO_C" >&6
47349 else
47350 if test -n "$ac_ct_AR"; then
47351 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47352 else
47353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47354 for as_dir in $PATH
47355 do
47356 IFS=$as_save_IFS
47357 test -z "$as_dir" && as_dir=.
47358 for ac_exec_ext in '' $ac_executable_extensions; do
47359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47360 ac_cv_prog_ac_ct_AR="ar"
47361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47362 break 2
47363 fi
47364 done
47365 done
47366
47367 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47368 fi
47369 fi
47370 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47371 if test -n "$ac_ct_AR"; then
47372 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47373 echo "${ECHO_T}$ac_ct_AR" >&6
47374 else
47375 echo "$as_me:$LINENO: result: no" >&5
47376 echo "${ECHO_T}no" >&6
47377 fi
47378
47379 AR=$ac_ct_AR
47380 else
47381 AR="$ac_cv_prog_AR"
47382 fi
47383
47384 if test -n "$ac_tool_prefix"; then
47385 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47386 set dummy ${ac_tool_prefix}strip; ac_word=$2
47387 echo "$as_me:$LINENO: checking for $ac_word" >&5
47388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47389 if test "${ac_cv_prog_STRIP+set}" = set; then
47390 echo $ECHO_N "(cached) $ECHO_C" >&6
47391 else
47392 if test -n "$STRIP"; then
47393 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47394 else
47395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47396 for as_dir in $PATH
47397 do
47398 IFS=$as_save_IFS
47399 test -z "$as_dir" && as_dir=.
47400 for ac_exec_ext in '' $ac_executable_extensions; do
47401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47402 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47404 break 2
47405 fi
47406 done
47407 done
47408
47409 fi
47410 fi
47411 STRIP=$ac_cv_prog_STRIP
47412 if test -n "$STRIP"; then
47413 echo "$as_me:$LINENO: result: $STRIP" >&5
47414 echo "${ECHO_T}$STRIP" >&6
47415 else
47416 echo "$as_me:$LINENO: result: no" >&5
47417 echo "${ECHO_T}no" >&6
47418 fi
47419
47420 fi
47421 if test -z "$ac_cv_prog_STRIP"; then
47422 ac_ct_STRIP=$STRIP
47423 # Extract the first word of "strip", so it can be a program name with args.
47424 set dummy strip; ac_word=$2
47425 echo "$as_me:$LINENO: checking for $ac_word" >&5
47426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47427 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47428 echo $ECHO_N "(cached) $ECHO_C" >&6
47429 else
47430 if test -n "$ac_ct_STRIP"; then
47431 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47432 else
47433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47434 for as_dir in $PATH
47435 do
47436 IFS=$as_save_IFS
47437 test -z "$as_dir" && as_dir=.
47438 for ac_exec_ext in '' $ac_executable_extensions; do
47439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47440 ac_cv_prog_ac_ct_STRIP="strip"
47441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47442 break 2
47443 fi
47444 done
47445 done
47446
47447 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47448 fi
47449 fi
47450 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47451 if test -n "$ac_ct_STRIP"; then
47452 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47453 echo "${ECHO_T}$ac_ct_STRIP" >&6
47454 else
47455 echo "$as_me:$LINENO: result: no" >&5
47456 echo "${ECHO_T}no" >&6
47457 fi
47458
47459 STRIP=$ac_ct_STRIP
47460 else
47461 STRIP="$ac_cv_prog_STRIP"
47462 fi
47463
47464 if test -n "$ac_tool_prefix"; then
47465 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47466 set dummy ${ac_tool_prefix}nm; ac_word=$2
47467 echo "$as_me:$LINENO: checking for $ac_word" >&5
47468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47469 if test "${ac_cv_prog_NM+set}" = set; then
47470 echo $ECHO_N "(cached) $ECHO_C" >&6
47471 else
47472 if test -n "$NM"; then
47473 ac_cv_prog_NM="$NM" # Let the user override the test.
47474 else
47475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47476 for as_dir in $PATH
47477 do
47478 IFS=$as_save_IFS
47479 test -z "$as_dir" && as_dir=.
47480 for ac_exec_ext in '' $ac_executable_extensions; do
47481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47482 ac_cv_prog_NM="${ac_tool_prefix}nm"
47483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47484 break 2
47485 fi
47486 done
47487 done
47488
47489 fi
47490 fi
47491 NM=$ac_cv_prog_NM
47492 if test -n "$NM"; then
47493 echo "$as_me:$LINENO: result: $NM" >&5
47494 echo "${ECHO_T}$NM" >&6
47495 else
47496 echo "$as_me:$LINENO: result: no" >&5
47497 echo "${ECHO_T}no" >&6
47498 fi
47499
47500 fi
47501 if test -z "$ac_cv_prog_NM"; then
47502 ac_ct_NM=$NM
47503 # Extract the first word of "nm", so it can be a program name with args.
47504 set dummy nm; ac_word=$2
47505 echo "$as_me:$LINENO: checking for $ac_word" >&5
47506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47507 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47508 echo $ECHO_N "(cached) $ECHO_C" >&6
47509 else
47510 if test -n "$ac_ct_NM"; then
47511 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47512 else
47513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47514 for as_dir in $PATH
47515 do
47516 IFS=$as_save_IFS
47517 test -z "$as_dir" && as_dir=.
47518 for ac_exec_ext in '' $ac_executable_extensions; do
47519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47520 ac_cv_prog_ac_ct_NM="nm"
47521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47522 break 2
47523 fi
47524 done
47525 done
47526
47527 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47528 fi
47529 fi
47530 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47531 if test -n "$ac_ct_NM"; then
47532 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47533 echo "${ECHO_T}$ac_ct_NM" >&6
47534 else
47535 echo "$as_me:$LINENO: result: no" >&5
47536 echo "${ECHO_T}no" >&6
47537 fi
47538
47539 NM=$ac_ct_NM
47540 else
47541 NM="$ac_cv_prog_NM"
47542 fi
47543
47544
47545 case ${BAKEFILE_HOST} in
47546 *-hp-hpux* )
47547 INSTALL_DIR="mkdir -p"
47548 ;;
47549 *) INSTALL_DIR="$INSTALL -d"
47550 ;;
47551 esac
47552
47553
47554 LDFLAGS_GUI=
47555 case ${BAKEFILE_HOST} in
47556 *-*-cygwin* | *-*-mingw32* )
47557 LDFLAGS_GUI="-mwindows"
47558 esac
47559
47560
47561 fi
47562
47563 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47564 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47565 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47566 echo $ECHO_N "(cached) $ECHO_C" >&6
47567 else
47568
47569 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47570 egrep -s GNU > /dev/null); then
47571 bakefile_cv_prog_makeisgnu="yes"
47572 else
47573 bakefile_cv_prog_makeisgnu="no"
47574 fi
47575
47576 fi
47577 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47578 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47579
47580 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47581 IF_GNU_MAKE=""
47582 else
47583 IF_GNU_MAKE="#"
47584 fi
47585
47586
47587
47588 PLATFORM_UNIX=0
47589 PLATFORM_WIN32=0
47590 PLATFORM_MSDOS=0
47591 PLATFORM_MAC=0
47592 PLATFORM_MACOS=0
47593 PLATFORM_MACOSX=0
47594 PLATFORM_OS2=0
47595 PLATFORM_BEOS=0
47596
47597 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47598 case "${BAKEFILE_HOST}" in
47599 *-*-mingw32* )
47600 PLATFORM_WIN32=1
47601 ;;
47602 *-pc-msdosdjgpp )
47603 PLATFORM_MSDOS=1
47604 ;;
47605 *-pc-os2_emx | *-pc-os2-emx )
47606 PLATFORM_OS2=1
47607 ;;
47608 *-*-darwin* )
47609 PLATFORM_MAC=1
47610 PLATFORM_MACOSX=1
47611 ;;
47612 *-*-beos* )
47613 PLATFORM_BEOS=1
47614 ;;
47615 powerpc-apple-macos* )
47616 PLATFORM_MAC=1
47617 PLATFORM_MACOS=1
47618 ;;
47619 * )
47620 PLATFORM_UNIX=1
47621 ;;
47622 esac
47623 else
47624 case "$BAKEFILE_FORCE_PLATFORM" in
47625 win32 )
47626 PLATFORM_WIN32=1
47627 ;;
47628 msdos )
47629 PLATFORM_MSDOS=1
47630 ;;
47631 os2 )
47632 PLATFORM_OS2=1
47633 ;;
47634 darwin )
47635 PLATFORM_MAC=1
47636 PLATFORM_MACOSX=1
47637 ;;
47638 unix )
47639 PLATFORM_UNIX=1
47640 ;;
47641 beos )
47642 PLATFORM_BEOS=1
47643 ;;
47644 * )
47645 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47646 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47647 { (exit 1); exit 1; }; }
47648 ;;
47649 esac
47650 fi
47651
47652
47653
47654
47655
47656
47657
47658
47659
47660
47661
47662 # Check whether --enable-omf or --disable-omf was given.
47663 if test "${enable_omf+set}" = set; then
47664 enableval="$enable_omf"
47665 bk_os2_use_omf="$enableval"
47666 fi;
47667
47668 case "${BAKEFILE_HOST}" in
47669 *-*-darwin* )
47670 if test "x$GCC" = "xyes"; then
47671 CFLAGS="$CFLAGS -fno-common"
47672 CXXFLAGS="$CXXFLAGS -fno-common"
47673 fi
47674 if test "x$XLCC" = "xyes"; then
47675 CFLAGS="$CFLAGS -qnocommon"
47676 CXXFLAGS="$CXXFLAGS -qnocommon"
47677 fi
47678 ;;
47679
47680 *-pc-os2_emx | *-pc-os2-emx )
47681 if test "x$bk_os2_use_omf" = "xyes" ; then
47682 AR=emxomfar
47683 RANLIB=:
47684 LDFLAGS="-Zomf $LDFLAGS"
47685 CFLAGS="-Zomf $CFLAGS"
47686 CXXFLAGS="-Zomf $CXXFLAGS"
47687 OS2_LIBEXT="lib"
47688 else
47689 OS2_LIBEXT="a"
47690 fi
47691 ;;
47692
47693 i*86-*-beos* )
47694 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47695 ;;
47696 esac
47697
47698
47699 SO_SUFFIX="so"
47700 SO_SUFFIX_MODULE="so"
47701 EXEEXT=""
47702 LIBPREFIX="lib"
47703 LIBEXT=".a"
47704 DLLPREFIX="lib"
47705 DLLPREFIX_MODULE=""
47706 DLLIMP_SUFFIX=""
47707 dlldir="$libdir"
47708
47709 case "${BAKEFILE_HOST}" in
47710 *-hp-hpux* )
47711 SO_SUFFIX="sl"
47712 SO_SUFFIX_MODULE="sl"
47713 ;;
47714 *-*-aix* )
47715 SO_SUFFIX="a"
47716 SO_SUFFIX_MODULE="a"
47717 ;;
47718 *-*-cygwin* )
47719 SO_SUFFIX="dll"
47720 SO_SUFFIX_MODULE="dll"
47721 DLLIMP_SUFFIX="dll.a"
47722 EXEEXT=".exe"
47723 DLLPREFIX="cyg"
47724 dlldir="$bindir"
47725 ;;
47726 *-*-mingw32* )
47727 SO_SUFFIX="dll"
47728 SO_SUFFIX_MODULE="dll"
47729 DLLIMP_SUFFIX="dll.a"
47730 EXEEXT=".exe"
47731 DLLPREFIX=""
47732 dlldir="$bindir"
47733 ;;
47734 *-pc-msdosdjgpp )
47735 EXEEXT=".exe"
47736 DLLPREFIX=""
47737 dlldir="$bindir"
47738 ;;
47739 *-pc-os2_emx | *-pc-os2-emx )
47740 SO_SUFFIX="dll"
47741 SO_SUFFIX_MODULE="dll"
47742 DLLIMP_SUFFIX=$OS2_LIBEXT
47743 EXEEXT=".exe"
47744 DLLPREFIX=""
47745 LIBPREFIX=""
47746 LIBEXT=".$OS2_LIBEXT"
47747 dlldir="$bindir"
47748 ;;
47749 *-*-darwin* )
47750 SO_SUFFIX="dylib"
47751 SO_SUFFIX_MODULE="bundle"
47752 ;;
47753 esac
47754
47755 if test "x$DLLIMP_SUFFIX" = "x" ; then
47756 DLLIMP_SUFFIX="$SO_SUFFIX"
47757 fi
47758
47759
47760
47761
47762
47763
47764
47765
47766
47767
47768
47769
47770 PIC_FLAG=""
47771 if test "x$GCC" = "xyes"; then
47772 PIC_FLAG="-fPIC"
47773 fi
47774
47775 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47776 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47777 WINDOWS_IMPLIB=0
47778
47779 case "${BAKEFILE_HOST}" in
47780 *-hp-hpux* )
47781 if test "x$GCC" != "xyes"; then
47782 LDFLAGS="$LDFLAGS -L/usr/lib"
47783
47784 SHARED_LD_CC="${CC} -b -o"
47785 SHARED_LD_CXX="${CXX} -b -o"
47786 PIC_FLAG="+Z"
47787 fi
47788 ;;
47789
47790 *-*-linux* )
47791 if test "x$GCC" != "xyes"; then
47792 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47793 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47794 if test "${bakefile_cv_prog_icc+set}" = set; then
47795 echo $ECHO_N "(cached) $ECHO_C" >&6
47796 else
47797
47798 cat >conftest.$ac_ext <<_ACEOF
47799 /* confdefs.h. */
47800 _ACEOF
47801 cat confdefs.h >>conftest.$ac_ext
47802 cat >>conftest.$ac_ext <<_ACEOF
47803 /* end confdefs.h. */
47804
47805 int
47806 main ()
47807 {
47808
47809 #ifndef __INTEL_COMPILER
47810 This is not ICC
47811 #endif
47812
47813 ;
47814 return 0;
47815 }
47816 _ACEOF
47817 rm -f conftest.$ac_objext
47818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47819 (eval $ac_compile) 2>conftest.er1
47820 ac_status=$?
47821 grep -v '^ *+' conftest.er1 >conftest.err
47822 rm -f conftest.er1
47823 cat conftest.err >&5
47824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47825 (exit $ac_status); } &&
47826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47828 (eval $ac_try) 2>&5
47829 ac_status=$?
47830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47831 (exit $ac_status); }; } &&
47832 { ac_try='test -s conftest.$ac_objext'
47833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47834 (eval $ac_try) 2>&5
47835 ac_status=$?
47836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47837 (exit $ac_status); }; }; then
47838 bakefile_cv_prog_icc=yes
47839 else
47840 echo "$as_me: failed program was:" >&5
47841 sed 's/^/| /' conftest.$ac_ext >&5
47842
47843 bakefile_cv_prog_icc=no
47844
47845 fi
47846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47847
47848 fi
47849 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47850 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47851 if test "$bakefile_cv_prog_icc" = "yes"; then
47852 PIC_FLAG="-KPIC"
47853 fi
47854 fi
47855 ;;
47856
47857 *-*-solaris2* )
47858 if test "x$GCC" != xyes ; then
47859 SHARED_LD_CC="${CC} -G -o"
47860 SHARED_LD_CXX="${CXX} -G -o"
47861 PIC_FLAG="-KPIC"
47862 fi
47863 ;;
47864
47865 *-*-darwin* )
47866
47867 D='$'
47868 cat <<EOF >shared-ld-sh
47869 #!/bin/sh
47870 #-----------------------------------------------------------------------------
47871 #-- Name: distrib/mac/shared-ld-sh
47872 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47873 #-- Author: Gilles Depeyrot
47874 #-- Copyright: (c) 2002 Gilles Depeyrot
47875 #-- Licence: any use permitted
47876 #-----------------------------------------------------------------------------
47877
47878 verbose=0
47879 args=""
47880 objects=""
47881 linking_flag="-dynamiclib"
47882 ldargs="-r -keep_private_externs -nostdlib"
47883
47884 while test ${D}# -gt 0; do
47885 case ${D}1 in
47886
47887 -v)
47888 verbose=1
47889 ;;
47890
47891 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47892 # collect these options and values
47893 args="${D}{args} ${D}1 ${D}2"
47894 shift
47895 ;;
47896
47897 -s|-Wl,*)
47898 # collect these load args
47899 ldargs="${D}{ldargs} ${D}1"
47900 ;;
47901
47902 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47903 # collect these options
47904 args="${D}{args} ${D}1"
47905 ;;
47906
47907 -dynamiclib|-bundle)
47908 linking_flag="${D}1"
47909 ;;
47910
47911 -*)
47912 echo "shared-ld: unhandled option '${D}1'"
47913 exit 1
47914 ;;
47915
47916 *.o | *.a | *.dylib)
47917 # collect object files
47918 objects="${D}{objects} ${D}1"
47919 ;;
47920
47921 *)
47922 echo "shared-ld: unhandled argument '${D}1'"
47923 exit 1
47924 ;;
47925
47926 esac
47927 shift
47928 done
47929
47930 status=0
47931
47932 #
47933 # Link one module containing all the others
47934 #
47935 if test ${D}{verbose} = 1; then
47936 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47937 fi
47938 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47939 status=${D}?
47940
47941 #
47942 # Link the shared library from the single module created, but only if the
47943 # previous command didn't fail:
47944 #
47945 if test ${D}{status} = 0; then
47946 if test ${D}{verbose} = 1; then
47947 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47948 fi
47949 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47950 status=${D}?
47951 fi
47952
47953 #
47954 # Remove intermediate module
47955 #
47956 rm -f master.${D}${D}.o
47957
47958 exit ${D}status
47959 EOF
47960
47961 chmod +x shared-ld-sh
47962
47963 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47964 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47965
47966
47967 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47968 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47969 if test "${bakefile_cv_gcc31+set}" = set; then
47970 echo $ECHO_N "(cached) $ECHO_C" >&6
47971 else
47972
47973 cat >conftest.$ac_ext <<_ACEOF
47974 /* confdefs.h. */
47975 _ACEOF
47976 cat confdefs.h >>conftest.$ac_ext
47977 cat >>conftest.$ac_ext <<_ACEOF
47978 /* end confdefs.h. */
47979
47980 int
47981 main ()
47982 {
47983
47984 #if (__GNUC__ < 3) || \
47985 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47986 This is old gcc
47987 #endif
47988
47989 ;
47990 return 0;
47991 }
47992 _ACEOF
47993 rm -f conftest.$ac_objext
47994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47995 (eval $ac_compile) 2>conftest.er1
47996 ac_status=$?
47997 grep -v '^ *+' conftest.er1 >conftest.err
47998 rm -f conftest.er1
47999 cat conftest.err >&5
48000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48001 (exit $ac_status); } &&
48002 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48004 (eval $ac_try) 2>&5
48005 ac_status=$?
48006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48007 (exit $ac_status); }; } &&
48008 { ac_try='test -s conftest.$ac_objext'
48009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48010 (eval $ac_try) 2>&5
48011 ac_status=$?
48012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48013 (exit $ac_status); }; }; then
48014
48015 bakefile_cv_gcc31=yes
48016
48017 else
48018 echo "$as_me: failed program was:" >&5
48019 sed 's/^/| /' conftest.$ac_ext >&5
48020
48021
48022 bakefile_cv_gcc31=no
48023
48024
48025 fi
48026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48027
48028 fi
48029 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48030 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48031 if test "$bakefile_cv_gcc31" = "no"; then
48032 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48033 SHARED_LD_CXX="$SHARED_LD_CC"
48034 else
48035 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48036 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48037 fi
48038
48039 if test "x$GCC" == "xyes"; then
48040 PIC_FLAG="-dynamic -fPIC"
48041 fi
48042 if test "x$XLCC" = "xyes"; then
48043 PIC_FLAG="-dynamic -DPIC"
48044 fi
48045 ;;
48046
48047 *-*-aix* )
48048 if test "x$GCC" = "xyes"; then
48049 PIC_FLAG=""
48050
48051 case "${BAKEFILE_HOST}" in
48052 *-*-aix5* )
48053 LD_EXPFULL="-Wl,-bexpfull"
48054 ;;
48055 esac
48056
48057 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48058 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48059 else
48060 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48061 set dummy makeC++SharedLib; ac_word=$2
48062 echo "$as_me:$LINENO: checking for $ac_word" >&5
48063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48064 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48065 echo $ECHO_N "(cached) $ECHO_C" >&6
48066 else
48067 if test -n "$AIX_CXX_LD"; then
48068 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48069 else
48070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48071 for as_dir in $PATH
48072 do
48073 IFS=$as_save_IFS
48074 test -z "$as_dir" && as_dir=.
48075 for ac_exec_ext in '' $ac_executable_extensions; do
48076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48077 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48079 break 2
48080 fi
48081 done
48082 done
48083
48084 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48085 fi
48086 fi
48087 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48088 if test -n "$AIX_CXX_LD"; then
48089 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48090 echo "${ECHO_T}$AIX_CXX_LD" >&6
48091 else
48092 echo "$as_me:$LINENO: result: no" >&5
48093 echo "${ECHO_T}no" >&6
48094 fi
48095
48096 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48097 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48098 fi
48099 ;;
48100
48101 *-*-beos* )
48102 SHARED_LD_CC="${LD} -nostart -o"
48103 SHARED_LD_CXX="${LD} -nostart -o"
48104 ;;
48105
48106 *-*-irix* )
48107 if test "x$GCC" != "xyes"; then
48108 PIC_FLAG="-KPIC"
48109 fi
48110 ;;
48111
48112 *-*-cygwin* | *-*-mingw32* )
48113 PIC_FLAG=""
48114 SHARED_LD_CC="\$(CC) -shared -o"
48115 SHARED_LD_CXX="\$(CXX) -shared -o"
48116 WINDOWS_IMPLIB=1
48117 ;;
48118
48119 *-pc-os2_emx | *-pc-os2-emx )
48120 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48121 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48122 PIC_FLAG=""
48123
48124 D='$'
48125 cat <<EOF >dllar.sh
48126 #!/bin/sh
48127 #
48128 # dllar - a tool to build both a .dll and an .a file
48129 # from a set of object (.o) files for EMX/OS2.
48130 #
48131 # Written by Andrew Zabolotny, bit@freya.etu.ru
48132 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48133 #
48134 # This script will accept a set of files on the command line.
48135 # All the public symbols from the .o files will be exported into
48136 # a .DEF file, then linker will be run (through gcc) against them to
48137 # build a shared library consisting of all given .o files. All libraries
48138 # (.a) will be first decompressed into component .o files then act as
48139 # described above. You can optionally give a description (-d "description")
48140 # which will be put into .DLL. To see the list of accepted options (as well
48141 # as command-line format) simply run this program without options. The .DLL
48142 # is built to be imported by name (there is no guarantee that new versions
48143 # of the library you build will have same ordinals for same symbols).
48144 #
48145 # dllar is free software; you can redistribute it and/or modify
48146 # it under the terms of the GNU General Public License as published by
48147 # the Free Software Foundation; either version 2, or (at your option)
48148 # any later version.
48149 #
48150 # dllar is distributed in the hope that it will be useful,
48151 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48152 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48153 # GNU General Public License for more details.
48154 #
48155 # You should have received a copy of the GNU General Public License
48156 # along with dllar; see the file COPYING. If not, write to the Free
48157 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48158 # 02111-1307, USA.
48159
48160 # To successfuly run this program you will need:
48161 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48162 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48163 # - gcc
48164 # (used to build the .dll)
48165 # - emxexp
48166 # (used to create .def file from .o files)
48167 # - emximp
48168 # (used to create .a file from .def file)
48169 # - GNU text utilites (cat, sort, uniq)
48170 # used to process emxexp output
48171 # - GNU file utilities (mv, rm)
48172 # - GNU sed
48173 # - lxlite (optional, see flag below)
48174 # (used for general .dll cleanup)
48175 #
48176
48177 flag_USE_LXLITE=1;
48178
48179 #
48180 # helper functions
48181 # basnam, variant of basename, which does _not_ remove the path, _iff_
48182 # second argument (suffix to remove) is given
48183 basnam(){
48184 case ${D}# in
48185 1)
48186 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48187 ;;
48188 2)
48189 echo ${D}1 | sed 's/'${D}2'${D}//'
48190 ;;
48191 *)
48192 echo "error in basnam ${D}*"
48193 exit 8
48194 ;;
48195 esac
48196 }
48197
48198 # Cleanup temporary files and output
48199 CleanUp() {
48200 cd ${D}curDir
48201 for i in ${D}inputFiles ; do
48202 case ${D}i in
48203 *!)
48204 rm -rf \`basnam ${D}i !\`
48205 ;;
48206 *)
48207 ;;
48208 esac
48209 done
48210
48211 # Kill result in case of failure as there is just to many stupid make/nmake
48212 # things out there which doesn't do this.
48213 if [ ${D}# -eq 0 ]; then
48214 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48215 fi
48216 }
48217
48218 # Print usage and exit script with rc=1.
48219 PrintHelp() {
48220 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48221 echo ' [-name-mangler-script script.sh]'
48222 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48223 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48224 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48225 echo ' [*.o] [*.a]'
48226 echo '*> "output_file" should have no extension.'
48227 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48228 echo ' The import library name is derived from this and is set to "name".a,'
48229 echo ' unless overridden by -import'
48230 echo '*> "importlib_name" should have no extension.'
48231 echo ' If it has the .o, or .a extension, it is automatically removed.'
48232 echo ' This name is used as the import library name and may be longer and'
48233 echo ' more descriptive than the DLL name which has to follow the old '
48234 echo ' 8.3 convention of FAT.'
48235 echo '*> "script.sh may be given to override the output_file name by a'
48236 echo ' different name. It is mainly useful if the regular make process'
48237 echo ' of some package does not take into account OS/2 restriction of'
48238 echo ' DLL name lengths. It takes the importlib name as input and is'
48239 echo ' supposed to procude a shorter name as output. The script should'
48240 echo ' expect to get importlib_name without extension and should produce'
48241 echo ' a (max.) 8 letter name without extension.'
48242 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48243 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48244 echo ' These flags will be put at the start of GCC command line.'
48245 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48246 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48247 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48248 echo ' If the last character of a symbol is "*", all symbols beginning'
48249 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48250 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48251 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48252 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48253 echo ' C runtime DLLs.'
48254 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48255 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48256 echo ' unchanged to GCC at the end of command line.'
48257 echo '*> If you create a DLL from a library and you do not specify -o,'
48258 echo ' the basename for DLL and import library will be set to library name,'
48259 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48260 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48261 echo ' library will be renamed into gcc_s.a.'
48262 echo '--------'
48263 echo 'Example:'
48264 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48265 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48266 CleanUp
48267 exit 1
48268 }
48269
48270 # Execute a command.
48271 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48272 # @Uses Whatever CleanUp() uses.
48273 doCommand() {
48274 echo "${D}*"
48275 eval ${D}*
48276 rcCmd=${D}?
48277
48278 if [ ${D}rcCmd -ne 0 ]; then
48279 echo "command failed, exit code="${D}rcCmd
48280 CleanUp
48281 exit ${D}rcCmd
48282 fi
48283 }
48284
48285 # main routine
48286 # setup globals
48287 cmdLine=${D}*
48288 outFile=""
48289 outimpFile=""
48290 inputFiles=""
48291 renameScript=""
48292 description=""
48293 CC=gcc.exe
48294 CFLAGS="-s -Zcrtdll"
48295 EXTRA_CFLAGS=""
48296 EXPORT_BY_ORDINALS=0
48297 exclude_symbols=""
48298 library_flags=""
48299 curDir=\`pwd\`
48300 curDirS=curDir
48301 case ${D}curDirS in
48302 */)
48303 ;;
48304 *)
48305 curDirS=${D}{curDirS}"/"
48306 ;;
48307 esac
48308 # Parse commandline
48309 libsToLink=0
48310 omfLinking=0
48311 while [ ${D}1 ]; do
48312 case ${D}1 in
48313 -ord*)
48314 EXPORT_BY_ORDINALS=1;
48315 ;;
48316 -o*)
48317 shift
48318 outFile=${D}1
48319 ;;
48320 -i*)
48321 shift
48322 outimpFile=${D}1
48323 ;;
48324 -name-mangler-script)
48325 shift
48326 renameScript=${D}1
48327 ;;
48328 -d*)
48329 shift
48330 description=${D}1
48331 ;;
48332 -f*)
48333 shift
48334 CFLAGS=${D}1
48335 ;;
48336 -c*)
48337 shift
48338 CC=${D}1
48339 ;;
48340 -h*)
48341 PrintHelp
48342 ;;
48343 -ex*)
48344 shift
48345 exclude_symbols=${D}{exclude_symbols}${D}1" "
48346 ;;
48347 -libf*)
48348 shift
48349 library_flags=${D}{library_flags}${D}1" "
48350 ;;
48351 -nocrt*)
48352 CFLAGS="-s"
48353 ;;
48354 -nolxl*)
48355 flag_USE_LXLITE=0
48356 ;;
48357 -* | /*)
48358 case ${D}1 in
48359 -L* | -l*)
48360 libsToLink=1
48361 ;;
48362 -Zomf)
48363 omfLinking=1
48364 ;;
48365 *)
48366 ;;
48367 esac
48368 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48369 ;;
48370 *.dll)
48371 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48372 if [ ${D}omfLinking -eq 1 ]; then
48373 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48374 else
48375 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48376 fi
48377 ;;
48378 *)
48379 found=0;
48380 if [ ${D}libsToLink -ne 0 ]; then
48381 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48382 else
48383 for file in ${D}1 ; do
48384 if [ -f ${D}file ]; then
48385 inputFiles="${D}{inputFiles} ${D}file"
48386 found=1
48387 fi
48388 done
48389 if [ ${D}found -eq 0 ]; then
48390 echo "ERROR: No file(s) found: "${D}1
48391 exit 8
48392 fi
48393 fi
48394 ;;
48395 esac
48396 shift
48397 done # iterate cmdline words
48398
48399 #
48400 if [ -z "${D}inputFiles" ]; then
48401 echo "dllar: no input files"
48402 PrintHelp
48403 fi
48404
48405 # Now extract all .o files from .a files
48406 newInputFiles=""
48407 for file in ${D}inputFiles ; do
48408 case ${D}file in
48409 *.a | *.lib)
48410 case ${D}file in
48411 *.a)
48412 suffix=".a"
48413 AR="ar"
48414 ;;
48415 *.lib)
48416 suffix=".lib"
48417 AR="emxomfar"
48418 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48419 ;;
48420 *)
48421 ;;
48422 esac
48423 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48424 mkdir ${D}dirname
48425 if [ ${D}? -ne 0 ]; then
48426 echo "Failed to create subdirectory ./${D}dirname"
48427 CleanUp
48428 exit 8;
48429 fi
48430 # Append '!' to indicate archive
48431 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48432 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48433 cd ${D}curDir
48434 found=0;
48435 for subfile in ${D}dirname/*.o* ; do
48436 if [ -f ${D}subfile ]; then
48437 found=1
48438 if [ -s ${D}subfile ]; then
48439 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48440 newInputFiles="${D}newInputFiles ${D}subfile"
48441 fi
48442 fi
48443 done
48444 if [ ${D}found -eq 0 ]; then
48445 echo "WARNING: there are no files in archive \\'${D}file\\'"
48446 fi
48447 ;;
48448 *)
48449 newInputFiles="${D}{newInputFiles} ${D}file"
48450 ;;
48451 esac
48452 done
48453 inputFiles="${D}newInputFiles"
48454
48455 # Output filename(s).
48456 do_backup=0;
48457 if [ -z ${D}outFile ]; then
48458 do_backup=1;
48459 set outFile ${D}inputFiles; outFile=${D}2
48460 fi
48461
48462 # If it is an archive, remove the '!' and the '_%' suffixes
48463 case ${D}outFile in
48464 *_%!)
48465 outFile=\`basnam ${D}outFile _%!\`
48466 ;;
48467 *)
48468 ;;
48469 esac
48470 case ${D}outFile in
48471 *.dll)
48472 outFile=\`basnam ${D}outFile .dll\`
48473 ;;
48474 *.DLL)
48475 outFile=\`basnam ${D}outFile .DLL\`
48476 ;;
48477 *.o)
48478 outFile=\`basnam ${D}outFile .o\`
48479 ;;
48480 *.obj)
48481 outFile=\`basnam ${D}outFile .obj\`
48482 ;;
48483 *.a)
48484 outFile=\`basnam ${D}outFile .a\`
48485 ;;
48486 *.lib)
48487 outFile=\`basnam ${D}outFile .lib\`
48488 ;;
48489 *)
48490 ;;
48491 esac
48492 case ${D}outimpFile in
48493 *.a)
48494 outimpFile=\`basnam ${D}outimpFile .a\`
48495 ;;
48496 *.lib)
48497 outimpFile=\`basnam ${D}outimpFile .lib\`
48498 ;;
48499 *)
48500 ;;
48501 esac
48502 if [ -z ${D}outimpFile ]; then
48503 outimpFile=${D}outFile
48504 fi
48505 defFile="${D}{outFile}.def"
48506 arcFile="${D}{outimpFile}.a"
48507 arcFile2="${D}{outimpFile}.lib"
48508
48509 #create ${D}dllFile as something matching 8.3 restrictions,
48510 if [ -z ${D}renameScript ] ; then
48511 dllFile="${D}outFile"
48512 else
48513 dllFile=\`${D}renameScript ${D}outimpFile\`
48514 fi
48515
48516 if [ ${D}do_backup -ne 0 ] ; then
48517 if [ -f ${D}arcFile ] ; then
48518 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48519 fi
48520 if [ -f ${D}arcFile2 ] ; then
48521 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48522 fi
48523 fi
48524
48525 # Extract public symbols from all the object files.
48526 tmpdefFile=${D}{defFile}_%
48527 rm -f ${D}tmpdefFile
48528 for file in ${D}inputFiles ; do
48529 case ${D}file in
48530 *!)
48531 ;;
48532 *)
48533 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48534 ;;
48535 esac
48536 done
48537
48538 # Create the def file.
48539 rm -f ${D}defFile
48540 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48541 dllFile="${D}{dllFile}.dll"
48542 if [ ! -z ${D}description ]; then
48543 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48544 fi
48545 echo "EXPORTS" >> ${D}defFile
48546
48547 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48548 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48549
48550 # Checks if the export is ok or not.
48551 for word in ${D}exclude_symbols; do
48552 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48553 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48554 done
48555
48556
48557 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48558 sed "=" < ${D}tmpdefFile | \\
48559 sed '
48560 N
48561 : loop
48562 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48563 t loop
48564 ' > ${D}{tmpdefFile}%
48565 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48566 else
48567 rm -f ${D}{tmpdefFile}%
48568 fi
48569 cat ${D}tmpdefFile >> ${D}defFile
48570 rm -f ${D}tmpdefFile
48571
48572 # Do linking, create implib, and apply lxlite.
48573 gccCmdl="";
48574 for file in ${D}inputFiles ; do
48575 case ${D}file in
48576 *!)
48577 ;;
48578 *)
48579 gccCmdl="${D}gccCmdl ${D}file"
48580 ;;
48581 esac
48582 done
48583 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48584 touch "${D}{outFile}.dll"
48585
48586 doCommand "emximp -o ${D}arcFile ${D}defFile"
48587 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48588 add_flags="";
48589 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48590 add_flags="-ynd"
48591 fi
48592 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48593 fi
48594 doCommand "emxomf -s -l ${D}arcFile"
48595
48596 # Successful exit.
48597 CleanUp 1
48598 exit 0
48599 EOF
48600
48601 chmod +x dllar.sh
48602 ;;
48603
48604 powerpc-apple-macos* | \
48605 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48606 *-*-sunos4* | \
48607 *-*-osf* | \
48608 *-*-dgux5* | \
48609 *-*-sysv5* | \
48610 *-pc-msdosdjgpp )
48611 ;;
48612
48613 *)
48614 esac
48615
48616 if test "x$PIC_FLAG" != "x" ; then
48617 PIC_FLAG="$PIC_FLAG -DPIC"
48618 fi
48619
48620 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48621 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48622 fi
48623 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48624 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48625 fi
48626
48627
48628
48629
48630
48631
48632
48633
48634
48635 USE_SOVERSION=0
48636 USE_SOVERLINUX=0
48637 USE_SOVERSOLARIS=0
48638 USE_SOVERCYGWIN=0
48639 USE_SOSYMLINKS=0
48640 USE_MACVERSION=0
48641 SONAME_FLAG=
48642
48643 case "${BAKEFILE_HOST}" in
48644 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48645 SONAME_FLAG="-Wl,-soname,"
48646 USE_SOVERSION=1
48647 USE_SOVERLINUX=1
48648 USE_SOSYMLINKS=1
48649 ;;
48650
48651 *-*-solaris2* )
48652 SONAME_FLAG="-h "
48653 USE_SOVERSION=1
48654 USE_SOVERSOLARIS=1
48655 USE_SOSYMLINKS=1
48656 ;;
48657
48658 *-*-darwin* )
48659 USE_MACVERSION=1
48660 USE_SOVERSION=1
48661 USE_SOSYMLINKS=1
48662 ;;
48663
48664 *-*-cygwin* )
48665 USE_SOVERSION=1
48666 USE_SOVERCYGWIN=1
48667 ;;
48668 esac
48669
48670
48671
48672
48673
48674
48675
48676
48677
48678
48679 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48680 if test "${enable_dependency_tracking+set}" = set; then
48681 enableval="$enable_dependency_tracking"
48682 bk_use_trackdeps="$enableval"
48683 fi;
48684
48685 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48686 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48687
48688 if test "x$bk_use_trackdeps" = "xno" ; then
48689 DEPS_TRACKING=0
48690 echo "$as_me:$LINENO: result: disabled" >&5
48691 echo "${ECHO_T}disabled" >&6
48692 else
48693 DEPS_TRACKING=1
48694
48695 if test "x$GCC" = "xyes"; then
48696 DEPSMODE=gcc
48697 case "${BAKEFILE_HOST}" in
48698 *-*-darwin* )
48699 DEPSFLAG="-no-cpp-precomp -MMD"
48700 ;;
48701 * )
48702 DEPSFLAG="-MMD"
48703 ;;
48704 esac
48705 echo "$as_me:$LINENO: result: gcc" >&5
48706 echo "${ECHO_T}gcc" >&6
48707 elif test "x$MWCC" = "xyes"; then
48708 DEPSMODE=mwcc
48709 DEPSFLAG="-MM"
48710 echo "$as_me:$LINENO: result: mwcc" >&5
48711 echo "${ECHO_T}mwcc" >&6
48712 elif test "x$SUNCC" = "xyes"; then
48713 DEPSMODE=unixcc
48714 DEPSFLAG="-xM1"
48715 echo "$as_me:$LINENO: result: Sun cc" >&5
48716 echo "${ECHO_T}Sun cc" >&6
48717 elif test "x$SGICC" = "xyes"; then
48718 DEPSMODE=unixcc
48719 DEPSFLAG="-M"
48720 echo "$as_me:$LINENO: result: SGI cc" >&5
48721 echo "${ECHO_T}SGI cc" >&6
48722 elif test "x$HPCC" = "xyes"; then
48723 DEPSMODE=unixcc
48724 DEPSFLAG="+make"
48725 echo "$as_me:$LINENO: result: HP cc" >&5
48726 echo "${ECHO_T}HP cc" >&6
48727 elif test "x$COMPAQCC" = "xyes"; then
48728 DEPSMODE=gcc
48729 DEPSFLAG="-MD"
48730 echo "$as_me:$LINENO: result: Compaq cc" >&5
48731 echo "${ECHO_T}Compaq cc" >&6
48732 else
48733 DEPS_TRACKING=0
48734 echo "$as_me:$LINENO: result: none" >&5
48735 echo "${ECHO_T}none" >&6
48736 fi
48737
48738 if test $DEPS_TRACKING = 1 ; then
48739
48740 D='$'
48741 cat <<EOF >bk-deps
48742 #!/bin/sh
48743
48744 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48745 # script. It is used to track C/C++ files dependencies in portable way.
48746 #
48747 # Permission is given to use this file in any way.
48748
48749 DEPSMODE=${DEPSMODE}
48750 DEPSDIR=.deps
48751 DEPSFLAG="${DEPSFLAG}"
48752
48753 mkdir -p ${D}DEPSDIR
48754
48755 if test ${D}DEPSMODE = gcc ; then
48756 ${D}* ${D}{DEPSFLAG}
48757 status=${D}?
48758 if test ${D}{status} != 0 ; then
48759 exit ${D}{status}
48760 fi
48761 # move created file to the location we want it in:
48762 while test ${D}# -gt 0; do
48763 case "${D}1" in
48764 -o )
48765 shift
48766 objfile=${D}1
48767 ;;
48768 -* )
48769 ;;
48770 * )
48771 srcfile=${D}1
48772 ;;
48773 esac
48774 shift
48775 done
48776 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48777 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48778 if test -f ${D}depfile ; then
48779 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48780 rm -f ${D}depfile
48781 else
48782 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48783 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48784 if test ! -f ${D}depfile ; then
48785 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48786 depfile="${D}objfile.d"
48787 fi
48788 if test -f ${D}depfile ; then
48789 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48790 rm -f ${D}depfile
48791 fi
48792 fi
48793 exit 0
48794 elif test ${D}DEPSMODE = mwcc ; then
48795 ${D}* || exit ${D}?
48796 # Run mwcc again with -MM and redirect into the dep file we want
48797 # NOTE: We can't use shift here because we need ${D}* to be valid
48798 prevarg=
48799 for arg in ${D}* ; do
48800 if test "${D}prevarg" = "-o"; then
48801 objfile=${D}arg
48802 else
48803 case "${D}arg" in
48804 -* )
48805 ;;
48806 * )
48807 srcfile=${D}arg
48808 ;;
48809 esac
48810 fi
48811 prevarg="${D}arg"
48812 done
48813 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48814 exit 0
48815 elif test ${D}DEPSMODE = unixcc; then
48816 ${D}* || exit ${D}?
48817 # Run compiler again with deps flag and redirect into the dep file.
48818 # It doesn't work if the '-o FILE' option is used, but without it the
48819 # dependency file will contain the wrong name for the object. So it is
48820 # removed from the command line, and the dep file is fixed with sed.
48821 cmd=""
48822 while test ${D}# -gt 0; do
48823 case "${D}1" in
48824 -o )
48825 shift
48826 objfile=${D}1
48827 ;;
48828 * )
48829 eval arg${D}#=\\${D}1
48830 cmd="${D}cmd \\${D}arg${D}#"
48831 ;;
48832 esac
48833 shift
48834 done
48835 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48836 exit 0
48837 else
48838 ${D}*
48839 exit ${D}?
48840 fi
48841 EOF
48842
48843 chmod +x bk-deps
48844 fi
48845 fi
48846
48847
48848
48849
48850 case ${BAKEFILE_HOST} in
48851 *-*-cygwin* | *-*-mingw32* )
48852 if test -n "$ac_tool_prefix"; then
48853 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48854 set dummy ${ac_tool_prefix}windres; ac_word=$2
48855 echo "$as_me:$LINENO: checking for $ac_word" >&5
48856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48857 if test "${ac_cv_prog_WINDRES+set}" = set; then
48858 echo $ECHO_N "(cached) $ECHO_C" >&6
48859 else
48860 if test -n "$WINDRES"; then
48861 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48862 else
48863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48864 for as_dir in $PATH
48865 do
48866 IFS=$as_save_IFS
48867 test -z "$as_dir" && as_dir=.
48868 for ac_exec_ext in '' $ac_executable_extensions; do
48869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48870 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48872 break 2
48873 fi
48874 done
48875 done
48876
48877 fi
48878 fi
48879 WINDRES=$ac_cv_prog_WINDRES
48880 if test -n "$WINDRES"; then
48881 echo "$as_me:$LINENO: result: $WINDRES" >&5
48882 echo "${ECHO_T}$WINDRES" >&6
48883 else
48884 echo "$as_me:$LINENO: result: no" >&5
48885 echo "${ECHO_T}no" >&6
48886 fi
48887
48888 fi
48889 if test -z "$ac_cv_prog_WINDRES"; then
48890 ac_ct_WINDRES=$WINDRES
48891 # Extract the first word of "windres", so it can be a program name with args.
48892 set dummy windres; ac_word=$2
48893 echo "$as_me:$LINENO: checking for $ac_word" >&5
48894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48895 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48896 echo $ECHO_N "(cached) $ECHO_C" >&6
48897 else
48898 if test -n "$ac_ct_WINDRES"; then
48899 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48900 else
48901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48902 for as_dir in $PATH
48903 do
48904 IFS=$as_save_IFS
48905 test -z "$as_dir" && as_dir=.
48906 for ac_exec_ext in '' $ac_executable_extensions; do
48907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48908 ac_cv_prog_ac_ct_WINDRES="windres"
48909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48910 break 2
48911 fi
48912 done
48913 done
48914
48915 fi
48916 fi
48917 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48918 if test -n "$ac_ct_WINDRES"; then
48919 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48920 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48921 else
48922 echo "$as_me:$LINENO: result: no" >&5
48923 echo "${ECHO_T}no" >&6
48924 fi
48925
48926 WINDRES=$ac_ct_WINDRES
48927 else
48928 WINDRES="$ac_cv_prog_WINDRES"
48929 fi
48930
48931 ;;
48932
48933 *-*-darwin* | powerpc-apple-macos* )
48934 # Extract the first word of "Rez", so it can be a program name with args.
48935 set dummy Rez; ac_word=$2
48936 echo "$as_me:$LINENO: checking for $ac_word" >&5
48937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48938 if test "${ac_cv_prog_REZ+set}" = set; then
48939 echo $ECHO_N "(cached) $ECHO_C" >&6
48940 else
48941 if test -n "$REZ"; then
48942 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48943 else
48944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48945 for as_dir in $PATH
48946 do
48947 IFS=$as_save_IFS
48948 test -z "$as_dir" && as_dir=.
48949 for ac_exec_ext in '' $ac_executable_extensions; do
48950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48951 ac_cv_prog_REZ="Rez"
48952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48953 break 2
48954 fi
48955 done
48956 done
48957
48958 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48959 fi
48960 fi
48961 REZ=$ac_cv_prog_REZ
48962 if test -n "$REZ"; then
48963 echo "$as_me:$LINENO: result: $REZ" >&5
48964 echo "${ECHO_T}$REZ" >&6
48965 else
48966 echo "$as_me:$LINENO: result: no" >&5
48967 echo "${ECHO_T}no" >&6
48968 fi
48969
48970 # Extract the first word of "SetFile", so it can be a program name with args.
48971 set dummy SetFile; ac_word=$2
48972 echo "$as_me:$LINENO: checking for $ac_word" >&5
48973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48974 if test "${ac_cv_prog_SETFILE+set}" = set; then
48975 echo $ECHO_N "(cached) $ECHO_C" >&6
48976 else
48977 if test -n "$SETFILE"; then
48978 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48979 else
48980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48981 for as_dir in $PATH
48982 do
48983 IFS=$as_save_IFS
48984 test -z "$as_dir" && as_dir=.
48985 for ac_exec_ext in '' $ac_executable_extensions; do
48986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48987 ac_cv_prog_SETFILE="SetFile"
48988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48989 break 2
48990 fi
48991 done
48992 done
48993
48994 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48995 fi
48996 fi
48997 SETFILE=$ac_cv_prog_SETFILE
48998 if test -n "$SETFILE"; then
48999 echo "$as_me:$LINENO: result: $SETFILE" >&5
49000 echo "${ECHO_T}$SETFILE" >&6
49001 else
49002 echo "$as_me:$LINENO: result: no" >&5
49003 echo "${ECHO_T}no" >&6
49004 fi
49005
49006 ;;
49007 esac
49008
49009
49010
49011
49012
49013
49014 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
49015
49016
49017 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
49018
49019
49020
49021 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49022 if test "${enable_precomp_headers+set}" = set; then
49023 enableval="$enable_precomp_headers"
49024 bk_use_pch="$enableval"
49025 fi;
49026
49027 GCC_PCH=0
49028 ICC_PCH=0
49029 USE_PCH=0
49030
49031 case ${BAKEFILE_HOST} in
49032 *-*-cygwin* )
49033 bk_use_pch="no"
49034 ;;
49035 esac
49036
49037 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49038 if test "x$GCC" = "xyes"; then
49039 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49040 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49041 cat >conftest.$ac_ext <<_ACEOF
49042 /* confdefs.h. */
49043 _ACEOF
49044 cat confdefs.h >>conftest.$ac_ext
49045 cat >>conftest.$ac_ext <<_ACEOF
49046 /* end confdefs.h. */
49047
49048 int
49049 main ()
49050 {
49051
49052 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49053 There is no PCH support
49054 #endif
49055 #if (__GNUC__ < 3)
49056 There is no PCH support
49057 #endif
49058 #if (__GNUC__ == 3) && \
49059 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49060 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49061 ( defined(__INTEL_COMPILER) )
49062 There is no PCH support
49063 #endif
49064
49065 ;
49066 return 0;
49067 }
49068 _ACEOF
49069 rm -f conftest.$ac_objext
49070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49071 (eval $ac_compile) 2>conftest.er1
49072 ac_status=$?
49073 grep -v '^ *+' conftest.er1 >conftest.err
49074 rm -f conftest.er1
49075 cat conftest.err >&5
49076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49077 (exit $ac_status); } &&
49078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49080 (eval $ac_try) 2>&5
49081 ac_status=$?
49082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49083 (exit $ac_status); }; } &&
49084 { ac_try='test -s conftest.$ac_objext'
49085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49086 (eval $ac_try) 2>&5
49087 ac_status=$?
49088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49089 (exit $ac_status); }; }; then
49090
49091 echo "$as_me:$LINENO: result: yes" >&5
49092 echo "${ECHO_T}yes" >&6
49093 GCC_PCH=1
49094
49095 else
49096 echo "$as_me: failed program was:" >&5
49097 sed 's/^/| /' conftest.$ac_ext >&5
49098
49099
49100 cat >conftest.$ac_ext <<_ACEOF
49101 /* confdefs.h. */
49102 _ACEOF
49103 cat confdefs.h >>conftest.$ac_ext
49104 cat >>conftest.$ac_ext <<_ACEOF
49105 /* end confdefs.h. */
49106
49107 int
49108 main ()
49109 {
49110
49111 #if !defined(__INTEL_COMPILER) || \
49112 (__INTEL_COMPILER < 800)
49113 There is no PCH support
49114 #endif
49115
49116 ;
49117 return 0;
49118 }
49119 _ACEOF
49120 rm -f conftest.$ac_objext
49121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49122 (eval $ac_compile) 2>conftest.er1
49123 ac_status=$?
49124 grep -v '^ *+' conftest.er1 >conftest.err
49125 rm -f conftest.er1
49126 cat conftest.err >&5
49127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49128 (exit $ac_status); } &&
49129 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49131 (eval $ac_try) 2>&5
49132 ac_status=$?
49133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49134 (exit $ac_status); }; } &&
49135 { ac_try='test -s conftest.$ac_objext'
49136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49137 (eval $ac_try) 2>&5
49138 ac_status=$?
49139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49140 (exit $ac_status); }; }; then
49141
49142 echo "$as_me:$LINENO: result: yes" >&5
49143 echo "${ECHO_T}yes" >&6
49144 ICC_PCH=1
49145
49146 else
49147 echo "$as_me: failed program was:" >&5
49148 sed 's/^/| /' conftest.$ac_ext >&5
49149
49150
49151 echo "$as_me:$LINENO: result: no" >&5
49152 echo "${ECHO_T}no" >&6
49153
49154 fi
49155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49156
49157 fi
49158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49159 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49160 USE_PCH=1
49161
49162 D='$'
49163 cat <<EOF >bk-make-pch
49164 #!/bin/sh
49165
49166 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49167 # script. It is used to generated precompiled headers.
49168 #
49169 # Permission is given to use this file in any way.
49170
49171 outfile="${D}{1}"
49172 header="${D}{2}"
49173 shift
49174 shift
49175
49176 compiler=""
49177 headerfile=""
49178
49179 while test ${D}{#} -gt 0; do
49180 add_to_cmdline=1
49181 case "${D}{1}" in
49182 -I* )
49183 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49184 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49185 headerfile="${D}{incdir}/${D}{header}"
49186 fi
49187 ;;
49188 -use-pch|-use_pch )
49189 shift
49190 add_to_cmdline=0
49191 ;;
49192 esac
49193 if test ${D}add_to_cmdline = 1 ; then
49194 compiler="${D}{compiler} ${D}{1}"
49195 fi
49196 shift
49197 done
49198
49199 if test "x${D}{headerfile}" = "x" ; then
49200 echo "error: can't find header ${D}{header} in include paths" >&2
49201 else
49202 if test -f ${D}{outfile} ; then
49203 rm -f ${D}{outfile}
49204 else
49205 mkdir -p \`dirname ${D}{outfile}\`
49206 fi
49207 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49208 mkdir -p .deps
49209 if test "x${GCC_PCH}" = "x1" ; then
49210 # can do this because gcc is >= 3.4:
49211 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49212 elif test "x${ICC_PCH}" = "x1" ; then
49213 filename=pch_gen-${D}${D}
49214 file=${D}{filename}.c
49215 dfile=${D}{filename}.d
49216 cat > ${D}file <<EOT
49217 #include "${D}header"
49218 EOT
49219 # using -MF icc complains about differing command lines in creation/use
49220 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49221 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49222 rm -f ${D}file ${D}dfile ${D}{filename}.o
49223 fi
49224 exit ${D}{?}
49225 fi
49226 EOF
49227
49228 chmod +x bk-make-pch
49229 fi
49230 fi
49231 fi
49232
49233
49234
49235
49236 COND_BUILD_DEBUG="#"
49237 if test "x$BUILD" = "xdebug" ; then
49238 COND_BUILD_DEBUG=""
49239 fi
49240
49241 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49242 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49243 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49244 fi
49245
49246 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49247 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49248 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49249 fi
49250
49251 COND_BUILD_DEBUG_UNICODE_0="#"
49252 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49253 COND_BUILD_DEBUG_UNICODE_0=""
49254 fi
49255
49256 COND_BUILD_DEBUG_UNICODE_1="#"
49257 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49258 COND_BUILD_DEBUG_UNICODE_1=""
49259 fi
49260
49261 COND_BUILD_RELEASE="#"
49262 if test "x$BUILD" = "xrelease" ; then
49263 COND_BUILD_RELEASE=""
49264 fi
49265
49266 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49267 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49268 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49269 fi
49270
49271 COND_BUILD_RELEASE_UNICODE_0="#"
49272 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49273 COND_BUILD_RELEASE_UNICODE_0=""
49274 fi
49275
49276 COND_BUILD_RELEASE_UNICODE_1="#"
49277 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49278 COND_BUILD_RELEASE_UNICODE_1=""
49279 fi
49280
49281 COND_DEBUG_FLAG_1="#"
49282 if test "x$DEBUG_FLAG" = "x1" ; then
49283 COND_DEBUG_FLAG_1=""
49284 fi
49285
49286 COND_DEBUG_INFO_0="#"
49287 if test "x$DEBUG_INFO" = "x0" ; then
49288 COND_DEBUG_INFO_0=""
49289 fi
49290
49291 COND_DEBUG_INFO_1="#"
49292 if test "x$DEBUG_INFO" = "x1" ; then
49293 COND_DEBUG_INFO_1=""
49294 fi
49295
49296 COND_DEPS_TRACKING_0="#"
49297 if test "x$DEPS_TRACKING" = "x0" ; then
49298 COND_DEPS_TRACKING_0=""
49299 fi
49300
49301 COND_DEPS_TRACKING_1="#"
49302 if test "x$DEPS_TRACKING" = "x1" ; then
49303 COND_DEPS_TRACKING_1=""
49304 fi
49305
49306 COND_GCC_PCH_1="#"
49307 if test "x$GCC_PCH" = "x1" ; then
49308 COND_GCC_PCH_1=""
49309 fi
49310
49311 COND_ICC_PCH_1="#"
49312 if test "x$ICC_PCH" = "x1" ; then
49313 COND_ICC_PCH_1=""
49314 fi
49315
49316 COND_MONOLITHIC_0="#"
49317 if test "x$MONOLITHIC" = "x0" ; then
49318 COND_MONOLITHIC_0=""
49319 fi
49320
49321 COND_MONOLITHIC_0_SHARED_0="#"
49322 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49323 COND_MONOLITHIC_0_SHARED_0=""
49324 fi
49325
49326 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49327 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49328 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49329 fi
49330
49331 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49332 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49333 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49334 fi
49335
49336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49337 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49338 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49339 fi
49340
49341 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49342 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49343 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49344 fi
49345
49346 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49347 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49348 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49349 fi
49350
49351 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49352 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49353 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49354 fi
49355
49356 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49357 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49358 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49359 fi
49360
49361 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49362 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49363 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49364 fi
49365
49366 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49367 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49368 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49369 fi
49370
49371 COND_MONOLITHIC_0_SHARED_1="#"
49372 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49373 COND_MONOLITHIC_0_SHARED_1=""
49374 fi
49375
49376 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49377 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49378 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49379 fi
49380
49381 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49382 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49383 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49384 fi
49385
49386 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49387 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49388 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49389 fi
49390
49391 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49392 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49393 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49394 fi
49395
49396 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49397 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49398 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49399 fi
49400
49401 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49402 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49403 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49404 fi
49405
49406 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49408 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49409 fi
49410
49411 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49413 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49414 fi
49415
49416 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49418 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49419 fi
49420
49421 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49422 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49423 COND_MONOLITHIC_0_USE_MEDIA_1=""
49424 fi
49425
49426 COND_MONOLITHIC_0_USE_ODBC_1="#"
49427 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49428 COND_MONOLITHIC_0_USE_ODBC_1=""
49429 fi
49430
49431 COND_MONOLITHIC_1="#"
49432 if test "x$MONOLITHIC" = "x1" ; then
49433 COND_MONOLITHIC_1=""
49434 fi
49435
49436 COND_MONOLITHIC_1_SHARED_0="#"
49437 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49438 COND_MONOLITHIC_1_SHARED_0=""
49439 fi
49440
49441 COND_MONOLITHIC_1_SHARED_1="#"
49442 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49443 COND_MONOLITHIC_1_SHARED_1=""
49444 fi
49445
49446 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49447 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49448 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49449 fi
49450
49451 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49452 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49453 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49454 fi
49455
49456 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49457 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49458 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49459 fi
49460
49461 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49462 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49463 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49464 fi
49465
49466 COND_PLATFORM_MACOSX_1="#"
49467 if test "x$PLATFORM_MACOSX" = "x1" ; then
49468 COND_PLATFORM_MACOSX_1=""
49469 fi
49470
49471 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49472 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49473 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49474 fi
49475
49476 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49477 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49478 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49479 fi
49480
49481 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49482 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49483 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49484 fi
49485
49486 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49487 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49488 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49489 fi
49490
49491 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49492 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49493 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49494 fi
49495
49496 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49497 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49498 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49499 fi
49500
49501 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49502 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49503 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49504 fi
49505
49506 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49507 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49508 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49509 fi
49510
49511 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49512 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49513 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49514 fi
49515
49516 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49517 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49518 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49519 fi
49520
49521 COND_PLATFORM_MACOS_1="#"
49522 if test "x$PLATFORM_MACOS" = "x1" ; then
49523 COND_PLATFORM_MACOS_1=""
49524 fi
49525
49526 COND_PLATFORM_MAC_1="#"
49527 if test "x$PLATFORM_MAC" = "x1" ; then
49528 COND_PLATFORM_MAC_1=""
49529 fi
49530
49531 COND_PLATFORM_MSDOS_0="#"
49532 if test "x$PLATFORM_MSDOS" = "x0" ; then
49533 COND_PLATFORM_MSDOS_0=""
49534 fi
49535
49536 COND_PLATFORM_MSDOS_1="#"
49537 if test "x$PLATFORM_MSDOS" = "x1" ; then
49538 COND_PLATFORM_MSDOS_1=""
49539 fi
49540
49541 COND_PLATFORM_OS2_1="#"
49542 if test "x$PLATFORM_OS2" = "x1" ; then
49543 COND_PLATFORM_OS2_1=""
49544 fi
49545
49546 COND_PLATFORM_UNIX_0="#"
49547 if test "x$PLATFORM_UNIX" = "x0" ; then
49548 COND_PLATFORM_UNIX_0=""
49549 fi
49550
49551 COND_PLATFORM_UNIX_1="#"
49552 if test "x$PLATFORM_UNIX" = "x1" ; then
49553 COND_PLATFORM_UNIX_1=""
49554 fi
49555
49556 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49557 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49558 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49559 fi
49560
49561 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49562 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49563 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49564 fi
49565
49566 COND_PLATFORM_WIN32_0="#"
49567 if test "x$PLATFORM_WIN32" = "x0" ; then
49568 COND_PLATFORM_WIN32_0=""
49569 fi
49570
49571 COND_PLATFORM_WIN32_1="#"
49572 if test "x$PLATFORM_WIN32" = "x1" ; then
49573 COND_PLATFORM_WIN32_1=""
49574 fi
49575
49576 COND_SHARED_0="#"
49577 if test "x$SHARED" = "x0" ; then
49578 COND_SHARED_0=""
49579 fi
49580
49581 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49582 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49583 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49584 fi
49585
49586 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49587 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49588 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49589 fi
49590
49591 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49592 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49593 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49594 fi
49595
49596 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49597 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49598 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49599 fi
49600
49601 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49602 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49603 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49604 fi
49605
49606 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49607 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49608 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49609 fi
49610
49611 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49612 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49613 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49614 fi
49615
49616 COND_SHARED_0_USE_XRC_1="#"
49617 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49618 COND_SHARED_0_USE_XRC_1=""
49619 fi
49620
49621 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49622 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49623 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49624 fi
49625
49626 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49627 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49628 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49629 fi
49630
49631 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49632 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49633 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49634 fi
49635
49636 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49637 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49638 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49639 fi
49640
49641 COND_SHARED_1="#"
49642 if test "x$SHARED" = "x1" ; then
49643 COND_SHARED_1=""
49644 fi
49645
49646 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49647 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49648 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49649 fi
49650
49651 COND_SHARED_1_USE_XRC_1="#"
49652 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49653 COND_SHARED_1_USE_XRC_1=""
49654 fi
49655
49656 COND_TOOLKIT_="#"
49657 if test "x$TOOLKIT" = "x" ; then
49658 COND_TOOLKIT_=""
49659 fi
49660
49661 COND_TOOLKIT_COCOA="#"
49662 if test "x$TOOLKIT" = "xCOCOA" ; then
49663 COND_TOOLKIT_COCOA=""
49664 fi
49665
49666 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49667 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49668 COND_TOOLKIT_COCOA_USE_GUI_1=""
49669 fi
49670
49671 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49672 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49673 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49674 fi
49675
49676 COND_TOOLKIT_DFB="#"
49677 if test "x$TOOLKIT" = "xDFB" ; then
49678 COND_TOOLKIT_DFB=""
49679 fi
49680
49681 COND_TOOLKIT_DFB_USE_GUI_1="#"
49682 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49683 COND_TOOLKIT_DFB_USE_GUI_1=""
49684 fi
49685
49686 COND_TOOLKIT_GTK="#"
49687 if test "x$TOOLKIT" = "xGTK" ; then
49688 COND_TOOLKIT_GTK=""
49689 fi
49690
49691 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49692 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49693 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49694 fi
49695
49696 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49697 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49698 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49699 fi
49700
49701 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49702 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49703 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49704 fi
49705
49706 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49707 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49708 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49709 fi
49710
49711 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49712 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49713 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49714 fi
49715
49716 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49717 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49718 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49719 fi
49720
49721 COND_TOOLKIT_GTK_USE_GUI_1="#"
49722 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49723 COND_TOOLKIT_GTK_USE_GUI_1=""
49724 fi
49725
49726 COND_TOOLKIT_MAC="#"
49727 if test "x$TOOLKIT" = "xMAC" ; then
49728 COND_TOOLKIT_MAC=""
49729 fi
49730
49731 COND_TOOLKIT_MAC_USE_GUI_1="#"
49732 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49733 COND_TOOLKIT_MAC_USE_GUI_1=""
49734 fi
49735
49736 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49737 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49738 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49739 fi
49740
49741 COND_TOOLKIT_MGL="#"
49742 if test "x$TOOLKIT" = "xMGL" ; then
49743 COND_TOOLKIT_MGL=""
49744 fi
49745
49746 COND_TOOLKIT_MGL_USE_GUI_1="#"
49747 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49748 COND_TOOLKIT_MGL_USE_GUI_1=""
49749 fi
49750
49751 COND_TOOLKIT_MOTIF="#"
49752 if test "x$TOOLKIT" = "xMOTIF" ; then
49753 COND_TOOLKIT_MOTIF=""
49754 fi
49755
49756 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49757 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49758 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49759 fi
49760
49761 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49762 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49763 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49764 fi
49765
49766 COND_TOOLKIT_MSW="#"
49767 if test "x$TOOLKIT" = "xMSW" ; then
49768 COND_TOOLKIT_MSW=""
49769 fi
49770
49771 COND_TOOLKIT_MSW_USE_GUI_1="#"
49772 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49773 COND_TOOLKIT_MSW_USE_GUI_1=""
49774 fi
49775
49776 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49777 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49778 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49779 fi
49780
49781 COND_TOOLKIT_MSW_WXUNIV_0="#"
49782 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49783 COND_TOOLKIT_MSW_WXUNIV_0=""
49784 fi
49785
49786 COND_TOOLKIT_PM="#"
49787 if test "x$TOOLKIT" = "xPM" ; then
49788 COND_TOOLKIT_PM=""
49789 fi
49790
49791 COND_TOOLKIT_PM_USE_GUI_1="#"
49792 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49793 COND_TOOLKIT_PM_USE_GUI_1=""
49794 fi
49795
49796 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49797 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49798 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49799 fi
49800
49801 COND_TOOLKIT_WINCE="#"
49802 if test "x$TOOLKIT" = "xWINCE" ; then
49803 COND_TOOLKIT_WINCE=""
49804 fi
49805
49806 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49807 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49808 COND_TOOLKIT_WINCE_USE_GUI_1=""
49809 fi
49810
49811 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49812 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49813 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49814 fi
49815
49816 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49817 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49818 COND_TOOLKIT_WINCE_WXUNIV_0=""
49819 fi
49820
49821 COND_TOOLKIT_X11="#"
49822 if test "x$TOOLKIT" = "xX11" ; then
49823 COND_TOOLKIT_X11=""
49824 fi
49825
49826 COND_TOOLKIT_X11_USE_GUI_1="#"
49827 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49828 COND_TOOLKIT_X11_USE_GUI_1=""
49829 fi
49830
49831 COND_UNICODE_1="#"
49832 if test "x$UNICODE" = "x1" ; then
49833 COND_UNICODE_1=""
49834 fi
49835
49836 COND_USE_EXCEPTIONS_0="#"
49837 if test "x$USE_EXCEPTIONS" = "x0" ; then
49838 COND_USE_EXCEPTIONS_0=""
49839 fi
49840
49841 COND_USE_EXCEPTIONS_1="#"
49842 if test "x$USE_EXCEPTIONS" = "x1" ; then
49843 COND_USE_EXCEPTIONS_1=""
49844 fi
49845
49846 COND_USE_GUI_0="#"
49847 if test "x$USE_GUI" = "x0" ; then
49848 COND_USE_GUI_0=""
49849 fi
49850
49851 COND_USE_GUI_1="#"
49852 if test "x$USE_GUI" = "x1" ; then
49853 COND_USE_GUI_1=""
49854 fi
49855
49856 COND_USE_GUI_1_WXUNIV_0="#"
49857 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49858 COND_USE_GUI_1_WXUNIV_0=""
49859 fi
49860
49861 COND_USE_GUI_1_WXUNIV_1="#"
49862 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49863 COND_USE_GUI_1_WXUNIV_1=""
49864 fi
49865
49866 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49867 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49868 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49869 fi
49870
49871 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49872 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49873 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49874 fi
49875
49876 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49877 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49878 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49879 fi
49880
49881 COND_USE_ODBC_1="#"
49882 if test "x$USE_ODBC" = "x1" ; then
49883 COND_USE_ODBC_1=""
49884 fi
49885
49886 COND_USE_OPENGL_1="#"
49887 if test "x$USE_OPENGL" = "x1" ; then
49888 COND_USE_OPENGL_1=""
49889 fi
49890
49891 COND_USE_PCH_1="#"
49892 if test "x$USE_PCH" = "x1" ; then
49893 COND_USE_PCH_1=""
49894 fi
49895
49896 COND_USE_PLUGINS_0="#"
49897 if test "x$USE_PLUGINS" = "x0" ; then
49898 COND_USE_PLUGINS_0=""
49899 fi
49900
49901 COND_USE_RTTI_0="#"
49902 if test "x$USE_RTTI" = "x0" ; then
49903 COND_USE_RTTI_0=""
49904 fi
49905
49906 COND_USE_RTTI_1="#"
49907 if test "x$USE_RTTI" = "x1" ; then
49908 COND_USE_RTTI_1=""
49909 fi
49910
49911 COND_USE_SOSYMLINKS_1="#"
49912 if test "x$USE_SOSYMLINKS" = "x1" ; then
49913 COND_USE_SOSYMLINKS_1=""
49914 fi
49915
49916 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49917 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49918 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49919 fi
49920
49921 COND_USE_SOVERLINUX_1="#"
49922 if test "x$USE_SOVERLINUX" = "x1" ; then
49923 COND_USE_SOVERLINUX_1=""
49924 fi
49925
49926 COND_USE_SOVERSION_0="#"
49927 if test "x$USE_SOVERSION" = "x0" ; then
49928 COND_USE_SOVERSION_0=""
49929 fi
49930
49931 COND_USE_SOVERSOLARIS_1="#"
49932 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49933 COND_USE_SOVERSOLARIS_1=""
49934 fi
49935
49936 COND_USE_THREADS_0="#"
49937 if test "x$USE_THREADS" = "x0" ; then
49938 COND_USE_THREADS_0=""
49939 fi
49940
49941 COND_USE_THREADS_1="#"
49942 if test "x$USE_THREADS" = "x1" ; then
49943 COND_USE_THREADS_1=""
49944 fi
49945
49946 COND_USE_XRC_1="#"
49947 if test "x$USE_XRC" = "x1" ; then
49948 COND_USE_XRC_1=""
49949 fi
49950
49951 COND_WINDOWS_IMPLIB_1="#"
49952 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49953 COND_WINDOWS_IMPLIB_1=""
49954 fi
49955
49956 COND_WITH_PLUGIN_SDL_1="#"
49957 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49958 COND_WITH_PLUGIN_SDL_1=""
49959 fi
49960
49961 COND_WXUNIV_0="#"
49962 if test "x$WXUNIV" = "x0" ; then
49963 COND_WXUNIV_0=""
49964 fi
49965
49966 COND_WXUNIV_1="#"
49967 if test "x$WXUNIV" = "x1" ; then
49968 COND_WXUNIV_1=""
49969 fi
49970
49971 COND_WXUSE_EXPAT_BUILTIN="#"
49972 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49973 COND_WXUSE_EXPAT_BUILTIN=""
49974 fi
49975
49976 COND_WXUSE_LIBJPEG_BUILTIN="#"
49977 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49978 COND_WXUSE_LIBJPEG_BUILTIN=""
49979 fi
49980
49981 COND_WXUSE_LIBPNG_BUILTIN="#"
49982 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49983 COND_WXUSE_LIBPNG_BUILTIN=""
49984 fi
49985
49986 COND_WXUSE_LIBTIFF_BUILTIN="#"
49987 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49988 COND_WXUSE_LIBTIFF_BUILTIN=""
49989 fi
49990
49991 COND_WXUSE_ODBC_BUILTIN="#"
49992 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49993 COND_WXUSE_ODBC_BUILTIN=""
49994 fi
49995
49996 COND_WXUSE_REGEX_BUILTIN="#"
49997 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49998 COND_WXUSE_REGEX_BUILTIN=""
49999 fi
50000
50001 COND_WXUSE_ZLIB_BUILTIN="#"
50002 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50003 COND_WXUSE_ZLIB_BUILTIN=""
50004 fi
50005
50006
50007
50008 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50009 { { 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
50010 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;}
50011 { (exit 1); exit 1; }; }
50012 fi
50013
50014 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50015 { { 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
50016 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;}
50017 { (exit 1); exit 1; }; }
50018 fi
50019
50020
50021
50022 if test "$wxUSE_MAC" = 1 ; then
50023 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50024 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50025 mv temp bk-deps
50026 chmod +x bk-deps
50027 fi
50028 fi
50029
50030 if test "$wxUSE_SHARED" = "yes"; then
50031
50032 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50033 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50034
50035 case "${host}" in
50036 *-pc-os2_emx | *-pc-os2-emx )
50037 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50038 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50039 cp -p ${srcdir}/src/os2/dllnames.sh .
50040 cp -p ${srcdir}/src/os2/dllar.sh .
50041 ;;
50042 esac
50043 else
50044
50045 EXE_LINKER="$CXX -o"
50046
50047 fi
50048 if test "$wxUSE_OMF" = "yes"; then
50049 case "${host}" in
50050 *-pc-os2_emx | *-pc-os2-emx )
50051 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50052 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50053 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50054 ;;
50055 esac
50056 fi
50057
50058 if test $GCC_PCH = 1 ; then
50059 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50060 fi
50061
50062 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50063
50064 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50065
50066
50067
50068
50069
50070
50071
50072
50073
50074
50075
50076
50077
50078
50079
50080
50081
50082
50083
50084
50085
50086
50087
50088
50089
50090
50091
50092
50093
50094
50095
50096
50097
50098
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108
50109
50110
50111
50112
50113
50114
50115
50116
50117
50118
50119
50120
50121
50122
50123
50124
50125
50126 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50127 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50128 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50129 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50130 echo $ECHO_N "(cached) $ECHO_C" >&6
50131 else
50132 cat >conftest.make <<\_ACEOF
50133 all:
50134 @echo 'ac_maketemp="$(MAKE)"'
50135 _ACEOF
50136 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50137 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50138 if test -n "$ac_maketemp"; then
50139 eval ac_cv_prog_make_${ac_make}_set=yes
50140 else
50141 eval ac_cv_prog_make_${ac_make}_set=no
50142 fi
50143 rm -f conftest.make
50144 fi
50145 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50146 echo "$as_me:$LINENO: result: yes" >&5
50147 echo "${ECHO_T}yes" >&6
50148 SET_MAKE=
50149 else
50150 echo "$as_me:$LINENO: result: no" >&5
50151 echo "${ECHO_T}no" >&6
50152 SET_MAKE="MAKE=${MAKE-make}"
50153 fi
50154
50155
50156
50157 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50158
50159
50160 if test "$USE_WIN32" = 1; then
50161 ac_config_commands="$ac_config_commands
50162 rcdefs.h
50163 "
50164
50165 fi
50166
50167 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50168
50169
50170 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50171
50172
50173 ac_config_files="$ac_config_files version-script Makefile"
50174
50175
50176 ac_config_commands="$ac_config_commands wx-config"
50177
50178
50179
50180 if test "$wxWITH_SUBDIRS" != "no"; then
50181 if test "$wxUSE_GUI" = "yes"; then
50182 SUBDIRS="samples demos utils contrib"
50183 else SUBDIRS="samples utils"
50184 fi
50185
50186
50187
50188 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50189 if test "${with_cppunit_prefix+set}" = set; then
50190 withval="$with_cppunit_prefix"
50191 cppunit_config_prefix="$withval"
50192 else
50193 cppunit_config_prefix=""
50194 fi;
50195
50196 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50197 if test "${with_cppunit_exec_prefix+set}" = set; then
50198 withval="$with_cppunit_exec_prefix"
50199 cppunit_config_exec_prefix="$withval"
50200 else
50201 cppunit_config_exec_prefix=""
50202 fi;
50203
50204 if test x$cppunit_config_exec_prefix != x ; then
50205 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50206 if test x${CPPUNIT_CONFIG+set} != xset ; then
50207 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50208 fi
50209 fi
50210 if test x$cppunit_config_prefix != x ; then
50211 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50212 if test x${CPPUNIT_CONFIG+set} != xset ; then
50213 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50214 fi
50215 fi
50216
50217 # Extract the first word of "cppunit-config", so it can be a program name with args.
50218 set dummy cppunit-config; ac_word=$2
50219 echo "$as_me:$LINENO: checking for $ac_word" >&5
50220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50221 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50222 echo $ECHO_N "(cached) $ECHO_C" >&6
50223 else
50224 case $CPPUNIT_CONFIG in
50225 [\\/]* | ?:[\\/]*)
50226 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50227 ;;
50228 *)
50229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50230 for as_dir in $PATH
50231 do
50232 IFS=$as_save_IFS
50233 test -z "$as_dir" && as_dir=.
50234 for ac_exec_ext in '' $ac_executable_extensions; do
50235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50236 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50238 break 2
50239 fi
50240 done
50241 done
50242
50243 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50244 ;;
50245 esac
50246 fi
50247 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50248
50249 if test -n "$CPPUNIT_CONFIG"; then
50250 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50251 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50252 else
50253 echo "$as_me:$LINENO: result: no" >&5
50254 echo "${ECHO_T}no" >&6
50255 fi
50256
50257 cppunit_version_min=1.8.0
50258
50259 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50260 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50261 no_cppunit=""
50262 if test "$CPPUNIT_CONFIG" = "no" ; then
50263 echo "$as_me:$LINENO: result: no" >&5
50264 echo "${ECHO_T}no" >&6
50265 no_cppunit=yes
50266 else
50267 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50268 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50269 cppunit_version=`$CPPUNIT_CONFIG --version`
50270
50271 cppunit_major_version=`echo $cppunit_version | \
50272 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50273 cppunit_minor_version=`echo $cppunit_version | \
50274 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50275 cppunit_micro_version=`echo $cppunit_version | \
50276 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50277
50278 cppunit_major_min=`echo $cppunit_version_min | \
50279 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50280 cppunit_minor_min=`echo $cppunit_version_min | \
50281 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50282 cppunit_micro_min=`echo $cppunit_version_min | \
50283 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50284
50285 cppunit_version_proper=`expr \
50286 $cppunit_major_version \> $cppunit_major_min \| \
50287 $cppunit_major_version \= $cppunit_major_min \& \
50288 $cppunit_minor_version \> $cppunit_minor_min \| \
50289 $cppunit_major_version \= $cppunit_major_min \& \
50290 $cppunit_minor_version \= $cppunit_minor_min \& \
50291 $cppunit_micro_version \>= $cppunit_micro_min `
50292
50293 if test "$cppunit_version_proper" = "1" ; then
50294 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50295 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50296 else
50297 echo "$as_me:$LINENO: result: no" >&5
50298 echo "${ECHO_T}no" >&6
50299 no_cppunit=yes
50300 fi
50301 fi
50302
50303 if test "x$no_cppunit" = x ; then
50304 SUBDIRS="$SUBDIRS tests"
50305 else
50306 CPPUNIT_CFLAGS=""
50307 CPPUNIT_LIBS=""
50308 :
50309 fi
50310
50311
50312
50313
50314
50315 for subdir in `echo $SUBDIRS`; do
50316 if test -d ${srcdir}/${subdir} ; then
50317 if test "$wxUSE_GUI" = "yes"; then
50318 if test ${subdir} = "samples"; then
50319 makefiles="samples/Makefile.in $makefiles"
50320 for sample in `echo $SAMPLES_SUBDIRS`; do
50321 if test -d $srcdir/samples/$sample; then
50322 makefiles="samples/$sample/Makefile.in $makefiles"
50323 fi
50324 done
50325 else
50326 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50327 eval "disabled=\$$disabled_var"
50328 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50329 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50330 fi
50331 else if test ${subdir} = "samples"; then
50332 makefiles="samples/Makefile.in samples/console/Makefile.in"
50333 elif test ${subdir} = "utils"; then
50334 makefiles=""
50335 for util in HelpGen tex2rtf ; do
50336 if test -d $srcdir/utils/$util ; then
50337 makefiles="utils/$util/Makefile.in \
50338 utils/$util/src/Makefile.in \
50339 $makefiles"
50340 fi
50341 done
50342 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50343 fi
50344 fi
50345
50346 for mkin in $makefiles ; do
50347 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50348 ac_config_files="$ac_config_files $mk"
50349
50350 done
50351 fi
50352 done
50353 fi
50354 cat >confcache <<\_ACEOF
50355 # This file is a shell script that caches the results of configure
50356 # tests run on this system so they can be shared between configure
50357 # scripts and configure runs, see configure's option --config-cache.
50358 # It is not useful on other systems. If it contains results you don't
50359 # want to keep, you may remove or edit it.
50360 #
50361 # config.status only pays attention to the cache file if you give it
50362 # the --recheck option to rerun configure.
50363 #
50364 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50365 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50366 # following values.
50367
50368 _ACEOF
50369
50370 # The following way of writing the cache mishandles newlines in values,
50371 # but we know of no workaround that is simple, portable, and efficient.
50372 # So, don't put newlines in cache variables' values.
50373 # Ultrix sh set writes to stderr and can't be redirected directly,
50374 # and sets the high bit in the cache file unless we assign to the vars.
50375 {
50376 (set) 2>&1 |
50377 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50378 *ac_space=\ *)
50379 # `set' does not quote correctly, so add quotes (double-quote
50380 # substitution turns \\\\ into \\, and sed turns \\ into \).
50381 sed -n \
50382 "s/'/'\\\\''/g;
50383 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50384 ;;
50385 *)
50386 # `set' quotes correctly as required by POSIX, so do not add quotes.
50387 sed -n \
50388 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50389 ;;
50390 esac;
50391 } |
50392 sed '
50393 t clear
50394 : clear
50395 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50396 t end
50397 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50398 : end' >>confcache
50399 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50400 if test -w $cache_file; then
50401 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50402 cat confcache >$cache_file
50403 else
50404 echo "not updating unwritable cache $cache_file"
50405 fi
50406 fi
50407 rm -f confcache
50408
50409 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50410 # Let make expand exec_prefix.
50411 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50412
50413 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50414 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50415 # trailing colons and then remove the whole line if VPATH becomes empty
50416 # (actually we leave an empty line to preserve line numbers).
50417 if test "x$srcdir" = x.; then
50418 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50419 s/:*\$(srcdir):*/:/;
50420 s/:*\${srcdir}:*/:/;
50421 s/:*@srcdir@:*/:/;
50422 s/^\([^=]*=[ ]*\):*/\1/;
50423 s/:*$//;
50424 s/^[^=]*=[ ]*$//;
50425 }'
50426 fi
50427
50428 DEFS=-DHAVE_CONFIG_H
50429
50430 ac_libobjs=
50431 ac_ltlibobjs=
50432 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50433 # 1. Remove the extension, and $U if already installed.
50434 ac_i=`echo "$ac_i" |
50435 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50436 # 2. Add them.
50437 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50438 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50439 done
50440 LIBOBJS=$ac_libobjs
50441
50442 LTLIBOBJS=$ac_ltlibobjs
50443
50444
50445
50446 : ${CONFIG_STATUS=./config.status}
50447 ac_clean_files_save=$ac_clean_files
50448 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50449 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50450 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50451 cat >$CONFIG_STATUS <<_ACEOF
50452 #! $SHELL
50453 # Generated by $as_me.
50454 # Run this file to recreate the current configuration.
50455 # Compiler output produced by configure, useful for debugging
50456 # configure, is in config.log if it exists.
50457
50458 debug=false
50459 ac_cs_recheck=false
50460 ac_cs_silent=false
50461 SHELL=\${CONFIG_SHELL-$SHELL}
50462 _ACEOF
50463
50464 cat >>$CONFIG_STATUS <<\_ACEOF
50465 ## --------------------- ##
50466 ## M4sh Initialization. ##
50467 ## --------------------- ##
50468
50469 # Be Bourne compatible
50470 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50471 emulate sh
50472 NULLCMD=:
50473 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50474 # is contrary to our usage. Disable this feature.
50475 alias -g '${1+"$@"}'='"$@"'
50476 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50477 set -o posix
50478 fi
50479 DUALCASE=1; export DUALCASE # for MKS sh
50480
50481 # Support unset when possible.
50482 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50483 as_unset=unset
50484 else
50485 as_unset=false
50486 fi
50487
50488
50489 # Work around bugs in pre-3.0 UWIN ksh.
50490 $as_unset ENV MAIL MAILPATH
50491 PS1='$ '
50492 PS2='> '
50493 PS4='+ '
50494
50495 # NLS nuisances.
50496 for as_var in \
50497 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50498 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50499 LC_TELEPHONE LC_TIME
50500 do
50501 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50502 eval $as_var=C; export $as_var
50503 else
50504 $as_unset $as_var
50505 fi
50506 done
50507
50508 # Required to use basename.
50509 if expr a : '\(a\)' >/dev/null 2>&1; then
50510 as_expr=expr
50511 else
50512 as_expr=false
50513 fi
50514
50515 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50516 as_basename=basename
50517 else
50518 as_basename=false
50519 fi
50520
50521
50522 # Name of the executable.
50523 as_me=`$as_basename "$0" ||
50524 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50525 X"$0" : 'X\(//\)$' \| \
50526 X"$0" : 'X\(/\)$' \| \
50527 . : '\(.\)' 2>/dev/null ||
50528 echo X/"$0" |
50529 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50530 /^X\/\(\/\/\)$/{ s//\1/; q; }
50531 /^X\/\(\/\).*/{ s//\1/; q; }
50532 s/.*/./; q'`
50533
50534
50535 # PATH needs CR, and LINENO needs CR and PATH.
50536 # Avoid depending upon Character Ranges.
50537 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50538 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50539 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50540 as_cr_digits='0123456789'
50541 as_cr_alnum=$as_cr_Letters$as_cr_digits
50542
50543 # The user is always right.
50544 if test "${PATH_SEPARATOR+set}" != set; then
50545 echo "#! /bin/sh" >conf$$.sh
50546 echo "exit 0" >>conf$$.sh
50547 chmod +x conf$$.sh
50548 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50549 PATH_SEPARATOR=';'
50550 else
50551 PATH_SEPARATOR=:
50552 fi
50553 rm -f conf$$.sh
50554 fi
50555
50556
50557 as_lineno_1=$LINENO
50558 as_lineno_2=$LINENO
50559 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50560 test "x$as_lineno_1" != "x$as_lineno_2" &&
50561 test "x$as_lineno_3" = "x$as_lineno_2" || {
50562 # Find who we are. Look in the path if we contain no path at all
50563 # relative or not.
50564 case $0 in
50565 *[\\/]* ) as_myself=$0 ;;
50566 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50567 for as_dir in $PATH
50568 do
50569 IFS=$as_save_IFS
50570 test -z "$as_dir" && as_dir=.
50571 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50572 done
50573
50574 ;;
50575 esac
50576 # We did not find ourselves, most probably we were run as `sh COMMAND'
50577 # in which case we are not to be found in the path.
50578 if test "x$as_myself" = x; then
50579 as_myself=$0
50580 fi
50581 if test ! -f "$as_myself"; then
50582 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50583 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50584 { (exit 1); exit 1; }; }
50585 fi
50586 case $CONFIG_SHELL in
50587 '')
50588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50589 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50590 do
50591 IFS=$as_save_IFS
50592 test -z "$as_dir" && as_dir=.
50593 for as_base in sh bash ksh sh5; do
50594 case $as_dir in
50595 /*)
50596 if ("$as_dir/$as_base" -c '
50597 as_lineno_1=$LINENO
50598 as_lineno_2=$LINENO
50599 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50600 test "x$as_lineno_1" != "x$as_lineno_2" &&
50601 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50602 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50603 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50604 CONFIG_SHELL=$as_dir/$as_base
50605 export CONFIG_SHELL
50606 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50607 fi;;
50608 esac
50609 done
50610 done
50611 ;;
50612 esac
50613
50614 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50615 # uniformly replaced by the line number. The first 'sed' inserts a
50616 # line-number line before each line; the second 'sed' does the real
50617 # work. The second script uses 'N' to pair each line-number line
50618 # with the numbered line, and appends trailing '-' during
50619 # substitution so that $LINENO is not a special case at line end.
50620 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50621 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50622 sed '=' <$as_myself |
50623 sed '
50624 N
50625 s,$,-,
50626 : loop
50627 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50628 t loop
50629 s,-$,,
50630 s,^['$as_cr_digits']*\n,,
50631 ' >$as_me.lineno &&
50632 chmod +x $as_me.lineno ||
50633 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50634 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50635 { (exit 1); exit 1; }; }
50636
50637 # Don't try to exec as it changes $[0], causing all sort of problems
50638 # (the dirname of $[0] is not the place where we might find the
50639 # original and so on. Autoconf is especially sensible to this).
50640 . ./$as_me.lineno
50641 # Exit status is that of the last command.
50642 exit
50643 }
50644
50645
50646 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50647 *c*,-n*) ECHO_N= ECHO_C='
50648 ' ECHO_T=' ' ;;
50649 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50650 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50651 esac
50652
50653 if expr a : '\(a\)' >/dev/null 2>&1; then
50654 as_expr=expr
50655 else
50656 as_expr=false
50657 fi
50658
50659 rm -f conf$$ conf$$.exe conf$$.file
50660 echo >conf$$.file
50661 if ln -s conf$$.file conf$$ 2>/dev/null; then
50662 # We could just check for DJGPP; but this test a) works b) is more generic
50663 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50664 if test -f conf$$.exe; then
50665 # Don't use ln at all; we don't have any links
50666 as_ln_s='cp -p'
50667 else
50668 as_ln_s='ln -s'
50669 fi
50670 elif ln conf$$.file conf$$ 2>/dev/null; then
50671 as_ln_s=ln
50672 else
50673 as_ln_s='cp -p'
50674 fi
50675 rm -f conf$$ conf$$.exe conf$$.file
50676
50677 if mkdir -p . 2>/dev/null; then
50678 as_mkdir_p=:
50679 else
50680 test -d ./-p && rmdir ./-p
50681 as_mkdir_p=false
50682 fi
50683
50684 as_executable_p="test -f"
50685
50686 # Sed expression to map a string onto a valid CPP name.
50687 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50688
50689 # Sed expression to map a string onto a valid variable name.
50690 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50691
50692
50693 # IFS
50694 # We need space, tab and new line, in precisely that order.
50695 as_nl='
50696 '
50697 IFS=" $as_nl"
50698
50699 # CDPATH.
50700 $as_unset CDPATH
50701
50702 exec 6>&1
50703
50704 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50705 # report actual input values of CONFIG_FILES etc. instead of their
50706 # values after options handling. Logging --version etc. is OK.
50707 exec 5>>config.log
50708 {
50709 echo
50710 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50711 ## Running $as_me. ##
50712 _ASBOX
50713 } >&5
50714 cat >&5 <<_CSEOF
50715
50716 This file was extended by wxWidgets $as_me 2.7.1, which was
50717 generated by GNU Autoconf 2.59. Invocation command line was
50718
50719 CONFIG_FILES = $CONFIG_FILES
50720 CONFIG_HEADERS = $CONFIG_HEADERS
50721 CONFIG_LINKS = $CONFIG_LINKS
50722 CONFIG_COMMANDS = $CONFIG_COMMANDS
50723 $ $0 $@
50724
50725 _CSEOF
50726 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50727 echo >&5
50728 _ACEOF
50729
50730 # Files that config.status was made for.
50731 if test -n "$ac_config_files"; then
50732 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50733 fi
50734
50735 if test -n "$ac_config_headers"; then
50736 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50737 fi
50738
50739 if test -n "$ac_config_links"; then
50740 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50741 fi
50742
50743 if test -n "$ac_config_commands"; then
50744 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50745 fi
50746
50747 cat >>$CONFIG_STATUS <<\_ACEOF
50748
50749 ac_cs_usage="\
50750 \`$as_me' instantiates files from templates according to the
50751 current configuration.
50752
50753 Usage: $0 [OPTIONS] [FILE]...
50754
50755 -h, --help print this help, then exit
50756 -V, --version print version number, then exit
50757 -q, --quiet do not print progress messages
50758 -d, --debug don't remove temporary files
50759 --recheck update $as_me by reconfiguring in the same conditions
50760 --file=FILE[:TEMPLATE]
50761 instantiate the configuration file FILE
50762 --header=FILE[:TEMPLATE]
50763 instantiate the configuration header FILE
50764
50765 Configuration files:
50766 $config_files
50767
50768 Configuration headers:
50769 $config_headers
50770
50771 Configuration commands:
50772 $config_commands
50773
50774 Report bugs to <bug-autoconf@gnu.org>."
50775 _ACEOF
50776
50777 cat >>$CONFIG_STATUS <<_ACEOF
50778 ac_cs_version="\\
50779 wxWidgets config.status 2.7.1
50780 configured by $0, generated by GNU Autoconf 2.59,
50781 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50782
50783 Copyright (C) 2003 Free Software Foundation, Inc.
50784 This config.status script is free software; the Free Software Foundation
50785 gives unlimited permission to copy, distribute and modify it."
50786 srcdir=$srcdir
50787 INSTALL="$INSTALL"
50788 _ACEOF
50789
50790 cat >>$CONFIG_STATUS <<\_ACEOF
50791 # If no file are specified by the user, then we need to provide default
50792 # value. By we need to know if files were specified by the user.
50793 ac_need_defaults=:
50794 while test $# != 0
50795 do
50796 case $1 in
50797 --*=*)
50798 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50799 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50800 ac_shift=:
50801 ;;
50802 -*)
50803 ac_option=$1
50804 ac_optarg=$2
50805 ac_shift=shift
50806 ;;
50807 *) # This is not an option, so the user has probably given explicit
50808 # arguments.
50809 ac_option=$1
50810 ac_need_defaults=false;;
50811 esac
50812
50813 case $ac_option in
50814 # Handling of the options.
50815 _ACEOF
50816 cat >>$CONFIG_STATUS <<\_ACEOF
50817 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50818 ac_cs_recheck=: ;;
50819 --version | --vers* | -V )
50820 echo "$ac_cs_version"; exit 0 ;;
50821 --he | --h)
50822 # Conflict between --help and --header
50823 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50824 Try \`$0 --help' for more information." >&5
50825 echo "$as_me: error: ambiguous option: $1
50826 Try \`$0 --help' for more information." >&2;}
50827 { (exit 1); exit 1; }; };;
50828 --help | --hel | -h )
50829 echo "$ac_cs_usage"; exit 0 ;;
50830 --debug | --d* | -d )
50831 debug=: ;;
50832 --file | --fil | --fi | --f )
50833 $ac_shift
50834 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50835 ac_need_defaults=false;;
50836 --header | --heade | --head | --hea )
50837 $ac_shift
50838 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50839 ac_need_defaults=false;;
50840 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50841 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50842 ac_cs_silent=: ;;
50843
50844 # This is an error.
50845 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50846 Try \`$0 --help' for more information." >&5
50847 echo "$as_me: error: unrecognized option: $1
50848 Try \`$0 --help' for more information." >&2;}
50849 { (exit 1); exit 1; }; } ;;
50850
50851 *) ac_config_targets="$ac_config_targets $1" ;;
50852
50853 esac
50854 shift
50855 done
50856
50857 ac_configure_extra_args=
50858
50859 if $ac_cs_silent; then
50860 exec 6>/dev/null
50861 ac_configure_extra_args="$ac_configure_extra_args --silent"
50862 fi
50863
50864 _ACEOF
50865 cat >>$CONFIG_STATUS <<_ACEOF
50866 if \$ac_cs_recheck; then
50867 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50868 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50869 fi
50870
50871 _ACEOF
50872
50873 cat >>$CONFIG_STATUS <<_ACEOF
50874 #
50875 # INIT-COMMANDS section.
50876 #
50877
50878
50879 CPP="$CPP"
50880 infile="$srcdir/include/wx/msw/genrcdefs.h"
50881 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50882
50883
50884 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50885 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50886 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50887 LN_S="${LN_S}"
50888
50889
50890 _ACEOF
50891
50892
50893
50894 cat >>$CONFIG_STATUS <<\_ACEOF
50895 for ac_config_target in $ac_config_targets
50896 do
50897 case "$ac_config_target" in
50898 # Handling of arguments.
50899 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50900 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50901 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50902 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50903 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50904 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50905 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50906 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50907 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50908 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50909 { (exit 1); exit 1; }; };;
50910 esac
50911 done
50912
50913 # If the user did not use the arguments to specify the items to instantiate,
50914 # then the envvar interface is used. Set only those that are not.
50915 # We use the long form for the default assignment because of an extremely
50916 # bizarre bug on SunOS 4.1.3.
50917 if $ac_need_defaults; then
50918 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50919 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50920 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50921 fi
50922
50923 # Have a temporary directory for convenience. Make it in the build tree
50924 # simply because there is no reason to put it here, and in addition,
50925 # creating and moving files from /tmp can sometimes cause problems.
50926 # Create a temporary directory, and hook for its removal unless debugging.
50927 $debug ||
50928 {
50929 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50930 trap '{ (exit 1); exit 1; }' 1 2 13 15
50931 }
50932
50933 # Create a (secure) tmp directory for tmp files.
50934
50935 {
50936 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50937 test -n "$tmp" && test -d "$tmp"
50938 } ||
50939 {
50940 tmp=./confstat$$-$RANDOM
50941 (umask 077 && mkdir $tmp)
50942 } ||
50943 {
50944 echo "$me: cannot create a temporary directory in ." >&2
50945 { (exit 1); exit 1; }
50946 }
50947
50948 _ACEOF
50949
50950 cat >>$CONFIG_STATUS <<_ACEOF
50951
50952 #
50953 # CONFIG_FILES section.
50954 #
50955
50956 # No need to generate the scripts if there are no CONFIG_FILES.
50957 # This happens for instance when ./config.status config.h
50958 if test -n "\$CONFIG_FILES"; then
50959 # Protect against being on the right side of a sed subst in config.status.
50960 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50961 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50962 s,@SHELL@,$SHELL,;t t
50963 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50964 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50965 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50966 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50967 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50968 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50969 s,@exec_prefix@,$exec_prefix,;t t
50970 s,@prefix@,$prefix,;t t
50971 s,@program_transform_name@,$program_transform_name,;t t
50972 s,@bindir@,$bindir,;t t
50973 s,@sbindir@,$sbindir,;t t
50974 s,@libexecdir@,$libexecdir,;t t
50975 s,@datadir@,$datadir,;t t
50976 s,@sysconfdir@,$sysconfdir,;t t
50977 s,@sharedstatedir@,$sharedstatedir,;t t
50978 s,@localstatedir@,$localstatedir,;t t
50979 s,@libdir@,$libdir,;t t
50980 s,@includedir@,$includedir,;t t
50981 s,@oldincludedir@,$oldincludedir,;t t
50982 s,@infodir@,$infodir,;t t
50983 s,@mandir@,$mandir,;t t
50984 s,@build_alias@,$build_alias,;t t
50985 s,@host_alias@,$host_alias,;t t
50986 s,@target_alias@,$target_alias,;t t
50987 s,@DEFS@,$DEFS,;t t
50988 s,@ECHO_C@,$ECHO_C,;t t
50989 s,@ECHO_N@,$ECHO_N,;t t
50990 s,@ECHO_T@,$ECHO_T,;t t
50991 s,@LIBS@,$LIBS,;t t
50992 s,@build@,$build,;t t
50993 s,@build_cpu@,$build_cpu,;t t
50994 s,@build_vendor@,$build_vendor,;t t
50995 s,@build_os@,$build_os,;t t
50996 s,@host@,$host,;t t
50997 s,@host_cpu@,$host_cpu,;t t
50998 s,@host_vendor@,$host_vendor,;t t
50999 s,@host_os@,$host_os,;t t
51000 s,@target@,$target,;t t
51001 s,@target_cpu@,$target_cpu,;t t
51002 s,@target_vendor@,$target_vendor,;t t
51003 s,@target_os@,$target_os,;t t
51004 s,@CC@,$CC,;t t
51005 s,@CFLAGS@,$CFLAGS,;t t
51006 s,@LDFLAGS@,$LDFLAGS,;t t
51007 s,@CPPFLAGS@,$CPPFLAGS,;t t
51008 s,@ac_ct_CC@,$ac_ct_CC,;t t
51009 s,@EXEEXT@,$EXEEXT,;t t
51010 s,@OBJEXT@,$OBJEXT,;t t
51011 s,@CPP@,$CPP,;t t
51012 s,@EGREP@,$EGREP,;t t
51013 s,@CXX@,$CXX,;t t
51014 s,@CXXFLAGS@,$CXXFLAGS,;t t
51015 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51016 s,@RANLIB@,$RANLIB,;t t
51017 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51018 s,@AR@,$AR,;t t
51019 s,@ac_ct_AR@,$ac_ct_AR,;t t
51020 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51021 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51022 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51023 s,@STRIP@,$STRIP,;t t
51024 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51025 s,@WINDRES@,$WINDRES,;t t
51026 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51027 s,@DLLTOOL@,$DLLTOOL,;t t
51028 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51029 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51030 s,@LN_S@,$LN_S,;t t
51031 s,@CXXCPP@,$CXXCPP,;t t
51032 s,@subdirs@,$subdirs,;t t
51033 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51034 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51035 s,@GTK_LIBS@,$GTK_LIBS,;t t
51036 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51037 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51038 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51039 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51040 s,@X_CFLAGS@,$X_CFLAGS,;t t
51041 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51042 s,@X_LIBS@,$X_LIBS,;t t
51043 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51044 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51045 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51046 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51047 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51048 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51049 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51050 s,@REZ@,$REZ,;t t
51051 s,@DEREZ@,$DEREZ,;t t
51052 s,@SETFILE@,$SETFILE,;t t
51053 s,@LIBICONV@,$LIBICONV,;t t
51054 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51055 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51056 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51057 s,@SDL_LIBS@,$SDL_LIBS,;t t
51058 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51059 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51060 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51061 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51062 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51063 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51064 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51065 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51066 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51067 s,@GST_LIBS@,$GST_LIBS,;t t
51068 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51069 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51070 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51071 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51072 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51073 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51074 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51075 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51076 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51077 s,@VENDOR@,$VENDOR,;t t
51078 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51079 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51080 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51081 s,@WXUNIV@,$WXUNIV,;t t
51082 s,@MONOLITHIC@,$MONOLITHIC,;t t
51083 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51084 s,@EXTRALIBS@,$EXTRALIBS,;t t
51085 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51086 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51087 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51088 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51089 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51090 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51091 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51092 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51093 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51094 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51095 s,@UNICODE@,$UNICODE,;t t
51096 s,@BUILD@,$BUILD,;t t
51097 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51098 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51099 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51100 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51101 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51102 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51103 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51104 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51105 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51106 s,@SET_MAKE@,$SET_MAKE,;t t
51107 s,@MAKE_SET@,$MAKE_SET,;t t
51108 s,@NM@,$NM,;t t
51109 s,@ac_ct_NM@,$ac_ct_NM,;t t
51110 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51111 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51112 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51113 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51114 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51115 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51116 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51117 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51118 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51119 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51120 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51121 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51122 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51123 s,@LIBPREFIX@,$LIBPREFIX,;t t
51124 s,@LIBEXT@,$LIBEXT,;t t
51125 s,@DLLPREFIX@,$DLLPREFIX,;t t
51126 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51127 s,@dlldir@,$dlldir,;t t
51128 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51129 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51130 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51131 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51132 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51133 s,@PIC_FLAG@,$PIC_FLAG,;t t
51134 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51135 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51136 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51137 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51138 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51139 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51140 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51141 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51142 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51143 s,@GCC_PCH@,$GCC_PCH,;t t
51144 s,@ICC_PCH@,$ICC_PCH,;t t
51145 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51146 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51147 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51148 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51149 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51150 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51151 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51152 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51153 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51154 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51155 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51156 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51157 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51158 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51159 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51160 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51161 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51162 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51163 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51164 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51165 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
51166 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
51167 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
51168 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
51169 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51170 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51171 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51172 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51173 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51174 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51175 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
51176 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
51177 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
51178 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
51179 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51180 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51181 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51182 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51183 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51184 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51185 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51186 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51187 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51188 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51189 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51190 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51191 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51192 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51193 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51194 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51195 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51196 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51197 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51198 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51199 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51200 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51201 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51202 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51203 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51204 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51205 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51206 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51207 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51208 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51209 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51210 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51211 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51212 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51213 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51214 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51215 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51216 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51217 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51218 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51219 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51220 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51221 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51222 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51223 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51224 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51225 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51226 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51227 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51228 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51229 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51230 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51231 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51232 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51233 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51234 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51235 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51236 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51237 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51238 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51239 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
51240 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51241 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51242 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51243 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51244 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51245 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51246 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51247 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51248 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51249 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51250 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51251 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51252 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51253 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51254 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51255 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51256 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51257 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51258 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51259 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51260 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51261 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51262 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51263 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51264 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51265 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51266 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51267 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51268 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51269 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51270 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51271 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51272 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51273 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51274 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51275 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51276 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51277 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51278 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51279 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51280 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51281 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51282 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51283 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51284 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51285 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51286 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51287 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51288 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51289 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51290 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51291 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51292 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51293 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51294 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51295 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51296 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51297 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51298 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51299 s,@SHARED@,$SHARED,;t t
51300 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51301 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51302 s,@USE_GUI@,$USE_GUI,;t t
51303 s,@AFMINSTALL@,$AFMINSTALL,;t t
51304 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51305 s,@TOOLKIT@,$TOOLKIT,;t t
51306 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51307 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51308 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51309 s,@cross_compiling@,$cross_compiling,;t t
51310 s,@WIDGET_SET@,$WIDGET_SET,;t t
51311 s,@WX_RELEASE@,$WX_RELEASE,;t t
51312 s,@WX_VERSION@,$WX_VERSION,;t t
51313 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51314 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51315 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51316 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51317 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51318 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51319 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51320 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51321 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51322 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51323 s,@EXE_LINKER@,$EXE_LINKER,;t t
51324 s,@GUIDIST@,$GUIDIST,;t t
51325 s,@DISTDIR@,$DISTDIR,;t t
51326 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51327 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51328 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51329 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51330 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51331 s,@RESCOMP@,$RESCOMP,;t t
51332 s,@RESFLAGS@,$RESFLAGS,;t t
51333 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51334 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51335 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51336 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51337 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51338 s,@MACSETFILE@,$MACSETFILE,;t t
51339 s,@GCC@,$GCC,;t t
51340 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51341 s,@LIBOBJS@,$LIBOBJS,;t t
51342 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51343 CEOF
51344
51345 _ACEOF
51346
51347 cat >>$CONFIG_STATUS <<\_ACEOF
51348 # Split the substitutions into bite-sized pieces for seds with
51349 # small command number limits, like on Digital OSF/1 and HP-UX.
51350 ac_max_sed_lines=48
51351 ac_sed_frag=1 # Number of current file.
51352 ac_beg=1 # First line for current file.
51353 ac_end=$ac_max_sed_lines # Line after last line for current file.
51354 ac_more_lines=:
51355 ac_sed_cmds=
51356 while $ac_more_lines; do
51357 if test $ac_beg -gt 1; then
51358 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51359 else
51360 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51361 fi
51362 if test ! -s $tmp/subs.frag; then
51363 ac_more_lines=false
51364 else
51365 # The purpose of the label and of the branching condition is to
51366 # speed up the sed processing (if there are no `@' at all, there
51367 # is no need to browse any of the substitutions).
51368 # These are the two extra sed commands mentioned above.
51369 (echo ':t
51370 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51371 if test -z "$ac_sed_cmds"; then
51372 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51373 else
51374 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51375 fi
51376 ac_sed_frag=`expr $ac_sed_frag + 1`
51377 ac_beg=$ac_end
51378 ac_end=`expr $ac_end + $ac_max_sed_lines`
51379 fi
51380 done
51381 if test -z "$ac_sed_cmds"; then
51382 ac_sed_cmds=cat
51383 fi
51384 fi # test -n "$CONFIG_FILES"
51385
51386 _ACEOF
51387 cat >>$CONFIG_STATUS <<\_ACEOF
51388 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51389 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51390 case $ac_file in
51391 - | *:- | *:-:* ) # input from stdin
51392 cat >$tmp/stdin
51393 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51394 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51395 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51396 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51397 * ) ac_file_in=$ac_file.in ;;
51398 esac
51399
51400 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51401 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51402 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51403 X"$ac_file" : 'X\(//\)[^/]' \| \
51404 X"$ac_file" : 'X\(//\)$' \| \
51405 X"$ac_file" : 'X\(/\)' \| \
51406 . : '\(.\)' 2>/dev/null ||
51407 echo X"$ac_file" |
51408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51409 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51410 /^X\(\/\/\)$/{ s//\1/; q; }
51411 /^X\(\/\).*/{ s//\1/; q; }
51412 s/.*/./; q'`
51413 { if $as_mkdir_p; then
51414 mkdir -p "$ac_dir"
51415 else
51416 as_dir="$ac_dir"
51417 as_dirs=
51418 while test ! -d "$as_dir"; do
51419 as_dirs="$as_dir $as_dirs"
51420 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51422 X"$as_dir" : 'X\(//\)[^/]' \| \
51423 X"$as_dir" : 'X\(//\)$' \| \
51424 X"$as_dir" : 'X\(/\)' \| \
51425 . : '\(.\)' 2>/dev/null ||
51426 echo X"$as_dir" |
51427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51429 /^X\(\/\/\)$/{ s//\1/; q; }
51430 /^X\(\/\).*/{ s//\1/; q; }
51431 s/.*/./; q'`
51432 done
51433 test ! -n "$as_dirs" || mkdir $as_dirs
51434 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51435 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51436 { (exit 1); exit 1; }; }; }
51437
51438 ac_builddir=.
51439
51440 if test "$ac_dir" != .; then
51441 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51442 # A "../" for each directory in $ac_dir_suffix.
51443 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51444 else
51445 ac_dir_suffix= ac_top_builddir=
51446 fi
51447
51448 case $srcdir in
51449 .) # No --srcdir option. We are building in place.
51450 ac_srcdir=.
51451 if test -z "$ac_top_builddir"; then
51452 ac_top_srcdir=.
51453 else
51454 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51455 fi ;;
51456 [\\/]* | ?:[\\/]* ) # Absolute path.
51457 ac_srcdir=$srcdir$ac_dir_suffix;
51458 ac_top_srcdir=$srcdir ;;
51459 *) # Relative path.
51460 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51461 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51462 esac
51463
51464 # Do not use `cd foo && pwd` to compute absolute paths, because
51465 # the directories may not exist.
51466 case `pwd` in
51467 .) ac_abs_builddir="$ac_dir";;
51468 *)
51469 case "$ac_dir" in
51470 .) ac_abs_builddir=`pwd`;;
51471 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51472 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51473 esac;;
51474 esac
51475 case $ac_abs_builddir in
51476 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51477 *)
51478 case ${ac_top_builddir}. in
51479 .) ac_abs_top_builddir=$ac_abs_builddir;;
51480 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51481 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51482 esac;;
51483 esac
51484 case $ac_abs_builddir in
51485 .) ac_abs_srcdir=$ac_srcdir;;
51486 *)
51487 case $ac_srcdir in
51488 .) ac_abs_srcdir=$ac_abs_builddir;;
51489 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51490 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51491 esac;;
51492 esac
51493 case $ac_abs_builddir in
51494 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51495 *)
51496 case $ac_top_srcdir in
51497 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51498 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51499 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51500 esac;;
51501 esac
51502
51503
51504 case $INSTALL in
51505 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51506 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51507 esac
51508
51509 # Let's still pretend it is `configure' which instantiates (i.e., don't
51510 # use $as_me), people would be surprised to read:
51511 # /* config.h. Generated by config.status. */
51512 if test x"$ac_file" = x-; then
51513 configure_input=
51514 else
51515 configure_input="$ac_file. "
51516 fi
51517 configure_input=$configure_input"Generated from `echo $ac_file_in |
51518 sed 's,.*/,,'` by configure."
51519
51520 # First look for the input files in the build tree, otherwise in the
51521 # src tree.
51522 ac_file_inputs=`IFS=:
51523 for f in $ac_file_in; do
51524 case $f in
51525 -) echo $tmp/stdin ;;
51526 [\\/$]*)
51527 # Absolute (can't be DOS-style, as IFS=:)
51528 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51529 echo "$as_me: error: cannot find input file: $f" >&2;}
51530 { (exit 1); exit 1; }; }
51531 echo "$f";;
51532 *) # Relative
51533 if test -f "$f"; then
51534 # Build tree
51535 echo "$f"
51536 elif test -f "$srcdir/$f"; then
51537 # Source tree
51538 echo "$srcdir/$f"
51539 else
51540 # /dev/null tree
51541 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51542 echo "$as_me: error: cannot find input file: $f" >&2;}
51543 { (exit 1); exit 1; }; }
51544 fi;;
51545 esac
51546 done` || { (exit 1); exit 1; }
51547
51548 if test x"$ac_file" != x-; then
51549 { echo "$as_me:$LINENO: creating $ac_file" >&5
51550 echo "$as_me: creating $ac_file" >&6;}
51551 rm -f "$ac_file"
51552 fi
51553 _ACEOF
51554 cat >>$CONFIG_STATUS <<_ACEOF
51555 sed "$ac_vpsub
51556 $extrasub
51557 _ACEOF
51558 cat >>$CONFIG_STATUS <<\_ACEOF
51559 :t
51560 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51561 s,@configure_input@,$configure_input,;t t
51562 s,@srcdir@,$ac_srcdir,;t t
51563 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51564 s,@top_srcdir@,$ac_top_srcdir,;t t
51565 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51566 s,@builddir@,$ac_builddir,;t t
51567 s,@abs_builddir@,$ac_abs_builddir,;t t
51568 s,@top_builddir@,$ac_top_builddir,;t t
51569 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51570 s,@INSTALL@,$ac_INSTALL,;t t
51571 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51572 rm -f $tmp/stdin
51573 if test x"$ac_file" != x-; then
51574 mv $tmp/out $ac_file
51575 else
51576 cat $tmp/out
51577 rm -f $tmp/out
51578 fi
51579
51580 # Run the commands associated with the file.
51581 case $ac_file in
51582 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51583 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51584 esac
51585 done
51586 _ACEOF
51587 cat >>$CONFIG_STATUS <<\_ACEOF
51588
51589 #
51590 # CONFIG_HEADER section.
51591 #
51592
51593 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51594 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51595 #
51596 # ac_d sets the value in "#define NAME VALUE" lines.
51597 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51598 ac_dB='[ ].*$,\1#\2'
51599 ac_dC=' '
51600 ac_dD=',;t'
51601 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51602 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51603 ac_uB='$,\1#\2define\3'
51604 ac_uC=' '
51605 ac_uD=',;t'
51606
51607 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51608 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51609 case $ac_file in
51610 - | *:- | *:-:* ) # input from stdin
51611 cat >$tmp/stdin
51612 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51613 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51614 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51615 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51616 * ) ac_file_in=$ac_file.in ;;
51617 esac
51618
51619 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51620 echo "$as_me: creating $ac_file" >&6;}
51621
51622 # First look for the input files in the build tree, otherwise in the
51623 # src tree.
51624 ac_file_inputs=`IFS=:
51625 for f in $ac_file_in; do
51626 case $f in
51627 -) echo $tmp/stdin ;;
51628 [\\/$]*)
51629 # Absolute (can't be DOS-style, as IFS=:)
51630 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51631 echo "$as_me: error: cannot find input file: $f" >&2;}
51632 { (exit 1); exit 1; }; }
51633 # Do quote $f, to prevent DOS paths from being IFS'd.
51634 echo "$f";;
51635 *) # Relative
51636 if test -f "$f"; then
51637 # Build tree
51638 echo "$f"
51639 elif test -f "$srcdir/$f"; then
51640 # Source tree
51641 echo "$srcdir/$f"
51642 else
51643 # /dev/null tree
51644 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51645 echo "$as_me: error: cannot find input file: $f" >&2;}
51646 { (exit 1); exit 1; }; }
51647 fi;;
51648 esac
51649 done` || { (exit 1); exit 1; }
51650 # Remove the trailing spaces.
51651 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51652
51653 _ACEOF
51654
51655 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51656 # `conftest.undefs', that substitutes the proper values into
51657 # config.h.in to produce config.h. The first handles `#define'
51658 # templates, and the second `#undef' templates.
51659 # And first: Protect against being on the right side of a sed subst in
51660 # config.status. Protect against being in an unquoted here document
51661 # in config.status.
51662 rm -f conftest.defines conftest.undefs
51663 # Using a here document instead of a string reduces the quoting nightmare.
51664 # Putting comments in sed scripts is not portable.
51665 #
51666 # `end' is used to avoid that the second main sed command (meant for
51667 # 0-ary CPP macros) applies to n-ary macro definitions.
51668 # See the Autoconf documentation for `clear'.
51669 cat >confdef2sed.sed <<\_ACEOF
51670 s/[\\&,]/\\&/g
51671 s,[\\$`],\\&,g
51672 t clear
51673 : clear
51674 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51675 t end
51676 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51677 : end
51678 _ACEOF
51679 # If some macros were called several times there might be several times
51680 # the same #defines, which is useless. Nevertheless, we may not want to
51681 # sort them, since we want the *last* AC-DEFINE to be honored.
51682 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51683 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51684 rm -f confdef2sed.sed
51685
51686 # This sed command replaces #undef with comments. This is necessary, for
51687 # example, in the case of _POSIX_SOURCE, which is predefined and required
51688 # on some systems where configure will not decide to define it.
51689 cat >>conftest.undefs <<\_ACEOF
51690 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51691 _ACEOF
51692
51693 # Break up conftest.defines because some shells have a limit on the size
51694 # of here documents, and old seds have small limits too (100 cmds).
51695 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51696 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51697 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51698 echo ' :' >>$CONFIG_STATUS
51699 rm -f conftest.tail
51700 while grep . conftest.defines >/dev/null
51701 do
51702 # Write a limited-size here document to $tmp/defines.sed.
51703 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51704 # Speed up: don't consider the non `#define' lines.
51705 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51706 # Work around the forget-to-reset-the-flag bug.
51707 echo 't clr' >>$CONFIG_STATUS
51708 echo ': clr' >>$CONFIG_STATUS
51709 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51710 echo 'CEOF
51711 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51712 rm -f $tmp/in
51713 mv $tmp/out $tmp/in
51714 ' >>$CONFIG_STATUS
51715 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51716 rm -f conftest.defines
51717 mv conftest.tail conftest.defines
51718 done
51719 rm -f conftest.defines
51720 echo ' fi # grep' >>$CONFIG_STATUS
51721 echo >>$CONFIG_STATUS
51722
51723 # Break up conftest.undefs because some shells have a limit on the size
51724 # of here documents, and old seds have small limits too (100 cmds).
51725 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51726 rm -f conftest.tail
51727 while grep . conftest.undefs >/dev/null
51728 do
51729 # Write a limited-size here document to $tmp/undefs.sed.
51730 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51731 # Speed up: don't consider the non `#undef'
51732 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51733 # Work around the forget-to-reset-the-flag bug.
51734 echo 't clr' >>$CONFIG_STATUS
51735 echo ': clr' >>$CONFIG_STATUS
51736 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51737 echo 'CEOF
51738 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51739 rm -f $tmp/in
51740 mv $tmp/out $tmp/in
51741 ' >>$CONFIG_STATUS
51742 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51743 rm -f conftest.undefs
51744 mv conftest.tail conftest.undefs
51745 done
51746 rm -f conftest.undefs
51747
51748 cat >>$CONFIG_STATUS <<\_ACEOF
51749 # Let's still pretend it is `configure' which instantiates (i.e., don't
51750 # use $as_me), people would be surprised to read:
51751 # /* config.h. Generated by config.status. */
51752 if test x"$ac_file" = x-; then
51753 echo "/* Generated by configure. */" >$tmp/config.h
51754 else
51755 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51756 fi
51757 cat $tmp/in >>$tmp/config.h
51758 rm -f $tmp/in
51759 if test x"$ac_file" != x-; then
51760 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51761 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51762 echo "$as_me: $ac_file is unchanged" >&6;}
51763 else
51764 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51765 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51766 X"$ac_file" : 'X\(//\)[^/]' \| \
51767 X"$ac_file" : 'X\(//\)$' \| \
51768 X"$ac_file" : 'X\(/\)' \| \
51769 . : '\(.\)' 2>/dev/null ||
51770 echo X"$ac_file" |
51771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51772 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51773 /^X\(\/\/\)$/{ s//\1/; q; }
51774 /^X\(\/\).*/{ s//\1/; q; }
51775 s/.*/./; q'`
51776 { if $as_mkdir_p; then
51777 mkdir -p "$ac_dir"
51778 else
51779 as_dir="$ac_dir"
51780 as_dirs=
51781 while test ! -d "$as_dir"; do
51782 as_dirs="$as_dir $as_dirs"
51783 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51784 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51785 X"$as_dir" : 'X\(//\)[^/]' \| \
51786 X"$as_dir" : 'X\(//\)$' \| \
51787 X"$as_dir" : 'X\(/\)' \| \
51788 . : '\(.\)' 2>/dev/null ||
51789 echo X"$as_dir" |
51790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51791 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51792 /^X\(\/\/\)$/{ s//\1/; q; }
51793 /^X\(\/\).*/{ s//\1/; q; }
51794 s/.*/./; q'`
51795 done
51796 test ! -n "$as_dirs" || mkdir $as_dirs
51797 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51798 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51799 { (exit 1); exit 1; }; }; }
51800
51801 rm -f $ac_file
51802 mv $tmp/config.h $ac_file
51803 fi
51804 else
51805 cat $tmp/config.h
51806 rm -f $tmp/config.h
51807 fi
51808 done
51809 _ACEOF
51810 cat >>$CONFIG_STATUS <<\_ACEOF
51811
51812 #
51813 # CONFIG_COMMANDS section.
51814 #
51815 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51816 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51817 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51818 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51819 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51820 X"$ac_dest" : 'X\(//\)[^/]' \| \
51821 X"$ac_dest" : 'X\(//\)$' \| \
51822 X"$ac_dest" : 'X\(/\)' \| \
51823 . : '\(.\)' 2>/dev/null ||
51824 echo X"$ac_dest" |
51825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51826 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51827 /^X\(\/\/\)$/{ s//\1/; q; }
51828 /^X\(\/\).*/{ s//\1/; q; }
51829 s/.*/./; q'`
51830 { if $as_mkdir_p; then
51831 mkdir -p "$ac_dir"
51832 else
51833 as_dir="$ac_dir"
51834 as_dirs=
51835 while test ! -d "$as_dir"; do
51836 as_dirs="$as_dir $as_dirs"
51837 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51839 X"$as_dir" : 'X\(//\)[^/]' \| \
51840 X"$as_dir" : 'X\(//\)$' \| \
51841 X"$as_dir" : 'X\(/\)' \| \
51842 . : '\(.\)' 2>/dev/null ||
51843 echo X"$as_dir" |
51844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51845 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51846 /^X\(\/\/\)$/{ s//\1/; q; }
51847 /^X\(\/\).*/{ s//\1/; q; }
51848 s/.*/./; q'`
51849 done
51850 test ! -n "$as_dirs" || mkdir $as_dirs
51851 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51852 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51853 { (exit 1); exit 1; }; }; }
51854
51855 ac_builddir=.
51856
51857 if test "$ac_dir" != .; then
51858 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51859 # A "../" for each directory in $ac_dir_suffix.
51860 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51861 else
51862 ac_dir_suffix= ac_top_builddir=
51863 fi
51864
51865 case $srcdir in
51866 .) # No --srcdir option. We are building in place.
51867 ac_srcdir=.
51868 if test -z "$ac_top_builddir"; then
51869 ac_top_srcdir=.
51870 else
51871 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51872 fi ;;
51873 [\\/]* | ?:[\\/]* ) # Absolute path.
51874 ac_srcdir=$srcdir$ac_dir_suffix;
51875 ac_top_srcdir=$srcdir ;;
51876 *) # Relative path.
51877 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51878 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51879 esac
51880
51881 # Do not use `cd foo && pwd` to compute absolute paths, because
51882 # the directories may not exist.
51883 case `pwd` in
51884 .) ac_abs_builddir="$ac_dir";;
51885 *)
51886 case "$ac_dir" in
51887 .) ac_abs_builddir=`pwd`;;
51888 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51889 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51890 esac;;
51891 esac
51892 case $ac_abs_builddir in
51893 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51894 *)
51895 case ${ac_top_builddir}. in
51896 .) ac_abs_top_builddir=$ac_abs_builddir;;
51897 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51898 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51899 esac;;
51900 esac
51901 case $ac_abs_builddir in
51902 .) ac_abs_srcdir=$ac_srcdir;;
51903 *)
51904 case $ac_srcdir in
51905 .) ac_abs_srcdir=$ac_abs_builddir;;
51906 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51907 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51908 esac;;
51909 esac
51910 case $ac_abs_builddir in
51911 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51912 *)
51913 case $ac_top_srcdir in
51914 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51915 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51916 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51917 esac;;
51918 esac
51919
51920
51921 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51922 echo "$as_me: executing $ac_dest commands" >&6;}
51923 case $ac_dest in
51924 rcdefs.h )
51925 mkdir -p $outdir &&
51926 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51927 ;;
51928 wx-config ) rm -f wx-config
51929 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51930 ;;
51931 esac
51932 done
51933 _ACEOF
51934
51935 cat >>$CONFIG_STATUS <<\_ACEOF
51936
51937 { (exit 0); exit 0; }
51938 _ACEOF
51939 chmod +x $CONFIG_STATUS
51940 ac_clean_files=$ac_clean_files_save
51941
51942
51943 # configure is writing to config.log, and then calls config.status.
51944 # config.status does its own redirection, appending to config.log.
51945 # Unfortunately, on DOS this fails, as config.log is still kept open
51946 # by configure, so config.status won't be able to write to it; its
51947 # output is simply discarded. So we exec the FD to /dev/null,
51948 # effectively closing config.log, so it can be properly (re)opened and
51949 # appended to by config.status. When coming back to configure, we
51950 # need to make the FD available again.
51951 if test "$no_create" != yes; then
51952 ac_cs_success=:
51953 ac_config_status_args=
51954 test "$silent" = yes &&
51955 ac_config_status_args="$ac_config_status_args --quiet"
51956 exec 5>/dev/null
51957 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51958 exec 5>>config.log
51959 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51960 # would make configure fail if this is the last instruction.
51961 $ac_cs_success || { (exit 1); exit 1; }
51962 fi
51963
51964 #
51965 # CONFIG_SUBDIRS section.
51966 #
51967 if test "$no_recursion" != yes; then
51968
51969 # Remove --cache-file and --srcdir arguments so they do not pile up.
51970 ac_sub_configure_args=
51971 ac_prev=
51972 for ac_arg in $ac_configure_args; do
51973 if test -n "$ac_prev"; then
51974 ac_prev=
51975 continue
51976 fi
51977 case $ac_arg in
51978 -cache-file | --cache-file | --cache-fil | --cache-fi \
51979 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51980 ac_prev=cache_file ;;
51981 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51982 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51983 | --c=*)
51984 ;;
51985 --config-cache | -C)
51986 ;;
51987 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51988 ac_prev=srcdir ;;
51989 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51990 ;;
51991 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51992 ac_prev=prefix ;;
51993 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51994 ;;
51995 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51996 esac
51997 done
51998
51999 # Always prepend --prefix to ensure using the same prefix
52000 # in subdir configurations.
52001 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52002
52003 ac_popdir=`pwd`
52004 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52005
52006 # Do not complain, so a configure script can configure whichever
52007 # parts of a large source tree are present.
52008 test -d $srcdir/$ac_dir || continue
52009
52010 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52011 echo "$as_me: configuring in $ac_dir" >&6;}
52012 { if $as_mkdir_p; then
52013 mkdir -p "$ac_dir"
52014 else
52015 as_dir="$ac_dir"
52016 as_dirs=
52017 while test ! -d "$as_dir"; do
52018 as_dirs="$as_dir $as_dirs"
52019 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52020 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52021 X"$as_dir" : 'X\(//\)[^/]' \| \
52022 X"$as_dir" : 'X\(//\)$' \| \
52023 X"$as_dir" : 'X\(/\)' \| \
52024 . : '\(.\)' 2>/dev/null ||
52025 echo X"$as_dir" |
52026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52028 /^X\(\/\/\)$/{ s//\1/; q; }
52029 /^X\(\/\).*/{ s//\1/; q; }
52030 s/.*/./; q'`
52031 done
52032 test ! -n "$as_dirs" || mkdir $as_dirs
52033 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52034 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52035 { (exit 1); exit 1; }; }; }
52036
52037 ac_builddir=.
52038
52039 if test "$ac_dir" != .; then
52040 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52041 # A "../" for each directory in $ac_dir_suffix.
52042 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52043 else
52044 ac_dir_suffix= ac_top_builddir=
52045 fi
52046
52047 case $srcdir in
52048 .) # No --srcdir option. We are building in place.
52049 ac_srcdir=.
52050 if test -z "$ac_top_builddir"; then
52051 ac_top_srcdir=.
52052 else
52053 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52054 fi ;;
52055 [\\/]* | ?:[\\/]* ) # Absolute path.
52056 ac_srcdir=$srcdir$ac_dir_suffix;
52057 ac_top_srcdir=$srcdir ;;
52058 *) # Relative path.
52059 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52060 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52061 esac
52062
52063 # Do not use `cd foo && pwd` to compute absolute paths, because
52064 # the directories may not exist.
52065 case `pwd` in
52066 .) ac_abs_builddir="$ac_dir";;
52067 *)
52068 case "$ac_dir" in
52069 .) ac_abs_builddir=`pwd`;;
52070 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52071 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52072 esac;;
52073 esac
52074 case $ac_abs_builddir in
52075 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52076 *)
52077 case ${ac_top_builddir}. in
52078 .) ac_abs_top_builddir=$ac_abs_builddir;;
52079 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52080 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52081 esac;;
52082 esac
52083 case $ac_abs_builddir in
52084 .) ac_abs_srcdir=$ac_srcdir;;
52085 *)
52086 case $ac_srcdir in
52087 .) ac_abs_srcdir=$ac_abs_builddir;;
52088 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52089 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52090 esac;;
52091 esac
52092 case $ac_abs_builddir in
52093 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52094 *)
52095 case $ac_top_srcdir in
52096 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52097 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52098 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52099 esac;;
52100 esac
52101
52102
52103 cd $ac_dir
52104
52105 # Check for guested configure; otherwise get Cygnus style configure.
52106 if test -f $ac_srcdir/configure.gnu; then
52107 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52108 elif test -f $ac_srcdir/configure; then
52109 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52110 elif test -f $ac_srcdir/configure.in; then
52111 ac_sub_configure=$ac_configure
52112 else
52113 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52114 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52115 ac_sub_configure=
52116 fi
52117
52118 # The recursion is here.
52119 if test -n "$ac_sub_configure"; then
52120 # Make the cache file name correct relative to the subdirectory.
52121 case $cache_file in
52122 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52123 *) # Relative path.
52124 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52125 esac
52126
52127 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52128 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52129 # The eval makes quoting arguments work.
52130 eval $ac_sub_configure $ac_sub_configure_args \
52131 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52132 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52133 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52134 { (exit 1); exit 1; }; }
52135 fi
52136
52137 cd "$ac_popdir"
52138 done
52139 fi
52140
52141
52142 echo
52143 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52144 echo ""
52145 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52146 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52147
52148 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52149 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52150 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52151
52152 echo " What level of wxWidgets compatibility should be enabled?"
52153 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52154 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52155
52156 echo " Which libraries should wxWidgets use?"
52157 echo " jpeg ${wxUSE_LIBJPEG-none}"
52158 echo " png ${wxUSE_LIBPNG-none}"
52159 echo " regex ${wxUSE_REGEX}"
52160 echo " tiff ${wxUSE_LIBTIFF-none}"
52161 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52162 echo " xpm ${wxUSE_LIBXPM-none}"
52163 fi
52164 echo " zlib ${wxUSE_ZLIB}"
52165 echo " odbc ${wxUSE_ODBC}"
52166 echo " expat ${wxUSE_EXPAT}"
52167 echo " libmspack ${wxUSE_LIBMSPACK}"
52168 echo " sdl ${wxUSE_LIBSDL}"
52169
52170 echo ""
52171