]> git.saurik.com Git - wxWidgets.git/blob - configure
m_displayMode needs complete wxVideoMode.
[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.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.0'
274 PACKAGE_STRING='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os 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 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_GST_CFLAGS_set=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
853 ac_env_GST_LIBS_set=${GST_LIBS+set}
854 ac_env_GST_LIBS_value=$GST_LIBS
855 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value=$GST_LIBS
857
858 #
859 # Report the --help message.
860 #
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
864 cat <<_ACEOF
865 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
866
867 Usage: $0 [OPTION]... [VAR=VALUE]...
868
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
871
872 Defaults for the options are specified in brackets.
873
874 Configuration:
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
884
885 _ACEOF
886
887 cat <<_ACEOF
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
890 [$ac_default_prefix]
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 [PREFIX]
893
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
898
899 For better control, use the options below.
900
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
914 _ACEOF
915
916 cat <<\_ACEOF
917
918 X features:
919 --x-includes=DIR X include files are in DIR
920 --x-libraries=DIR X library files are in DIR
921
922 System types:
923 --build=BUILD configure for building on BUILD [guessed]
924 --host=HOST cross-compile to build programs to run on HOST [BUILD]
925 --target=TARGET configure for building compilers for TARGET [HOST]
926 _ACEOF
927 fi
928
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short | recursive ) echo "Configuration of wxWidgets 2.7.0:";;
932 esac
933 cat <<\_ACEOF
934
935 Optional Features:
936 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
937 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK+ 1.2 instead of 2.0
944 --enable-gpe use GNOME PDA Environment features if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
961 --enable-compat24 enable wxWidgets 2.4 compatibility
962 --disable-compat26 disable wxWidgets 2.6 compatibility
963 --disable-rpath disable use of rpath for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig (and derived) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP (requires wxProtocol
968 --enable-http use wxHTTP (requires wxProtocol
969 --enable-fileproto use wxFileProto class (requires wxProtocol
970 --enable-sockets use socket/network classes
971 --enable-ole use OLE classes (Win32 only)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication (wxSocket etc.)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class for getting backtraces
977 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class for DLL loading
983 --enable-dynamicloader use (new) wxDynamicLibrary class
984 --enable-exceptions build exception-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C++ stream classes
998 --enable-std_string use standard C++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-protocol use wxProtocol class
1014 --enable-protocol-http HTTP support in wxProtocol
1015 --enable-protocol-ftp FTP support in wxProtocol
1016 --enable-protocol-file FILE support in wxProtocol
1017 --enable-threads use threads
1018 --enable-docview use document view architecture
1019 --enable-help use help subsystem
1020 --enable-mshtmlhelp use MS HTML Help (win32)
1021 --enable-html use wxHTML sub-library
1022 --enable-htmlhelp use wxHTML-based help
1023 --enable-xrc use XRC resources sub-library
1024 --enable-aui use AUI docking library
1025 --enable-constraints use layout-constraints system
1026 --enable-printarch use printing architecture
1027 --enable-mdi use multiple document interface architecture
1028 --enable-mdidoc use docview architecture with MDI
1029 --enable-loggui use standard GUI logger
1030 --enable-logwin use wxLogWindow
1031 --enable-logdialog use wxLogDialog
1032 --enable-webkit use wxWebKitCtrl (Mac)
1033 --enable-richtext use wxRichTextCtrl
1034 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1035 --enable-prologio not available; see contrib
1036 --enable-resources not available; see contrib
1037 --enable-clipboard use wxClipboard class
1038 --enable-dnd use Drag'n'Drop classes
1039 --enable-metafile use win32 metafiles
1040 --enable-controls use all usual controls
1041 --enable-accel use accelerators
1042 --enable-button use wxButton class
1043 --enable-bmpbutton use wxBitmapButton class
1044 --enable-calendar use wxCalendarCtrl class
1045 --enable-caret use wxCaret class
1046 --enable-checkbox use wxCheckBox class
1047 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1048 --enable-choice use wxChoice class
1049 --enable-choicebook use wxChoicebook class
1050 --enable-colourpicker use wxColourPickerCtrl class
1051 --enable-combobox use wxComboBox class
1052 --enable-comboctrl use wxComboCtrl class
1053 --enable-datepick use wxDatePickerCtrl class
1054 --enable-dirpicker use wxDirPickerCtrl class
1055 --enable-display use wxDisplay class
1056 --enable-filepicker use wxFilePickerCtrl class
1057 --enable-fontpicker use wxFontPickerCtrl class
1058 --enable-gauge use wxGauge class
1059 --enable-grid use wxGrid class
1060 --enable-dataviewctrl, use wxDataViewCtrl class
1061 --enable-hyperlink use wxHyperlinkCtrl class
1062 --enable-imaglist use wxImageList class
1063 --enable-listbook use wxListbook class
1064 --enable-listbox use wxListBox class
1065 --enable-listctrl use wxListCtrl class
1066 --enable-notebook use wxNotebook class
1067 --enable-odcombobox use wxOwnerDrawnComboBox class
1068 --enable-radiobox use wxRadioBox class
1069 --enable-radiobtn use wxRadioButton class
1070 --enable-sash use wxSashWindow class
1071 --enable-scrollbar use wxScrollBar class and scrollable windows
1072 --enable-slider use wxSlider class
1073 --enable-spinbtn use wxSpinButton class
1074 --enable-spinctrl use wxSpinCtrl class
1075 --enable-splitter use wxSplitterWindow class
1076 --enable-statbmp use wxStaticBitmap class
1077 --enable-statbox use wxStaticBox class
1078 --enable-statline use wxStaticLine class
1079 --enable-stattext use wxStaticText class
1080 --enable-statusbar use wxStatusBar class
1081 --enable-tabdialog use wxTabControl class
1082 --enable-textctrl use wxTextCtrl class
1083 --enable-togglebtn use wxToggleButton class
1084 --enable-toolbar use wxToolBar class
1085 --enable-tbarnative use native wxToolBar class
1086 --enable-treebook use wxTreebook class
1087 --enable-toolbook use wxToolbook class
1088 --enable-treectrl use wxTreeCtrl class
1089 --enable-tipwindow use wxTipWindow class
1090 --enable-popupwin use wxPopUpWindow class
1091 --enable-commondlg use all common dialogs
1092 --enable-choicedlg use wxChoiceDialog
1093 --enable-coldlg use wxColourDialog
1094 --enable-filedlg use wxFileDialog
1095 --enable-finddlg use wxFindReplaceDialog
1096 --enable-fontdlg use wxFontDialog
1097 --enable-dirdlg use wxDirDialog
1098 --enable-msgdlg use wxMessageDialog
1099 --enable-numberdlg use wxNumberEntryDialog
1100 --enable-splash use wxSplashScreen
1101 --enable-textdlg use wxTextDialog
1102 --enable-tipdlg use startup tips
1103 --enable-progressdlg use wxProgressDialog
1104 --enable-wizarddlg use wxWizard
1105 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1106 --enable-miniframe use wxMiniFrame class
1107 --enable-tooltips use wxToolTip class
1108 --enable-splines use spline drawing code
1109 --enable-mousewheel use mousewheel
1110 --enable-validators use wxValidator and derived classes
1111 --enable-busyinfo use wxBusyInfo
1112 --enable-joystick use wxJoystick
1113 --enable-metafiles use wxMetaFile (Win32 only)
1114 --enable-dragimage use wxDragImage
1115 --enable-accessibility enable accessibility support
1116 --enable-dccache cache temporary wxDC objects (Win32 only)
1117 --enable-palette use wxPalette class
1118 --enable-image use wxImage class
1119 --enable-gif use gif images (GIF file format)
1120 --enable-pcx use pcx images (PCX file format)
1121 --enable-iff use iff images (IFF file format)
1122 --enable-pnm use pnm images (PNM file format)
1123 --enable-xpm use xpm images (XPM file format)
1124 --enable-icocur use Windows ICO and CUR formats
1125 --enable-official_build official build of wxWidgets (win32 DLL only)
1126 --enable-vendor=VENDOR vendor name (win32 DLL only)
1127 --disable-largefile omit support for large files
1128 --disable-gtktest do not try to compile and run a test GTK+ program
1129 --disable-gtktest Do not try to compile and run a test GTK program
1130 --disable-sdltest Do not try to compile and run a test SDL program
1131 --enable-omf use OMF object format (OS/2)
1132 --disable-dependency-tracking
1133 don't use dependency tracking even if the compiler
1134 can
1135 --disable-precomp-headers
1136 don't use precompiled headers even if compiler can
1137
1138 Optional Packages:
1139 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1140 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1141 --without-subdirs don't generate makefiles for samples/demos/...
1142 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1143 --with-motif use Motif/Lesstif
1144 --with-mac use Mac OS X
1145 --with-cocoa use Cocoa
1146 --with-wine use Wine
1147 --with-msw use MS-Windows
1148 --with-pm use OS/2 Presentation Manager
1149 --with-mgl use SciTech MGL
1150 --with-directfb use DirectFB
1151 --with-microwin use MicroWindows
1152 --with-x11 use X11
1153 --with-libpng use libpng (PNG image format)
1154 --with-libjpeg use libjpeg (JPEG file format)
1155 --with-libtiff use libtiff (TIFF file format)
1156 --with-libxpm use libxpm (XPM file format)
1157 --with-libmspack use libmspack (CHM help files loading)
1158 --with-sdl use SDL for audio on Unix
1159 --with-gnomeprint use GNOME print for printing under GNOME
1160 --with-gnomevfs use GNOME VFS for associating MIME types
1161 --with-hildon use Hildon framework for Nokia 770
1162 --with-opengl use OpenGL (or Mesa)
1163 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1164 --with-regex enable support for wxRegEx class
1165 --with-zlib use zlib for LZW compression
1166 --with-odbc use the IODBC and wxODBC classes
1167 --with-expat enable XML support using expat parser
1168 --with-flavour=NAME specify a name to identify this build
1169 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1170 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1171 --with-x use the X Window System
1172 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1173 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1174 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1175 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1176 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1177
1178 Some influential environment variables:
1179 CC C compiler command
1180 CFLAGS C compiler flags
1181 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1182 nonstandard directory <lib dir>
1183 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1184 headers in a nonstandard directory <include dir>
1185 CPP C preprocessor
1186 CXX C++ compiler command
1187 CXXFLAGS C++ compiler flags
1188 CXXCPP C++ preprocessor
1189 PKG_CONFIG path to pkg-config utility
1190 DIRECTFB_CFLAGS
1191 C compiler flags for DIRECTFB, overriding pkg-config
1192 DIRECTFB_LIBS
1193 linker flags for DIRECTFB, overriding pkg-config
1194 PANGOX_CFLAGS
1195 C compiler flags for PANGOX, overriding pkg-config
1196 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1197 PANGOFT2_CFLAGS
1198 C compiler flags for PANGOFT2, overriding pkg-config
1199 PANGOFT2_LIBS
1200 linker flags for PANGOFT2, overriding pkg-config
1201 PANGOXFT_CFLAGS
1202 C compiler flags for PANGOXFT, overriding pkg-config
1203 PANGOXFT_LIBS
1204 linker flags for PANGOXFT, overriding pkg-config
1205 LIBGNOMEPRINTUI_CFLAGS
1206 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1207 LIBGNOMEPRINTUI_LIBS
1208 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1209 GNOMEVFS_CFLAGS
1210 C compiler flags for GNOMEVFS, overriding pkg-config
1211 GNOMEVFS_LIBS
1212 linker flags for GNOMEVFS, overriding pkg-config
1213 HILDON_CFLAGS
1214 C compiler flags for HILDON, overriding pkg-config
1215 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1216 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1217 GST_LIBS linker flags for GST, overriding pkg-config
1218
1219 Use these variables to override the choices made by `configure' or to help
1220 it to find libraries and programs with nonstandard names/locations.
1221
1222 Report bugs to <wx-dev@lists.wxwidgets.org>.
1223 _ACEOF
1224 fi
1225
1226 if test "$ac_init_help" = "recursive"; then
1227 # If there are subdirs, report their specific --help.
1228 ac_popdir=`pwd`
1229 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1230 test -d $ac_dir || continue
1231 ac_builddir=.
1232
1233 if test "$ac_dir" != .; then
1234 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1235 # A "../" for each directory in $ac_dir_suffix.
1236 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1237 else
1238 ac_dir_suffix= ac_top_builddir=
1239 fi
1240
1241 case $srcdir in
1242 .) # No --srcdir option. We are building in place.
1243 ac_srcdir=.
1244 if test -z "$ac_top_builddir"; then
1245 ac_top_srcdir=.
1246 else
1247 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1248 fi ;;
1249 [\\/]* | ?:[\\/]* ) # Absolute path.
1250 ac_srcdir=$srcdir$ac_dir_suffix;
1251 ac_top_srcdir=$srcdir ;;
1252 *) # Relative path.
1253 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1254 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1255 esac
1256
1257 # Do not use `cd foo && pwd` to compute absolute paths, because
1258 # the directories may not exist.
1259 case `pwd` in
1260 .) ac_abs_builddir="$ac_dir";;
1261 *)
1262 case "$ac_dir" in
1263 .) ac_abs_builddir=`pwd`;;
1264 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1265 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1266 esac;;
1267 esac
1268 case $ac_abs_builddir in
1269 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1270 *)
1271 case ${ac_top_builddir}. in
1272 .) ac_abs_top_builddir=$ac_abs_builddir;;
1273 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1274 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1275 esac;;
1276 esac
1277 case $ac_abs_builddir in
1278 .) ac_abs_srcdir=$ac_srcdir;;
1279 *)
1280 case $ac_srcdir in
1281 .) ac_abs_srcdir=$ac_abs_builddir;;
1282 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1283 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1284 esac;;
1285 esac
1286 case $ac_abs_builddir in
1287 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1288 *)
1289 case $ac_top_srcdir in
1290 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1291 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1292 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1293 esac;;
1294 esac
1295
1296 cd $ac_dir
1297 # Check for guested configure; otherwise get Cygnus style configure.
1298 if test -f $ac_srcdir/configure.gnu; then
1299 echo
1300 $SHELL $ac_srcdir/configure.gnu --help=recursive
1301 elif test -f $ac_srcdir/configure; then
1302 echo
1303 $SHELL $ac_srcdir/configure --help=recursive
1304 elif test -f $ac_srcdir/configure.ac ||
1305 test -f $ac_srcdir/configure.in; then
1306 echo
1307 $ac_configure --help
1308 else
1309 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1310 fi
1311 cd $ac_popdir
1312 done
1313 fi
1314
1315 test -n "$ac_init_help" && exit 0
1316 if $ac_init_version; then
1317 cat <<\_ACEOF
1318 wxWidgets configure 2.7.0
1319 generated by GNU Autoconf 2.59
1320
1321 Copyright (C) 2003 Free Software Foundation, Inc.
1322 This configure script is free software; the Free Software Foundation
1323 gives unlimited permission to copy, distribute and modify it.
1324 _ACEOF
1325 exit 0
1326 fi
1327 exec 5>config.log
1328 cat >&5 <<_ACEOF
1329 This file contains any messages produced by compilers while
1330 running configure, to aid debugging if configure makes a mistake.
1331
1332 It was created by wxWidgets $as_me 2.7.0, which was
1333 generated by GNU Autoconf 2.59. Invocation command line was
1334
1335 $ $0 $@
1336
1337 _ACEOF
1338 {
1339 cat <<_ASUNAME
1340 ## --------- ##
1341 ## Platform. ##
1342 ## --------- ##
1343
1344 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1345 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1346 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1347 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1348 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1349
1350 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1351 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1352
1353 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1354 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1355 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1356 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1357 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1358 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1359 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1360
1361 _ASUNAME
1362
1363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1364 for as_dir in $PATH
1365 do
1366 IFS=$as_save_IFS
1367 test -z "$as_dir" && as_dir=.
1368 echo "PATH: $as_dir"
1369 done
1370
1371 } >&5
1372
1373 cat >&5 <<_ACEOF
1374
1375
1376 ## ----------- ##
1377 ## Core tests. ##
1378 ## ----------- ##
1379
1380 _ACEOF
1381
1382
1383 # Keep a trace of the command line.
1384 # Strip out --no-create and --no-recursion so they do not pile up.
1385 # Strip out --silent because we don't want to record it for future runs.
1386 # Also quote any args containing shell meta-characters.
1387 # Make two passes to allow for proper duplicate-argument suppression.
1388 ac_configure_args=
1389 ac_configure_args0=
1390 ac_configure_args1=
1391 ac_sep=
1392 ac_must_keep_next=false
1393 for ac_pass in 1 2
1394 do
1395 for ac_arg
1396 do
1397 case $ac_arg in
1398 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1400 | -silent | --silent | --silen | --sile | --sil)
1401 continue ;;
1402 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1403 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1404 esac
1405 case $ac_pass in
1406 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1407 2)
1408 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1409 if test $ac_must_keep_next = true; then
1410 ac_must_keep_next=false # Got value, back to normal.
1411 else
1412 case $ac_arg in
1413 *=* | --config-cache | -C | -disable-* | --disable-* \
1414 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1415 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1416 | -with-* | --with-* | -without-* | --without-* | --x)
1417 case "$ac_configure_args0 " in
1418 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1419 esac
1420 ;;
1421 -* ) ac_must_keep_next=true ;;
1422 esac
1423 fi
1424 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1425 # Get rid of the leading space.
1426 ac_sep=" "
1427 ;;
1428 esac
1429 done
1430 done
1431 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1432 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1433
1434 # When interrupted or exit'd, cleanup temporary files, and complete
1435 # config.log. We remove comments because anyway the quotes in there
1436 # would cause problems or look ugly.
1437 # WARNING: Be sure not to use single quotes in there, as some shells,
1438 # such as our DU 5.0 friend, will then `close' the trap.
1439 trap 'exit_status=$?
1440 # Save into config.log some information that might help in debugging.
1441 {
1442 echo
1443
1444 cat <<\_ASBOX
1445 ## ---------------- ##
1446 ## Cache variables. ##
1447 ## ---------------- ##
1448 _ASBOX
1449 echo
1450 # The following way of writing the cache mishandles newlines in values,
1451 {
1452 (set) 2>&1 |
1453 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1454 *ac_space=\ *)
1455 sed -n \
1456 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1458 ;;
1459 *)
1460 sed -n \
1461 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1462 ;;
1463 esac;
1464 }
1465 echo
1466
1467 cat <<\_ASBOX
1468 ## ----------------- ##
1469 ## Output variables. ##
1470 ## ----------------- ##
1471 _ASBOX
1472 echo
1473 for ac_var in $ac_subst_vars
1474 do
1475 eval ac_val=$`echo $ac_var`
1476 echo "$ac_var='"'"'$ac_val'"'"'"
1477 done | sort
1478 echo
1479
1480 if test -n "$ac_subst_files"; then
1481 cat <<\_ASBOX
1482 ## ------------- ##
1483 ## Output files. ##
1484 ## ------------- ##
1485 _ASBOX
1486 echo
1487 for ac_var in $ac_subst_files
1488 do
1489 eval ac_val=$`echo $ac_var`
1490 echo "$ac_var='"'"'$ac_val'"'"'"
1491 done | sort
1492 echo
1493 fi
1494
1495 if test -s confdefs.h; then
1496 cat <<\_ASBOX
1497 ## ----------- ##
1498 ## confdefs.h. ##
1499 ## ----------- ##
1500 _ASBOX
1501 echo
1502 sed "/^$/d" confdefs.h | sort
1503 echo
1504 fi
1505 test "$ac_signal" != 0 &&
1506 echo "$as_me: caught signal $ac_signal"
1507 echo "$as_me: exit $exit_status"
1508 } >&5
1509 rm -f core *.core &&
1510 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1511 exit $exit_status
1512 ' 0
1513 for ac_signal in 1 2 13 15; do
1514 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1515 done
1516 ac_signal=0
1517
1518 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1519 rm -rf conftest* confdefs.h
1520 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1521 echo >confdefs.h
1522
1523 # Predefined preprocessor variables.
1524
1525 cat >>confdefs.h <<_ACEOF
1526 #define PACKAGE_NAME "$PACKAGE_NAME"
1527 _ACEOF
1528
1529
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1532 _ACEOF
1533
1534
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1537 _ACEOF
1538
1539
1540 cat >>confdefs.h <<_ACEOF
1541 #define PACKAGE_STRING "$PACKAGE_STRING"
1542 _ACEOF
1543
1544
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1547 _ACEOF
1548
1549
1550 # Let the site file select an alternate cache file if it wants to.
1551 # Prefer explicitly selected file to automatically selected ones.
1552 if test -z "$CONFIG_SITE"; then
1553 if test "x$prefix" != xNONE; then
1554 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1555 else
1556 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1557 fi
1558 fi
1559 for ac_site_file in $CONFIG_SITE; do
1560 if test -r "$ac_site_file"; then
1561 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1562 echo "$as_me: loading site script $ac_site_file" >&6;}
1563 sed 's/^/| /' "$ac_site_file" >&5
1564 . "$ac_site_file"
1565 fi
1566 done
1567
1568 if test -r "$cache_file"; then
1569 # Some versions of bash will fail to source /dev/null (special
1570 # files actually), so we avoid doing that.
1571 if test -f "$cache_file"; then
1572 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1573 echo "$as_me: loading cache $cache_file" >&6;}
1574 case $cache_file in
1575 [\\/]* | ?:[\\/]* ) . $cache_file;;
1576 *) . ./$cache_file;;
1577 esac
1578 fi
1579 else
1580 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1581 echo "$as_me: creating cache $cache_file" >&6;}
1582 >$cache_file
1583 fi
1584
1585 # Check that the precious variables saved in the cache have kept the same
1586 # value.
1587 ac_cache_corrupted=false
1588 for ac_var in `(set) 2>&1 |
1589 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1590 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1591 eval ac_new_set=\$ac_env_${ac_var}_set
1592 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1593 eval ac_new_val="\$ac_env_${ac_var}_value"
1594 case $ac_old_set,$ac_new_set in
1595 set,)
1596 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1597 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1598 ac_cache_corrupted=: ;;
1599 ,set)
1600 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1601 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1602 ac_cache_corrupted=: ;;
1603 ,);;
1604 *)
1605 if test "x$ac_old_val" != "x$ac_new_val"; then
1606 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1607 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1608 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1609 echo "$as_me: former value: $ac_old_val" >&2;}
1610 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1611 echo "$as_me: current value: $ac_new_val" >&2;}
1612 ac_cache_corrupted=:
1613 fi;;
1614 esac
1615 # Pass precious variables to config.status.
1616 if test "$ac_new_set" = set; then
1617 case $ac_new_val in
1618 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1619 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1620 *) ac_arg=$ac_var=$ac_new_val ;;
1621 esac
1622 case " $ac_configure_args " in
1623 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1624 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1625 esac
1626 fi
1627 done
1628 if $ac_cache_corrupted; then
1629 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1630 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1631 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1632 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1633 { (exit 1); exit 1; }; }
1634 fi
1635
1636 ac_ext=c
1637 ac_cpp='$CPP $CPPFLAGS'
1638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671 ac_aux_dir=
1672 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1673 if test -f $ac_dir/install-sh; then
1674 ac_aux_dir=$ac_dir
1675 ac_install_sh="$ac_aux_dir/install-sh -c"
1676 break
1677 elif test -f $ac_dir/install.sh; then
1678 ac_aux_dir=$ac_dir
1679 ac_install_sh="$ac_aux_dir/install.sh -c"
1680 break
1681 elif test -f $ac_dir/shtool; then
1682 ac_aux_dir=$ac_dir
1683 ac_install_sh="$ac_aux_dir/shtool install -c"
1684 break
1685 fi
1686 done
1687 if test -z "$ac_aux_dir"; then
1688 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1689 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1690 { (exit 1); exit 1; }; }
1691 fi
1692 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1693 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1694 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1695
1696 # Make sure we can run config.sub.
1697 $ac_config_sub sun4 >/dev/null 2>&1 ||
1698 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1699 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1700 { (exit 1); exit 1; }; }
1701
1702 echo "$as_me:$LINENO: checking build system type" >&5
1703 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1704 if test "${ac_cv_build+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 else
1707 ac_cv_build_alias=$build_alias
1708 test -z "$ac_cv_build_alias" &&
1709 ac_cv_build_alias=`$ac_config_guess`
1710 test -z "$ac_cv_build_alias" &&
1711 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1712 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1713 { (exit 1); exit 1; }; }
1714 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1715 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1716 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1717 { (exit 1); exit 1; }; }
1718
1719 fi
1720 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1721 echo "${ECHO_T}$ac_cv_build" >&6
1722 build=$ac_cv_build
1723 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1724 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1725 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1726
1727
1728 echo "$as_me:$LINENO: checking host system type" >&5
1729 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1730 if test "${ac_cv_host+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 else
1733 ac_cv_host_alias=$host_alias
1734 test -z "$ac_cv_host_alias" &&
1735 ac_cv_host_alias=$ac_cv_build_alias
1736 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1740
1741 fi
1742 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1743 echo "${ECHO_T}$ac_cv_host" >&6
1744 host=$ac_cv_host
1745 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748
1749
1750 echo "$as_me:$LINENO: checking target system type" >&5
1751 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1752 if test "${ac_cv_target+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 ac_cv_target_alias=$target_alias
1756 test "x$ac_cv_target_alias" = "x" &&
1757 ac_cv_target_alias=$ac_cv_host_alias
1758 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1762
1763 fi
1764 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1765 echo "${ECHO_T}$ac_cv_target" >&6
1766 target=$ac_cv_target
1767 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770
1771
1772 # The aliases save the names the user supplied, while $host etc.
1773 # will get canonicalized.
1774 test -n "$target_alias" &&
1775 test "$program_prefix$program_suffix$program_transform_name" = \
1776 NONENONEs,x,x, &&
1777 program_prefix=${target_alias}-
1778
1779
1780
1781 wx_major_version_number=2
1782 wx_minor_version_number=7
1783 wx_release_number=0
1784 wx_subrelease_number=1
1785
1786 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1787 WX_VERSION=$WX_RELEASE.$wx_release_number
1788 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1789
1790 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1791
1792
1793
1794
1795 USE_UNIX=1
1796 USE_OS2=0
1797 USE_WIN32=0
1798 USE_DOS=0
1799 USE_BEOS=0
1800 USE_MAC=0
1801
1802 USE_AIX=
1803 USE_BSD= USE_DARWIN= USE_FREEBSD=
1804 USE_GNU= USE_HPUX=
1805 USE_LINUX=
1806 USE_NETBSD=
1807 USE_OPENBSD=
1808 USE_OSF= USE_SGI=
1809 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1810 USE_ULTRIX=
1811 USE_UNIXWARE=
1812
1813 USE_ALPHA=
1814
1815 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1816
1817 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1818
1819 DEFAULT_wxUSE_COCOA=0
1820 DEFAULT_wxUSE_GTK=0
1821 DEFAULT_wxUSE_MAC=0
1822 DEFAULT_wxUSE_MGL=0
1823 DEFAULT_wxUSE_MICROWIN=0
1824 DEFAULT_wxUSE_MOTIF=0
1825 DEFAULT_wxUSE_MSW=0
1826 DEFAULT_wxUSE_PM=0
1827 DEFAULT_wxUSE_X11=0
1828 DEFAULT_wxUSE_DFB=0
1829
1830 DEFAULT_DEFAULT_wxUSE_COCOA=0
1831 DEFAULT_DEFAULT_wxUSE_GTK=0
1832 DEFAULT_DEFAULT_wxUSE_MAC=0
1833 DEFAULT_DEFAULT_wxUSE_MGL=0
1834 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1835 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1836 DEFAULT_DEFAULT_wxUSE_MSW=0
1837 DEFAULT_DEFAULT_wxUSE_PM=0
1838 DEFAULT_DEFAULT_wxUSE_X11=0
1839 DEFAULT_DEFAULT_wxUSE_DFB=0
1840
1841 PROGRAM_EXT=
1842 SO_SUFFIX=so
1843 SAMPLES_RPATH_FLAG=
1844 SAMPLES_RPATH_POSTLINK=
1845
1846 DEFAULT_STD_FLAG=yes
1847
1848 case "${host}" in
1849 *-hp-hpux* )
1850 USE_HPUX=1
1851 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1852 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1853 SO_SUFFIX=sl
1854 cat >>confdefs.h <<\_ACEOF
1855 #define __HPUX__ 1
1856 _ACEOF
1857
1858
1859 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1860 ;;
1861 *-*-linux* )
1862 USE_LINUX=1
1863 cat >>confdefs.h <<\_ACEOF
1864 #define __LINUX__ 1
1865 _ACEOF
1866
1867 TMP=`uname -m`
1868 if test "x$TMP" = "xalpha"; then
1869 USE_ALPHA=1
1870 cat >>confdefs.h <<\_ACEOF
1871 #define __ALPHA__ 1
1872 _ACEOF
1873
1874 fi
1875 DEFAULT_DEFAULT_wxUSE_GTK=1
1876 ;;
1877 *-*-gnu* | *-*-k*bsd*-gnu )
1878 USE_GNU=1
1879 TMP=`uname -m`
1880 if test "x$TMP" = "xalpha"; then
1881 USE_ALPHA=1
1882 cat >>confdefs.h <<\_ACEOF
1883 #define __ALPHA__ 1
1884 _ACEOF
1885
1886 fi
1887 DEFAULT_DEFAULT_wxUSE_GTK=1
1888 ;;
1889 *-*-irix5* | *-*-irix6* )
1890 USE_SGI=1
1891 USE_SVR4=1
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __SGI__ 1
1894 _ACEOF
1895
1896 cat >>confdefs.h <<\_ACEOF
1897 #define __SVR4__ 1
1898 _ACEOF
1899
1900 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1901 ;;
1902 *-*-solaris2* )
1903 USE_SUN=1
1904 USE_SOLARIS=1
1905 USE_SVR4=1
1906 cat >>confdefs.h <<\_ACEOF
1907 #define __SUN__ 1
1908 _ACEOF
1909
1910 cat >>confdefs.h <<\_ACEOF
1911 #define __SOLARIS__ 1
1912 _ACEOF
1913
1914 cat >>confdefs.h <<\_ACEOF
1915 #define __SVR4__ 1
1916 _ACEOF
1917
1918 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1919 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1920 ;;
1921 *-*-sunos4* )
1922 USE_SUN=1
1923 USE_SUNOS=1
1924 USE_BSD=1
1925 cat >>confdefs.h <<\_ACEOF
1926 #define __SUN__ 1
1927 _ACEOF
1928
1929 cat >>confdefs.h <<\_ACEOF
1930 #define __SUNOS__ 1
1931 _ACEOF
1932
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __BSD__ 1
1935 _ACEOF
1936
1937 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1938 ;;
1939 *-*-freebsd*)
1940 USE_BSD=1
1941 USE_FREEBSD=1
1942 cat >>confdefs.h <<\_ACEOF
1943 #define __FREEBSD__ 1
1944 _ACEOF
1945
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __BSD__ 1
1948 _ACEOF
1949
1950 DEFAULT_DEFAULT_wxUSE_GTK=1
1951 ;;
1952 *-*-openbsd*|*-*-mirbsd*)
1953 USE_BSD=1
1954 USE_OPENBSD=1
1955 cat >>confdefs.h <<\_ACEOF
1956 #define __OPENBSD__ 1
1957 _ACEOF
1958
1959 cat >>confdefs.h <<\_ACEOF
1960 #define __BSD__ 1
1961 _ACEOF
1962
1963 DEFAULT_DEFAULT_wxUSE_GTK=1
1964 ;;
1965 *-*-netbsd*)
1966 USE_BSD=1
1967 USE_NETBSD=1
1968 cat >>confdefs.h <<\_ACEOF
1969 #define __NETBSD__ 1
1970 _ACEOF
1971
1972 cat >>confdefs.h <<\_ACEOF
1973 #define __BSD__ 1
1974 _ACEOF
1975
1976 DEFAULT_DEFAULT_wxUSE_GTK=1
1977 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1978
1979 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1980 ;;
1981 *-*-osf* )
1982 USE_ALPHA=1
1983 USE_OSF=1
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __ALPHA__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __OSF__ 1
1990 _ACEOF
1991
1992 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1993 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1994 ;;
1995 *-*-dgux5* )
1996 USE_ALPHA=1
1997 USE_SVR4=1
1998 cat >>confdefs.h <<\_ACEOF
1999 #define __ALPHA__ 1
2000 _ACEOF
2001
2002 cat >>confdefs.h <<\_ACEOF
2003 #define __SVR4__ 1
2004 _ACEOF
2005
2006 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2007 ;;
2008 *-*-sysv5* )
2009 USE_SYSV=1
2010 USE_SVR4=1
2011 cat >>confdefs.h <<\_ACEOF
2012 #define __SYSV__ 1
2013 _ACEOF
2014
2015 cat >>confdefs.h <<\_ACEOF
2016 #define __SVR4__ 1
2017 _ACEOF
2018
2019 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2020 ;;
2021 *-*-aix* )
2022 USE_AIX=1
2023 USE_SYSV=1
2024 USE_SVR4=1
2025 SO_SUFFIX=a
2026 cat >>confdefs.h <<\_ACEOF
2027 #define __AIX__ 1
2028 _ACEOF
2029
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
2041 *-*-*UnixWare*)
2042 USE_SYSV=1
2043 USE_SVR4=1
2044 USE_UNIXWARE=1
2045 cat >>confdefs.h <<\_ACEOF
2046 #define __UNIXWARE__ 1
2047 _ACEOF
2048
2049 ;;
2050
2051 *-*-cygwin* | *-*-mingw32* )
2052 SO_SUFFIX=dll
2053 PROGRAM_EXT=".exe"
2054 DEFAULT_DEFAULT_wxUSE_MSW=1
2055 DEFAULT_STD_FLAG=no
2056 ;;
2057
2058 *-pc-msdosdjgpp )
2059 USE_UNIX=0
2060 USE_DOS=1
2061 cat >>confdefs.h <<\_ACEOF
2062 #define __DOS__ 1
2063 _ACEOF
2064
2065 PROGRAM_EXT=".exe"
2066 DEFAULT_DEFAULT_wxUSE_MGL=1
2067 ;;
2068
2069 *-pc-os2_emx | *-pc-os2-emx )
2070 cat >>confdefs.h <<\_ACEOF
2071 #define __EMX__ 1
2072 _ACEOF
2073
2074 USE_OS2=1
2075 cat >>confdefs.h <<\_ACEOF
2076 #define __OS2__ 1
2077 _ACEOF
2078
2079 PROGRAM_EXT=".exe"
2080 DEFAULT_DEFAULT_wxUSE_PM=1
2081 CXX=gcc
2082 LDFLAGS="$LDFLAGS -Zcrtdll"
2083 ac_executable_extensions=".exe"
2084 export ac_executable_extensions
2085 ac_save_IFS="$IFS"
2086 IFS='\\'
2087 ac_TEMP_PATH=
2088 for ac_dir in $PATH; do
2089 IFS=$ac_save_IFS
2090 if test -z "$ac_TEMP_PATH"; then
2091 ac_TEMP_PATH="$ac_dir"
2092 else
2093 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2094 fi
2095 done
2096 export PATH="$ac_TEMP_PATH"
2097 unset ac_TEMP_PATH
2098 DEFAULT_STD_FLAG=no
2099 ;;
2100
2101 *-*-darwin* )
2102 USE_BSD=1
2103 USE_DARWIN=1
2104 SO_SUFFIX=dylib
2105 cat >>confdefs.h <<\_ACEOF
2106 #define __BSD__ 1
2107 _ACEOF
2108
2109 cat >>confdefs.h <<\_ACEOF
2110 #define __DARWIN__ 1
2111 _ACEOF
2112
2113 cat >>confdefs.h <<\_ACEOF
2114 #define TARGET_CARBON 1
2115 _ACEOF
2116
2117 DEFAULT_DEFAULT_wxUSE_MAC=1
2118 DEFAULT_STD_FLAG=no
2119 ;;
2120 powerpc-apple-macos* )
2121 USE_UNIX=0
2122 ac_cv_c_bigendian=yes
2123 SO_SUFFIX=shlib
2124 DEFAULT_DEFAULT_wxUSE_MAC=1
2125 DEFAULT_STD_FLAG=no
2126 ;;
2127
2128 *-*-beos* )
2129 USE_BEOS=1
2130 cat >>confdefs.h <<\_ACEOF
2131 #define __BEOS__ 1
2132 _ACEOF
2133
2134 ;;
2135
2136 *)
2137 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2138 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2139 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2140 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2141
2142 DEFAULT_DEFAULT_wxUSE_X11=1
2143 DEFAULT_wxUSE_SHARED=no
2144 esac
2145
2146
2147
2148
2149 wx_arg_cache_file="configarg.cache"
2150 echo "loading argument cache $wx_arg_cache_file"
2151 rm -f ${wx_arg_cache_file}.tmp
2152 touch ${wx_arg_cache_file}.tmp
2153 touch ${wx_arg_cache_file}
2154
2155
2156 DEBUG_CONFIGURE=0
2157 if test $DEBUG_CONFIGURE = 1; then
2158 DEFAULT_wxUSE_UNIVERSAL=no
2159 DEFAULT_wxUSE_STL=no
2160
2161 DEFAULT_wxUSE_NANOX=no
2162
2163 DEFAULT_wxUSE_THREADS=yes
2164
2165 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2166 DEFAULT_wxUSE_OPTIMISE=no
2167 DEFAULT_wxUSE_PROFILE=no
2168 DEFAULT_wxUSE_NO_DEPS=no
2169 DEFAULT_wxUSE_NO_RTTI=no
2170 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2171 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2172 DEFAULT_wxUSE_RPATH=yes
2173 DEFAULT_wxUSE_PERMISSIVE=no
2174 DEFAULT_wxUSE_DEBUG_FLAG=yes
2175 DEFAULT_wxUSE_DEBUG_INFO=yes
2176 DEFAULT_wxUSE_DEBUG_GDB=yes
2177 DEFAULT_wxUSE_MEM_TRACING=no
2178 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2179 DEFAULT_wxUSE_DMALLOC=no
2180 DEFAULT_wxUSE_APPLE_IEEE=no
2181
2182 DEFAULT_wxUSE_EXCEPTIONS=no
2183 DEFAULT_wxUSE_LOG=yes
2184 DEFAULT_wxUSE_LOGWINDOW=no
2185 DEFAULT_wxUSE_LOGGUI=no
2186 DEFAULT_wxUSE_LOGDIALOG=no
2187
2188 DEFAULT_wxUSE_GUI=yes
2189 DEFAULT_wxUSE_CONTROLS=no
2190
2191 DEFAULT_wxUSE_REGEX=no
2192 DEFAULT_wxUSE_XML=no
2193 DEFAULT_wxUSE_EXPAT=no
2194 DEFAULT_wxUSE_ZLIB=no
2195 DEFAULT_wxUSE_LIBPNG=no
2196 DEFAULT_wxUSE_LIBJPEG=no
2197 DEFAULT_wxUSE_LIBTIFF=no
2198 DEFAULT_wxUSE_LIBXPM=no
2199 DEFAULT_wxUSE_LIBMSPACK=no
2200 DEFAULT_wxUSE_LIBSDL=no
2201 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2202 DEFAULT_wxUSE_LIBGNOMEVFS=no
2203 DEFAULT_wxUSE_LIBHILDON=no
2204 DEFAULT_wxUSE_ODBC=no
2205 DEFAULT_wxUSE_OPENGL=no
2206
2207 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2208 DEFAULT_wxUSE_STACKWALKER=no
2209 DEFAULT_wxUSE_DEBUGREPORT=no
2210 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2211 DEFAULT_wxUSE_STD_IOSTREAM=no
2212 DEFAULT_wxUSE_STD_STRING=no
2213 DEFAULT_wxUSE_CMDLINE_PARSER=no
2214 DEFAULT_wxUSE_DATETIME=no
2215 DEFAULT_wxUSE_TIMER=no
2216 DEFAULT_wxUSE_STOPWATCH=no
2217 DEFAULT_wxUSE_FILE=no
2218 DEFAULT_wxUSE_FFILE=no
2219 DEFAULT_wxUSE_STDPATHS=no
2220 DEFAULT_wxUSE_TEXTBUFFER=no
2221 DEFAULT_wxUSE_TEXTFILE=no
2222 DEFAULT_wxUSE_SOUND=no
2223 DEFAULT_wxUSE_MEDIACTRL=no
2224 DEFAULT_wxUSE_GSTREAMER8=no
2225 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2226 DEFAULT_wxUSE_INTL=no
2227 DEFAULT_wxUSE_CONFIG=no
2228 DEFAULT_wxUSE_FONTMAP=no
2229 DEFAULT_wxUSE_STREAMS=no
2230 DEFAULT_wxUSE_SOCKETS=no
2231 DEFAULT_wxUSE_OLE=no
2232 DEFAULT_wxUSE_DATAOBJ=no
2233 DEFAULT_wxUSE_DIALUP_MANAGER=no
2234 DEFAULT_wxUSE_JOYSTICK=no
2235 DEFAULT_wxUSE_DYNLIB_CLASS=no
2236 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2237 DEFAULT_wxUSE_LONGLONG=no
2238 DEFAULT_wxUSE_GEOMETRY=no
2239
2240 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2241 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2242 DEFAULT_wxUSE_POSTSCRIPT=no
2243
2244 DEFAULT_wxUSE_CLIPBOARD=no
2245 DEFAULT_wxUSE_TOOLTIPS=no
2246 DEFAULT_wxUSE_DRAG_AND_DROP=no
2247 DEFAULT_wxUSE_DRAGIMAGE=no
2248 DEFAULT_wxUSE_SPLINES=no
2249 DEFAULT_wxUSE_MOUSEWHEEL=no
2250
2251 DEFAULT_wxUSE_MDI=no
2252 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2253 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2254 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2255
2256 DEFAULT_wxUSE_RESOURCES=no
2257 DEFAULT_wxUSE_CONSTRAINTS=no
2258 DEFAULT_wxUSE_IPC=no
2259 DEFAULT_wxUSE_HELP=no
2260 DEFAULT_wxUSE_MS_HTML_HELP=no
2261 DEFAULT_wxUSE_WXHTML_HELP=no
2262 DEFAULT_wxUSE_TREELAYOUT=no
2263 DEFAULT_wxUSE_METAFILE=no
2264 DEFAULT_wxUSE_MIMETYPE=no
2265 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2266 DEFAULT_wxUSE_PROTOCOL=no
2267 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2268 DEFAULT_wxUSE_PROTOCOL_FTP=no
2269 DEFAULT_wxUSE_PROTOCOL_FILE=no
2270 DEFAULT_wxUSE_URL=no
2271
2272 DEFAULT_wxUSE_COMMONDLGS=no
2273 DEFAULT_wxUSE_CHOICEDLG=no
2274 DEFAULT_wxUSE_COLOURDLG=no
2275 DEFAULT_wxUSE_DIRDLG=no
2276 DEFAULT_wxUSE_FILEDLG=no
2277 DEFAULT_wxUSE_FINDREPLDLG=no
2278 DEFAULT_wxUSE_FONTDLG=no
2279 DEFAULT_wxUSE_MSGDLG=no
2280 DEFAULT_wxUSE_NUMBERDLG=no
2281 DEFAULT_wxUSE_TEXTDLG=no
2282 DEFAULT_wxUSE_SPLASH=no
2283 DEFAULT_wxUSE_STARTUP_TIPS=no
2284 DEFAULT_wxUSE_PROGRESSDLG=no
2285 DEFAULT_wxUSE_WIZARDDLG=no
2286
2287 DEFAULT_wxUSE_MENUS=no
2288 DEFAULT_wxUSE_MINIFRAME=no
2289 DEFAULT_wxUSE_HTML=no
2290 DEFAULT_wxUSE_RICHTEXT=no
2291 DEFAULT_wxUSE_XRC=no
2292 DEFAULT_wxUSE_AUI=no
2293 DEFAULT_wxUSE_WEBKIT=no
2294 DEFAULT_wxUSE_FILESYSTEM=no
2295 DEFAULT_wxUSE_FS_INET=no
2296 DEFAULT_wxUSE_FS_ZIP=no
2297 DEFAULT_wxUSE_BUSYINFO=no
2298 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2299 DEFAULT_wxUSE_ZIPSTREAM=no
2300 DEFAULT_wxUSE_VALIDATORS=no
2301
2302 DEFAULT_wxUSE_ACCEL=no
2303 DEFAULT_wxUSE_BUTTON=no
2304 DEFAULT_wxUSE_BMPBUTTON=no
2305 DEFAULT_wxUSE_CALCTRL=no
2306 DEFAULT_wxUSE_CARET=no
2307 DEFAULT_wxUSE_CHECKBOX=no
2308 DEFAULT_wxUSE_CHECKLST=no
2309 DEFAULT_wxUSE_CHOICE=no
2310 DEFAULT_wxUSE_CHOICEBOOK=no
2311 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2312 DEFAULT_wxUSE_COMBOBOX=no
2313 DEFAULT_wxUSE_COMBOCTRL=no
2314 DEFAULT_wxUSE_DATEPICKCTRL=no
2315 DEFAULT_wxUSE_DISPLAY=no
2316 DEFAULT_wxUSE_DIRPICKERCTRL=no
2317 DEFAULT_wxUSE_FILEPICKERCTRL=no
2318 DEFAULT_wxUSE_FONTPICKERCTRL=no
2319 DEFAULT_wxUSE_GAUGE=no
2320 DEFAULT_wxUSE_GRID=no
2321 DEFAULT_wxUSE_HYPERLINKCTRL=no
2322 DEFAULT_wxUSE_DATAVIEWCTRL=no
2323 DEFAULT_wxUSE_IMAGLIST=no
2324 DEFAULT_wxUSE_LISTBOOK=no
2325 DEFAULT_wxUSE_LISTBOX=no
2326 DEFAULT_wxUSE_LISTCTRL=no
2327 DEFAULT_wxUSE_NOTEBOOK=no
2328 DEFAULT_wxUSE_ODCOMBOBOX=no
2329 DEFAULT_wxUSE_RADIOBOX=no
2330 DEFAULT_wxUSE_RADIOBTN=no
2331 DEFAULT_wxUSE_SASH=no
2332 DEFAULT_wxUSE_SCROLLBAR=no
2333 DEFAULT_wxUSE_SLIDER=no
2334 DEFAULT_wxUSE_SPINBTN=no
2335 DEFAULT_wxUSE_SPINCTRL=no
2336 DEFAULT_wxUSE_SPLITTER=no
2337 DEFAULT_wxUSE_STATBMP=no
2338 DEFAULT_wxUSE_STATBOX=no
2339 DEFAULT_wxUSE_STATLINE=no
2340 DEFAULT_wxUSE_STATTEXT=no
2341 DEFAULT_wxUSE_STATUSBAR=yes
2342 DEFAULT_wxUSE_TAB_DIALOG=no
2343 DEFAULT_wxUSE_TEXTCTRL=no
2344 DEFAULT_wxUSE_TOGGLEBTN=no
2345 DEFAULT_wxUSE_TOOLBAR=no
2346 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2347 DEFAULT_wxUSE_TREEBOOK=no
2348 DEFAULT_wxUSE_TOOLBOOK=no
2349 DEFAULT_wxUSE_TREECTRL=no
2350 DEFAULT_wxUSE_POPUPWIN=no
2351 DEFAULT_wxUSE_TIPWINDOW=no
2352
2353 DEFAULT_wxUSE_UNICODE=no
2354 DEFAULT_wxUSE_UNICODE_MSLU=no
2355 DEFAULT_wxUSE_WCSRTOMBS=no
2356
2357 DEFAULT_wxUSE_PALETTE=no
2358 DEFAULT_wxUSE_IMAGE=no
2359 DEFAULT_wxUSE_GIF=no
2360 DEFAULT_wxUSE_PCX=no
2361 DEFAULT_wxUSE_PNM=no
2362 DEFAULT_wxUSE_IFF=no
2363 DEFAULT_wxUSE_XPM=no
2364 DEFAULT_wxUSE_ICO_CUR=no
2365 DEFAULT_wxUSE_ACCESSIBILITY=no
2366
2367 DEFAULT_wxUSE_MONOLITHIC=no
2368 DEFAULT_wxUSE_PLUGINS=no
2369 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2370 else
2371 DEFAULT_wxUSE_UNIVERSAL=no
2372 DEFAULT_wxUSE_STL=no
2373
2374 DEFAULT_wxUSE_NANOX=no
2375
2376 DEFAULT_wxUSE_THREADS=yes
2377
2378 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2379 DEFAULT_wxUSE_OPTIMISE=yes
2380 DEFAULT_wxUSE_PROFILE=no
2381 DEFAULT_wxUSE_NO_DEPS=no
2382 DEFAULT_wxUSE_NO_RTTI=no
2383 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2384 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2385 DEFAULT_wxUSE_RPATH=yes
2386 DEFAULT_wxUSE_PERMISSIVE=no
2387 DEFAULT_wxUSE_DEBUG_FLAG=no
2388 DEFAULT_wxUSE_DEBUG_INFO=no
2389 DEFAULT_wxUSE_DEBUG_GDB=no
2390 DEFAULT_wxUSE_MEM_TRACING=no
2391 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2392 DEFAULT_wxUSE_DMALLOC=no
2393 DEFAULT_wxUSE_APPLE_IEEE=yes
2394
2395 DEFAULT_wxUSE_EXCEPTIONS=yes
2396 DEFAULT_wxUSE_LOG=yes
2397 DEFAULT_wxUSE_LOGWINDOW=yes
2398 DEFAULT_wxUSE_LOGGUI=yes
2399 DEFAULT_wxUSE_LOGDIALOG=yes
2400
2401 DEFAULT_wxUSE_GUI=yes
2402
2403 DEFAULT_wxUSE_REGEX=yes
2404 DEFAULT_wxUSE_XML=yes
2405 DEFAULT_wxUSE_EXPAT=yes
2406 DEFAULT_wxUSE_ZLIB=yes
2407 DEFAULT_wxUSE_LIBPNG=yes
2408 DEFAULT_wxUSE_LIBJPEG=yes
2409 DEFAULT_wxUSE_LIBTIFF=yes
2410 DEFAULT_wxUSE_LIBXPM=yes
2411 DEFAULT_wxUSE_LIBMSPACK=yes
2412 DEFAULT_wxUSE_LIBSDL=no
2413 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2414 DEFAULT_wxUSE_LIBGNOMEVFS=no
2415 DEFAULT_wxUSE_LIBHILDON=no
2416 DEFAULT_wxUSE_ODBC=no
2417 DEFAULT_wxUSE_OPENGL=no
2418
2419 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2420 DEFAULT_wxUSE_STACKWALKER=yes
2421 DEFAULT_wxUSE_DEBUGREPORT=yes
2422 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2423 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2424 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2425 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2426 DEFAULT_wxUSE_DATETIME=yes
2427 DEFAULT_wxUSE_TIMER=yes
2428 DEFAULT_wxUSE_STOPWATCH=yes
2429 DEFAULT_wxUSE_FILE=yes
2430 DEFAULT_wxUSE_FFILE=yes
2431 DEFAULT_wxUSE_STDPATHS=yes
2432 DEFAULT_wxUSE_TEXTBUFFER=yes
2433 DEFAULT_wxUSE_TEXTFILE=yes
2434 DEFAULT_wxUSE_SOUND=yes
2435 DEFAULT_wxUSE_MEDIACTRL=no
2436 DEFAULT_wxUSE_GSTREAMER8=no
2437 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2438 DEFAULT_wxUSE_INTL=yes
2439 DEFAULT_wxUSE_CONFIG=yes
2440 DEFAULT_wxUSE_FONTMAP=yes
2441 DEFAULT_wxUSE_STREAMS=yes
2442 DEFAULT_wxUSE_SOCKETS=yes
2443 DEFAULT_wxUSE_OLE=yes
2444 DEFAULT_wxUSE_DATAOBJ=yes
2445 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2446 DEFAULT_wxUSE_JOYSTICK=yes
2447 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2448 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2449 DEFAULT_wxUSE_LONGLONG=yes
2450 DEFAULT_wxUSE_GEOMETRY=yes
2451
2452 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2453 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2454 DEFAULT_wxUSE_POSTSCRIPT=yes
2455
2456 DEFAULT_wxUSE_CLIPBOARD=yes
2457 DEFAULT_wxUSE_TOOLTIPS=yes
2458 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2459 DEFAULT_wxUSE_DRAGIMAGE=yes
2460 DEFAULT_wxUSE_SPLINES=yes
2461 DEFAULT_wxUSE_MOUSEWHEEL=yes
2462
2463 DEFAULT_wxUSE_MDI=yes
2464 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2465 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2466 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2467
2468 DEFAULT_wxUSE_RESOURCES=no
2469 DEFAULT_wxUSE_CONSTRAINTS=yes
2470 DEFAULT_wxUSE_IPC=yes
2471 DEFAULT_wxUSE_HELP=yes
2472 DEFAULT_wxUSE_MS_HTML_HELP=yes
2473 DEFAULT_wxUSE_WXHTML_HELP=yes
2474 DEFAULT_wxUSE_TREELAYOUT=yes
2475 DEFAULT_wxUSE_METAFILE=yes
2476 DEFAULT_wxUSE_MIMETYPE=yes
2477 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2478 DEFAULT_wxUSE_PROTOCOL=yes
2479 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2480 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2481 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2482 DEFAULT_wxUSE_URL=yes
2483
2484 DEFAULT_wxUSE_COMMONDLGS=yes
2485 DEFAULT_wxUSE_CHOICEDLG=yes
2486 DEFAULT_wxUSE_COLOURDLG=yes
2487 DEFAULT_wxUSE_DIRDLG=yes
2488 DEFAULT_wxUSE_FILEDLG=yes
2489 DEFAULT_wxUSE_FINDREPLDLG=yes
2490 DEFAULT_wxUSE_FONTDLG=yes
2491 DEFAULT_wxUSE_MSGDLG=yes
2492 DEFAULT_wxUSE_NUMBERDLG=yes
2493 DEFAULT_wxUSE_TEXTDLG=yes
2494 DEFAULT_wxUSE_SPLASH=yes
2495 DEFAULT_wxUSE_STARTUP_TIPS=yes
2496 DEFAULT_wxUSE_PROGRESSDLG=yes
2497 DEFAULT_wxUSE_WIZARDDLG=yes
2498
2499 DEFAULT_wxUSE_MENUS=yes
2500 DEFAULT_wxUSE_MINIFRAME=yes
2501 DEFAULT_wxUSE_HTML=yes
2502 DEFAULT_wxUSE_RICHTEXT=yes
2503 DEFAULT_wxUSE_XRC=yes
2504 DEFAULT_wxUSE_AUI=yes
2505 DEFAULT_wxUSE_WEBKIT=yes
2506 DEFAULT_wxUSE_FILESYSTEM=yes
2507 DEFAULT_wxUSE_FS_INET=yes
2508 DEFAULT_wxUSE_FS_ZIP=yes
2509 DEFAULT_wxUSE_BUSYINFO=yes
2510 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2511 DEFAULT_wxUSE_ZIPSTREAM=yes
2512 DEFAULT_wxUSE_VALIDATORS=yes
2513
2514 DEFAULT_wxUSE_ACCEL=yes
2515 DEFAULT_wxUSE_BUTTON=yes
2516 DEFAULT_wxUSE_BMPBUTTON=yes
2517 DEFAULT_wxUSE_CALCTRL=yes
2518 DEFAULT_wxUSE_CARET=yes
2519 DEFAULT_wxUSE_CHECKBOX=yes
2520 DEFAULT_wxUSE_CHECKLST=yes
2521 DEFAULT_wxUSE_CHOICE=yes
2522 DEFAULT_wxUSE_CHOICEBOOK=yes
2523 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2524 DEFAULT_wxUSE_COMBOBOX=yes
2525 DEFAULT_wxUSE_COMBOCTRL=yes
2526 DEFAULT_wxUSE_DATEPICKCTRL=yes
2527 DEFAULT_wxUSE_DISPLAY=yes
2528 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2529 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2530 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2531 DEFAULT_wxUSE_GAUGE=yes
2532 DEFAULT_wxUSE_GRID=yes
2533 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2534 DEFAULT_wxUSE_DATAVIEWCTRL=no
2535 DEFAULT_wxUSE_IMAGLIST=yes
2536 DEFAULT_wxUSE_LISTBOOK=yes
2537 DEFAULT_wxUSE_LISTBOX=yes
2538 DEFAULT_wxUSE_LISTCTRL=yes
2539 DEFAULT_wxUSE_NOTEBOOK=yes
2540 DEFAULT_wxUSE_ODCOMBOBOX=yes
2541 DEFAULT_wxUSE_RADIOBOX=yes
2542 DEFAULT_wxUSE_RADIOBTN=yes
2543 DEFAULT_wxUSE_SASH=yes
2544 DEFAULT_wxUSE_SCROLLBAR=yes
2545 DEFAULT_wxUSE_SLIDER=yes
2546 DEFAULT_wxUSE_SPINBTN=yes
2547 DEFAULT_wxUSE_SPINCTRL=yes
2548 DEFAULT_wxUSE_SPLITTER=yes
2549 DEFAULT_wxUSE_STATBMP=yes
2550 DEFAULT_wxUSE_STATBOX=yes
2551 DEFAULT_wxUSE_STATLINE=yes
2552 DEFAULT_wxUSE_STATTEXT=yes
2553 DEFAULT_wxUSE_STATUSBAR=yes
2554 DEFAULT_wxUSE_TAB_DIALOG=no
2555 DEFAULT_wxUSE_TEXTCTRL=yes
2556 DEFAULT_wxUSE_TOGGLEBTN=yes
2557 DEFAULT_wxUSE_TOOLBAR=yes
2558 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2559 DEFAULT_wxUSE_TREEBOOK=yes
2560 DEFAULT_wxUSE_TOOLBOOK=yes
2561 DEFAULT_wxUSE_TREECTRL=yes
2562 DEFAULT_wxUSE_POPUPWIN=yes
2563 DEFAULT_wxUSE_TIPWINDOW=yes
2564
2565 DEFAULT_wxUSE_UNICODE=no
2566 DEFAULT_wxUSE_UNICODE_MSLU=yes
2567 DEFAULT_wxUSE_WCSRTOMBS=no
2568
2569 DEFAULT_wxUSE_PALETTE=yes
2570 DEFAULT_wxUSE_IMAGE=yes
2571 DEFAULT_wxUSE_GIF=yes
2572 DEFAULT_wxUSE_PCX=yes
2573 DEFAULT_wxUSE_IFF=no
2574 DEFAULT_wxUSE_PNM=yes
2575 DEFAULT_wxUSE_XPM=yes
2576 DEFAULT_wxUSE_ICO_CUR=yes
2577 DEFAULT_wxUSE_ACCESSIBILITY=no
2578
2579 DEFAULT_wxUSE_MONOLITHIC=no
2580 DEFAULT_wxUSE_PLUGINS=no
2581 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2582
2583 DEFAULT_wxUSE_GTK2=yes
2584 fi
2585
2586
2587
2588
2589 for toolkit in `echo $ALL_TOOLKITS`; do
2590 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2591 if test "x$LINE" != "x" ; then
2592 has_toolkit_in_cache=1
2593 eval "DEFAULT_$LINE"
2594 eval "CACHE_$toolkit=1"
2595
2596 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2597 if test "x$LINE" != "x" ; then
2598 eval "DEFAULT_$LINE"
2599 fi
2600 fi
2601 done
2602
2603
2604
2605 enablestring=
2606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2607 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2608 no_cache=0
2609 # Check whether --enable-gui or --disable-gui was given.
2610 if test "${enable_gui+set}" = set; then
2611 enableval="$enable_gui"
2612
2613 if test "$enableval" = yes; then
2614 ac_cv_use_gui='wxUSE_GUI=yes'
2615 else
2616 ac_cv_use_gui='wxUSE_GUI=no'
2617 fi
2618
2619 else
2620
2621 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x ; then
2623 eval "DEFAULT_$LINE"
2624 else
2625 no_cache=1
2626 fi
2627
2628 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2629
2630 fi;
2631
2632 eval "$ac_cv_use_gui"
2633 if test "$no_cache" != 1; then
2634 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2635 fi
2636
2637 if test "$wxUSE_GUI" = yes; then
2638 echo "$as_me:$LINENO: result: yes" >&5
2639 echo "${ECHO_T}yes" >&6
2640 else
2641 echo "$as_me:$LINENO: result: no" >&5
2642 echo "${ECHO_T}no" >&6
2643 fi
2644
2645
2646 enablestring=
2647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2648 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2649 no_cache=0
2650 # Check whether --enable-monolithic or --disable-monolithic was given.
2651 if test "${enable_monolithic+set}" = set; then
2652 enableval="$enable_monolithic"
2653
2654 if test "$enableval" = yes; then
2655 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2656 else
2657 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2658 fi
2659
2660 else
2661
2662 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2663 if test "x$LINE" != x ; then
2664 eval "DEFAULT_$LINE"
2665 else
2666 no_cache=1
2667 fi
2668
2669 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2670
2671 fi;
2672
2673 eval "$ac_cv_use_monolithic"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2676 fi
2677
2678 if test "$wxUSE_MONOLITHIC" = yes; then
2679 echo "$as_me:$LINENO: result: yes" >&5
2680 echo "${ECHO_T}yes" >&6
2681 else
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2684 fi
2685
2686
2687 enablestring=
2688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2689 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2690 no_cache=0
2691 # Check whether --enable-plugins or --disable-plugins was given.
2692 if test "${enable_plugins+set}" = set; then
2693 enableval="$enable_plugins"
2694
2695 if test "$enableval" = yes; then
2696 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2697 else
2698 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2699 fi
2700
2701 else
2702
2703 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2704 if test "x$LINE" != x ; then
2705 eval "DEFAULT_$LINE"
2706 else
2707 no_cache=1
2708 fi
2709
2710 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2711
2712 fi;
2713
2714 eval "$ac_cv_use_plugins"
2715 if test "$no_cache" != 1; then
2716 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2717 fi
2718
2719 if test "$wxUSE_PLUGINS" = yes; then
2720 echo "$as_me:$LINENO: result: yes" >&5
2721 echo "${ECHO_T}yes" >&6
2722 else
2723 echo "$as_me:$LINENO: result: no" >&5
2724 echo "${ECHO_T}no" >&6
2725 fi
2726
2727
2728 withstring=without
2729 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2730 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2731 no_cache=0
2732
2733 # Check whether --with-subdirs or --without-subdirs was given.
2734 if test "${with_subdirs+set}" = set; then
2735 withval="$with_subdirs"
2736
2737 if test "$withval" = yes; then
2738 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2739 else
2740 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2741 fi
2742
2743 else
2744
2745 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2746 if test "x$LINE" != x ; then
2747 eval "DEFAULT_$LINE"
2748 else
2749 no_cache=1
2750 fi
2751
2752 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2753
2754 fi;
2755
2756 eval "$ac_cv_use_subdirs"
2757 if test "$no_cache" != 1; then
2758 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2759 fi
2760
2761 if test "$wxWITH_SUBDIRS" = yes; then
2762 echo "$as_me:$LINENO: result: yes" >&5
2763 echo "${ECHO_T}yes" >&6
2764 else
2765 echo "$as_me:$LINENO: result: no" >&5
2766 echo "${ECHO_T}no" >&6
2767 fi
2768
2769
2770 if test "$wxUSE_GUI" = "yes"; then
2771
2772
2773 enablestring=
2774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2775 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2776 no_cache=0
2777 # Check whether --enable-universal or --disable-universal was given.
2778 if test "${enable_universal+set}" = set; then
2779 enableval="$enable_universal"
2780
2781 if test "$enableval" = yes; then
2782 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2783 else
2784 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2785 fi
2786
2787 else
2788
2789 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x ; then
2791 eval "DEFAULT_$LINE"
2792 else
2793 no_cache=1
2794 fi
2795
2796 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2797
2798 fi;
2799
2800 eval "$ac_cv_use_universal"
2801 if test "$no_cache" != 1; then
2802 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2803 fi
2804
2805 if test "$wxUSE_UNIVERSAL" = yes; then
2806 echo "$as_me:$LINENO: result: yes" >&5
2807 echo "${ECHO_T}yes" >&6
2808 else
2809 echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2811 fi
2812
2813
2814 # Check whether --with-gtk or --without-gtk was given.
2815 if test "${with_gtk+set}" = set; then
2816 withval="$with_gtk"
2817 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2818 fi;
2819
2820 # Check whether --with-motif or --without-motif was given.
2821 if test "${with_motif+set}" = set; then
2822 withval="$with_motif"
2823 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2824 fi;
2825
2826 # Check whether --with-mac or --without-mac was given.
2827 if test "${with_mac+set}" = set; then
2828 withval="$with_mac"
2829 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2830 fi;
2831
2832 # Check whether --with-cocoa or --without-cocoa was given.
2833 if test "${with_cocoa+set}" = set; then
2834 withval="$with_cocoa"
2835 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2836 fi;
2837
2838 # Check whether --with-wine or --without-wine was given.
2839 if test "${with_wine+set}" = set; then
2840 withval="$with_wine"
2841 wxUSE_WINE="$withval" CACHE_WINE=1
2842 fi;
2843
2844 # Check whether --with-msw or --without-msw was given.
2845 if test "${with_msw+set}" = set; then
2846 withval="$with_msw"
2847 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2848 fi;
2849
2850 # Check whether --with-pm or --without-pm was given.
2851 if test "${with_pm+set}" = set; then
2852 withval="$with_pm"
2853 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2854 fi;
2855
2856 # Check whether --with-mgl or --without-mgl was given.
2857 if test "${with_mgl+set}" = set; then
2858 withval="$with_mgl"
2859 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2860 fi;
2861
2862 # Check whether --with-directfb or --without-directfb was given.
2863 if test "${with_directfb+set}" = set; then
2864 withval="$with_directfb"
2865 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2866 fi;
2867
2868 # Check whether --with-microwin or --without-microwin was given.
2869 if test "${with_microwin+set}" = set; then
2870 withval="$with_microwin"
2871 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2872 fi;
2873
2874 # Check whether --with-x11 or --without-x11 was given.
2875 if test "${with_x11+set}" = set; then
2876 withval="$with_x11"
2877 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2878 fi;
2879
2880 enablestring=
2881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2882 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2883 no_cache=0
2884 # Check whether --enable-nanox or --disable-nanox was given.
2885 if test "${enable_nanox+set}" = set; then
2886 enableval="$enable_nanox"
2887
2888 if test "$enableval" = yes; then
2889 ac_cv_use_nanox='wxUSE_NANOX=yes'
2890 else
2891 ac_cv_use_nanox='wxUSE_NANOX=no'
2892 fi
2893
2894 else
2895
2896 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2897 if test "x$LINE" != x ; then
2898 eval "DEFAULT_$LINE"
2899 else
2900 no_cache=1
2901 fi
2902
2903 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2904
2905 fi;
2906
2907 eval "$ac_cv_use_nanox"
2908 if test "$no_cache" != 1; then
2909 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2910 fi
2911
2912 if test "$wxUSE_NANOX" = yes; then
2913 echo "$as_me:$LINENO: result: yes" >&5
2914 echo "${ECHO_T}yes" >&6
2915 else
2916 echo "$as_me:$LINENO: result: no" >&5
2917 echo "${ECHO_T}no" >&6
2918 fi
2919
2920
2921 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2922 if test "${enable_gtk2+set}" = set; then
2923 enableval="$enable_gtk2"
2924 wxUSE_GTK2="$enableval"
2925 fi;
2926
2927 enablestring=
2928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2929 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2930 no_cache=0
2931 # Check whether --enable-gpe or --disable-gpe was given.
2932 if test "${enable_gpe+set}" = set; then
2933 enableval="$enable_gpe"
2934
2935 if test "$enableval" = yes; then
2936 ac_cv_use_gpe='wxUSE_GPE=yes'
2937 else
2938 ac_cv_use_gpe='wxUSE_GPE=no'
2939 fi
2940
2941 else
2942
2943 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x ; then
2945 eval "DEFAULT_$LINE"
2946 else
2947 no_cache=1
2948 fi
2949
2950 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2951
2952 fi;
2953
2954 eval "$ac_cv_use_gpe"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2957 fi
2958
2959 if test "$wxUSE_GPE" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2962 else
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2965 fi
2966
2967
2968
2969 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2970 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2971 no_cache=0
2972
2973 # Check whether --with-libpng or --without-libpng was given.
2974 if test "${with_libpng+set}" = set; then
2975 withval="$with_libpng"
2976
2977 if test "$withval" = yes; then
2978 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2979 elif test "$withval" = no; then
2980 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2981 elif test "$withval" = sys; then
2982 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2983 elif test "$withval" = builtin; then
2984 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2985 else
2986 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2987 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2988 { (exit 1); exit 1; }; }
2989 fi
2990
2991 else
2992
2993 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x ; then
2995 eval "DEFAULT_$LINE"
2996 else
2997 no_cache=1
2998 fi
2999
3000 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3001
3002 fi;
3003
3004 eval "$ac_cv_use_libpng"
3005 if test "$no_cache" != 1; then
3006 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3007 fi
3008
3009 if test "$wxUSE_LIBPNG" = yes; then
3010 echo "$as_me:$LINENO: result: yes" >&5
3011 echo "${ECHO_T}yes" >&6
3012 elif test "$wxUSE_LIBPNG" = no; then
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3015 elif test "$wxUSE_LIBPNG" = sys; then
3016 echo "$as_me:$LINENO: result: system version" >&5
3017 echo "${ECHO_T}system version" >&6
3018 elif test "$wxUSE_LIBPNG" = builtin; then
3019 echo "$as_me:$LINENO: result: builtin version" >&5
3020 echo "${ECHO_T}builtin version" >&6
3021 else
3022 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3023 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3024 { (exit 1); exit 1; }; }
3025 fi
3026
3027
3028 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3029 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3030 no_cache=0
3031
3032 # Check whether --with-libjpeg or --without-libjpeg was given.
3033 if test "${with_libjpeg+set}" = set; then
3034 withval="$with_libjpeg"
3035
3036 if test "$withval" = yes; then
3037 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3038 elif test "$withval" = no; then
3039 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3040 elif test "$withval" = sys; then
3041 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3042 elif test "$withval" = builtin; then
3043 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3044 else
3045 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3046 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3047 { (exit 1); exit 1; }; }
3048 fi
3049
3050 else
3051
3052 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3053 if test "x$LINE" != x ; then
3054 eval "DEFAULT_$LINE"
3055 else
3056 no_cache=1
3057 fi
3058
3059 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3060
3061 fi;
3062
3063 eval "$ac_cv_use_libjpeg"
3064 if test "$no_cache" != 1; then
3065 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3066 fi
3067
3068 if test "$wxUSE_LIBJPEG" = yes; then
3069 echo "$as_me:$LINENO: result: yes" >&5
3070 echo "${ECHO_T}yes" >&6
3071 elif test "$wxUSE_LIBJPEG" = no; then
3072 echo "$as_me:$LINENO: result: no" >&5
3073 echo "${ECHO_T}no" >&6
3074 elif test "$wxUSE_LIBJPEG" = sys; then
3075 echo "$as_me:$LINENO: result: system version" >&5
3076 echo "${ECHO_T}system version" >&6
3077 elif test "$wxUSE_LIBJPEG" = builtin; then
3078 echo "$as_me:$LINENO: result: builtin version" >&5
3079 echo "${ECHO_T}builtin version" >&6
3080 else
3081 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3082 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3083 { (exit 1); exit 1; }; }
3084 fi
3085
3086
3087 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3088 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3089 no_cache=0
3090
3091 # Check whether --with-libtiff or --without-libtiff was given.
3092 if test "${with_libtiff+set}" = set; then
3093 withval="$with_libtiff"
3094
3095 if test "$withval" = yes; then
3096 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3097 elif test "$withval" = no; then
3098 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3099 elif test "$withval" = sys; then
3100 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3101 elif test "$withval" = builtin; then
3102 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3103 else
3104 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3105 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3106 { (exit 1); exit 1; }; }
3107 fi
3108
3109 else
3110
3111 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x ; then
3113 eval "DEFAULT_$LINE"
3114 else
3115 no_cache=1
3116 fi
3117
3118 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3119
3120 fi;
3121
3122 eval "$ac_cv_use_libtiff"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3125 fi
3126
3127 if test "$wxUSE_LIBTIFF" = yes; then
3128 echo "$as_me:$LINENO: result: yes" >&5
3129 echo "${ECHO_T}yes" >&6
3130 elif test "$wxUSE_LIBTIFF" = no; then
3131 echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6
3133 elif test "$wxUSE_LIBTIFF" = sys; then
3134 echo "$as_me:$LINENO: result: system version" >&5
3135 echo "${ECHO_T}system version" >&6
3136 elif test "$wxUSE_LIBTIFF" = builtin; then
3137 echo "$as_me:$LINENO: result: builtin version" >&5
3138 echo "${ECHO_T}builtin version" >&6
3139 else
3140 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3141 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3142 { (exit 1); exit 1; }; }
3143 fi
3144
3145
3146 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3147 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3148 no_cache=0
3149
3150 # Check whether --with-libxpm or --without-libxpm was given.
3151 if test "${with_libxpm+set}" = set; then
3152 withval="$with_libxpm"
3153
3154 if test "$withval" = yes; then
3155 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3156 elif test "$withval" = no; then
3157 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3158 elif test "$withval" = sys; then
3159 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3160 elif test "$withval" = builtin; then
3161 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3162 else
3163 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3164 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3165 { (exit 1); exit 1; }; }
3166 fi
3167
3168 else
3169
3170 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3171 if test "x$LINE" != x ; then
3172 eval "DEFAULT_$LINE"
3173 else
3174 no_cache=1
3175 fi
3176
3177 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3178
3179 fi;
3180
3181 eval "$ac_cv_use_libxpm"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3184 fi
3185
3186 if test "$wxUSE_LIBXPM" = yes; then
3187 echo "$as_me:$LINENO: result: yes" >&5
3188 echo "${ECHO_T}yes" >&6
3189 elif test "$wxUSE_LIBXPM" = no; then
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3192 elif test "$wxUSE_LIBXPM" = sys; then
3193 echo "$as_me:$LINENO: result: system version" >&5
3194 echo "${ECHO_T}system version" >&6
3195 elif test "$wxUSE_LIBXPM" = builtin; then
3196 echo "$as_me:$LINENO: result: builtin version" >&5
3197 echo "${ECHO_T}builtin version" >&6
3198 else
3199 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3200 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3201 { (exit 1); exit 1; }; }
3202 fi
3203
3204
3205 withstring=
3206 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3207 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3208 no_cache=0
3209
3210 # Check whether --with-libmspack or --without-libmspack was given.
3211 if test "${with_libmspack+set}" = set; then
3212 withval="$with_libmspack"
3213
3214 if test "$withval" = yes; then
3215 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3216 else
3217 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3218 fi
3219
3220 else
3221
3222 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x ; then
3224 eval "DEFAULT_$LINE"
3225 else
3226 no_cache=1
3227 fi
3228
3229 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3230
3231 fi;
3232
3233 eval "$ac_cv_use_libmspack"
3234 if test "$no_cache" != 1; then
3235 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3236 fi
3237
3238 if test "$wxUSE_LIBMSPACK" = yes; then
3239 echo "$as_me:$LINENO: result: yes" >&5
3240 echo "${ECHO_T}yes" >&6
3241 else
3242 echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6
3244 fi
3245
3246
3247 withstring=
3248 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3249 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3250 no_cache=0
3251
3252 # Check whether --with-sdl or --without-sdl was given.
3253 if test "${with_sdl+set}" = set; then
3254 withval="$with_sdl"
3255
3256 if test "$withval" = yes; then
3257 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3258 else
3259 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3260 fi
3261
3262 else
3263
3264 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3265 if test "x$LINE" != x ; then
3266 eval "DEFAULT_$LINE"
3267 else
3268 no_cache=1
3269 fi
3270
3271 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3272
3273 fi;
3274
3275 eval "$ac_cv_use_sdl"
3276 if test "$no_cache" != 1; then
3277 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3278 fi
3279
3280 if test "$wxUSE_LIBSDL" = yes; then
3281 echo "$as_me:$LINENO: result: yes" >&5
3282 echo "${ECHO_T}yes" >&6
3283 else
3284 echo "$as_me:$LINENO: result: no" >&5
3285 echo "${ECHO_T}no" >&6
3286 fi
3287
3288
3289 withstring=
3290 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3291 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3292 no_cache=0
3293
3294 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3295 if test "${with_gnomeprint+set}" = set; then
3296 withval="$with_gnomeprint"
3297
3298 if test "$withval" = yes; then
3299 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3300 else
3301 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3302 fi
3303
3304 else
3305
3306 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x ; then
3308 eval "DEFAULT_$LINE"
3309 else
3310 no_cache=1
3311 fi
3312
3313 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3314
3315 fi;
3316
3317 eval "$ac_cv_use_gnomeprint"
3318 if test "$no_cache" != 1; then
3319 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3320 fi
3321
3322 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3323 echo "$as_me:$LINENO: result: yes" >&5
3324 echo "${ECHO_T}yes" >&6
3325 else
3326 echo "$as_me:$LINENO: result: no" >&5
3327 echo "${ECHO_T}no" >&6
3328 fi
3329
3330
3331 withstring=
3332 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3333 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3334 no_cache=0
3335
3336 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3337 if test "${with_gnomevfs+set}" = set; then
3338 withval="$with_gnomevfs"
3339
3340 if test "$withval" = yes; then
3341 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3342 else
3343 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3344 fi
3345
3346 else
3347
3348 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3349 if test "x$LINE" != x ; then
3350 eval "DEFAULT_$LINE"
3351 else
3352 no_cache=1
3353 fi
3354
3355 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3356
3357 fi;
3358
3359 eval "$ac_cv_use_gnomevfs"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3362 fi
3363
3364 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3365 echo "$as_me:$LINENO: result: yes" >&5
3366 echo "${ECHO_T}yes" >&6
3367 else
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3370 fi
3371
3372
3373 withstring=
3374 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3375 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3376 no_cache=0
3377
3378 # Check whether --with-hildon or --without-hildon was given.
3379 if test "${with_hildon+set}" = set; then
3380 withval="$with_hildon"
3381
3382 if test "$withval" = yes; then
3383 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3384 else
3385 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3386 fi
3387
3388 else
3389
3390 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3391 if test "x$LINE" != x ; then
3392 eval "DEFAULT_$LINE"
3393 else
3394 no_cache=1
3395 fi
3396
3397 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3398
3399 fi;
3400
3401 eval "$ac_cv_use_hildon"
3402 if test "$no_cache" != 1; then
3403 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3404 fi
3405
3406 if test "$wxUSE_LIBHILDON" = yes; then
3407 echo "$as_me:$LINENO: result: yes" >&5
3408 echo "${ECHO_T}yes" >&6
3409 else
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3412 fi
3413
3414
3415 withstring=
3416 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3417 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3418 no_cache=0
3419
3420 # Check whether --with-opengl or --without-opengl was given.
3421 if test "${with_opengl+set}" = set; then
3422 withval="$with_opengl"
3423
3424 if test "$withval" = yes; then
3425 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3426 else
3427 ac_cv_use_opengl='wxUSE_OPENGL=no'
3428 fi
3429
3430 else
3431
3432 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3433 if test "x$LINE" != x ; then
3434 eval "DEFAULT_$LINE"
3435 else
3436 no_cache=1
3437 fi
3438
3439 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3440
3441 fi;
3442
3443 eval "$ac_cv_use_opengl"
3444 if test "$no_cache" != 1; then
3445 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3446 fi
3447
3448 if test "$wxUSE_OPENGL" = yes; then
3449 echo "$as_me:$LINENO: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6
3451 else
3452 echo "$as_me:$LINENO: result: no" >&5
3453 echo "${ECHO_T}no" >&6
3454 fi
3455
3456
3457 fi
3458
3459
3460 withstring=
3461 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3462 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3463 no_cache=0
3464
3465 # Check whether --with-dmalloc or --without-dmalloc was given.
3466 if test "${with_dmalloc+set}" = set; then
3467 withval="$with_dmalloc"
3468
3469 if test "$withval" = yes; then
3470 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3471 else
3472 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3473 fi
3474
3475 else
3476
3477 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3478 if test "x$LINE" != x ; then
3479 eval "DEFAULT_$LINE"
3480 else
3481 no_cache=1
3482 fi
3483
3484 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3485
3486 fi;
3487
3488 eval "$ac_cv_use_dmalloc"
3489 if test "$no_cache" != 1; then
3490 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3491 fi
3492
3493 if test "$wxUSE_DMALLOC" = yes; then
3494 echo "$as_me:$LINENO: result: yes" >&5
3495 echo "${ECHO_T}yes" >&6
3496 else
3497 echo "$as_me:$LINENO: result: no" >&5
3498 echo "${ECHO_T}no" >&6
3499 fi
3500
3501
3502 echo "$as_me:$LINENO: checking for --with-regex" >&5
3503 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3504 no_cache=0
3505
3506 # Check whether --with-regex or --without-regex was given.
3507 if test "${with_regex+set}" = set; then
3508 withval="$with_regex"
3509
3510 if test "$withval" = yes; then
3511 ac_cv_use_regex='wxUSE_REGEX=yes'
3512 elif test "$withval" = no; then
3513 ac_cv_use_regex='wxUSE_REGEX=no'
3514 elif test "$withval" = sys; then
3515 ac_cv_use_regex='wxUSE_REGEX=sys'
3516 elif test "$withval" = builtin; then
3517 ac_cv_use_regex='wxUSE_REGEX=builtin'
3518 else
3519 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3520 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3521 { (exit 1); exit 1; }; }
3522 fi
3523
3524 else
3525
3526 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x ; then
3528 eval "DEFAULT_$LINE"
3529 else
3530 no_cache=1
3531 fi
3532
3533 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3534
3535 fi;
3536
3537 eval "$ac_cv_use_regex"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3540 fi
3541
3542 if test "$wxUSE_REGEX" = yes; then
3543 echo "$as_me:$LINENO: result: yes" >&5
3544 echo "${ECHO_T}yes" >&6
3545 elif test "$wxUSE_REGEX" = no; then
3546 echo "$as_me:$LINENO: result: no" >&5
3547 echo "${ECHO_T}no" >&6
3548 elif test "$wxUSE_REGEX" = sys; then
3549 echo "$as_me:$LINENO: result: system version" >&5
3550 echo "${ECHO_T}system version" >&6
3551 elif test "$wxUSE_REGEX" = builtin; then
3552 echo "$as_me:$LINENO: result: builtin version" >&5
3553 echo "${ECHO_T}builtin version" >&6
3554 else
3555 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3556 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3557 { (exit 1); exit 1; }; }
3558 fi
3559
3560
3561 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3562 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3563 no_cache=0
3564
3565 # Check whether --with-zlib or --without-zlib was given.
3566 if test "${with_zlib+set}" = set; then
3567 withval="$with_zlib"
3568
3569 if test "$withval" = yes; then
3570 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3571 elif test "$withval" = no; then
3572 ac_cv_use_zlib='wxUSE_ZLIB=no'
3573 elif test "$withval" = sys; then
3574 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3575 elif test "$withval" = builtin; then
3576 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3577 else
3578 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3579 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3580 { (exit 1); exit 1; }; }
3581 fi
3582
3583 else
3584
3585 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x ; then
3587 eval "DEFAULT_$LINE"
3588 else
3589 no_cache=1
3590 fi
3591
3592 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3593
3594 fi;
3595
3596 eval "$ac_cv_use_zlib"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3599 fi
3600
3601 if test "$wxUSE_ZLIB" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3604 elif test "$wxUSE_ZLIB" = no; then
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3607 elif test "$wxUSE_ZLIB" = sys; then
3608 echo "$as_me:$LINENO: result: system version" >&5
3609 echo "${ECHO_T}system version" >&6
3610 elif test "$wxUSE_ZLIB" = builtin; then
3611 echo "$as_me:$LINENO: result: builtin version" >&5
3612 echo "${ECHO_T}builtin version" >&6
3613 else
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3617 fi
3618
3619
3620 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3621 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3622 no_cache=0
3623
3624 # Check whether --with-odbc or --without-odbc was given.
3625 if test "${with_odbc+set}" = set; then
3626 withval="$with_odbc"
3627
3628 if test "$withval" = yes; then
3629 ac_cv_use_odbc='wxUSE_ODBC=yes'
3630 elif test "$withval" = no; then
3631 ac_cv_use_odbc='wxUSE_ODBC=no'
3632 elif test "$withval" = sys; then
3633 ac_cv_use_odbc='wxUSE_ODBC=sys'
3634 elif test "$withval" = builtin; then
3635 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3636 else
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3640 fi
3641
3642 else
3643
3644 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x ; then
3646 eval "DEFAULT_$LINE"
3647 else
3648 no_cache=1
3649 fi
3650
3651 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3652
3653 fi;
3654
3655 eval "$ac_cv_use_odbc"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3658 fi
3659
3660 if test "$wxUSE_ODBC" = yes; then
3661 echo "$as_me:$LINENO: result: yes" >&5
3662 echo "${ECHO_T}yes" >&6
3663 elif test "$wxUSE_ODBC" = no; then
3664 echo "$as_me:$LINENO: result: no" >&5
3665 echo "${ECHO_T}no" >&6
3666 elif test "$wxUSE_ODBC" = sys; then
3667 echo "$as_me:$LINENO: result: system version" >&5
3668 echo "${ECHO_T}system version" >&6
3669 elif test "$wxUSE_ODBC" = builtin; then
3670 echo "$as_me:$LINENO: result: builtin version" >&5
3671 echo "${ECHO_T}builtin version" >&6
3672 else
3673 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3674 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3675 { (exit 1); exit 1; }; }
3676 fi
3677
3678
3679 echo "$as_me:$LINENO: checking for --with-expat" >&5
3680 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3681 no_cache=0
3682
3683 # Check whether --with-expat or --without-expat was given.
3684 if test "${with_expat+set}" = set; then
3685 withval="$with_expat"
3686
3687 if test "$withval" = yes; then
3688 ac_cv_use_expat='wxUSE_EXPAT=yes'
3689 elif test "$withval" = no; then
3690 ac_cv_use_expat='wxUSE_EXPAT=no'
3691 elif test "$withval" = sys; then
3692 ac_cv_use_expat='wxUSE_EXPAT=sys'
3693 elif test "$withval" = builtin; then
3694 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3695 else
3696 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3697 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3698 { (exit 1); exit 1; }; }
3699 fi
3700
3701 else
3702
3703 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x ; then
3705 eval "DEFAULT_$LINE"
3706 else
3707 no_cache=1
3708 fi
3709
3710 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3711
3712 fi;
3713
3714 eval "$ac_cv_use_expat"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3717 fi
3718
3719 if test "$wxUSE_EXPAT" = yes; then
3720 echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6
3722 elif test "$wxUSE_EXPAT" = no; then
3723 echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6
3725 elif test "$wxUSE_EXPAT" = sys; then
3726 echo "$as_me:$LINENO: result: system version" >&5
3727 echo "${ECHO_T}system version" >&6
3728 elif test "$wxUSE_EXPAT" = builtin; then
3729 echo "$as_me:$LINENO: result: builtin version" >&5
3730 echo "${ECHO_T}builtin version" >&6
3731 else
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3735 fi
3736
3737
3738
3739
3740 enablestring=
3741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3742 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3743 no_cache=0
3744 # Check whether --enable-shared or --disable-shared was given.
3745 if test "${enable_shared+set}" = set; then
3746 enableval="$enable_shared"
3747
3748 if test "$enableval" = yes; then
3749 ac_cv_use_shared='wxUSE_SHARED=yes'
3750 else
3751 ac_cv_use_shared='wxUSE_SHARED=no'
3752 fi
3753
3754 else
3755
3756 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x ; then
3758 eval "DEFAULT_$LINE"
3759 else
3760 no_cache=1
3761 fi
3762
3763 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3764
3765 fi;
3766
3767 eval "$ac_cv_use_shared"
3768 if test "$no_cache" != 1; then
3769 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3770 fi
3771
3772 if test "$wxUSE_SHARED" = yes; then
3773 echo "$as_me:$LINENO: result: yes" >&5
3774 echo "${ECHO_T}yes" >&6
3775 else
3776 echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6
3778 fi
3779
3780
3781 enablestring=
3782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3783 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3784 no_cache=0
3785 # Check whether --enable-optimise or --disable-optimise was given.
3786 if test "${enable_optimise+set}" = set; then
3787 enableval="$enable_optimise"
3788
3789 if test "$enableval" = yes; then
3790 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3791 else
3792 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3793 fi
3794
3795 else
3796
3797 LINE=`grep "wxUSE_OPTIMISE" ${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_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3805
3806 fi;
3807
3808 eval "$ac_cv_use_optimise"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3811 fi
3812
3813 if test "$wxUSE_OPTIMISE" = 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}-debug" >&5
3824 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3825 no_cache=0
3826 # Check whether --enable-debug or --disable-debug was given.
3827 if test "${enable_debug+set}" = set; then
3828 enableval="$enable_debug"
3829
3830 if test "$enableval" = yes; then
3831 ac_cv_use_debug='wxUSE_DEBUG=yes'
3832 else
3833 ac_cv_use_debug='wxUSE_DEBUG=no'
3834 fi
3835
3836 else
3837
3838 LINE=`grep "wxUSE_DEBUG" ${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_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3846
3847 fi;
3848
3849 eval "$ac_cv_use_debug"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3852 fi
3853
3854 if test "$wxUSE_DEBUG" = 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}-stl" >&5
3865 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3866 no_cache=0
3867 # Check whether --enable-stl or --disable-stl was given.
3868 if test "${enable_stl+set}" = set; then
3869 enableval="$enable_stl"
3870
3871 if test "$enableval" = yes; then
3872 ac_cv_use_stl='wxUSE_STL=yes'
3873 else
3874 ac_cv_use_stl='wxUSE_STL=no'
3875 fi
3876
3877 else
3878
3879 LINE=`grep "wxUSE_STL" ${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_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3887
3888 fi;
3889
3890 eval "$ac_cv_use_stl"
3891 if test "$no_cache" != 1; then
3892 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3893 fi
3894
3895 if test "$wxUSE_STL" = 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 if test "$USE_OS2" = "1"; then
3904 DEFAULT_wxUSE_OMF=no
3905
3906 enablestring=
3907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3908 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3909 no_cache=0
3910 # Check whether --enable-omf or --disable-omf was given.
3911 if test "${enable_omf+set}" = set; then
3912 enableval="$enable_omf"
3913
3914 if test "$enableval" = yes; then
3915 ac_cv_use_omf='wxUSE_OMF=yes'
3916 else
3917 ac_cv_use_omf='wxUSE_OMF=no'
3918 fi
3919
3920 else
3921
3922 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x ; then
3924 eval "DEFAULT_$LINE"
3925 else
3926 no_cache=1
3927 fi
3928
3929 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3930
3931 fi;
3932
3933 eval "$ac_cv_use_omf"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3936 fi
3937
3938 if test "$wxUSE_OMF" = yes; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3941 else
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3944 fi
3945
3946 fi
3947
3948 if test "$wxUSE_DEBUG" = "yes"; then
3949 DEFAULT_wxUSE_DEBUG_FLAG=yes
3950 DEFAULT_wxUSE_DEBUG_INFO=yes
3951 BUILD=debug
3952 elif test "$wxUSE_DEBUG" = "no"; then
3953 DEFAULT_wxUSE_DEBUG_FLAG=no
3954 DEFAULT_wxUSE_DEBUG_INFO=no
3955 BUILD=release
3956 fi
3957
3958
3959 enablestring=
3960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3961 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3962 no_cache=0
3963 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3964 if test "${enable_debug_flag+set}" = set; then
3965 enableval="$enable_debug_flag"
3966
3967 if test "$enableval" = yes; then
3968 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3969 else
3970 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3971 fi
3972
3973 else
3974
3975 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3976 if test "x$LINE" != x ; then
3977 eval "DEFAULT_$LINE"
3978 else
3979 no_cache=1
3980 fi
3981
3982 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3983
3984 fi;
3985
3986 eval "$ac_cv_use_debug_flag"
3987 if test "$no_cache" != 1; then
3988 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3989 fi
3990
3991 if test "$wxUSE_DEBUG_FLAG" = yes; then
3992 echo "$as_me:$LINENO: result: yes" >&5
3993 echo "${ECHO_T}yes" >&6
3994 else
3995 echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6
3997 fi
3998
3999
4000 enablestring=
4001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4002 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4003 no_cache=0
4004 # Check whether --enable-debug_info or --disable-debug_info was given.
4005 if test "${enable_debug_info+set}" = set; then
4006 enableval="$enable_debug_info"
4007
4008 if test "$enableval" = yes; then
4009 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4010 else
4011 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4012 fi
4013
4014 else
4015
4016 LINE=`grep "wxUSE_DEBUG_INFO" ${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_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4024
4025 fi;
4026
4027 eval "$ac_cv_use_debug_info"
4028 if test "$no_cache" != 1; then
4029 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4030 fi
4031
4032 if test "$wxUSE_DEBUG_INFO" = 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_gdb" >&5
4043 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4044 no_cache=0
4045 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4046 if test "${enable_debug_gdb+set}" = set; then
4047 enableval="$enable_debug_gdb"
4048
4049 if test "$enableval" = yes; then
4050 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4051 else
4052 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4053 fi
4054
4055 else
4056
4057 LINE=`grep "wxUSE_DEBUG_GDB" ${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_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4065
4066 fi;
4067
4068 eval "$ac_cv_use_debug_gdb"
4069 if test "$no_cache" != 1; then
4070 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4071 fi
4072
4073 if test "$wxUSE_DEBUG_GDB" = 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_cntxt" >&5
4084 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4085 no_cache=0
4086 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4087 if test "${enable_debug_cntxt+set}" = set; then
4088 enableval="$enable_debug_cntxt"
4089
4090 if test "$enableval" = yes; then
4091 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4092 else
4093 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4094 fi
4095
4096 else
4097
4098 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${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_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4106
4107 fi;
4108
4109 eval "$ac_cv_use_debug_cntxt"
4110 if test "$no_cache" != 1; then
4111 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4112 fi
4113
4114 if test "$wxUSE_DEBUG_CONTEXT" = 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}-mem_tracing" >&5
4125 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4126 no_cache=0
4127 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4128 if test "${enable_mem_tracing+set}" = set; then
4129 enableval="$enable_mem_tracing"
4130
4131 if test "$enableval" = yes; then
4132 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4133 else
4134 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4135 fi
4136
4137 else
4138
4139 LINE=`grep "wxUSE_MEM_TRACING" ${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_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4147
4148 fi;
4149
4150 eval "$ac_cv_use_mem_tracing"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4153 fi
4154
4155 if test "$wxUSE_MEM_TRACING" = 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}-profile" >&5
4166 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4167 no_cache=0
4168 # Check whether --enable-profile or --disable-profile was given.
4169 if test "${enable_profile+set}" = set; then
4170 enableval="$enable_profile"
4171
4172 if test "$enableval" = yes; then
4173 ac_cv_use_profile='wxUSE_PROFILE=yes'
4174 else
4175 ac_cv_use_profile='wxUSE_PROFILE=no'
4176 fi
4177
4178 else
4179
4180 LINE=`grep "wxUSE_PROFILE" ${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_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4188
4189 fi;
4190
4191 eval "$ac_cv_use_profile"
4192 if test "$no_cache" != 1; then
4193 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4194 fi
4195
4196 if test "$wxUSE_PROFILE" = 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}-no_rtti" >&5
4207 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4208 no_cache=0
4209 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4210 if test "${enable_no_rtti+set}" = set; then
4211 enableval="$enable_no_rtti"
4212
4213 if test "$enableval" = yes; then
4214 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4215 else
4216 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4217 fi
4218
4219 else
4220
4221 LINE=`grep "wxUSE_NO_RTTI" ${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_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4229
4230 fi;
4231
4232 eval "$ac_cv_use_no_rtti"
4233 if test "$no_cache" != 1; then
4234 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4235 fi
4236
4237 if test "$wxUSE_NO_RTTI" = 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_exceptions" >&5
4248 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4249 no_cache=0
4250 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4251 if test "${enable_no_exceptions+set}" = set; then
4252 enableval="$enable_no_exceptions"
4253
4254 if test "$enableval" = yes; then
4255 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4256 else
4257 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4258 fi
4259
4260 else
4261
4262 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${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_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4270
4271 fi;
4272
4273 eval "$ac_cv_use_no_exceptions"
4274 if test "$no_cache" != 1; then
4275 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4276 fi
4277
4278 if test "$wxUSE_NO_EXCEPTIONS" = 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}-permissive" >&5
4289 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4290 no_cache=0
4291 # Check whether --enable-permissive or --disable-permissive was given.
4292 if test "${enable_permissive+set}" = set; then
4293 enableval="$enable_permissive"
4294
4295 if test "$enableval" = yes; then
4296 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4297 else
4298 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4299 fi
4300
4301 else
4302
4303 LINE=`grep "wxUSE_PERMISSIVE" ${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_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4311
4312 fi;
4313
4314 eval "$ac_cv_use_permissive"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4317 fi
4318
4319 if test "$wxUSE_PERMISSIVE" = 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}-no_deps" >&5
4330 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4331 no_cache=0
4332 # Check whether --enable-no_deps or --disable-no_deps was given.
4333 if test "${enable_no_deps+set}" = set; then
4334 enableval="$enable_no_deps"
4335
4336 if test "$enableval" = yes; then
4337 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4338 else
4339 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4340 fi
4341
4342 else
4343
4344 LINE=`grep "wxUSE_NO_DEPS" ${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_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4352
4353 fi;
4354
4355 eval "$ac_cv_use_no_deps"
4356 if test "$no_cache" != 1; then
4357 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4358 fi
4359
4360 if test "$wxUSE_NO_DEPS" = 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}-universal_binary" >&5
4371 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4372 no_cache=0
4373 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4374 if test "${enable_universal_binary+set}" = set; then
4375 enableval="$enable_universal_binary"
4376
4377 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4378
4379 else
4380
4381 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x ; then
4383 eval "DEFAULT_$LINE"
4384 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4385 else
4386 no_cache=1
4387 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4388 fi
4389
4390 fi;
4391
4392 eval "$wx_cv_use_universal_binary"
4393 if test "$no_cache" != 1; then
4394 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4395 fi
4396
4397 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4398 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4399
4400
4401
4402 enablestring=enable
4403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4404 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4405 no_cache=0
4406 # Check whether --enable-compat24 or --disable-compat24 was given.
4407 if test "${enable_compat24+set}" = set; then
4408 enableval="$enable_compat24"
4409
4410 if test "$enableval" = yes; then
4411 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4412 else
4413 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4414 fi
4415
4416 else
4417
4418 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4419 if test "x$LINE" != x ; then
4420 eval "DEFAULT_$LINE"
4421 else
4422 no_cache=1
4423 fi
4424
4425 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4426
4427 fi;
4428
4429 eval "$ac_cv_use_compat24"
4430 if test "$no_cache" != 1; then
4431 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4432 fi
4433
4434 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4435 echo "$as_me:$LINENO: result: yes" >&5
4436 echo "${ECHO_T}yes" >&6
4437 else
4438 echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6
4440 fi
4441
4442
4443 enablestring=disable
4444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4445 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4446 no_cache=0
4447 # Check whether --enable-compat26 or --disable-compat26 was given.
4448 if test "${enable_compat26+set}" = set; then
4449 enableval="$enable_compat26"
4450
4451 if test "$enableval" = yes; then
4452 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4453 else
4454 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4455 fi
4456
4457 else
4458
4459 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${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_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4467
4468 fi;
4469
4470 eval "$ac_cv_use_compat26"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4473 fi
4474
4475 if test "$WXWIN_COMPATIBILITY_2_6" = 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
4485 enablestring=
4486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4487 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4488 no_cache=0
4489 # Check whether --enable-rpath or --disable-rpath was given.
4490 if test "${enable_rpath+set}" = set; then
4491 enableval="$enable_rpath"
4492
4493 if test "$enableval" = yes; then
4494 ac_cv_use_rpath='wxUSE_RPATH=yes'
4495 else
4496 ac_cv_use_rpath='wxUSE_RPATH=no'
4497 fi
4498
4499 else
4500
4501 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x ; then
4503 eval "DEFAULT_$LINE"
4504 else
4505 no_cache=1
4506 fi
4507
4508 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4509
4510 fi;
4511
4512 eval "$ac_cv_use_rpath"
4513 if test "$no_cache" != 1; then
4514 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4515 fi
4516
4517 if test "$wxUSE_RPATH" = yes; then
4518 echo "$as_me:$LINENO: result: yes" >&5
4519 echo "${ECHO_T}yes" >&6
4520 else
4521 echo "$as_me:$LINENO: result: no" >&5
4522 echo "${ECHO_T}no" >&6
4523 fi
4524
4525
4526
4527
4528
4529 enablestring=
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4532 no_cache=0
4533 # Check whether --enable-intl or --disable-intl was given.
4534 if test "${enable_intl+set}" = set; then
4535 enableval="$enable_intl"
4536
4537 if test "$enableval" = yes; then
4538 ac_cv_use_intl='wxUSE_INTL=yes'
4539 else
4540 ac_cv_use_intl='wxUSE_INTL=no'
4541 fi
4542
4543 else
4544
4545 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4548 else
4549 no_cache=1
4550 fi
4551
4552 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4553
4554 fi;
4555
4556 eval "$ac_cv_use_intl"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4559 fi
4560
4561 if test "$wxUSE_INTL" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4564 else
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4567 fi
4568
4569
4570 enablestring=
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4573 no_cache=0
4574 # Check whether --enable-config or --disable-config was given.
4575 if test "${enable_config+set}" = set; then
4576 enableval="$enable_config"
4577
4578 if test "$enableval" = yes; then
4579 ac_cv_use_config='wxUSE_CONFIG=yes'
4580 else
4581 ac_cv_use_config='wxUSE_CONFIG=no'
4582 fi
4583
4584 else
4585
4586 LINE=`grep "wxUSE_CONFIG" ${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_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4594
4595 fi;
4596
4597 eval "$ac_cv_use_config"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4600 fi
4601
4602 if test "$wxUSE_CONFIG" = 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
4612 enablestring=
4613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4614 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4615 no_cache=0
4616 # Check whether --enable-protocols or --disable-protocols was given.
4617 if test "${enable_protocols+set}" = set; then
4618 enableval="$enable_protocols"
4619
4620 if test "$enableval" = yes; then
4621 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4622 else
4623 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4624 fi
4625
4626 else
4627
4628 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x ; then
4630 eval "DEFAULT_$LINE"
4631 else
4632 no_cache=1
4633 fi
4634
4635 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4636
4637 fi;
4638
4639 eval "$ac_cv_use_protocols"
4640 if test "$no_cache" != 1; then
4641 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4642 fi
4643
4644 if test "$wxUSE_PROTOCOL" = yes; then
4645 echo "$as_me:$LINENO: result: yes" >&5
4646 echo "${ECHO_T}yes" >&6
4647 else
4648 echo "$as_me:$LINENO: result: no" >&5
4649 echo "${ECHO_T}no" >&6
4650 fi
4651
4652
4653 enablestring=
4654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4655 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4656 no_cache=0
4657 # Check whether --enable-ftp or --disable-ftp was given.
4658 if test "${enable_ftp+set}" = set; then
4659 enableval="$enable_ftp"
4660
4661 if test "$enableval" = yes; then
4662 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4663 else
4664 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4665 fi
4666
4667 else
4668
4669 LINE=`grep "wxUSE_PROTOCOL_FTP" ${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_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4677
4678 fi;
4679
4680 eval "$ac_cv_use_ftp"
4681 if test "$no_cache" != 1; then
4682 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4683 fi
4684
4685 if test "$wxUSE_PROTOCOL_FTP" = 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}-http" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4697 no_cache=0
4698 # Check whether --enable-http or --disable-http was given.
4699 if test "${enable_http+set}" = set; then
4700 enableval="$enable_http"
4701
4702 if test "$enableval" = yes; then
4703 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4704 else
4705 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4706 fi
4707
4708 else
4709
4710 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${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_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4718
4719 fi;
4720
4721 eval "$ac_cv_use_http"
4722 if test "$no_cache" != 1; then
4723 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4724 fi
4725
4726 if test "$wxUSE_PROTOCOL_HTTP" = 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}-fileproto" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4738 no_cache=0
4739 # Check whether --enable-fileproto or --disable-fileproto was given.
4740 if test "${enable_fileproto+set}" = set; then
4741 enableval="$enable_fileproto"
4742
4743 if test "$enableval" = yes; then
4744 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4745 else
4746 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4747 fi
4748
4749 else
4750
4751 LINE=`grep "wxUSE_PROTOCOL_FILE" ${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_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4759
4760 fi;
4761
4762 eval "$ac_cv_use_fileproto"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4765 fi
4766
4767 if test "$wxUSE_PROTOCOL_FILE" = 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}-sockets" >&5
4778 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4779 no_cache=0
4780 # Check whether --enable-sockets or --disable-sockets was given.
4781 if test "${enable_sockets+set}" = set; then
4782 enableval="$enable_sockets"
4783
4784 if test "$enableval" = yes; then
4785 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4786 else
4787 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4788 fi
4789
4790 else
4791
4792 LINE=`grep "wxUSE_SOCKETS" ${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_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4800
4801 fi;
4802
4803 eval "$ac_cv_use_sockets"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4806 fi
4807
4808 if test "$wxUSE_SOCKETS" = 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}-ole" >&5
4819 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4820 no_cache=0
4821 # Check whether --enable-ole or --disable-ole was given.
4822 if test "${enable_ole+set}" = set; then
4823 enableval="$enable_ole"
4824
4825 if test "$enableval" = yes; then
4826 ac_cv_use_ole='wxUSE_OLE=yes'
4827 else
4828 ac_cv_use_ole='wxUSE_OLE=no'
4829 fi
4830
4831 else
4832
4833 LINE=`grep "wxUSE_OLE" ${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_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4841
4842 fi;
4843
4844 eval "$ac_cv_use_ole"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4847 fi
4848
4849 if test "$wxUSE_OLE" = 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}-dataobj" >&5
4860 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4861 no_cache=0
4862 # Check whether --enable-dataobj or --disable-dataobj was given.
4863 if test "${enable_dataobj+set}" = set; then
4864 enableval="$enable_dataobj"
4865
4866 if test "$enableval" = yes; then
4867 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4868 else
4869 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4870 fi
4871
4872 else
4873
4874 LINE=`grep "wxUSE_DATAOBJ" ${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_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4882
4883 fi;
4884
4885 eval "$ac_cv_use_dataobj"
4886 if test "$no_cache" != 1; then
4887 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4888 fi
4889
4890 if test "$wxUSE_DATAOBJ" = 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
4900 enablestring=
4901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4903 no_cache=0
4904 # Check whether --enable-ipc or --disable-ipc was given.
4905 if test "${enable_ipc+set}" = set; then
4906 enableval="$enable_ipc"
4907
4908 if test "$enableval" = yes; then
4909 ac_cv_use_ipc='wxUSE_IPC=yes'
4910 else
4911 ac_cv_use_ipc='wxUSE_IPC=no'
4912 fi
4913
4914 else
4915
4916 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x ; then
4918 eval "DEFAULT_$LINE"
4919 else
4920 no_cache=1
4921 fi
4922
4923 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4924
4925 fi;
4926
4927 eval "$ac_cv_use_ipc"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4930 fi
4931
4932 if test "$wxUSE_IPC" = yes; then
4933 echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6
4935 else
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4938 fi
4939
4940
4941
4942 enablestring=
4943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4945 no_cache=0
4946 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4947 if test "${enable_apple_ieee+set}" = set; then
4948 enableval="$enable_apple_ieee"
4949
4950 if test "$enableval" = yes; then
4951 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4952 else
4953 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4954 fi
4955
4956 else
4957
4958 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4959 if test "x$LINE" != x ; then
4960 eval "DEFAULT_$LINE"
4961 else
4962 no_cache=1
4963 fi
4964
4965 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4966
4967 fi;
4968
4969 eval "$ac_cv_use_apple_ieee"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4972 fi
4973
4974 if test "$wxUSE_APPLE_IEEE" = yes; then
4975 echo "$as_me:$LINENO: result: yes" >&5
4976 echo "${ECHO_T}yes" >&6
4977 else
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4980 fi
4981
4982
4983 enablestring=
4984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4986 no_cache=0
4987 # Check whether --enable-arcstream or --disable-arcstream was given.
4988 if test "${enable_arcstream+set}" = set; then
4989 enableval="$enable_arcstream"
4990
4991 if test "$enableval" = yes; then
4992 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4993 else
4994 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4995 fi
4996
4997 else
4998
4999 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${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_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5007
5008 fi;
5009
5010 eval "$ac_cv_use_arcstream"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5013 fi
5014
5015 if test "$wxUSE_ARCHIVE_STREAMS" = 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}-backtrace" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5027 no_cache=0
5028 # Check whether --enable-backtrace or --disable-backtrace was given.
5029 if test "${enable_backtrace+set}" = set; then
5030 enableval="$enable_backtrace"
5031
5032 if test "$enableval" = yes; then
5033 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5034 else
5035 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5036 fi
5037
5038 else
5039
5040 LINE=`grep "wxUSE_STACKWALKER" ${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_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5048
5049 fi;
5050
5051 eval "$ac_cv_use_backtrace"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5054 fi
5055
5056 if test "$wxUSE_STACKWALKER" = 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}-catch_segvs" >&5
5067 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5068 no_cache=0
5069 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5070 if test "${enable_catch_segvs+set}" = set; then
5071 enableval="$enable_catch_segvs"
5072
5073 if test "$enableval" = yes; then
5074 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5075 else
5076 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5077 fi
5078
5079 else
5080
5081 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${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_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5089
5090 fi;
5091
5092 eval "$ac_cv_use_catch_segvs"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5095 fi
5096
5097 if test "$wxUSE_ON_FATAL_EXCEPTION" = 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}-cmdline" >&5
5108 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5109 no_cache=0
5110 # Check whether --enable-cmdline or --disable-cmdline was given.
5111 if test "${enable_cmdline+set}" = set; then
5112 enableval="$enable_cmdline"
5113
5114 if test "$enableval" = yes; then
5115 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5116 else
5117 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5118 fi
5119
5120 else
5121
5122 LINE=`grep "wxUSE_CMDLINE_PARSER" ${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_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5130
5131 fi;
5132
5133 eval "$ac_cv_use_cmdline"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5136 fi
5137
5138 if test "$wxUSE_CMDLINE_PARSER" = 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}-datetime" >&5
5149 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5150 no_cache=0
5151 # Check whether --enable-datetime or --disable-datetime was given.
5152 if test "${enable_datetime+set}" = set; then
5153 enableval="$enable_datetime"
5154
5155 if test "$enableval" = yes; then
5156 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5157 else
5158 ac_cv_use_datetime='wxUSE_DATETIME=no'
5159 fi
5160
5161 else
5162
5163 LINE=`grep "wxUSE_DATETIME" ${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_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5171
5172 fi;
5173
5174 eval "$ac_cv_use_datetime"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5177 fi
5178
5179 if test "$wxUSE_DATETIME" = 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}-debugreport" >&5
5190 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5191 no_cache=0
5192 # Check whether --enable-debugreport or --disable-debugreport was given.
5193 if test "${enable_debugreport+set}" = set; then
5194 enableval="$enable_debugreport"
5195
5196 if test "$enableval" = yes; then
5197 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5198 else
5199 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5200 fi
5201
5202 else
5203
5204 LINE=`grep "wxUSE_DEBUGREPORT" ${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_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5212
5213 fi;
5214
5215 eval "$ac_cv_use_debugreport"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5218 fi
5219
5220 if test "$wxUSE_DEBUGREPORT" = 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}-dialupman" >&5
5231 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5232 no_cache=0
5233 # Check whether --enable-dialupman or --disable-dialupman was given.
5234 if test "${enable_dialupman+set}" = set; then
5235 enableval="$enable_dialupman"
5236
5237 if test "$enableval" = yes; then
5238 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5239 else
5240 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5241 fi
5242
5243 else
5244
5245 LINE=`grep "wxUSE_DIALUP_MANAGER" ${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_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5253
5254 fi;
5255
5256 eval "$ac_cv_use_dialupman"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5259 fi
5260
5261 if test "$wxUSE_DIALUP_MANAGER" = 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}-dynlib" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5273 no_cache=0
5274 # Check whether --enable-dynlib or --disable-dynlib was given.
5275 if test "${enable_dynlib+set}" = set; then
5276 enableval="$enable_dynlib"
5277
5278 if test "$enableval" = yes; then
5279 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5280 else
5281 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5282 fi
5283
5284 else
5285
5286 LINE=`grep "wxUSE_DYNLIB_CLASS" ${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_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5294
5295 fi;
5296
5297 eval "$ac_cv_use_dynlib"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5300 fi
5301
5302 if test "$wxUSE_DYNLIB_CLASS" = 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}-dynamicloader" >&5
5313 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5314 no_cache=0
5315 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5316 if test "${enable_dynamicloader+set}" = set; then
5317 enableval="$enable_dynamicloader"
5318
5319 if test "$enableval" = yes; then
5320 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5321 else
5322 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5323 fi
5324
5325 else
5326
5327 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${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_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5335
5336 fi;
5337
5338 eval "$ac_cv_use_dynamicloader"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5341 fi
5342
5343 if test "$wxUSE_DYNAMIC_LOADER" = 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}-exceptions" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5355 no_cache=0
5356 # Check whether --enable-exceptions or --disable-exceptions was given.
5357 if test "${enable_exceptions+set}" = set; then
5358 enableval="$enable_exceptions"
5359
5360 if test "$enableval" = yes; then
5361 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5362 else
5363 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5364 fi
5365
5366 else
5367
5368 LINE=`grep "wxUSE_EXCEPTIONS" ${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_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5376
5377 fi;
5378
5379 eval "$ac_cv_use_exceptions"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5382 fi
5383
5384 if test "$wxUSE_EXCEPTIONS" = 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}-ffile" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5396 no_cache=0
5397 # Check whether --enable-ffile or --disable-ffile was given.
5398 if test "${enable_ffile+set}" = set; then
5399 enableval="$enable_ffile"
5400
5401 if test "$enableval" = yes; then
5402 ac_cv_use_ffile='wxUSE_FFILE=yes'
5403 else
5404 ac_cv_use_ffile='wxUSE_FFILE=no'
5405 fi
5406
5407 else
5408
5409 LINE=`grep "wxUSE_FFILE" ${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_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5417
5418 fi;
5419
5420 eval "$ac_cv_use_ffile"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5423 fi
5424
5425 if test "$wxUSE_FFILE" = 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}-file" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5437 no_cache=0
5438 # Check whether --enable-file or --disable-file was given.
5439 if test "${enable_file+set}" = set; then
5440 enableval="$enable_file"
5441
5442 if test "$enableval" = yes; then
5443 ac_cv_use_file='wxUSE_FILE=yes'
5444 else
5445 ac_cv_use_file='wxUSE_FILE=no'
5446 fi
5447
5448 else
5449
5450 LINE=`grep "wxUSE_FILE" ${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_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5458
5459 fi;
5460
5461 eval "$ac_cv_use_file"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5464 fi
5465
5466 if test "$wxUSE_FILE" = 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}-filesystem" >&5
5477 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5478 no_cache=0
5479 # Check whether --enable-filesystem or --disable-filesystem was given.
5480 if test "${enable_filesystem+set}" = set; then
5481 enableval="$enable_filesystem"
5482
5483 if test "$enableval" = yes; then
5484 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5485 else
5486 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5487 fi
5488
5489 else
5490
5491 LINE=`grep "wxUSE_FILESYSTEM" ${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_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5499
5500 fi;
5501
5502 eval "$ac_cv_use_filesystem"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5505 fi
5506
5507 if test "$wxUSE_FILESYSTEM" = 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}-fontmap" >&5
5518 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5519 no_cache=0
5520 # Check whether --enable-fontmap or --disable-fontmap was given.
5521 if test "${enable_fontmap+set}" = set; then
5522 enableval="$enable_fontmap"
5523
5524 if test "$enableval" = yes; then
5525 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5526 else
5527 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5528 fi
5529
5530 else
5531
5532 LINE=`grep "wxUSE_FONTMAP" ${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_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5540
5541 fi;
5542
5543 eval "$ac_cv_use_fontmap"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5546 fi
5547
5548 if test "$wxUSE_FONTMAP" = 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}-fs_inet" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5560 no_cache=0
5561 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5562 if test "${enable_fs_inet+set}" = set; then
5563 enableval="$enable_fs_inet"
5564
5565 if test "$enableval" = yes; then
5566 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5567 else
5568 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5569 fi
5570
5571 else
5572
5573 LINE=`grep "wxUSE_FS_INET" ${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_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5581
5582 fi;
5583
5584 eval "$ac_cv_use_fs_inet"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5587 fi
5588
5589 if test "$wxUSE_FS_INET" = 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}-fs_zip" >&5
5600 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5601 no_cache=0
5602 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5603 if test "${enable_fs_zip+set}" = set; then
5604 enableval="$enable_fs_zip"
5605
5606 if test "$enableval" = yes; then
5607 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5608 else
5609 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5610 fi
5611
5612 else
5613
5614 LINE=`grep "wxUSE_FS_ZIP" ${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_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5622
5623 fi;
5624
5625 eval "$ac_cv_use_fs_zip"
5626 if test "$no_cache" != 1; then
5627 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5628 fi
5629
5630 if test "$wxUSE_FS_ZIP" = 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}-geometry" >&5
5641 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5642 no_cache=0
5643 # Check whether --enable-geometry or --disable-geometry was given.
5644 if test "${enable_geometry+set}" = set; then
5645 enableval="$enable_geometry"
5646
5647 if test "$enableval" = yes; then
5648 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5649 else
5650 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5651 fi
5652
5653 else
5654
5655 LINE=`grep "wxUSE_GEOMETRY" ${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_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5663
5664 fi;
5665
5666 eval "$ac_cv_use_geometry"
5667 if test "$no_cache" != 1; then
5668 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5669 fi
5670
5671 if test "$wxUSE_GEOMETRY" = 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}-log" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5683 no_cache=0
5684 # Check whether --enable-log or --disable-log was given.
5685 if test "${enable_log+set}" = set; then
5686 enableval="$enable_log"
5687
5688 if test "$enableval" = yes; then
5689 ac_cv_use_log='wxUSE_LOG=yes'
5690 else
5691 ac_cv_use_log='wxUSE_LOG=no'
5692 fi
5693
5694 else
5695
5696 LINE=`grep "wxUSE_LOG" ${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_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5704
5705 fi;
5706
5707 eval "$ac_cv_use_log"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5710 fi
5711
5712 if test "$wxUSE_LOG" = 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}-longlong" >&5
5723 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5724 no_cache=0
5725 # Check whether --enable-longlong or --disable-longlong was given.
5726 if test "${enable_longlong+set}" = set; then
5727 enableval="$enable_longlong"
5728
5729 if test "$enableval" = yes; then
5730 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5731 else
5732 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5733 fi
5734
5735 else
5736
5737 LINE=`grep "wxUSE_LONGLONG" ${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_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5745
5746 fi;
5747
5748 eval "$ac_cv_use_longlong"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5751 fi
5752
5753 if test "$wxUSE_LONGLONG" = 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}-mimetype" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5765 no_cache=0
5766 # Check whether --enable-mimetype or --disable-mimetype was given.
5767 if test "${enable_mimetype+set}" = set; then
5768 enableval="$enable_mimetype"
5769
5770 if test "$enableval" = yes; then
5771 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5772 else
5773 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5774 fi
5775
5776 else
5777
5778 LINE=`grep "wxUSE_MIMETYPE" ${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_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5786
5787 fi;
5788
5789 eval "$ac_cv_use_mimetype"
5790 if test "$no_cache" != 1; then
5791 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5792 fi
5793
5794 if test "$wxUSE_MIMETYPE" = 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}-mslu" >&5
5805 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5806 no_cache=0
5807 # Check whether --enable-mslu or --disable-mslu was given.
5808 if test "${enable_mslu+set}" = set; then
5809 enableval="$enable_mslu"
5810
5811 if test "$enableval" = yes; then
5812 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5813 else
5814 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5815 fi
5816
5817 else
5818
5819 LINE=`grep "wxUSE_UNICODE_MSLU" ${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_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5827
5828 fi;
5829
5830 eval "$ac_cv_use_mslu"
5831 if test "$no_cache" != 1; then
5832 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5833 fi
5834
5835 if test "$wxUSE_UNICODE_MSLU" = 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}-snglinst" >&5
5846 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5847 no_cache=0
5848 # Check whether --enable-snglinst or --disable-snglinst was given.
5849 if test "${enable_snglinst+set}" = set; then
5850 enableval="$enable_snglinst"
5851
5852 if test "$enableval" = yes; then
5853 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5854 else
5855 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5856 fi
5857
5858 else
5859
5860 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${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_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5868
5869 fi;
5870
5871 eval "$ac_cv_use_snglinst"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5874 fi
5875
5876 if test "$wxUSE_SNGLINST_CHECKER" = 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}-std_iostreams" >&5
5887 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5888 no_cache=0
5889 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5890 if test "${enable_std_iostreams+set}" = set; then
5891 enableval="$enable_std_iostreams"
5892
5893 if test "$enableval" = yes; then
5894 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5895 else
5896 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5897 fi
5898
5899 else
5900
5901 LINE=`grep "wxUSE_STD_IOSTREAM" ${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_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5909
5910 fi;
5911
5912 eval "$ac_cv_use_std_iostreams"
5913 if test "$no_cache" != 1; then
5914 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5915 fi
5916
5917 if test "$wxUSE_STD_IOSTREAM" = 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}-std_string" >&5
5928 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5929 no_cache=0
5930 # Check whether --enable-std_string or --disable-std_string was given.
5931 if test "${enable_std_string+set}" = set; then
5932 enableval="$enable_std_string"
5933
5934 if test "$enableval" = yes; then
5935 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5936 else
5937 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5938 fi
5939
5940 else
5941
5942 LINE=`grep "wxUSE_STD_STRING" ${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_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5950
5951 fi;
5952
5953 eval "$ac_cv_use_std_string"
5954 if test "$no_cache" != 1; then
5955 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5956 fi
5957
5958 if test "$wxUSE_STD_STRING" = 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}-stdpaths" >&5
5969 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5970 no_cache=0
5971 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5972 if test "${enable_stdpaths+set}" = set; then
5973 enableval="$enable_stdpaths"
5974
5975 if test "$enableval" = yes; then
5976 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5977 else
5978 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5979 fi
5980
5981 else
5982
5983 LINE=`grep "wxUSE_STDPATHS" ${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_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5991
5992 fi;
5993
5994 eval "$ac_cv_use_stdpaths"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5997 fi
5998
5999 if test "$wxUSE_STDPATHS" = 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}-stopwatch" >&5
6010 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6011 no_cache=0
6012 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6013 if test "${enable_stopwatch+set}" = set; then
6014 enableval="$enable_stopwatch"
6015
6016 if test "$enableval" = yes; then
6017 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6018 else
6019 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6020 fi
6021
6022 else
6023
6024 LINE=`grep "wxUSE_STOPWATCH" ${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_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6032
6033 fi;
6034
6035 eval "$ac_cv_use_stopwatch"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6038 fi
6039
6040 if test "$wxUSE_STOPWATCH" = 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}-streams" >&5
6051 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6052 no_cache=0
6053 # Check whether --enable-streams or --disable-streams was given.
6054 if test "${enable_streams+set}" = set; then
6055 enableval="$enable_streams"
6056
6057 if test "$enableval" = yes; then
6058 ac_cv_use_streams='wxUSE_STREAMS=yes'
6059 else
6060 ac_cv_use_streams='wxUSE_STREAMS=no'
6061 fi
6062
6063 else
6064
6065 LINE=`grep "wxUSE_STREAMS" ${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_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6073
6074 fi;
6075
6076 eval "$ac_cv_use_streams"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6079 fi
6080
6081 if test "$wxUSE_STREAMS" = 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}-system_options" >&5
6092 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6093 no_cache=0
6094 # Check whether --enable-system_options or --disable-system_options was given.
6095 if test "${enable_system_options+set}" = set; then
6096 enableval="$enable_system_options"
6097
6098 if test "$enableval" = yes; then
6099 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6100 else
6101 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6102 fi
6103
6104 else
6105
6106 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${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_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6114
6115 fi;
6116
6117 eval "$ac_cv_use_system_options"
6118 if test "$no_cache" != 1; then
6119 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6120 fi
6121
6122 if test "$wxUSE_SYSTEM_OPTIONS" = 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}-textbuf" >&5
6133 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6134 no_cache=0
6135 # Check whether --enable-textbuf or --disable-textbuf was given.
6136 if test "${enable_textbuf+set}" = set; then
6137 enableval="$enable_textbuf"
6138
6139 if test "$enableval" = yes; then
6140 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6141 else
6142 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6143 fi
6144
6145 else
6146
6147 LINE=`grep "wxUSE_TEXTBUFFER" ${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_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6155
6156 fi;
6157
6158 eval "$ac_cv_use_textbuf"
6159 if test "$no_cache" != 1; then
6160 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6161 fi
6162
6163 if test "$wxUSE_TEXTBUFFER" = 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}-textfile" >&5
6174 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6175 no_cache=0
6176 # Check whether --enable-textfile or --disable-textfile was given.
6177 if test "${enable_textfile+set}" = set; then
6178 enableval="$enable_textfile"
6179
6180 if test "$enableval" = yes; then
6181 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6182 else
6183 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6184 fi
6185
6186 else
6187
6188 LINE=`grep "wxUSE_TEXTFILE" ${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_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6196
6197 fi;
6198
6199 eval "$ac_cv_use_textfile"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6202 fi
6203
6204 if test "$wxUSE_TEXTFILE" = 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}-timer" >&5
6215 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6216 no_cache=0
6217 # Check whether --enable-timer or --disable-timer was given.
6218 if test "${enable_timer+set}" = set; then
6219 enableval="$enable_timer"
6220
6221 if test "$enableval" = yes; then
6222 ac_cv_use_timer='wxUSE_TIMER=yes'
6223 else
6224 ac_cv_use_timer='wxUSE_TIMER=no'
6225 fi
6226
6227 else
6228
6229 LINE=`grep "wxUSE_TIMER" ${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_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6237
6238 fi;
6239
6240 eval "$ac_cv_use_timer"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6243 fi
6244
6245 if test "$wxUSE_TIMER" = 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}-unicode" >&5
6256 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6257 no_cache=0
6258 # Check whether --enable-unicode or --disable-unicode was given.
6259 if test "${enable_unicode+set}" = set; then
6260 enableval="$enable_unicode"
6261
6262 if test "$enableval" = yes; then
6263 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6264 else
6265 ac_cv_use_unicode='wxUSE_UNICODE=no'
6266 fi
6267
6268 else
6269
6270 LINE=`grep "wxUSE_UNICODE" ${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_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6278
6279 fi;
6280
6281 eval "$ac_cv_use_unicode"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6284 fi
6285
6286 if test "$wxUSE_UNICODE" = 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}-sound" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6298 no_cache=0
6299 # Check whether --enable-sound or --disable-sound was given.
6300 if test "${enable_sound+set}" = set; then
6301 enableval="$enable_sound"
6302
6303 if test "$enableval" = yes; then
6304 ac_cv_use_sound='wxUSE_SOUND=yes'
6305 else
6306 ac_cv_use_sound='wxUSE_SOUND=no'
6307 fi
6308
6309 else
6310
6311 LINE=`grep "wxUSE_SOUND" ${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_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6319
6320 fi;
6321
6322 eval "$ac_cv_use_sound"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6325 fi
6326
6327 if test "$wxUSE_SOUND" = 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}-mediactrl" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6339 no_cache=0
6340 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6341 if test "${enable_mediactrl+set}" = set; then
6342 enableval="$enable_mediactrl"
6343
6344 if test "$enableval" = yes; then
6345 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6346 else
6347 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6348 fi
6349
6350 else
6351
6352 LINE=`grep "wxUSE_MEDIACTRL" ${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_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6360
6361 fi;
6362
6363 eval "$ac_cv_use_mediactrl"
6364 if test "$no_cache" != 1; then
6365 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6366 fi
6367
6368 if test "$wxUSE_MEDIACTRL" = 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}-gstreamer8" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6380 no_cache=0
6381 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6382 if test "${enable_gstreamer8+set}" = set; then
6383 enableval="$enable_gstreamer8"
6384
6385 if test "$enableval" = yes; then
6386 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6387 else
6388 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6389 fi
6390
6391 else
6392
6393 LINE=`grep "wxUSE_GSTREAMER8" ${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_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6401
6402 fi;
6403
6404 eval "$ac_cv_use_gstreamer8"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test "$wxUSE_GSTREAMER8" = 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}-printfposparam" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6421 no_cache=0
6422 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6423 if test "${enable_printfposparam+set}" = set; then
6424 enableval="$enable_printfposparam"
6425
6426 if test "$enableval" = yes; then
6427 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6428 else
6429 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6430 fi
6431
6432 else
6433
6434 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${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_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6442
6443 fi;
6444
6445 eval "$ac_cv_use_printfposparam"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6448 fi
6449
6450 if test "$wxUSE_PRINTF_POS_PARAMS" = 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}-zipstream" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6462 no_cache=0
6463 # Check whether --enable-zipstream or --disable-zipstream was given.
6464 if test "${enable_zipstream+set}" = set; then
6465 enableval="$enable_zipstream"
6466
6467 if test "$enableval" = yes; then
6468 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6469 else
6470 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6471 fi
6472
6473 else
6474
6475 LINE=`grep "wxUSE_ZIPSTREAM" ${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_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6483
6484 fi;
6485
6486 eval "$ac_cv_use_zipstream"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6489 fi
6490
6491 if test "$wxUSE_ZIPSTREAM" = 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
6501 enablestring=
6502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6503 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6504 no_cache=0
6505 # Check whether --enable-url or --disable-url was given.
6506 if test "${enable_url+set}" = set; then
6507 enableval="$enable_url"
6508
6509 if test "$enableval" = yes; then
6510 ac_cv_use_url='wxUSE_URL=yes'
6511 else
6512 ac_cv_use_url='wxUSE_URL=no'
6513 fi
6514
6515 else
6516
6517 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6518 if test "x$LINE" != x ; then
6519 eval "DEFAULT_$LINE"
6520 else
6521 no_cache=1
6522 fi
6523
6524 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6525
6526 fi;
6527
6528 eval "$ac_cv_use_url"
6529 if test "$no_cache" != 1; then
6530 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6531 fi
6532
6533 if test "$wxUSE_URL" = yes; then
6534 echo "$as_me:$LINENO: result: yes" >&5
6535 echo "${ECHO_T}yes" >&6
6536 else
6537 echo "$as_me:$LINENO: result: no" >&5
6538 echo "${ECHO_T}no" >&6
6539 fi
6540
6541
6542 enablestring=
6543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6544 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6545 no_cache=0
6546 # Check whether --enable-protocol or --disable-protocol was given.
6547 if test "${enable_protocol+set}" = set; then
6548 enableval="$enable_protocol"
6549
6550 if test "$enableval" = yes; then
6551 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6552 else
6553 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6554 fi
6555
6556 else
6557
6558 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6559 if test "x$LINE" != x ; then
6560 eval "DEFAULT_$LINE"
6561 else
6562 no_cache=1
6563 fi
6564
6565 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6566
6567 fi;
6568
6569 eval "$ac_cv_use_protocol"
6570 if test "$no_cache" != 1; then
6571 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6572 fi
6573
6574 if test "$wxUSE_PROTOCOL" = yes; then
6575 echo "$as_me:$LINENO: result: yes" >&5
6576 echo "${ECHO_T}yes" >&6
6577 else
6578 echo "$as_me:$LINENO: result: no" >&5
6579 echo "${ECHO_T}no" >&6
6580 fi
6581
6582
6583 enablestring=
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6586 no_cache=0
6587 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6588 if test "${enable_protocol_http+set}" = set; then
6589 enableval="$enable_protocol_http"
6590
6591 if test "$enableval" = yes; then
6592 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6593 else
6594 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6595 fi
6596
6597 else
6598
6599 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${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_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6607
6608 fi;
6609
6610 eval "$ac_cv_use_protocol_http"
6611 if test "$no_cache" != 1; then
6612 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6613 fi
6614
6615 if test "$wxUSE_PROTOCOL_HTTP" = 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}-protocol_ftp" >&5
6626 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6627 no_cache=0
6628 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6629 if test "${enable_protocol_ftp+set}" = set; then
6630 enableval="$enable_protocol_ftp"
6631
6632 if test "$enableval" = yes; then
6633 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6634 else
6635 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6636 fi
6637
6638 else
6639
6640 LINE=`grep "wxUSE_PROTOCOL_FTP" ${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_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6648
6649 fi;
6650
6651 eval "$ac_cv_use_protocol_ftp"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6654 fi
6655
6656 if test "$wxUSE_PROTOCOL_FTP" = 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_file" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6668 no_cache=0
6669 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6670 if test "${enable_protocol_file+set}" = set; then
6671 enableval="$enable_protocol_file"
6672
6673 if test "$enableval" = yes; then
6674 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6675 else
6676 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6677 fi
6678
6679 else
6680
6681 LINE=`grep "wxUSE_PROTOCOL_FILE" ${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_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6689
6690 fi;
6691
6692 eval "$ac_cv_use_protocol_file"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6695 fi
6696
6697 if test "$wxUSE_PROTOCOL_FILE" = 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
6707
6708
6709 enablestring=
6710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6711 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6712 no_cache=0
6713 # Check whether --enable-threads or --disable-threads was given.
6714 if test "${enable_threads+set}" = set; then
6715 enableval="$enable_threads"
6716
6717 if test "$enableval" = yes; then
6718 ac_cv_use_threads='wxUSE_THREADS=yes'
6719 else
6720 ac_cv_use_threads='wxUSE_THREADS=no'
6721 fi
6722
6723 else
6724
6725 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6726 if test "x$LINE" != x ; then
6727 eval "DEFAULT_$LINE"
6728 else
6729 no_cache=1
6730 fi
6731
6732 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6733
6734 fi;
6735
6736 eval "$ac_cv_use_threads"
6737 if test "$no_cache" != 1; then
6738 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6739 fi
6740
6741 if test "$wxUSE_THREADS" = yes; then
6742 echo "$as_me:$LINENO: result: yes" >&5
6743 echo "${ECHO_T}yes" >&6
6744 else
6745 echo "$as_me:$LINENO: result: no" >&5
6746 echo "${ECHO_T}no" >&6
6747 fi
6748
6749
6750 if test "$wxUSE_GUI" = "yes"; then
6751
6752
6753
6754 enablestring=
6755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6756 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6757 no_cache=0
6758 # Check whether --enable-docview or --disable-docview was given.
6759 if test "${enable_docview+set}" = set; then
6760 enableval="$enable_docview"
6761
6762 if test "$enableval" = yes; then
6763 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6764 else
6765 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6766 fi
6767
6768 else
6769
6770 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6771 if test "x$LINE" != x ; then
6772 eval "DEFAULT_$LINE"
6773 else
6774 no_cache=1
6775 fi
6776
6777 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6778
6779 fi;
6780
6781 eval "$ac_cv_use_docview"
6782 if test "$no_cache" != 1; then
6783 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6784 fi
6785
6786 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6787 echo "$as_me:$LINENO: result: yes" >&5
6788 echo "${ECHO_T}yes" >&6
6789 else
6790 echo "$as_me:$LINENO: result: no" >&5
6791 echo "${ECHO_T}no" >&6
6792 fi
6793
6794
6795 enablestring=
6796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6797 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6798 no_cache=0
6799 # Check whether --enable-help or --disable-help was given.
6800 if test "${enable_help+set}" = set; then
6801 enableval="$enable_help"
6802
6803 if test "$enableval" = yes; then
6804 ac_cv_use_help='wxUSE_HELP=yes'
6805 else
6806 ac_cv_use_help='wxUSE_HELP=no'
6807 fi
6808
6809 else
6810
6811 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6812 if test "x$LINE" != x ; then
6813 eval "DEFAULT_$LINE"
6814 else
6815 no_cache=1
6816 fi
6817
6818 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6819
6820 fi;
6821
6822 eval "$ac_cv_use_help"
6823 if test "$no_cache" != 1; then
6824 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6825 fi
6826
6827 if test "$wxUSE_HELP" = yes; then
6828 echo "$as_me:$LINENO: result: yes" >&5
6829 echo "${ECHO_T}yes" >&6
6830 else
6831 echo "$as_me:$LINENO: result: no" >&5
6832 echo "${ECHO_T}no" >&6
6833 fi
6834
6835
6836 enablestring=
6837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6838 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6839 no_cache=0
6840 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6841 if test "${enable_mshtmlhelp+set}" = set; then
6842 enableval="$enable_mshtmlhelp"
6843
6844 if test "$enableval" = yes; then
6845 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6846 else
6847 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6848 fi
6849
6850 else
6851
6852 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6853 if test "x$LINE" != x ; then
6854 eval "DEFAULT_$LINE"
6855 else
6856 no_cache=1
6857 fi
6858
6859 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6860
6861 fi;
6862
6863 eval "$ac_cv_use_mshtmlhelp"
6864 if test "$no_cache" != 1; then
6865 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6866 fi
6867
6868 if test "$wxUSE_MS_HTML_HELP" = yes; then
6869 echo "$as_me:$LINENO: result: yes" >&5
6870 echo "${ECHO_T}yes" >&6
6871 else
6872 echo "$as_me:$LINENO: result: no" >&5
6873 echo "${ECHO_T}no" >&6
6874 fi
6875
6876
6877 enablestring=
6878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6879 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6880 no_cache=0
6881 # Check whether --enable-html or --disable-html was given.
6882 if test "${enable_html+set}" = set; then
6883 enableval="$enable_html"
6884
6885 if test "$enableval" = yes; then
6886 ac_cv_use_html='wxUSE_HTML=yes'
6887 else
6888 ac_cv_use_html='wxUSE_HTML=no'
6889 fi
6890
6891 else
6892
6893 LINE=`grep "wxUSE_HTML" ${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_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6901
6902 fi;
6903
6904 eval "$ac_cv_use_html"
6905 if test "$no_cache" != 1; then
6906 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6907 fi
6908
6909 if test "$wxUSE_HTML" = 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}-htmlhelp" >&5
6920 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6921 no_cache=0
6922 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6923 if test "${enable_htmlhelp+set}" = set; then
6924 enableval="$enable_htmlhelp"
6925
6926 if test "$enableval" = yes; then
6927 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6928 else
6929 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6930 fi
6931
6932 else
6933
6934 LINE=`grep "wxUSE_WXHTML_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_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6942
6943 fi;
6944
6945 eval "$ac_cv_use_htmlhelp"
6946 if test "$no_cache" != 1; then
6947 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6948 fi
6949
6950 if test "$wxUSE_WXHTML_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}-xrc" >&5
6961 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6962 no_cache=0
6963 # Check whether --enable-xrc or --disable-xrc was given.
6964 if test "${enable_xrc+set}" = set; then
6965 enableval="$enable_xrc"
6966
6967 if test "$enableval" = yes; then
6968 ac_cv_use_xrc='wxUSE_XRC=yes'
6969 else
6970 ac_cv_use_xrc='wxUSE_XRC=no'
6971 fi
6972
6973 else
6974
6975 LINE=`grep "wxUSE_XRC" ${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_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6983
6984 fi;
6985
6986 eval "$ac_cv_use_xrc"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6989 fi
6990
6991 if test "$wxUSE_XRC" = 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}-aui" >&5
7002 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7003 no_cache=0
7004 # Check whether --enable-aui or --disable-aui was given.
7005 if test "${enable_aui+set}" = set; then
7006 enableval="$enable_aui"
7007
7008 if test "$enableval" = yes; then
7009 ac_cv_use_aui='wxUSE_AUI=yes'
7010 else
7011 ac_cv_use_aui='wxUSE_AUI=no'
7012 fi
7013
7014 else
7015
7016 LINE=`grep "wxUSE_AUI" ${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_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7024
7025 fi;
7026
7027 eval "$ac_cv_use_aui"
7028 if test "$no_cache" != 1; then
7029 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7030 fi
7031
7032 if test "$wxUSE_AUI" = 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}-constraints" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7044 no_cache=0
7045 # Check whether --enable-constraints or --disable-constraints was given.
7046 if test "${enable_constraints+set}" = set; then
7047 enableval="$enable_constraints"
7048
7049 if test "$enableval" = yes; then
7050 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7051 else
7052 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7053 fi
7054
7055 else
7056
7057 LINE=`grep "wxUSE_CONSTRAINTS" ${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_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7065
7066 fi;
7067
7068 eval "$ac_cv_use_constraints"
7069 if test "$no_cache" != 1; then
7070 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7071 fi
7072
7073 if test "$wxUSE_CONSTRAINTS" = 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}-printarch" >&5
7084 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7085 no_cache=0
7086 # Check whether --enable-printarch or --disable-printarch was given.
7087 if test "${enable_printarch+set}" = set; then
7088 enableval="$enable_printarch"
7089
7090 if test "$enableval" = yes; then
7091 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7092 else
7093 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7094 fi
7095
7096 else
7097
7098 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${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_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7106
7107 fi;
7108
7109 eval "$ac_cv_use_printarch"
7110 if test "$no_cache" != 1; then
7111 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7112 fi
7113
7114 if test "$wxUSE_PRINTING_ARCHITECTURE" = 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}-mdi" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7126 no_cache=0
7127 # Check whether --enable-mdi or --disable-mdi was given.
7128 if test "${enable_mdi+set}" = set; then
7129 enableval="$enable_mdi"
7130
7131 if test "$enableval" = yes; then
7132 ac_cv_use_mdi='wxUSE_MDI=yes'
7133 else
7134 ac_cv_use_mdi='wxUSE_MDI=no'
7135 fi
7136
7137 else
7138
7139 LINE=`grep "wxUSE_MDI" ${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_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7147
7148 fi;
7149
7150 eval "$ac_cv_use_mdi"
7151 if test "$no_cache" != 1; then
7152 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7153 fi
7154
7155 if test "$wxUSE_MDI" = 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}-mdidoc" >&5
7166 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7167 no_cache=0
7168 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7169 if test "${enable_mdidoc+set}" = set; then
7170 enableval="$enable_mdidoc"
7171
7172 if test "$enableval" = yes; then
7173 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7174 else
7175 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7176 fi
7177
7178 else
7179
7180 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${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_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7188
7189 fi;
7190
7191 eval "$ac_cv_use_mdidoc"
7192 if test "$no_cache" != 1; then
7193 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7194 fi
7195
7196 if test "$wxUSE_MDI_ARCHITECTURE" = 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}-loggui" >&5
7207 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7208 no_cache=0
7209 # Check whether --enable-loggui or --disable-loggui was given.
7210 if test "${enable_loggui+set}" = set; then
7211 enableval="$enable_loggui"
7212
7213 if test "$enableval" = yes; then
7214 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7215 else
7216 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7217 fi
7218
7219 else
7220
7221 LINE=`grep "wxUSE_LOGGUI" ${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_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7229
7230 fi;
7231
7232 eval "$ac_cv_use_loggui"
7233 if test "$no_cache" != 1; then
7234 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7235 fi
7236
7237 if test "$wxUSE_LOGGUI" = 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}-logwin" >&5
7248 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7249 no_cache=0
7250 # Check whether --enable-logwin or --disable-logwin was given.
7251 if test "${enable_logwin+set}" = set; then
7252 enableval="$enable_logwin"
7253
7254 if test "$enableval" = yes; then
7255 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7256 else
7257 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7258 fi
7259
7260 else
7261
7262 LINE=`grep "wxUSE_LOGWINDOW" ${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_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7270
7271 fi;
7272
7273 eval "$ac_cv_use_logwin"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7276 fi
7277
7278 if test "$wxUSE_LOGWINDOW" = 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}-logdialog" >&5
7289 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7290 no_cache=0
7291 # Check whether --enable-logdialog or --disable-logdialog was given.
7292 if test "${enable_logdialog+set}" = set; then
7293 enableval="$enable_logdialog"
7294
7295 if test "$enableval" = yes; then
7296 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7297 else
7298 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7299 fi
7300
7301 else
7302
7303 LINE=`grep "wxUSE_LOGDIALOG" ${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_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7311
7312 fi;
7313
7314 eval "$ac_cv_use_logdialog"
7315 if test "$no_cache" != 1; then
7316 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7317 fi
7318
7319 if test "$wxUSE_LOGDIALOG" = 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}-webkit" >&5
7330 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7331 no_cache=0
7332 # Check whether --enable-webkit or --disable-webkit was given.
7333 if test "${enable_webkit+set}" = set; then
7334 enableval="$enable_webkit"
7335
7336 if test "$enableval" = yes; then
7337 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7338 else
7339 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7340 fi
7341
7342 else
7343
7344 LINE=`grep "wxUSE_WEBKIT" ${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_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7352
7353 fi;
7354
7355 eval "$ac_cv_use_webkit"
7356 if test "$no_cache" != 1; then
7357 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7358 fi
7359
7360 if test "$wxUSE_WEBKIT" = 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}-html" >&5
7371 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7372 no_cache=0
7373 # Check whether --enable-html or --disable-html was given.
7374 if test "${enable_html+set}" = set; then
7375 enableval="$enable_html"
7376
7377 if test "$enableval" = yes; then
7378 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7379 else
7380 ac_cv_use_html='wxUSE_RICHTEXT=no'
7381 fi
7382
7383 else
7384
7385 LINE=`grep "wxUSE_RICHTEXT" ${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_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7393
7394 fi;
7395
7396 eval "$ac_cv_use_html"
7397 if test "$no_cache" != 1; then
7398 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7399 fi
7400
7401 if test "$wxUSE_RICHTEXT" = 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
7411 enablestring=
7412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7413 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7414 no_cache=0
7415 # Check whether --enable-postscript or --disable-postscript was given.
7416 if test "${enable_postscript+set}" = set; then
7417 enableval="$enable_postscript"
7418
7419 if test "$enableval" = yes; then
7420 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7421 else
7422 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7423 fi
7424
7425 else
7426
7427 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7428 if test "x$LINE" != x ; then
7429 eval "DEFAULT_$LINE"
7430 else
7431 no_cache=1
7432 fi
7433
7434 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7435
7436 fi;
7437
7438 eval "$ac_cv_use_postscript"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7441 fi
7442
7443 if test "$wxUSE_POSTSCRIPT" = yes; then
7444 echo "$as_me:$LINENO: result: yes" >&5
7445 echo "${ECHO_T}yes" >&6
7446 else
7447 echo "$as_me:$LINENO: result: no" >&5
7448 echo "${ECHO_T}no" >&6
7449 fi
7450
7451
7452
7453
7454
7455 enablestring=
7456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7457 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7458 no_cache=0
7459 # Check whether --enable-prologio or --disable-prologio was given.
7460 if test "${enable_prologio+set}" = set; then
7461 enableval="$enable_prologio"
7462
7463 if test "$enableval" = yes; then
7464 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7465 else
7466 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7467 fi
7468
7469 else
7470
7471 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7472 if test "x$LINE" != x ; then
7473 eval "DEFAULT_$LINE"
7474 else
7475 no_cache=1
7476 fi
7477
7478 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7479
7480 fi;
7481
7482 eval "$ac_cv_use_prologio"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7485 fi
7486
7487 if test "$wxUSE_PROLOGIO" = yes; then
7488 echo "$as_me:$LINENO: result: yes" >&5
7489 echo "${ECHO_T}yes" >&6
7490 else
7491 echo "$as_me:$LINENO: result: no" >&5
7492 echo "${ECHO_T}no" >&6
7493 fi
7494
7495
7496 enablestring=
7497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7498 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7499 no_cache=0
7500 # Check whether --enable-resources or --disable-resources was given.
7501 if test "${enable_resources+set}" = set; then
7502 enableval="$enable_resources"
7503
7504 if test "$enableval" = yes; then
7505 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7506 else
7507 ac_cv_use_resources='wxUSE_RESOURCES=no'
7508 fi
7509
7510 else
7511
7512 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7513 if test "x$LINE" != x ; then
7514 eval "DEFAULT_$LINE"
7515 else
7516 no_cache=1
7517 fi
7518
7519 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7520
7521 fi;
7522
7523 eval "$ac_cv_use_resources"
7524 if test "$no_cache" != 1; then
7525 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7526 fi
7527
7528 if test "$wxUSE_RESOURCES" = yes; then
7529 echo "$as_me:$LINENO: result: yes" >&5
7530 echo "${ECHO_T}yes" >&6
7531 else
7532 echo "$as_me:$LINENO: result: no" >&5
7533 echo "${ECHO_T}no" >&6
7534 fi
7535
7536
7537
7538
7539 enablestring=
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7542 no_cache=0
7543 # Check whether --enable-clipboard or --disable-clipboard was given.
7544 if test "${enable_clipboard+set}" = set; then
7545 enableval="$enable_clipboard"
7546
7547 if test "$enableval" = yes; then
7548 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7549 else
7550 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7551 fi
7552
7553 else
7554
7555 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x ; then
7557 eval "DEFAULT_$LINE"
7558 else
7559 no_cache=1
7560 fi
7561
7562 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7563
7564 fi;
7565
7566 eval "$ac_cv_use_clipboard"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7569 fi
7570
7571 if test "$wxUSE_CLIPBOARD" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7574 else
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7577 fi
7578
7579
7580 enablestring=
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7583 no_cache=0
7584 # Check whether --enable-dnd or --disable-dnd was given.
7585 if test "${enable_dnd+set}" = set; then
7586 enableval="$enable_dnd"
7587
7588 if test "$enableval" = yes; then
7589 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7590 else
7591 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7592 fi
7593
7594 else
7595
7596 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7599 else
7600 no_cache=1
7601 fi
7602
7603 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7604
7605 fi;
7606
7607 eval "$ac_cv_use_dnd"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7610 fi
7611
7612 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7615 else
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7618 fi
7619
7620
7621 enablestring=
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7624 no_cache=0
7625 # Check whether --enable-metafile or --disable-metafile was given.
7626 if test "${enable_metafile+set}" = set; then
7627 enableval="$enable_metafile"
7628
7629 if test "$enableval" = yes; then
7630 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7631 else
7632 ac_cv_use_metafile='wxUSE_METAFILE=no'
7633 fi
7634
7635 else
7636
7637 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7640 else
7641 no_cache=1
7642 fi
7643
7644 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7645
7646 fi;
7647
7648 eval "$ac_cv_use_metafile"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7651 fi
7652
7653 if test "$wxUSE_METAFILE" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7656 else
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7659 fi
7660
7661
7662
7663
7664
7665 enablestring=
7666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7667 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7668 no_cache=0
7669 # Check whether --enable-controls or --disable-controls was given.
7670 if test "${enable_controls+set}" = set; then
7671 enableval="$enable_controls"
7672
7673 if test "$enableval" = yes; then
7674 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7675 else
7676 ac_cv_use_controls='wxUSE_CONTROLS=no'
7677 fi
7678
7679 else
7680
7681 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x ; then
7683 eval "DEFAULT_$LINE"
7684 else
7685 no_cache=1
7686 fi
7687
7688 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7689
7690 fi;
7691
7692 eval "$ac_cv_use_controls"
7693 if test "$no_cache" != 1; then
7694 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7695 fi
7696
7697 if test "$wxUSE_CONTROLS" = yes; then
7698 echo "$as_me:$LINENO: result: yes" >&5
7699 echo "${ECHO_T}yes" >&6
7700 else
7701 echo "$as_me:$LINENO: result: no" >&5
7702 echo "${ECHO_T}no" >&6
7703 fi
7704
7705
7706 if test "$wxUSE_CONTROLS" = "yes"; then
7707 DEFAULT_wxUSE_ACCEL=yes
7708 DEFAULT_wxUSE_BMPBUTTON=yes
7709 DEFAULT_wxUSE_BUTTON=yes
7710 DEFAULT_wxUSE_CALCTRL=yes
7711 DEFAULT_wxUSE_CARET=yes
7712 DEFAULT_wxUSE_COMBOBOX=yes
7713 DEFAULT_wxUSE_CHECKBOX=yes
7714 DEFAULT_wxUSE_CHECKLISTBOX=yes
7715 DEFAULT_wxUSE_CHOICE=yes
7716 DEFAULT_wxUSE_CHOICEBOOK=yes
7717 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7718 DEFAULT_wxUSE_COMBOBOX=yes
7719 DEFAULT_wxUSE_DATEPICKCTRL=yes
7720 DEFAULT_wxUSE_DISPLAY=yes
7721 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7722 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7723 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7724 DEFAULT_wxUSE_GAUGE=yes
7725 DEFAULT_wxUSE_GRID=yes
7726 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7727 DEFAULT_wxUSE_DATAVIEWCTRL=no
7728 DEFAULT_wxUSE_IMAGLIST=yes
7729 DEFAULT_wxUSE_LISTBOOK=yes
7730 DEFAULT_wxUSE_LISTBOX=yes
7731 DEFAULT_wxUSE_LISTCTRL=yes
7732 DEFAULT_wxUSE_NOTEBOOK=yes
7733 DEFAULT_wxUSE_RADIOBOX=yes
7734 DEFAULT_wxUSE_RADIOBTN=yes
7735 DEFAULT_wxUSE_SASH=yes
7736 DEFAULT_wxUSE_SCROLLBAR=yes
7737 DEFAULT_wxUSE_SLIDER=yes
7738 DEFAULT_wxUSE_SPINBTN=yes
7739 DEFAULT_wxUSE_SPINCTRL=yes
7740 DEFAULT_wxUSE_SPLITTER=yes
7741 DEFAULT_wxUSE_STATBMP=yes
7742 DEFAULT_wxUSE_STATBOX=yes
7743 DEFAULT_wxUSE_STATLINE=yes
7744 DEFAULT_wxUSE_STATUSBAR=yes
7745 DEFAULT_wxUSE_TAB_DIALOG=yes
7746 DEFAULT_wxUSE_TOGGLEBTN=yes
7747 DEFAULT_wxUSE_TOOLBAR=yes
7748 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7749 DEFAULT_wxUSE_TOOLTIPS=yes
7750 DEFAULT_wxUSE_TREEBOOK=yes
7751 DEFAULT_wxUSE_TOOLBOOK=yes
7752 DEFAULT_wxUSE_TREECTRL=yes
7753 DEFAULT_wxUSE_POPUPWIN=yes
7754 DEFAULT_wxUSE_TIPWINDOW=yes
7755 elif test "$wxUSE_CONTROLS" = "no"; then
7756 DEFAULT_wxUSE_ACCEL=no
7757 DEFAULT_wxUSE_BMPBUTTON=no
7758 DEFAULT_wxUSE_BUTTON=no
7759 DEFAULT_wxUSE_CALCTRL=no
7760 DEFAULT_wxUSE_CARET=no
7761 DEFAULT_wxUSE_COMBOBOX=no
7762 DEFAULT_wxUSE_CHECKBOX=no
7763 DEFAULT_wxUSE_CHECKLISTBOX=no
7764 DEFAULT_wxUSE_CHOICE=no
7765 DEFAULT_wxUSE_CHOICEBOOK=no
7766 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7767 DEFAULT_wxUSE_COMBOBOX=no
7768 DEFAULT_wxUSE_DATEPICKCTRL=no
7769 DEFAULT_wxUSE_DISPLAY=no
7770 DEFAULT_wxUSE_DIRPICKERCTRL=no
7771 DEFAULT_wxUSE_FILEPICKERCTRL=no
7772 DEFAULT_wxUSE_FONTPICKERCTRL=no
7773 DEFAULT_wxUSE_GAUGE=no
7774 DEFAULT_wxUSE_GRID=no
7775 DEFAULT_wxUSE_HYPERLINKCTRL=no
7776 DEFAULT_wxUSE_DATAVIEWCTRL=no
7777 DEFAULT_wxUSE_IMAGLIST=no
7778 DEFAULT_wxUSE_LISTBOOK=no
7779 DEFAULT_wxUSE_LISTBOX=no
7780 DEFAULT_wxUSE_LISTCTRL=no
7781 DEFAULT_wxUSE_NOTEBOOK=no
7782 DEFAULT_wxUSE_RADIOBOX=no
7783 DEFAULT_wxUSE_RADIOBTN=no
7784 DEFAULT_wxUSE_SASH=no
7785 DEFAULT_wxUSE_SCROLLBAR=no
7786 DEFAULT_wxUSE_SLIDER=no
7787 DEFAULT_wxUSE_SPINBTN=no
7788 DEFAULT_wxUSE_SPINCTRL=no
7789 DEFAULT_wxUSE_SPLITTER=no
7790 DEFAULT_wxUSE_STATBMP=no
7791 DEFAULT_wxUSE_STATBOX=no
7792 DEFAULT_wxUSE_STATLINE=no
7793 DEFAULT_wxUSE_STATUSBAR=no
7794 DEFAULT_wxUSE_TAB_DIALOG=no
7795 DEFAULT_wxUSE_TOGGLEBTN=no
7796 DEFAULT_wxUSE_TOOLBAR=no
7797 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7798 DEFAULT_wxUSE_TOOLTIPS=no
7799 DEFAULT_wxUSE_TREEBOOK=no
7800 DEFAULT_wxUSE_TOOLBOOK=no
7801 DEFAULT_wxUSE_TREECTRL=no
7802 DEFAULT_wxUSE_POPUPWIN=no
7803 DEFAULT_wxUSE_TIPWINDOW=no
7804 fi
7805
7806
7807 enablestring=
7808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7809 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7810 no_cache=0
7811 # Check whether --enable-accel or --disable-accel was given.
7812 if test "${enable_accel+set}" = set; then
7813 enableval="$enable_accel"
7814
7815 if test "$enableval" = yes; then
7816 ac_cv_use_accel='wxUSE_ACCEL=yes'
7817 else
7818 ac_cv_use_accel='wxUSE_ACCEL=no'
7819 fi
7820
7821 else
7822
7823 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7824 if test "x$LINE" != x ; then
7825 eval "DEFAULT_$LINE"
7826 else
7827 no_cache=1
7828 fi
7829
7830 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7831
7832 fi;
7833
7834 eval "$ac_cv_use_accel"
7835 if test "$no_cache" != 1; then
7836 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7837 fi
7838
7839 if test "$wxUSE_ACCEL" = yes; then
7840 echo "$as_me:$LINENO: result: yes" >&5
7841 echo "${ECHO_T}yes" >&6
7842 else
7843 echo "$as_me:$LINENO: result: no" >&5
7844 echo "${ECHO_T}no" >&6
7845 fi
7846
7847
7848 enablestring=
7849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7851 no_cache=0
7852 # Check whether --enable-button or --disable-button was given.
7853 if test "${enable_button+set}" = set; then
7854 enableval="$enable_button"
7855
7856 if test "$enableval" = yes; then
7857 ac_cv_use_button='wxUSE_BUTTON=yes'
7858 else
7859 ac_cv_use_button='wxUSE_BUTTON=no'
7860 fi
7861
7862 else
7863
7864 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7865 if test "x$LINE" != x ; then
7866 eval "DEFAULT_$LINE"
7867 else
7868 no_cache=1
7869 fi
7870
7871 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7872
7873 fi;
7874
7875 eval "$ac_cv_use_button"
7876 if test "$no_cache" != 1; then
7877 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7878 fi
7879
7880 if test "$wxUSE_BUTTON" = yes; then
7881 echo "$as_me:$LINENO: result: yes" >&5
7882 echo "${ECHO_T}yes" >&6
7883 else
7884 echo "$as_me:$LINENO: result: no" >&5
7885 echo "${ECHO_T}no" >&6
7886 fi
7887
7888
7889 enablestring=
7890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7891 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7892 no_cache=0
7893 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7894 if test "${enable_bmpbutton+set}" = set; then
7895 enableval="$enable_bmpbutton"
7896
7897 if test "$enableval" = yes; then
7898 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7899 else
7900 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7901 fi
7902
7903 else
7904
7905 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7906 if test "x$LINE" != x ; then
7907 eval "DEFAULT_$LINE"
7908 else
7909 no_cache=1
7910 fi
7911
7912 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7913
7914 fi;
7915
7916 eval "$ac_cv_use_bmpbutton"
7917 if test "$no_cache" != 1; then
7918 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7919 fi
7920
7921 if test "$wxUSE_BMPBUTTON" = yes; then
7922 echo "$as_me:$LINENO: result: yes" >&5
7923 echo "${ECHO_T}yes" >&6
7924 else
7925 echo "$as_me:$LINENO: result: no" >&5
7926 echo "${ECHO_T}no" >&6
7927 fi
7928
7929
7930 enablestring=
7931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7933 no_cache=0
7934 # Check whether --enable-calendar or --disable-calendar was given.
7935 if test "${enable_calendar+set}" = set; then
7936 enableval="$enable_calendar"
7937
7938 if test "$enableval" = yes; then
7939 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7940 else
7941 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7942 fi
7943
7944 else
7945
7946 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7947 if test "x$LINE" != x ; then
7948 eval "DEFAULT_$LINE"
7949 else
7950 no_cache=1
7951 fi
7952
7953 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7954
7955 fi;
7956
7957 eval "$ac_cv_use_calendar"
7958 if test "$no_cache" != 1; then
7959 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7960 fi
7961
7962 if test "$wxUSE_CALCTRL" = yes; then
7963 echo "$as_me:$LINENO: result: yes" >&5
7964 echo "${ECHO_T}yes" >&6
7965 else
7966 echo "$as_me:$LINENO: result: no" >&5
7967 echo "${ECHO_T}no" >&6
7968 fi
7969
7970
7971 enablestring=
7972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7974 no_cache=0
7975 # Check whether --enable-caret or --disable-caret was given.
7976 if test "${enable_caret+set}" = set; then
7977 enableval="$enable_caret"
7978
7979 if test "$enableval" = yes; then
7980 ac_cv_use_caret='wxUSE_CARET=yes'
7981 else
7982 ac_cv_use_caret='wxUSE_CARET=no'
7983 fi
7984
7985 else
7986
7987 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7988 if test "x$LINE" != x ; then
7989 eval "DEFAULT_$LINE"
7990 else
7991 no_cache=1
7992 fi
7993
7994 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7995
7996 fi;
7997
7998 eval "$ac_cv_use_caret"
7999 if test "$no_cache" != 1; then
8000 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8001 fi
8002
8003 if test "$wxUSE_CARET" = yes; then
8004 echo "$as_me:$LINENO: result: yes" >&5
8005 echo "${ECHO_T}yes" >&6
8006 else
8007 echo "$as_me:$LINENO: result: no" >&5
8008 echo "${ECHO_T}no" >&6
8009 fi
8010
8011
8012 enablestring=
8013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8015 no_cache=0
8016 # Check whether --enable-checkbox or --disable-checkbox was given.
8017 if test "${enable_checkbox+set}" = set; then
8018 enableval="$enable_checkbox"
8019
8020 if test "$enableval" = yes; then
8021 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8022 else
8023 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8024 fi
8025
8026 else
8027
8028 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8029 if test "x$LINE" != x ; then
8030 eval "DEFAULT_$LINE"
8031 else
8032 no_cache=1
8033 fi
8034
8035 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8036
8037 fi;
8038
8039 eval "$ac_cv_use_checkbox"
8040 if test "$no_cache" != 1; then
8041 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8042 fi
8043
8044 if test "$wxUSE_CHECKBOX" = yes; then
8045 echo "$as_me:$LINENO: result: yes" >&5
8046 echo "${ECHO_T}yes" >&6
8047 else
8048 echo "$as_me:$LINENO: result: no" >&5
8049 echo "${ECHO_T}no" >&6
8050 fi
8051
8052
8053 enablestring=
8054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8055 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8056 no_cache=0
8057 # Check whether --enable-checklst or --disable-checklst was given.
8058 if test "${enable_checklst+set}" = set; then
8059 enableval="$enable_checklst"
8060
8061 if test "$enableval" = yes; then
8062 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8063 else
8064 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8065 fi
8066
8067 else
8068
8069 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8070 if test "x$LINE" != x ; then
8071 eval "DEFAULT_$LINE"
8072 else
8073 no_cache=1
8074 fi
8075
8076 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8077
8078 fi;
8079
8080 eval "$ac_cv_use_checklst"
8081 if test "$no_cache" != 1; then
8082 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8083 fi
8084
8085 if test "$wxUSE_CHECKLST" = yes; then
8086 echo "$as_me:$LINENO: result: yes" >&5
8087 echo "${ECHO_T}yes" >&6
8088 else
8089 echo "$as_me:$LINENO: result: no" >&5
8090 echo "${ECHO_T}no" >&6
8091 fi
8092
8093
8094 enablestring=
8095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8097 no_cache=0
8098 # Check whether --enable-choice or --disable-choice was given.
8099 if test "${enable_choice+set}" = set; then
8100 enableval="$enable_choice"
8101
8102 if test "$enableval" = yes; then
8103 ac_cv_use_choice='wxUSE_CHOICE=yes'
8104 else
8105 ac_cv_use_choice='wxUSE_CHOICE=no'
8106 fi
8107
8108 else
8109
8110 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8111 if test "x$LINE" != x ; then
8112 eval "DEFAULT_$LINE"
8113 else
8114 no_cache=1
8115 fi
8116
8117 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8118
8119 fi;
8120
8121 eval "$ac_cv_use_choice"
8122 if test "$no_cache" != 1; then
8123 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8124 fi
8125
8126 if test "$wxUSE_CHOICE" = yes; then
8127 echo "$as_me:$LINENO: result: yes" >&5
8128 echo "${ECHO_T}yes" >&6
8129 else
8130 echo "$as_me:$LINENO: result: no" >&5
8131 echo "${ECHO_T}no" >&6
8132 fi
8133
8134
8135 enablestring=
8136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8138 no_cache=0
8139 # Check whether --enable-choicebook or --disable-choicebook was given.
8140 if test "${enable_choicebook+set}" = set; then
8141 enableval="$enable_choicebook"
8142
8143 if test "$enableval" = yes; then
8144 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8145 else
8146 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8147 fi
8148
8149 else
8150
8151 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8152 if test "x$LINE" != x ; then
8153 eval "DEFAULT_$LINE"
8154 else
8155 no_cache=1
8156 fi
8157
8158 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8159
8160 fi;
8161
8162 eval "$ac_cv_use_choicebook"
8163 if test "$no_cache" != 1; then
8164 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8165 fi
8166
8167 if test "$wxUSE_CHOICEBOOK" = yes; then
8168 echo "$as_me:$LINENO: result: yes" >&5
8169 echo "${ECHO_T}yes" >&6
8170 else
8171 echo "$as_me:$LINENO: result: no" >&5
8172 echo "${ECHO_T}no" >&6
8173 fi
8174
8175
8176 enablestring=
8177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8178 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8179 no_cache=0
8180 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8181 if test "${enable_colourpicker+set}" = set; then
8182 enableval="$enable_colourpicker"
8183
8184 if test "$enableval" = yes; then
8185 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8186 else
8187 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8188 fi
8189
8190 else
8191
8192 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8193 if test "x$LINE" != x ; then
8194 eval "DEFAULT_$LINE"
8195 else
8196 no_cache=1
8197 fi
8198
8199 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8200
8201 fi;
8202
8203 eval "$ac_cv_use_colourpicker"
8204 if test "$no_cache" != 1; then
8205 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8206 fi
8207
8208 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8209 echo "$as_me:$LINENO: result: yes" >&5
8210 echo "${ECHO_T}yes" >&6
8211 else
8212 echo "$as_me:$LINENO: result: no" >&5
8213 echo "${ECHO_T}no" >&6
8214 fi
8215
8216
8217 enablestring=
8218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8219 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8220 no_cache=0
8221 # Check whether --enable-combobox or --disable-combobox was given.
8222 if test "${enable_combobox+set}" = set; then
8223 enableval="$enable_combobox"
8224
8225 if test "$enableval" = yes; then
8226 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8227 else
8228 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8229 fi
8230
8231 else
8232
8233 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8234 if test "x$LINE" != x ; then
8235 eval "DEFAULT_$LINE"
8236 else
8237 no_cache=1
8238 fi
8239
8240 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8241
8242 fi;
8243
8244 eval "$ac_cv_use_combobox"
8245 if test "$no_cache" != 1; then
8246 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8247 fi
8248
8249 if test "$wxUSE_COMBOBOX" = yes; then
8250 echo "$as_me:$LINENO: result: yes" >&5
8251 echo "${ECHO_T}yes" >&6
8252 else
8253 echo "$as_me:$LINENO: result: no" >&5
8254 echo "${ECHO_T}no" >&6
8255 fi
8256
8257
8258 enablestring=
8259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8260 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8261 no_cache=0
8262 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8263 if test "${enable_comboctrl+set}" = set; then
8264 enableval="$enable_comboctrl"
8265
8266 if test "$enableval" = yes; then
8267 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8268 else
8269 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8270 fi
8271
8272 else
8273
8274 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8275 if test "x$LINE" != x ; then
8276 eval "DEFAULT_$LINE"
8277 else
8278 no_cache=1
8279 fi
8280
8281 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8282
8283 fi;
8284
8285 eval "$ac_cv_use_comboctrl"
8286 if test "$no_cache" != 1; then
8287 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8288 fi
8289
8290 if test "$wxUSE_COMBOCTRL" = yes; then
8291 echo "$as_me:$LINENO: result: yes" >&5
8292 echo "${ECHO_T}yes" >&6
8293 else
8294 echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6
8296 fi
8297
8298
8299 enablestring=
8300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8302 no_cache=0
8303 # Check whether --enable-datepick or --disable-datepick was given.
8304 if test "${enable_datepick+set}" = set; then
8305 enableval="$enable_datepick"
8306
8307 if test "$enableval" = yes; then
8308 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8309 else
8310 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8311 fi
8312
8313 else
8314
8315 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8316 if test "x$LINE" != x ; then
8317 eval "DEFAULT_$LINE"
8318 else
8319 no_cache=1
8320 fi
8321
8322 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8323
8324 fi;
8325
8326 eval "$ac_cv_use_datepick"
8327 if test "$no_cache" != 1; then
8328 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8329 fi
8330
8331 if test "$wxUSE_DATEPICKCTRL" = yes; then
8332 echo "$as_me:$LINENO: result: yes" >&5
8333 echo "${ECHO_T}yes" >&6
8334 else
8335 echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6
8337 fi
8338
8339
8340 enablestring=
8341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8342 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8343 no_cache=0
8344 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8345 if test "${enable_dirpicker+set}" = set; then
8346 enableval="$enable_dirpicker"
8347
8348 if test "$enableval" = yes; then
8349 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8350 else
8351 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8352 fi
8353
8354 else
8355
8356 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8357 if test "x$LINE" != x ; then
8358 eval "DEFAULT_$LINE"
8359 else
8360 no_cache=1
8361 fi
8362
8363 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8364
8365 fi;
8366
8367 eval "$ac_cv_use_dirpicker"
8368 if test "$no_cache" != 1; then
8369 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8370 fi
8371
8372 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8373 echo "$as_me:$LINENO: result: yes" >&5
8374 echo "${ECHO_T}yes" >&6
8375 else
8376 echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6
8378 fi
8379
8380
8381 enablestring=
8382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8383 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8384 no_cache=0
8385 # Check whether --enable-display or --disable-display was given.
8386 if test "${enable_display+set}" = set; then
8387 enableval="$enable_display"
8388
8389 if test "$enableval" = yes; then
8390 ac_cv_use_display='wxUSE_DISPLAY=yes'
8391 else
8392 ac_cv_use_display='wxUSE_DISPLAY=no'
8393 fi
8394
8395 else
8396
8397 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8398 if test "x$LINE" != x ; then
8399 eval "DEFAULT_$LINE"
8400 else
8401 no_cache=1
8402 fi
8403
8404 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8405
8406 fi;
8407
8408 eval "$ac_cv_use_display"
8409 if test "$no_cache" != 1; then
8410 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8411 fi
8412
8413 if test "$wxUSE_DISPLAY" = yes; then
8414 echo "$as_me:$LINENO: result: yes" >&5
8415 echo "${ECHO_T}yes" >&6
8416 else
8417 echo "$as_me:$LINENO: result: no" >&5
8418 echo "${ECHO_T}no" >&6
8419 fi
8420
8421
8422 enablestring=
8423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8424 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8425 no_cache=0
8426 # Check whether --enable-filepicker or --disable-filepicker was given.
8427 if test "${enable_filepicker+set}" = set; then
8428 enableval="$enable_filepicker"
8429
8430 if test "$enableval" = yes; then
8431 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8432 else
8433 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8434 fi
8435
8436 else
8437
8438 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8439 if test "x$LINE" != x ; then
8440 eval "DEFAULT_$LINE"
8441 else
8442 no_cache=1
8443 fi
8444
8445 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8446
8447 fi;
8448
8449 eval "$ac_cv_use_filepicker"
8450 if test "$no_cache" != 1; then
8451 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8452 fi
8453
8454 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8455 echo "$as_me:$LINENO: result: yes" >&5
8456 echo "${ECHO_T}yes" >&6
8457 else
8458 echo "$as_me:$LINENO: result: no" >&5
8459 echo "${ECHO_T}no" >&6
8460 fi
8461
8462
8463 enablestring=
8464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8465 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8466 no_cache=0
8467 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8468 if test "${enable_fontpicker+set}" = set; then
8469 enableval="$enable_fontpicker"
8470
8471 if test "$enableval" = yes; then
8472 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8473 else
8474 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8475 fi
8476
8477 else
8478
8479 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8480 if test "x$LINE" != x ; then
8481 eval "DEFAULT_$LINE"
8482 else
8483 no_cache=1
8484 fi
8485
8486 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8487
8488 fi;
8489
8490 eval "$ac_cv_use_fontpicker"
8491 if test "$no_cache" != 1; then
8492 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8493 fi
8494
8495 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8496 echo "$as_me:$LINENO: result: yes" >&5
8497 echo "${ECHO_T}yes" >&6
8498 else
8499 echo "$as_me:$LINENO: result: no" >&5
8500 echo "${ECHO_T}no" >&6
8501 fi
8502
8503
8504 enablestring=
8505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8506 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8507 no_cache=0
8508 # Check whether --enable-gauge or --disable-gauge was given.
8509 if test "${enable_gauge+set}" = set; then
8510 enableval="$enable_gauge"
8511
8512 if test "$enableval" = yes; then
8513 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8514 else
8515 ac_cv_use_gauge='wxUSE_GAUGE=no'
8516 fi
8517
8518 else
8519
8520 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8521 if test "x$LINE" != x ; then
8522 eval "DEFAULT_$LINE"
8523 else
8524 no_cache=1
8525 fi
8526
8527 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8528
8529 fi;
8530
8531 eval "$ac_cv_use_gauge"
8532 if test "$no_cache" != 1; then
8533 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8534 fi
8535
8536 if test "$wxUSE_GAUGE" = yes; then
8537 echo "$as_me:$LINENO: result: yes" >&5
8538 echo "${ECHO_T}yes" >&6
8539 else
8540 echo "$as_me:$LINENO: result: no" >&5
8541 echo "${ECHO_T}no" >&6
8542 fi
8543
8544
8545 enablestring=
8546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8547 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8548 no_cache=0
8549 # Check whether --enable-grid or --disable-grid was given.
8550 if test "${enable_grid+set}" = set; then
8551 enableval="$enable_grid"
8552
8553 if test "$enableval" = yes; then
8554 ac_cv_use_grid='wxUSE_GRID=yes'
8555 else
8556 ac_cv_use_grid='wxUSE_GRID=no'
8557 fi
8558
8559 else
8560
8561 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8562 if test "x$LINE" != x ; then
8563 eval "DEFAULT_$LINE"
8564 else
8565 no_cache=1
8566 fi
8567
8568 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8569
8570 fi;
8571
8572 eval "$ac_cv_use_grid"
8573 if test "$no_cache" != 1; then
8574 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8575 fi
8576
8577 if test "$wxUSE_GRID" = yes; then
8578 echo "$as_me:$LINENO: result: yes" >&5
8579 echo "${ECHO_T}yes" >&6
8580 else
8581 echo "$as_me:$LINENO: result: no" >&5
8582 echo "${ECHO_T}no" >&6
8583 fi
8584
8585
8586 enablestring=
8587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8588 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8589 no_cache=0
8590 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8591 if test "${enable_dataviewctrl+set}" = set; then
8592 enableval="$enable_dataviewctrl"
8593
8594 if test "$enableval" = yes; then
8595 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8596 else
8597 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8598 fi
8599
8600 else
8601
8602 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8603 if test "x$LINE" != x ; then
8604 eval "DEFAULT_$LINE"
8605 else
8606 no_cache=1
8607 fi
8608
8609 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8610
8611 fi;
8612
8613 eval "$ac_cv_use_dataviewctrl"
8614 if test "$no_cache" != 1; then
8615 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8616 fi
8617
8618 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8619 echo "$as_me:$LINENO: result: yes" >&5
8620 echo "${ECHO_T}yes" >&6
8621 else
8622 echo "$as_me:$LINENO: result: no" >&5
8623 echo "${ECHO_T}no" >&6
8624 fi
8625
8626
8627 enablestring=
8628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8630 no_cache=0
8631 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8632 if test "${enable_hyperlink+set}" = set; then
8633 enableval="$enable_hyperlink"
8634
8635 if test "$enableval" = yes; then
8636 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8637 else
8638 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8639 fi
8640
8641 else
8642
8643 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8644 if test "x$LINE" != x ; then
8645 eval "DEFAULT_$LINE"
8646 else
8647 no_cache=1
8648 fi
8649
8650 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8651
8652 fi;
8653
8654 eval "$ac_cv_use_hyperlink"
8655 if test "$no_cache" != 1; then
8656 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8657 fi
8658
8659 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8660 echo "$as_me:$LINENO: result: yes" >&5
8661 echo "${ECHO_T}yes" >&6
8662 else
8663 echo "$as_me:$LINENO: result: no" >&5
8664 echo "${ECHO_T}no" >&6
8665 fi
8666
8667
8668 enablestring=
8669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8670 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8671 no_cache=0
8672 # Check whether --enable-imaglist or --disable-imaglist was given.
8673 if test "${enable_imaglist+set}" = set; then
8674 enableval="$enable_imaglist"
8675
8676 if test "$enableval" = yes; then
8677 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8678 else
8679 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8680 fi
8681
8682 else
8683
8684 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8685 if test "x$LINE" != x ; then
8686 eval "DEFAULT_$LINE"
8687 else
8688 no_cache=1
8689 fi
8690
8691 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8692
8693 fi;
8694
8695 eval "$ac_cv_use_imaglist"
8696 if test "$no_cache" != 1; then
8697 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8698 fi
8699
8700 if test "$wxUSE_IMAGLIST" = yes; then
8701 echo "$as_me:$LINENO: result: yes" >&5
8702 echo "${ECHO_T}yes" >&6
8703 else
8704 echo "$as_me:$LINENO: result: no" >&5
8705 echo "${ECHO_T}no" >&6
8706 fi
8707
8708
8709 enablestring=
8710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8711 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8712 no_cache=0
8713 # Check whether --enable-listbook or --disable-listbook was given.
8714 if test "${enable_listbook+set}" = set; then
8715 enableval="$enable_listbook"
8716
8717 if test "$enableval" = yes; then
8718 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8719 else
8720 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8721 fi
8722
8723 else
8724
8725 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8726 if test "x$LINE" != x ; then
8727 eval "DEFAULT_$LINE"
8728 else
8729 no_cache=1
8730 fi
8731
8732 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8733
8734 fi;
8735
8736 eval "$ac_cv_use_listbook"
8737 if test "$no_cache" != 1; then
8738 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8739 fi
8740
8741 if test "$wxUSE_LISTBOOK" = yes; then
8742 echo "$as_me:$LINENO: result: yes" >&5
8743 echo "${ECHO_T}yes" >&6
8744 else
8745 echo "$as_me:$LINENO: result: no" >&5
8746 echo "${ECHO_T}no" >&6
8747 fi
8748
8749
8750 enablestring=
8751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8752 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8753 no_cache=0
8754 # Check whether --enable-listbox or --disable-listbox was given.
8755 if test "${enable_listbox+set}" = set; then
8756 enableval="$enable_listbox"
8757
8758 if test "$enableval" = yes; then
8759 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8760 else
8761 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8762 fi
8763
8764 else
8765
8766 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8767 if test "x$LINE" != x ; then
8768 eval "DEFAULT_$LINE"
8769 else
8770 no_cache=1
8771 fi
8772
8773 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8774
8775 fi;
8776
8777 eval "$ac_cv_use_listbox"
8778 if test "$no_cache" != 1; then
8779 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8780 fi
8781
8782 if test "$wxUSE_LISTBOX" = yes; then
8783 echo "$as_me:$LINENO: result: yes" >&5
8784 echo "${ECHO_T}yes" >&6
8785 else
8786 echo "$as_me:$LINENO: result: no" >&5
8787 echo "${ECHO_T}no" >&6
8788 fi
8789
8790
8791 enablestring=
8792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8793 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8794 no_cache=0
8795 # Check whether --enable-listctrl or --disable-listctrl was given.
8796 if test "${enable_listctrl+set}" = set; then
8797 enableval="$enable_listctrl"
8798
8799 if test "$enableval" = yes; then
8800 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8801 else
8802 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8803 fi
8804
8805 else
8806
8807 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8808 if test "x$LINE" != x ; then
8809 eval "DEFAULT_$LINE"
8810 else
8811 no_cache=1
8812 fi
8813
8814 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8815
8816 fi;
8817
8818 eval "$ac_cv_use_listctrl"
8819 if test "$no_cache" != 1; then
8820 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8821 fi
8822
8823 if test "$wxUSE_LISTCTRL" = yes; then
8824 echo "$as_me:$LINENO: result: yes" >&5
8825 echo "${ECHO_T}yes" >&6
8826 else
8827 echo "$as_me:$LINENO: result: no" >&5
8828 echo "${ECHO_T}no" >&6
8829 fi
8830
8831
8832 enablestring=
8833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8834 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8835 no_cache=0
8836 # Check whether --enable-notebook or --disable-notebook was given.
8837 if test "${enable_notebook+set}" = set; then
8838 enableval="$enable_notebook"
8839
8840 if test "$enableval" = yes; then
8841 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8842 else
8843 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8844 fi
8845
8846 else
8847
8848 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8849 if test "x$LINE" != x ; then
8850 eval "DEFAULT_$LINE"
8851 else
8852 no_cache=1
8853 fi
8854
8855 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8856
8857 fi;
8858
8859 eval "$ac_cv_use_notebook"
8860 if test "$no_cache" != 1; then
8861 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8862 fi
8863
8864 if test "$wxUSE_NOTEBOOK" = yes; then
8865 echo "$as_me:$LINENO: result: yes" >&5
8866 echo "${ECHO_T}yes" >&6
8867 else
8868 echo "$as_me:$LINENO: result: no" >&5
8869 echo "${ECHO_T}no" >&6
8870 fi
8871
8872
8873 enablestring=
8874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8876 no_cache=0
8877 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8878 if test "${enable_odcombobox+set}" = set; then
8879 enableval="$enable_odcombobox"
8880
8881 if test "$enableval" = yes; then
8882 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
8883 else
8884 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
8885 fi
8886
8887 else
8888
8889 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8890 if test "x$LINE" != x ; then
8891 eval "DEFAULT_$LINE"
8892 else
8893 no_cache=1
8894 fi
8895
8896 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8897
8898 fi;
8899
8900 eval "$ac_cv_use_odcombobox"
8901 if test "$no_cache" != 1; then
8902 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8903 fi
8904
8905 if test "$wxUSE_ODCOMBOBOX" = yes; then
8906 echo "$as_me:$LINENO: result: yes" >&5
8907 echo "${ECHO_T}yes" >&6
8908 else
8909 echo "$as_me:$LINENO: result: no" >&5
8910 echo "${ECHO_T}no" >&6
8911 fi
8912
8913
8914 enablestring=
8915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8916 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8917 no_cache=0
8918 # Check whether --enable-radiobox or --disable-radiobox was given.
8919 if test "${enable_radiobox+set}" = set; then
8920 enableval="$enable_radiobox"
8921
8922 if test "$enableval" = yes; then
8923 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8924 else
8925 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8926 fi
8927
8928 else
8929
8930 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8931 if test "x$LINE" != x ; then
8932 eval "DEFAULT_$LINE"
8933 else
8934 no_cache=1
8935 fi
8936
8937 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8938
8939 fi;
8940
8941 eval "$ac_cv_use_radiobox"
8942 if test "$no_cache" != 1; then
8943 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8944 fi
8945
8946 if test "$wxUSE_RADIOBOX" = yes; then
8947 echo "$as_me:$LINENO: result: yes" >&5
8948 echo "${ECHO_T}yes" >&6
8949 else
8950 echo "$as_me:$LINENO: result: no" >&5
8951 echo "${ECHO_T}no" >&6
8952 fi
8953
8954
8955 enablestring=
8956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8957 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8958 no_cache=0
8959 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8960 if test "${enable_radiobtn+set}" = set; then
8961 enableval="$enable_radiobtn"
8962
8963 if test "$enableval" = yes; then
8964 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8965 else
8966 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8967 fi
8968
8969 else
8970
8971 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8972 if test "x$LINE" != x ; then
8973 eval "DEFAULT_$LINE"
8974 else
8975 no_cache=1
8976 fi
8977
8978 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8979
8980 fi;
8981
8982 eval "$ac_cv_use_radiobtn"
8983 if test "$no_cache" != 1; then
8984 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8985 fi
8986
8987 if test "$wxUSE_RADIOBTN" = yes; then
8988 echo "$as_me:$LINENO: result: yes" >&5
8989 echo "${ECHO_T}yes" >&6
8990 else
8991 echo "$as_me:$LINENO: result: no" >&5
8992 echo "${ECHO_T}no" >&6
8993 fi
8994
8995
8996 enablestring=
8997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8998 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8999 no_cache=0
9000 # Check whether --enable-sash or --disable-sash was given.
9001 if test "${enable_sash+set}" = set; then
9002 enableval="$enable_sash"
9003
9004 if test "$enableval" = yes; then
9005 ac_cv_use_sash='wxUSE_SASH=yes'
9006 else
9007 ac_cv_use_sash='wxUSE_SASH=no'
9008 fi
9009
9010 else
9011
9012 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9013 if test "x$LINE" != x ; then
9014 eval "DEFAULT_$LINE"
9015 else
9016 no_cache=1
9017 fi
9018
9019 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9020
9021 fi;
9022
9023 eval "$ac_cv_use_sash"
9024 if test "$no_cache" != 1; then
9025 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9026 fi
9027
9028 if test "$wxUSE_SASH" = yes; then
9029 echo "$as_me:$LINENO: result: yes" >&5
9030 echo "${ECHO_T}yes" >&6
9031 else
9032 echo "$as_me:$LINENO: result: no" >&5
9033 echo "${ECHO_T}no" >&6
9034 fi
9035
9036
9037 enablestring=
9038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9040 no_cache=0
9041 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9042 if test "${enable_scrollbar+set}" = set; then
9043 enableval="$enable_scrollbar"
9044
9045 if test "$enableval" = yes; then
9046 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9047 else
9048 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9049 fi
9050
9051 else
9052
9053 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9054 if test "x$LINE" != x ; then
9055 eval "DEFAULT_$LINE"
9056 else
9057 no_cache=1
9058 fi
9059
9060 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9061
9062 fi;
9063
9064 eval "$ac_cv_use_scrollbar"
9065 if test "$no_cache" != 1; then
9066 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9067 fi
9068
9069 if test "$wxUSE_SCROLLBAR" = yes; then
9070 echo "$as_me:$LINENO: result: yes" >&5
9071 echo "${ECHO_T}yes" >&6
9072 else
9073 echo "$as_me:$LINENO: result: no" >&5
9074 echo "${ECHO_T}no" >&6
9075 fi
9076
9077
9078 enablestring=
9079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9080 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9081 no_cache=0
9082 # Check whether --enable-slider or --disable-slider was given.
9083 if test "${enable_slider+set}" = set; then
9084 enableval="$enable_slider"
9085
9086 if test "$enableval" = yes; then
9087 ac_cv_use_slider='wxUSE_SLIDER=yes'
9088 else
9089 ac_cv_use_slider='wxUSE_SLIDER=no'
9090 fi
9091
9092 else
9093
9094 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9095 if test "x$LINE" != x ; then
9096 eval "DEFAULT_$LINE"
9097 else
9098 no_cache=1
9099 fi
9100
9101 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9102
9103 fi;
9104
9105 eval "$ac_cv_use_slider"
9106 if test "$no_cache" != 1; then
9107 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9108 fi
9109
9110 if test "$wxUSE_SLIDER" = yes; then
9111 echo "$as_me:$LINENO: result: yes" >&5
9112 echo "${ECHO_T}yes" >&6
9113 else
9114 echo "$as_me:$LINENO: result: no" >&5
9115 echo "${ECHO_T}no" >&6
9116 fi
9117
9118
9119 enablestring=
9120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9121 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9122 no_cache=0
9123 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9124 if test "${enable_spinbtn+set}" = set; then
9125 enableval="$enable_spinbtn"
9126
9127 if test "$enableval" = yes; then
9128 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9129 else
9130 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9131 fi
9132
9133 else
9134
9135 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9136 if test "x$LINE" != x ; then
9137 eval "DEFAULT_$LINE"
9138 else
9139 no_cache=1
9140 fi
9141
9142 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9143
9144 fi;
9145
9146 eval "$ac_cv_use_spinbtn"
9147 if test "$no_cache" != 1; then
9148 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9149 fi
9150
9151 if test "$wxUSE_SPINBTN" = yes; then
9152 echo "$as_me:$LINENO: result: yes" >&5
9153 echo "${ECHO_T}yes" >&6
9154 else
9155 echo "$as_me:$LINENO: result: no" >&5
9156 echo "${ECHO_T}no" >&6
9157 fi
9158
9159
9160 enablestring=
9161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9163 no_cache=0
9164 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9165 if test "${enable_spinctrl+set}" = set; then
9166 enableval="$enable_spinctrl"
9167
9168 if test "$enableval" = yes; then
9169 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9170 else
9171 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9172 fi
9173
9174 else
9175
9176 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9177 if test "x$LINE" != x ; then
9178 eval "DEFAULT_$LINE"
9179 else
9180 no_cache=1
9181 fi
9182
9183 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9184
9185 fi;
9186
9187 eval "$ac_cv_use_spinctrl"
9188 if test "$no_cache" != 1; then
9189 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9190 fi
9191
9192 if test "$wxUSE_SPINCTRL" = yes; then
9193 echo "$as_me:$LINENO: result: yes" >&5
9194 echo "${ECHO_T}yes" >&6
9195 else
9196 echo "$as_me:$LINENO: result: no" >&5
9197 echo "${ECHO_T}no" >&6
9198 fi
9199
9200
9201 enablestring=
9202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9204 no_cache=0
9205 # Check whether --enable-splitter or --disable-splitter was given.
9206 if test "${enable_splitter+set}" = set; then
9207 enableval="$enable_splitter"
9208
9209 if test "$enableval" = yes; then
9210 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9211 else
9212 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9213 fi
9214
9215 else
9216
9217 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x ; then
9219 eval "DEFAULT_$LINE"
9220 else
9221 no_cache=1
9222 fi
9223
9224 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9225
9226 fi;
9227
9228 eval "$ac_cv_use_splitter"
9229 if test "$no_cache" != 1; then
9230 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9231 fi
9232
9233 if test "$wxUSE_SPLITTER" = yes; then
9234 echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6
9236 else
9237 echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6
9239 fi
9240
9241
9242 enablestring=
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9245 no_cache=0
9246 # Check whether --enable-statbmp or --disable-statbmp was given.
9247 if test "${enable_statbmp+set}" = set; then
9248 enableval="$enable_statbmp"
9249
9250 if test "$enableval" = yes; then
9251 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9252 else
9253 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9254 fi
9255
9256 else
9257
9258 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9261 else
9262 no_cache=1
9263 fi
9264
9265 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9266
9267 fi;
9268
9269 eval "$ac_cv_use_statbmp"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9272 fi
9273
9274 if test "$wxUSE_STATBMP" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9277 else
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9280 fi
9281
9282
9283 enablestring=
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9286 no_cache=0
9287 # Check whether --enable-statbox or --disable-statbox was given.
9288 if test "${enable_statbox+set}" = set; then
9289 enableval="$enable_statbox"
9290
9291 if test "$enableval" = yes; then
9292 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9293 else
9294 ac_cv_use_statbox='wxUSE_STATBOX=no'
9295 fi
9296
9297 else
9298
9299 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9302 else
9303 no_cache=1
9304 fi
9305
9306 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9307
9308 fi;
9309
9310 eval "$ac_cv_use_statbox"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9313 fi
9314
9315 if test "$wxUSE_STATBOX" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9318 else
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9321 fi
9322
9323
9324 enablestring=
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9327 no_cache=0
9328 # Check whether --enable-statline or --disable-statline was given.
9329 if test "${enable_statline+set}" = set; then
9330 enableval="$enable_statline"
9331
9332 if test "$enableval" = yes; then
9333 ac_cv_use_statline='wxUSE_STATLINE=yes'
9334 else
9335 ac_cv_use_statline='wxUSE_STATLINE=no'
9336 fi
9337
9338 else
9339
9340 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9343 else
9344 no_cache=1
9345 fi
9346
9347 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9348
9349 fi;
9350
9351 eval "$ac_cv_use_statline"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9354 fi
9355
9356 if test "$wxUSE_STATLINE" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9359 else
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9362 fi
9363
9364
9365 enablestring=
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9368 no_cache=0
9369 # Check whether --enable-stattext or --disable-stattext was given.
9370 if test "${enable_stattext+set}" = set; then
9371 enableval="$enable_stattext"
9372
9373 if test "$enableval" = yes; then
9374 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9375 else
9376 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9377 fi
9378
9379 else
9380
9381 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9384 else
9385 no_cache=1
9386 fi
9387
9388 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9389
9390 fi;
9391
9392 eval "$ac_cv_use_stattext"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9395 fi
9396
9397 if test "$wxUSE_STATTEXT" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9400 else
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9403 fi
9404
9405
9406 enablestring=
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9409 no_cache=0
9410 # Check whether --enable-statusbar or --disable-statusbar was given.
9411 if test "${enable_statusbar+set}" = set; then
9412 enableval="$enable_statusbar"
9413
9414 if test "$enableval" = yes; then
9415 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9416 else
9417 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9418 fi
9419
9420 else
9421
9422 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9425 else
9426 no_cache=1
9427 fi
9428
9429 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9430
9431 fi;
9432
9433 eval "$ac_cv_use_statusbar"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9436 fi
9437
9438 if test "$wxUSE_STATUSBAR" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9441 else
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9444 fi
9445
9446
9447 enablestring=
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9450 no_cache=0
9451 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9452 if test "${enable_tabdialog+set}" = set; then
9453 enableval="$enable_tabdialog"
9454
9455 if test "$enableval" = yes; then
9456 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9457 else
9458 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9459 fi
9460
9461 else
9462
9463 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9466 else
9467 no_cache=1
9468 fi
9469
9470 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9471
9472 fi;
9473
9474 eval "$ac_cv_use_tabdialog"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9477 fi
9478
9479 if test "$wxUSE_TAB_DIALOG" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9482 else
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9485 fi
9486
9487
9488 enablestring=
9489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9491 no_cache=0
9492 # Check whether --enable-textctrl or --disable-textctrl was given.
9493 if test "${enable_textctrl+set}" = set; then
9494 enableval="$enable_textctrl"
9495
9496 if test "$enableval" = yes; then
9497 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9498 else
9499 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9500 fi
9501
9502 else
9503
9504 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9507 else
9508 no_cache=1
9509 fi
9510
9511 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9512
9513 fi;
9514
9515 eval "$ac_cv_use_textctrl"
9516 if test "$no_cache" != 1; then
9517 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9518 fi
9519
9520 if test "$wxUSE_TEXTCTRL" = yes; then
9521 echo "$as_me:$LINENO: result: yes" >&5
9522 echo "${ECHO_T}yes" >&6
9523 else
9524 echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6
9526 fi
9527
9528
9529 enablestring=
9530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9531 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9532 no_cache=0
9533 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9534 if test "${enable_togglebtn+set}" = set; then
9535 enableval="$enable_togglebtn"
9536
9537 if test "$enableval" = yes; then
9538 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9539 else
9540 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9541 fi
9542
9543 else
9544
9545 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x ; then
9547 eval "DEFAULT_$LINE"
9548 else
9549 no_cache=1
9550 fi
9551
9552 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9553
9554 fi;
9555
9556 eval "$ac_cv_use_togglebtn"
9557 if test "$no_cache" != 1; then
9558 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9559 fi
9560
9561 if test "$wxUSE_TOGGLEBTN" = yes; then
9562 echo "$as_me:$LINENO: result: yes" >&5
9563 echo "${ECHO_T}yes" >&6
9564 else
9565 echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6
9567 fi
9568
9569
9570 enablestring=
9571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9572 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9573 no_cache=0
9574 # Check whether --enable-toolbar or --disable-toolbar was given.
9575 if test "${enable_toolbar+set}" = set; then
9576 enableval="$enable_toolbar"
9577
9578 if test "$enableval" = yes; then
9579 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9580 else
9581 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9582 fi
9583
9584 else
9585
9586 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9587 if test "x$LINE" != x ; then
9588 eval "DEFAULT_$LINE"
9589 else
9590 no_cache=1
9591 fi
9592
9593 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9594
9595 fi;
9596
9597 eval "$ac_cv_use_toolbar"
9598 if test "$no_cache" != 1; then
9599 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9600 fi
9601
9602 if test "$wxUSE_TOOLBAR" = yes; then
9603 echo "$as_me:$LINENO: result: yes" >&5
9604 echo "${ECHO_T}yes" >&6
9605 else
9606 echo "$as_me:$LINENO: result: no" >&5
9607 echo "${ECHO_T}no" >&6
9608 fi
9609
9610
9611 enablestring=
9612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9614 no_cache=0
9615 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9616 if test "${enable_tbarnative+set}" = set; then
9617 enableval="$enable_tbarnative"
9618
9619 if test "$enableval" = yes; then
9620 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9621 else
9622 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9623 fi
9624
9625 else
9626
9627 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9628 if test "x$LINE" != x ; then
9629 eval "DEFAULT_$LINE"
9630 else
9631 no_cache=1
9632 fi
9633
9634 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9635
9636 fi;
9637
9638 eval "$ac_cv_use_tbarnative"
9639 if test "$no_cache" != 1; then
9640 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9641 fi
9642
9643 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9644 echo "$as_me:$LINENO: result: yes" >&5
9645 echo "${ECHO_T}yes" >&6
9646 else
9647 echo "$as_me:$LINENO: result: no" >&5
9648 echo "${ECHO_T}no" >&6
9649 fi
9650
9651
9652 enablestring=
9653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9654 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9655 no_cache=0
9656 # Check whether --enable-treebook or --disable-treebook was given.
9657 if test "${enable_treebook+set}" = set; then
9658 enableval="$enable_treebook"
9659
9660 if test "$enableval" = yes; then
9661 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9662 else
9663 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9664 fi
9665
9666 else
9667
9668 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9669 if test "x$LINE" != x ; then
9670 eval "DEFAULT_$LINE"
9671 else
9672 no_cache=1
9673 fi
9674
9675 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9676
9677 fi;
9678
9679 eval "$ac_cv_use_treebook"
9680 if test "$no_cache" != 1; then
9681 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9682 fi
9683
9684 if test "$wxUSE_TREEBOOK" = yes; then
9685 echo "$as_me:$LINENO: result: yes" >&5
9686 echo "${ECHO_T}yes" >&6
9687 else
9688 echo "$as_me:$LINENO: result: no" >&5
9689 echo "${ECHO_T}no" >&6
9690 fi
9691
9692
9693 enablestring=
9694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9696 no_cache=0
9697 # Check whether --enable-toolbook or --disable-toolbook was given.
9698 if test "${enable_toolbook+set}" = set; then
9699 enableval="$enable_toolbook"
9700
9701 if test "$enableval" = yes; then
9702 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9703 else
9704 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9705 fi
9706
9707 else
9708
9709 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9710 if test "x$LINE" != x ; then
9711 eval "DEFAULT_$LINE"
9712 else
9713 no_cache=1
9714 fi
9715
9716 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9717
9718 fi;
9719
9720 eval "$ac_cv_use_toolbook"
9721 if test "$no_cache" != 1; then
9722 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9723 fi
9724
9725 if test "$wxUSE_TOOLBOOK" = yes; then
9726 echo "$as_me:$LINENO: result: yes" >&5
9727 echo "${ECHO_T}yes" >&6
9728 else
9729 echo "$as_me:$LINENO: result: no" >&5
9730 echo "${ECHO_T}no" >&6
9731 fi
9732
9733
9734 enablestring=
9735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9736 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9737 no_cache=0
9738 # Check whether --enable-treectrl or --disable-treectrl was given.
9739 if test "${enable_treectrl+set}" = set; then
9740 enableval="$enable_treectrl"
9741
9742 if test "$enableval" = yes; then
9743 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9744 else
9745 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9746 fi
9747
9748 else
9749
9750 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9751 if test "x$LINE" != x ; then
9752 eval "DEFAULT_$LINE"
9753 else
9754 no_cache=1
9755 fi
9756
9757 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9758
9759 fi;
9760
9761 eval "$ac_cv_use_treectrl"
9762 if test "$no_cache" != 1; then
9763 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9764 fi
9765
9766 if test "$wxUSE_TREECTRL" = yes; then
9767 echo "$as_me:$LINENO: result: yes" >&5
9768 echo "${ECHO_T}yes" >&6
9769 else
9770 echo "$as_me:$LINENO: result: no" >&5
9771 echo "${ECHO_T}no" >&6
9772 fi
9773
9774
9775 enablestring=
9776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9777 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9778 no_cache=0
9779 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9780 if test "${enable_tipwindow+set}" = set; then
9781 enableval="$enable_tipwindow"
9782
9783 if test "$enableval" = yes; then
9784 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9785 else
9786 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9787 fi
9788
9789 else
9790
9791 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9792 if test "x$LINE" != x ; then
9793 eval "DEFAULT_$LINE"
9794 else
9795 no_cache=1
9796 fi
9797
9798 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9799
9800 fi;
9801
9802 eval "$ac_cv_use_tipwindow"
9803 if test "$no_cache" != 1; then
9804 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9805 fi
9806
9807 if test "$wxUSE_TIPWINDOW" = yes; then
9808 echo "$as_me:$LINENO: result: yes" >&5
9809 echo "${ECHO_T}yes" >&6
9810 else
9811 echo "$as_me:$LINENO: result: no" >&5
9812 echo "${ECHO_T}no" >&6
9813 fi
9814
9815
9816 enablestring=
9817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9818 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9819 no_cache=0
9820 # Check whether --enable-popupwin or --disable-popupwin was given.
9821 if test "${enable_popupwin+set}" = set; then
9822 enableval="$enable_popupwin"
9823
9824 if test "$enableval" = yes; then
9825 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9826 else
9827 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9828 fi
9829
9830 else
9831
9832 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9833 if test "x$LINE" != x ; then
9834 eval "DEFAULT_$LINE"
9835 else
9836 no_cache=1
9837 fi
9838
9839 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9840
9841 fi;
9842
9843 eval "$ac_cv_use_popupwin"
9844 if test "$no_cache" != 1; then
9845 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9846 fi
9847
9848 if test "$wxUSE_POPUPWIN" = yes; then
9849 echo "$as_me:$LINENO: result: yes" >&5
9850 echo "${ECHO_T}yes" >&6
9851 else
9852 echo "$as_me:$LINENO: result: no" >&5
9853 echo "${ECHO_T}no" >&6
9854 fi
9855
9856
9857
9858
9859 enablestring=
9860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9862 no_cache=0
9863 # Check whether --enable-commondlg or --disable-commondlg was given.
9864 if test "${enable_commondlg+set}" = set; then
9865 enableval="$enable_commondlg"
9866
9867 if test "$enableval" = yes; then
9868 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9869 else
9870 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9871 fi
9872
9873 else
9874
9875 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9876 if test "x$LINE" != x ; then
9877 eval "DEFAULT_$LINE"
9878 else
9879 no_cache=1
9880 fi
9881
9882 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9883
9884 fi;
9885
9886 eval "$ac_cv_use_commondlg"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9889 fi
9890
9891 if test "$wxUSE_COMMONDLGS" = yes; then
9892 echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6
9894 else
9895 echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6
9897 fi
9898
9899
9900 enablestring=
9901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9903 no_cache=0
9904 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9905 if test "${enable_choicedlg+set}" = set; then
9906 enableval="$enable_choicedlg"
9907
9908 if test "$enableval" = yes; then
9909 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9910 else
9911 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9912 fi
9913
9914 else
9915
9916 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9917 if test "x$LINE" != x ; then
9918 eval "DEFAULT_$LINE"
9919 else
9920 no_cache=1
9921 fi
9922
9923 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9924
9925 fi;
9926
9927 eval "$ac_cv_use_choicedlg"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9930 fi
9931
9932 if test "$wxUSE_CHOICEDLG" = yes; then
9933 echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6
9935 else
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9938 fi
9939
9940
9941 enablestring=
9942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9944 no_cache=0
9945 # Check whether --enable-coldlg or --disable-coldlg was given.
9946 if test "${enable_coldlg+set}" = set; then
9947 enableval="$enable_coldlg"
9948
9949 if test "$enableval" = yes; then
9950 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9951 else
9952 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9953 fi
9954
9955 else
9956
9957 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9958 if test "x$LINE" != x ; then
9959 eval "DEFAULT_$LINE"
9960 else
9961 no_cache=1
9962 fi
9963
9964 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9965
9966 fi;
9967
9968 eval "$ac_cv_use_coldlg"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9971 fi
9972
9973 if test "$wxUSE_COLOURDLG" = yes; then
9974 echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6
9976 else
9977 echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6
9979 fi
9980
9981
9982 enablestring=
9983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9985 no_cache=0
9986 # Check whether --enable-filedlg or --disable-filedlg was given.
9987 if test "${enable_filedlg+set}" = set; then
9988 enableval="$enable_filedlg"
9989
9990 if test "$enableval" = yes; then
9991 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9992 else
9993 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9994 fi
9995
9996 else
9997
9998 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9999 if test "x$LINE" != x ; then
10000 eval "DEFAULT_$LINE"
10001 else
10002 no_cache=1
10003 fi
10004
10005 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10006
10007 fi;
10008
10009 eval "$ac_cv_use_filedlg"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10012 fi
10013
10014 if test "$wxUSE_FILEDLG" = yes; then
10015 echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6
10017 else
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10020 fi
10021
10022
10023 enablestring=
10024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10026 no_cache=0
10027 # Check whether --enable-finddlg or --disable-finddlg was given.
10028 if test "${enable_finddlg+set}" = set; then
10029 enableval="$enable_finddlg"
10030
10031 if test "$enableval" = yes; then
10032 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10033 else
10034 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10035 fi
10036
10037 else
10038
10039 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10040 if test "x$LINE" != x ; then
10041 eval "DEFAULT_$LINE"
10042 else
10043 no_cache=1
10044 fi
10045
10046 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10047
10048 fi;
10049
10050 eval "$ac_cv_use_finddlg"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10053 fi
10054
10055 if test "$wxUSE_FINDREPLDLG" = yes; then
10056 echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6
10058 else
10059 echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6
10061 fi
10062
10063
10064 enablestring=
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10067 no_cache=0
10068 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10069 if test "${enable_fontdlg+set}" = set; then
10070 enableval="$enable_fontdlg"
10071
10072 if test "$enableval" = yes; then
10073 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10074 else
10075 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10076 fi
10077
10078 else
10079
10080 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x ; then
10082 eval "DEFAULT_$LINE"
10083 else
10084 no_cache=1
10085 fi
10086
10087 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10088
10089 fi;
10090
10091 eval "$ac_cv_use_fontdlg"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10094 fi
10095
10096 if test "$wxUSE_FONTDLG" = yes; then
10097 echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6
10099 else
10100 echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6
10102 fi
10103
10104
10105 enablestring=
10106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10108 no_cache=0
10109 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10110 if test "${enable_dirdlg+set}" = set; then
10111 enableval="$enable_dirdlg"
10112
10113 if test "$enableval" = yes; then
10114 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10115 else
10116 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10117 fi
10118
10119 else
10120
10121 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10122 if test "x$LINE" != x ; then
10123 eval "DEFAULT_$LINE"
10124 else
10125 no_cache=1
10126 fi
10127
10128 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10129
10130 fi;
10131
10132 eval "$ac_cv_use_dirdlg"
10133 if test "$no_cache" != 1; then
10134 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10135 fi
10136
10137 if test "$wxUSE_DIRDLG" = yes; then
10138 echo "$as_me:$LINENO: result: yes" >&5
10139 echo "${ECHO_T}yes" >&6
10140 else
10141 echo "$as_me:$LINENO: result: no" >&5
10142 echo "${ECHO_T}no" >&6
10143 fi
10144
10145
10146 enablestring=
10147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10149 no_cache=0
10150 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10151 if test "${enable_msgdlg+set}" = set; then
10152 enableval="$enable_msgdlg"
10153
10154 if test "$enableval" = yes; then
10155 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10156 else
10157 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10158 fi
10159
10160 else
10161
10162 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10163 if test "x$LINE" != x ; then
10164 eval "DEFAULT_$LINE"
10165 else
10166 no_cache=1
10167 fi
10168
10169 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10170
10171 fi;
10172
10173 eval "$ac_cv_use_msgdlg"
10174 if test "$no_cache" != 1; then
10175 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10176 fi
10177
10178 if test "$wxUSE_MSGDLG" = yes; then
10179 echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6
10181 else
10182 echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6
10184 fi
10185
10186
10187 enablestring=
10188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10189 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10190 no_cache=0
10191 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10192 if test "${enable_numberdlg+set}" = set; then
10193 enableval="$enable_numberdlg"
10194
10195 if test "$enableval" = yes; then
10196 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10197 else
10198 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10199 fi
10200
10201 else
10202
10203 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10204 if test "x$LINE" != x ; then
10205 eval "DEFAULT_$LINE"
10206 else
10207 no_cache=1
10208 fi
10209
10210 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10211
10212 fi;
10213
10214 eval "$ac_cv_use_numberdlg"
10215 if test "$no_cache" != 1; then
10216 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10217 fi
10218
10219 if test "$wxUSE_NUMBERDLG" = yes; then
10220 echo "$as_me:$LINENO: result: yes" >&5
10221 echo "${ECHO_T}yes" >&6
10222 else
10223 echo "$as_me:$LINENO: result: no" >&5
10224 echo "${ECHO_T}no" >&6
10225 fi
10226
10227
10228 enablestring=
10229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10231 no_cache=0
10232 # Check whether --enable-splash or --disable-splash was given.
10233 if test "${enable_splash+set}" = set; then
10234 enableval="$enable_splash"
10235
10236 if test "$enableval" = yes; then
10237 ac_cv_use_splash='wxUSE_SPLASH=yes'
10238 else
10239 ac_cv_use_splash='wxUSE_SPLASH=no'
10240 fi
10241
10242 else
10243
10244 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10245 if test "x$LINE" != x ; then
10246 eval "DEFAULT_$LINE"
10247 else
10248 no_cache=1
10249 fi
10250
10251 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10252
10253 fi;
10254
10255 eval "$ac_cv_use_splash"
10256 if test "$no_cache" != 1; then
10257 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10258 fi
10259
10260 if test "$wxUSE_SPLASH" = yes; then
10261 echo "$as_me:$LINENO: result: yes" >&5
10262 echo "${ECHO_T}yes" >&6
10263 else
10264 echo "$as_me:$LINENO: result: no" >&5
10265 echo "${ECHO_T}no" >&6
10266 fi
10267
10268
10269 enablestring=
10270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10271 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10272 no_cache=0
10273 # Check whether --enable-textdlg or --disable-textdlg was given.
10274 if test "${enable_textdlg+set}" = set; then
10275 enableval="$enable_textdlg"
10276
10277 if test "$enableval" = yes; then
10278 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10279 else
10280 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10281 fi
10282
10283 else
10284
10285 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10286 if test "x$LINE" != x ; then
10287 eval "DEFAULT_$LINE"
10288 else
10289 no_cache=1
10290 fi
10291
10292 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10293
10294 fi;
10295
10296 eval "$ac_cv_use_textdlg"
10297 if test "$no_cache" != 1; then
10298 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10299 fi
10300
10301 if test "$wxUSE_TEXTDLG" = yes; then
10302 echo "$as_me:$LINENO: result: yes" >&5
10303 echo "${ECHO_T}yes" >&6
10304 else
10305 echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6
10307 fi
10308
10309
10310 enablestring=
10311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10312 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10313 no_cache=0
10314 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10315 if test "${enable_tipdlg+set}" = set; then
10316 enableval="$enable_tipdlg"
10317
10318 if test "$enableval" = yes; then
10319 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10320 else
10321 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10322 fi
10323
10324 else
10325
10326 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10327 if test "x$LINE" != x ; then
10328 eval "DEFAULT_$LINE"
10329 else
10330 no_cache=1
10331 fi
10332
10333 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10334
10335 fi;
10336
10337 eval "$ac_cv_use_tipdlg"
10338 if test "$no_cache" != 1; then
10339 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10340 fi
10341
10342 if test "$wxUSE_STARTUP_TIPS" = yes; then
10343 echo "$as_me:$LINENO: result: yes" >&5
10344 echo "${ECHO_T}yes" >&6
10345 else
10346 echo "$as_me:$LINENO: result: no" >&5
10347 echo "${ECHO_T}no" >&6
10348 fi
10349
10350
10351 enablestring=
10352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10354 no_cache=0
10355 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10356 if test "${enable_progressdlg+set}" = set; then
10357 enableval="$enable_progressdlg"
10358
10359 if test "$enableval" = yes; then
10360 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10361 else
10362 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10363 fi
10364
10365 else
10366
10367 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10368 if test "x$LINE" != x ; then
10369 eval "DEFAULT_$LINE"
10370 else
10371 no_cache=1
10372 fi
10373
10374 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10375
10376 fi;
10377
10378 eval "$ac_cv_use_progressdlg"
10379 if test "$no_cache" != 1; then
10380 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10381 fi
10382
10383 if test "$wxUSE_PROGRESSDLG" = yes; then
10384 echo "$as_me:$LINENO: result: yes" >&5
10385 echo "${ECHO_T}yes" >&6
10386 else
10387 echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6
10389 fi
10390
10391
10392 enablestring=
10393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10395 no_cache=0
10396 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10397 if test "${enable_wizarddlg+set}" = set; then
10398 enableval="$enable_wizarddlg"
10399
10400 if test "$enableval" = yes; then
10401 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10402 else
10403 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10404 fi
10405
10406 else
10407
10408 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10409 if test "x$LINE" != x ; then
10410 eval "DEFAULT_$LINE"
10411 else
10412 no_cache=1
10413 fi
10414
10415 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10416
10417 fi;
10418
10419 eval "$ac_cv_use_wizarddlg"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10422 fi
10423
10424 if test "$wxUSE_WIZARDDLG" = yes; then
10425 echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6
10427 else
10428 echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6
10430 fi
10431
10432
10433
10434
10435 enablestring=
10436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10437 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10438 no_cache=0
10439 # Check whether --enable-menus or --disable-menus was given.
10440 if test "${enable_menus+set}" = set; then
10441 enableval="$enable_menus"
10442
10443 if test "$enableval" = yes; then
10444 ac_cv_use_menus='wxUSE_MENUS=yes'
10445 else
10446 ac_cv_use_menus='wxUSE_MENUS=no'
10447 fi
10448
10449 else
10450
10451 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10452 if test "x$LINE" != x ; then
10453 eval "DEFAULT_$LINE"
10454 else
10455 no_cache=1
10456 fi
10457
10458 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10459
10460 fi;
10461
10462 eval "$ac_cv_use_menus"
10463 if test "$no_cache" != 1; then
10464 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10465 fi
10466
10467 if test "$wxUSE_MENUS" = yes; then
10468 echo "$as_me:$LINENO: result: yes" >&5
10469 echo "${ECHO_T}yes" >&6
10470 else
10471 echo "$as_me:$LINENO: result: no" >&5
10472 echo "${ECHO_T}no" >&6
10473 fi
10474
10475
10476 enablestring=
10477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10478 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10479 no_cache=0
10480 # Check whether --enable-miniframe or --disable-miniframe was given.
10481 if test "${enable_miniframe+set}" = set; then
10482 enableval="$enable_miniframe"
10483
10484 if test "$enableval" = yes; then
10485 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10486 else
10487 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10488 fi
10489
10490 else
10491
10492 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10493 if test "x$LINE" != x ; then
10494 eval "DEFAULT_$LINE"
10495 else
10496 no_cache=1
10497 fi
10498
10499 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10500
10501 fi;
10502
10503 eval "$ac_cv_use_miniframe"
10504 if test "$no_cache" != 1; then
10505 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10506 fi
10507
10508 if test "$wxUSE_MINIFRAME" = yes; then
10509 echo "$as_me:$LINENO: result: yes" >&5
10510 echo "${ECHO_T}yes" >&6
10511 else
10512 echo "$as_me:$LINENO: result: no" >&5
10513 echo "${ECHO_T}no" >&6
10514 fi
10515
10516
10517 enablestring=
10518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10519 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10520 no_cache=0
10521 # Check whether --enable-tooltips or --disable-tooltips was given.
10522 if test "${enable_tooltips+set}" = set; then
10523 enableval="$enable_tooltips"
10524
10525 if test "$enableval" = yes; then
10526 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10527 else
10528 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10529 fi
10530
10531 else
10532
10533 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10534 if test "x$LINE" != x ; then
10535 eval "DEFAULT_$LINE"
10536 else
10537 no_cache=1
10538 fi
10539
10540 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10541
10542 fi;
10543
10544 eval "$ac_cv_use_tooltips"
10545 if test "$no_cache" != 1; then
10546 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10547 fi
10548
10549 if test "$wxUSE_TOOLTIPS" = yes; then
10550 echo "$as_me:$LINENO: result: yes" >&5
10551 echo "${ECHO_T}yes" >&6
10552 else
10553 echo "$as_me:$LINENO: result: no" >&5
10554 echo "${ECHO_T}no" >&6
10555 fi
10556
10557
10558 enablestring=
10559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10560 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10561 no_cache=0
10562 # Check whether --enable-splines or --disable-splines was given.
10563 if test "${enable_splines+set}" = set; then
10564 enableval="$enable_splines"
10565
10566 if test "$enableval" = yes; then
10567 ac_cv_use_splines='wxUSE_SPLINES=yes'
10568 else
10569 ac_cv_use_splines='wxUSE_SPLINES=no'
10570 fi
10571
10572 else
10573
10574 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10575 if test "x$LINE" != x ; then
10576 eval "DEFAULT_$LINE"
10577 else
10578 no_cache=1
10579 fi
10580
10581 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10582
10583 fi;
10584
10585 eval "$ac_cv_use_splines"
10586 if test "$no_cache" != 1; then
10587 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10588 fi
10589
10590 if test "$wxUSE_SPLINES" = yes; then
10591 echo "$as_me:$LINENO: result: yes" >&5
10592 echo "${ECHO_T}yes" >&6
10593 else
10594 echo "$as_me:$LINENO: result: no" >&5
10595 echo "${ECHO_T}no" >&6
10596 fi
10597
10598
10599 enablestring=
10600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10601 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10602 no_cache=0
10603 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10604 if test "${enable_mousewheel+set}" = set; then
10605 enableval="$enable_mousewheel"
10606
10607 if test "$enableval" = yes; then
10608 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10609 else
10610 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10611 fi
10612
10613 else
10614
10615 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10616 if test "x$LINE" != x ; then
10617 eval "DEFAULT_$LINE"
10618 else
10619 no_cache=1
10620 fi
10621
10622 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10623
10624 fi;
10625
10626 eval "$ac_cv_use_mousewheel"
10627 if test "$no_cache" != 1; then
10628 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10629 fi
10630
10631 if test "$wxUSE_MOUSEWHEEL" = yes; then
10632 echo "$as_me:$LINENO: result: yes" >&5
10633 echo "${ECHO_T}yes" >&6
10634 else
10635 echo "$as_me:$LINENO: result: no" >&5
10636 echo "${ECHO_T}no" >&6
10637 fi
10638
10639
10640 enablestring=
10641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10642 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10643 no_cache=0
10644 # Check whether --enable-validators or --disable-validators was given.
10645 if test "${enable_validators+set}" = set; then
10646 enableval="$enable_validators"
10647
10648 if test "$enableval" = yes; then
10649 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10650 else
10651 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10652 fi
10653
10654 else
10655
10656 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10657 if test "x$LINE" != x ; then
10658 eval "DEFAULT_$LINE"
10659 else
10660 no_cache=1
10661 fi
10662
10663 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10664
10665 fi;
10666
10667 eval "$ac_cv_use_validators"
10668 if test "$no_cache" != 1; then
10669 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10670 fi
10671
10672 if test "$wxUSE_VALIDATORS" = yes; then
10673 echo "$as_me:$LINENO: result: yes" >&5
10674 echo "${ECHO_T}yes" >&6
10675 else
10676 echo "$as_me:$LINENO: result: no" >&5
10677 echo "${ECHO_T}no" >&6
10678 fi
10679
10680
10681 enablestring=
10682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10683 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10684 no_cache=0
10685 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10686 if test "${enable_busyinfo+set}" = set; then
10687 enableval="$enable_busyinfo"
10688
10689 if test "$enableval" = yes; then
10690 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10691 else
10692 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10693 fi
10694
10695 else
10696
10697 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10698 if test "x$LINE" != x ; then
10699 eval "DEFAULT_$LINE"
10700 else
10701 no_cache=1
10702 fi
10703
10704 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10705
10706 fi;
10707
10708 eval "$ac_cv_use_busyinfo"
10709 if test "$no_cache" != 1; then
10710 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10711 fi
10712
10713 if test "$wxUSE_BUSYINFO" = yes; then
10714 echo "$as_me:$LINENO: result: yes" >&5
10715 echo "${ECHO_T}yes" >&6
10716 else
10717 echo "$as_me:$LINENO: result: no" >&5
10718 echo "${ECHO_T}no" >&6
10719 fi
10720
10721
10722 enablestring=
10723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10725 no_cache=0
10726 # Check whether --enable-joystick or --disable-joystick was given.
10727 if test "${enable_joystick+set}" = set; then
10728 enableval="$enable_joystick"
10729
10730 if test "$enableval" = yes; then
10731 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10732 else
10733 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10734 fi
10735
10736 else
10737
10738 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10739 if test "x$LINE" != x ; then
10740 eval "DEFAULT_$LINE"
10741 else
10742 no_cache=1
10743 fi
10744
10745 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10746
10747 fi;
10748
10749 eval "$ac_cv_use_joystick"
10750 if test "$no_cache" != 1; then
10751 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10752 fi
10753
10754 if test "$wxUSE_JOYSTICK" = yes; then
10755 echo "$as_me:$LINENO: result: yes" >&5
10756 echo "${ECHO_T}yes" >&6
10757 else
10758 echo "$as_me:$LINENO: result: no" >&5
10759 echo "${ECHO_T}no" >&6
10760 fi
10761
10762
10763 enablestring=
10764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10765 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10766 no_cache=0
10767 # Check whether --enable-metafile or --disable-metafile was given.
10768 if test "${enable_metafile+set}" = set; then
10769 enableval="$enable_metafile"
10770
10771 if test "$enableval" = yes; then
10772 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10773 else
10774 ac_cv_use_metafile='wxUSE_METAFILE=no'
10775 fi
10776
10777 else
10778
10779 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10780 if test "x$LINE" != x ; then
10781 eval "DEFAULT_$LINE"
10782 else
10783 no_cache=1
10784 fi
10785
10786 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10787
10788 fi;
10789
10790 eval "$ac_cv_use_metafile"
10791 if test "$no_cache" != 1; then
10792 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10793 fi
10794
10795 if test "$wxUSE_METAFILE" = yes; then
10796 echo "$as_me:$LINENO: result: yes" >&5
10797 echo "${ECHO_T}yes" >&6
10798 else
10799 echo "$as_me:$LINENO: result: no" >&5
10800 echo "${ECHO_T}no" >&6
10801 fi
10802
10803
10804 enablestring=
10805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10806 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10807 no_cache=0
10808 # Check whether --enable-dragimage or --disable-dragimage was given.
10809 if test "${enable_dragimage+set}" = set; then
10810 enableval="$enable_dragimage"
10811
10812 if test "$enableval" = yes; then
10813 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10814 else
10815 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10816 fi
10817
10818 else
10819
10820 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10821 if test "x$LINE" != x ; then
10822 eval "DEFAULT_$LINE"
10823 else
10824 no_cache=1
10825 fi
10826
10827 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10828
10829 fi;
10830
10831 eval "$ac_cv_use_dragimage"
10832 if test "$no_cache" != 1; then
10833 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10834 fi
10835
10836 if test "$wxUSE_DRAGIMAGE" = yes; then
10837 echo "$as_me:$LINENO: result: yes" >&5
10838 echo "${ECHO_T}yes" >&6
10839 else
10840 echo "$as_me:$LINENO: result: no" >&5
10841 echo "${ECHO_T}no" >&6
10842 fi
10843
10844
10845 enablestring=
10846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10847 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10848 no_cache=0
10849 # Check whether --enable-accessibility or --disable-accessibility was given.
10850 if test "${enable_accessibility+set}" = set; then
10851 enableval="$enable_accessibility"
10852
10853 if test "$enableval" = yes; then
10854 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10855 else
10856 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10857 fi
10858
10859 else
10860
10861 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10862 if test "x$LINE" != x ; then
10863 eval "DEFAULT_$LINE"
10864 else
10865 no_cache=1
10866 fi
10867
10868 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10869
10870 fi;
10871
10872 eval "$ac_cv_use_accessibility"
10873 if test "$no_cache" != 1; then
10874 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10875 fi
10876
10877 if test "$wxUSE_ACCESSIBILITY" = yes; then
10878 echo "$as_me:$LINENO: result: yes" >&5
10879 echo "${ECHO_T}yes" >&6
10880 else
10881 echo "$as_me:$LINENO: result: no" >&5
10882 echo "${ECHO_T}no" >&6
10883 fi
10884
10885
10886 if test "$wxUSE_MSW" = "1"; then
10887
10888 enablestring=
10889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10891 no_cache=0
10892 # Check whether --enable-dccache or --disable-dccache was given.
10893 if test "${enable_dccache+set}" = set; then
10894 enableval="$enable_dccache"
10895
10896 if test "$enableval" = yes; then
10897 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10898 else
10899 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10900 fi
10901
10902 else
10903
10904 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10905 if test "x$LINE" != x ; then
10906 eval "DEFAULT_$LINE"
10907 else
10908 no_cache=1
10909 fi
10910
10911 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10912
10913 fi;
10914
10915 eval "$ac_cv_use_dccache"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10918 fi
10919
10920 if test "$wxUSE_DC_CACHEING" = yes; then
10921 echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6
10923 else
10924 echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6
10926 fi
10927
10928 fi
10929
10930
10931
10932 enablestring=
10933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10935 no_cache=0
10936 # Check whether --enable-palette or --disable-palette was given.
10937 if test "${enable_palette+set}" = set; then
10938 enableval="$enable_palette"
10939
10940 if test "$enableval" = yes; then
10941 ac_cv_use_palette='wxUSE_PALETTE=yes'
10942 else
10943 ac_cv_use_palette='wxUSE_PALETTE=no'
10944 fi
10945
10946 else
10947
10948 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10949 if test "x$LINE" != x ; then
10950 eval "DEFAULT_$LINE"
10951 else
10952 no_cache=1
10953 fi
10954
10955 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10956
10957 fi;
10958
10959 eval "$ac_cv_use_palette"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10962 fi
10963
10964 if test "$wxUSE_PALETTE" = yes; then
10965 echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6
10967 else
10968 echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6
10970 fi
10971
10972
10973 enablestring=
10974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10976 no_cache=0
10977 # Check whether --enable-image or --disable-image was given.
10978 if test "${enable_image+set}" = set; then
10979 enableval="$enable_image"
10980
10981 if test "$enableval" = yes; then
10982 ac_cv_use_image='wxUSE_IMAGE=yes'
10983 else
10984 ac_cv_use_image='wxUSE_IMAGE=no'
10985 fi
10986
10987 else
10988
10989 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10990 if test "x$LINE" != x ; then
10991 eval "DEFAULT_$LINE"
10992 else
10993 no_cache=1
10994 fi
10995
10996 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10997
10998 fi;
10999
11000 eval "$ac_cv_use_image"
11001 if test "$no_cache" != 1; then
11002 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11003 fi
11004
11005 if test "$wxUSE_IMAGE" = yes; then
11006 echo "$as_me:$LINENO: result: yes" >&5
11007 echo "${ECHO_T}yes" >&6
11008 else
11009 echo "$as_me:$LINENO: result: no" >&5
11010 echo "${ECHO_T}no" >&6
11011 fi
11012
11013
11014 enablestring=
11015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11016 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11017 no_cache=0
11018 # Check whether --enable-gif or --disable-gif was given.
11019 if test "${enable_gif+set}" = set; then
11020 enableval="$enable_gif"
11021
11022 if test "$enableval" = yes; then
11023 ac_cv_use_gif='wxUSE_GIF=yes'
11024 else
11025 ac_cv_use_gif='wxUSE_GIF=no'
11026 fi
11027
11028 else
11029
11030 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11031 if test "x$LINE" != x ; then
11032 eval "DEFAULT_$LINE"
11033 else
11034 no_cache=1
11035 fi
11036
11037 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11038
11039 fi;
11040
11041 eval "$ac_cv_use_gif"
11042 if test "$no_cache" != 1; then
11043 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11044 fi
11045
11046 if test "$wxUSE_GIF" = yes; then
11047 echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6
11049 else
11050 echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6
11052 fi
11053
11054
11055 enablestring=
11056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11058 no_cache=0
11059 # Check whether --enable-pcx or --disable-pcx was given.
11060 if test "${enable_pcx+set}" = set; then
11061 enableval="$enable_pcx"
11062
11063 if test "$enableval" = yes; then
11064 ac_cv_use_pcx='wxUSE_PCX=yes'
11065 else
11066 ac_cv_use_pcx='wxUSE_PCX=no'
11067 fi
11068
11069 else
11070
11071 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11072 if test "x$LINE" != x ; then
11073 eval "DEFAULT_$LINE"
11074 else
11075 no_cache=1
11076 fi
11077
11078 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11079
11080 fi;
11081
11082 eval "$ac_cv_use_pcx"
11083 if test "$no_cache" != 1; then
11084 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11085 fi
11086
11087 if test "$wxUSE_PCX" = yes; then
11088 echo "$as_me:$LINENO: result: yes" >&5
11089 echo "${ECHO_T}yes" >&6
11090 else
11091 echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6
11093 fi
11094
11095
11096 enablestring=
11097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11098 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11099 no_cache=0
11100 # Check whether --enable-iff or --disable-iff was given.
11101 if test "${enable_iff+set}" = set; then
11102 enableval="$enable_iff"
11103
11104 if test "$enableval" = yes; then
11105 ac_cv_use_iff='wxUSE_IFF=yes'
11106 else
11107 ac_cv_use_iff='wxUSE_IFF=no'
11108 fi
11109
11110 else
11111
11112 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11113 if test "x$LINE" != x ; then
11114 eval "DEFAULT_$LINE"
11115 else
11116 no_cache=1
11117 fi
11118
11119 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11120
11121 fi;
11122
11123 eval "$ac_cv_use_iff"
11124 if test "$no_cache" != 1; then
11125 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11126 fi
11127
11128 if test "$wxUSE_IFF" = yes; then
11129 echo "$as_me:$LINENO: result: yes" >&5
11130 echo "${ECHO_T}yes" >&6
11131 else
11132 echo "$as_me:$LINENO: result: no" >&5
11133 echo "${ECHO_T}no" >&6
11134 fi
11135
11136
11137 enablestring=
11138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11139 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11140 no_cache=0
11141 # Check whether --enable-pnm or --disable-pnm was given.
11142 if test "${enable_pnm+set}" = set; then
11143 enableval="$enable_pnm"
11144
11145 if test "$enableval" = yes; then
11146 ac_cv_use_pnm='wxUSE_PNM=yes'
11147 else
11148 ac_cv_use_pnm='wxUSE_PNM=no'
11149 fi
11150
11151 else
11152
11153 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11154 if test "x$LINE" != x ; then
11155 eval "DEFAULT_$LINE"
11156 else
11157 no_cache=1
11158 fi
11159
11160 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11161
11162 fi;
11163
11164 eval "$ac_cv_use_pnm"
11165 if test "$no_cache" != 1; then
11166 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11167 fi
11168
11169 if test "$wxUSE_PNM" = yes; then
11170 echo "$as_me:$LINENO: result: yes" >&5
11171 echo "${ECHO_T}yes" >&6
11172 else
11173 echo "$as_me:$LINENO: result: no" >&5
11174 echo "${ECHO_T}no" >&6
11175 fi
11176
11177
11178 enablestring=
11179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11180 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11181 no_cache=0
11182 # Check whether --enable-xpm or --disable-xpm was given.
11183 if test "${enable_xpm+set}" = set; then
11184 enableval="$enable_xpm"
11185
11186 if test "$enableval" = yes; then
11187 ac_cv_use_xpm='wxUSE_XPM=yes'
11188 else
11189 ac_cv_use_xpm='wxUSE_XPM=no'
11190 fi
11191
11192 else
11193
11194 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11195 if test "x$LINE" != x ; then
11196 eval "DEFAULT_$LINE"
11197 else
11198 no_cache=1
11199 fi
11200
11201 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11202
11203 fi;
11204
11205 eval "$ac_cv_use_xpm"
11206 if test "$no_cache" != 1; then
11207 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11208 fi
11209
11210 if test "$wxUSE_XPM" = yes; then
11211 echo "$as_me:$LINENO: result: yes" >&5
11212 echo "${ECHO_T}yes" >&6
11213 else
11214 echo "$as_me:$LINENO: result: no" >&5
11215 echo "${ECHO_T}no" >&6
11216 fi
11217
11218
11219 enablestring=
11220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11221 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11222 no_cache=0
11223 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11224 if test "${enable_ico_cur+set}" = set; then
11225 enableval="$enable_ico_cur"
11226
11227 if test "$enableval" = yes; then
11228 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11229 else
11230 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11231 fi
11232
11233 else
11234
11235 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11236 if test "x$LINE" != x ; then
11237 eval "DEFAULT_$LINE"
11238 else
11239 no_cache=1
11240 fi
11241
11242 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11243
11244 fi;
11245
11246 eval "$ac_cv_use_ico_cur"
11247 if test "$no_cache" != 1; then
11248 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11249 fi
11250
11251 if test "$wxUSE_ICO_CUR" = yes; then
11252 echo "$as_me:$LINENO: result: yes" >&5
11253 echo "${ECHO_T}yes" >&6
11254 else
11255 echo "$as_me:$LINENO: result: no" >&5
11256 echo "${ECHO_T}no" >&6
11257 fi
11258
11259
11260 fi
11261
11262
11263
11264 # Check whether --with-flavour or --without-flavour was given.
11265 if test "${with_flavour+set}" = set; then
11266 withval="$with_flavour"
11267 WX_FLAVOUR="$withval"
11268 fi;
11269
11270
11271
11272 enablestring=
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11275 no_cache=0
11276 # Check whether --enable-official_build or --disable-official_build was given.
11277 if test "${enable_official_build+set}" = set; then
11278 enableval="$enable_official_build"
11279
11280 if test "$enableval" = yes; then
11281 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11282 else
11283 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11284 fi
11285
11286 else
11287
11288 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x ; then
11290 eval "DEFAULT_$LINE"
11291 else
11292 no_cache=1
11293 fi
11294
11295 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11296
11297 fi;
11298
11299 eval "$ac_cv_use_official_build"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11302 fi
11303
11304 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11305 echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6
11307 else
11308 echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6
11310 fi
11311
11312 # Check whether --enable-vendor or --disable-vendor was given.
11313 if test "${enable_vendor+set}" = set; then
11314 enableval="$enable_vendor"
11315 VENDOR="$enableval"
11316 fi;
11317 if test "x$VENDOR" = "x"; then
11318 VENDOR="custom"
11319 fi
11320
11321
11322
11323
11324 echo "saving argument cache $wx_arg_cache_file"
11325 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11326
11327
11328
11329 echo "$as_me:$LINENO: checking for toolkit" >&5
11330 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11331
11332 # In Wine, we need to default to MSW, not GTK or MOTIF
11333 if test "$wxUSE_WINE" = "yes"; then
11334 DEFAULT_DEFAULT_wxUSE_GTK=0
11335 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11336 DEFAULT_DEFAULT_wxUSE_MSW=1
11337 wxUSE_SHARED=no
11338 fi
11339
11340
11341 if test "$wxUSE_GUI" = "yes"; then
11342
11343 if test "$USE_BEOS" = 1; then
11344 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11345 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11346 { (exit 1); exit 1; }; }
11347 fi
11348
11349 if test "$TOOLKIT_GIVEN" = 1; then
11350 for toolkit in `echo $ALL_TOOLKITS`; do
11351 var=wxUSE_$toolkit
11352 eval "value=\$${var}"
11353 if test "x$value" = "xno"; then
11354 eval "$var=0"
11355 elif test "x$value" != "x"; then
11356 eval "$var=1"
11357 fi
11358
11359 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11360 eval "wx${toolkit}_VERSION=$value"
11361 fi
11362 done
11363 else
11364 for toolkit in `echo $ALL_TOOLKITS`; do
11365 if test "$has_toolkit_in_cache" != 1; then
11366 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11367 else
11368 var=DEFAULT_wxUSE_$toolkit
11369
11370 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11371 if test "x$version" != "x"; then
11372 eval "wx${toolkit}_VERSION=$version"
11373 fi
11374 fi
11375 eval "wxUSE_$toolkit=\$${var}"
11376 done
11377 fi
11378
11379 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11380 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11381 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11382
11383 case "${host}" in
11384 *-pc-os2_emx | *-pc-os2-emx )
11385 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11386 esac
11387
11388 case "$NUM_TOOLKITS" in
11389 1)
11390 ;;
11391 0)
11392 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11393 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11394 { (exit 1); exit 1; }; }
11395 ;;
11396 *)
11397 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11398 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11399 { (exit 1); exit 1; }; }
11400 esac
11401
11402 # to be removed when --disable-gtk2 isn't needed
11403 if test "x$wxUSE_GTK2" = "xyes"; then
11404 wxGTK_VERSION=2
11405 elif test "x$wxUSE_GTK2" = "xno"; then
11406 wxGTK_VERSION=1
11407 fi
11408
11409 for toolkit in `echo $ALL_TOOLKITS`; do
11410 var=wxUSE_$toolkit
11411 eval "value=\$${var}"
11412 if test "x$value" != x; then
11413 cache_var=CACHE_$toolkit
11414 eval "cache=\$${cache_var}"
11415 if test "$cache" = 1; then
11416 echo "$var=$value" >> ${wx_arg_cache_file}
11417 eval "version=\$wx${toolkit}_VERSION"
11418 if test "x$version" != "x"; then
11419 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11420 fi
11421 fi
11422 if test "$value" = 1; then
11423 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11424 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11425 echo "${ECHO_T}$toolkit_echo" >&6
11426 fi
11427 fi
11428 done
11429 else
11430 if test "x$host_alias" != "x"; then
11431 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11432 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11433 else
11434 echo "$as_me:$LINENO: result: base only" >&5
11435 echo "${ECHO_T}base only" >&6
11436 fi
11437 fi
11438
11439 wants_win32=0
11440 doesnt_want_win32=0
11441 case "${host}" in
11442 *-*-cygwin*)
11443 if test "$wxUSE_MSW" = 1 ; then
11444 wants_win32=1
11445 BAKEFILE_FORCE_PLATFORM=win32
11446 else
11447 doesnt_want_win32=1
11448 fi
11449 ;;
11450 *-*-mingw*)
11451 wants_win32=1
11452 ;;
11453 esac
11454
11455 if test "$wxUSE_WINE" = "yes"; then
11456 wants_win32=1
11457 CC=winegcc
11458 CXX=wineg++
11459 LDFLAGS_GUI="-mwindows"
11460 fi
11461
11462 if test "$wants_win32" = 1 ; then
11463 USE_UNIX=0
11464 USE_WIN32=1
11465 cat >>confdefs.h <<\_ACEOF
11466 #define __WIN32__ 1
11467 _ACEOF
11468
11469 cat >>confdefs.h <<\_ACEOF
11470 #define __WIN95__ 1
11471 _ACEOF
11472
11473 cat >>confdefs.h <<\_ACEOF
11474 #define __WINDOWS__ 1
11475 _ACEOF
11476
11477 cat >>confdefs.h <<\_ACEOF
11478 #define __GNUWIN32__ 1
11479 _ACEOF
11480
11481 cat >>confdefs.h <<\_ACEOF
11482 #define STRICT 1
11483 _ACEOF
11484
11485 cat >>confdefs.h <<\_ACEOF
11486 #define WINVER 0x0400
11487 _ACEOF
11488
11489 fi
11490 if test "$doesnt_want_win32" = 1 ; then
11491 USE_UNIX=1
11492 USE_WIN32=0
11493 fi
11494
11495 if test "$USE_UNIX" = 1 ; then
11496 wxUSE_UNIX=yes
11497 cat >>confdefs.h <<\_ACEOF
11498 #define __UNIX__ 1
11499 _ACEOF
11500
11501 fi
11502
11503
11504 cat >confcache <<\_ACEOF
11505 # This file is a shell script that caches the results of configure
11506 # tests run on this system so they can be shared between configure
11507 # scripts and configure runs, see configure's option --config-cache.
11508 # It is not useful on other systems. If it contains results you don't
11509 # want to keep, you may remove or edit it.
11510 #
11511 # config.status only pays attention to the cache file if you give it
11512 # the --recheck option to rerun configure.
11513 #
11514 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11515 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11516 # following values.
11517
11518 _ACEOF
11519
11520 # The following way of writing the cache mishandles newlines in values,
11521 # but we know of no workaround that is simple, portable, and efficient.
11522 # So, don't put newlines in cache variables' values.
11523 # Ultrix sh set writes to stderr and can't be redirected directly,
11524 # and sets the high bit in the cache file unless we assign to the vars.
11525 {
11526 (set) 2>&1 |
11527 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11528 *ac_space=\ *)
11529 # `set' does not quote correctly, so add quotes (double-quote
11530 # substitution turns \\\\ into \\, and sed turns \\ into \).
11531 sed -n \
11532 "s/'/'\\\\''/g;
11533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11534 ;;
11535 *)
11536 # `set' quotes correctly as required by POSIX, so do not add quotes.
11537 sed -n \
11538 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11539 ;;
11540 esac;
11541 } |
11542 sed '
11543 t clear
11544 : clear
11545 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11546 t end
11547 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11548 : end' >>confcache
11549 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11550 if test -w $cache_file; then
11551 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11552 cat confcache >$cache_file
11553 else
11554 echo "not updating unwritable cache $cache_file"
11555 fi
11556 fi
11557 rm -f confcache
11558
11559 CFLAGS=${CFLAGS:=}
11560
11561
11562
11563 ac_ext=c
11564 ac_cpp='$CPP $CPPFLAGS'
11565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11568 if test -n "$ac_tool_prefix"; then
11569 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11570 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11571 echo "$as_me:$LINENO: checking for $ac_word" >&5
11572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11573 if test "${ac_cv_prog_CC+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11575 else
11576 if test -n "$CC"; then
11577 ac_cv_prog_CC="$CC" # Let the user override the test.
11578 else
11579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11580 for as_dir in $PATH
11581 do
11582 IFS=$as_save_IFS
11583 test -z "$as_dir" && as_dir=.
11584 for ac_exec_ext in '' $ac_executable_extensions; do
11585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11586 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11588 break 2
11589 fi
11590 done
11591 done
11592
11593 fi
11594 fi
11595 CC=$ac_cv_prog_CC
11596 if test -n "$CC"; then
11597 echo "$as_me:$LINENO: result: $CC" >&5
11598 echo "${ECHO_T}$CC" >&6
11599 else
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11602 fi
11603
11604 fi
11605 if test -z "$ac_cv_prog_CC"; then
11606 ac_ct_CC=$CC
11607 # Extract the first word of "gcc", so it can be a program name with args.
11608 set dummy gcc; ac_word=$2
11609 echo "$as_me:$LINENO: checking for $ac_word" >&5
11610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11611 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11613 else
11614 if test -n "$ac_ct_CC"; then
11615 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11616 else
11617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11618 for as_dir in $PATH
11619 do
11620 IFS=$as_save_IFS
11621 test -z "$as_dir" && as_dir=.
11622 for ac_exec_ext in '' $ac_executable_extensions; do
11623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11624 ac_cv_prog_ac_ct_CC="gcc"
11625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11626 break 2
11627 fi
11628 done
11629 done
11630
11631 fi
11632 fi
11633 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11634 if test -n "$ac_ct_CC"; then
11635 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11636 echo "${ECHO_T}$ac_ct_CC" >&6
11637 else
11638 echo "$as_me:$LINENO: result: no" >&5
11639 echo "${ECHO_T}no" >&6
11640 fi
11641
11642 CC=$ac_ct_CC
11643 else
11644 CC="$ac_cv_prog_CC"
11645 fi
11646
11647 if test -z "$CC"; then
11648 if test -n "$ac_tool_prefix"; then
11649 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11650 set dummy ${ac_tool_prefix}cc; ac_word=$2
11651 echo "$as_me:$LINENO: checking for $ac_word" >&5
11652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11653 if test "${ac_cv_prog_CC+set}" = set; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11655 else
11656 if test -n "$CC"; then
11657 ac_cv_prog_CC="$CC" # Let the user override the test.
11658 else
11659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11660 for as_dir in $PATH
11661 do
11662 IFS=$as_save_IFS
11663 test -z "$as_dir" && as_dir=.
11664 for ac_exec_ext in '' $ac_executable_extensions; do
11665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11666 ac_cv_prog_CC="${ac_tool_prefix}cc"
11667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11668 break 2
11669 fi
11670 done
11671 done
11672
11673 fi
11674 fi
11675 CC=$ac_cv_prog_CC
11676 if test -n "$CC"; then
11677 echo "$as_me:$LINENO: result: $CC" >&5
11678 echo "${ECHO_T}$CC" >&6
11679 else
11680 echo "$as_me:$LINENO: result: no" >&5
11681 echo "${ECHO_T}no" >&6
11682 fi
11683
11684 fi
11685 if test -z "$ac_cv_prog_CC"; then
11686 ac_ct_CC=$CC
11687 # Extract the first word of "cc", so it can be a program name with args.
11688 set dummy cc; ac_word=$2
11689 echo "$as_me:$LINENO: checking for $ac_word" >&5
11690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11691 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11692 echo $ECHO_N "(cached) $ECHO_C" >&6
11693 else
11694 if test -n "$ac_ct_CC"; then
11695 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11696 else
11697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11698 for as_dir in $PATH
11699 do
11700 IFS=$as_save_IFS
11701 test -z "$as_dir" && as_dir=.
11702 for ac_exec_ext in '' $ac_executable_extensions; do
11703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11704 ac_cv_prog_ac_ct_CC="cc"
11705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11706 break 2
11707 fi
11708 done
11709 done
11710
11711 fi
11712 fi
11713 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11714 if test -n "$ac_ct_CC"; then
11715 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11716 echo "${ECHO_T}$ac_ct_CC" >&6
11717 else
11718 echo "$as_me:$LINENO: result: no" >&5
11719 echo "${ECHO_T}no" >&6
11720 fi
11721
11722 CC=$ac_ct_CC
11723 else
11724 CC="$ac_cv_prog_CC"
11725 fi
11726
11727 fi
11728 if test -z "$CC"; then
11729 # Extract the first word of "cc", so it can be a program name with args.
11730 set dummy cc; ac_word=$2
11731 echo "$as_me:$LINENO: checking for $ac_word" >&5
11732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11733 if test "${ac_cv_prog_CC+set}" = set; then
11734 echo $ECHO_N "(cached) $ECHO_C" >&6
11735 else
11736 if test -n "$CC"; then
11737 ac_cv_prog_CC="$CC" # Let the user override the test.
11738 else
11739 ac_prog_rejected=no
11740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11741 for as_dir in $PATH
11742 do
11743 IFS=$as_save_IFS
11744 test -z "$as_dir" && as_dir=.
11745 for ac_exec_ext in '' $ac_executable_extensions; do
11746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11747 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11748 ac_prog_rejected=yes
11749 continue
11750 fi
11751 ac_cv_prog_CC="cc"
11752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11753 break 2
11754 fi
11755 done
11756 done
11757
11758 if test $ac_prog_rejected = yes; then
11759 # We found a bogon in the path, so make sure we never use it.
11760 set dummy $ac_cv_prog_CC
11761 shift
11762 if test $# != 0; then
11763 # We chose a different compiler from the bogus one.
11764 # However, it has the same basename, so the bogon will be chosen
11765 # first if we set CC to just the basename; use the full file name.
11766 shift
11767 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11768 fi
11769 fi
11770 fi
11771 fi
11772 CC=$ac_cv_prog_CC
11773 if test -n "$CC"; then
11774 echo "$as_me:$LINENO: result: $CC" >&5
11775 echo "${ECHO_T}$CC" >&6
11776 else
11777 echo "$as_me:$LINENO: result: no" >&5
11778 echo "${ECHO_T}no" >&6
11779 fi
11780
11781 fi
11782 if test -z "$CC"; then
11783 if test -n "$ac_tool_prefix"; then
11784 for ac_prog in cl
11785 do
11786 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11787 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11788 echo "$as_me:$LINENO: checking for $ac_word" >&5
11789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11790 if test "${ac_cv_prog_CC+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 else
11793 if test -n "$CC"; then
11794 ac_cv_prog_CC="$CC" # Let the user override the test.
11795 else
11796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11797 for as_dir in $PATH
11798 do
11799 IFS=$as_save_IFS
11800 test -z "$as_dir" && as_dir=.
11801 for ac_exec_ext in '' $ac_executable_extensions; do
11802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11803 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11805 break 2
11806 fi
11807 done
11808 done
11809
11810 fi
11811 fi
11812 CC=$ac_cv_prog_CC
11813 if test -n "$CC"; then
11814 echo "$as_me:$LINENO: result: $CC" >&5
11815 echo "${ECHO_T}$CC" >&6
11816 else
11817 echo "$as_me:$LINENO: result: no" >&5
11818 echo "${ECHO_T}no" >&6
11819 fi
11820
11821 test -n "$CC" && break
11822 done
11823 fi
11824 if test -z "$CC"; then
11825 ac_ct_CC=$CC
11826 for ac_prog in cl
11827 do
11828 # Extract the first word of "$ac_prog", so it can be a program name with args.
11829 set dummy $ac_prog; ac_word=$2
11830 echo "$as_me:$LINENO: checking for $ac_word" >&5
11831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11832 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11833 echo $ECHO_N "(cached) $ECHO_C" >&6
11834 else
11835 if test -n "$ac_ct_CC"; then
11836 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11837 else
11838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11839 for as_dir in $PATH
11840 do
11841 IFS=$as_save_IFS
11842 test -z "$as_dir" && as_dir=.
11843 for ac_exec_ext in '' $ac_executable_extensions; do
11844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11845 ac_cv_prog_ac_ct_CC="$ac_prog"
11846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11847 break 2
11848 fi
11849 done
11850 done
11851
11852 fi
11853 fi
11854 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11855 if test -n "$ac_ct_CC"; then
11856 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11857 echo "${ECHO_T}$ac_ct_CC" >&6
11858 else
11859 echo "$as_me:$LINENO: result: no" >&5
11860 echo "${ECHO_T}no" >&6
11861 fi
11862
11863 test -n "$ac_ct_CC" && break
11864 done
11865
11866 CC=$ac_ct_CC
11867 fi
11868
11869 fi
11870
11871
11872 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11873 See \`config.log' for more details." >&5
11874 echo "$as_me: error: no acceptable C compiler found in \$PATH
11875 See \`config.log' for more details." >&2;}
11876 { (exit 1); exit 1; }; }
11877
11878 # Provide some information about the compiler.
11879 echo "$as_me:$LINENO:" \
11880 "checking for C compiler version" >&5
11881 ac_compiler=`set X $ac_compile; echo $2`
11882 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11883 (eval $ac_compiler --version </dev/null >&5) 2>&5
11884 ac_status=$?
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }
11887 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11888 (eval $ac_compiler -v </dev/null >&5) 2>&5
11889 ac_status=$?
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }
11892 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11893 (eval $ac_compiler -V </dev/null >&5) 2>&5
11894 ac_status=$?
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }
11897
11898 cat >conftest.$ac_ext <<_ACEOF
11899 /* confdefs.h. */
11900 _ACEOF
11901 cat confdefs.h >>conftest.$ac_ext
11902 cat >>conftest.$ac_ext <<_ACEOF
11903 /* end confdefs.h. */
11904
11905 int
11906 main ()
11907 {
11908
11909 ;
11910 return 0;
11911 }
11912 _ACEOF
11913 ac_clean_files_save=$ac_clean_files
11914 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11915 # Try to create an executable without -o first, disregard a.out.
11916 # It will help us diagnose broken compilers, and finding out an intuition
11917 # of exeext.
11918 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11919 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11920 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11921 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11922 (eval $ac_link_default) 2>&5
11923 ac_status=$?
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; then
11926 # Find the output, starting from the most likely. This scheme is
11927 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11928 # resort.
11929
11930 # Be careful to initialize this variable, since it used to be cached.
11931 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11932 ac_cv_exeext=
11933 # b.out is created by i960 compilers.
11934 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11935 do
11936 test -f "$ac_file" || continue
11937 case $ac_file in
11938 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11939 ;;
11940 conftest.$ac_ext )
11941 # This is the source file.
11942 ;;
11943 [ab].out )
11944 # We found the default executable, but exeext='' is most
11945 # certainly right.
11946 break;;
11947 *.* )
11948 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11949 # FIXME: I believe we export ac_cv_exeext for Libtool,
11950 # but it would be cool to find out if it's true. Does anybody
11951 # maintain Libtool? --akim.
11952 export ac_cv_exeext
11953 break;;
11954 * )
11955 break;;
11956 esac
11957 done
11958 else
11959 echo "$as_me: failed program was:" >&5
11960 sed 's/^/| /' conftest.$ac_ext >&5
11961
11962 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11963 See \`config.log' for more details." >&5
11964 echo "$as_me: error: C compiler cannot create executables
11965 See \`config.log' for more details." >&2;}
11966 { (exit 77); exit 77; }; }
11967 fi
11968
11969 ac_exeext=$ac_cv_exeext
11970 echo "$as_me:$LINENO: result: $ac_file" >&5
11971 echo "${ECHO_T}$ac_file" >&6
11972
11973 # Check the compiler produces executables we can run. If not, either
11974 # the compiler is broken, or we cross compile.
11975 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11976 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11977 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11978 # If not cross compiling, check that we can run a simple program.
11979 if test "$cross_compiling" != yes; then
11980 if { ac_try='./$ac_file'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11983 ac_status=$?
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986 cross_compiling=no
11987 else
11988 if test "$cross_compiling" = maybe; then
11989 cross_compiling=yes
11990 else
11991 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11992 If you meant to cross compile, use \`--host'.
11993 See \`config.log' for more details." >&5
11994 echo "$as_me: error: cannot run C compiled programs.
11995 If you meant to cross compile, use \`--host'.
11996 See \`config.log' for more details." >&2;}
11997 { (exit 1); exit 1; }; }
11998 fi
11999 fi
12000 fi
12001 echo "$as_me:$LINENO: result: yes" >&5
12002 echo "${ECHO_T}yes" >&6
12003
12004 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12005 ac_clean_files=$ac_clean_files_save
12006 # Check the compiler produces executables we can run. If not, either
12007 # the compiler is broken, or we cross compile.
12008 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12009 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12010 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12011 echo "${ECHO_T}$cross_compiling" >&6
12012
12013 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12014 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12016 (eval $ac_link) 2>&5
12017 ac_status=$?
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; then
12020 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12021 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12022 # work properly (i.e., refer to `conftest.exe'), while it won't with
12023 # `rm'.
12024 for ac_file in conftest.exe conftest conftest.*; do
12025 test -f "$ac_file" || continue
12026 case $ac_file in
12027 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12028 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12029 export ac_cv_exeext
12030 break;;
12031 * ) break;;
12032 esac
12033 done
12034 else
12035 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12036 See \`config.log' for more details." >&5
12037 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12038 See \`config.log' for more details." >&2;}
12039 { (exit 1); exit 1; }; }
12040 fi
12041
12042 rm -f conftest$ac_cv_exeext
12043 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12044 echo "${ECHO_T}$ac_cv_exeext" >&6
12045
12046 rm -f conftest.$ac_ext
12047 EXEEXT=$ac_cv_exeext
12048 ac_exeext=$EXEEXT
12049 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12050 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12051 if test "${ac_cv_objext+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 else
12054 cat >conftest.$ac_ext <<_ACEOF
12055 /* confdefs.h. */
12056 _ACEOF
12057 cat confdefs.h >>conftest.$ac_ext
12058 cat >>conftest.$ac_ext <<_ACEOF
12059 /* end confdefs.h. */
12060
12061 int
12062 main ()
12063 {
12064
12065 ;
12066 return 0;
12067 }
12068 _ACEOF
12069 rm -f conftest.o conftest.obj
12070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12071 (eval $ac_compile) 2>&5
12072 ac_status=$?
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); }; then
12075 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12076 case $ac_file in
12077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12078 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12079 break;;
12080 esac
12081 done
12082 else
12083 echo "$as_me: failed program was:" >&5
12084 sed 's/^/| /' conftest.$ac_ext >&5
12085
12086 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12087 See \`config.log' for more details." >&5
12088 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12089 See \`config.log' for more details." >&2;}
12090 { (exit 1); exit 1; }; }
12091 fi
12092
12093 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12094 fi
12095 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12096 echo "${ECHO_T}$ac_cv_objext" >&6
12097 OBJEXT=$ac_cv_objext
12098 ac_objext=$OBJEXT
12099 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12100 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12101 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12103 else
12104 cat >conftest.$ac_ext <<_ACEOF
12105 /* confdefs.h. */
12106 _ACEOF
12107 cat confdefs.h >>conftest.$ac_ext
12108 cat >>conftest.$ac_ext <<_ACEOF
12109 /* end confdefs.h. */
12110
12111 int
12112 main ()
12113 {
12114 #ifndef __GNUC__
12115 choke me
12116 #endif
12117
12118 ;
12119 return 0;
12120 }
12121 _ACEOF
12122 rm -f conftest.$ac_objext
12123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12124 (eval $ac_compile) 2>conftest.er1
12125 ac_status=$?
12126 grep -v '^ *+' conftest.er1 >conftest.err
12127 rm -f conftest.er1
12128 cat conftest.err >&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); } &&
12131 { ac_try='test -z "$ac_c_werror_flag"
12132 || test ! -s conftest.err'
12133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5
12135 ac_status=$?
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; } &&
12138 { ac_try='test -s conftest.$ac_objext'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12141 ac_status=$?
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; }; then
12144 ac_compiler_gnu=yes
12145 else
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.$ac_ext >&5
12148
12149 ac_compiler_gnu=no
12150 fi
12151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12152 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12153
12154 fi
12155 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12156 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12157 GCC=`test $ac_compiler_gnu = yes && echo yes`
12158 ac_test_CFLAGS=${CFLAGS+set}
12159 ac_save_CFLAGS=$CFLAGS
12160 CFLAGS="-g"
12161 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12162 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12163 if test "${ac_cv_prog_cc_g+set}" = set; then
12164 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 else
12166 cat >conftest.$ac_ext <<_ACEOF
12167 /* confdefs.h. */
12168 _ACEOF
12169 cat confdefs.h >>conftest.$ac_ext
12170 cat >>conftest.$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12172
12173 int
12174 main ()
12175 {
12176
12177 ;
12178 return 0;
12179 }
12180 _ACEOF
12181 rm -f conftest.$ac_objext
12182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12183 (eval $ac_compile) 2>conftest.er1
12184 ac_status=$?
12185 grep -v '^ *+' conftest.er1 >conftest.err
12186 rm -f conftest.er1
12187 cat conftest.err >&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); } &&
12190 { ac_try='test -z "$ac_c_werror_flag"
12191 || test ! -s conftest.err'
12192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12193 (eval $ac_try) 2>&5
12194 ac_status=$?
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); }; } &&
12197 { ac_try='test -s conftest.$ac_objext'
12198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12199 (eval $ac_try) 2>&5
12200 ac_status=$?
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }; }; then
12203 ac_cv_prog_cc_g=yes
12204 else
12205 echo "$as_me: failed program was:" >&5
12206 sed 's/^/| /' conftest.$ac_ext >&5
12207
12208 ac_cv_prog_cc_g=no
12209 fi
12210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12211 fi
12212 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12213 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12214 if test "$ac_test_CFLAGS" = set; then
12215 CFLAGS=$ac_save_CFLAGS
12216 elif test $ac_cv_prog_cc_g = yes; then
12217 if test "$GCC" = yes; then
12218 CFLAGS="-g -O2"
12219 else
12220 CFLAGS="-g"
12221 fi
12222 else
12223 if test "$GCC" = yes; then
12224 CFLAGS="-O2"
12225 else
12226 CFLAGS=
12227 fi
12228 fi
12229 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12230 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12231 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12233 else
12234 ac_cv_prog_cc_stdc=no
12235 ac_save_CC=$CC
12236 cat >conftest.$ac_ext <<_ACEOF
12237 /* confdefs.h. */
12238 _ACEOF
12239 cat confdefs.h >>conftest.$ac_ext
12240 cat >>conftest.$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12242 #include <stdarg.h>
12243 #include <stdio.h>
12244 #include <sys/types.h>
12245 #include <sys/stat.h>
12246 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12247 struct buf { int x; };
12248 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12249 static char *e (p, i)
12250 char **p;
12251 int i;
12252 {
12253 return p[i];
12254 }
12255 static char *f (char * (*g) (char **, int), char **p, ...)
12256 {
12257 char *s;
12258 va_list v;
12259 va_start (v,p);
12260 s = g (p, va_arg (v,int));
12261 va_end (v);
12262 return s;
12263 }
12264
12265 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12266 function prototypes and stuff, but not '\xHH' hex character constants.
12267 These don't provoke an error unfortunately, instead are silently treated
12268 as 'x'. The following induces an error, until -std1 is added to get
12269 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12270 array size at least. It's necessary to write '\x00'==0 to get something
12271 that's true only with -std1. */
12272 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12273
12274 int test (int i, double x);
12275 struct s1 {int (*f) (int a);};
12276 struct s2 {int (*f) (double a);};
12277 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12278 int argc;
12279 char **argv;
12280 int
12281 main ()
12282 {
12283 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12284 ;
12285 return 0;
12286 }
12287 _ACEOF
12288 # Don't try gcc -ansi; that turns off useful extensions and
12289 # breaks some systems' header files.
12290 # AIX -qlanglvl=ansi
12291 # Ultrix and OSF/1 -std1
12292 # HP-UX 10.20 and later -Ae
12293 # HP-UX older versions -Aa -D_HPUX_SOURCE
12294 # SVR4 -Xc -D__EXTENSIONS__
12295 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12296 do
12297 CC="$ac_save_CC $ac_arg"
12298 rm -f conftest.$ac_objext
12299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12300 (eval $ac_compile) 2>conftest.er1
12301 ac_status=$?
12302 grep -v '^ *+' conftest.er1 >conftest.err
12303 rm -f conftest.er1
12304 cat conftest.err >&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); } &&
12307 { ac_try='test -z "$ac_c_werror_flag"
12308 || test ! -s conftest.err'
12309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12310 (eval $ac_try) 2>&5
12311 ac_status=$?
12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313 (exit $ac_status); }; } &&
12314 { ac_try='test -s conftest.$ac_objext'
12315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12316 (eval $ac_try) 2>&5
12317 ac_status=$?
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); }; }; then
12320 ac_cv_prog_cc_stdc=$ac_arg
12321 break
12322 else
12323 echo "$as_me: failed program was:" >&5
12324 sed 's/^/| /' conftest.$ac_ext >&5
12325
12326 fi
12327 rm -f conftest.err conftest.$ac_objext
12328 done
12329 rm -f conftest.$ac_ext conftest.$ac_objext
12330 CC=$ac_save_CC
12331
12332 fi
12333
12334 case "x$ac_cv_prog_cc_stdc" in
12335 x|xno)
12336 echo "$as_me:$LINENO: result: none needed" >&5
12337 echo "${ECHO_T}none needed" >&6 ;;
12338 *)
12339 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12340 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12341 CC="$CC $ac_cv_prog_cc_stdc" ;;
12342 esac
12343
12344 # Some people use a C++ compiler to compile C. Since we use `exit',
12345 # in C++ we need to declare it. In case someone uses the same compiler
12346 # for both compiling C and C++ we need to have the C++ compiler decide
12347 # the declaration of exit, since it's the most demanding environment.
12348 cat >conftest.$ac_ext <<_ACEOF
12349 #ifndef __cplusplus
12350 choke me
12351 #endif
12352 _ACEOF
12353 rm -f conftest.$ac_objext
12354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12355 (eval $ac_compile) 2>conftest.er1
12356 ac_status=$?
12357 grep -v '^ *+' conftest.er1 >conftest.err
12358 rm -f conftest.er1
12359 cat conftest.err >&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); } &&
12362 { ac_try='test -z "$ac_c_werror_flag"
12363 || test ! -s conftest.err'
12364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12365 (eval $ac_try) 2>&5
12366 ac_status=$?
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; } &&
12369 { ac_try='test -s conftest.$ac_objext'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12372 ac_status=$?
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; }; then
12375 for ac_declaration in \
12376 '' \
12377 'extern "C" void std::exit (int) throw (); using std::exit;' \
12378 'extern "C" void std::exit (int); using std::exit;' \
12379 'extern "C" void exit (int) throw ();' \
12380 'extern "C" void exit (int);' \
12381 'void exit (int);'
12382 do
12383 cat >conftest.$ac_ext <<_ACEOF
12384 /* confdefs.h. */
12385 _ACEOF
12386 cat confdefs.h >>conftest.$ac_ext
12387 cat >>conftest.$ac_ext <<_ACEOF
12388 /* end confdefs.h. */
12389 $ac_declaration
12390 #include <stdlib.h>
12391 int
12392 main ()
12393 {
12394 exit (42);
12395 ;
12396 return 0;
12397 }
12398 _ACEOF
12399 rm -f conftest.$ac_objext
12400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12401 (eval $ac_compile) 2>conftest.er1
12402 ac_status=$?
12403 grep -v '^ *+' conftest.er1 >conftest.err
12404 rm -f conftest.er1
12405 cat conftest.err >&5
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); } &&
12408 { ac_try='test -z "$ac_c_werror_flag"
12409 || test ! -s conftest.err'
12410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12411 (eval $ac_try) 2>&5
12412 ac_status=$?
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); }; } &&
12415 { ac_try='test -s conftest.$ac_objext'
12416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12417 (eval $ac_try) 2>&5
12418 ac_status=$?
12419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12420 (exit $ac_status); }; }; then
12421 :
12422 else
12423 echo "$as_me: failed program was:" >&5
12424 sed 's/^/| /' conftest.$ac_ext >&5
12425
12426 continue
12427 fi
12428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12429 cat >conftest.$ac_ext <<_ACEOF
12430 /* confdefs.h. */
12431 _ACEOF
12432 cat confdefs.h >>conftest.$ac_ext
12433 cat >>conftest.$ac_ext <<_ACEOF
12434 /* end confdefs.h. */
12435 $ac_declaration
12436 int
12437 main ()
12438 {
12439 exit (42);
12440 ;
12441 return 0;
12442 }
12443 _ACEOF
12444 rm -f conftest.$ac_objext
12445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12446 (eval $ac_compile) 2>conftest.er1
12447 ac_status=$?
12448 grep -v '^ *+' conftest.er1 >conftest.err
12449 rm -f conftest.er1
12450 cat conftest.err >&5
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); } &&
12453 { ac_try='test -z "$ac_c_werror_flag"
12454 || test ! -s conftest.err'
12455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12456 (eval $ac_try) 2>&5
12457 ac_status=$?
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); }; } &&
12460 { ac_try='test -s conftest.$ac_objext'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12463 ac_status=$?
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; }; then
12466 break
12467 else
12468 echo "$as_me: failed program was:" >&5
12469 sed 's/^/| /' conftest.$ac_ext >&5
12470
12471 fi
12472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12473 done
12474 rm -f conftest*
12475 if test -n "$ac_declaration"; then
12476 echo '#ifdef __cplusplus' >>confdefs.h
12477 echo $ac_declaration >>confdefs.h
12478 echo '#endif' >>confdefs.h
12479 fi
12480
12481 else
12482 echo "$as_me: failed program was:" >&5
12483 sed 's/^/| /' conftest.$ac_ext >&5
12484
12485 fi
12486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12487 ac_ext=c
12488 ac_cpp='$CPP $CPPFLAGS'
12489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12492
12493
12494
12495 ac_ext=c
12496 ac_cpp='$CPP $CPPFLAGS'
12497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12500
12501 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12502 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12503 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12505 else
12506 cat >conftest.$ac_ext <<_ACEOF
12507 /* confdefs.h. */
12508 _ACEOF
12509 cat confdefs.h >>conftest.$ac_ext
12510 cat >>conftest.$ac_ext <<_ACEOF
12511 /* end confdefs.h. */
12512
12513 int
12514 main ()
12515 {
12516
12517 #ifndef __INTEL_COMPILER
12518 choke me
12519 #endif
12520
12521 ;
12522 return 0;
12523 }
12524 _ACEOF
12525 rm -f conftest.$ac_objext
12526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12527 (eval $ac_compile) 2>conftest.er1
12528 ac_status=$?
12529 grep -v '^ *+' conftest.er1 >conftest.err
12530 rm -f conftest.er1
12531 cat conftest.err >&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } &&
12534 { ac_try='test -z "$ac_c_werror_flag"
12535 || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12538 ac_status=$?
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12548 else
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.$ac_ext >&5
12551
12552 bakefile_cv_c_compiler___INTEL_COMPILER=no
12553
12554 fi
12555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12556
12557
12558 fi
12559 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12560 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12561 ac_ext=c
12562 ac_cpp='$CPP $CPPFLAGS'
12563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12566
12567 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12568 :; INTELCC=yes
12569 else
12570 :;
12571 fi
12572
12573
12574 if test "x$GCC" != "xyes"; then
12575 if test "xCC" = "xC"; then
12576 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12577 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12578 if test "${bakefile_cv_c_exto+set}" = set; then
12579 echo $ECHO_N "(cached) $ECHO_C" >&6
12580 else
12581 cat >conftest.$ac_ext <<_ACEOF
12582 /* confdefs.h. */
12583 _ACEOF
12584 cat confdefs.h >>conftest.$ac_ext
12585 cat >>conftest.$ac_ext <<_ACEOF
12586 /* end confdefs.h. */
12587
12588 int
12589 main ()
12590 {
12591
12592 ;
12593 return 0;
12594 }
12595 _ACEOF
12596 rm -f conftest.$ac_objext conftest.$ac_ext.o
12597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12598 (eval $ac_compile) 2>&5
12599 ac_status=$?
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; then
12602 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12603 case $ac_file in
12604 conftest.$ac_ext.o)
12605 bakefile_cv_c_exto="-ext o"
12606 ;;
12607 *)
12608 ;;
12609 esac
12610 done
12611 else
12612 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12613 See \`config.log' for more details." >&5
12614 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12615 See \`config.log' for more details." >&2;}
12616 { (exit 1); exit 1; }; }
12617
12618 fi
12619
12620 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12621
12622 fi
12623 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12624 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12625 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12626 if test "c" = "c"; then
12627 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12628 fi
12629 if test "c" = "cxx"; then
12630 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12631 fi
12632 fi
12633
12634 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12635 unset ac_cv_prog_cc_g
12636 ac_test_CFLAGS=${CFLAGS+set}
12637 ac_save_CFLAGS=$CFLAGS
12638 CFLAGS="-g"
12639 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12640 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12641 if test "${ac_cv_prog_cc_g+set}" = set; then
12642 echo $ECHO_N "(cached) $ECHO_C" >&6
12643 else
12644 cat >conftest.$ac_ext <<_ACEOF
12645 /* confdefs.h. */
12646 _ACEOF
12647 cat confdefs.h >>conftest.$ac_ext
12648 cat >>conftest.$ac_ext <<_ACEOF
12649 /* end confdefs.h. */
12650
12651 int
12652 main ()
12653 {
12654
12655 ;
12656 return 0;
12657 }
12658 _ACEOF
12659 rm -f conftest.$ac_objext
12660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12661 (eval $ac_compile) 2>conftest.er1
12662 ac_status=$?
12663 grep -v '^ *+' conftest.er1 >conftest.err
12664 rm -f conftest.er1
12665 cat conftest.err >&5
12666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12667 (exit $ac_status); } &&
12668 { ac_try='test -z "$ac_c_werror_flag"
12669 || test ! -s conftest.err'
12670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12671 (eval $ac_try) 2>&5
12672 ac_status=$?
12673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); }; } &&
12675 { ac_try='test -s conftest.$ac_objext'
12676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677 (eval $ac_try) 2>&5
12678 ac_status=$?
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; }; then
12681 ac_cv_prog_cc_g=yes
12682 else
12683 echo "$as_me: failed program was:" >&5
12684 sed 's/^/| /' conftest.$ac_ext >&5
12685
12686 ac_cv_prog_cc_g=no
12687 fi
12688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12689 fi
12690 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12691 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12692 if test "$ac_test_CFLAGS" = set; then
12693 CFLAGS=$ac_save_CFLAGS
12694 elif test $ac_cv_prog_cc_g = yes; then
12695 if test "$GCC" = yes; then
12696 CFLAGS="-g -O2"
12697 else
12698 CFLAGS="-g"
12699 fi
12700 else
12701 if test "$GCC" = yes; then
12702 CFLAGS="-O2"
12703 else
12704 CFLAGS=
12705 fi
12706 fi
12707 fi
12708 fi
12709
12710 case `uname -s` in
12711 AIX*)
12712 ac_ext=c
12713 ac_cpp='$CPP $CPPFLAGS'
12714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12717
12718 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12719 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12720 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12722 else
12723 cat >conftest.$ac_ext <<_ACEOF
12724 /* confdefs.h. */
12725 _ACEOF
12726 cat confdefs.h >>conftest.$ac_ext
12727 cat >>conftest.$ac_ext <<_ACEOF
12728 /* end confdefs.h. */
12729
12730 int
12731 main ()
12732 {
12733 #ifndef __xlC__
12734 choke me
12735 #endif
12736
12737 ;
12738 return 0;
12739 }
12740 _ACEOF
12741 rm -f conftest.$ac_objext
12742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12743 (eval $ac_compile) 2>conftest.er1
12744 ac_status=$?
12745 grep -v '^ *+' conftest.er1 >conftest.err
12746 rm -f conftest.er1
12747 cat conftest.err >&5
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); } &&
12750 { ac_try='test -z "$ac_c_werror_flag"
12751 || test ! -s conftest.err'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12754 ac_status=$?
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; } &&
12757 { ac_try='test -s conftest.$ac_objext'
12758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12759 (eval $ac_try) 2>&5
12760 ac_status=$?
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); }; }; then
12763 bakefile_compiler_xlc=yes
12764 else
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.$ac_ext >&5
12767
12768 bakefile_compiler_xlc=no
12769 fi
12770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12771 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12772
12773 fi
12774 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12775 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12776
12777 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12778 ac_ext=c
12779 ac_cpp='$CPP $CPPFLAGS'
12780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12783
12784
12785 ;;
12786
12787 Darwin)
12788 ac_ext=c
12789 ac_cpp='$CPP $CPPFLAGS'
12790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12793
12794 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12795 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12796 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12798 else
12799 cat >conftest.$ac_ext <<_ACEOF
12800 /* confdefs.h. */
12801 _ACEOF
12802 cat confdefs.h >>conftest.$ac_ext
12803 cat >>conftest.$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805
12806 int
12807 main ()
12808 {
12809 #ifndef __MWERKS__
12810 choke me
12811 #endif
12812
12813 ;
12814 return 0;
12815 }
12816 _ACEOF
12817 rm -f conftest.$ac_objext
12818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12819 (eval $ac_compile) 2>conftest.er1
12820 ac_status=$?
12821 grep -v '^ *+' conftest.er1 >conftest.err
12822 rm -f conftest.er1
12823 cat conftest.err >&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); } &&
12826 { ac_try='test -z "$ac_c_werror_flag"
12827 || test ! -s conftest.err'
12828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12829 (eval $ac_try) 2>&5
12830 ac_status=$?
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); }; } &&
12833 { ac_try='test -s conftest.$ac_objext'
12834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 (eval $ac_try) 2>&5
12836 ac_status=$?
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; }; then
12839 bakefile_compiler_mwerks=yes
12840 else
12841 echo "$as_me: failed program was:" >&5
12842 sed 's/^/| /' conftest.$ac_ext >&5
12843
12844 bakefile_compiler_mwerks=no
12845 fi
12846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12847 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12848
12849 fi
12850 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12851 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12852
12853 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12854 ac_ext=c
12855 ac_cpp='$CPP $CPPFLAGS'
12856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12859
12860
12861 ac_ext=c
12862 ac_cpp='$CPP $CPPFLAGS'
12863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12866
12867 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12868 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12869 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 else
12872 cat >conftest.$ac_ext <<_ACEOF
12873 /* confdefs.h. */
12874 _ACEOF
12875 cat confdefs.h >>conftest.$ac_ext
12876 cat >>conftest.$ac_ext <<_ACEOF
12877 /* end confdefs.h. */
12878
12879 int
12880 main ()
12881 {
12882 #ifndef __xlC__
12883 choke me
12884 #endif
12885
12886 ;
12887 return 0;
12888 }
12889 _ACEOF
12890 rm -f conftest.$ac_objext
12891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12892 (eval $ac_compile) 2>conftest.er1
12893 ac_status=$?
12894 grep -v '^ *+' conftest.er1 >conftest.err
12895 rm -f conftest.er1
12896 cat conftest.err >&5
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); } &&
12899 { ac_try='test -z "$ac_c_werror_flag"
12900 || test ! -s conftest.err'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5
12903 ac_status=$?
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; } &&
12906 { ac_try='test -s conftest.$ac_objext'
12907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12908 (eval $ac_try) 2>&5
12909 ac_status=$?
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); }; }; then
12912 bakefile_compiler_xlc=yes
12913 else
12914 echo "$as_me: failed program was:" >&5
12915 sed 's/^/| /' conftest.$ac_ext >&5
12916
12917 bakefile_compiler_xlc=no
12918 fi
12919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12920 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12921
12922 fi
12923 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12924 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12925
12926 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12927 ac_ext=c
12928 ac_cpp='$CPP $CPPFLAGS'
12929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12932
12933
12934 ;;
12935
12936 IRIX*)
12937
12938
12939 ac_ext=c
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12944
12945 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12946 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12947 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 else
12950 cat >conftest.$ac_ext <<_ACEOF
12951 /* confdefs.h. */
12952 _ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12956
12957 int
12958 main ()
12959 {
12960
12961 #ifndef _SGI_COMPILER_VERSION
12962 choke me
12963 #endif
12964
12965 ;
12966 return 0;
12967 }
12968 _ACEOF
12969 rm -f conftest.$ac_objext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12971 (eval $ac_compile) 2>conftest.er1
12972 ac_status=$?
12973 grep -v '^ *+' conftest.er1 >conftest.err
12974 rm -f conftest.er1
12975 cat conftest.err >&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try='test -z "$ac_c_werror_flag"
12979 || test ! -s conftest.err'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12982 ac_status=$?
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; } &&
12985 { ac_try='test -s conftest.$ac_objext'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12988 ac_status=$?
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; }; then
12991 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12992 else
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.$ac_ext >&5
12995
12996 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12997
12998 fi
12999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13000
13001
13002 fi
13003 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13004 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13005 ac_ext=c
13006 ac_cpp='$CPP $CPPFLAGS'
13007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13010
13011 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13012 :; SGICC=yes
13013 else
13014 :;
13015 fi
13016
13017
13018 ;;
13019
13020 HP-UX*)
13021
13022
13023 ac_ext=c
13024 ac_cpp='$CPP $CPPFLAGS'
13025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13028
13029 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13030 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13031 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13032 echo $ECHO_N "(cached) $ECHO_C" >&6
13033 else
13034 cat >conftest.$ac_ext <<_ACEOF
13035 /* confdefs.h. */
13036 _ACEOF
13037 cat confdefs.h >>conftest.$ac_ext
13038 cat >>conftest.$ac_ext <<_ACEOF
13039 /* end confdefs.h. */
13040
13041 int
13042 main ()
13043 {
13044
13045 #ifndef __HP_cc
13046 choke me
13047 #endif
13048
13049 ;
13050 return 0;
13051 }
13052 _ACEOF
13053 rm -f conftest.$ac_objext
13054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13055 (eval $ac_compile) 2>conftest.er1
13056 ac_status=$?
13057 grep -v '^ *+' conftest.er1 >conftest.err
13058 rm -f conftest.er1
13059 cat conftest.err >&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } &&
13062 { ac_try='test -z "$ac_c_werror_flag"
13063 || test ! -s conftest.err'
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065 (eval $ac_try) 2>&5
13066 ac_status=$?
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; } &&
13069 { ac_try='test -s conftest.$ac_objext'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13072 ac_status=$?
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; }; then
13075 bakefile_cv_c_compiler___HP_cc=yes
13076 else
13077 echo "$as_me: failed program was:" >&5
13078 sed 's/^/| /' conftest.$ac_ext >&5
13079
13080 bakefile_cv_c_compiler___HP_cc=no
13081
13082 fi
13083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13084
13085
13086 fi
13087 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13088 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13089 ac_ext=c
13090 ac_cpp='$CPP $CPPFLAGS'
13091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13094
13095 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13096 :; HPCC=yes
13097 else
13098 :;
13099 fi
13100
13101
13102 ;;
13103
13104 OSF1)
13105
13106
13107 ac_ext=c
13108 ac_cpp='$CPP $CPPFLAGS'
13109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13112
13113 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13114 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13115 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13116 echo $ECHO_N "(cached) $ECHO_C" >&6
13117 else
13118 cat >conftest.$ac_ext <<_ACEOF
13119 /* confdefs.h. */
13120 _ACEOF
13121 cat confdefs.h >>conftest.$ac_ext
13122 cat >>conftest.$ac_ext <<_ACEOF
13123 /* end confdefs.h. */
13124
13125 int
13126 main ()
13127 {
13128
13129 #ifndef __DECC
13130 choke me
13131 #endif
13132
13133 ;
13134 return 0;
13135 }
13136 _ACEOF
13137 rm -f conftest.$ac_objext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13139 (eval $ac_compile) 2>conftest.er1
13140 ac_status=$?
13141 grep -v '^ *+' conftest.er1 >conftest.err
13142 rm -f conftest.er1
13143 cat conftest.err >&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } &&
13146 { ac_try='test -z "$ac_c_werror_flag"
13147 || test ! -s conftest.err'
13148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13149 (eval $ac_try) 2>&5
13150 ac_status=$?
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); }; } &&
13153 { ac_try='test -s conftest.$ac_objext'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13156 ac_status=$?
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13159 bakefile_cv_c_compiler___DECC=yes
13160 else
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.$ac_ext >&5
13163
13164 bakefile_cv_c_compiler___DECC=no
13165
13166 fi
13167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13168
13169
13170 fi
13171 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13172 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13173 ac_ext=c
13174 ac_cpp='$CPP $CPPFLAGS'
13175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13178
13179 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13180 :; COMPAQCC=yes
13181 else
13182 :;
13183 fi
13184
13185
13186 ;;
13187
13188 SunOS)
13189
13190
13191 ac_ext=c
13192 ac_cpp='$CPP $CPPFLAGS'
13193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13196
13197 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13198 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13199 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13200 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 else
13202 cat >conftest.$ac_ext <<_ACEOF
13203 /* confdefs.h. */
13204 _ACEOF
13205 cat confdefs.h >>conftest.$ac_ext
13206 cat >>conftest.$ac_ext <<_ACEOF
13207 /* end confdefs.h. */
13208
13209 int
13210 main ()
13211 {
13212
13213 #ifndef __SUNPRO_C
13214 choke me
13215 #endif
13216
13217 ;
13218 return 0;
13219 }
13220 _ACEOF
13221 rm -f conftest.$ac_objext
13222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13223 (eval $ac_compile) 2>conftest.er1
13224 ac_status=$?
13225 grep -v '^ *+' conftest.er1 >conftest.err
13226 rm -f conftest.er1
13227 cat conftest.err >&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); } &&
13230 { ac_try='test -z "$ac_c_werror_flag"
13231 || test ! -s conftest.err'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13234 ac_status=$?
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; } &&
13237 { ac_try='test -s conftest.$ac_objext'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13240 ac_status=$?
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then
13243 bakefile_cv_c_compiler___SUNPRO_C=yes
13244 else
13245 echo "$as_me: failed program was:" >&5
13246 sed 's/^/| /' conftest.$ac_ext >&5
13247
13248 bakefile_cv_c_compiler___SUNPRO_C=no
13249
13250 fi
13251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13252
13253
13254 fi
13255 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13256 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13257 ac_ext=c
13258 ac_cpp='$CPP $CPPFLAGS'
13259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13262
13263 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13264 :; SUNCC=yes
13265 else
13266 :;
13267 fi
13268
13269
13270 ;;
13271 esac
13272 fi
13273
13274
13275
13276 ac_ext=c
13277 ac_cpp='$CPP $CPPFLAGS'
13278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13281 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13282 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13283 # On Suns, sometimes $CPP names a directory.
13284 if test -n "$CPP" && test -d "$CPP"; then
13285 CPP=
13286 fi
13287 if test -z "$CPP"; then
13288 if test "${ac_cv_prog_CPP+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 else
13291 # Double quotes because CPP needs to be expanded
13292 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13293 do
13294 ac_preproc_ok=false
13295 for ac_c_preproc_warn_flag in '' yes
13296 do
13297 # Use a header file that comes with gcc, so configuring glibc
13298 # with a fresh cross-compiler works.
13299 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13300 # <limits.h> exists even on freestanding compilers.
13301 # On the NeXT, cc -E runs the code through the compiler's parser,
13302 # not just through cpp. "Syntax error" is here to catch this case.
13303 cat >conftest.$ac_ext <<_ACEOF
13304 /* confdefs.h. */
13305 _ACEOF
13306 cat confdefs.h >>conftest.$ac_ext
13307 cat >>conftest.$ac_ext <<_ACEOF
13308 /* end confdefs.h. */
13309 #ifdef __STDC__
13310 # include <limits.h>
13311 #else
13312 # include <assert.h>
13313 #endif
13314 Syntax error
13315 _ACEOF
13316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13317 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13318 ac_status=$?
13319 grep -v '^ *+' conftest.er1 >conftest.err
13320 rm -f conftest.er1
13321 cat conftest.err >&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } >/dev/null; then
13324 if test -s conftest.err; then
13325 ac_cpp_err=$ac_c_preproc_warn_flag
13326 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13327 else
13328 ac_cpp_err=
13329 fi
13330 else
13331 ac_cpp_err=yes
13332 fi
13333 if test -z "$ac_cpp_err"; then
13334 :
13335 else
13336 echo "$as_me: failed program was:" >&5
13337 sed 's/^/| /' conftest.$ac_ext >&5
13338
13339 # Broken: fails on valid input.
13340 continue
13341 fi
13342 rm -f conftest.err conftest.$ac_ext
13343
13344 # OK, works on sane cases. Now check whether non-existent headers
13345 # can be detected and how.
13346 cat >conftest.$ac_ext <<_ACEOF
13347 /* confdefs.h. */
13348 _ACEOF
13349 cat confdefs.h >>conftest.$ac_ext
13350 cat >>conftest.$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352 #include <ac_nonexistent.h>
13353 _ACEOF
13354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13356 ac_status=$?
13357 grep -v '^ *+' conftest.er1 >conftest.err
13358 rm -f conftest.er1
13359 cat conftest.err >&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); } >/dev/null; then
13362 if test -s conftest.err; then
13363 ac_cpp_err=$ac_c_preproc_warn_flag
13364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13365 else
13366 ac_cpp_err=
13367 fi
13368 else
13369 ac_cpp_err=yes
13370 fi
13371 if test -z "$ac_cpp_err"; then
13372 # Broken: success on invalid input.
13373 continue
13374 else
13375 echo "$as_me: failed program was:" >&5
13376 sed 's/^/| /' conftest.$ac_ext >&5
13377
13378 # Passes both tests.
13379 ac_preproc_ok=:
13380 break
13381 fi
13382 rm -f conftest.err conftest.$ac_ext
13383
13384 done
13385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13386 rm -f conftest.err conftest.$ac_ext
13387 if $ac_preproc_ok; then
13388 break
13389 fi
13390
13391 done
13392 ac_cv_prog_CPP=$CPP
13393
13394 fi
13395 CPP=$ac_cv_prog_CPP
13396 else
13397 ac_cv_prog_CPP=$CPP
13398 fi
13399 echo "$as_me:$LINENO: result: $CPP" >&5
13400 echo "${ECHO_T}$CPP" >&6
13401 ac_preproc_ok=false
13402 for ac_c_preproc_warn_flag in '' yes
13403 do
13404 # Use a header file that comes with gcc, so configuring glibc
13405 # with a fresh cross-compiler works.
13406 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13407 # <limits.h> exists even on freestanding compilers.
13408 # On the NeXT, cc -E runs the code through the compiler's parser,
13409 # not just through cpp. "Syntax error" is here to catch this case.
13410 cat >conftest.$ac_ext <<_ACEOF
13411 /* confdefs.h. */
13412 _ACEOF
13413 cat confdefs.h >>conftest.$ac_ext
13414 cat >>conftest.$ac_ext <<_ACEOF
13415 /* end confdefs.h. */
13416 #ifdef __STDC__
13417 # include <limits.h>
13418 #else
13419 # include <assert.h>
13420 #endif
13421 Syntax error
13422 _ACEOF
13423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13425 ac_status=$?
13426 grep -v '^ *+' conftest.er1 >conftest.err
13427 rm -f conftest.er1
13428 cat conftest.err >&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); } >/dev/null; then
13431 if test -s conftest.err; then
13432 ac_cpp_err=$ac_c_preproc_warn_flag
13433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13434 else
13435 ac_cpp_err=
13436 fi
13437 else
13438 ac_cpp_err=yes
13439 fi
13440 if test -z "$ac_cpp_err"; then
13441 :
13442 else
13443 echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.$ac_ext >&5
13445
13446 # Broken: fails on valid input.
13447 continue
13448 fi
13449 rm -f conftest.err conftest.$ac_ext
13450
13451 # OK, works on sane cases. Now check whether non-existent headers
13452 # can be detected and how.
13453 cat >conftest.$ac_ext <<_ACEOF
13454 /* confdefs.h. */
13455 _ACEOF
13456 cat confdefs.h >>conftest.$ac_ext
13457 cat >>conftest.$ac_ext <<_ACEOF
13458 /* end confdefs.h. */
13459 #include <ac_nonexistent.h>
13460 _ACEOF
13461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13463 ac_status=$?
13464 grep -v '^ *+' conftest.er1 >conftest.err
13465 rm -f conftest.er1
13466 cat conftest.err >&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } >/dev/null; then
13469 if test -s conftest.err; then
13470 ac_cpp_err=$ac_c_preproc_warn_flag
13471 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13472 else
13473 ac_cpp_err=
13474 fi
13475 else
13476 ac_cpp_err=yes
13477 fi
13478 if test -z "$ac_cpp_err"; then
13479 # Broken: success on invalid input.
13480 continue
13481 else
13482 echo "$as_me: failed program was:" >&5
13483 sed 's/^/| /' conftest.$ac_ext >&5
13484
13485 # Passes both tests.
13486 ac_preproc_ok=:
13487 break
13488 fi
13489 rm -f conftest.err conftest.$ac_ext
13490
13491 done
13492 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13493 rm -f conftest.err conftest.$ac_ext
13494 if $ac_preproc_ok; then
13495 :
13496 else
13497 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13498 See \`config.log' for more details." >&5
13499 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13500 See \`config.log' for more details." >&2;}
13501 { (exit 1); exit 1; }; }
13502 fi
13503
13504 ac_ext=c
13505 ac_cpp='$CPP $CPPFLAGS'
13506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13509
13510
13511 echo "$as_me:$LINENO: checking for egrep" >&5
13512 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13513 if test "${ac_cv_prog_egrep+set}" = set; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13515 else
13516 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13517 then ac_cv_prog_egrep='grep -E'
13518 else ac_cv_prog_egrep='egrep'
13519 fi
13520 fi
13521 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13522 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13523 EGREP=$ac_cv_prog_egrep
13524
13525
13526 if test $ac_cv_c_compiler_gnu = yes; then
13527 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13528 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13529 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13530 echo $ECHO_N "(cached) $ECHO_C" >&6
13531 else
13532 ac_pattern="Autoconf.*'x'"
13533 cat >conftest.$ac_ext <<_ACEOF
13534 /* confdefs.h. */
13535 _ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13539 #include <sgtty.h>
13540 Autoconf TIOCGETP
13541 _ACEOF
13542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13543 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13544 ac_cv_prog_gcc_traditional=yes
13545 else
13546 ac_cv_prog_gcc_traditional=no
13547 fi
13548 rm -f conftest*
13549
13550
13551 if test $ac_cv_prog_gcc_traditional = no; then
13552 cat >conftest.$ac_ext <<_ACEOF
13553 /* confdefs.h. */
13554 _ACEOF
13555 cat confdefs.h >>conftest.$ac_ext
13556 cat >>conftest.$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13558 #include <termio.h>
13559 Autoconf TCGETA
13560 _ACEOF
13561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13562 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13563 ac_cv_prog_gcc_traditional=yes
13564 fi
13565 rm -f conftest*
13566
13567 fi
13568 fi
13569 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13570 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13571 if test $ac_cv_prog_gcc_traditional = yes; then
13572 CC="$CC -traditional"
13573 fi
13574 fi
13575
13576
13577 ac_ext=cc
13578 ac_cpp='$CXXCPP $CPPFLAGS'
13579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13582
13583
13584 CXXFLAGS=${CXXFLAGS:=}
13585
13586
13587
13588 ac_ext=cc
13589 ac_cpp='$CXXCPP $CPPFLAGS'
13590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13593 if test -n "$ac_tool_prefix"; then
13594 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13595 do
13596 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13597 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13598 echo "$as_me:$LINENO: checking for $ac_word" >&5
13599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13600 if test "${ac_cv_prog_CXX+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13602 else
13603 if test -n "$CXX"; then
13604 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13605 else
13606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13607 for as_dir in $PATH
13608 do
13609 IFS=$as_save_IFS
13610 test -z "$as_dir" && as_dir=.
13611 for ac_exec_ext in '' $ac_executable_extensions; do
13612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13613 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13615 break 2
13616 fi
13617 done
13618 done
13619
13620 fi
13621 fi
13622 CXX=$ac_cv_prog_CXX
13623 if test -n "$CXX"; then
13624 echo "$as_me:$LINENO: result: $CXX" >&5
13625 echo "${ECHO_T}$CXX" >&6
13626 else
13627 echo "$as_me:$LINENO: result: no" >&5
13628 echo "${ECHO_T}no" >&6
13629 fi
13630
13631 test -n "$CXX" && break
13632 done
13633 fi
13634 if test -z "$CXX"; then
13635 ac_ct_CXX=$CXX
13636 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13637 do
13638 # Extract the first word of "$ac_prog", so it can be a program name with args.
13639 set dummy $ac_prog; ac_word=$2
13640 echo "$as_me:$LINENO: checking for $ac_word" >&5
13641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13642 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 else
13645 if test -n "$ac_ct_CXX"; then
13646 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13647 else
13648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13649 for as_dir in $PATH
13650 do
13651 IFS=$as_save_IFS
13652 test -z "$as_dir" && as_dir=.
13653 for ac_exec_ext in '' $ac_executable_extensions; do
13654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13655 ac_cv_prog_ac_ct_CXX="$ac_prog"
13656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13657 break 2
13658 fi
13659 done
13660 done
13661
13662 fi
13663 fi
13664 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13665 if test -n "$ac_ct_CXX"; then
13666 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13667 echo "${ECHO_T}$ac_ct_CXX" >&6
13668 else
13669 echo "$as_me:$LINENO: result: no" >&5
13670 echo "${ECHO_T}no" >&6
13671 fi
13672
13673 test -n "$ac_ct_CXX" && break
13674 done
13675 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13676
13677 CXX=$ac_ct_CXX
13678 fi
13679
13680
13681 # Provide some information about the compiler.
13682 echo "$as_me:$LINENO:" \
13683 "checking for C++ compiler version" >&5
13684 ac_compiler=`set X $ac_compile; echo $2`
13685 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13686 (eval $ac_compiler --version </dev/null >&5) 2>&5
13687 ac_status=$?
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); }
13690 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13691 (eval $ac_compiler -v </dev/null >&5) 2>&5
13692 ac_status=$?
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); }
13695 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13696 (eval $ac_compiler -V </dev/null >&5) 2>&5
13697 ac_status=$?
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); }
13700
13701 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13702 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13703 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13704 echo $ECHO_N "(cached) $ECHO_C" >&6
13705 else
13706 cat >conftest.$ac_ext <<_ACEOF
13707 /* confdefs.h. */
13708 _ACEOF
13709 cat confdefs.h >>conftest.$ac_ext
13710 cat >>conftest.$ac_ext <<_ACEOF
13711 /* end confdefs.h. */
13712
13713 int
13714 main ()
13715 {
13716 #ifndef __GNUC__
13717 choke me
13718 #endif
13719
13720 ;
13721 return 0;
13722 }
13723 _ACEOF
13724 rm -f conftest.$ac_objext
13725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13726 (eval $ac_compile) 2>conftest.er1
13727 ac_status=$?
13728 grep -v '^ *+' conftest.er1 >conftest.err
13729 rm -f conftest.er1
13730 cat conftest.err >&5
13731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13732 (exit $ac_status); } &&
13733 { ac_try='test -z "$ac_cxx_werror_flag"
13734 || test ! -s conftest.err'
13735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13736 (eval $ac_try) 2>&5
13737 ac_status=$?
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 (exit $ac_status); }; } &&
13740 { ac_try='test -s conftest.$ac_objext'
13741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13742 (eval $ac_try) 2>&5
13743 ac_status=$?
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); }; }; then
13746 ac_compiler_gnu=yes
13747 else
13748 echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.$ac_ext >&5
13750
13751 ac_compiler_gnu=no
13752 fi
13753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13754 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13755
13756 fi
13757 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13758 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13759 GXX=`test $ac_compiler_gnu = yes && echo yes`
13760 ac_test_CXXFLAGS=${CXXFLAGS+set}
13761 ac_save_CXXFLAGS=$CXXFLAGS
13762 CXXFLAGS="-g"
13763 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13764 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13765 if test "${ac_cv_prog_cxx_g+set}" = set; then
13766 echo $ECHO_N "(cached) $ECHO_C" >&6
13767 else
13768 cat >conftest.$ac_ext <<_ACEOF
13769 /* confdefs.h. */
13770 _ACEOF
13771 cat confdefs.h >>conftest.$ac_ext
13772 cat >>conftest.$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13774
13775 int
13776 main ()
13777 {
13778
13779 ;
13780 return 0;
13781 }
13782 _ACEOF
13783 rm -f conftest.$ac_objext
13784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13785 (eval $ac_compile) 2>conftest.er1
13786 ac_status=$?
13787 grep -v '^ *+' conftest.er1 >conftest.err
13788 rm -f conftest.er1
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } &&
13792 { ac_try='test -z "$ac_cxx_werror_flag"
13793 || test ! -s conftest.err'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13796 ac_status=$?
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; } &&
13799 { ac_try='test -s conftest.$ac_objext'
13800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13801 (eval $ac_try) 2>&5
13802 ac_status=$?
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); }; }; then
13805 ac_cv_prog_cxx_g=yes
13806 else
13807 echo "$as_me: failed program was:" >&5
13808 sed 's/^/| /' conftest.$ac_ext >&5
13809
13810 ac_cv_prog_cxx_g=no
13811 fi
13812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13813 fi
13814 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13815 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13816 if test "$ac_test_CXXFLAGS" = set; then
13817 CXXFLAGS=$ac_save_CXXFLAGS
13818 elif test $ac_cv_prog_cxx_g = yes; then
13819 if test "$GXX" = yes; then
13820 CXXFLAGS="-g -O2"
13821 else
13822 CXXFLAGS="-g"
13823 fi
13824 else
13825 if test "$GXX" = yes; then
13826 CXXFLAGS="-O2"
13827 else
13828 CXXFLAGS=
13829 fi
13830 fi
13831 for ac_declaration in \
13832 '' \
13833 'extern "C" void std::exit (int) throw (); using std::exit;' \
13834 'extern "C" void std::exit (int); using std::exit;' \
13835 'extern "C" void exit (int) throw ();' \
13836 'extern "C" void exit (int);' \
13837 'void exit (int);'
13838 do
13839 cat >conftest.$ac_ext <<_ACEOF
13840 /* confdefs.h. */
13841 _ACEOF
13842 cat confdefs.h >>conftest.$ac_ext
13843 cat >>conftest.$ac_ext <<_ACEOF
13844 /* end confdefs.h. */
13845 $ac_declaration
13846 #include <stdlib.h>
13847 int
13848 main ()
13849 {
13850 exit (42);
13851 ;
13852 return 0;
13853 }
13854 _ACEOF
13855 rm -f conftest.$ac_objext
13856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13857 (eval $ac_compile) 2>conftest.er1
13858 ac_status=$?
13859 grep -v '^ *+' conftest.er1 >conftest.err
13860 rm -f conftest.er1
13861 cat conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try='test -z "$ac_cxx_werror_flag"
13865 || test ! -s conftest.err'
13866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13867 (eval $ac_try) 2>&5
13868 ac_status=$?
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); }; } &&
13871 { ac_try='test -s conftest.$ac_objext'
13872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13873 (eval $ac_try) 2>&5
13874 ac_status=$?
13875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13876 (exit $ac_status); }; }; then
13877 :
13878 else
13879 echo "$as_me: failed program was:" >&5
13880 sed 's/^/| /' conftest.$ac_ext >&5
13881
13882 continue
13883 fi
13884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13885 cat >conftest.$ac_ext <<_ACEOF
13886 /* confdefs.h. */
13887 _ACEOF
13888 cat confdefs.h >>conftest.$ac_ext
13889 cat >>conftest.$ac_ext <<_ACEOF
13890 /* end confdefs.h. */
13891 $ac_declaration
13892 int
13893 main ()
13894 {
13895 exit (42);
13896 ;
13897 return 0;
13898 }
13899 _ACEOF
13900 rm -f conftest.$ac_objext
13901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13902 (eval $ac_compile) 2>conftest.er1
13903 ac_status=$?
13904 grep -v '^ *+' conftest.er1 >conftest.err
13905 rm -f conftest.er1
13906 cat conftest.err >&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); } &&
13909 { ac_try='test -z "$ac_cxx_werror_flag"
13910 || test ! -s conftest.err'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13913 ac_status=$?
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; } &&
13916 { ac_try='test -s conftest.$ac_objext'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13919 ac_status=$?
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; }; then
13922 break
13923 else
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.$ac_ext >&5
13926
13927 fi
13928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13929 done
13930 rm -f conftest*
13931 if test -n "$ac_declaration"; then
13932 echo '#ifdef __cplusplus' >>confdefs.h
13933 echo $ac_declaration >>confdefs.h
13934 echo '#endif' >>confdefs.h
13935 fi
13936
13937 ac_ext=cc
13938 ac_cpp='$CXXCPP $CPPFLAGS'
13939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13942
13943
13944
13945 ac_ext=cc
13946 ac_cpp='$CXXCPP $CPPFLAGS'
13947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13950
13951 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13952 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13953 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13954 echo $ECHO_N "(cached) $ECHO_C" >&6
13955 else
13956 cat >conftest.$ac_ext <<_ACEOF
13957 /* confdefs.h. */
13958 _ACEOF
13959 cat confdefs.h >>conftest.$ac_ext
13960 cat >>conftest.$ac_ext <<_ACEOF
13961 /* end confdefs.h. */
13962
13963 int
13964 main ()
13965 {
13966
13967 #ifndef __INTEL_COMPILER
13968 choke me
13969 #endif
13970
13971 ;
13972 return 0;
13973 }
13974 _ACEOF
13975 rm -f conftest.$ac_objext
13976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13977 (eval $ac_compile) 2>conftest.er1
13978 ac_status=$?
13979 grep -v '^ *+' conftest.er1 >conftest.err
13980 rm -f conftest.er1
13981 cat conftest.err >&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } &&
13984 { ac_try='test -z "$ac_cxx_werror_flag"
13985 || test ! -s conftest.err'
13986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987 (eval $ac_try) 2>&5
13988 ac_status=$?
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; } &&
13991 { ac_try='test -s conftest.$ac_objext'
13992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13993 (eval $ac_try) 2>&5
13994 ac_status=$?
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; }; then
13997 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13998 else
13999 echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.$ac_ext >&5
14001
14002 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14003
14004 fi
14005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14006
14007
14008 fi
14009 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14010 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14011 ac_ext=cc
14012 ac_cpp='$CXXCPP $CPPFLAGS'
14013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14016
14017 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14018 :; INTELCXX=yes
14019 else
14020 :;
14021 fi
14022
14023
14024 if test "x$GCXX" != "xyes"; then
14025 if test "xCXX" = "xC"; then
14026 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14027 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14028 if test "${bakefile_cv_cxx_exto+set}" = set; then
14029 echo $ECHO_N "(cached) $ECHO_C" >&6
14030 else
14031 cat >conftest.$ac_ext <<_ACEOF
14032 /* confdefs.h. */
14033 _ACEOF
14034 cat confdefs.h >>conftest.$ac_ext
14035 cat >>conftest.$ac_ext <<_ACEOF
14036 /* end confdefs.h. */
14037
14038 int
14039 main ()
14040 {
14041
14042 ;
14043 return 0;
14044 }
14045 _ACEOF
14046 rm -f conftest.$ac_objext conftest.$ac_ext.o
14047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14048 (eval $ac_compile) 2>&5
14049 ac_status=$?
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051 (exit $ac_status); }; then
14052 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14053 case $ac_file in
14054 conftest.$ac_ext.o)
14055 bakefile_cv_cxx_exto="-ext o"
14056 ;;
14057 *)
14058 ;;
14059 esac
14060 done
14061 else
14062 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14063 See \`config.log' for more details." >&5
14064 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14065 See \`config.log' for more details." >&2;}
14066 { (exit 1); exit 1; }; }
14067
14068 fi
14069
14070 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14071
14072 fi
14073 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14074 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14075 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14076 if test "cxx" = "c"; then
14077 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14078 fi
14079 if test "cxx" = "cxx"; then
14080 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14081 fi
14082 fi
14083
14084 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14085 unset ac_cv_prog_cc_g
14086 ac_test_CFLAGS=${CFLAGS+set}
14087 ac_save_CFLAGS=$CFLAGS
14088 CFLAGS="-g"
14089 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14090 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14091 if test "${ac_cv_prog_cc_g+set}" = set; then
14092 echo $ECHO_N "(cached) $ECHO_C" >&6
14093 else
14094 cat >conftest.$ac_ext <<_ACEOF
14095 /* confdefs.h. */
14096 _ACEOF
14097 cat confdefs.h >>conftest.$ac_ext
14098 cat >>conftest.$ac_ext <<_ACEOF
14099 /* end confdefs.h. */
14100
14101 int
14102 main ()
14103 {
14104
14105 ;
14106 return 0;
14107 }
14108 _ACEOF
14109 rm -f conftest.$ac_objext
14110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14111 (eval $ac_compile) 2>conftest.er1
14112 ac_status=$?
14113 grep -v '^ *+' conftest.er1 >conftest.err
14114 rm -f conftest.er1
14115 cat conftest.err >&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } &&
14118 { ac_try='test -z "$ac_cxx_werror_flag"
14119 || test ! -s conftest.err'
14120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14121 (eval $ac_try) 2>&5
14122 ac_status=$?
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); }; } &&
14125 { ac_try='test -s conftest.$ac_objext'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14128 ac_status=$?
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; }; then
14131 ac_cv_prog_cc_g=yes
14132 else
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.$ac_ext >&5
14135
14136 ac_cv_prog_cc_g=no
14137 fi
14138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14139 fi
14140 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14141 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14142 if test "$ac_test_CFLAGS" = set; then
14143 CFLAGS=$ac_save_CFLAGS
14144 elif test $ac_cv_prog_cc_g = yes; then
14145 if test "$GCC" = yes; then
14146 CFLAGS="-g -O2"
14147 else
14148 CFLAGS="-g"
14149 fi
14150 else
14151 if test "$GCC" = yes; then
14152 CFLAGS="-O2"
14153 else
14154 CFLAGS=
14155 fi
14156 fi
14157 fi
14158 fi
14159
14160 case `uname -s` in
14161 AIX*)
14162 ac_ext=cc
14163 ac_cpp='$CXXCPP $CPPFLAGS'
14164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14167
14168 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14169 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14170 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14171 echo $ECHO_N "(cached) $ECHO_C" >&6
14172 else
14173 cat >conftest.$ac_ext <<_ACEOF
14174 /* confdefs.h. */
14175 _ACEOF
14176 cat confdefs.h >>conftest.$ac_ext
14177 cat >>conftest.$ac_ext <<_ACEOF
14178 /* end confdefs.h. */
14179
14180 int
14181 main ()
14182 {
14183 #ifndef __xlC__
14184 choke me
14185 #endif
14186
14187 ;
14188 return 0;
14189 }
14190 _ACEOF
14191 rm -f conftest.$ac_objext
14192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14193 (eval $ac_compile) 2>conftest.er1
14194 ac_status=$?
14195 grep -v '^ *+' conftest.er1 >conftest.err
14196 rm -f conftest.er1
14197 cat conftest.err >&5
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); } &&
14200 { ac_try='test -z "$ac_cxx_werror_flag"
14201 || test ! -s conftest.err'
14202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14203 (eval $ac_try) 2>&5
14204 ac_status=$?
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); }; } &&
14207 { ac_try='test -s conftest.$ac_objext'
14208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209 (eval $ac_try) 2>&5
14210 ac_status=$?
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; }; then
14213 bakefile_compiler_xlc=yes
14214 else
14215 echo "$as_me: failed program was:" >&5
14216 sed 's/^/| /' conftest.$ac_ext >&5
14217
14218 bakefile_compiler_xlc=no
14219 fi
14220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14221 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14222
14223 fi
14224 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14225 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14226
14227 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14228 ac_ext=cc
14229 ac_cpp='$CXXCPP $CPPFLAGS'
14230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14233
14234
14235 ;;
14236
14237 Darwin)
14238 ac_ext=cc
14239 ac_cpp='$CXXCPP $CPPFLAGS'
14240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14243
14244 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14245 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14246 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14247 echo $ECHO_N "(cached) $ECHO_C" >&6
14248 else
14249 cat >conftest.$ac_ext <<_ACEOF
14250 /* confdefs.h. */
14251 _ACEOF
14252 cat confdefs.h >>conftest.$ac_ext
14253 cat >>conftest.$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14255
14256 int
14257 main ()
14258 {
14259 #ifndef __MWERKS__
14260 choke me
14261 #endif
14262
14263 ;
14264 return 0;
14265 }
14266 _ACEOF
14267 rm -f conftest.$ac_objext
14268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14269 (eval $ac_compile) 2>conftest.er1
14270 ac_status=$?
14271 grep -v '^ *+' conftest.er1 >conftest.err
14272 rm -f conftest.er1
14273 cat conftest.err >&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); } &&
14276 { ac_try='test -z "$ac_cxx_werror_flag"
14277 || test ! -s conftest.err'
14278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14279 (eval $ac_try) 2>&5
14280 ac_status=$?
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; } &&
14283 { ac_try='test -s conftest.$ac_objext'
14284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14285 (eval $ac_try) 2>&5
14286 ac_status=$?
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); }; }; then
14289 bakefile_compiler_mwerks=yes
14290 else
14291 echo "$as_me: failed program was:" >&5
14292 sed 's/^/| /' conftest.$ac_ext >&5
14293
14294 bakefile_compiler_mwerks=no
14295 fi
14296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14297 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14298
14299 fi
14300 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14301 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14302
14303 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14304 ac_ext=cc
14305 ac_cpp='$CXXCPP $CPPFLAGS'
14306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14309
14310
14311 ac_ext=cc
14312 ac_cpp='$CXXCPP $CPPFLAGS'
14313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14316
14317 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14318 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14319 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14320 echo $ECHO_N "(cached) $ECHO_C" >&6
14321 else
14322 cat >conftest.$ac_ext <<_ACEOF
14323 /* confdefs.h. */
14324 _ACEOF
14325 cat confdefs.h >>conftest.$ac_ext
14326 cat >>conftest.$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14328
14329 int
14330 main ()
14331 {
14332 #ifndef __xlC__
14333 choke me
14334 #endif
14335
14336 ;
14337 return 0;
14338 }
14339 _ACEOF
14340 rm -f conftest.$ac_objext
14341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14342 (eval $ac_compile) 2>conftest.er1
14343 ac_status=$?
14344 grep -v '^ *+' conftest.er1 >conftest.err
14345 rm -f conftest.er1
14346 cat conftest.err >&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); } &&
14349 { ac_try='test -z "$ac_cxx_werror_flag"
14350 || test ! -s conftest.err'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14353 ac_status=$?
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; } &&
14356 { ac_try='test -s conftest.$ac_objext'
14357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14358 (eval $ac_try) 2>&5
14359 ac_status=$?
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); }; }; then
14362 bakefile_compiler_xlc=yes
14363 else
14364 echo "$as_me: failed program was:" >&5
14365 sed 's/^/| /' conftest.$ac_ext >&5
14366
14367 bakefile_compiler_xlc=no
14368 fi
14369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14370 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14371
14372 fi
14373 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14374 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14375
14376 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14377 ac_ext=cc
14378 ac_cpp='$CXXCPP $CPPFLAGS'
14379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14382
14383
14384 ;;
14385
14386 IRIX*)
14387
14388
14389 ac_ext=cc
14390 ac_cpp='$CXXCPP $CPPFLAGS'
14391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14394
14395 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14396 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14397 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14398 echo $ECHO_N "(cached) $ECHO_C" >&6
14399 else
14400 cat >conftest.$ac_ext <<_ACEOF
14401 /* confdefs.h. */
14402 _ACEOF
14403 cat confdefs.h >>conftest.$ac_ext
14404 cat >>conftest.$ac_ext <<_ACEOF
14405 /* end confdefs.h. */
14406
14407 int
14408 main ()
14409 {
14410
14411 #ifndef _SGI_COMPILER_VERSION
14412 choke me
14413 #endif
14414
14415 ;
14416 return 0;
14417 }
14418 _ACEOF
14419 rm -f conftest.$ac_objext
14420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14421 (eval $ac_compile) 2>conftest.er1
14422 ac_status=$?
14423 grep -v '^ *+' conftest.er1 >conftest.err
14424 rm -f conftest.er1
14425 cat conftest.err >&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } &&
14428 { ac_try='test -z "$ac_cxx_werror_flag"
14429 || test ! -s conftest.err'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14432 ac_status=$?
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; } &&
14435 { ac_try='test -s conftest.$ac_objext'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14438 ac_status=$?
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; }; then
14441 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14442 else
14443 echo "$as_me: failed program was:" >&5
14444 sed 's/^/| /' conftest.$ac_ext >&5
14445
14446 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14447
14448 fi
14449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14450
14451
14452 fi
14453 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14454 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14455 ac_ext=cc
14456 ac_cpp='$CXXCPP $CPPFLAGS'
14457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14460
14461 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14462 :; SGICXX=yes
14463 else
14464 :;
14465 fi
14466
14467
14468 ;;
14469
14470 HP-UX*)
14471
14472
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 HP C++ compiler" >&5
14480 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14481 if test "${bakefile_cv_cxx_compiler___HP_aCC+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
14495 #ifndef __HP_aCC
14496 choke me
14497 #endif
14498
14499 ;
14500 return 0;
14501 }
14502 _ACEOF
14503 rm -f conftest.$ac_objext
14504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14505 (eval $ac_compile) 2>conftest.er1
14506 ac_status=$?
14507 grep -v '^ *+' conftest.er1 >conftest.err
14508 rm -f conftest.er1
14509 cat conftest.err >&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try='test -z "$ac_cxx_werror_flag"
14513 || test ! -s conftest.err'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14516 ac_status=$?
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; } &&
14519 { ac_try='test -s conftest.$ac_objext'
14520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14521 (eval $ac_try) 2>&5
14522 ac_status=$?
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; }; then
14525 bakefile_cv_cxx_compiler___HP_aCC=yes
14526 else
14527 echo "$as_me: failed program was:" >&5
14528 sed 's/^/| /' conftest.$ac_ext >&5
14529
14530 bakefile_cv_cxx_compiler___HP_aCC=no
14531
14532 fi
14533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14534
14535
14536 fi
14537 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14538 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14539 ac_ext=cc
14540 ac_cpp='$CXXCPP $CPPFLAGS'
14541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14544
14545 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14546 :; HPCXX=yes
14547 else
14548 :;
14549 fi
14550
14551
14552 ;;
14553
14554 OSF1)
14555
14556
14557 ac_ext=cc
14558 ac_cpp='$CXXCPP $CPPFLAGS'
14559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14562
14563 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14564 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14565 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14566 echo $ECHO_N "(cached) $ECHO_C" >&6
14567 else
14568 cat >conftest.$ac_ext <<_ACEOF
14569 /* confdefs.h. */
14570 _ACEOF
14571 cat confdefs.h >>conftest.$ac_ext
14572 cat >>conftest.$ac_ext <<_ACEOF
14573 /* end confdefs.h. */
14574
14575 int
14576 main ()
14577 {
14578
14579 #ifndef __DECCXX
14580 choke me
14581 #endif
14582
14583 ;
14584 return 0;
14585 }
14586 _ACEOF
14587 rm -f conftest.$ac_objext
14588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14589 (eval $ac_compile) 2>conftest.er1
14590 ac_status=$?
14591 grep -v '^ *+' conftest.er1 >conftest.err
14592 rm -f conftest.er1
14593 cat conftest.err >&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } &&
14596 { ac_try='test -z "$ac_cxx_werror_flag"
14597 || test ! -s conftest.err'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14600 ac_status=$?
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; } &&
14603 { ac_try='test -s conftest.$ac_objext'
14604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14605 (eval $ac_try) 2>&5
14606 ac_status=$?
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); }; }; then
14609 bakefile_cv_cxx_compiler___DECCXX=yes
14610 else
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.$ac_ext >&5
14613
14614 bakefile_cv_cxx_compiler___DECCXX=no
14615
14616 fi
14617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14618
14619
14620 fi
14621 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14622 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14623 ac_ext=cc
14624 ac_cpp='$CXXCPP $CPPFLAGS'
14625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14628
14629 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14630 :; COMPAQCXX=yes
14631 else
14632 :;
14633 fi
14634
14635
14636 ;;
14637
14638 SunOS)
14639
14640
14641 ac_ext=cc
14642 ac_cpp='$CXXCPP $CPPFLAGS'
14643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14646
14647 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14648 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14649 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14651 else
14652 cat >conftest.$ac_ext <<_ACEOF
14653 /* confdefs.h. */
14654 _ACEOF
14655 cat confdefs.h >>conftest.$ac_ext
14656 cat >>conftest.$ac_ext <<_ACEOF
14657 /* end confdefs.h. */
14658
14659 int
14660 main ()
14661 {
14662
14663 #ifndef __SUNPRO_CC
14664 choke me
14665 #endif
14666
14667 ;
14668 return 0;
14669 }
14670 _ACEOF
14671 rm -f conftest.$ac_objext
14672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14673 (eval $ac_compile) 2>conftest.er1
14674 ac_status=$?
14675 grep -v '^ *+' conftest.er1 >conftest.err
14676 rm -f conftest.er1
14677 cat conftest.err >&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } &&
14680 { ac_try='test -z "$ac_cxx_werror_flag"
14681 || test ! -s conftest.err'
14682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5
14684 ac_status=$?
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); }; } &&
14687 { ac_try='test -s conftest.$ac_objext'
14688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14689 (eval $ac_try) 2>&5
14690 ac_status=$?
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); }; }; then
14693 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14694 else
14695 echo "$as_me: failed program was:" >&5
14696 sed 's/^/| /' conftest.$ac_ext >&5
14697
14698 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14699
14700 fi
14701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14702
14703
14704 fi
14705 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14706 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14707 ac_ext=cc
14708 ac_cpp='$CXXCPP $CPPFLAGS'
14709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14712
14713 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14714 :; SUNCXX=yes
14715 else
14716 :;
14717 fi
14718
14719
14720 ;;
14721 esac
14722 fi
14723
14724
14725
14726 if test -n "$ac_tool_prefix"; then
14727 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14728 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14729 echo "$as_me:$LINENO: checking for $ac_word" >&5
14730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14731 if test "${ac_cv_prog_RANLIB+set}" = set; then
14732 echo $ECHO_N "(cached) $ECHO_C" >&6
14733 else
14734 if test -n "$RANLIB"; then
14735 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14736 else
14737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14738 for as_dir in $PATH
14739 do
14740 IFS=$as_save_IFS
14741 test -z "$as_dir" && as_dir=.
14742 for ac_exec_ext in '' $ac_executable_extensions; do
14743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14744 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14746 break 2
14747 fi
14748 done
14749 done
14750
14751 fi
14752 fi
14753 RANLIB=$ac_cv_prog_RANLIB
14754 if test -n "$RANLIB"; then
14755 echo "$as_me:$LINENO: result: $RANLIB" >&5
14756 echo "${ECHO_T}$RANLIB" >&6
14757 else
14758 echo "$as_me:$LINENO: result: no" >&5
14759 echo "${ECHO_T}no" >&6
14760 fi
14761
14762 fi
14763 if test -z "$ac_cv_prog_RANLIB"; then
14764 ac_ct_RANLIB=$RANLIB
14765 # Extract the first word of "ranlib", so it can be a program name with args.
14766 set dummy ranlib; ac_word=$2
14767 echo "$as_me:$LINENO: checking for $ac_word" >&5
14768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14769 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14770 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 else
14772 if test -n "$ac_ct_RANLIB"; then
14773 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14774 else
14775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14776 for as_dir in $PATH
14777 do
14778 IFS=$as_save_IFS
14779 test -z "$as_dir" && as_dir=.
14780 for ac_exec_ext in '' $ac_executable_extensions; do
14781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14782 ac_cv_prog_ac_ct_RANLIB="ranlib"
14783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14784 break 2
14785 fi
14786 done
14787 done
14788
14789 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14790 fi
14791 fi
14792 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14793 if test -n "$ac_ct_RANLIB"; then
14794 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14795 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14796 else
14797 echo "$as_me:$LINENO: result: no" >&5
14798 echo "${ECHO_T}no" >&6
14799 fi
14800
14801 RANLIB=$ac_ct_RANLIB
14802 else
14803 RANLIB="$ac_cv_prog_RANLIB"
14804 fi
14805
14806
14807 if test -n "$ac_tool_prefix"; then
14808 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14809 set dummy ${ac_tool_prefix}ar; ac_word=$2
14810 echo "$as_me:$LINENO: checking for $ac_word" >&5
14811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14812 if test "${ac_cv_prog_AR+set}" = set; then
14813 echo $ECHO_N "(cached) $ECHO_C" >&6
14814 else
14815 if test -n "$AR"; then
14816 ac_cv_prog_AR="$AR" # Let the user override the test.
14817 else
14818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14819 for as_dir in $PATH
14820 do
14821 IFS=$as_save_IFS
14822 test -z "$as_dir" && as_dir=.
14823 for ac_exec_ext in '' $ac_executable_extensions; do
14824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14825 ac_cv_prog_AR="${ac_tool_prefix}ar"
14826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14827 break 2
14828 fi
14829 done
14830 done
14831
14832 fi
14833 fi
14834 AR=$ac_cv_prog_AR
14835 if test -n "$AR"; then
14836 echo "$as_me:$LINENO: result: $AR" >&5
14837 echo "${ECHO_T}$AR" >&6
14838 else
14839 echo "$as_me:$LINENO: result: no" >&5
14840 echo "${ECHO_T}no" >&6
14841 fi
14842
14843 fi
14844 if test -z "$ac_cv_prog_AR"; then
14845 ac_ct_AR=$AR
14846 # Extract the first word of "ar", so it can be a program name with args.
14847 set dummy ar; ac_word=$2
14848 echo "$as_me:$LINENO: checking for $ac_word" >&5
14849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14850 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14851 echo $ECHO_N "(cached) $ECHO_C" >&6
14852 else
14853 if test -n "$ac_ct_AR"; then
14854 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14855 else
14856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14857 for as_dir in $PATH
14858 do
14859 IFS=$as_save_IFS
14860 test -z "$as_dir" && as_dir=.
14861 for ac_exec_ext in '' $ac_executable_extensions; do
14862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14863 ac_cv_prog_ac_ct_AR="ar"
14864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14865 break 2
14866 fi
14867 done
14868 done
14869
14870 fi
14871 fi
14872 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14873 if test -n "$ac_ct_AR"; then
14874 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14875 echo "${ECHO_T}$ac_ct_AR" >&6
14876 else
14877 echo "$as_me:$LINENO: result: no" >&5
14878 echo "${ECHO_T}no" >&6
14879 fi
14880
14881 AR=$ac_ct_AR
14882 else
14883 AR="$ac_cv_prog_AR"
14884 fi
14885
14886 if test "x$AR" = "x" ; then
14887 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14888 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14889 { (exit 1); exit 1; }; }
14890 fi
14891
14892 # Find a good install program. We prefer a C program (faster),
14893 # so one script is as good as another. But avoid the broken or
14894 # incompatible versions:
14895 # SysV /etc/install, /usr/sbin/install
14896 # SunOS /usr/etc/install
14897 # IRIX /sbin/install
14898 # AIX /bin/install
14899 # AmigaOS /C/install, which installs bootblocks on floppy discs
14900 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14901 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14902 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14903 # OS/2's system install, which has a completely different semantic
14904 # ./install, which can be erroneously created by make from ./install.sh.
14905 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14906 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14907 if test -z "$INSTALL"; then
14908 if test "${ac_cv_path_install+set}" = set; then
14909 echo $ECHO_N "(cached) $ECHO_C" >&6
14910 else
14911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14912 for as_dir in $PATH
14913 do
14914 IFS=$as_save_IFS
14915 test -z "$as_dir" && as_dir=.
14916 # Account for people who put trailing slashes in PATH elements.
14917 case $as_dir/ in
14918 ./ | .// | /cC/* | \
14919 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14920 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14921 /usr/ucb/* ) ;;
14922 *)
14923 # OSF1 and SCO ODT 3.0 have their own names for install.
14924 # Don't use installbsd from OSF since it installs stuff as root
14925 # by default.
14926 for ac_prog in ginstall scoinst install; do
14927 for ac_exec_ext in '' $ac_executable_extensions; do
14928 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14929 if test $ac_prog = install &&
14930 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14931 # AIX install. It has an incompatible calling convention.
14932 :
14933 elif test $ac_prog = install &&
14934 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14935 # program-specific install script used by HP pwplus--don't use.
14936 :
14937 else
14938 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14939 break 3
14940 fi
14941 fi
14942 done
14943 done
14944 ;;
14945 esac
14946 done
14947
14948
14949 fi
14950 if test "${ac_cv_path_install+set}" = set; then
14951 INSTALL=$ac_cv_path_install
14952 else
14953 # As a last resort, use the slow shell script. We don't cache a
14954 # path for INSTALL within a source directory, because that will
14955 # break other packages using the cache if that directory is
14956 # removed, or if the path is relative.
14957 INSTALL=$ac_install_sh
14958 fi
14959 fi
14960 echo "$as_me:$LINENO: result: $INSTALL" >&5
14961 echo "${ECHO_T}$INSTALL" >&6
14962
14963 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14964 # It thinks the first close brace ends the variable substitution.
14965 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14966
14967 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14968
14969 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14970
14971
14972 case ${INSTALL} in
14973 /* ) # Absolute
14974 ;;
14975 ?:* ) # Drive letter, considered as absolute.
14976 ;;
14977 *)
14978 INSTALL=`pwd`/${INSTALL} ;;
14979 esac
14980
14981
14982 case "${host}" in
14983
14984 *-*-darwin* )
14985 INSTALL_PROGRAM="cp -fp"
14986 INSTALL_DATA="cp -fp"
14987 ;;
14988 *)
14989 ;;
14990 esac
14991
14992 if test -n "$ac_tool_prefix"; then
14993 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14994 set dummy ${ac_tool_prefix}strip; ac_word=$2
14995 echo "$as_me:$LINENO: checking for $ac_word" >&5
14996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14997 if test "${ac_cv_prog_STRIP+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 else
15000 if test -n "$STRIP"; then
15001 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15002 else
15003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15004 for as_dir in $PATH
15005 do
15006 IFS=$as_save_IFS
15007 test -z "$as_dir" && as_dir=.
15008 for ac_exec_ext in '' $ac_executable_extensions; do
15009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15010 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15012 break 2
15013 fi
15014 done
15015 done
15016
15017 fi
15018 fi
15019 STRIP=$ac_cv_prog_STRIP
15020 if test -n "$STRIP"; then
15021 echo "$as_me:$LINENO: result: $STRIP" >&5
15022 echo "${ECHO_T}$STRIP" >&6
15023 else
15024 echo "$as_me:$LINENO: result: no" >&5
15025 echo "${ECHO_T}no" >&6
15026 fi
15027
15028 fi
15029 if test -z "$ac_cv_prog_STRIP"; then
15030 ac_ct_STRIP=$STRIP
15031 # Extract the first word of "strip", so it can be a program name with args.
15032 set dummy strip; 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_ac_ct_STRIP+set}" = set; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15037 else
15038 if test -n "$ac_ct_STRIP"; then
15039 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_ac_ct_STRIP="strip"
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 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15056 fi
15057 fi
15058 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15059 if test -n "$ac_ct_STRIP"; then
15060 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15061 echo "${ECHO_T}$ac_ct_STRIP" >&6
15062 else
15063 echo "$as_me:$LINENO: result: no" >&5
15064 echo "${ECHO_T}no" >&6
15065 fi
15066
15067 STRIP=$ac_ct_STRIP
15068 else
15069 STRIP="$ac_cv_prog_STRIP"
15070 fi
15071
15072
15073 if test "$wxUSE_WINE" = "yes"; then
15074 if test -n "$ac_tool_prefix"; then
15075 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15076 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15077 echo "$as_me:$LINENO: checking for $ac_word" >&5
15078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15079 if test "${ac_cv_prog_WINDRES+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15081 else
15082 if test -n "$WINDRES"; then
15083 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15084 else
15085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15086 for as_dir in $PATH
15087 do
15088 IFS=$as_save_IFS
15089 test -z "$as_dir" && as_dir=.
15090 for ac_exec_ext in '' $ac_executable_extensions; do
15091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15092 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15094 break 2
15095 fi
15096 done
15097 done
15098
15099 fi
15100 fi
15101 WINDRES=$ac_cv_prog_WINDRES
15102 if test -n "$WINDRES"; then
15103 echo "$as_me:$LINENO: result: $WINDRES" >&5
15104 echo "${ECHO_T}$WINDRES" >&6
15105 else
15106 echo "$as_me:$LINENO: result: no" >&5
15107 echo "${ECHO_T}no" >&6
15108 fi
15109
15110 fi
15111 if test -z "$ac_cv_prog_WINDRES"; then
15112 ac_ct_WINDRES=$WINDRES
15113 # Extract the first word of "wrc", so it can be a program name with args.
15114 set dummy wrc; ac_word=$2
15115 echo "$as_me:$LINENO: checking for $ac_word" >&5
15116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15117 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 else
15120 if test -n "$ac_ct_WINDRES"; then
15121 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15122 else
15123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15124 for as_dir in $PATH
15125 do
15126 IFS=$as_save_IFS
15127 test -z "$as_dir" && as_dir=.
15128 for ac_exec_ext in '' $ac_executable_extensions; do
15129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15130 ac_cv_prog_ac_ct_WINDRES="wrc"
15131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15132 break 2
15133 fi
15134 done
15135 done
15136
15137 fi
15138 fi
15139 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15140 if test -n "$ac_ct_WINDRES"; then
15141 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15142 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15143 else
15144 echo "$as_me:$LINENO: result: no" >&5
15145 echo "${ECHO_T}no" >&6
15146 fi
15147
15148 WINDRES=$ac_ct_WINDRES
15149 else
15150 WINDRES="$ac_cv_prog_WINDRES"
15151 fi
15152
15153 RESCOMP="$WINDRES"
15154 else
15155 case "${host}" in
15156 *-*-cygwin* | *-*-mingw32* )
15157 if test -n "$ac_tool_prefix"; then
15158 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15159 set dummy ${ac_tool_prefix}windres; ac_word=$2
15160 echo "$as_me:$LINENO: checking for $ac_word" >&5
15161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15162 if test "${ac_cv_prog_WINDRES+set}" = set; then
15163 echo $ECHO_N "(cached) $ECHO_C" >&6
15164 else
15165 if test -n "$WINDRES"; then
15166 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15167 else
15168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15169 for as_dir in $PATH
15170 do
15171 IFS=$as_save_IFS
15172 test -z "$as_dir" && as_dir=.
15173 for ac_exec_ext in '' $ac_executable_extensions; do
15174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15175 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15177 break 2
15178 fi
15179 done
15180 done
15181
15182 fi
15183 fi
15184 WINDRES=$ac_cv_prog_WINDRES
15185 if test -n "$WINDRES"; then
15186 echo "$as_me:$LINENO: result: $WINDRES" >&5
15187 echo "${ECHO_T}$WINDRES" >&6
15188 else
15189 echo "$as_me:$LINENO: result: no" >&5
15190 echo "${ECHO_T}no" >&6
15191 fi
15192
15193 fi
15194 if test -z "$ac_cv_prog_WINDRES"; then
15195 ac_ct_WINDRES=$WINDRES
15196 # Extract the first word of "windres", so it can be a program name with args.
15197 set dummy windres; ac_word=$2
15198 echo "$as_me:$LINENO: checking for $ac_word" >&5
15199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15200 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15201 echo $ECHO_N "(cached) $ECHO_C" >&6
15202 else
15203 if test -n "$ac_ct_WINDRES"; then
15204 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15205 else
15206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15207 for as_dir in $PATH
15208 do
15209 IFS=$as_save_IFS
15210 test -z "$as_dir" && as_dir=.
15211 for ac_exec_ext in '' $ac_executable_extensions; do
15212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15213 ac_cv_prog_ac_ct_WINDRES="windres"
15214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15215 break 2
15216 fi
15217 done
15218 done
15219
15220 fi
15221 fi
15222 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15223 if test -n "$ac_ct_WINDRES"; then
15224 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15225 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15226 else
15227 echo "$as_me:$LINENO: result: no" >&5
15228 echo "${ECHO_T}no" >&6
15229 fi
15230
15231 WINDRES=$ac_ct_WINDRES
15232 else
15233 WINDRES="$ac_cv_prog_WINDRES"
15234 fi
15235
15236 RESCOMP="$WINDRES"
15237 if test -n "$ac_tool_prefix"; then
15238 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15239 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15240 echo "$as_me:$LINENO: checking for $ac_word" >&5
15241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15242 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15244 else
15245 if test -n "$DLLTOOL"; then
15246 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15247 else
15248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15249 for as_dir in $PATH
15250 do
15251 IFS=$as_save_IFS
15252 test -z "$as_dir" && as_dir=.
15253 for ac_exec_ext in '' $ac_executable_extensions; do
15254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15255 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15257 break 2
15258 fi
15259 done
15260 done
15261
15262 fi
15263 fi
15264 DLLTOOL=$ac_cv_prog_DLLTOOL
15265 if test -n "$DLLTOOL"; then
15266 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15267 echo "${ECHO_T}$DLLTOOL" >&6
15268 else
15269 echo "$as_me:$LINENO: result: no" >&5
15270 echo "${ECHO_T}no" >&6
15271 fi
15272
15273 fi
15274 if test -z "$ac_cv_prog_DLLTOOL"; then
15275 ac_ct_DLLTOOL=$DLLTOOL
15276 # Extract the first word of "dlltool", so it can be a program name with args.
15277 set dummy dlltool; ac_word=$2
15278 echo "$as_me:$LINENO: checking for $ac_word" >&5
15279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15280 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15281 echo $ECHO_N "(cached) $ECHO_C" >&6
15282 else
15283 if test -n "$ac_ct_DLLTOOL"; then
15284 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15285 else
15286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15287 for as_dir in $PATH
15288 do
15289 IFS=$as_save_IFS
15290 test -z "$as_dir" && as_dir=.
15291 for ac_exec_ext in '' $ac_executable_extensions; do
15292 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15293 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15295 break 2
15296 fi
15297 done
15298 done
15299
15300 fi
15301 fi
15302 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15303 if test -n "$ac_ct_DLLTOOL"; then
15304 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15305 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15306 else
15307 echo "$as_me:$LINENO: result: no" >&5
15308 echo "${ECHO_T}no" >&6
15309 fi
15310
15311 DLLTOOL=$ac_ct_DLLTOOL
15312 else
15313 DLLTOOL="$ac_cv_prog_DLLTOOL"
15314 fi
15315
15316 ;;
15317 esac
15318 fi
15319
15320 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15321 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15322 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15323 echo $ECHO_N "(cached) $ECHO_C" >&6
15324 else
15325
15326 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15327 egrep -s GNU > /dev/null); then
15328 wx_cv_prog_makeisgnu="yes"
15329 else
15330 wx_cv_prog_makeisgnu="no"
15331 fi
15332
15333 fi
15334 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15335 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15336
15337 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15338 IF_GNU_MAKE=""
15339 else
15340 IF_GNU_MAKE="#"
15341 fi
15342
15343
15344
15345 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15346 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15347 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15348 if test "${wx_cv_prog_makevpath+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15350 else
15351
15352 cat - << EOF > confMake
15353 check : file
15354 cp \$? \$@
15355 cp \$? final_file
15356 EOF
15357
15358 if test ! -d sub ; then
15359 mkdir sub
15360 fi
15361 echo dummy > sub/file
15362 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15363 RESULT=$?
15364 rm -f sub/file check final_file confMake
15365 rmdir sub
15366 if test "$RESULT" = 0; then
15367 wx_cv_prog_makevpath="yes"
15368 else
15369 wx_cv_prog_makevpath="no"
15370 fi
15371
15372 fi
15373 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15374 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15375
15376 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15377 { { echo "$as_me:$LINENO: error:
15378 You need a make-utility that is able to use the variable
15379 VPATH correctly.
15380 If your version of make does not support VPATH correctly,
15381 please install GNU-make (possibly as gmake), and start
15382 configure with the following command:
15383 export MAKE=gmake; ./configure for sh-type shells
15384 setenv MAKE gmake; ./configure for csh-type shells
15385 Also please do remember to use gmake in this case every time
15386 you are trying to compile.
15387 " >&5
15388 echo "$as_me: error:
15389 You need a make-utility that is able to use the variable
15390 VPATH correctly.
15391 If your version of make does not support VPATH correctly,
15392 please install GNU-make (possibly as gmake), and start
15393 configure with the following command:
15394 export MAKE=gmake; ./configure for sh-type shells
15395 setenv MAKE gmake; ./configure for csh-type shells
15396 Also please do remember to use gmake in this case every time
15397 you are trying to compile.
15398 " >&2;}
15399 { (exit 1); exit 1; }; }
15400 fi fi
15401 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15402 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15403 LN_S=$as_ln_s
15404 if test "$LN_S" = "ln -s"; then
15405 echo "$as_me:$LINENO: result: yes" >&5
15406 echo "${ECHO_T}yes" >&6
15407 else
15408 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15409 echo "${ECHO_T}no, using $LN_S" >&6
15410 fi
15411
15412
15413
15414
15415 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15416 CXXFLAGS="-qunique $CXXFLAGS"
15417 fi
15418
15419 case "${host}" in
15420 powerpc-*-darwin* )
15421 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15422 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15423 cat >conftest.$ac_ext <<_ACEOF
15424 /* confdefs.h. */
15425 _ACEOF
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15429
15430 int
15431 main ()
15432 {
15433 #ifndef __POWERPC__
15434 choke me for lack of PowerPC
15435 #endif
15436
15437 ;
15438 return 0;
15439 }
15440 _ACEOF
15441 rm -f conftest.$ac_objext
15442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15443 (eval $ac_compile) 2>conftest.er1
15444 ac_status=$?
15445 grep -v '^ *+' conftest.er1 >conftest.err
15446 rm -f conftest.er1
15447 cat conftest.err >&5
15448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15449 (exit $ac_status); } &&
15450 { ac_try='test -z "$ac_cxx_werror_flag"
15451 || test ! -s conftest.err'
15452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15453 (eval $ac_try) 2>&5
15454 ac_status=$?
15455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15456 (exit $ac_status); }; } &&
15457 { ac_try='test -s conftest.$ac_objext'
15458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15459 (eval $ac_try) 2>&5
15460 ac_status=$?
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); }; }; then
15463 echo "$as_me:$LINENO: result: yes" >&5
15464 echo "${ECHO_T}yes" >&6
15465 else
15466 echo "$as_me: failed program was:" >&5
15467 sed 's/^/| /' conftest.$ac_ext >&5
15468
15469 echo "$as_me:$LINENO: result: no" >&5
15470 echo "${ECHO_T}no" >&6
15471 cat >>confdefs.h <<\_ACEOF
15472 #define __POWERPC__ 1
15473 _ACEOF
15474
15475
15476 fi
15477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15478 ;;
15479 esac
15480
15481 case "${host}" in
15482 *-*-darwin* )
15483 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15484 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15485 cat >conftest.$ac_ext <<_ACEOF
15486 /* confdefs.h. */
15487 _ACEOF
15488 cat confdefs.h >>conftest.$ac_ext
15489 cat >>conftest.$ac_ext <<_ACEOF
15490 /* end confdefs.h. */
15491 #include <CoreFoundation/CFBase.h>
15492
15493 int
15494 main ()
15495 {
15496
15497 ;
15498 return 0;
15499 }
15500 _ACEOF
15501 rm -f conftest.$ac_objext
15502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15503 (eval $ac_compile) 2>conftest.er1
15504 ac_status=$?
15505 grep -v '^ *+' conftest.er1 >conftest.err
15506 rm -f conftest.er1
15507 cat conftest.err >&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); } &&
15510 { ac_try='test -z "$ac_cxx_werror_flag"
15511 || test ! -s conftest.err'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15514 ac_status=$?
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; } &&
15517 { ac_try='test -s conftest.$ac_objext'
15518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519 (eval $ac_try) 2>&5
15520 ac_status=$?
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); }; }; then
15523 echo "$as_me:$LINENO: result: yes" >&5
15524 echo "${ECHO_T}yes" >&6
15525 else
15526 echo "$as_me: failed program was:" >&5
15527 sed 's/^/| /' conftest.$ac_ext >&5
15528
15529 echo "$as_me:$LINENO: result: no" >&5
15530 echo "${ECHO_T}no" >&6
15531 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15532 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15533 cat >conftest.$ac_ext <<_ACEOF
15534 /* confdefs.h. */
15535 _ACEOF
15536 cat confdefs.h >>conftest.$ac_ext
15537 cat >>conftest.$ac_ext <<_ACEOF
15538 /* end confdefs.h. */
15539 #define __CF_USE_FRAMEWORK_INCLUDES__
15540 #include <CoreFoundation/CFBase.h>
15541
15542 int
15543 main ()
15544 {
15545
15546 ;
15547 return 0;
15548 }
15549 _ACEOF
15550 rm -f conftest.$ac_objext
15551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15552 (eval $ac_compile) 2>conftest.er1
15553 ac_status=$?
15554 grep -v '^ *+' conftest.er1 >conftest.err
15555 rm -f conftest.er1
15556 cat conftest.err >&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } &&
15559 { ac_try='test -z "$ac_cxx_werror_flag"
15560 || test ! -s conftest.err'
15561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15563 ac_status=$?
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; } &&
15566 { ac_try='test -s conftest.$ac_objext'
15567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 (eval $ac_try) 2>&5
15569 ac_status=$?
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); }; }; then
15572 echo "$as_me:$LINENO: result: yes" >&5
15573 echo "${ECHO_T}yes" >&6
15574 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15575 else
15576 echo "$as_me: failed program was:" >&5
15577 sed 's/^/| /' conftest.$ac_ext >&5
15578
15579 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15580 See \`config.log' for more details." >&5
15581 echo "$as_me: error: no. CoreFoundation not available.
15582 See \`config.log' for more details." >&2;}
15583 { (exit 1); exit 1; }; }
15584
15585 fi
15586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15587
15588
15589 fi
15590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15591 ;;
15592 esac
15593
15594 case "${host}" in
15595 *-pc-os2_emx | *-pc-os2-emx )
15596 ac_ext=c
15597 ac_cpp='$CPP $CPPFLAGS'
15598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15601
15602 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15603 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15604 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15605 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15607 else
15608 ac_check_lib_save_LIBS=$LIBS
15609 LIBS="-lcExt $LIBS"
15610 cat >conftest.$ac_ext <<_ACEOF
15611 /* confdefs.h. */
15612 _ACEOF
15613 cat confdefs.h >>conftest.$ac_ext
15614 cat >>conftest.$ac_ext <<_ACEOF
15615 /* end confdefs.h. */
15616
15617 /* Override any gcc2 internal prototype to avoid an error. */
15618 #ifdef __cplusplus
15619 extern "C"
15620 #endif
15621 /* We use char because int might match the return type of a gcc2
15622 builtin and then its argument prototype would still apply. */
15623 char drand48 ();
15624 int
15625 main ()
15626 {
15627 drand48 ();
15628 ;
15629 return 0;
15630 }
15631 _ACEOF
15632 rm -f conftest.$ac_objext conftest$ac_exeext
15633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15634 (eval $ac_link) 2>conftest.er1
15635 ac_status=$?
15636 grep -v '^ *+' conftest.er1 >conftest.err
15637 rm -f conftest.er1
15638 cat conftest.err >&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); } &&
15641 { ac_try='test -z "$ac_c_werror_flag"
15642 || test ! -s conftest.err'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15645 ac_status=$?
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; } &&
15648 { ac_try='test -s conftest$ac_exeext'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15651 ac_status=$?
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; }; then
15654 ac_cv_lib_cExt_drand48=yes
15655 else
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.$ac_ext >&5
15658
15659 ac_cv_lib_cExt_drand48=no
15660 fi
15661 rm -f conftest.err conftest.$ac_objext \
15662 conftest$ac_exeext conftest.$ac_ext
15663 LIBS=$ac_check_lib_save_LIBS
15664 fi
15665 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15666 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15667 if test $ac_cv_lib_cExt_drand48 = yes; then
15668 LIBS="$LIBS -lcExt"
15669 fi
15670
15671 else
15672 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15673 fi
15674 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15675 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15676 if test "${wx_cv_gccversion+set}" = set; then
15677 echo $ECHO_N "(cached) $ECHO_C" >&6
15678 else
15679
15680 if test "$cross_compiling" = yes; then
15681 wx_cv_gccversion="EMX2"
15682
15683 else
15684 cat >conftest.$ac_ext <<_ACEOF
15685 /* confdefs.h. */
15686 _ACEOF
15687 cat confdefs.h >>conftest.$ac_ext
15688 cat >>conftest.$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15690
15691 #include <stdio.h>
15692
15693 int main()
15694 {
15695 FILE *f=fopen("conftestval", "w");
15696 if (!f) exit(1);
15697 fprintf(f,
15698 #if (__GNUC__ < 3)
15699 "EMX2"
15700 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15701 "EMX3"
15702 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15703 "Innotek5"
15704 #else
15705 "Innotek6"
15706 #endif
15707 );
15708 exit(0);
15709 }
15710
15711 _ACEOF
15712 rm -f conftest$ac_exeext
15713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15714 (eval $ac_link) 2>&5
15715 ac_status=$?
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719 (eval $ac_try) 2>&5
15720 ac_status=$?
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; }; then
15723 wx_cv_gccversion=`cat conftestval`
15724 else
15725 echo "$as_me: program exited with status $ac_status" >&5
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.$ac_ext >&5
15728
15729 ( exit $ac_status )
15730 wx_cv_gccversion="EMX2"
15731 fi
15732 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15733 fi
15734
15735 fi
15736 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15737 echo "${ECHO_T}$wx_cv_gccversion" >&6
15738 ac_ext=cc
15739 ac_cpp='$CXXCPP $CPPFLAGS'
15740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15743
15744 if test "$wx_cv_gccversion" = "EMX2"; then
15745 LIBS="$LIBS -lstdcpp"
15746 LDFLAGS="$LDFLAGS -Zsysv-signals"
15747 else
15748 if test "$wx_cv_gccversion" = "EMX3"; then
15749 LIBS="$LIBS -lstdcxx -lgcc"
15750 LDFLAGS="$LDFLAGS -Zsysv-signals"
15751 else
15752 LIBS="$LIBS -lstdc++"
15753 fi
15754 fi
15755 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15756 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15757 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15758 wxUSE_OMF=yes
15759 enable_omf=yes
15760 fi
15761 ;;
15762 *)
15763
15764 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15765 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15766 if test "${ac_cv_string_strcasecmp+set}" = set; then
15767 echo $ECHO_N "(cached) $ECHO_C" >&6
15768 else
15769
15770 cat >conftest.$ac_ext <<_ACEOF
15771 /* confdefs.h. */
15772 _ACEOF
15773 cat confdefs.h >>conftest.$ac_ext
15774 cat >>conftest.$ac_ext <<_ACEOF
15775 /* end confdefs.h. */
15776
15777 #include <string.h>
15778
15779 int
15780 main ()
15781 {
15782
15783 strcasecmp("foo", "bar");
15784
15785 ;
15786 return 0;
15787 }
15788 _ACEOF
15789 rm -f conftest.$ac_objext conftest$ac_exeext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15791 (eval $ac_link) 2>conftest.er1
15792 ac_status=$?
15793 grep -v '^ *+' conftest.er1 >conftest.err
15794 rm -f conftest.er1
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try='test -z "$ac_cxx_werror_flag"
15799 || test ! -s conftest.err'
15800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15801 (eval $ac_try) 2>&5
15802 ac_status=$?
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); }; } &&
15805 { ac_try='test -s conftest$ac_exeext'
15806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15807 (eval $ac_try) 2>&5
15808 ac_status=$?
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); }; }; then
15811 ac_cv_string_strcasecmp=yes
15812 else
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.$ac_ext >&5
15815
15816 ac_cv_string_strcasecmp=no
15817
15818 fi
15819 rm -f conftest.err conftest.$ac_objext \
15820 conftest$ac_exeext conftest.$ac_ext
15821
15822 fi
15823 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15824 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15825
15826 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15827 cat >>confdefs.h <<\_ACEOF
15828 #define HAVE_STRCASECMP_IN_STRING_H 1
15829 _ACEOF
15830
15831 else
15832 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15833 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15834 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15835 echo $ECHO_N "(cached) $ECHO_C" >&6
15836 else
15837
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h. */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15844
15845 #include <strings.h>
15846
15847 int
15848 main ()
15849 {
15850
15851 strcasecmp("foo", "bar");
15852
15853 ;
15854 return 0;
15855 }
15856 _ACEOF
15857 rm -f conftest.$ac_objext conftest$ac_exeext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15859 (eval $ac_link) 2>conftest.er1
15860 ac_status=$?
15861 grep -v '^ *+' conftest.er1 >conftest.err
15862 rm -f conftest.er1
15863 cat conftest.err >&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } &&
15866 { ac_try='test -z "$ac_cxx_werror_flag"
15867 || test ! -s conftest.err'
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); }; } &&
15873 { ac_try='test -s conftest$ac_exeext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15876 ac_status=$?
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15879 ac_cv_strings_strcasecmp=yes
15880 else
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.$ac_ext >&5
15883
15884 ac_cv_strings_strcasecmp=no
15885
15886 fi
15887 rm -f conftest.err conftest.$ac_objext \
15888 conftest$ac_exeext conftest.$ac_ext
15889
15890 fi
15891 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15892 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15893
15894 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15895 cat >>confdefs.h <<\_ACEOF
15896 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15897 _ACEOF
15898
15899 else
15900 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15901 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15902 { (exit 1); exit 1; }; }
15903 fi
15904 fi
15905
15906 ;;
15907 esac
15908
15909
15910 ac_ext=cc
15911 ac_cpp='$CXXCPP $CPPFLAGS'
15912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15915 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15916 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15917 if test -z "$CXXCPP"; then
15918 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15920 else
15921 # Double quotes because CXXCPP needs to be expanded
15922 for CXXCPP in "$CXX -E" "/lib/cpp"
15923 do
15924 ac_preproc_ok=false
15925 for ac_cxx_preproc_warn_flag in '' yes
15926 do
15927 # Use a header file that comes with gcc, so configuring glibc
15928 # with a fresh cross-compiler works.
15929 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15930 # <limits.h> exists even on freestanding compilers.
15931 # On the NeXT, cc -E runs the code through the compiler's parser,
15932 # not just through cpp. "Syntax error" is here to catch this case.
15933 cat >conftest.$ac_ext <<_ACEOF
15934 /* confdefs.h. */
15935 _ACEOF
15936 cat confdefs.h >>conftest.$ac_ext
15937 cat >>conftest.$ac_ext <<_ACEOF
15938 /* end confdefs.h. */
15939 #ifdef __STDC__
15940 # include <limits.h>
15941 #else
15942 # include <assert.h>
15943 #endif
15944 Syntax error
15945 _ACEOF
15946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15948 ac_status=$?
15949 grep -v '^ *+' conftest.er1 >conftest.err
15950 rm -f conftest.er1
15951 cat conftest.err >&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } >/dev/null; then
15954 if test -s conftest.err; then
15955 ac_cpp_err=$ac_cxx_preproc_warn_flag
15956 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15957 else
15958 ac_cpp_err=
15959 fi
15960 else
15961 ac_cpp_err=yes
15962 fi
15963 if test -z "$ac_cpp_err"; then
15964 :
15965 else
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.$ac_ext >&5
15968
15969 # Broken: fails on valid input.
15970 continue
15971 fi
15972 rm -f conftest.err conftest.$ac_ext
15973
15974 # OK, works on sane cases. Now check whether non-existent headers
15975 # can be detected and how.
15976 cat >conftest.$ac_ext <<_ACEOF
15977 /* confdefs.h. */
15978 _ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15982 #include <ac_nonexistent.h>
15983 _ACEOF
15984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15986 ac_status=$?
15987 grep -v '^ *+' conftest.er1 >conftest.err
15988 rm -f conftest.er1
15989 cat conftest.err >&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); } >/dev/null; then
15992 if test -s conftest.err; then
15993 ac_cpp_err=$ac_cxx_preproc_warn_flag
15994 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15995 else
15996 ac_cpp_err=
15997 fi
15998 else
15999 ac_cpp_err=yes
16000 fi
16001 if test -z "$ac_cpp_err"; then
16002 # Broken: success on invalid input.
16003 continue
16004 else
16005 echo "$as_me: failed program was:" >&5
16006 sed 's/^/| /' conftest.$ac_ext >&5
16007
16008 # Passes both tests.
16009 ac_preproc_ok=:
16010 break
16011 fi
16012 rm -f conftest.err conftest.$ac_ext
16013
16014 done
16015 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16016 rm -f conftest.err conftest.$ac_ext
16017 if $ac_preproc_ok; then
16018 break
16019 fi
16020
16021 done
16022 ac_cv_prog_CXXCPP=$CXXCPP
16023
16024 fi
16025 CXXCPP=$ac_cv_prog_CXXCPP
16026 else
16027 ac_cv_prog_CXXCPP=$CXXCPP
16028 fi
16029 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16030 echo "${ECHO_T}$CXXCPP" >&6
16031 ac_preproc_ok=false
16032 for ac_cxx_preproc_warn_flag in '' yes
16033 do
16034 # Use a header file that comes with gcc, so configuring glibc
16035 # with a fresh cross-compiler works.
16036 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16037 # <limits.h> exists even on freestanding compilers.
16038 # On the NeXT, cc -E runs the code through the compiler's parser,
16039 # not just through cpp. "Syntax error" is here to catch this case.
16040 cat >conftest.$ac_ext <<_ACEOF
16041 /* confdefs.h. */
16042 _ACEOF
16043 cat confdefs.h >>conftest.$ac_ext
16044 cat >>conftest.$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046 #ifdef __STDC__
16047 # include <limits.h>
16048 #else
16049 # include <assert.h>
16050 #endif
16051 Syntax error
16052 _ACEOF
16053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16055 ac_status=$?
16056 grep -v '^ *+' conftest.er1 >conftest.err
16057 rm -f conftest.er1
16058 cat conftest.err >&5
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); } >/dev/null; then
16061 if test -s conftest.err; then
16062 ac_cpp_err=$ac_cxx_preproc_warn_flag
16063 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16064 else
16065 ac_cpp_err=
16066 fi
16067 else
16068 ac_cpp_err=yes
16069 fi
16070 if test -z "$ac_cpp_err"; then
16071 :
16072 else
16073 echo "$as_me: failed program was:" >&5
16074 sed 's/^/| /' conftest.$ac_ext >&5
16075
16076 # Broken: fails on valid input.
16077 continue
16078 fi
16079 rm -f conftest.err conftest.$ac_ext
16080
16081 # OK, works on sane cases. Now check whether non-existent headers
16082 # can be detected and how.
16083 cat >conftest.$ac_ext <<_ACEOF
16084 /* confdefs.h. */
16085 _ACEOF
16086 cat confdefs.h >>conftest.$ac_ext
16087 cat >>conftest.$ac_ext <<_ACEOF
16088 /* end confdefs.h. */
16089 #include <ac_nonexistent.h>
16090 _ACEOF
16091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16093 ac_status=$?
16094 grep -v '^ *+' conftest.er1 >conftest.err
16095 rm -f conftest.er1
16096 cat conftest.err >&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); } >/dev/null; then
16099 if test -s conftest.err; then
16100 ac_cpp_err=$ac_cxx_preproc_warn_flag
16101 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16102 else
16103 ac_cpp_err=
16104 fi
16105 else
16106 ac_cpp_err=yes
16107 fi
16108 if test -z "$ac_cpp_err"; then
16109 # Broken: success on invalid input.
16110 continue
16111 else
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16114
16115 # Passes both tests.
16116 ac_preproc_ok=:
16117 break
16118 fi
16119 rm -f conftest.err conftest.$ac_ext
16120
16121 done
16122 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16123 rm -f conftest.err conftest.$ac_ext
16124 if $ac_preproc_ok; then
16125 :
16126 else
16127 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16128 See \`config.log' for more details." >&5
16129 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16130 See \`config.log' for more details." >&2;}
16131 { (exit 1); exit 1; }; }
16132 fi
16133
16134 ac_ext=cc
16135 ac_cpp='$CXXCPP $CPPFLAGS'
16136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16139
16140
16141 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16142 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16143 if test "${ac_cv_header_stdc+set}" = set; then
16144 echo $ECHO_N "(cached) $ECHO_C" >&6
16145 else
16146 cat >conftest.$ac_ext <<_ACEOF
16147 /* confdefs.h. */
16148 _ACEOF
16149 cat confdefs.h >>conftest.$ac_ext
16150 cat >>conftest.$ac_ext <<_ACEOF
16151 /* end confdefs.h. */
16152 #include <stdlib.h>
16153 #include <stdarg.h>
16154 #include <string.h>
16155 #include <float.h>
16156
16157 int
16158 main ()
16159 {
16160
16161 ;
16162 return 0;
16163 }
16164 _ACEOF
16165 rm -f conftest.$ac_objext
16166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16167 (eval $ac_compile) 2>conftest.er1
16168 ac_status=$?
16169 grep -v '^ *+' conftest.er1 >conftest.err
16170 rm -f conftest.er1
16171 cat conftest.err >&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); } &&
16174 { ac_try='test -z "$ac_cxx_werror_flag"
16175 || test ! -s conftest.err'
16176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177 (eval $ac_try) 2>&5
16178 ac_status=$?
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); }; } &&
16181 { ac_try='test -s conftest.$ac_objext'
16182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183 (eval $ac_try) 2>&5
16184 ac_status=$?
16185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186 (exit $ac_status); }; }; then
16187 ac_cv_header_stdc=yes
16188 else
16189 echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16191
16192 ac_cv_header_stdc=no
16193 fi
16194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16195
16196 if test $ac_cv_header_stdc = yes; then
16197 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16198 cat >conftest.$ac_ext <<_ACEOF
16199 /* confdefs.h. */
16200 _ACEOF
16201 cat confdefs.h >>conftest.$ac_ext
16202 cat >>conftest.$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16204 #include <string.h>
16205
16206 _ACEOF
16207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16208 $EGREP "memchr" >/dev/null 2>&1; then
16209 :
16210 else
16211 ac_cv_header_stdc=no
16212 fi
16213 rm -f conftest*
16214
16215 fi
16216
16217 if test $ac_cv_header_stdc = yes; then
16218 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16219 cat >conftest.$ac_ext <<_ACEOF
16220 /* confdefs.h. */
16221 _ACEOF
16222 cat confdefs.h >>conftest.$ac_ext
16223 cat >>conftest.$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16225 #include <stdlib.h>
16226
16227 _ACEOF
16228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16229 $EGREP "free" >/dev/null 2>&1; then
16230 :
16231 else
16232 ac_cv_header_stdc=no
16233 fi
16234 rm -f conftest*
16235
16236 fi
16237
16238 if test $ac_cv_header_stdc = yes; then
16239 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16240 if test "$cross_compiling" = yes; then
16241 :
16242 else
16243 cat >conftest.$ac_ext <<_ACEOF
16244 /* confdefs.h. */
16245 _ACEOF
16246 cat confdefs.h >>conftest.$ac_ext
16247 cat >>conftest.$ac_ext <<_ACEOF
16248 /* end confdefs.h. */
16249 #include <ctype.h>
16250 #if ((' ' & 0x0FF) == 0x020)
16251 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16252 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16253 #else
16254 # define ISLOWER(c) \
16255 (('a' <= (c) && (c) <= 'i') \
16256 || ('j' <= (c) && (c) <= 'r') \
16257 || ('s' <= (c) && (c) <= 'z'))
16258 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16259 #endif
16260
16261 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16262 int
16263 main ()
16264 {
16265 int i;
16266 for (i = 0; i < 256; i++)
16267 if (XOR (islower (i), ISLOWER (i))
16268 || toupper (i) != TOUPPER (i))
16269 exit(2);
16270 exit (0);
16271 }
16272 _ACEOF
16273 rm -f conftest$ac_exeext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16275 (eval $ac_link) 2>&5
16276 ac_status=$?
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16280 (eval $ac_try) 2>&5
16281 ac_status=$?
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }; }; then
16284 :
16285 else
16286 echo "$as_me: program exited with status $ac_status" >&5
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.$ac_ext >&5
16289
16290 ( exit $ac_status )
16291 ac_cv_header_stdc=no
16292 fi
16293 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16294 fi
16295 fi
16296 fi
16297 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16298 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16299 if test $ac_cv_header_stdc = yes; then
16300
16301 cat >>confdefs.h <<\_ACEOF
16302 #define STDC_HEADERS 1
16303 _ACEOF
16304
16305 fi
16306
16307 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16318 inttypes.h stdint.h unistd.h
16319 do
16320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16321 echo "$as_me:$LINENO: checking for $ac_header" >&5
16322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16324 echo $ECHO_N "(cached) $ECHO_C" >&6
16325 else
16326 cat >conftest.$ac_ext <<_ACEOF
16327 /* confdefs.h. */
16328 _ACEOF
16329 cat confdefs.h >>conftest.$ac_ext
16330 cat >>conftest.$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 $ac_includes_default
16333
16334 #include <$ac_header>
16335 _ACEOF
16336 rm -f conftest.$ac_objext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16338 (eval $ac_compile) 2>conftest.er1
16339 ac_status=$?
16340 grep -v '^ *+' conftest.er1 >conftest.err
16341 rm -f conftest.er1
16342 cat conftest.err >&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -z "$ac_cxx_werror_flag"
16346 || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 eval "$as_ac_Header=yes"
16359 else
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.$ac_ext >&5
16362
16363 eval "$as_ac_Header=no"
16364 fi
16365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16366 fi
16367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16370 cat >>confdefs.h <<_ACEOF
16371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16372 _ACEOF
16373
16374 fi
16375
16376 done
16377
16378
16379
16380 for ac_header in stdlib.h
16381 do
16382 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16384 echo "$as_me:$LINENO: checking for $ac_header" >&5
16385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16387 echo $ECHO_N "(cached) $ECHO_C" >&6
16388 fi
16389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16391 else
16392 # Is the header compilable?
16393 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16394 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16395 cat >conftest.$ac_ext <<_ACEOF
16396 /* confdefs.h. */
16397 _ACEOF
16398 cat confdefs.h >>conftest.$ac_ext
16399 cat >>conftest.$ac_ext <<_ACEOF
16400 /* end confdefs.h. */
16401 $ac_includes_default
16402 #include <$ac_header>
16403 _ACEOF
16404 rm -f conftest.$ac_objext
16405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16406 (eval $ac_compile) 2>conftest.er1
16407 ac_status=$?
16408 grep -v '^ *+' conftest.er1 >conftest.err
16409 rm -f conftest.er1
16410 cat conftest.err >&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); } &&
16413 { ac_try='test -z "$ac_cxx_werror_flag"
16414 || test ! -s conftest.err'
16415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16416 (eval $ac_try) 2>&5
16417 ac_status=$?
16418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16419 (exit $ac_status); }; } &&
16420 { ac_try='test -s conftest.$ac_objext'
16421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16422 (eval $ac_try) 2>&5
16423 ac_status=$?
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); }; }; then
16426 ac_header_compiler=yes
16427 else
16428 echo "$as_me: failed program was:" >&5
16429 sed 's/^/| /' conftest.$ac_ext >&5
16430
16431 ac_header_compiler=no
16432 fi
16433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16434 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16435 echo "${ECHO_T}$ac_header_compiler" >&6
16436
16437 # Is the header present?
16438 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16439 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16440 cat >conftest.$ac_ext <<_ACEOF
16441 /* confdefs.h. */
16442 _ACEOF
16443 cat confdefs.h >>conftest.$ac_ext
16444 cat >>conftest.$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446 #include <$ac_header>
16447 _ACEOF
16448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16450 ac_status=$?
16451 grep -v '^ *+' conftest.er1 >conftest.err
16452 rm -f conftest.er1
16453 cat conftest.err >&5
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } >/dev/null; then
16456 if test -s conftest.err; then
16457 ac_cpp_err=$ac_cxx_preproc_warn_flag
16458 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16459 else
16460 ac_cpp_err=
16461 fi
16462 else
16463 ac_cpp_err=yes
16464 fi
16465 if test -z "$ac_cpp_err"; then
16466 ac_header_preproc=yes
16467 else
16468 echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.$ac_ext >&5
16470
16471 ac_header_preproc=no
16472 fi
16473 rm -f conftest.err conftest.$ac_ext
16474 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16475 echo "${ECHO_T}$ac_header_preproc" >&6
16476
16477 # So? What about this header?
16478 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16479 yes:no: )
16480 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16481 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16483 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16484 ac_header_preproc=yes
16485 ;;
16486 no:yes:* )
16487 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16488 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16489 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16490 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16491 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16492 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16493 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16494 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16497 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16498 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16499 (
16500 cat <<\_ASBOX
16501 ## ----------------------------------------- ##
16502 ## Report this to wx-dev@lists.wxwidgets.org ##
16503 ## ----------------------------------------- ##
16504 _ASBOX
16505 ) |
16506 sed "s/^/$as_me: WARNING: /" >&2
16507 ;;
16508 esac
16509 echo "$as_me:$LINENO: checking for $ac_header" >&5
16510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16512 echo $ECHO_N "(cached) $ECHO_C" >&6
16513 else
16514 eval "$as_ac_Header=\$ac_header_preproc"
16515 fi
16516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16518
16519 fi
16520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16521 cat >>confdefs.h <<_ACEOF
16522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16523 _ACEOF
16524
16525 fi
16526
16527 done
16528
16529
16530 for ac_header in malloc.h
16531 do
16532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16534 echo "$as_me:$LINENO: checking for $ac_header" >&5
16535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16538 fi
16539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16541 else
16542 # Is the header compilable?
16543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16545 cat >conftest.$ac_ext <<_ACEOF
16546 /* confdefs.h. */
16547 _ACEOF
16548 cat confdefs.h >>conftest.$ac_ext
16549 cat >>conftest.$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16551 $ac_includes_default
16552 #include <$ac_header>
16553 _ACEOF
16554 rm -f conftest.$ac_objext
16555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16556 (eval $ac_compile) 2>conftest.er1
16557 ac_status=$?
16558 grep -v '^ *+' conftest.er1 >conftest.err
16559 rm -f conftest.er1
16560 cat conftest.err >&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); } &&
16563 { ac_try='test -z "$ac_cxx_werror_flag"
16564 || test ! -s conftest.err'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16567 ac_status=$?
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; } &&
16570 { ac_try='test -s conftest.$ac_objext'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16573 ac_status=$?
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; }; then
16576 ac_header_compiler=yes
16577 else
16578 echo "$as_me: failed program was:" >&5
16579 sed 's/^/| /' conftest.$ac_ext >&5
16580
16581 ac_header_compiler=no
16582 fi
16583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16585 echo "${ECHO_T}$ac_header_compiler" >&6
16586
16587 # Is the header present?
16588 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16589 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16590 cat >conftest.$ac_ext <<_ACEOF
16591 /* confdefs.h. */
16592 _ACEOF
16593 cat confdefs.h >>conftest.$ac_ext
16594 cat >>conftest.$ac_ext <<_ACEOF
16595 /* end confdefs.h. */
16596 #include <$ac_header>
16597 _ACEOF
16598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16600 ac_status=$?
16601 grep -v '^ *+' conftest.er1 >conftest.err
16602 rm -f conftest.er1
16603 cat conftest.err >&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); } >/dev/null; then
16606 if test -s conftest.err; then
16607 ac_cpp_err=$ac_cxx_preproc_warn_flag
16608 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16609 else
16610 ac_cpp_err=
16611 fi
16612 else
16613 ac_cpp_err=yes
16614 fi
16615 if test -z "$ac_cpp_err"; then
16616 ac_header_preproc=yes
16617 else
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16620
16621 ac_header_preproc=no
16622 fi
16623 rm -f conftest.err conftest.$ac_ext
16624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16625 echo "${ECHO_T}$ac_header_preproc" >&6
16626
16627 # So? What about this header?
16628 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16629 yes:no: )
16630 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16631 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16633 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16634 ac_header_preproc=yes
16635 ;;
16636 no:yes:* )
16637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16641 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16642 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16643 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16644 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16646 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16647 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16648 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16649 (
16650 cat <<\_ASBOX
16651 ## ----------------------------------------- ##
16652 ## Report this to wx-dev@lists.wxwidgets.org ##
16653 ## ----------------------------------------- ##
16654 _ASBOX
16655 ) |
16656 sed "s/^/$as_me: WARNING: /" >&2
16657 ;;
16658 esac
16659 echo "$as_me:$LINENO: checking for $ac_header" >&5
16660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16662 echo $ECHO_N "(cached) $ECHO_C" >&6
16663 else
16664 eval "$as_ac_Header=\$ac_header_preproc"
16665 fi
16666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16668
16669 fi
16670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16671 cat >>confdefs.h <<_ACEOF
16672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16673 _ACEOF
16674
16675 fi
16676
16677 done
16678
16679
16680 for ac_header in unistd.h
16681 do
16682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16684 echo "$as_me:$LINENO: checking for $ac_header" >&5
16685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 fi
16689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16691 else
16692 # Is the header compilable?
16693 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16694 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16695 cat >conftest.$ac_ext <<_ACEOF
16696 /* confdefs.h. */
16697 _ACEOF
16698 cat confdefs.h >>conftest.$ac_ext
16699 cat >>conftest.$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16701 $ac_includes_default
16702 #include <$ac_header>
16703 _ACEOF
16704 rm -f conftest.$ac_objext
16705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16706 (eval $ac_compile) 2>conftest.er1
16707 ac_status=$?
16708 grep -v '^ *+' conftest.er1 >conftest.err
16709 rm -f conftest.er1
16710 cat conftest.err >&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } &&
16713 { ac_try='test -z "$ac_cxx_werror_flag"
16714 || test ! -s conftest.err'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16717 ac_status=$?
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; } &&
16720 { ac_try='test -s conftest.$ac_objext'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16723 ac_status=$?
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; }; then
16726 ac_header_compiler=yes
16727 else
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16730
16731 ac_header_compiler=no
16732 fi
16733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16735 echo "${ECHO_T}$ac_header_compiler" >&6
16736
16737 # Is the header present?
16738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16740 cat >conftest.$ac_ext <<_ACEOF
16741 /* confdefs.h. */
16742 _ACEOF
16743 cat confdefs.h >>conftest.$ac_ext
16744 cat >>conftest.$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16746 #include <$ac_header>
16747 _ACEOF
16748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16750 ac_status=$?
16751 grep -v '^ *+' conftest.er1 >conftest.err
16752 rm -f conftest.er1
16753 cat conftest.err >&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); } >/dev/null; then
16756 if test -s conftest.err; then
16757 ac_cpp_err=$ac_cxx_preproc_warn_flag
16758 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16759 else
16760 ac_cpp_err=
16761 fi
16762 else
16763 ac_cpp_err=yes
16764 fi
16765 if test -z "$ac_cpp_err"; then
16766 ac_header_preproc=yes
16767 else
16768 echo "$as_me: failed program was:" >&5
16769 sed 's/^/| /' conftest.$ac_ext >&5
16770
16771 ac_header_preproc=no
16772 fi
16773 rm -f conftest.err conftest.$ac_ext
16774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16775 echo "${ECHO_T}$ac_header_preproc" >&6
16776
16777 # So? What about this header?
16778 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16779 yes:no: )
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16783 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16784 ac_header_preproc=yes
16785 ;;
16786 no:yes:* )
16787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16791 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16792 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16793 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16794 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16796 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16797 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16798 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16799 (
16800 cat <<\_ASBOX
16801 ## ----------------------------------------- ##
16802 ## Report this to wx-dev@lists.wxwidgets.org ##
16803 ## ----------------------------------------- ##
16804 _ASBOX
16805 ) |
16806 sed "s/^/$as_me: WARNING: /" >&2
16807 ;;
16808 esac
16809 echo "$as_me:$LINENO: checking for $ac_header" >&5
16810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16812 echo $ECHO_N "(cached) $ECHO_C" >&6
16813 else
16814 eval "$as_ac_Header=\$ac_header_preproc"
16815 fi
16816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16818
16819 fi
16820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16821 cat >>confdefs.h <<_ACEOF
16822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16823 _ACEOF
16824
16825 fi
16826
16827 done
16828
16829
16830 for ac_header in wchar.h
16831 do
16832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16834 echo "$as_me:$LINENO: checking for $ac_header" >&5
16835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16838 fi
16839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16841 else
16842 # Is the header compilable?
16843 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16844 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16845 cat >conftest.$ac_ext <<_ACEOF
16846 /* confdefs.h. */
16847 _ACEOF
16848 cat confdefs.h >>conftest.$ac_ext
16849 cat >>conftest.$ac_ext <<_ACEOF
16850 /* end confdefs.h. */
16851 $ac_includes_default
16852 #include <$ac_header>
16853 _ACEOF
16854 rm -f conftest.$ac_objext
16855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16856 (eval $ac_compile) 2>conftest.er1
16857 ac_status=$?
16858 grep -v '^ *+' conftest.er1 >conftest.err
16859 rm -f conftest.er1
16860 cat conftest.err >&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); } &&
16863 { ac_try='test -z "$ac_cxx_werror_flag"
16864 || test ! -s conftest.err'
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); }; } &&
16870 { ac_try='test -s conftest.$ac_objext'
16871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16872 (eval $ac_try) 2>&5
16873 ac_status=$?
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); }; }; then
16876 ac_header_compiler=yes
16877 else
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.$ac_ext >&5
16880
16881 ac_header_compiler=no
16882 fi
16883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16885 echo "${ECHO_T}$ac_header_compiler" >&6
16886
16887 # Is the header present?
16888 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16890 cat >conftest.$ac_ext <<_ACEOF
16891 /* confdefs.h. */
16892 _ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 #include <$ac_header>
16897 _ACEOF
16898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16899 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16900 ac_status=$?
16901 grep -v '^ *+' conftest.er1 >conftest.err
16902 rm -f conftest.er1
16903 cat conftest.err >&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } >/dev/null; then
16906 if test -s conftest.err; then
16907 ac_cpp_err=$ac_cxx_preproc_warn_flag
16908 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16909 else
16910 ac_cpp_err=
16911 fi
16912 else
16913 ac_cpp_err=yes
16914 fi
16915 if test -z "$ac_cpp_err"; then
16916 ac_header_preproc=yes
16917 else
16918 echo "$as_me: failed program was:" >&5
16919 sed 's/^/| /' conftest.$ac_ext >&5
16920
16921 ac_header_preproc=no
16922 fi
16923 rm -f conftest.err conftest.$ac_ext
16924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16925 echo "${ECHO_T}$ac_header_preproc" >&6
16926
16927 # So? What about this header?
16928 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16929 yes:no: )
16930 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16934 ac_header_preproc=yes
16935 ;;
16936 no:yes:* )
16937 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16939 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16940 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16941 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16942 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16943 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16944 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16947 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16948 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16949 (
16950 cat <<\_ASBOX
16951 ## ----------------------------------------- ##
16952 ## Report this to wx-dev@lists.wxwidgets.org ##
16953 ## ----------------------------------------- ##
16954 _ASBOX
16955 ) |
16956 sed "s/^/$as_me: WARNING: /" >&2
16957 ;;
16958 esac
16959 echo "$as_me:$LINENO: checking for $ac_header" >&5
16960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 else
16964 eval "$as_ac_Header=\$ac_header_preproc"
16965 fi
16966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16968
16969 fi
16970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16971 cat >>confdefs.h <<_ACEOF
16972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16973 _ACEOF
16974
16975 fi
16976
16977 done
16978
16979
16980 if test "$ac_cv_header_wchar_h" != "yes"; then
16981
16982 for ac_header in wcstr.h
16983 do
16984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16986 echo "$as_me:$LINENO: checking for $ac_header" >&5
16987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16990 fi
16991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16993 else
16994 # Is the header compilable?
16995 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16996 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16997 cat >conftest.$ac_ext <<_ACEOF
16998 /* confdefs.h. */
16999 _ACEOF
17000 cat confdefs.h >>conftest.$ac_ext
17001 cat >>conftest.$ac_ext <<_ACEOF
17002 /* end confdefs.h. */
17003 $ac_includes_default
17004 #include <$ac_header>
17005 _ACEOF
17006 rm -f conftest.$ac_objext
17007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17008 (eval $ac_compile) 2>conftest.er1
17009 ac_status=$?
17010 grep -v '^ *+' conftest.er1 >conftest.err
17011 rm -f conftest.er1
17012 cat conftest.err >&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } &&
17015 { ac_try='test -z "$ac_cxx_werror_flag"
17016 || test ! -s conftest.err'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17019 ac_status=$?
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; } &&
17022 { ac_try='test -s conftest.$ac_objext'
17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024 (eval $ac_try) 2>&5
17025 ac_status=$?
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }; }; then
17028 ac_header_compiler=yes
17029 else
17030 echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.$ac_ext >&5
17032
17033 ac_header_compiler=no
17034 fi
17035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17037 echo "${ECHO_T}$ac_header_compiler" >&6
17038
17039 # Is the header present?
17040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17042 cat >conftest.$ac_ext <<_ACEOF
17043 /* confdefs.h. */
17044 _ACEOF
17045 cat confdefs.h >>conftest.$ac_ext
17046 cat >>conftest.$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048 #include <$ac_header>
17049 _ACEOF
17050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17052 ac_status=$?
17053 grep -v '^ *+' conftest.er1 >conftest.err
17054 rm -f conftest.er1
17055 cat conftest.err >&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } >/dev/null; then
17058 if test -s conftest.err; then
17059 ac_cpp_err=$ac_cxx_preproc_warn_flag
17060 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17061 else
17062 ac_cpp_err=
17063 fi
17064 else
17065 ac_cpp_err=yes
17066 fi
17067 if test -z "$ac_cpp_err"; then
17068 ac_header_preproc=yes
17069 else
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.$ac_ext >&5
17072
17073 ac_header_preproc=no
17074 fi
17075 rm -f conftest.err conftest.$ac_ext
17076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17077 echo "${ECHO_T}$ac_header_preproc" >&6
17078
17079 # So? What about this header?
17080 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17081 yes:no: )
17082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17086 ac_header_preproc=yes
17087 ;;
17088 no:yes:* )
17089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17101 (
17102 cat <<\_ASBOX
17103 ## ----------------------------------------- ##
17104 ## Report this to wx-dev@lists.wxwidgets.org ##
17105 ## ----------------------------------------- ##
17106 _ASBOX
17107 ) |
17108 sed "s/^/$as_me: WARNING: /" >&2
17109 ;;
17110 esac
17111 echo "$as_me:$LINENO: checking for $ac_header" >&5
17112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17114 echo $ECHO_N "(cached) $ECHO_C" >&6
17115 else
17116 eval "$as_ac_Header=\$ac_header_preproc"
17117 fi
17118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17120
17121 fi
17122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17123 cat >>confdefs.h <<_ACEOF
17124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17125 _ACEOF
17126
17127 fi
17128
17129 done
17130
17131 fi
17132
17133
17134 for ac_header in fnmatch.h
17135 do
17136 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17138 echo "$as_me:$LINENO: checking for $ac_header" >&5
17139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 fi
17143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17145 else
17146 # Is the header compilable?
17147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17149 cat >conftest.$ac_ext <<_ACEOF
17150 /* confdefs.h. */
17151 _ACEOF
17152 cat confdefs.h >>conftest.$ac_ext
17153 cat >>conftest.$ac_ext <<_ACEOF
17154 /* end confdefs.h. */
17155 $ac_includes_default
17156 #include <$ac_header>
17157 _ACEOF
17158 rm -f conftest.$ac_objext
17159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17160 (eval $ac_compile) 2>conftest.er1
17161 ac_status=$?
17162 grep -v '^ *+' conftest.er1 >conftest.err
17163 rm -f conftest.er1
17164 cat conftest.err >&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); } &&
17167 { ac_try='test -z "$ac_cxx_werror_flag"
17168 || test ! -s conftest.err'
17169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17170 (eval $ac_try) 2>&5
17171 ac_status=$?
17172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17173 (exit $ac_status); }; } &&
17174 { ac_try='test -s conftest.$ac_objext'
17175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17176 (eval $ac_try) 2>&5
17177 ac_status=$?
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); }; }; then
17180 ac_header_compiler=yes
17181 else
17182 echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.$ac_ext >&5
17184
17185 ac_header_compiler=no
17186 fi
17187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17188 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17189 echo "${ECHO_T}$ac_header_compiler" >&6
17190
17191 # Is the header present?
17192 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17193 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17194 cat >conftest.$ac_ext <<_ACEOF
17195 /* confdefs.h. */
17196 _ACEOF
17197 cat confdefs.h >>conftest.$ac_ext
17198 cat >>conftest.$ac_ext <<_ACEOF
17199 /* end confdefs.h. */
17200 #include <$ac_header>
17201 _ACEOF
17202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17204 ac_status=$?
17205 grep -v '^ *+' conftest.er1 >conftest.err
17206 rm -f conftest.er1
17207 cat conftest.err >&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); } >/dev/null; then
17210 if test -s conftest.err; then
17211 ac_cpp_err=$ac_cxx_preproc_warn_flag
17212 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17213 else
17214 ac_cpp_err=
17215 fi
17216 else
17217 ac_cpp_err=yes
17218 fi
17219 if test -z "$ac_cpp_err"; then
17220 ac_header_preproc=yes
17221 else
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.$ac_ext >&5
17224
17225 ac_header_preproc=no
17226 fi
17227 rm -f conftest.err conftest.$ac_ext
17228 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17229 echo "${ECHO_T}$ac_header_preproc" >&6
17230
17231 # So? What about this header?
17232 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17233 yes:no: )
17234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17238 ac_header_preproc=yes
17239 ;;
17240 no:yes:* )
17241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17253 (
17254 cat <<\_ASBOX
17255 ## ----------------------------------------- ##
17256 ## Report this to wx-dev@lists.wxwidgets.org ##
17257 ## ----------------------------------------- ##
17258 _ASBOX
17259 ) |
17260 sed "s/^/$as_me: WARNING: /" >&2
17261 ;;
17262 esac
17263 echo "$as_me:$LINENO: checking for $ac_header" >&5
17264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17266 echo $ECHO_N "(cached) $ECHO_C" >&6
17267 else
17268 eval "$as_ac_Header=\$ac_header_preproc"
17269 fi
17270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17272
17273 fi
17274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17275 cat >>confdefs.h <<_ACEOF
17276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17277 _ACEOF
17278
17279 fi
17280
17281 done
17282
17283
17284
17285 for ac_header in langinfo.h
17286 do
17287 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17289 echo "$as_me:$LINENO: checking for $ac_header" >&5
17290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17292 echo $ECHO_N "(cached) $ECHO_C" >&6
17293 fi
17294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17296 else
17297 # Is the header compilable?
17298 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17300 cat >conftest.$ac_ext <<_ACEOF
17301 /* confdefs.h. */
17302 _ACEOF
17303 cat confdefs.h >>conftest.$ac_ext
17304 cat >>conftest.$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17306 $ac_includes_default
17307 #include <$ac_header>
17308 _ACEOF
17309 rm -f conftest.$ac_objext
17310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17311 (eval $ac_compile) 2>conftest.er1
17312 ac_status=$?
17313 grep -v '^ *+' conftest.er1 >conftest.err
17314 rm -f conftest.er1
17315 cat conftest.err >&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); } &&
17318 { ac_try='test -z "$ac_cxx_werror_flag"
17319 || test ! -s conftest.err'
17320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17321 (eval $ac_try) 2>&5
17322 ac_status=$?
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); }; } &&
17325 { ac_try='test -s conftest.$ac_objext'
17326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17327 (eval $ac_try) 2>&5
17328 ac_status=$?
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); }; }; then
17331 ac_header_compiler=yes
17332 else
17333 echo "$as_me: failed program was:" >&5
17334 sed 's/^/| /' conftest.$ac_ext >&5
17335
17336 ac_header_compiler=no
17337 fi
17338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17340 echo "${ECHO_T}$ac_header_compiler" >&6
17341
17342 # Is the header present?
17343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17345 cat >conftest.$ac_ext <<_ACEOF
17346 /* confdefs.h. */
17347 _ACEOF
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17351 #include <$ac_header>
17352 _ACEOF
17353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17355 ac_status=$?
17356 grep -v '^ *+' conftest.er1 >conftest.err
17357 rm -f conftest.er1
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } >/dev/null; then
17361 if test -s conftest.err; then
17362 ac_cpp_err=$ac_cxx_preproc_warn_flag
17363 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17364 else
17365 ac_cpp_err=
17366 fi
17367 else
17368 ac_cpp_err=yes
17369 fi
17370 if test -z "$ac_cpp_err"; then
17371 ac_header_preproc=yes
17372 else
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.$ac_ext >&5
17375
17376 ac_header_preproc=no
17377 fi
17378 rm -f conftest.err conftest.$ac_ext
17379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17380 echo "${ECHO_T}$ac_header_preproc" >&6
17381
17382 # So? What about this header?
17383 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17384 yes:no: )
17385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17389 ac_header_preproc=yes
17390 ;;
17391 no:yes:* )
17392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17404 (
17405 cat <<\_ASBOX
17406 ## ----------------------------------------- ##
17407 ## Report this to wx-dev@lists.wxwidgets.org ##
17408 ## ----------------------------------------- ##
17409 _ASBOX
17410 ) |
17411 sed "s/^/$as_me: WARNING: /" >&2
17412 ;;
17413 esac
17414 echo "$as_me:$LINENO: checking for $ac_header" >&5
17415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17418 else
17419 eval "$as_ac_Header=\$ac_header_preproc"
17420 fi
17421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17423
17424 fi
17425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17426 cat >>confdefs.h <<_ACEOF
17427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17428 _ACEOF
17429
17430 fi
17431
17432 done
17433
17434
17435 case "${host}" in
17436 *-pc-os2_emx | *-pc-os2-emx )
17437 if test $ac_cv_header_langinfo_h = "yes" \
17438 -a \( "$wx_cv_gccversion" = "EMX2" \
17439 -o "$wx_cv_gccversion" = "EMX3" \
17440 -o "$wx_cv_gccversion" = "Innotek5" \); then
17441 LIBS="$LIBS -lintl"
17442 fi
17443 ;;
17444 esac
17445
17446 if test "$USE_UNIX" = 1 ; then
17447
17448 for ac_header in sys/select.h
17449 do
17450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17452 echo "$as_me:$LINENO: checking for $ac_header" >&5
17453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17455 echo $ECHO_N "(cached) $ECHO_C" >&6
17456 fi
17457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17459 else
17460 # Is the header compilable?
17461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17463 cat >conftest.$ac_ext <<_ACEOF
17464 /* confdefs.h. */
17465 _ACEOF
17466 cat confdefs.h >>conftest.$ac_ext
17467 cat >>conftest.$ac_ext <<_ACEOF
17468 /* end confdefs.h. */
17469 $ac_includes_default
17470 #include <$ac_header>
17471 _ACEOF
17472 rm -f conftest.$ac_objext
17473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17474 (eval $ac_compile) 2>conftest.er1
17475 ac_status=$?
17476 grep -v '^ *+' conftest.er1 >conftest.err
17477 rm -f conftest.er1
17478 cat conftest.err >&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); } &&
17481 { ac_try='test -z "$ac_cxx_werror_flag"
17482 || test ! -s conftest.err'
17483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17484 (eval $ac_try) 2>&5
17485 ac_status=$?
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); }; } &&
17488 { ac_try='test -s conftest.$ac_objext'
17489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17490 (eval $ac_try) 2>&5
17491 ac_status=$?
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); }; }; then
17494 ac_header_compiler=yes
17495 else
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.$ac_ext >&5
17498
17499 ac_header_compiler=no
17500 fi
17501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17503 echo "${ECHO_T}$ac_header_compiler" >&6
17504
17505 # Is the header present?
17506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17508 cat >conftest.$ac_ext <<_ACEOF
17509 /* confdefs.h. */
17510 _ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 #include <$ac_header>
17515 _ACEOF
17516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17518 ac_status=$?
17519 grep -v '^ *+' conftest.er1 >conftest.err
17520 rm -f conftest.er1
17521 cat conftest.err >&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); } >/dev/null; then
17524 if test -s conftest.err; then
17525 ac_cpp_err=$ac_cxx_preproc_warn_flag
17526 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17527 else
17528 ac_cpp_err=
17529 fi
17530 else
17531 ac_cpp_err=yes
17532 fi
17533 if test -z "$ac_cpp_err"; then
17534 ac_header_preproc=yes
17535 else
17536 echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.$ac_ext >&5
17538
17539 ac_header_preproc=no
17540 fi
17541 rm -f conftest.err conftest.$ac_ext
17542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17543 echo "${ECHO_T}$ac_header_preproc" >&6
17544
17545 # So? What about this header?
17546 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17547 yes:no: )
17548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17552 ac_header_preproc=yes
17553 ;;
17554 no:yes:* )
17555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17567 (
17568 cat <<\_ASBOX
17569 ## ----------------------------------------- ##
17570 ## Report this to wx-dev@lists.wxwidgets.org ##
17571 ## ----------------------------------------- ##
17572 _ASBOX
17573 ) |
17574 sed "s/^/$as_me: WARNING: /" >&2
17575 ;;
17576 esac
17577 echo "$as_me:$LINENO: checking for $ac_header" >&5
17578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17580 echo $ECHO_N "(cached) $ECHO_C" >&6
17581 else
17582 eval "$as_ac_Header=\$ac_header_preproc"
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
17587 fi
17588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17589 cat >>confdefs.h <<_ACEOF
17590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17591 _ACEOF
17592
17593 fi
17594
17595 done
17596
17597 fi
17598
17599
17600 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17601 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17602 if test "${ac_cv_c_const+set}" = set; then
17603 echo $ECHO_N "(cached) $ECHO_C" >&6
17604 else
17605 cat >conftest.$ac_ext <<_ACEOF
17606 /* confdefs.h. */
17607 _ACEOF
17608 cat confdefs.h >>conftest.$ac_ext
17609 cat >>conftest.$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17611
17612 int
17613 main ()
17614 {
17615 /* FIXME: Include the comments suggested by Paul. */
17616 #ifndef __cplusplus
17617 /* Ultrix mips cc rejects this. */
17618 typedef int charset[2];
17619 const charset x;
17620 /* SunOS 4.1.1 cc rejects this. */
17621 char const *const *ccp;
17622 char **p;
17623 /* NEC SVR4.0.2 mips cc rejects this. */
17624 struct point {int x, y;};
17625 static struct point const zero = {0,0};
17626 /* AIX XL C 1.02.0.0 rejects this.
17627 It does not let you subtract one const X* pointer from another in
17628 an arm of an if-expression whose if-part is not a constant
17629 expression */
17630 const char *g = "string";
17631 ccp = &g + (g ? g-g : 0);
17632 /* HPUX 7.0 cc rejects these. */
17633 ++ccp;
17634 p = (char**) ccp;
17635 ccp = (char const *const *) p;
17636 { /* SCO 3.2v4 cc rejects this. */
17637 char *t;
17638 char const *s = 0 ? (char *) 0 : (char const *) 0;
17639
17640 *t++ = 0;
17641 }
17642 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17643 int x[] = {25, 17};
17644 const int *foo = &x[0];
17645 ++foo;
17646 }
17647 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17648 typedef const int *iptr;
17649 iptr p = 0;
17650 ++p;
17651 }
17652 { /* AIX XL C 1.02.0.0 rejects this saying
17653 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17654 struct s { int j; const int *ap[3]; };
17655 struct s *b; b->j = 5;
17656 }
17657 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17658 const int foo = 10;
17659 }
17660 #endif
17661
17662 ;
17663 return 0;
17664 }
17665 _ACEOF
17666 rm -f conftest.$ac_objext
17667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17668 (eval $ac_compile) 2>conftest.er1
17669 ac_status=$?
17670 grep -v '^ *+' conftest.er1 >conftest.err
17671 rm -f conftest.er1
17672 cat conftest.err >&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } &&
17675 { ac_try='test -z "$ac_cxx_werror_flag"
17676 || test ! -s conftest.err'
17677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17678 (eval $ac_try) 2>&5
17679 ac_status=$?
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); }; } &&
17682 { ac_try='test -s conftest.$ac_objext'
17683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17684 (eval $ac_try) 2>&5
17685 ac_status=$?
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); }; }; then
17688 ac_cv_c_const=yes
17689 else
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.$ac_ext >&5
17692
17693 ac_cv_c_const=no
17694 fi
17695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17696 fi
17697 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17698 echo "${ECHO_T}$ac_cv_c_const" >&6
17699 if test $ac_cv_c_const = no; then
17700
17701 cat >>confdefs.h <<\_ACEOF
17702 #define const
17703 _ACEOF
17704
17705 fi
17706
17707 echo "$as_me:$LINENO: checking for inline" >&5
17708 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17709 if test "${ac_cv_c_inline+set}" = set; then
17710 echo $ECHO_N "(cached) $ECHO_C" >&6
17711 else
17712 ac_cv_c_inline=no
17713 for ac_kw in inline __inline__ __inline; do
17714 cat >conftest.$ac_ext <<_ACEOF
17715 /* confdefs.h. */
17716 _ACEOF
17717 cat confdefs.h >>conftest.$ac_ext
17718 cat >>conftest.$ac_ext <<_ACEOF
17719 /* end confdefs.h. */
17720 #ifndef __cplusplus
17721 typedef int foo_t;
17722 static $ac_kw foo_t static_foo () {return 0; }
17723 $ac_kw foo_t foo () {return 0; }
17724 #endif
17725
17726 _ACEOF
17727 rm -f conftest.$ac_objext
17728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17729 (eval $ac_compile) 2>conftest.er1
17730 ac_status=$?
17731 grep -v '^ *+' conftest.er1 >conftest.err
17732 rm -f conftest.er1
17733 cat conftest.err >&5
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); } &&
17736 { ac_try='test -z "$ac_cxx_werror_flag"
17737 || test ! -s conftest.err'
17738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17739 (eval $ac_try) 2>&5
17740 ac_status=$?
17741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17742 (exit $ac_status); }; } &&
17743 { ac_try='test -s conftest.$ac_objext'
17744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17745 (eval $ac_try) 2>&5
17746 ac_status=$?
17747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17748 (exit $ac_status); }; }; then
17749 ac_cv_c_inline=$ac_kw; break
17750 else
17751 echo "$as_me: failed program was:" >&5
17752 sed 's/^/| /' conftest.$ac_ext >&5
17753
17754 fi
17755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17756 done
17757
17758 fi
17759 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17760 echo "${ECHO_T}$ac_cv_c_inline" >&6
17761
17762
17763 case $ac_cv_c_inline in
17764 inline | yes) ;;
17765 *)
17766 case $ac_cv_c_inline in
17767 no) ac_val=;;
17768 *) ac_val=$ac_cv_c_inline;;
17769 esac
17770 cat >>confdefs.h <<_ACEOF
17771 #ifndef __cplusplus
17772 #define inline $ac_val
17773 #endif
17774 _ACEOF
17775 ;;
17776 esac
17777
17778
17779 echo "$as_me:$LINENO: checking for char" >&5
17780 echo $ECHO_N "checking for char... $ECHO_C" >&6
17781 if test "${ac_cv_type_char+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 else
17784 cat >conftest.$ac_ext <<_ACEOF
17785 /* confdefs.h. */
17786 _ACEOF
17787 cat confdefs.h >>conftest.$ac_ext
17788 cat >>conftest.$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 $ac_includes_default
17791 int
17792 main ()
17793 {
17794 if ((char *) 0)
17795 return 0;
17796 if (sizeof (char))
17797 return 0;
17798 ;
17799 return 0;
17800 }
17801 _ACEOF
17802 rm -f conftest.$ac_objext
17803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17804 (eval $ac_compile) 2>conftest.er1
17805 ac_status=$?
17806 grep -v '^ *+' conftest.er1 >conftest.err
17807 rm -f conftest.er1
17808 cat conftest.err >&5
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try='test -z "$ac_cxx_werror_flag"
17812 || test ! -s conftest.err'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17815 ac_status=$?
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; } &&
17818 { ac_try='test -s conftest.$ac_objext'
17819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17820 (eval $ac_try) 2>&5
17821 ac_status=$?
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); }; }; then
17824 ac_cv_type_char=yes
17825 else
17826 echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.$ac_ext >&5
17828
17829 ac_cv_type_char=no
17830 fi
17831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17832 fi
17833 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17834 echo "${ECHO_T}$ac_cv_type_char" >&6
17835
17836 echo "$as_me:$LINENO: checking size of char" >&5
17837 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17838 if test "${ac_cv_sizeof_char+set}" = set; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17840 else
17841 if test "$ac_cv_type_char" = yes; then
17842 # The cast to unsigned long works around a bug in the HP C Compiler
17843 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17844 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17845 # This bug is HP SR number 8606223364.
17846 if test "$cross_compiling" = yes; then
17847 # Depending upon the size, compute the lo and hi bounds.
17848 cat >conftest.$ac_ext <<_ACEOF
17849 /* confdefs.h. */
17850 _ACEOF
17851 cat confdefs.h >>conftest.$ac_ext
17852 cat >>conftest.$ac_ext <<_ACEOF
17853 /* end confdefs.h. */
17854 $ac_includes_default
17855 int
17856 main ()
17857 {
17858 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17859 test_array [0] = 0
17860
17861 ;
17862 return 0;
17863 }
17864 _ACEOF
17865 rm -f conftest.$ac_objext
17866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17867 (eval $ac_compile) 2>conftest.er1
17868 ac_status=$?
17869 grep -v '^ *+' conftest.er1 >conftest.err
17870 rm -f conftest.er1
17871 cat conftest.err >&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } &&
17874 { ac_try='test -z "$ac_cxx_werror_flag"
17875 || test ! -s conftest.err'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17878 ac_status=$?
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; } &&
17881 { ac_try='test -s conftest.$ac_objext'
17882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17883 (eval $ac_try) 2>&5
17884 ac_status=$?
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); }; }; then
17887 ac_lo=0 ac_mid=0
17888 while :; do
17889 cat >conftest.$ac_ext <<_ACEOF
17890 /* confdefs.h. */
17891 _ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17895 $ac_includes_default
17896 int
17897 main ()
17898 {
17899 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17900 test_array [0] = 0
17901
17902 ;
17903 return 0;
17904 }
17905 _ACEOF
17906 rm -f conftest.$ac_objext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17908 (eval $ac_compile) 2>conftest.er1
17909 ac_status=$?
17910 grep -v '^ *+' conftest.er1 >conftest.err
17911 rm -f conftest.er1
17912 cat conftest.err >&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } &&
17915 { ac_try='test -z "$ac_cxx_werror_flag"
17916 || test ! -s conftest.err'
17917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918 (eval $ac_try) 2>&5
17919 ac_status=$?
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); }; } &&
17922 { ac_try='test -s conftest.$ac_objext'
17923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17924 (eval $ac_try) 2>&5
17925 ac_status=$?
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); }; }; then
17928 ac_hi=$ac_mid; break
17929 else
17930 echo "$as_me: failed program was:" >&5
17931 sed 's/^/| /' conftest.$ac_ext >&5
17932
17933 ac_lo=`expr $ac_mid + 1`
17934 if test $ac_lo -le $ac_mid; then
17935 ac_lo= ac_hi=
17936 break
17937 fi
17938 ac_mid=`expr 2 '*' $ac_mid + 1`
17939 fi
17940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17941 done
17942 else
17943 echo "$as_me: failed program was:" >&5
17944 sed 's/^/| /' conftest.$ac_ext >&5
17945
17946 cat >conftest.$ac_ext <<_ACEOF
17947 /* confdefs.h. */
17948 _ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 $ac_includes_default
17953 int
17954 main ()
17955 {
17956 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17957 test_array [0] = 0
17958
17959 ;
17960 return 0;
17961 }
17962 _ACEOF
17963 rm -f conftest.$ac_objext
17964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17965 (eval $ac_compile) 2>conftest.er1
17966 ac_status=$?
17967 grep -v '^ *+' conftest.er1 >conftest.err
17968 rm -f conftest.er1
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } &&
17972 { ac_try='test -z "$ac_cxx_werror_flag"
17973 || test ! -s conftest.err'
17974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17975 (eval $ac_try) 2>&5
17976 ac_status=$?
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); }; } &&
17979 { ac_try='test -s conftest.$ac_objext'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17982 ac_status=$?
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; }; then
17985 ac_hi=-1 ac_mid=-1
17986 while :; do
17987 cat >conftest.$ac_ext <<_ACEOF
17988 /* confdefs.h. */
17989 _ACEOF
17990 cat confdefs.h >>conftest.$ac_ext
17991 cat >>conftest.$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 $ac_includes_default
17994 int
17995 main ()
17996 {
17997 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17998 test_array [0] = 0
17999
18000 ;
18001 return 0;
18002 }
18003 _ACEOF
18004 rm -f conftest.$ac_objext
18005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18006 (eval $ac_compile) 2>conftest.er1
18007 ac_status=$?
18008 grep -v '^ *+' conftest.er1 >conftest.err
18009 rm -f conftest.er1
18010 cat conftest.err >&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } &&
18013 { ac_try='test -z "$ac_cxx_werror_flag"
18014 || test ! -s conftest.err'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18017 ac_status=$?
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; } &&
18020 { ac_try='test -s conftest.$ac_objext'
18021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18022 (eval $ac_try) 2>&5
18023 ac_status=$?
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); }; }; then
18026 ac_lo=$ac_mid; break
18027 else
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.$ac_ext >&5
18030
18031 ac_hi=`expr '(' $ac_mid ')' - 1`
18032 if test $ac_mid -le $ac_hi; then
18033 ac_lo= ac_hi=
18034 break
18035 fi
18036 ac_mid=`expr 2 '*' $ac_mid`
18037 fi
18038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18039 done
18040 else
18041 echo "$as_me: failed program was:" >&5
18042 sed 's/^/| /' conftest.$ac_ext >&5
18043
18044 ac_lo= ac_hi=
18045 fi
18046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18047 fi
18048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18049 # Binary search between lo and hi bounds.
18050 while test "x$ac_lo" != "x$ac_hi"; do
18051 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18052 cat >conftest.$ac_ext <<_ACEOF
18053 /* confdefs.h. */
18054 _ACEOF
18055 cat confdefs.h >>conftest.$ac_ext
18056 cat >>conftest.$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18058 $ac_includes_default
18059 int
18060 main ()
18061 {
18062 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18063 test_array [0] = 0
18064
18065 ;
18066 return 0;
18067 }
18068 _ACEOF
18069 rm -f conftest.$ac_objext
18070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18071 (eval $ac_compile) 2>conftest.er1
18072 ac_status=$?
18073 grep -v '^ *+' conftest.er1 >conftest.err
18074 rm -f conftest.er1
18075 cat conftest.err >&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); } &&
18078 { ac_try='test -z "$ac_cxx_werror_flag"
18079 || test ! -s conftest.err'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; } &&
18085 { ac_try='test -s conftest.$ac_objext'
18086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18087 (eval $ac_try) 2>&5
18088 ac_status=$?
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); }; }; then
18091 ac_hi=$ac_mid
18092 else
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.$ac_ext >&5
18095
18096 ac_lo=`expr '(' $ac_mid ')' + 1`
18097 fi
18098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18099 done
18100 case $ac_lo in
18101 ?*) ac_cv_sizeof_char=$ac_lo;;
18102 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18103 See \`config.log' for more details." >&5
18104 echo "$as_me: error: cannot compute sizeof (char), 77
18105 See \`config.log' for more details." >&2;}
18106 { (exit 1); exit 1; }; } ;;
18107 esac
18108 else
18109 if test "$cross_compiling" = yes; then
18110 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18111 See \`config.log' for more details." >&5
18112 echo "$as_me: error: cannot run test program while cross compiling
18113 See \`config.log' for more details." >&2;}
18114 { (exit 1); exit 1; }; }
18115 else
18116 cat >conftest.$ac_ext <<_ACEOF
18117 /* confdefs.h. */
18118 _ACEOF
18119 cat confdefs.h >>conftest.$ac_ext
18120 cat >>conftest.$ac_ext <<_ACEOF
18121 /* end confdefs.h. */
18122 $ac_includes_default
18123 long longval () { return (long) (sizeof (char)); }
18124 unsigned long ulongval () { return (long) (sizeof (char)); }
18125 #include <stdio.h>
18126 #include <stdlib.h>
18127 int
18128 main ()
18129 {
18130
18131 FILE *f = fopen ("conftest.val", "w");
18132 if (! f)
18133 exit (1);
18134 if (((long) (sizeof (char))) < 0)
18135 {
18136 long i = longval ();
18137 if (i != ((long) (sizeof (char))))
18138 exit (1);
18139 fprintf (f, "%ld\n", i);
18140 }
18141 else
18142 {
18143 unsigned long i = ulongval ();
18144 if (i != ((long) (sizeof (char))))
18145 exit (1);
18146 fprintf (f, "%lu\n", i);
18147 }
18148 exit (ferror (f) || fclose (f) != 0);
18149
18150 ;
18151 return 0;
18152 }
18153 _ACEOF
18154 rm -f conftest$ac_exeext
18155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18156 (eval $ac_link) 2>&5
18157 ac_status=$?
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
18165 ac_cv_sizeof_char=`cat conftest.val`
18166 else
18167 echo "$as_me: program exited with status $ac_status" >&5
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18170
18171 ( exit $ac_status )
18172 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18173 See \`config.log' for more details." >&5
18174 echo "$as_me: error: cannot compute sizeof (char), 77
18175 See \`config.log' for more details." >&2;}
18176 { (exit 1); exit 1; }; }
18177 fi
18178 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18179 fi
18180 fi
18181 rm -f conftest.val
18182 else
18183 ac_cv_sizeof_char=0
18184 fi
18185 fi
18186 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18187 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18188 cat >>confdefs.h <<_ACEOF
18189 #define SIZEOF_CHAR $ac_cv_sizeof_char
18190 _ACEOF
18191
18192
18193 echo "$as_me:$LINENO: checking for short" >&5
18194 echo $ECHO_N "checking for short... $ECHO_C" >&6
18195 if test "${ac_cv_type_short+set}" = set; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18197 else
18198 cat >conftest.$ac_ext <<_ACEOF
18199 /* confdefs.h. */
18200 _ACEOF
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 $ac_includes_default
18205 int
18206 main ()
18207 {
18208 if ((short *) 0)
18209 return 0;
18210 if (sizeof (short))
18211 return 0;
18212 ;
18213 return 0;
18214 }
18215 _ACEOF
18216 rm -f conftest.$ac_objext
18217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18218 (eval $ac_compile) 2>conftest.er1
18219 ac_status=$?
18220 grep -v '^ *+' conftest.er1 >conftest.err
18221 rm -f conftest.er1
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } &&
18225 { ac_try='test -z "$ac_cxx_werror_flag"
18226 || test ! -s conftest.err'
18227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18228 (eval $ac_try) 2>&5
18229 ac_status=$?
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); }; } &&
18232 { ac_try='test -s conftest.$ac_objext'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18235 ac_status=$?
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; }; then
18238 ac_cv_type_short=yes
18239 else
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.$ac_ext >&5
18242
18243 ac_cv_type_short=no
18244 fi
18245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18246 fi
18247 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18248 echo "${ECHO_T}$ac_cv_type_short" >&6
18249
18250 echo "$as_me:$LINENO: checking size of short" >&5
18251 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18252 if test "${ac_cv_sizeof_short+set}" = set; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 else
18255 if test "$ac_cv_type_short" = yes; then
18256 # The cast to unsigned long works around a bug in the HP C Compiler
18257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18259 # This bug is HP SR number 8606223364.
18260 if test "$cross_compiling" = yes; then
18261 # Depending upon the size, compute the lo and hi bounds.
18262 cat >conftest.$ac_ext <<_ACEOF
18263 /* confdefs.h. */
18264 _ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268 $ac_includes_default
18269 int
18270 main ()
18271 {
18272 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18273 test_array [0] = 0
18274
18275 ;
18276 return 0;
18277 }
18278 _ACEOF
18279 rm -f conftest.$ac_objext
18280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18281 (eval $ac_compile) 2>conftest.er1
18282 ac_status=$?
18283 grep -v '^ *+' conftest.er1 >conftest.err
18284 rm -f conftest.er1
18285 cat conftest.err >&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); } &&
18288 { ac_try='test -z "$ac_cxx_werror_flag"
18289 || test ! -s conftest.err'
18290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291 (eval $ac_try) 2>&5
18292 ac_status=$?
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; } &&
18295 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18301 ac_lo=0 ac_mid=0
18302 while :; do
18303 cat >conftest.$ac_ext <<_ACEOF
18304 /* confdefs.h. */
18305 _ACEOF
18306 cat confdefs.h >>conftest.$ac_ext
18307 cat >>conftest.$ac_ext <<_ACEOF
18308 /* end confdefs.h. */
18309 $ac_includes_default
18310 int
18311 main ()
18312 {
18313 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18314 test_array [0] = 0
18315
18316 ;
18317 return 0;
18318 }
18319 _ACEOF
18320 rm -f conftest.$ac_objext
18321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18322 (eval $ac_compile) 2>conftest.er1
18323 ac_status=$?
18324 grep -v '^ *+' conftest.er1 >conftest.err
18325 rm -f conftest.er1
18326 cat conftest.err >&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); } &&
18329 { ac_try='test -z "$ac_cxx_werror_flag"
18330 || test ! -s conftest.err'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18333 ac_status=$?
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; } &&
18336 { ac_try='test -s conftest.$ac_objext'
18337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18338 (eval $ac_try) 2>&5
18339 ac_status=$?
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); }; }; then
18342 ac_hi=$ac_mid; break
18343 else
18344 echo "$as_me: failed program was:" >&5
18345 sed 's/^/| /' conftest.$ac_ext >&5
18346
18347 ac_lo=`expr $ac_mid + 1`
18348 if test $ac_lo -le $ac_mid; then
18349 ac_lo= ac_hi=
18350 break
18351 fi
18352 ac_mid=`expr 2 '*' $ac_mid + 1`
18353 fi
18354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18355 done
18356 else
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.$ac_ext >&5
18359
18360 cat >conftest.$ac_ext <<_ACEOF
18361 /* confdefs.h. */
18362 _ACEOF
18363 cat confdefs.h >>conftest.$ac_ext
18364 cat >>conftest.$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366 $ac_includes_default
18367 int
18368 main ()
18369 {
18370 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18371 test_array [0] = 0
18372
18373 ;
18374 return 0;
18375 }
18376 _ACEOF
18377 rm -f conftest.$ac_objext
18378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18379 (eval $ac_compile) 2>conftest.er1
18380 ac_status=$?
18381 grep -v '^ *+' conftest.er1 >conftest.err
18382 rm -f conftest.er1
18383 cat conftest.err >&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } &&
18386 { ac_try='test -z "$ac_cxx_werror_flag"
18387 || test ! -s conftest.err'
18388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18389 (eval $ac_try) 2>&5
18390 ac_status=$?
18391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18392 (exit $ac_status); }; } &&
18393 { ac_try='test -s conftest.$ac_objext'
18394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18395 (eval $ac_try) 2>&5
18396 ac_status=$?
18397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18398 (exit $ac_status); }; }; then
18399 ac_hi=-1 ac_mid=-1
18400 while :; do
18401 cat >conftest.$ac_ext <<_ACEOF
18402 /* confdefs.h. */
18403 _ACEOF
18404 cat confdefs.h >>conftest.$ac_ext
18405 cat >>conftest.$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18407 $ac_includes_default
18408 int
18409 main ()
18410 {
18411 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18412 test_array [0] = 0
18413
18414 ;
18415 return 0;
18416 }
18417 _ACEOF
18418 rm -f conftest.$ac_objext
18419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18420 (eval $ac_compile) 2>conftest.er1
18421 ac_status=$?
18422 grep -v '^ *+' conftest.er1 >conftest.err
18423 rm -f conftest.er1
18424 cat conftest.err >&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); } &&
18427 { ac_try='test -z "$ac_cxx_werror_flag"
18428 || test ! -s conftest.err'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18431 ac_status=$?
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; } &&
18434 { ac_try='test -s conftest.$ac_objext'
18435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18436 (eval $ac_try) 2>&5
18437 ac_status=$?
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; }; then
18440 ac_lo=$ac_mid; break
18441 else
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18444
18445 ac_hi=`expr '(' $ac_mid ')' - 1`
18446 if test $ac_mid -le $ac_hi; then
18447 ac_lo= ac_hi=
18448 break
18449 fi
18450 ac_mid=`expr 2 '*' $ac_mid`
18451 fi
18452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18453 done
18454 else
18455 echo "$as_me: failed program was:" >&5
18456 sed 's/^/| /' conftest.$ac_ext >&5
18457
18458 ac_lo= ac_hi=
18459 fi
18460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18461 fi
18462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18463 # Binary search between lo and hi bounds.
18464 while test "x$ac_lo" != "x$ac_hi"; do
18465 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18466 cat >conftest.$ac_ext <<_ACEOF
18467 /* confdefs.h. */
18468 _ACEOF
18469 cat confdefs.h >>conftest.$ac_ext
18470 cat >>conftest.$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472 $ac_includes_default
18473 int
18474 main ()
18475 {
18476 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18477 test_array [0] = 0
18478
18479 ;
18480 return 0;
18481 }
18482 _ACEOF
18483 rm -f conftest.$ac_objext
18484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18485 (eval $ac_compile) 2>conftest.er1
18486 ac_status=$?
18487 grep -v '^ *+' conftest.er1 >conftest.err
18488 rm -f conftest.er1
18489 cat conftest.err >&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); } &&
18492 { ac_try='test -z "$ac_cxx_werror_flag"
18493 || test ! -s conftest.err'
18494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495 (eval $ac_try) 2>&5
18496 ac_status=$?
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; } &&
18499 { ac_try='test -s conftest.$ac_objext'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18502 ac_status=$?
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; }; then
18505 ac_hi=$ac_mid
18506 else
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.$ac_ext >&5
18509
18510 ac_lo=`expr '(' $ac_mid ')' + 1`
18511 fi
18512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18513 done
18514 case $ac_lo in
18515 ?*) ac_cv_sizeof_short=$ac_lo;;
18516 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18517 See \`config.log' for more details." >&5
18518 echo "$as_me: error: cannot compute sizeof (short), 77
18519 See \`config.log' for more details." >&2;}
18520 { (exit 1); exit 1; }; } ;;
18521 esac
18522 else
18523 if test "$cross_compiling" = yes; then
18524 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18525 See \`config.log' for more details." >&5
18526 echo "$as_me: error: cannot run test program while cross compiling
18527 See \`config.log' for more details." >&2;}
18528 { (exit 1); exit 1; }; }
18529 else
18530 cat >conftest.$ac_ext <<_ACEOF
18531 /* confdefs.h. */
18532 _ACEOF
18533 cat confdefs.h >>conftest.$ac_ext
18534 cat >>conftest.$ac_ext <<_ACEOF
18535 /* end confdefs.h. */
18536 $ac_includes_default
18537 long longval () { return (long) (sizeof (short)); }
18538 unsigned long ulongval () { return (long) (sizeof (short)); }
18539 #include <stdio.h>
18540 #include <stdlib.h>
18541 int
18542 main ()
18543 {
18544
18545 FILE *f = fopen ("conftest.val", "w");
18546 if (! f)
18547 exit (1);
18548 if (((long) (sizeof (short))) < 0)
18549 {
18550 long i = longval ();
18551 if (i != ((long) (sizeof (short))))
18552 exit (1);
18553 fprintf (f, "%ld\n", i);
18554 }
18555 else
18556 {
18557 unsigned long i = ulongval ();
18558 if (i != ((long) (sizeof (short))))
18559 exit (1);
18560 fprintf (f, "%lu\n", i);
18561 }
18562 exit (ferror (f) || fclose (f) != 0);
18563
18564 ;
18565 return 0;
18566 }
18567 _ACEOF
18568 rm -f conftest$ac_exeext
18569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18570 (eval $ac_link) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18576 ac_status=$?
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; }; then
18579 ac_cv_sizeof_short=`cat conftest.val`
18580 else
18581 echo "$as_me: program exited with status $ac_status" >&5
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18584
18585 ( exit $ac_status )
18586 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18587 See \`config.log' for more details." >&5
18588 echo "$as_me: error: cannot compute sizeof (short), 77
18589 See \`config.log' for more details." >&2;}
18590 { (exit 1); exit 1; }; }
18591 fi
18592 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18593 fi
18594 fi
18595 rm -f conftest.val
18596 else
18597 ac_cv_sizeof_short=0
18598 fi
18599 fi
18600 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18601 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18602 cat >>confdefs.h <<_ACEOF
18603 #define SIZEOF_SHORT $ac_cv_sizeof_short
18604 _ACEOF
18605
18606
18607 echo "$as_me:$LINENO: checking for void *" >&5
18608 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18609 if test "${ac_cv_type_void_p+set}" = set; then
18610 echo $ECHO_N "(cached) $ECHO_C" >&6
18611 else
18612 cat >conftest.$ac_ext <<_ACEOF
18613 /* confdefs.h. */
18614 _ACEOF
18615 cat confdefs.h >>conftest.$ac_ext
18616 cat >>conftest.$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18618 $ac_includes_default
18619 int
18620 main ()
18621 {
18622 if ((void * *) 0)
18623 return 0;
18624 if (sizeof (void *))
18625 return 0;
18626 ;
18627 return 0;
18628 }
18629 _ACEOF
18630 rm -f conftest.$ac_objext
18631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18632 (eval $ac_compile) 2>conftest.er1
18633 ac_status=$?
18634 grep -v '^ *+' conftest.er1 >conftest.err
18635 rm -f conftest.er1
18636 cat conftest.err >&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } &&
18639 { ac_try='test -z "$ac_cxx_werror_flag"
18640 || test ! -s conftest.err'
18641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18642 (eval $ac_try) 2>&5
18643 ac_status=$?
18644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18645 (exit $ac_status); }; } &&
18646 { ac_try='test -s conftest.$ac_objext'
18647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18648 (eval $ac_try) 2>&5
18649 ac_status=$?
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); }; }; then
18652 ac_cv_type_void_p=yes
18653 else
18654 echo "$as_me: failed program was:" >&5
18655 sed 's/^/| /' conftest.$ac_ext >&5
18656
18657 ac_cv_type_void_p=no
18658 fi
18659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18660 fi
18661 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18662 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18663
18664 echo "$as_me:$LINENO: checking size of void *" >&5
18665 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18666 if test "${ac_cv_sizeof_void_p+set}" = set; then
18667 echo $ECHO_N "(cached) $ECHO_C" >&6
18668 else
18669 if test "$ac_cv_type_void_p" = yes; then
18670 # The cast to unsigned long works around a bug in the HP C Compiler
18671 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18672 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18673 # This bug is HP SR number 8606223364.
18674 if test "$cross_compiling" = yes; then
18675 # Depending upon the size, compute the lo and hi bounds.
18676 cat >conftest.$ac_ext <<_ACEOF
18677 /* confdefs.h. */
18678 _ACEOF
18679 cat confdefs.h >>conftest.$ac_ext
18680 cat >>conftest.$ac_ext <<_ACEOF
18681 /* end confdefs.h. */
18682 $ac_includes_default
18683 int
18684 main ()
18685 {
18686 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18687 test_array [0] = 0
18688
18689 ;
18690 return 0;
18691 }
18692 _ACEOF
18693 rm -f conftest.$ac_objext
18694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18695 (eval $ac_compile) 2>conftest.er1
18696 ac_status=$?
18697 grep -v '^ *+' conftest.er1 >conftest.err
18698 rm -f conftest.er1
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } &&
18702 { ac_try='test -z "$ac_cxx_werror_flag"
18703 || test ! -s conftest.err'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18706 ac_status=$?
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; } &&
18709 { ac_try='test -s conftest.$ac_objext'
18710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18711 (eval $ac_try) 2>&5
18712 ac_status=$?
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); }; }; then
18715 ac_lo=0 ac_mid=0
18716 while :; do
18717 cat >conftest.$ac_ext <<_ACEOF
18718 /* confdefs.h. */
18719 _ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723 $ac_includes_default
18724 int
18725 main ()
18726 {
18727 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18728 test_array [0] = 0
18729
18730 ;
18731 return 0;
18732 }
18733 _ACEOF
18734 rm -f conftest.$ac_objext
18735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18736 (eval $ac_compile) 2>conftest.er1
18737 ac_status=$?
18738 grep -v '^ *+' conftest.er1 >conftest.err
18739 rm -f conftest.er1
18740 cat conftest.err >&5
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); } &&
18743 { ac_try='test -z "$ac_cxx_werror_flag"
18744 || test ! -s conftest.err'
18745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18746 (eval $ac_try) 2>&5
18747 ac_status=$?
18748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18749 (exit $ac_status); }; } &&
18750 { ac_try='test -s conftest.$ac_objext'
18751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18752 (eval $ac_try) 2>&5
18753 ac_status=$?
18754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755 (exit $ac_status); }; }; then
18756 ac_hi=$ac_mid; break
18757 else
18758 echo "$as_me: failed program was:" >&5
18759 sed 's/^/| /' conftest.$ac_ext >&5
18760
18761 ac_lo=`expr $ac_mid + 1`
18762 if test $ac_lo -le $ac_mid; then
18763 ac_lo= ac_hi=
18764 break
18765 fi
18766 ac_mid=`expr 2 '*' $ac_mid + 1`
18767 fi
18768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18769 done
18770 else
18771 echo "$as_me: failed program was:" >&5
18772 sed 's/^/| /' conftest.$ac_ext >&5
18773
18774 cat >conftest.$ac_ext <<_ACEOF
18775 /* confdefs.h. */
18776 _ACEOF
18777 cat confdefs.h >>conftest.$ac_ext
18778 cat >>conftest.$ac_ext <<_ACEOF
18779 /* end confdefs.h. */
18780 $ac_includes_default
18781 int
18782 main ()
18783 {
18784 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18785 test_array [0] = 0
18786
18787 ;
18788 return 0;
18789 }
18790 _ACEOF
18791 rm -f conftest.$ac_objext
18792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18793 (eval $ac_compile) 2>conftest.er1
18794 ac_status=$?
18795 grep -v '^ *+' conftest.er1 >conftest.err
18796 rm -f conftest.er1
18797 cat conftest.err >&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } &&
18800 { ac_try='test -z "$ac_cxx_werror_flag"
18801 || test ! -s conftest.err'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18804 ac_status=$?
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; } &&
18807 { ac_try='test -s conftest.$ac_objext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18810 ac_status=$?
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18813 ac_hi=-1 ac_mid=-1
18814 while :; do
18815 cat >conftest.$ac_ext <<_ACEOF
18816 /* confdefs.h. */
18817 _ACEOF
18818 cat confdefs.h >>conftest.$ac_ext
18819 cat >>conftest.$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 $ac_includes_default
18822 int
18823 main ()
18824 {
18825 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18826 test_array [0] = 0
18827
18828 ;
18829 return 0;
18830 }
18831 _ACEOF
18832 rm -f conftest.$ac_objext
18833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18834 (eval $ac_compile) 2>conftest.er1
18835 ac_status=$?
18836 grep -v '^ *+' conftest.er1 >conftest.err
18837 rm -f conftest.er1
18838 cat conftest.err >&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } &&
18841 { ac_try='test -z "$ac_cxx_werror_flag"
18842 || test ! -s conftest.err'
18843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18844 (eval $ac_try) 2>&5
18845 ac_status=$?
18846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18847 (exit $ac_status); }; } &&
18848 { ac_try='test -s conftest.$ac_objext'
18849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18850 (eval $ac_try) 2>&5
18851 ac_status=$?
18852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18853 (exit $ac_status); }; }; then
18854 ac_lo=$ac_mid; break
18855 else
18856 echo "$as_me: failed program was:" >&5
18857 sed 's/^/| /' conftest.$ac_ext >&5
18858
18859 ac_hi=`expr '(' $ac_mid ')' - 1`
18860 if test $ac_mid -le $ac_hi; then
18861 ac_lo= ac_hi=
18862 break
18863 fi
18864 ac_mid=`expr 2 '*' $ac_mid`
18865 fi
18866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18867 done
18868 else
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18871
18872 ac_lo= ac_hi=
18873 fi
18874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18875 fi
18876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18877 # Binary search between lo and hi bounds.
18878 while test "x$ac_lo" != "x$ac_hi"; do
18879 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18880 cat >conftest.$ac_ext <<_ACEOF
18881 /* confdefs.h. */
18882 _ACEOF
18883 cat confdefs.h >>conftest.$ac_ext
18884 cat >>conftest.$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 $ac_includes_default
18887 int
18888 main ()
18889 {
18890 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18891 test_array [0] = 0
18892
18893 ;
18894 return 0;
18895 }
18896 _ACEOF
18897 rm -f conftest.$ac_objext
18898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18899 (eval $ac_compile) 2>conftest.er1
18900 ac_status=$?
18901 grep -v '^ *+' conftest.er1 >conftest.err
18902 rm -f conftest.er1
18903 cat conftest.err >&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); } &&
18906 { ac_try='test -z "$ac_cxx_werror_flag"
18907 || test ! -s conftest.err'
18908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909 (eval $ac_try) 2>&5
18910 ac_status=$?
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); }; } &&
18913 { ac_try='test -s conftest.$ac_objext'
18914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18915 (eval $ac_try) 2>&5
18916 ac_status=$?
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); }; }; then
18919 ac_hi=$ac_mid
18920 else
18921 echo "$as_me: failed program was:" >&5
18922 sed 's/^/| /' conftest.$ac_ext >&5
18923
18924 ac_lo=`expr '(' $ac_mid ')' + 1`
18925 fi
18926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18927 done
18928 case $ac_lo in
18929 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18930 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18931 See \`config.log' for more details." >&5
18932 echo "$as_me: error: cannot compute sizeof (void *), 77
18933 See \`config.log' for more details." >&2;}
18934 { (exit 1); exit 1; }; } ;;
18935 esac
18936 else
18937 if test "$cross_compiling" = yes; then
18938 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18939 See \`config.log' for more details." >&5
18940 echo "$as_me: error: cannot run test program while cross compiling
18941 See \`config.log' for more details." >&2;}
18942 { (exit 1); exit 1; }; }
18943 else
18944 cat >conftest.$ac_ext <<_ACEOF
18945 /* confdefs.h. */
18946 _ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 $ac_includes_default
18951 long longval () { return (long) (sizeof (void *)); }
18952 unsigned long ulongval () { return (long) (sizeof (void *)); }
18953 #include <stdio.h>
18954 #include <stdlib.h>
18955 int
18956 main ()
18957 {
18958
18959 FILE *f = fopen ("conftest.val", "w");
18960 if (! f)
18961 exit (1);
18962 if (((long) (sizeof (void *))) < 0)
18963 {
18964 long i = longval ();
18965 if (i != ((long) (sizeof (void *))))
18966 exit (1);
18967 fprintf (f, "%ld\n", i);
18968 }
18969 else
18970 {
18971 unsigned long i = ulongval ();
18972 if (i != ((long) (sizeof (void *))))
18973 exit (1);
18974 fprintf (f, "%lu\n", i);
18975 }
18976 exit (ferror (f) || fclose (f) != 0);
18977
18978 ;
18979 return 0;
18980 }
18981 _ACEOF
18982 rm -f conftest$ac_exeext
18983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18984 (eval $ac_link) 2>&5
18985 ac_status=$?
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18990 ac_status=$?
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; }; then
18993 ac_cv_sizeof_void_p=`cat conftest.val`
18994 else
18995 echo "$as_me: program exited with status $ac_status" >&5
18996 echo "$as_me: failed program was:" >&5
18997 sed 's/^/| /' conftest.$ac_ext >&5
18998
18999 ( exit $ac_status )
19000 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19001 See \`config.log' for more details." >&5
19002 echo "$as_me: error: cannot compute sizeof (void *), 77
19003 See \`config.log' for more details." >&2;}
19004 { (exit 1); exit 1; }; }
19005 fi
19006 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19007 fi
19008 fi
19009 rm -f conftest.val
19010 else
19011 ac_cv_sizeof_void_p=0
19012 fi
19013 fi
19014 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19015 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19016 cat >>confdefs.h <<_ACEOF
19017 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19018 _ACEOF
19019
19020
19021 echo "$as_me:$LINENO: checking for int" >&5
19022 echo $ECHO_N "checking for int... $ECHO_C" >&6
19023 if test "${ac_cv_type_int+set}" = set; then
19024 echo $ECHO_N "(cached) $ECHO_C" >&6
19025 else
19026 cat >conftest.$ac_ext <<_ACEOF
19027 /* confdefs.h. */
19028 _ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 $ac_includes_default
19033 int
19034 main ()
19035 {
19036 if ((int *) 0)
19037 return 0;
19038 if (sizeof (int))
19039 return 0;
19040 ;
19041 return 0;
19042 }
19043 _ACEOF
19044 rm -f conftest.$ac_objext
19045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19046 (eval $ac_compile) 2>conftest.er1
19047 ac_status=$?
19048 grep -v '^ *+' conftest.er1 >conftest.err
19049 rm -f conftest.er1
19050 cat conftest.err >&5
19051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19052 (exit $ac_status); } &&
19053 { ac_try='test -z "$ac_cxx_werror_flag"
19054 || test ! -s conftest.err'
19055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19056 (eval $ac_try) 2>&5
19057 ac_status=$?
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); }; } &&
19060 { ac_try='test -s conftest.$ac_objext'
19061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19062 (eval $ac_try) 2>&5
19063 ac_status=$?
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }; }; then
19066 ac_cv_type_int=yes
19067 else
19068 echo "$as_me: failed program was:" >&5
19069 sed 's/^/| /' conftest.$ac_ext >&5
19070
19071 ac_cv_type_int=no
19072 fi
19073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19074 fi
19075 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19076 echo "${ECHO_T}$ac_cv_type_int" >&6
19077
19078 echo "$as_me:$LINENO: checking size of int" >&5
19079 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19080 if test "${ac_cv_sizeof_int+set}" = set; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 else
19083 if test "$ac_cv_type_int" = yes; then
19084 # The cast to unsigned long works around a bug in the HP C Compiler
19085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19087 # This bug is HP SR number 8606223364.
19088 if test "$cross_compiling" = yes; then
19089 # Depending upon the size, compute the lo and hi bounds.
19090 cat >conftest.$ac_ext <<_ACEOF
19091 /* confdefs.h. */
19092 _ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096 $ac_includes_default
19097 int
19098 main ()
19099 {
19100 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19101 test_array [0] = 0
19102
19103 ;
19104 return 0;
19105 }
19106 _ACEOF
19107 rm -f conftest.$ac_objext
19108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19109 (eval $ac_compile) 2>conftest.er1
19110 ac_status=$?
19111 grep -v '^ *+' conftest.er1 >conftest.err
19112 rm -f conftest.er1
19113 cat conftest.err >&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); } &&
19116 { ac_try='test -z "$ac_cxx_werror_flag"
19117 || test ! -s conftest.err'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19120 ac_status=$?
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; } &&
19123 { ac_try='test -s conftest.$ac_objext'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19126 ac_status=$?
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; }; then
19129 ac_lo=0 ac_mid=0
19130 while :; do
19131 cat >conftest.$ac_ext <<_ACEOF
19132 /* confdefs.h. */
19133 _ACEOF
19134 cat confdefs.h >>conftest.$ac_ext
19135 cat >>conftest.$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 $ac_includes_default
19138 int
19139 main ()
19140 {
19141 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19142 test_array [0] = 0
19143
19144 ;
19145 return 0;
19146 }
19147 _ACEOF
19148 rm -f conftest.$ac_objext
19149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19150 (eval $ac_compile) 2>conftest.er1
19151 ac_status=$?
19152 grep -v '^ *+' conftest.er1 >conftest.err
19153 rm -f conftest.er1
19154 cat conftest.err >&5
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); } &&
19157 { ac_try='test -z "$ac_cxx_werror_flag"
19158 || test ! -s conftest.err'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19161 ac_status=$?
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; } &&
19164 { ac_try='test -s conftest.$ac_objext'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19167 ac_status=$?
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; }; then
19170 ac_hi=$ac_mid; break
19171 else
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.$ac_ext >&5
19174
19175 ac_lo=`expr $ac_mid + 1`
19176 if test $ac_lo -le $ac_mid; then
19177 ac_lo= ac_hi=
19178 break
19179 fi
19180 ac_mid=`expr 2 '*' $ac_mid + 1`
19181 fi
19182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19183 done
19184 else
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19187
19188 cat >conftest.$ac_ext <<_ACEOF
19189 /* confdefs.h. */
19190 _ACEOF
19191 cat confdefs.h >>conftest.$ac_ext
19192 cat >>conftest.$ac_ext <<_ACEOF
19193 /* end confdefs.h. */
19194 $ac_includes_default
19195 int
19196 main ()
19197 {
19198 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19199 test_array [0] = 0
19200
19201 ;
19202 return 0;
19203 }
19204 _ACEOF
19205 rm -f conftest.$ac_objext
19206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19207 (eval $ac_compile) 2>conftest.er1
19208 ac_status=$?
19209 grep -v '^ *+' conftest.er1 >conftest.err
19210 rm -f conftest.er1
19211 cat conftest.err >&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } &&
19214 { ac_try='test -z "$ac_cxx_werror_flag"
19215 || test ! -s conftest.err'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; } &&
19221 { ac_try='test -s conftest.$ac_objext'
19222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223 (eval $ac_try) 2>&5
19224 ac_status=$?
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; }; then
19227 ac_hi=-1 ac_mid=-1
19228 while :; do
19229 cat >conftest.$ac_ext <<_ACEOF
19230 /* confdefs.h. */
19231 _ACEOF
19232 cat confdefs.h >>conftest.$ac_ext
19233 cat >>conftest.$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19235 $ac_includes_default
19236 int
19237 main ()
19238 {
19239 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19240 test_array [0] = 0
19241
19242 ;
19243 return 0;
19244 }
19245 _ACEOF
19246 rm -f conftest.$ac_objext
19247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19248 (eval $ac_compile) 2>conftest.er1
19249 ac_status=$?
19250 grep -v '^ *+' conftest.er1 >conftest.err
19251 rm -f conftest.er1
19252 cat conftest.err >&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); } &&
19255 { ac_try='test -z "$ac_cxx_werror_flag"
19256 || test ! -s conftest.err'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19259 ac_status=$?
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; } &&
19262 { ac_try='test -s conftest.$ac_objext'
19263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19264 (eval $ac_try) 2>&5
19265 ac_status=$?
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; }; then
19268 ac_lo=$ac_mid; break
19269 else
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19272
19273 ac_hi=`expr '(' $ac_mid ')' - 1`
19274 if test $ac_mid -le $ac_hi; then
19275 ac_lo= ac_hi=
19276 break
19277 fi
19278 ac_mid=`expr 2 '*' $ac_mid`
19279 fi
19280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19281 done
19282 else
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.$ac_ext >&5
19285
19286 ac_lo= ac_hi=
19287 fi
19288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19289 fi
19290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19291 # Binary search between lo and hi bounds.
19292 while test "x$ac_lo" != "x$ac_hi"; do
19293 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19294 cat >conftest.$ac_ext <<_ACEOF
19295 /* confdefs.h. */
19296 _ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 $ac_includes_default
19301 int
19302 main ()
19303 {
19304 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19305 test_array [0] = 0
19306
19307 ;
19308 return 0;
19309 }
19310 _ACEOF
19311 rm -f conftest.$ac_objext
19312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19313 (eval $ac_compile) 2>conftest.er1
19314 ac_status=$?
19315 grep -v '^ *+' conftest.er1 >conftest.err
19316 rm -f conftest.er1
19317 cat conftest.err >&5
19318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19319 (exit $ac_status); } &&
19320 { ac_try='test -z "$ac_cxx_werror_flag"
19321 || test ! -s conftest.err'
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); }; } &&
19327 { ac_try='test -s conftest.$ac_objext'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19330 ac_status=$?
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; }; then
19333 ac_hi=$ac_mid
19334 else
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19337
19338 ac_lo=`expr '(' $ac_mid ')' + 1`
19339 fi
19340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19341 done
19342 case $ac_lo in
19343 ?*) ac_cv_sizeof_int=$ac_lo;;
19344 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19345 See \`config.log' for more details." >&5
19346 echo "$as_me: error: cannot compute sizeof (int), 77
19347 See \`config.log' for more details." >&2;}
19348 { (exit 1); exit 1; }; } ;;
19349 esac
19350 else
19351 if test "$cross_compiling" = yes; then
19352 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19353 See \`config.log' for more details." >&5
19354 echo "$as_me: error: cannot run test program while cross compiling
19355 See \`config.log' for more details." >&2;}
19356 { (exit 1); exit 1; }; }
19357 else
19358 cat >conftest.$ac_ext <<_ACEOF
19359 /* confdefs.h. */
19360 _ACEOF
19361 cat confdefs.h >>conftest.$ac_ext
19362 cat >>conftest.$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 $ac_includes_default
19365 long longval () { return (long) (sizeof (int)); }
19366 unsigned long ulongval () { return (long) (sizeof (int)); }
19367 #include <stdio.h>
19368 #include <stdlib.h>
19369 int
19370 main ()
19371 {
19372
19373 FILE *f = fopen ("conftest.val", "w");
19374 if (! f)
19375 exit (1);
19376 if (((long) (sizeof (int))) < 0)
19377 {
19378 long i = longval ();
19379 if (i != ((long) (sizeof (int))))
19380 exit (1);
19381 fprintf (f, "%ld\n", i);
19382 }
19383 else
19384 {
19385 unsigned long i = ulongval ();
19386 if (i != ((long) (sizeof (int))))
19387 exit (1);
19388 fprintf (f, "%lu\n", i);
19389 }
19390 exit (ferror (f) || fclose (f) != 0);
19391
19392 ;
19393 return 0;
19394 }
19395 _ACEOF
19396 rm -f conftest$ac_exeext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19398 (eval $ac_link) 2>&5
19399 ac_status=$?
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19404 ac_status=$?
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; }; then
19407 ac_cv_sizeof_int=`cat conftest.val`
19408 else
19409 echo "$as_me: program exited with status $ac_status" >&5
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19412
19413 ( exit $ac_status )
19414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19415 See \`config.log' for more details." >&5
19416 echo "$as_me: error: cannot compute sizeof (int), 77
19417 See \`config.log' for more details." >&2;}
19418 { (exit 1); exit 1; }; }
19419 fi
19420 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19421 fi
19422 fi
19423 rm -f conftest.val
19424 else
19425 ac_cv_sizeof_int=0
19426 fi
19427 fi
19428 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19429 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19430 cat >>confdefs.h <<_ACEOF
19431 #define SIZEOF_INT $ac_cv_sizeof_int
19432 _ACEOF
19433
19434
19435 echo "$as_me:$LINENO: checking for long" >&5
19436 echo $ECHO_N "checking for long... $ECHO_C" >&6
19437 if test "${ac_cv_type_long+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19439 else
19440 cat >conftest.$ac_ext <<_ACEOF
19441 /* confdefs.h. */
19442 _ACEOF
19443 cat confdefs.h >>conftest.$ac_ext
19444 cat >>conftest.$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 $ac_includes_default
19447 int
19448 main ()
19449 {
19450 if ((long *) 0)
19451 return 0;
19452 if (sizeof (long))
19453 return 0;
19454 ;
19455 return 0;
19456 }
19457 _ACEOF
19458 rm -f conftest.$ac_objext
19459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19460 (eval $ac_compile) 2>conftest.er1
19461 ac_status=$?
19462 grep -v '^ *+' conftest.er1 >conftest.err
19463 rm -f conftest.er1
19464 cat conftest.err >&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } &&
19467 { ac_try='test -z "$ac_cxx_werror_flag"
19468 || test ! -s conftest.err'
19469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19470 (eval $ac_try) 2>&5
19471 ac_status=$?
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); }; } &&
19474 { ac_try='test -s conftest.$ac_objext'
19475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19476 (eval $ac_try) 2>&5
19477 ac_status=$?
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; }; then
19480 ac_cv_type_long=yes
19481 else
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.$ac_ext >&5
19484
19485 ac_cv_type_long=no
19486 fi
19487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19488 fi
19489 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19490 echo "${ECHO_T}$ac_cv_type_long" >&6
19491
19492 echo "$as_me:$LINENO: checking size of long" >&5
19493 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19494 if test "${ac_cv_sizeof_long+set}" = set; then
19495 echo $ECHO_N "(cached) $ECHO_C" >&6
19496 else
19497 if test "$ac_cv_type_long" = yes; then
19498 # The cast to unsigned long works around a bug in the HP C Compiler
19499 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19500 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19501 # This bug is HP SR number 8606223364.
19502 if test "$cross_compiling" = yes; then
19503 # Depending upon the size, compute the lo and hi bounds.
19504 cat >conftest.$ac_ext <<_ACEOF
19505 /* confdefs.h. */
19506 _ACEOF
19507 cat confdefs.h >>conftest.$ac_ext
19508 cat >>conftest.$ac_ext <<_ACEOF
19509 /* end confdefs.h. */
19510 $ac_includes_default
19511 int
19512 main ()
19513 {
19514 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19515 test_array [0] = 0
19516
19517 ;
19518 return 0;
19519 }
19520 _ACEOF
19521 rm -f conftest.$ac_objext
19522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19523 (eval $ac_compile) 2>conftest.er1
19524 ac_status=$?
19525 grep -v '^ *+' conftest.er1 >conftest.err
19526 rm -f conftest.er1
19527 cat conftest.err >&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } &&
19530 { ac_try='test -z "$ac_cxx_werror_flag"
19531 || test ! -s conftest.err'
19532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533 (eval $ac_try) 2>&5
19534 ac_status=$?
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; } &&
19537 { ac_try='test -s conftest.$ac_objext'
19538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539 (eval $ac_try) 2>&5
19540 ac_status=$?
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); }; }; then
19543 ac_lo=0 ac_mid=0
19544 while :; do
19545 cat >conftest.$ac_ext <<_ACEOF
19546 /* confdefs.h. */
19547 _ACEOF
19548 cat confdefs.h >>conftest.$ac_ext
19549 cat >>conftest.$ac_ext <<_ACEOF
19550 /* end confdefs.h. */
19551 $ac_includes_default
19552 int
19553 main ()
19554 {
19555 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19556 test_array [0] = 0
19557
19558 ;
19559 return 0;
19560 }
19561 _ACEOF
19562 rm -f conftest.$ac_objext
19563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19564 (eval $ac_compile) 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } &&
19571 { ac_try='test -z "$ac_cxx_werror_flag"
19572 || test ! -s conftest.err'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19575 ac_status=$?
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; } &&
19578 { ac_try='test -s conftest.$ac_objext'
19579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 (eval $ac_try) 2>&5
19581 ac_status=$?
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); }; }; then
19584 ac_hi=$ac_mid; break
19585 else
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.$ac_ext >&5
19588
19589 ac_lo=`expr $ac_mid + 1`
19590 if test $ac_lo -le $ac_mid; then
19591 ac_lo= ac_hi=
19592 break
19593 fi
19594 ac_mid=`expr 2 '*' $ac_mid + 1`
19595 fi
19596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19597 done
19598 else
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19601
19602 cat >conftest.$ac_ext <<_ACEOF
19603 /* confdefs.h. */
19604 _ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 $ac_includes_default
19609 int
19610 main ()
19611 {
19612 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19613 test_array [0] = 0
19614
19615 ;
19616 return 0;
19617 }
19618 _ACEOF
19619 rm -f conftest.$ac_objext
19620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19621 (eval $ac_compile) 2>conftest.er1
19622 ac_status=$?
19623 grep -v '^ *+' conftest.er1 >conftest.err
19624 rm -f conftest.er1
19625 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } &&
19628 { ac_try='test -z "$ac_cxx_werror_flag"
19629 || test ! -s conftest.err'
19630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19631 (eval $ac_try) 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; } &&
19635 { ac_try='test -s conftest.$ac_objext'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19638 ac_status=$?
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; }; then
19641 ac_hi=-1 ac_mid=-1
19642 while :; do
19643 cat >conftest.$ac_ext <<_ACEOF
19644 /* confdefs.h. */
19645 _ACEOF
19646 cat confdefs.h >>conftest.$ac_ext
19647 cat >>conftest.$ac_ext <<_ACEOF
19648 /* end confdefs.h. */
19649 $ac_includes_default
19650 int
19651 main ()
19652 {
19653 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19654 test_array [0] = 0
19655
19656 ;
19657 return 0;
19658 }
19659 _ACEOF
19660 rm -f conftest.$ac_objext
19661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19662 (eval $ac_compile) 2>conftest.er1
19663 ac_status=$?
19664 grep -v '^ *+' conftest.er1 >conftest.err
19665 rm -f conftest.er1
19666 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } &&
19669 { ac_try='test -z "$ac_cxx_werror_flag"
19670 || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19673 ac_status=$?
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try='test -s conftest.$ac_objext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19679 ac_status=$?
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 ac_lo=$ac_mid; break
19683 else
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19686
19687 ac_hi=`expr '(' $ac_mid ')' - 1`
19688 if test $ac_mid -le $ac_hi; then
19689 ac_lo= ac_hi=
19690 break
19691 fi
19692 ac_mid=`expr 2 '*' $ac_mid`
19693 fi
19694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19695 done
19696 else
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.$ac_ext >&5
19699
19700 ac_lo= ac_hi=
19701 fi
19702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19703 fi
19704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19705 # Binary search between lo and hi bounds.
19706 while test "x$ac_lo" != "x$ac_hi"; do
19707 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19708 cat >conftest.$ac_ext <<_ACEOF
19709 /* confdefs.h. */
19710 _ACEOF
19711 cat confdefs.h >>conftest.$ac_ext
19712 cat >>conftest.$ac_ext <<_ACEOF
19713 /* end confdefs.h. */
19714 $ac_includes_default
19715 int
19716 main ()
19717 {
19718 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19719 test_array [0] = 0
19720
19721 ;
19722 return 0;
19723 }
19724 _ACEOF
19725 rm -f conftest.$ac_objext
19726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19727 (eval $ac_compile) 2>conftest.er1
19728 ac_status=$?
19729 grep -v '^ *+' conftest.er1 >conftest.err
19730 rm -f conftest.er1
19731 cat conftest.err >&5
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); } &&
19734 { ac_try='test -z "$ac_cxx_werror_flag"
19735 || test ! -s conftest.err'
19736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19737 (eval $ac_try) 2>&5
19738 ac_status=$?
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); }; } &&
19741 { ac_try='test -s conftest.$ac_objext'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19744 ac_status=$?
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; }; then
19747 ac_hi=$ac_mid
19748 else
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19751
19752 ac_lo=`expr '(' $ac_mid ')' + 1`
19753 fi
19754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19755 done
19756 case $ac_lo in
19757 ?*) ac_cv_sizeof_long=$ac_lo;;
19758 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19759 See \`config.log' for more details." >&5
19760 echo "$as_me: error: cannot compute sizeof (long), 77
19761 See \`config.log' for more details." >&2;}
19762 { (exit 1); exit 1; }; } ;;
19763 esac
19764 else
19765 if test "$cross_compiling" = yes; then
19766 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19767 See \`config.log' for more details." >&5
19768 echo "$as_me: error: cannot run test program while cross compiling
19769 See \`config.log' for more details." >&2;}
19770 { (exit 1); exit 1; }; }
19771 else
19772 cat >conftest.$ac_ext <<_ACEOF
19773 /* confdefs.h. */
19774 _ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 $ac_includes_default
19779 long longval () { return (long) (sizeof (long)); }
19780 unsigned long ulongval () { return (long) (sizeof (long)); }
19781 #include <stdio.h>
19782 #include <stdlib.h>
19783 int
19784 main ()
19785 {
19786
19787 FILE *f = fopen ("conftest.val", "w");
19788 if (! f)
19789 exit (1);
19790 if (((long) (sizeof (long))) < 0)
19791 {
19792 long i = longval ();
19793 if (i != ((long) (sizeof (long))))
19794 exit (1);
19795 fprintf (f, "%ld\n", i);
19796 }
19797 else
19798 {
19799 unsigned long i = ulongval ();
19800 if (i != ((long) (sizeof (long))))
19801 exit (1);
19802 fprintf (f, "%lu\n", i);
19803 }
19804 exit (ferror (f) || fclose (f) != 0);
19805
19806 ;
19807 return 0;
19808 }
19809 _ACEOF
19810 rm -f conftest$ac_exeext
19811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19812 (eval $ac_link) 2>&5
19813 ac_status=$?
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19818 ac_status=$?
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; }; then
19821 ac_cv_sizeof_long=`cat conftest.val`
19822 else
19823 echo "$as_me: program exited with status $ac_status" >&5
19824 echo "$as_me: failed program was:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19826
19827 ( exit $ac_status )
19828 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19829 See \`config.log' for more details." >&5
19830 echo "$as_me: error: cannot compute sizeof (long), 77
19831 See \`config.log' for more details." >&2;}
19832 { (exit 1); exit 1; }; }
19833 fi
19834 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19835 fi
19836 fi
19837 rm -f conftest.val
19838 else
19839 ac_cv_sizeof_long=0
19840 fi
19841 fi
19842 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19843 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19844 cat >>confdefs.h <<_ACEOF
19845 #define SIZEOF_LONG $ac_cv_sizeof_long
19846 _ACEOF
19847
19848
19849 echo "$as_me:$LINENO: checking for size_t" >&5
19850 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19851 if test "${ac_cv_type_size_t+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19853 else
19854 cat >conftest.$ac_ext <<_ACEOF
19855 /* confdefs.h. */
19856 _ACEOF
19857 cat confdefs.h >>conftest.$ac_ext
19858 cat >>conftest.$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19860 $ac_includes_default
19861 int
19862 main ()
19863 {
19864 if ((size_t *) 0)
19865 return 0;
19866 if (sizeof (size_t))
19867 return 0;
19868 ;
19869 return 0;
19870 }
19871 _ACEOF
19872 rm -f conftest.$ac_objext
19873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19874 (eval $ac_compile) 2>conftest.er1
19875 ac_status=$?
19876 grep -v '^ *+' conftest.er1 >conftest.err
19877 rm -f conftest.er1
19878 cat conftest.err >&5
19879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19880 (exit $ac_status); } &&
19881 { ac_try='test -z "$ac_cxx_werror_flag"
19882 || test ! -s conftest.err'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19885 ac_status=$?
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; } &&
19888 { ac_try='test -s conftest.$ac_objext'
19889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19890 (eval $ac_try) 2>&5
19891 ac_status=$?
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); }; }; then
19894 ac_cv_type_size_t=yes
19895 else
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.$ac_ext >&5
19898
19899 ac_cv_type_size_t=no
19900 fi
19901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19902 fi
19903 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19904 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19905
19906 echo "$as_me:$LINENO: checking size of size_t" >&5
19907 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19908 if test "${ac_cv_sizeof_size_t+set}" = set; then
19909 echo $ECHO_N "(cached) $ECHO_C" >&6
19910 else
19911 if test "$ac_cv_type_size_t" = yes; then
19912 # The cast to unsigned long works around a bug in the HP C Compiler
19913 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19914 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19915 # This bug is HP SR number 8606223364.
19916 if test "$cross_compiling" = yes; then
19917 # Depending upon the size, compute the lo and hi bounds.
19918 cat >conftest.$ac_ext <<_ACEOF
19919 /* confdefs.h. */
19920 _ACEOF
19921 cat confdefs.h >>conftest.$ac_ext
19922 cat >>conftest.$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19924 $ac_includes_default
19925 int
19926 main ()
19927 {
19928 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19929 test_array [0] = 0
19930
19931 ;
19932 return 0;
19933 }
19934 _ACEOF
19935 rm -f conftest.$ac_objext
19936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19937 (eval $ac_compile) 2>conftest.er1
19938 ac_status=$?
19939 grep -v '^ *+' conftest.er1 >conftest.err
19940 rm -f conftest.er1
19941 cat conftest.err >&5
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } &&
19944 { ac_try='test -z "$ac_cxx_werror_flag"
19945 || test ! -s conftest.err'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19948 ac_status=$?
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; } &&
19951 { ac_try='test -s conftest.$ac_objext'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19954 ac_status=$?
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; }; then
19957 ac_lo=0 ac_mid=0
19958 while :; do
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 $ac_includes_default
19966 int
19967 main ()
19968 {
19969 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19970 test_array [0] = 0
19971
19972 ;
19973 return 0;
19974 }
19975 _ACEOF
19976 rm -f conftest.$ac_objext
19977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19978 (eval $ac_compile) 2>conftest.er1
19979 ac_status=$?
19980 grep -v '^ *+' conftest.er1 >conftest.err
19981 rm -f conftest.er1
19982 cat conftest.err >&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); } &&
19985 { ac_try='test -z "$ac_cxx_werror_flag"
19986 || test ! -s conftest.err'
19987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19988 (eval $ac_try) 2>&5
19989 ac_status=$?
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); }; } &&
19992 { ac_try='test -s conftest.$ac_objext'
19993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19994 (eval $ac_try) 2>&5
19995 ac_status=$?
19996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19997 (exit $ac_status); }; }; then
19998 ac_hi=$ac_mid; break
19999 else
20000 echo "$as_me: failed program was:" >&5
20001 sed 's/^/| /' conftest.$ac_ext >&5
20002
20003 ac_lo=`expr $ac_mid + 1`
20004 if test $ac_lo -le $ac_mid; then
20005 ac_lo= ac_hi=
20006 break
20007 fi
20008 ac_mid=`expr 2 '*' $ac_mid + 1`
20009 fi
20010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20011 done
20012 else
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20015
20016 cat >conftest.$ac_ext <<_ACEOF
20017 /* confdefs.h. */
20018 _ACEOF
20019 cat confdefs.h >>conftest.$ac_ext
20020 cat >>conftest.$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 $ac_includes_default
20023 int
20024 main ()
20025 {
20026 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20027 test_array [0] = 0
20028
20029 ;
20030 return 0;
20031 }
20032 _ACEOF
20033 rm -f conftest.$ac_objext
20034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20035 (eval $ac_compile) 2>conftest.er1
20036 ac_status=$?
20037 grep -v '^ *+' conftest.er1 >conftest.err
20038 rm -f conftest.er1
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } &&
20042 { ac_try='test -z "$ac_cxx_werror_flag"
20043 || test ! -s conftest.err'
20044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20045 (eval $ac_try) 2>&5
20046 ac_status=$?
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); }; } &&
20049 { ac_try='test -s conftest.$ac_objext'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20052 ac_status=$?
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; }; then
20055 ac_hi=-1 ac_mid=-1
20056 while :; do
20057 cat >conftest.$ac_ext <<_ACEOF
20058 /* confdefs.h. */
20059 _ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 $ac_includes_default
20064 int
20065 main ()
20066 {
20067 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20068 test_array [0] = 0
20069
20070 ;
20071 return 0;
20072 }
20073 _ACEOF
20074 rm -f conftest.$ac_objext
20075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20076 (eval $ac_compile) 2>conftest.er1
20077 ac_status=$?
20078 grep -v '^ *+' conftest.er1 >conftest.err
20079 rm -f conftest.er1
20080 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } &&
20083 { ac_try='test -z "$ac_cxx_werror_flag"
20084 || test ! -s conftest.err'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20087 ac_status=$?
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; } &&
20090 { ac_try='test -s conftest.$ac_objext'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20093 ac_status=$?
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20096 ac_lo=$ac_mid; break
20097 else
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.$ac_ext >&5
20100
20101 ac_hi=`expr '(' $ac_mid ')' - 1`
20102 if test $ac_mid -le $ac_hi; then
20103 ac_lo= ac_hi=
20104 break
20105 fi
20106 ac_mid=`expr 2 '*' $ac_mid`
20107 fi
20108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20109 done
20110 else
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20113
20114 ac_lo= ac_hi=
20115 fi
20116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20117 fi
20118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20119 # Binary search between lo and hi bounds.
20120 while test "x$ac_lo" != "x$ac_hi"; do
20121 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20122 cat >conftest.$ac_ext <<_ACEOF
20123 /* confdefs.h. */
20124 _ACEOF
20125 cat confdefs.h >>conftest.$ac_ext
20126 cat >>conftest.$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20128 $ac_includes_default
20129 int
20130 main ()
20131 {
20132 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20133 test_array [0] = 0
20134
20135 ;
20136 return 0;
20137 }
20138 _ACEOF
20139 rm -f conftest.$ac_objext
20140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20141 (eval $ac_compile) 2>conftest.er1
20142 ac_status=$?
20143 grep -v '^ *+' conftest.er1 >conftest.err
20144 rm -f conftest.er1
20145 cat conftest.err >&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); } &&
20148 { ac_try='test -z "$ac_cxx_werror_flag"
20149 || test ! -s conftest.err'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20152 ac_status=$?
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; } &&
20155 { ac_try='test -s conftest.$ac_objext'
20156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20157 (eval $ac_try) 2>&5
20158 ac_status=$?
20159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20160 (exit $ac_status); }; }; then
20161 ac_hi=$ac_mid
20162 else
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.$ac_ext >&5
20165
20166 ac_lo=`expr '(' $ac_mid ')' + 1`
20167 fi
20168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20169 done
20170 case $ac_lo in
20171 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20172 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20173 See \`config.log' for more details." >&5
20174 echo "$as_me: error: cannot compute sizeof (size_t), 77
20175 See \`config.log' for more details." >&2;}
20176 { (exit 1); exit 1; }; } ;;
20177 esac
20178 else
20179 if test "$cross_compiling" = yes; then
20180 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20181 See \`config.log' for more details." >&5
20182 echo "$as_me: error: cannot run test program while cross compiling
20183 See \`config.log' for more details." >&2;}
20184 { (exit 1); exit 1; }; }
20185 else
20186 cat >conftest.$ac_ext <<_ACEOF
20187 /* confdefs.h. */
20188 _ACEOF
20189 cat confdefs.h >>conftest.$ac_ext
20190 cat >>conftest.$ac_ext <<_ACEOF
20191 /* end confdefs.h. */
20192 $ac_includes_default
20193 long longval () { return (long) (sizeof (size_t)); }
20194 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20195 #include <stdio.h>
20196 #include <stdlib.h>
20197 int
20198 main ()
20199 {
20200
20201 FILE *f = fopen ("conftest.val", "w");
20202 if (! f)
20203 exit (1);
20204 if (((long) (sizeof (size_t))) < 0)
20205 {
20206 long i = longval ();
20207 if (i != ((long) (sizeof (size_t))))
20208 exit (1);
20209 fprintf (f, "%ld\n", i);
20210 }
20211 else
20212 {
20213 unsigned long i = ulongval ();
20214 if (i != ((long) (sizeof (size_t))))
20215 exit (1);
20216 fprintf (f, "%lu\n", i);
20217 }
20218 exit (ferror (f) || fclose (f) != 0);
20219
20220 ;
20221 return 0;
20222 }
20223 _ACEOF
20224 rm -f conftest$ac_exeext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20226 (eval $ac_link) 2>&5
20227 ac_status=$?
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
20235 ac_cv_sizeof_size_t=`cat conftest.val`
20236 else
20237 echo "$as_me: program exited with status $ac_status" >&5
20238 echo "$as_me: failed program was:" >&5
20239 sed 's/^/| /' conftest.$ac_ext >&5
20240
20241 ( exit $ac_status )
20242 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20243 See \`config.log' for more details." >&5
20244 echo "$as_me: error: cannot compute sizeof (size_t), 77
20245 See \`config.log' for more details." >&2;}
20246 { (exit 1); exit 1; }; }
20247 fi
20248 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20249 fi
20250 fi
20251 rm -f conftest.val
20252 else
20253 ac_cv_sizeof_size_t=0
20254 fi
20255 fi
20256 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20257 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20258 cat >>confdefs.h <<_ACEOF
20259 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20260 _ACEOF
20261
20262
20263
20264 case "${host}" in
20265 arm-*-linux* )
20266 echo "$as_me:$LINENO: checking for long long" >&5
20267 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20268 if test "${ac_cv_type_long_long+set}" = set; then
20269 echo $ECHO_N "(cached) $ECHO_C" >&6
20270 else
20271 cat >conftest.$ac_ext <<_ACEOF
20272 /* confdefs.h. */
20273 _ACEOF
20274 cat confdefs.h >>conftest.$ac_ext
20275 cat >>conftest.$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277 $ac_includes_default
20278 int
20279 main ()
20280 {
20281 if ((long long *) 0)
20282 return 0;
20283 if (sizeof (long long))
20284 return 0;
20285 ;
20286 return 0;
20287 }
20288 _ACEOF
20289 rm -f conftest.$ac_objext
20290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20291 (eval $ac_compile) 2>conftest.er1
20292 ac_status=$?
20293 grep -v '^ *+' conftest.er1 >conftest.err
20294 rm -f conftest.er1
20295 cat conftest.err >&5
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); } &&
20298 { ac_try='test -z "$ac_cxx_werror_flag"
20299 || test ! -s conftest.err'
20300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301 (eval $ac_try) 2>&5
20302 ac_status=$?
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; } &&
20305 { ac_try='test -s conftest.$ac_objext'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20308 ac_status=$?
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; }; then
20311 ac_cv_type_long_long=yes
20312 else
20313 echo "$as_me: failed program was:" >&5
20314 sed 's/^/| /' conftest.$ac_ext >&5
20315
20316 ac_cv_type_long_long=no
20317 fi
20318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20319 fi
20320 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20321 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20322
20323 echo "$as_me:$LINENO: checking size of long long" >&5
20324 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20325 if test "${ac_cv_sizeof_long_long+set}" = set; then
20326 echo $ECHO_N "(cached) $ECHO_C" >&6
20327 else
20328 if test "$ac_cv_type_long_long" = yes; then
20329 # The cast to unsigned long works around a bug in the HP C Compiler
20330 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20331 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20332 # This bug is HP SR number 8606223364.
20333 if test "$cross_compiling" = yes; then
20334 # Depending upon the size, compute the lo and hi bounds.
20335 cat >conftest.$ac_ext <<_ACEOF
20336 /* confdefs.h. */
20337 _ACEOF
20338 cat confdefs.h >>conftest.$ac_ext
20339 cat >>conftest.$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20341 $ac_includes_default
20342 int
20343 main ()
20344 {
20345 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20346 test_array [0] = 0
20347
20348 ;
20349 return 0;
20350 }
20351 _ACEOF
20352 rm -f conftest.$ac_objext
20353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20354 (eval $ac_compile) 2>conftest.er1
20355 ac_status=$?
20356 grep -v '^ *+' conftest.er1 >conftest.err
20357 rm -f conftest.er1
20358 cat conftest.err >&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); } &&
20361 { ac_try='test -z "$ac_cxx_werror_flag"
20362 || test ! -s conftest.err'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20365 ac_status=$?
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } &&
20368 { ac_try='test -s conftest.$ac_objext'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20371 ac_status=$?
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20374 ac_lo=0 ac_mid=0
20375 while :; do
20376 cat >conftest.$ac_ext <<_ACEOF
20377 /* confdefs.h. */
20378 _ACEOF
20379 cat confdefs.h >>conftest.$ac_ext
20380 cat >>conftest.$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 $ac_includes_default
20383 int
20384 main ()
20385 {
20386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20387 test_array [0] = 0
20388
20389 ;
20390 return 0;
20391 }
20392 _ACEOF
20393 rm -f conftest.$ac_objext
20394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20395 (eval $ac_compile) 2>conftest.er1
20396 ac_status=$?
20397 grep -v '^ *+' conftest.er1 >conftest.err
20398 rm -f conftest.er1
20399 cat conftest.err >&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try='test -z "$ac_cxx_werror_flag"
20403 || test ! -s conftest.err'
20404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405 (eval $ac_try) 2>&5
20406 ac_status=$?
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; } &&
20409 { ac_try='test -s conftest.$ac_objext'
20410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411 (eval $ac_try) 2>&5
20412 ac_status=$?
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); }; }; then
20415 ac_hi=$ac_mid; break
20416 else
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20419
20420 ac_lo=`expr $ac_mid + 1`
20421 if test $ac_lo -le $ac_mid; then
20422 ac_lo= ac_hi=
20423 break
20424 fi
20425 ac_mid=`expr 2 '*' $ac_mid + 1`
20426 fi
20427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20428 done
20429 else
20430 echo "$as_me: failed program was:" >&5
20431 sed 's/^/| /' conftest.$ac_ext >&5
20432
20433 cat >conftest.$ac_ext <<_ACEOF
20434 /* confdefs.h. */
20435 _ACEOF
20436 cat confdefs.h >>conftest.$ac_ext
20437 cat >>conftest.$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 $ac_includes_default
20440 int
20441 main ()
20442 {
20443 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20444 test_array [0] = 0
20445
20446 ;
20447 return 0;
20448 }
20449 _ACEOF
20450 rm -f conftest.$ac_objext
20451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20452 (eval $ac_compile) 2>conftest.er1
20453 ac_status=$?
20454 grep -v '^ *+' conftest.er1 >conftest.err
20455 rm -f conftest.er1
20456 cat conftest.err >&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } &&
20459 { ac_try='test -z "$ac_cxx_werror_flag"
20460 || test ! -s conftest.err'
20461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20462 (eval $ac_try) 2>&5
20463 ac_status=$?
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; } &&
20466 { ac_try='test -s conftest.$ac_objext'
20467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20468 (eval $ac_try) 2>&5
20469 ac_status=$?
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); }; }; then
20472 ac_hi=-1 ac_mid=-1
20473 while :; do
20474 cat >conftest.$ac_ext <<_ACEOF
20475 /* confdefs.h. */
20476 _ACEOF
20477 cat confdefs.h >>conftest.$ac_ext
20478 cat >>conftest.$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480 $ac_includes_default
20481 int
20482 main ()
20483 {
20484 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20485 test_array [0] = 0
20486
20487 ;
20488 return 0;
20489 }
20490 _ACEOF
20491 rm -f conftest.$ac_objext
20492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20493 (eval $ac_compile) 2>conftest.er1
20494 ac_status=$?
20495 grep -v '^ *+' conftest.er1 >conftest.err
20496 rm -f conftest.er1
20497 cat conftest.err >&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); } &&
20500 { ac_try='test -z "$ac_cxx_werror_flag"
20501 || test ! -s conftest.err'
20502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20503 (eval $ac_try) 2>&5
20504 ac_status=$?
20505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20506 (exit $ac_status); }; } &&
20507 { ac_try='test -s conftest.$ac_objext'
20508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20509 (eval $ac_try) 2>&5
20510 ac_status=$?
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); }; }; then
20513 ac_lo=$ac_mid; break
20514 else
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.$ac_ext >&5
20517
20518 ac_hi=`expr '(' $ac_mid ')' - 1`
20519 if test $ac_mid -le $ac_hi; then
20520 ac_lo= ac_hi=
20521 break
20522 fi
20523 ac_mid=`expr 2 '*' $ac_mid`
20524 fi
20525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20526 done
20527 else
20528 echo "$as_me: failed program was:" >&5
20529 sed 's/^/| /' conftest.$ac_ext >&5
20530
20531 ac_lo= ac_hi=
20532 fi
20533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20534 fi
20535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20536 # Binary search between lo and hi bounds.
20537 while test "x$ac_lo" != "x$ac_hi"; do
20538 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20539 cat >conftest.$ac_ext <<_ACEOF
20540 /* confdefs.h. */
20541 _ACEOF
20542 cat confdefs.h >>conftest.$ac_ext
20543 cat >>conftest.$ac_ext <<_ACEOF
20544 /* end confdefs.h. */
20545 $ac_includes_default
20546 int
20547 main ()
20548 {
20549 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20550 test_array [0] = 0
20551
20552 ;
20553 return 0;
20554 }
20555 _ACEOF
20556 rm -f conftest.$ac_objext
20557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20558 (eval $ac_compile) 2>conftest.er1
20559 ac_status=$?
20560 grep -v '^ *+' conftest.er1 >conftest.err
20561 rm -f conftest.er1
20562 cat conftest.err >&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } &&
20565 { ac_try='test -z "$ac_cxx_werror_flag"
20566 || test ! -s conftest.err'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20569 ac_status=$?
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; } &&
20572 { ac_try='test -s conftest.$ac_objext'
20573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 (eval $ac_try) 2>&5
20575 ac_status=$?
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; }; then
20578 ac_hi=$ac_mid
20579 else
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.$ac_ext >&5
20582
20583 ac_lo=`expr '(' $ac_mid ')' + 1`
20584 fi
20585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20586 done
20587 case $ac_lo in
20588 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20589 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20590 See \`config.log' for more details." >&5
20591 echo "$as_me: error: cannot compute sizeof (long long), 77
20592 See \`config.log' for more details." >&2;}
20593 { (exit 1); exit 1; }; } ;;
20594 esac
20595 else
20596 if test "$cross_compiling" = yes; then
20597 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20598 See \`config.log' for more details." >&5
20599 echo "$as_me: error: cannot run test program while cross compiling
20600 See \`config.log' for more details." >&2;}
20601 { (exit 1); exit 1; }; }
20602 else
20603 cat >conftest.$ac_ext <<_ACEOF
20604 /* confdefs.h. */
20605 _ACEOF
20606 cat confdefs.h >>conftest.$ac_ext
20607 cat >>conftest.$ac_ext <<_ACEOF
20608 /* end confdefs.h. */
20609 $ac_includes_default
20610 long longval () { return (long) (sizeof (long long)); }
20611 unsigned long ulongval () { return (long) (sizeof (long long)); }
20612 #include <stdio.h>
20613 #include <stdlib.h>
20614 int
20615 main ()
20616 {
20617
20618 FILE *f = fopen ("conftest.val", "w");
20619 if (! f)
20620 exit (1);
20621 if (((long) (sizeof (long long))) < 0)
20622 {
20623 long i = longval ();
20624 if (i != ((long) (sizeof (long long))))
20625 exit (1);
20626 fprintf (f, "%ld\n", i);
20627 }
20628 else
20629 {
20630 unsigned long i = ulongval ();
20631 if (i != ((long) (sizeof (long long))))
20632 exit (1);
20633 fprintf (f, "%lu\n", i);
20634 }
20635 exit (ferror (f) || fclose (f) != 0);
20636
20637 ;
20638 return 0;
20639 }
20640 _ACEOF
20641 rm -f conftest$ac_exeext
20642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20643 (eval $ac_link) 2>&5
20644 ac_status=$?
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20649 ac_status=$?
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20652 ac_cv_sizeof_long_long=`cat conftest.val`
20653 else
20654 echo "$as_me: program exited with status $ac_status" >&5
20655 echo "$as_me: failed program was:" >&5
20656 sed 's/^/| /' conftest.$ac_ext >&5
20657
20658 ( exit $ac_status )
20659 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20660 See \`config.log' for more details." >&5
20661 echo "$as_me: error: cannot compute sizeof (long long), 77
20662 See \`config.log' for more details." >&2;}
20663 { (exit 1); exit 1; }; }
20664 fi
20665 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20666 fi
20667 fi
20668 rm -f conftest.val
20669 else
20670 ac_cv_sizeof_long_long=0
20671 fi
20672 fi
20673 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20674 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20675 cat >>confdefs.h <<_ACEOF
20676 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20677 _ACEOF
20678
20679
20680 ;;
20681 *-hp-hpux* )
20682 echo "$as_me:$LINENO: checking for long long" >&5
20683 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20684 if test "${ac_cv_type_long_long+set}" = set; then
20685 echo $ECHO_N "(cached) $ECHO_C" >&6
20686 else
20687 cat >conftest.$ac_ext <<_ACEOF
20688 /* confdefs.h. */
20689 _ACEOF
20690 cat confdefs.h >>conftest.$ac_ext
20691 cat >>conftest.$ac_ext <<_ACEOF
20692 /* end confdefs.h. */
20693 $ac_includes_default
20694 int
20695 main ()
20696 {
20697 if ((long long *) 0)
20698 return 0;
20699 if (sizeof (long long))
20700 return 0;
20701 ;
20702 return 0;
20703 }
20704 _ACEOF
20705 rm -f conftest.$ac_objext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20707 (eval $ac_compile) 2>conftest.er1
20708 ac_status=$?
20709 grep -v '^ *+' conftest.er1 >conftest.err
20710 rm -f conftest.er1
20711 cat conftest.err >&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); } &&
20714 { ac_try='test -z "$ac_cxx_werror_flag"
20715 || test ! -s conftest.err'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20718 ac_status=$?
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; } &&
20721 { ac_try='test -s conftest.$ac_objext'
20722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20723 (eval $ac_try) 2>&5
20724 ac_status=$?
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); }; }; then
20727 ac_cv_type_long_long=yes
20728 else
20729 echo "$as_me: failed program was:" >&5
20730 sed 's/^/| /' conftest.$ac_ext >&5
20731
20732 ac_cv_type_long_long=no
20733 fi
20734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20735 fi
20736 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20737 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20738
20739 echo "$as_me:$LINENO: checking size of long long" >&5
20740 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20741 if test "${ac_cv_sizeof_long_long+set}" = set; then
20742 echo $ECHO_N "(cached) $ECHO_C" >&6
20743 else
20744 if test "$ac_cv_type_long_long" = yes; then
20745 # The cast to unsigned long works around a bug in the HP C Compiler
20746 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20747 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20748 # This bug is HP SR number 8606223364.
20749 if test "$cross_compiling" = yes; then
20750 # Depending upon the size, compute the lo and hi bounds.
20751 cat >conftest.$ac_ext <<_ACEOF
20752 /* confdefs.h. */
20753 _ACEOF
20754 cat confdefs.h >>conftest.$ac_ext
20755 cat >>conftest.$ac_ext <<_ACEOF
20756 /* end confdefs.h. */
20757 $ac_includes_default
20758 int
20759 main ()
20760 {
20761 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20762 test_array [0] = 0
20763
20764 ;
20765 return 0;
20766 }
20767 _ACEOF
20768 rm -f conftest.$ac_objext
20769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20770 (eval $ac_compile) 2>conftest.er1
20771 ac_status=$?
20772 grep -v '^ *+' conftest.er1 >conftest.err
20773 rm -f conftest.er1
20774 cat conftest.err >&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); } &&
20777 { ac_try='test -z "$ac_cxx_werror_flag"
20778 || test ! -s conftest.err'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20781 ac_status=$?
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; } &&
20784 { ac_try='test -s conftest.$ac_objext'
20785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20786 (eval $ac_try) 2>&5
20787 ac_status=$?
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); }; }; then
20790 ac_lo=0 ac_mid=0
20791 while :; do
20792 cat >conftest.$ac_ext <<_ACEOF
20793 /* confdefs.h. */
20794 _ACEOF
20795 cat confdefs.h >>conftest.$ac_ext
20796 cat >>conftest.$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20798 $ac_includes_default
20799 int
20800 main ()
20801 {
20802 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20803 test_array [0] = 0
20804
20805 ;
20806 return 0;
20807 }
20808 _ACEOF
20809 rm -f conftest.$ac_objext
20810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20811 (eval $ac_compile) 2>conftest.er1
20812 ac_status=$?
20813 grep -v '^ *+' conftest.er1 >conftest.err
20814 rm -f conftest.er1
20815 cat conftest.err >&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); } &&
20818 { ac_try='test -z "$ac_cxx_werror_flag"
20819 || test ! -s conftest.err'
20820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20821 (eval $ac_try) 2>&5
20822 ac_status=$?
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); }; } &&
20825 { ac_try='test -s conftest.$ac_objext'
20826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20827 (eval $ac_try) 2>&5
20828 ac_status=$?
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; }; then
20831 ac_hi=$ac_mid; break
20832 else
20833 echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.$ac_ext >&5
20835
20836 ac_lo=`expr $ac_mid + 1`
20837 if test $ac_lo -le $ac_mid; then
20838 ac_lo= ac_hi=
20839 break
20840 fi
20841 ac_mid=`expr 2 '*' $ac_mid + 1`
20842 fi
20843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20844 done
20845 else
20846 echo "$as_me: failed program was:" >&5
20847 sed 's/^/| /' conftest.$ac_ext >&5
20848
20849 cat >conftest.$ac_ext <<_ACEOF
20850 /* confdefs.h. */
20851 _ACEOF
20852 cat confdefs.h >>conftest.$ac_ext
20853 cat >>conftest.$ac_ext <<_ACEOF
20854 /* end confdefs.h. */
20855 $ac_includes_default
20856 int
20857 main ()
20858 {
20859 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20860 test_array [0] = 0
20861
20862 ;
20863 return 0;
20864 }
20865 _ACEOF
20866 rm -f conftest.$ac_objext
20867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20868 (eval $ac_compile) 2>conftest.er1
20869 ac_status=$?
20870 grep -v '^ *+' conftest.er1 >conftest.err
20871 rm -f conftest.er1
20872 cat conftest.err >&5
20873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20874 (exit $ac_status); } &&
20875 { ac_try='test -z "$ac_cxx_werror_flag"
20876 || test ! -s conftest.err'
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); }; } &&
20882 { ac_try='test -s conftest.$ac_objext'
20883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20884 (eval $ac_try) 2>&5
20885 ac_status=$?
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); }; }; then
20888 ac_hi=-1 ac_mid=-1
20889 while :; do
20890 cat >conftest.$ac_ext <<_ACEOF
20891 /* confdefs.h. */
20892 _ACEOF
20893 cat confdefs.h >>conftest.$ac_ext
20894 cat >>conftest.$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20896 $ac_includes_default
20897 int
20898 main ()
20899 {
20900 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20901 test_array [0] = 0
20902
20903 ;
20904 return 0;
20905 }
20906 _ACEOF
20907 rm -f conftest.$ac_objext
20908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20909 (eval $ac_compile) 2>conftest.er1
20910 ac_status=$?
20911 grep -v '^ *+' conftest.er1 >conftest.err
20912 rm -f conftest.er1
20913 cat conftest.err >&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } &&
20916 { ac_try='test -z "$ac_cxx_werror_flag"
20917 || test ! -s conftest.err'
20918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20919 (eval $ac_try) 2>&5
20920 ac_status=$?
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; } &&
20923 { ac_try='test -s conftest.$ac_objext'
20924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925 (eval $ac_try) 2>&5
20926 ac_status=$?
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; }; then
20929 ac_lo=$ac_mid; break
20930 else
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.$ac_ext >&5
20933
20934 ac_hi=`expr '(' $ac_mid ')' - 1`
20935 if test $ac_mid -le $ac_hi; then
20936 ac_lo= ac_hi=
20937 break
20938 fi
20939 ac_mid=`expr 2 '*' $ac_mid`
20940 fi
20941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20942 done
20943 else
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.$ac_ext >&5
20946
20947 ac_lo= ac_hi=
20948 fi
20949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20950 fi
20951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20952 # Binary search between lo and hi bounds.
20953 while test "x$ac_lo" != "x$ac_hi"; do
20954 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20955 cat >conftest.$ac_ext <<_ACEOF
20956 /* confdefs.h. */
20957 _ACEOF
20958 cat confdefs.h >>conftest.$ac_ext
20959 cat >>conftest.$ac_ext <<_ACEOF
20960 /* end confdefs.h. */
20961 $ac_includes_default
20962 int
20963 main ()
20964 {
20965 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20966 test_array [0] = 0
20967
20968 ;
20969 return 0;
20970 }
20971 _ACEOF
20972 rm -f conftest.$ac_objext
20973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20974 (eval $ac_compile) 2>conftest.er1
20975 ac_status=$?
20976 grep -v '^ *+' conftest.er1 >conftest.err
20977 rm -f conftest.er1
20978 cat conftest.err >&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); } &&
20981 { ac_try='test -z "$ac_cxx_werror_flag"
20982 || test ! -s conftest.err'
20983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20984 (eval $ac_try) 2>&5
20985 ac_status=$?
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); }; } &&
20988 { ac_try='test -s conftest.$ac_objext'
20989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20990 (eval $ac_try) 2>&5
20991 ac_status=$?
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); }; }; then
20994 ac_hi=$ac_mid
20995 else
20996 echo "$as_me: failed program was:" >&5
20997 sed 's/^/| /' conftest.$ac_ext >&5
20998
20999 ac_lo=`expr '(' $ac_mid ')' + 1`
21000 fi
21001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21002 done
21003 case $ac_lo in
21004 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21005 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21006 See \`config.log' for more details." >&5
21007 echo "$as_me: error: cannot compute sizeof (long long), 77
21008 See \`config.log' for more details." >&2;}
21009 { (exit 1); exit 1; }; } ;;
21010 esac
21011 else
21012 if test "$cross_compiling" = yes; then
21013 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21014 See \`config.log' for more details." >&5
21015 echo "$as_me: error: cannot run test program while cross compiling
21016 See \`config.log' for more details." >&2;}
21017 { (exit 1); exit 1; }; }
21018 else
21019 cat >conftest.$ac_ext <<_ACEOF
21020 /* confdefs.h. */
21021 _ACEOF
21022 cat confdefs.h >>conftest.$ac_ext
21023 cat >>conftest.$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 $ac_includes_default
21026 long longval () { return (long) (sizeof (long long)); }
21027 unsigned long ulongval () { return (long) (sizeof (long long)); }
21028 #include <stdio.h>
21029 #include <stdlib.h>
21030 int
21031 main ()
21032 {
21033
21034 FILE *f = fopen ("conftest.val", "w");
21035 if (! f)
21036 exit (1);
21037 if (((long) (sizeof (long long))) < 0)
21038 {
21039 long i = longval ();
21040 if (i != ((long) (sizeof (long long))))
21041 exit (1);
21042 fprintf (f, "%ld\n", i);
21043 }
21044 else
21045 {
21046 unsigned long i = ulongval ();
21047 if (i != ((long) (sizeof (long long))))
21048 exit (1);
21049 fprintf (f, "%lu\n", i);
21050 }
21051 exit (ferror (f) || fclose (f) != 0);
21052
21053 ;
21054 return 0;
21055 }
21056 _ACEOF
21057 rm -f conftest$ac_exeext
21058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21059 (eval $ac_link) 2>&5
21060 ac_status=$?
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21064 (eval $ac_try) 2>&5
21065 ac_status=$?
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); }; }; then
21068 ac_cv_sizeof_long_long=`cat conftest.val`
21069 else
21070 echo "$as_me: program exited with status $ac_status" >&5
21071 echo "$as_me: failed program was:" >&5
21072 sed 's/^/| /' conftest.$ac_ext >&5
21073
21074 ( exit $ac_status )
21075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21076 See \`config.log' for more details." >&5
21077 echo "$as_me: error: cannot compute sizeof (long long), 77
21078 See \`config.log' for more details." >&2;}
21079 { (exit 1); exit 1; }; }
21080 fi
21081 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21082 fi
21083 fi
21084 rm -f conftest.val
21085 else
21086 ac_cv_sizeof_long_long=0
21087 fi
21088 fi
21089 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21090 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21091 cat >>confdefs.h <<_ACEOF
21092 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21093 _ACEOF
21094
21095
21096 if test "$ac_cv_sizeof_long_long" != "0"; then
21097 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21098 fi
21099 ;;
21100 * )
21101 echo "$as_me:$LINENO: checking for long long" >&5
21102 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21103 if test "${ac_cv_type_long_long+set}" = set; then
21104 echo $ECHO_N "(cached) $ECHO_C" >&6
21105 else
21106 cat >conftest.$ac_ext <<_ACEOF
21107 /* confdefs.h. */
21108 _ACEOF
21109 cat confdefs.h >>conftest.$ac_ext
21110 cat >>conftest.$ac_ext <<_ACEOF
21111 /* end confdefs.h. */
21112 $ac_includes_default
21113 int
21114 main ()
21115 {
21116 if ((long long *) 0)
21117 return 0;
21118 if (sizeof (long long))
21119 return 0;
21120 ;
21121 return 0;
21122 }
21123 _ACEOF
21124 rm -f conftest.$ac_objext
21125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21126 (eval $ac_compile) 2>conftest.er1
21127 ac_status=$?
21128 grep -v '^ *+' conftest.er1 >conftest.err
21129 rm -f conftest.er1
21130 cat conftest.err >&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); } &&
21133 { ac_try='test -z "$ac_cxx_werror_flag"
21134 || test ! -s conftest.err'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21137 ac_status=$?
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; } &&
21140 { ac_try='test -s conftest.$ac_objext'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21143 ac_status=$?
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; }; then
21146 ac_cv_type_long_long=yes
21147 else
21148 echo "$as_me: failed program was:" >&5
21149 sed 's/^/| /' conftest.$ac_ext >&5
21150
21151 ac_cv_type_long_long=no
21152 fi
21153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21154 fi
21155 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21156 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21157
21158 echo "$as_me:$LINENO: checking size of long long" >&5
21159 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21160 if test "${ac_cv_sizeof_long_long+set}" = set; then
21161 echo $ECHO_N "(cached) $ECHO_C" >&6
21162 else
21163 if test "$ac_cv_type_long_long" = yes; then
21164 # The cast to unsigned long works around a bug in the HP C Compiler
21165 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21166 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21167 # This bug is HP SR number 8606223364.
21168 if test "$cross_compiling" = yes; then
21169 # Depending upon the size, compute the lo and hi bounds.
21170 cat >conftest.$ac_ext <<_ACEOF
21171 /* confdefs.h. */
21172 _ACEOF
21173 cat confdefs.h >>conftest.$ac_ext
21174 cat >>conftest.$ac_ext <<_ACEOF
21175 /* end confdefs.h. */
21176 $ac_includes_default
21177 int
21178 main ()
21179 {
21180 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21181 test_array [0] = 0
21182
21183 ;
21184 return 0;
21185 }
21186 _ACEOF
21187 rm -f conftest.$ac_objext
21188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21189 (eval $ac_compile) 2>conftest.er1
21190 ac_status=$?
21191 grep -v '^ *+' conftest.er1 >conftest.err
21192 rm -f conftest.er1
21193 cat conftest.err >&5
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); } &&
21196 { ac_try='test -z "$ac_cxx_werror_flag"
21197 || test ! -s conftest.err'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21200 ac_status=$?
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; } &&
21203 { ac_try='test -s conftest.$ac_objext'
21204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21205 (eval $ac_try) 2>&5
21206 ac_status=$?
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); }; }; then
21209 ac_lo=0 ac_mid=0
21210 while :; do
21211 cat >conftest.$ac_ext <<_ACEOF
21212 /* confdefs.h. */
21213 _ACEOF
21214 cat confdefs.h >>conftest.$ac_ext
21215 cat >>conftest.$ac_ext <<_ACEOF
21216 /* end confdefs.h. */
21217 $ac_includes_default
21218 int
21219 main ()
21220 {
21221 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21222 test_array [0] = 0
21223
21224 ;
21225 return 0;
21226 }
21227 _ACEOF
21228 rm -f conftest.$ac_objext
21229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21230 (eval $ac_compile) 2>conftest.er1
21231 ac_status=$?
21232 grep -v '^ *+' conftest.er1 >conftest.err
21233 rm -f conftest.er1
21234 cat conftest.err >&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } &&
21237 { ac_try='test -z "$ac_cxx_werror_flag"
21238 || test ! -s conftest.err'
21239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240 (eval $ac_try) 2>&5
21241 ac_status=$?
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); }; } &&
21244 { ac_try='test -s conftest.$ac_objext'
21245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246 (eval $ac_try) 2>&5
21247 ac_status=$?
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; }; then
21250 ac_hi=$ac_mid; break
21251 else
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.$ac_ext >&5
21254
21255 ac_lo=`expr $ac_mid + 1`
21256 if test $ac_lo -le $ac_mid; then
21257 ac_lo= ac_hi=
21258 break
21259 fi
21260 ac_mid=`expr 2 '*' $ac_mid + 1`
21261 fi
21262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21263 done
21264 else
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.$ac_ext >&5
21267
21268 cat >conftest.$ac_ext <<_ACEOF
21269 /* confdefs.h. */
21270 _ACEOF
21271 cat confdefs.h >>conftest.$ac_ext
21272 cat >>conftest.$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 $ac_includes_default
21275 int
21276 main ()
21277 {
21278 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21279 test_array [0] = 0
21280
21281 ;
21282 return 0;
21283 }
21284 _ACEOF
21285 rm -f conftest.$ac_objext
21286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21287 (eval $ac_compile) 2>conftest.er1
21288 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } &&
21294 { ac_try='test -z "$ac_cxx_werror_flag"
21295 || test ! -s conftest.err'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21298 ac_status=$?
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; } &&
21301 { ac_try='test -s conftest.$ac_objext'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21304 ac_status=$?
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; }; then
21307 ac_hi=-1 ac_mid=-1
21308 while :; do
21309 cat >conftest.$ac_ext <<_ACEOF
21310 /* confdefs.h. */
21311 _ACEOF
21312 cat confdefs.h >>conftest.$ac_ext
21313 cat >>conftest.$ac_ext <<_ACEOF
21314 /* end confdefs.h. */
21315 $ac_includes_default
21316 int
21317 main ()
21318 {
21319 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21320 test_array [0] = 0
21321
21322 ;
21323 return 0;
21324 }
21325 _ACEOF
21326 rm -f conftest.$ac_objext
21327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21328 (eval $ac_compile) 2>conftest.er1
21329 ac_status=$?
21330 grep -v '^ *+' conftest.er1 >conftest.err
21331 rm -f conftest.er1
21332 cat conftest.err >&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } &&
21335 { ac_try='test -z "$ac_cxx_werror_flag"
21336 || test ! -s conftest.err'
21337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21338 (eval $ac_try) 2>&5
21339 ac_status=$?
21340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21341 (exit $ac_status); }; } &&
21342 { ac_try='test -s conftest.$ac_objext'
21343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21344 (eval $ac_try) 2>&5
21345 ac_status=$?
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); }; }; then
21348 ac_lo=$ac_mid; break
21349 else
21350 echo "$as_me: failed program was:" >&5
21351 sed 's/^/| /' conftest.$ac_ext >&5
21352
21353 ac_hi=`expr '(' $ac_mid ')' - 1`
21354 if test $ac_mid -le $ac_hi; then
21355 ac_lo= ac_hi=
21356 break
21357 fi
21358 ac_mid=`expr 2 '*' $ac_mid`
21359 fi
21360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21361 done
21362 else
21363 echo "$as_me: failed program was:" >&5
21364 sed 's/^/| /' conftest.$ac_ext >&5
21365
21366 ac_lo= ac_hi=
21367 fi
21368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21369 fi
21370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21371 # Binary search between lo and hi bounds.
21372 while test "x$ac_lo" != "x$ac_hi"; do
21373 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21374 cat >conftest.$ac_ext <<_ACEOF
21375 /* confdefs.h. */
21376 _ACEOF
21377 cat confdefs.h >>conftest.$ac_ext
21378 cat >>conftest.$ac_ext <<_ACEOF
21379 /* end confdefs.h. */
21380 $ac_includes_default
21381 int
21382 main ()
21383 {
21384 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21385 test_array [0] = 0
21386
21387 ;
21388 return 0;
21389 }
21390 _ACEOF
21391 rm -f conftest.$ac_objext
21392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21393 (eval $ac_compile) 2>conftest.er1
21394 ac_status=$?
21395 grep -v '^ *+' conftest.er1 >conftest.err
21396 rm -f conftest.er1
21397 cat conftest.err >&5
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); } &&
21400 { ac_try='test -z "$ac_cxx_werror_flag"
21401 || test ! -s conftest.err'
21402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21403 (eval $ac_try) 2>&5
21404 ac_status=$?
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); }; } &&
21407 { ac_try='test -s conftest.$ac_objext'
21408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409 (eval $ac_try) 2>&5
21410 ac_status=$?
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); }; }; then
21413 ac_hi=$ac_mid
21414 else
21415 echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.$ac_ext >&5
21417
21418 ac_lo=`expr '(' $ac_mid ')' + 1`
21419 fi
21420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21421 done
21422 case $ac_lo in
21423 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21424 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21425 See \`config.log' for more details." >&5
21426 echo "$as_me: error: cannot compute sizeof (long long), 77
21427 See \`config.log' for more details." >&2;}
21428 { (exit 1); exit 1; }; } ;;
21429 esac
21430 else
21431 if test "$cross_compiling" = yes; then
21432 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21433 See \`config.log' for more details." >&5
21434 echo "$as_me: error: cannot run test program while cross compiling
21435 See \`config.log' for more details." >&2;}
21436 { (exit 1); exit 1; }; }
21437 else
21438 cat >conftest.$ac_ext <<_ACEOF
21439 /* confdefs.h. */
21440 _ACEOF
21441 cat confdefs.h >>conftest.$ac_ext
21442 cat >>conftest.$ac_ext <<_ACEOF
21443 /* end confdefs.h. */
21444 $ac_includes_default
21445 long longval () { return (long) (sizeof (long long)); }
21446 unsigned long ulongval () { return (long) (sizeof (long long)); }
21447 #include <stdio.h>
21448 #include <stdlib.h>
21449 int
21450 main ()
21451 {
21452
21453 FILE *f = fopen ("conftest.val", "w");
21454 if (! f)
21455 exit (1);
21456 if (((long) (sizeof (long long))) < 0)
21457 {
21458 long i = longval ();
21459 if (i != ((long) (sizeof (long long))))
21460 exit (1);
21461 fprintf (f, "%ld\n", i);
21462 }
21463 else
21464 {
21465 unsigned long i = ulongval ();
21466 if (i != ((long) (sizeof (long long))))
21467 exit (1);
21468 fprintf (f, "%lu\n", i);
21469 }
21470 exit (ferror (f) || fclose (f) != 0);
21471
21472 ;
21473 return 0;
21474 }
21475 _ACEOF
21476 rm -f conftest$ac_exeext
21477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21478 (eval $ac_link) 2>&5
21479 ac_status=$?
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21483 (eval $ac_try) 2>&5
21484 ac_status=$?
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); }; }; then
21487 ac_cv_sizeof_long_long=`cat conftest.val`
21488 else
21489 echo "$as_me: program exited with status $ac_status" >&5
21490 echo "$as_me: failed program was:" >&5
21491 sed 's/^/| /' conftest.$ac_ext >&5
21492
21493 ( exit $ac_status )
21494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21495 See \`config.log' for more details." >&5
21496 echo "$as_me: error: cannot compute sizeof (long long), 77
21497 See \`config.log' for more details." >&2;}
21498 { (exit 1); exit 1; }; }
21499 fi
21500 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21501 fi
21502 fi
21503 rm -f conftest.val
21504 else
21505 ac_cv_sizeof_long_long=0
21506 fi
21507 fi
21508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21509 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21510 cat >>confdefs.h <<_ACEOF
21511 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21512 _ACEOF
21513
21514
21515 esac
21516
21517 echo "$as_me:$LINENO: checking for wchar_t" >&5
21518 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21519 if test "${ac_cv_type_wchar_t+set}" = set; then
21520 echo $ECHO_N "(cached) $ECHO_C" >&6
21521 else
21522 cat >conftest.$ac_ext <<_ACEOF
21523 /* confdefs.h. */
21524 _ACEOF
21525 cat confdefs.h >>conftest.$ac_ext
21526 cat >>conftest.$ac_ext <<_ACEOF
21527 /* end confdefs.h. */
21528
21529 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21530 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21531 # error "fake wchar_t"
21532 #endif
21533 #ifdef HAVE_WCHAR_H
21534 # ifdef __CYGWIN__
21535 # include <stddef.h>
21536 # endif
21537 # include <wchar.h>
21538 #endif
21539 #ifdef HAVE_STDLIB_H
21540 # include <stdlib.h>
21541 #endif
21542 #include <stdio.h>
21543
21544
21545
21546 int
21547 main ()
21548 {
21549 if ((wchar_t *) 0)
21550 return 0;
21551 if (sizeof (wchar_t))
21552 return 0;
21553 ;
21554 return 0;
21555 }
21556 _ACEOF
21557 rm -f conftest.$ac_objext
21558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21559 (eval $ac_compile) 2>conftest.er1
21560 ac_status=$?
21561 grep -v '^ *+' conftest.er1 >conftest.err
21562 rm -f conftest.er1
21563 cat conftest.err >&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } &&
21566 { ac_try='test -z "$ac_cxx_werror_flag"
21567 || test ! -s conftest.err'
21568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21569 (eval $ac_try) 2>&5
21570 ac_status=$?
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; } &&
21573 { ac_try='test -s conftest.$ac_objext'
21574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575 (eval $ac_try) 2>&5
21576 ac_status=$?
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; }; then
21579 ac_cv_type_wchar_t=yes
21580 else
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.$ac_ext >&5
21583
21584 ac_cv_type_wchar_t=no
21585 fi
21586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21587 fi
21588 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21589 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21590
21591 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21592 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21593 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21595 else
21596 if test "$ac_cv_type_wchar_t" = yes; then
21597 # The cast to unsigned long works around a bug in the HP C Compiler
21598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21600 # This bug is HP SR number 8606223364.
21601 if test "$cross_compiling" = yes; then
21602 # Depending upon the size, compute the lo and hi bounds.
21603 cat >conftest.$ac_ext <<_ACEOF
21604 /* confdefs.h. */
21605 _ACEOF
21606 cat confdefs.h >>conftest.$ac_ext
21607 cat >>conftest.$ac_ext <<_ACEOF
21608 /* end confdefs.h. */
21609
21610 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21611 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21612 # error "fake wchar_t"
21613 #endif
21614 #ifdef HAVE_WCHAR_H
21615 # ifdef __CYGWIN__
21616 # include <stddef.h>
21617 # endif
21618 # include <wchar.h>
21619 #endif
21620 #ifdef HAVE_STDLIB_H
21621 # include <stdlib.h>
21622 #endif
21623 #include <stdio.h>
21624
21625
21626
21627 int
21628 main ()
21629 {
21630 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21631 test_array [0] = 0
21632
21633 ;
21634 return 0;
21635 }
21636 _ACEOF
21637 rm -f conftest.$ac_objext
21638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21639 (eval $ac_compile) 2>conftest.er1
21640 ac_status=$?
21641 grep -v '^ *+' conftest.er1 >conftest.err
21642 rm -f conftest.er1
21643 cat conftest.err >&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } &&
21646 { ac_try='test -z "$ac_cxx_werror_flag"
21647 || test ! -s conftest.err'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21650 ac_status=$?
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; } &&
21653 { ac_try='test -s conftest.$ac_objext'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21656 ac_status=$?
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21659 ac_lo=0 ac_mid=0
21660 while :; do
21661 cat >conftest.$ac_ext <<_ACEOF
21662 /* confdefs.h. */
21663 _ACEOF
21664 cat confdefs.h >>conftest.$ac_ext
21665 cat >>conftest.$ac_ext <<_ACEOF
21666 /* end confdefs.h. */
21667
21668 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21669 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21670 # error "fake wchar_t"
21671 #endif
21672 #ifdef HAVE_WCHAR_H
21673 # ifdef __CYGWIN__
21674 # include <stddef.h>
21675 # endif
21676 # include <wchar.h>
21677 #endif
21678 #ifdef HAVE_STDLIB_H
21679 # include <stdlib.h>
21680 #endif
21681 #include <stdio.h>
21682
21683
21684
21685 int
21686 main ()
21687 {
21688 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21689 test_array [0] = 0
21690
21691 ;
21692 return 0;
21693 }
21694 _ACEOF
21695 rm -f conftest.$ac_objext
21696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21697 (eval $ac_compile) 2>conftest.er1
21698 ac_status=$?
21699 grep -v '^ *+' conftest.er1 >conftest.err
21700 rm -f conftest.er1
21701 cat conftest.err >&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); } &&
21704 { ac_try='test -z "$ac_cxx_werror_flag"
21705 || test ! -s conftest.err'
21706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21707 (eval $ac_try) 2>&5
21708 ac_status=$?
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); }; } &&
21711 { ac_try='test -s conftest.$ac_objext'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21714 ac_status=$?
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; }; then
21717 ac_hi=$ac_mid; break
21718 else
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.$ac_ext >&5
21721
21722 ac_lo=`expr $ac_mid + 1`
21723 if test $ac_lo -le $ac_mid; then
21724 ac_lo= ac_hi=
21725 break
21726 fi
21727 ac_mid=`expr 2 '*' $ac_mid + 1`
21728 fi
21729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21730 done
21731 else
21732 echo "$as_me: failed program was:" >&5
21733 sed 's/^/| /' conftest.$ac_ext >&5
21734
21735 cat >conftest.$ac_ext <<_ACEOF
21736 /* confdefs.h. */
21737 _ACEOF
21738 cat confdefs.h >>conftest.$ac_ext
21739 cat >>conftest.$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21741
21742 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21743 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21744 # error "fake wchar_t"
21745 #endif
21746 #ifdef HAVE_WCHAR_H
21747 # ifdef __CYGWIN__
21748 # include <stddef.h>
21749 # endif
21750 # include <wchar.h>
21751 #endif
21752 #ifdef HAVE_STDLIB_H
21753 # include <stdlib.h>
21754 #endif
21755 #include <stdio.h>
21756
21757
21758
21759 int
21760 main ()
21761 {
21762 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21763 test_array [0] = 0
21764
21765 ;
21766 return 0;
21767 }
21768 _ACEOF
21769 rm -f conftest.$ac_objext
21770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21771 (eval $ac_compile) 2>conftest.er1
21772 ac_status=$?
21773 grep -v '^ *+' conftest.er1 >conftest.err
21774 rm -f conftest.er1
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } &&
21778 { ac_try='test -z "$ac_cxx_werror_flag"
21779 || test ! -s conftest.err'
21780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21781 (eval $ac_try) 2>&5
21782 ac_status=$?
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); }; } &&
21785 { ac_try='test -s conftest.$ac_objext'
21786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21787 (eval $ac_try) 2>&5
21788 ac_status=$?
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); }; }; then
21791 ac_hi=-1 ac_mid=-1
21792 while :; do
21793 cat >conftest.$ac_ext <<_ACEOF
21794 /* confdefs.h. */
21795 _ACEOF
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799
21800 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21801 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21802 # error "fake wchar_t"
21803 #endif
21804 #ifdef HAVE_WCHAR_H
21805 # ifdef __CYGWIN__
21806 # include <stddef.h>
21807 # endif
21808 # include <wchar.h>
21809 #endif
21810 #ifdef HAVE_STDLIB_H
21811 # include <stdlib.h>
21812 #endif
21813 #include <stdio.h>
21814
21815
21816
21817 int
21818 main ()
21819 {
21820 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21821 test_array [0] = 0
21822
21823 ;
21824 return 0;
21825 }
21826 _ACEOF
21827 rm -f conftest.$ac_objext
21828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21829 (eval $ac_compile) 2>conftest.er1
21830 ac_status=$?
21831 grep -v '^ *+' conftest.er1 >conftest.err
21832 rm -f conftest.er1
21833 cat conftest.err >&5
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); } &&
21836 { ac_try='test -z "$ac_cxx_werror_flag"
21837 || test ! -s conftest.err'
21838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21839 (eval $ac_try) 2>&5
21840 ac_status=$?
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); }; } &&
21843 { ac_try='test -s conftest.$ac_objext'
21844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21846 ac_status=$?
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; }; then
21849 ac_lo=$ac_mid; break
21850 else
21851 echo "$as_me: failed program was:" >&5
21852 sed 's/^/| /' conftest.$ac_ext >&5
21853
21854 ac_hi=`expr '(' $ac_mid ')' - 1`
21855 if test $ac_mid -le $ac_hi; then
21856 ac_lo= ac_hi=
21857 break
21858 fi
21859 ac_mid=`expr 2 '*' $ac_mid`
21860 fi
21861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21862 done
21863 else
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.$ac_ext >&5
21866
21867 ac_lo= ac_hi=
21868 fi
21869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21870 fi
21871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21872 # Binary search between lo and hi bounds.
21873 while test "x$ac_lo" != "x$ac_hi"; do
21874 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21875 cat >conftest.$ac_ext <<_ACEOF
21876 /* confdefs.h. */
21877 _ACEOF
21878 cat confdefs.h >>conftest.$ac_ext
21879 cat >>conftest.$ac_ext <<_ACEOF
21880 /* end confdefs.h. */
21881
21882 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21883 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21884 # error "fake wchar_t"
21885 #endif
21886 #ifdef HAVE_WCHAR_H
21887 # ifdef __CYGWIN__
21888 # include <stddef.h>
21889 # endif
21890 # include <wchar.h>
21891 #endif
21892 #ifdef HAVE_STDLIB_H
21893 # include <stdlib.h>
21894 #endif
21895 #include <stdio.h>
21896
21897
21898
21899 int
21900 main ()
21901 {
21902 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21903 test_array [0] = 0
21904
21905 ;
21906 return 0;
21907 }
21908 _ACEOF
21909 rm -f conftest.$ac_objext
21910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21911 (eval $ac_compile) 2>conftest.er1
21912 ac_status=$?
21913 grep -v '^ *+' conftest.er1 >conftest.err
21914 rm -f conftest.er1
21915 cat conftest.err >&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } &&
21918 { ac_try='test -z "$ac_cxx_werror_flag"
21919 || test ! -s conftest.err'
21920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21921 (eval $ac_try) 2>&5
21922 ac_status=$?
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); }; } &&
21925 { ac_try='test -s conftest.$ac_objext'
21926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21927 (eval $ac_try) 2>&5
21928 ac_status=$?
21929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21930 (exit $ac_status); }; }; then
21931 ac_hi=$ac_mid
21932 else
21933 echo "$as_me: failed program was:" >&5
21934 sed 's/^/| /' conftest.$ac_ext >&5
21935
21936 ac_lo=`expr '(' $ac_mid ')' + 1`
21937 fi
21938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21939 done
21940 case $ac_lo in
21941 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21942 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21943 See \`config.log' for more details." >&5
21944 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21945 See \`config.log' for more details." >&2;}
21946 { (exit 1); exit 1; }; } ;;
21947 esac
21948 else
21949 if test "$cross_compiling" = yes; then
21950 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21951 See \`config.log' for more details." >&5
21952 echo "$as_me: error: cannot run test program while cross compiling
21953 See \`config.log' for more details." >&2;}
21954 { (exit 1); exit 1; }; }
21955 else
21956 cat >conftest.$ac_ext <<_ACEOF
21957 /* confdefs.h. */
21958 _ACEOF
21959 cat confdefs.h >>conftest.$ac_ext
21960 cat >>conftest.$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21962
21963 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21964 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21965 # error "fake wchar_t"
21966 #endif
21967 #ifdef HAVE_WCHAR_H
21968 # ifdef __CYGWIN__
21969 # include <stddef.h>
21970 # endif
21971 # include <wchar.h>
21972 #endif
21973 #ifdef HAVE_STDLIB_H
21974 # include <stdlib.h>
21975 #endif
21976 #include <stdio.h>
21977
21978
21979
21980 long longval () { return (long) (sizeof (wchar_t)); }
21981 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21982 #include <stdio.h>
21983 #include <stdlib.h>
21984 int
21985 main ()
21986 {
21987
21988 FILE *f = fopen ("conftest.val", "w");
21989 if (! f)
21990 exit (1);
21991 if (((long) (sizeof (wchar_t))) < 0)
21992 {
21993 long i = longval ();
21994 if (i != ((long) (sizeof (wchar_t))))
21995 exit (1);
21996 fprintf (f, "%ld\n", i);
21997 }
21998 else
21999 {
22000 unsigned long i = ulongval ();
22001 if (i != ((long) (sizeof (wchar_t))))
22002 exit (1);
22003 fprintf (f, "%lu\n", i);
22004 }
22005 exit (ferror (f) || fclose (f) != 0);
22006
22007 ;
22008 return 0;
22009 }
22010 _ACEOF
22011 rm -f conftest$ac_exeext
22012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22013 (eval $ac_link) 2>&5
22014 ac_status=$?
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22018 (eval $ac_try) 2>&5
22019 ac_status=$?
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); }; }; then
22022 ac_cv_sizeof_wchar_t=`cat conftest.val`
22023 else
22024 echo "$as_me: program exited with status $ac_status" >&5
22025 echo "$as_me: failed program was:" >&5
22026 sed 's/^/| /' conftest.$ac_ext >&5
22027
22028 ( exit $ac_status )
22029 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22030 See \`config.log' for more details." >&5
22031 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22032 See \`config.log' for more details." >&2;}
22033 { (exit 1); exit 1; }; }
22034 fi
22035 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22036 fi
22037 fi
22038 rm -f conftest.val
22039 else
22040 ac_cv_sizeof_wchar_t=0
22041 fi
22042 fi
22043 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22044 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22045 cat >>confdefs.h <<_ACEOF
22046 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22047 _ACEOF
22048
22049
22050 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22051 wxUSE_WCHAR_T=yes
22052 else
22053 wxUSE_WCHAR_T=no
22054 fi
22055
22056 echo "$as_me:$LINENO: checking for va_copy" >&5
22057 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22058 if test "${wx_cv_func_va_copy+set}" = set; then
22059 echo $ECHO_N "(cached) $ECHO_C" >&6
22060 else
22061
22062 cat >conftest.$ac_ext <<_ACEOF
22063
22064 #include <stdarg.h>
22065 void foo(char *f, ...)
22066 {
22067 va_list ap1, ap2;
22068 va_start(ap1, f);
22069 va_copy(ap2, ap1);
22070 va_end(ap2);
22071 va_end(ap1);
22072 }
22073 int main()
22074 {
22075 foo("hi", 17);
22076 return 0;
22077 }
22078 _ACEOF
22079 rm -f conftest.$ac_objext conftest$ac_exeext
22080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22081 (eval $ac_link) 2>conftest.er1
22082 ac_status=$?
22083 grep -v '^ *+' conftest.er1 >conftest.err
22084 rm -f conftest.er1
22085 cat conftest.err >&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); } &&
22088 { ac_try='test -z "$ac_cxx_werror_flag"
22089 || test ! -s conftest.err'
22090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22091 (eval $ac_try) 2>&5
22092 ac_status=$?
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); }; } &&
22095 { ac_try='test -s conftest$ac_exeext'
22096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22097 (eval $ac_try) 2>&5
22098 ac_status=$?
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); }; }; then
22101 wx_cv_func_va_copy=yes
22102 else
22103 echo "$as_me: failed program was:" >&5
22104 sed 's/^/| /' conftest.$ac_ext >&5
22105
22106 wx_cv_func_va_copy=no
22107
22108 fi
22109 rm -f conftest.err conftest.$ac_objext \
22110 conftest$ac_exeext conftest.$ac_ext
22111
22112
22113 fi
22114 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22115 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22116
22117 if test $wx_cv_func_va_copy = "yes"; then
22118 cat >>confdefs.h <<\_ACEOF
22119 #define HAVE_VA_COPY 1
22120 _ACEOF
22121
22122 else
22123 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22124 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22125 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22126 echo $ECHO_N "(cached) $ECHO_C" >&6
22127 else
22128
22129 if test "$cross_compiling" = yes; then
22130 wx_cv_type_va_list_lvalue=yes
22131
22132 else
22133 cat >conftest.$ac_ext <<_ACEOF
22134
22135 #include <stdarg.h>
22136 int foo(char *f, ...)
22137 {
22138 va_list ap1, ap2;
22139 va_start(ap1, f);
22140 ap2 = ap1;
22141 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22142 return 1;
22143 va_end(ap2);
22144 va_end(ap1);
22145 return 0;
22146 }
22147 int main()
22148 {
22149 return foo("hi", 17);
22150 }
22151 _ACEOF
22152 rm -f conftest$ac_exeext
22153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22154 (eval $ac_link) 2>&5
22155 ac_status=$?
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22159 (eval $ac_try) 2>&5
22160 ac_status=$?
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); }; }; then
22163 wx_cv_type_va_list_lvalue=yes
22164 else
22165 echo "$as_me: program exited with status $ac_status" >&5
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.$ac_ext >&5
22168
22169 ( exit $ac_status )
22170 wx_cv_type_va_list_lvalue=no
22171 fi
22172 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22173 fi
22174
22175
22176 fi
22177 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22178 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22179
22180 if test $wx_cv_type_va_list_lvalue != "yes"; then
22181 cat >>confdefs.h <<\_ACEOF
22182 #define VA_LIST_IS_ARRAY 1
22183 _ACEOF
22184
22185 fi
22186 fi
22187
22188 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22189 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22190 if test "${wx_cv_have_variadic_macros+set}" = set; then
22191 echo $ECHO_N "(cached) $ECHO_C" >&6
22192 else
22193
22194 cat >conftest.$ac_ext <<_ACEOF
22195 /* confdefs.h. */
22196 _ACEOF
22197 cat confdefs.h >>conftest.$ac_ext
22198 cat >>conftest.$ac_ext <<_ACEOF
22199 /* end confdefs.h. */
22200
22201 #include <stdio.h>
22202 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22203
22204 int
22205 main ()
22206 {
22207
22208 test("%s %d %p", "test", 1, 0);
22209
22210
22211 ;
22212 return 0;
22213 }
22214 _ACEOF
22215 rm -f conftest.$ac_objext
22216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22217 (eval $ac_compile) 2>conftest.er1
22218 ac_status=$?
22219 grep -v '^ *+' conftest.er1 >conftest.err
22220 rm -f conftest.er1
22221 cat conftest.err >&5
22222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223 (exit $ac_status); } &&
22224 { ac_try='test -z "$ac_cxx_werror_flag"
22225 || test ! -s conftest.err'
22226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22227 (eval $ac_try) 2>&5
22228 ac_status=$?
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); }; } &&
22231 { ac_try='test -s conftest.$ac_objext'
22232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22233 (eval $ac_try) 2>&5
22234 ac_status=$?
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); }; }; then
22237 wx_cv_have_variadic_macros=yes
22238 else
22239 echo "$as_me: failed program was:" >&5
22240 sed 's/^/| /' conftest.$ac_ext >&5
22241
22242 wx_cv_have_variadic_macros=no
22243
22244 fi
22245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22246
22247
22248 fi
22249 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22250 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22251
22252 if test $wx_cv_have_variadic_macros = "yes"; then
22253 cat >>confdefs.h <<\_ACEOF
22254 #define HAVE_VARIADIC_MACROS 1
22255 _ACEOF
22256
22257 fi
22258
22259 # Check whether --enable-largefile or --disable-largefile was given.
22260 if test "${enable_largefile+set}" = set; then
22261 enableval="$enable_largefile"
22262
22263 fi;
22264 if test "$enable_largefile" != no; then
22265 wx_largefile=no
22266
22267 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22268 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22269 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22270 echo $ECHO_N "(cached) $ECHO_C" >&6
22271 else
22272
22273 cat >conftest.$ac_ext <<_ACEOF
22274 /* confdefs.h. */
22275 _ACEOF
22276 cat confdefs.h >>conftest.$ac_ext
22277 cat >>conftest.$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279 #define _FILE_OFFSET_BITS 64
22280 #include <sys/types.h>
22281 int
22282 main ()
22283 {
22284 typedef struct {
22285 unsigned int field: sizeof(off_t) == 8;
22286 } wxlf;
22287
22288 ;
22289 return 0;
22290 }
22291 _ACEOF
22292 rm -f conftest.$ac_objext
22293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22294 (eval $ac_compile) 2>conftest.er1
22295 ac_status=$?
22296 grep -v '^ *+' conftest.er1 >conftest.err
22297 rm -f conftest.er1
22298 cat conftest.err >&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } &&
22301 { ac_try='test -z "$ac_cxx_werror_flag"
22302 || test ! -s conftest.err'
22303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22304 (eval $ac_try) 2>&5
22305 ac_status=$?
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); }; } &&
22308 { ac_try='test -s conftest.$ac_objext'
22309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22310 (eval $ac_try) 2>&5
22311 ac_status=$?
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); }; }; then
22314 ac_cv_sys_file_offset_bits=64
22315 else
22316 echo "$as_me: failed program was:" >&5
22317 sed 's/^/| /' conftest.$ac_ext >&5
22318
22319 ac_cv_sys_file_offset_bits=no
22320 fi
22321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22322
22323
22324 fi
22325 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22326 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22327
22328 if test "$ac_cv_sys_file_offset_bits" != no; then
22329 wx_largefile=yes
22330 cat >>confdefs.h <<_ACEOF
22331 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22332 _ACEOF
22333
22334 fi
22335
22336 if test "x$wx_largefile" != "xyes"; then
22337
22338 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22339 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22340 if test "${ac_cv_sys_large_files+set}" = set; then
22341 echo $ECHO_N "(cached) $ECHO_C" >&6
22342 else
22343
22344 cat >conftest.$ac_ext <<_ACEOF
22345 /* confdefs.h. */
22346 _ACEOF
22347 cat confdefs.h >>conftest.$ac_ext
22348 cat >>conftest.$ac_ext <<_ACEOF
22349 /* end confdefs.h. */
22350 #define _LARGE_FILES 1
22351 #include <sys/types.h>
22352 int
22353 main ()
22354 {
22355 typedef struct {
22356 unsigned int field: sizeof(off_t) == 8;
22357 } wxlf;
22358
22359 ;
22360 return 0;
22361 }
22362 _ACEOF
22363 rm -f conftest.$ac_objext
22364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22365 (eval $ac_compile) 2>conftest.er1
22366 ac_status=$?
22367 grep -v '^ *+' conftest.er1 >conftest.err
22368 rm -f conftest.er1
22369 cat conftest.err >&5
22370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22371 (exit $ac_status); } &&
22372 { ac_try='test -z "$ac_cxx_werror_flag"
22373 || test ! -s conftest.err'
22374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22375 (eval $ac_try) 2>&5
22376 ac_status=$?
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); }; } &&
22379 { ac_try='test -s conftest.$ac_objext'
22380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22381 (eval $ac_try) 2>&5
22382 ac_status=$?
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); }; }; then
22385 ac_cv_sys_large_files=1
22386 else
22387 echo "$as_me: failed program was:" >&5
22388 sed 's/^/| /' conftest.$ac_ext >&5
22389
22390 ac_cv_sys_large_files=no
22391 fi
22392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22393
22394
22395 fi
22396 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22397 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22398
22399 if test "$ac_cv_sys_large_files" != no; then
22400 wx_largefile=yes
22401 cat >>confdefs.h <<_ACEOF
22402 #define _LARGE_FILES $ac_cv_sys_large_files
22403 _ACEOF
22404
22405 fi
22406
22407 fi
22408
22409 echo "$as_me:$LINENO: checking if large file support is available" >&5
22410 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22411 if test "x$wx_largefile" = "xyes"; then
22412 cat >>confdefs.h <<\_ACEOF
22413 #define HAVE_LARGEFILE_SUPPORT 1
22414 _ACEOF
22415
22416 fi
22417 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22418 echo "${ECHO_T}$wx_largefile" >&6
22419 fi
22420
22421
22422 if test "x$wx_largefile" = "xyes"; then
22423 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22424 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22425
22426 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22427 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22428 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22429 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22430 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 else
22432
22433 cat >conftest.$ac_ext <<_ACEOF
22434 /* confdefs.h. */
22435 _ACEOF
22436 cat confdefs.h >>conftest.$ac_ext
22437 cat >>conftest.$ac_ext <<_ACEOF
22438 /* end confdefs.h. */
22439
22440 int
22441 main ()
22442 {
22443
22444 #ifndef __STDC_EXT__
22445 choke me
22446 #endif
22447
22448 ;
22449 return 0;
22450 }
22451 _ACEOF
22452 rm -f conftest.$ac_objext
22453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22454 (eval $ac_compile) 2>conftest.er1
22455 ac_status=$?
22456 grep -v '^ *+' conftest.er1 >conftest.err
22457 rm -f conftest.er1
22458 cat conftest.err >&5
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); } &&
22461 { ac_try='test -z "$ac_cxx_werror_flag"
22462 || test ! -s conftest.err'
22463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22464 (eval $ac_try) 2>&5
22465 ac_status=$?
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; } &&
22468 { ac_try='test -s conftest.$ac_objext'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22471 ac_status=$?
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; }; then
22474 wx_cv_STDC_EXT_required=no
22475 else
22476 echo "$as_me: failed program was:" >&5
22477 sed 's/^/| /' conftest.$ac_ext >&5
22478
22479 wx_cv_STDC_EXT_required=yes
22480
22481 fi
22482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22483
22484
22485 fi
22486 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22487 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22488 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22489 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22490 fi
22491 fi
22492 else
22493 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22494 fi
22495 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22496 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22497 if test "${ac_cv_sys_largefile_source+set}" = set; then
22498 echo $ECHO_N "(cached) $ECHO_C" >&6
22499 else
22500 while :; do
22501 ac_cv_sys_largefile_source=no
22502 cat >conftest.$ac_ext <<_ACEOF
22503 /* confdefs.h. */
22504 _ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 #include <stdio.h>
22509 int
22510 main ()
22511 {
22512 return !fseeko;
22513 ;
22514 return 0;
22515 }
22516 _ACEOF
22517 rm -f conftest.$ac_objext
22518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22519 (eval $ac_compile) 2>conftest.er1
22520 ac_status=$?
22521 grep -v '^ *+' conftest.er1 >conftest.err
22522 rm -f conftest.er1
22523 cat conftest.err >&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } &&
22526 { ac_try='test -z "$ac_cxx_werror_flag"
22527 || test ! -s conftest.err'
22528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22529 (eval $ac_try) 2>&5
22530 ac_status=$?
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; } &&
22533 { ac_try='test -s conftest.$ac_objext'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22536 ac_status=$?
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; }; then
22539 break
22540 else
22541 echo "$as_me: failed program was:" >&5
22542 sed 's/^/| /' conftest.$ac_ext >&5
22543
22544 fi
22545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22546 cat >conftest.$ac_ext <<_ACEOF
22547 /* confdefs.h. */
22548 _ACEOF
22549 cat confdefs.h >>conftest.$ac_ext
22550 cat >>conftest.$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552 #define _LARGEFILE_SOURCE 1
22553 #include <stdio.h>
22554 int
22555 main ()
22556 {
22557 return !fseeko;
22558 ;
22559 return 0;
22560 }
22561 _ACEOF
22562 rm -f conftest.$ac_objext
22563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22564 (eval $ac_compile) 2>conftest.er1
22565 ac_status=$?
22566 grep -v '^ *+' conftest.er1 >conftest.err
22567 rm -f conftest.er1
22568 cat conftest.err >&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } &&
22571 { ac_try='test -z "$ac_cxx_werror_flag"
22572 || test ! -s conftest.err'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22575 ac_status=$?
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; } &&
22578 { ac_try='test -s conftest.$ac_objext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22581 ac_status=$?
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22584 ac_cv_sys_largefile_source=1; break
22585 else
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22588
22589 fi
22590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22591 break
22592 done
22593 fi
22594 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22595 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22596 if test "$ac_cv_sys_largefile_source" != no; then
22597
22598 cat >>confdefs.h <<_ACEOF
22599 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22600 _ACEOF
22601
22602 fi
22603 rm -f conftest*
22604
22605 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22606 # in glibc 2.1.3, but that breaks too many other things.
22607 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22608 echo "$as_me:$LINENO: checking for fseeko" >&5
22609 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22610 if test "${ac_cv_func_fseeko+set}" = set; then
22611 echo $ECHO_N "(cached) $ECHO_C" >&6
22612 else
22613 cat >conftest.$ac_ext <<_ACEOF
22614 /* confdefs.h. */
22615 _ACEOF
22616 cat confdefs.h >>conftest.$ac_ext
22617 cat >>conftest.$ac_ext <<_ACEOF
22618 /* end confdefs.h. */
22619 #include <stdio.h>
22620 int
22621 main ()
22622 {
22623 return fseeko && fseeko (stdin, 0, 0);
22624 ;
22625 return 0;
22626 }
22627 _ACEOF
22628 rm -f conftest.$ac_objext conftest$ac_exeext
22629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22630 (eval $ac_link) 2>conftest.er1
22631 ac_status=$?
22632 grep -v '^ *+' conftest.er1 >conftest.err
22633 rm -f conftest.er1
22634 cat conftest.err >&5
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); } &&
22637 { ac_try='test -z "$ac_cxx_werror_flag"
22638 || test ! -s conftest.err'
22639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22640 (eval $ac_try) 2>&5
22641 ac_status=$?
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); }; } &&
22644 { ac_try='test -s conftest$ac_exeext'
22645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646 (eval $ac_try) 2>&5
22647 ac_status=$?
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); }; }; then
22650 ac_cv_func_fseeko=yes
22651 else
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.$ac_ext >&5
22654
22655 ac_cv_func_fseeko=no
22656 fi
22657 rm -f conftest.err conftest.$ac_objext \
22658 conftest$ac_exeext conftest.$ac_ext
22659 fi
22660 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22661 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22662 if test $ac_cv_func_fseeko = yes; then
22663
22664 cat >>confdefs.h <<\_ACEOF
22665 #define HAVE_FSEEKO 1
22666 _ACEOF
22667
22668 fi
22669
22670 if test "$ac_cv_sys_largefile_source" != no; then
22671 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22672 fi
22673 fi
22674
22675 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22676 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22677 if test "${ac_cv_c_bigendian+set}" = set; then
22678 echo $ECHO_N "(cached) $ECHO_C" >&6
22679 else
22680 ac_cv_c_bigendian=unknown
22681 # See if sys/param.h defines the BYTE_ORDER macro.
22682 cat >conftest.$ac_ext <<_ACEOF
22683 /* confdefs.h. */
22684 _ACEOF
22685 cat confdefs.h >>conftest.$ac_ext
22686 cat >>conftest.$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22688 #include <sys/types.h>
22689 #include <sys/param.h>
22690 int
22691 main ()
22692 {
22693
22694 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22695 bogus endian macros
22696 #endif
22697 ;
22698 return 0;
22699 }
22700 _ACEOF
22701 rm -f conftest.$ac_objext
22702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22703 (eval $ac_compile) 2>conftest.er1
22704 ac_status=$?
22705 grep -v '^ *+' conftest.er1 >conftest.err
22706 rm -f conftest.er1
22707 cat conftest.err >&5
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); } &&
22710 { ac_try='test -z "$ac_cxx_werror_flag"
22711 || test ! -s conftest.err'
22712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713 (eval $ac_try) 2>&5
22714 ac_status=$?
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); }; } &&
22717 { ac_try='test -s conftest.$ac_objext'
22718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22719 (eval $ac_try) 2>&5
22720 ac_status=$?
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; }; then
22723 # It does; now see whether it defined to BIG_ENDIAN or not.
22724 cat >conftest.$ac_ext <<_ACEOF
22725 /* confdefs.h. */
22726 _ACEOF
22727 cat confdefs.h >>conftest.$ac_ext
22728 cat >>conftest.$ac_ext <<_ACEOF
22729 /* end confdefs.h. */
22730 #include <sys/types.h>
22731 #include <sys/param.h>
22732 int
22733 main ()
22734 {
22735
22736 #if BYTE_ORDER != BIG_ENDIAN
22737 not big endian
22738 #endif
22739 ;
22740 return 0;
22741 }
22742 _ACEOF
22743 rm -f conftest.$ac_objext
22744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22745 (eval $ac_compile) 2>conftest.er1
22746 ac_status=$?
22747 grep -v '^ *+' conftest.er1 >conftest.err
22748 rm -f conftest.er1
22749 cat conftest.err >&5
22750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22751 (exit $ac_status); } &&
22752 { ac_try='test -z "$ac_cxx_werror_flag"
22753 || test ! -s conftest.err'
22754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22755 (eval $ac_try) 2>&5
22756 ac_status=$?
22757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 (exit $ac_status); }; } &&
22759 { ac_try='test -s conftest.$ac_objext'
22760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761 (eval $ac_try) 2>&5
22762 ac_status=$?
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; }; then
22765 ac_cv_c_bigendian=yes
22766 else
22767 echo "$as_me: failed program was:" >&5
22768 sed 's/^/| /' conftest.$ac_ext >&5
22769
22770 ac_cv_c_bigendian=no
22771 fi
22772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22773 else
22774 echo "$as_me: failed program was:" >&5
22775 sed 's/^/| /' conftest.$ac_ext >&5
22776
22777 fi
22778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22779 if test $ac_cv_c_bigendian = unknown; then
22780 if test "$cross_compiling" = yes; then
22781 ac_cv_c_bigendian=unknown
22782 else
22783 cat >conftest.$ac_ext <<_ACEOF
22784 /* confdefs.h. */
22785 _ACEOF
22786 cat confdefs.h >>conftest.$ac_ext
22787 cat >>conftest.$ac_ext <<_ACEOF
22788 /* end confdefs.h. */
22789 main () {
22790 /* Are we little or big endian? From Harbison&Steele. */
22791 union
22792 {
22793 long l;
22794 char c[sizeof (long)];
22795 } u;
22796 u.l = 1;
22797 exit (u.c[sizeof (long) - 1] == 1);
22798 }
22799 _ACEOF
22800 rm -f conftest$ac_exeext
22801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22802 (eval $ac_link) 2>&5
22803 ac_status=$?
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22807 (eval $ac_try) 2>&5
22808 ac_status=$?
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); }; }; then
22811 ac_cv_c_bigendian=no
22812 else
22813 echo "$as_me: program exited with status $ac_status" >&5
22814 echo "$as_me: failed program was:" >&5
22815 sed 's/^/| /' conftest.$ac_ext >&5
22816
22817 ( exit $ac_status )
22818 ac_cv_c_bigendian=yes
22819 fi
22820 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22821 fi
22822 fi
22823 fi
22824 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22825 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22826 if test $ac_cv_c_bigendian = unknown; then
22827 { 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
22828 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;}
22829 fi
22830 if test $ac_cv_c_bigendian = yes; then
22831 cat >>confdefs.h <<\_ACEOF
22832 #define WORDS_BIGENDIAN 1
22833 _ACEOF
22834
22835 fi
22836
22837
22838
22839
22840
22841 ac_ext=cc
22842 ac_cpp='$CXXCPP $CPPFLAGS'
22843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22846
22847
22848
22849 for ac_header in iostream
22850 do
22851 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22853 echo "$as_me:$LINENO: checking for $ac_header" >&5
22854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22856 echo $ECHO_N "(cached) $ECHO_C" >&6
22857 fi
22858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22860 else
22861 # Is the header compilable?
22862 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22864 cat >conftest.$ac_ext <<_ACEOF
22865 /* confdefs.h. */
22866 _ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22870 $ac_includes_default
22871 #include <$ac_header>
22872 _ACEOF
22873 rm -f conftest.$ac_objext
22874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22875 (eval $ac_compile) 2>conftest.er1
22876 ac_status=$?
22877 grep -v '^ *+' conftest.er1 >conftest.err
22878 rm -f conftest.er1
22879 cat conftest.err >&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); } &&
22882 { ac_try='test -z "$ac_cxx_werror_flag"
22883 || test ! -s conftest.err'
22884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22885 (eval $ac_try) 2>&5
22886 ac_status=$?
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); }; } &&
22889 { ac_try='test -s conftest.$ac_objext'
22890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22891 (eval $ac_try) 2>&5
22892 ac_status=$?
22893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22894 (exit $ac_status); }; }; then
22895 ac_header_compiler=yes
22896 else
22897 echo "$as_me: failed program was:" >&5
22898 sed 's/^/| /' conftest.$ac_ext >&5
22899
22900 ac_header_compiler=no
22901 fi
22902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22903 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22904 echo "${ECHO_T}$ac_header_compiler" >&6
22905
22906 # Is the header present?
22907 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22908 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22909 cat >conftest.$ac_ext <<_ACEOF
22910 /* confdefs.h. */
22911 _ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22915 #include <$ac_header>
22916 _ACEOF
22917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22919 ac_status=$?
22920 grep -v '^ *+' conftest.er1 >conftest.err
22921 rm -f conftest.er1
22922 cat conftest.err >&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } >/dev/null; then
22925 if test -s conftest.err; then
22926 ac_cpp_err=$ac_cxx_preproc_warn_flag
22927 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22928 else
22929 ac_cpp_err=
22930 fi
22931 else
22932 ac_cpp_err=yes
22933 fi
22934 if test -z "$ac_cpp_err"; then
22935 ac_header_preproc=yes
22936 else
22937 echo "$as_me: failed program was:" >&5
22938 sed 's/^/| /' conftest.$ac_ext >&5
22939
22940 ac_header_preproc=no
22941 fi
22942 rm -f conftest.err conftest.$ac_ext
22943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22944 echo "${ECHO_T}$ac_header_preproc" >&6
22945
22946 # So? What about this header?
22947 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22948 yes:no: )
22949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22950 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22952 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22953 ac_header_preproc=yes
22954 ;;
22955 no:yes:* )
22956 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22957 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22958 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22959 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22960 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22961 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22962 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22963 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22965 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22966 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22967 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22968 (
22969 cat <<\_ASBOX
22970 ## ----------------------------------------- ##
22971 ## Report this to wx-dev@lists.wxwidgets.org ##
22972 ## ----------------------------------------- ##
22973 _ASBOX
22974 ) |
22975 sed "s/^/$as_me: WARNING: /" >&2
22976 ;;
22977 esac
22978 echo "$as_me:$LINENO: checking for $ac_header" >&5
22979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22981 echo $ECHO_N "(cached) $ECHO_C" >&6
22982 else
22983 eval "$as_ac_Header=\$ac_header_preproc"
22984 fi
22985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22987
22988 fi
22989 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22990 cat >>confdefs.h <<_ACEOF
22991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22992 _ACEOF
22993
22994 fi
22995
22996 done
22997
22998
22999 if test "$ac_cv_header_iostream" = "yes" ; then
23000 :
23001 else
23002 cat >>confdefs.h <<\_ACEOF
23003 #define wxUSE_IOSTREAMH 1
23004 _ACEOF
23005
23006 fi
23007
23008 ac_ext=cc
23009 ac_cpp='$CXXCPP $CPPFLAGS'
23010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23013
23014
23015
23016
23017 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23018 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23019 if test "${wx_cv_cpp_bool+set}" = set; then
23020 echo $ECHO_N "(cached) $ECHO_C" >&6
23021 else
23022
23023
23024
23025 ac_ext=cc
23026 ac_cpp='$CXXCPP $CPPFLAGS'
23027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23030
23031
23032 cat >conftest.$ac_ext <<_ACEOF
23033 /* confdefs.h. */
23034 _ACEOF
23035 cat confdefs.h >>conftest.$ac_ext
23036 cat >>conftest.$ac_ext <<_ACEOF
23037 /* end confdefs.h. */
23038
23039
23040 int
23041 main ()
23042 {
23043
23044 bool b = true;
23045
23046 return 0;
23047
23048 ;
23049 return 0;
23050 }
23051 _ACEOF
23052 rm -f conftest.$ac_objext
23053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23054 (eval $ac_compile) 2>conftest.er1
23055 ac_status=$?
23056 grep -v '^ *+' conftest.er1 >conftest.err
23057 rm -f conftest.er1
23058 cat conftest.err >&5
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } &&
23061 { ac_try='test -z "$ac_cxx_werror_flag"
23062 || test ! -s conftest.err'
23063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23064 (eval $ac_try) 2>&5
23065 ac_status=$?
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); }; } &&
23068 { ac_try='test -s conftest.$ac_objext'
23069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23070 (eval $ac_try) 2>&5
23071 ac_status=$?
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); }; }; then
23074
23075 wx_cv_cpp_bool=yes
23076
23077 else
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.$ac_ext >&5
23080
23081
23082 wx_cv_cpp_bool=no
23083
23084
23085 fi
23086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23087
23088 ac_ext=cc
23089 ac_cpp='$CXXCPP $CPPFLAGS'
23090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23093
23094
23095 fi
23096 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23097 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23098
23099 if test "$wx_cv_cpp_bool" = "yes"; then
23100 cat >>confdefs.h <<\_ACEOF
23101 #define HAVE_BOOL 1
23102 _ACEOF
23103
23104 fi
23105
23106
23107
23108 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23109 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23110 if test "${wx_cv_explicit+set}" = set; then
23111 echo $ECHO_N "(cached) $ECHO_C" >&6
23112 else
23113
23114
23115
23116 ac_ext=cc
23117 ac_cpp='$CXXCPP $CPPFLAGS'
23118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23121
23122
23123 cat >conftest.$ac_ext <<_ACEOF
23124 /* confdefs.h. */
23125 _ACEOF
23126 cat confdefs.h >>conftest.$ac_ext
23127 cat >>conftest.$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23129
23130 class Foo { public: explicit Foo(int) {} };
23131
23132 int
23133 main ()
23134 {
23135
23136 return 0;
23137
23138 ;
23139 return 0;
23140 }
23141 _ACEOF
23142 rm -f conftest.$ac_objext
23143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23144 (eval $ac_compile) 2>conftest.er1
23145 ac_status=$?
23146 grep -v '^ *+' conftest.er1 >conftest.err
23147 rm -f conftest.er1
23148 cat conftest.err >&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } &&
23151 { ac_try='test -z "$ac_cxx_werror_flag"
23152 || test ! -s conftest.err'
23153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23154 (eval $ac_try) 2>&5
23155 ac_status=$?
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); }; } &&
23158 { ac_try='test -s conftest.$ac_objext'
23159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23160 (eval $ac_try) 2>&5
23161 ac_status=$?
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); }; }; then
23164
23165 cat >conftest.$ac_ext <<_ACEOF
23166 /* confdefs.h. */
23167 _ACEOF
23168 cat confdefs.h >>conftest.$ac_ext
23169 cat >>conftest.$ac_ext <<_ACEOF
23170 /* end confdefs.h. */
23171
23172 class Foo { public: explicit Foo(int) {} };
23173 static void TakeFoo(const Foo& foo) { }
23174
23175 int
23176 main ()
23177 {
23178
23179 TakeFoo(17);
23180 return 0;
23181
23182 ;
23183 return 0;
23184 }
23185 _ACEOF
23186 rm -f conftest.$ac_objext
23187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23188 (eval $ac_compile) 2>conftest.er1
23189 ac_status=$?
23190 grep -v '^ *+' conftest.er1 >conftest.err
23191 rm -f conftest.er1
23192 cat conftest.err >&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); } &&
23195 { ac_try='test -z "$ac_cxx_werror_flag"
23196 || test ! -s conftest.err'
23197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23198 (eval $ac_try) 2>&5
23199 ac_status=$?
23200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23201 (exit $ac_status); }; } &&
23202 { ac_try='test -s conftest.$ac_objext'
23203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23204 (eval $ac_try) 2>&5
23205 ac_status=$?
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); }; }; then
23208 wx_cv_explicit=no
23209 else
23210 echo "$as_me: failed program was:" >&5
23211 sed 's/^/| /' conftest.$ac_ext >&5
23212
23213 wx_cv_explicit=yes
23214
23215 fi
23216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23217
23218 else
23219 echo "$as_me: failed program was:" >&5
23220 sed 's/^/| /' conftest.$ac_ext >&5
23221
23222 wx_cv_explicit=no
23223
23224 fi
23225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23226
23227 ac_ext=cc
23228 ac_cpp='$CXXCPP $CPPFLAGS'
23229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23232
23233
23234 fi
23235 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23236 echo "${ECHO_T}$wx_cv_explicit" >&6
23237
23238 if test "$wx_cv_explicit" = "yes"; then
23239 cat >>confdefs.h <<\_ACEOF
23240 #define HAVE_EXPLICIT 1
23241 _ACEOF
23242
23243 fi
23244
23245
23246 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23247 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23248 if test "${ac_cv_cxx_const_cast+set}" = set; then
23249 echo $ECHO_N "(cached) $ECHO_C" >&6
23250 else
23251
23252
23253 ac_ext=cc
23254 ac_cpp='$CXXCPP $CPPFLAGS'
23255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23258
23259 cat >conftest.$ac_ext <<_ACEOF
23260 /* confdefs.h. */
23261 _ACEOF
23262 cat confdefs.h >>conftest.$ac_ext
23263 cat >>conftest.$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265
23266 int
23267 main ()
23268 {
23269 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23270 ;
23271 return 0;
23272 }
23273 _ACEOF
23274 rm -f conftest.$ac_objext
23275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23276 (eval $ac_compile) 2>conftest.er1
23277 ac_status=$?
23278 grep -v '^ *+' conftest.er1 >conftest.err
23279 rm -f conftest.er1
23280 cat conftest.err >&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); } &&
23283 { ac_try='test -z "$ac_cxx_werror_flag"
23284 || test ! -s conftest.err'
23285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286 (eval $ac_try) 2>&5
23287 ac_status=$?
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; } &&
23290 { ac_try='test -s conftest.$ac_objext'
23291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23292 (eval $ac_try) 2>&5
23293 ac_status=$?
23294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23295 (exit $ac_status); }; }; then
23296 ac_cv_cxx_const_cast=yes
23297 else
23298 echo "$as_me: failed program was:" >&5
23299 sed 's/^/| /' conftest.$ac_ext >&5
23300
23301 ac_cv_cxx_const_cast=no
23302 fi
23303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23304 ac_ext=cc
23305 ac_cpp='$CXXCPP $CPPFLAGS'
23306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23309
23310
23311 fi
23312 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23313 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23314 if test "$ac_cv_cxx_const_cast" = yes; then
23315
23316 cat >>confdefs.h <<\_ACEOF
23317 #define HAVE_CONST_CAST
23318 _ACEOF
23319
23320 fi
23321
23322 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23323 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23324 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23325 echo $ECHO_N "(cached) $ECHO_C" >&6
23326 else
23327
23328
23329 ac_ext=cc
23330 ac_cpp='$CXXCPP $CPPFLAGS'
23331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23334
23335 cat >conftest.$ac_ext <<_ACEOF
23336 /* confdefs.h. */
23337 _ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 #include <typeinfo>
23342 class Base { public : Base () {} virtual void f () = 0;};
23343 class Derived : public Base { public : Derived () {} virtual void f () {} };
23344 class Unrelated { public : Unrelated () {} };
23345 int g (Unrelated&) { return 0; }
23346 int
23347 main ()
23348 {
23349
23350 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23351 ;
23352 return 0;
23353 }
23354 _ACEOF
23355 rm -f conftest.$ac_objext
23356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23357 (eval $ac_compile) 2>conftest.er1
23358 ac_status=$?
23359 grep -v '^ *+' conftest.er1 >conftest.err
23360 rm -f conftest.er1
23361 cat conftest.err >&5
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); } &&
23364 { ac_try='test -z "$ac_cxx_werror_flag"
23365 || test ! -s conftest.err'
23366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23367 (eval $ac_try) 2>&5
23368 ac_status=$?
23369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23370 (exit $ac_status); }; } &&
23371 { ac_try='test -s conftest.$ac_objext'
23372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23373 (eval $ac_try) 2>&5
23374 ac_status=$?
23375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23376 (exit $ac_status); }; }; then
23377 ac_cv_cxx_reinterpret_cast=yes
23378 else
23379 echo "$as_me: failed program was:" >&5
23380 sed 's/^/| /' conftest.$ac_ext >&5
23381
23382 ac_cv_cxx_reinterpret_cast=no
23383 fi
23384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23385 ac_ext=cc
23386 ac_cpp='$CXXCPP $CPPFLAGS'
23387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23390
23391
23392 fi
23393 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23394 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23395 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23396
23397 cat >>confdefs.h <<\_ACEOF
23398 #define HAVE_REINTERPRET_CAST
23399 _ACEOF
23400
23401 fi
23402
23403 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23404 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23405 if test "${ac_cv_cxx_static_cast+set}" = set; then
23406 echo $ECHO_N "(cached) $ECHO_C" >&6
23407 else
23408
23409
23410 ac_ext=cc
23411 ac_cpp='$CXXCPP $CPPFLAGS'
23412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23415
23416 cat >conftest.$ac_ext <<_ACEOF
23417 /* confdefs.h. */
23418 _ACEOF
23419 cat confdefs.h >>conftest.$ac_ext
23420 cat >>conftest.$ac_ext <<_ACEOF
23421 /* end confdefs.h. */
23422 #include <typeinfo>
23423 class Base { public : Base () {} virtual void f () = 0; };
23424 class Derived : public Base { public : Derived () {} virtual void f () {} };
23425 int g (Derived&) { return 0; }
23426 int
23427 main ()
23428 {
23429
23430 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23431 ;
23432 return 0;
23433 }
23434 _ACEOF
23435 rm -f conftest.$ac_objext
23436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23437 (eval $ac_compile) 2>conftest.er1
23438 ac_status=$?
23439 grep -v '^ *+' conftest.er1 >conftest.err
23440 rm -f conftest.er1
23441 cat conftest.err >&5
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); } &&
23444 { ac_try='test -z "$ac_cxx_werror_flag"
23445 || test ! -s conftest.err'
23446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447 (eval $ac_try) 2>&5
23448 ac_status=$?
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); }; } &&
23451 { ac_try='test -s conftest.$ac_objext'
23452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453 (eval $ac_try) 2>&5
23454 ac_status=$?
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 ac_cv_cxx_static_cast=yes
23458 else
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23461
23462 ac_cv_cxx_static_cast=no
23463 fi
23464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23465 ac_ext=cc
23466 ac_cpp='$CXXCPP $CPPFLAGS'
23467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23470
23471
23472 fi
23473 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23474 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23475 if test "$ac_cv_cxx_static_cast" = yes; then
23476
23477 cat >>confdefs.h <<\_ACEOF
23478 #define HAVE_STATIC_CAST
23479 _ACEOF
23480
23481 fi
23482
23483
23484 if test "x$SUNCXX" = xyes; then
23485 CXXFLAGS="-features=tmplife $CXXFLAGS"
23486 fi
23487
23488 if test "x$SUNCC" = xyes; then
23489 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23490 fi
23491
23492 if test "x$SGICC" = "xyes"; then
23493 CFLAGS="-woff 3970 $CFLAGS"
23494 fi
23495 if test "x$SGICXX" = "xyes"; then
23496 CXXFLAGS="-woff 3970 $CXXFLAGS"
23497 fi
23498
23499 if test "x$HPCC" = "xyes"; then
23500 CFLAGS="+W 2011,2450 $CFLAGS"
23501 fi
23502 if test "x$HPCXX" = "xyes"; then
23503 CXXFLAGS="+W 2340 $CXXFLAGS"
23504 fi
23505
23506 if test "x$COMPAQCXX" = "xyes"; then
23507 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23508 fi
23509
23510 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23511 if test "$wxUSE_UNICODE" = "yes"; then
23512 std_string="std::wstring"
23513 char_type="wchar_t"
23514 else
23515 std_string="std::string"
23516 char_type="char"
23517 fi
23518
23519 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23520 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23521 cat >conftest.$ac_ext <<_ACEOF
23522 /* confdefs.h. */
23523 _ACEOF
23524 cat confdefs.h >>conftest.$ac_ext
23525 cat >>conftest.$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23527 #include <string>
23528 int
23529 main ()
23530 {
23531 $std_string foo;
23532 ;
23533 return 0;
23534 }
23535 _ACEOF
23536 rm -f conftest.$ac_objext
23537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23538 (eval $ac_compile) 2>conftest.er1
23539 ac_status=$?
23540 grep -v '^ *+' conftest.er1 >conftest.err
23541 rm -f conftest.er1
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } &&
23545 { ac_try='test -z "$ac_cxx_werror_flag"
23546 || test ! -s conftest.err'
23547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23548 (eval $ac_try) 2>&5
23549 ac_status=$?
23550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23551 (exit $ac_status); }; } &&
23552 { ac_try='test -s conftest.$ac_objext'
23553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23554 (eval $ac_try) 2>&5
23555 ac_status=$?
23556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23557 (exit $ac_status); }; }; then
23558 echo "$as_me:$LINENO: result: yes" >&5
23559 echo "${ECHO_T}yes" >&6
23560 cat >>confdefs.h <<\_ACEOF
23561 #define HAVE_STD_WSTRING 1
23562 _ACEOF
23563
23564 else
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23567
23568 echo "$as_me:$LINENO: result: no" >&5
23569 echo "${ECHO_T}no" >&6
23570 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23571 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23572 cat >conftest.$ac_ext <<_ACEOF
23573 /* confdefs.h. */
23574 _ACEOF
23575 cat confdefs.h >>conftest.$ac_ext
23576 cat >>conftest.$ac_ext <<_ACEOF
23577 /* end confdefs.h. */
23578
23579 #ifdef HAVE_WCHAR_H
23580 # ifdef __CYGWIN__
23581 # include <stddef.h>
23582 # endif
23583 # include <wchar.h>
23584 #endif
23585 #ifdef HAVE_STDLIB_H
23586 # include <stdlib.h>
23587 #endif
23588 #include <stdio.h>
23589 #include <string>
23590
23591 int
23592 main ()
23593 {
23594 std::basic_string<$char_type> foo;
23595 const $char_type* dummy = foo.c_str();
23596 ;
23597 return 0;
23598 }
23599 _ACEOF
23600 rm -f conftest.$ac_objext
23601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23602 (eval $ac_compile) 2>conftest.er1
23603 ac_status=$?
23604 grep -v '^ *+' conftest.er1 >conftest.err
23605 rm -f conftest.er1
23606 cat conftest.err >&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); } &&
23609 { ac_try='test -z "$ac_cxx_werror_flag"
23610 || test ! -s conftest.err'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23613 ac_status=$?
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; } &&
23616 { ac_try='test -s conftest.$ac_objext'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23619 ac_status=$?
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; }; then
23622 echo "$as_me:$LINENO: result: yes" >&5
23623 echo "${ECHO_T}yes" >&6
23624 else
23625 echo "$as_me: failed program was:" >&5
23626 sed 's/^/| /' conftest.$ac_ext >&5
23627
23628 echo "$as_me:$LINENO: result: no" >&5
23629 echo "${ECHO_T}no" >&6
23630 if test "$wxUSE_STL" = "yes"; then
23631 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23632 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23633 { (exit 1); exit 1; }; }
23634 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23635 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23636 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23637 { (exit 1); exit 1; }; }
23638 else
23639 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23640 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23641 wxUSE_STD_STRING=no
23642 fi
23643
23644
23645 fi
23646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23647
23648 fi
23649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23650 fi
23651
23652 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23653 echo "$as_me:$LINENO: checking for std::istream" >&5
23654 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23655 if test "${ac_cv_type_std__istream+set}" = set; then
23656 echo $ECHO_N "(cached) $ECHO_C" >&6
23657 else
23658 cat >conftest.$ac_ext <<_ACEOF
23659 /* confdefs.h. */
23660 _ACEOF
23661 cat confdefs.h >>conftest.$ac_ext
23662 cat >>conftest.$ac_ext <<_ACEOF
23663 /* end confdefs.h. */
23664 #include <iostream>
23665
23666 int
23667 main ()
23668 {
23669 if ((std::istream *) 0)
23670 return 0;
23671 if (sizeof (std::istream))
23672 return 0;
23673 ;
23674 return 0;
23675 }
23676 _ACEOF
23677 rm -f conftest.$ac_objext
23678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23679 (eval $ac_compile) 2>conftest.er1
23680 ac_status=$?
23681 grep -v '^ *+' conftest.er1 >conftest.err
23682 rm -f conftest.er1
23683 cat conftest.err >&5
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); } &&
23686 { ac_try='test -z "$ac_cxx_werror_flag"
23687 || test ! -s conftest.err'
23688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23689 (eval $ac_try) 2>&5
23690 ac_status=$?
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); }; } &&
23693 { ac_try='test -s conftest.$ac_objext'
23694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23695 (eval $ac_try) 2>&5
23696 ac_status=$?
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); }; }; then
23699 ac_cv_type_std__istream=yes
23700 else
23701 echo "$as_me: failed program was:" >&5
23702 sed 's/^/| /' conftest.$ac_ext >&5
23703
23704 ac_cv_type_std__istream=no
23705 fi
23706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23707 fi
23708 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23709 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23710 if test $ac_cv_type_std__istream = yes; then
23711
23712 cat >>confdefs.h <<_ACEOF
23713 #define HAVE_STD__ISTREAM 1
23714 _ACEOF
23715
23716
23717 else
23718 wxUSE_STD_IOSTREAM=no
23719 fi
23720 echo "$as_me:$LINENO: checking for std::ostream" >&5
23721 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23722 if test "${ac_cv_type_std__ostream+set}" = set; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23724 else
23725 cat >conftest.$ac_ext <<_ACEOF
23726 /* confdefs.h. */
23727 _ACEOF
23728 cat confdefs.h >>conftest.$ac_ext
23729 cat >>conftest.$ac_ext <<_ACEOF
23730 /* end confdefs.h. */
23731 #include <iostream>
23732
23733 int
23734 main ()
23735 {
23736 if ((std::ostream *) 0)
23737 return 0;
23738 if (sizeof (std::ostream))
23739 return 0;
23740 ;
23741 return 0;
23742 }
23743 _ACEOF
23744 rm -f conftest.$ac_objext
23745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23746 (eval $ac_compile) 2>conftest.er1
23747 ac_status=$?
23748 grep -v '^ *+' conftest.er1 >conftest.err
23749 rm -f conftest.er1
23750 cat conftest.err >&5
23751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23752 (exit $ac_status); } &&
23753 { ac_try='test -z "$ac_cxx_werror_flag"
23754 || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23757 ac_status=$?
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23763 ac_status=$?
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 ac_cv_type_std__ostream=yes
23767 else
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5
23770
23771 ac_cv_type_std__ostream=no
23772 fi
23773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23774 fi
23775 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23776 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23777 if test $ac_cv_type_std__ostream = yes; then
23778
23779 cat >>confdefs.h <<_ACEOF
23780 #define HAVE_STD__OSTREAM 1
23781 _ACEOF
23782
23783
23784 else
23785 wxUSE_STD_IOSTREAM=no
23786 fi
23787
23788
23789 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23790 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23791 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23792 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23793 { (exit 1); exit 1; }; }
23794 else
23795 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23796 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23797 fi
23798 fi
23799 fi
23800
23801 if test "$wxUSE_STL" = "yes"; then
23802 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23803 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23804 cat >conftest.$ac_ext <<_ACEOF
23805 /* confdefs.h. */
23806 _ACEOF
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810 #include <string>
23811 #include <functional>
23812 #include <algorithm>
23813 #include <vector>
23814 #include <list>
23815 int
23816 main ()
23817 {
23818 std::vector<int> moo;
23819 std::list<int> foo;
23820 std::vector<int>::iterator it =
23821 std::find_if(moo.begin(), moo.end(),
23822 std::bind2nd(std::less<int>(), 3));
23823 ;
23824 return 0;
23825 }
23826 _ACEOF
23827 rm -f conftest.$ac_objext
23828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23829 (eval $ac_compile) 2>conftest.er1
23830 ac_status=$?
23831 grep -v '^ *+' conftest.er1 >conftest.err
23832 rm -f conftest.er1
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } &&
23836 { ac_try='test -z "$ac_cxx_werror_flag"
23837 || test ! -s conftest.err'
23838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839 (eval $ac_try) 2>&5
23840 ac_status=$?
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); }; } &&
23843 { ac_try='test -s conftest.$ac_objext'
23844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23845 (eval $ac_try) 2>&5
23846 ac_status=$?
23847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23848 (exit $ac_status); }; }; then
23849 echo "$as_me:$LINENO: result: yes" >&5
23850 echo "${ECHO_T}yes" >&6
23851 else
23852 echo "$as_me: failed program was:" >&5
23853 sed 's/^/| /' conftest.$ac_ext >&5
23854
23855 echo "$as_me:$LINENO: result: no" >&5
23856 echo "${ECHO_T}no" >&6
23857 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23858 echo "$as_me: error: Basic STL functionality missing" >&2;}
23859 { (exit 1); exit 1; }; }
23860 fi
23861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23862
23863 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23864 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23865 cat >conftest.$ac_ext <<_ACEOF
23866 /* confdefs.h. */
23867 _ACEOF
23868 cat confdefs.h >>conftest.$ac_ext
23869 cat >>conftest.$ac_ext <<_ACEOF
23870 /* end confdefs.h. */
23871 #include <string>
23872 int
23873 main ()
23874 {
23875 std::string foo, bar;
23876 foo.compare(bar);
23877 foo.compare(1, 1, bar);
23878 foo.compare(1, 1, bar, 1, 1);
23879 foo.compare("");
23880 foo.compare(1, 1, "");
23881 foo.compare(1, 1, "", 2);
23882 ;
23883 return 0;
23884 }
23885 _ACEOF
23886 rm -f conftest.$ac_objext
23887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23888 (eval $ac_compile) 2>conftest.er1
23889 ac_status=$?
23890 grep -v '^ *+' conftest.er1 >conftest.err
23891 rm -f conftest.er1
23892 cat conftest.err >&5
23893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894 (exit $ac_status); } &&
23895 { ac_try='test -z "$ac_cxx_werror_flag"
23896 || test ! -s conftest.err'
23897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23898 (eval $ac_try) 2>&5
23899 ac_status=$?
23900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901 (exit $ac_status); }; } &&
23902 { ac_try='test -s conftest.$ac_objext'
23903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904 (eval $ac_try) 2>&5
23905 ac_status=$?
23906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907 (exit $ac_status); }; }; then
23908 echo "$as_me:$LINENO: result: yes" >&5
23909 echo "${ECHO_T}yes" >&6
23910 cat >>confdefs.h <<\_ACEOF
23911 #define HAVE_STD_STRING_COMPARE 1
23912 _ACEOF
23913
23914 else
23915 echo "$as_me: failed program was:" >&5
23916 sed 's/^/| /' conftest.$ac_ext >&5
23917
23918 echo "$as_me:$LINENO: result: no" >&5
23919 echo "${ECHO_T}no" >&6
23920 fi
23921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23922
23923 if test "${ac_cv_header_hash_map+set}" = set; then
23924 echo "$as_me:$LINENO: checking for hash_map" >&5
23925 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23926 if test "${ac_cv_header_hash_map+set}" = set; then
23927 echo $ECHO_N "(cached) $ECHO_C" >&6
23928 fi
23929 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23930 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23931 else
23932 # Is the header compilable?
23933 echo "$as_me:$LINENO: checking hash_map usability" >&5
23934 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23935 cat >conftest.$ac_ext <<_ACEOF
23936 /* confdefs.h. */
23937 _ACEOF
23938 cat confdefs.h >>conftest.$ac_ext
23939 cat >>conftest.$ac_ext <<_ACEOF
23940 /* end confdefs.h. */
23941 $ac_includes_default
23942 #include <hash_map>
23943 _ACEOF
23944 rm -f conftest.$ac_objext
23945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23946 (eval $ac_compile) 2>conftest.er1
23947 ac_status=$?
23948 grep -v '^ *+' conftest.er1 >conftest.err
23949 rm -f conftest.er1
23950 cat conftest.err >&5
23951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23952 (exit $ac_status); } &&
23953 { ac_try='test -z "$ac_cxx_werror_flag"
23954 || test ! -s conftest.err'
23955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23956 (eval $ac_try) 2>&5
23957 ac_status=$?
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); }; } &&
23960 { ac_try='test -s conftest.$ac_objext'
23961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23962 (eval $ac_try) 2>&5
23963 ac_status=$?
23964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965 (exit $ac_status); }; }; then
23966 ac_header_compiler=yes
23967 else
23968 echo "$as_me: failed program was:" >&5
23969 sed 's/^/| /' conftest.$ac_ext >&5
23970
23971 ac_header_compiler=no
23972 fi
23973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23975 echo "${ECHO_T}$ac_header_compiler" >&6
23976
23977 # Is the header present?
23978 echo "$as_me:$LINENO: checking hash_map presence" >&5
23979 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23980 cat >conftest.$ac_ext <<_ACEOF
23981 /* confdefs.h. */
23982 _ACEOF
23983 cat confdefs.h >>conftest.$ac_ext
23984 cat >>conftest.$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23986 #include <hash_map>
23987 _ACEOF
23988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23990 ac_status=$?
23991 grep -v '^ *+' conftest.er1 >conftest.err
23992 rm -f conftest.er1
23993 cat conftest.err >&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } >/dev/null; then
23996 if test -s conftest.err; then
23997 ac_cpp_err=$ac_cxx_preproc_warn_flag
23998 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23999 else
24000 ac_cpp_err=
24001 fi
24002 else
24003 ac_cpp_err=yes
24004 fi
24005 if test -z "$ac_cpp_err"; then
24006 ac_header_preproc=yes
24007 else
24008 echo "$as_me: failed program was:" >&5
24009 sed 's/^/| /' conftest.$ac_ext >&5
24010
24011 ac_header_preproc=no
24012 fi
24013 rm -f conftest.err conftest.$ac_ext
24014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24015 echo "${ECHO_T}$ac_header_preproc" >&6
24016
24017 # So? What about this header?
24018 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24019 yes:no: )
24020 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24021 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24022 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24023 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24024 ac_header_preproc=yes
24025 ;;
24026 no:yes:* )
24027 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24028 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24029 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24030 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24031 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24032 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24033 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24034 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24035 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24036 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24037 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24038 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24039 (
24040 cat <<\_ASBOX
24041 ## ----------------------------------------- ##
24042 ## Report this to wx-dev@lists.wxwidgets.org ##
24043 ## ----------------------------------------- ##
24044 _ASBOX
24045 ) |
24046 sed "s/^/$as_me: WARNING: /" >&2
24047 ;;
24048 esac
24049 echo "$as_me:$LINENO: checking for hash_map" >&5
24050 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24051 if test "${ac_cv_header_hash_map+set}" = set; then
24052 echo $ECHO_N "(cached) $ECHO_C" >&6
24053 else
24054 ac_cv_header_hash_map=$ac_header_preproc
24055 fi
24056 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24057 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24058
24059 fi
24060 if test $ac_cv_header_hash_map = yes; then
24061 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24062 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24063 cat >conftest.$ac_ext <<_ACEOF
24064 /* confdefs.h. */
24065 _ACEOF
24066 cat confdefs.h >>conftest.$ac_ext
24067 cat >>conftest.$ac_ext <<_ACEOF
24068 /* end confdefs.h. */
24069 #include <hash_map>
24070 #include <hash_set>
24071 int
24072 main ()
24073 {
24074 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24075 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24076 ;
24077 return 0;
24078 }
24079 _ACEOF
24080 rm -f conftest.$ac_objext
24081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24082 (eval $ac_compile) 2>conftest.er1
24083 ac_status=$?
24084 grep -v '^ *+' conftest.er1 >conftest.err
24085 rm -f conftest.er1
24086 cat conftest.err >&5
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); } &&
24089 { ac_try='test -z "$ac_cxx_werror_flag"
24090 || test ! -s conftest.err'
24091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24092 (eval $ac_try) 2>&5
24093 ac_status=$?
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); }; } &&
24096 { ac_try='test -s conftest.$ac_objext'
24097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24098 (eval $ac_try) 2>&5
24099 ac_status=$?
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); }; }; then
24102 echo "$as_me:$LINENO: result: yes" >&5
24103 echo "${ECHO_T}yes" >&6
24104 cat >>confdefs.h <<\_ACEOF
24105 #define HAVE_HASH_MAP 1
24106 _ACEOF
24107
24108 cat >>confdefs.h <<\_ACEOF
24109 #define HAVE_STD_HASH_MAP 1
24110 _ACEOF
24111
24112 else
24113 echo "$as_me: failed program was:" >&5
24114 sed 's/^/| /' conftest.$ac_ext >&5
24115
24116 echo "$as_me:$LINENO: result: no" >&5
24117 echo "${ECHO_T}no" >&6
24118 fi
24119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24120
24121 fi
24122
24123
24124
24125 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24126 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24127 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24128 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24129 echo $ECHO_N "(cached) $ECHO_C" >&6
24130 fi
24131 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24132 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24133 else
24134 # Is the header compilable?
24135 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24136 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24137 cat >conftest.$ac_ext <<_ACEOF
24138 /* confdefs.h. */
24139 _ACEOF
24140 cat confdefs.h >>conftest.$ac_ext
24141 cat >>conftest.$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24143 $ac_includes_default
24144 #include <ext/hash_map>
24145 _ACEOF
24146 rm -f conftest.$ac_objext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24148 (eval $ac_compile) 2>conftest.er1
24149 ac_status=$?
24150 grep -v '^ *+' conftest.er1 >conftest.err
24151 rm -f conftest.er1
24152 cat conftest.err >&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); } &&
24155 { ac_try='test -z "$ac_cxx_werror_flag"
24156 || test ! -s conftest.err'
24157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24158 (eval $ac_try) 2>&5
24159 ac_status=$?
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); }; } &&
24162 { ac_try='test -s conftest.$ac_objext'
24163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164 (eval $ac_try) 2>&5
24165 ac_status=$?
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); }; }; then
24168 ac_header_compiler=yes
24169 else
24170 echo "$as_me: failed program was:" >&5
24171 sed 's/^/| /' conftest.$ac_ext >&5
24172
24173 ac_header_compiler=no
24174 fi
24175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24177 echo "${ECHO_T}$ac_header_compiler" >&6
24178
24179 # Is the header present?
24180 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24181 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24182 cat >conftest.$ac_ext <<_ACEOF
24183 /* confdefs.h. */
24184 _ACEOF
24185 cat confdefs.h >>conftest.$ac_ext
24186 cat >>conftest.$ac_ext <<_ACEOF
24187 /* end confdefs.h. */
24188 #include <ext/hash_map>
24189 _ACEOF
24190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24192 ac_status=$?
24193 grep -v '^ *+' conftest.er1 >conftest.err
24194 rm -f conftest.er1
24195 cat conftest.err >&5
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); } >/dev/null; then
24198 if test -s conftest.err; then
24199 ac_cpp_err=$ac_cxx_preproc_warn_flag
24200 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24201 else
24202 ac_cpp_err=
24203 fi
24204 else
24205 ac_cpp_err=yes
24206 fi
24207 if test -z "$ac_cpp_err"; then
24208 ac_header_preproc=yes
24209 else
24210 echo "$as_me: failed program was:" >&5
24211 sed 's/^/| /' conftest.$ac_ext >&5
24212
24213 ac_header_preproc=no
24214 fi
24215 rm -f conftest.err conftest.$ac_ext
24216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24217 echo "${ECHO_T}$ac_header_preproc" >&6
24218
24219 # So? What about this header?
24220 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24221 yes:no: )
24222 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24223 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24224 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24225 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24226 ac_header_preproc=yes
24227 ;;
24228 no:yes:* )
24229 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24230 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24231 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24232 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24233 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24234 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24235 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24236 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24237 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24238 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24239 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24240 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24241 (
24242 cat <<\_ASBOX
24243 ## ----------------------------------------- ##
24244 ## Report this to wx-dev@lists.wxwidgets.org ##
24245 ## ----------------------------------------- ##
24246 _ASBOX
24247 ) |
24248 sed "s/^/$as_me: WARNING: /" >&2
24249 ;;
24250 esac
24251 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24252 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24253 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24254 echo $ECHO_N "(cached) $ECHO_C" >&6
24255 else
24256 ac_cv_header_ext_hash_map=$ac_header_preproc
24257 fi
24258 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24259 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24260
24261 fi
24262 if test $ac_cv_header_ext_hash_map = yes; then
24263 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24264 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24265 cat >conftest.$ac_ext <<_ACEOF
24266 /* confdefs.h. */
24267 _ACEOF
24268 cat confdefs.h >>conftest.$ac_ext
24269 cat >>conftest.$ac_ext <<_ACEOF
24270 /* end confdefs.h. */
24271 #include <ext/hash_map>
24272 #include <ext/hash_set>
24273 int
24274 main ()
24275 {
24276 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24277 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24278 ;
24279 return 0;
24280 }
24281 _ACEOF
24282 rm -f conftest.$ac_objext
24283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24284 (eval $ac_compile) 2>conftest.er1
24285 ac_status=$?
24286 grep -v '^ *+' conftest.er1 >conftest.err
24287 rm -f conftest.er1
24288 cat conftest.err >&5
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); } &&
24291 { ac_try='test -z "$ac_cxx_werror_flag"
24292 || test ! -s conftest.err'
24293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24294 (eval $ac_try) 2>&5
24295 ac_status=$?
24296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24297 (exit $ac_status); }; } &&
24298 { ac_try='test -s conftest.$ac_objext'
24299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24300 (eval $ac_try) 2>&5
24301 ac_status=$?
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); }; }; then
24304 echo "$as_me:$LINENO: result: yes" >&5
24305 echo "${ECHO_T}yes" >&6
24306 cat >>confdefs.h <<\_ACEOF
24307 #define HAVE_EXT_HASH_MAP 1
24308 _ACEOF
24309
24310 cat >>confdefs.h <<\_ACEOF
24311 #define HAVE_GNU_CXX_HASH_MAP 1
24312 _ACEOF
24313
24314 else
24315 echo "$as_me: failed program was:" >&5
24316 sed 's/^/| /' conftest.$ac_ext >&5
24317
24318 echo "$as_me:$LINENO: result: no" >&5
24319 echo "${ECHO_T}no" >&6
24320 fi
24321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24322
24323 fi
24324
24325
24326 fi
24327
24328
24329 SEARCH_INCLUDE="\
24330 /usr/local/include \
24331 \
24332 /usr/Motif-2.1/include \
24333 /usr/Motif-1.2/include \
24334 /usr/include/Motif1.2 \
24335 \
24336 /usr/dt/include \
24337 /usr/openwin/include \
24338 \
24339 /usr/include/Xm \
24340 \
24341 /usr/X11R6/include \
24342 /usr/X11R6.4/include \
24343 /usr/X11R5/include \
24344 /usr/X11R4/include \
24345 \
24346 /usr/include/X11R6 \
24347 /usr/include/X11R5 \
24348 /usr/include/X11R4 \
24349 \
24350 /usr/local/X11R6/include \
24351 /usr/local/X11R5/include \
24352 /usr/local/X11R4/include \
24353 \
24354 /usr/local/include/X11R6 \
24355 /usr/local/include/X11R5 \
24356 /usr/local/include/X11R4 \
24357 \
24358 /usr/X11/include \
24359 /usr/include/X11 \
24360 /usr/local/X11/include \
24361 /usr/local/include/X11 \
24362 \
24363 /usr/XFree86/include/X11 \
24364 /usr/pkg/include \
24365 \
24366 /usr/openwin/share/include"
24367
24368 echo "$as_me:$LINENO: checking for libraries directory" >&5
24369 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24370
24371 case "${host}" in
24372 *-*-irix6* )
24373 if test "${wx_cv_std_libpath+set}" = set; then
24374 echo $ECHO_N "(cached) $ECHO_C" >&6
24375 else
24376
24377 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24378 for e in a so sl dylib dll.a; do
24379 libc="$d/libc.$e"
24380 if test -f $libc; then
24381 save_LIBS="$LIBS"
24382 LIBS="$libc"
24383 cat >conftest.$ac_ext <<_ACEOF
24384 int main() { return 0; }
24385 _ACEOF
24386 rm -f conftest.$ac_objext conftest$ac_exeext
24387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24388 (eval $ac_link) 2>conftest.er1
24389 ac_status=$?
24390 grep -v '^ *+' conftest.er1 >conftest.err
24391 rm -f conftest.er1
24392 cat conftest.err >&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); } &&
24395 { ac_try='test -z "$ac_cxx_werror_flag"
24396 || test ! -s conftest.err'
24397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24398 (eval $ac_try) 2>&5
24399 ac_status=$?
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); }; } &&
24402 { ac_try='test -s conftest$ac_exeext'
24403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24404 (eval $ac_try) 2>&5
24405 ac_status=$?
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); }; }; then
24408 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24409 else
24410 echo "$as_me: failed program was:" >&5
24411 sed 's/^/| /' conftest.$ac_ext >&5
24412
24413 fi
24414 rm -f conftest.err conftest.$ac_objext \
24415 conftest$ac_exeext conftest.$ac_ext
24416 LIBS="$save_LIBS"
24417 if test "x$wx_cv_std_libpath" != "x"; then
24418 break 2
24419 fi
24420 fi
24421 done
24422 done
24423 if test "x$wx_cv_std_libpath" = "x"; then
24424 wx_cv_std_libpath="lib"
24425 fi
24426
24427
24428 fi
24429
24430 ;;
24431
24432 *-*-solaris2* )
24433 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24434 wx_cv_std_libpath="lib/64"
24435 else
24436 wx_cv_std_libpath="lib"
24437 fi
24438 ;;
24439
24440 *-*-linux* )
24441 if test "$ac_cv_sizeof_void_p" = 8 -a \
24442 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24443 wx_cv_std_libpath="lib64"
24444 else
24445 wx_cv_std_libpath="lib"
24446 fi
24447 ;;
24448
24449 *)
24450 wx_cv_std_libpath="lib";
24451 ;;
24452 esac
24453
24454 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24455 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24456
24457 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24458
24459 if test "$build" != "$host" -a "$GCC" = yes; then
24460 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24461 cross_root=`dirname $cross_root`
24462 cross_root=`dirname $cross_root`
24463
24464 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24465 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24466 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24467
24468 if test -z "$PKG_CONFIG_PATH"; then
24469 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24470 export PKG_CONFIG_PATH
24471 fi
24472
24473 if test -z "$x_includes" -o "$x_includes" = NONE; then
24474
24475 ac_find_includes=
24476 for ac_dir in $SEARCH_INCLUDE /usr/include;
24477 do
24478 if test -f "$ac_dir/X11/Intrinsic.h"; then
24479 ac_find_includes=$ac_dir
24480 break
24481 fi
24482 done
24483
24484 x_includes=$ac_find_includes
24485 fi
24486 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24487
24488 ac_find_libraries=
24489 for ac_dir in $SEARCH_LIB;
24490 do
24491 for ac_extension in a so sl dylib dll.a; do
24492 if test -f "$ac_dir/libXt.$ac_extension"; then
24493 ac_find_libraries=$ac_dir
24494 break 2
24495 fi
24496 done
24497 done
24498
24499 x_libraries=$ac_find_libraries
24500 fi
24501 fi
24502 fi
24503
24504
24505 cat >confcache <<\_ACEOF
24506 # This file is a shell script that caches the results of configure
24507 # tests run on this system so they can be shared between configure
24508 # scripts and configure runs, see configure's option --config-cache.
24509 # It is not useful on other systems. If it contains results you don't
24510 # want to keep, you may remove or edit it.
24511 #
24512 # config.status only pays attention to the cache file if you give it
24513 # the --recheck option to rerun configure.
24514 #
24515 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24516 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24517 # following values.
24518
24519 _ACEOF
24520
24521 # The following way of writing the cache mishandles newlines in values,
24522 # but we know of no workaround that is simple, portable, and efficient.
24523 # So, don't put newlines in cache variables' values.
24524 # Ultrix sh set writes to stderr and can't be redirected directly,
24525 # and sets the high bit in the cache file unless we assign to the vars.
24526 {
24527 (set) 2>&1 |
24528 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24529 *ac_space=\ *)
24530 # `set' does not quote correctly, so add quotes (double-quote
24531 # substitution turns \\\\ into \\, and sed turns \\ into \).
24532 sed -n \
24533 "s/'/'\\\\''/g;
24534 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24535 ;;
24536 *)
24537 # `set' quotes correctly as required by POSIX, so do not add quotes.
24538 sed -n \
24539 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24540 ;;
24541 esac;
24542 } |
24543 sed '
24544 t clear
24545 : clear
24546 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24547 t end
24548 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24549 : end' >>confcache
24550 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24551 if test -w $cache_file; then
24552 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24553 cat confcache >$cache_file
24554 else
24555 echo "not updating unwritable cache $cache_file"
24556 fi
24557 fi
24558 rm -f confcache
24559
24560 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24561 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24562 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24563 if test "${wx_cv_lib_glibc21+set}" = set; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24565 else
24566
24567 cat >conftest.$ac_ext <<_ACEOF
24568 /* confdefs.h. */
24569 _ACEOF
24570 cat confdefs.h >>conftest.$ac_ext
24571 cat >>conftest.$ac_ext <<_ACEOF
24572 /* end confdefs.h. */
24573 #include <features.h>
24574 int
24575 main ()
24576 {
24577
24578 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24579 not glibc 2.1
24580 #endif
24581
24582 ;
24583 return 0;
24584 }
24585 _ACEOF
24586 rm -f conftest.$ac_objext
24587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24588 (eval $ac_compile) 2>conftest.er1
24589 ac_status=$?
24590 grep -v '^ *+' conftest.er1 >conftest.err
24591 rm -f conftest.er1
24592 cat conftest.err >&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); } &&
24595 { ac_try='test -z "$ac_cxx_werror_flag"
24596 || test ! -s conftest.err'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24599 ac_status=$?
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; } &&
24602 { ac_try='test -s conftest.$ac_objext'
24603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24604 (eval $ac_try) 2>&5
24605 ac_status=$?
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); }; }; then
24608
24609 wx_cv_lib_glibc21=yes
24610
24611 else
24612 echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24614
24615
24616 wx_cv_lib_glibc21=no
24617
24618
24619 fi
24620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24621
24622 fi
24623 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24624 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24625 if test "$wx_cv_lib_glibc21" = "yes"; then
24626 cat >>confdefs.h <<\_ACEOF
24627 #define wxHAVE_GLIBC2 1
24628 _ACEOF
24629
24630 fi
24631 fi
24632
24633 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24634 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24635 cat >>confdefs.h <<\_ACEOF
24636 #define _GNU_SOURCE 1
24637 _ACEOF
24638
24639 fi
24640 fi
24641
24642 have_cos=0
24643 have_floor=0
24644
24645 for ac_func in cos
24646 do
24647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24648 echo "$as_me:$LINENO: checking for $ac_func" >&5
24649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24650 if eval "test \"\${$as_ac_var+set}\" = set"; then
24651 echo $ECHO_N "(cached) $ECHO_C" >&6
24652 else
24653 cat >conftest.$ac_ext <<_ACEOF
24654 /* confdefs.h. */
24655 _ACEOF
24656 cat confdefs.h >>conftest.$ac_ext
24657 cat >>conftest.$ac_ext <<_ACEOF
24658 /* end confdefs.h. */
24659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24661 #define $ac_func innocuous_$ac_func
24662
24663 /* System header to define __stub macros and hopefully few prototypes,
24664 which can conflict with char $ac_func (); below.
24665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24666 <limits.h> exists even on freestanding compilers. */
24667
24668 #ifdef __STDC__
24669 # include <limits.h>
24670 #else
24671 # include <assert.h>
24672 #endif
24673
24674 #undef $ac_func
24675
24676 /* Override any gcc2 internal prototype to avoid an error. */
24677 #ifdef __cplusplus
24678 extern "C"
24679 {
24680 #endif
24681 /* We use char because int might match the return type of a gcc2
24682 builtin and then its argument prototype would still apply. */
24683 char $ac_func ();
24684 /* The GNU C library defines this for functions which it implements
24685 to always fail with ENOSYS. Some functions are actually named
24686 something starting with __ and the normal name is an alias. */
24687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24688 choke me
24689 #else
24690 char (*f) () = $ac_func;
24691 #endif
24692 #ifdef __cplusplus
24693 }
24694 #endif
24695
24696 int
24697 main ()
24698 {
24699 return f != $ac_func;
24700 ;
24701 return 0;
24702 }
24703 _ACEOF
24704 rm -f conftest.$ac_objext conftest$ac_exeext
24705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24706 (eval $ac_link) 2>conftest.er1
24707 ac_status=$?
24708 grep -v '^ *+' conftest.er1 >conftest.err
24709 rm -f conftest.er1
24710 cat conftest.err >&5
24711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24712 (exit $ac_status); } &&
24713 { ac_try='test -z "$ac_cxx_werror_flag"
24714 || test ! -s conftest.err'
24715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24716 (eval $ac_try) 2>&5
24717 ac_status=$?
24718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24719 (exit $ac_status); }; } &&
24720 { ac_try='test -s conftest$ac_exeext'
24721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24722 (eval $ac_try) 2>&5
24723 ac_status=$?
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); }; }; then
24726 eval "$as_ac_var=yes"
24727 else
24728 echo "$as_me: failed program was:" >&5
24729 sed 's/^/| /' conftest.$ac_ext >&5
24730
24731 eval "$as_ac_var=no"
24732 fi
24733 rm -f conftest.err conftest.$ac_objext \
24734 conftest$ac_exeext conftest.$ac_ext
24735 fi
24736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24738 if test `eval echo '${'$as_ac_var'}'` = yes; then
24739 cat >>confdefs.h <<_ACEOF
24740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24741 _ACEOF
24742 have_cos=1
24743 fi
24744 done
24745
24746
24747 for ac_func in floor
24748 do
24749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24750 echo "$as_me:$LINENO: checking for $ac_func" >&5
24751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24752 if eval "test \"\${$as_ac_var+set}\" = set"; then
24753 echo $ECHO_N "(cached) $ECHO_C" >&6
24754 else
24755 cat >conftest.$ac_ext <<_ACEOF
24756 /* confdefs.h. */
24757 _ACEOF
24758 cat confdefs.h >>conftest.$ac_ext
24759 cat >>conftest.$ac_ext <<_ACEOF
24760 /* end confdefs.h. */
24761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24763 #define $ac_func innocuous_$ac_func
24764
24765 /* System header to define __stub macros and hopefully few prototypes,
24766 which can conflict with char $ac_func (); below.
24767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24768 <limits.h> exists even on freestanding compilers. */
24769
24770 #ifdef __STDC__
24771 # include <limits.h>
24772 #else
24773 # include <assert.h>
24774 #endif
24775
24776 #undef $ac_func
24777
24778 /* Override any gcc2 internal prototype to avoid an error. */
24779 #ifdef __cplusplus
24780 extern "C"
24781 {
24782 #endif
24783 /* We use char because int might match the return type of a gcc2
24784 builtin and then its argument prototype would still apply. */
24785 char $ac_func ();
24786 /* The GNU C library defines this for functions which it implements
24787 to always fail with ENOSYS. Some functions are actually named
24788 something starting with __ and the normal name is an alias. */
24789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24790 choke me
24791 #else
24792 char (*f) () = $ac_func;
24793 #endif
24794 #ifdef __cplusplus
24795 }
24796 #endif
24797
24798 int
24799 main ()
24800 {
24801 return f != $ac_func;
24802 ;
24803 return 0;
24804 }
24805 _ACEOF
24806 rm -f conftest.$ac_objext conftest$ac_exeext
24807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24808 (eval $ac_link) 2>conftest.er1
24809 ac_status=$?
24810 grep -v '^ *+' conftest.er1 >conftest.err
24811 rm -f conftest.er1
24812 cat conftest.err >&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); } &&
24815 { ac_try='test -z "$ac_cxx_werror_flag"
24816 || test ! -s conftest.err'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24819 ac_status=$?
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; } &&
24822 { ac_try='test -s conftest$ac_exeext'
24823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24824 (eval $ac_try) 2>&5
24825 ac_status=$?
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); }; }; then
24828 eval "$as_ac_var=yes"
24829 else
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.$ac_ext >&5
24832
24833 eval "$as_ac_var=no"
24834 fi
24835 rm -f conftest.err conftest.$ac_objext \
24836 conftest$ac_exeext conftest.$ac_ext
24837 fi
24838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24840 if test `eval echo '${'$as_ac_var'}'` = yes; then
24841 cat >>confdefs.h <<_ACEOF
24842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24843 _ACEOF
24844 have_floor=1
24845 fi
24846 done
24847
24848 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24849 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24850 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24851 echo "$as_me:$LINENO: result: yes" >&5
24852 echo "${ECHO_T}yes" >&6
24853 else
24854 echo "$as_me:$LINENO: result: no" >&5
24855 echo "${ECHO_T}no" >&6
24856 LIBS="$LIBS -lm"
24857 # use different functions to avoid configure caching
24858 have_sin=0
24859 have_ceil=0
24860
24861 for ac_func in sin
24862 do
24863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24864 echo "$as_me:$LINENO: checking for $ac_func" >&5
24865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24866 if eval "test \"\${$as_ac_var+set}\" = set"; then
24867 echo $ECHO_N "(cached) $ECHO_C" >&6
24868 else
24869 cat >conftest.$ac_ext <<_ACEOF
24870 /* confdefs.h. */
24871 _ACEOF
24872 cat confdefs.h >>conftest.$ac_ext
24873 cat >>conftest.$ac_ext <<_ACEOF
24874 /* end confdefs.h. */
24875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24877 #define $ac_func innocuous_$ac_func
24878
24879 /* System header to define __stub macros and hopefully few prototypes,
24880 which can conflict with char $ac_func (); below.
24881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24882 <limits.h> exists even on freestanding compilers. */
24883
24884 #ifdef __STDC__
24885 # include <limits.h>
24886 #else
24887 # include <assert.h>
24888 #endif
24889
24890 #undef $ac_func
24891
24892 /* Override any gcc2 internal prototype to avoid an error. */
24893 #ifdef __cplusplus
24894 extern "C"
24895 {
24896 #endif
24897 /* We use char because int might match the return type of a gcc2
24898 builtin and then its argument prototype would still apply. */
24899 char $ac_func ();
24900 /* The GNU C library defines this for functions which it implements
24901 to always fail with ENOSYS. Some functions are actually named
24902 something starting with __ and the normal name is an alias. */
24903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24904 choke me
24905 #else
24906 char (*f) () = $ac_func;
24907 #endif
24908 #ifdef __cplusplus
24909 }
24910 #endif
24911
24912 int
24913 main ()
24914 {
24915 return f != $ac_func;
24916 ;
24917 return 0;
24918 }
24919 _ACEOF
24920 rm -f conftest.$ac_objext conftest$ac_exeext
24921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24922 (eval $ac_link) 2>conftest.er1
24923 ac_status=$?
24924 grep -v '^ *+' conftest.er1 >conftest.err
24925 rm -f conftest.er1
24926 cat conftest.err >&5
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); } &&
24929 { ac_try='test -z "$ac_cxx_werror_flag"
24930 || test ! -s conftest.err'
24931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24932 (eval $ac_try) 2>&5
24933 ac_status=$?
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); }; } &&
24936 { ac_try='test -s conftest$ac_exeext'
24937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938 (eval $ac_try) 2>&5
24939 ac_status=$?
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); }; }; then
24942 eval "$as_ac_var=yes"
24943 else
24944 echo "$as_me: failed program was:" >&5
24945 sed 's/^/| /' conftest.$ac_ext >&5
24946
24947 eval "$as_ac_var=no"
24948 fi
24949 rm -f conftest.err conftest.$ac_objext \
24950 conftest$ac_exeext conftest.$ac_ext
24951 fi
24952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24954 if test `eval echo '${'$as_ac_var'}'` = yes; then
24955 cat >>confdefs.h <<_ACEOF
24956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24957 _ACEOF
24958 have_sin=1
24959 fi
24960 done
24961
24962
24963 for ac_func in ceil
24964 do
24965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24966 echo "$as_me:$LINENO: checking for $ac_func" >&5
24967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24968 if eval "test \"\${$as_ac_var+set}\" = set"; then
24969 echo $ECHO_N "(cached) $ECHO_C" >&6
24970 else
24971 cat >conftest.$ac_ext <<_ACEOF
24972 /* confdefs.h. */
24973 _ACEOF
24974 cat confdefs.h >>conftest.$ac_ext
24975 cat >>conftest.$ac_ext <<_ACEOF
24976 /* end confdefs.h. */
24977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24979 #define $ac_func innocuous_$ac_func
24980
24981 /* System header to define __stub macros and hopefully few prototypes,
24982 which can conflict with char $ac_func (); below.
24983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24984 <limits.h> exists even on freestanding compilers. */
24985
24986 #ifdef __STDC__
24987 # include <limits.h>
24988 #else
24989 # include <assert.h>
24990 #endif
24991
24992 #undef $ac_func
24993
24994 /* Override any gcc2 internal prototype to avoid an error. */
24995 #ifdef __cplusplus
24996 extern "C"
24997 {
24998 #endif
24999 /* We use char because int might match the return type of a gcc2
25000 builtin and then its argument prototype would still apply. */
25001 char $ac_func ();
25002 /* The GNU C library defines this for functions which it implements
25003 to always fail with ENOSYS. Some functions are actually named
25004 something starting with __ and the normal name is an alias. */
25005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25006 choke me
25007 #else
25008 char (*f) () = $ac_func;
25009 #endif
25010 #ifdef __cplusplus
25011 }
25012 #endif
25013
25014 int
25015 main ()
25016 {
25017 return f != $ac_func;
25018 ;
25019 return 0;
25020 }
25021 _ACEOF
25022 rm -f conftest.$ac_objext conftest$ac_exeext
25023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25024 (eval $ac_link) 2>conftest.er1
25025 ac_status=$?
25026 grep -v '^ *+' conftest.er1 >conftest.err
25027 rm -f conftest.er1
25028 cat conftest.err >&5
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); } &&
25031 { ac_try='test -z "$ac_cxx_werror_flag"
25032 || test ! -s conftest.err'
25033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25034 (eval $ac_try) 2>&5
25035 ac_status=$?
25036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25037 (exit $ac_status); }; } &&
25038 { ac_try='test -s conftest$ac_exeext'
25039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25040 (eval $ac_try) 2>&5
25041 ac_status=$?
25042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25043 (exit $ac_status); }; }; then
25044 eval "$as_ac_var=yes"
25045 else
25046 echo "$as_me: failed program was:" >&5
25047 sed 's/^/| /' conftest.$ac_ext >&5
25048
25049 eval "$as_ac_var=no"
25050 fi
25051 rm -f conftest.err conftest.$ac_objext \
25052 conftest$ac_exeext conftest.$ac_ext
25053 fi
25054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25056 if test `eval echo '${'$as_ac_var'}'` = yes; then
25057 cat >>confdefs.h <<_ACEOF
25058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25059 _ACEOF
25060 have_ceil=1
25061 fi
25062 done
25063
25064 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25065 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25066 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25067 echo "$as_me:$LINENO: result: yes" >&5
25068 echo "${ECHO_T}yes" >&6
25069 else
25070 echo "$as_me:$LINENO: result: no" >&5
25071 echo "${ECHO_T}no" >&6
25072 # not sure we should warn the user, crash, etc.
25073 fi
25074 fi
25075
25076
25077
25078 if test "$wxUSE_REGEX" != "no"; then
25079 cat >>confdefs.h <<\_ACEOF
25080 #define wxUSE_REGEX 1
25081 _ACEOF
25082
25083
25084 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25085 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25086 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25087 wxUSE_REGEX=builtin
25088 fi
25089
25090 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25091 if test "${ac_cv_header_regex_h+set}" = set; then
25092 echo "$as_me:$LINENO: checking for regex.h" >&5
25093 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25094 if test "${ac_cv_header_regex_h+set}" = set; then
25095 echo $ECHO_N "(cached) $ECHO_C" >&6
25096 fi
25097 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25098 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25099 else
25100 # Is the header compilable?
25101 echo "$as_me:$LINENO: checking regex.h usability" >&5
25102 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25103 cat >conftest.$ac_ext <<_ACEOF
25104 /* confdefs.h. */
25105 _ACEOF
25106 cat confdefs.h >>conftest.$ac_ext
25107 cat >>conftest.$ac_ext <<_ACEOF
25108 /* end confdefs.h. */
25109 $ac_includes_default
25110 #include <regex.h>
25111 _ACEOF
25112 rm -f conftest.$ac_objext
25113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25114 (eval $ac_compile) 2>conftest.er1
25115 ac_status=$?
25116 grep -v '^ *+' conftest.er1 >conftest.err
25117 rm -f conftest.er1
25118 cat conftest.err >&5
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); } &&
25121 { ac_try='test -z "$ac_cxx_werror_flag"
25122 || test ! -s conftest.err'
25123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25124 (eval $ac_try) 2>&5
25125 ac_status=$?
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); }; } &&
25128 { ac_try='test -s conftest.$ac_objext'
25129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25130 (eval $ac_try) 2>&5
25131 ac_status=$?
25132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133 (exit $ac_status); }; }; then
25134 ac_header_compiler=yes
25135 else
25136 echo "$as_me: failed program was:" >&5
25137 sed 's/^/| /' conftest.$ac_ext >&5
25138
25139 ac_header_compiler=no
25140 fi
25141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25143 echo "${ECHO_T}$ac_header_compiler" >&6
25144
25145 # Is the header present?
25146 echo "$as_me:$LINENO: checking regex.h presence" >&5
25147 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25148 cat >conftest.$ac_ext <<_ACEOF
25149 /* confdefs.h. */
25150 _ACEOF
25151 cat confdefs.h >>conftest.$ac_ext
25152 cat >>conftest.$ac_ext <<_ACEOF
25153 /* end confdefs.h. */
25154 #include <regex.h>
25155 _ACEOF
25156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25157 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25158 ac_status=$?
25159 grep -v '^ *+' conftest.er1 >conftest.err
25160 rm -f conftest.er1
25161 cat conftest.err >&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } >/dev/null; then
25164 if test -s conftest.err; then
25165 ac_cpp_err=$ac_cxx_preproc_warn_flag
25166 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25167 else
25168 ac_cpp_err=
25169 fi
25170 else
25171 ac_cpp_err=yes
25172 fi
25173 if test -z "$ac_cpp_err"; then
25174 ac_header_preproc=yes
25175 else
25176 echo "$as_me: failed program was:" >&5
25177 sed 's/^/| /' conftest.$ac_ext >&5
25178
25179 ac_header_preproc=no
25180 fi
25181 rm -f conftest.err conftest.$ac_ext
25182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25183 echo "${ECHO_T}$ac_header_preproc" >&6
25184
25185 # So? What about this header?
25186 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25187 yes:no: )
25188 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25189 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25190 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25191 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25192 ac_header_preproc=yes
25193 ;;
25194 no:yes:* )
25195 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25196 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25197 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25198 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25199 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25200 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25201 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25202 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25203 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25204 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25205 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25206 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25207 (
25208 cat <<\_ASBOX
25209 ## ----------------------------------------- ##
25210 ## Report this to wx-dev@lists.wxwidgets.org ##
25211 ## ----------------------------------------- ##
25212 _ASBOX
25213 ) |
25214 sed "s/^/$as_me: WARNING: /" >&2
25215 ;;
25216 esac
25217 echo "$as_me:$LINENO: checking for regex.h" >&5
25218 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25219 if test "${ac_cv_header_regex_h+set}" = set; then
25220 echo $ECHO_N "(cached) $ECHO_C" >&6
25221 else
25222 ac_cv_header_regex_h=$ac_header_preproc
25223 fi
25224 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25225 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25226
25227 fi
25228 if test $ac_cv_header_regex_h = yes; then
25229
25230
25231 for ac_func in regcomp re_search
25232 do
25233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25234 echo "$as_me:$LINENO: checking for $ac_func" >&5
25235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25236 if eval "test \"\${$as_ac_var+set}\" = set"; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25238 else
25239 cat >conftest.$ac_ext <<_ACEOF
25240 /* confdefs.h. */
25241 _ACEOF
25242 cat confdefs.h >>conftest.$ac_ext
25243 cat >>conftest.$ac_ext <<_ACEOF
25244 /* end confdefs.h. */
25245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25247 #define $ac_func innocuous_$ac_func
25248
25249 /* System header to define __stub macros and hopefully few prototypes,
25250 which can conflict with char $ac_func (); below.
25251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25252 <limits.h> exists even on freestanding compilers. */
25253
25254 #ifdef __STDC__
25255 # include <limits.h>
25256 #else
25257 # include <assert.h>
25258 #endif
25259
25260 #undef $ac_func
25261
25262 /* Override any gcc2 internal prototype to avoid an error. */
25263 #ifdef __cplusplus
25264 extern "C"
25265 {
25266 #endif
25267 /* We use char because int might match the return type of a gcc2
25268 builtin and then its argument prototype would still apply. */
25269 char $ac_func ();
25270 /* The GNU C library defines this for functions which it implements
25271 to always fail with ENOSYS. Some functions are actually named
25272 something starting with __ and the normal name is an alias. */
25273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25274 choke me
25275 #else
25276 char (*f) () = $ac_func;
25277 #endif
25278 #ifdef __cplusplus
25279 }
25280 #endif
25281
25282 int
25283 main ()
25284 {
25285 return f != $ac_func;
25286 ;
25287 return 0;
25288 }
25289 _ACEOF
25290 rm -f conftest.$ac_objext conftest$ac_exeext
25291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25292 (eval $ac_link) 2>conftest.er1
25293 ac_status=$?
25294 grep -v '^ *+' conftest.er1 >conftest.err
25295 rm -f conftest.er1
25296 cat conftest.err >&5
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); } &&
25299 { ac_try='test -z "$ac_cxx_werror_flag"
25300 || test ! -s conftest.err'
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); }; } &&
25306 { ac_try='test -s conftest$ac_exeext'
25307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25308 (eval $ac_try) 2>&5
25309 ac_status=$?
25310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25311 (exit $ac_status); }; }; then
25312 eval "$as_ac_var=yes"
25313 else
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.$ac_ext >&5
25316
25317 eval "$as_ac_var=no"
25318 fi
25319 rm -f conftest.err conftest.$ac_objext \
25320 conftest$ac_exeext conftest.$ac_ext
25321 fi
25322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25324 if test `eval echo '${'$as_ac_var'}'` = yes; then
25325 cat >>confdefs.h <<_ACEOF
25326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25327 _ACEOF
25328
25329 fi
25330 done
25331
25332 fi
25333
25334
25335
25336 if test "x$ac_cv_func_regcomp" != "xyes"; then
25337 if test "$wxUSE_REGEX" = "sys" ; then
25338 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25339 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25340 { (exit 1); exit 1; }; }
25341 else
25342 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25343 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25344 wxUSE_REGEX=builtin
25345 fi
25346 else
25347 wxUSE_REGEX=sys
25348 cat >>confdefs.h <<\_ACEOF
25349 #define WX_NO_REGEX_ADVANCED 1
25350 _ACEOF
25351
25352 fi
25353 fi
25354 fi
25355
25356
25357 ZLIB_LINK=
25358 if test "$wxUSE_ZLIB" != "no" ; then
25359 cat >>confdefs.h <<\_ACEOF
25360 #define wxUSE_ZLIB 1
25361 _ACEOF
25362
25363
25364 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25365 if test "$USE_DARWIN" = 1; then
25366 system_zlib_h_ok="yes"
25367 else
25368 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25369 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25370 if test "${ac_cv_header_zlib_h+set}" = set; then
25371 echo $ECHO_N "(cached) $ECHO_C" >&6
25372 else
25373 if test "$cross_compiling" = yes; then
25374 unset ac_cv_header_zlib_h
25375
25376 else
25377 cat >conftest.$ac_ext <<_ACEOF
25378 /* confdefs.h. */
25379 _ACEOF
25380 cat confdefs.h >>conftest.$ac_ext
25381 cat >>conftest.$ac_ext <<_ACEOF
25382 /* end confdefs.h. */
25383
25384 #include <zlib.h>
25385 #include <stdio.h>
25386
25387 int main()
25388 {
25389 FILE *f=fopen("conftestval", "w");
25390 if (!f) exit(1);
25391 fprintf(f, "%s",
25392 ZLIB_VERSION[0] == '1' &&
25393 (ZLIB_VERSION[2] > '1' ||
25394 (ZLIB_VERSION[2] == '1' &&
25395 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25396 exit(0);
25397 }
25398
25399 _ACEOF
25400 rm -f conftest$ac_exeext
25401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25402 (eval $ac_link) 2>&5
25403 ac_status=$?
25404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25407 (eval $ac_try) 2>&5
25408 ac_status=$?
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); }; }; then
25411 ac_cv_header_zlib_h=`cat conftestval`
25412 else
25413 echo "$as_me: program exited with status $ac_status" >&5
25414 echo "$as_me: failed program was:" >&5
25415 sed 's/^/| /' conftest.$ac_ext >&5
25416
25417 ( exit $ac_status )
25418 ac_cv_header_zlib_h=no
25419 fi
25420 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25421 fi
25422
25423 fi
25424 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25425 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25426 if test "${ac_cv_header_zlib_h+set}" = set; then
25427 echo "$as_me:$LINENO: checking for zlib.h" >&5
25428 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25429 if test "${ac_cv_header_zlib_h+set}" = set; then
25430 echo $ECHO_N "(cached) $ECHO_C" >&6
25431 fi
25432 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25433 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25434 else
25435 # Is the header compilable?
25436 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25437 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25438 cat >conftest.$ac_ext <<_ACEOF
25439 /* confdefs.h. */
25440 _ACEOF
25441 cat confdefs.h >>conftest.$ac_ext
25442 cat >>conftest.$ac_ext <<_ACEOF
25443 /* end confdefs.h. */
25444 $ac_includes_default
25445 #include <zlib.h>
25446 _ACEOF
25447 rm -f conftest.$ac_objext
25448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25449 (eval $ac_compile) 2>conftest.er1
25450 ac_status=$?
25451 grep -v '^ *+' conftest.er1 >conftest.err
25452 rm -f conftest.er1
25453 cat conftest.err >&5
25454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25455 (exit $ac_status); } &&
25456 { ac_try='test -z "$ac_cxx_werror_flag"
25457 || test ! -s conftest.err'
25458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459 (eval $ac_try) 2>&5
25460 ac_status=$?
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); }; } &&
25463 { ac_try='test -s conftest.$ac_objext'
25464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25465 (eval $ac_try) 2>&5
25466 ac_status=$?
25467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25468 (exit $ac_status); }; }; then
25469 ac_header_compiler=yes
25470 else
25471 echo "$as_me: failed program was:" >&5
25472 sed 's/^/| /' conftest.$ac_ext >&5
25473
25474 ac_header_compiler=no
25475 fi
25476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25477 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25478 echo "${ECHO_T}$ac_header_compiler" >&6
25479
25480 # Is the header present?
25481 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25482 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25483 cat >conftest.$ac_ext <<_ACEOF
25484 /* confdefs.h. */
25485 _ACEOF
25486 cat confdefs.h >>conftest.$ac_ext
25487 cat >>conftest.$ac_ext <<_ACEOF
25488 /* end confdefs.h. */
25489 #include <zlib.h>
25490 _ACEOF
25491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25492 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25493 ac_status=$?
25494 grep -v '^ *+' conftest.er1 >conftest.err
25495 rm -f conftest.er1
25496 cat conftest.err >&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); } >/dev/null; then
25499 if test -s conftest.err; then
25500 ac_cpp_err=$ac_cxx_preproc_warn_flag
25501 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25502 else
25503 ac_cpp_err=
25504 fi
25505 else
25506 ac_cpp_err=yes
25507 fi
25508 if test -z "$ac_cpp_err"; then
25509 ac_header_preproc=yes
25510 else
25511 echo "$as_me: failed program was:" >&5
25512 sed 's/^/| /' conftest.$ac_ext >&5
25513
25514 ac_header_preproc=no
25515 fi
25516 rm -f conftest.err conftest.$ac_ext
25517 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25518 echo "${ECHO_T}$ac_header_preproc" >&6
25519
25520 # So? What about this header?
25521 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25522 yes:no: )
25523 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25524 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25525 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25526 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25527 ac_header_preproc=yes
25528 ;;
25529 no:yes:* )
25530 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25531 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25532 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25533 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25534 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25535 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25536 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25537 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25538 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25539 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25540 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25541 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25542 (
25543 cat <<\_ASBOX
25544 ## ----------------------------------------- ##
25545 ## Report this to wx-dev@lists.wxwidgets.org ##
25546 ## ----------------------------------------- ##
25547 _ASBOX
25548 ) |
25549 sed "s/^/$as_me: WARNING: /" >&2
25550 ;;
25551 esac
25552 echo "$as_me:$LINENO: checking for zlib.h" >&5
25553 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25554 if test "${ac_cv_header_zlib_h+set}" = set; then
25555 echo $ECHO_N "(cached) $ECHO_C" >&6
25556 else
25557 ac_cv_header_zlib_h=$ac_header_preproc
25558 fi
25559 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25560 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25561
25562 fi
25563
25564
25565
25566 system_zlib_h_ok=$ac_cv_header_zlib_h
25567 fi
25568
25569 if test "$system_zlib_h_ok" = "yes"; then
25570 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25571 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25572 if test "${ac_cv_lib_z_deflate+set}" = set; then
25573 echo $ECHO_N "(cached) $ECHO_C" >&6
25574 else
25575 ac_check_lib_save_LIBS=$LIBS
25576 LIBS="-lz $LIBS"
25577 cat >conftest.$ac_ext <<_ACEOF
25578 /* confdefs.h. */
25579 _ACEOF
25580 cat confdefs.h >>conftest.$ac_ext
25581 cat >>conftest.$ac_ext <<_ACEOF
25582 /* end confdefs.h. */
25583
25584 /* Override any gcc2 internal prototype to avoid an error. */
25585 #ifdef __cplusplus
25586 extern "C"
25587 #endif
25588 /* We use char because int might match the return type of a gcc2
25589 builtin and then its argument prototype would still apply. */
25590 char deflate ();
25591 int
25592 main ()
25593 {
25594 deflate ();
25595 ;
25596 return 0;
25597 }
25598 _ACEOF
25599 rm -f conftest.$ac_objext conftest$ac_exeext
25600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25601 (eval $ac_link) 2>conftest.er1
25602 ac_status=$?
25603 grep -v '^ *+' conftest.er1 >conftest.err
25604 rm -f conftest.er1
25605 cat conftest.err >&5
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); } &&
25608 { ac_try='test -z "$ac_cxx_werror_flag"
25609 || test ! -s conftest.err'
25610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25611 (eval $ac_try) 2>&5
25612 ac_status=$?
25613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25614 (exit $ac_status); }; } &&
25615 { ac_try='test -s conftest$ac_exeext'
25616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25617 (eval $ac_try) 2>&5
25618 ac_status=$?
25619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25620 (exit $ac_status); }; }; then
25621 ac_cv_lib_z_deflate=yes
25622 else
25623 echo "$as_me: failed program was:" >&5
25624 sed 's/^/| /' conftest.$ac_ext >&5
25625
25626 ac_cv_lib_z_deflate=no
25627 fi
25628 rm -f conftest.err conftest.$ac_objext \
25629 conftest$ac_exeext conftest.$ac_ext
25630 LIBS=$ac_check_lib_save_LIBS
25631 fi
25632 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25633 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25634 if test $ac_cv_lib_z_deflate = yes; then
25635 ZLIB_LINK=" -lz"
25636 fi
25637
25638 fi
25639
25640 if test "x$ZLIB_LINK" = "x" ; then
25641 if test "$wxUSE_ZLIB" = "sys" ; then
25642 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25643 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25644 { (exit 1); exit 1; }; }
25645 else
25646 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25647 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25648 wxUSE_ZLIB=builtin
25649 fi
25650 else
25651 wxUSE_ZLIB=sys
25652 fi
25653 fi
25654 fi
25655
25656
25657 PNG_LINK=
25658 if test "$wxUSE_LIBPNG" != "no" ; then
25659 cat >>confdefs.h <<\_ACEOF
25660 #define wxUSE_LIBPNG 1
25661 _ACEOF
25662
25663
25664 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25665 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25666 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25667 wxUSE_LIBPNG=sys
25668 fi
25669
25670 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25671 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25672 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25673 wxUSE_LIBPNG=builtin
25674 fi
25675
25676 if test "$wxUSE_MGL" != 1 ; then
25677 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25678 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25679 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25680 if test "${ac_cv_header_png_h+set}" = set; then
25681 echo $ECHO_N "(cached) $ECHO_C" >&6
25682 else
25683 if test "$cross_compiling" = yes; then
25684 unset ac_cv_header_png_h
25685
25686 else
25687 cat >conftest.$ac_ext <<_ACEOF
25688 /* confdefs.h. */
25689 _ACEOF
25690 cat confdefs.h >>conftest.$ac_ext
25691 cat >>conftest.$ac_ext <<_ACEOF
25692 /* end confdefs.h. */
25693
25694 #include <png.h>
25695 #include <stdio.h>
25696
25697 int main()
25698 {
25699 FILE *f=fopen("conftestval", "w");
25700 if (!f) exit(1);
25701 fprintf(f, "%s",
25702 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25703 exit(0);
25704 }
25705
25706 _ACEOF
25707 rm -f conftest$ac_exeext
25708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25709 (eval $ac_link) 2>&5
25710 ac_status=$?
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25714 (eval $ac_try) 2>&5
25715 ac_status=$?
25716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25717 (exit $ac_status); }; }; then
25718 ac_cv_header_png_h=`cat conftestval`
25719 else
25720 echo "$as_me: program exited with status $ac_status" >&5
25721 echo "$as_me: failed program was:" >&5
25722 sed 's/^/| /' conftest.$ac_ext >&5
25723
25724 ( exit $ac_status )
25725 ac_cv_header_png_h=no
25726 fi
25727 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25728 fi
25729
25730 fi
25731 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25732 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25733 if test "${ac_cv_header_png_h+set}" = set; then
25734 echo "$as_me:$LINENO: checking for png.h" >&5
25735 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25736 if test "${ac_cv_header_png_h+set}" = set; then
25737 echo $ECHO_N "(cached) $ECHO_C" >&6
25738 fi
25739 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25740 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25741 else
25742 # Is the header compilable?
25743 echo "$as_me:$LINENO: checking png.h usability" >&5
25744 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25745 cat >conftest.$ac_ext <<_ACEOF
25746 /* confdefs.h. */
25747 _ACEOF
25748 cat confdefs.h >>conftest.$ac_ext
25749 cat >>conftest.$ac_ext <<_ACEOF
25750 /* end confdefs.h. */
25751 $ac_includes_default
25752 #include <png.h>
25753 _ACEOF
25754 rm -f conftest.$ac_objext
25755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25756 (eval $ac_compile) 2>conftest.er1
25757 ac_status=$?
25758 grep -v '^ *+' conftest.er1 >conftest.err
25759 rm -f conftest.er1
25760 cat conftest.err >&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } &&
25763 { ac_try='test -z "$ac_cxx_werror_flag"
25764 || test ! -s conftest.err'
25765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25766 (eval $ac_try) 2>&5
25767 ac_status=$?
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); }; } &&
25770 { ac_try='test -s conftest.$ac_objext'
25771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25772 (eval $ac_try) 2>&5
25773 ac_status=$?
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); }; }; then
25776 ac_header_compiler=yes
25777 else
25778 echo "$as_me: failed program was:" >&5
25779 sed 's/^/| /' conftest.$ac_ext >&5
25780
25781 ac_header_compiler=no
25782 fi
25783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25785 echo "${ECHO_T}$ac_header_compiler" >&6
25786
25787 # Is the header present?
25788 echo "$as_me:$LINENO: checking png.h presence" >&5
25789 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25790 cat >conftest.$ac_ext <<_ACEOF
25791 /* confdefs.h. */
25792 _ACEOF
25793 cat confdefs.h >>conftest.$ac_ext
25794 cat >>conftest.$ac_ext <<_ACEOF
25795 /* end confdefs.h. */
25796 #include <png.h>
25797 _ACEOF
25798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25800 ac_status=$?
25801 grep -v '^ *+' conftest.er1 >conftest.err
25802 rm -f conftest.er1
25803 cat conftest.err >&5
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); } >/dev/null; then
25806 if test -s conftest.err; then
25807 ac_cpp_err=$ac_cxx_preproc_warn_flag
25808 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25809 else
25810 ac_cpp_err=
25811 fi
25812 else
25813 ac_cpp_err=yes
25814 fi
25815 if test -z "$ac_cpp_err"; then
25816 ac_header_preproc=yes
25817 else
25818 echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.$ac_ext >&5
25820
25821 ac_header_preproc=no
25822 fi
25823 rm -f conftest.err conftest.$ac_ext
25824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25825 echo "${ECHO_T}$ac_header_preproc" >&6
25826
25827 # So? What about this header?
25828 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25829 yes:no: )
25830 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25831 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25832 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25833 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25834 ac_header_preproc=yes
25835 ;;
25836 no:yes:* )
25837 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25838 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25839 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25840 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25841 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25842 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25843 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25844 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25845 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25846 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25847 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25848 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25849 (
25850 cat <<\_ASBOX
25851 ## ----------------------------------------- ##
25852 ## Report this to wx-dev@lists.wxwidgets.org ##
25853 ## ----------------------------------------- ##
25854 _ASBOX
25855 ) |
25856 sed "s/^/$as_me: WARNING: /" >&2
25857 ;;
25858 esac
25859 echo "$as_me:$LINENO: checking for png.h" >&5
25860 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25861 if test "${ac_cv_header_png_h+set}" = set; then
25862 echo $ECHO_N "(cached) $ECHO_C" >&6
25863 else
25864 ac_cv_header_png_h=$ac_header_preproc
25865 fi
25866 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25867 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25868
25869 fi
25870
25871
25872
25873 if test "$ac_cv_header_png_h" = "yes"; then
25874 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25875 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25876 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25878 else
25879 ac_check_lib_save_LIBS=$LIBS
25880 LIBS="-lpng -lz -lm $LIBS"
25881 cat >conftest.$ac_ext <<_ACEOF
25882 /* confdefs.h. */
25883 _ACEOF
25884 cat confdefs.h >>conftest.$ac_ext
25885 cat >>conftest.$ac_ext <<_ACEOF
25886 /* end confdefs.h. */
25887
25888 /* Override any gcc2 internal prototype to avoid an error. */
25889 #ifdef __cplusplus
25890 extern "C"
25891 #endif
25892 /* We use char because int might match the return type of a gcc2
25893 builtin and then its argument prototype would still apply. */
25894 char png_check_sig ();
25895 int
25896 main ()
25897 {
25898 png_check_sig ();
25899 ;
25900 return 0;
25901 }
25902 _ACEOF
25903 rm -f conftest.$ac_objext conftest$ac_exeext
25904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25905 (eval $ac_link) 2>conftest.er1
25906 ac_status=$?
25907 grep -v '^ *+' conftest.er1 >conftest.err
25908 rm -f conftest.er1
25909 cat conftest.err >&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } &&
25912 { ac_try='test -z "$ac_cxx_werror_flag"
25913 || test ! -s conftest.err'
25914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25915 (eval $ac_try) 2>&5
25916 ac_status=$?
25917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918 (exit $ac_status); }; } &&
25919 { ac_try='test -s conftest$ac_exeext'
25920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25921 (eval $ac_try) 2>&5
25922 ac_status=$?
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); }; }; then
25925 ac_cv_lib_png_png_check_sig=yes
25926 else
25927 echo "$as_me: failed program was:" >&5
25928 sed 's/^/| /' conftest.$ac_ext >&5
25929
25930 ac_cv_lib_png_png_check_sig=no
25931 fi
25932 rm -f conftest.err conftest.$ac_objext \
25933 conftest$ac_exeext conftest.$ac_ext
25934 LIBS=$ac_check_lib_save_LIBS
25935 fi
25936 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25937 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25938 if test $ac_cv_lib_png_png_check_sig = yes; then
25939 PNG_LINK=" -lpng -lz"
25940 fi
25941
25942 fi
25943
25944 if test "x$PNG_LINK" = "x" ; then
25945 if test "$wxUSE_LIBPNG" = "sys" ; then
25946 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25947 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25948 { (exit 1); exit 1; }; }
25949 else
25950 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25951 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25952 wxUSE_LIBPNG=builtin
25953 fi
25954 else
25955 wxUSE_LIBPNG=sys
25956 fi
25957 fi
25958 fi
25959
25960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25961 fi
25962
25963
25964 JPEG_LINK=
25965 if test "$wxUSE_LIBJPEG" != "no" ; then
25966 cat >>confdefs.h <<\_ACEOF
25967 #define wxUSE_LIBJPEG 1
25968 _ACEOF
25969
25970
25971 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25972 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25973 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25974 wxUSE_LIBJPEG=sys
25975 fi
25976
25977 if test "$wxUSE_MGL" != 1 ; then
25978 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25979 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25980 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25981 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25982 echo $ECHO_N "(cached) $ECHO_C" >&6
25983 else
25984 cat >conftest.$ac_ext <<_ACEOF
25985 /* confdefs.h. */
25986 _ACEOF
25987 cat confdefs.h >>conftest.$ac_ext
25988 cat >>conftest.$ac_ext <<_ACEOF
25989 /* end confdefs.h. */
25990
25991 #undef HAVE_STDLIB_H
25992 #include <stdio.h>
25993 #include <jpeglib.h>
25994
25995 int
25996 main ()
25997 {
25998
25999
26000 ;
26001 return 0;
26002 }
26003 _ACEOF
26004 rm -f conftest.$ac_objext
26005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26006 (eval $ac_compile) 2>conftest.er1
26007 ac_status=$?
26008 grep -v '^ *+' conftest.er1 >conftest.err
26009 rm -f conftest.er1
26010 cat conftest.err >&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } &&
26013 { ac_try='test -z "$ac_cxx_werror_flag"
26014 || test ! -s conftest.err'
26015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26016 (eval $ac_try) 2>&5
26017 ac_status=$?
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); }; } &&
26020 { ac_try='test -s conftest.$ac_objext'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26023 ac_status=$?
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; }; then
26026 ac_cv_header_jpeglib_h=yes
26027 else
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.$ac_ext >&5
26030
26031 ac_cv_header_jpeglib_h=no
26032
26033 fi
26034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26035
26036 fi
26037
26038 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26039 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26040
26041 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26042 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26043 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26044 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26045 echo $ECHO_N "(cached) $ECHO_C" >&6
26046 else
26047 ac_check_lib_save_LIBS=$LIBS
26048 LIBS="-ljpeg $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 jpeg_read_header ();
26063 int
26064 main ()
26065 {
26066 jpeg_read_header ();
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"
26081 || test ! -s conftest.err'
26082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26083 (eval $ac_try) 2>&5
26084 ac_status=$?
26085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26086 (exit $ac_status); }; } &&
26087 { ac_try='test -s conftest$ac_exeext'
26088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26089 (eval $ac_try) 2>&5
26090 ac_status=$?
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); }; }; then
26093 ac_cv_lib_jpeg_jpeg_read_header=yes
26094 else
26095 echo "$as_me: failed program was:" >&5
26096 sed 's/^/| /' conftest.$ac_ext >&5
26097
26098 ac_cv_lib_jpeg_jpeg_read_header=no
26099 fi
26100 rm -f conftest.err conftest.$ac_objext \
26101 conftest$ac_exeext conftest.$ac_ext
26102 LIBS=$ac_check_lib_save_LIBS
26103 fi
26104 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26105 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26106 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26107 JPEG_LINK=" -ljpeg"
26108 fi
26109
26110 fi
26111
26112 if test "x$JPEG_LINK" = "x" ; then
26113 if test "$wxUSE_LIBJPEG" = "sys" ; then
26114 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26115 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26116 { (exit 1); exit 1; }; }
26117 else
26118 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26119 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26120 wxUSE_LIBJPEG=builtin
26121 fi
26122 else
26123 wxUSE_LIBJPEG=sys
26124 fi
26125 fi
26126 fi
26127 fi
26128
26129
26130 TIFF_LINK=
26131 TIFF_PREREQ_LINKS=-lm
26132 if test "$wxUSE_LIBTIFF" != "no" ; then
26133 cat >>confdefs.h <<\_ACEOF
26134 #define wxUSE_LIBTIFF 1
26135 _ACEOF
26136
26137
26138 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26139 if test "$wxUSE_LIBJPEG" = "sys"; then
26140 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26141 fi
26142 if test "$wxUSE_ZLIB" = "sys"; then
26143 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26144 fi
26145 if test "${ac_cv_header_tiffio_h+set}" = set; then
26146 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26147 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26148 if test "${ac_cv_header_tiffio_h+set}" = set; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26150 fi
26151 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26152 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26153 else
26154 # Is the header compilable?
26155 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26156 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26157 cat >conftest.$ac_ext <<_ACEOF
26158 /* confdefs.h. */
26159 _ACEOF
26160 cat confdefs.h >>conftest.$ac_ext
26161 cat >>conftest.$ac_ext <<_ACEOF
26162 /* end confdefs.h. */
26163 $ac_includes_default
26164 #include <tiffio.h>
26165 _ACEOF
26166 rm -f conftest.$ac_objext
26167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26168 (eval $ac_compile) 2>conftest.er1
26169 ac_status=$?
26170 grep -v '^ *+' conftest.er1 >conftest.err
26171 rm -f conftest.er1
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } &&
26175 { ac_try='test -z "$ac_cxx_werror_flag"
26176 || test ! -s conftest.err'
26177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26178 (eval $ac_try) 2>&5
26179 ac_status=$?
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); }; } &&
26182 { ac_try='test -s conftest.$ac_objext'
26183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26184 (eval $ac_try) 2>&5
26185 ac_status=$?
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); }; }; then
26188 ac_header_compiler=yes
26189 else
26190 echo "$as_me: failed program was:" >&5
26191 sed 's/^/| /' conftest.$ac_ext >&5
26192
26193 ac_header_compiler=no
26194 fi
26195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26197 echo "${ECHO_T}$ac_header_compiler" >&6
26198
26199 # Is the header present?
26200 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26201 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26202 cat >conftest.$ac_ext <<_ACEOF
26203 /* confdefs.h. */
26204 _ACEOF
26205 cat confdefs.h >>conftest.$ac_ext
26206 cat >>conftest.$ac_ext <<_ACEOF
26207 /* end confdefs.h. */
26208 #include <tiffio.h>
26209 _ACEOF
26210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26212 ac_status=$?
26213 grep -v '^ *+' conftest.er1 >conftest.err
26214 rm -f conftest.er1
26215 cat conftest.err >&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); } >/dev/null; then
26218 if test -s conftest.err; then
26219 ac_cpp_err=$ac_cxx_preproc_warn_flag
26220 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26221 else
26222 ac_cpp_err=
26223 fi
26224 else
26225 ac_cpp_err=yes
26226 fi
26227 if test -z "$ac_cpp_err"; then
26228 ac_header_preproc=yes
26229 else
26230 echo "$as_me: failed program was:" >&5
26231 sed 's/^/| /' conftest.$ac_ext >&5
26232
26233 ac_header_preproc=no
26234 fi
26235 rm -f conftest.err conftest.$ac_ext
26236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26237 echo "${ECHO_T}$ac_header_preproc" >&6
26238
26239 # So? What about this header?
26240 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26241 yes:no: )
26242 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26243 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26244 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26245 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26246 ac_header_preproc=yes
26247 ;;
26248 no:yes:* )
26249 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26250 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26251 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26252 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26253 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26254 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26255 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26256 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26257 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26258 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26259 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26260 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26261 (
26262 cat <<\_ASBOX
26263 ## ----------------------------------------- ##
26264 ## Report this to wx-dev@lists.wxwidgets.org ##
26265 ## ----------------------------------------- ##
26266 _ASBOX
26267 ) |
26268 sed "s/^/$as_me: WARNING: /" >&2
26269 ;;
26270 esac
26271 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26272 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26273 if test "${ac_cv_header_tiffio_h+set}" = set; then
26274 echo $ECHO_N "(cached) $ECHO_C" >&6
26275 else
26276 ac_cv_header_tiffio_h=$ac_header_preproc
26277 fi
26278 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26279 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26280
26281 fi
26282 if test $ac_cv_header_tiffio_h = yes; then
26283
26284 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26285 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26286 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 else
26289 ac_check_lib_save_LIBS=$LIBS
26290 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26291 cat >conftest.$ac_ext <<_ACEOF
26292 /* confdefs.h. */
26293 _ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297
26298 /* Override any gcc2 internal prototype to avoid an error. */
26299 #ifdef __cplusplus
26300 extern "C"
26301 #endif
26302 /* We use char because int might match the return type of a gcc2
26303 builtin and then its argument prototype would still apply. */
26304 char TIFFError ();
26305 int
26306 main ()
26307 {
26308 TIFFError ();
26309 ;
26310 return 0;
26311 }
26312 _ACEOF
26313 rm -f conftest.$ac_objext conftest$ac_exeext
26314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26315 (eval $ac_link) 2>conftest.er1
26316 ac_status=$?
26317 grep -v '^ *+' conftest.er1 >conftest.err
26318 rm -f conftest.er1
26319 cat conftest.err >&5
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); } &&
26322 { ac_try='test -z "$ac_cxx_werror_flag"
26323 || test ! -s conftest.err'
26324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26325 (eval $ac_try) 2>&5
26326 ac_status=$?
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); }; } &&
26329 { ac_try='test -s conftest$ac_exeext'
26330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26331 (eval $ac_try) 2>&5
26332 ac_status=$?
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); }; }; then
26335 ac_cv_lib_tiff_TIFFError=yes
26336 else
26337 echo "$as_me: failed program was:" >&5
26338 sed 's/^/| /' conftest.$ac_ext >&5
26339
26340 ac_cv_lib_tiff_TIFFError=no
26341 fi
26342 rm -f conftest.err conftest.$ac_objext \
26343 conftest$ac_exeext conftest.$ac_ext
26344 LIBS=$ac_check_lib_save_LIBS
26345 fi
26346 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26347 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26348 if test $ac_cv_lib_tiff_TIFFError = yes; then
26349 TIFF_LINK=" -ltiff"
26350 fi
26351
26352
26353
26354 fi
26355
26356
26357
26358 if test "x$TIFF_LINK" = "x" ; then
26359 if test "$wxUSE_LIBTIFF" = "sys" ; then
26360 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26361 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26362 { (exit 1); exit 1; }; }
26363 else
26364 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26365 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26366 wxUSE_LIBTIFF=builtin
26367 fi
26368 else
26369 wxUSE_LIBTIFF=sys
26370 fi
26371 fi
26372 fi
26373
26374
26375 if test "$wxUSE_WCHAR_T" != "yes"; then
26376 if test "$wxUSE_EXPAT" != "no"; then
26377 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26378 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26379 wxUSE_EXPAT=no
26380 fi
26381 if test "$wxUSE_XML" != "no"; then
26382 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26383 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26384 wxUSE_XML=no
26385 fi
26386 fi
26387
26388 if test "$wxUSE_EXPAT" != "no"; then
26389 wxUSE_XML=yes
26390 cat >>confdefs.h <<\_ACEOF
26391 #define wxUSE_EXPAT 1
26392 _ACEOF
26393
26394 cat >>confdefs.h <<\_ACEOF
26395 #define wxUSE_XML 1
26396 _ACEOF
26397
26398
26399 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26400 if test "${ac_cv_header_expat_h+set}" = set; then
26401 echo "$as_me:$LINENO: checking for expat.h" >&5
26402 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26403 if test "${ac_cv_header_expat_h+set}" = set; then
26404 echo $ECHO_N "(cached) $ECHO_C" >&6
26405 fi
26406 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26407 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26408 else
26409 # Is the header compilable?
26410 echo "$as_me:$LINENO: checking expat.h usability" >&5
26411 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26412 cat >conftest.$ac_ext <<_ACEOF
26413 /* confdefs.h. */
26414 _ACEOF
26415 cat confdefs.h >>conftest.$ac_ext
26416 cat >>conftest.$ac_ext <<_ACEOF
26417 /* end confdefs.h. */
26418 $ac_includes_default
26419 #include <expat.h>
26420 _ACEOF
26421 rm -f conftest.$ac_objext
26422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26423 (eval $ac_compile) 2>conftest.er1
26424 ac_status=$?
26425 grep -v '^ *+' conftest.er1 >conftest.err
26426 rm -f conftest.er1
26427 cat conftest.err >&5
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); } &&
26430 { ac_try='test -z "$ac_cxx_werror_flag"
26431 || test ! -s conftest.err'
26432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26433 (eval $ac_try) 2>&5
26434 ac_status=$?
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); }; } &&
26437 { ac_try='test -s conftest.$ac_objext'
26438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26439 (eval $ac_try) 2>&5
26440 ac_status=$?
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); }; }; then
26443 ac_header_compiler=yes
26444 else
26445 echo "$as_me: failed program was:" >&5
26446 sed 's/^/| /' conftest.$ac_ext >&5
26447
26448 ac_header_compiler=no
26449 fi
26450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26452 echo "${ECHO_T}$ac_header_compiler" >&6
26453
26454 # Is the header present?
26455 echo "$as_me:$LINENO: checking expat.h presence" >&5
26456 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26457 cat >conftest.$ac_ext <<_ACEOF
26458 /* confdefs.h. */
26459 _ACEOF
26460 cat confdefs.h >>conftest.$ac_ext
26461 cat >>conftest.$ac_ext <<_ACEOF
26462 /* end confdefs.h. */
26463 #include <expat.h>
26464 _ACEOF
26465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26466 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26467 ac_status=$?
26468 grep -v '^ *+' conftest.er1 >conftest.err
26469 rm -f conftest.er1
26470 cat conftest.err >&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } >/dev/null; then
26473 if test -s conftest.err; then
26474 ac_cpp_err=$ac_cxx_preproc_warn_flag
26475 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26476 else
26477 ac_cpp_err=
26478 fi
26479 else
26480 ac_cpp_err=yes
26481 fi
26482 if test -z "$ac_cpp_err"; then
26483 ac_header_preproc=yes
26484 else
26485 echo "$as_me: failed program was:" >&5
26486 sed 's/^/| /' conftest.$ac_ext >&5
26487
26488 ac_header_preproc=no
26489 fi
26490 rm -f conftest.err conftest.$ac_ext
26491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26492 echo "${ECHO_T}$ac_header_preproc" >&6
26493
26494 # So? What about this header?
26495 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26496 yes:no: )
26497 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26498 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26499 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26500 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26501 ac_header_preproc=yes
26502 ;;
26503 no:yes:* )
26504 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26505 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26506 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26507 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26508 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26509 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26510 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26511 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26512 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26513 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26514 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26515 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26516 (
26517 cat <<\_ASBOX
26518 ## ----------------------------------------- ##
26519 ## Report this to wx-dev@lists.wxwidgets.org ##
26520 ## ----------------------------------------- ##
26521 _ASBOX
26522 ) |
26523 sed "s/^/$as_me: WARNING: /" >&2
26524 ;;
26525 esac
26526 echo "$as_me:$LINENO: checking for expat.h" >&5
26527 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26528 if test "${ac_cv_header_expat_h+set}" = set; then
26529 echo $ECHO_N "(cached) $ECHO_C" >&6
26530 else
26531 ac_cv_header_expat_h=$ac_header_preproc
26532 fi
26533 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26534 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26535
26536 fi
26537 if test $ac_cv_header_expat_h = yes; then
26538 found_expat_h=1
26539 fi
26540
26541
26542 if test "x$found_expat_h" = "x1"; then
26543 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26544 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26545 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26546 echo $ECHO_N "(cached) $ECHO_C" >&6
26547 else
26548
26549 cat >conftest.$ac_ext <<_ACEOF
26550 /* confdefs.h. */
26551 _ACEOF
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26555 #include <expat.h>
26556 int
26557 main ()
26558 {
26559
26560 ;
26561 return 0;
26562 }
26563 _ACEOF
26564 rm -f conftest.$ac_objext
26565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26566 (eval $ac_compile) 2>conftest.er1
26567 ac_status=$?
26568 grep -v '^ *+' conftest.er1 >conftest.err
26569 rm -f conftest.er1
26570 cat conftest.err >&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); } &&
26573 { ac_try='test -z "$ac_cxx_werror_flag"
26574 || test ! -s conftest.err'
26575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26576 (eval $ac_try) 2>&5
26577 ac_status=$?
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); }; } &&
26580 { ac_try='test -s conftest.$ac_objext'
26581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26582 (eval $ac_try) 2>&5
26583 ac_status=$?
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); }; }; then
26586 wx_cv_expat_is_not_broken=yes
26587 else
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.$ac_ext >&5
26590
26591 wx_cv_expat_is_not_broken=no
26592
26593 fi
26594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26595
26596
26597 fi
26598 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26599 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26600 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26601 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26602 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26603 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26604 echo $ECHO_N "(cached) $ECHO_C" >&6
26605 else
26606 ac_check_lib_save_LIBS=$LIBS
26607 LIBS="-lexpat $LIBS"
26608 cat >conftest.$ac_ext <<_ACEOF
26609 /* confdefs.h. */
26610 _ACEOF
26611 cat confdefs.h >>conftest.$ac_ext
26612 cat >>conftest.$ac_ext <<_ACEOF
26613 /* end confdefs.h. */
26614
26615 /* Override any gcc2 internal prototype to avoid an error. */
26616 #ifdef __cplusplus
26617 extern "C"
26618 #endif
26619 /* We use char because int might match the return type of a gcc2
26620 builtin and then its argument prototype would still apply. */
26621 char XML_ParserCreate ();
26622 int
26623 main ()
26624 {
26625 XML_ParserCreate ();
26626 ;
26627 return 0;
26628 }
26629 _ACEOF
26630 rm -f conftest.$ac_objext conftest$ac_exeext
26631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26632 (eval $ac_link) 2>conftest.er1
26633 ac_status=$?
26634 grep -v '^ *+' conftest.er1 >conftest.err
26635 rm -f conftest.er1
26636 cat conftest.err >&5
26637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26638 (exit $ac_status); } &&
26639 { ac_try='test -z "$ac_cxx_werror_flag"
26640 || test ! -s conftest.err'
26641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26642 (eval $ac_try) 2>&5
26643 ac_status=$?
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); }; } &&
26646 { ac_try='test -s conftest$ac_exeext'
26647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26648 (eval $ac_try) 2>&5
26649 ac_status=$?
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); }; }; then
26652 ac_cv_lib_expat_XML_ParserCreate=yes
26653 else
26654 echo "$as_me: failed program was:" >&5
26655 sed 's/^/| /' conftest.$ac_ext >&5
26656
26657 ac_cv_lib_expat_XML_ParserCreate=no
26658 fi
26659 rm -f conftest.err conftest.$ac_objext \
26660 conftest$ac_exeext conftest.$ac_ext
26661 LIBS=$ac_check_lib_save_LIBS
26662 fi
26663 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26664 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26665 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26666 EXPAT_LINK=" -lexpat"
26667 fi
26668
26669 fi
26670 fi
26671 if test "x$EXPAT_LINK" = "x" ; then
26672 if test "$wxUSE_EXPAT" = "sys" ; then
26673 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26674 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26675 { (exit 1); exit 1; }; }
26676 else
26677 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26678 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26679 wxUSE_EXPAT=builtin
26680 fi
26681 else
26682 wxUSE_EXPAT=sys
26683 fi
26684 fi
26685 if test "$wxUSE_EXPAT" = "builtin" ; then
26686
26687
26688 subdirs="$subdirs src/expat"
26689
26690 fi
26691 fi
26692
26693
26694
26695 if test "$wxUSE_LIBMSPACK" != "no"; then
26696 if test "${ac_cv_header_mspack_h+set}" = set; then
26697 echo "$as_me:$LINENO: checking for mspack.h" >&5
26698 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26699 if test "${ac_cv_header_mspack_h+set}" = set; then
26700 echo $ECHO_N "(cached) $ECHO_C" >&6
26701 fi
26702 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26703 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26704 else
26705 # Is the header compilable?
26706 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26707 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26708 cat >conftest.$ac_ext <<_ACEOF
26709 /* confdefs.h. */
26710 _ACEOF
26711 cat confdefs.h >>conftest.$ac_ext
26712 cat >>conftest.$ac_ext <<_ACEOF
26713 /* end confdefs.h. */
26714 $ac_includes_default
26715 #include <mspack.h>
26716 _ACEOF
26717 rm -f conftest.$ac_objext
26718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26719 (eval $ac_compile) 2>conftest.er1
26720 ac_status=$?
26721 grep -v '^ *+' conftest.er1 >conftest.err
26722 rm -f conftest.er1
26723 cat conftest.err >&5
26724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725 (exit $ac_status); } &&
26726 { ac_try='test -z "$ac_cxx_werror_flag"
26727 || test ! -s conftest.err'
26728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26729 (eval $ac_try) 2>&5
26730 ac_status=$?
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); }; } &&
26733 { ac_try='test -s conftest.$ac_objext'
26734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26735 (eval $ac_try) 2>&5
26736 ac_status=$?
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); }; }; then
26739 ac_header_compiler=yes
26740 else
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.$ac_ext >&5
26743
26744 ac_header_compiler=no
26745 fi
26746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26748 echo "${ECHO_T}$ac_header_compiler" >&6
26749
26750 # Is the header present?
26751 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26752 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26753 cat >conftest.$ac_ext <<_ACEOF
26754 /* confdefs.h. */
26755 _ACEOF
26756 cat confdefs.h >>conftest.$ac_ext
26757 cat >>conftest.$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26759 #include <mspack.h>
26760 _ACEOF
26761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26763 ac_status=$?
26764 grep -v '^ *+' conftest.er1 >conftest.err
26765 rm -f conftest.er1
26766 cat conftest.err >&5
26767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26768 (exit $ac_status); } >/dev/null; then
26769 if test -s conftest.err; then
26770 ac_cpp_err=$ac_cxx_preproc_warn_flag
26771 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26772 else
26773 ac_cpp_err=
26774 fi
26775 else
26776 ac_cpp_err=yes
26777 fi
26778 if test -z "$ac_cpp_err"; then
26779 ac_header_preproc=yes
26780 else
26781 echo "$as_me: failed program was:" >&5
26782 sed 's/^/| /' conftest.$ac_ext >&5
26783
26784 ac_header_preproc=no
26785 fi
26786 rm -f conftest.err conftest.$ac_ext
26787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26788 echo "${ECHO_T}$ac_header_preproc" >&6
26789
26790 # So? What about this header?
26791 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26792 yes:no: )
26793 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26794 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26795 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26796 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26797 ac_header_preproc=yes
26798 ;;
26799 no:yes:* )
26800 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26801 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26802 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26803 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26804 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26805 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26806 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26807 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26808 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26809 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26810 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26811 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26812 (
26813 cat <<\_ASBOX
26814 ## ----------------------------------------- ##
26815 ## Report this to wx-dev@lists.wxwidgets.org ##
26816 ## ----------------------------------------- ##
26817 _ASBOX
26818 ) |
26819 sed "s/^/$as_me: WARNING: /" >&2
26820 ;;
26821 esac
26822 echo "$as_me:$LINENO: checking for mspack.h" >&5
26823 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26824 if test "${ac_cv_header_mspack_h+set}" = set; then
26825 echo $ECHO_N "(cached) $ECHO_C" >&6
26826 else
26827 ac_cv_header_mspack_h=$ac_header_preproc
26828 fi
26829 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26830 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26831
26832 fi
26833 if test $ac_cv_header_mspack_h = yes; then
26834 found_mspack_h=1
26835 fi
26836
26837
26838 if test "x$found_mspack_h" = "x1"; then
26839 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26840 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26841 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26842 echo $ECHO_N "(cached) $ECHO_C" >&6
26843 else
26844 ac_check_lib_save_LIBS=$LIBS
26845 LIBS="-lmspack $LIBS"
26846 cat >conftest.$ac_ext <<_ACEOF
26847 /* confdefs.h. */
26848 _ACEOF
26849 cat confdefs.h >>conftest.$ac_ext
26850 cat >>conftest.$ac_ext <<_ACEOF
26851 /* end confdefs.h. */
26852
26853 /* Override any gcc2 internal prototype to avoid an error. */
26854 #ifdef __cplusplus
26855 extern "C"
26856 #endif
26857 /* We use char because int might match the return type of a gcc2
26858 builtin and then its argument prototype would still apply. */
26859 char mspack_create_chm_decompressor ();
26860 int
26861 main ()
26862 {
26863 mspack_create_chm_decompressor ();
26864 ;
26865 return 0;
26866 }
26867 _ACEOF
26868 rm -f conftest.$ac_objext conftest$ac_exeext
26869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26870 (eval $ac_link) 2>conftest.er1
26871 ac_status=$?
26872 grep -v '^ *+' conftest.er1 >conftest.err
26873 rm -f conftest.er1
26874 cat conftest.err >&5
26875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26876 (exit $ac_status); } &&
26877 { ac_try='test -z "$ac_cxx_werror_flag"
26878 || test ! -s conftest.err'
26879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880 (eval $ac_try) 2>&5
26881 ac_status=$?
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); }; } &&
26884 { ac_try='test -s conftest$ac_exeext'
26885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26886 (eval $ac_try) 2>&5
26887 ac_status=$?
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); }; }; then
26890 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26891 else
26892 echo "$as_me: failed program was:" >&5
26893 sed 's/^/| /' conftest.$ac_ext >&5
26894
26895 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26896 fi
26897 rm -f conftest.err conftest.$ac_objext \
26898 conftest$ac_exeext conftest.$ac_ext
26899 LIBS=$ac_check_lib_save_LIBS
26900 fi
26901 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26902 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26903 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26904 MSPACK_LINK=" -lmspack"
26905 fi
26906
26907 fi
26908 if test "x$MSPACK_LINK" = "x" ; then
26909 wxUSE_LIBMSPACK=no
26910 fi
26911 fi
26912
26913 if test "$wxUSE_LIBMSPACK" != "no"; then
26914 cat >>confdefs.h <<\_ACEOF
26915 #define wxUSE_LIBMSPACK 1
26916 _ACEOF
26917
26918 fi
26919
26920
26921
26922 AFMINSTALL=
26923 WIN32INSTALL=
26924
26925 TOOLKIT=
26926 TOOLKIT_INCLUDE=
26927 WIDGET_SET=
26928
26929 if test "$USE_WIN32" = 1 ; then
26930
26931 for ac_header in w32api.h
26932 do
26933 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26935 echo "$as_me:$LINENO: checking for $ac_header" >&5
26936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26938 echo $ECHO_N "(cached) $ECHO_C" >&6
26939 fi
26940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26942 else
26943 # Is the header compilable?
26944 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26945 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26946 cat >conftest.$ac_ext <<_ACEOF
26947 /* confdefs.h. */
26948 _ACEOF
26949 cat confdefs.h >>conftest.$ac_ext
26950 cat >>conftest.$ac_ext <<_ACEOF
26951 /* end confdefs.h. */
26952 $ac_includes_default
26953 #include <$ac_header>
26954 _ACEOF
26955 rm -f conftest.$ac_objext
26956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26957 (eval $ac_compile) 2>conftest.er1
26958 ac_status=$?
26959 grep -v '^ *+' conftest.er1 >conftest.err
26960 rm -f conftest.er1
26961 cat conftest.err >&5
26962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26963 (exit $ac_status); } &&
26964 { ac_try='test -z "$ac_cxx_werror_flag"
26965 || test ! -s conftest.err'
26966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26967 (eval $ac_try) 2>&5
26968 ac_status=$?
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); }; } &&
26971 { ac_try='test -s conftest.$ac_objext'
26972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26973 (eval $ac_try) 2>&5
26974 ac_status=$?
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); }; }; then
26977 ac_header_compiler=yes
26978 else
26979 echo "$as_me: failed program was:" >&5
26980 sed 's/^/| /' conftest.$ac_ext >&5
26981
26982 ac_header_compiler=no
26983 fi
26984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26985 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26986 echo "${ECHO_T}$ac_header_compiler" >&6
26987
26988 # Is the header present?
26989 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26991 cat >conftest.$ac_ext <<_ACEOF
26992 /* confdefs.h. */
26993 _ACEOF
26994 cat confdefs.h >>conftest.$ac_ext
26995 cat >>conftest.$ac_ext <<_ACEOF
26996 /* end confdefs.h. */
26997 #include <$ac_header>
26998 _ACEOF
26999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27000 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27001 ac_status=$?
27002 grep -v '^ *+' conftest.er1 >conftest.err
27003 rm -f conftest.er1
27004 cat conftest.err >&5
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); } >/dev/null; then
27007 if test -s conftest.err; then
27008 ac_cpp_err=$ac_cxx_preproc_warn_flag
27009 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27010 else
27011 ac_cpp_err=
27012 fi
27013 else
27014 ac_cpp_err=yes
27015 fi
27016 if test -z "$ac_cpp_err"; then
27017 ac_header_preproc=yes
27018 else
27019 echo "$as_me: failed program was:" >&5
27020 sed 's/^/| /' conftest.$ac_ext >&5
27021
27022 ac_header_preproc=no
27023 fi
27024 rm -f conftest.err conftest.$ac_ext
27025 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27026 echo "${ECHO_T}$ac_header_preproc" >&6
27027
27028 # So? What about this header?
27029 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27030 yes:no: )
27031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27035 ac_header_preproc=yes
27036 ;;
27037 no:yes:* )
27038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27050 (
27051 cat <<\_ASBOX
27052 ## ----------------------------------------- ##
27053 ## Report this to wx-dev@lists.wxwidgets.org ##
27054 ## ----------------------------------------- ##
27055 _ASBOX
27056 ) |
27057 sed "s/^/$as_me: WARNING: /" >&2
27058 ;;
27059 esac
27060 echo "$as_me:$LINENO: checking for $ac_header" >&5
27061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27063 echo $ECHO_N "(cached) $ECHO_C" >&6
27064 else
27065 eval "$as_ac_Header=\$ac_header_preproc"
27066 fi
27067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27069
27070 fi
27071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27072 cat >>confdefs.h <<_ACEOF
27073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27074 _ACEOF
27075
27076 fi
27077
27078 done
27079
27080 if test "${ac_cv_header_windows_h+set}" = set; then
27081 echo "$as_me:$LINENO: checking for windows.h" >&5
27082 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27083 if test "${ac_cv_header_windows_h+set}" = set; then
27084 echo $ECHO_N "(cached) $ECHO_C" >&6
27085 fi
27086 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27087 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27088 else
27089 # Is the header compilable?
27090 echo "$as_me:$LINENO: checking windows.h usability" >&5
27091 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27092 cat >conftest.$ac_ext <<_ACEOF
27093 /* confdefs.h. */
27094 _ACEOF
27095 cat confdefs.h >>conftest.$ac_ext
27096 cat >>conftest.$ac_ext <<_ACEOF
27097 /* end confdefs.h. */
27098 $ac_includes_default
27099 #include <windows.h>
27100 _ACEOF
27101 rm -f conftest.$ac_objext
27102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27103 (eval $ac_compile) 2>conftest.er1
27104 ac_status=$?
27105 grep -v '^ *+' conftest.er1 >conftest.err
27106 rm -f conftest.er1
27107 cat conftest.err >&5
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); } &&
27110 { ac_try='test -z "$ac_cxx_werror_flag"
27111 || test ! -s conftest.err'
27112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27113 (eval $ac_try) 2>&5
27114 ac_status=$?
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); }; } &&
27117 { ac_try='test -s conftest.$ac_objext'
27118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27119 (eval $ac_try) 2>&5
27120 ac_status=$?
27121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27122 (exit $ac_status); }; }; then
27123 ac_header_compiler=yes
27124 else
27125 echo "$as_me: failed program was:" >&5
27126 sed 's/^/| /' conftest.$ac_ext >&5
27127
27128 ac_header_compiler=no
27129 fi
27130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27131 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27132 echo "${ECHO_T}$ac_header_compiler" >&6
27133
27134 # Is the header present?
27135 echo "$as_me:$LINENO: checking windows.h presence" >&5
27136 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27137 cat >conftest.$ac_ext <<_ACEOF
27138 /* confdefs.h. */
27139 _ACEOF
27140 cat confdefs.h >>conftest.$ac_ext
27141 cat >>conftest.$ac_ext <<_ACEOF
27142 /* end confdefs.h. */
27143 #include <windows.h>
27144 _ACEOF
27145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27146 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27147 ac_status=$?
27148 grep -v '^ *+' conftest.er1 >conftest.err
27149 rm -f conftest.er1
27150 cat conftest.err >&5
27151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27152 (exit $ac_status); } >/dev/null; then
27153 if test -s conftest.err; then
27154 ac_cpp_err=$ac_cxx_preproc_warn_flag
27155 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27156 else
27157 ac_cpp_err=
27158 fi
27159 else
27160 ac_cpp_err=yes
27161 fi
27162 if test -z "$ac_cpp_err"; then
27163 ac_header_preproc=yes
27164 else
27165 echo "$as_me: failed program was:" >&5
27166 sed 's/^/| /' conftest.$ac_ext >&5
27167
27168 ac_header_preproc=no
27169 fi
27170 rm -f conftest.err conftest.$ac_ext
27171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27172 echo "${ECHO_T}$ac_header_preproc" >&6
27173
27174 # So? What about this header?
27175 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27176 yes:no: )
27177 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27178 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27179 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27180 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27181 ac_header_preproc=yes
27182 ;;
27183 no:yes:* )
27184 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27185 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27186 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27187 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27188 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27189 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27190 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27191 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27192 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27193 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27194 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27195 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27196 (
27197 cat <<\_ASBOX
27198 ## ----------------------------------------- ##
27199 ## Report this to wx-dev@lists.wxwidgets.org ##
27200 ## ----------------------------------------- ##
27201 _ASBOX
27202 ) |
27203 sed "s/^/$as_me: WARNING: /" >&2
27204 ;;
27205 esac
27206 echo "$as_me:$LINENO: checking for windows.h" >&5
27207 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27208 if test "${ac_cv_header_windows_h+set}" = set; then
27209 echo $ECHO_N "(cached) $ECHO_C" >&6
27210 else
27211 ac_cv_header_windows_h=$ac_header_preproc
27212 fi
27213 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27214 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27215
27216 fi
27217 if test $ac_cv_header_windows_h = yes; then
27218 :
27219 else
27220
27221 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27222 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27223 { (exit 1); exit 1; }; }
27224
27225 fi
27226
27227
27228
27229 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27230
27231 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27232 LIBS="$LIBS -loleacc"
27233 fi
27234
27235 case "${host}" in
27236 *-*-cygwin* )
27237 LIBS="$LIBS -lkernel32 -luser32"
27238 esac
27239
27240 if test "$wxUSE_ODBC" = "sys" ; then
27241 wxUSE_ODBC = "yes"
27242 fi
27243 if test "$wxUSE_ODBC" = "yes" ; then
27244 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27245 cat >>confdefs.h <<\_ACEOF
27246 #define wxUSE_ODBC 1
27247 _ACEOF
27248
27249 fi
27250
27251 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27252 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27253
27254 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27255
27256 WIN32INSTALL=win32install
27257
27258 echo "$as_me:$LINENO: checking for boolean" >&5
27259 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27260 if test "${ac_cv_type_boolean+set}" = set; then
27261 echo $ECHO_N "(cached) $ECHO_C" >&6
27262 else
27263 cat >conftest.$ac_ext <<_ACEOF
27264 /* confdefs.h. */
27265 _ACEOF
27266 cat confdefs.h >>conftest.$ac_ext
27267 cat >>conftest.$ac_ext <<_ACEOF
27268 /* end confdefs.h. */
27269 #include <windows.h>
27270
27271 int
27272 main ()
27273 {
27274 if ((boolean *) 0)
27275 return 0;
27276 if (sizeof (boolean))
27277 return 0;
27278 ;
27279 return 0;
27280 }
27281 _ACEOF
27282 rm -f conftest.$ac_objext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27284 (eval $ac_compile) 2>conftest.er1
27285 ac_status=$?
27286 grep -v '^ *+' conftest.er1 >conftest.err
27287 rm -f conftest.er1
27288 cat conftest.err >&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try='test -z "$ac_cxx_werror_flag"
27292 || test ! -s conftest.err'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27295 ac_status=$?
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; } &&
27298 { ac_try='test -s conftest.$ac_objext'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27301 ac_status=$?
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; }; then
27304 ac_cv_type_boolean=yes
27305 else
27306 echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.$ac_ext >&5
27308
27309 ac_cv_type_boolean=no
27310 fi
27311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27312 fi
27313 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27314 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27315 if test $ac_cv_type_boolean = yes; then
27316
27317 cat >>confdefs.h <<_ACEOF
27318 #define HAVE_BOOLEAN 1
27319 _ACEOF
27320
27321
27322 fi
27323
27324
27325
27326 for ac_header in pbt.h
27327 do
27328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27330 echo "$as_me:$LINENO: checking for $ac_header" >&5
27331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27333 echo $ECHO_N "(cached) $ECHO_C" >&6
27334 fi
27335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27337 else
27338 # Is the header compilable?
27339 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27340 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27341 cat >conftest.$ac_ext <<_ACEOF
27342 /* confdefs.h. */
27343 _ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347 $ac_includes_default
27348 #include <$ac_header>
27349 _ACEOF
27350 rm -f conftest.$ac_objext
27351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27352 (eval $ac_compile) 2>conftest.er1
27353 ac_status=$?
27354 grep -v '^ *+' conftest.er1 >conftest.err
27355 rm -f conftest.er1
27356 cat conftest.err >&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } &&
27359 { ac_try='test -z "$ac_cxx_werror_flag"
27360 || test ! -s conftest.err'
27361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27362 (eval $ac_try) 2>&5
27363 ac_status=$?
27364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27365 (exit $ac_status); }; } &&
27366 { ac_try='test -s conftest.$ac_objext'
27367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27368 (eval $ac_try) 2>&5
27369 ac_status=$?
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); }; }; then
27372 ac_header_compiler=yes
27373 else
27374 echo "$as_me: failed program was:" >&5
27375 sed 's/^/| /' conftest.$ac_ext >&5
27376
27377 ac_header_compiler=no
27378 fi
27379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27381 echo "${ECHO_T}$ac_header_compiler" >&6
27382
27383 # Is the header present?
27384 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27385 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27386 cat >conftest.$ac_ext <<_ACEOF
27387 /* confdefs.h. */
27388 _ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27392 #include <$ac_header>
27393 _ACEOF
27394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27396 ac_status=$?
27397 grep -v '^ *+' conftest.er1 >conftest.err
27398 rm -f conftest.er1
27399 cat conftest.err >&5
27400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401 (exit $ac_status); } >/dev/null; then
27402 if test -s conftest.err; then
27403 ac_cpp_err=$ac_cxx_preproc_warn_flag
27404 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27405 else
27406 ac_cpp_err=
27407 fi
27408 else
27409 ac_cpp_err=yes
27410 fi
27411 if test -z "$ac_cpp_err"; then
27412 ac_header_preproc=yes
27413 else
27414 echo "$as_me: failed program was:" >&5
27415 sed 's/^/| /' conftest.$ac_ext >&5
27416
27417 ac_header_preproc=no
27418 fi
27419 rm -f conftest.err conftest.$ac_ext
27420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27421 echo "${ECHO_T}$ac_header_preproc" >&6
27422
27423 # So? What about this header?
27424 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27425 yes:no: )
27426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27429 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27430 ac_header_preproc=yes
27431 ;;
27432 no:yes:* )
27433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27438 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27440 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27444 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27445 (
27446 cat <<\_ASBOX
27447 ## ----------------------------------------- ##
27448 ## Report this to wx-dev@lists.wxwidgets.org ##
27449 ## ----------------------------------------- ##
27450 _ASBOX
27451 ) |
27452 sed "s/^/$as_me: WARNING: /" >&2
27453 ;;
27454 esac
27455 echo "$as_me:$LINENO: checking for $ac_header" >&5
27456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27458 echo $ECHO_N "(cached) $ECHO_C" >&6
27459 else
27460 eval "$as_ac_Header=\$ac_header_preproc"
27461 fi
27462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27464
27465 fi
27466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27467 cat >>confdefs.h <<_ACEOF
27468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27469 _ACEOF
27470
27471 else
27472 cat >>confdefs.h <<\_ACEOF
27473 #define NEED_PBT_H 1
27474 _ACEOF
27475
27476 fi
27477
27478 done
27479
27480 fi
27481
27482 if test "$wxUSE_GUI" = "yes"; then
27483 USE_GUI=1
27484
27485 GUI_TK_LIBRARY=
27486
27487 WXGTK12=
27488 WXGTK127=
27489 WXGTK20=
27490 WXGPE=
27491
27492 if test "$wxUSE_COCOA" = 1 ; then
27493 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27494 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27495 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27496 wxUSE_PRINTING_ARCHITECTURE=no
27497 fi
27498 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27499 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27500 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27501 wxUSE_DRAG_AND_DROP=no
27502 fi
27503 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27504 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27505 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27506 wxUSE_DRAGIMAGE=no
27507 fi
27508 fi
27509
27510 if test "$wxUSE_MSW" = 1 ; then
27511 TOOLKIT=MSW
27512 GUIDIST=MSW_DIST
27513
27514 case "${host}" in
27515 *-*-mingw32* )
27516 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27517 esac
27518 fi
27519
27520 if test "$wxUSE_GTK" = 1; then
27521 ac_ext=c
27522 ac_cpp='$CPP $CPPFLAGS'
27523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27526
27527
27528 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27529 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27530
27531 gtk_version_cached=1
27532 if test "${wx_cv_lib_gtk+set}" = set; then
27533 echo $ECHO_N "(cached) $ECHO_C" >&6
27534 else
27535
27536 gtk_version_cached=0
27537 echo "$as_me:$LINENO: result: " >&5
27538 echo "${ECHO_T}" >&6
27539
27540 GTK_MODULES=
27541 if test "$wxUSE_THREADS" = "yes"; then
27542 GTK_MODULES=gthread
27543 fi
27544
27545 wx_cv_lib_gtk=
27546 if test "x$wxGTK_VERSION" != "x1"
27547 then
27548 case "${host}" in
27549 *-*-solaris2* )
27550 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27551 enable_gtktest=no
27552 fi
27553 esac
27554
27555 # Check whether --enable-gtktest or --disable-gtktest was given.
27556 if test "${enable_gtktest+set}" = set; then
27557 enableval="$enable_gtktest"
27558
27559 else
27560 enable_gtktest=yes
27561 fi;
27562
27563 pkg_config_args=gtk+-2.0
27564 for module in . $GTK_MODULES
27565 do
27566 case "$module" in
27567 gthread)
27568 pkg_config_args="$pkg_config_args gthread-2.0"
27569 ;;
27570 esac
27571 done
27572
27573 no_gtk=""
27574
27575 # Extract the first word of "pkg-config", so it can be a program name with args.
27576 set dummy pkg-config; ac_word=$2
27577 echo "$as_me:$LINENO: checking for $ac_word" >&5
27578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27579 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27581 else
27582 case $PKG_CONFIG in
27583 [\\/]* | ?:[\\/]*)
27584 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27585 ;;
27586 *)
27587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27588 for as_dir in $PATH
27589 do
27590 IFS=$as_save_IFS
27591 test -z "$as_dir" && as_dir=.
27592 for ac_exec_ext in '' $ac_executable_extensions; do
27593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27594 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27596 break 2
27597 fi
27598 done
27599 done
27600
27601 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27602 ;;
27603 esac
27604 fi
27605 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27606
27607 if test -n "$PKG_CONFIG"; then
27608 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27609 echo "${ECHO_T}$PKG_CONFIG" >&6
27610 else
27611 echo "$as_me:$LINENO: result: no" >&5
27612 echo "${ECHO_T}no" >&6
27613 fi
27614
27615
27616 if test x$PKG_CONFIG != xno ; then
27617 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27618 :
27619 else
27620 echo "*** pkg-config too old; version 0.7 or better required."
27621 no_gtk=yes
27622 PKG_CONFIG=no
27623 fi
27624 else
27625 no_gtk=yes
27626 fi
27627
27628 min_gtk_version=2.0.0
27629 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27630 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27631
27632 if test x$PKG_CONFIG != xno ; then
27633 ## don't try to run the test against uninstalled libtool libs
27634 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27635 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27636 enable_gtktest=no
27637 fi
27638
27639 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27640 :
27641 else
27642 no_gtk=yes
27643 fi
27644 fi
27645
27646 if test x"$no_gtk" = x ; then
27647 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27648 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27649 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27650 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27651 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27652 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27653 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27654 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27655 if test "x$enable_gtktest" = "xyes" ; then
27656 ac_save_CFLAGS="$CFLAGS"
27657 ac_save_LIBS="$LIBS"
27658 CFLAGS="$CFLAGS $GTK_CFLAGS"
27659 LIBS="$GTK_LIBS $LIBS"
27660 rm -f conf.gtktest
27661 if test "$cross_compiling" = yes; then
27662 echo $ac_n "cross compiling; assumed OK... $ac_c"
27663 else
27664 cat >conftest.$ac_ext <<_ACEOF
27665 /* confdefs.h. */
27666 _ACEOF
27667 cat confdefs.h >>conftest.$ac_ext
27668 cat >>conftest.$ac_ext <<_ACEOF
27669 /* end confdefs.h. */
27670
27671 #include <gtk/gtk.h>
27672 #include <stdio.h>
27673 #include <stdlib.h>
27674
27675 int
27676 main ()
27677 {
27678 int major, minor, micro;
27679 char *tmp_version;
27680
27681 system ("touch conf.gtktest");
27682
27683 /* HP/UX 9 (%@#!) writes to sscanf strings */
27684 tmp_version = g_strdup("$min_gtk_version");
27685 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27686 printf("%s, bad version string\n", "$min_gtk_version");
27687 exit(1);
27688 }
27689
27690 if ((gtk_major_version != $gtk_config_major_version) ||
27691 (gtk_minor_version != $gtk_config_minor_version) ||
27692 (gtk_micro_version != $gtk_config_micro_version))
27693 {
27694 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27695 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27696 gtk_major_version, gtk_minor_version, gtk_micro_version);
27697 printf ("*** was found! If pkg-config was correct, then it is best\n");
27698 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27699 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27700 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27701 printf("*** required on your system.\n");
27702 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27703 printf("*** to point to the correct configuration files\n");
27704 }
27705 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27706 (gtk_minor_version != GTK_MINOR_VERSION) ||
27707 (gtk_micro_version != GTK_MICRO_VERSION))
27708 {
27709 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27710 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27711 printf("*** library (version %d.%d.%d)\n",
27712 gtk_major_version, gtk_minor_version, gtk_micro_version);
27713 }
27714 else
27715 {
27716 if ((gtk_major_version > major) ||
27717 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27718 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27719 {
27720 return 0;
27721 }
27722 else
27723 {
27724 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27725 gtk_major_version, gtk_minor_version, gtk_micro_version);
27726 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27727 major, minor, micro);
27728 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27729 printf("***\n");
27730 printf("*** If you have already installed a sufficiently new version, this error\n");
27731 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27732 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27733 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27734 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27735 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27736 printf("*** so that the correct libraries are found at run-time))\n");
27737 }
27738 }
27739 return 1;
27740 }
27741
27742 _ACEOF
27743 rm -f conftest$ac_exeext
27744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27745 (eval $ac_link) 2>&5
27746 ac_status=$?
27747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27750 (eval $ac_try) 2>&5
27751 ac_status=$?
27752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 (exit $ac_status); }; }; then
27754 :
27755 else
27756 echo "$as_me: program exited with status $ac_status" >&5
27757 echo "$as_me: failed program was:" >&5
27758 sed 's/^/| /' conftest.$ac_ext >&5
27759
27760 ( exit $ac_status )
27761 no_gtk=yes
27762 fi
27763 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27764 fi
27765 CFLAGS="$ac_save_CFLAGS"
27766 LIBS="$ac_save_LIBS"
27767 fi
27768 fi
27769 if test "x$no_gtk" = x ; then
27770 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27771 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27772 wx_cv_lib_gtk=2.0
27773 else
27774 echo "$as_me:$LINENO: result: no" >&5
27775 echo "${ECHO_T}no" >&6
27776 if test "$PKG_CONFIG" = "no" ; then
27777 echo "*** A new enough version of pkg-config was not found."
27778 echo "*** See http://pkgconfig.sourceforge.net"
27779 else
27780 if test -f conf.gtktest ; then
27781 :
27782 else
27783 echo "*** Could not run GTK+ test program, checking why..."
27784 ac_save_CFLAGS="$CFLAGS"
27785 ac_save_LIBS="$LIBS"
27786 CFLAGS="$CFLAGS $GTK_CFLAGS"
27787 LIBS="$LIBS $GTK_LIBS"
27788 cat >conftest.$ac_ext <<_ACEOF
27789 /* confdefs.h. */
27790 _ACEOF
27791 cat confdefs.h >>conftest.$ac_ext
27792 cat >>conftest.$ac_ext <<_ACEOF
27793 /* end confdefs.h. */
27794
27795 #include <gtk/gtk.h>
27796 #include <stdio.h>
27797
27798 int
27799 main ()
27800 {
27801 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27802 ;
27803 return 0;
27804 }
27805 _ACEOF
27806 rm -f conftest.$ac_objext conftest$ac_exeext
27807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27808 (eval $ac_link) 2>conftest.er1
27809 ac_status=$?
27810 grep -v '^ *+' conftest.er1 >conftest.err
27811 rm -f conftest.er1
27812 cat conftest.err >&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); } &&
27815 { ac_try='test -z "$ac_c_werror_flag"
27816 || test ! -s conftest.err'
27817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27818 (eval $ac_try) 2>&5
27819 ac_status=$?
27820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821 (exit $ac_status); }; } &&
27822 { ac_try='test -s conftest$ac_exeext'
27823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27824 (eval $ac_try) 2>&5
27825 ac_status=$?
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); }; }; then
27828 echo "*** The test program compiled, but did not run. This usually means"
27829 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27830 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27831 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27832 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27833 echo "*** is required on your system"
27834 echo "***"
27835 echo "*** If you have an old version installed, it is best to remove it, although"
27836 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27837 else
27838 echo "$as_me: failed program was:" >&5
27839 sed 's/^/| /' conftest.$ac_ext >&5
27840
27841 echo "*** The test program failed to compile or link. See the file config.log for the"
27842 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27843 fi
27844 rm -f conftest.err conftest.$ac_objext \
27845 conftest$ac_exeext conftest.$ac_ext
27846 CFLAGS="$ac_save_CFLAGS"
27847 LIBS="$ac_save_LIBS"
27848 fi
27849 fi
27850 GTK_CFLAGS=""
27851 GTK_LIBS=""
27852 :
27853 fi
27854
27855
27856 rm -f conf.gtktest
27857
27858
27859 case "${host}" in
27860 *-*-solaris2* )
27861 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27862 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27863 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27864 fi
27865 if test "$wxUSE_SHARED" != "yes"; then
27866 GTK_LIBS="$GTK_LIBS -lX11"
27867 fi
27868 esac
27869 fi
27870
27871 if test -z "$wx_cv_lib_gtk"; then
27872 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27873
27874 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27875 if test "${with_gtk_prefix+set}" = set; then
27876 withval="$with_gtk_prefix"
27877 gtk_config_prefix="$withval"
27878 else
27879 gtk_config_prefix=""
27880 fi;
27881
27882 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27883 if test "${with_gtk_exec_prefix+set}" = set; then
27884 withval="$with_gtk_exec_prefix"
27885 gtk_config_exec_prefix="$withval"
27886 else
27887 gtk_config_exec_prefix=""
27888 fi;
27889 # Check whether --enable-gtktest or --disable-gtktest was given.
27890 if test "${enable_gtktest+set}" = set; then
27891 enableval="$enable_gtktest"
27892
27893 else
27894 enable_gtktest=yes
27895 fi;
27896
27897 for module in . $GTK_MODULES
27898 do
27899 case "$module" in
27900 gthread)
27901 gtk_config_args="$gtk_config_args gthread"
27902 ;;
27903 esac
27904 done
27905
27906 if test x$gtk_config_exec_prefix != x ; then
27907 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27908 if test x${GTK_CONFIG+set} != xset ; then
27909 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27910 fi
27911 fi
27912 if test x$gtk_config_prefix != x ; then
27913 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27914 if test x${GTK_CONFIG+set} != xset ; then
27915 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27916 fi
27917 fi
27918
27919 # Extract the first word of "gtk-config", so it can be a program name with args.
27920 set dummy gtk-config; ac_word=$2
27921 echo "$as_me:$LINENO: checking for $ac_word" >&5
27922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27923 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27924 echo $ECHO_N "(cached) $ECHO_C" >&6
27925 else
27926 case $GTK_CONFIG in
27927 [\\/]* | ?:[\\/]*)
27928 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27929 ;;
27930 *)
27931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27932 for as_dir in $PATH
27933 do
27934 IFS=$as_save_IFS
27935 test -z "$as_dir" && as_dir=.
27936 for ac_exec_ext in '' $ac_executable_extensions; do
27937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27938 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27940 break 2
27941 fi
27942 done
27943 done
27944
27945 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27946 ;;
27947 esac
27948 fi
27949 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27950
27951 if test -n "$GTK_CONFIG"; then
27952 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27953 echo "${ECHO_T}$GTK_CONFIG" >&6
27954 else
27955 echo "$as_me:$LINENO: result: no" >&5
27956 echo "${ECHO_T}no" >&6
27957 fi
27958
27959 min_gtk_version=1.2.7
27960 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27961 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27962 no_gtk=""
27963 if test "$GTK_CONFIG" = "no" ; then
27964 no_gtk=yes
27965 else
27966 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27967 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27968 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27970 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27972 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27974 if test "x$enable_gtktest" = "xyes" ; then
27975 ac_save_CFLAGS="$CFLAGS"
27976 ac_save_LIBS="$LIBS"
27977 CFLAGS="$CFLAGS $GTK_CFLAGS"
27978 LIBS="$GTK_LIBS $LIBS"
27979 rm -f conf.gtktest
27980 if test "$cross_compiling" = yes; then
27981 echo $ac_n "cross compiling; assumed OK... $ac_c"
27982 else
27983 cat >conftest.$ac_ext <<_ACEOF
27984 /* confdefs.h. */
27985 _ACEOF
27986 cat confdefs.h >>conftest.$ac_ext
27987 cat >>conftest.$ac_ext <<_ACEOF
27988 /* end confdefs.h. */
27989
27990 #include <gtk/gtk.h>
27991 #include <stdio.h>
27992 #include <stdlib.h>
27993
27994 int
27995 main ()
27996 {
27997 int major, minor, micro;
27998 char *tmp_version;
27999
28000 system ("touch conf.gtktest");
28001
28002 /* HP/UX 9 (%@#!) writes to sscanf strings */
28003 tmp_version = g_strdup("$min_gtk_version");
28004 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28005 printf("%s, bad version string\n", "$min_gtk_version");
28006 exit(1);
28007 }
28008
28009 if ((gtk_major_version != $gtk_config_major_version) ||
28010 (gtk_minor_version != $gtk_config_minor_version) ||
28011 (gtk_micro_version != $gtk_config_micro_version))
28012 {
28013 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28014 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28015 gtk_major_version, gtk_minor_version, gtk_micro_version);
28016 printf ("*** was found! If gtk-config was correct, then it is best\n");
28017 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28018 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28019 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28020 printf("*** required on your system.\n");
28021 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28022 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28023 printf("*** before re-running configure\n");
28024 }
28025 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28026 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28027 (gtk_minor_version != GTK_MINOR_VERSION) ||
28028 (gtk_micro_version != GTK_MICRO_VERSION))
28029 {
28030 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28031 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28032 printf("*** library (version %d.%d.%d)\n",
28033 gtk_major_version, gtk_minor_version, gtk_micro_version);
28034 }
28035 #endif /* defined (GTK_MAJOR_VERSION) ... */
28036 else
28037 {
28038 if ((gtk_major_version > major) ||
28039 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28040 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28041 {
28042 return 0;
28043 }
28044 else
28045 {
28046 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28047 gtk_major_version, gtk_minor_version, gtk_micro_version);
28048 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28049 major, minor, micro);
28050 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28051 printf("***\n");
28052 printf("*** If you have already installed a sufficiently new version, this error\n");
28053 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28054 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28055 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28056 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28057 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28058 printf("*** so that the correct libraries are found at run-time))\n");
28059 }
28060 }
28061 return 1;
28062 }
28063
28064 _ACEOF
28065 rm -f conftest$ac_exeext
28066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28067 (eval $ac_link) 2>&5
28068 ac_status=$?
28069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28070 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28072 (eval $ac_try) 2>&5
28073 ac_status=$?
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); }; }; then
28076 :
28077 else
28078 echo "$as_me: program exited with status $ac_status" >&5
28079 echo "$as_me: failed program was:" >&5
28080 sed 's/^/| /' conftest.$ac_ext >&5
28081
28082 ( exit $ac_status )
28083 no_gtk=yes
28084 fi
28085 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28086 fi
28087 CFLAGS="$ac_save_CFLAGS"
28088 LIBS="$ac_save_LIBS"
28089 fi
28090 fi
28091 if test "x$no_gtk" = x ; then
28092 echo "$as_me:$LINENO: result: yes" >&5
28093 echo "${ECHO_T}yes" >&6
28094 wx_cv_lib_gtk=1.2.7
28095 else
28096 echo "$as_me:$LINENO: result: no" >&5
28097 echo "${ECHO_T}no" >&6
28098 if test "$GTK_CONFIG" = "no" ; then
28099 echo "*** The gtk-config script installed by GTK could not be found"
28100 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28101 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28102 echo "*** full path to gtk-config."
28103 else
28104 if test -f conf.gtktest ; then
28105 :
28106 else
28107 echo "*** Could not run GTK test program, checking why..."
28108 CFLAGS="$CFLAGS $GTK_CFLAGS"
28109 LIBS="$LIBS $GTK_LIBS"
28110 cat >conftest.$ac_ext <<_ACEOF
28111 /* confdefs.h. */
28112 _ACEOF
28113 cat confdefs.h >>conftest.$ac_ext
28114 cat >>conftest.$ac_ext <<_ACEOF
28115 /* end confdefs.h. */
28116
28117 #include <gtk/gtk.h>
28118 #include <stdio.h>
28119
28120 int
28121 main ()
28122 {
28123 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28124 ;
28125 return 0;
28126 }
28127 _ACEOF
28128 rm -f conftest.$ac_objext conftest$ac_exeext
28129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28130 (eval $ac_link) 2>conftest.er1
28131 ac_status=$?
28132 grep -v '^ *+' conftest.er1 >conftest.err
28133 rm -f conftest.er1
28134 cat conftest.err >&5
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); } &&
28137 { ac_try='test -z "$ac_c_werror_flag"
28138 || test ! -s conftest.err'
28139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140 (eval $ac_try) 2>&5
28141 ac_status=$?
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); }; } &&
28144 { ac_try='test -s conftest$ac_exeext'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28147 ac_status=$?
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; }; then
28150 echo "*** The test program compiled, but did not run. This usually means"
28151 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28152 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28153 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28154 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28155 echo "*** is required on your system"
28156 echo "***"
28157 echo "*** If you have an old version installed, it is best to remove it, although"
28158 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28159 echo "***"
28160 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28161 echo "*** came with the system with the command"
28162 echo "***"
28163 echo "*** rpm --erase --nodeps gtk gtk-devel"
28164 else
28165 echo "$as_me: failed program was:" >&5
28166 sed 's/^/| /' conftest.$ac_ext >&5
28167
28168 echo "*** The test program failed to compile or link. See the file config.log for the"
28169 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28170 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28171 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28172 fi
28173 rm -f conftest.err conftest.$ac_objext \
28174 conftest$ac_exeext conftest.$ac_ext
28175 CFLAGS="$ac_save_CFLAGS"
28176 LIBS="$ac_save_LIBS"
28177 fi
28178 fi
28179 GTK_CFLAGS=""
28180 GTK_LIBS=""
28181 :
28182 fi
28183
28184
28185 rm -f conf.gtktest
28186
28187
28188 if test -z "$wx_cv_lib_gtk"; then
28189
28190 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28191 if test "${with_gtk_prefix+set}" = set; then
28192 withval="$with_gtk_prefix"
28193 gtk_config_prefix="$withval"
28194 else
28195 gtk_config_prefix=""
28196 fi;
28197
28198 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28199 if test "${with_gtk_exec_prefix+set}" = set; then
28200 withval="$with_gtk_exec_prefix"
28201 gtk_config_exec_prefix="$withval"
28202 else
28203 gtk_config_exec_prefix=""
28204 fi;
28205 # Check whether --enable-gtktest or --disable-gtktest was given.
28206 if test "${enable_gtktest+set}" = set; then
28207 enableval="$enable_gtktest"
28208
28209 else
28210 enable_gtktest=yes
28211 fi;
28212
28213 for module in . $GTK_MODULES
28214 do
28215 case "$module" in
28216 gthread)
28217 gtk_config_args="$gtk_config_args gthread"
28218 ;;
28219 esac
28220 done
28221
28222 if test x$gtk_config_exec_prefix != x ; then
28223 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28224 if test x${GTK_CONFIG+set} != xset ; then
28225 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28226 fi
28227 fi
28228 if test x$gtk_config_prefix != x ; then
28229 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28230 if test x${GTK_CONFIG+set} != xset ; then
28231 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28232 fi
28233 fi
28234
28235 # Extract the first word of "gtk-config", so it can be a program name with args.
28236 set dummy gtk-config; ac_word=$2
28237 echo "$as_me:$LINENO: checking for $ac_word" >&5
28238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28239 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28240 echo $ECHO_N "(cached) $ECHO_C" >&6
28241 else
28242 case $GTK_CONFIG in
28243 [\\/]* | ?:[\\/]*)
28244 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28245 ;;
28246 *)
28247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28248 for as_dir in $PATH
28249 do
28250 IFS=$as_save_IFS
28251 test -z "$as_dir" && as_dir=.
28252 for ac_exec_ext in '' $ac_executable_extensions; do
28253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28254 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28256 break 2
28257 fi
28258 done
28259 done
28260
28261 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28262 ;;
28263 esac
28264 fi
28265 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28266
28267 if test -n "$GTK_CONFIG"; then
28268 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28269 echo "${ECHO_T}$GTK_CONFIG" >&6
28270 else
28271 echo "$as_me:$LINENO: result: no" >&5
28272 echo "${ECHO_T}no" >&6
28273 fi
28274
28275 min_gtk_version=1.2.3
28276 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28277 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28278 no_gtk=""
28279 if test "$GTK_CONFIG" = "no" ; then
28280 no_gtk=yes
28281 else
28282 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28283 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28284 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28285 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28286 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28288 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28290 if test "x$enable_gtktest" = "xyes" ; then
28291 ac_save_CFLAGS="$CFLAGS"
28292 ac_save_LIBS="$LIBS"
28293 CFLAGS="$CFLAGS $GTK_CFLAGS"
28294 LIBS="$GTK_LIBS $LIBS"
28295 rm -f conf.gtktest
28296 if test "$cross_compiling" = yes; then
28297 echo $ac_n "cross compiling; assumed OK... $ac_c"
28298 else
28299 cat >conftest.$ac_ext <<_ACEOF
28300 /* confdefs.h. */
28301 _ACEOF
28302 cat confdefs.h >>conftest.$ac_ext
28303 cat >>conftest.$ac_ext <<_ACEOF
28304 /* end confdefs.h. */
28305
28306 #include <gtk/gtk.h>
28307 #include <stdio.h>
28308 #include <stdlib.h>
28309
28310 int
28311 main ()
28312 {
28313 int major, minor, micro;
28314 char *tmp_version;
28315
28316 system ("touch conf.gtktest");
28317
28318 /* HP/UX 9 (%@#!) writes to sscanf strings */
28319 tmp_version = g_strdup("$min_gtk_version");
28320 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28321 printf("%s, bad version string\n", "$min_gtk_version");
28322 exit(1);
28323 }
28324
28325 if ((gtk_major_version != $gtk_config_major_version) ||
28326 (gtk_minor_version != $gtk_config_minor_version) ||
28327 (gtk_micro_version != $gtk_config_micro_version))
28328 {
28329 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28330 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28331 gtk_major_version, gtk_minor_version, gtk_micro_version);
28332 printf ("*** was found! If gtk-config was correct, then it is best\n");
28333 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28334 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28335 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28336 printf("*** required on your system.\n");
28337 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28338 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28339 printf("*** before re-running configure\n");
28340 }
28341 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28342 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28343 (gtk_minor_version != GTK_MINOR_VERSION) ||
28344 (gtk_micro_version != GTK_MICRO_VERSION))
28345 {
28346 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28347 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28348 printf("*** library (version %d.%d.%d)\n",
28349 gtk_major_version, gtk_minor_version, gtk_micro_version);
28350 }
28351 #endif /* defined (GTK_MAJOR_VERSION) ... */
28352 else
28353 {
28354 if ((gtk_major_version > major) ||
28355 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28356 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28357 {
28358 return 0;
28359 }
28360 else
28361 {
28362 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28363 gtk_major_version, gtk_minor_version, gtk_micro_version);
28364 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28365 major, minor, micro);
28366 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28367 printf("***\n");
28368 printf("*** If you have already installed a sufficiently new version, this error\n");
28369 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28370 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28371 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28372 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28373 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28374 printf("*** so that the correct libraries are found at run-time))\n");
28375 }
28376 }
28377 return 1;
28378 }
28379
28380 _ACEOF
28381 rm -f conftest$ac_exeext
28382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28383 (eval $ac_link) 2>&5
28384 ac_status=$?
28385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28386 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28388 (eval $ac_try) 2>&5
28389 ac_status=$?
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); }; }; then
28392 :
28393 else
28394 echo "$as_me: program exited with status $ac_status" >&5
28395 echo "$as_me: failed program was:" >&5
28396 sed 's/^/| /' conftest.$ac_ext >&5
28397
28398 ( exit $ac_status )
28399 no_gtk=yes
28400 fi
28401 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28402 fi
28403 CFLAGS="$ac_save_CFLAGS"
28404 LIBS="$ac_save_LIBS"
28405 fi
28406 fi
28407 if test "x$no_gtk" = x ; then
28408 echo "$as_me:$LINENO: result: yes" >&5
28409 echo "${ECHO_T}yes" >&6
28410 wx_cv_lib_gtk=1.2.3
28411 else
28412 echo "$as_me:$LINENO: result: no" >&5
28413 echo "${ECHO_T}no" >&6
28414 if test "$GTK_CONFIG" = "no" ; then
28415 echo "*** The gtk-config script installed by GTK could not be found"
28416 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28417 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28418 echo "*** full path to gtk-config."
28419 else
28420 if test -f conf.gtktest ; then
28421 :
28422 else
28423 echo "*** Could not run GTK test program, checking why..."
28424 CFLAGS="$CFLAGS $GTK_CFLAGS"
28425 LIBS="$LIBS $GTK_LIBS"
28426 cat >conftest.$ac_ext <<_ACEOF
28427 /* confdefs.h. */
28428 _ACEOF
28429 cat confdefs.h >>conftest.$ac_ext
28430 cat >>conftest.$ac_ext <<_ACEOF
28431 /* end confdefs.h. */
28432
28433 #include <gtk/gtk.h>
28434 #include <stdio.h>
28435
28436 int
28437 main ()
28438 {
28439 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28440 ;
28441 return 0;
28442 }
28443 _ACEOF
28444 rm -f conftest.$ac_objext conftest$ac_exeext
28445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28446 (eval $ac_link) 2>conftest.er1
28447 ac_status=$?
28448 grep -v '^ *+' conftest.er1 >conftest.err
28449 rm -f conftest.er1
28450 cat conftest.err >&5
28451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28452 (exit $ac_status); } &&
28453 { ac_try='test -z "$ac_c_werror_flag"
28454 || test ! -s conftest.err'
28455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28456 (eval $ac_try) 2>&5
28457 ac_status=$?
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); }; } &&
28460 { ac_try='test -s conftest$ac_exeext'
28461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28462 (eval $ac_try) 2>&5
28463 ac_status=$?
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); }; }; then
28466 echo "*** The test program compiled, but did not run. This usually means"
28467 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28468 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28469 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28470 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28471 echo "*** is required on your system"
28472 echo "***"
28473 echo "*** If you have an old version installed, it is best to remove it, although"
28474 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28475 echo "***"
28476 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28477 echo "*** came with the system with the command"
28478 echo "***"
28479 echo "*** rpm --erase --nodeps gtk gtk-devel"
28480 else
28481 echo "$as_me: failed program was:" >&5
28482 sed 's/^/| /' conftest.$ac_ext >&5
28483
28484 echo "*** The test program failed to compile or link. See the file config.log for the"
28485 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28486 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28487 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28488 fi
28489 rm -f conftest.err conftest.$ac_objext \
28490 conftest$ac_exeext conftest.$ac_ext
28491 CFLAGS="$ac_save_CFLAGS"
28492 LIBS="$ac_save_LIBS"
28493 fi
28494 fi
28495 GTK_CFLAGS=""
28496 GTK_LIBS=""
28497 :
28498 fi
28499
28500
28501 rm -f conf.gtktest
28502
28503 fi
28504 fi
28505 fi
28506
28507 if test -z "$wx_cv_lib_gtk"; then
28508 wx_cv_lib_gtk=none
28509 else
28510 wx_cv_cflags_gtk=$GTK_CFLAGS
28511 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28512 fi
28513
28514
28515 fi
28516
28517
28518 if test "$gtk_version_cached" = 1; then
28519 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28520 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28521 fi
28522
28523 case "$wx_cv_lib_gtk" in
28524 2.0) WXGTK20=1
28525 TOOLKIT_VERSION=2
28526 ;;
28527 1.2.7) WXGTK127=1
28528 WXGTK12=1
28529 ;;
28530 1.2.3) WXGTK12=1
28531 ;;
28532 *) { { echo "$as_me:$LINENO: error:
28533 The development files for GTK+ were not found. For GTK+ 2, please
28534 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28535 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28536 and that the version is 1.2.3 or above. Also check that the
28537 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28538 --libs' are in the LD_LIBRARY_PATH or equivalent.
28539 " >&5
28540 echo "$as_me: error:
28541 The development files for GTK+ were not found. For GTK+ 2, please
28542 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28543 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28544 and that the version is 1.2.3 or above. Also check that the
28545 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28546 --libs' are in the LD_LIBRARY_PATH or equivalent.
28547 " >&2;}
28548 { (exit 1); exit 1; }; }
28549 ;;
28550 esac
28551
28552 if test "$WXGTK20" = 1; then
28553 save_CFLAGS="$CFLAGS"
28554 save_LIBS="$LIBS"
28555 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28556 LIBS="$LIBS $wx_cv_libs_gtk"
28557
28558 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
28559 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
28560 cat >conftest.$ac_ext <<_ACEOF
28561 /* confdefs.h. */
28562 _ACEOF
28563 cat confdefs.h >>conftest.$ac_ext
28564 cat >>conftest.$ac_ext <<_ACEOF
28565 /* end confdefs.h. */
28566
28567 #include <gtk/gtk.h>
28568
28569 int
28570 main ()
28571 {
28572
28573 void *f = gtk_icon_size_lookup;
28574
28575 ;
28576 return 0;
28577 }
28578 _ACEOF
28579 rm -f conftest.$ac_objext
28580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28581 (eval $ac_compile) 2>conftest.er1
28582 ac_status=$?
28583 grep -v '^ *+' conftest.er1 >conftest.err
28584 rm -f conftest.er1
28585 cat conftest.err >&5
28586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28587 (exit $ac_status); } &&
28588 { ac_try='test -z "$ac_c_werror_flag"
28589 || test ! -s conftest.err'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28592 ac_status=$?
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; } &&
28595 { ac_try='test -s conftest.$ac_objext'
28596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28597 (eval $ac_try) 2>&5
28598 ac_status=$?
28599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600 (exit $ac_status); }; }; then
28601
28602 echo "$as_me:$LINENO: result: no" >&5
28603 echo "${ECHO_T}no" >&6
28604
28605 else
28606 echo "$as_me: failed program was:" >&5
28607 sed 's/^/| /' conftest.$ac_ext >&5
28608
28609
28610 cat >>confdefs.h <<\_ACEOF
28611 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28612 _ACEOF
28613
28614 echo "$as_me:$LINENO: result: yes" >&5
28615 echo "${ECHO_T}yes" >&6
28616
28617 fi
28618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28619
28620 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28621 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28622 cat >conftest.$ac_ext <<_ACEOF
28623 /* confdefs.h. */
28624 _ACEOF
28625 cat confdefs.h >>conftest.$ac_ext
28626 cat >>conftest.$ac_ext <<_ACEOF
28627 /* end confdefs.h. */
28628
28629 #include <gtk/gtk.h>
28630
28631 int
28632 main ()
28633 {
28634
28635 #if !GTK_CHECK_VERSION(2,6,0)
28636 Not GTK+ 2.6
28637 #endif
28638
28639 ;
28640 return 0;
28641 }
28642 _ACEOF
28643 rm -f conftest.$ac_objext
28644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28645 (eval $ac_compile) 2>conftest.er1
28646 ac_status=$?
28647 grep -v '^ *+' conftest.er1 >conftest.err
28648 rm -f conftest.er1
28649 cat conftest.err >&5
28650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28651 (exit $ac_status); } &&
28652 { ac_try='test -z "$ac_c_werror_flag"
28653 || test ! -s conftest.err'
28654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28655 (eval $ac_try) 2>&5
28656 ac_status=$?
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); }; } &&
28659 { ac_try='test -s conftest.$ac_objext'
28660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28661 (eval $ac_try) 2>&5
28662 ac_status=$?
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); }; }; then
28665
28666 cat >>confdefs.h <<\_ACEOF
28667 #define __WXGTK26__ 1
28668 _ACEOF
28669
28670 cat >>confdefs.h <<\_ACEOF
28671 #define __WXGTK24__ 1
28672 _ACEOF
28673
28674 echo "$as_me:$LINENO: result: yes" >&5
28675 echo "${ECHO_T}yes" >&6
28676 ac_wxgtk26=1
28677
28678 else
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.$ac_ext >&5
28681
28682
28683 echo "$as_me:$LINENO: result: no" >&5
28684 echo "${ECHO_T}no" >&6
28685 ac_wxgtk26=0
28686
28687 fi
28688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28689
28690 if test "$ac_wxgtk26" = 0; then
28691 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28692 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28693 cat >conftest.$ac_ext <<_ACEOF
28694 /* confdefs.h. */
28695 _ACEOF
28696 cat confdefs.h >>conftest.$ac_ext
28697 cat >>conftest.$ac_ext <<_ACEOF
28698 /* end confdefs.h. */
28699
28700 #include <gtk/gtk.h>
28701
28702 int
28703 main ()
28704 {
28705
28706 #if !GTK_CHECK_VERSION(2,4,0)
28707 Not GTK+ 2.4
28708 #endif
28709
28710 ;
28711 return 0;
28712 }
28713 _ACEOF
28714 rm -f conftest.$ac_objext
28715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28716 (eval $ac_compile) 2>conftest.er1
28717 ac_status=$?
28718 grep -v '^ *+' conftest.er1 >conftest.err
28719 rm -f conftest.er1
28720 cat conftest.err >&5
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); } &&
28723 { ac_try='test -z "$ac_c_werror_flag"
28724 || test ! -s conftest.err'
28725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28726 (eval $ac_try) 2>&5
28727 ac_status=$?
28728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729 (exit $ac_status); }; } &&
28730 { ac_try='test -s conftest.$ac_objext'
28731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28732 (eval $ac_try) 2>&5
28733 ac_status=$?
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); }; }; then
28736
28737 cat >>confdefs.h <<\_ACEOF
28738 #define __WXGTK24__ 1
28739 _ACEOF
28740
28741 echo "$as_me:$LINENO: result: yes" >&5
28742 echo "${ECHO_T}yes" >&6
28743
28744 else
28745 echo "$as_me: failed program was:" >&5
28746 sed 's/^/| /' conftest.$ac_ext >&5
28747
28748
28749 echo "$as_me:$LINENO: result: no" >&5
28750 echo "${ECHO_T}no" >&6
28751
28752 fi
28753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28754 fi
28755
28756 CFLAGS="$save_CFLAGS"
28757 LIBS="$save_LIBS"
28758 else
28759 if test "$wxUSE_UNICODE" = "yes"; then
28760 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28761 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28762 wxUSE_UNICODE=no
28763 fi
28764 fi
28765
28766 ac_ext=cc
28767 ac_cpp='$CXXCPP $CPPFLAGS'
28768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28771
28772
28773 if test "$USE_DARWIN" != 1; then
28774
28775 for ac_func in poll
28776 do
28777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28778 echo "$as_me:$LINENO: checking for $ac_func" >&5
28779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28780 if eval "test \"\${$as_ac_var+set}\" = set"; then
28781 echo $ECHO_N "(cached) $ECHO_C" >&6
28782 else
28783 cat >conftest.$ac_ext <<_ACEOF
28784 /* confdefs.h. */
28785 _ACEOF
28786 cat confdefs.h >>conftest.$ac_ext
28787 cat >>conftest.$ac_ext <<_ACEOF
28788 /* end confdefs.h. */
28789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28791 #define $ac_func innocuous_$ac_func
28792
28793 /* System header to define __stub macros and hopefully few prototypes,
28794 which can conflict with char $ac_func (); below.
28795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28796 <limits.h> exists even on freestanding compilers. */
28797
28798 #ifdef __STDC__
28799 # include <limits.h>
28800 #else
28801 # include <assert.h>
28802 #endif
28803
28804 #undef $ac_func
28805
28806 /* Override any gcc2 internal prototype to avoid an error. */
28807 #ifdef __cplusplus
28808 extern "C"
28809 {
28810 #endif
28811 /* We use char because int might match the return type of a gcc2
28812 builtin and then its argument prototype would still apply. */
28813 char $ac_func ();
28814 /* The GNU C library defines this for functions which it implements
28815 to always fail with ENOSYS. Some functions are actually named
28816 something starting with __ and the normal name is an alias. */
28817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28818 choke me
28819 #else
28820 char (*f) () = $ac_func;
28821 #endif
28822 #ifdef __cplusplus
28823 }
28824 #endif
28825
28826 int
28827 main ()
28828 {
28829 return f != $ac_func;
28830 ;
28831 return 0;
28832 }
28833 _ACEOF
28834 rm -f conftest.$ac_objext conftest$ac_exeext
28835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28836 (eval $ac_link) 2>conftest.er1
28837 ac_status=$?
28838 grep -v '^ *+' conftest.er1 >conftest.err
28839 rm -f conftest.er1
28840 cat conftest.err >&5
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); } &&
28843 { ac_try='test -z "$ac_cxx_werror_flag"
28844 || test ! -s conftest.err'
28845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28846 (eval $ac_try) 2>&5
28847 ac_status=$?
28848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28849 (exit $ac_status); }; } &&
28850 { ac_try='test -s conftest$ac_exeext'
28851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28852 (eval $ac_try) 2>&5
28853 ac_status=$?
28854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28855 (exit $ac_status); }; }; then
28856 eval "$as_ac_var=yes"
28857 else
28858 echo "$as_me: failed program was:" >&5
28859 sed 's/^/| /' conftest.$ac_ext >&5
28860
28861 eval "$as_ac_var=no"
28862 fi
28863 rm -f conftest.err conftest.$ac_objext \
28864 conftest$ac_exeext conftest.$ac_ext
28865 fi
28866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28868 if test `eval echo '${'$as_ac_var'}'` = yes; then
28869 cat >>confdefs.h <<_ACEOF
28870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28871 _ACEOF
28872
28873 fi
28874 done
28875
28876 fi
28877
28878 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28879 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28880
28881 AFMINSTALL=afminstall
28882 TOOLKIT=GTK
28883 GUIDIST=GTK_DIST
28884
28885 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28886 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28887 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28888 echo $ECHO_N "(cached) $ECHO_C" >&6
28889 else
28890 ac_check_lib_save_LIBS=$LIBS
28891 LIBS="-lgdk $LIBS"
28892 cat >conftest.$ac_ext <<_ACEOF
28893 /* confdefs.h. */
28894 _ACEOF
28895 cat confdefs.h >>conftest.$ac_ext
28896 cat >>conftest.$ac_ext <<_ACEOF
28897 /* end confdefs.h. */
28898
28899 /* Override any gcc2 internal prototype to avoid an error. */
28900 #ifdef __cplusplus
28901 extern "C"
28902 #endif
28903 /* We use char because int might match the return type of a gcc2
28904 builtin and then its argument prototype would still apply. */
28905 char gdk_im_open ();
28906 int
28907 main ()
28908 {
28909 gdk_im_open ();
28910 ;
28911 return 0;
28912 }
28913 _ACEOF
28914 rm -f conftest.$ac_objext conftest$ac_exeext
28915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28916 (eval $ac_link) 2>conftest.er1
28917 ac_status=$?
28918 grep -v '^ *+' conftest.er1 >conftest.err
28919 rm -f conftest.er1
28920 cat conftest.err >&5
28921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28922 (exit $ac_status); } &&
28923 { ac_try='test -z "$ac_cxx_werror_flag"
28924 || test ! -s conftest.err'
28925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28926 (eval $ac_try) 2>&5
28927 ac_status=$?
28928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28929 (exit $ac_status); }; } &&
28930 { ac_try='test -s conftest$ac_exeext'
28931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28932 (eval $ac_try) 2>&5
28933 ac_status=$?
28934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28935 (exit $ac_status); }; }; then
28936 ac_cv_lib_gdk_gdk_im_open=yes
28937 else
28938 echo "$as_me: failed program was:" >&5
28939 sed 's/^/| /' conftest.$ac_ext >&5
28940
28941 ac_cv_lib_gdk_gdk_im_open=no
28942 fi
28943 rm -f conftest.err conftest.$ac_objext \
28944 conftest$ac_exeext conftest.$ac_ext
28945 LIBS=$ac_check_lib_save_LIBS
28946 fi
28947 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28948 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28949 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28950 cat >>confdefs.h <<\_ACEOF
28951 #define HAVE_XIM 1
28952 _ACEOF
28953
28954 fi
28955
28956
28957
28958 if test "$wxUSE_GPE" = "yes"; then
28959 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28960 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28961
28962 ac_find_libraries=
28963 for ac_dir in $SEARCH_LIB;
28964 do
28965 for ac_extension in a so sl dylib dll.a; do
28966 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28967 ac_find_libraries=$ac_dir
28968 break 2
28969 fi
28970 done
28971 done
28972
28973 if test "$ac_find_libraries" != "" ; then
28974
28975 if test "$ac_find_libraries" = "default location"; then
28976 ac_path_to_link=""
28977 else
28978 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28979 result=$?
28980 if test $result = 0; then
28981 ac_path_to_link=""
28982 else
28983 ac_path_to_link=" -L$ac_find_libraries"
28984 fi
28985 fi
28986
28987 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28988 WXGPE=1
28989 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28990 echo "${ECHO_T}found in $ac_find_libraries" >&6
28991 else
28992 echo "$as_me:$LINENO: result: not found" >&5
28993 echo "${ECHO_T}not found" >&6
28994 fi
28995
28996 fi
28997 fi
28998
28999 if test "$wxUSE_MGL" = 1; then
29000 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29001 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29002 if test "x$MGL_ROOT" = x ; then
29003 echo "$as_me:$LINENO: result: not found" >&5
29004 echo "${ECHO_T}not found" >&6
29005 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29006 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29007 { (exit 1); exit 1; }; }
29008 else
29009 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29010 echo "${ECHO_T}$MGL_ROOT" >&6
29011 fi
29012
29013 echo "$as_me:$LINENO: checking for libmgl location" >&5
29014 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29015 case "${host}" in
29016 *-*-linux* )
29017 if test "x$wxUSE_SHARED" = xyes ; then
29018 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29019 else
29020 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29021 fi
29022 ;;
29023 *-pc-msdosdjgpp )
29024 mgl_os_candidates="dos32/dj2"
29025 ;;
29026 *)
29027 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29028 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29029 { (exit 1); exit 1; }; }
29030 esac
29031
29032 mgl_lib_type=""
29033 mgl_os=""
29034
29035 for mgl_os_i in $mgl_os_candidates ; do
29036 if test "x$mgl_os" = x ; then
29037 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29038 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29039 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29040 mgl_lib_type=debug
29041 mgl_os=$mgl_os_i
29042 fi
29043 fi
29044 if test "x$mgl_lib_type" = x ; then
29045 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29046 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29047 mgl_lib_type=release
29048 mgl_os=$mgl_os_i
29049 fi
29050 fi
29051 fi
29052 done
29053
29054 if test "x$mgl_os" = x ; then
29055 echo "$as_me:$LINENO: result: not found" >&5
29056 echo "${ECHO_T}not found" >&6
29057 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29058 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29059 { (exit 1); exit 1; }; }
29060 fi
29061 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29062 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29063
29064 wxUSE_UNIVERSAL="yes"
29065
29066 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29067 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29068
29069 AFMINSTALL=afminstall
29070 TOOLKIT=MGL
29071 GUIDIST=MGL_DIST
29072 fi
29073
29074 if test "$wxUSE_DFB" = 1; then
29075
29076
29077 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29078 if test -n "$ac_tool_prefix"; then
29079 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29080 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29081 echo "$as_me:$LINENO: checking for $ac_word" >&5
29082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29083 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29084 echo $ECHO_N "(cached) $ECHO_C" >&6
29085 else
29086 case $PKG_CONFIG in
29087 [\\/]* | ?:[\\/]*)
29088 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29089 ;;
29090 *)
29091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29092 for as_dir in $PATH
29093 do
29094 IFS=$as_save_IFS
29095 test -z "$as_dir" && as_dir=.
29096 for ac_exec_ext in '' $ac_executable_extensions; do
29097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29098 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29100 break 2
29101 fi
29102 done
29103 done
29104
29105 ;;
29106 esac
29107 fi
29108 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29109
29110 if test -n "$PKG_CONFIG"; then
29111 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29112 echo "${ECHO_T}$PKG_CONFIG" >&6
29113 else
29114 echo "$as_me:$LINENO: result: no" >&5
29115 echo "${ECHO_T}no" >&6
29116 fi
29117
29118 fi
29119 if test -z "$ac_cv_path_PKG_CONFIG"; then
29120 ac_pt_PKG_CONFIG=$PKG_CONFIG
29121 # Extract the first word of "pkg-config", so it can be a program name with args.
29122 set dummy pkg-config; ac_word=$2
29123 echo "$as_me:$LINENO: checking for $ac_word" >&5
29124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29125 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29126 echo $ECHO_N "(cached) $ECHO_C" >&6
29127 else
29128 case $ac_pt_PKG_CONFIG in
29129 [\\/]* | ?:[\\/]*)
29130 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29131 ;;
29132 *)
29133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29134 for as_dir in $PATH
29135 do
29136 IFS=$as_save_IFS
29137 test -z "$as_dir" && as_dir=.
29138 for ac_exec_ext in '' $ac_executable_extensions; do
29139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29140 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29142 break 2
29143 fi
29144 done
29145 done
29146
29147 ;;
29148 esac
29149 fi
29150 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29151
29152 if test -n "$ac_pt_PKG_CONFIG"; then
29153 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29154 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29155 else
29156 echo "$as_me:$LINENO: result: no" >&5
29157 echo "${ECHO_T}no" >&6
29158 fi
29159
29160 PKG_CONFIG=$ac_pt_PKG_CONFIG
29161 else
29162 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29163 fi
29164
29165 fi
29166 if test -n "$PKG_CONFIG"; then
29167 _pkg_min_version=0.9.0
29168 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29169 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29170 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29171 echo "$as_me:$LINENO: result: yes" >&5
29172 echo "${ECHO_T}yes" >&6
29173 else
29174 echo "$as_me:$LINENO: result: no" >&5
29175 echo "${ECHO_T}no" >&6
29176 PKG_CONFIG=""
29177 fi
29178
29179 fi
29180
29181 pkg_failed=no
29182 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29183 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29184
29185 if test -n "$PKG_CONFIG"; then
29186 if test -n "$DIRECTFB_CFLAGS"; then
29187 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29188 else
29189 if test -n "$PKG_CONFIG" && \
29190 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29191 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29192 ac_status=$?
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); }; then
29195 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29196 else
29197 pkg_failed=yes
29198 fi
29199 fi
29200 else
29201 pkg_failed=untried
29202 fi
29203 if test -n "$PKG_CONFIG"; then
29204 if test -n "$DIRECTFB_LIBS"; then
29205 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29206 else
29207 if test -n "$PKG_CONFIG" && \
29208 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29209 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29210 ac_status=$?
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); }; then
29213 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29214 else
29215 pkg_failed=yes
29216 fi
29217 fi
29218 else
29219 pkg_failed=untried
29220 fi
29221
29222
29223
29224 if test $pkg_failed = yes; then
29225
29226 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29227 _pkg_short_errors_supported=yes
29228 else
29229 _pkg_short_errors_supported=no
29230 fi
29231 if test $_pkg_short_errors_supported = yes; then
29232 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29233 else
29234 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29235 fi
29236 # Put the nasty error message in config.log where it belongs
29237 echo "$DIRECTFB_PKG_ERRORS" >&5
29238
29239
29240 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29241 echo "$as_me: error: DirectFB not found." >&2;}
29242 { (exit 1); exit 1; }; }
29243
29244
29245 elif test $pkg_failed = untried; then
29246
29247 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29248 echo "$as_me: error: DirectFB not found." >&2;}
29249 { (exit 1); exit 1; }; }
29250
29251
29252 else
29253 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29254 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29255 echo "$as_me:$LINENO: result: yes" >&5
29256 echo "${ECHO_T}yes" >&6
29257
29258 wxUSE_UNIVERSAL="yes"
29259 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29260 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29261 TOOLKIT=DFB
29262 GUIDIST=DFB_DIST
29263
29264 fi
29265 fi
29266
29267 if test "$wxUSE_MICROWIN" = 1; then
29268 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29269 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29270 if test "x$MICROWINDOWS" = x ; then
29271 echo "$as_me:$LINENO: result: not found" >&5
29272 echo "${ECHO_T}not found" >&6
29273 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29274 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29275 { (exit 1); exit 1; }; }
29276 else
29277 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29278 echo "${ECHO_T}$MICROWINDOWS" >&6
29279 fi
29280
29281 if test -f $MICROWINDOWS/lib/libmwin.a; then
29282 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29283 echo "${ECHO_T}MicroWindows' libraries found." >&6
29284 else
29285 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29286 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29287 { (exit 1); exit 1; }; }
29288 fi
29289
29290 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29291 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29292
29293 wxUSE_UNIVERSAL="yes"
29294
29295 AFMINSTALL=afminstall
29296 TOOLKIT=MICROWIN
29297 GUIDIST=MICROWIN_DIST
29298
29299 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29300 fi
29301
29302 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29303 echo "$as_me:$LINENO: checking for X" >&5
29304 echo $ECHO_N "checking for X... $ECHO_C" >&6
29305
29306
29307 # Check whether --with-x or --without-x was given.
29308 if test "${with_x+set}" = set; then
29309 withval="$with_x"
29310
29311 fi;
29312 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29313 if test "x$with_x" = xno; then
29314 # The user explicitly disabled X.
29315 have_x=disabled
29316 else
29317 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29318 # Both variables are already set.
29319 have_x=yes
29320 else
29321 if test "${ac_cv_have_x+set}" = set; then
29322 echo $ECHO_N "(cached) $ECHO_C" >&6
29323 else
29324 # One or both of the vars are not set, and there is no cached value.
29325 ac_x_includes=no ac_x_libraries=no
29326 rm -fr conftest.dir
29327 if mkdir conftest.dir; then
29328 cd conftest.dir
29329 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29330 cat >Imakefile <<'_ACEOF'
29331 acfindx:
29332 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29333 _ACEOF
29334 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29335 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29336 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29337 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29338 for ac_extension in a so sl; do
29339 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29340 test -f $ac_im_libdir/libX11.$ac_extension; then
29341 ac_im_usrlibdir=$ac_im_libdir; break
29342 fi
29343 done
29344 # Screen out bogus values from the imake configuration. They are
29345 # bogus both because they are the default anyway, and because
29346 # using them would break gcc on systems where it needs fixed includes.
29347 case $ac_im_incroot in
29348 /usr/include) ;;
29349 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29350 esac
29351 case $ac_im_usrlibdir in
29352 /usr/lib | /lib) ;;
29353 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29354 esac
29355 fi
29356 cd ..
29357 rm -fr conftest.dir
29358 fi
29359
29360 # Standard set of common directories for X headers.
29361 # Check X11 before X11Rn because it is often a symlink to the current release.
29362 ac_x_header_dirs='
29363 /usr/X11/include
29364 /usr/X11R6/include
29365 /usr/X11R5/include
29366 /usr/X11R4/include
29367
29368 /usr/include/X11
29369 /usr/include/X11R6
29370 /usr/include/X11R5
29371 /usr/include/X11R4
29372
29373 /usr/local/X11/include
29374 /usr/local/X11R6/include
29375 /usr/local/X11R5/include
29376 /usr/local/X11R4/include
29377
29378 /usr/local/include/X11
29379 /usr/local/include/X11R6
29380 /usr/local/include/X11R5
29381 /usr/local/include/X11R4
29382
29383 /usr/X386/include
29384 /usr/x386/include
29385 /usr/XFree86/include/X11
29386
29387 /usr/include
29388 /usr/local/include
29389 /usr/unsupported/include
29390 /usr/athena/include
29391 /usr/local/x11r5/include
29392 /usr/lpp/Xamples/include
29393
29394 /usr/openwin/include
29395 /usr/openwin/share/include'
29396
29397 if test "$ac_x_includes" = no; then
29398 # Guess where to find include files, by looking for Intrinsic.h.
29399 # First, try using that file with no special directory specified.
29400 cat >conftest.$ac_ext <<_ACEOF
29401 /* confdefs.h. */
29402 _ACEOF
29403 cat confdefs.h >>conftest.$ac_ext
29404 cat >>conftest.$ac_ext <<_ACEOF
29405 /* end confdefs.h. */
29406 #include <X11/Intrinsic.h>
29407 _ACEOF
29408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29410 ac_status=$?
29411 grep -v '^ *+' conftest.er1 >conftest.err
29412 rm -f conftest.er1
29413 cat conftest.err >&5
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); } >/dev/null; then
29416 if test -s conftest.err; then
29417 ac_cpp_err=$ac_cxx_preproc_warn_flag
29418 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29419 else
29420 ac_cpp_err=
29421 fi
29422 else
29423 ac_cpp_err=yes
29424 fi
29425 if test -z "$ac_cpp_err"; then
29426 # We can compile using X headers with no special include directory.
29427 ac_x_includes=
29428 else
29429 echo "$as_me: failed program was:" >&5
29430 sed 's/^/| /' conftest.$ac_ext >&5
29431
29432 for ac_dir in $ac_x_header_dirs; do
29433 if test -r "$ac_dir/X11/Intrinsic.h"; then
29434 ac_x_includes=$ac_dir
29435 break
29436 fi
29437 done
29438 fi
29439 rm -f conftest.err conftest.$ac_ext
29440 fi # $ac_x_includes = no
29441
29442 if test "$ac_x_libraries" = no; then
29443 # Check for the libraries.
29444 # See if we find them without any special options.
29445 # Don't add to $LIBS permanently.
29446 ac_save_LIBS=$LIBS
29447 LIBS="-lXt $LIBS"
29448 cat >conftest.$ac_ext <<_ACEOF
29449 /* confdefs.h. */
29450 _ACEOF
29451 cat confdefs.h >>conftest.$ac_ext
29452 cat >>conftest.$ac_ext <<_ACEOF
29453 /* end confdefs.h. */
29454 #include <X11/Intrinsic.h>
29455 int
29456 main ()
29457 {
29458 XtMalloc (0)
29459 ;
29460 return 0;
29461 }
29462 _ACEOF
29463 rm -f conftest.$ac_objext conftest$ac_exeext
29464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29465 (eval $ac_link) 2>conftest.er1
29466 ac_status=$?
29467 grep -v '^ *+' conftest.er1 >conftest.err
29468 rm -f conftest.er1
29469 cat conftest.err >&5
29470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29471 (exit $ac_status); } &&
29472 { ac_try='test -z "$ac_cxx_werror_flag"
29473 || test ! -s conftest.err'
29474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29475 (eval $ac_try) 2>&5
29476 ac_status=$?
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); }; } &&
29479 { ac_try='test -s conftest$ac_exeext'
29480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29481 (eval $ac_try) 2>&5
29482 ac_status=$?
29483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29484 (exit $ac_status); }; }; then
29485 LIBS=$ac_save_LIBS
29486 # We can link X programs with no special library path.
29487 ac_x_libraries=
29488 else
29489 echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.$ac_ext >&5
29491
29492 LIBS=$ac_save_LIBS
29493 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29494 do
29495 # Don't even attempt the hair of trying to link an X program!
29496 for ac_extension in a so sl; do
29497 if test -r $ac_dir/libXt.$ac_extension; then
29498 ac_x_libraries=$ac_dir
29499 break 2
29500 fi
29501 done
29502 done
29503 fi
29504 rm -f conftest.err conftest.$ac_objext \
29505 conftest$ac_exeext conftest.$ac_ext
29506 fi # $ac_x_libraries = no
29507
29508 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29509 # Didn't find X anywhere. Cache the known absence of X.
29510 ac_cv_have_x="have_x=no"
29511 else
29512 # Record where we found X for the cache.
29513 ac_cv_have_x="have_x=yes \
29514 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29515 fi
29516 fi
29517
29518 fi
29519 eval "$ac_cv_have_x"
29520 fi # $with_x != no
29521
29522 if test "$have_x" != yes; then
29523 echo "$as_me:$LINENO: result: $have_x" >&5
29524 echo "${ECHO_T}$have_x" >&6
29525 no_x=yes
29526 else
29527 # If each of the values was on the command line, it overrides each guess.
29528 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29529 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29530 # Update the cache value to reflect the command line values.
29531 ac_cv_have_x="have_x=yes \
29532 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29533 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29534 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
29535 fi
29536
29537 if test "$no_x" = yes; then
29538 # Not all programs may use this symbol, but it does not hurt to define it.
29539
29540 cat >>confdefs.h <<\_ACEOF
29541 #define X_DISPLAY_MISSING 1
29542 _ACEOF
29543
29544 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29545 else
29546 if test -n "$x_includes"; then
29547 X_CFLAGS="$X_CFLAGS -I$x_includes"
29548 fi
29549
29550 # It would also be nice to do this for all -L options, not just this one.
29551 if test -n "$x_libraries"; then
29552 X_LIBS="$X_LIBS -L$x_libraries"
29553 # For Solaris; some versions of Sun CC require a space after -R and
29554 # others require no space. Words are not sufficient . . . .
29555 case `(uname -sr) 2>/dev/null` in
29556 "SunOS 5"*)
29557 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29558 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29559 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29560 cat >conftest.$ac_ext <<_ACEOF
29561 /* confdefs.h. */
29562 _ACEOF
29563 cat confdefs.h >>conftest.$ac_ext
29564 cat >>conftest.$ac_ext <<_ACEOF
29565 /* end confdefs.h. */
29566
29567 int
29568 main ()
29569 {
29570
29571 ;
29572 return 0;
29573 }
29574 _ACEOF
29575 rm -f conftest.$ac_objext conftest$ac_exeext
29576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29577 (eval $ac_link) 2>conftest.er1
29578 ac_status=$?
29579 grep -v '^ *+' conftest.er1 >conftest.err
29580 rm -f conftest.er1
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } &&
29584 { ac_try='test -z "$ac_cxx_werror_flag"
29585 || test ! -s conftest.err'
29586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29587 (eval $ac_try) 2>&5
29588 ac_status=$?
29589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29590 (exit $ac_status); }; } &&
29591 { ac_try='test -s conftest$ac_exeext'
29592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29593 (eval $ac_try) 2>&5
29594 ac_status=$?
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); }; }; then
29597 ac_R_nospace=yes
29598 else
29599 echo "$as_me: failed program was:" >&5
29600 sed 's/^/| /' conftest.$ac_ext >&5
29601
29602 ac_R_nospace=no
29603 fi
29604 rm -f conftest.err conftest.$ac_objext \
29605 conftest$ac_exeext conftest.$ac_ext
29606 if test $ac_R_nospace = yes; then
29607 echo "$as_me:$LINENO: result: no" >&5
29608 echo "${ECHO_T}no" >&6
29609 X_LIBS="$X_LIBS -R$x_libraries"
29610 else
29611 LIBS="$ac_xsave_LIBS -R $x_libraries"
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
29619 int
29620 main ()
29621 {
29622
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"
29637 || test ! -s conftest.err'
29638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29639 (eval $ac_try) 2>&5
29640 ac_status=$?
29641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29642 (exit $ac_status); }; } &&
29643 { ac_try='test -s conftest$ac_exeext'
29644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29645 (eval $ac_try) 2>&5
29646 ac_status=$?
29647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29648 (exit $ac_status); }; }; then
29649 ac_R_space=yes
29650 else
29651 echo "$as_me: failed program was:" >&5
29652 sed 's/^/| /' conftest.$ac_ext >&5
29653
29654 ac_R_space=no
29655 fi
29656 rm -f conftest.err conftest.$ac_objext \
29657 conftest$ac_exeext conftest.$ac_ext
29658 if test $ac_R_space = yes; then
29659 echo "$as_me:$LINENO: result: yes" >&5
29660 echo "${ECHO_T}yes" >&6
29661 X_LIBS="$X_LIBS -R $x_libraries"
29662 else
29663 echo "$as_me:$LINENO: result: neither works" >&5
29664 echo "${ECHO_T}neither works" >&6
29665 fi
29666 fi
29667 LIBS=$ac_xsave_LIBS
29668 esac
29669 fi
29670
29671 # Check for system-dependent libraries X programs must link with.
29672 # Do this before checking for the system-independent R6 libraries
29673 # (-lICE), since we may need -lsocket or whatever for X linking.
29674
29675 if test "$ISC" = yes; then
29676 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29677 else
29678 # Martyn Johnson says this is needed for Ultrix, if the X
29679 # libraries were built with DECnet support. And Karl Berry says
29680 # the Alpha needs dnet_stub (dnet does not exist).
29681 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29682 cat >conftest.$ac_ext <<_ACEOF
29683 /* confdefs.h. */
29684 _ACEOF
29685 cat confdefs.h >>conftest.$ac_ext
29686 cat >>conftest.$ac_ext <<_ACEOF
29687 /* end confdefs.h. */
29688
29689 /* Override any gcc2 internal prototype to avoid an error. */
29690 #ifdef __cplusplus
29691 extern "C"
29692 #endif
29693 /* We use char because int might match the return type of a gcc2
29694 builtin and then its argument prototype would still apply. */
29695 char XOpenDisplay ();
29696 int
29697 main ()
29698 {
29699 XOpenDisplay ();
29700 ;
29701 return 0;
29702 }
29703 _ACEOF
29704 rm -f conftest.$ac_objext conftest$ac_exeext
29705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29706 (eval $ac_link) 2>conftest.er1
29707 ac_status=$?
29708 grep -v '^ *+' conftest.er1 >conftest.err
29709 rm -f conftest.er1
29710 cat conftest.err >&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); } &&
29713 { ac_try='test -z "$ac_cxx_werror_flag"
29714 || test ! -s conftest.err'
29715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29716 (eval $ac_try) 2>&5
29717 ac_status=$?
29718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719 (exit $ac_status); }; } &&
29720 { ac_try='test -s conftest$ac_exeext'
29721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29722 (eval $ac_try) 2>&5
29723 ac_status=$?
29724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725 (exit $ac_status); }; }; then
29726 :
29727 else
29728 echo "$as_me: failed program was:" >&5
29729 sed 's/^/| /' conftest.$ac_ext >&5
29730
29731 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29732 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29733 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29734 echo $ECHO_N "(cached) $ECHO_C" >&6
29735 else
29736 ac_check_lib_save_LIBS=$LIBS
29737 LIBS="-ldnet $LIBS"
29738 cat >conftest.$ac_ext <<_ACEOF
29739 /* confdefs.h. */
29740 _ACEOF
29741 cat confdefs.h >>conftest.$ac_ext
29742 cat >>conftest.$ac_ext <<_ACEOF
29743 /* end confdefs.h. */
29744
29745 /* Override any gcc2 internal prototype to avoid an error. */
29746 #ifdef __cplusplus
29747 extern "C"
29748 #endif
29749 /* We use char because int might match the return type of a gcc2
29750 builtin and then its argument prototype would still apply. */
29751 char dnet_ntoa ();
29752 int
29753 main ()
29754 {
29755 dnet_ntoa ();
29756 ;
29757 return 0;
29758 }
29759 _ACEOF
29760 rm -f conftest.$ac_objext conftest$ac_exeext
29761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29762 (eval $ac_link) 2>conftest.er1
29763 ac_status=$?
29764 grep -v '^ *+' conftest.er1 >conftest.err
29765 rm -f conftest.er1
29766 cat conftest.err >&5
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); } &&
29769 { ac_try='test -z "$ac_cxx_werror_flag"
29770 || test ! -s conftest.err'
29771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29772 (eval $ac_try) 2>&5
29773 ac_status=$?
29774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29775 (exit $ac_status); }; } &&
29776 { ac_try='test -s conftest$ac_exeext'
29777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29778 (eval $ac_try) 2>&5
29779 ac_status=$?
29780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 (exit $ac_status); }; }; then
29782 ac_cv_lib_dnet_dnet_ntoa=yes
29783 else
29784 echo "$as_me: failed program was:" >&5
29785 sed 's/^/| /' conftest.$ac_ext >&5
29786
29787 ac_cv_lib_dnet_dnet_ntoa=no
29788 fi
29789 rm -f conftest.err conftest.$ac_objext \
29790 conftest$ac_exeext conftest.$ac_ext
29791 LIBS=$ac_check_lib_save_LIBS
29792 fi
29793 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29794 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29795 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29796 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29797 fi
29798
29799 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29800 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29801 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29802 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29803 echo $ECHO_N "(cached) $ECHO_C" >&6
29804 else
29805 ac_check_lib_save_LIBS=$LIBS
29806 LIBS="-ldnet_stub $LIBS"
29807 cat >conftest.$ac_ext <<_ACEOF
29808 /* confdefs.h. */
29809 _ACEOF
29810 cat confdefs.h >>conftest.$ac_ext
29811 cat >>conftest.$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29813
29814 /* Override any gcc2 internal prototype to avoid an error. */
29815 #ifdef __cplusplus
29816 extern "C"
29817 #endif
29818 /* We use char because int might match the return type of a gcc2
29819 builtin and then its argument prototype would still apply. */
29820 char dnet_ntoa ();
29821 int
29822 main ()
29823 {
29824 dnet_ntoa ();
29825 ;
29826 return 0;
29827 }
29828 _ACEOF
29829 rm -f conftest.$ac_objext conftest$ac_exeext
29830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29831 (eval $ac_link) 2>conftest.er1
29832 ac_status=$?
29833 grep -v '^ *+' conftest.er1 >conftest.err
29834 rm -f conftest.er1
29835 cat conftest.err >&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); } &&
29838 { ac_try='test -z "$ac_cxx_werror_flag"
29839 || test ! -s conftest.err'
29840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29841 (eval $ac_try) 2>&5
29842 ac_status=$?
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); }; } &&
29845 { ac_try='test -s conftest$ac_exeext'
29846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29847 (eval $ac_try) 2>&5
29848 ac_status=$?
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); }; }; then
29851 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29852 else
29853 echo "$as_me: failed program was:" >&5
29854 sed 's/^/| /' conftest.$ac_ext >&5
29855
29856 ac_cv_lib_dnet_stub_dnet_ntoa=no
29857 fi
29858 rm -f conftest.err conftest.$ac_objext \
29859 conftest$ac_exeext conftest.$ac_ext
29860 LIBS=$ac_check_lib_save_LIBS
29861 fi
29862 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29863 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29864 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29865 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29866 fi
29867
29868 fi
29869 fi
29870 rm -f conftest.err conftest.$ac_objext \
29871 conftest$ac_exeext conftest.$ac_ext
29872 LIBS="$ac_xsave_LIBS"
29873
29874 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29875 # to get the SysV transport functions.
29876 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29877 # needs -lnsl.
29878 # The nsl library prevents programs from opening the X display
29879 # on Irix 5.2, according to T.E. Dickey.
29880 # The functions gethostbyname, getservbyname, and inet_addr are
29881 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29882 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29883 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29884 if test "${ac_cv_func_gethostbyname+set}" = set; then
29885 echo $ECHO_N "(cached) $ECHO_C" >&6
29886 else
29887 cat >conftest.$ac_ext <<_ACEOF
29888 /* confdefs.h. */
29889 _ACEOF
29890 cat confdefs.h >>conftest.$ac_ext
29891 cat >>conftest.$ac_ext <<_ACEOF
29892 /* end confdefs.h. */
29893 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29895 #define gethostbyname innocuous_gethostbyname
29896
29897 /* System header to define __stub macros and hopefully few prototypes,
29898 which can conflict with char gethostbyname (); below.
29899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29900 <limits.h> exists even on freestanding compilers. */
29901
29902 #ifdef __STDC__
29903 # include <limits.h>
29904 #else
29905 # include <assert.h>
29906 #endif
29907
29908 #undef gethostbyname
29909
29910 /* Override any gcc2 internal prototype to avoid an error. */
29911 #ifdef __cplusplus
29912 extern "C"
29913 {
29914 #endif
29915 /* We use char because int might match the return type of a gcc2
29916 builtin and then its argument prototype would still apply. */
29917 char gethostbyname ();
29918 /* The GNU C library defines this for functions which it implements
29919 to always fail with ENOSYS. Some functions are actually named
29920 something starting with __ and the normal name is an alias. */
29921 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29922 choke me
29923 #else
29924 char (*f) () = gethostbyname;
29925 #endif
29926 #ifdef __cplusplus
29927 }
29928 #endif
29929
29930 int
29931 main ()
29932 {
29933 return f != gethostbyname;
29934 ;
29935 return 0;
29936 }
29937 _ACEOF
29938 rm -f conftest.$ac_objext conftest$ac_exeext
29939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29940 (eval $ac_link) 2>conftest.er1
29941 ac_status=$?
29942 grep -v '^ *+' conftest.er1 >conftest.err
29943 rm -f conftest.er1
29944 cat conftest.err >&5
29945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 (exit $ac_status); } &&
29947 { ac_try='test -z "$ac_cxx_werror_flag"
29948 || test ! -s conftest.err'
29949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29950 (eval $ac_try) 2>&5
29951 ac_status=$?
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); }; } &&
29954 { ac_try='test -s conftest$ac_exeext'
29955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29956 (eval $ac_try) 2>&5
29957 ac_status=$?
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); }; }; then
29960 ac_cv_func_gethostbyname=yes
29961 else
29962 echo "$as_me: failed program was:" >&5
29963 sed 's/^/| /' conftest.$ac_ext >&5
29964
29965 ac_cv_func_gethostbyname=no
29966 fi
29967 rm -f conftest.err conftest.$ac_objext \
29968 conftest$ac_exeext conftest.$ac_ext
29969 fi
29970 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29971 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29972
29973 if test $ac_cv_func_gethostbyname = no; then
29974 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29975 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29976 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29977 echo $ECHO_N "(cached) $ECHO_C" >&6
29978 else
29979 ac_check_lib_save_LIBS=$LIBS
29980 LIBS="-lnsl $LIBS"
29981 cat >conftest.$ac_ext <<_ACEOF
29982 /* confdefs.h. */
29983 _ACEOF
29984 cat confdefs.h >>conftest.$ac_ext
29985 cat >>conftest.$ac_ext <<_ACEOF
29986 /* end confdefs.h. */
29987
29988 /* Override any gcc2 internal prototype to avoid an error. */
29989 #ifdef __cplusplus
29990 extern "C"
29991 #endif
29992 /* We use char because int might match the return type of a gcc2
29993 builtin and then its argument prototype would still apply. */
29994 char gethostbyname ();
29995 int
29996 main ()
29997 {
29998 gethostbyname ();
29999 ;
30000 return 0;
30001 }
30002 _ACEOF
30003 rm -f conftest.$ac_objext conftest$ac_exeext
30004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30005 (eval $ac_link) 2>conftest.er1
30006 ac_status=$?
30007 grep -v '^ *+' conftest.er1 >conftest.err
30008 rm -f conftest.er1
30009 cat conftest.err >&5
30010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30011 (exit $ac_status); } &&
30012 { ac_try='test -z "$ac_cxx_werror_flag"
30013 || test ! -s conftest.err'
30014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30015 (eval $ac_try) 2>&5
30016 ac_status=$?
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); }; } &&
30019 { ac_try='test -s conftest$ac_exeext'
30020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30021 (eval $ac_try) 2>&5
30022 ac_status=$?
30023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30024 (exit $ac_status); }; }; then
30025 ac_cv_lib_nsl_gethostbyname=yes
30026 else
30027 echo "$as_me: failed program was:" >&5
30028 sed 's/^/| /' conftest.$ac_ext >&5
30029
30030 ac_cv_lib_nsl_gethostbyname=no
30031 fi
30032 rm -f conftest.err conftest.$ac_objext \
30033 conftest$ac_exeext conftest.$ac_ext
30034 LIBS=$ac_check_lib_save_LIBS
30035 fi
30036 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30037 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30038 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30039 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30040 fi
30041
30042 if test $ac_cv_lib_nsl_gethostbyname = no; then
30043 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30044 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30045 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30046 echo $ECHO_N "(cached) $ECHO_C" >&6
30047 else
30048 ac_check_lib_save_LIBS=$LIBS
30049 LIBS="-lbsd $LIBS"
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
30057 /* Override any gcc2 internal prototype to avoid an error. */
30058 #ifdef __cplusplus
30059 extern "C"
30060 #endif
30061 /* We use char because int might match the return type of a gcc2
30062 builtin and then its argument prototype would still apply. */
30063 char gethostbyname ();
30064 int
30065 main ()
30066 {
30067 gethostbyname ();
30068 ;
30069 return 0;
30070 }
30071 _ACEOF
30072 rm -f conftest.$ac_objext conftest$ac_exeext
30073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30074 (eval $ac_link) 2>conftest.er1
30075 ac_status=$?
30076 grep -v '^ *+' conftest.er1 >conftest.err
30077 rm -f conftest.er1
30078 cat conftest.err >&5
30079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30080 (exit $ac_status); } &&
30081 { ac_try='test -z "$ac_cxx_werror_flag"
30082 || test ! -s conftest.err'
30083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30084 (eval $ac_try) 2>&5
30085 ac_status=$?
30086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30087 (exit $ac_status); }; } &&
30088 { ac_try='test -s conftest$ac_exeext'
30089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30090 (eval $ac_try) 2>&5
30091 ac_status=$?
30092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30093 (exit $ac_status); }; }; then
30094 ac_cv_lib_bsd_gethostbyname=yes
30095 else
30096 echo "$as_me: failed program was:" >&5
30097 sed 's/^/| /' conftest.$ac_ext >&5
30098
30099 ac_cv_lib_bsd_gethostbyname=no
30100 fi
30101 rm -f conftest.err conftest.$ac_objext \
30102 conftest$ac_exeext conftest.$ac_ext
30103 LIBS=$ac_check_lib_save_LIBS
30104 fi
30105 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30106 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30107 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30108 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30109 fi
30110
30111 fi
30112 fi
30113
30114 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30115 # socket/setsockopt and other routines are undefined under SCO ODT
30116 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30117 # on later versions), says Simon Leinen: it contains gethostby*
30118 # variants that don't use the name server (or something). -lsocket
30119 # must be given before -lnsl if both are needed. We assume that
30120 # if connect needs -lnsl, so does gethostbyname.
30121 echo "$as_me:$LINENO: checking for connect" >&5
30122 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30123 if test "${ac_cv_func_connect+set}" = set; then
30124 echo $ECHO_N "(cached) $ECHO_C" >&6
30125 else
30126 cat >conftest.$ac_ext <<_ACEOF
30127 /* confdefs.h. */
30128 _ACEOF
30129 cat confdefs.h >>conftest.$ac_ext
30130 cat >>conftest.$ac_ext <<_ACEOF
30131 /* end confdefs.h. */
30132 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30134 #define connect innocuous_connect
30135
30136 /* System header to define __stub macros and hopefully few prototypes,
30137 which can conflict with char connect (); below.
30138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30139 <limits.h> exists even on freestanding compilers. */
30140
30141 #ifdef __STDC__
30142 # include <limits.h>
30143 #else
30144 # include <assert.h>
30145 #endif
30146
30147 #undef connect
30148
30149 /* Override any gcc2 internal prototype to avoid an error. */
30150 #ifdef __cplusplus
30151 extern "C"
30152 {
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 connect ();
30157 /* The GNU C library defines this for functions which it implements
30158 to always fail with ENOSYS. Some functions are actually named
30159 something starting with __ and the normal name is an alias. */
30160 #if defined (__stub_connect) || defined (__stub___connect)
30161 choke me
30162 #else
30163 char (*f) () = connect;
30164 #endif
30165 #ifdef __cplusplus
30166 }
30167 #endif
30168
30169 int
30170 main ()
30171 {
30172 return f != connect;
30173 ;
30174 return 0;
30175 }
30176 _ACEOF
30177 rm -f conftest.$ac_objext conftest$ac_exeext
30178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30179 (eval $ac_link) 2>conftest.er1
30180 ac_status=$?
30181 grep -v '^ *+' conftest.er1 >conftest.err
30182 rm -f conftest.er1
30183 cat conftest.err >&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); } &&
30186 { ac_try='test -z "$ac_cxx_werror_flag"
30187 || test ! -s conftest.err'
30188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30189 (eval $ac_try) 2>&5
30190 ac_status=$?
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); }; } &&
30193 { ac_try='test -s conftest$ac_exeext'
30194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195 (eval $ac_try) 2>&5
30196 ac_status=$?
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); }; }; then
30199 ac_cv_func_connect=yes
30200 else
30201 echo "$as_me: failed program was:" >&5
30202 sed 's/^/| /' conftest.$ac_ext >&5
30203
30204 ac_cv_func_connect=no
30205 fi
30206 rm -f conftest.err conftest.$ac_objext \
30207 conftest$ac_exeext conftest.$ac_ext
30208 fi
30209 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30210 echo "${ECHO_T}$ac_cv_func_connect" >&6
30211
30212 if test $ac_cv_func_connect = no; then
30213 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30214 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30215 if test "${ac_cv_lib_socket_connect+set}" = set; then
30216 echo $ECHO_N "(cached) $ECHO_C" >&6
30217 else
30218 ac_check_lib_save_LIBS=$LIBS
30219 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30220 cat >conftest.$ac_ext <<_ACEOF
30221 /* confdefs.h. */
30222 _ACEOF
30223 cat confdefs.h >>conftest.$ac_ext
30224 cat >>conftest.$ac_ext <<_ACEOF
30225 /* end confdefs.h. */
30226
30227 /* Override any gcc2 internal prototype to avoid an error. */
30228 #ifdef __cplusplus
30229 extern "C"
30230 #endif
30231 /* We use char because int might match the return type of a gcc2
30232 builtin and then its argument prototype would still apply. */
30233 char connect ();
30234 int
30235 main ()
30236 {
30237 connect ();
30238 ;
30239 return 0;
30240 }
30241 _ACEOF
30242 rm -f conftest.$ac_objext conftest$ac_exeext
30243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30244 (eval $ac_link) 2>conftest.er1
30245 ac_status=$?
30246 grep -v '^ *+' conftest.er1 >conftest.err
30247 rm -f conftest.er1
30248 cat conftest.err >&5
30249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30250 (exit $ac_status); } &&
30251 { ac_try='test -z "$ac_cxx_werror_flag"
30252 || test ! -s conftest.err'
30253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30254 (eval $ac_try) 2>&5
30255 ac_status=$?
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; } &&
30258 { ac_try='test -s conftest$ac_exeext'
30259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260 (eval $ac_try) 2>&5
30261 ac_status=$?
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; }; then
30264 ac_cv_lib_socket_connect=yes
30265 else
30266 echo "$as_me: failed program was:" >&5
30267 sed 's/^/| /' conftest.$ac_ext >&5
30268
30269 ac_cv_lib_socket_connect=no
30270 fi
30271 rm -f conftest.err conftest.$ac_objext \
30272 conftest$ac_exeext conftest.$ac_ext
30273 LIBS=$ac_check_lib_save_LIBS
30274 fi
30275 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30276 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30277 if test $ac_cv_lib_socket_connect = yes; then
30278 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30279 fi
30280
30281 fi
30282
30283 # Guillermo Gomez says -lposix is necessary on A/UX.
30284 echo "$as_me:$LINENO: checking for remove" >&5
30285 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30286 if test "${ac_cv_func_remove+set}" = set; then
30287 echo $ECHO_N "(cached) $ECHO_C" >&6
30288 else
30289 cat >conftest.$ac_ext <<_ACEOF
30290 /* confdefs.h. */
30291 _ACEOF
30292 cat confdefs.h >>conftest.$ac_ext
30293 cat >>conftest.$ac_ext <<_ACEOF
30294 /* end confdefs.h. */
30295 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30297 #define remove innocuous_remove
30298
30299 /* System header to define __stub macros and hopefully few prototypes,
30300 which can conflict with char remove (); below.
30301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30302 <limits.h> exists even on freestanding compilers. */
30303
30304 #ifdef __STDC__
30305 # include <limits.h>
30306 #else
30307 # include <assert.h>
30308 #endif
30309
30310 #undef remove
30311
30312 /* Override any gcc2 internal prototype to avoid an error. */
30313 #ifdef __cplusplus
30314 extern "C"
30315 {
30316 #endif
30317 /* We use char because int might match the return type of a gcc2
30318 builtin and then its argument prototype would still apply. */
30319 char remove ();
30320 /* The GNU C library defines this for functions which it implements
30321 to always fail with ENOSYS. Some functions are actually named
30322 something starting with __ and the normal name is an alias. */
30323 #if defined (__stub_remove) || defined (__stub___remove)
30324 choke me
30325 #else
30326 char (*f) () = remove;
30327 #endif
30328 #ifdef __cplusplus
30329 }
30330 #endif
30331
30332 int
30333 main ()
30334 {
30335 return f != remove;
30336 ;
30337 return 0;
30338 }
30339 _ACEOF
30340 rm -f conftest.$ac_objext conftest$ac_exeext
30341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30342 (eval $ac_link) 2>conftest.er1
30343 ac_status=$?
30344 grep -v '^ *+' conftest.er1 >conftest.err
30345 rm -f conftest.er1
30346 cat conftest.err >&5
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); } &&
30349 { ac_try='test -z "$ac_cxx_werror_flag"
30350 || test ! -s conftest.err'
30351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30352 (eval $ac_try) 2>&5
30353 ac_status=$?
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; } &&
30356 { ac_try='test -s conftest$ac_exeext'
30357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30358 (eval $ac_try) 2>&5
30359 ac_status=$?
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); }; }; then
30362 ac_cv_func_remove=yes
30363 else
30364 echo "$as_me: failed program was:" >&5
30365 sed 's/^/| /' conftest.$ac_ext >&5
30366
30367 ac_cv_func_remove=no
30368 fi
30369 rm -f conftest.err conftest.$ac_objext \
30370 conftest$ac_exeext conftest.$ac_ext
30371 fi
30372 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30373 echo "${ECHO_T}$ac_cv_func_remove" >&6
30374
30375 if test $ac_cv_func_remove = no; then
30376 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30377 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30378 if test "${ac_cv_lib_posix_remove+set}" = set; then
30379 echo $ECHO_N "(cached) $ECHO_C" >&6
30380 else
30381 ac_check_lib_save_LIBS=$LIBS
30382 LIBS="-lposix $LIBS"
30383 cat >conftest.$ac_ext <<_ACEOF
30384 /* confdefs.h. */
30385 _ACEOF
30386 cat confdefs.h >>conftest.$ac_ext
30387 cat >>conftest.$ac_ext <<_ACEOF
30388 /* end confdefs.h. */
30389
30390 /* Override any gcc2 internal prototype to avoid an error. */
30391 #ifdef __cplusplus
30392 extern "C"
30393 #endif
30394 /* We use char because int might match the return type of a gcc2
30395 builtin and then its argument prototype would still apply. */
30396 char remove ();
30397 int
30398 main ()
30399 {
30400 remove ();
30401 ;
30402 return 0;
30403 }
30404 _ACEOF
30405 rm -f conftest.$ac_objext conftest$ac_exeext
30406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30407 (eval $ac_link) 2>conftest.er1
30408 ac_status=$?
30409 grep -v '^ *+' conftest.er1 >conftest.err
30410 rm -f conftest.er1
30411 cat conftest.err >&5
30412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413 (exit $ac_status); } &&
30414 { ac_try='test -z "$ac_cxx_werror_flag"
30415 || test ! -s conftest.err'
30416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30417 (eval $ac_try) 2>&5
30418 ac_status=$?
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); }; } &&
30421 { ac_try='test -s conftest$ac_exeext'
30422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30423 (eval $ac_try) 2>&5
30424 ac_status=$?
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); }; }; then
30427 ac_cv_lib_posix_remove=yes
30428 else
30429 echo "$as_me: failed program was:" >&5
30430 sed 's/^/| /' conftest.$ac_ext >&5
30431
30432 ac_cv_lib_posix_remove=no
30433 fi
30434 rm -f conftest.err conftest.$ac_objext \
30435 conftest$ac_exeext conftest.$ac_ext
30436 LIBS=$ac_check_lib_save_LIBS
30437 fi
30438 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30439 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30440 if test $ac_cv_lib_posix_remove = yes; then
30441 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30442 fi
30443
30444 fi
30445
30446 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30447 echo "$as_me:$LINENO: checking for shmat" >&5
30448 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30449 if test "${ac_cv_func_shmat+set}" = set; then
30450 echo $ECHO_N "(cached) $ECHO_C" >&6
30451 else
30452 cat >conftest.$ac_ext <<_ACEOF
30453 /* confdefs.h. */
30454 _ACEOF
30455 cat confdefs.h >>conftest.$ac_ext
30456 cat >>conftest.$ac_ext <<_ACEOF
30457 /* end confdefs.h. */
30458 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30460 #define shmat innocuous_shmat
30461
30462 /* System header to define __stub macros and hopefully few prototypes,
30463 which can conflict with char shmat (); below.
30464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30465 <limits.h> exists even on freestanding compilers. */
30466
30467 #ifdef __STDC__
30468 # include <limits.h>
30469 #else
30470 # include <assert.h>
30471 #endif
30472
30473 #undef shmat
30474
30475 /* Override any gcc2 internal prototype to avoid an error. */
30476 #ifdef __cplusplus
30477 extern "C"
30478 {
30479 #endif
30480 /* We use char because int might match the return type of a gcc2
30481 builtin and then its argument prototype would still apply. */
30482 char shmat ();
30483 /* The GNU C library defines this for functions which it implements
30484 to always fail with ENOSYS. Some functions are actually named
30485 something starting with __ and the normal name is an alias. */
30486 #if defined (__stub_shmat) || defined (__stub___shmat)
30487 choke me
30488 #else
30489 char (*f) () = shmat;
30490 #endif
30491 #ifdef __cplusplus
30492 }
30493 #endif
30494
30495 int
30496 main ()
30497 {
30498 return f != shmat;
30499 ;
30500 return 0;
30501 }
30502 _ACEOF
30503 rm -f conftest.$ac_objext conftest$ac_exeext
30504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30505 (eval $ac_link) 2>conftest.er1
30506 ac_status=$?
30507 grep -v '^ *+' conftest.er1 >conftest.err
30508 rm -f conftest.er1
30509 cat conftest.err >&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); } &&
30512 { ac_try='test -z "$ac_cxx_werror_flag"
30513 || test ! -s conftest.err'
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); }; } &&
30519 { ac_try='test -s conftest$ac_exeext'
30520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30521 (eval $ac_try) 2>&5
30522 ac_status=$?
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; }; then
30525 ac_cv_func_shmat=yes
30526 else
30527 echo "$as_me: failed program was:" >&5
30528 sed 's/^/| /' conftest.$ac_ext >&5
30529
30530 ac_cv_func_shmat=no
30531 fi
30532 rm -f conftest.err conftest.$ac_objext \
30533 conftest$ac_exeext conftest.$ac_ext
30534 fi
30535 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30536 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30537
30538 if test $ac_cv_func_shmat = no; then
30539 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30540 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30541 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30542 echo $ECHO_N "(cached) $ECHO_C" >&6
30543 else
30544 ac_check_lib_save_LIBS=$LIBS
30545 LIBS="-lipc $LIBS"
30546 cat >conftest.$ac_ext <<_ACEOF
30547 /* confdefs.h. */
30548 _ACEOF
30549 cat confdefs.h >>conftest.$ac_ext
30550 cat >>conftest.$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30552
30553 /* Override any gcc2 internal prototype to avoid an error. */
30554 #ifdef __cplusplus
30555 extern "C"
30556 #endif
30557 /* We use char because int might match the return type of a gcc2
30558 builtin and then its argument prototype would still apply. */
30559 char shmat ();
30560 int
30561 main ()
30562 {
30563 shmat ();
30564 ;
30565 return 0;
30566 }
30567 _ACEOF
30568 rm -f conftest.$ac_objext conftest$ac_exeext
30569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30570 (eval $ac_link) 2>conftest.er1
30571 ac_status=$?
30572 grep -v '^ *+' conftest.er1 >conftest.err
30573 rm -f conftest.er1
30574 cat conftest.err >&5
30575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30576 (exit $ac_status); } &&
30577 { ac_try='test -z "$ac_cxx_werror_flag"
30578 || test ! -s conftest.err'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30581 ac_status=$?
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; } &&
30584 { ac_try='test -s conftest$ac_exeext'
30585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30586 (eval $ac_try) 2>&5
30587 ac_status=$?
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; }; then
30590 ac_cv_lib_ipc_shmat=yes
30591 else
30592 echo "$as_me: failed program was:" >&5
30593 sed 's/^/| /' conftest.$ac_ext >&5
30594
30595 ac_cv_lib_ipc_shmat=no
30596 fi
30597 rm -f conftest.err conftest.$ac_objext \
30598 conftest$ac_exeext conftest.$ac_ext
30599 LIBS=$ac_check_lib_save_LIBS
30600 fi
30601 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30602 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30603 if test $ac_cv_lib_ipc_shmat = yes; then
30604 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30605 fi
30606
30607 fi
30608 fi
30609
30610 # Check for libraries that X11R6 Xt/Xaw programs need.
30611 ac_save_LDFLAGS=$LDFLAGS
30612 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30613 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30614 # check for ICE first), but we must link in the order -lSM -lICE or
30615 # we get undefined symbols. So assume we have SM if we have ICE.
30616 # These have to be linked with before -lX11, unlike the other
30617 # libraries we check for below, so use a different variable.
30618 # John Interrante, Karl Berry
30619 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30620 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30621 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30622 echo $ECHO_N "(cached) $ECHO_C" >&6
30623 else
30624 ac_check_lib_save_LIBS=$LIBS
30625 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30626 cat >conftest.$ac_ext <<_ACEOF
30627 /* confdefs.h. */
30628 _ACEOF
30629 cat confdefs.h >>conftest.$ac_ext
30630 cat >>conftest.$ac_ext <<_ACEOF
30631 /* end confdefs.h. */
30632
30633 /* Override any gcc2 internal prototype to avoid an error. */
30634 #ifdef __cplusplus
30635 extern "C"
30636 #endif
30637 /* We use char because int might match the return type of a gcc2
30638 builtin and then its argument prototype would still apply. */
30639 char IceConnectionNumber ();
30640 int
30641 main ()
30642 {
30643 IceConnectionNumber ();
30644 ;
30645 return 0;
30646 }
30647 _ACEOF
30648 rm -f conftest.$ac_objext conftest$ac_exeext
30649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30650 (eval $ac_link) 2>conftest.er1
30651 ac_status=$?
30652 grep -v '^ *+' conftest.er1 >conftest.err
30653 rm -f conftest.er1
30654 cat conftest.err >&5
30655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656 (exit $ac_status); } &&
30657 { ac_try='test -z "$ac_cxx_werror_flag"
30658 || test ! -s conftest.err'
30659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30660 (eval $ac_try) 2>&5
30661 ac_status=$?
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); }; } &&
30664 { ac_try='test -s conftest$ac_exeext'
30665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30666 (eval $ac_try) 2>&5
30667 ac_status=$?
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); }; }; then
30670 ac_cv_lib_ICE_IceConnectionNumber=yes
30671 else
30672 echo "$as_me: failed program was:" >&5
30673 sed 's/^/| /' conftest.$ac_ext >&5
30674
30675 ac_cv_lib_ICE_IceConnectionNumber=no
30676 fi
30677 rm -f conftest.err conftest.$ac_objext \
30678 conftest$ac_exeext conftest.$ac_ext
30679 LIBS=$ac_check_lib_save_LIBS
30680 fi
30681 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30682 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30683 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30684 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30685 fi
30686
30687 LDFLAGS=$ac_save_LDFLAGS
30688
30689 fi
30690
30691
30692 if test "$no_x" = "yes"; then
30693 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30694 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30695 { (exit 1); exit 1; }; }
30696 fi
30697
30698 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30699 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30700 AFMINSTALL=afminstall
30701 COMPILED_X_PROGRAM=0
30702
30703 fi
30704
30705 if test "$wxUSE_X11" = 1; then
30706 if test "$wxUSE_NANOX" = "yes"; then
30707 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30708 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30709 if test "x$MICROWIN" = x ; then
30710 echo "$as_me:$LINENO: result: not found" >&5
30711 echo "${ECHO_T}not found" >&6
30712 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30713 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30714 { (exit 1); exit 1; }; }
30715 else
30716 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30717 echo "${ECHO_T}$MICROWIN" >&6
30718 cat >>confdefs.h <<\_ACEOF
30719 #define wxUSE_NANOX 1
30720 _ACEOF
30721
30722 fi
30723 fi
30724
30725 if test "$wxUSE_UNICODE" = "yes"; then
30726
30727 pkg_failed=no
30728 echo "$as_me:$LINENO: checking for PANGOX" >&5
30729 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30730
30731 if test -n "$PKG_CONFIG"; then
30732 if test -n "$PANGOX_CFLAGS"; then
30733 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30734 else
30735 if test -n "$PKG_CONFIG" && \
30736 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30737 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30738 ac_status=$?
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); }; then
30741 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30742 else
30743 pkg_failed=yes
30744 fi
30745 fi
30746 else
30747 pkg_failed=untried
30748 fi
30749 if test -n "$PKG_CONFIG"; then
30750 if test -n "$PANGOX_LIBS"; then
30751 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30752 else
30753 if test -n "$PKG_CONFIG" && \
30754 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30755 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30756 ac_status=$?
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); }; then
30759 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30760 else
30761 pkg_failed=yes
30762 fi
30763 fi
30764 else
30765 pkg_failed=untried
30766 fi
30767
30768
30769
30770 if test $pkg_failed = yes; then
30771
30772 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30773 _pkg_short_errors_supported=yes
30774 else
30775 _pkg_short_errors_supported=no
30776 fi
30777 if test $_pkg_short_errors_supported = yes; then
30778 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30779 else
30780 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30781 fi
30782 # Put the nasty error message in config.log where it belongs
30783 echo "$PANGOX_PKG_ERRORS" >&5
30784
30785
30786 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30787 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30788 { (exit 1); exit 1; }; }
30789
30790
30791 elif test $pkg_failed = untried; then
30792
30793 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30794 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30795 { (exit 1); exit 1; }; }
30796
30797
30798 else
30799 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30800 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30801 echo "$as_me:$LINENO: result: yes" >&5
30802 echo "${ECHO_T}yes" >&6
30803
30804 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30805 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30806
30807 fi
30808
30809 pkg_failed=no
30810 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30811 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30812
30813 if test -n "$PKG_CONFIG"; then
30814 if test -n "$PANGOFT2_CFLAGS"; then
30815 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30816 else
30817 if test -n "$PKG_CONFIG" && \
30818 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30819 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30820 ac_status=$?
30821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30822 (exit $ac_status); }; then
30823 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30824 else
30825 pkg_failed=yes
30826 fi
30827 fi
30828 else
30829 pkg_failed=untried
30830 fi
30831 if test -n "$PKG_CONFIG"; then
30832 if test -n "$PANGOFT2_LIBS"; then
30833 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30834 else
30835 if test -n "$PKG_CONFIG" && \
30836 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30837 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30838 ac_status=$?
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); }; then
30841 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30842 else
30843 pkg_failed=yes
30844 fi
30845 fi
30846 else
30847 pkg_failed=untried
30848 fi
30849
30850
30851
30852 if test $pkg_failed = yes; then
30853
30854 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30855 _pkg_short_errors_supported=yes
30856 else
30857 _pkg_short_errors_supported=no
30858 fi
30859 if test $_pkg_short_errors_supported = yes; then
30860 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30861 else
30862 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30863 fi
30864 # Put the nasty error message in config.log where it belongs
30865 echo "$PANGOFT2_PKG_ERRORS" >&5
30866
30867
30868 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30869 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30870 wxUSE_PRINTING_ARCHITECTURE="no"
30871
30872
30873 elif test $pkg_failed = untried; then
30874
30875 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30876 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30877 wxUSE_PRINTING_ARCHITECTURE="no"
30878
30879
30880 else
30881 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30882 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30883 echo "$as_me:$LINENO: result: yes" >&5
30884 echo "${ECHO_T}yes" >&6
30885
30886 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30887 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30888
30889 fi
30890
30891 pkg_failed=no
30892 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30893 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30894
30895 if test -n "$PKG_CONFIG"; then
30896 if test -n "$PANGOXFT_CFLAGS"; then
30897 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30898 else
30899 if test -n "$PKG_CONFIG" && \
30900 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30901 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30902 ac_status=$?
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; then
30905 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30906 else
30907 pkg_failed=yes
30908 fi
30909 fi
30910 else
30911 pkg_failed=untried
30912 fi
30913 if test -n "$PKG_CONFIG"; then
30914 if test -n "$PANGOXFT_LIBS"; then
30915 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30916 else
30917 if test -n "$PKG_CONFIG" && \
30918 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30919 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30920 ac_status=$?
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); }; then
30923 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30924 else
30925 pkg_failed=yes
30926 fi
30927 fi
30928 else
30929 pkg_failed=untried
30930 fi
30931
30932
30933
30934 if test $pkg_failed = yes; then
30935
30936 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30937 _pkg_short_errors_supported=yes
30938 else
30939 _pkg_short_errors_supported=no
30940 fi
30941 if test $_pkg_short_errors_supported = yes; then
30942 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30943 else
30944 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30945 fi
30946 # Put the nasty error message in config.log where it belongs
30947 echo "$PANGOXFT_PKG_ERRORS" >&5
30948
30949
30950 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30951 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30952
30953
30954 elif test $pkg_failed = untried; then
30955
30956 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30957 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30958
30959
30960 else
30961 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30962 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30963 echo "$as_me:$LINENO: result: yes" >&5
30964 echo "${ECHO_T}yes" >&6
30965
30966 cat >>confdefs.h <<\_ACEOF
30967 #define HAVE_PANGO_XFT 1
30968 _ACEOF
30969
30970 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30971 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30972
30973 fi
30974 save_CXXFLAGS="$CXXFLAGS"
30975 save_LIBS="$LIBS"
30976 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30977 LIBS="$LIBS $PANGOX_LIBS"
30978
30979 for ac_func in pango_font_family_is_monospace
30980 do
30981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30982 echo "$as_me:$LINENO: checking for $ac_func" >&5
30983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30984 if eval "test \"\${$as_ac_var+set}\" = set"; then
30985 echo $ECHO_N "(cached) $ECHO_C" >&6
30986 else
30987 cat >conftest.$ac_ext <<_ACEOF
30988 /* confdefs.h. */
30989 _ACEOF
30990 cat confdefs.h >>conftest.$ac_ext
30991 cat >>conftest.$ac_ext <<_ACEOF
30992 /* end confdefs.h. */
30993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30995 #define $ac_func innocuous_$ac_func
30996
30997 /* System header to define __stub macros and hopefully few prototypes,
30998 which can conflict with char $ac_func (); below.
30999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31000 <limits.h> exists even on freestanding compilers. */
31001
31002 #ifdef __STDC__
31003 # include <limits.h>
31004 #else
31005 # include <assert.h>
31006 #endif
31007
31008 #undef $ac_func
31009
31010 /* Override any gcc2 internal prototype to avoid an error. */
31011 #ifdef __cplusplus
31012 extern "C"
31013 {
31014 #endif
31015 /* We use char because int might match the return type of a gcc2
31016 builtin and then its argument prototype would still apply. */
31017 char $ac_func ();
31018 /* The GNU C library defines this for functions which it implements
31019 to always fail with ENOSYS. Some functions are actually named
31020 something starting with __ and the normal name is an alias. */
31021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31022 choke me
31023 #else
31024 char (*f) () = $ac_func;
31025 #endif
31026 #ifdef __cplusplus
31027 }
31028 #endif
31029
31030 int
31031 main ()
31032 {
31033 return f != $ac_func;
31034 ;
31035 return 0;
31036 }
31037 _ACEOF
31038 rm -f conftest.$ac_objext conftest$ac_exeext
31039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31040 (eval $ac_link) 2>conftest.er1
31041 ac_status=$?
31042 grep -v '^ *+' conftest.er1 >conftest.err
31043 rm -f conftest.er1
31044 cat conftest.err >&5
31045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31046 (exit $ac_status); } &&
31047 { ac_try='test -z "$ac_cxx_werror_flag"
31048 || test ! -s conftest.err'
31049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31050 (eval $ac_try) 2>&5
31051 ac_status=$?
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); }; } &&
31054 { ac_try='test -s conftest$ac_exeext'
31055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31056 (eval $ac_try) 2>&5
31057 ac_status=$?
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); }; }; then
31060 eval "$as_ac_var=yes"
31061 else
31062 echo "$as_me: failed program was:" >&5
31063 sed 's/^/| /' conftest.$ac_ext >&5
31064
31065 eval "$as_ac_var=no"
31066 fi
31067 rm -f conftest.err conftest.$ac_objext \
31068 conftest$ac_exeext conftest.$ac_ext
31069 fi
31070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31072 if test `eval echo '${'$as_ac_var'}'` = yes; then
31073 cat >>confdefs.h <<_ACEOF
31074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31075 _ACEOF
31076
31077 fi
31078 done
31079
31080 CXXFLAGS="$save_CXXFLAGS"
31081 LIBS="$save_LIBS"
31082 fi
31083
31084 wxUSE_UNIVERSAL="yes"
31085
31086 if test "$wxUSE_NANOX" = "yes"; then
31087 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31088 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"
31089 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31090 else
31091 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31092 fi
31093
31094 TOOLKIT=X11
31095 GUIDIST=X11_DIST
31096 fi
31097
31098 if test "$wxUSE_MOTIF" = 1; then
31099 if test "$wxUSE_UNICODE" = "yes"; then
31100 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31101 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31102 { (exit 1); exit 1; }; }
31103 fi
31104
31105 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31106 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31107
31108 ac_find_includes=
31109 for ac_dir in $SEARCH_INCLUDE /usr/include;
31110 do
31111 if test -f "$ac_dir/Xm/Xm.h"; then
31112 ac_find_includes=$ac_dir
31113 break
31114 fi
31115 done
31116
31117 if test "$ac_find_includes" != "" ; then
31118 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31119 echo "${ECHO_T}found in $ac_find_includes" >&6
31120
31121 if test "x$ac_find_includes" = "x/usr/include"; then
31122 ac_path_to_include=""
31123 else
31124 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31125 result=$?
31126 if test $result = 0; then
31127 ac_path_to_include=""
31128 else
31129 ac_path_to_include=" -I$ac_find_includes"
31130 fi
31131 fi
31132
31133 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31134 else
31135 save_CXXFLAGS=$CXXFLAGS
31136 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31137
31138 cat >conftest.$ac_ext <<_ACEOF
31139 /* confdefs.h. */
31140 _ACEOF
31141 cat confdefs.h >>conftest.$ac_ext
31142 cat >>conftest.$ac_ext <<_ACEOF
31143 /* end confdefs.h. */
31144
31145 #include <Xm/Xm.h>
31146
31147 int
31148 main ()
31149 {
31150
31151 int version;
31152 version = xmUseVersion;
31153
31154 ;
31155 return 0;
31156 }
31157 _ACEOF
31158 rm -f conftest.$ac_objext
31159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31160 (eval $ac_compile) 2>conftest.er1
31161 ac_status=$?
31162 grep -v '^ *+' conftest.er1 >conftest.err
31163 rm -f conftest.er1
31164 cat conftest.err >&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } &&
31167 { ac_try='test -z "$ac_cxx_werror_flag"
31168 || test ! -s conftest.err'
31169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31170 (eval $ac_try) 2>&5
31171 ac_status=$?
31172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 (exit $ac_status); }; } &&
31174 { ac_try='test -s conftest.$ac_objext'
31175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31176 (eval $ac_try) 2>&5
31177 ac_status=$?
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); }; }; then
31180
31181 echo "$as_me:$LINENO: result: found in default search path" >&5
31182 echo "${ECHO_T}found in default search path" >&6
31183 COMPILED_X_PROGRAM=1
31184
31185 else
31186 echo "$as_me: failed program was:" >&5
31187 sed 's/^/| /' conftest.$ac_ext >&5
31188
31189
31190 echo "$as_me:$LINENO: result: no" >&5
31191 echo "${ECHO_T}no" >&6
31192 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31193 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31194 { (exit 1); exit 1; }; }
31195
31196
31197 fi
31198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31199
31200 CXXFLAGS=$save_CXXFLAGS
31201 fi
31202
31203
31204 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31205 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31206
31207 ac_find_libraries=
31208 for ac_dir in $SEARCH_LIB;
31209 do
31210 for ac_extension in a so sl dylib dll.a; do
31211 if test -f "$ac_dir/libXm.$ac_extension"; then
31212 ac_find_libraries=$ac_dir
31213 break 2
31214 fi
31215 done
31216 done
31217
31218
31219 if test "x$ac_find_libraries" != "x" ; then
31220 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31221 echo "${ECHO_T}found in $ac_find_libraries" >&6
31222
31223
31224 if test "$ac_find_libraries" = "default location"; then
31225 ac_path_to_link=""
31226 else
31227 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31228 result=$?
31229 if test $result = 0; then
31230 ac_path_to_link=""
31231 else
31232 ac_path_to_link=" -L$ac_find_libraries"
31233 fi
31234 fi
31235
31236 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31237 else
31238 save_CXXFLAGS=$CXXFLAGS
31239 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31240 save_LIBS="$LIBS"
31241 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31242
31243 cat >conftest.$ac_ext <<_ACEOF
31244 /* confdefs.h. */
31245 _ACEOF
31246 cat confdefs.h >>conftest.$ac_ext
31247 cat >>conftest.$ac_ext <<_ACEOF
31248 /* end confdefs.h. */
31249
31250 #include <Xm/Xm.h>
31251
31252 int
31253 main ()
31254 {
31255
31256 int version;
31257 version = xmUseVersion;
31258
31259 ;
31260 return 0;
31261 }
31262 _ACEOF
31263 rm -f conftest.$ac_objext conftest$ac_exeext
31264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31265 (eval $ac_link) 2>conftest.er1
31266 ac_status=$?
31267 grep -v '^ *+' conftest.er1 >conftest.err
31268 rm -f conftest.er1
31269 cat conftest.err >&5
31270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31271 (exit $ac_status); } &&
31272 { ac_try='test -z "$ac_cxx_werror_flag"
31273 || test ! -s conftest.err'
31274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31275 (eval $ac_try) 2>&5
31276 ac_status=$?
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); }; } &&
31279 { ac_try='test -s conftest$ac_exeext'
31280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31281 (eval $ac_try) 2>&5
31282 ac_status=$?
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); }; }; then
31285
31286 echo "$as_me:$LINENO: result: found in default search path" >&5
31287 echo "${ECHO_T}found in default search path" >&6
31288 COMPILED_X_PROGRAM=1
31289
31290 else
31291 echo "$as_me: failed program was:" >&5
31292 sed 's/^/| /' conftest.$ac_ext >&5
31293
31294
31295 echo "$as_me:$LINENO: result: no" >&5
31296 echo "${ECHO_T}no" >&6
31297 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31298 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31299 { (exit 1); exit 1; }; }
31300
31301
31302 fi
31303 rm -f conftest.err conftest.$ac_objext \
31304 conftest$ac_exeext conftest.$ac_ext
31305
31306 CXXFLAGS=$save_CXXFLAGS
31307 LIBS="$save_LIBS"
31308 fi
31309
31310 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31311 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31312 libp_link=""
31313 libsm_ice_link=""
31314 libs_found=0
31315 for libp in "" " -lXp"; do
31316 if test "$libs_found" = "0"; then
31317 for libsm_ice in "" " -lSM -lICE"; do
31318 if test "$libs_found" = "0"; then
31319 save_LIBS="$LIBS"
31320 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31321 save_CXXFLAGS=$CXXFLAGS
31322 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31323
31324 cat >conftest.$ac_ext <<_ACEOF
31325 /* confdefs.h. */
31326 _ACEOF
31327 cat confdefs.h >>conftest.$ac_ext
31328 cat >>conftest.$ac_ext <<_ACEOF
31329 /* end confdefs.h. */
31330
31331 #include <Xm/Xm.h>
31332 #include <Xm/List.h>
31333
31334 int
31335 main ()
31336 {
31337
31338 XmString string = NULL;
31339 Widget w = NULL;
31340 int position = 0;
31341 XmListAddItem(w, string, position);
31342
31343 ;
31344 return 0;
31345 }
31346 _ACEOF
31347 rm -f conftest.$ac_objext conftest$ac_exeext
31348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31349 (eval $ac_link) 2>conftest.er1
31350 ac_status=$?
31351 grep -v '^ *+' conftest.er1 >conftest.err
31352 rm -f conftest.er1
31353 cat conftest.err >&5
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); } &&
31356 { ac_try='test -z "$ac_cxx_werror_flag"
31357 || test ! -s conftest.err'
31358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31359 (eval $ac_try) 2>&5
31360 ac_status=$?
31361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31362 (exit $ac_status); }; } &&
31363 { ac_try='test -s conftest$ac_exeext'
31364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31365 (eval $ac_try) 2>&5
31366 ac_status=$?
31367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368 (exit $ac_status); }; }; then
31369
31370 libp_link="$libp"
31371 libsm_ice_link="$libsm_ice"
31372 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31373 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31374 libs_found=1
31375
31376 else
31377 echo "$as_me: failed program was:" >&5
31378 sed 's/^/| /' conftest.$ac_ext >&5
31379
31380
31381
31382 fi
31383 rm -f conftest.err conftest.$ac_objext \
31384 conftest$ac_exeext conftest.$ac_ext
31385
31386 LIBS="$save_LIBS"
31387 CXXFLAGS=$save_CXXFLAGS
31388 fi
31389 done
31390 fi
31391 done
31392
31393 if test "$libs_found" = "0"; then
31394 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31395 echo "${ECHO_T}can't find the right libraries" >&6
31396 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31397 echo "$as_me: error: can't link a simple motif program" >&2;}
31398 { (exit 1); exit 1; }; }
31399 fi
31400
31401 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31402 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31403 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31404 echo $ECHO_N "(cached) $ECHO_C" >&6
31405 else
31406 ac_check_lib_save_LIBS=$LIBS
31407 LIBS="-lSgm $LIBS"
31408 cat >conftest.$ac_ext <<_ACEOF
31409 /* confdefs.h. */
31410 _ACEOF
31411 cat confdefs.h >>conftest.$ac_ext
31412 cat >>conftest.$ac_ext <<_ACEOF
31413 /* end confdefs.h. */
31414
31415 /* Override any gcc2 internal prototype to avoid an error. */
31416 #ifdef __cplusplus
31417 extern "C"
31418 #endif
31419 /* We use char because int might match the return type of a gcc2
31420 builtin and then its argument prototype would still apply. */
31421 char SgCreateList ();
31422 int
31423 main ()
31424 {
31425 SgCreateList ();
31426 ;
31427 return 0;
31428 }
31429 _ACEOF
31430 rm -f conftest.$ac_objext conftest$ac_exeext
31431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31432 (eval $ac_link) 2>conftest.er1
31433 ac_status=$?
31434 grep -v '^ *+' conftest.er1 >conftest.err
31435 rm -f conftest.er1
31436 cat conftest.err >&5
31437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31438 (exit $ac_status); } &&
31439 { ac_try='test -z "$ac_cxx_werror_flag"
31440 || test ! -s conftest.err'
31441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31442 (eval $ac_try) 2>&5
31443 ac_status=$?
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); }; } &&
31446 { ac_try='test -s conftest$ac_exeext'
31447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31448 (eval $ac_try) 2>&5
31449 ac_status=$?
31450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31451 (exit $ac_status); }; }; then
31452 ac_cv_lib_Sgm_SgCreateList=yes
31453 else
31454 echo "$as_me: failed program was:" >&5
31455 sed 's/^/| /' conftest.$ac_ext >&5
31456
31457 ac_cv_lib_Sgm_SgCreateList=no
31458 fi
31459 rm -f conftest.err conftest.$ac_objext \
31460 conftest$ac_exeext conftest.$ac_ext
31461 LIBS=$ac_check_lib_save_LIBS
31462 fi
31463 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31464 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31465 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31466 libsgm_link=" -lSgm"
31467 fi
31468
31469
31470 save_CXXFLAGS=$CXXFLAGS
31471 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31472
31473 echo "$as_me:$LINENO: checking for Motif 2" >&5
31474 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31475 if test "${wx_cv_lib_motif2+set}" = set; then
31476 echo $ECHO_N "(cached) $ECHO_C" >&6
31477 else
31478 cat >conftest.$ac_ext <<_ACEOF
31479 /* confdefs.h. */
31480 _ACEOF
31481 cat confdefs.h >>conftest.$ac_ext
31482 cat >>conftest.$ac_ext <<_ACEOF
31483 /* end confdefs.h. */
31484
31485 #include <Xm/Xm.h>
31486
31487 int
31488 main ()
31489 {
31490
31491 #if XmVersion < 2000
31492 Not Motif 2
31493 #endif
31494
31495 ;
31496 return 0;
31497 }
31498 _ACEOF
31499 rm -f conftest.$ac_objext
31500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31501 (eval $ac_compile) 2>conftest.er1
31502 ac_status=$?
31503 grep -v '^ *+' conftest.er1 >conftest.err
31504 rm -f conftest.er1
31505 cat conftest.err >&5
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); } &&
31508 { ac_try='test -z "$ac_cxx_werror_flag"
31509 || test ! -s conftest.err'
31510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31511 (eval $ac_try) 2>&5
31512 ac_status=$?
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); }; } &&
31515 { ac_try='test -s conftest.$ac_objext'
31516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517 (eval $ac_try) 2>&5
31518 ac_status=$?
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); }; }; then
31521 wx_cv_lib_motif2="yes"
31522 else
31523 echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.$ac_ext >&5
31525
31526 wx_cv_lib_motif2="no"
31527 fi
31528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31529 fi
31530 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31531 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31532 if test "$wx_cv_lib_motif2" = "yes"; then
31533 cat >>confdefs.h <<\_ACEOF
31534 #define __WXMOTIF20__ 1
31535 _ACEOF
31536
31537 else
31538 cat >>confdefs.h <<\_ACEOF
31539 #define __WXMOTIF20__ 0
31540 _ACEOF
31541
31542 fi
31543
31544 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31545 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31546 if test "${wx_cv_lib_lesstif+set}" = set; then
31547 echo $ECHO_N "(cached) $ECHO_C" >&6
31548 else
31549 cat >conftest.$ac_ext <<_ACEOF
31550 /* confdefs.h. */
31551 _ACEOF
31552 cat confdefs.h >>conftest.$ac_ext
31553 cat >>conftest.$ac_ext <<_ACEOF
31554 /* end confdefs.h. */
31555
31556 #include <Xm/Xm.h>
31557
31558 int
31559 main ()
31560 {
31561
31562 #if !defined(LesstifVersion) || LesstifVersion <= 0
31563 Not Lesstif
31564 #endif
31565
31566 ;
31567 return 0;
31568 }
31569 _ACEOF
31570 rm -f conftest.$ac_objext
31571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31572 (eval $ac_compile) 2>conftest.er1
31573 ac_status=$?
31574 grep -v '^ *+' conftest.er1 >conftest.err
31575 rm -f conftest.er1
31576 cat conftest.err >&5
31577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31578 (exit $ac_status); } &&
31579 { ac_try='test -z "$ac_cxx_werror_flag"
31580 || test ! -s conftest.err'
31581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31582 (eval $ac_try) 2>&5
31583 ac_status=$?
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); }; } &&
31586 { ac_try='test -s conftest.$ac_objext'
31587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588 (eval $ac_try) 2>&5
31589 ac_status=$?
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); }; }; then
31592 wx_cv_lib_lesstif="yes"
31593 else
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.$ac_ext >&5
31596
31597 wx_cv_lib_lesstif="no"
31598 fi
31599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31600
31601 fi
31602 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31603 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31604 if test "$wx_cv_lib_lesstif" = "yes"; then
31605 cat >>confdefs.h <<\_ACEOF
31606 #define __WXLESSTIF__ 1
31607 _ACEOF
31608
31609 else
31610 cat >>confdefs.h <<\_ACEOF
31611 #define __WXLESSTIF__ 0
31612 _ACEOF
31613
31614 fi
31615
31616 CXXFLAGS=$save_CXXFLAGS
31617
31618 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31619 TOOLKIT=MOTIF
31620 GUIDIST=MOTIF_DIST
31621 fi
31622
31623 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31624 if test "$wxUSE_LIBXPM" = "sys"; then
31625 echo "$as_me:$LINENO: checking for Xpm library" >&5
31626 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31627
31628 ac_find_libraries=
31629 for ac_dir in $SEARCH_LIB;
31630 do
31631 for ac_extension in a so sl dylib dll.a; do
31632 if test -f "$ac_dir/libXpm.$ac_extension"; then
31633 ac_find_libraries=$ac_dir
31634 break 2
31635 fi
31636 done
31637 done
31638
31639 if test "$ac_find_libraries" != "" ; then
31640
31641 if test "$ac_find_libraries" = "default location"; then
31642 ac_path_to_link=""
31643 else
31644 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31645 result=$?
31646 if test $result = 0; then
31647 ac_path_to_link=""
31648 else
31649 ac_path_to_link=" -L$ac_find_libraries"
31650 fi
31651 fi
31652
31653 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31654 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31655 echo "${ECHO_T}found in $ac_find_libraries" >&6
31656
31657 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31658 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31659 if test "${wx_cv_x11_xpm_h+set}" = set; then
31660 echo $ECHO_N "(cached) $ECHO_C" >&6
31661 else
31662
31663 save_CXXFLAGS=$CXXFLAGS
31664 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31665
31666 cat >conftest.$ac_ext <<_ACEOF
31667 /* confdefs.h. */
31668 _ACEOF
31669 cat confdefs.h >>conftest.$ac_ext
31670 cat >>conftest.$ac_ext <<_ACEOF
31671 /* end confdefs.h. */
31672
31673 #include <X11/xpm.h>
31674
31675 int
31676 main ()
31677 {
31678
31679 int version;
31680 version = XpmLibraryVersion();
31681
31682 ;
31683 return 0;
31684 }
31685 _ACEOF
31686 rm -f conftest.$ac_objext
31687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31688 (eval $ac_compile) 2>conftest.er1
31689 ac_status=$?
31690 grep -v '^ *+' conftest.er1 >conftest.err
31691 rm -f conftest.er1
31692 cat conftest.err >&5
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); } &&
31695 { ac_try='test -z "$ac_cxx_werror_flag"
31696 || test ! -s conftest.err'
31697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31698 (eval $ac_try) 2>&5
31699 ac_status=$?
31700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31701 (exit $ac_status); }; } &&
31702 { ac_try='test -s conftest.$ac_objext'
31703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31704 (eval $ac_try) 2>&5
31705 ac_status=$?
31706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31707 (exit $ac_status); }; }; then
31708 wx_cv_x11_xpm_h=yes
31709 else
31710 echo "$as_me: failed program was:" >&5
31711 sed 's/^/| /' conftest.$ac_ext >&5
31712
31713 wx_cv_x11_xpm_h=no
31714
31715 fi
31716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31717
31718 CXXFLAGS=$save_CXXFLAGS
31719
31720
31721 fi
31722 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31723 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31724
31725 if test $wx_cv_x11_xpm_h = "yes"; then
31726 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31727 cat >>confdefs.h <<\_ACEOF
31728 #define wxHAVE_LIB_XPM 1
31729 _ACEOF
31730
31731 else
31732 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31733 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31734 fi
31735 fi
31736
31737 fi
31738
31739 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31740 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31741 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31742 echo $ECHO_N "(cached) $ECHO_C" >&6
31743 else
31744 ac_check_lib_save_LIBS=$LIBS
31745 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31746 cat >conftest.$ac_ext <<_ACEOF
31747 /* confdefs.h. */
31748 _ACEOF
31749 cat confdefs.h >>conftest.$ac_ext
31750 cat >>conftest.$ac_ext <<_ACEOF
31751 /* end confdefs.h. */
31752
31753 /* Override any gcc2 internal prototype to avoid an error. */
31754 #ifdef __cplusplus
31755 extern "C"
31756 #endif
31757 /* We use char because int might match the return type of a gcc2
31758 builtin and then its argument prototype would still apply. */
31759 char XShapeQueryExtension ();
31760 int
31761 main ()
31762 {
31763 XShapeQueryExtension ();
31764 ;
31765 return 0;
31766 }
31767 _ACEOF
31768 rm -f conftest.$ac_objext conftest$ac_exeext
31769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31770 (eval $ac_link) 2>conftest.er1
31771 ac_status=$?
31772 grep -v '^ *+' conftest.er1 >conftest.err
31773 rm -f conftest.er1
31774 cat conftest.err >&5
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); } &&
31777 { ac_try='test -z "$ac_cxx_werror_flag"
31778 || test ! -s conftest.err'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31781 ac_status=$?
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; } &&
31784 { ac_try='test -s conftest$ac_exeext'
31785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786 (eval $ac_try) 2>&5
31787 ac_status=$?
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); }; }; then
31790 ac_cv_lib_Xext_XShapeQueryExtension=yes
31791 else
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.$ac_ext >&5
31794
31795 ac_cv_lib_Xext_XShapeQueryExtension=no
31796 fi
31797 rm -f conftest.err conftest.$ac_objext \
31798 conftest$ac_exeext conftest.$ac_ext
31799 LIBS=$ac_check_lib_save_LIBS
31800 fi
31801 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31802 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31803 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31804
31805 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31806 wxHAVE_XEXT_LIB=1
31807
31808 fi
31809
31810
31811 if test "$wxHAVE_XEXT_LIB" = 1; then
31812 save_CXXFLAGS="$CXXFLAGS"
31813 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31814
31815 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31816 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31817 cat >conftest.$ac_ext <<_ACEOF
31818 /* confdefs.h. */
31819 _ACEOF
31820 cat confdefs.h >>conftest.$ac_ext
31821 cat >>conftest.$ac_ext <<_ACEOF
31822 /* end confdefs.h. */
31823
31824 #include <X11/Xlib.h>
31825 #include <X11/extensions/shape.h>
31826
31827 int
31828 main ()
31829 {
31830
31831 int dummy1, dummy2;
31832 XShapeQueryExtension((Display*)NULL,
31833 (int*)NULL, (int*)NULL);
31834
31835 ;
31836 return 0;
31837 }
31838 _ACEOF
31839 rm -f conftest.$ac_objext
31840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31841 (eval $ac_compile) 2>conftest.er1
31842 ac_status=$?
31843 grep -v '^ *+' conftest.er1 >conftest.err
31844 rm -f conftest.er1
31845 cat conftest.err >&5
31846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31847 (exit $ac_status); } &&
31848 { ac_try='test -z "$ac_cxx_werror_flag"
31849 || test ! -s conftest.err'
31850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31851 (eval $ac_try) 2>&5
31852 ac_status=$?
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); }; } &&
31855 { ac_try='test -s conftest.$ac_objext'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31858 ac_status=$?
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; }; then
31861
31862 cat >>confdefs.h <<\_ACEOF
31863 #define HAVE_XSHAPE 1
31864 _ACEOF
31865
31866 echo "$as_me:$LINENO: result: found" >&5
31867 echo "${ECHO_T}found" >&6
31868
31869 else
31870 echo "$as_me: failed program was:" >&5
31871 sed 's/^/| /' conftest.$ac_ext >&5
31872
31873
31874 echo "$as_me:$LINENO: result: not found" >&5
31875 echo "${ECHO_T}not found" >&6
31876
31877 fi
31878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31879 CXXFLAGS="$save_CXXFLAGS"
31880
31881 fi
31882 fi
31883
31884 if test "$wxUSE_MAC" = 1; then
31885 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31886 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31887 if test "$GCC" = yes; then
31888 echo "$as_me:$LINENO: result: gcc" >&5
31889 echo "${ECHO_T}gcc" >&6
31890 CPPFLAGS_PASCAL="-fpascal-strings"
31891 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31892 echo "$as_me:$LINENO: result: xlc" >&5
31893 echo "${ECHO_T}xlc" >&6
31894 CPPFLAGS_PASCAL="-qmacpstr"
31895 else
31896 echo "$as_me:$LINENO: result: none" >&5
31897 echo "${ECHO_T}none" >&6
31898 fi
31899
31900 if test "x$wxUSE_UNIX" = "xyes"; then
31901 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31902 else
31903 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31904 fi
31905
31906 TOOLKIT=MAC
31907 GUIDIST=MACX_DIST
31908 WXBASEPORT="_carbon"
31909 fi
31910
31911 if test "$wxUSE_COCOA" = 1; then
31912 TOOLKIT=COCOA
31913 GUIDIST=COCOA_DIST
31914 fi
31915
31916 if test "$wxUSE_PM" = 1; then
31917 TOOLKIT=PM
31918 GUIDIST=PM_DIST
31919 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31920 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31921 if test "${wx_cv_spbcdata+set}" = set; then
31922 echo $ECHO_N "(cached) $ECHO_C" >&6
31923 else
31924
31925 cat >conftest.$ac_ext <<_ACEOF
31926 /* confdefs.h. */
31927 _ACEOF
31928 cat confdefs.h >>conftest.$ac_ext
31929 cat >>conftest.$ac_ext <<_ACEOF
31930 /* end confdefs.h. */
31931
31932 #define INCL_PM
31933 #include <os2.h>
31934
31935 int
31936 main ()
31937 {
31938
31939 SPBCDATA test;
31940
31941 ;
31942 return 0;
31943 }
31944 _ACEOF
31945 rm -f conftest.$ac_objext
31946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31947 (eval $ac_compile) 2>conftest.er1
31948 ac_status=$?
31949 grep -v '^ *+' conftest.er1 >conftest.err
31950 rm -f conftest.er1
31951 cat conftest.err >&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } &&
31954 { ac_try='test -z "$ac_cxx_werror_flag"
31955 || test ! -s conftest.err'
31956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31957 (eval $ac_try) 2>&5
31958 ac_status=$?
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); }; } &&
31961 { ac_try='test -s conftest.$ac_objext'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31964 ac_status=$?
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; }; then
31967 wx_cv_spbcdata=yes
31968 else
31969 echo "$as_me: failed program was:" >&5
31970 sed 's/^/| /' conftest.$ac_ext >&5
31971
31972 wx_cv_spbcdata=no
31973
31974 fi
31975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31976
31977
31978 fi
31979 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31980 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31981
31982 if test $wx_cv_spbcdata = "yes"; then
31983 cat >>confdefs.h <<\_ACEOF
31984 #define HAVE_SPBCDATA 1
31985 _ACEOF
31986
31987 fi
31988 fi
31989
31990 if test "$TOOLKIT" = "PM" ; then
31991 TOOLKIT_DIR="os2"
31992 else
31993 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31994 fi
31995
31996 if test "$wxUSE_UNIVERSAL" = "yes"; then
31997 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31998 WIDGET_SET=univ
31999 fi
32000
32001 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32002 DISTDIR="wx\$(TOOLKIT)"
32003 else
32004 USE_GUI=0
32005
32006 TOOLKIT_DIR="base"
32007
32008 if test "$USE_WIN32" = 1 ; then
32009 TOOLKIT="MSW"
32010 fi
32011
32012 GUIDIST="BASE_DIST"
32013 DISTDIR="wxBase"
32014 fi
32015
32016
32017 if test "$wxUSE_GUI" = "yes"; then
32018 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32019
32020 for ac_header in X11/Xlib.h
32021 do
32022 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32024 echo "$as_me:$LINENO: checking for $ac_header" >&5
32025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32027 echo $ECHO_N "(cached) $ECHO_C" >&6
32028 fi
32029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32030 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32031 else
32032 # Is the header compilable?
32033 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32034 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32035 cat >conftest.$ac_ext <<_ACEOF
32036 /* confdefs.h. */
32037 _ACEOF
32038 cat confdefs.h >>conftest.$ac_ext
32039 cat >>conftest.$ac_ext <<_ACEOF
32040 /* end confdefs.h. */
32041 $ac_includes_default
32042 #include <$ac_header>
32043 _ACEOF
32044 rm -f conftest.$ac_objext
32045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32046 (eval $ac_compile) 2>conftest.er1
32047 ac_status=$?
32048 grep -v '^ *+' conftest.er1 >conftest.err
32049 rm -f conftest.er1
32050 cat conftest.err >&5
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); } &&
32053 { ac_try='test -z "$ac_cxx_werror_flag"
32054 || test ! -s conftest.err'
32055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056 (eval $ac_try) 2>&5
32057 ac_status=$?
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); }; } &&
32060 { ac_try='test -s conftest.$ac_objext'
32061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32062 (eval $ac_try) 2>&5
32063 ac_status=$?
32064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32065 (exit $ac_status); }; }; then
32066 ac_header_compiler=yes
32067 else
32068 echo "$as_me: failed program was:" >&5
32069 sed 's/^/| /' conftest.$ac_ext >&5
32070
32071 ac_header_compiler=no
32072 fi
32073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32075 echo "${ECHO_T}$ac_header_compiler" >&6
32076
32077 # Is the header present?
32078 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32079 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32080 cat >conftest.$ac_ext <<_ACEOF
32081 /* confdefs.h. */
32082 _ACEOF
32083 cat confdefs.h >>conftest.$ac_ext
32084 cat >>conftest.$ac_ext <<_ACEOF
32085 /* end confdefs.h. */
32086 #include <$ac_header>
32087 _ACEOF
32088 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32089 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32090 ac_status=$?
32091 grep -v '^ *+' conftest.er1 >conftest.err
32092 rm -f conftest.er1
32093 cat conftest.err >&5
32094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095 (exit $ac_status); } >/dev/null; then
32096 if test -s conftest.err; then
32097 ac_cpp_err=$ac_cxx_preproc_warn_flag
32098 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32099 else
32100 ac_cpp_err=
32101 fi
32102 else
32103 ac_cpp_err=yes
32104 fi
32105 if test -z "$ac_cpp_err"; then
32106 ac_header_preproc=yes
32107 else
32108 echo "$as_me: failed program was:" >&5
32109 sed 's/^/| /' conftest.$ac_ext >&5
32110
32111 ac_header_preproc=no
32112 fi
32113 rm -f conftest.err conftest.$ac_ext
32114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32115 echo "${ECHO_T}$ac_header_preproc" >&6
32116
32117 # So? What about this header?
32118 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32119 yes:no: )
32120 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32121 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32123 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32124 ac_header_preproc=yes
32125 ;;
32126 no:yes:* )
32127 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32128 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32129 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32130 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32131 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32132 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32133 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32134 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32136 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32137 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32138 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32139 (
32140 cat <<\_ASBOX
32141 ## ----------------------------------------- ##
32142 ## Report this to wx-dev@lists.wxwidgets.org ##
32143 ## ----------------------------------------- ##
32144 _ASBOX
32145 ) |
32146 sed "s/^/$as_me: WARNING: /" >&2
32147 ;;
32148 esac
32149 echo "$as_me:$LINENO: checking for $ac_header" >&5
32150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32152 echo $ECHO_N "(cached) $ECHO_C" >&6
32153 else
32154 eval "$as_ac_Header=\$ac_header_preproc"
32155 fi
32156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32158
32159 fi
32160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32161 cat >>confdefs.h <<_ACEOF
32162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32163 _ACEOF
32164
32165 fi
32166
32167 done
32168
32169
32170 for ac_header in X11/XKBlib.h
32171 do
32172 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32173 echo "$as_me:$LINENO: checking for $ac_header" >&5
32174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32176 echo $ECHO_N "(cached) $ECHO_C" >&6
32177 else
32178 cat >conftest.$ac_ext <<_ACEOF
32179 /* confdefs.h. */
32180 _ACEOF
32181 cat confdefs.h >>conftest.$ac_ext
32182 cat >>conftest.$ac_ext <<_ACEOF
32183 /* end confdefs.h. */
32184
32185 #if HAVE_X11_XLIB_H
32186 #include <X11/Xlib.h>
32187 #endif
32188
32189
32190 #include <$ac_header>
32191 _ACEOF
32192 rm -f conftest.$ac_objext
32193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32194 (eval $ac_compile) 2>conftest.er1
32195 ac_status=$?
32196 grep -v '^ *+' conftest.er1 >conftest.err
32197 rm -f conftest.er1
32198 cat conftest.err >&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); } &&
32201 { ac_try='test -z "$ac_cxx_werror_flag"
32202 || test ! -s conftest.err'
32203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204 (eval $ac_try) 2>&5
32205 ac_status=$?
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); }; } &&
32208 { ac_try='test -s conftest.$ac_objext'
32209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32210 (eval $ac_try) 2>&5
32211 ac_status=$?
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); }; }; then
32214 eval "$as_ac_Header=yes"
32215 else
32216 echo "$as_me: failed program was:" >&5
32217 sed 's/^/| /' conftest.$ac_ext >&5
32218
32219 eval "$as_ac_Header=no"
32220 fi
32221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32222 fi
32223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32226 cat >>confdefs.h <<_ACEOF
32227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32228 _ACEOF
32229
32230 fi
32231
32232 done
32233
32234 fi
32235 fi
32236
32237
32238
32239 IODBC_C_SRC=""
32240
32241
32242 if test "$TOOLKIT" != "MSW" ; then
32243
32244 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32245
32246 if test "${ac_cv_header_sql_h+set}" = set; then
32247 echo "$as_me:$LINENO: checking for sql.h" >&5
32248 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32249 if test "${ac_cv_header_sql_h+set}" = set; then
32250 echo $ECHO_N "(cached) $ECHO_C" >&6
32251 fi
32252 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32253 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32254 else
32255 # Is the header compilable?
32256 echo "$as_me:$LINENO: checking sql.h usability" >&5
32257 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32258 cat >conftest.$ac_ext <<_ACEOF
32259 /* confdefs.h. */
32260 _ACEOF
32261 cat confdefs.h >>conftest.$ac_ext
32262 cat >>conftest.$ac_ext <<_ACEOF
32263 /* end confdefs.h. */
32264 $ac_includes_default
32265 #include <sql.h>
32266 _ACEOF
32267 rm -f conftest.$ac_objext
32268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32269 (eval $ac_compile) 2>conftest.er1
32270 ac_status=$?
32271 grep -v '^ *+' conftest.er1 >conftest.err
32272 rm -f conftest.er1
32273 cat conftest.err >&5
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); } &&
32276 { ac_try='test -z "$ac_cxx_werror_flag"
32277 || test ! -s conftest.err'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32280 ac_status=$?
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; } &&
32283 { ac_try='test -s conftest.$ac_objext'
32284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32285 (eval $ac_try) 2>&5
32286 ac_status=$?
32287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32288 (exit $ac_status); }; }; then
32289 ac_header_compiler=yes
32290 else
32291 echo "$as_me: failed program was:" >&5
32292 sed 's/^/| /' conftest.$ac_ext >&5
32293
32294 ac_header_compiler=no
32295 fi
32296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32298 echo "${ECHO_T}$ac_header_compiler" >&6
32299
32300 # Is the header present?
32301 echo "$as_me:$LINENO: checking sql.h presence" >&5
32302 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32303 cat >conftest.$ac_ext <<_ACEOF
32304 /* confdefs.h. */
32305 _ACEOF
32306 cat confdefs.h >>conftest.$ac_ext
32307 cat >>conftest.$ac_ext <<_ACEOF
32308 /* end confdefs.h. */
32309 #include <sql.h>
32310 _ACEOF
32311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32313 ac_status=$?
32314 grep -v '^ *+' conftest.er1 >conftest.err
32315 rm -f conftest.er1
32316 cat conftest.err >&5
32317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32318 (exit $ac_status); } >/dev/null; then
32319 if test -s conftest.err; then
32320 ac_cpp_err=$ac_cxx_preproc_warn_flag
32321 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32322 else
32323 ac_cpp_err=
32324 fi
32325 else
32326 ac_cpp_err=yes
32327 fi
32328 if test -z "$ac_cpp_err"; then
32329 ac_header_preproc=yes
32330 else
32331 echo "$as_me: failed program was:" >&5
32332 sed 's/^/| /' conftest.$ac_ext >&5
32333
32334 ac_header_preproc=no
32335 fi
32336 rm -f conftest.err conftest.$ac_ext
32337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32338 echo "${ECHO_T}$ac_header_preproc" >&6
32339
32340 # So? What about this header?
32341 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32342 yes:no: )
32343 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32344 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32345 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32346 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32347 ac_header_preproc=yes
32348 ;;
32349 no:yes:* )
32350 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32351 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32352 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32353 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32354 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32355 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32356 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32357 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32358 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32359 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32360 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32361 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32362 (
32363 cat <<\_ASBOX
32364 ## ----------------------------------------- ##
32365 ## Report this to wx-dev@lists.wxwidgets.org ##
32366 ## ----------------------------------------- ##
32367 _ASBOX
32368 ) |
32369 sed "s/^/$as_me: WARNING: /" >&2
32370 ;;
32371 esac
32372 echo "$as_me:$LINENO: checking for sql.h" >&5
32373 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32374 if test "${ac_cv_header_sql_h+set}" = set; then
32375 echo $ECHO_N "(cached) $ECHO_C" >&6
32376 else
32377 ac_cv_header_sql_h=$ac_header_preproc
32378 fi
32379 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32380 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32381
32382 fi
32383 if test $ac_cv_header_sql_h = yes; then
32384 found_sql_h=1
32385 fi
32386
32387
32388 if test "x$found_sql_h" = "x1" ; then
32389 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32390 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32391 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32392 echo $ECHO_N "(cached) $ECHO_C" >&6
32393 else
32394 ac_check_lib_save_LIBS=$LIBS
32395 LIBS="-liodbc $LIBS"
32396 cat >conftest.$ac_ext <<_ACEOF
32397 /* confdefs.h. */
32398 _ACEOF
32399 cat confdefs.h >>conftest.$ac_ext
32400 cat >>conftest.$ac_ext <<_ACEOF
32401 /* end confdefs.h. */
32402
32403 /* Override any gcc2 internal prototype to avoid an error. */
32404 #ifdef __cplusplus
32405 extern "C"
32406 #endif
32407 /* We use char because int might match the return type of a gcc2
32408 builtin and then its argument prototype would still apply. */
32409 char SQLAllocEnv ();
32410 int
32411 main ()
32412 {
32413 SQLAllocEnv ();
32414 ;
32415 return 0;
32416 }
32417 _ACEOF
32418 rm -f conftest.$ac_objext conftest$ac_exeext
32419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32420 (eval $ac_link) 2>conftest.er1
32421 ac_status=$?
32422 grep -v '^ *+' conftest.er1 >conftest.err
32423 rm -f conftest.er1
32424 cat conftest.err >&5
32425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32426 (exit $ac_status); } &&
32427 { ac_try='test -z "$ac_cxx_werror_flag"
32428 || test ! -s conftest.err'
32429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32430 (eval $ac_try) 2>&5
32431 ac_status=$?
32432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433 (exit $ac_status); }; } &&
32434 { ac_try='test -s conftest$ac_exeext'
32435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32436 (eval $ac_try) 2>&5
32437 ac_status=$?
32438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32439 (exit $ac_status); }; }; then
32440 ac_cv_lib_iodbc_SQLAllocEnv=yes
32441 else
32442 echo "$as_me: failed program was:" >&5
32443 sed 's/^/| /' conftest.$ac_ext >&5
32444
32445 ac_cv_lib_iodbc_SQLAllocEnv=no
32446 fi
32447 rm -f conftest.err conftest.$ac_objext \
32448 conftest$ac_exeext conftest.$ac_ext
32449 LIBS=$ac_check_lib_save_LIBS
32450 fi
32451 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32452 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32453 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32454 ODBC_LINK=" -liodbc"
32455 else
32456
32457 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32458 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32459 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32460 echo $ECHO_N "(cached) $ECHO_C" >&6
32461 else
32462 ac_check_lib_save_LIBS=$LIBS
32463 LIBS="-lunixodbc $LIBS"
32464 cat >conftest.$ac_ext <<_ACEOF
32465 /* confdefs.h. */
32466 _ACEOF
32467 cat confdefs.h >>conftest.$ac_ext
32468 cat >>conftest.$ac_ext <<_ACEOF
32469 /* end confdefs.h. */
32470
32471 /* Override any gcc2 internal prototype to avoid an error. */
32472 #ifdef __cplusplus
32473 extern "C"
32474 #endif
32475 /* We use char because int might match the return type of a gcc2
32476 builtin and then its argument prototype would still apply. */
32477 char SQLAllocEnv ();
32478 int
32479 main ()
32480 {
32481 SQLAllocEnv ();
32482 ;
32483 return 0;
32484 }
32485 _ACEOF
32486 rm -f conftest.$ac_objext conftest$ac_exeext
32487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32488 (eval $ac_link) 2>conftest.er1
32489 ac_status=$?
32490 grep -v '^ *+' conftest.er1 >conftest.err
32491 rm -f conftest.er1
32492 cat conftest.err >&5
32493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32494 (exit $ac_status); } &&
32495 { ac_try='test -z "$ac_cxx_werror_flag"
32496 || test ! -s conftest.err'
32497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32498 (eval $ac_try) 2>&5
32499 ac_status=$?
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); }; } &&
32502 { ac_try='test -s conftest$ac_exeext'
32503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32504 (eval $ac_try) 2>&5
32505 ac_status=$?
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); }; }; then
32508 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32509 else
32510 echo "$as_me: failed program was:" >&5
32511 sed 's/^/| /' conftest.$ac_ext >&5
32512
32513 ac_cv_lib_unixodbc_SQLAllocEnv=no
32514 fi
32515 rm -f conftest.err conftest.$ac_objext \
32516 conftest$ac_exeext conftest.$ac_ext
32517 LIBS=$ac_check_lib_save_LIBS
32518 fi
32519 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32520 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32521 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32522 ODBC_LINK=" -lunixodbc"
32523 else
32524
32525 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32526 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32527 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32528 echo $ECHO_N "(cached) $ECHO_C" >&6
32529 else
32530 ac_check_lib_save_LIBS=$LIBS
32531 LIBS="-lodbc $LIBS"
32532 cat >conftest.$ac_ext <<_ACEOF
32533 /* confdefs.h. */
32534 _ACEOF
32535 cat confdefs.h >>conftest.$ac_ext
32536 cat >>conftest.$ac_ext <<_ACEOF
32537 /* end confdefs.h. */
32538
32539 /* Override any gcc2 internal prototype to avoid an error. */
32540 #ifdef __cplusplus
32541 extern "C"
32542 #endif
32543 /* We use char because int might match the return type of a gcc2
32544 builtin and then its argument prototype would still apply. */
32545 char SQLAllocEnv ();
32546 int
32547 main ()
32548 {
32549 SQLAllocEnv ();
32550 ;
32551 return 0;
32552 }
32553 _ACEOF
32554 rm -f conftest.$ac_objext conftest$ac_exeext
32555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32556 (eval $ac_link) 2>conftest.er1
32557 ac_status=$?
32558 grep -v '^ *+' conftest.er1 >conftest.err
32559 rm -f conftest.er1
32560 cat conftest.err >&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); } &&
32563 { ac_try='test -z "$ac_cxx_werror_flag"
32564 || test ! -s conftest.err'
32565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566 (eval $ac_try) 2>&5
32567 ac_status=$?
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); }; } &&
32570 { ac_try='test -s conftest$ac_exeext'
32571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32572 (eval $ac_try) 2>&5
32573 ac_status=$?
32574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575 (exit $ac_status); }; }; then
32576 ac_cv_lib_odbc_SQLAllocEnv=yes
32577 else
32578 echo "$as_me: failed program was:" >&5
32579 sed 's/^/| /' conftest.$ac_ext >&5
32580
32581 ac_cv_lib_odbc_SQLAllocEnv=no
32582 fi
32583 rm -f conftest.err conftest.$ac_objext \
32584 conftest$ac_exeext conftest.$ac_ext
32585 LIBS=$ac_check_lib_save_LIBS
32586 fi
32587 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32588 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32589 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32590 ODBC_LINK=" -lodbc"
32591 fi
32592
32593
32594 fi
32595
32596
32597 fi
32598
32599 fi
32600 if test "x$ODBC_LINK" = "x" ; then
32601 if test "$wxUSE_ODBC" = "sys" ; then
32602 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32603 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32604 { (exit 1); exit 1; }; }
32605 else
32606 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32607 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32608 wxUSE_ODBC=builtin
32609 fi
32610 else
32611 wxUSE_ODBC=sys
32612 fi
32613 fi
32614
32615 if test "$wxUSE_ODBC" = "builtin" ; then
32616 cat >>confdefs.h <<\_ACEOF
32617 #define wxUSE_BUILTIN_IODBC 1
32618 _ACEOF
32619
32620 fi
32621 fi
32622
32623 if test "$wxUSE_ODBC" != "no" ; then
32624 cat >>confdefs.h <<\_ACEOF
32625 #define wxUSE_ODBC 1
32626 _ACEOF
32627
32628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32629
32630 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32631 fi
32632
32633
32634 if test "$wxUSE_DISPLAY" = "yes"; then
32635 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32636 echo "$as_me:$LINENO: checking for Xinerama" >&5
32637 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32638
32639 ac_find_libraries=
32640 for ac_dir in $SEARCH_LIB;
32641 do
32642 for ac_extension in a so sl dylib dll.a; do
32643 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32644 ac_find_libraries=$ac_dir
32645 break 2
32646 fi
32647 done
32648 done
32649
32650 if test "$ac_find_libraries" != "" ; then
32651
32652 if test "$ac_find_libraries" = "default location"; then
32653 ac_path_to_link=""
32654 else
32655 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32656 result=$?
32657 if test $result = 0; then
32658 ac_path_to_link=""
32659 else
32660 ac_path_to_link=" -L$ac_find_libraries"
32661 fi
32662 fi
32663
32664 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32665 LDFLAGS="$LDFLAGS $ac_path_to_link"
32666 fi
32667 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32668 echo "$as_me:$LINENO: result: yes" >&5
32669 echo "${ECHO_T}yes" >&6
32670
32671 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32672 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32673
32674 ac_find_libraries=
32675 for ac_dir in $SEARCH_LIB;
32676 do
32677 for ac_extension in a so sl dylib dll.a; do
32678 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32679 ac_find_libraries=$ac_dir
32680 break 2
32681 fi
32682 done
32683 done
32684
32685 if test "$ac_find_libraries" != "" ; then
32686 echo "$as_me:$LINENO: result: yes" >&5
32687 echo "${ECHO_T}yes" >&6
32688
32689 for ac_header in X11/extensions/xf86vmode.h
32690 do
32691 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32692 echo "$as_me:$LINENO: checking for $ac_header" >&5
32693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32695 echo $ECHO_N "(cached) $ECHO_C" >&6
32696 else
32697 cat >conftest.$ac_ext <<_ACEOF
32698 /* confdefs.h. */
32699 _ACEOF
32700 cat confdefs.h >>conftest.$ac_ext
32701 cat >>conftest.$ac_ext <<_ACEOF
32702 /* end confdefs.h. */
32703
32704 #if HAVE_X11_XLIB_H
32705 #include <X11/Xlib.h>
32706 #endif
32707
32708
32709 #include <$ac_header>
32710 _ACEOF
32711 rm -f conftest.$ac_objext
32712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32713 (eval $ac_compile) 2>conftest.er1
32714 ac_status=$?
32715 grep -v '^ *+' conftest.er1 >conftest.err
32716 rm -f conftest.er1
32717 cat conftest.err >&5
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); } &&
32720 { ac_try='test -z "$ac_cxx_werror_flag"
32721 || test ! -s conftest.err'
32722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32723 (eval $ac_try) 2>&5
32724 ac_status=$?
32725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32726 (exit $ac_status); }; } &&
32727 { ac_try='test -s conftest.$ac_objext'
32728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32729 (eval $ac_try) 2>&5
32730 ac_status=$?
32731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32732 (exit $ac_status); }; }; then
32733 eval "$as_ac_Header=yes"
32734 else
32735 echo "$as_me: failed program was:" >&5
32736 sed 's/^/| /' conftest.$ac_ext >&5
32737
32738 eval "$as_ac_Header=no"
32739 fi
32740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32741 fi
32742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32745 cat >>confdefs.h <<_ACEOF
32746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32747 _ACEOF
32748
32749 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32750
32751 fi
32752
32753 done
32754
32755 else
32756 echo "$as_me:$LINENO: result: no" >&5
32757 echo "${ECHO_T}no" >&6
32758 fi
32759
32760 else
32761 echo "$as_me:$LINENO: result: no" >&5
32762 echo "${ECHO_T}no" >&6
32763 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32764 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32765 wxUSE_DISPLAY="no"
32766 fi
32767 elif test "$wxUSE_MSW" = 1; then
32768
32769 for ac_header in ddraw.h
32770 do
32771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32772 echo "$as_me:$LINENO: checking for $ac_header" >&5
32773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32775 echo $ECHO_N "(cached) $ECHO_C" >&6
32776 else
32777 cat >conftest.$ac_ext <<_ACEOF
32778 /* confdefs.h. */
32779 _ACEOF
32780 cat confdefs.h >>conftest.$ac_ext
32781 cat >>conftest.$ac_ext <<_ACEOF
32782 /* end confdefs.h. */
32783 #include <windows.h>
32784
32785 #include <$ac_header>
32786 _ACEOF
32787 rm -f conftest.$ac_objext
32788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32789 (eval $ac_compile) 2>conftest.er1
32790 ac_status=$?
32791 grep -v '^ *+' conftest.er1 >conftest.err
32792 rm -f conftest.er1
32793 cat conftest.err >&5
32794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 (exit $ac_status); } &&
32796 { ac_try='test -z "$ac_cxx_werror_flag"
32797 || test ! -s conftest.err'
32798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32799 (eval $ac_try) 2>&5
32800 ac_status=$?
32801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32802 (exit $ac_status); }; } &&
32803 { ac_try='test -s conftest.$ac_objext'
32804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32805 (eval $ac_try) 2>&5
32806 ac_status=$?
32807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32808 (exit $ac_status); }; }; then
32809 eval "$as_ac_Header=yes"
32810 else
32811 echo "$as_me: failed program was:" >&5
32812 sed 's/^/| /' conftest.$ac_ext >&5
32813
32814 eval "$as_ac_Header=no"
32815 fi
32816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32817 fi
32818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32821 cat >>confdefs.h <<_ACEOF
32822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32823 _ACEOF
32824
32825 fi
32826
32827 done
32828
32829 fi
32830 fi
32831
32832
32833 USE_OPENGL=0
32834 if test "$wxUSE_OPENGL" = "yes"; then
32835 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32836 OPENGL_LIBS="-framework OpenGL -framework AGL"
32837 elif test "$wxUSE_MSW" = 1; then
32838 OPENGL_LIBS="-lopengl32 -lglu32"
32839 else
32840
32841
32842 ac_find_includes=
32843 for ac_dir in $SEARCH_INCLUDE /usr/include;
32844 do
32845 if test -f "$ac_dir/GL/gl.h"; then
32846 ac_find_includes=$ac_dir
32847 break
32848 fi
32849 done
32850
32851 if test "$ac_find_includes" != "" ; then
32852 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32853 echo "${ECHO_T}found in $ac_find_includes" >&6
32854
32855 if test "x$ac_find_includes" = "x/usr/include"; then
32856 ac_path_to_include=""
32857 else
32858 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32859 result=$?
32860 if test $result = 0; then
32861 ac_path_to_include=""
32862 else
32863 ac_path_to_include=" -I$ac_find_includes"
32864 fi
32865 fi
32866
32867 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32868 fi
32869
32870 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32871 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32872 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32873 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32874 echo $ECHO_N "(cached) $ECHO_C" >&6
32875 fi
32876 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32877 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32878 else
32879 # Is the header compilable?
32880 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32881 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32882 cat >conftest.$ac_ext <<_ACEOF
32883 /* confdefs.h. */
32884 _ACEOF
32885 cat confdefs.h >>conftest.$ac_ext
32886 cat >>conftest.$ac_ext <<_ACEOF
32887 /* end confdefs.h. */
32888 $ac_includes_default
32889 #include <GL/gl.h>
32890 _ACEOF
32891 rm -f conftest.$ac_objext
32892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32893 (eval $ac_compile) 2>conftest.er1
32894 ac_status=$?
32895 grep -v '^ *+' conftest.er1 >conftest.err
32896 rm -f conftest.er1
32897 cat conftest.err >&5
32898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32899 (exit $ac_status); } &&
32900 { ac_try='test -z "$ac_cxx_werror_flag"
32901 || test ! -s conftest.err'
32902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32903 (eval $ac_try) 2>&5
32904 ac_status=$?
32905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32906 (exit $ac_status); }; } &&
32907 { ac_try='test -s conftest.$ac_objext'
32908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32909 (eval $ac_try) 2>&5
32910 ac_status=$?
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); }; }; then
32913 ac_header_compiler=yes
32914 else
32915 echo "$as_me: failed program was:" >&5
32916 sed 's/^/| /' conftest.$ac_ext >&5
32917
32918 ac_header_compiler=no
32919 fi
32920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32922 echo "${ECHO_T}$ac_header_compiler" >&6
32923
32924 # Is the header present?
32925 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32926 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32927 cat >conftest.$ac_ext <<_ACEOF
32928 /* confdefs.h. */
32929 _ACEOF
32930 cat confdefs.h >>conftest.$ac_ext
32931 cat >>conftest.$ac_ext <<_ACEOF
32932 /* end confdefs.h. */
32933 #include <GL/gl.h>
32934 _ACEOF
32935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32937 ac_status=$?
32938 grep -v '^ *+' conftest.er1 >conftest.err
32939 rm -f conftest.er1
32940 cat conftest.err >&5
32941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942 (exit $ac_status); } >/dev/null; then
32943 if test -s conftest.err; then
32944 ac_cpp_err=$ac_cxx_preproc_warn_flag
32945 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32946 else
32947 ac_cpp_err=
32948 fi
32949 else
32950 ac_cpp_err=yes
32951 fi
32952 if test -z "$ac_cpp_err"; then
32953 ac_header_preproc=yes
32954 else
32955 echo "$as_me: failed program was:" >&5
32956 sed 's/^/| /' conftest.$ac_ext >&5
32957
32958 ac_header_preproc=no
32959 fi
32960 rm -f conftest.err conftest.$ac_ext
32961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32962 echo "${ECHO_T}$ac_header_preproc" >&6
32963
32964 # So? What about this header?
32965 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32966 yes:no: )
32967 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32968 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32969 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32970 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32971 ac_header_preproc=yes
32972 ;;
32973 no:yes:* )
32974 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32975 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32976 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32977 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32978 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32979 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32980 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32981 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32982 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32983 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32984 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32985 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32986 (
32987 cat <<\_ASBOX
32988 ## ----------------------------------------- ##
32989 ## Report this to wx-dev@lists.wxwidgets.org ##
32990 ## ----------------------------------------- ##
32991 _ASBOX
32992 ) |
32993 sed "s/^/$as_me: WARNING: /" >&2
32994 ;;
32995 esac
32996 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32997 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32998 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32999 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 else
33001 ac_cv_header_GL_gl_h=$ac_header_preproc
33002 fi
33003 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33004 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33005
33006 fi
33007 if test $ac_cv_header_GL_gl_h = yes; then
33008
33009 found_gl=0
33010
33011 echo "$as_me:$LINENO: checking for -lGL" >&5
33012 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33013
33014 ac_find_libraries=
33015 for ac_dir in $SEARCH_LIB;
33016 do
33017 for ac_extension in a so sl dylib dll.a; do
33018 if test -f "$ac_dir/libGL.$ac_extension"; then
33019 ac_find_libraries=$ac_dir
33020 break 2
33021 fi
33022 done
33023 done
33024
33025 if test "$ac_find_libraries" != "" ; then
33026 echo "$as_me:$LINENO: result: yes" >&5
33027 echo "${ECHO_T}yes" >&6
33028
33029
33030 if test "$ac_find_libraries" = "default location"; then
33031 ac_path_to_link=""
33032 else
33033 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33034 result=$?
33035 if test $result = 0; then
33036 ac_path_to_link=""
33037 else
33038 ac_path_to_link=" -L$ac_find_libraries"
33039 fi
33040 fi
33041
33042 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33043 LDFLAGS_GL="$ac_path_to_link"
33044 fi
33045
33046 echo "$as_me:$LINENO: checking for -lGLU" >&5
33047 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33048
33049 ac_find_libraries=
33050 for ac_dir in $SEARCH_LIB;
33051 do
33052 for ac_extension in a so sl dylib dll.a; do
33053 if test -f "$ac_dir/libGLU.$ac_extension"; then
33054 ac_find_libraries=$ac_dir
33055 break 2
33056 fi
33057 done
33058 done
33059
33060 if test "$ac_find_libraries" != "" ; then
33061
33062 if test "$ac_find_libraries" = "default location"; then
33063 ac_path_to_link=""
33064 else
33065 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33066 result=$?
33067 if test $result = 0; then
33068 ac_path_to_link=""
33069 else
33070 ac_path_to_link=" -L$ac_find_libraries"
33071 fi
33072 fi
33073
33074 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33075 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33076 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33077 fi
33078
33079 found_gl=1
33080 OPENGL_LIBS="-lGL -lGLU"
33081 echo "$as_me:$LINENO: result: yes" >&5
33082 echo "${ECHO_T}yes" >&6
33083 else
33084 echo "$as_me:$LINENO: result: no" >&5
33085 echo "${ECHO_T}no" >&6
33086 fi
33087 else
33088 echo "$as_me:$LINENO: result: no" >&5
33089 echo "${ECHO_T}no" >&6
33090 fi
33091
33092 if test "$found_gl" != 1; then
33093 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33094 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33095
33096 ac_find_libraries=
33097 for ac_dir in $SEARCH_LIB;
33098 do
33099 for ac_extension in a so sl dylib dll.a; do
33100 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33101 ac_find_libraries=$ac_dir
33102 break 2
33103 fi
33104 done
33105 done
33106
33107 if test "$ac_find_libraries" != "" ; then
33108
33109 if test "$ac_find_libraries" = "default location"; then
33110 ac_path_to_link=""
33111 else
33112 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33113 result=$?
33114 if test $result = 0; then
33115 ac_path_to_link=""
33116 else
33117 ac_path_to_link=" -L$ac_find_libraries"
33118 fi
33119 fi
33120
33121 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33122 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33123 echo "$as_me:$LINENO: result: yes" >&5
33124 echo "${ECHO_T}yes" >&6
33125 else
33126 echo "$as_me:$LINENO: result: no" >&5
33127 echo "${ECHO_T}no" >&6
33128 fi
33129 fi
33130
33131 fi
33132
33133
33134
33135 if test "x$OPENGL_LIBS" = "x"; then
33136 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33137 echo "$as_me: error: OpenGL libraries not available" >&2;}
33138 { (exit 1); exit 1; }; }
33139 fi
33140 fi
33141
33142 if test "$wxUSE_OPENGL" = "yes"; then
33143 USE_OPENGL=1
33144 cat >>confdefs.h <<\_ACEOF
33145 #define wxUSE_OPENGL 1
33146 _ACEOF
33147
33148 cat >>confdefs.h <<\_ACEOF
33149 #define wxUSE_GLCANVAS 1
33150 _ACEOF
33151
33152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33153 fi
33154 fi
33155
33156
33157 if test -n "$TOOLKIT" ; then
33158 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33159 fi
33160
33161
33162
33163 if test "$wxUSE_SHARED" = "yes"; then
33164 case "${host}" in
33165 *-pc-msdosdjgpp )
33166 wxUSE_SHARED=no
33167 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33168 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33169 ;;
33170 esac
33171 fi
33172
33173 if test "$wxUSE_SHARED" = "yes"; then
33174
33175
33176 found_versioning=no
33177
33178
33179 if test $found_versioning = no ; then
33180 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33181 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33182 if test "${wx_cv_version_script+set}" = set; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 else
33185
33186 echo "VER_1 { *; };" >conftest.sym
33187 echo "int main() { return 0; }" >conftest.cpp
33188
33189 if { ac_try='
33190 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33191 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33193 (eval $ac_try) 2>&5
33194 ac_status=$?
33195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196 (exit $ac_status); }; } ; then
33197 if test -s conftest.stderr ; then
33198 wx_cv_version_script=no
33199 else
33200 wx_cv_version_script=yes
33201 fi
33202 else
33203 wx_cv_version_script=no
33204 fi
33205
33206 if test $wx_cv_version_script = yes
33207 then
33208 echo "struct B { virtual ~B() { } }; \
33209 struct D : public B { }; \
33210 void F() { D d; }" > conftest.cpp
33211
33212 if { ac_try='
33213 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33214 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33216 (eval $ac_try) 2>&5
33217 ac_status=$?
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); }; } &&
33220 { ac_try='
33221 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33222 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33224 (eval $ac_try) 2>&5
33225 ac_status=$?
33226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33227 (exit $ac_status); }; }
33228 then
33229 if { ac_try='
33230 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33231 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33233 (eval $ac_try) 2>&5
33234 ac_status=$?
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); }; }
33237 then
33238 wx_cv_version_script=yes
33239 else
33240 wx_cv_version_script=no
33241 fi
33242 fi
33243 fi
33244
33245 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33246 rm -f conftest1.output conftest2.output conftest3.output
33247
33248 fi
33249 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33250 echo "${ECHO_T}$wx_cv_version_script" >&6
33251 if test $wx_cv_version_script = yes ; then
33252 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33253 fi
33254 fi
33255
33256
33257 case "${host}" in
33258 *-*-linux* | *-*-gnu* )
33259 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33260 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33261 ;;
33262
33263 *-*-solaris2* )
33264 if test "$GCC" = yes ; then
33265 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33266
33267 saveLdflags="$LDFLAGS"
33268 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33269 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33270 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33271 cat >conftest.$ac_ext <<_ACEOF
33272 /* confdefs.h. */
33273 _ACEOF
33274 cat confdefs.h >>conftest.$ac_ext
33275 cat >>conftest.$ac_ext <<_ACEOF
33276 /* end confdefs.h. */
33277
33278 int
33279 main ()
33280 {
33281
33282 ;
33283 return 0;
33284 }
33285 _ACEOF
33286 rm -f conftest.$ac_objext conftest$ac_exeext
33287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33288 (eval $ac_link) 2>conftest.er1
33289 ac_status=$?
33290 grep -v '^ *+' conftest.er1 >conftest.err
33291 rm -f conftest.er1
33292 cat conftest.err >&5
33293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33294 (exit $ac_status); } &&
33295 { ac_try='test -z "$ac_cxx_werror_flag"
33296 || test ! -s conftest.err'
33297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33298 (eval $ac_try) 2>&5
33299 ac_status=$?
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); }; } &&
33302 { ac_try='test -s conftest$ac_exeext'
33303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33304 (eval $ac_try) 2>&5
33305 ac_status=$?
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); }; }; then
33308
33309 echo "$as_me:$LINENO: result: yes" >&5
33310 echo "${ECHO_T}yes" >&6
33311 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33312 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33313
33314 else
33315 echo "$as_me: failed program was:" >&5
33316 sed 's/^/| /' conftest.$ac_ext >&5
33317
33318
33319 echo "$as_me:$LINENO: result: no" >&5
33320 echo "${ECHO_T}no" >&6
33321 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33322 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33323 LDFLAGS="$saveLdflags -Wl,-R,/"
33324 cat >conftest.$ac_ext <<_ACEOF
33325 /* confdefs.h. */
33326 _ACEOF
33327 cat confdefs.h >>conftest.$ac_ext
33328 cat >>conftest.$ac_ext <<_ACEOF
33329 /* end confdefs.h. */
33330
33331 int
33332 main ()
33333 {
33334
33335 ;
33336 return 0;
33337 }
33338 _ACEOF
33339 rm -f conftest.$ac_objext conftest$ac_exeext
33340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33341 (eval $ac_link) 2>conftest.er1
33342 ac_status=$?
33343 grep -v '^ *+' conftest.er1 >conftest.err
33344 rm -f conftest.er1
33345 cat conftest.err >&5
33346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33347 (exit $ac_status); } &&
33348 { ac_try='test -z "$ac_cxx_werror_flag"
33349 || test ! -s conftest.err'
33350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33351 (eval $ac_try) 2>&5
33352 ac_status=$?
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); }; } &&
33355 { ac_try='test -s conftest$ac_exeext'
33356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33357 (eval $ac_try) 2>&5
33358 ac_status=$?
33359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33360 (exit $ac_status); }; }; then
33361
33362 echo "$as_me:$LINENO: result: yes" >&5
33363 echo "${ECHO_T}yes" >&6
33364 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33365 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33366
33367 else
33368 echo "$as_me: failed program was:" >&5
33369 sed 's/^/| /' conftest.$ac_ext >&5
33370
33371
33372 echo "$as_me:$LINENO: result: no" >&5
33373 echo "${ECHO_T}no" >&6
33374
33375 fi
33376 rm -f conftest.err conftest.$ac_objext \
33377 conftest$ac_exeext conftest.$ac_ext
33378
33379 fi
33380 rm -f conftest.err conftest.$ac_objext \
33381 conftest$ac_exeext conftest.$ac_ext
33382 LDFLAGS="$saveLdflags"
33383 else
33384 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33385 WXCONFIG_RPATH="-R\$libdir"
33386 fi
33387 ;;
33388
33389 *-*-darwin* )
33390 install_name_tool=`which install_name_tool`
33391 if test "$install_name_tool" -a -x "$install_name_tool"; then
33392 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33393 cat <<EOF >change-install-names
33394 #!/bin/sh
33395 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33396 inst_cmd="install_name_tool "
33397 for i in \${libnames} ; do
33398 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33399 done
33400 \${inst_cmd} \${3}
33401 EOF
33402 chmod +x change-install-names
33403 fi
33404 ;;
33405
33406 *-*-cygwin* | *-*-mingw32* )
33407 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33408 ;;
33409
33410 *-*-hpux* )
33411 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33412 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33413 ;;
33414
33415 esac
33416
33417 if test $wxUSE_RPATH = "no"; then
33418 SAMPLES_RPATH_FLAG=''
33419 SAMPLES_RPATH_POSTLINK=''
33420 WXCONFIG_RPATH=''
33421 fi
33422
33423 SHARED=1
33424
33425 else
33426
33427 config_linkage_component="-static"
33428 SHARED=0
33429
33430 fi
33431
33432
33433 UNICODE=0
33434 lib_unicode_suffix=
33435 WX_CHARTYPE="ansi"
33436 if test "$wxUSE_UNICODE" = "yes"; then
33437 lib_unicode_suffix=u
33438 WX_CHARTYPE="unicode"
33439 UNICODE=1
33440 fi
33441
33442 lib_debug_suffix=
33443 WX_DEBUGTYPE="release"
33444 DEBUG_FLAG=0
33445 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33446 lib_debug_suffix=d
33447 WX_DEBUGTYPE="debug"
33448 DEBUG_FLAG=1
33449 fi
33450
33451 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33452 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33453
33454 DEBUG_INFO=0
33455 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33456 DEBUG_INFO=1
33457 fi
33458
33459 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33460
33461 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33462
33463 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33464
33465 if test "$cross_compiling" = "yes"; then
33466 HOST_SUFFIX="-$host_alias"
33467 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33468 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33469 fi
33470
33471 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33472 if test "${TOOLKIT_DIR}" = "os2"; then
33473 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33474 else
33475 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33476 fi
33477
33478
33479
33480 if test "$wxUSE_COCOA" = 1; then
33481
33482
33483 ac_ext=c
33484 ac_cpp='$CPP $CPPFLAGS'
33485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33488
33489 ac_ext=m
33490
33491 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33492 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33493 cat >conftest.$ac_ext <<_ACEOF
33494 /* confdefs.h. */
33495 _ACEOF
33496 cat confdefs.h >>conftest.$ac_ext
33497 cat >>conftest.$ac_ext <<_ACEOF
33498 /* end confdefs.h. */
33499 #include <AppKit/NSEvent.h>
33500 #include <CoreFoundation/CoreFoundation.h>
33501
33502 int
33503 main ()
33504 {
33505
33506 ;
33507 return 0;
33508 }
33509 _ACEOF
33510 rm -f conftest.$ac_objext
33511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33512 (eval $ac_compile) 2>conftest.er1
33513 ac_status=$?
33514 grep -v '^ *+' conftest.er1 >conftest.err
33515 rm -f conftest.er1
33516 cat conftest.err >&5
33517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33518 (exit $ac_status); } &&
33519 { ac_try='test -z "$ac_c_werror_flag"
33520 || test ! -s conftest.err'
33521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33522 (eval $ac_try) 2>&5
33523 ac_status=$?
33524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33525 (exit $ac_status); }; } &&
33526 { ac_try='test -s conftest.$ac_objext'
33527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33528 (eval $ac_try) 2>&5
33529 ac_status=$?
33530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33531 (exit $ac_status); }; }; then
33532 echo "$as_me:$LINENO: result: no" >&5
33533 echo "${ECHO_T}no" >&6
33534 else
33535 echo "$as_me: failed program was:" >&5
33536 sed 's/^/| /' conftest.$ac_ext >&5
33537
33538 echo "$as_me:$LINENO: result: yes" >&5
33539 echo "${ECHO_T}yes" >&6
33540 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33541 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33542 cat >conftest.$ac_ext <<_ACEOF
33543 /* confdefs.h. */
33544 _ACEOF
33545 cat confdefs.h >>conftest.$ac_ext
33546 cat >>conftest.$ac_ext <<_ACEOF
33547 /* end confdefs.h. */
33548 #define __Point__ 1
33549 #include <AppKit/NSEvent.h>
33550 #include <CoreFoundation/CoreFoundation.h>
33551
33552 int
33553 main ()
33554 {
33555
33556 ;
33557 return 0;
33558 }
33559 _ACEOF
33560 rm -f conftest.$ac_objext
33561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33562 (eval $ac_compile) 2>conftest.er1
33563 ac_status=$?
33564 grep -v '^ *+' conftest.er1 >conftest.err
33565 rm -f conftest.er1
33566 cat conftest.err >&5
33567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33568 (exit $ac_status); } &&
33569 { ac_try='test -z "$ac_c_werror_flag"
33570 || test ! -s conftest.err'
33571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33572 (eval $ac_try) 2>&5
33573 ac_status=$?
33574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33575 (exit $ac_status); }; } &&
33576 { ac_try='test -s conftest.$ac_objext'
33577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33578 (eval $ac_try) 2>&5
33579 ac_status=$?
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); }; }; then
33582 echo "$as_me:$LINENO: result: yes" >&5
33583 echo "${ECHO_T}yes" >&6
33584 cat >>confdefs.h <<\_ACEOF
33585 #define __Point__ 1
33586 _ACEOF
33587
33588
33589 else
33590 echo "$as_me: failed program was:" >&5
33591 sed 's/^/| /' conftest.$ac_ext >&5
33592
33593 { { echo "$as_me:$LINENO: error: no
33594 See \`config.log' for more details." >&5
33595 echo "$as_me: error: no
33596 See \`config.log' for more details." >&2;}
33597 { (exit 1); exit 1; }; }
33598
33599 fi
33600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33601
33602 fi
33603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33604 ac_ext=cc
33605 ac_cpp='$CXXCPP $CPPFLAGS'
33606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33609
33610 fi
33611
33612 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33613 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33614 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33615
33616 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33617
33618 # Extract the first word of "Rez", so it can be a program name with args.
33619 set dummy Rez; ac_word=$2
33620 echo "$as_me:$LINENO: checking for $ac_word" >&5
33621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33622 if test "${ac_cv_prog_REZ+set}" = set; then
33623 echo $ECHO_N "(cached) $ECHO_C" >&6
33624 else
33625 if test -n "$REZ"; then
33626 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33627 else
33628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33629 for as_dir in $PATH
33630 do
33631 IFS=$as_save_IFS
33632 test -z "$as_dir" && as_dir=.
33633 for ac_exec_ext in '' $ac_executable_extensions; do
33634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33635 ac_cv_prog_REZ="Rez"
33636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33637 break 2
33638 fi
33639 done
33640 done
33641
33642 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33643 fi
33644 fi
33645 REZ=$ac_cv_prog_REZ
33646 if test -n "$REZ"; then
33647 echo "$as_me:$LINENO: result: $REZ" >&5
33648 echo "${ECHO_T}$REZ" >&6
33649 else
33650 echo "$as_me:$LINENO: result: no" >&5
33651 echo "${ECHO_T}no" >&6
33652 fi
33653
33654 # Extract the first word of "DeRez", so it can be a program name with args.
33655 set dummy DeRez; ac_word=$2
33656 echo "$as_me:$LINENO: checking for $ac_word" >&5
33657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33658 if test "${ac_cv_prog_DEREZ+set}" = set; then
33659 echo $ECHO_N "(cached) $ECHO_C" >&6
33660 else
33661 if test -n "$DEREZ"; then
33662 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33663 else
33664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33665 for as_dir in $PATH
33666 do
33667 IFS=$as_save_IFS
33668 test -z "$as_dir" && as_dir=.
33669 for ac_exec_ext in '' $ac_executable_extensions; do
33670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33671 ac_cv_prog_DEREZ="DeRez"
33672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33673 break 2
33674 fi
33675 done
33676 done
33677
33678 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33679 fi
33680 fi
33681 DEREZ=$ac_cv_prog_DEREZ
33682 if test -n "$DEREZ"; then
33683 echo "$as_me:$LINENO: result: $DEREZ" >&5
33684 echo "${ECHO_T}$DEREZ" >&6
33685 else
33686 echo "$as_me:$LINENO: result: no" >&5
33687 echo "${ECHO_T}no" >&6
33688 fi
33689
33690 # Extract the first word of "SetFile", so it can be a program name with args.
33691 set dummy SetFile; ac_word=$2
33692 echo "$as_me:$LINENO: checking for $ac_word" >&5
33693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33694 if test "${ac_cv_prog_SETFILE+set}" = set; then
33695 echo $ECHO_N "(cached) $ECHO_C" >&6
33696 else
33697 if test -n "$SETFILE"; then
33698 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33699 else
33700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33701 for as_dir in $PATH
33702 do
33703 IFS=$as_save_IFS
33704 test -z "$as_dir" && as_dir=.
33705 for ac_exec_ext in '' $ac_executable_extensions; do
33706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33707 ac_cv_prog_SETFILE="SetFile"
33708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33709 break 2
33710 fi
33711 done
33712 done
33713
33714 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33715 fi
33716 fi
33717 SETFILE=$ac_cv_prog_SETFILE
33718 if test -n "$SETFILE"; then
33719 echo "$as_me:$LINENO: result: $SETFILE" >&5
33720 echo "${ECHO_T}$SETFILE" >&6
33721 else
33722 echo "$as_me:$LINENO: result: no" >&5
33723 echo "${ECHO_T}no" >&6
33724 fi
33725
33726
33727 MACSETFILE="\$(SETFILE)"
33728
33729 if test "$wxUSE_MAC" = 1; then
33730 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33731 RESCOMP="$REZ"
33732 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33733 else
33734 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33735 RESCOMP="echo -n \| $REZ"
33736 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33737 fi
33738
33739 else
33740 MACSETFILE="@true"
33741
33742 if test "$wxUSE_PM" = 1; then
33743 RESCOMP="emxbind"
33744 WXCONFIG_RESFLAGS="-ep"
33745
33746 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33747 else
33748 POSTLINK_COMMAND="@true"
33749 fi
33750
33751 fi
33752
33753
33754
33755 echo "$as_me:$LINENO: checking for mode_t" >&5
33756 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33757 if test "${ac_cv_type_mode_t+set}" = set; then
33758 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 else
33760 cat >conftest.$ac_ext <<_ACEOF
33761 /* confdefs.h. */
33762 _ACEOF
33763 cat confdefs.h >>conftest.$ac_ext
33764 cat >>conftest.$ac_ext <<_ACEOF
33765 /* end confdefs.h. */
33766 $ac_includes_default
33767 int
33768 main ()
33769 {
33770 if ((mode_t *) 0)
33771 return 0;
33772 if (sizeof (mode_t))
33773 return 0;
33774 ;
33775 return 0;
33776 }
33777 _ACEOF
33778 rm -f conftest.$ac_objext
33779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33780 (eval $ac_compile) 2>conftest.er1
33781 ac_status=$?
33782 grep -v '^ *+' conftest.er1 >conftest.err
33783 rm -f conftest.er1
33784 cat conftest.err >&5
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); } &&
33787 { ac_try='test -z "$ac_cxx_werror_flag"
33788 || test ! -s conftest.err'
33789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33790 (eval $ac_try) 2>&5
33791 ac_status=$?
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); }; } &&
33794 { ac_try='test -s conftest.$ac_objext'
33795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796 (eval $ac_try) 2>&5
33797 ac_status=$?
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); }; }; then
33800 ac_cv_type_mode_t=yes
33801 else
33802 echo "$as_me: failed program was:" >&5
33803 sed 's/^/| /' conftest.$ac_ext >&5
33804
33805 ac_cv_type_mode_t=no
33806 fi
33807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33808 fi
33809 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33810 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33811 if test $ac_cv_type_mode_t = yes; then
33812 :
33813 else
33814
33815 cat >>confdefs.h <<_ACEOF
33816 #define mode_t int
33817 _ACEOF
33818
33819 fi
33820
33821 echo "$as_me:$LINENO: checking for off_t" >&5
33822 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33823 if test "${ac_cv_type_off_t+set}" = set; then
33824 echo $ECHO_N "(cached) $ECHO_C" >&6
33825 else
33826 cat >conftest.$ac_ext <<_ACEOF
33827 /* confdefs.h. */
33828 _ACEOF
33829 cat confdefs.h >>conftest.$ac_ext
33830 cat >>conftest.$ac_ext <<_ACEOF
33831 /* end confdefs.h. */
33832 $ac_includes_default
33833 int
33834 main ()
33835 {
33836 if ((off_t *) 0)
33837 return 0;
33838 if (sizeof (off_t))
33839 return 0;
33840 ;
33841 return 0;
33842 }
33843 _ACEOF
33844 rm -f conftest.$ac_objext
33845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33846 (eval $ac_compile) 2>conftest.er1
33847 ac_status=$?
33848 grep -v '^ *+' conftest.er1 >conftest.err
33849 rm -f conftest.er1
33850 cat conftest.err >&5
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); } &&
33853 { ac_try='test -z "$ac_cxx_werror_flag"
33854 || 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 ac_cv_type_off_t=yes
33867 else
33868 echo "$as_me: failed program was:" >&5
33869 sed 's/^/| /' conftest.$ac_ext >&5
33870
33871 ac_cv_type_off_t=no
33872 fi
33873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33874 fi
33875 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33876 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33877 if test $ac_cv_type_off_t = yes; then
33878 :
33879 else
33880
33881 cat >>confdefs.h <<_ACEOF
33882 #define off_t long
33883 _ACEOF
33884
33885 fi
33886
33887 echo "$as_me:$LINENO: checking for pid_t" >&5
33888 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33889 if test "${ac_cv_type_pid_t+set}" = set; then
33890 echo $ECHO_N "(cached) $ECHO_C" >&6
33891 else
33892 cat >conftest.$ac_ext <<_ACEOF
33893 /* confdefs.h. */
33894 _ACEOF
33895 cat confdefs.h >>conftest.$ac_ext
33896 cat >>conftest.$ac_ext <<_ACEOF
33897 /* end confdefs.h. */
33898 $ac_includes_default
33899 int
33900 main ()
33901 {
33902 if ((pid_t *) 0)
33903 return 0;
33904 if (sizeof (pid_t))
33905 return 0;
33906 ;
33907 return 0;
33908 }
33909 _ACEOF
33910 rm -f conftest.$ac_objext
33911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33912 (eval $ac_compile) 2>conftest.er1
33913 ac_status=$?
33914 grep -v '^ *+' conftest.er1 >conftest.err
33915 rm -f conftest.er1
33916 cat conftest.err >&5
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); } &&
33919 { ac_try='test -z "$ac_cxx_werror_flag"
33920 || test ! -s conftest.err'
33921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33922 (eval $ac_try) 2>&5
33923 ac_status=$?
33924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33925 (exit $ac_status); }; } &&
33926 { ac_try='test -s conftest.$ac_objext'
33927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33928 (eval $ac_try) 2>&5
33929 ac_status=$?
33930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33931 (exit $ac_status); }; }; then
33932 ac_cv_type_pid_t=yes
33933 else
33934 echo "$as_me: failed program was:" >&5
33935 sed 's/^/| /' conftest.$ac_ext >&5
33936
33937 ac_cv_type_pid_t=no
33938 fi
33939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33940 fi
33941 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33942 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33943 if test $ac_cv_type_pid_t = yes; then
33944 :
33945 else
33946
33947 cat >>confdefs.h <<_ACEOF
33948 #define pid_t int
33949 _ACEOF
33950
33951 fi
33952
33953 echo "$as_me:$LINENO: checking for size_t" >&5
33954 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33955 if test "${ac_cv_type_size_t+set}" = set; then
33956 echo $ECHO_N "(cached) $ECHO_C" >&6
33957 else
33958 cat >conftest.$ac_ext <<_ACEOF
33959 /* confdefs.h. */
33960 _ACEOF
33961 cat confdefs.h >>conftest.$ac_ext
33962 cat >>conftest.$ac_ext <<_ACEOF
33963 /* end confdefs.h. */
33964 $ac_includes_default
33965 int
33966 main ()
33967 {
33968 if ((size_t *) 0)
33969 return 0;
33970 if (sizeof (size_t))
33971 return 0;
33972 ;
33973 return 0;
33974 }
33975 _ACEOF
33976 rm -f conftest.$ac_objext
33977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33978 (eval $ac_compile) 2>conftest.er1
33979 ac_status=$?
33980 grep -v '^ *+' conftest.er1 >conftest.err
33981 rm -f conftest.er1
33982 cat conftest.err >&5
33983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33984 (exit $ac_status); } &&
33985 { ac_try='test -z "$ac_cxx_werror_flag"
33986 || test ! -s conftest.err'
33987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33988 (eval $ac_try) 2>&5
33989 ac_status=$?
33990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33991 (exit $ac_status); }; } &&
33992 { ac_try='test -s conftest.$ac_objext'
33993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33994 (eval $ac_try) 2>&5
33995 ac_status=$?
33996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33997 (exit $ac_status); }; }; then
33998 ac_cv_type_size_t=yes
33999 else
34000 echo "$as_me: failed program was:" >&5
34001 sed 's/^/| /' conftest.$ac_ext >&5
34002
34003 ac_cv_type_size_t=no
34004 fi
34005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34006 fi
34007 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34008 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34009 if test $ac_cv_type_size_t = yes; then
34010 :
34011 else
34012
34013 cat >>confdefs.h <<_ACEOF
34014 #define size_t unsigned
34015 _ACEOF
34016
34017 fi
34018
34019 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34020 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34021 if test "${ac_cv_type_uid_t+set}" = set; then
34022 echo $ECHO_N "(cached) $ECHO_C" >&6
34023 else
34024 cat >conftest.$ac_ext <<_ACEOF
34025 /* confdefs.h. */
34026 _ACEOF
34027 cat confdefs.h >>conftest.$ac_ext
34028 cat >>conftest.$ac_ext <<_ACEOF
34029 /* end confdefs.h. */
34030 #include <sys/types.h>
34031
34032 _ACEOF
34033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34034 $EGREP "uid_t" >/dev/null 2>&1; then
34035 ac_cv_type_uid_t=yes
34036 else
34037 ac_cv_type_uid_t=no
34038 fi
34039 rm -f conftest*
34040
34041 fi
34042 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34043 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34044 if test $ac_cv_type_uid_t = no; then
34045
34046 cat >>confdefs.h <<\_ACEOF
34047 #define uid_t int
34048 _ACEOF
34049
34050
34051 cat >>confdefs.h <<\_ACEOF
34052 #define gid_t int
34053 _ACEOF
34054
34055 fi
34056
34057
34058 echo "$as_me:$LINENO: checking for ssize_t" >&5
34059 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34060 if test "${ac_cv_type_ssize_t+set}" = set; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34062 else
34063 cat >conftest.$ac_ext <<_ACEOF
34064 /* confdefs.h. */
34065 _ACEOF
34066 cat confdefs.h >>conftest.$ac_ext
34067 cat >>conftest.$ac_ext <<_ACEOF
34068 /* end confdefs.h. */
34069 $ac_includes_default
34070 int
34071 main ()
34072 {
34073 if ((ssize_t *) 0)
34074 return 0;
34075 if (sizeof (ssize_t))
34076 return 0;
34077 ;
34078 return 0;
34079 }
34080 _ACEOF
34081 rm -f conftest.$ac_objext
34082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34083 (eval $ac_compile) 2>conftest.er1
34084 ac_status=$?
34085 grep -v '^ *+' conftest.er1 >conftest.err
34086 rm -f conftest.er1
34087 cat conftest.err >&5
34088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34089 (exit $ac_status); } &&
34090 { ac_try='test -z "$ac_cxx_werror_flag"
34091 || test ! -s conftest.err'
34092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34093 (eval $ac_try) 2>&5
34094 ac_status=$?
34095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34096 (exit $ac_status); }; } &&
34097 { ac_try='test -s conftest.$ac_objext'
34098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34099 (eval $ac_try) 2>&5
34100 ac_status=$?
34101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34102 (exit $ac_status); }; }; then
34103 ac_cv_type_ssize_t=yes
34104 else
34105 echo "$as_me: failed program was:" >&5
34106 sed 's/^/| /' conftest.$ac_ext >&5
34107
34108 ac_cv_type_ssize_t=no
34109 fi
34110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34111 fi
34112 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34113 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34114 if test $ac_cv_type_ssize_t = yes; then
34115
34116 cat >>confdefs.h <<_ACEOF
34117 #define HAVE_SSIZE_T 1
34118 _ACEOF
34119
34120
34121 fi
34122
34123
34124 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34125 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34126 if test "${wx_cv_size_t_is_uint+set}" = set; then
34127 echo $ECHO_N "(cached) $ECHO_C" >&6
34128 else
34129
34130 cat >conftest.$ac_ext <<_ACEOF
34131 /* confdefs.h. */
34132 _ACEOF
34133 cat confdefs.h >>conftest.$ac_ext
34134 cat >>conftest.$ac_ext <<_ACEOF
34135 /* end confdefs.h. */
34136 #include <stddef.h>
34137 int
34138 main ()
34139 {
34140
34141 return 0; }
34142
34143 struct Foo { void foo(size_t); void foo(unsigned int); };
34144
34145 int bar() {
34146
34147 ;
34148 return 0;
34149 }
34150 _ACEOF
34151 rm -f conftest.$ac_objext
34152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34153 (eval $ac_compile) 2>conftest.er1
34154 ac_status=$?
34155 grep -v '^ *+' conftest.er1 >conftest.err
34156 rm -f conftest.er1
34157 cat conftest.err >&5
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); } &&
34160 { ac_try='test -z "$ac_cxx_werror_flag"
34161 || test ! -s conftest.err'
34162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34163 (eval $ac_try) 2>&5
34164 ac_status=$?
34165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34166 (exit $ac_status); }; } &&
34167 { ac_try='test -s conftest.$ac_objext'
34168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34169 (eval $ac_try) 2>&5
34170 ac_status=$?
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); }; }; then
34173 wx_cv_size_t_is_uint=no
34174 else
34175 echo "$as_me: failed program was:" >&5
34176 sed 's/^/| /' conftest.$ac_ext >&5
34177
34178 wx_cv_size_t_is_uint=yes
34179
34180 fi
34181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34182
34183
34184 fi
34185 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34186 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34187
34188 if test "$wx_cv_size_t_is_uint" = "yes"; then
34189 cat >>confdefs.h <<\_ACEOF
34190 #define wxSIZE_T_IS_UINT 1
34191 _ACEOF
34192
34193 else
34194 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34195 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34196 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34197 echo $ECHO_N "(cached) $ECHO_C" >&6
34198 else
34199 cat >conftest.$ac_ext <<_ACEOF
34200 /* confdefs.h. */
34201 _ACEOF
34202 cat confdefs.h >>conftest.$ac_ext
34203 cat >>conftest.$ac_ext <<_ACEOF
34204 /* end confdefs.h. */
34205 #include <stddef.h>
34206 int
34207 main ()
34208 {
34209
34210 return 0; }
34211
34212 struct Foo { void foo(size_t); void foo(unsigned long); };
34213
34214 int bar() {
34215
34216 ;
34217 return 0;
34218 }
34219 _ACEOF
34220 rm -f conftest.$ac_objext
34221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34222 (eval $ac_compile) 2>conftest.er1
34223 ac_status=$?
34224 grep -v '^ *+' conftest.er1 >conftest.err
34225 rm -f conftest.er1
34226 cat conftest.err >&5
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); } &&
34229 { ac_try='test -z "$ac_cxx_werror_flag"
34230 || test ! -s conftest.err'
34231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232 (eval $ac_try) 2>&5
34233 ac_status=$?
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); }; } &&
34236 { ac_try='test -s conftest.$ac_objext'
34237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238 (eval $ac_try) 2>&5
34239 ac_status=$?
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); }; }; then
34242 wx_cv_size_t_is_ulong=no
34243 else
34244 echo "$as_me: failed program was:" >&5
34245 sed 's/^/| /' conftest.$ac_ext >&5
34246
34247 wx_cv_size_t_is_ulong=yes
34248
34249 fi
34250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34251
34252 fi
34253 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34254 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34255
34256 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34257 cat >>confdefs.h <<\_ACEOF
34258 #define wxSIZE_T_IS_ULONG 1
34259 _ACEOF
34260
34261 fi
34262 fi
34263
34264
34265 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34266 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34267 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34268 echo $ECHO_N "(cached) $ECHO_C" >&6
34269 else
34270
34271 cat >conftest.$ac_ext <<_ACEOF
34272 /* confdefs.h. */
34273 _ACEOF
34274 cat confdefs.h >>conftest.$ac_ext
34275 cat >>conftest.$ac_ext <<_ACEOF
34276 /* end confdefs.h. */
34277 #include <pwd.h>
34278 int
34279 main ()
34280 {
34281
34282 char *p;
34283 struct passwd *pw;
34284 p = pw->pw_gecos;
34285
34286 ;
34287 return 0;
34288 }
34289 _ACEOF
34290 rm -f conftest.$ac_objext
34291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34292 (eval $ac_compile) 2>conftest.er1
34293 ac_status=$?
34294 grep -v '^ *+' conftest.er1 >conftest.err
34295 rm -f conftest.er1
34296 cat conftest.err >&5
34297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298 (exit $ac_status); } &&
34299 { ac_try='test -z "$ac_cxx_werror_flag"
34300 || test ! -s conftest.err'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34303 ac_status=$?
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; } &&
34306 { ac_try='test -s conftest.$ac_objext'
34307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308 (eval $ac_try) 2>&5
34309 ac_status=$?
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); }; }; then
34312
34313 wx_cv_struct_pw_gecos=yes
34314
34315 else
34316 echo "$as_me: failed program was:" >&5
34317 sed 's/^/| /' conftest.$ac_ext >&5
34318
34319
34320 wx_cv_struct_pw_gecos=no
34321
34322
34323 fi
34324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34325
34326
34327 fi
34328 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34329 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34330
34331 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34332 cat >>confdefs.h <<\_ACEOF
34333 #define HAVE_PW_GECOS 1
34334 _ACEOF
34335
34336 fi
34337
34338
34339 if test "$wxUSE_WCHAR_T" = "yes"; then
34340 cat >>confdefs.h <<\_ACEOF
34341 #define wxUSE_WCHAR_T 1
34342 _ACEOF
34343
34344
34345 WCSLEN_FOUND=0
34346 WCHAR_LINK=
34347
34348 for ac_func in wcslen
34349 do
34350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34351 echo "$as_me:$LINENO: checking for $ac_func" >&5
34352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34353 if eval "test \"\${$as_ac_var+set}\" = set"; then
34354 echo $ECHO_N "(cached) $ECHO_C" >&6
34355 else
34356 cat >conftest.$ac_ext <<_ACEOF
34357 /* confdefs.h. */
34358 _ACEOF
34359 cat confdefs.h >>conftest.$ac_ext
34360 cat >>conftest.$ac_ext <<_ACEOF
34361 /* end confdefs.h. */
34362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34364 #define $ac_func innocuous_$ac_func
34365
34366 /* System header to define __stub macros and hopefully few prototypes,
34367 which can conflict with char $ac_func (); below.
34368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34369 <limits.h> exists even on freestanding compilers. */
34370
34371 #ifdef __STDC__
34372 # include <limits.h>
34373 #else
34374 # include <assert.h>
34375 #endif
34376
34377 #undef $ac_func
34378
34379 /* Override any gcc2 internal prototype to avoid an error. */
34380 #ifdef __cplusplus
34381 extern "C"
34382 {
34383 #endif
34384 /* We use char because int might match the return type of a gcc2
34385 builtin and then its argument prototype would still apply. */
34386 char $ac_func ();
34387 /* The GNU C library defines this for functions which it implements
34388 to always fail with ENOSYS. Some functions are actually named
34389 something starting with __ and the normal name is an alias. */
34390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34391 choke me
34392 #else
34393 char (*f) () = $ac_func;
34394 #endif
34395 #ifdef __cplusplus
34396 }
34397 #endif
34398
34399 int
34400 main ()
34401 {
34402 return f != $ac_func;
34403 ;
34404 return 0;
34405 }
34406 _ACEOF
34407 rm -f conftest.$ac_objext conftest$ac_exeext
34408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34409 (eval $ac_link) 2>conftest.er1
34410 ac_status=$?
34411 grep -v '^ *+' conftest.er1 >conftest.err
34412 rm -f conftest.er1
34413 cat conftest.err >&5
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); } &&
34416 { ac_try='test -z "$ac_cxx_werror_flag"
34417 || test ! -s conftest.err'
34418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34419 (eval $ac_try) 2>&5
34420 ac_status=$?
34421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34422 (exit $ac_status); }; } &&
34423 { ac_try='test -s conftest$ac_exeext'
34424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34425 (eval $ac_try) 2>&5
34426 ac_status=$?
34427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34428 (exit $ac_status); }; }; then
34429 eval "$as_ac_var=yes"
34430 else
34431 echo "$as_me: failed program was:" >&5
34432 sed 's/^/| /' conftest.$ac_ext >&5
34433
34434 eval "$as_ac_var=no"
34435 fi
34436 rm -f conftest.err conftest.$ac_objext \
34437 conftest$ac_exeext conftest.$ac_ext
34438 fi
34439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34441 if test `eval echo '${'$as_ac_var'}'` = yes; then
34442 cat >>confdefs.h <<_ACEOF
34443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34444 _ACEOF
34445 WCSLEN_FOUND=1
34446 fi
34447 done
34448
34449
34450 if test "$WCSLEN_FOUND" = 0; then
34451 if test "$TOOLKIT" = "MSW"; then
34452 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34453 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34454 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34455 echo $ECHO_N "(cached) $ECHO_C" >&6
34456 else
34457 ac_check_lib_save_LIBS=$LIBS
34458 LIBS="-lmsvcrt $LIBS"
34459 cat >conftest.$ac_ext <<_ACEOF
34460 /* confdefs.h. */
34461 _ACEOF
34462 cat confdefs.h >>conftest.$ac_ext
34463 cat >>conftest.$ac_ext <<_ACEOF
34464 /* end confdefs.h. */
34465
34466 /* Override any gcc2 internal prototype to avoid an error. */
34467 #ifdef __cplusplus
34468 extern "C"
34469 #endif
34470 /* We use char because int might match the return type of a gcc2
34471 builtin and then its argument prototype would still apply. */
34472 char wcslen ();
34473 int
34474 main ()
34475 {
34476 wcslen ();
34477 ;
34478 return 0;
34479 }
34480 _ACEOF
34481 rm -f conftest.$ac_objext conftest$ac_exeext
34482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34483 (eval $ac_link) 2>conftest.er1
34484 ac_status=$?
34485 grep -v '^ *+' conftest.er1 >conftest.err
34486 rm -f conftest.er1
34487 cat conftest.err >&5
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); } &&
34490 { ac_try='test -z "$ac_cxx_werror_flag"
34491 || test ! -s conftest.err'
34492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34493 (eval $ac_try) 2>&5
34494 ac_status=$?
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); }; } &&
34497 { ac_try='test -s conftest$ac_exeext'
34498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34499 (eval $ac_try) 2>&5
34500 ac_status=$?
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); }; }; then
34503 ac_cv_lib_msvcrt_wcslen=yes
34504 else
34505 echo "$as_me: failed program was:" >&5
34506 sed 's/^/| /' conftest.$ac_ext >&5
34507
34508 ac_cv_lib_msvcrt_wcslen=no
34509 fi
34510 rm -f conftest.err conftest.$ac_objext \
34511 conftest$ac_exeext conftest.$ac_ext
34512 LIBS=$ac_check_lib_save_LIBS
34513 fi
34514 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34515 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34516 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34517 WCHAR_OK=1
34518 fi
34519
34520 else
34521 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34522 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34523 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34524 echo $ECHO_N "(cached) $ECHO_C" >&6
34525 else
34526 ac_check_lib_save_LIBS=$LIBS
34527 LIBS="-lw $LIBS"
34528 cat >conftest.$ac_ext <<_ACEOF
34529 /* confdefs.h. */
34530 _ACEOF
34531 cat confdefs.h >>conftest.$ac_ext
34532 cat >>conftest.$ac_ext <<_ACEOF
34533 /* end confdefs.h. */
34534
34535 /* Override any gcc2 internal prototype to avoid an error. */
34536 #ifdef __cplusplus
34537 extern "C"
34538 #endif
34539 /* We use char because int might match the return type of a gcc2
34540 builtin and then its argument prototype would still apply. */
34541 char wcslen ();
34542 int
34543 main ()
34544 {
34545 wcslen ();
34546 ;
34547 return 0;
34548 }
34549 _ACEOF
34550 rm -f conftest.$ac_objext conftest$ac_exeext
34551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34552 (eval $ac_link) 2>conftest.er1
34553 ac_status=$?
34554 grep -v '^ *+' conftest.er1 >conftest.err
34555 rm -f conftest.er1
34556 cat conftest.err >&5
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); } &&
34559 { ac_try='test -z "$ac_cxx_werror_flag"
34560 || test ! -s conftest.err'
34561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34562 (eval $ac_try) 2>&5
34563 ac_status=$?
34564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34565 (exit $ac_status); }; } &&
34566 { ac_try='test -s conftest$ac_exeext'
34567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34568 (eval $ac_try) 2>&5
34569 ac_status=$?
34570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34571 (exit $ac_status); }; }; then
34572 ac_cv_lib_w_wcslen=yes
34573 else
34574 echo "$as_me: failed program was:" >&5
34575 sed 's/^/| /' conftest.$ac_ext >&5
34576
34577 ac_cv_lib_w_wcslen=no
34578 fi
34579 rm -f conftest.err conftest.$ac_objext \
34580 conftest$ac_exeext conftest.$ac_ext
34581 LIBS=$ac_check_lib_save_LIBS
34582 fi
34583 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34584 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34585 if test $ac_cv_lib_w_wcslen = yes; then
34586
34587 WCHAR_LINK=" -lw"
34588 WCSLEN_FOUND=1
34589
34590 fi
34591
34592 fi
34593 fi
34594
34595 if test "$WCSLEN_FOUND" = 1; then
34596 cat >>confdefs.h <<\_ACEOF
34597 #define HAVE_WCSLEN 1
34598 _ACEOF
34599
34600 fi
34601
34602 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34603 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34604 fi
34605
34606 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34607 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34608 if test "${ac_cv_type_mbstate_t+set}" = set; then
34609 echo $ECHO_N "(cached) $ECHO_C" >&6
34610 else
34611 cat >conftest.$ac_ext <<_ACEOF
34612 /* confdefs.h. */
34613 _ACEOF
34614 cat confdefs.h >>conftest.$ac_ext
34615 cat >>conftest.$ac_ext <<_ACEOF
34616 /* end confdefs.h. */
34617 #include <wchar.h>
34618
34619 int
34620 main ()
34621 {
34622 if ((mbstate_t *) 0)
34623 return 0;
34624 if (sizeof (mbstate_t))
34625 return 0;
34626 ;
34627 return 0;
34628 }
34629 _ACEOF
34630 rm -f conftest.$ac_objext
34631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34632 (eval $ac_compile) 2>conftest.er1
34633 ac_status=$?
34634 grep -v '^ *+' conftest.er1 >conftest.err
34635 rm -f conftest.er1
34636 cat conftest.err >&5
34637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34638 (exit $ac_status); } &&
34639 { ac_try='test -z "$ac_cxx_werror_flag"
34640 || test ! -s conftest.err'
34641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34642 (eval $ac_try) 2>&5
34643 ac_status=$?
34644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34645 (exit $ac_status); }; } &&
34646 { ac_try='test -s conftest.$ac_objext'
34647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34648 (eval $ac_try) 2>&5
34649 ac_status=$?
34650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34651 (exit $ac_status); }; }; then
34652 ac_cv_type_mbstate_t=yes
34653 else
34654 echo "$as_me: failed program was:" >&5
34655 sed 's/^/| /' conftest.$ac_ext >&5
34656
34657 ac_cv_type_mbstate_t=no
34658 fi
34659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34660 fi
34661 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34662 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34663 if test $ac_cv_type_mbstate_t = yes; then
34664
34665 cat >>confdefs.h <<_ACEOF
34666 #define HAVE_MBSTATE_T 1
34667 _ACEOF
34668
34669
34670 for ac_func in wcsrtombs
34671 do
34672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34673 echo "$as_me:$LINENO: checking for $ac_func" >&5
34674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34675 if eval "test \"\${$as_ac_var+set}\" = set"; then
34676 echo $ECHO_N "(cached) $ECHO_C" >&6
34677 else
34678 cat >conftest.$ac_ext <<_ACEOF
34679 /* confdefs.h. */
34680 _ACEOF
34681 cat confdefs.h >>conftest.$ac_ext
34682 cat >>conftest.$ac_ext <<_ACEOF
34683 /* end confdefs.h. */
34684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34686 #define $ac_func innocuous_$ac_func
34687
34688 /* System header to define __stub macros and hopefully few prototypes,
34689 which can conflict with char $ac_func (); below.
34690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34691 <limits.h> exists even on freestanding compilers. */
34692
34693 #ifdef __STDC__
34694 # include <limits.h>
34695 #else
34696 # include <assert.h>
34697 #endif
34698
34699 #undef $ac_func
34700
34701 /* Override any gcc2 internal prototype to avoid an error. */
34702 #ifdef __cplusplus
34703 extern "C"
34704 {
34705 #endif
34706 /* We use char because int might match the return type of a gcc2
34707 builtin and then its argument prototype would still apply. */
34708 char $ac_func ();
34709 /* The GNU C library defines this for functions which it implements
34710 to always fail with ENOSYS. Some functions are actually named
34711 something starting with __ and the normal name is an alias. */
34712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34713 choke me
34714 #else
34715 char (*f) () = $ac_func;
34716 #endif
34717 #ifdef __cplusplus
34718 }
34719 #endif
34720
34721 int
34722 main ()
34723 {
34724 return f != $ac_func;
34725 ;
34726 return 0;
34727 }
34728 _ACEOF
34729 rm -f conftest.$ac_objext conftest$ac_exeext
34730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34731 (eval $ac_link) 2>conftest.er1
34732 ac_status=$?
34733 grep -v '^ *+' conftest.er1 >conftest.err
34734 rm -f conftest.er1
34735 cat conftest.err >&5
34736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34737 (exit $ac_status); } &&
34738 { ac_try='test -z "$ac_cxx_werror_flag"
34739 || test ! -s conftest.err'
34740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34741 (eval $ac_try) 2>&5
34742 ac_status=$?
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); }; } &&
34745 { ac_try='test -s conftest$ac_exeext'
34746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34747 (eval $ac_try) 2>&5
34748 ac_status=$?
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); }; }; then
34751 eval "$as_ac_var=yes"
34752 else
34753 echo "$as_me: failed program was:" >&5
34754 sed 's/^/| /' conftest.$ac_ext >&5
34755
34756 eval "$as_ac_var=no"
34757 fi
34758 rm -f conftest.err conftest.$ac_objext \
34759 conftest$ac_exeext conftest.$ac_ext
34760 fi
34761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34763 if test `eval echo '${'$as_ac_var'}'` = yes; then
34764 cat >>confdefs.h <<_ACEOF
34765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34766 _ACEOF
34767
34768 fi
34769 done
34770
34771 fi
34772
34773 else
34774 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34775 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34776 fi
34777
34778
34779
34780 for ac_func in snprintf vsnprintf
34781 do
34782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34783 echo "$as_me:$LINENO: checking for $ac_func" >&5
34784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34785 if eval "test \"\${$as_ac_var+set}\" = set"; then
34786 echo $ECHO_N "(cached) $ECHO_C" >&6
34787 else
34788 cat >conftest.$ac_ext <<_ACEOF
34789 /* confdefs.h. */
34790 _ACEOF
34791 cat confdefs.h >>conftest.$ac_ext
34792 cat >>conftest.$ac_ext <<_ACEOF
34793 /* end confdefs.h. */
34794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34796 #define $ac_func innocuous_$ac_func
34797
34798 /* System header to define __stub macros and hopefully few prototypes,
34799 which can conflict with char $ac_func (); below.
34800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34801 <limits.h> exists even on freestanding compilers. */
34802
34803 #ifdef __STDC__
34804 # include <limits.h>
34805 #else
34806 # include <assert.h>
34807 #endif
34808
34809 #undef $ac_func
34810
34811 /* Override any gcc2 internal prototype to avoid an error. */
34812 #ifdef __cplusplus
34813 extern "C"
34814 {
34815 #endif
34816 /* We use char because int might match the return type of a gcc2
34817 builtin and then its argument prototype would still apply. */
34818 char $ac_func ();
34819 /* The GNU C library defines this for functions which it implements
34820 to always fail with ENOSYS. Some functions are actually named
34821 something starting with __ and the normal name is an alias. */
34822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34823 choke me
34824 #else
34825 char (*f) () = $ac_func;
34826 #endif
34827 #ifdef __cplusplus
34828 }
34829 #endif
34830
34831 int
34832 main ()
34833 {
34834 return f != $ac_func;
34835 ;
34836 return 0;
34837 }
34838 _ACEOF
34839 rm -f conftest.$ac_objext conftest$ac_exeext
34840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34841 (eval $ac_link) 2>conftest.er1
34842 ac_status=$?
34843 grep -v '^ *+' conftest.er1 >conftest.err
34844 rm -f conftest.er1
34845 cat conftest.err >&5
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); } &&
34848 { ac_try='test -z "$ac_cxx_werror_flag"
34849 || test ! -s conftest.err'
34850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34851 (eval $ac_try) 2>&5
34852 ac_status=$?
34853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34854 (exit $ac_status); }; } &&
34855 { ac_try='test -s conftest$ac_exeext'
34856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34857 (eval $ac_try) 2>&5
34858 ac_status=$?
34859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34860 (exit $ac_status); }; }; then
34861 eval "$as_ac_var=yes"
34862 else
34863 echo "$as_me: failed program was:" >&5
34864 sed 's/^/| /' conftest.$ac_ext >&5
34865
34866 eval "$as_ac_var=no"
34867 fi
34868 rm -f conftest.err conftest.$ac_objext \
34869 conftest$ac_exeext conftest.$ac_ext
34870 fi
34871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34873 if test `eval echo '${'$as_ac_var'}'` = yes; then
34874 cat >>confdefs.h <<_ACEOF
34875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34876 _ACEOF
34877
34878 fi
34879 done
34880
34881
34882 if test "$ac_cv_func_vsnprintf" = "yes"; then
34883 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34884 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34885 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34886 echo $ECHO_N "(cached) $ECHO_C" >&6
34887 else
34888
34889 cat >conftest.$ac_ext <<_ACEOF
34890 /* confdefs.h. */
34891 _ACEOF
34892 cat confdefs.h >>conftest.$ac_ext
34893 cat >>conftest.$ac_ext <<_ACEOF
34894 /* end confdefs.h. */
34895
34896 #include <stdio.h>
34897 #include <stdarg.h>
34898 #ifdef __MSL__
34899 #if __MSL__ >= 0x6000
34900 namespace std {}
34901 using namespace std;
34902 #endif
34903 #endif
34904
34905 int
34906 main ()
34907 {
34908
34909 char *buf;
34910 va_list ap;
34911 vsnprintf(buf, 10u, "%s", ap);
34912
34913 ;
34914 return 0;
34915 }
34916 _ACEOF
34917 rm -f conftest.$ac_objext
34918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34919 (eval $ac_compile) 2>conftest.er1
34920 ac_status=$?
34921 grep -v '^ *+' conftest.er1 >conftest.err
34922 rm -f conftest.er1
34923 cat conftest.err >&5
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); } &&
34926 { ac_try='test -z "$ac_cxx_werror_flag"
34927 || test ! -s conftest.err'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34930 ac_status=$?
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; } &&
34933 { ac_try='test -s conftest.$ac_objext'
34934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34935 (eval $ac_try) 2>&5
34936 ac_status=$?
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); }; }; then
34939 wx_cv_func_vsnprintf_decl=yes
34940 else
34941 echo "$as_me: failed program was:" >&5
34942 sed 's/^/| /' conftest.$ac_ext >&5
34943
34944 wx_cv_func_vsnprintf_decl=no
34945
34946 fi
34947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34948
34949
34950 fi
34951 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34952 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34953
34954 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34955 cat >>confdefs.h <<\_ACEOF
34956 #define HAVE_VSNPRINTF_DECL 1
34957 _ACEOF
34958
34959
34960 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34961 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34962 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34963 echo $ECHO_N "(cached) $ECHO_C" >&6
34964 else
34965
34966 cat >conftest.$ac_ext <<_ACEOF
34967 /* confdefs.h. */
34968 _ACEOF
34969 cat confdefs.h >>conftest.$ac_ext
34970 cat >>conftest.$ac_ext <<_ACEOF
34971 /* end confdefs.h. */
34972
34973 #include <stdio.h>
34974 #include <stdarg.h>
34975 #ifdef __MSL__
34976 #if __MSL__ >= 0x6000
34977 namespace std {}
34978 using namespace std;
34979 #endif
34980 #endif
34981
34982 int
34983 main ()
34984 {
34985
34986 char *buf;
34987 va_list ap;
34988 const char *fmt = "%s";
34989 vsnprintf(buf, 10u, fmt, ap);
34990
34991 ;
34992 return 0;
34993 }
34994 _ACEOF
34995 rm -f conftest.$ac_objext
34996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34997 (eval $ac_compile) 2>conftest.er1
34998 ac_status=$?
34999 grep -v '^ *+' conftest.er1 >conftest.err
35000 rm -f conftest.er1
35001 cat conftest.err >&5
35002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35003 (exit $ac_status); } &&
35004 { ac_try='test -z "$ac_cxx_werror_flag"
35005 || test ! -s conftest.err'
35006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35007 (eval $ac_try) 2>&5
35008 ac_status=$?
35009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35010 (exit $ac_status); }; } &&
35011 { ac_try='test -s conftest.$ac_objext'
35012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35013 (eval $ac_try) 2>&5
35014 ac_status=$?
35015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35016 (exit $ac_status); }; }; then
35017 wx_cv_func_broken_vsnprintf_decl=no
35018 else
35019 echo "$as_me: failed program was:" >&5
35020 sed 's/^/| /' conftest.$ac_ext >&5
35021
35022 wx_cv_func_broken_vsnprintf_decl=yes
35023
35024 fi
35025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35026
35027
35028 fi
35029 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35030 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35031
35032 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35033 cat >>confdefs.h <<\_ACEOF
35034 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35035 _ACEOF
35036
35037 fi
35038 fi
35039 fi
35040
35041 if test "$ac_cv_func_snprintf" = "yes"; then
35042 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35043 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35044 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35045 echo $ECHO_N "(cached) $ECHO_C" >&6
35046 else
35047
35048 cat >conftest.$ac_ext <<_ACEOF
35049 /* confdefs.h. */
35050 _ACEOF
35051 cat confdefs.h >>conftest.$ac_ext
35052 cat >>conftest.$ac_ext <<_ACEOF
35053 /* end confdefs.h. */
35054
35055 #include <stdio.h>
35056 #include <stdarg.h>
35057 #ifdef __MSL__
35058 #if __MSL__ >= 0x6000
35059 namespace std {}
35060 using namespace std;
35061 #endif
35062 #endif
35063
35064 int
35065 main ()
35066 {
35067
35068 char *buf;
35069 snprintf(buf, 10u, "%s", "wx");
35070
35071 ;
35072 return 0;
35073 }
35074 _ACEOF
35075 rm -f conftest.$ac_objext
35076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35077 (eval $ac_compile) 2>conftest.er1
35078 ac_status=$?
35079 grep -v '^ *+' conftest.er1 >conftest.err
35080 rm -f conftest.er1
35081 cat conftest.err >&5
35082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35083 (exit $ac_status); } &&
35084 { ac_try='test -z "$ac_cxx_werror_flag"
35085 || test ! -s conftest.err'
35086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35087 (eval $ac_try) 2>&5
35088 ac_status=$?
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); }; } &&
35091 { ac_try='test -s conftest.$ac_objext'
35092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35093 (eval $ac_try) 2>&5
35094 ac_status=$?
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); }; }; then
35097 wx_cv_func_snprintf_decl=yes
35098 else
35099 echo "$as_me: failed program was:" >&5
35100 sed 's/^/| /' conftest.$ac_ext >&5
35101
35102 wx_cv_func_snprintf_decl=no
35103
35104 fi
35105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35106
35107
35108 fi
35109 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35110 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35111
35112 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35113 cat >>confdefs.h <<\_ACEOF
35114 #define HAVE_SNPRINTF_DECL 1
35115 _ACEOF
35116
35117
35118 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35119 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35120 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35121 echo $ECHO_N "(cached) $ECHO_C" >&6
35122 else
35123
35124 cat >conftest.$ac_ext <<_ACEOF
35125 /* confdefs.h. */
35126 _ACEOF
35127 cat confdefs.h >>conftest.$ac_ext
35128 cat >>conftest.$ac_ext <<_ACEOF
35129 /* end confdefs.h. */
35130
35131 #include <stdio.h>
35132 #include <stdarg.h>
35133 #ifdef __MSL__
35134 #if __MSL__ >= 0x6000
35135 namespace std {}
35136 using namespace std;
35137 #endif
35138 #endif
35139
35140 int
35141 main ()
35142 {
35143
35144 char *buf;
35145 const char *fmt = "%s";
35146 snprintf(buf, 10u, fmt, "wx");
35147
35148 ;
35149 return 0;
35150 }
35151 _ACEOF
35152 rm -f conftest.$ac_objext
35153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35154 (eval $ac_compile) 2>conftest.er1
35155 ac_status=$?
35156 grep -v '^ *+' conftest.er1 >conftest.err
35157 rm -f conftest.er1
35158 cat conftest.err >&5
35159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35160 (exit $ac_status); } &&
35161 { ac_try='test -z "$ac_cxx_werror_flag"
35162 || test ! -s conftest.err'
35163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35164 (eval $ac_try) 2>&5
35165 ac_status=$?
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); }; } &&
35168 { ac_try='test -s conftest.$ac_objext'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35171 ac_status=$?
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; }; then
35174 wx_cv_func_broken_snprintf_decl=no
35175 else
35176 echo "$as_me: failed program was:" >&5
35177 sed 's/^/| /' conftest.$ac_ext >&5
35178
35179 wx_cv_func_broken_snprintf_decl=yes
35180
35181 fi
35182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35183
35184
35185 fi
35186 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35187 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35188
35189 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35190 cat >>confdefs.h <<\_ACEOF
35191 #define HAVE_BROKEN_SNPRINTF_DECL 1
35192 _ACEOF
35193
35194 fi
35195 fi
35196
35197 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35198
35199 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35200 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35201 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35202 echo $ECHO_N "(cached) $ECHO_C" >&6
35203 else
35204
35205 if test "$cross_compiling" = yes; then
35206
35207 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35208 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35209 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35210 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35211 wx_cv_func_snprintf_pos_params=no
35212
35213
35214 else
35215 cat >conftest.$ac_ext <<_ACEOF
35216 /* confdefs.h. */
35217 _ACEOF
35218 cat confdefs.h >>conftest.$ac_ext
35219 cat >>conftest.$ac_ext <<_ACEOF
35220 /* end confdefs.h. */
35221
35222 #include <stdio.h>
35223
35224 int main (void)
35225 {
35226 char buffer[128];
35227 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35228 if (strcmp ("2 3 1", buffer) == 0)
35229 exit (0);
35230 exit (1);
35231 }
35232
35233 _ACEOF
35234 rm -f conftest$ac_exeext
35235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35236 (eval $ac_link) 2>&5
35237 ac_status=$?
35238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35239 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35241 (eval $ac_try) 2>&5
35242 ac_status=$?
35243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35244 (exit $ac_status); }; }; then
35245 wx_cv_func_snprintf_pos_params=no
35246 else
35247 echo "$as_me: program exited with status $ac_status" >&5
35248 echo "$as_me: failed program was:" >&5
35249 sed 's/^/| /' conftest.$ac_ext >&5
35250
35251 ( exit $ac_status )
35252 wx_cv_func_snprintf_pos_params=yes
35253 fi
35254 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35255 fi
35256
35257
35258 fi
35259 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35260 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35261
35262 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35263 cat >>confdefs.h <<\_ACEOF
35264 #define HAVE_UNIX98_PRINTF 1
35265 _ACEOF
35266
35267 fi
35268 fi
35269 fi
35270
35271 if test "$wxUSE_UNICODE" = yes; then
35272
35273
35274 for ac_func in swprintf
35275 do
35276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35277 echo "$as_me:$LINENO: checking for $ac_func" >&5
35278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35279 if eval "test \"\${$as_ac_var+set}\" = set"; then
35280 echo $ECHO_N "(cached) $ECHO_C" >&6
35281 else
35282 cat >conftest.$ac_ext <<_ACEOF
35283 /* confdefs.h. */
35284 _ACEOF
35285 cat confdefs.h >>conftest.$ac_ext
35286 cat >>conftest.$ac_ext <<_ACEOF
35287 /* end confdefs.h. */
35288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35290 #define $ac_func innocuous_$ac_func
35291
35292 /* System header to define __stub macros and hopefully few prototypes,
35293 which can conflict with char $ac_func (); below.
35294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35295 <limits.h> exists even on freestanding compilers. */
35296
35297 #ifdef __STDC__
35298 # include <limits.h>
35299 #else
35300 # include <assert.h>
35301 #endif
35302
35303 #undef $ac_func
35304
35305 /* Override any gcc2 internal prototype to avoid an error. */
35306 #ifdef __cplusplus
35307 extern "C"
35308 {
35309 #endif
35310 /* We use char because int might match the return type of a gcc2
35311 builtin and then its argument prototype would still apply. */
35312 char $ac_func ();
35313 /* The GNU C library defines this for functions which it implements
35314 to always fail with ENOSYS. Some functions are actually named
35315 something starting with __ and the normal name is an alias. */
35316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35317 choke me
35318 #else
35319 char (*f) () = $ac_func;
35320 #endif
35321 #ifdef __cplusplus
35322 }
35323 #endif
35324
35325 int
35326 main ()
35327 {
35328 return f != $ac_func;
35329 ;
35330 return 0;
35331 }
35332 _ACEOF
35333 rm -f conftest.$ac_objext conftest$ac_exeext
35334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35335 (eval $ac_link) 2>conftest.er1
35336 ac_status=$?
35337 grep -v '^ *+' conftest.er1 >conftest.err
35338 rm -f conftest.er1
35339 cat conftest.err >&5
35340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35341 (exit $ac_status); } &&
35342 { ac_try='test -z "$ac_cxx_werror_flag"
35343 || test ! -s conftest.err'
35344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35345 (eval $ac_try) 2>&5
35346 ac_status=$?
35347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35348 (exit $ac_status); }; } &&
35349 { ac_try='test -s conftest$ac_exeext'
35350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35351 (eval $ac_try) 2>&5
35352 ac_status=$?
35353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35354 (exit $ac_status); }; }; then
35355 eval "$as_ac_var=yes"
35356 else
35357 echo "$as_me: failed program was:" >&5
35358 sed 's/^/| /' conftest.$ac_ext >&5
35359
35360 eval "$as_ac_var=no"
35361 fi
35362 rm -f conftest.err conftest.$ac_objext \
35363 conftest$ac_exeext conftest.$ac_ext
35364 fi
35365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35367 if test `eval echo '${'$as_ac_var'}'` = yes; then
35368 cat >>confdefs.h <<_ACEOF
35369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35370 _ACEOF
35371
35372 fi
35373 done
35374
35375
35376 if test "$ac_cv_func_swprintf" = "yes"; then
35377 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35378 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35379 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35380 echo $ECHO_N "(cached) $ECHO_C" >&6
35381 else
35382
35383 cat >conftest.$ac_ext <<_ACEOF
35384 /* confdefs.h. */
35385 _ACEOF
35386 cat confdefs.h >>conftest.$ac_ext
35387 cat >>conftest.$ac_ext <<_ACEOF
35388 /* end confdefs.h. */
35389
35390 #include <stdio.h>
35391 #include <stdarg.h>
35392 #include <wchar.h>
35393
35394 int
35395 main ()
35396 {
35397
35398 wchar_t *buf;
35399 const wchar_t *fmt = L"test";
35400 swprintf(buf, 10u, fmt);
35401
35402 ;
35403 return 0;
35404 }
35405 _ACEOF
35406 rm -f conftest.$ac_objext
35407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35408 (eval $ac_compile) 2>conftest.er1
35409 ac_status=$?
35410 grep -v '^ *+' conftest.er1 >conftest.err
35411 rm -f conftest.er1
35412 cat conftest.err >&5
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); } &&
35415 { ac_try='test -z "$ac_cxx_werror_flag"
35416 || test ! -s conftest.err'
35417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35418 (eval $ac_try) 2>&5
35419 ac_status=$?
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); }; } &&
35422 { ac_try='test -s conftest.$ac_objext'
35423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35424 (eval $ac_try) 2>&5
35425 ac_status=$?
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); }; }; then
35428 wx_cv_func_broken_swprintf_decl=no
35429 else
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.$ac_ext >&5
35432
35433 wx_cv_func_broken_swprintf_decl=yes
35434
35435 fi
35436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35437
35438
35439 fi
35440 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35441 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35442
35443 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35444 cat >>confdefs.h <<\_ACEOF
35445 #define HAVE_BROKEN_SWPRINTF_DECL 1
35446 _ACEOF
35447
35448 fi
35449 fi
35450
35451
35452
35453
35454
35455
35456
35457 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35458 do
35459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35460 echo "$as_me:$LINENO: checking for $ac_func" >&5
35461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35462 if eval "test \"\${$as_ac_var+set}\" = set"; then
35463 echo $ECHO_N "(cached) $ECHO_C" >&6
35464 else
35465 cat >conftest.$ac_ext <<_ACEOF
35466 /* confdefs.h. */
35467 _ACEOF
35468 cat confdefs.h >>conftest.$ac_ext
35469 cat >>conftest.$ac_ext <<_ACEOF
35470 /* end confdefs.h. */
35471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35473 #define $ac_func innocuous_$ac_func
35474
35475 /* System header to define __stub macros and hopefully few prototypes,
35476 which can conflict with char $ac_func (); below.
35477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35478 <limits.h> exists even on freestanding compilers. */
35479
35480 #ifdef __STDC__
35481 # include <limits.h>
35482 #else
35483 # include <assert.h>
35484 #endif
35485
35486 #undef $ac_func
35487
35488 /* Override any gcc2 internal prototype to avoid an error. */
35489 #ifdef __cplusplus
35490 extern "C"
35491 {
35492 #endif
35493 /* We use char because int might match the return type of a gcc2
35494 builtin and then its argument prototype would still apply. */
35495 char $ac_func ();
35496 /* The GNU C library defines this for functions which it implements
35497 to always fail with ENOSYS. Some functions are actually named
35498 something starting with __ and the normal name is an alias. */
35499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35500 choke me
35501 #else
35502 char (*f) () = $ac_func;
35503 #endif
35504 #ifdef __cplusplus
35505 }
35506 #endif
35507
35508 int
35509 main ()
35510 {
35511 return f != $ac_func;
35512 ;
35513 return 0;
35514 }
35515 _ACEOF
35516 rm -f conftest.$ac_objext conftest$ac_exeext
35517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35518 (eval $ac_link) 2>conftest.er1
35519 ac_status=$?
35520 grep -v '^ *+' conftest.er1 >conftest.err
35521 rm -f conftest.er1
35522 cat conftest.err >&5
35523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35524 (exit $ac_status); } &&
35525 { ac_try='test -z "$ac_cxx_werror_flag"
35526 || test ! -s conftest.err'
35527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35528 (eval $ac_try) 2>&5
35529 ac_status=$?
35530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35531 (exit $ac_status); }; } &&
35532 { ac_try='test -s conftest$ac_exeext'
35533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35534 (eval $ac_try) 2>&5
35535 ac_status=$?
35536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35537 (exit $ac_status); }; }; then
35538 eval "$as_ac_var=yes"
35539 else
35540 echo "$as_me: failed program was:" >&5
35541 sed 's/^/| /' conftest.$ac_ext >&5
35542
35543 eval "$as_ac_var=no"
35544 fi
35545 rm -f conftest.err conftest.$ac_objext \
35546 conftest$ac_exeext conftest.$ac_ext
35547 fi
35548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35550 if test `eval echo '${'$as_ac_var'}'` = yes; then
35551 cat >>confdefs.h <<_ACEOF
35552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35553 _ACEOF
35554
35555 fi
35556 done
35557
35558
35559 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35560 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35561 cat >conftest.$ac_ext <<_ACEOF
35562 /* confdefs.h. */
35563 _ACEOF
35564 cat confdefs.h >>conftest.$ac_ext
35565 cat >>conftest.$ac_ext <<_ACEOF
35566 /* end confdefs.h. */
35567 #include <wchar.h>
35568 int
35569 main ()
35570 {
35571 &_vsnwprintf;
35572 ;
35573 return 0;
35574 }
35575 _ACEOF
35576 rm -f conftest.$ac_objext
35577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35578 (eval $ac_compile) 2>conftest.er1
35579 ac_status=$?
35580 grep -v '^ *+' conftest.er1 >conftest.err
35581 rm -f conftest.er1
35582 cat conftest.err >&5
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); } &&
35585 { ac_try='test -z "$ac_cxx_werror_flag"
35586 || test ! -s conftest.err'
35587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35588 (eval $ac_try) 2>&5
35589 ac_status=$?
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); }; } &&
35592 { ac_try='test -s conftest.$ac_objext'
35593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35594 (eval $ac_try) 2>&5
35595 ac_status=$?
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); }; }; then
35598 echo "$as_me:$LINENO: result: yes" >&5
35599 echo "${ECHO_T}yes" >&6
35600 cat >>confdefs.h <<\_ACEOF
35601 #define HAVE__VSNWPRINTF 1
35602 _ACEOF
35603
35604 else
35605 echo "$as_me: failed program was:" >&5
35606 sed 's/^/| /' conftest.$ac_ext >&5
35607
35608 echo "$as_me:$LINENO: result: no" >&5
35609 echo "${ECHO_T}no" >&6
35610 fi
35611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35612 fi
35613
35614 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35615
35616 for ac_func in fnmatch
35617 do
35618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35619 echo "$as_me:$LINENO: checking for $ac_func" >&5
35620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35621 if eval "test \"\${$as_ac_var+set}\" = set"; then
35622 echo $ECHO_N "(cached) $ECHO_C" >&6
35623 else
35624 cat >conftest.$ac_ext <<_ACEOF
35625 /* confdefs.h. */
35626 _ACEOF
35627 cat confdefs.h >>conftest.$ac_ext
35628 cat >>conftest.$ac_ext <<_ACEOF
35629 /* end confdefs.h. */
35630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35632 #define $ac_func innocuous_$ac_func
35633
35634 /* System header to define __stub macros and hopefully few prototypes,
35635 which can conflict with char $ac_func (); below.
35636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35637 <limits.h> exists even on freestanding compilers. */
35638
35639 #ifdef __STDC__
35640 # include <limits.h>
35641 #else
35642 # include <assert.h>
35643 #endif
35644
35645 #undef $ac_func
35646
35647 /* Override any gcc2 internal prototype to avoid an error. */
35648 #ifdef __cplusplus
35649 extern "C"
35650 {
35651 #endif
35652 /* We use char because int might match the return type of a gcc2
35653 builtin and then its argument prototype would still apply. */
35654 char $ac_func ();
35655 /* The GNU C library defines this for functions which it implements
35656 to always fail with ENOSYS. Some functions are actually named
35657 something starting with __ and the normal name is an alias. */
35658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35659 choke me
35660 #else
35661 char (*f) () = $ac_func;
35662 #endif
35663 #ifdef __cplusplus
35664 }
35665 #endif
35666
35667 int
35668 main ()
35669 {
35670 return f != $ac_func;
35671 ;
35672 return 0;
35673 }
35674 _ACEOF
35675 rm -f conftest.$ac_objext conftest$ac_exeext
35676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35677 (eval $ac_link) 2>conftest.er1
35678 ac_status=$?
35679 grep -v '^ *+' conftest.er1 >conftest.err
35680 rm -f conftest.er1
35681 cat conftest.err >&5
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); } &&
35684 { ac_try='test -z "$ac_cxx_werror_flag"
35685 || test ! -s conftest.err'
35686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35687 (eval $ac_try) 2>&5
35688 ac_status=$?
35689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690 (exit $ac_status); }; } &&
35691 { ac_try='test -s conftest$ac_exeext'
35692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35693 (eval $ac_try) 2>&5
35694 ac_status=$?
35695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35696 (exit $ac_status); }; }; then
35697 eval "$as_ac_var=yes"
35698 else
35699 echo "$as_me: failed program was:" >&5
35700 sed 's/^/| /' conftest.$ac_ext >&5
35701
35702 eval "$as_ac_var=no"
35703 fi
35704 rm -f conftest.err conftest.$ac_objext \
35705 conftest$ac_exeext conftest.$ac_ext
35706 fi
35707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35709 if test `eval echo '${'$as_ac_var'}'` = yes; then
35710 cat >>confdefs.h <<_ACEOF
35711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35712 _ACEOF
35713
35714 fi
35715 done
35716
35717 fi
35718
35719 if test "$wxUSE_FILE" = "yes"; then
35720
35721 for ac_func in fsync
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"
35790 || test ! -s conftest.err'
35791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35792 (eval $ac_try) 2>&5
35793 ac_status=$?
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); }; } &&
35796 { ac_try='test -s conftest$ac_exeext'
35797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35798 (eval $ac_try) 2>&5
35799 ac_status=$?
35800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35801 (exit $ac_status); }; }; then
35802 eval "$as_ac_var=yes"
35803 else
35804 echo "$as_me: failed program was:" >&5
35805 sed 's/^/| /' conftest.$ac_ext >&5
35806
35807 eval "$as_ac_var=no"
35808 fi
35809 rm -f conftest.err conftest.$ac_objext \
35810 conftest$ac_exeext conftest.$ac_ext
35811 fi
35812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35814 if test `eval echo '${'$as_ac_var'}'` = yes; then
35815 cat >>confdefs.h <<_ACEOF
35816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35817 _ACEOF
35818
35819 fi
35820 done
35821
35822 fi
35823
35824
35825 for ac_func in round
35826 do
35827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35828 echo "$as_me:$LINENO: checking for $ac_func" >&5
35829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35830 if eval "test \"\${$as_ac_var+set}\" = set"; then
35831 echo $ECHO_N "(cached) $ECHO_C" >&6
35832 else
35833 cat >conftest.$ac_ext <<_ACEOF
35834 /* confdefs.h. */
35835 _ACEOF
35836 cat confdefs.h >>conftest.$ac_ext
35837 cat >>conftest.$ac_ext <<_ACEOF
35838 /* end confdefs.h. */
35839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35841 #define $ac_func innocuous_$ac_func
35842
35843 /* System header to define __stub macros and hopefully few prototypes,
35844 which can conflict with char $ac_func (); below.
35845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35846 <limits.h> exists even on freestanding compilers. */
35847
35848 #ifdef __STDC__
35849 # include <limits.h>
35850 #else
35851 # include <assert.h>
35852 #endif
35853
35854 #undef $ac_func
35855
35856 /* Override any gcc2 internal prototype to avoid an error. */
35857 #ifdef __cplusplus
35858 extern "C"
35859 {
35860 #endif
35861 /* We use char because int might match the return type of a gcc2
35862 builtin and then its argument prototype would still apply. */
35863 char $ac_func ();
35864 /* The GNU C library defines this for functions which it implements
35865 to always fail with ENOSYS. Some functions are actually named
35866 something starting with __ and the normal name is an alias. */
35867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35868 choke me
35869 #else
35870 char (*f) () = $ac_func;
35871 #endif
35872 #ifdef __cplusplus
35873 }
35874 #endif
35875
35876 int
35877 main ()
35878 {
35879 return f != $ac_func;
35880 ;
35881 return 0;
35882 }
35883 _ACEOF
35884 rm -f conftest.$ac_objext conftest$ac_exeext
35885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35886 (eval $ac_link) 2>conftest.er1
35887 ac_status=$?
35888 grep -v '^ *+' conftest.er1 >conftest.err
35889 rm -f conftest.er1
35890 cat conftest.err >&5
35891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35892 (exit $ac_status); } &&
35893 { ac_try='test -z "$ac_cxx_werror_flag"
35894 || test ! -s conftest.err'
35895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35896 (eval $ac_try) 2>&5
35897 ac_status=$?
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); }; } &&
35900 { ac_try='test -s conftest$ac_exeext'
35901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35902 (eval $ac_try) 2>&5
35903 ac_status=$?
35904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35905 (exit $ac_status); }; }; then
35906 eval "$as_ac_var=yes"
35907 else
35908 echo "$as_me: failed program was:" >&5
35909 sed 's/^/| /' conftest.$ac_ext >&5
35910
35911 eval "$as_ac_var=no"
35912 fi
35913 rm -f conftest.err conftest.$ac_objext \
35914 conftest$ac_exeext conftest.$ac_ext
35915 fi
35916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35918 if test `eval echo '${'$as_ac_var'}'` = yes; then
35919 cat >>confdefs.h <<_ACEOF
35920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35921 _ACEOF
35922
35923 fi
35924 done
35925
35926 if test "$ac_cv_func_round" = yes; then
35927 echo "$as_me:$LINENO: checking whether round is declared" >&5
35928 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35929 if test "${ac_cv_have_decl_round+set}" = set; then
35930 echo $ECHO_N "(cached) $ECHO_C" >&6
35931 else
35932 cat >conftest.$ac_ext <<_ACEOF
35933 /* confdefs.h. */
35934 _ACEOF
35935 cat confdefs.h >>conftest.$ac_ext
35936 cat >>conftest.$ac_ext <<_ACEOF
35937 /* end confdefs.h. */
35938 #include <math.h>
35939
35940 int
35941 main ()
35942 {
35943 #ifndef round
35944 char *p = (char *) round;
35945 #endif
35946
35947 ;
35948 return 0;
35949 }
35950 _ACEOF
35951 rm -f conftest.$ac_objext
35952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35953 (eval $ac_compile) 2>conftest.er1
35954 ac_status=$?
35955 grep -v '^ *+' conftest.er1 >conftest.err
35956 rm -f conftest.er1
35957 cat conftest.err >&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } &&
35960 { ac_try='test -z "$ac_cxx_werror_flag"
35961 || test ! -s conftest.err'
35962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35963 (eval $ac_try) 2>&5
35964 ac_status=$?
35965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35966 (exit $ac_status); }; } &&
35967 { ac_try='test -s conftest.$ac_objext'
35968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35969 (eval $ac_try) 2>&5
35970 ac_status=$?
35971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35972 (exit $ac_status); }; }; then
35973 ac_cv_have_decl_round=yes
35974 else
35975 echo "$as_me: failed program was:" >&5
35976 sed 's/^/| /' conftest.$ac_ext >&5
35977
35978 ac_cv_have_decl_round=no
35979 fi
35980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35981 fi
35982 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35983 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35984 if test $ac_cv_have_decl_round = yes; then
35985
35986 cat >>confdefs.h <<_ACEOF
35987 #define HAVE_DECL_ROUND 1
35988 _ACEOF
35989
35990
35991 else
35992 cat >>confdefs.h <<_ACEOF
35993 #define HAVE_DECL_ROUND 0
35994 _ACEOF
35995
35996
35997 fi
35998
35999
36000 fi
36001
36002
36003 if test "$TOOLKIT" != "MSW"; then
36004
36005
36006
36007
36008
36009 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36010 if test "${with_libiconv_prefix+set}" = set; then
36011 withval="$with_libiconv_prefix"
36012
36013 for dir in `echo "$withval" | tr : ' '`; do
36014 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36015 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36016 done
36017
36018 fi;
36019
36020 echo "$as_me:$LINENO: checking for iconv" >&5
36021 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36022 if test "${am_cv_func_iconv+set}" = set; then
36023 echo $ECHO_N "(cached) $ECHO_C" >&6
36024 else
36025
36026 am_cv_func_iconv="no, consider installing GNU libiconv"
36027 am_cv_lib_iconv=no
36028 cat >conftest.$ac_ext <<_ACEOF
36029 /* confdefs.h. */
36030 _ACEOF
36031 cat confdefs.h >>conftest.$ac_ext
36032 cat >>conftest.$ac_ext <<_ACEOF
36033 /* end confdefs.h. */
36034 #include <stdlib.h>
36035 #include <iconv.h>
36036 int
36037 main ()
36038 {
36039 iconv_t cd = iconv_open("","");
36040 iconv(cd,NULL,NULL,NULL,NULL);
36041 iconv_close(cd);
36042 ;
36043 return 0;
36044 }
36045 _ACEOF
36046 rm -f conftest.$ac_objext conftest$ac_exeext
36047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36048 (eval $ac_link) 2>conftest.er1
36049 ac_status=$?
36050 grep -v '^ *+' conftest.er1 >conftest.err
36051 rm -f conftest.er1
36052 cat conftest.err >&5
36053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36054 (exit $ac_status); } &&
36055 { ac_try='test -z "$ac_cxx_werror_flag"
36056 || test ! -s conftest.err'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36059 ac_status=$?
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; } &&
36062 { ac_try='test -s conftest$ac_exeext'
36063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36064 (eval $ac_try) 2>&5
36065 ac_status=$?
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); }; }; then
36068 am_cv_func_iconv=yes
36069 else
36070 echo "$as_me: failed program was:" >&5
36071 sed 's/^/| /' conftest.$ac_ext >&5
36072
36073 fi
36074 rm -f conftest.err conftest.$ac_objext \
36075 conftest$ac_exeext conftest.$ac_ext
36076 if test "$am_cv_func_iconv" != yes; then
36077 am_save_LIBS="$LIBS"
36078 LIBS="$LIBS -liconv"
36079 cat >conftest.$ac_ext <<_ACEOF
36080 /* confdefs.h. */
36081 _ACEOF
36082 cat confdefs.h >>conftest.$ac_ext
36083 cat >>conftest.$ac_ext <<_ACEOF
36084 /* end confdefs.h. */
36085 #include <stdlib.h>
36086 #include <iconv.h>
36087 int
36088 main ()
36089 {
36090 iconv_t cd = iconv_open("","");
36091 iconv(cd,NULL,NULL,NULL,NULL);
36092 iconv_close(cd);
36093 ;
36094 return 0;
36095 }
36096 _ACEOF
36097 rm -f conftest.$ac_objext conftest$ac_exeext
36098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36099 (eval $ac_link) 2>conftest.er1
36100 ac_status=$?
36101 grep -v '^ *+' conftest.er1 >conftest.err
36102 rm -f conftest.er1
36103 cat conftest.err >&5
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); } &&
36106 { ac_try='test -z "$ac_cxx_werror_flag"
36107 || test ! -s conftest.err'
36108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36109 (eval $ac_try) 2>&5
36110 ac_status=$?
36111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36112 (exit $ac_status); }; } &&
36113 { ac_try='test -s conftest$ac_exeext'
36114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36115 (eval $ac_try) 2>&5
36116 ac_status=$?
36117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36118 (exit $ac_status); }; }; then
36119 am_cv_lib_iconv=yes
36120 am_cv_func_iconv=yes
36121 else
36122 echo "$as_me: failed program was:" >&5
36123 sed 's/^/| /' conftest.$ac_ext >&5
36124
36125 fi
36126 rm -f conftest.err conftest.$ac_objext \
36127 conftest$ac_exeext conftest.$ac_ext
36128 LIBS="$am_save_LIBS"
36129 fi
36130
36131 fi
36132 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36133 echo "${ECHO_T}$am_cv_func_iconv" >&6
36134 if test "$am_cv_func_iconv" = yes; then
36135
36136 cat >>confdefs.h <<\_ACEOF
36137 #define HAVE_ICONV 1
36138 _ACEOF
36139
36140 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36141 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36142 if test "${wx_cv_func_iconv_const+set}" = set; then
36143 echo $ECHO_N "(cached) $ECHO_C" >&6
36144 else
36145 cat >conftest.$ac_ext <<_ACEOF
36146 /* confdefs.h. */
36147 _ACEOF
36148 cat confdefs.h >>conftest.$ac_ext
36149 cat >>conftest.$ac_ext <<_ACEOF
36150 /* end confdefs.h. */
36151
36152 #include <stdlib.h>
36153 #include <iconv.h>
36154 extern
36155 #ifdef __cplusplus
36156 "C"
36157 #endif
36158 #if defined(__STDC__) || defined(__cplusplus)
36159 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36160 #else
36161 size_t iconv();
36162 #endif
36163
36164 int
36165 main ()
36166 {
36167
36168 ;
36169 return 0;
36170 }
36171 _ACEOF
36172 rm -f conftest.$ac_objext
36173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36174 (eval $ac_compile) 2>conftest.er1
36175 ac_status=$?
36176 grep -v '^ *+' conftest.er1 >conftest.err
36177 rm -f conftest.er1
36178 cat conftest.err >&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); } &&
36181 { ac_try='test -z "$ac_cxx_werror_flag"
36182 || test ! -s conftest.err'
36183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36184 (eval $ac_try) 2>&5
36185 ac_status=$?
36186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187 (exit $ac_status); }; } &&
36188 { ac_try='test -s conftest.$ac_objext'
36189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36190 (eval $ac_try) 2>&5
36191 ac_status=$?
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); }; }; then
36194 wx_cv_func_iconv_const="no"
36195 else
36196 echo "$as_me: failed program was:" >&5
36197 sed 's/^/| /' conftest.$ac_ext >&5
36198
36199 wx_cv_func_iconv_const="yes"
36200
36201 fi
36202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36203
36204 fi
36205 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36206 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36207
36208 iconv_const=
36209 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36210 iconv_const="const"
36211 fi
36212
36213
36214 cat >>confdefs.h <<_ACEOF
36215 #define ICONV_CONST $iconv_const
36216 _ACEOF
36217
36218 fi
36219 LIBICONV=
36220 if test "$am_cv_lib_iconv" = yes; then
36221 LIBICONV="-liconv"
36222 fi
36223
36224
36225 LIBS="$LIBICONV $LIBS"
36226
36227 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36228
36229 for ac_func in sigaction
36230 do
36231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36232 echo "$as_me:$LINENO: checking for $ac_func" >&5
36233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36234 if eval "test \"\${$as_ac_var+set}\" = set"; then
36235 echo $ECHO_N "(cached) $ECHO_C" >&6
36236 else
36237 cat >conftest.$ac_ext <<_ACEOF
36238 /* confdefs.h. */
36239 _ACEOF
36240 cat confdefs.h >>conftest.$ac_ext
36241 cat >>conftest.$ac_ext <<_ACEOF
36242 /* end confdefs.h. */
36243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36245 #define $ac_func innocuous_$ac_func
36246
36247 /* System header to define __stub macros and hopefully few prototypes,
36248 which can conflict with char $ac_func (); below.
36249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36250 <limits.h> exists even on freestanding compilers. */
36251
36252 #ifdef __STDC__
36253 # include <limits.h>
36254 #else
36255 # include <assert.h>
36256 #endif
36257
36258 #undef $ac_func
36259
36260 /* Override any gcc2 internal prototype to avoid an error. */
36261 #ifdef __cplusplus
36262 extern "C"
36263 {
36264 #endif
36265 /* We use char because int might match the return type of a gcc2
36266 builtin and then its argument prototype would still apply. */
36267 char $ac_func ();
36268 /* The GNU C library defines this for functions which it implements
36269 to always fail with ENOSYS. Some functions are actually named
36270 something starting with __ and the normal name is an alias. */
36271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36272 choke me
36273 #else
36274 char (*f) () = $ac_func;
36275 #endif
36276 #ifdef __cplusplus
36277 }
36278 #endif
36279
36280 int
36281 main ()
36282 {
36283 return f != $ac_func;
36284 ;
36285 return 0;
36286 }
36287 _ACEOF
36288 rm -f conftest.$ac_objext conftest$ac_exeext
36289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36290 (eval $ac_link) 2>conftest.er1
36291 ac_status=$?
36292 grep -v '^ *+' conftest.er1 >conftest.err
36293 rm -f conftest.er1
36294 cat conftest.err >&5
36295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36296 (exit $ac_status); } &&
36297 { ac_try='test -z "$ac_cxx_werror_flag"
36298 || test ! -s conftest.err'
36299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36300 (eval $ac_try) 2>&5
36301 ac_status=$?
36302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36303 (exit $ac_status); }; } &&
36304 { ac_try='test -s conftest$ac_exeext'
36305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36306 (eval $ac_try) 2>&5
36307 ac_status=$?
36308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36309 (exit $ac_status); }; }; then
36310 eval "$as_ac_var=yes"
36311 else
36312 echo "$as_me: failed program was:" >&5
36313 sed 's/^/| /' conftest.$ac_ext >&5
36314
36315 eval "$as_ac_var=no"
36316 fi
36317 rm -f conftest.err conftest.$ac_objext \
36318 conftest$ac_exeext conftest.$ac_ext
36319 fi
36320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36322 if test `eval echo '${'$as_ac_var'}'` = yes; then
36323 cat >>confdefs.h <<_ACEOF
36324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36325 _ACEOF
36326
36327 fi
36328 done
36329
36330
36331 if test "$ac_cv_func_sigaction" = "no"; then
36332 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36333 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36334 wxUSE_ON_FATAL_EXCEPTION=no
36335 fi
36336
36337 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36338 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36339 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36340 if test "${wx_cv_type_sa_handler+set}" = set; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36342 else
36343
36344 cat >conftest.$ac_ext <<_ACEOF
36345 /* confdefs.h. */
36346 _ACEOF
36347 cat confdefs.h >>conftest.$ac_ext
36348 cat >>conftest.$ac_ext <<_ACEOF
36349 /* end confdefs.h. */
36350 #include <signal.h>
36351 int
36352 main ()
36353 {
36354
36355 extern void testSigHandler(int);
36356
36357 struct sigaction sa;
36358 sa.sa_handler = testSigHandler;
36359
36360 ;
36361 return 0;
36362 }
36363 _ACEOF
36364 rm -f conftest.$ac_objext
36365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36366 (eval $ac_compile) 2>conftest.er1
36367 ac_status=$?
36368 grep -v '^ *+' conftest.er1 >conftest.err
36369 rm -f conftest.er1
36370 cat conftest.err >&5
36371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36372 (exit $ac_status); } &&
36373 { ac_try='test -z "$ac_cxx_werror_flag"
36374 || test ! -s conftest.err'
36375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36376 (eval $ac_try) 2>&5
36377 ac_status=$?
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); }; } &&
36380 { ac_try='test -s conftest.$ac_objext'
36381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36382 (eval $ac_try) 2>&5
36383 ac_status=$?
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); }; }; then
36386
36387 wx_cv_type_sa_handler=int
36388
36389 else
36390 echo "$as_me: failed program was:" >&5
36391 sed 's/^/| /' conftest.$ac_ext >&5
36392
36393
36394 wx_cv_type_sa_handler=void
36395
36396 fi
36397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36398
36399 fi
36400 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36401 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36402
36403 cat >>confdefs.h <<_ACEOF
36404 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36405 _ACEOF
36406
36407 fi
36408 fi
36409
36410 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36411 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36412 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36413 if test "${wx_cv_func_backtrace+set}" = set; then
36414 echo $ECHO_N "(cached) $ECHO_C" >&6
36415 else
36416
36417 cat >conftest.$ac_ext <<_ACEOF
36418 /* confdefs.h. */
36419 _ACEOF
36420 cat confdefs.h >>conftest.$ac_ext
36421 cat >>conftest.$ac_ext <<_ACEOF
36422 /* end confdefs.h. */
36423 #include <execinfo.h>
36424 int
36425 main ()
36426 {
36427
36428 void *trace[1];
36429 char **messages;
36430
36431 backtrace(trace, 1);
36432 messages = backtrace_symbols(trace, 1);
36433
36434 ;
36435 return 0;
36436 }
36437 _ACEOF
36438 rm -f conftest.$ac_objext
36439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36440 (eval $ac_compile) 2>conftest.er1
36441 ac_status=$?
36442 grep -v '^ *+' conftest.er1 >conftest.err
36443 rm -f conftest.er1
36444 cat conftest.err >&5
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); } &&
36447 { ac_try='test -z "$ac_cxx_werror_flag"
36448 || test ! -s conftest.err'
36449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36450 (eval $ac_try) 2>&5
36451 ac_status=$?
36452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36453 (exit $ac_status); }; } &&
36454 { ac_try='test -s conftest.$ac_objext'
36455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36456 (eval $ac_try) 2>&5
36457 ac_status=$?
36458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36459 (exit $ac_status); }; }; then
36460 wx_cv_func_backtrace=yes
36461 else
36462 echo "$as_me: failed program was:" >&5
36463 sed 's/^/| /' conftest.$ac_ext >&5
36464
36465 wx_cv_func_backtrace=no
36466
36467 fi
36468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36469
36470
36471 fi
36472 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36473 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36474
36475
36476 if test "$wx_cv_func_backtrace" = "no"; then
36477 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36478 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36479 wxUSE_STACKWALKER=no
36480 else
36481 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36482 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36483 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36484 echo $ECHO_N "(cached) $ECHO_C" >&6
36485 else
36486
36487 cat >conftest.$ac_ext <<_ACEOF
36488 /* confdefs.h. */
36489 _ACEOF
36490 cat confdefs.h >>conftest.$ac_ext
36491 cat >>conftest.$ac_ext <<_ACEOF
36492 /* end confdefs.h. */
36493 #include <cxxabi.h>
36494 int
36495 main ()
36496 {
36497
36498 int rc;
36499 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36500
36501 ;
36502 return 0;
36503 }
36504 _ACEOF
36505 rm -f conftest.$ac_objext conftest$ac_exeext
36506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36507 (eval $ac_link) 2>conftest.er1
36508 ac_status=$?
36509 grep -v '^ *+' conftest.er1 >conftest.err
36510 rm -f conftest.er1
36511 cat conftest.err >&5
36512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36513 (exit $ac_status); } &&
36514 { ac_try='test -z "$ac_cxx_werror_flag"
36515 || test ! -s conftest.err'
36516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36517 (eval $ac_try) 2>&5
36518 ac_status=$?
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); }; } &&
36521 { ac_try='test -s conftest$ac_exeext'
36522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36523 (eval $ac_try) 2>&5
36524 ac_status=$?
36525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36526 (exit $ac_status); }; }; then
36527 wx_cv_func_cxa_demangle=yes
36528 else
36529 echo "$as_me: failed program was:" >&5
36530 sed 's/^/| /' conftest.$ac_ext >&5
36531
36532 wx_cv_func_cxa_demangle=no
36533
36534 fi
36535 rm -f conftest.err conftest.$ac_objext \
36536 conftest$ac_exeext conftest.$ac_ext
36537
36538
36539 fi
36540 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36541 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36542
36543 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36544 cat >>confdefs.h <<\_ACEOF
36545 #define HAVE_CXA_DEMANGLE 1
36546 _ACEOF
36547
36548 fi
36549 fi
36550 fi
36551
36552 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36553 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36554 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36555 wxUSE_STACKWALKER=no
36556 fi
36557
36558
36559
36560
36561 for ac_func in mkstemp mktemp
36562 do
36563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36564 echo "$as_me:$LINENO: checking for $ac_func" >&5
36565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36566 if eval "test \"\${$as_ac_var+set}\" = set"; then
36567 echo $ECHO_N "(cached) $ECHO_C" >&6
36568 else
36569 cat >conftest.$ac_ext <<_ACEOF
36570 /* confdefs.h. */
36571 _ACEOF
36572 cat confdefs.h >>conftest.$ac_ext
36573 cat >>conftest.$ac_ext <<_ACEOF
36574 /* end confdefs.h. */
36575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36577 #define $ac_func innocuous_$ac_func
36578
36579 /* System header to define __stub macros and hopefully few prototypes,
36580 which can conflict with char $ac_func (); below.
36581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36582 <limits.h> exists even on freestanding compilers. */
36583
36584 #ifdef __STDC__
36585 # include <limits.h>
36586 #else
36587 # include <assert.h>
36588 #endif
36589
36590 #undef $ac_func
36591
36592 /* Override any gcc2 internal prototype to avoid an error. */
36593 #ifdef __cplusplus
36594 extern "C"
36595 {
36596 #endif
36597 /* We use char because int might match the return type of a gcc2
36598 builtin and then its argument prototype would still apply. */
36599 char $ac_func ();
36600 /* The GNU C library defines this for functions which it implements
36601 to always fail with ENOSYS. Some functions are actually named
36602 something starting with __ and the normal name is an alias. */
36603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36604 choke me
36605 #else
36606 char (*f) () = $ac_func;
36607 #endif
36608 #ifdef __cplusplus
36609 }
36610 #endif
36611
36612 int
36613 main ()
36614 {
36615 return f != $ac_func;
36616 ;
36617 return 0;
36618 }
36619 _ACEOF
36620 rm -f conftest.$ac_objext conftest$ac_exeext
36621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36622 (eval $ac_link) 2>conftest.er1
36623 ac_status=$?
36624 grep -v '^ *+' conftest.er1 >conftest.err
36625 rm -f conftest.er1
36626 cat conftest.err >&5
36627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628 (exit $ac_status); } &&
36629 { ac_try='test -z "$ac_cxx_werror_flag"
36630 || test ! -s conftest.err'
36631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36632 (eval $ac_try) 2>&5
36633 ac_status=$?
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); }; } &&
36636 { ac_try='test -s conftest$ac_exeext'
36637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36638 (eval $ac_try) 2>&5
36639 ac_status=$?
36640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36641 (exit $ac_status); }; }; then
36642 eval "$as_ac_var=yes"
36643 else
36644 echo "$as_me: failed program was:" >&5
36645 sed 's/^/| /' conftest.$ac_ext >&5
36646
36647 eval "$as_ac_var=no"
36648 fi
36649 rm -f conftest.err conftest.$ac_objext \
36650 conftest$ac_exeext conftest.$ac_ext
36651 fi
36652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36654 if test `eval echo '${'$as_ac_var'}'` = yes; then
36655 cat >>confdefs.h <<_ACEOF
36656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36657 _ACEOF
36658 break
36659 fi
36660 done
36661
36662
36663 echo "$as_me:$LINENO: checking for statfs" >&5
36664 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36665 if test "${wx_cv_func_statfs+set}" = set; then
36666 echo $ECHO_N "(cached) $ECHO_C" >&6
36667 else
36668 cat >conftest.$ac_ext <<_ACEOF
36669 /* confdefs.h. */
36670 _ACEOF
36671 cat confdefs.h >>conftest.$ac_ext
36672 cat >>conftest.$ac_ext <<_ACEOF
36673 /* end confdefs.h. */
36674
36675 #if defined(__BSD__)
36676 #include <sys/param.h>
36677 #include <sys/mount.h>
36678 #else
36679 #include <sys/vfs.h>
36680 #endif
36681
36682 int
36683 main ()
36684 {
36685
36686 long l;
36687 struct statfs fs;
36688 statfs("/", &fs);
36689 l = fs.f_bsize;
36690 l += fs.f_blocks;
36691 l += fs.f_bavail;
36692
36693 ;
36694 return 0;
36695 }
36696 _ACEOF
36697 rm -f conftest.$ac_objext
36698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36699 (eval $ac_compile) 2>conftest.er1
36700 ac_status=$?
36701 grep -v '^ *+' conftest.er1 >conftest.err
36702 rm -f conftest.er1
36703 cat conftest.err >&5
36704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36705 (exit $ac_status); } &&
36706 { ac_try='test -z "$ac_cxx_werror_flag"
36707 || test ! -s conftest.err'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36710 ac_status=$?
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; } &&
36713 { ac_try='test -s conftest.$ac_objext'
36714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36715 (eval $ac_try) 2>&5
36716 ac_status=$?
36717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36718 (exit $ac_status); }; }; then
36719 wx_cv_func_statfs=yes
36720 else
36721 echo "$as_me: failed program was:" >&5
36722 sed 's/^/| /' conftest.$ac_ext >&5
36723
36724 wx_cv_func_statfs=no
36725
36726 fi
36727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36728
36729 fi
36730 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36731 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36732
36733 if test "$wx_cv_func_statfs" = "yes"; then
36734 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36735 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36736 if test "${wx_cv_func_statfs_decl+set}" = set; then
36737 echo $ECHO_N "(cached) $ECHO_C" >&6
36738 else
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
36746 #if defined(__BSD__)
36747 #include <sys/param.h>
36748 #include <sys/mount.h>
36749 #else
36750 #include <sys/vfs.h>
36751 #endif
36752
36753 int
36754 main ()
36755 {
36756
36757 struct statfs fs;
36758 statfs("", &fs);
36759
36760 ;
36761 return 0;
36762 }
36763 _ACEOF
36764 rm -f conftest.$ac_objext
36765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36766 (eval $ac_compile) 2>conftest.er1
36767 ac_status=$?
36768 grep -v '^ *+' conftest.er1 >conftest.err
36769 rm -f conftest.er1
36770 cat conftest.err >&5
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); } &&
36773 { ac_try='test -z "$ac_cxx_werror_flag"
36774 || test ! -s conftest.err'
36775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36776 (eval $ac_try) 2>&5
36777 ac_status=$?
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); }; } &&
36780 { ac_try='test -s conftest.$ac_objext'
36781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36782 (eval $ac_try) 2>&5
36783 ac_status=$?
36784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36785 (exit $ac_status); }; }; then
36786 wx_cv_func_statfs_decl=yes
36787 else
36788 echo "$as_me: failed program was:" >&5
36789 sed 's/^/| /' conftest.$ac_ext >&5
36790
36791 wx_cv_func_statfs_decl=no
36792
36793 fi
36794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36795
36796 fi
36797 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36798 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36799
36800 if test "$wx_cv_func_statfs_decl" = "yes"; then
36801 cat >>confdefs.h <<\_ACEOF
36802 #define HAVE_STATFS_DECL 1
36803 _ACEOF
36804
36805 fi
36806
36807 wx_cv_type_statvfs_t="struct statfs"
36808 cat >>confdefs.h <<\_ACEOF
36809 #define HAVE_STATFS 1
36810 _ACEOF
36811
36812 else
36813 echo "$as_me:$LINENO: checking for statvfs" >&5
36814 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36815 if test "${wx_cv_func_statvfs+set}" = set; then
36816 echo $ECHO_N "(cached) $ECHO_C" >&6
36817 else
36818 cat >conftest.$ac_ext <<_ACEOF
36819 /* confdefs.h. */
36820 _ACEOF
36821 cat confdefs.h >>conftest.$ac_ext
36822 cat >>conftest.$ac_ext <<_ACEOF
36823 /* end confdefs.h. */
36824
36825 #include <stddef.h>
36826 #include <sys/statvfs.h>
36827
36828 int
36829 main ()
36830 {
36831
36832 statvfs("/", NULL);
36833
36834 ;
36835 return 0;
36836 }
36837 _ACEOF
36838 rm -f conftest.$ac_objext
36839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36840 (eval $ac_compile) 2>conftest.er1
36841 ac_status=$?
36842 grep -v '^ *+' conftest.er1 >conftest.err
36843 rm -f conftest.er1
36844 cat conftest.err >&5
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); } &&
36847 { ac_try='test -z "$ac_cxx_werror_flag"
36848 || test ! -s conftest.err'
36849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36850 (eval $ac_try) 2>&5
36851 ac_status=$?
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); }; } &&
36854 { ac_try='test -s conftest.$ac_objext'
36855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36856 (eval $ac_try) 2>&5
36857 ac_status=$?
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); }; }; then
36860 wx_cv_func_statvfs=yes
36861 else
36862 echo "$as_me: failed program was:" >&5
36863 sed 's/^/| /' conftest.$ac_ext >&5
36864
36865 wx_cv_func_statvfs=no
36866
36867 fi
36868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36869
36870 fi
36871 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36872 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36873
36874 if test "$wx_cv_func_statvfs" = "yes"; then
36875 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36876 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36877 if test "${wx_cv_type_statvfs_t+set}" = set; then
36878 echo $ECHO_N "(cached) $ECHO_C" >&6
36879 else
36880 cat >conftest.$ac_ext <<_ACEOF
36881 /* confdefs.h. */
36882 _ACEOF
36883 cat confdefs.h >>conftest.$ac_ext
36884 cat >>conftest.$ac_ext <<_ACEOF
36885 /* end confdefs.h. */
36886
36887 #include <sys/statvfs.h>
36888
36889 int
36890 main ()
36891 {
36892
36893 long l;
36894 statvfs_t fs;
36895 statvfs("/", &fs);
36896 l = fs.f_bsize;
36897 l += fs.f_blocks;
36898 l += fs.f_bavail;
36899
36900 ;
36901 return 0;
36902 }
36903 _ACEOF
36904 rm -f conftest.$ac_objext
36905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36906 (eval $ac_compile) 2>conftest.er1
36907 ac_status=$?
36908 grep -v '^ *+' conftest.er1 >conftest.err
36909 rm -f conftest.er1
36910 cat conftest.err >&5
36911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 (exit $ac_status); } &&
36913 { ac_try='test -z "$ac_cxx_werror_flag"
36914 || test ! -s conftest.err'
36915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36916 (eval $ac_try) 2>&5
36917 ac_status=$?
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); }; } &&
36920 { ac_try='test -s conftest.$ac_objext'
36921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36922 (eval $ac_try) 2>&5
36923 ac_status=$?
36924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36925 (exit $ac_status); }; }; then
36926 wx_cv_type_statvfs_t=statvfs_t
36927 else
36928 echo "$as_me: failed program was:" >&5
36929 sed 's/^/| /' conftest.$ac_ext >&5
36930
36931
36932 cat >conftest.$ac_ext <<_ACEOF
36933 /* confdefs.h. */
36934 _ACEOF
36935 cat confdefs.h >>conftest.$ac_ext
36936 cat >>conftest.$ac_ext <<_ACEOF
36937 /* end confdefs.h. */
36938
36939 #include <sys/statvfs.h>
36940
36941 int
36942 main ()
36943 {
36944
36945 long l;
36946 struct statvfs fs;
36947 statvfs("/", &fs);
36948 l = fs.f_bsize;
36949 l += fs.f_blocks;
36950 l += fs.f_bavail;
36951
36952 ;
36953 return 0;
36954 }
36955 _ACEOF
36956 rm -f conftest.$ac_objext
36957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36958 (eval $ac_compile) 2>conftest.er1
36959 ac_status=$?
36960 grep -v '^ *+' conftest.er1 >conftest.err
36961 rm -f conftest.er1
36962 cat conftest.err >&5
36963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36964 (exit $ac_status); } &&
36965 { ac_try='test -z "$ac_cxx_werror_flag"
36966 || test ! -s conftest.err'
36967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36968 (eval $ac_try) 2>&5
36969 ac_status=$?
36970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36971 (exit $ac_status); }; } &&
36972 { ac_try='test -s conftest.$ac_objext'
36973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36974 (eval $ac_try) 2>&5
36975 ac_status=$?
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); }; }; then
36978 wx_cv_type_statvfs_t="struct statvfs"
36979 else
36980 echo "$as_me: failed program was:" >&5
36981 sed 's/^/| /' conftest.$ac_ext >&5
36982
36983 wx_cv_type_statvfs_t="unknown"
36984
36985 fi
36986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36987
36988
36989 fi
36990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36991
36992 fi
36993 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36994 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36995
36996 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36997 cat >>confdefs.h <<\_ACEOF
36998 #define HAVE_STATVFS 1
36999 _ACEOF
37000
37001 fi
37002 else
37003 wx_cv_type_statvfs_t="unknown"
37004 fi
37005 fi
37006
37007 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37008 cat >>confdefs.h <<_ACEOF
37009 #define WX_STATFS_T $wx_cv_type_statvfs_t
37010 _ACEOF
37011
37012 else
37013 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37014 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37015 fi
37016
37017 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37018
37019
37020 for ac_func in fcntl flock
37021 do
37022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37023 echo "$as_me:$LINENO: checking for $ac_func" >&5
37024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37025 if eval "test \"\${$as_ac_var+set}\" = set"; then
37026 echo $ECHO_N "(cached) $ECHO_C" >&6
37027 else
37028 cat >conftest.$ac_ext <<_ACEOF
37029 /* confdefs.h. */
37030 _ACEOF
37031 cat confdefs.h >>conftest.$ac_ext
37032 cat >>conftest.$ac_ext <<_ACEOF
37033 /* end confdefs.h. */
37034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37036 #define $ac_func innocuous_$ac_func
37037
37038 /* System header to define __stub macros and hopefully few prototypes,
37039 which can conflict with char $ac_func (); below.
37040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37041 <limits.h> exists even on freestanding compilers. */
37042
37043 #ifdef __STDC__
37044 # include <limits.h>
37045 #else
37046 # include <assert.h>
37047 #endif
37048
37049 #undef $ac_func
37050
37051 /* Override any gcc2 internal prototype to avoid an error. */
37052 #ifdef __cplusplus
37053 extern "C"
37054 {
37055 #endif
37056 /* We use char because int might match the return type of a gcc2
37057 builtin and then its argument prototype would still apply. */
37058 char $ac_func ();
37059 /* The GNU C library defines this for functions which it implements
37060 to always fail with ENOSYS. Some functions are actually named
37061 something starting with __ and the normal name is an alias. */
37062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37063 choke me
37064 #else
37065 char (*f) () = $ac_func;
37066 #endif
37067 #ifdef __cplusplus
37068 }
37069 #endif
37070
37071 int
37072 main ()
37073 {
37074 return f != $ac_func;
37075 ;
37076 return 0;
37077 }
37078 _ACEOF
37079 rm -f conftest.$ac_objext conftest$ac_exeext
37080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37081 (eval $ac_link) 2>conftest.er1
37082 ac_status=$?
37083 grep -v '^ *+' conftest.er1 >conftest.err
37084 rm -f conftest.er1
37085 cat conftest.err >&5
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); } &&
37088 { ac_try='test -z "$ac_cxx_werror_flag"
37089 || test ! -s conftest.err'
37090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37091 (eval $ac_try) 2>&5
37092 ac_status=$?
37093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094 (exit $ac_status); }; } &&
37095 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
37101 eval "$as_ac_var=yes"
37102 else
37103 echo "$as_me: failed program was:" >&5
37104 sed 's/^/| /' conftest.$ac_ext >&5
37105
37106 eval "$as_ac_var=no"
37107 fi
37108 rm -f conftest.err conftest.$ac_objext \
37109 conftest$ac_exeext conftest.$ac_ext
37110 fi
37111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37113 if test `eval echo '${'$as_ac_var'}'` = yes; then
37114 cat >>confdefs.h <<_ACEOF
37115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37116 _ACEOF
37117 break
37118 fi
37119 done
37120
37121
37122 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37123 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37124 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37125 wxUSE_SNGLINST_CHECKER=no
37126 fi
37127 fi
37128
37129
37130 for ac_func in timegm
37131 do
37132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37133 echo "$as_me:$LINENO: checking for $ac_func" >&5
37134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37135 if eval "test \"\${$as_ac_var+set}\" = set"; then
37136 echo $ECHO_N "(cached) $ECHO_C" >&6
37137 else
37138 cat >conftest.$ac_ext <<_ACEOF
37139 /* confdefs.h. */
37140 _ACEOF
37141 cat confdefs.h >>conftest.$ac_ext
37142 cat >>conftest.$ac_ext <<_ACEOF
37143 /* end confdefs.h. */
37144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37146 #define $ac_func innocuous_$ac_func
37147
37148 /* System header to define __stub macros and hopefully few prototypes,
37149 which can conflict with char $ac_func (); below.
37150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37151 <limits.h> exists even on freestanding compilers. */
37152
37153 #ifdef __STDC__
37154 # include <limits.h>
37155 #else
37156 # include <assert.h>
37157 #endif
37158
37159 #undef $ac_func
37160
37161 /* Override any gcc2 internal prototype to avoid an error. */
37162 #ifdef __cplusplus
37163 extern "C"
37164 {
37165 #endif
37166 /* We use char because int might match the return type of a gcc2
37167 builtin and then its argument prototype would still apply. */
37168 char $ac_func ();
37169 /* The GNU C library defines this for functions which it implements
37170 to always fail with ENOSYS. Some functions are actually named
37171 something starting with __ and the normal name is an alias. */
37172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37173 choke me
37174 #else
37175 char (*f) () = $ac_func;
37176 #endif
37177 #ifdef __cplusplus
37178 }
37179 #endif
37180
37181 int
37182 main ()
37183 {
37184 return f != $ac_func;
37185 ;
37186 return 0;
37187 }
37188 _ACEOF
37189 rm -f conftest.$ac_objext conftest$ac_exeext
37190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37191 (eval $ac_link) 2>conftest.er1
37192 ac_status=$?
37193 grep -v '^ *+' conftest.er1 >conftest.err
37194 rm -f conftest.er1
37195 cat conftest.err >&5
37196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37197 (exit $ac_status); } &&
37198 { ac_try='test -z "$ac_cxx_werror_flag"
37199 || test ! -s conftest.err'
37200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37201 (eval $ac_try) 2>&5
37202 ac_status=$?
37203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37204 (exit $ac_status); }; } &&
37205 { ac_try='test -s conftest$ac_exeext'
37206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37207 (eval $ac_try) 2>&5
37208 ac_status=$?
37209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 (exit $ac_status); }; }; then
37211 eval "$as_ac_var=yes"
37212 else
37213 echo "$as_me: failed program was:" >&5
37214 sed 's/^/| /' conftest.$ac_ext >&5
37215
37216 eval "$as_ac_var=no"
37217 fi
37218 rm -f conftest.err conftest.$ac_objext \
37219 conftest$ac_exeext conftest.$ac_ext
37220 fi
37221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37223 if test `eval echo '${'$as_ac_var'}'` = yes; then
37224 cat >>confdefs.h <<_ACEOF
37225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37226 _ACEOF
37227
37228 fi
37229 done
37230
37231
37232
37233
37234 for ac_func in putenv setenv
37235 do
37236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37237 echo "$as_me:$LINENO: checking for $ac_func" >&5
37238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37239 if eval "test \"\${$as_ac_var+set}\" = set"; then
37240 echo $ECHO_N "(cached) $ECHO_C" >&6
37241 else
37242 cat >conftest.$ac_ext <<_ACEOF
37243 /* confdefs.h. */
37244 _ACEOF
37245 cat confdefs.h >>conftest.$ac_ext
37246 cat >>conftest.$ac_ext <<_ACEOF
37247 /* end confdefs.h. */
37248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37250 #define $ac_func innocuous_$ac_func
37251
37252 /* System header to define __stub macros and hopefully few prototypes,
37253 which can conflict with char $ac_func (); below.
37254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37255 <limits.h> exists even on freestanding compilers. */
37256
37257 #ifdef __STDC__
37258 # include <limits.h>
37259 #else
37260 # include <assert.h>
37261 #endif
37262
37263 #undef $ac_func
37264
37265 /* Override any gcc2 internal prototype to avoid an error. */
37266 #ifdef __cplusplus
37267 extern "C"
37268 {
37269 #endif
37270 /* We use char because int might match the return type of a gcc2
37271 builtin and then its argument prototype would still apply. */
37272 char $ac_func ();
37273 /* The GNU C library defines this for functions which it implements
37274 to always fail with ENOSYS. Some functions are actually named
37275 something starting with __ and the normal name is an alias. */
37276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37277 choke me
37278 #else
37279 char (*f) () = $ac_func;
37280 #endif
37281 #ifdef __cplusplus
37282 }
37283 #endif
37284
37285 int
37286 main ()
37287 {
37288 return f != $ac_func;
37289 ;
37290 return 0;
37291 }
37292 _ACEOF
37293 rm -f conftest.$ac_objext conftest$ac_exeext
37294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37295 (eval $ac_link) 2>conftest.er1
37296 ac_status=$?
37297 grep -v '^ *+' conftest.er1 >conftest.err
37298 rm -f conftest.er1
37299 cat conftest.err >&5
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); } &&
37302 { ac_try='test -z "$ac_cxx_werror_flag"
37303 || test ! -s conftest.err'
37304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37305 (eval $ac_try) 2>&5
37306 ac_status=$?
37307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37308 (exit $ac_status); }; } &&
37309 { ac_try='test -s conftest$ac_exeext'
37310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37311 (eval $ac_try) 2>&5
37312 ac_status=$?
37313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37314 (exit $ac_status); }; }; then
37315 eval "$as_ac_var=yes"
37316 else
37317 echo "$as_me: failed program was:" >&5
37318 sed 's/^/| /' conftest.$ac_ext >&5
37319
37320 eval "$as_ac_var=no"
37321 fi
37322 rm -f conftest.err conftest.$ac_objext \
37323 conftest$ac_exeext conftest.$ac_ext
37324 fi
37325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37327 if test `eval echo '${'$as_ac_var'}'` = yes; then
37328 cat >>confdefs.h <<_ACEOF
37329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37330 _ACEOF
37331 break
37332 fi
37333 done
37334
37335
37336 HAVE_SOME_SLEEP_FUNC=0
37337 if test "$USE_BEOS" = 1; then
37338 cat >>confdefs.h <<\_ACEOF
37339 #define HAVE_SLEEP 1
37340 _ACEOF
37341
37342 HAVE_SOME_SLEEP_FUNC=1
37343 fi
37344
37345 if test "$USE_DARWIN" = 1; then
37346 cat >>confdefs.h <<\_ACEOF
37347 #define HAVE_USLEEP 1
37348 _ACEOF
37349
37350 HAVE_SOME_SLEEP_FUNC=1
37351 fi
37352
37353 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37354 POSIX4_LINK=
37355
37356 for ac_func in nanosleep
37357 do
37358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37359 echo "$as_me:$LINENO: checking for $ac_func" >&5
37360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37361 if eval "test \"\${$as_ac_var+set}\" = set"; then
37362 echo $ECHO_N "(cached) $ECHO_C" >&6
37363 else
37364 cat >conftest.$ac_ext <<_ACEOF
37365 /* confdefs.h. */
37366 _ACEOF
37367 cat confdefs.h >>conftest.$ac_ext
37368 cat >>conftest.$ac_ext <<_ACEOF
37369 /* end confdefs.h. */
37370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37372 #define $ac_func innocuous_$ac_func
37373
37374 /* System header to define __stub macros and hopefully few prototypes,
37375 which can conflict with char $ac_func (); below.
37376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37377 <limits.h> exists even on freestanding compilers. */
37378
37379 #ifdef __STDC__
37380 # include <limits.h>
37381 #else
37382 # include <assert.h>
37383 #endif
37384
37385 #undef $ac_func
37386
37387 /* Override any gcc2 internal prototype to avoid an error. */
37388 #ifdef __cplusplus
37389 extern "C"
37390 {
37391 #endif
37392 /* We use char because int might match the return type of a gcc2
37393 builtin and then its argument prototype would still apply. */
37394 char $ac_func ();
37395 /* The GNU C library defines this for functions which it implements
37396 to always fail with ENOSYS. Some functions are actually named
37397 something starting with __ and the normal name is an alias. */
37398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37399 choke me
37400 #else
37401 char (*f) () = $ac_func;
37402 #endif
37403 #ifdef __cplusplus
37404 }
37405 #endif
37406
37407 int
37408 main ()
37409 {
37410 return f != $ac_func;
37411 ;
37412 return 0;
37413 }
37414 _ACEOF
37415 rm -f conftest.$ac_objext conftest$ac_exeext
37416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37417 (eval $ac_link) 2>conftest.er1
37418 ac_status=$?
37419 grep -v '^ *+' conftest.er1 >conftest.err
37420 rm -f conftest.er1
37421 cat conftest.err >&5
37422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37423 (exit $ac_status); } &&
37424 { ac_try='test -z "$ac_cxx_werror_flag"
37425 || test ! -s conftest.err'
37426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37427 (eval $ac_try) 2>&5
37428 ac_status=$?
37429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430 (exit $ac_status); }; } &&
37431 { ac_try='test -s conftest$ac_exeext'
37432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37433 (eval $ac_try) 2>&5
37434 ac_status=$?
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); }; }; then
37437 eval "$as_ac_var=yes"
37438 else
37439 echo "$as_me: failed program was:" >&5
37440 sed 's/^/| /' conftest.$ac_ext >&5
37441
37442 eval "$as_ac_var=no"
37443 fi
37444 rm -f conftest.err conftest.$ac_objext \
37445 conftest$ac_exeext conftest.$ac_ext
37446 fi
37447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37449 if test `eval echo '${'$as_ac_var'}'` = yes; then
37450 cat >>confdefs.h <<_ACEOF
37451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37452 _ACEOF
37453 cat >>confdefs.h <<\_ACEOF
37454 #define HAVE_NANOSLEEP 1
37455 _ACEOF
37456
37457 else
37458
37459 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37460 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37461 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37462 echo $ECHO_N "(cached) $ECHO_C" >&6
37463 else
37464 ac_check_lib_save_LIBS=$LIBS
37465 LIBS="-lposix4 $LIBS"
37466 cat >conftest.$ac_ext <<_ACEOF
37467 /* confdefs.h. */
37468 _ACEOF
37469 cat confdefs.h >>conftest.$ac_ext
37470 cat >>conftest.$ac_ext <<_ACEOF
37471 /* end confdefs.h. */
37472
37473 /* Override any gcc2 internal prototype to avoid an error. */
37474 #ifdef __cplusplus
37475 extern "C"
37476 #endif
37477 /* We use char because int might match the return type of a gcc2
37478 builtin and then its argument prototype would still apply. */
37479 char nanosleep ();
37480 int
37481 main ()
37482 {
37483 nanosleep ();
37484 ;
37485 return 0;
37486 }
37487 _ACEOF
37488 rm -f conftest.$ac_objext conftest$ac_exeext
37489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37490 (eval $ac_link) 2>conftest.er1
37491 ac_status=$?
37492 grep -v '^ *+' conftest.er1 >conftest.err
37493 rm -f conftest.er1
37494 cat conftest.err >&5
37495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496 (exit $ac_status); } &&
37497 { ac_try='test -z "$ac_cxx_werror_flag"
37498 || test ! -s conftest.err'
37499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37500 (eval $ac_try) 2>&5
37501 ac_status=$?
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); }; } &&
37504 { ac_try='test -s conftest$ac_exeext'
37505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37506 (eval $ac_try) 2>&5
37507 ac_status=$?
37508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37509 (exit $ac_status); }; }; then
37510 ac_cv_lib_posix4_nanosleep=yes
37511 else
37512 echo "$as_me: failed program was:" >&5
37513 sed 's/^/| /' conftest.$ac_ext >&5
37514
37515 ac_cv_lib_posix4_nanosleep=no
37516 fi
37517 rm -f conftest.err conftest.$ac_objext \
37518 conftest$ac_exeext conftest.$ac_ext
37519 LIBS=$ac_check_lib_save_LIBS
37520 fi
37521 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37522 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37523 if test $ac_cv_lib_posix4_nanosleep = yes; then
37524
37525 cat >>confdefs.h <<\_ACEOF
37526 #define HAVE_NANOSLEEP 1
37527 _ACEOF
37528
37529 POSIX4_LINK=" -lposix4"
37530
37531 else
37532
37533
37534 for ac_func in usleep
37535 do
37536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37537 echo "$as_me:$LINENO: checking for $ac_func" >&5
37538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37539 if eval "test \"\${$as_ac_var+set}\" = set"; then
37540 echo $ECHO_N "(cached) $ECHO_C" >&6
37541 else
37542 cat >conftest.$ac_ext <<_ACEOF
37543 /* confdefs.h. */
37544 _ACEOF
37545 cat confdefs.h >>conftest.$ac_ext
37546 cat >>conftest.$ac_ext <<_ACEOF
37547 /* end confdefs.h. */
37548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37550 #define $ac_func innocuous_$ac_func
37551
37552 /* System header to define __stub macros and hopefully few prototypes,
37553 which can conflict with char $ac_func (); below.
37554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37555 <limits.h> exists even on freestanding compilers. */
37556
37557 #ifdef __STDC__
37558 # include <limits.h>
37559 #else
37560 # include <assert.h>
37561 #endif
37562
37563 #undef $ac_func
37564
37565 /* Override any gcc2 internal prototype to avoid an error. */
37566 #ifdef __cplusplus
37567 extern "C"
37568 {
37569 #endif
37570 /* We use char because int might match the return type of a gcc2
37571 builtin and then its argument prototype would still apply. */
37572 char $ac_func ();
37573 /* The GNU C library defines this for functions which it implements
37574 to always fail with ENOSYS. Some functions are actually named
37575 something starting with __ and the normal name is an alias. */
37576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37577 choke me
37578 #else
37579 char (*f) () = $ac_func;
37580 #endif
37581 #ifdef __cplusplus
37582 }
37583 #endif
37584
37585 int
37586 main ()
37587 {
37588 return f != $ac_func;
37589 ;
37590 return 0;
37591 }
37592 _ACEOF
37593 rm -f conftest.$ac_objext conftest$ac_exeext
37594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37595 (eval $ac_link) 2>conftest.er1
37596 ac_status=$?
37597 grep -v '^ *+' conftest.er1 >conftest.err
37598 rm -f conftest.er1
37599 cat conftest.err >&5
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); } &&
37602 { ac_try='test -z "$ac_cxx_werror_flag"
37603 || test ! -s conftest.err'
37604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37605 (eval $ac_try) 2>&5
37606 ac_status=$?
37607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608 (exit $ac_status); }; } &&
37609 { ac_try='test -s conftest$ac_exeext'
37610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37611 (eval $ac_try) 2>&5
37612 ac_status=$?
37613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614 (exit $ac_status); }; }; then
37615 eval "$as_ac_var=yes"
37616 else
37617 echo "$as_me: failed program was:" >&5
37618 sed 's/^/| /' conftest.$ac_ext >&5
37619
37620 eval "$as_ac_var=no"
37621 fi
37622 rm -f conftest.err conftest.$ac_objext \
37623 conftest$ac_exeext conftest.$ac_ext
37624 fi
37625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37627 if test `eval echo '${'$as_ac_var'}'` = yes; then
37628 cat >>confdefs.h <<_ACEOF
37629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37630 _ACEOF
37631 cat >>confdefs.h <<\_ACEOF
37632 #define HAVE_USLEEP 1
37633 _ACEOF
37634
37635 else
37636 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37637 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37638
37639 fi
37640 done
37641
37642
37643
37644 fi
37645
37646
37647
37648 fi
37649 done
37650
37651 fi
37652
37653
37654
37655 for ac_func in uname gethostname
37656 do
37657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37658 echo "$as_me:$LINENO: checking for $ac_func" >&5
37659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37660 if eval "test \"\${$as_ac_var+set}\" = set"; then
37661 echo $ECHO_N "(cached) $ECHO_C" >&6
37662 else
37663 cat >conftest.$ac_ext <<_ACEOF
37664 /* confdefs.h. */
37665 _ACEOF
37666 cat confdefs.h >>conftest.$ac_ext
37667 cat >>conftest.$ac_ext <<_ACEOF
37668 /* end confdefs.h. */
37669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37671 #define $ac_func innocuous_$ac_func
37672
37673 /* System header to define __stub macros and hopefully few prototypes,
37674 which can conflict with char $ac_func (); below.
37675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37676 <limits.h> exists even on freestanding compilers. */
37677
37678 #ifdef __STDC__
37679 # include <limits.h>
37680 #else
37681 # include <assert.h>
37682 #endif
37683
37684 #undef $ac_func
37685
37686 /* Override any gcc2 internal prototype to avoid an error. */
37687 #ifdef __cplusplus
37688 extern "C"
37689 {
37690 #endif
37691 /* We use char because int might match the return type of a gcc2
37692 builtin and then its argument prototype would still apply. */
37693 char $ac_func ();
37694 /* The GNU C library defines this for functions which it implements
37695 to always fail with ENOSYS. Some functions are actually named
37696 something starting with __ and the normal name is an alias. */
37697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37698 choke me
37699 #else
37700 char (*f) () = $ac_func;
37701 #endif
37702 #ifdef __cplusplus
37703 }
37704 #endif
37705
37706 int
37707 main ()
37708 {
37709 return f != $ac_func;
37710 ;
37711 return 0;
37712 }
37713 _ACEOF
37714 rm -f conftest.$ac_objext conftest$ac_exeext
37715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37716 (eval $ac_link) 2>conftest.er1
37717 ac_status=$?
37718 grep -v '^ *+' conftest.er1 >conftest.err
37719 rm -f conftest.er1
37720 cat conftest.err >&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); } &&
37723 { ac_try='test -z "$ac_cxx_werror_flag"
37724 || test ! -s conftest.err'
37725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37726 (eval $ac_try) 2>&5
37727 ac_status=$?
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); }; } &&
37730 { ac_try='test -s conftest$ac_exeext'
37731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37732 (eval $ac_try) 2>&5
37733 ac_status=$?
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); }; }; then
37736 eval "$as_ac_var=yes"
37737 else
37738 echo "$as_me: failed program was:" >&5
37739 sed 's/^/| /' conftest.$ac_ext >&5
37740
37741 eval "$as_ac_var=no"
37742 fi
37743 rm -f conftest.err conftest.$ac_objext \
37744 conftest$ac_exeext conftest.$ac_ext
37745 fi
37746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37748 if test `eval echo '${'$as_ac_var'}'` = yes; then
37749 cat >>confdefs.h <<_ACEOF
37750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37751 _ACEOF
37752 break
37753 fi
37754 done
37755
37756
37757
37758 for wx_func in strtok_r
37759 do
37760 echo "$as_me:$LINENO: checking for $wx_func" >&5
37761 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37762 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37763 echo $ECHO_N "(cached) $ECHO_C" >&6
37764 else
37765
37766 cat >conftest.$ac_ext <<_ACEOF
37767
37768 /* confdefs.h. */
37769 _ACEOF
37770 cat confdefs.h >>conftest.$ac_ext
37771 cat >>conftest.$ac_ext <<_ACEOF
37772 /* end confdefs.h. */
37773
37774 #define _REENTRANT
37775 $ac_includes_default
37776
37777 int
37778 main ()
37779 {
37780
37781 #ifndef $wx_func
37782 &$wx_func;
37783 #endif
37784
37785
37786 ;
37787 return 0;
37788 }
37789
37790 _ACEOF
37791 rm -f conftest.$ac_objext conftest$ac_exeext
37792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37793 (eval $ac_link) 2>conftest.er1
37794 ac_status=$?
37795 grep -v '^ *+' conftest.er1 >conftest.err
37796 rm -f conftest.er1
37797 cat conftest.err >&5
37798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37799 (exit $ac_status); } &&
37800 { ac_try='test -z "$ac_cxx_werror_flag"
37801 || test ! -s conftest.err'
37802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37803 (eval $ac_try) 2>&5
37804 ac_status=$?
37805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37806 (exit $ac_status); }; } &&
37807 { ac_try='test -s conftest$ac_exeext'
37808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37809 (eval $ac_try) 2>&5
37810 ac_status=$?
37811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37812 (exit $ac_status); }; }; then
37813 eval wx_cv_func_$wx_func=yes
37814 else
37815 echo "$as_me: failed program was:" >&5
37816 sed 's/^/| /' conftest.$ac_ext >&5
37817
37818 eval wx_cv_func_$wx_func=no
37819 fi
37820 rm -f conftest.err conftest.$ac_objext \
37821 conftest$ac_exeext conftest.$ac_ext
37822
37823 fi
37824 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37825 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37826
37827 if eval test \$wx_cv_func_$wx_func = yes
37828 then
37829 cat >>confdefs.h <<_ACEOF
37830 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37831 _ACEOF
37832
37833
37834 else
37835 :
37836
37837 fi
37838 done
37839
37840
37841 INET_LINK=
37842
37843 for ac_func in inet_addr
37844 do
37845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37846 echo "$as_me:$LINENO: checking for $ac_func" >&5
37847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37848 if eval "test \"\${$as_ac_var+set}\" = set"; then
37849 echo $ECHO_N "(cached) $ECHO_C" >&6
37850 else
37851 cat >conftest.$ac_ext <<_ACEOF
37852 /* confdefs.h. */
37853 _ACEOF
37854 cat confdefs.h >>conftest.$ac_ext
37855 cat >>conftest.$ac_ext <<_ACEOF
37856 /* end confdefs.h. */
37857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37859 #define $ac_func innocuous_$ac_func
37860
37861 /* System header to define __stub macros and hopefully few prototypes,
37862 which can conflict with char $ac_func (); below.
37863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37864 <limits.h> exists even on freestanding compilers. */
37865
37866 #ifdef __STDC__
37867 # include <limits.h>
37868 #else
37869 # include <assert.h>
37870 #endif
37871
37872 #undef $ac_func
37873
37874 /* Override any gcc2 internal prototype to avoid an error. */
37875 #ifdef __cplusplus
37876 extern "C"
37877 {
37878 #endif
37879 /* We use char because int might match the return type of a gcc2
37880 builtin and then its argument prototype would still apply. */
37881 char $ac_func ();
37882 /* The GNU C library defines this for functions which it implements
37883 to always fail with ENOSYS. Some functions are actually named
37884 something starting with __ and the normal name is an alias. */
37885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37886 choke me
37887 #else
37888 char (*f) () = $ac_func;
37889 #endif
37890 #ifdef __cplusplus
37891 }
37892 #endif
37893
37894 int
37895 main ()
37896 {
37897 return f != $ac_func;
37898 ;
37899 return 0;
37900 }
37901 _ACEOF
37902 rm -f conftest.$ac_objext conftest$ac_exeext
37903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37904 (eval $ac_link) 2>conftest.er1
37905 ac_status=$?
37906 grep -v '^ *+' conftest.er1 >conftest.err
37907 rm -f conftest.er1
37908 cat conftest.err >&5
37909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910 (exit $ac_status); } &&
37911 { ac_try='test -z "$ac_cxx_werror_flag"
37912 || test ! -s conftest.err'
37913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37914 (eval $ac_try) 2>&5
37915 ac_status=$?
37916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37917 (exit $ac_status); }; } &&
37918 { ac_try='test -s conftest$ac_exeext'
37919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37920 (eval $ac_try) 2>&5
37921 ac_status=$?
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); }; }; then
37924 eval "$as_ac_var=yes"
37925 else
37926 echo "$as_me: failed program was:" >&5
37927 sed 's/^/| /' conftest.$ac_ext >&5
37928
37929 eval "$as_ac_var=no"
37930 fi
37931 rm -f conftest.err conftest.$ac_objext \
37932 conftest$ac_exeext conftest.$ac_ext
37933 fi
37934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37936 if test `eval echo '${'$as_ac_var'}'` = yes; then
37937 cat >>confdefs.h <<_ACEOF
37938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37939 _ACEOF
37940 cat >>confdefs.h <<\_ACEOF
37941 #define HAVE_INET_ADDR 1
37942 _ACEOF
37943
37944 else
37945
37946 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37947 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37948 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37949 echo $ECHO_N "(cached) $ECHO_C" >&6
37950 else
37951 ac_check_lib_save_LIBS=$LIBS
37952 LIBS="-lnsl $LIBS"
37953 cat >conftest.$ac_ext <<_ACEOF
37954 /* confdefs.h. */
37955 _ACEOF
37956 cat confdefs.h >>conftest.$ac_ext
37957 cat >>conftest.$ac_ext <<_ACEOF
37958 /* end confdefs.h. */
37959
37960 /* Override any gcc2 internal prototype to avoid an error. */
37961 #ifdef __cplusplus
37962 extern "C"
37963 #endif
37964 /* We use char because int might match the return type of a gcc2
37965 builtin and then its argument prototype would still apply. */
37966 char inet_addr ();
37967 int
37968 main ()
37969 {
37970 inet_addr ();
37971 ;
37972 return 0;
37973 }
37974 _ACEOF
37975 rm -f conftest.$ac_objext conftest$ac_exeext
37976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37977 (eval $ac_link) 2>conftest.er1
37978 ac_status=$?
37979 grep -v '^ *+' conftest.er1 >conftest.err
37980 rm -f conftest.er1
37981 cat conftest.err >&5
37982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37983 (exit $ac_status); } &&
37984 { ac_try='test -z "$ac_cxx_werror_flag"
37985 || test ! -s conftest.err'
37986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37987 (eval $ac_try) 2>&5
37988 ac_status=$?
37989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37990 (exit $ac_status); }; } &&
37991 { ac_try='test -s conftest$ac_exeext'
37992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37993 (eval $ac_try) 2>&5
37994 ac_status=$?
37995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996 (exit $ac_status); }; }; then
37997 ac_cv_lib_nsl_inet_addr=yes
37998 else
37999 echo "$as_me: failed program was:" >&5
38000 sed 's/^/| /' conftest.$ac_ext >&5
38001
38002 ac_cv_lib_nsl_inet_addr=no
38003 fi
38004 rm -f conftest.err conftest.$ac_objext \
38005 conftest$ac_exeext conftest.$ac_ext
38006 LIBS=$ac_check_lib_save_LIBS
38007 fi
38008 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38009 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38010 if test $ac_cv_lib_nsl_inet_addr = yes; then
38011 INET_LINK="nsl"
38012 else
38013
38014 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38015 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38016 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38017 echo $ECHO_N "(cached) $ECHO_C" >&6
38018 else
38019 ac_check_lib_save_LIBS=$LIBS
38020 LIBS="-lresolv $LIBS"
38021 cat >conftest.$ac_ext <<_ACEOF
38022 /* confdefs.h. */
38023 _ACEOF
38024 cat confdefs.h >>conftest.$ac_ext
38025 cat >>conftest.$ac_ext <<_ACEOF
38026 /* end confdefs.h. */
38027
38028 /* Override any gcc2 internal prototype to avoid an error. */
38029 #ifdef __cplusplus
38030 extern "C"
38031 #endif
38032 /* We use char because int might match the return type of a gcc2
38033 builtin and then its argument prototype would still apply. */
38034 char inet_addr ();
38035 int
38036 main ()
38037 {
38038 inet_addr ();
38039 ;
38040 return 0;
38041 }
38042 _ACEOF
38043 rm -f conftest.$ac_objext conftest$ac_exeext
38044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38045 (eval $ac_link) 2>conftest.er1
38046 ac_status=$?
38047 grep -v '^ *+' conftest.er1 >conftest.err
38048 rm -f conftest.er1
38049 cat conftest.err >&5
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); } &&
38052 { ac_try='test -z "$ac_cxx_werror_flag"
38053 || test ! -s conftest.err'
38054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38055 (eval $ac_try) 2>&5
38056 ac_status=$?
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); }; } &&
38059 { ac_try='test -s conftest$ac_exeext'
38060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38061 (eval $ac_try) 2>&5
38062 ac_status=$?
38063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064 (exit $ac_status); }; }; then
38065 ac_cv_lib_resolv_inet_addr=yes
38066 else
38067 echo "$as_me: failed program was:" >&5
38068 sed 's/^/| /' conftest.$ac_ext >&5
38069
38070 ac_cv_lib_resolv_inet_addr=no
38071 fi
38072 rm -f conftest.err conftest.$ac_objext \
38073 conftest$ac_exeext conftest.$ac_ext
38074 LIBS=$ac_check_lib_save_LIBS
38075 fi
38076 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38077 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38078 if test $ac_cv_lib_resolv_inet_addr = yes; then
38079 INET_LINK="resolv"
38080 else
38081
38082 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38083 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38084 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38085 echo $ECHO_N "(cached) $ECHO_C" >&6
38086 else
38087 ac_check_lib_save_LIBS=$LIBS
38088 LIBS="-lsocket $LIBS"
38089 cat >conftest.$ac_ext <<_ACEOF
38090 /* confdefs.h. */
38091 _ACEOF
38092 cat confdefs.h >>conftest.$ac_ext
38093 cat >>conftest.$ac_ext <<_ACEOF
38094 /* end confdefs.h. */
38095
38096 /* Override any gcc2 internal prototype to avoid an error. */
38097 #ifdef __cplusplus
38098 extern "C"
38099 #endif
38100 /* We use char because int might match the return type of a gcc2
38101 builtin and then its argument prototype would still apply. */
38102 char inet_addr ();
38103 int
38104 main ()
38105 {
38106 inet_addr ();
38107 ;
38108 return 0;
38109 }
38110 _ACEOF
38111 rm -f conftest.$ac_objext conftest$ac_exeext
38112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38113 (eval $ac_link) 2>conftest.er1
38114 ac_status=$?
38115 grep -v '^ *+' conftest.er1 >conftest.err
38116 rm -f conftest.er1
38117 cat conftest.err >&5
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); } &&
38120 { ac_try='test -z "$ac_cxx_werror_flag"
38121 || test ! -s conftest.err'
38122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38123 (eval $ac_try) 2>&5
38124 ac_status=$?
38125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38126 (exit $ac_status); }; } &&
38127 { ac_try='test -s conftest$ac_exeext'
38128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38129 (eval $ac_try) 2>&5
38130 ac_status=$?
38131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38132 (exit $ac_status); }; }; then
38133 ac_cv_lib_socket_inet_addr=yes
38134 else
38135 echo "$as_me: failed program was:" >&5
38136 sed 's/^/| /' conftest.$ac_ext >&5
38137
38138 ac_cv_lib_socket_inet_addr=no
38139 fi
38140 rm -f conftest.err conftest.$ac_objext \
38141 conftest$ac_exeext conftest.$ac_ext
38142 LIBS=$ac_check_lib_save_LIBS
38143 fi
38144 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38145 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38146 if test $ac_cv_lib_socket_inet_addr = yes; then
38147 INET_LINK="socket"
38148
38149 fi
38150
38151
38152
38153 fi
38154
38155
38156
38157 fi
38158
38159
38160
38161 fi
38162 done
38163
38164
38165
38166 for ac_func in inet_aton
38167 do
38168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38169 echo "$as_me:$LINENO: checking for $ac_func" >&5
38170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38171 if eval "test \"\${$as_ac_var+set}\" = set"; then
38172 echo $ECHO_N "(cached) $ECHO_C" >&6
38173 else
38174 cat >conftest.$ac_ext <<_ACEOF
38175 /* confdefs.h. */
38176 _ACEOF
38177 cat confdefs.h >>conftest.$ac_ext
38178 cat >>conftest.$ac_ext <<_ACEOF
38179 /* end confdefs.h. */
38180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38182 #define $ac_func innocuous_$ac_func
38183
38184 /* System header to define __stub macros and hopefully few prototypes,
38185 which can conflict with char $ac_func (); below.
38186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38187 <limits.h> exists even on freestanding compilers. */
38188
38189 #ifdef __STDC__
38190 # include <limits.h>
38191 #else
38192 # include <assert.h>
38193 #endif
38194
38195 #undef $ac_func
38196
38197 /* Override any gcc2 internal prototype to avoid an error. */
38198 #ifdef __cplusplus
38199 extern "C"
38200 {
38201 #endif
38202 /* We use char because int might match the return type of a gcc2
38203 builtin and then its argument prototype would still apply. */
38204 char $ac_func ();
38205 /* The GNU C library defines this for functions which it implements
38206 to always fail with ENOSYS. Some functions are actually named
38207 something starting with __ and the normal name is an alias. */
38208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38209 choke me
38210 #else
38211 char (*f) () = $ac_func;
38212 #endif
38213 #ifdef __cplusplus
38214 }
38215 #endif
38216
38217 int
38218 main ()
38219 {
38220 return f != $ac_func;
38221 ;
38222 return 0;
38223 }
38224 _ACEOF
38225 rm -f conftest.$ac_objext conftest$ac_exeext
38226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38227 (eval $ac_link) 2>conftest.er1
38228 ac_status=$?
38229 grep -v '^ *+' conftest.er1 >conftest.err
38230 rm -f conftest.er1
38231 cat conftest.err >&5
38232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38233 (exit $ac_status); } &&
38234 { ac_try='test -z "$ac_cxx_werror_flag"
38235 || test ! -s conftest.err'
38236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38237 (eval $ac_try) 2>&5
38238 ac_status=$?
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); }; } &&
38241 { ac_try='test -s conftest$ac_exeext'
38242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38243 (eval $ac_try) 2>&5
38244 ac_status=$?
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); }; }; then
38247 eval "$as_ac_var=yes"
38248 else
38249 echo "$as_me: failed program was:" >&5
38250 sed 's/^/| /' conftest.$ac_ext >&5
38251
38252 eval "$as_ac_var=no"
38253 fi
38254 rm -f conftest.err conftest.$ac_objext \
38255 conftest$ac_exeext conftest.$ac_ext
38256 fi
38257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38259 if test `eval echo '${'$as_ac_var'}'` = yes; then
38260 cat >>confdefs.h <<_ACEOF
38261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38262 _ACEOF
38263 cat >>confdefs.h <<\_ACEOF
38264 #define HAVE_INET_ATON 1
38265 _ACEOF
38266
38267 else
38268
38269 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38270 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38271 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38272 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38273 echo $ECHO_N "(cached) $ECHO_C" >&6
38274 else
38275 ac_check_lib_save_LIBS=$LIBS
38276 LIBS="-l$INET_LINK $LIBS"
38277 cat >conftest.$ac_ext <<_ACEOF
38278 /* confdefs.h. */
38279 _ACEOF
38280 cat confdefs.h >>conftest.$ac_ext
38281 cat >>conftest.$ac_ext <<_ACEOF
38282 /* end confdefs.h. */
38283
38284 /* Override any gcc2 internal prototype to avoid an error. */
38285 #ifdef __cplusplus
38286 extern "C"
38287 #endif
38288 /* We use char because int might match the return type of a gcc2
38289 builtin and then its argument prototype would still apply. */
38290 char inet_aton ();
38291 int
38292 main ()
38293 {
38294 inet_aton ();
38295 ;
38296 return 0;
38297 }
38298 _ACEOF
38299 rm -f conftest.$ac_objext conftest$ac_exeext
38300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38301 (eval $ac_link) 2>conftest.er1
38302 ac_status=$?
38303 grep -v '^ *+' conftest.er1 >conftest.err
38304 rm -f conftest.er1
38305 cat conftest.err >&5
38306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38307 (exit $ac_status); } &&
38308 { ac_try='test -z "$ac_cxx_werror_flag"
38309 || test ! -s conftest.err'
38310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38311 (eval $ac_try) 2>&5
38312 ac_status=$?
38313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38314 (exit $ac_status); }; } &&
38315 { ac_try='test -s conftest$ac_exeext'
38316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38317 (eval $ac_try) 2>&5
38318 ac_status=$?
38319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38320 (exit $ac_status); }; }; then
38321 eval "$as_ac_Lib=yes"
38322 else
38323 echo "$as_me: failed program was:" >&5
38324 sed 's/^/| /' conftest.$ac_ext >&5
38325
38326 eval "$as_ac_Lib=no"
38327 fi
38328 rm -f conftest.err conftest.$ac_objext \
38329 conftest$ac_exeext conftest.$ac_ext
38330 LIBS=$ac_check_lib_save_LIBS
38331 fi
38332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38333 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38334 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38335 cat >>confdefs.h <<\_ACEOF
38336 #define HAVE_INET_ATON 1
38337 _ACEOF
38338
38339 fi
38340
38341
38342 fi
38343 done
38344
38345
38346 if test "x$INET_LINK" != "x"; then
38347 cat >>confdefs.h <<\_ACEOF
38348 #define HAVE_INET_ADDR 1
38349 _ACEOF
38350
38351 INET_LINK=" -l$INET_LINK"
38352 fi
38353
38354 fi
38355
38356
38357
38358 EXTRALIBS_ESD=
38359 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38360 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38361 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38363 else
38364 ac_check_lib_save_LIBS=$LIBS
38365 LIBS="-lesd $LIBS"
38366 cat >conftest.$ac_ext <<_ACEOF
38367 /* confdefs.h. */
38368 _ACEOF
38369 cat confdefs.h >>conftest.$ac_ext
38370 cat >>conftest.$ac_ext <<_ACEOF
38371 /* end confdefs.h. */
38372
38373 /* Override any gcc2 internal prototype to avoid an error. */
38374 #ifdef __cplusplus
38375 extern "C"
38376 #endif
38377 /* We use char because int might match the return type of a gcc2
38378 builtin and then its argument prototype would still apply. */
38379 char esd_close ();
38380 int
38381 main ()
38382 {
38383 esd_close ();
38384 ;
38385 return 0;
38386 }
38387 _ACEOF
38388 rm -f conftest.$ac_objext conftest$ac_exeext
38389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38390 (eval $ac_link) 2>conftest.er1
38391 ac_status=$?
38392 grep -v '^ *+' conftest.er1 >conftest.err
38393 rm -f conftest.er1
38394 cat conftest.err >&5
38395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38396 (exit $ac_status); } &&
38397 { ac_try='test -z "$ac_cxx_werror_flag"
38398 || test ! -s conftest.err'
38399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38400 (eval $ac_try) 2>&5
38401 ac_status=$?
38402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38403 (exit $ac_status); }; } &&
38404 { ac_try='test -s conftest$ac_exeext'
38405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38406 (eval $ac_try) 2>&5
38407 ac_status=$?
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); }; }; then
38410 ac_cv_lib_esd_esd_close=yes
38411 else
38412 echo "$as_me: failed program was:" >&5
38413 sed 's/^/| /' conftest.$ac_ext >&5
38414
38415 ac_cv_lib_esd_esd_close=no
38416 fi
38417 rm -f conftest.err conftest.$ac_objext \
38418 conftest$ac_exeext conftest.$ac_ext
38419 LIBS=$ac_check_lib_save_LIBS
38420 fi
38421 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38422 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38423 if test $ac_cv_lib_esd_esd_close = yes; then
38424
38425
38426 for ac_header in esd.h
38427 do
38428 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38430 echo "$as_me:$LINENO: checking for $ac_header" >&5
38431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38433 echo $ECHO_N "(cached) $ECHO_C" >&6
38434 fi
38435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38437 else
38438 # Is the header compilable?
38439 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38441 cat >conftest.$ac_ext <<_ACEOF
38442 /* confdefs.h. */
38443 _ACEOF
38444 cat confdefs.h >>conftest.$ac_ext
38445 cat >>conftest.$ac_ext <<_ACEOF
38446 /* end confdefs.h. */
38447 $ac_includes_default
38448 #include <$ac_header>
38449 _ACEOF
38450 rm -f conftest.$ac_objext
38451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38452 (eval $ac_compile) 2>conftest.er1
38453 ac_status=$?
38454 grep -v '^ *+' conftest.er1 >conftest.err
38455 rm -f conftest.er1
38456 cat conftest.err >&5
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); } &&
38459 { ac_try='test -z "$ac_cxx_werror_flag"
38460 || test ! -s conftest.err'
38461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38462 (eval $ac_try) 2>&5
38463 ac_status=$?
38464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465 (exit $ac_status); }; } &&
38466 { ac_try='test -s conftest.$ac_objext'
38467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38468 (eval $ac_try) 2>&5
38469 ac_status=$?
38470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38471 (exit $ac_status); }; }; then
38472 ac_header_compiler=yes
38473 else
38474 echo "$as_me: failed program was:" >&5
38475 sed 's/^/| /' conftest.$ac_ext >&5
38476
38477 ac_header_compiler=no
38478 fi
38479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38481 echo "${ECHO_T}$ac_header_compiler" >&6
38482
38483 # Is the header present?
38484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38486 cat >conftest.$ac_ext <<_ACEOF
38487 /* confdefs.h. */
38488 _ACEOF
38489 cat confdefs.h >>conftest.$ac_ext
38490 cat >>conftest.$ac_ext <<_ACEOF
38491 /* end confdefs.h. */
38492 #include <$ac_header>
38493 _ACEOF
38494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38496 ac_status=$?
38497 grep -v '^ *+' conftest.er1 >conftest.err
38498 rm -f conftest.er1
38499 cat conftest.err >&5
38500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38501 (exit $ac_status); } >/dev/null; then
38502 if test -s conftest.err; then
38503 ac_cpp_err=$ac_cxx_preproc_warn_flag
38504 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38505 else
38506 ac_cpp_err=
38507 fi
38508 else
38509 ac_cpp_err=yes
38510 fi
38511 if test -z "$ac_cpp_err"; then
38512 ac_header_preproc=yes
38513 else
38514 echo "$as_me: failed program was:" >&5
38515 sed 's/^/| /' conftest.$ac_ext >&5
38516
38517 ac_header_preproc=no
38518 fi
38519 rm -f conftest.err conftest.$ac_ext
38520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38521 echo "${ECHO_T}$ac_header_preproc" >&6
38522
38523 # So? What about this header?
38524 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38525 yes:no: )
38526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38530 ac_header_preproc=yes
38531 ;;
38532 no:yes:* )
38533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38545 (
38546 cat <<\_ASBOX
38547 ## ----------------------------------------- ##
38548 ## Report this to wx-dev@lists.wxwidgets.org ##
38549 ## ----------------------------------------- ##
38550 _ASBOX
38551 ) |
38552 sed "s/^/$as_me: WARNING: /" >&2
38553 ;;
38554 esac
38555 echo "$as_me:$LINENO: checking for $ac_header" >&5
38556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38558 echo $ECHO_N "(cached) $ECHO_C" >&6
38559 else
38560 eval "$as_ac_Header=\$ac_header_preproc"
38561 fi
38562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38564
38565 fi
38566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38567 cat >>confdefs.h <<_ACEOF
38568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38569 _ACEOF
38570
38571 EXTRALIBS_ESD="-lesd"
38572
38573 fi
38574
38575 done
38576
38577
38578 fi
38579
38580
38581
38582 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38583 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38584 cat >conftest.$ac_ext <<_ACEOF
38585 /* confdefs.h. */
38586 _ACEOF
38587 cat confdefs.h >>conftest.$ac_ext
38588 cat >>conftest.$ac_ext <<_ACEOF
38589 /* end confdefs.h. */
38590 #ifdef __linux__
38591 #include <linux/cdrom.h>
38592 #else
38593 /* For Solaris */
38594 #include <sys/cdio.h>
38595 #endif
38596
38597 int
38598 main ()
38599 {
38600 struct cdrom_tocentry entry, old_entry;
38601 ;
38602 return 0;
38603 }
38604 _ACEOF
38605 rm -f conftest.$ac_objext
38606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38607 (eval $ac_compile) 2>conftest.er1
38608 ac_status=$?
38609 grep -v '^ *+' conftest.er1 >conftest.err
38610 rm -f conftest.er1
38611 cat conftest.err >&5
38612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38613 (exit $ac_status); } &&
38614 { ac_try='test -z "$ac_cxx_werror_flag"
38615 || test ! -s conftest.err'
38616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38617 (eval $ac_try) 2>&5
38618 ac_status=$?
38619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38620 (exit $ac_status); }; } &&
38621 { ac_try='test -s conftest.$ac_objext'
38622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38623 (eval $ac_try) 2>&5
38624 ac_status=$?
38625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38626 (exit $ac_status); }; }; then
38627 echo "$as_me:$LINENO: result: yes" >&5
38628 echo "${ECHO_T}yes" >&6
38629 cat >>confdefs.h <<\_ACEOF
38630 #define HAVE_KNOWN_CDROM_INTERFACE 1
38631 _ACEOF
38632
38633 else
38634 echo "$as_me: failed program was:" >&5
38635 sed 's/^/| /' conftest.$ac_ext >&5
38636
38637 echo "$as_me:$LINENO: result: no" >&5
38638 echo "${ECHO_T}no" >&6
38639 fi
38640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38641
38642
38643 cat >confcache <<\_ACEOF
38644 # This file is a shell script that caches the results of configure
38645 # tests run on this system so they can be shared between configure
38646 # scripts and configure runs, see configure's option --config-cache.
38647 # It is not useful on other systems. If it contains results you don't
38648 # want to keep, you may remove or edit it.
38649 #
38650 # config.status only pays attention to the cache file if you give it
38651 # the --recheck option to rerun configure.
38652 #
38653 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38654 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38655 # following values.
38656
38657 _ACEOF
38658
38659 # The following way of writing the cache mishandles newlines in values,
38660 # but we know of no workaround that is simple, portable, and efficient.
38661 # So, don't put newlines in cache variables' values.
38662 # Ultrix sh set writes to stderr and can't be redirected directly,
38663 # and sets the high bit in the cache file unless we assign to the vars.
38664 {
38665 (set) 2>&1 |
38666 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38667 *ac_space=\ *)
38668 # `set' does not quote correctly, so add quotes (double-quote
38669 # substitution turns \\\\ into \\, and sed turns \\ into \).
38670 sed -n \
38671 "s/'/'\\\\''/g;
38672 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38673 ;;
38674 *)
38675 # `set' quotes correctly as required by POSIX, so do not add quotes.
38676 sed -n \
38677 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38678 ;;
38679 esac;
38680 } |
38681 sed '
38682 t clear
38683 : clear
38684 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38685 t end
38686 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38687 : end' >>confcache
38688 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38689 if test -w $cache_file; then
38690 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38691 cat confcache >$cache_file
38692 else
38693 echo "not updating unwritable cache $cache_file"
38694 fi
38695 fi
38696 rm -f confcache
38697
38698
38699 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38700
38701
38702 THREADS_LINK=
38703 THREADS_CXXFLAGS=
38704
38705 if test "$wxUSE_THREADS" = "yes" ; then
38706 if test "$USE_BEOS" = 1; then
38707 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38708 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38709 wxUSE_THREADS="no"
38710 fi
38711 fi
38712
38713 if test "$wxUSE_THREADS" = "yes" ; then
38714
38715
38716 THREAD_OPTS="-pthread"
38717 case "${host}" in
38718 *-*-solaris2* | *-*-sunos4* )
38719 if test "x$GCC" = "xyes"; then
38720 THREAD_OPTS="-pthreads $THREAD_OPTS"
38721 else
38722 THREAD_OPTS="-mt $THREAD_OPTS"
38723 fi
38724 ;;
38725 *-*-freebsd*)
38726 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38727 ;;
38728 *-*-darwin* | *-*-cygwin* )
38729 THREAD_OPTS=""
38730 ;;
38731 *-*-aix*)
38732 THREAD_OPTS="pthreads"
38733 ;;
38734 *-hp-hpux* )
38735 if test "x$GCC" = "xyes"; then
38736 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38737 THREAD_OPTS=""
38738 else
38739 THREAD_OPTS="-mt"
38740 fi
38741 ;;
38742
38743 *-*-irix* )
38744 if test "x$GCC" = "xyes"; then
38745 THREAD_OPTS=""
38746 fi
38747 ;;
38748
38749 *-*-*UnixWare*)
38750 if test "x$GCC" != "xyes"; then
38751 THREAD_OPTS="-Ethread"
38752 fi
38753 ;;
38754 esac
38755
38756 THREAD_OPTS="$THREAD_OPTS pthread none"
38757
38758 THREADS_OK=no
38759 for flag in $THREAD_OPTS; do
38760 case $flag in
38761 none)
38762 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38763 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38764 ;;
38765
38766 -*)
38767 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38768 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38769 THREADS_CXXFLAGS="$flag"
38770 ;;
38771
38772 *)
38773 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38774 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38775 THREADS_LINK="-l$flag"
38776 ;;
38777 esac
38778
38779 save_LIBS="$LIBS"
38780 save_CXXFLAGS="$CXXFLAGS"
38781 LIBS="$THREADS_LINK $LIBS"
38782 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
38783
38784 cat >conftest.$ac_ext <<_ACEOF
38785 /* confdefs.h. */
38786 _ACEOF
38787 cat confdefs.h >>conftest.$ac_ext
38788 cat >>conftest.$ac_ext <<_ACEOF
38789 /* end confdefs.h. */
38790 #include <pthread.h>
38791 int
38792 main ()
38793 {
38794 pthread_create(0,0,0,0);
38795 ;
38796 return 0;
38797 }
38798 _ACEOF
38799 rm -f conftest.$ac_objext conftest$ac_exeext
38800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38801 (eval $ac_link) 2>conftest.er1
38802 ac_status=$?
38803 grep -v '^ *+' conftest.er1 >conftest.err
38804 rm -f conftest.er1
38805 cat conftest.err >&5
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); } &&
38808 { ac_try='test -z "$ac_cxx_werror_flag"
38809 || test ! -s conftest.err'
38810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38811 (eval $ac_try) 2>&5
38812 ac_status=$?
38813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814 (exit $ac_status); }; } &&
38815 { ac_try='test -s conftest$ac_exeext'
38816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38817 (eval $ac_try) 2>&5
38818 ac_status=$?
38819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820 (exit $ac_status); }; }; then
38821 THREADS_OK=yes
38822 else
38823 echo "$as_me: failed program was:" >&5
38824 sed 's/^/| /' conftest.$ac_ext >&5
38825
38826 fi
38827 rm -f conftest.err conftest.$ac_objext \
38828 conftest$ac_exeext conftest.$ac_ext
38829
38830 LIBS="$save_LIBS"
38831 CXXFLAGS="$save_CXXFLAGS"
38832
38833 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38834 echo "${ECHO_T}$THREADS_OK" >&6
38835 if test "x$THREADS_OK" = "xyes"; then
38836 break;
38837 fi
38838
38839 THREADS_LINK=""
38840 THREADS_CXXFLAGS=""
38841 done
38842
38843 if test "x$THREADS_OK" != "xyes"; then
38844 wxUSE_THREADS=no
38845 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38846 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38847 else
38848 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
38849 LIBS="$THREADS_LINK $LIBS"
38850
38851 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38852 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38853 flag=no
38854 case "${host}" in
38855 *-aix*)
38856 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38857 flag="-D_THREAD_SAFE"
38858 ;;
38859 *-freebsd*)
38860 flag="-D_THREAD_SAFE"
38861 ;;
38862 *-hp-hpux* )
38863 flag="-D_REENTRANT"
38864 if test "x$GCC" != "xyes"; then
38865 flag="$flag -D_RWSTD_MULTI_THREAD"
38866 fi
38867 ;;
38868 *solaris* | alpha*-osf*)
38869 flag="-D_REENTRANT"
38870 ;;
38871 esac
38872 echo "$as_me:$LINENO: result: ${flag}" >&5
38873 echo "${ECHO_T}${flag}" >&6
38874 if test "x$flag" != xno; then
38875 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
38876 fi
38877
38878 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38879 fi
38880 fi
38881
38882 if test "$wxUSE_THREADS" = "yes" ; then
38883
38884 for ac_func in thr_setconcurrency
38885 do
38886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38887 echo "$as_me:$LINENO: checking for $ac_func" >&5
38888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38889 if eval "test \"\${$as_ac_var+set}\" = set"; then
38890 echo $ECHO_N "(cached) $ECHO_C" >&6
38891 else
38892 cat >conftest.$ac_ext <<_ACEOF
38893 /* confdefs.h. */
38894 _ACEOF
38895 cat confdefs.h >>conftest.$ac_ext
38896 cat >>conftest.$ac_ext <<_ACEOF
38897 /* end confdefs.h. */
38898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38900 #define $ac_func innocuous_$ac_func
38901
38902 /* System header to define __stub macros and hopefully few prototypes,
38903 which can conflict with char $ac_func (); below.
38904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38905 <limits.h> exists even on freestanding compilers. */
38906
38907 #ifdef __STDC__
38908 # include <limits.h>
38909 #else
38910 # include <assert.h>
38911 #endif
38912
38913 #undef $ac_func
38914
38915 /* Override any gcc2 internal prototype to avoid an error. */
38916 #ifdef __cplusplus
38917 extern "C"
38918 {
38919 #endif
38920 /* We use char because int might match the return type of a gcc2
38921 builtin and then its argument prototype would still apply. */
38922 char $ac_func ();
38923 /* The GNU C library defines this for functions which it implements
38924 to always fail with ENOSYS. Some functions are actually named
38925 something starting with __ and the normal name is an alias. */
38926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38927 choke me
38928 #else
38929 char (*f) () = $ac_func;
38930 #endif
38931 #ifdef __cplusplus
38932 }
38933 #endif
38934
38935 int
38936 main ()
38937 {
38938 return f != $ac_func;
38939 ;
38940 return 0;
38941 }
38942 _ACEOF
38943 rm -f conftest.$ac_objext conftest$ac_exeext
38944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38945 (eval $ac_link) 2>conftest.er1
38946 ac_status=$?
38947 grep -v '^ *+' conftest.er1 >conftest.err
38948 rm -f conftest.er1
38949 cat conftest.err >&5
38950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38951 (exit $ac_status); } &&
38952 { ac_try='test -z "$ac_cxx_werror_flag"
38953 || test ! -s conftest.err'
38954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38955 (eval $ac_try) 2>&5
38956 ac_status=$?
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); }; } &&
38959 { ac_try='test -s conftest$ac_exeext'
38960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38961 (eval $ac_try) 2>&5
38962 ac_status=$?
38963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38964 (exit $ac_status); }; }; then
38965 eval "$as_ac_var=yes"
38966 else
38967 echo "$as_me: failed program was:" >&5
38968 sed 's/^/| /' conftest.$ac_ext >&5
38969
38970 eval "$as_ac_var=no"
38971 fi
38972 rm -f conftest.err conftest.$ac_objext \
38973 conftest$ac_exeext conftest.$ac_ext
38974 fi
38975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38977 if test `eval echo '${'$as_ac_var'}'` = yes; then
38978 cat >>confdefs.h <<_ACEOF
38979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38980 _ACEOF
38981
38982 fi
38983 done
38984
38985
38986 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38987 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38988 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38989 echo $ECHO_N "(cached) $ECHO_C" >&6
38990 else
38991
38992 cat >conftest.$ac_ext <<_ACEOF
38993 /* confdefs.h. */
38994 _ACEOF
38995 cat confdefs.h >>conftest.$ac_ext
38996 cat >>conftest.$ac_ext <<_ACEOF
38997 /* end confdefs.h. */
38998 #include <pthread.h>
38999 void ThreadCleanupFunc(void *p);
39000
39001 int
39002 main ()
39003 {
39004
39005 void *p;
39006 pthread_cleanup_push(ThreadCleanupFunc, p);
39007 pthread_cleanup_pop(0);
39008
39009 ;
39010 return 0;
39011 }
39012 _ACEOF
39013 rm -f conftest.$ac_objext
39014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39015 (eval $ac_compile) 2>conftest.er1
39016 ac_status=$?
39017 grep -v '^ *+' conftest.er1 >conftest.err
39018 rm -f conftest.er1
39019 cat conftest.err >&5
39020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021 (exit $ac_status); } &&
39022 { ac_try='test -z "$ac_cxx_werror_flag"
39023 || test ! -s conftest.err'
39024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39025 (eval $ac_try) 2>&5
39026 ac_status=$?
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); }; } &&
39029 { ac_try='test -s conftest.$ac_objext'
39030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39031 (eval $ac_try) 2>&5
39032 ac_status=$?
39033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39034 (exit $ac_status); }; }; then
39035
39036 wx_cv_func_pthread_cleanup=yes
39037
39038 else
39039 echo "$as_me: failed program was:" >&5
39040 sed 's/^/| /' conftest.$ac_ext >&5
39041
39042
39043 wx_cv_func_pthread_cleanup=no
39044
39045
39046 fi
39047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39048
39049 fi
39050 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39051 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39052 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39053 cat >>confdefs.h <<\_ACEOF
39054 #define wxHAVE_PTHREAD_CLEANUP 1
39055 _ACEOF
39056
39057 fi
39058
39059
39060 for ac_header in sched.h
39061 do
39062 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39064 echo "$as_me:$LINENO: checking for $ac_header" >&5
39065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39067 echo $ECHO_N "(cached) $ECHO_C" >&6
39068 fi
39069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39071 else
39072 # Is the header compilable?
39073 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39075 cat >conftest.$ac_ext <<_ACEOF
39076 /* confdefs.h. */
39077 _ACEOF
39078 cat confdefs.h >>conftest.$ac_ext
39079 cat >>conftest.$ac_ext <<_ACEOF
39080 /* end confdefs.h. */
39081 $ac_includes_default
39082 #include <$ac_header>
39083 _ACEOF
39084 rm -f conftest.$ac_objext
39085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39086 (eval $ac_compile) 2>conftest.er1
39087 ac_status=$?
39088 grep -v '^ *+' conftest.er1 >conftest.err
39089 rm -f conftest.er1
39090 cat conftest.err >&5
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); } &&
39093 { ac_try='test -z "$ac_cxx_werror_flag"
39094 || test ! -s conftest.err'
39095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39096 (eval $ac_try) 2>&5
39097 ac_status=$?
39098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39099 (exit $ac_status); }; } &&
39100 { ac_try='test -s conftest.$ac_objext'
39101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39102 (eval $ac_try) 2>&5
39103 ac_status=$?
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); }; }; then
39106 ac_header_compiler=yes
39107 else
39108 echo "$as_me: failed program was:" >&5
39109 sed 's/^/| /' conftest.$ac_ext >&5
39110
39111 ac_header_compiler=no
39112 fi
39113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39114 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39115 echo "${ECHO_T}$ac_header_compiler" >&6
39116
39117 # Is the header present?
39118 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39119 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39120 cat >conftest.$ac_ext <<_ACEOF
39121 /* confdefs.h. */
39122 _ACEOF
39123 cat confdefs.h >>conftest.$ac_ext
39124 cat >>conftest.$ac_ext <<_ACEOF
39125 /* end confdefs.h. */
39126 #include <$ac_header>
39127 _ACEOF
39128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39130 ac_status=$?
39131 grep -v '^ *+' conftest.er1 >conftest.err
39132 rm -f conftest.er1
39133 cat conftest.err >&5
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); } >/dev/null; then
39136 if test -s conftest.err; then
39137 ac_cpp_err=$ac_cxx_preproc_warn_flag
39138 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39139 else
39140 ac_cpp_err=
39141 fi
39142 else
39143 ac_cpp_err=yes
39144 fi
39145 if test -z "$ac_cpp_err"; then
39146 ac_header_preproc=yes
39147 else
39148 echo "$as_me: failed program was:" >&5
39149 sed 's/^/| /' conftest.$ac_ext >&5
39150
39151 ac_header_preproc=no
39152 fi
39153 rm -f conftest.err conftest.$ac_ext
39154 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39155 echo "${ECHO_T}$ac_header_preproc" >&6
39156
39157 # So? What about this header?
39158 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39159 yes:no: )
39160 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39161 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39163 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39164 ac_header_preproc=yes
39165 ;;
39166 no:yes:* )
39167 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39168 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39169 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39170 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39171 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39172 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39173 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39174 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39176 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39177 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39178 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39179 (
39180 cat <<\_ASBOX
39181 ## ----------------------------------------- ##
39182 ## Report this to wx-dev@lists.wxwidgets.org ##
39183 ## ----------------------------------------- ##
39184 _ASBOX
39185 ) |
39186 sed "s/^/$as_me: WARNING: /" >&2
39187 ;;
39188 esac
39189 echo "$as_me:$LINENO: checking for $ac_header" >&5
39190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39192 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 else
39194 eval "$as_ac_Header=\$ac_header_preproc"
39195 fi
39196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39198
39199 fi
39200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39201 cat >>confdefs.h <<_ACEOF
39202 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39203 _ACEOF
39204
39205 fi
39206
39207 done
39208
39209 if test "$ac_cv_header_sched_h" = "yes"; then
39210 echo "$as_me:$LINENO: checking for sched_yield" >&5
39211 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39212 if test "${ac_cv_func_sched_yield+set}" = set; then
39213 echo $ECHO_N "(cached) $ECHO_C" >&6
39214 else
39215 cat >conftest.$ac_ext <<_ACEOF
39216 /* confdefs.h. */
39217 _ACEOF
39218 cat confdefs.h >>conftest.$ac_ext
39219 cat >>conftest.$ac_ext <<_ACEOF
39220 /* end confdefs.h. */
39221 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39223 #define sched_yield innocuous_sched_yield
39224
39225 /* System header to define __stub macros and hopefully few prototypes,
39226 which can conflict with char sched_yield (); below.
39227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39228 <limits.h> exists even on freestanding compilers. */
39229
39230 #ifdef __STDC__
39231 # include <limits.h>
39232 #else
39233 # include <assert.h>
39234 #endif
39235
39236 #undef sched_yield
39237
39238 /* Override any gcc2 internal prototype to avoid an error. */
39239 #ifdef __cplusplus
39240 extern "C"
39241 {
39242 #endif
39243 /* We use char because int might match the return type of a gcc2
39244 builtin and then its argument prototype would still apply. */
39245 char sched_yield ();
39246 /* The GNU C library defines this for functions which it implements
39247 to always fail with ENOSYS. Some functions are actually named
39248 something starting with __ and the normal name is an alias. */
39249 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39250 choke me
39251 #else
39252 char (*f) () = sched_yield;
39253 #endif
39254 #ifdef __cplusplus
39255 }
39256 #endif
39257
39258 int
39259 main ()
39260 {
39261 return f != sched_yield;
39262 ;
39263 return 0;
39264 }
39265 _ACEOF
39266 rm -f conftest.$ac_objext conftest$ac_exeext
39267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39268 (eval $ac_link) 2>conftest.er1
39269 ac_status=$?
39270 grep -v '^ *+' conftest.er1 >conftest.err
39271 rm -f conftest.er1
39272 cat conftest.err >&5
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); } &&
39275 { ac_try='test -z "$ac_cxx_werror_flag"
39276 || test ! -s conftest.err'
39277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39278 (eval $ac_try) 2>&5
39279 ac_status=$?
39280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39281 (exit $ac_status); }; } &&
39282 { ac_try='test -s conftest$ac_exeext'
39283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39284 (eval $ac_try) 2>&5
39285 ac_status=$?
39286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39287 (exit $ac_status); }; }; then
39288 ac_cv_func_sched_yield=yes
39289 else
39290 echo "$as_me: failed program was:" >&5
39291 sed 's/^/| /' conftest.$ac_ext >&5
39292
39293 ac_cv_func_sched_yield=no
39294 fi
39295 rm -f conftest.err conftest.$ac_objext \
39296 conftest$ac_exeext conftest.$ac_ext
39297 fi
39298 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39299 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39300 if test $ac_cv_func_sched_yield = yes; then
39301 cat >>confdefs.h <<\_ACEOF
39302 #define HAVE_SCHED_YIELD 1
39303 _ACEOF
39304
39305 else
39306
39307 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39308 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39309 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39310 echo $ECHO_N "(cached) $ECHO_C" >&6
39311 else
39312 ac_check_lib_save_LIBS=$LIBS
39313 LIBS="-lposix4 $LIBS"
39314 cat >conftest.$ac_ext <<_ACEOF
39315 /* confdefs.h. */
39316 _ACEOF
39317 cat confdefs.h >>conftest.$ac_ext
39318 cat >>conftest.$ac_ext <<_ACEOF
39319 /* end confdefs.h. */
39320
39321 /* Override any gcc2 internal prototype to avoid an error. */
39322 #ifdef __cplusplus
39323 extern "C"
39324 #endif
39325 /* We use char because int might match the return type of a gcc2
39326 builtin and then its argument prototype would still apply. */
39327 char sched_yield ();
39328 int
39329 main ()
39330 {
39331 sched_yield ();
39332 ;
39333 return 0;
39334 }
39335 _ACEOF
39336 rm -f conftest.$ac_objext conftest$ac_exeext
39337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39338 (eval $ac_link) 2>conftest.er1
39339 ac_status=$?
39340 grep -v '^ *+' conftest.er1 >conftest.err
39341 rm -f conftest.er1
39342 cat conftest.err >&5
39343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39344 (exit $ac_status); } &&
39345 { ac_try='test -z "$ac_cxx_werror_flag"
39346 || test ! -s conftest.err'
39347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39348 (eval $ac_try) 2>&5
39349 ac_status=$?
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); }; } &&
39352 { ac_try='test -s conftest$ac_exeext'
39353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39354 (eval $ac_try) 2>&5
39355 ac_status=$?
39356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357 (exit $ac_status); }; }; then
39358 ac_cv_lib_posix4_sched_yield=yes
39359 else
39360 echo "$as_me: failed program was:" >&5
39361 sed 's/^/| /' conftest.$ac_ext >&5
39362
39363 ac_cv_lib_posix4_sched_yield=no
39364 fi
39365 rm -f conftest.err conftest.$ac_objext \
39366 conftest$ac_exeext conftest.$ac_ext
39367 LIBS=$ac_check_lib_save_LIBS
39368 fi
39369 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39370 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39371 if test $ac_cv_lib_posix4_sched_yield = yes; then
39372 cat >>confdefs.h <<\_ACEOF
39373 #define HAVE_SCHED_YIELD 1
39374 _ACEOF
39375 POSIX4_LINK=" -lposix4"
39376 else
39377 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39378 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39379
39380 fi
39381
39382
39383
39384 fi
39385
39386 fi
39387
39388 HAVE_PRIOR_FUNCS=0
39389 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39390 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39391 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39392 echo $ECHO_N "(cached) $ECHO_C" >&6
39393 else
39394 cat >conftest.$ac_ext <<_ACEOF
39395 /* confdefs.h. */
39396 _ACEOF
39397 cat confdefs.h >>conftest.$ac_ext
39398 cat >>conftest.$ac_ext <<_ACEOF
39399 /* end confdefs.h. */
39400 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39402 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39403
39404 /* System header to define __stub macros and hopefully few prototypes,
39405 which can conflict with char pthread_attr_getschedpolicy (); below.
39406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39407 <limits.h> exists even on freestanding compilers. */
39408
39409 #ifdef __STDC__
39410 # include <limits.h>
39411 #else
39412 # include <assert.h>
39413 #endif
39414
39415 #undef pthread_attr_getschedpolicy
39416
39417 /* Override any gcc2 internal prototype to avoid an error. */
39418 #ifdef __cplusplus
39419 extern "C"
39420 {
39421 #endif
39422 /* We use char because int might match the return type of a gcc2
39423 builtin and then its argument prototype would still apply. */
39424 char pthread_attr_getschedpolicy ();
39425 /* The GNU C library defines this for functions which it implements
39426 to always fail with ENOSYS. Some functions are actually named
39427 something starting with __ and the normal name is an alias. */
39428 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39429 choke me
39430 #else
39431 char (*f) () = pthread_attr_getschedpolicy;
39432 #endif
39433 #ifdef __cplusplus
39434 }
39435 #endif
39436
39437 int
39438 main ()
39439 {
39440 return f != pthread_attr_getschedpolicy;
39441 ;
39442 return 0;
39443 }
39444 _ACEOF
39445 rm -f conftest.$ac_objext conftest$ac_exeext
39446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39447 (eval $ac_link) 2>conftest.er1
39448 ac_status=$?
39449 grep -v '^ *+' conftest.er1 >conftest.err
39450 rm -f conftest.er1
39451 cat conftest.err >&5
39452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39453 (exit $ac_status); } &&
39454 { ac_try='test -z "$ac_cxx_werror_flag"
39455 || test ! -s conftest.err'
39456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39457 (eval $ac_try) 2>&5
39458 ac_status=$?
39459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39460 (exit $ac_status); }; } &&
39461 { ac_try='test -s conftest$ac_exeext'
39462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39463 (eval $ac_try) 2>&5
39464 ac_status=$?
39465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39466 (exit $ac_status); }; }; then
39467 ac_cv_func_pthread_attr_getschedpolicy=yes
39468 else
39469 echo "$as_me: failed program was:" >&5
39470 sed 's/^/| /' conftest.$ac_ext >&5
39471
39472 ac_cv_func_pthread_attr_getschedpolicy=no
39473 fi
39474 rm -f conftest.err conftest.$ac_objext \
39475 conftest$ac_exeext conftest.$ac_ext
39476 fi
39477 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39478 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39479 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39480 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39481 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39482 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39483 echo $ECHO_N "(cached) $ECHO_C" >&6
39484 else
39485 cat >conftest.$ac_ext <<_ACEOF
39486 /* confdefs.h. */
39487 _ACEOF
39488 cat confdefs.h >>conftest.$ac_ext
39489 cat >>conftest.$ac_ext <<_ACEOF
39490 /* end confdefs.h. */
39491 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39493 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39494
39495 /* System header to define __stub macros and hopefully few prototypes,
39496 which can conflict with char pthread_attr_setschedparam (); below.
39497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39498 <limits.h> exists even on freestanding compilers. */
39499
39500 #ifdef __STDC__
39501 # include <limits.h>
39502 #else
39503 # include <assert.h>
39504 #endif
39505
39506 #undef pthread_attr_setschedparam
39507
39508 /* Override any gcc2 internal prototype to avoid an error. */
39509 #ifdef __cplusplus
39510 extern "C"
39511 {
39512 #endif
39513 /* We use char because int might match the return type of a gcc2
39514 builtin and then its argument prototype would still apply. */
39515 char pthread_attr_setschedparam ();
39516 /* The GNU C library defines this for functions which it implements
39517 to always fail with ENOSYS. Some functions are actually named
39518 something starting with __ and the normal name is an alias. */
39519 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39520 choke me
39521 #else
39522 char (*f) () = pthread_attr_setschedparam;
39523 #endif
39524 #ifdef __cplusplus
39525 }
39526 #endif
39527
39528 int
39529 main ()
39530 {
39531 return f != pthread_attr_setschedparam;
39532 ;
39533 return 0;
39534 }
39535 _ACEOF
39536 rm -f conftest.$ac_objext conftest$ac_exeext
39537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39538 (eval $ac_link) 2>conftest.er1
39539 ac_status=$?
39540 grep -v '^ *+' conftest.er1 >conftest.err
39541 rm -f conftest.er1
39542 cat conftest.err >&5
39543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39544 (exit $ac_status); } &&
39545 { ac_try='test -z "$ac_cxx_werror_flag"
39546 || test ! -s conftest.err'
39547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39548 (eval $ac_try) 2>&5
39549 ac_status=$?
39550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39551 (exit $ac_status); }; } &&
39552 { ac_try='test -s conftest$ac_exeext'
39553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39554 (eval $ac_try) 2>&5
39555 ac_status=$?
39556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39557 (exit $ac_status); }; }; then
39558 ac_cv_func_pthread_attr_setschedparam=yes
39559 else
39560 echo "$as_me: failed program was:" >&5
39561 sed 's/^/| /' conftest.$ac_ext >&5
39562
39563 ac_cv_func_pthread_attr_setschedparam=no
39564 fi
39565 rm -f conftest.err conftest.$ac_objext \
39566 conftest$ac_exeext conftest.$ac_ext
39567 fi
39568 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39569 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39570 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39571 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39572 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39573 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39574 echo $ECHO_N "(cached) $ECHO_C" >&6
39575 else
39576 cat >conftest.$ac_ext <<_ACEOF
39577 /* confdefs.h. */
39578 _ACEOF
39579 cat confdefs.h >>conftest.$ac_ext
39580 cat >>conftest.$ac_ext <<_ACEOF
39581 /* end confdefs.h. */
39582 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39584 #define sched_get_priority_max innocuous_sched_get_priority_max
39585
39586 /* System header to define __stub macros and hopefully few prototypes,
39587 which can conflict with char sched_get_priority_max (); below.
39588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39589 <limits.h> exists even on freestanding compilers. */
39590
39591 #ifdef __STDC__
39592 # include <limits.h>
39593 #else
39594 # include <assert.h>
39595 #endif
39596
39597 #undef sched_get_priority_max
39598
39599 /* Override any gcc2 internal prototype to avoid an error. */
39600 #ifdef __cplusplus
39601 extern "C"
39602 {
39603 #endif
39604 /* We use char because int might match the return type of a gcc2
39605 builtin and then its argument prototype would still apply. */
39606 char sched_get_priority_max ();
39607 /* The GNU C library defines this for functions which it implements
39608 to always fail with ENOSYS. Some functions are actually named
39609 something starting with __ and the normal name is an alias. */
39610 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39611 choke me
39612 #else
39613 char (*f) () = sched_get_priority_max;
39614 #endif
39615 #ifdef __cplusplus
39616 }
39617 #endif
39618
39619 int
39620 main ()
39621 {
39622 return f != sched_get_priority_max;
39623 ;
39624 return 0;
39625 }
39626 _ACEOF
39627 rm -f conftest.$ac_objext conftest$ac_exeext
39628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39629 (eval $ac_link) 2>conftest.er1
39630 ac_status=$?
39631 grep -v '^ *+' conftest.er1 >conftest.err
39632 rm -f conftest.er1
39633 cat conftest.err >&5
39634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39635 (exit $ac_status); } &&
39636 { ac_try='test -z "$ac_cxx_werror_flag"
39637 || test ! -s conftest.err'
39638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39639 (eval $ac_try) 2>&5
39640 ac_status=$?
39641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39642 (exit $ac_status); }; } &&
39643 { ac_try='test -s conftest$ac_exeext'
39644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39645 (eval $ac_try) 2>&5
39646 ac_status=$?
39647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39648 (exit $ac_status); }; }; then
39649 ac_cv_func_sched_get_priority_max=yes
39650 else
39651 echo "$as_me: failed program was:" >&5
39652 sed 's/^/| /' conftest.$ac_ext >&5
39653
39654 ac_cv_func_sched_get_priority_max=no
39655 fi
39656 rm -f conftest.err conftest.$ac_objext \
39657 conftest$ac_exeext conftest.$ac_ext
39658 fi
39659 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39660 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39661 if test $ac_cv_func_sched_get_priority_max = yes; then
39662 HAVE_PRIOR_FUNCS=1
39663 else
39664 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39665 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39666 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39667 echo $ECHO_N "(cached) $ECHO_C" >&6
39668 else
39669 ac_check_lib_save_LIBS=$LIBS
39670 LIBS="-lposix4 $LIBS"
39671 cat >conftest.$ac_ext <<_ACEOF
39672 /* confdefs.h. */
39673 _ACEOF
39674 cat confdefs.h >>conftest.$ac_ext
39675 cat >>conftest.$ac_ext <<_ACEOF
39676 /* end confdefs.h. */
39677
39678 /* Override any gcc2 internal prototype to avoid an error. */
39679 #ifdef __cplusplus
39680 extern "C"
39681 #endif
39682 /* We use char because int might match the return type of a gcc2
39683 builtin and then its argument prototype would still apply. */
39684 char sched_get_priority_max ();
39685 int
39686 main ()
39687 {
39688 sched_get_priority_max ();
39689 ;
39690 return 0;
39691 }
39692 _ACEOF
39693 rm -f conftest.$ac_objext conftest$ac_exeext
39694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39695 (eval $ac_link) 2>conftest.er1
39696 ac_status=$?
39697 grep -v '^ *+' conftest.er1 >conftest.err
39698 rm -f conftest.er1
39699 cat conftest.err >&5
39700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39701 (exit $ac_status); } &&
39702 { ac_try='test -z "$ac_cxx_werror_flag"
39703 || test ! -s conftest.err'
39704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39705 (eval $ac_try) 2>&5
39706 ac_status=$?
39707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39708 (exit $ac_status); }; } &&
39709 { ac_try='test -s conftest$ac_exeext'
39710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39711 (eval $ac_try) 2>&5
39712 ac_status=$?
39713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39714 (exit $ac_status); }; }; then
39715 ac_cv_lib_posix4_sched_get_priority_max=yes
39716 else
39717 echo "$as_me: failed program was:" >&5
39718 sed 's/^/| /' conftest.$ac_ext >&5
39719
39720 ac_cv_lib_posix4_sched_get_priority_max=no
39721 fi
39722 rm -f conftest.err conftest.$ac_objext \
39723 conftest$ac_exeext conftest.$ac_ext
39724 LIBS=$ac_check_lib_save_LIBS
39725 fi
39726 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39727 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39728 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39729
39730 HAVE_PRIOR_FUNCS=1
39731 POSIX4_LINK=" -lposix4"
39732
39733 fi
39734
39735
39736 fi
39737
39738
39739 fi
39740
39741
39742 fi
39743
39744
39745 if test "$HAVE_PRIOR_FUNCS" = 1; then
39746 cat >>confdefs.h <<\_ACEOF
39747 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39748 _ACEOF
39749
39750 else
39751 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39752 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39753 fi
39754
39755 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39756 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39757 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39758 echo $ECHO_N "(cached) $ECHO_C" >&6
39759 else
39760 cat >conftest.$ac_ext <<_ACEOF
39761 /* confdefs.h. */
39762 _ACEOF
39763 cat confdefs.h >>conftest.$ac_ext
39764 cat >>conftest.$ac_ext <<_ACEOF
39765 /* end confdefs.h. */
39766 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39768 #define pthread_cancel innocuous_pthread_cancel
39769
39770 /* System header to define __stub macros and hopefully few prototypes,
39771 which can conflict with char pthread_cancel (); below.
39772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39773 <limits.h> exists even on freestanding compilers. */
39774
39775 #ifdef __STDC__
39776 # include <limits.h>
39777 #else
39778 # include <assert.h>
39779 #endif
39780
39781 #undef pthread_cancel
39782
39783 /* Override any gcc2 internal prototype to avoid an error. */
39784 #ifdef __cplusplus
39785 extern "C"
39786 {
39787 #endif
39788 /* We use char because int might match the return type of a gcc2
39789 builtin and then its argument prototype would still apply. */
39790 char pthread_cancel ();
39791 /* The GNU C library defines this for functions which it implements
39792 to always fail with ENOSYS. Some functions are actually named
39793 something starting with __ and the normal name is an alias. */
39794 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39795 choke me
39796 #else
39797 char (*f) () = pthread_cancel;
39798 #endif
39799 #ifdef __cplusplus
39800 }
39801 #endif
39802
39803 int
39804 main ()
39805 {
39806 return f != pthread_cancel;
39807 ;
39808 return 0;
39809 }
39810 _ACEOF
39811 rm -f conftest.$ac_objext conftest$ac_exeext
39812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39813 (eval $ac_link) 2>conftest.er1
39814 ac_status=$?
39815 grep -v '^ *+' conftest.er1 >conftest.err
39816 rm -f conftest.er1
39817 cat conftest.err >&5
39818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39819 (exit $ac_status); } &&
39820 { ac_try='test -z "$ac_cxx_werror_flag"
39821 || test ! -s conftest.err'
39822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39823 (eval $ac_try) 2>&5
39824 ac_status=$?
39825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39826 (exit $ac_status); }; } &&
39827 { ac_try='test -s conftest$ac_exeext'
39828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39829 (eval $ac_try) 2>&5
39830 ac_status=$?
39831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39832 (exit $ac_status); }; }; then
39833 ac_cv_func_pthread_cancel=yes
39834 else
39835 echo "$as_me: failed program was:" >&5
39836 sed 's/^/| /' conftest.$ac_ext >&5
39837
39838 ac_cv_func_pthread_cancel=no
39839 fi
39840 rm -f conftest.err conftest.$ac_objext \
39841 conftest$ac_exeext conftest.$ac_ext
39842 fi
39843 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39844 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39845 if test $ac_cv_func_pthread_cancel = yes; then
39846 cat >>confdefs.h <<\_ACEOF
39847 #define HAVE_PTHREAD_CANCEL 1
39848 _ACEOF
39849
39850 else
39851 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39852 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39853 fi
39854
39855
39856 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39857 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39858 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39859 echo $ECHO_N "(cached) $ECHO_C" >&6
39860 else
39861 cat >conftest.$ac_ext <<_ACEOF
39862 /* confdefs.h. */
39863 _ACEOF
39864 cat confdefs.h >>conftest.$ac_ext
39865 cat >>conftest.$ac_ext <<_ACEOF
39866 /* end confdefs.h. */
39867 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39869 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39870
39871 /* System header to define __stub macros and hopefully few prototypes,
39872 which can conflict with char pthread_attr_setstacksize (); below.
39873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39874 <limits.h> exists even on freestanding compilers. */
39875
39876 #ifdef __STDC__
39877 # include <limits.h>
39878 #else
39879 # include <assert.h>
39880 #endif
39881
39882 #undef pthread_attr_setstacksize
39883
39884 /* Override any gcc2 internal prototype to avoid an error. */
39885 #ifdef __cplusplus
39886 extern "C"
39887 {
39888 #endif
39889 /* We use char because int might match the return type of a gcc2
39890 builtin and then its argument prototype would still apply. */
39891 char pthread_attr_setstacksize ();
39892 /* The GNU C library defines this for functions which it implements
39893 to always fail with ENOSYS. Some functions are actually named
39894 something starting with __ and the normal name is an alias. */
39895 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39896 choke me
39897 #else
39898 char (*f) () = pthread_attr_setstacksize;
39899 #endif
39900 #ifdef __cplusplus
39901 }
39902 #endif
39903
39904 int
39905 main ()
39906 {
39907 return f != pthread_attr_setstacksize;
39908 ;
39909 return 0;
39910 }
39911 _ACEOF
39912 rm -f conftest.$ac_objext conftest$ac_exeext
39913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39914 (eval $ac_link) 2>conftest.er1
39915 ac_status=$?
39916 grep -v '^ *+' conftest.er1 >conftest.err
39917 rm -f conftest.er1
39918 cat conftest.err >&5
39919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39920 (exit $ac_status); } &&
39921 { ac_try='test -z "$ac_cxx_werror_flag"
39922 || test ! -s conftest.err'
39923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39924 (eval $ac_try) 2>&5
39925 ac_status=$?
39926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39927 (exit $ac_status); }; } &&
39928 { ac_try='test -s conftest$ac_exeext'
39929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39930 (eval $ac_try) 2>&5
39931 ac_status=$?
39932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39933 (exit $ac_status); }; }; then
39934 ac_cv_func_pthread_attr_setstacksize=yes
39935 else
39936 echo "$as_me: failed program was:" >&5
39937 sed 's/^/| /' conftest.$ac_ext >&5
39938
39939 ac_cv_func_pthread_attr_setstacksize=no
39940 fi
39941 rm -f conftest.err conftest.$ac_objext \
39942 conftest$ac_exeext conftest.$ac_ext
39943 fi
39944 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39945 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39946 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39947 cat >>confdefs.h <<\_ACEOF
39948 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39949 _ACEOF
39950
39951 fi
39952
39953
39954
39955 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39956 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39957 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39958 echo $ECHO_N "(cached) $ECHO_C" >&6
39959 else
39960
39961 cat >conftest.$ac_ext <<_ACEOF
39962 /* confdefs.h. */
39963 _ACEOF
39964 cat confdefs.h >>conftest.$ac_ext
39965 cat >>conftest.$ac_ext <<_ACEOF
39966 /* end confdefs.h. */
39967 #include <pthread.h>
39968 int
39969 main ()
39970 {
39971
39972 pthread_mutexattr_t attr;
39973 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39974
39975 ;
39976 return 0;
39977 }
39978 _ACEOF
39979 rm -f conftest.$ac_objext
39980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39981 (eval $ac_compile) 2>conftest.er1
39982 ac_status=$?
39983 grep -v '^ *+' conftest.er1 >conftest.err
39984 rm -f conftest.er1
39985 cat conftest.err >&5
39986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39987 (exit $ac_status); } &&
39988 { ac_try='test -z "$ac_cxx_werror_flag"
39989 || test ! -s conftest.err'
39990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39991 (eval $ac_try) 2>&5
39992 ac_status=$?
39993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39994 (exit $ac_status); }; } &&
39995 { ac_try='test -s conftest.$ac_objext'
39996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39997 (eval $ac_try) 2>&5
39998 ac_status=$?
39999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40000 (exit $ac_status); }; }; then
40001 wx_cv_type_pthread_mutexattr_t=yes
40002 else
40003 echo "$as_me: failed program was:" >&5
40004 sed 's/^/| /' conftest.$ac_ext >&5
40005
40006 wx_cv_type_pthread_mutexattr_t=no
40007
40008 fi
40009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40010
40011 fi
40012 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40013 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40014
40015 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40016 cat >>confdefs.h <<\_ACEOF
40017 #define HAVE_PTHREAD_MUTEXATTR_T 1
40018 _ACEOF
40019
40020
40021 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40022 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40023 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40024 echo $ECHO_N "(cached) $ECHO_C" >&6
40025 else
40026
40027 cat >conftest.$ac_ext <<_ACEOF
40028 /* confdefs.h. */
40029 _ACEOF
40030 cat confdefs.h >>conftest.$ac_ext
40031 cat >>conftest.$ac_ext <<_ACEOF
40032 /* end confdefs.h. */
40033 #include <pthread.h>
40034 int
40035 main ()
40036 {
40037
40038 pthread_mutexattr_t attr;
40039 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40040
40041 ;
40042 return 0;
40043 }
40044 _ACEOF
40045 rm -f conftest.$ac_objext
40046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40047 (eval $ac_compile) 2>conftest.er1
40048 ac_status=$?
40049 grep -v '^ *+' conftest.er1 >conftest.err
40050 rm -f conftest.er1
40051 cat conftest.err >&5
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); } &&
40054 { ac_try='test -z "$ac_cxx_werror_flag"
40055 || test ! -s conftest.err'
40056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40057 (eval $ac_try) 2>&5
40058 ac_status=$?
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); }; } &&
40061 { ac_try='test -s conftest.$ac_objext'
40062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40063 (eval $ac_try) 2>&5
40064 ac_status=$?
40065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40066 (exit $ac_status); }; }; then
40067 wx_cv_func_pthread_mutexattr_settype_decl=yes
40068 else
40069 echo "$as_me: failed program was:" >&5
40070 sed 's/^/| /' conftest.$ac_ext >&5
40071
40072 wx_cv_func_pthread_mutexattr_settype_decl=no
40073
40074 fi
40075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40076
40077 fi
40078 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40079 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40080 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40081 cat >>confdefs.h <<\_ACEOF
40082 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40083 _ACEOF
40084
40085 fi
40086 else
40087 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40088 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40089 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40090 echo $ECHO_N "(cached) $ECHO_C" >&6
40091 else
40092
40093 cat >conftest.$ac_ext <<_ACEOF
40094 /* confdefs.h. */
40095 _ACEOF
40096 cat confdefs.h >>conftest.$ac_ext
40097 cat >>conftest.$ac_ext <<_ACEOF
40098 /* end confdefs.h. */
40099 #include <pthread.h>
40100 int
40101 main ()
40102 {
40103
40104 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40105
40106 ;
40107 return 0;
40108 }
40109 _ACEOF
40110 rm -f conftest.$ac_objext
40111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40112 (eval $ac_compile) 2>conftest.er1
40113 ac_status=$?
40114 grep -v '^ *+' conftest.er1 >conftest.err
40115 rm -f conftest.er1
40116 cat conftest.err >&5
40117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40118 (exit $ac_status); } &&
40119 { ac_try='test -z "$ac_cxx_werror_flag"
40120 || test ! -s conftest.err'
40121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40122 (eval $ac_try) 2>&5
40123 ac_status=$?
40124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40125 (exit $ac_status); }; } &&
40126 { ac_try='test -s conftest.$ac_objext'
40127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40128 (eval $ac_try) 2>&5
40129 ac_status=$?
40130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40131 (exit $ac_status); }; }; then
40132
40133 wx_cv_type_pthread_rec_mutex_init=yes
40134
40135 else
40136 echo "$as_me: failed program was:" >&5
40137 sed 's/^/| /' conftest.$ac_ext >&5
40138
40139
40140 wx_cv_type_pthread_rec_mutex_init=no
40141
40142
40143 fi
40144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40145
40146 fi
40147 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40148 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40149 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40150 cat >>confdefs.h <<\_ACEOF
40151 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40152 _ACEOF
40153
40154 else
40155 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40156 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40157 fi
40158 fi
40159 fi
40160
40161 else
40162 if test "$wxUSE_THREADS" = "yes" ; then
40163 case "${host}" in
40164 *-*-mingw32* )
40165 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40166 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40167 if test "${wx_cv_cflags_mthread+set}" = set; then
40168 echo $ECHO_N "(cached) $ECHO_C" >&6
40169 else
40170
40171 CXXFLAGS_OLD="$CXXFLAGS"
40172 CXXFLAGS="-mthreads $CXXFLAGS"
40173 cat >conftest.$ac_ext <<_ACEOF
40174 /* confdefs.h. */
40175 _ACEOF
40176 cat confdefs.h >>conftest.$ac_ext
40177 cat >>conftest.$ac_ext <<_ACEOF
40178 /* end confdefs.h. */
40179
40180 int
40181 main ()
40182 {
40183
40184 ;
40185 return 0;
40186 }
40187 _ACEOF
40188 rm -f conftest.$ac_objext
40189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40190 (eval $ac_compile) 2>conftest.er1
40191 ac_status=$?
40192 grep -v '^ *+' conftest.er1 >conftest.err
40193 rm -f conftest.er1
40194 cat conftest.err >&5
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); } &&
40197 { ac_try='test -z "$ac_cxx_werror_flag"
40198 || test ! -s conftest.err'
40199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40200 (eval $ac_try) 2>&5
40201 ac_status=$?
40202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40203 (exit $ac_status); }; } &&
40204 { ac_try='test -s conftest.$ac_objext'
40205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40206 (eval $ac_try) 2>&5
40207 ac_status=$?
40208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40209 (exit $ac_status); }; }; then
40210 wx_cv_cflags_mthread=yes
40211 else
40212 echo "$as_me: failed program was:" >&5
40213 sed 's/^/| /' conftest.$ac_ext >&5
40214
40215 wx_cv_cflags_mthread=no
40216
40217 fi
40218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40219
40220
40221 fi
40222 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40223 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40224
40225 if test "$wx_cv_cflags_mthread" = "yes"; then
40226 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40227 LDFLAGS="$LDFLAGS -mthreads"
40228 else
40229 CXXFLAGS="$CXXFLAGS_OLD"
40230 fi
40231 ;;
40232 *-pc-os2*emx )
40233 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40234 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40235 LDFLAGS="$LDFLAGS -Zmt"
40236 ;;
40237 esac
40238 fi
40239 fi
40240
40241 echo "$as_me:$LINENO: checking for localtime_r" >&5
40242 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40243 if test "${ac_cv_func_localtime_r+set}" = set; then
40244 echo $ECHO_N "(cached) $ECHO_C" >&6
40245 else
40246 cat >conftest.$ac_ext <<_ACEOF
40247 /* confdefs.h. */
40248 _ACEOF
40249 cat confdefs.h >>conftest.$ac_ext
40250 cat >>conftest.$ac_ext <<_ACEOF
40251 /* end confdefs.h. */
40252 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40254 #define localtime_r innocuous_localtime_r
40255
40256 /* System header to define __stub macros and hopefully few prototypes,
40257 which can conflict with char localtime_r (); below.
40258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40259 <limits.h> exists even on freestanding compilers. */
40260
40261 #ifdef __STDC__
40262 # include <limits.h>
40263 #else
40264 # include <assert.h>
40265 #endif
40266
40267 #undef localtime_r
40268
40269 /* Override any gcc2 internal prototype to avoid an error. */
40270 #ifdef __cplusplus
40271 extern "C"
40272 {
40273 #endif
40274 /* We use char because int might match the return type of a gcc2
40275 builtin and then its argument prototype would still apply. */
40276 char localtime_r ();
40277 /* The GNU C library defines this for functions which it implements
40278 to always fail with ENOSYS. Some functions are actually named
40279 something starting with __ and the normal name is an alias. */
40280 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40281 choke me
40282 #else
40283 char (*f) () = localtime_r;
40284 #endif
40285 #ifdef __cplusplus
40286 }
40287 #endif
40288
40289 int
40290 main ()
40291 {
40292 return f != localtime_r;
40293 ;
40294 return 0;
40295 }
40296 _ACEOF
40297 rm -f conftest.$ac_objext conftest$ac_exeext
40298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40299 (eval $ac_link) 2>conftest.er1
40300 ac_status=$?
40301 grep -v '^ *+' conftest.er1 >conftest.err
40302 rm -f conftest.er1
40303 cat conftest.err >&5
40304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40305 (exit $ac_status); } &&
40306 { ac_try='test -z "$ac_cxx_werror_flag"
40307 || test ! -s conftest.err'
40308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40309 (eval $ac_try) 2>&5
40310 ac_status=$?
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); }; } &&
40313 { ac_try='test -s conftest$ac_exeext'
40314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40315 (eval $ac_try) 2>&5
40316 ac_status=$?
40317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318 (exit $ac_status); }; }; then
40319 ac_cv_func_localtime_r=yes
40320 else
40321 echo "$as_me: failed program was:" >&5
40322 sed 's/^/| /' conftest.$ac_ext >&5
40323
40324 ac_cv_func_localtime_r=no
40325 fi
40326 rm -f conftest.err conftest.$ac_objext \
40327 conftest$ac_exeext conftest.$ac_ext
40328 fi
40329 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40330 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40331 if test $ac_cv_func_localtime_r = yes; then
40332 cat >>confdefs.h <<\_ACEOF
40333 #define HAVE_LOCALTIME_R 1
40334 _ACEOF
40335
40336 fi
40337
40338 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40339 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40340 if test "${ac_cv_func_gmtime_r+set}" = set; then
40341 echo $ECHO_N "(cached) $ECHO_C" >&6
40342 else
40343 cat >conftest.$ac_ext <<_ACEOF
40344 /* confdefs.h. */
40345 _ACEOF
40346 cat confdefs.h >>conftest.$ac_ext
40347 cat >>conftest.$ac_ext <<_ACEOF
40348 /* end confdefs.h. */
40349 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40351 #define gmtime_r innocuous_gmtime_r
40352
40353 /* System header to define __stub macros and hopefully few prototypes,
40354 which can conflict with char gmtime_r (); below.
40355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40356 <limits.h> exists even on freestanding compilers. */
40357
40358 #ifdef __STDC__
40359 # include <limits.h>
40360 #else
40361 # include <assert.h>
40362 #endif
40363
40364 #undef gmtime_r
40365
40366 /* Override any gcc2 internal prototype to avoid an error. */
40367 #ifdef __cplusplus
40368 extern "C"
40369 {
40370 #endif
40371 /* We use char because int might match the return type of a gcc2
40372 builtin and then its argument prototype would still apply. */
40373 char gmtime_r ();
40374 /* The GNU C library defines this for functions which it implements
40375 to always fail with ENOSYS. Some functions are actually named
40376 something starting with __ and the normal name is an alias. */
40377 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40378 choke me
40379 #else
40380 char (*f) () = gmtime_r;
40381 #endif
40382 #ifdef __cplusplus
40383 }
40384 #endif
40385
40386 int
40387 main ()
40388 {
40389 return f != gmtime_r;
40390 ;
40391 return 0;
40392 }
40393 _ACEOF
40394 rm -f conftest.$ac_objext conftest$ac_exeext
40395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40396 (eval $ac_link) 2>conftest.er1
40397 ac_status=$?
40398 grep -v '^ *+' conftest.er1 >conftest.err
40399 rm -f conftest.er1
40400 cat conftest.err >&5
40401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40402 (exit $ac_status); } &&
40403 { ac_try='test -z "$ac_cxx_werror_flag"
40404 || test ! -s conftest.err'
40405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40406 (eval $ac_try) 2>&5
40407 ac_status=$?
40408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40409 (exit $ac_status); }; } &&
40410 { ac_try='test -s conftest$ac_exeext'
40411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40412 (eval $ac_try) 2>&5
40413 ac_status=$?
40414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415 (exit $ac_status); }; }; then
40416 ac_cv_func_gmtime_r=yes
40417 else
40418 echo "$as_me: failed program was:" >&5
40419 sed 's/^/| /' conftest.$ac_ext >&5
40420
40421 ac_cv_func_gmtime_r=no
40422 fi
40423 rm -f conftest.err conftest.$ac_objext \
40424 conftest$ac_exeext conftest.$ac_ext
40425 fi
40426 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40427 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40428 if test $ac_cv_func_gmtime_r = yes; then
40429 cat >>confdefs.h <<\_ACEOF
40430 #define HAVE_GMTIME_R 1
40431 _ACEOF
40432
40433 fi
40434
40435 echo "$as_me:$LINENO: checking for readdir_r" >&5
40436 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40437 if test "${ac_cv_func_readdir_r+set}" = set; then
40438 echo $ECHO_N "(cached) $ECHO_C" >&6
40439 else
40440 cat >conftest.$ac_ext <<_ACEOF
40441 /* confdefs.h. */
40442 _ACEOF
40443 cat confdefs.h >>conftest.$ac_ext
40444 cat >>conftest.$ac_ext <<_ACEOF
40445 /* end confdefs.h. */
40446 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40448 #define readdir_r innocuous_readdir_r
40449
40450 /* System header to define __stub macros and hopefully few prototypes,
40451 which can conflict with char readdir_r (); below.
40452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40453 <limits.h> exists even on freestanding compilers. */
40454
40455 #ifdef __STDC__
40456 # include <limits.h>
40457 #else
40458 # include <assert.h>
40459 #endif
40460
40461 #undef readdir_r
40462
40463 /* Override any gcc2 internal prototype to avoid an error. */
40464 #ifdef __cplusplus
40465 extern "C"
40466 {
40467 #endif
40468 /* We use char because int might match the return type of a gcc2
40469 builtin and then its argument prototype would still apply. */
40470 char readdir_r ();
40471 /* The GNU C library defines this for functions which it implements
40472 to always fail with ENOSYS. Some functions are actually named
40473 something starting with __ and the normal name is an alias. */
40474 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40475 choke me
40476 #else
40477 char (*f) () = readdir_r;
40478 #endif
40479 #ifdef __cplusplus
40480 }
40481 #endif
40482
40483 int
40484 main ()
40485 {
40486 return f != readdir_r;
40487 ;
40488 return 0;
40489 }
40490 _ACEOF
40491 rm -f conftest.$ac_objext conftest$ac_exeext
40492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40493 (eval $ac_link) 2>conftest.er1
40494 ac_status=$?
40495 grep -v '^ *+' conftest.er1 >conftest.err
40496 rm -f conftest.er1
40497 cat conftest.err >&5
40498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499 (exit $ac_status); } &&
40500 { ac_try='test -z "$ac_cxx_werror_flag"
40501 || test ! -s conftest.err'
40502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40503 (eval $ac_try) 2>&5
40504 ac_status=$?
40505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40506 (exit $ac_status); }; } &&
40507 { ac_try='test -s conftest$ac_exeext'
40508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40509 (eval $ac_try) 2>&5
40510 ac_status=$?
40511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40512 (exit $ac_status); }; }; then
40513 ac_cv_func_readdir_r=yes
40514 else
40515 echo "$as_me: failed program was:" >&5
40516 sed 's/^/| /' conftest.$ac_ext >&5
40517
40518 ac_cv_func_readdir_r=no
40519 fi
40520 rm -f conftest.err conftest.$ac_objext \
40521 conftest$ac_exeext conftest.$ac_ext
40522 fi
40523 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40524 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40525 if test $ac_cv_func_readdir_r = yes; then
40526 cat >>confdefs.h <<\_ACEOF
40527 #define HAVE_READDIR_R 1
40528 _ACEOF
40529
40530 fi
40531
40532
40533
40534
40535 ac_ext=c
40536 ac_cpp='$CPP $CPPFLAGS'
40537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40540
40541 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40542 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40543
40544 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40545 echo $ECHO_N "(cached) $ECHO_C" >&6
40546 else
40547
40548
40549 ################################################################
40550
40551 ac_cv_func_which_gethostbyname_r=unknown
40552
40553 #
40554 # ONE ARGUMENT (sanity check)
40555 #
40556
40557 # This should fail, as there is no variant of gethostbyname_r() that takes
40558 # a single argument. If it actually compiles, then we can assume that
40559 # netdb.h is not declaring the function, and the compiler is thereby
40560 # assuming an implicit prototype. In which case, we're out of luck.
40561 #
40562 cat >conftest.$ac_ext <<_ACEOF
40563 /* confdefs.h. */
40564 _ACEOF
40565 cat confdefs.h >>conftest.$ac_ext
40566 cat >>conftest.$ac_ext <<_ACEOF
40567 /* end confdefs.h. */
40568 #include <netdb.h>
40569 int
40570 main ()
40571 {
40572
40573 char *name = "www.gnu.org";
40574 (void)gethostbyname_r(name) /* ; */
40575
40576 ;
40577 return 0;
40578 }
40579 _ACEOF
40580 rm -f conftest.$ac_objext
40581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40582 (eval $ac_compile) 2>conftest.er1
40583 ac_status=$?
40584 grep -v '^ *+' conftest.er1 >conftest.err
40585 rm -f conftest.er1
40586 cat conftest.err >&5
40587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40588 (exit $ac_status); } &&
40589 { ac_try='test -z "$ac_c_werror_flag"
40590 || test ! -s conftest.err'
40591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40592 (eval $ac_try) 2>&5
40593 ac_status=$?
40594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40595 (exit $ac_status); }; } &&
40596 { ac_try='test -s conftest.$ac_objext'
40597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40598 (eval $ac_try) 2>&5
40599 ac_status=$?
40600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601 (exit $ac_status); }; }; then
40602 ac_cv_func_which_gethostbyname_r=no
40603 else
40604 echo "$as_me: failed program was:" >&5
40605 sed 's/^/| /' conftest.$ac_ext >&5
40606
40607 fi
40608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40609
40610 #
40611 # SIX ARGUMENTS
40612 # (e.g. Linux)
40613 #
40614
40615 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40616
40617 cat >conftest.$ac_ext <<_ACEOF
40618 /* confdefs.h. */
40619 _ACEOF
40620 cat confdefs.h >>conftest.$ac_ext
40621 cat >>conftest.$ac_ext <<_ACEOF
40622 /* end confdefs.h. */
40623 #include <netdb.h>
40624 int
40625 main ()
40626 {
40627
40628 char *name = "www.gnu.org";
40629 struct hostent ret, *retp;
40630 char buf[1024];
40631 int buflen = 1024;
40632 int my_h_errno;
40633 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40634
40635 ;
40636 return 0;
40637 }
40638 _ACEOF
40639 rm -f conftest.$ac_objext
40640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40641 (eval $ac_compile) 2>conftest.er1
40642 ac_status=$?
40643 grep -v '^ *+' conftest.er1 >conftest.err
40644 rm -f conftest.er1
40645 cat conftest.err >&5
40646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40647 (exit $ac_status); } &&
40648 { ac_try='test -z "$ac_c_werror_flag"
40649 || test ! -s conftest.err'
40650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40651 (eval $ac_try) 2>&5
40652 ac_status=$?
40653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40654 (exit $ac_status); }; } &&
40655 { ac_try='test -s conftest.$ac_objext'
40656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40657 (eval $ac_try) 2>&5
40658 ac_status=$?
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); }; }; then
40661 ac_cv_func_which_gethostbyname_r=six
40662 else
40663 echo "$as_me: failed program was:" >&5
40664 sed 's/^/| /' conftest.$ac_ext >&5
40665
40666 fi
40667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40668
40669 fi
40670
40671 #
40672 # FIVE ARGUMENTS
40673 # (e.g. Solaris)
40674 #
40675
40676 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40677
40678 cat >conftest.$ac_ext <<_ACEOF
40679 /* confdefs.h. */
40680 _ACEOF
40681 cat confdefs.h >>conftest.$ac_ext
40682 cat >>conftest.$ac_ext <<_ACEOF
40683 /* end confdefs.h. */
40684 #include <netdb.h>
40685 int
40686 main ()
40687 {
40688
40689 char *name = "www.gnu.org";
40690 struct hostent ret;
40691 char buf[1024];
40692 int buflen = 1024;
40693 int my_h_errno;
40694 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40695
40696 ;
40697 return 0;
40698 }
40699 _ACEOF
40700 rm -f conftest.$ac_objext
40701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40702 (eval $ac_compile) 2>conftest.er1
40703 ac_status=$?
40704 grep -v '^ *+' conftest.er1 >conftest.err
40705 rm -f conftest.er1
40706 cat conftest.err >&5
40707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40708 (exit $ac_status); } &&
40709 { ac_try='test -z "$ac_c_werror_flag"
40710 || test ! -s conftest.err'
40711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40712 (eval $ac_try) 2>&5
40713 ac_status=$?
40714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40715 (exit $ac_status); }; } &&
40716 { ac_try='test -s conftest.$ac_objext'
40717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40718 (eval $ac_try) 2>&5
40719 ac_status=$?
40720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40721 (exit $ac_status); }; }; then
40722 ac_cv_func_which_gethostbyname_r=five
40723 else
40724 echo "$as_me: failed program was:" >&5
40725 sed 's/^/| /' conftest.$ac_ext >&5
40726
40727 fi
40728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40729
40730 fi
40731
40732 #
40733 # THREE ARGUMENTS
40734 # (e.g. AIX, HP-UX, Tru64)
40735 #
40736
40737 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40738
40739 cat >conftest.$ac_ext <<_ACEOF
40740 /* confdefs.h. */
40741 _ACEOF
40742 cat confdefs.h >>conftest.$ac_ext
40743 cat >>conftest.$ac_ext <<_ACEOF
40744 /* end confdefs.h. */
40745 #include <netdb.h>
40746 int
40747 main ()
40748 {
40749
40750 char *name = "www.gnu.org";
40751 struct hostent ret;
40752 struct hostent_data data;
40753 (void)gethostbyname_r(name, &ret, &data) /* ; */
40754
40755 ;
40756 return 0;
40757 }
40758 _ACEOF
40759 rm -f conftest.$ac_objext
40760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40761 (eval $ac_compile) 2>conftest.er1
40762 ac_status=$?
40763 grep -v '^ *+' conftest.er1 >conftest.err
40764 rm -f conftest.er1
40765 cat conftest.err >&5
40766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40767 (exit $ac_status); } &&
40768 { ac_try='test -z "$ac_c_werror_flag"
40769 || test ! -s conftest.err'
40770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40771 (eval $ac_try) 2>&5
40772 ac_status=$?
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); }; } &&
40775 { ac_try='test -s conftest.$ac_objext'
40776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40777 (eval $ac_try) 2>&5
40778 ac_status=$?
40779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40780 (exit $ac_status); }; }; then
40781 ac_cv_func_which_gethostbyname_r=three
40782 else
40783 echo "$as_me: failed program was:" >&5
40784 sed 's/^/| /' conftest.$ac_ext >&5
40785
40786 fi
40787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40788
40789 fi
40790
40791 ################################################################
40792
40793
40794 fi
40795
40796 case "$ac_cv_func_which_gethostbyname_r" in
40797 three)
40798 echo "$as_me:$LINENO: result: three" >&5
40799 echo "${ECHO_T}three" >&6
40800 cat >>confdefs.h <<\_ACEOF
40801 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40802 _ACEOF
40803
40804 ;;
40805
40806 five)
40807 echo "$as_me:$LINENO: result: five" >&5
40808 echo "${ECHO_T}five" >&6
40809 cat >>confdefs.h <<\_ACEOF
40810 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40811 _ACEOF
40812
40813 ;;
40814
40815 six)
40816 echo "$as_me:$LINENO: result: six" >&5
40817 echo "${ECHO_T}six" >&6
40818 cat >>confdefs.h <<\_ACEOF
40819 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40820 _ACEOF
40821
40822 ;;
40823
40824 no)
40825 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40826 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40827 ;;
40828
40829 unknown)
40830 echo "$as_me:$LINENO: result: can't tell" >&5
40831 echo "${ECHO_T}can't tell" >&6
40832 ;;
40833
40834 *)
40835 { { echo "$as_me:$LINENO: error: internal error" >&5
40836 echo "$as_me: error: internal error" >&2;}
40837 { (exit 1); exit 1; }; }
40838 ;;
40839 esac
40840
40841 ac_ext=cc
40842 ac_cpp='$CXXCPP $CPPFLAGS'
40843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40846
40847
40848
40849 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40850 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40851 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40852 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40853 if test "${ac_cv_func_gethostbyname+set}" = set; then
40854 echo $ECHO_N "(cached) $ECHO_C" >&6
40855 else
40856 cat >conftest.$ac_ext <<_ACEOF
40857 /* confdefs.h. */
40858 _ACEOF
40859 cat confdefs.h >>conftest.$ac_ext
40860 cat >>conftest.$ac_ext <<_ACEOF
40861 /* end confdefs.h. */
40862 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40864 #define gethostbyname innocuous_gethostbyname
40865
40866 /* System header to define __stub macros and hopefully few prototypes,
40867 which can conflict with char gethostbyname (); below.
40868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40869 <limits.h> exists even on freestanding compilers. */
40870
40871 #ifdef __STDC__
40872 # include <limits.h>
40873 #else
40874 # include <assert.h>
40875 #endif
40876
40877 #undef gethostbyname
40878
40879 /* Override any gcc2 internal prototype to avoid an error. */
40880 #ifdef __cplusplus
40881 extern "C"
40882 {
40883 #endif
40884 /* We use char because int might match the return type of a gcc2
40885 builtin and then its argument prototype would still apply. */
40886 char gethostbyname ();
40887 /* The GNU C library defines this for functions which it implements
40888 to always fail with ENOSYS. Some functions are actually named
40889 something starting with __ and the normal name is an alias. */
40890 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40891 choke me
40892 #else
40893 char (*f) () = gethostbyname;
40894 #endif
40895 #ifdef __cplusplus
40896 }
40897 #endif
40898
40899 int
40900 main ()
40901 {
40902 return f != gethostbyname;
40903 ;
40904 return 0;
40905 }
40906 _ACEOF
40907 rm -f conftest.$ac_objext conftest$ac_exeext
40908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40909 (eval $ac_link) 2>conftest.er1
40910 ac_status=$?
40911 grep -v '^ *+' conftest.er1 >conftest.err
40912 rm -f conftest.er1
40913 cat conftest.err >&5
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); } &&
40916 { ac_try='test -z "$ac_cxx_werror_flag"
40917 || test ! -s conftest.err'
40918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40919 (eval $ac_try) 2>&5
40920 ac_status=$?
40921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40922 (exit $ac_status); }; } &&
40923 { ac_try='test -s conftest$ac_exeext'
40924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40925 (eval $ac_try) 2>&5
40926 ac_status=$?
40927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40928 (exit $ac_status); }; }; then
40929 ac_cv_func_gethostbyname=yes
40930 else
40931 echo "$as_me: failed program was:" >&5
40932 sed 's/^/| /' conftest.$ac_ext >&5
40933
40934 ac_cv_func_gethostbyname=no
40935 fi
40936 rm -f conftest.err conftest.$ac_objext \
40937 conftest$ac_exeext conftest.$ac_ext
40938 fi
40939 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40940 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40941 if test $ac_cv_func_gethostbyname = yes; then
40942 cat >>confdefs.h <<\_ACEOF
40943 #define HAVE_GETHOSTBYNAME 1
40944 _ACEOF
40945
40946 fi
40947
40948 fi
40949 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40950 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40951 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40952 echo $ECHO_N "(cached) $ECHO_C" >&6
40953 else
40954
40955 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40956 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40957 if test "${ac_cv_func_getservbyname_r+set}" = set; then
40958 echo $ECHO_N "(cached) $ECHO_C" >&6
40959 else
40960 cat >conftest.$ac_ext <<_ACEOF
40961 /* confdefs.h. */
40962 _ACEOF
40963 cat confdefs.h >>conftest.$ac_ext
40964 cat >>conftest.$ac_ext <<_ACEOF
40965 /* end confdefs.h. */
40966 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
40967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40968 #define getservbyname_r innocuous_getservbyname_r
40969
40970 /* System header to define __stub macros and hopefully few prototypes,
40971 which can conflict with char getservbyname_r (); below.
40972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40973 <limits.h> exists even on freestanding compilers. */
40974
40975 #ifdef __STDC__
40976 # include <limits.h>
40977 #else
40978 # include <assert.h>
40979 #endif
40980
40981 #undef getservbyname_r
40982
40983 /* Override any gcc2 internal prototype to avoid an error. */
40984 #ifdef __cplusplus
40985 extern "C"
40986 {
40987 #endif
40988 /* We use char because int might match the return type of a gcc2
40989 builtin and then its argument prototype would still apply. */
40990 char getservbyname_r ();
40991 /* The GNU C library defines this for functions which it implements
40992 to always fail with ENOSYS. Some functions are actually named
40993 something starting with __ and the normal name is an alias. */
40994 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
40995 choke me
40996 #else
40997 char (*f) () = getservbyname_r;
40998 #endif
40999 #ifdef __cplusplus
41000 }
41001 #endif
41002
41003 int
41004 main ()
41005 {
41006 return f != getservbyname_r;
41007 ;
41008 return 0;
41009 }
41010 _ACEOF
41011 rm -f conftest.$ac_objext conftest$ac_exeext
41012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41013 (eval $ac_link) 2>conftest.er1
41014 ac_status=$?
41015 grep -v '^ *+' conftest.er1 >conftest.err
41016 rm -f conftest.er1
41017 cat conftest.err >&5
41018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41019 (exit $ac_status); } &&
41020 { ac_try='test -z "$ac_cxx_werror_flag"
41021 || test ! -s conftest.err'
41022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41023 (eval $ac_try) 2>&5
41024 ac_status=$?
41025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41026 (exit $ac_status); }; } &&
41027 { ac_try='test -s conftest$ac_exeext'
41028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41029 (eval $ac_try) 2>&5
41030 ac_status=$?
41031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41032 (exit $ac_status); }; }; then
41033 ac_cv_func_getservbyname_r=yes
41034 else
41035 echo "$as_me: failed program was:" >&5
41036 sed 's/^/| /' conftest.$ac_ext >&5
41037
41038 ac_cv_func_getservbyname_r=no
41039 fi
41040 rm -f conftest.err conftest.$ac_objext \
41041 conftest$ac_exeext conftest.$ac_ext
41042 fi
41043 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
41044 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
41045 if test $ac_cv_func_getservbyname_r = yes; then
41046
41047 cat >conftest.$ac_ext <<_ACEOF
41048 /* confdefs.h. */
41049 _ACEOF
41050 cat confdefs.h >>conftest.$ac_ext
41051 cat >>conftest.$ac_ext <<_ACEOF
41052 /* end confdefs.h. */
41053
41054 # include <netdb.h>
41055
41056 int
41057 main ()
41058 {
41059
41060
41061 char *name;
41062 char *proto;
41063 struct servent *se;
41064 struct servent_data data;
41065 (void) getservbyname_r(name, proto, se, &data);
41066
41067
41068 ;
41069 return 0;
41070 }
41071 _ACEOF
41072 rm -f conftest.$ac_objext
41073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41074 (eval $ac_compile) 2>conftest.er1
41075 ac_status=$?
41076 grep -v '^ *+' conftest.er1 >conftest.err
41077 rm -f conftest.er1
41078 cat conftest.err >&5
41079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41080 (exit $ac_status); } &&
41081 { ac_try='test -z "$ac_cxx_werror_flag"
41082 || test ! -s conftest.err'
41083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41084 (eval $ac_try) 2>&5
41085 ac_status=$?
41086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41087 (exit $ac_status); }; } &&
41088 { ac_try='test -s conftest.$ac_objext'
41089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41090 (eval $ac_try) 2>&5
41091 ac_status=$?
41092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41093 (exit $ac_status); }; }; then
41094 ac_cv_func_which_getservbyname_r=four
41095 else
41096 echo "$as_me: failed program was:" >&5
41097 sed 's/^/| /' conftest.$ac_ext >&5
41098
41099
41100 cat >conftest.$ac_ext <<_ACEOF
41101 /* confdefs.h. */
41102 _ACEOF
41103 cat confdefs.h >>conftest.$ac_ext
41104 cat >>conftest.$ac_ext <<_ACEOF
41105 /* end confdefs.h. */
41106
41107 # include <netdb.h>
41108
41109 int
41110 main ()
41111 {
41112
41113 char *name;
41114 char *proto;
41115 struct servent *se, *res;
41116 char buffer[2048];
41117 int buflen = 2048;
41118 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41119
41120 ;
41121 return 0;
41122 }
41123 _ACEOF
41124 rm -f conftest.$ac_objext
41125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41126 (eval $ac_compile) 2>conftest.er1
41127 ac_status=$?
41128 grep -v '^ *+' conftest.er1 >conftest.err
41129 rm -f conftest.er1
41130 cat conftest.err >&5
41131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41132 (exit $ac_status); } &&
41133 { ac_try='test -z "$ac_cxx_werror_flag"
41134 || test ! -s conftest.err'
41135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41136 (eval $ac_try) 2>&5
41137 ac_status=$?
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); }; } &&
41140 { ac_try='test -s conftest.$ac_objext'
41141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41142 (eval $ac_try) 2>&5
41143 ac_status=$?
41144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41145 (exit $ac_status); }; }; then
41146 ac_cv_func_which_getservbyname_r=six
41147 else
41148 echo "$as_me: failed program was:" >&5
41149 sed 's/^/| /' conftest.$ac_ext >&5
41150
41151
41152 cat >conftest.$ac_ext <<_ACEOF
41153 /* confdefs.h. */
41154 _ACEOF
41155 cat confdefs.h >>conftest.$ac_ext
41156 cat >>conftest.$ac_ext <<_ACEOF
41157 /* end confdefs.h. */
41158
41159 # include <netdb.h>
41160
41161 int
41162 main ()
41163 {
41164
41165 char *name;
41166 char *proto;
41167 struct servent *se;
41168 char buffer[2048];
41169 int buflen = 2048;
41170 (void) getservbyname_r(name, proto, se, buffer, buflen)
41171
41172 ;
41173 return 0;
41174 }
41175 _ACEOF
41176 rm -f conftest.$ac_objext
41177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41178 (eval $ac_compile) 2>conftest.er1
41179 ac_status=$?
41180 grep -v '^ *+' conftest.er1 >conftest.err
41181 rm -f conftest.er1
41182 cat conftest.err >&5
41183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41184 (exit $ac_status); } &&
41185 { ac_try='test -z "$ac_cxx_werror_flag"
41186 || test ! -s conftest.err'
41187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41188 (eval $ac_try) 2>&5
41189 ac_status=$?
41190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41191 (exit $ac_status); }; } &&
41192 { ac_try='test -s conftest.$ac_objext'
41193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41194 (eval $ac_try) 2>&5
41195 ac_status=$?
41196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41197 (exit $ac_status); }; }; then
41198 ac_cv_func_which_getservbyname_r=five
41199 else
41200 echo "$as_me: failed program was:" >&5
41201 sed 's/^/| /' conftest.$ac_ext >&5
41202
41203 ac_cv_func_which_getservbyname_r=no
41204 fi
41205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41206
41207
41208
41209
41210 fi
41211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41212
41213
41214 fi
41215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41216
41217 else
41218 ac_cv_func_which_getservbyname_r=no
41219 fi
41220
41221 fi
41222 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41223 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41224
41225 if test $ac_cv_func_which_getservbyname_r = six; then
41226 cat >>confdefs.h <<\_ACEOF
41227 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41228 _ACEOF
41229
41230 elif test $ac_cv_func_which_getservbyname_r = five; then
41231 cat >>confdefs.h <<\_ACEOF
41232 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41233 _ACEOF
41234
41235 elif test $ac_cv_func_which_getservbyname_r = four; then
41236 cat >>confdefs.h <<\_ACEOF
41237 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41238 _ACEOF
41239
41240
41241 fi
41242
41243
41244 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41245 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41246
41247 for ac_func in getservbyname
41248 do
41249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41250 echo "$as_me:$LINENO: checking for $ac_func" >&5
41251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41252 if eval "test \"\${$as_ac_var+set}\" = set"; then
41253 echo $ECHO_N "(cached) $ECHO_C" >&6
41254 else
41255 cat >conftest.$ac_ext <<_ACEOF
41256 /* confdefs.h. */
41257 _ACEOF
41258 cat confdefs.h >>conftest.$ac_ext
41259 cat >>conftest.$ac_ext <<_ACEOF
41260 /* end confdefs.h. */
41261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41263 #define $ac_func innocuous_$ac_func
41264
41265 /* System header to define __stub macros and hopefully few prototypes,
41266 which can conflict with char $ac_func (); below.
41267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41268 <limits.h> exists even on freestanding compilers. */
41269
41270 #ifdef __STDC__
41271 # include <limits.h>
41272 #else
41273 # include <assert.h>
41274 #endif
41275
41276 #undef $ac_func
41277
41278 /* Override any gcc2 internal prototype to avoid an error. */
41279 #ifdef __cplusplus
41280 extern "C"
41281 {
41282 #endif
41283 /* We use char because int might match the return type of a gcc2
41284 builtin and then its argument prototype would still apply. */
41285 char $ac_func ();
41286 /* The GNU C library defines this for functions which it implements
41287 to always fail with ENOSYS. Some functions are actually named
41288 something starting with __ and the normal name is an alias. */
41289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41290 choke me
41291 #else
41292 char (*f) () = $ac_func;
41293 #endif
41294 #ifdef __cplusplus
41295 }
41296 #endif
41297
41298 int
41299 main ()
41300 {
41301 return f != $ac_func;
41302 ;
41303 return 0;
41304 }
41305 _ACEOF
41306 rm -f conftest.$ac_objext conftest$ac_exeext
41307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41308 (eval $ac_link) 2>conftest.er1
41309 ac_status=$?
41310 grep -v '^ *+' conftest.er1 >conftest.err
41311 rm -f conftest.er1
41312 cat conftest.err >&5
41313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41314 (exit $ac_status); } &&
41315 { ac_try='test -z "$ac_cxx_werror_flag"
41316 || test ! -s conftest.err'
41317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41318 (eval $ac_try) 2>&5
41319 ac_status=$?
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); }; } &&
41322 { ac_try='test -s conftest$ac_exeext'
41323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41324 (eval $ac_try) 2>&5
41325 ac_status=$?
41326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41327 (exit $ac_status); }; }; then
41328 eval "$as_ac_var=yes"
41329 else
41330 echo "$as_me: failed program was:" >&5
41331 sed 's/^/| /' conftest.$ac_ext >&5
41332
41333 eval "$as_ac_var=no"
41334 fi
41335 rm -f conftest.err conftest.$ac_objext \
41336 conftest$ac_exeext conftest.$ac_ext
41337 fi
41338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41340 if test `eval echo '${'$as_ac_var'}'` = yes; then
41341 cat >>confdefs.h <<_ACEOF
41342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41343 _ACEOF
41344 cat >>confdefs.h <<\_ACEOF
41345 #define HAVE_GETSERVBYNAME 1
41346 _ACEOF
41347
41348 fi
41349 done
41350
41351 fi
41352
41353 if test "$wxUSE_THREADS" = "yes"; then
41354 cat >>confdefs.h <<\_ACEOF
41355 #define wxUSE_THREADS 1
41356 _ACEOF
41357
41358
41359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41360 else
41361 if test "$wx_cv_func_strtok_r" = "yes"; then
41362 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41363 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41364 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41365 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41366 echo "$as_me:$LINENO: result: yes" >&5
41367 echo "${ECHO_T}yes" >&6
41368 else
41369 echo "$as_me:$LINENO: result: no" >&5
41370 echo "${ECHO_T}no" >&6
41371 fi
41372 fi
41373 fi
41374
41375 if test "$WXGTK20" = 1 ; then
41376 cat >>confdefs.h <<_ACEOF
41377 #define __WXGTK20__ $WXGTK20
41378 _ACEOF
41379
41380 WXGTK12=1
41381 fi
41382
41383 if test "$WXGTK12" = 1 ; then
41384 cat >>confdefs.h <<_ACEOF
41385 #define __WXGTK12__ $WXGTK12
41386 _ACEOF
41387
41388 fi
41389
41390 if test "$WXGTK127" = 1 ; then
41391 cat >>confdefs.h <<_ACEOF
41392 #define __WXGTK127__ $WXGTK127
41393 _ACEOF
41394
41395 fi
41396
41397 if test "$WXGPE" = 1 ; then
41398 cat >>confdefs.h <<_ACEOF
41399 #define __WXGPE__ $WXGPE
41400 _ACEOF
41401
41402 fi
41403
41404 DEBUG_CFLAGS=
41405 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41406 DEBUG_CFLAGS="-g"
41407 wxUSE_OPTIMISE=no
41408 fi
41409
41410 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41411 wxUSE_DEBUG_INFO=yes
41412 if test "$GCC" = yes; then
41413 DEBUG_CFLAGS="-ggdb"
41414 fi
41415 fi
41416
41417 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41418 cat >>confdefs.h <<\_ACEOF
41419 #define WXDEBUG 1
41420 _ACEOF
41421
41422 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41423 else
41424 if test "$wxUSE_GTK" = 1 ; then
41425 if test "x$wxGTK_VERSION" = "x1" ; then
41426 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41427 fi
41428 fi
41429 fi
41430
41431 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41432 cat >>confdefs.h <<\_ACEOF
41433 #define wxUSE_MEMORY_TRACING 1
41434 _ACEOF
41435
41436 cat >>confdefs.h <<\_ACEOF
41437 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41438 _ACEOF
41439
41440 cat >>confdefs.h <<\_ACEOF
41441 #define wxUSE_DEBUG_NEW_ALWAYS 1
41442 _ACEOF
41443
41444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41445 fi
41446
41447 if test "$wxUSE_DMALLOC" = "yes" ; then
41448 DMALLOC_LIBS="-ldmallocthcxx"
41449 fi
41450
41451 PROFILE_FLAGS=
41452 if test "$wxUSE_PROFILE" = "yes" ; then
41453 PROFILE_FLAGS=" -pg"
41454 fi
41455
41456 if test "$GCC" = "yes" ; then
41457 if test "$wxUSE_NO_RTTI" = "yes" ; then
41458 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41459 fi
41460 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41461 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41462 fi
41463 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41464 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41465 fi
41466
41467 case "${host}" in
41468 powerpc*-*-aix* )
41469 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41470 ;;
41471 *-hppa* )
41472 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41473 ;;
41474 esac
41475 fi
41476
41477 OPTIMISE_CFLAGS=
41478 if test "$wxUSE_OPTIMISE" = "no" ; then
41479 if test "$GCC" = yes ; then
41480 OPTIMISE_CFLAGS="-O0"
41481 fi
41482 else
41483 if test "$GCC" = yes ; then
41484 case "${host}" in
41485 *-pc-os2_emx | *-pc-os2-emx )
41486 OPTIMISE_CFLAGS="-O2"
41487 ;;
41488 *)
41489 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41490 ;;
41491 esac
41492 else
41493 OPTIMISE_CFLAGS="-O"
41494 fi
41495 fi
41496
41497
41498 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41499 cat >>confdefs.h <<\_ACEOF
41500 #define WXWIN_COMPATIBILITY_2_4 1
41501 _ACEOF
41502
41503
41504 WXWIN_COMPATIBILITY_2_6="yes"
41505 fi
41506
41507 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41508 cat >>confdefs.h <<\_ACEOF
41509 #define WXWIN_COMPATIBILITY_2_6 1
41510 _ACEOF
41511
41512 fi
41513
41514
41515 if test "$wxUSE_GUI" = "yes"; then
41516 cat >>confdefs.h <<\_ACEOF
41517 #define wxUSE_GUI 1
41518 _ACEOF
41519
41520
41521 fi
41522
41523
41524 if test "$wxUSE_UNIX" = "yes"; then
41525 cat >>confdefs.h <<\_ACEOF
41526 #define wxUSE_UNIX 1
41527 _ACEOF
41528
41529 fi
41530
41531
41532 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41533
41534 HAVE_DL_FUNCS=0
41535 HAVE_SHL_FUNCS=0
41536 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41537 if test "$USE_DARWIN" = 1; then
41538 HAVE_DL_FUNCS=1
41539 elif test "$USE_DOS" = 1; then
41540 HAVE_DL_FUNCS=0
41541 else
41542
41543 for ac_func in dlopen
41544 do
41545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41546 echo "$as_me:$LINENO: checking for $ac_func" >&5
41547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41548 if eval "test \"\${$as_ac_var+set}\" = set"; then
41549 echo $ECHO_N "(cached) $ECHO_C" >&6
41550 else
41551 cat >conftest.$ac_ext <<_ACEOF
41552 /* confdefs.h. */
41553 _ACEOF
41554 cat confdefs.h >>conftest.$ac_ext
41555 cat >>conftest.$ac_ext <<_ACEOF
41556 /* end confdefs.h. */
41557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41559 #define $ac_func innocuous_$ac_func
41560
41561 /* System header to define __stub macros and hopefully few prototypes,
41562 which can conflict with char $ac_func (); below.
41563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41564 <limits.h> exists even on freestanding compilers. */
41565
41566 #ifdef __STDC__
41567 # include <limits.h>
41568 #else
41569 # include <assert.h>
41570 #endif
41571
41572 #undef $ac_func
41573
41574 /* Override any gcc2 internal prototype to avoid an error. */
41575 #ifdef __cplusplus
41576 extern "C"
41577 {
41578 #endif
41579 /* We use char because int might match the return type of a gcc2
41580 builtin and then its argument prototype would still apply. */
41581 char $ac_func ();
41582 /* The GNU C library defines this for functions which it implements
41583 to always fail with ENOSYS. Some functions are actually named
41584 something starting with __ and the normal name is an alias. */
41585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41586 choke me
41587 #else
41588 char (*f) () = $ac_func;
41589 #endif
41590 #ifdef __cplusplus
41591 }
41592 #endif
41593
41594 int
41595 main ()
41596 {
41597 return f != $ac_func;
41598 ;
41599 return 0;
41600 }
41601 _ACEOF
41602 rm -f conftest.$ac_objext conftest$ac_exeext
41603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41604 (eval $ac_link) 2>conftest.er1
41605 ac_status=$?
41606 grep -v '^ *+' conftest.er1 >conftest.err
41607 rm -f conftest.er1
41608 cat conftest.err >&5
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); } &&
41611 { ac_try='test -z "$ac_cxx_werror_flag"
41612 || test ! -s conftest.err'
41613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41614 (eval $ac_try) 2>&5
41615 ac_status=$?
41616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41617 (exit $ac_status); }; } &&
41618 { ac_try='test -s conftest$ac_exeext'
41619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41620 (eval $ac_try) 2>&5
41621 ac_status=$?
41622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41623 (exit $ac_status); }; }; then
41624 eval "$as_ac_var=yes"
41625 else
41626 echo "$as_me: failed program was:" >&5
41627 sed 's/^/| /' conftest.$ac_ext >&5
41628
41629 eval "$as_ac_var=no"
41630 fi
41631 rm -f conftest.err conftest.$ac_objext \
41632 conftest$ac_exeext conftest.$ac_ext
41633 fi
41634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41636 if test `eval echo '${'$as_ac_var'}'` = yes; then
41637 cat >>confdefs.h <<_ACEOF
41638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41639 _ACEOF
41640
41641 cat >>confdefs.h <<\_ACEOF
41642 #define HAVE_DLOPEN 1
41643 _ACEOF
41644
41645 HAVE_DL_FUNCS=1
41646
41647 else
41648
41649 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41650 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41651 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41652 echo $ECHO_N "(cached) $ECHO_C" >&6
41653 else
41654 ac_check_lib_save_LIBS=$LIBS
41655 LIBS="-ldl $LIBS"
41656 cat >conftest.$ac_ext <<_ACEOF
41657 /* confdefs.h. */
41658 _ACEOF
41659 cat confdefs.h >>conftest.$ac_ext
41660 cat >>conftest.$ac_ext <<_ACEOF
41661 /* end confdefs.h. */
41662
41663 /* Override any gcc2 internal prototype to avoid an error. */
41664 #ifdef __cplusplus
41665 extern "C"
41666 #endif
41667 /* We use char because int might match the return type of a gcc2
41668 builtin and then its argument prototype would still apply. */
41669 char dlopen ();
41670 int
41671 main ()
41672 {
41673 dlopen ();
41674 ;
41675 return 0;
41676 }
41677 _ACEOF
41678 rm -f conftest.$ac_objext conftest$ac_exeext
41679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41680 (eval $ac_link) 2>conftest.er1
41681 ac_status=$?
41682 grep -v '^ *+' conftest.er1 >conftest.err
41683 rm -f conftest.er1
41684 cat conftest.err >&5
41685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41686 (exit $ac_status); } &&
41687 { ac_try='test -z "$ac_cxx_werror_flag"
41688 || test ! -s conftest.err'
41689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41690 (eval $ac_try) 2>&5
41691 ac_status=$?
41692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41693 (exit $ac_status); }; } &&
41694 { ac_try='test -s conftest$ac_exeext'
41695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41696 (eval $ac_try) 2>&5
41697 ac_status=$?
41698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41699 (exit $ac_status); }; }; then
41700 ac_cv_lib_dl_dlopen=yes
41701 else
41702 echo "$as_me: failed program was:" >&5
41703 sed 's/^/| /' conftest.$ac_ext >&5
41704
41705 ac_cv_lib_dl_dlopen=no
41706 fi
41707 rm -f conftest.err conftest.$ac_objext \
41708 conftest$ac_exeext conftest.$ac_ext
41709 LIBS=$ac_check_lib_save_LIBS
41710 fi
41711 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41712 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41713 if test $ac_cv_lib_dl_dlopen = yes; then
41714
41715 cat >>confdefs.h <<\_ACEOF
41716 #define HAVE_DLOPEN 1
41717 _ACEOF
41718
41719 HAVE_DL_FUNCS=1
41720 DL_LINK=" -ldl$DL_LINK"
41721
41722 else
41723
41724
41725 for ac_func in shl_load
41726 do
41727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41728 echo "$as_me:$LINENO: checking for $ac_func" >&5
41729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41730 if eval "test \"\${$as_ac_var+set}\" = set"; then
41731 echo $ECHO_N "(cached) $ECHO_C" >&6
41732 else
41733 cat >conftest.$ac_ext <<_ACEOF
41734 /* confdefs.h. */
41735 _ACEOF
41736 cat confdefs.h >>conftest.$ac_ext
41737 cat >>conftest.$ac_ext <<_ACEOF
41738 /* end confdefs.h. */
41739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41741 #define $ac_func innocuous_$ac_func
41742
41743 /* System header to define __stub macros and hopefully few prototypes,
41744 which can conflict with char $ac_func (); below.
41745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41746 <limits.h> exists even on freestanding compilers. */
41747
41748 #ifdef __STDC__
41749 # include <limits.h>
41750 #else
41751 # include <assert.h>
41752 #endif
41753
41754 #undef $ac_func
41755
41756 /* Override any gcc2 internal prototype to avoid an error. */
41757 #ifdef __cplusplus
41758 extern "C"
41759 {
41760 #endif
41761 /* We use char because int might match the return type of a gcc2
41762 builtin and then its argument prototype would still apply. */
41763 char $ac_func ();
41764 /* The GNU C library defines this for functions which it implements
41765 to always fail with ENOSYS. Some functions are actually named
41766 something starting with __ and the normal name is an alias. */
41767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41768 choke me
41769 #else
41770 char (*f) () = $ac_func;
41771 #endif
41772 #ifdef __cplusplus
41773 }
41774 #endif
41775
41776 int
41777 main ()
41778 {
41779 return f != $ac_func;
41780 ;
41781 return 0;
41782 }
41783 _ACEOF
41784 rm -f conftest.$ac_objext conftest$ac_exeext
41785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41786 (eval $ac_link) 2>conftest.er1
41787 ac_status=$?
41788 grep -v '^ *+' conftest.er1 >conftest.err
41789 rm -f conftest.er1
41790 cat conftest.err >&5
41791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41792 (exit $ac_status); } &&
41793 { ac_try='test -z "$ac_cxx_werror_flag"
41794 || test ! -s conftest.err'
41795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41796 (eval $ac_try) 2>&5
41797 ac_status=$?
41798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41799 (exit $ac_status); }; } &&
41800 { ac_try='test -s conftest$ac_exeext'
41801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41802 (eval $ac_try) 2>&5
41803 ac_status=$?
41804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41805 (exit $ac_status); }; }; then
41806 eval "$as_ac_var=yes"
41807 else
41808 echo "$as_me: failed program was:" >&5
41809 sed 's/^/| /' conftest.$ac_ext >&5
41810
41811 eval "$as_ac_var=no"
41812 fi
41813 rm -f conftest.err conftest.$ac_objext \
41814 conftest$ac_exeext conftest.$ac_ext
41815 fi
41816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41818 if test `eval echo '${'$as_ac_var'}'` = yes; then
41819 cat >>confdefs.h <<_ACEOF
41820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41821 _ACEOF
41822
41823 cat >>confdefs.h <<\_ACEOF
41824 #define HAVE_SHL_LOAD 1
41825 _ACEOF
41826
41827 HAVE_SHL_FUNCS=1
41828
41829 else
41830
41831 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41832 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41833 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41834 echo $ECHO_N "(cached) $ECHO_C" >&6
41835 else
41836 ac_check_lib_save_LIBS=$LIBS
41837 LIBS="-lshl_load $LIBS"
41838 cat >conftest.$ac_ext <<_ACEOF
41839 /* confdefs.h. */
41840 _ACEOF
41841 cat confdefs.h >>conftest.$ac_ext
41842 cat >>conftest.$ac_ext <<_ACEOF
41843 /* end confdefs.h. */
41844
41845 /* Override any gcc2 internal prototype to avoid an error. */
41846 #ifdef __cplusplus
41847 extern "C"
41848 #endif
41849 /* We use char because int might match the return type of a gcc2
41850 builtin and then its argument prototype would still apply. */
41851 char dld ();
41852 int
41853 main ()
41854 {
41855 dld ();
41856 ;
41857 return 0;
41858 }
41859 _ACEOF
41860 rm -f conftest.$ac_objext conftest$ac_exeext
41861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41862 (eval $ac_link) 2>conftest.er1
41863 ac_status=$?
41864 grep -v '^ *+' conftest.er1 >conftest.err
41865 rm -f conftest.er1
41866 cat conftest.err >&5
41867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41868 (exit $ac_status); } &&
41869 { ac_try='test -z "$ac_cxx_werror_flag"
41870 || test ! -s conftest.err'
41871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41872 (eval $ac_try) 2>&5
41873 ac_status=$?
41874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41875 (exit $ac_status); }; } &&
41876 { ac_try='test -s conftest$ac_exeext'
41877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41878 (eval $ac_try) 2>&5
41879 ac_status=$?
41880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41881 (exit $ac_status); }; }; then
41882 ac_cv_lib_shl_load_dld=yes
41883 else
41884 echo "$as_me: failed program was:" >&5
41885 sed 's/^/| /' conftest.$ac_ext >&5
41886
41887 ac_cv_lib_shl_load_dld=no
41888 fi
41889 rm -f conftest.err conftest.$ac_objext \
41890 conftest$ac_exeext conftest.$ac_ext
41891 LIBS=$ac_check_lib_save_LIBS
41892 fi
41893 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41894 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41895 if test $ac_cv_lib_shl_load_dld = yes; then
41896
41897 HAVE_SHL_FUNCS=1
41898 DL_LINK=" -ldld$DL_LINK"
41899
41900 fi
41901
41902
41903 fi
41904 done
41905
41906
41907 fi
41908
41909
41910 fi
41911 done
41912
41913
41914 if test "$HAVE_DL_FUNCS" = 1; then
41915
41916 for ac_func in dlerror
41917 do
41918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41919 echo "$as_me:$LINENO: checking for $ac_func" >&5
41920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41921 if eval "test \"\${$as_ac_var+set}\" = set"; then
41922 echo $ECHO_N "(cached) $ECHO_C" >&6
41923 else
41924 cat >conftest.$ac_ext <<_ACEOF
41925 /* confdefs.h. */
41926 _ACEOF
41927 cat confdefs.h >>conftest.$ac_ext
41928 cat >>conftest.$ac_ext <<_ACEOF
41929 /* end confdefs.h. */
41930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41932 #define $ac_func innocuous_$ac_func
41933
41934 /* System header to define __stub macros and hopefully few prototypes,
41935 which can conflict with char $ac_func (); below.
41936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41937 <limits.h> exists even on freestanding compilers. */
41938
41939 #ifdef __STDC__
41940 # include <limits.h>
41941 #else
41942 # include <assert.h>
41943 #endif
41944
41945 #undef $ac_func
41946
41947 /* Override any gcc2 internal prototype to avoid an error. */
41948 #ifdef __cplusplus
41949 extern "C"
41950 {
41951 #endif
41952 /* We use char because int might match the return type of a gcc2
41953 builtin and then its argument prototype would still apply. */
41954 char $ac_func ();
41955 /* The GNU C library defines this for functions which it implements
41956 to always fail with ENOSYS. Some functions are actually named
41957 something starting with __ and the normal name is an alias. */
41958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41959 choke me
41960 #else
41961 char (*f) () = $ac_func;
41962 #endif
41963 #ifdef __cplusplus
41964 }
41965 #endif
41966
41967 int
41968 main ()
41969 {
41970 return f != $ac_func;
41971 ;
41972 return 0;
41973 }
41974 _ACEOF
41975 rm -f conftest.$ac_objext conftest$ac_exeext
41976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41977 (eval $ac_link) 2>conftest.er1
41978 ac_status=$?
41979 grep -v '^ *+' conftest.er1 >conftest.err
41980 rm -f conftest.er1
41981 cat conftest.err >&5
41982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983 (exit $ac_status); } &&
41984 { ac_try='test -z "$ac_cxx_werror_flag"
41985 || test ! -s conftest.err'
41986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41987 (eval $ac_try) 2>&5
41988 ac_status=$?
41989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41990 (exit $ac_status); }; } &&
41991 { ac_try='test -s conftest$ac_exeext'
41992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41993 (eval $ac_try) 2>&5
41994 ac_status=$?
41995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41996 (exit $ac_status); }; }; then
41997 eval "$as_ac_var=yes"
41998 else
41999 echo "$as_me: failed program was:" >&5
42000 sed 's/^/| /' conftest.$ac_ext >&5
42001
42002 eval "$as_ac_var=no"
42003 fi
42004 rm -f conftest.err conftest.$ac_objext \
42005 conftest$ac_exeext conftest.$ac_ext
42006 fi
42007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42009 if test `eval echo '${'$as_ac_var'}'` = yes; then
42010 cat >>confdefs.h <<_ACEOF
42011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42012 _ACEOF
42013 cat >>confdefs.h <<\_ACEOF
42014 #define HAVE_DLERROR 1
42015 _ACEOF
42016
42017 else
42018
42019 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42020 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42021 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42022 echo $ECHO_N "(cached) $ECHO_C" >&6
42023 else
42024 ac_check_lib_save_LIBS=$LIBS
42025 LIBS="-ldl $LIBS"
42026 cat >conftest.$ac_ext <<_ACEOF
42027 /* confdefs.h. */
42028 _ACEOF
42029 cat confdefs.h >>conftest.$ac_ext
42030 cat >>conftest.$ac_ext <<_ACEOF
42031 /* end confdefs.h. */
42032
42033 /* Override any gcc2 internal prototype to avoid an error. */
42034 #ifdef __cplusplus
42035 extern "C"
42036 #endif
42037 /* We use char because int might match the return type of a gcc2
42038 builtin and then its argument prototype would still apply. */
42039 char dlerror ();
42040 int
42041 main ()
42042 {
42043 dlerror ();
42044 ;
42045 return 0;
42046 }
42047 _ACEOF
42048 rm -f conftest.$ac_objext conftest$ac_exeext
42049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42050 (eval $ac_link) 2>conftest.er1
42051 ac_status=$?
42052 grep -v '^ *+' conftest.er1 >conftest.err
42053 rm -f conftest.er1
42054 cat conftest.err >&5
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); } &&
42057 { ac_try='test -z "$ac_cxx_werror_flag"
42058 || test ! -s conftest.err'
42059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42060 (eval $ac_try) 2>&5
42061 ac_status=$?
42062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42063 (exit $ac_status); }; } &&
42064 { ac_try='test -s conftest$ac_exeext'
42065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42066 (eval $ac_try) 2>&5
42067 ac_status=$?
42068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42069 (exit $ac_status); }; }; then
42070 ac_cv_lib_dl_dlerror=yes
42071 else
42072 echo "$as_me: failed program was:" >&5
42073 sed 's/^/| /' conftest.$ac_ext >&5
42074
42075 ac_cv_lib_dl_dlerror=no
42076 fi
42077 rm -f conftest.err conftest.$ac_objext \
42078 conftest$ac_exeext conftest.$ac_ext
42079 LIBS=$ac_check_lib_save_LIBS
42080 fi
42081 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42082 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42083 if test $ac_cv_lib_dl_dlerror = yes; then
42084 cat >>confdefs.h <<\_ACEOF
42085 #define HAVE_DLERROR 1
42086 _ACEOF
42087
42088 fi
42089
42090
42091
42092 fi
42093 done
42094
42095 fi
42096 fi
42097
42098 if test "$HAVE_DL_FUNCS" = 0; then
42099 if test "$HAVE_SHL_FUNCS" = 0; then
42100 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42101 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42102 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42103 wxUSE_DYNAMIC_LOADER=no
42104 wxUSE_DYNLIB_CLASS=no
42105 else
42106 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42107 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42108 fi
42109 fi
42110 fi
42111 fi
42112 fi
42113
42114 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42115 cat >>confdefs.h <<\_ACEOF
42116 #define wxUSE_DYNAMIC_LOADER 1
42117 _ACEOF
42118
42119 fi
42120 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42121 cat >>confdefs.h <<\_ACEOF
42122 #define wxUSE_DYNLIB_CLASS 1
42123 _ACEOF
42124
42125 fi
42126
42127
42128
42129 if test "$wxUSE_PLUGINS" = "yes" ; then
42130 if test "$wxUSE_SHARED" = "no" ; then
42131 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42132 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42133 wxUSE_PLUGINS=no
42134 fi
42135 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42136 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42137 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42138 wxUSE_PLUGINS=no
42139 fi
42140 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42141 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42142 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42143 wxUSE_PLUGINS=no
42144 fi
42145 if test "$wxUSE_PLUGINS" = "yes" ; then
42146 cat >>confdefs.h <<\_ACEOF
42147 #define wxUSE_PLUGINS 1
42148 _ACEOF
42149
42150 fi
42151 fi
42152
42153
42154 if test "$wxUSE_STL" = "yes"; then
42155 cat >>confdefs.h <<\_ACEOF
42156 #define wxUSE_STL 1
42157 _ACEOF
42158
42159 fi
42160
42161 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42162 cat >>confdefs.h <<\_ACEOF
42163 #define wxUSE_APPLE_IEEE 1
42164 _ACEOF
42165
42166 fi
42167
42168 if test "$wxUSE_TIMER" = "yes"; then
42169 cat >>confdefs.h <<\_ACEOF
42170 #define wxUSE_TIMER 1
42171 _ACEOF
42172
42173 fi
42174
42175 if test "$USE_UNIX" = "1" ; then
42176 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42177 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42178 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42179 echo $ECHO_N "(cached) $ECHO_C" >&6
42180 else
42181
42182 cat >conftest.$ac_ext <<_ACEOF
42183 /* confdefs.h. */
42184 _ACEOF
42185 cat confdefs.h >>conftest.$ac_ext
42186 cat >>conftest.$ac_ext <<_ACEOF
42187 /* end confdefs.h. */
42188
42189 #include <sys/ioctl.h>
42190 #include <sys/soundcard.h>
42191
42192 int
42193 main ()
42194 {
42195
42196 ioctl(0, SNDCTL_DSP_SPEED, 0);
42197
42198 ;
42199 return 0;
42200 }
42201 _ACEOF
42202 rm -f conftest.$ac_objext conftest$ac_exeext
42203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42204 (eval $ac_link) 2>conftest.er1
42205 ac_status=$?
42206 grep -v '^ *+' conftest.er1 >conftest.err
42207 rm -f conftest.er1
42208 cat conftest.err >&5
42209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42210 (exit $ac_status); } &&
42211 { ac_try='test -z "$ac_cxx_werror_flag"
42212 || test ! -s conftest.err'
42213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42214 (eval $ac_try) 2>&5
42215 ac_status=$?
42216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42217 (exit $ac_status); }; } &&
42218 { ac_try='test -s conftest$ac_exeext'
42219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42220 (eval $ac_try) 2>&5
42221 ac_status=$?
42222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42223 (exit $ac_status); }; }; then
42224 ac_cv_header_sys_soundcard=yes
42225 else
42226 echo "$as_me: failed program was:" >&5
42227 sed 's/^/| /' conftest.$ac_ext >&5
42228
42229
42230 saveLibs="$LIBS"
42231 LIBS="$saveLibs -lossaudio"
42232 cat >conftest.$ac_ext <<_ACEOF
42233 /* confdefs.h. */
42234 _ACEOF
42235 cat confdefs.h >>conftest.$ac_ext
42236 cat >>conftest.$ac_ext <<_ACEOF
42237 /* end confdefs.h. */
42238
42239 #include <sys/ioctl.h>
42240 #include <sys/soundcard.h>
42241
42242 int
42243 main ()
42244 {
42245
42246 ioctl(0, SNDCTL_DSP_SPEED, 0);
42247
42248 ;
42249 return 0;
42250 }
42251 _ACEOF
42252 rm -f conftest.$ac_objext conftest$ac_exeext
42253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42254 (eval $ac_link) 2>conftest.er1
42255 ac_status=$?
42256 grep -v '^ *+' conftest.er1 >conftest.err
42257 rm -f conftest.er1
42258 cat conftest.err >&5
42259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42260 (exit $ac_status); } &&
42261 { ac_try='test -z "$ac_cxx_werror_flag"
42262 || test ! -s conftest.err'
42263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42264 (eval $ac_try) 2>&5
42265 ac_status=$?
42266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42267 (exit $ac_status); }; } &&
42268 { ac_try='test -s conftest$ac_exeext'
42269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42270 (eval $ac_try) 2>&5
42271 ac_status=$?
42272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42273 (exit $ac_status); }; }; then
42274 ac_cv_header_sys_soundcard=yes
42275 else
42276 echo "$as_me: failed program was:" >&5
42277 sed 's/^/| /' conftest.$ac_ext >&5
42278
42279
42280 LIBS="$saveLibs"
42281 ac_cv_header_sys_soundcard=no
42282
42283
42284 fi
42285 rm -f conftest.err conftest.$ac_objext \
42286 conftest$ac_exeext conftest.$ac_ext
42287
42288
42289 fi
42290 rm -f conftest.err conftest.$ac_objext \
42291 conftest$ac_exeext conftest.$ac_ext
42292
42293 fi
42294 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42295 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42296
42297 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42298 cat >>confdefs.h <<\_ACEOF
42299 #define HAVE_SYS_SOUNDCARD_H 1
42300 _ACEOF
42301
42302 else
42303 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42304 fi
42305 fi
42306 WITH_PLUGIN_SDL=0
42307 if test "$wxUSE_SOUND" = "yes"; then
42308 if test "$USE_UNIX" = "1" ; then
42309 if test "$wxUSE_LIBSDL" != "no"; then
42310
42311 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42312 if test "${with_sdl_prefix+set}" = set; then
42313 withval="$with_sdl_prefix"
42314 sdl_prefix="$withval"
42315 else
42316 sdl_prefix=""
42317 fi;
42318
42319 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42320 if test "${with_sdl_exec_prefix+set}" = set; then
42321 withval="$with_sdl_exec_prefix"
42322 sdl_exec_prefix="$withval"
42323 else
42324 sdl_exec_prefix=""
42325 fi;
42326 # Check whether --enable-sdltest or --disable-sdltest was given.
42327 if test "${enable_sdltest+set}" = set; then
42328 enableval="$enable_sdltest"
42329
42330 else
42331 enable_sdltest=yes
42332 fi;
42333
42334 if test x$sdl_exec_prefix != x ; then
42335 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42336 if test x${SDL_CONFIG+set} != xset ; then
42337 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42338 fi
42339 fi
42340 if test x$sdl_prefix != x ; then
42341 sdl_args="$sdl_args --prefix=$sdl_prefix"
42342 if test x${SDL_CONFIG+set} != xset ; then
42343 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42344 fi
42345 fi
42346
42347 if test "x$prefix" != xNONE; then
42348 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42349 fi
42350 # Extract the first word of "sdl-config", so it can be a program name with args.
42351 set dummy sdl-config; ac_word=$2
42352 echo "$as_me:$LINENO: checking for $ac_word" >&5
42353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42354 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42355 echo $ECHO_N "(cached) $ECHO_C" >&6
42356 else
42357 case $SDL_CONFIG in
42358 [\\/]* | ?:[\\/]*)
42359 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42360 ;;
42361 *)
42362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42363 for as_dir in $PATH
42364 do
42365 IFS=$as_save_IFS
42366 test -z "$as_dir" && as_dir=.
42367 for ac_exec_ext in '' $ac_executable_extensions; do
42368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42369 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42371 break 2
42372 fi
42373 done
42374 done
42375
42376 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42377 ;;
42378 esac
42379 fi
42380 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42381
42382 if test -n "$SDL_CONFIG"; then
42383 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42384 echo "${ECHO_T}$SDL_CONFIG" >&6
42385 else
42386 echo "$as_me:$LINENO: result: no" >&5
42387 echo "${ECHO_T}no" >&6
42388 fi
42389
42390 min_sdl_version=1.2.0
42391 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42392 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42393 no_sdl=""
42394 if test "$SDL_CONFIG" = "no" ; then
42395 no_sdl=yes
42396 else
42397 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42398 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42399
42400 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42401 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42402 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42403 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42404 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42405 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42406 if test "x$enable_sdltest" = "xyes" ; then
42407 ac_save_CFLAGS="$CFLAGS"
42408 ac_save_CXXFLAGS="$CXXFLAGS"
42409 ac_save_LIBS="$LIBS"
42410 CFLAGS="$CFLAGS $SDL_CFLAGS"
42411 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42412 LIBS="$LIBS $SDL_LIBS"
42413 rm -f conf.sdltest
42414 if test "$cross_compiling" = yes; then
42415 echo $ac_n "cross compiling; assumed OK... $ac_c"
42416 else
42417 cat >conftest.$ac_ext <<_ACEOF
42418 /* confdefs.h. */
42419 _ACEOF
42420 cat confdefs.h >>conftest.$ac_ext
42421 cat >>conftest.$ac_ext <<_ACEOF
42422 /* end confdefs.h. */
42423
42424 #include <stdio.h>
42425 #include <stdlib.h>
42426 #include <string.h>
42427 #include "SDL.h"
42428
42429 char*
42430 my_strdup (char *str)
42431 {
42432 char *new_str;
42433
42434 if (str)
42435 {
42436 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42437 strcpy (new_str, str);
42438 }
42439 else
42440 new_str = NULL;
42441
42442 return new_str;
42443 }
42444
42445 int main (int argc, char *argv[])
42446 {
42447 int major, minor, micro;
42448 char *tmp_version;
42449
42450 /* This hangs on some systems (?)
42451 system ("touch conf.sdltest");
42452 */
42453 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42454
42455 /* HP/UX 9 (%@#!) writes to sscanf strings */
42456 tmp_version = my_strdup("$min_sdl_version");
42457 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42458 printf("%s, bad version string\n", "$min_sdl_version");
42459 exit(1);
42460 }
42461
42462 if (($sdl_major_version > major) ||
42463 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42464 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42465 {
42466 return 0;
42467 }
42468 else
42469 {
42470 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42471 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42472 printf("*** best to upgrade to the required version.\n");
42473 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42474 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42475 printf("*** config.cache before re-running configure\n");
42476 return 1;
42477 }
42478 }
42479
42480
42481 _ACEOF
42482 rm -f conftest$ac_exeext
42483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42484 (eval $ac_link) 2>&5
42485 ac_status=$?
42486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42489 (eval $ac_try) 2>&5
42490 ac_status=$?
42491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42492 (exit $ac_status); }; }; then
42493 :
42494 else
42495 echo "$as_me: program exited with status $ac_status" >&5
42496 echo "$as_me: failed program was:" >&5
42497 sed 's/^/| /' conftest.$ac_ext >&5
42498
42499 ( exit $ac_status )
42500 no_sdl=yes
42501 fi
42502 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42503 fi
42504 CFLAGS="$ac_save_CFLAGS"
42505 CXXFLAGS="$ac_save_CXXFLAGS"
42506 LIBS="$ac_save_LIBS"
42507 fi
42508 fi
42509 if test "x$no_sdl" = x ; then
42510 echo "$as_me:$LINENO: result: yes" >&5
42511 echo "${ECHO_T}yes" >&6
42512
42513 EXTRALIBS_SDL="$SDL_LIBS"
42514 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42515 cat >>confdefs.h <<\_ACEOF
42516 #define wxUSE_LIBSDL 1
42517 _ACEOF
42518
42519
42520 else
42521 echo "$as_me:$LINENO: result: no" >&5
42522 echo "${ECHO_T}no" >&6
42523 if test "$SDL_CONFIG" = "no" ; then
42524 echo "*** The sdl-config script installed by SDL could not be found"
42525 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42526 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42527 echo "*** full path to sdl-config."
42528 else
42529 if test -f conf.sdltest ; then
42530 :
42531 else
42532 echo "*** Could not run SDL test program, checking why..."
42533 CFLAGS="$CFLAGS $SDL_CFLAGS"
42534 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42535 LIBS="$LIBS $SDL_LIBS"
42536 cat >conftest.$ac_ext <<_ACEOF
42537 /* confdefs.h. */
42538 _ACEOF
42539 cat confdefs.h >>conftest.$ac_ext
42540 cat >>conftest.$ac_ext <<_ACEOF
42541 /* end confdefs.h. */
42542
42543 #include <stdio.h>
42544 #include "SDL.h"
42545
42546 int main(int argc, char *argv[])
42547 { return 0; }
42548 #undef main
42549 #define main K_and_R_C_main
42550
42551 int
42552 main ()
42553 {
42554 return 0;
42555 ;
42556 return 0;
42557 }
42558 _ACEOF
42559 rm -f conftest.$ac_objext conftest$ac_exeext
42560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42561 (eval $ac_link) 2>conftest.er1
42562 ac_status=$?
42563 grep -v '^ *+' conftest.er1 >conftest.err
42564 rm -f conftest.er1
42565 cat conftest.err >&5
42566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42567 (exit $ac_status); } &&
42568 { ac_try='test -z "$ac_cxx_werror_flag"
42569 || test ! -s conftest.err'
42570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42571 (eval $ac_try) 2>&5
42572 ac_status=$?
42573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42574 (exit $ac_status); }; } &&
42575 { ac_try='test -s conftest$ac_exeext'
42576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42577 (eval $ac_try) 2>&5
42578 ac_status=$?
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); }; }; then
42581 echo "*** The test program compiled, but did not run. This usually means"
42582 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42583 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42584 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42585 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42586 echo "*** is required on your system"
42587 echo "***"
42588 echo "*** If you have an old version installed, it is best to remove it, although"
42589 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42590 else
42591 echo "$as_me: failed program was:" >&5
42592 sed 's/^/| /' conftest.$ac_ext >&5
42593
42594 echo "*** The test program failed to compile or link. See the file config.log for the"
42595 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42596 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42597 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42598 fi
42599 rm -f conftest.err conftest.$ac_objext \
42600 conftest$ac_exeext conftest.$ac_ext
42601 CFLAGS="$ac_save_CFLAGS"
42602 CXXFLAGS="$ac_save_CXXFLAGS"
42603 LIBS="$ac_save_LIBS"
42604 fi
42605 fi
42606 SDL_CFLAGS=""
42607 SDL_LIBS=""
42608 wxUSE_LIBSDL="no"
42609 fi
42610
42611
42612 rm -f conf.sdltest
42613
42614 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42615 WITH_PLUGIN_SDL=1
42616 fi
42617 fi
42618 fi
42619
42620 cat >>confdefs.h <<\_ACEOF
42621 #define wxUSE_SOUND 1
42622 _ACEOF
42623
42624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42625 fi
42626
42627 if test "$WXGTK20" = 1; then
42628 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42629 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42630
42631
42632 pkg_failed=no
42633 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42634 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42635
42636 if test -n "$PKG_CONFIG"; then
42637 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42638 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42639 else
42640 if test -n "$PKG_CONFIG" && \
42641 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42642 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42643 ac_status=$?
42644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42645 (exit $ac_status); }; then
42646 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42647 else
42648 pkg_failed=yes
42649 fi
42650 fi
42651 else
42652 pkg_failed=untried
42653 fi
42654 if test -n "$PKG_CONFIG"; then
42655 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42656 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42657 else
42658 if test -n "$PKG_CONFIG" && \
42659 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42660 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42661 ac_status=$?
42662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663 (exit $ac_status); }; then
42664 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42665 else
42666 pkg_failed=yes
42667 fi
42668 fi
42669 else
42670 pkg_failed=untried
42671 fi
42672
42673
42674
42675 if test $pkg_failed = yes; then
42676
42677 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42678 _pkg_short_errors_supported=yes
42679 else
42680 _pkg_short_errors_supported=no
42681 fi
42682 if test $_pkg_short_errors_supported = yes; then
42683 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42684 else
42685 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42686 fi
42687 # Put the nasty error message in config.log where it belongs
42688 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42689
42690
42691 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42692 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42693 wxUSE_LIBGNOMEPRINT="no"
42694
42695
42696 elif test $pkg_failed = untried; then
42697
42698 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42699 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42700 wxUSE_LIBGNOMEPRINT="no"
42701
42702
42703 else
42704 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42705 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42706 echo "$as_me:$LINENO: result: yes" >&5
42707 echo "${ECHO_T}yes" >&6
42708
42709 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42710 cat >>confdefs.h <<\_ACEOF
42711 #define wxUSE_LIBGNOMEPRINT 1
42712 _ACEOF
42713
42714
42715 fi
42716 fi
42717 fi
42718 fi
42719
42720 if test "$WXGTK20" = 1; then
42721 if test "$wxUSE_MIMETYPE" = "yes" ; then
42722 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42723
42724
42725 pkg_failed=no
42726 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42727 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42728
42729 if test -n "$PKG_CONFIG"; then
42730 if test -n "$GNOMEVFS_CFLAGS"; then
42731 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42732 else
42733 if test -n "$PKG_CONFIG" && \
42734 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42735 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42736 ac_status=$?
42737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42738 (exit $ac_status); }; then
42739 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42740 else
42741 pkg_failed=yes
42742 fi
42743 fi
42744 else
42745 pkg_failed=untried
42746 fi
42747 if test -n "$PKG_CONFIG"; then
42748 if test -n "$GNOMEVFS_LIBS"; then
42749 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42750 else
42751 if test -n "$PKG_CONFIG" && \
42752 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42753 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42754 ac_status=$?
42755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756 (exit $ac_status); }; then
42757 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42758 else
42759 pkg_failed=yes
42760 fi
42761 fi
42762 else
42763 pkg_failed=untried
42764 fi
42765
42766
42767
42768 if test $pkg_failed = yes; then
42769
42770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42771 _pkg_short_errors_supported=yes
42772 else
42773 _pkg_short_errors_supported=no
42774 fi
42775 if test $_pkg_short_errors_supported = yes; then
42776 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42777 else
42778 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42779 fi
42780 # Put the nasty error message in config.log where it belongs
42781 echo "$GNOMEVFS_PKG_ERRORS" >&5
42782
42783
42784 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42785 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42786 wxUSE_LIBGNOMEVFS="no"
42787
42788
42789 elif test $pkg_failed = untried; then
42790
42791 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42792 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42793 wxUSE_LIBGNOMEVFS="no"
42794
42795
42796 else
42797 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42798 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42799 echo "$as_me:$LINENO: result: yes" >&5
42800 echo "${ECHO_T}yes" >&6
42801
42802 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42803 cat >>confdefs.h <<\_ACEOF
42804 #define wxUSE_LIBGNOMEVFS 1
42805 _ACEOF
42806
42807
42808 fi
42809 fi
42810 fi
42811 fi
42812
42813 if test "$WXGTK20" = 1; then
42814 if test "$wxUSE_LIBHILDON" = "yes" ; then
42815
42816 pkg_failed=no
42817 echo "$as_me:$LINENO: checking for HILDON" >&5
42818 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42819
42820 if test -n "$PKG_CONFIG"; then
42821 if test -n "$HILDON_CFLAGS"; then
42822 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42823 else
42824 if test -n "$PKG_CONFIG" && \
42825 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42826 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42827 ac_status=$?
42828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42829 (exit $ac_status); }; then
42830 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42831 else
42832 pkg_failed=yes
42833 fi
42834 fi
42835 else
42836 pkg_failed=untried
42837 fi
42838 if test -n "$PKG_CONFIG"; then
42839 if test -n "$HILDON_LIBS"; then
42840 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42841 else
42842 if test -n "$PKG_CONFIG" && \
42843 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42844 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42845 ac_status=$?
42846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42847 (exit $ac_status); }; then
42848 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42849 else
42850 pkg_failed=yes
42851 fi
42852 fi
42853 else
42854 pkg_failed=untried
42855 fi
42856
42857
42858
42859 if test $pkg_failed = yes; then
42860
42861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42862 _pkg_short_errors_supported=yes
42863 else
42864 _pkg_short_errors_supported=no
42865 fi
42866 if test $_pkg_short_errors_supported = yes; then
42867 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42868 else
42869 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42870 fi
42871 # Put the nasty error message in config.log where it belongs
42872 echo "$HILDON_PKG_ERRORS" >&5
42873
42874
42875 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42876 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42877 wxUSE_LIBHILDON="no"
42878
42879
42880 elif test $pkg_failed = untried; then
42881
42882 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42883 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42884 wxUSE_LIBHILDON="no"
42885
42886
42887 else
42888 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42889 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42890 echo "$as_me:$LINENO: result: yes" >&5
42891 echo "${ECHO_T}yes" >&6
42892
42893 EXTRALIBS_HILDON="$HILDON_LIBS"
42894 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42895 cat >>confdefs.h <<\_ACEOF
42896 #define wxUSE_LIBHILDON 1
42897 _ACEOF
42898
42899
42900 fi
42901 fi
42902 fi
42903
42904 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42905 cat >>confdefs.h <<\_ACEOF
42906 #define wxUSE_CMDLINE_PARSER 1
42907 _ACEOF
42908
42909 fi
42910
42911 if test "$wxUSE_STOPWATCH" = "yes"; then
42912 cat >>confdefs.h <<\_ACEOF
42913 #define wxUSE_STOPWATCH 1
42914 _ACEOF
42915
42916 fi
42917
42918 if test "$wxUSE_DATETIME" = "yes"; then
42919 cat >>confdefs.h <<\_ACEOF
42920 #define wxUSE_DATETIME 1
42921 _ACEOF
42922
42923 fi
42924
42925 if test "$wxUSE_FILE" = "yes"; then
42926 cat >>confdefs.h <<\_ACEOF
42927 #define wxUSE_FILE 1
42928 _ACEOF
42929
42930 fi
42931
42932 if test "$wxUSE_FFILE" = "yes"; then
42933 cat >>confdefs.h <<\_ACEOF
42934 #define wxUSE_FFILE 1
42935 _ACEOF
42936
42937 fi
42938
42939 if test "$wxUSE_FILESYSTEM" = "yes"; then
42940 cat >>confdefs.h <<\_ACEOF
42941 #define wxUSE_FILESYSTEM 1
42942 _ACEOF
42943
42944 fi
42945
42946 if test "$wxUSE_FS_ZIP" = "yes"; then
42947 cat >>confdefs.h <<\_ACEOF
42948 #define wxUSE_FS_ZIP 1
42949 _ACEOF
42950
42951 fi
42952
42953 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42954 cat >>confdefs.h <<\_ACEOF
42955 #define wxUSE_ARCHIVE_STREAMS 1
42956 _ACEOF
42957
42958 fi
42959
42960 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42961 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42962 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42963 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42964 elif test "$wxUSE_ZLIB" = "no"; then
42965 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42966 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42967 else
42968 cat >>confdefs.h <<\_ACEOF
42969 #define wxUSE_ZIPSTREAM 1
42970 _ACEOF
42971
42972 fi
42973 fi
42974
42975 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42976 if test "$USE_UNIX" != 1; then
42977 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42978 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42979 wxUSE_ON_FATAL_EXCEPTION=no
42980 else
42981 cat >>confdefs.h <<\_ACEOF
42982 #define wxUSE_ON_FATAL_EXCEPTION 1
42983 _ACEOF
42984
42985 fi
42986 fi
42987
42988 if test "$wxUSE_STACKWALKER" = "yes"; then
42989 cat >>confdefs.h <<\_ACEOF
42990 #define wxUSE_STACKWALKER 1
42991 _ACEOF
42992
42993 fi
42994
42995 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42996 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42997 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42998 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42999 wxUSE_DEBUGREPORT=no
43000 else
43001 cat >>confdefs.h <<\_ACEOF
43002 #define wxUSE_DEBUGREPORT 1
43003 _ACEOF
43004
43005 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43007 fi
43008 fi
43009 fi
43010
43011 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43012 cat >>confdefs.h <<\_ACEOF
43013 #define wxUSE_SNGLINST_CHECKER 1
43014 _ACEOF
43015
43016 fi
43017
43018 if test "$wxUSE_BUSYINFO" = "yes"; then
43019 cat >>confdefs.h <<\_ACEOF
43020 #define wxUSE_BUSYINFO 1
43021 _ACEOF
43022
43023 fi
43024
43025 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43026 cat >>confdefs.h <<\_ACEOF
43027 #define wxUSE_STD_IOSTREAM 1
43028 _ACEOF
43029
43030 fi
43031
43032 if test "$wxUSE_STD_STRING" = "yes"; then
43033 cat >>confdefs.h <<\_ACEOF
43034 #define wxUSE_STD_STRING 1
43035 _ACEOF
43036
43037 fi
43038
43039 if test "$wxUSE_STDPATHS" = "yes"; then
43040 cat >>confdefs.h <<\_ACEOF
43041 #define wxUSE_STDPATHS 1
43042 _ACEOF
43043
43044 fi
43045
43046 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43047 cat >>confdefs.h <<\_ACEOF
43048 #define wxUSE_TEXTBUFFER 1
43049 _ACEOF
43050
43051 fi
43052
43053 if test "$wxUSE_TEXTFILE" = "yes"; then
43054 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43055 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43056 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43057 else
43058 cat >>confdefs.h <<\_ACEOF
43059 #define wxUSE_TEXTFILE 1
43060 _ACEOF
43061
43062 fi
43063 fi
43064
43065 if test "$wxUSE_CONFIG" = "yes" ; then
43066 if test "$wxUSE_TEXTFILE" != "yes"; then
43067 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43068 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43069 else
43070 cat >>confdefs.h <<\_ACEOF
43071 #define wxUSE_CONFIG 1
43072 _ACEOF
43073
43074 cat >>confdefs.h <<\_ACEOF
43075 #define wxUSE_CONFIG_NATIVE 1
43076 _ACEOF
43077
43078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43079 fi
43080 fi
43081
43082 if test "$wxUSE_INTL" = "yes" ; then
43083 if test "$wxUSE_FILE" != "yes"; then
43084 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43085 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43086 else
43087 cat >>confdefs.h <<\_ACEOF
43088 #define wxUSE_INTL 1
43089 _ACEOF
43090
43091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43092 GUIDIST="$GUIDIST INTL_DIST"
43093 fi
43094 fi
43095
43096 if test "$wxUSE_LOG" = "yes"; then
43097 cat >>confdefs.h <<\_ACEOF
43098 #define wxUSE_LOG 1
43099 _ACEOF
43100
43101
43102 if test "$wxUSE_LOGGUI" = "yes"; then
43103 cat >>confdefs.h <<\_ACEOF
43104 #define wxUSE_LOGGUI 1
43105 _ACEOF
43106
43107 fi
43108
43109 if test "$wxUSE_LOGWINDOW" = "yes"; then
43110 cat >>confdefs.h <<\_ACEOF
43111 #define wxUSE_LOGWINDOW 1
43112 _ACEOF
43113
43114 fi
43115
43116 if test "$wxUSE_LOGDIALOG" = "yes"; then
43117 cat >>confdefs.h <<\_ACEOF
43118 #define wxUSE_LOG_DIALOG 1
43119 _ACEOF
43120
43121 fi
43122
43123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43124 fi
43125
43126 if test "$wxUSE_LONGLONG" = "yes"; then
43127 cat >>confdefs.h <<\_ACEOF
43128 #define wxUSE_LONGLONG 1
43129 _ACEOF
43130
43131 fi
43132
43133 if test "$wxUSE_GEOMETRY" = "yes"; then
43134 cat >>confdefs.h <<\_ACEOF
43135 #define wxUSE_GEOMETRY 1
43136 _ACEOF
43137
43138 fi
43139
43140 if test "$wxUSE_STREAMS" = "yes" ; then
43141 cat >>confdefs.h <<\_ACEOF
43142 #define wxUSE_STREAMS 1
43143 _ACEOF
43144
43145 fi
43146
43147 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43148 cat >>confdefs.h <<\_ACEOF
43149 #define wxUSE_PRINTF_POS_PARAMS 1
43150 _ACEOF
43151
43152 fi
43153
43154
43155
43156 if test "$wxUSE_DATETIME" = "yes"; then
43157
43158 for ac_func in strptime
43159 do
43160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43161 echo "$as_me:$LINENO: checking for $ac_func" >&5
43162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43163 if eval "test \"\${$as_ac_var+set}\" = set"; then
43164 echo $ECHO_N "(cached) $ECHO_C" >&6
43165 else
43166 cat >conftest.$ac_ext <<_ACEOF
43167 /* confdefs.h. */
43168 _ACEOF
43169 cat confdefs.h >>conftest.$ac_ext
43170 cat >>conftest.$ac_ext <<_ACEOF
43171 /* end confdefs.h. */
43172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43174 #define $ac_func innocuous_$ac_func
43175
43176 /* System header to define __stub macros and hopefully few prototypes,
43177 which can conflict with char $ac_func (); below.
43178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43179 <limits.h> exists even on freestanding compilers. */
43180
43181 #ifdef __STDC__
43182 # include <limits.h>
43183 #else
43184 # include <assert.h>
43185 #endif
43186
43187 #undef $ac_func
43188
43189 /* Override any gcc2 internal prototype to avoid an error. */
43190 #ifdef __cplusplus
43191 extern "C"
43192 {
43193 #endif
43194 /* We use char because int might match the return type of a gcc2
43195 builtin and then its argument prototype would still apply. */
43196 char $ac_func ();
43197 /* The GNU C library defines this for functions which it implements
43198 to always fail with ENOSYS. Some functions are actually named
43199 something starting with __ and the normal name is an alias. */
43200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43201 choke me
43202 #else
43203 char (*f) () = $ac_func;
43204 #endif
43205 #ifdef __cplusplus
43206 }
43207 #endif
43208
43209 int
43210 main ()
43211 {
43212 return f != $ac_func;
43213 ;
43214 return 0;
43215 }
43216 _ACEOF
43217 rm -f conftest.$ac_objext conftest$ac_exeext
43218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43219 (eval $ac_link) 2>conftest.er1
43220 ac_status=$?
43221 grep -v '^ *+' conftest.er1 >conftest.err
43222 rm -f conftest.er1
43223 cat conftest.err >&5
43224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43225 (exit $ac_status); } &&
43226 { ac_try='test -z "$ac_cxx_werror_flag"
43227 || test ! -s conftest.err'
43228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43229 (eval $ac_try) 2>&5
43230 ac_status=$?
43231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43232 (exit $ac_status); }; } &&
43233 { ac_try='test -s conftest$ac_exeext'
43234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43235 (eval $ac_try) 2>&5
43236 ac_status=$?
43237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43238 (exit $ac_status); }; }; then
43239 eval "$as_ac_var=yes"
43240 else
43241 echo "$as_me: failed program was:" >&5
43242 sed 's/^/| /' conftest.$ac_ext >&5
43243
43244 eval "$as_ac_var=no"
43245 fi
43246 rm -f conftest.err conftest.$ac_objext \
43247 conftest$ac_exeext conftest.$ac_ext
43248 fi
43249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43251 if test `eval echo '${'$as_ac_var'}'` = yes; then
43252 cat >>confdefs.h <<_ACEOF
43253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43254 _ACEOF
43255
43256 fi
43257 done
43258
43259 if test "$ac_cv_func_strptime" = "yes"; then
43260 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43261 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43262 if test "${wx_cv_func_strptime_decl+set}" = set; then
43263 echo $ECHO_N "(cached) $ECHO_C" >&6
43264 else
43265
43266 cat >conftest.$ac_ext <<_ACEOF
43267 /* confdefs.h. */
43268 _ACEOF
43269 cat confdefs.h >>conftest.$ac_ext
43270 cat >>conftest.$ac_ext <<_ACEOF
43271 /* end confdefs.h. */
43272
43273 #include <time.h>
43274
43275 int
43276 main ()
43277 {
43278
43279 struct tm t;
43280 strptime("foo", "bar", &t);
43281
43282 ;
43283 return 0;
43284 }
43285 _ACEOF
43286 rm -f conftest.$ac_objext
43287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43288 (eval $ac_compile) 2>conftest.er1
43289 ac_status=$?
43290 grep -v '^ *+' conftest.er1 >conftest.err
43291 rm -f conftest.er1
43292 cat conftest.err >&5
43293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43294 (exit $ac_status); } &&
43295 { ac_try='test -z "$ac_cxx_werror_flag"
43296 || test ! -s conftest.err'
43297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43298 (eval $ac_try) 2>&5
43299 ac_status=$?
43300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43301 (exit $ac_status); }; } &&
43302 { ac_try='test -s conftest.$ac_objext'
43303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43304 (eval $ac_try) 2>&5
43305 ac_status=$?
43306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43307 (exit $ac_status); }; }; then
43308 wx_cv_func_strptime_decl=yes
43309 else
43310 echo "$as_me: failed program was:" >&5
43311 sed 's/^/| /' conftest.$ac_ext >&5
43312
43313 wx_cv_func_strptime_decl=no
43314
43315 fi
43316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43317
43318
43319 fi
43320 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43321 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43322 fi
43323 if test "$wx_cv_func_strptime_decl" = "yes"; then
43324 cat >>confdefs.h <<\_ACEOF
43325 #define HAVE_STRPTIME_DECL 1
43326 _ACEOF
43327
43328 fi
43329
43330 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43331 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43332 if test "${wx_cv_var_timezone+set}" = set; then
43333 echo $ECHO_N "(cached) $ECHO_C" >&6
43334 else
43335
43336 cat >conftest.$ac_ext <<_ACEOF
43337 /* confdefs.h. */
43338 _ACEOF
43339 cat confdefs.h >>conftest.$ac_ext
43340 cat >>conftest.$ac_ext <<_ACEOF
43341 /* end confdefs.h. */
43342
43343 #include <time.h>
43344
43345 int
43346 main ()
43347 {
43348
43349 int tz;
43350 tz = timezone;
43351
43352 ;
43353 return 0;
43354 }
43355 _ACEOF
43356 rm -f conftest.$ac_objext
43357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43358 (eval $ac_compile) 2>conftest.er1
43359 ac_status=$?
43360 grep -v '^ *+' conftest.er1 >conftest.err
43361 rm -f conftest.er1
43362 cat conftest.err >&5
43363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43364 (exit $ac_status); } &&
43365 { ac_try='test -z "$ac_cxx_werror_flag"
43366 || test ! -s conftest.err'
43367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43368 (eval $ac_try) 2>&5
43369 ac_status=$?
43370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43371 (exit $ac_status); }; } &&
43372 { ac_try='test -s conftest.$ac_objext'
43373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43374 (eval $ac_try) 2>&5
43375 ac_status=$?
43376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43377 (exit $ac_status); }; }; then
43378
43379 wx_cv_var_timezone=timezone
43380
43381 else
43382 echo "$as_me: failed program was:" >&5
43383 sed 's/^/| /' conftest.$ac_ext >&5
43384
43385
43386 cat >conftest.$ac_ext <<_ACEOF
43387 /* confdefs.h. */
43388 _ACEOF
43389 cat confdefs.h >>conftest.$ac_ext
43390 cat >>conftest.$ac_ext <<_ACEOF
43391 /* end confdefs.h. */
43392
43393 #include <time.h>
43394
43395 int
43396 main ()
43397 {
43398
43399 int tz;
43400 tz = _timezone;
43401
43402 ;
43403 return 0;
43404 }
43405 _ACEOF
43406 rm -f conftest.$ac_objext
43407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43408 (eval $ac_compile) 2>conftest.er1
43409 ac_status=$?
43410 grep -v '^ *+' conftest.er1 >conftest.err
43411 rm -f conftest.er1
43412 cat conftest.err >&5
43413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43414 (exit $ac_status); } &&
43415 { ac_try='test -z "$ac_cxx_werror_flag"
43416 || test ! -s conftest.err'
43417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43418 (eval $ac_try) 2>&5
43419 ac_status=$?
43420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43421 (exit $ac_status); }; } &&
43422 { ac_try='test -s conftest.$ac_objext'
43423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43424 (eval $ac_try) 2>&5
43425 ac_status=$?
43426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43427 (exit $ac_status); }; }; then
43428
43429 wx_cv_var_timezone=_timezone
43430
43431 else
43432 echo "$as_me: failed program was:" >&5
43433 sed 's/^/| /' conftest.$ac_ext >&5
43434
43435
43436 cat >conftest.$ac_ext <<_ACEOF
43437 /* confdefs.h. */
43438 _ACEOF
43439 cat confdefs.h >>conftest.$ac_ext
43440 cat >>conftest.$ac_ext <<_ACEOF
43441 /* end confdefs.h. */
43442
43443 #include <time.h>
43444
43445 int
43446 main ()
43447 {
43448
43449 int tz;
43450 tz = __timezone;
43451
43452 ;
43453 return 0;
43454 }
43455 _ACEOF
43456 rm -f conftest.$ac_objext
43457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43458 (eval $ac_compile) 2>conftest.er1
43459 ac_status=$?
43460 grep -v '^ *+' conftest.er1 >conftest.err
43461 rm -f conftest.er1
43462 cat conftest.err >&5
43463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43464 (exit $ac_status); } &&
43465 { ac_try='test -z "$ac_cxx_werror_flag"
43466 || test ! -s conftest.err'
43467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43468 (eval $ac_try) 2>&5
43469 ac_status=$?
43470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43471 (exit $ac_status); }; } &&
43472 { ac_try='test -s conftest.$ac_objext'
43473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43474 (eval $ac_try) 2>&5
43475 ac_status=$?
43476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43477 (exit $ac_status); }; }; then
43478
43479 wx_cv_var_timezone=__timezone
43480
43481 else
43482 echo "$as_me: failed program was:" >&5
43483 sed 's/^/| /' conftest.$ac_ext >&5
43484
43485
43486 if test "$USE_DOS" = 0 ; then
43487 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43488 echo "$as_me: WARNING: no timezone variable" >&2;}
43489 fi
43490
43491
43492 fi
43493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43494
43495
43496 fi
43497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43498
43499
43500 fi
43501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43502
43503
43504 fi
43505 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43506 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43507
43508 if test "x$wx_cv_var_timezone" != x ; then
43509 cat >>confdefs.h <<_ACEOF
43510 #define WX_TIMEZONE $wx_cv_var_timezone
43511 _ACEOF
43512
43513 fi
43514
43515
43516 for ac_func in localtime
43517 do
43518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43519 echo "$as_me:$LINENO: checking for $ac_func" >&5
43520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43521 if eval "test \"\${$as_ac_var+set}\" = set"; then
43522 echo $ECHO_N "(cached) $ECHO_C" >&6
43523 else
43524 cat >conftest.$ac_ext <<_ACEOF
43525 /* confdefs.h. */
43526 _ACEOF
43527 cat confdefs.h >>conftest.$ac_ext
43528 cat >>conftest.$ac_ext <<_ACEOF
43529 /* end confdefs.h. */
43530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43532 #define $ac_func innocuous_$ac_func
43533
43534 /* System header to define __stub macros and hopefully few prototypes,
43535 which can conflict with char $ac_func (); below.
43536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43537 <limits.h> exists even on freestanding compilers. */
43538
43539 #ifdef __STDC__
43540 # include <limits.h>
43541 #else
43542 # include <assert.h>
43543 #endif
43544
43545 #undef $ac_func
43546
43547 /* Override any gcc2 internal prototype to avoid an error. */
43548 #ifdef __cplusplus
43549 extern "C"
43550 {
43551 #endif
43552 /* We use char because int might match the return type of a gcc2
43553 builtin and then its argument prototype would still apply. */
43554 char $ac_func ();
43555 /* The GNU C library defines this for functions which it implements
43556 to always fail with ENOSYS. Some functions are actually named
43557 something starting with __ and the normal name is an alias. */
43558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43559 choke me
43560 #else
43561 char (*f) () = $ac_func;
43562 #endif
43563 #ifdef __cplusplus
43564 }
43565 #endif
43566
43567 int
43568 main ()
43569 {
43570 return f != $ac_func;
43571 ;
43572 return 0;
43573 }
43574 _ACEOF
43575 rm -f conftest.$ac_objext conftest$ac_exeext
43576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43577 (eval $ac_link) 2>conftest.er1
43578 ac_status=$?
43579 grep -v '^ *+' conftest.er1 >conftest.err
43580 rm -f conftest.er1
43581 cat conftest.err >&5
43582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43583 (exit $ac_status); } &&
43584 { ac_try='test -z "$ac_cxx_werror_flag"
43585 || test ! -s conftest.err'
43586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43587 (eval $ac_try) 2>&5
43588 ac_status=$?
43589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43590 (exit $ac_status); }; } &&
43591 { ac_try='test -s conftest$ac_exeext'
43592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43593 (eval $ac_try) 2>&5
43594 ac_status=$?
43595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43596 (exit $ac_status); }; }; then
43597 eval "$as_ac_var=yes"
43598 else
43599 echo "$as_me: failed program was:" >&5
43600 sed 's/^/| /' conftest.$ac_ext >&5
43601
43602 eval "$as_ac_var=no"
43603 fi
43604 rm -f conftest.err conftest.$ac_objext \
43605 conftest$ac_exeext conftest.$ac_ext
43606 fi
43607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43609 if test `eval echo '${'$as_ac_var'}'` = yes; then
43610 cat >>confdefs.h <<_ACEOF
43611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43612 _ACEOF
43613
43614 fi
43615 done
43616
43617
43618 if test "$ac_cv_func_localtime" = "yes"; then
43619 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43620 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43621 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43622 echo $ECHO_N "(cached) $ECHO_C" >&6
43623 else
43624
43625 cat >conftest.$ac_ext <<_ACEOF
43626 /* confdefs.h. */
43627 _ACEOF
43628 cat confdefs.h >>conftest.$ac_ext
43629 cat >>conftest.$ac_ext <<_ACEOF
43630 /* end confdefs.h. */
43631
43632 #include <time.h>
43633
43634 int
43635 main ()
43636 {
43637
43638 struct tm tm;
43639 tm.tm_gmtoff++;
43640
43641 ;
43642 return 0;
43643 }
43644 _ACEOF
43645 rm -f conftest.$ac_objext
43646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43647 (eval $ac_compile) 2>conftest.er1
43648 ac_status=$?
43649 grep -v '^ *+' conftest.er1 >conftest.err
43650 rm -f conftest.er1
43651 cat conftest.err >&5
43652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43653 (exit $ac_status); } &&
43654 { ac_try='test -z "$ac_cxx_werror_flag"
43655 || test ! -s conftest.err'
43656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43657 (eval $ac_try) 2>&5
43658 ac_status=$?
43659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43660 (exit $ac_status); }; } &&
43661 { ac_try='test -s conftest.$ac_objext'
43662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43663 (eval $ac_try) 2>&5
43664 ac_status=$?
43665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43666 (exit $ac_status); }; }; then
43667
43668 wx_cv_struct_tm_has_gmtoff=yes
43669
43670 else
43671 echo "$as_me: failed program was:" >&5
43672 sed 's/^/| /' conftest.$ac_ext >&5
43673
43674 wx_cv_struct_tm_has_gmtoff=no
43675
43676 fi
43677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43678
43679 fi
43680 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43681 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43682 fi
43683
43684 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43685 cat >>confdefs.h <<\_ACEOF
43686 #define WX_GMTOFF_IN_TM 1
43687 _ACEOF
43688
43689 fi
43690
43691
43692
43693 for ac_func in gettimeofday ftime
43694 do
43695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43696 echo "$as_me:$LINENO: checking for $ac_func" >&5
43697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43698 if eval "test \"\${$as_ac_var+set}\" = set"; then
43699 echo $ECHO_N "(cached) $ECHO_C" >&6
43700 else
43701 cat >conftest.$ac_ext <<_ACEOF
43702 /* confdefs.h. */
43703 _ACEOF
43704 cat confdefs.h >>conftest.$ac_ext
43705 cat >>conftest.$ac_ext <<_ACEOF
43706 /* end confdefs.h. */
43707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43709 #define $ac_func innocuous_$ac_func
43710
43711 /* System header to define __stub macros and hopefully few prototypes,
43712 which can conflict with char $ac_func (); below.
43713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43714 <limits.h> exists even on freestanding compilers. */
43715
43716 #ifdef __STDC__
43717 # include <limits.h>
43718 #else
43719 # include <assert.h>
43720 #endif
43721
43722 #undef $ac_func
43723
43724 /* Override any gcc2 internal prototype to avoid an error. */
43725 #ifdef __cplusplus
43726 extern "C"
43727 {
43728 #endif
43729 /* We use char because int might match the return type of a gcc2
43730 builtin and then its argument prototype would still apply. */
43731 char $ac_func ();
43732 /* The GNU C library defines this for functions which it implements
43733 to always fail with ENOSYS. Some functions are actually named
43734 something starting with __ and the normal name is an alias. */
43735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43736 choke me
43737 #else
43738 char (*f) () = $ac_func;
43739 #endif
43740 #ifdef __cplusplus
43741 }
43742 #endif
43743
43744 int
43745 main ()
43746 {
43747 return f != $ac_func;
43748 ;
43749 return 0;
43750 }
43751 _ACEOF
43752 rm -f conftest.$ac_objext conftest$ac_exeext
43753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43754 (eval $ac_link) 2>conftest.er1
43755 ac_status=$?
43756 grep -v '^ *+' conftest.er1 >conftest.err
43757 rm -f conftest.er1
43758 cat conftest.err >&5
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); } &&
43761 { ac_try='test -z "$ac_cxx_werror_flag"
43762 || 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 break
43791 fi
43792 done
43793
43794
43795 if test "$ac_cv_func_gettimeofday" = "yes"; then
43796 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43797 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43798 if test "${wx_cv_func_gettimeofday_has_2_args+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 <sys/time.h>
43810 #include <unistd.h>
43811
43812 int
43813 main ()
43814 {
43815
43816 struct timeval tv;
43817 gettimeofday(&tv, NULL);
43818
43819 ;
43820 return 0;
43821 }
43822 _ACEOF
43823 rm -f conftest.$ac_objext
43824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43825 (eval $ac_compile) 2>conftest.er1
43826 ac_status=$?
43827 grep -v '^ *+' conftest.er1 >conftest.err
43828 rm -f conftest.er1
43829 cat conftest.err >&5
43830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43831 (exit $ac_status); } &&
43832 { ac_try='test -z "$ac_cxx_werror_flag"
43833 || test ! -s conftest.err'
43834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43835 (eval $ac_try) 2>&5
43836 ac_status=$?
43837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43838 (exit $ac_status); }; } &&
43839 { ac_try='test -s conftest.$ac_objext'
43840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43841 (eval $ac_try) 2>&5
43842 ac_status=$?
43843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844 (exit $ac_status); }; }; then
43845 wx_cv_func_gettimeofday_has_2_args=yes
43846 else
43847 echo "$as_me: failed program was:" >&5
43848 sed 's/^/| /' conftest.$ac_ext >&5
43849
43850 cat >conftest.$ac_ext <<_ACEOF
43851 /* confdefs.h. */
43852 _ACEOF
43853 cat confdefs.h >>conftest.$ac_ext
43854 cat >>conftest.$ac_ext <<_ACEOF
43855 /* end confdefs.h. */
43856
43857 #include <sys/time.h>
43858 #include <unistd.h>
43859
43860 int
43861 main ()
43862 {
43863
43864 struct timeval tv;
43865 gettimeofday(&tv);
43866
43867 ;
43868 return 0;
43869 }
43870 _ACEOF
43871 rm -f conftest.$ac_objext
43872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43873 (eval $ac_compile) 2>conftest.er1
43874 ac_status=$?
43875 grep -v '^ *+' conftest.er1 >conftest.err
43876 rm -f conftest.er1
43877 cat conftest.err >&5
43878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43879 (exit $ac_status); } &&
43880 { ac_try='test -z "$ac_cxx_werror_flag"
43881 || test ! -s conftest.err'
43882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43883 (eval $ac_try) 2>&5
43884 ac_status=$?
43885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43886 (exit $ac_status); }; } &&
43887 { ac_try='test -s conftest.$ac_objext'
43888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43889 (eval $ac_try) 2>&5
43890 ac_status=$?
43891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43892 (exit $ac_status); }; }; then
43893 wx_cv_func_gettimeofday_has_2_args=no
43894 else
43895 echo "$as_me: failed program was:" >&5
43896 sed 's/^/| /' conftest.$ac_ext >&5
43897
43898
43899 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43900 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43901 wx_cv_func_gettimeofday_has_2_args=unknown
43902
43903
43904 fi
43905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43906
43907 fi
43908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43909
43910 fi
43911 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43912 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43913
43914 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43915 cat >>confdefs.h <<\_ACEOF
43916 #define WX_GETTIMEOFDAY_NO_TZ 1
43917 _ACEOF
43918
43919 fi
43920 fi
43921
43922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43923 fi
43924
43925
43926 if test "$wxUSE_SOCKETS" = "yes"; then
43927 if test "$wxUSE_MGL" = "1"; then
43928 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43929 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43930 wxUSE_SOCKETS="no"
43931 fi
43932 fi
43933
43934 if test "$wxUSE_SOCKETS" = "yes"; then
43935 if test "$TOOLKIT" != "MSW"; then
43936 echo "$as_me:$LINENO: checking for socket" >&5
43937 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43938 if test "${ac_cv_func_socket+set}" = set; then
43939 echo $ECHO_N "(cached) $ECHO_C" >&6
43940 else
43941 cat >conftest.$ac_ext <<_ACEOF
43942 /* confdefs.h. */
43943 _ACEOF
43944 cat confdefs.h >>conftest.$ac_ext
43945 cat >>conftest.$ac_ext <<_ACEOF
43946 /* end confdefs.h. */
43947 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43949 #define socket innocuous_socket
43950
43951 /* System header to define __stub macros and hopefully few prototypes,
43952 which can conflict with char socket (); below.
43953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43954 <limits.h> exists even on freestanding compilers. */
43955
43956 #ifdef __STDC__
43957 # include <limits.h>
43958 #else
43959 # include <assert.h>
43960 #endif
43961
43962 #undef socket
43963
43964 /* Override any gcc2 internal prototype to avoid an error. */
43965 #ifdef __cplusplus
43966 extern "C"
43967 {
43968 #endif
43969 /* We use char because int might match the return type of a gcc2
43970 builtin and then its argument prototype would still apply. */
43971 char socket ();
43972 /* The GNU C library defines this for functions which it implements
43973 to always fail with ENOSYS. Some functions are actually named
43974 something starting with __ and the normal name is an alias. */
43975 #if defined (__stub_socket) || defined (__stub___socket)
43976 choke me
43977 #else
43978 char (*f) () = socket;
43979 #endif
43980 #ifdef __cplusplus
43981 }
43982 #endif
43983
43984 int
43985 main ()
43986 {
43987 return f != socket;
43988 ;
43989 return 0;
43990 }
43991 _ACEOF
43992 rm -f conftest.$ac_objext conftest$ac_exeext
43993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43994 (eval $ac_link) 2>conftest.er1
43995 ac_status=$?
43996 grep -v '^ *+' conftest.er1 >conftest.err
43997 rm -f conftest.er1
43998 cat conftest.err >&5
43999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44000 (exit $ac_status); } &&
44001 { ac_try='test -z "$ac_cxx_werror_flag"
44002 || test ! -s conftest.err'
44003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44004 (eval $ac_try) 2>&5
44005 ac_status=$?
44006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44007 (exit $ac_status); }; } &&
44008 { ac_try='test -s conftest$ac_exeext'
44009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44010 (eval $ac_try) 2>&5
44011 ac_status=$?
44012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44013 (exit $ac_status); }; }; then
44014 ac_cv_func_socket=yes
44015 else
44016 echo "$as_me: failed program was:" >&5
44017 sed 's/^/| /' conftest.$ac_ext >&5
44018
44019 ac_cv_func_socket=no
44020 fi
44021 rm -f conftest.err conftest.$ac_objext \
44022 conftest$ac_exeext conftest.$ac_ext
44023 fi
44024 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44025 echo "${ECHO_T}$ac_cv_func_socket" >&6
44026 if test $ac_cv_func_socket = yes; then
44027 :
44028 else
44029
44030 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44031 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44032 if test "${ac_cv_lib_socket_socket+set}" = set; then
44033 echo $ECHO_N "(cached) $ECHO_C" >&6
44034 else
44035 ac_check_lib_save_LIBS=$LIBS
44036 LIBS="-lsocket $LIBS"
44037 cat >conftest.$ac_ext <<_ACEOF
44038 /* confdefs.h. */
44039 _ACEOF
44040 cat confdefs.h >>conftest.$ac_ext
44041 cat >>conftest.$ac_ext <<_ACEOF
44042 /* end confdefs.h. */
44043
44044 /* Override any gcc2 internal prototype to avoid an error. */
44045 #ifdef __cplusplus
44046 extern "C"
44047 #endif
44048 /* We use char because int might match the return type of a gcc2
44049 builtin and then its argument prototype would still apply. */
44050 char socket ();
44051 int
44052 main ()
44053 {
44054 socket ();
44055 ;
44056 return 0;
44057 }
44058 _ACEOF
44059 rm -f conftest.$ac_objext conftest$ac_exeext
44060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44061 (eval $ac_link) 2>conftest.er1
44062 ac_status=$?
44063 grep -v '^ *+' conftest.er1 >conftest.err
44064 rm -f conftest.er1
44065 cat conftest.err >&5
44066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44067 (exit $ac_status); } &&
44068 { ac_try='test -z "$ac_cxx_werror_flag"
44069 || test ! -s conftest.err'
44070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44071 (eval $ac_try) 2>&5
44072 ac_status=$?
44073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074 (exit $ac_status); }; } &&
44075 { ac_try='test -s conftest$ac_exeext'
44076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44077 (eval $ac_try) 2>&5
44078 ac_status=$?
44079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44080 (exit $ac_status); }; }; then
44081 ac_cv_lib_socket_socket=yes
44082 else
44083 echo "$as_me: failed program was:" >&5
44084 sed 's/^/| /' conftest.$ac_ext >&5
44085
44086 ac_cv_lib_socket_socket=no
44087 fi
44088 rm -f conftest.err conftest.$ac_objext \
44089 conftest$ac_exeext conftest.$ac_ext
44090 LIBS=$ac_check_lib_save_LIBS
44091 fi
44092 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44093 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44094 if test $ac_cv_lib_socket_socket = yes; then
44095 if test "$INET_LINK" != " -lsocket"; then
44096 INET_LINK="$INET_LINK -lsocket"
44097 fi
44098 else
44099
44100 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44101 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44102 wxUSE_SOCKETS=no
44103
44104
44105 fi
44106
44107
44108
44109 fi
44110
44111 fi
44112 fi
44113
44114 if test "$wxUSE_SOCKETS" = "yes" ; then
44115 if test "$TOOLKIT" != "MSW"; then
44116 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44117 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44118 if test "${wx_cv_type_getsockname3+set}" = set; then
44119 echo $ECHO_N "(cached) $ECHO_C" >&6
44120 else
44121
44122 cat >conftest.$ac_ext <<_ACEOF
44123 /* confdefs.h. */
44124 _ACEOF
44125 cat confdefs.h >>conftest.$ac_ext
44126 cat >>conftest.$ac_ext <<_ACEOF
44127 /* end confdefs.h. */
44128
44129 #include <sys/types.h>
44130 #include <sys/socket.h>
44131
44132 int
44133 main ()
44134 {
44135
44136 socklen_t len;
44137 getsockname(0, 0, &len);
44138
44139 ;
44140 return 0;
44141 }
44142 _ACEOF
44143 rm -f conftest.$ac_objext
44144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44145 (eval $ac_compile) 2>conftest.er1
44146 ac_status=$?
44147 grep -v '^ *+' conftest.er1 >conftest.err
44148 rm -f conftest.er1
44149 cat conftest.err >&5
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); } &&
44152 { ac_try='test -z "$ac_cxx_werror_flag"
44153 || test ! -s conftest.err'
44154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44155 (eval $ac_try) 2>&5
44156 ac_status=$?
44157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44158 (exit $ac_status); }; } &&
44159 { ac_try='test -s conftest.$ac_objext'
44160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44161 (eval $ac_try) 2>&5
44162 ac_status=$?
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); }; }; then
44165 wx_cv_type_getsockname3=socklen_t
44166 else
44167 echo "$as_me: failed program was:" >&5
44168 sed 's/^/| /' conftest.$ac_ext >&5
44169
44170
44171 CXXFLAGS_OLD="$CXXFLAGS"
44172 if test "$GCC" = yes ; then
44173 CXXFLAGS="-Werror $CXXFLAGS"
44174 fi
44175
44176 cat >conftest.$ac_ext <<_ACEOF
44177 /* confdefs.h. */
44178 _ACEOF
44179 cat confdefs.h >>conftest.$ac_ext
44180 cat >>conftest.$ac_ext <<_ACEOF
44181 /* end confdefs.h. */
44182
44183 #include <sys/types.h>
44184 #include <sys/socket.h>
44185
44186 int
44187 main ()
44188 {
44189
44190 size_t len;
44191 getsockname(0, 0, &len);
44192
44193 ;
44194 return 0;
44195 }
44196 _ACEOF
44197 rm -f conftest.$ac_objext
44198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44199 (eval $ac_compile) 2>conftest.er1
44200 ac_status=$?
44201 grep -v '^ *+' conftest.er1 >conftest.err
44202 rm -f conftest.er1
44203 cat conftest.err >&5
44204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44205 (exit $ac_status); } &&
44206 { ac_try='test -z "$ac_cxx_werror_flag"
44207 || test ! -s conftest.err'
44208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44209 (eval $ac_try) 2>&5
44210 ac_status=$?
44211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44212 (exit $ac_status); }; } &&
44213 { ac_try='test -s conftest.$ac_objext'
44214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44215 (eval $ac_try) 2>&5
44216 ac_status=$?
44217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44218 (exit $ac_status); }; }; then
44219 wx_cv_type_getsockname3=size_t
44220 else
44221 echo "$as_me: failed program was:" >&5
44222 sed 's/^/| /' conftest.$ac_ext >&5
44223
44224 cat >conftest.$ac_ext <<_ACEOF
44225 /* confdefs.h. */
44226 _ACEOF
44227 cat confdefs.h >>conftest.$ac_ext
44228 cat >>conftest.$ac_ext <<_ACEOF
44229 /* end confdefs.h. */
44230
44231 #include <sys/types.h>
44232 #include <sys/socket.h>
44233
44234 int
44235 main ()
44236 {
44237
44238 int len;
44239 getsockname(0, 0, &len);
44240
44241 ;
44242 return 0;
44243 }
44244 _ACEOF
44245 rm -f conftest.$ac_objext
44246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44247 (eval $ac_compile) 2>conftest.er1
44248 ac_status=$?
44249 grep -v '^ *+' conftest.er1 >conftest.err
44250 rm -f conftest.er1
44251 cat conftest.err >&5
44252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44253 (exit $ac_status); } &&
44254 { ac_try='test -z "$ac_cxx_werror_flag"
44255 || test ! -s conftest.err'
44256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44257 (eval $ac_try) 2>&5
44258 ac_status=$?
44259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44260 (exit $ac_status); }; } &&
44261 { ac_try='test -s conftest.$ac_objext'
44262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44263 (eval $ac_try) 2>&5
44264 ac_status=$?
44265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44266 (exit $ac_status); }; }; then
44267 wx_cv_type_getsockname3=int
44268 else
44269 echo "$as_me: failed program was:" >&5
44270 sed 's/^/| /' conftest.$ac_ext >&5
44271
44272 wx_cv_type_getsockname3=unknown
44273
44274 fi
44275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44276
44277 fi
44278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44279
44280 CXXFLAGS="$CXXFLAGS_OLD"
44281
44282
44283 fi
44284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44285
44286 fi
44287 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44288 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44289
44290 if test "$wx_cv_type_getsockname3" = "unknown"; then
44291 wxUSE_SOCKETS=no
44292 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44293 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44294 else
44295 cat >>confdefs.h <<_ACEOF
44296 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44297 _ACEOF
44298
44299 fi
44300 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44301 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44302 if test "${wx_cv_type_getsockopt5+set}" = set; then
44303 echo $ECHO_N "(cached) $ECHO_C" >&6
44304 else
44305
44306 cat >conftest.$ac_ext <<_ACEOF
44307 /* confdefs.h. */
44308 _ACEOF
44309 cat confdefs.h >>conftest.$ac_ext
44310 cat >>conftest.$ac_ext <<_ACEOF
44311 /* end confdefs.h. */
44312
44313 #include <sys/types.h>
44314 #include <sys/socket.h>
44315
44316 int
44317 main ()
44318 {
44319
44320 socklen_t len;
44321 getsockopt(0, 0, 0, 0, &len);
44322
44323 ;
44324 return 0;
44325 }
44326 _ACEOF
44327 rm -f conftest.$ac_objext
44328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44329 (eval $ac_compile) 2>conftest.er1
44330 ac_status=$?
44331 grep -v '^ *+' conftest.er1 >conftest.err
44332 rm -f conftest.er1
44333 cat conftest.err >&5
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); } &&
44336 { ac_try='test -z "$ac_cxx_werror_flag"
44337 || test ! -s conftest.err'
44338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44339 (eval $ac_try) 2>&5
44340 ac_status=$?
44341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44342 (exit $ac_status); }; } &&
44343 { ac_try='test -s conftest.$ac_objext'
44344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44345 (eval $ac_try) 2>&5
44346 ac_status=$?
44347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44348 (exit $ac_status); }; }; then
44349 wx_cv_type_getsockopt5=socklen_t
44350 else
44351 echo "$as_me: failed program was:" >&5
44352 sed 's/^/| /' conftest.$ac_ext >&5
44353
44354
44355 CXXFLAGS_OLD="$CXXFLAGS"
44356 if test "$GCC" = yes ; then
44357 CXXFLAGS="-Werror $CXXFLAGS"
44358 fi
44359
44360 cat >conftest.$ac_ext <<_ACEOF
44361 /* confdefs.h. */
44362 _ACEOF
44363 cat confdefs.h >>conftest.$ac_ext
44364 cat >>conftest.$ac_ext <<_ACEOF
44365 /* end confdefs.h. */
44366
44367 #include <sys/types.h>
44368 #include <sys/socket.h>
44369
44370 int
44371 main ()
44372 {
44373
44374 size_t len;
44375 getsockopt(0, 0, 0, 0, &len);
44376
44377 ;
44378 return 0;
44379 }
44380 _ACEOF
44381 rm -f conftest.$ac_objext
44382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44383 (eval $ac_compile) 2>conftest.er1
44384 ac_status=$?
44385 grep -v '^ *+' conftest.er1 >conftest.err
44386 rm -f conftest.er1
44387 cat conftest.err >&5
44388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44389 (exit $ac_status); } &&
44390 { ac_try='test -z "$ac_cxx_werror_flag"
44391 || test ! -s conftest.err'
44392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44393 (eval $ac_try) 2>&5
44394 ac_status=$?
44395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44396 (exit $ac_status); }; } &&
44397 { ac_try='test -s conftest.$ac_objext'
44398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44399 (eval $ac_try) 2>&5
44400 ac_status=$?
44401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44402 (exit $ac_status); }; }; then
44403 wx_cv_type_getsockopt5=size_t
44404 else
44405 echo "$as_me: failed program was:" >&5
44406 sed 's/^/| /' conftest.$ac_ext >&5
44407
44408 cat >conftest.$ac_ext <<_ACEOF
44409 /* confdefs.h. */
44410 _ACEOF
44411 cat confdefs.h >>conftest.$ac_ext
44412 cat >>conftest.$ac_ext <<_ACEOF
44413 /* end confdefs.h. */
44414
44415 #include <sys/types.h>
44416 #include <sys/socket.h>
44417
44418 int
44419 main ()
44420 {
44421
44422 int len;
44423 getsockopt(0, 0, 0, 0, &len);
44424
44425 ;
44426 return 0;
44427 }
44428 _ACEOF
44429 rm -f conftest.$ac_objext
44430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44431 (eval $ac_compile) 2>conftest.er1
44432 ac_status=$?
44433 grep -v '^ *+' conftest.er1 >conftest.err
44434 rm -f conftest.er1
44435 cat conftest.err >&5
44436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44437 (exit $ac_status); } &&
44438 { ac_try='test -z "$ac_cxx_werror_flag"
44439 || test ! -s conftest.err'
44440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44441 (eval $ac_try) 2>&5
44442 ac_status=$?
44443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44444 (exit $ac_status); }; } &&
44445 { ac_try='test -s conftest.$ac_objext'
44446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44447 (eval $ac_try) 2>&5
44448 ac_status=$?
44449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44450 (exit $ac_status); }; }; then
44451 wx_cv_type_getsockopt5=int
44452 else
44453 echo "$as_me: failed program was:" >&5
44454 sed 's/^/| /' conftest.$ac_ext >&5
44455
44456 wx_cv_type_getsockopt5=unknown
44457
44458 fi
44459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44460
44461 fi
44462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44463
44464 CXXFLAGS="$CXXFLAGS_OLD"
44465
44466
44467 fi
44468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44469
44470 fi
44471 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44472 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44473
44474 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44475 wxUSE_SOCKETS=no
44476 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44477 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44478 else
44479 cat >>confdefs.h <<_ACEOF
44480 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44481 _ACEOF
44482
44483 fi
44484 fi
44485 fi
44486
44487 if test "$wxUSE_SOCKETS" = "yes" ; then
44488 cat >>confdefs.h <<\_ACEOF
44489 #define wxUSE_SOCKETS 1
44490 _ACEOF
44491
44492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44493 fi
44494
44495 if test "$wxUSE_PROTOCOL" = "yes"; then
44496 if test "$wxUSE_SOCKETS" != "yes"; then
44497 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44498 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44499 wxUSE_PROTOCOL=no
44500 fi
44501 fi
44502
44503 if test "$wxUSE_PROTOCOL" = "yes"; then
44504 cat >>confdefs.h <<\_ACEOF
44505 #define wxUSE_PROTOCOL 1
44506 _ACEOF
44507
44508
44509 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44510 cat >>confdefs.h <<\_ACEOF
44511 #define wxUSE_PROTOCOL_HTTP 1
44512 _ACEOF
44513
44514 fi
44515 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44516 cat >>confdefs.h <<\_ACEOF
44517 #define wxUSE_PROTOCOL_FTP 1
44518 _ACEOF
44519
44520 fi
44521 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44522 cat >>confdefs.h <<\_ACEOF
44523 #define wxUSE_PROTOCOL_FILE 1
44524 _ACEOF
44525
44526 fi
44527 else
44528 if test "$wxUSE_FS_INET" = "yes"; then
44529 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44530 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44531 wxUSE_FS_INET="no"
44532 fi
44533 fi
44534
44535 if test "$wxUSE_URL" = "yes"; then
44536 if test "$wxUSE_PROTOCOL" != "yes"; then
44537 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44538 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44539 wxUSE_URL=no
44540 fi
44541 if test "$wxUSE_URL" = "yes"; then
44542 cat >>confdefs.h <<\_ACEOF
44543 #define wxUSE_URL 1
44544 _ACEOF
44545
44546 fi
44547 fi
44548
44549 if test "$wxUSE_FS_INET" = "yes"; then
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_FS_INET 1
44552 _ACEOF
44553
44554 fi
44555
44556
44557 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44558 wxUSE_JOYSTICK=no
44559
44560 if test "$TOOLKIT" = "MSW"; then
44561 wxUSE_JOYSTICK=yes
44562
44563 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44564 if test "$USE_DARWIN" = 1; then
44565 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44566 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44567 cat >conftest.$ac_ext <<_ACEOF
44568 /* confdefs.h. */
44569 _ACEOF
44570 cat confdefs.h >>conftest.$ac_ext
44571 cat >>conftest.$ac_ext <<_ACEOF
44572 /* end confdefs.h. */
44573 #include <IOKit/hid/IOHIDLib.h>
44574 int
44575 main ()
44576 {
44577 IOHIDQueueInterface *qi = NULL;
44578 IOHIDCallbackFunction cb = NULL;
44579 qi->setEventCallout(NULL, cb, NULL, NULL);
44580 ;
44581 return 0;
44582 }
44583 _ACEOF
44584 rm -f conftest.$ac_objext
44585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44586 (eval $ac_compile) 2>conftest.er1
44587 ac_status=$?
44588 grep -v '^ *+' conftest.er1 >conftest.err
44589 rm -f conftest.er1
44590 cat conftest.err >&5
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); } &&
44593 { ac_try='test -z "$ac_cxx_werror_flag"
44594 || test ! -s conftest.err'
44595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44596 (eval $ac_try) 2>&5
44597 ac_status=$?
44598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44599 (exit $ac_status); }; } &&
44600 { ac_try='test -s conftest.$ac_objext'
44601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44602 (eval $ac_try) 2>&5
44603 ac_status=$?
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); }; }; then
44606 wxUSE_JOYSTICK=yes
44607
44608 else
44609 echo "$as_me: failed program was:" >&5
44610 sed 's/^/| /' conftest.$ac_ext >&5
44611
44612 fi
44613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44614 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44615 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44616 fi
44617
44618 else
44619
44620 for ac_header in linux/joystick.h
44621 do
44622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44624 echo "$as_me:$LINENO: checking for $ac_header" >&5
44625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44627 echo $ECHO_N "(cached) $ECHO_C" >&6
44628 fi
44629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44631 else
44632 # Is the header compilable?
44633 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44634 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44635 cat >conftest.$ac_ext <<_ACEOF
44636 /* confdefs.h. */
44637 _ACEOF
44638 cat confdefs.h >>conftest.$ac_ext
44639 cat >>conftest.$ac_ext <<_ACEOF
44640 /* end confdefs.h. */
44641 $ac_includes_default
44642 #include <$ac_header>
44643 _ACEOF
44644 rm -f conftest.$ac_objext
44645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44646 (eval $ac_compile) 2>conftest.er1
44647 ac_status=$?
44648 grep -v '^ *+' conftest.er1 >conftest.err
44649 rm -f conftest.er1
44650 cat conftest.err >&5
44651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44652 (exit $ac_status); } &&
44653 { ac_try='test -z "$ac_cxx_werror_flag"
44654 || test ! -s conftest.err'
44655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44656 (eval $ac_try) 2>&5
44657 ac_status=$?
44658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44659 (exit $ac_status); }; } &&
44660 { ac_try='test -s conftest.$ac_objext'
44661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44662 (eval $ac_try) 2>&5
44663 ac_status=$?
44664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44665 (exit $ac_status); }; }; then
44666 ac_header_compiler=yes
44667 else
44668 echo "$as_me: failed program was:" >&5
44669 sed 's/^/| /' conftest.$ac_ext >&5
44670
44671 ac_header_compiler=no
44672 fi
44673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44675 echo "${ECHO_T}$ac_header_compiler" >&6
44676
44677 # Is the header present?
44678 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44680 cat >conftest.$ac_ext <<_ACEOF
44681 /* confdefs.h. */
44682 _ACEOF
44683 cat confdefs.h >>conftest.$ac_ext
44684 cat >>conftest.$ac_ext <<_ACEOF
44685 /* end confdefs.h. */
44686 #include <$ac_header>
44687 _ACEOF
44688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44689 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44690 ac_status=$?
44691 grep -v '^ *+' conftest.er1 >conftest.err
44692 rm -f conftest.er1
44693 cat conftest.err >&5
44694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44695 (exit $ac_status); } >/dev/null; then
44696 if test -s conftest.err; then
44697 ac_cpp_err=$ac_cxx_preproc_warn_flag
44698 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44699 else
44700 ac_cpp_err=
44701 fi
44702 else
44703 ac_cpp_err=yes
44704 fi
44705 if test -z "$ac_cpp_err"; then
44706 ac_header_preproc=yes
44707 else
44708 echo "$as_me: failed program was:" >&5
44709 sed 's/^/| /' conftest.$ac_ext >&5
44710
44711 ac_header_preproc=no
44712 fi
44713 rm -f conftest.err conftest.$ac_ext
44714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44715 echo "${ECHO_T}$ac_header_preproc" >&6
44716
44717 # So? What about this header?
44718 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44719 yes:no: )
44720 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44721 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44723 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44724 ac_header_preproc=yes
44725 ;;
44726 no:yes:* )
44727 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44729 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44731 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44732 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44733 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44734 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44737 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44738 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44739 (
44740 cat <<\_ASBOX
44741 ## ----------------------------------------- ##
44742 ## Report this to wx-dev@lists.wxwidgets.org ##
44743 ## ----------------------------------------- ##
44744 _ASBOX
44745 ) |
44746 sed "s/^/$as_me: WARNING: /" >&2
44747 ;;
44748 esac
44749 echo "$as_me:$LINENO: checking for $ac_header" >&5
44750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44752 echo $ECHO_N "(cached) $ECHO_C" >&6
44753 else
44754 eval "$as_ac_Header=\$ac_header_preproc"
44755 fi
44756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44758
44759 fi
44760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44761 cat >>confdefs.h <<_ACEOF
44762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44763 _ACEOF
44764 wxUSE_JOYSTICK=yes
44765 fi
44766
44767 done
44768
44769 fi
44770
44771 if test "$wxUSE_JOYSTICK" = "yes"; then
44772 cat >>confdefs.h <<\_ACEOF
44773 #define wxUSE_JOYSTICK 1
44774 _ACEOF
44775
44776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44777 else
44778 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44779 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44780 fi
44781 fi
44782
44783
44784
44785 if test "$wxUSE_FONTMAP" = "yes" ; then
44786 cat >>confdefs.h <<\_ACEOF
44787 #define wxUSE_FONTMAP 1
44788 _ACEOF
44789
44790 fi
44791
44792 if test "$wxUSE_UNICODE" = "yes" ; then
44793 cat >>confdefs.h <<\_ACEOF
44794 #define wxUSE_UNICODE 1
44795 _ACEOF
44796
44797
44798 if test "$USE_WIN32" != 1; then
44799 wxUSE_UNICODE_MSLU=no
44800 fi
44801
44802 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44803 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44804 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44805 if test "${ac_cv_lib_unicows_main+set}" = set; then
44806 echo $ECHO_N "(cached) $ECHO_C" >&6
44807 else
44808 ac_check_lib_save_LIBS=$LIBS
44809 LIBS="-lunicows $LIBS"
44810 cat >conftest.$ac_ext <<_ACEOF
44811 /* confdefs.h. */
44812 _ACEOF
44813 cat confdefs.h >>conftest.$ac_ext
44814 cat >>conftest.$ac_ext <<_ACEOF
44815 /* end confdefs.h. */
44816
44817
44818 int
44819 main ()
44820 {
44821 main ();
44822 ;
44823 return 0;
44824 }
44825 _ACEOF
44826 rm -f conftest.$ac_objext conftest$ac_exeext
44827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44828 (eval $ac_link) 2>conftest.er1
44829 ac_status=$?
44830 grep -v '^ *+' conftest.er1 >conftest.err
44831 rm -f conftest.er1
44832 cat conftest.err >&5
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); } &&
44835 { ac_try='test -z "$ac_cxx_werror_flag"
44836 || test ! -s conftest.err'
44837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44838 (eval $ac_try) 2>&5
44839 ac_status=$?
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); }; } &&
44842 { ac_try='test -s conftest$ac_exeext'
44843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44844 (eval $ac_try) 2>&5
44845 ac_status=$?
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); }; }; then
44848 ac_cv_lib_unicows_main=yes
44849 else
44850 echo "$as_me: failed program was:" >&5
44851 sed 's/^/| /' conftest.$ac_ext >&5
44852
44853 ac_cv_lib_unicows_main=no
44854 fi
44855 rm -f conftest.err conftest.$ac_objext \
44856 conftest$ac_exeext conftest.$ac_ext
44857 LIBS=$ac_check_lib_save_LIBS
44858 fi
44859 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44860 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44861 if test $ac_cv_lib_unicows_main = yes; then
44862
44863 cat >>confdefs.h <<\_ACEOF
44864 #define wxUSE_UNICODE_MSLU 1
44865 _ACEOF
44866
44867
44868 else
44869
44870 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44871 Applications will only run on Windows NT/2000/XP!" >&5
44872 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44873 Applications will only run on Windows NT/2000/XP!" >&2;}
44874 wxUSE_UNICODE_MSLU=no
44875
44876 fi
44877
44878 fi
44879 fi
44880
44881 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_EXPERIMENTAL_PRINTF 1
44884 _ACEOF
44885
44886 fi
44887
44888
44889 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44890 cat >>confdefs.h <<\_ACEOF
44891 #define wxUSE_POSTSCRIPT 1
44892 _ACEOF
44893
44894 fi
44895
44896 cat >>confdefs.h <<\_ACEOF
44897 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44898 _ACEOF
44899
44900
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_NORMALIZED_PS_FONTS 1
44903 _ACEOF
44904
44905
44906
44907 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44908 cat >>confdefs.h <<\_ACEOF
44909 #define wxUSE_CONSTRAINTS 1
44910 _ACEOF
44911
44912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44913 fi
44914
44915 if test "$wxUSE_MDI" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_MDI 1
44918 _ACEOF
44919
44920
44921 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44922 cat >>confdefs.h <<\_ACEOF
44923 #define wxUSE_MDI_ARCHITECTURE 1
44924 _ACEOF
44925
44926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44927 fi
44928 fi
44929
44930 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44931 cat >>confdefs.h <<\_ACEOF
44932 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44933 _ACEOF
44934
44935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44936 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44938 fi
44939 fi
44940
44941 if test "$wxUSE_HELP" = "yes"; then
44942 cat >>confdefs.h <<\_ACEOF
44943 #define wxUSE_HELP 1
44944 _ACEOF
44945
44946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44947
44948 if test "$wxUSE_MSW" = 1; then
44949 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44950 cat >>confdefs.h <<\_ACEOF
44951 #define wxUSE_MS_HTML_HELP 1
44952 _ACEOF
44953
44954 fi
44955 fi
44956
44957 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44958 if test "$wxUSE_HTML" = "yes"; then
44959 cat >>confdefs.h <<\_ACEOF
44960 #define wxUSE_WXHTML_HELP 1
44961 _ACEOF
44962
44963 else
44964 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44965 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44966 wxUSE_WXHTML_HELP=no
44967 fi
44968 fi
44969 fi
44970
44971 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44972 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44973 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44974 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44975 else
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_PRINTING_ARCHITECTURE 1
44978 _ACEOF
44979
44980 fi
44981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44982 fi
44983
44984 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44985 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44986 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44987 { (exit 1); exit 1; }; }
44988 fi
44989
44990
44991 if test "$wxUSE_METAFILE" = "yes"; then
44992 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44993 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44994 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44995 wxUSE_METAFILE=no
44996 fi
44997 fi
44998
44999
45000 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45001 -o "$wxUSE_CLIPBOARD" = "yes" \
45002 -o "$wxUSE_OLE" = "yes" \
45003 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45004
45005 for ac_header in ole2.h
45006 do
45007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45009 echo "$as_me:$LINENO: checking for $ac_header" >&5
45010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45012 echo $ECHO_N "(cached) $ECHO_C" >&6
45013 fi
45014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45016 else
45017 # Is the header compilable?
45018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45020 cat >conftest.$ac_ext <<_ACEOF
45021 /* confdefs.h. */
45022 _ACEOF
45023 cat confdefs.h >>conftest.$ac_ext
45024 cat >>conftest.$ac_ext <<_ACEOF
45025 /* end confdefs.h. */
45026 $ac_includes_default
45027 #include <$ac_header>
45028 _ACEOF
45029 rm -f conftest.$ac_objext
45030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45031 (eval $ac_compile) 2>conftest.er1
45032 ac_status=$?
45033 grep -v '^ *+' conftest.er1 >conftest.err
45034 rm -f conftest.er1
45035 cat conftest.err >&5
45036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45037 (exit $ac_status); } &&
45038 { ac_try='test -z "$ac_cxx_werror_flag"
45039 || test ! -s conftest.err'
45040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45041 (eval $ac_try) 2>&5
45042 ac_status=$?
45043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45044 (exit $ac_status); }; } &&
45045 { ac_try='test -s conftest.$ac_objext'
45046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45047 (eval $ac_try) 2>&5
45048 ac_status=$?
45049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45050 (exit $ac_status); }; }; then
45051 ac_header_compiler=yes
45052 else
45053 echo "$as_me: failed program was:" >&5
45054 sed 's/^/| /' conftest.$ac_ext >&5
45055
45056 ac_header_compiler=no
45057 fi
45058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45060 echo "${ECHO_T}$ac_header_compiler" >&6
45061
45062 # Is the header present?
45063 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45064 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45065 cat >conftest.$ac_ext <<_ACEOF
45066 /* confdefs.h. */
45067 _ACEOF
45068 cat confdefs.h >>conftest.$ac_ext
45069 cat >>conftest.$ac_ext <<_ACEOF
45070 /* end confdefs.h. */
45071 #include <$ac_header>
45072 _ACEOF
45073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45075 ac_status=$?
45076 grep -v '^ *+' conftest.er1 >conftest.err
45077 rm -f conftest.er1
45078 cat conftest.err >&5
45079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45080 (exit $ac_status); } >/dev/null; then
45081 if test -s conftest.err; then
45082 ac_cpp_err=$ac_cxx_preproc_warn_flag
45083 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45084 else
45085 ac_cpp_err=
45086 fi
45087 else
45088 ac_cpp_err=yes
45089 fi
45090 if test -z "$ac_cpp_err"; then
45091 ac_header_preproc=yes
45092 else
45093 echo "$as_me: failed program was:" >&5
45094 sed 's/^/| /' conftest.$ac_ext >&5
45095
45096 ac_header_preproc=no
45097 fi
45098 rm -f conftest.err conftest.$ac_ext
45099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45100 echo "${ECHO_T}$ac_header_preproc" >&6
45101
45102 # So? What about this header?
45103 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45104 yes:no: )
45105 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45108 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45109 ac_header_preproc=yes
45110 ;;
45111 no:yes:* )
45112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45116 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45117 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45118 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45119 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45122 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45123 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45124 (
45125 cat <<\_ASBOX
45126 ## ----------------------------------------- ##
45127 ## Report this to wx-dev@lists.wxwidgets.org ##
45128 ## ----------------------------------------- ##
45129 _ASBOX
45130 ) |
45131 sed "s/^/$as_me: WARNING: /" >&2
45132 ;;
45133 esac
45134 echo "$as_me:$LINENO: checking for $ac_header" >&5
45135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45137 echo $ECHO_N "(cached) $ECHO_C" >&6
45138 else
45139 eval "$as_ac_Header=\$ac_header_preproc"
45140 fi
45141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45143
45144 fi
45145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45146 cat >>confdefs.h <<_ACEOF
45147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45148 _ACEOF
45149
45150 fi
45151
45152 done
45153
45154
45155 if test "$ac_cv_header_ole2_h" = "yes" ; then
45156 if test "$GCC" = yes ; then
45157 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45158 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45159 cat >conftest.$ac_ext <<_ACEOF
45160 /* confdefs.h. */
45161 _ACEOF
45162 cat confdefs.h >>conftest.$ac_ext
45163 cat >>conftest.$ac_ext <<_ACEOF
45164 /* end confdefs.h. */
45165 #include <windows.h>
45166 #include <ole2.h>
45167 int
45168 main ()
45169 {
45170
45171 ;
45172 return 0;
45173 }
45174 _ACEOF
45175 rm -f conftest.$ac_objext
45176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45177 (eval $ac_compile) 2>conftest.er1
45178 ac_status=$?
45179 grep -v '^ *+' conftest.er1 >conftest.err
45180 rm -f conftest.er1
45181 cat conftest.err >&5
45182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45183 (exit $ac_status); } &&
45184 { ac_try='test -z "$ac_cxx_werror_flag"
45185 || test ! -s conftest.err'
45186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45187 (eval $ac_try) 2>&5
45188 ac_status=$?
45189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45190 (exit $ac_status); }; } &&
45191 { ac_try='test -s conftest.$ac_objext'
45192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45193 (eval $ac_try) 2>&5
45194 ac_status=$?
45195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45196 (exit $ac_status); }; }; then
45197 echo "$as_me:$LINENO: result: no" >&5
45198 echo "${ECHO_T}no" >&6
45199 else
45200 echo "$as_me: failed program was:" >&5
45201 sed 's/^/| /' conftest.$ac_ext >&5
45202
45203 echo "$as_me:$LINENO: result: yes" >&5
45204 echo "${ECHO_T}yes" >&6
45205 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45206 fi
45207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45208 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45209 if test "$wxUSE_OLE" = "yes" ; then
45210 cat >>confdefs.h <<\_ACEOF
45211 #define wxUSE_OLE 1
45212 _ACEOF
45213
45214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45215 fi
45216 fi
45217
45218 if test "$wxUSE_DATAOBJ" = "yes" ; then
45219 cat >>confdefs.h <<\_ACEOF
45220 #define wxUSE_DATAOBJ 1
45221 _ACEOF
45222
45223 fi
45224 else
45225 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45226 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45227
45228 wxUSE_CLIPBOARD=no
45229 wxUSE_DRAG_AND_DROP=no
45230 wxUSE_DATAOBJ=no
45231 wxUSE_OLE=no
45232 fi
45233
45234 if test "$wxUSE_METAFILE" = "yes"; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_METAFILE 1
45237 _ACEOF
45238
45239
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_ENH_METAFILE 1
45242 _ACEOF
45243
45244 fi
45245 fi
45246
45247 if test "$wxUSE_IPC" = "yes"; then
45248 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45249 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45250 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45251 wxUSE_IPC=no
45252 fi
45253
45254 if test "$wxUSE_IPC" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_IPC 1
45257 _ACEOF
45258
45259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45260 fi
45261 fi
45262
45263 if test "$wxUSE_DATAOBJ" = "yes"; then
45264 if test "$wxUSE_MGL" = 1; then
45265 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45266 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45267 wxUSE_DATAOBJ=no
45268 else
45269 cat >>confdefs.h <<\_ACEOF
45270 #define wxUSE_DATAOBJ 1
45271 _ACEOF
45272
45273 fi
45274 else
45275 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45276 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45277 wxUSE_CLIPBOARD=no
45278 wxUSE_DRAG_AND_DROP=no
45279 fi
45280
45281 if test "$wxUSE_CLIPBOARD" = "yes"; then
45282 if test "$wxUSE_MGL" = 1; then
45283 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45284 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45285 wxUSE_CLIPBOARD=no
45286 fi
45287
45288 if test "$wxUSE_CLIPBOARD" = "yes"; then
45289 cat >>confdefs.h <<\_ACEOF
45290 #define wxUSE_CLIPBOARD 1
45291 _ACEOF
45292
45293 fi
45294 fi
45295
45296 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45297 if test "$wxUSE_GTK" = 1; then
45298 if test "$WXGTK12" != 1; then
45299 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45300 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45301 wxUSE_DRAG_AND_DROP=no
45302 fi
45303 fi
45304
45305 if test "$wxUSE_MOTIF" = 1; then
45306 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45307 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45308 wxUSE_DRAG_AND_DROP=no
45309 fi
45310
45311 if test "$wxUSE_X11" = 1; then
45312 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45313 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45314 wxUSE_DRAG_AND_DROP=no
45315 fi
45316
45317 if test "$wxUSE_MGL" = 1; then
45318 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45319 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45320 wxUSE_DRAG_AND_DROP=no
45321 fi
45322
45323 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45324 cat >>confdefs.h <<\_ACEOF
45325 #define wxUSE_DRAG_AND_DROP 1
45326 _ACEOF
45327
45328 fi
45329
45330 fi
45331
45332 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45334 fi
45335
45336 if test "$wxUSE_SPLINES" = "yes" ; then
45337 cat >>confdefs.h <<\_ACEOF
45338 #define wxUSE_SPLINES 1
45339 _ACEOF
45340
45341 fi
45342
45343 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45344 cat >>confdefs.h <<\_ACEOF
45345 #define wxUSE_MOUSEWHEEL 1
45346 _ACEOF
45347
45348 fi
45349
45350
45351 USES_CONTROLS=0
45352 if test "$wxUSE_CONTROLS" = "yes"; then
45353 USES_CONTROLS=1
45354 fi
45355
45356 if test "$wxUSE_ACCEL" = "yes"; then
45357 cat >>confdefs.h <<\_ACEOF
45358 #define wxUSE_ACCEL 1
45359 _ACEOF
45360
45361 USES_CONTROLS=1
45362 fi
45363
45364 if test "$wxUSE_BUTTON" = "yes"; then
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_BUTTON 1
45367 _ACEOF
45368
45369 USES_CONTROLS=1
45370 fi
45371
45372 if test "$wxUSE_BMPBUTTON" = "yes"; then
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_BMPBUTTON 1
45375 _ACEOF
45376
45377 USES_CONTROLS=1
45378 fi
45379
45380 if test "$wxUSE_CALCTRL" = "yes"; then
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_CALENDARCTRL 1
45383 _ACEOF
45384
45385 USES_CONTROLS=1
45386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45387 fi
45388
45389 if test "$wxUSE_CARET" = "yes"; then
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_CARET 1
45392 _ACEOF
45393
45394 USES_CONTROLS=1
45395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45396 fi
45397
45398 if test "$wxUSE_COMBOBOX" = "yes"; then
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_COMBOBOX 1
45401 _ACEOF
45402
45403 USES_CONTROLS=1
45404 fi
45405
45406 if test "$wxUSE_COMBOCTRL" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_COMBOCTRL 1
45409 _ACEOF
45410
45411 USES_CONTROLS=1
45412 fi
45413
45414 if test "$wxUSE_CHOICE" = "yes"; then
45415 cat >>confdefs.h <<\_ACEOF
45416 #define wxUSE_CHOICE 1
45417 _ACEOF
45418
45419 USES_CONTROLS=1
45420 fi
45421
45422 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45423 cat >>confdefs.h <<\_ACEOF
45424 #define wxUSE_CHOICEBOOK 1
45425 _ACEOF
45426
45427 USES_CONTROLS=1
45428 fi
45429
45430 if test "$wxUSE_CHECKBOX" = "yes"; then
45431 cat >>confdefs.h <<\_ACEOF
45432 #define wxUSE_CHECKBOX 1
45433 _ACEOF
45434
45435 USES_CONTROLS=1
45436 fi
45437
45438 if test "$wxUSE_CHECKLST" = "yes"; then
45439 cat >>confdefs.h <<\_ACEOF
45440 #define wxUSE_CHECKLISTBOX 1
45441 _ACEOF
45442
45443 USES_CONTROLS=1
45444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45445 fi
45446
45447 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45448 cat >>confdefs.h <<\_ACEOF
45449 #define wxUSE_COLOURPICKERCTRL 1
45450 _ACEOF
45451
45452 USES_CONTROLS=1
45453 fi
45454
45455 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45456 cat >>confdefs.h <<\_ACEOF
45457 #define wxUSE_DATEPICKCTRL 1
45458 _ACEOF
45459
45460 USES_CONTROLS=1
45461 fi
45462
45463 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_DIRPICKERCTRL 1
45466 _ACEOF
45467
45468 USES_CONTROLS=1
45469 fi
45470
45471 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45472 cat >>confdefs.h <<\_ACEOF
45473 #define wxUSE_FILEPICKERCTRL 1
45474 _ACEOF
45475
45476 USES_CONTROLS=1
45477 fi
45478
45479 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45480 cat >>confdefs.h <<\_ACEOF
45481 #define wxUSE_FONTPICKERCTRL 1
45482 _ACEOF
45483
45484 USES_CONTROLS=1
45485 fi
45486
45487 if test "$wxUSE_DISPLAY" = "yes"; then
45488 cat >>confdefs.h <<\_ACEOF
45489 #define wxUSE_DISPLAY 1
45490 _ACEOF
45491
45492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45493 fi
45494
45495 if test "$wxUSE_GAUGE" = "yes"; then
45496 cat >>confdefs.h <<\_ACEOF
45497 #define wxUSE_GAUGE 1
45498 _ACEOF
45499
45500 USES_CONTROLS=1
45501 fi
45502
45503 if test "$wxUSE_GRID" = "yes"; then
45504 cat >>confdefs.h <<\_ACEOF
45505 #define wxUSE_GRID 1
45506 _ACEOF
45507
45508 USES_CONTROLS=1
45509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45510 fi
45511
45512 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45513 cat >>confdefs.h <<\_ACEOF
45514 #define wxUSE_HYPERLINKCTRL 1
45515 _ACEOF
45516
45517 USES_CONTROLS=1
45518 fi
45519
45520 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45521 cat >>confdefs.h <<\_ACEOF
45522 #define wxUSE_DATAVIEWCTRL 1
45523 _ACEOF
45524
45525 USES_CONTROLS=1
45526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45527 fi
45528
45529 if test "$wxUSE_IMAGLIST" = "yes"; then
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_IMAGLIST 1
45532 _ACEOF
45533
45534 fi
45535
45536 if test "$wxUSE_LISTBOOK" = "yes"; then
45537 cat >>confdefs.h <<\_ACEOF
45538 #define wxUSE_LISTBOOK 1
45539 _ACEOF
45540
45541 USES_CONTROLS=1
45542 fi
45543
45544 if test "$wxUSE_LISTBOX" = "yes"; then
45545 cat >>confdefs.h <<\_ACEOF
45546 #define wxUSE_LISTBOX 1
45547 _ACEOF
45548
45549 USES_CONTROLS=1
45550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45551 fi
45552
45553 if test "$wxUSE_LISTCTRL" = "yes"; then
45554 if test "$wxUSE_IMAGLIST" = "yes"; then
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_LISTCTRL 1
45557 _ACEOF
45558
45559 USES_CONTROLS=1
45560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45561 else
45562 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45563 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45564 fi
45565 fi
45566
45567 if test "$wxUSE_NOTEBOOK" = "yes"; then
45568 cat >>confdefs.h <<\_ACEOF
45569 #define wxUSE_NOTEBOOK 1
45570 _ACEOF
45571
45572 USES_CONTROLS=1
45573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45574 fi
45575
45576 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_ODCOMBOBOX 1
45579 _ACEOF
45580
45581 USES_CONTROLS=1
45582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45583 fi
45584
45585
45586 if test "$wxUSE_RADIOBOX" = "yes"; then
45587 cat >>confdefs.h <<\_ACEOF
45588 #define wxUSE_RADIOBOX 1
45589 _ACEOF
45590
45591 USES_CONTROLS=1
45592 fi
45593
45594 if test "$wxUSE_RADIOBTN" = "yes"; then
45595 cat >>confdefs.h <<\_ACEOF
45596 #define wxUSE_RADIOBTN 1
45597 _ACEOF
45598
45599 USES_CONTROLS=1
45600 fi
45601
45602 if test "$wxUSE_SASH" = "yes"; then
45603 cat >>confdefs.h <<\_ACEOF
45604 #define wxUSE_SASH 1
45605 _ACEOF
45606
45607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45608 fi
45609
45610 if test "$wxUSE_SCROLLBAR" = "yes"; then
45611 cat >>confdefs.h <<\_ACEOF
45612 #define wxUSE_SCROLLBAR 1
45613 _ACEOF
45614
45615 USES_CONTROLS=1
45616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45617 fi
45618
45619 if test "$wxUSE_SLIDER" = "yes"; then
45620 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_SLIDER 1
45622 _ACEOF
45623
45624 USES_CONTROLS=1
45625 fi
45626
45627 if test "$wxUSE_SPINBTN" = "yes"; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_SPINBTN 1
45630 _ACEOF
45631
45632 USES_CONTROLS=1
45633 fi
45634
45635 if test "$wxUSE_SPINCTRL" = "yes"; then
45636 cat >>confdefs.h <<\_ACEOF
45637 #define wxUSE_SPINCTRL 1
45638 _ACEOF
45639
45640 USES_CONTROLS=1
45641 fi
45642
45643 if test "$wxUSE_SPLITTER" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_SPLITTER 1
45646 _ACEOF
45647
45648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45649 fi
45650
45651 if test "$wxUSE_STATBMP" = "yes"; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_STATBMP 1
45654 _ACEOF
45655
45656 USES_CONTROLS=1
45657 fi
45658
45659 if test "$wxUSE_STATBOX" = "yes"; then
45660 cat >>confdefs.h <<\_ACEOF
45661 #define wxUSE_STATBOX 1
45662 _ACEOF
45663
45664 USES_CONTROLS=1
45665 fi
45666
45667 if test "$wxUSE_STATTEXT" = "yes"; then
45668 cat >>confdefs.h <<\_ACEOF
45669 #define wxUSE_STATTEXT 1
45670 _ACEOF
45671
45672 USES_CONTROLS=1
45673 fi
45674
45675 if test "$wxUSE_STATLINE" = "yes"; then
45676 cat >>confdefs.h <<\_ACEOF
45677 #define wxUSE_STATLINE 1
45678 _ACEOF
45679
45680 USES_CONTROLS=1
45681 fi
45682
45683 if test "$wxUSE_STATUSBAR" = "yes"; then
45684 cat >>confdefs.h <<\_ACEOF
45685 #define wxUSE_NATIVE_STATUSBAR 1
45686 _ACEOF
45687
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_STATUSBAR 1
45690 _ACEOF
45691
45692 USES_CONTROLS=1
45693
45694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45695 fi
45696
45697 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45698 cat >>confdefs.h <<\_ACEOF
45699 #define wxUSE_TAB_DIALOG 1
45700 _ACEOF
45701
45702 fi
45703
45704 if test "$wxUSE_TEXTCTRL" = "yes"; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_TEXTCTRL 1
45707 _ACEOF
45708
45709 USES_CONTROLS=1
45710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45711 fi
45712
45713 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45714 if test "$wxUSE_COCOA" = 1 ; then
45715 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45716 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45717 wxUSE_TOGGLEBTN=no
45718 fi
45719
45720 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45721 cat >>confdefs.h <<\_ACEOF
45722 #define wxUSE_TOGGLEBTN 1
45723 _ACEOF
45724
45725 USES_CONTROLS=1
45726 fi
45727 fi
45728
45729 if test "$wxUSE_TOOLBAR" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_TOOLBAR 1
45732 _ACEOF
45733
45734 USES_CONTROLS=1
45735
45736 if test "$wxUSE_UNIVERSAL" = "yes"; then
45737 wxUSE_TOOLBAR_NATIVE="no"
45738 else
45739 wxUSE_TOOLBAR_NATIVE="yes"
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_TOOLBAR_NATIVE 1
45742 _ACEOF
45743
45744 fi
45745
45746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45747 fi
45748
45749 if test "$wxUSE_TOOLTIPS" = "yes"; then
45750 if test "$wxUSE_MOTIF" = 1; then
45751 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45752 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45753 else
45754 if test "$wxUSE_UNIVERSAL" = "yes"; then
45755 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45756 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45757 else
45758 cat >>confdefs.h <<\_ACEOF
45759 #define wxUSE_TOOLTIPS 1
45760 _ACEOF
45761
45762 fi
45763 fi
45764 fi
45765
45766 if test "$wxUSE_TREEBOOK" = "yes"; then
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_TREEBOOK 1
45769 _ACEOF
45770
45771 USES_CONTROLS=1
45772 fi
45773
45774 if test "$wxUSE_TOOLBOOK" = "yes"; then
45775 cat >>confdefs.h <<\_ACEOF
45776 #define wxUSE_TOOLBOOK 1
45777 _ACEOF
45778
45779 USES_CONTROLS=1
45780 fi
45781
45782 if test "$wxUSE_TREECTRL" = "yes"; then
45783 if test "$wxUSE_IMAGLIST" = "yes"; then
45784 cat >>confdefs.h <<\_ACEOF
45785 #define wxUSE_TREECTRL 1
45786 _ACEOF
45787
45788 USES_CONTROLS=1
45789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45790 else
45791 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45792 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45793 fi
45794 fi
45795
45796 if test "$wxUSE_POPUPWIN" = "yes"; then
45797 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45798 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45799 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45800 else
45801 if test "$wxUSE_PM" = 1; then
45802 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45803 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45804 else
45805 cat >>confdefs.h <<\_ACEOF
45806 #define wxUSE_POPUPWIN 1
45807 _ACEOF
45808
45809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45810
45811 USES_CONTROLS=1
45812 fi
45813 fi
45814 fi
45815
45816 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45817 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45818 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45819 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45820 else
45821 cat >>confdefs.h <<\_ACEOF
45822 #define wxUSE_DIALUP_MANAGER 1
45823 _ACEOF
45824
45825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45826 fi
45827 fi
45828
45829 if test "$wxUSE_TIPWINDOW" = "yes"; then
45830 if test "$wxUSE_PM" = 1; then
45831 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45832 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45833 else
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_TIPWINDOW 1
45836 _ACEOF
45837
45838 fi
45839 fi
45840
45841 if test "$USES_CONTROLS" = 1; then
45842 cat >>confdefs.h <<\_ACEOF
45843 #define wxUSE_CONTROLS 1
45844 _ACEOF
45845
45846 fi
45847
45848
45849 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45850 cat >>confdefs.h <<\_ACEOF
45851 #define wxUSE_ACCESSIBILITY 1
45852 _ACEOF
45853
45854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45855 fi
45856
45857 if test "$wxUSE_DC_CACHEING" = "yes"; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_DC_CACHEING 1
45860 _ACEOF
45861
45862 fi
45863
45864 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45865 cat >>confdefs.h <<\_ACEOF
45866 #define wxUSE_DRAGIMAGE 1
45867 _ACEOF
45868
45869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45870 fi
45871
45872 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45873 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45874 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45875 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45876 else
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_EXCEPTIONS 1
45879 _ACEOF
45880
45881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45882 fi
45883 fi
45884
45885 USE_HTML=0
45886 if test "$wxUSE_HTML" = "yes"; then
45887 cat >>confdefs.h <<\_ACEOF
45888 #define wxUSE_HTML 1
45889 _ACEOF
45890
45891 USE_HTML=1
45892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45893 if test "$wxUSE_MAC" = 1; then
45894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45895 fi
45896 fi
45897 if test "$wxUSE_WEBKIT" = "yes"; then
45898 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45899 old_CPPFLAGS="$CPPFLAGS"
45900 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45901 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45902 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45903 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45904 echo $ECHO_N "(cached) $ECHO_C" >&6
45905 else
45906 cat >conftest.$ac_ext <<_ACEOF
45907 /* confdefs.h. */
45908 _ACEOF
45909 cat confdefs.h >>conftest.$ac_ext
45910 cat >>conftest.$ac_ext <<_ACEOF
45911 /* end confdefs.h. */
45912 #include <Carbon/Carbon.h>
45913
45914 #include <WebKit/HIWebView.h>
45915 _ACEOF
45916 rm -f conftest.$ac_objext
45917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45918 (eval $ac_compile) 2>conftest.er1
45919 ac_status=$?
45920 grep -v '^ *+' conftest.er1 >conftest.err
45921 rm -f conftest.er1
45922 cat conftest.err >&5
45923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45924 (exit $ac_status); } &&
45925 { ac_try='test -z "$ac_cxx_werror_flag"
45926 || test ! -s conftest.err'
45927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45928 (eval $ac_try) 2>&5
45929 ac_status=$?
45930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45931 (exit $ac_status); }; } &&
45932 { ac_try='test -s conftest.$ac_objext'
45933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45934 (eval $ac_try) 2>&5
45935 ac_status=$?
45936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45937 (exit $ac_status); }; }; then
45938 ac_cv_header_WebKit_HIWebView_h=yes
45939 else
45940 echo "$as_me: failed program was:" >&5
45941 sed 's/^/| /' conftest.$ac_ext >&5
45942
45943 ac_cv_header_WebKit_HIWebView_h=no
45944 fi
45945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45946 fi
45947 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45948 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45949 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45950
45951 cat >>confdefs.h <<\_ACEOF
45952 #define wxUSE_WEBKIT 1
45953 _ACEOF
45954
45955 WEBKIT_LINK="-framework WebKit"
45956
45957 else
45958
45959 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45960 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45961 wxUSE_WEBKIT=no
45962
45963 fi
45964
45965
45966 CPPFLAGS="$old_CPPFLAGS"
45967 elif test "$wxUSE_COCOA" = 1; then
45968 cat >>confdefs.h <<\_ACEOF
45969 #define wxUSE_WEBKIT 1
45970 _ACEOF
45971
45972 else
45973 wxUSE_WEBKIT=no
45974 fi
45975 fi
45976
45977 USE_XRC=0
45978 if test "$wxUSE_XRC" = "yes"; then
45979 if test "$wxUSE_XML" != "yes"; then
45980 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45981 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45982 wxUSE_XRC=no
45983 else
45984 cat >>confdefs.h <<\_ACEOF
45985 #define wxUSE_XRC 1
45986 _ACEOF
45987
45988 USE_XRC=1
45989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45990 fi
45991 fi
45992
45993 USE_AUI=0
45994 if test "$wxUSE_AUI" = "yes"; then
45995 cat >>confdefs.h <<\_ACEOF
45996 #define wxUSE_AUI 1
45997 _ACEOF
45998
45999 USE_AUI=1
46000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46001 fi
46002
46003 if test "$wxUSE_MENUS" = "yes"; then
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_MENUS 1
46006 _ACEOF
46007
46008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46009 fi
46010
46011 if test "$wxUSE_METAFILE" = "yes"; then
46012 cat >>confdefs.h <<\_ACEOF
46013 #define wxUSE_METAFILE 1
46014 _ACEOF
46015
46016 fi
46017
46018 if test "$wxUSE_MIMETYPE" = "yes"; then
46019 cat >>confdefs.h <<\_ACEOF
46020 #define wxUSE_MIMETYPE 1
46021 _ACEOF
46022
46023 fi
46024
46025 if test "$wxUSE_MINIFRAME" = "yes"; then
46026 cat >>confdefs.h <<\_ACEOF
46027 #define wxUSE_MINIFRAME 1
46028 _ACEOF
46029
46030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46031 fi
46032
46033 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46034 cat >>confdefs.h <<\_ACEOF
46035 #define wxUSE_SYSTEM_OPTIONS 1
46036 _ACEOF
46037
46038 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46039 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46041 fi
46042 fi
46043
46044
46045 if test "$wxUSE_VALIDATORS" = "yes"; then
46046 cat >>confdefs.h <<\_ACEOF
46047 #define wxUSE_VALIDATORS 1
46048 _ACEOF
46049
46050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46051 fi
46052
46053 if test "$wxUSE_PALETTE" = "yes" ; then
46054 cat >>confdefs.h <<\_ACEOF
46055 #define wxUSE_PALETTE 1
46056 _ACEOF
46057
46058 fi
46059
46060 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46061 LIBS=" -lunicows $LIBS"
46062 fi
46063
46064 USE_RICHTEXT=0
46065 if test "$wxUSE_RICHTEXT" = "yes"; then
46066 cat >>confdefs.h <<\_ACEOF
46067 #define wxUSE_RICHTEXT 1
46068 _ACEOF
46069
46070 USE_RICHTEXT=1
46071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46072 fi
46073
46074
46075 if test "$wxUSE_IMAGE" = "yes" ; then
46076 cat >>confdefs.h <<\_ACEOF
46077 #define wxUSE_IMAGE 1
46078 _ACEOF
46079
46080
46081 if test "$wxUSE_GIF" = "yes" ; then
46082 cat >>confdefs.h <<\_ACEOF
46083 #define wxUSE_GIF 1
46084 _ACEOF
46085
46086 fi
46087
46088 if test "$wxUSE_PCX" = "yes" ; then
46089 cat >>confdefs.h <<\_ACEOF
46090 #define wxUSE_PCX 1
46091 _ACEOF
46092
46093 fi
46094
46095 if test "$wxUSE_IFF" = "yes" ; then
46096 cat >>confdefs.h <<\_ACEOF
46097 #define wxUSE_IFF 1
46098 _ACEOF
46099
46100 fi
46101
46102 if test "$wxUSE_PNM" = "yes" ; then
46103 cat >>confdefs.h <<\_ACEOF
46104 #define wxUSE_PNM 1
46105 _ACEOF
46106
46107 fi
46108
46109 if test "$wxUSE_XPM" = "yes" ; then
46110 cat >>confdefs.h <<\_ACEOF
46111 #define wxUSE_XPM 1
46112 _ACEOF
46113
46114 fi
46115
46116 if test "$wxUSE_ICO_CUR" = "yes" ; then
46117 cat >>confdefs.h <<\_ACEOF
46118 #define wxUSE_ICO_CUR 1
46119 _ACEOF
46120
46121 fi
46122 fi
46123
46124
46125 if test "$wxUSE_CHOICEDLG" = "yes"; then
46126 cat >>confdefs.h <<\_ACEOF
46127 #define wxUSE_CHOICEDLG 1
46128 _ACEOF
46129
46130 fi
46131
46132 if test "$wxUSE_COLOURDLG" = "yes"; then
46133 cat >>confdefs.h <<\_ACEOF
46134 #define wxUSE_COLOURDLG 1
46135 _ACEOF
46136
46137 fi
46138
46139 if test "$wxUSE_FILEDLG" = "yes"; then
46140 cat >>confdefs.h <<\_ACEOF
46141 #define wxUSE_FILEDLG 1
46142 _ACEOF
46143
46144 fi
46145
46146 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_FINDREPLDLG 1
46149 _ACEOF
46150
46151 fi
46152
46153 if test "$wxUSE_FONTDLG" = "yes"; then
46154 cat >>confdefs.h <<\_ACEOF
46155 #define wxUSE_FONTDLG 1
46156 _ACEOF
46157
46158 fi
46159
46160 if test "$wxUSE_DIRDLG" = "yes"; then
46161 if test "$wxUSE_TREECTRL" != "yes"; then
46162 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46163 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46164 else
46165 cat >>confdefs.h <<\_ACEOF
46166 #define wxUSE_DIRDLG 1
46167 _ACEOF
46168
46169 fi
46170 fi
46171
46172 if test "$wxUSE_MSGDLG" = "yes"; then
46173 cat >>confdefs.h <<\_ACEOF
46174 #define wxUSE_MSGDLG 1
46175 _ACEOF
46176
46177 fi
46178
46179 if test "$wxUSE_NUMBERDLG" = "yes"; then
46180 cat >>confdefs.h <<\_ACEOF
46181 #define wxUSE_NUMBERDLG 1
46182 _ACEOF
46183
46184 fi
46185
46186 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46187 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46188 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46189 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46190 else
46191 cat >>confdefs.h <<\_ACEOF
46192 #define wxUSE_PROGRESSDLG 1
46193 _ACEOF
46194
46195 fi
46196 fi
46197
46198 if test "$wxUSE_SPLASH" = "yes"; then
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_SPLASH 1
46201 _ACEOF
46202
46203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46204 fi
46205
46206 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46207 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46208 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46209 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46210 else
46211 cat >>confdefs.h <<\_ACEOF
46212 #define wxUSE_STARTUP_TIPS 1
46213 _ACEOF
46214
46215 fi
46216 fi
46217
46218 if test "$wxUSE_TEXTDLG" = "yes"; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_TEXTDLG 1
46221 _ACEOF
46222
46223 fi
46224
46225 if test "$wxUSE_WIZARDDLG" = "yes"; then
46226 cat >>confdefs.h <<\_ACEOF
46227 #define wxUSE_WIZARDDLG 1
46228 _ACEOF
46229
46230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46231 fi
46232
46233
46234 USE_MEDIA=0
46235
46236 if test "$wxUSE_MEDIACTRL" = "yes"; then
46237 USE_MEDIA=1
46238
46239 if test "$wxUSE_GTK" = 1; then
46240 wxUSE_GSTREAMER="no"
46241
46242 GST_VERSION_MAJOR=0
46243 GST_VERSION_MINOR=10
46244 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46245
46246 if test "$wxUSE_GSTREAMER8" = "no"; then
46247
46248 pkg_failed=no
46249 echo "$as_me:$LINENO: checking for GST" >&5
46250 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46251
46252 if test -n "$PKG_CONFIG"; then
46253 if test -n "$GST_CFLAGS"; then
46254 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46255 else
46256 if test -n "$PKG_CONFIG" && \
46257 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46258 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46259 ac_status=$?
46260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46261 (exit $ac_status); }; then
46262 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46263 else
46264 pkg_failed=yes
46265 fi
46266 fi
46267 else
46268 pkg_failed=untried
46269 fi
46270 if test -n "$PKG_CONFIG"; then
46271 if test -n "$GST_LIBS"; then
46272 pkg_cv_GST_LIBS="$GST_LIBS"
46273 else
46274 if test -n "$PKG_CONFIG" && \
46275 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46276 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46277 ac_status=$?
46278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46279 (exit $ac_status); }; then
46280 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46281 else
46282 pkg_failed=yes
46283 fi
46284 fi
46285 else
46286 pkg_failed=untried
46287 fi
46288
46289
46290
46291 if test $pkg_failed = yes; then
46292
46293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46294 _pkg_short_errors_supported=yes
46295 else
46296 _pkg_short_errors_supported=no
46297 fi
46298 if test $_pkg_short_errors_supported = yes; then
46299 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46300 else
46301 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46302 fi
46303 # Put the nasty error message in config.log where it belongs
46304 echo "$GST_PKG_ERRORS" >&5
46305
46306
46307 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46308 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46309 GST_VERSION_MINOR=8
46310
46311
46312 elif test $pkg_failed = untried; then
46313
46314 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46315 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46316 GST_VERSION_MINOR=8
46317
46318
46319 else
46320 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46321 GST_LIBS=$pkg_cv_GST_LIBS
46322 echo "$as_me:$LINENO: result: yes" >&5
46323 echo "${ECHO_T}yes" >&6
46324
46325 wxUSE_GSTREAMER="yes"
46326 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46327
46328 fi
46329 else
46330 GST_VERSION_MINOR=8
46331 fi
46332
46333 if test $GST_VERSION_MINOR = "8"; then
46334 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46335
46336 pkg_failed=no
46337 echo "$as_me:$LINENO: checking for GST" >&5
46338 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46339
46340 if test -n "$PKG_CONFIG"; then
46341 if test -n "$GST_CFLAGS"; then
46342 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46343 else
46344 if test -n "$PKG_CONFIG" && \
46345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46346 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46347 ac_status=$?
46348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46349 (exit $ac_status); }; then
46350 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46351 else
46352 pkg_failed=yes
46353 fi
46354 fi
46355 else
46356 pkg_failed=untried
46357 fi
46358 if test -n "$PKG_CONFIG"; then
46359 if test -n "$GST_LIBS"; then
46360 pkg_cv_GST_LIBS="$GST_LIBS"
46361 else
46362 if test -n "$PKG_CONFIG" && \
46363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46364 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46365 ac_status=$?
46366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46367 (exit $ac_status); }; then
46368 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46369 else
46370 pkg_failed=yes
46371 fi
46372 fi
46373 else
46374 pkg_failed=untried
46375 fi
46376
46377
46378
46379 if test $pkg_failed = yes; then
46380
46381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46382 _pkg_short_errors_supported=yes
46383 else
46384 _pkg_short_errors_supported=no
46385 fi
46386 if test $_pkg_short_errors_supported = yes; then
46387 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46388 else
46389 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46390 fi
46391 # Put the nasty error message in config.log where it belongs
46392 echo "$GST_PKG_ERRORS" >&5
46393
46394
46395 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46396 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46397
46398 elif test $pkg_failed = untried; then
46399
46400 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46401 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46402
46403 else
46404 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46405 GST_LIBS=$pkg_cv_GST_LIBS
46406 echo "$as_me:$LINENO: result: yes" >&5
46407 echo "${ECHO_T}yes" >&6
46408 wxUSE_GSTREAMER="yes"
46409 fi
46410 fi
46411
46412
46413 if test "$wxUSE_GSTREAMER" = "yes"; then
46414 case "${host}" in
46415 *-*-solaris2* )
46416 if "$GCC" = yes; then
46417 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46418 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46419 fi
46420 esac
46421
46422 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46423 LIBS="$GST_LIBS $LIBS"
46424
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_GSTREAMER 1
46427 _ACEOF
46428
46429 else
46430 USE_MEDIA=0
46431 fi
46432 fi
46433
46434 if test $USE_MEDIA = 1; then
46435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46436 cat >>confdefs.h <<\_ACEOF
46437 #define wxUSE_MEDIACTRL 1
46438 _ACEOF
46439
46440 fi
46441 fi
46442
46443
46444 if test "$cross_compiling" = "yes"; then
46445 OSINFO="\"$host\""
46446 else
46447 OSINFO=`uname -s -r -m`
46448 OSINFO="\"$OSINFO\""
46449 fi
46450
46451 cat >>confdefs.h <<_ACEOF
46452 #define WXWIN_OS_DESCRIPTION $OSINFO
46453 _ACEOF
46454
46455
46456
46457 if test "x$prefix" != "xNONE"; then
46458 wxPREFIX=$prefix
46459 else
46460 wxPREFIX=$ac_default_prefix
46461 fi
46462
46463 cat >>confdefs.h <<_ACEOF
46464 #define wxINSTALL_PREFIX "$wxPREFIX"
46465 _ACEOF
46466
46467
46468
46469
46470 CORE_BASE_LIBS="net base"
46471 CORE_GUI_LIBS="adv core"
46472
46473 if test "$wxUSE_XML" = "yes" ; then
46474 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46475 fi
46476 if test "$wxUSE_ODBC" != "no" ; then
46477 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46478 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46479 fi
46480 if test "$wxUSE_HTML" = "yes" ; then
46481 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46482 fi
46483 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46484 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46485 fi
46486 if test "$wxUSE_XRC" = "yes" ; then
46487 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46488 fi
46489 if test "$wxUSE_AUI" = "yes" ; then
46490 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46491 fi
46492
46493 if test "$wxUSE_GUI" != "yes"; then
46494 CORE_GUI_LIBS=""
46495 fi
46496
46497
46498
46499
46500
46501 ac_ext=c
46502 ac_cpp='$CPP $CPPFLAGS'
46503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46506
46507
46508
46509 if test "$wxUSE_MAC" = 1 ; then
46510 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46511 if test "$USE_DARWIN" = 1; then
46512 LDFLAGS="$LDFLAGS -framework QuickTime"
46513 else
46514 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46515 fi
46516 fi
46517 if test "$USE_DARWIN" = 1; then
46518 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46519 else
46520 LDFLAGS="$LDFLAGS -lCarbonLib"
46521 fi
46522 fi
46523 if test "$wxUSE_COCOA" = 1 ; then
46524 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46525 if test "$wxUSE_MEDIACTRL" = "yes"; then
46526 LDFLAGS="$LDFLAGS -framework QuickTime"
46527 fi
46528 fi
46529 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46530 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46531 fi
46532
46533 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46534
46535 if test "$wxUSE_GUI" = "yes"; then
46536
46537
46538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46539 dynamic erase event exec font image minimal mobile \
46540 mobile/wxedit mobile/styles propsize render \
46541 rotate shaped vscroll widgets"
46542
46543 if test "$wxUSE_MONOLITHIC" != "yes"; then
46544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46545 fi
46546 if test "$TOOLKIT" = "MSW"; then
46547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46548 if test "$wxUSE_UNIVERSAL" != "yes"; then
46549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46550 fi
46551 fi
46552 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46554 fi
46555 else
46556 SAMPLES_SUBDIRS="console"
46557 fi
46558
46559
46560 if test "x$INTELCC" = "xyes" ; then
46561 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46562 elif test "$GCC" = yes ; then
46563 CWARNINGS="-Wall -Wundef"
46564 fi
46565
46566 if test "x$INTELCXX" = "xyes" ; then
46567 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46568 elif test "$GXX" = yes ; then
46569 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46570 fi
46571
46572
46573 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46574 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46575
46576
46577 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46578 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46579 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46580 $CPPFLAGS `
46581
46582 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46583 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46584 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46585
46586 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46587
46588
46589 if test "x$MWCC" = "xyes"; then
46590
46591 CC="$CC -cwd source -I-"
46592 CXX="$CXX -cwd source -I-"
46593 fi
46594
46595
46596 LIBS=`echo $LIBS`
46597 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46598 EXTRALIBS_XML="$EXPAT_LINK"
46599 EXTRALIBS_HTML="$MSPACK_LINK"
46600 EXTRALIBS_ODBC="$ODBC_LINK"
46601 if test "$wxUSE_GUI" = "yes"; then
46602 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46603 fi
46604 if test "$wxUSE_OPENGL" = "yes"; then
46605 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46606 fi
46607
46608 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46609
46610 WXCONFIG_LIBS="$LIBS"
46611
46612 if test "$wxUSE_REGEX" = "builtin" ; then
46613 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46614 fi
46615 if test "$wxUSE_EXPAT" = "builtin" ; then
46616 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46617 fi
46618 if test "$wxUSE_ODBC" = "builtin" ; then
46619 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46620 fi
46621 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46622 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46623 fi
46624 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46625 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46626 fi
46627 if test "$wxUSE_LIBPNG" = "builtin" ; then
46628 wxconfig_3rdparty="png $wxconfig_3rdparty"
46629 fi
46630 if test "$wxUSE_ZLIB" = "builtin" ; then
46631 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46632 fi
46633
46634 for i in $wxconfig_3rdparty ; do
46635 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46636 done
46637
46638
46639 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46640 WXUNIV=1
46641 else
46642 WXUNIV=0
46643 fi
46644
46645
46646
46647
46648
46649
46650
46651
46652
46653 if test $wxUSE_MONOLITHIC = "yes" ; then
46654 MONOLITHIC=1
46655 else
46656 MONOLITHIC=0
46657 fi
46658
46659 if test $wxUSE_PLUGINS = "yes" ; then
46660 USE_PLUGINS=1
46661 else
46662 USE_PLUGINS=0
46663 fi
46664
46665 if test $wxUSE_ODBC != "no" ; then
46666 USE_ODBC=1
46667 else
46668 USE_ODBC=0
46669 fi
46670
46671 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46672 USE_QA=1
46673 else
46674 USE_QA=0
46675 fi
46676
46677 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46678 OFFICIAL_BUILD=1
46679 else
46680 OFFICIAL_BUILD=0
46681 fi
46682
46683
46684
46685
46686
46687
46688
46689
46690
46691
46692
46693
46694
46695
46696
46697
46698
46699
46700
46701
46702
46703
46704
46705
46706
46707 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46708
46709
46710
46711
46712
46713
46714
46715
46716 case "$TOOLKIT" in
46717 GTK)
46718 TOOLKIT_DESC="GTK+"
46719 if test "$WXGTK20" = 1; then
46720 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46721 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46722 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46723 fi
46724 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46725 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46726 fi
46727 if test "$wxUSE_LIBHILDON" = "yes"; then
46728 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46729 fi
46730
46731 if test "$TOOLKIT_EXTRA" != ""; then
46732 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46733 fi
46734 fi
46735 ;;
46736
46737 ?*)
46738 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46739 ;;
46740
46741 *)
46742 TOOLKIT_DESC="base only"
46743 ;;
46744 esac
46745
46746 if test "$wxUSE_WINE" = "yes"; then
46747 BAKEFILE_FORCE_PLATFORM=win32
46748 fi
46749
46750 if test "$wxUSE_MAC" = 1 ; then
46751 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46752 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46753 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46754 else
46755 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46756 fi
46757 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46758 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46759 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46760 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46761 bk_use_pch=no
46762 fi
46763 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46764 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46765 fi
46766
46767
46768
46769
46770 if test "x$BAKEFILE_HOST" = "x"; then
46771 if test "x${host}" = "x" ; then
46772 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46773 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46774 { (exit 1); exit 1; }; }
46775 fi
46776
46777 BAKEFILE_HOST="${host}"
46778 fi
46779
46780 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46781
46782 if test -n "$ac_tool_prefix"; then
46783 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46784 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46785 echo "$as_me:$LINENO: checking for $ac_word" >&5
46786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46787 if test "${ac_cv_prog_RANLIB+set}" = set; then
46788 echo $ECHO_N "(cached) $ECHO_C" >&6
46789 else
46790 if test -n "$RANLIB"; then
46791 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46792 else
46793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46794 for as_dir in $PATH
46795 do
46796 IFS=$as_save_IFS
46797 test -z "$as_dir" && as_dir=.
46798 for ac_exec_ext in '' $ac_executable_extensions; do
46799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46800 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46802 break 2
46803 fi
46804 done
46805 done
46806
46807 fi
46808 fi
46809 RANLIB=$ac_cv_prog_RANLIB
46810 if test -n "$RANLIB"; then
46811 echo "$as_me:$LINENO: result: $RANLIB" >&5
46812 echo "${ECHO_T}$RANLIB" >&6
46813 else
46814 echo "$as_me:$LINENO: result: no" >&5
46815 echo "${ECHO_T}no" >&6
46816 fi
46817
46818 fi
46819 if test -z "$ac_cv_prog_RANLIB"; then
46820 ac_ct_RANLIB=$RANLIB
46821 # Extract the first word of "ranlib", so it can be a program name with args.
46822 set dummy ranlib; ac_word=$2
46823 echo "$as_me:$LINENO: checking for $ac_word" >&5
46824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46825 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46826 echo $ECHO_N "(cached) $ECHO_C" >&6
46827 else
46828 if test -n "$ac_ct_RANLIB"; then
46829 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46830 else
46831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46832 for as_dir in $PATH
46833 do
46834 IFS=$as_save_IFS
46835 test -z "$as_dir" && as_dir=.
46836 for ac_exec_ext in '' $ac_executable_extensions; do
46837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46838 ac_cv_prog_ac_ct_RANLIB="ranlib"
46839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46840 break 2
46841 fi
46842 done
46843 done
46844
46845 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
46846 fi
46847 fi
46848 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46849 if test -n "$ac_ct_RANLIB"; then
46850 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46851 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46852 else
46853 echo "$as_me:$LINENO: result: no" >&5
46854 echo "${ECHO_T}no" >&6
46855 fi
46856
46857 RANLIB=$ac_ct_RANLIB
46858 else
46859 RANLIB="$ac_cv_prog_RANLIB"
46860 fi
46861
46862 # Find a good install program. We prefer a C program (faster),
46863 # so one script is as good as another. But avoid the broken or
46864 # incompatible versions:
46865 # SysV /etc/install, /usr/sbin/install
46866 # SunOS /usr/etc/install
46867 # IRIX /sbin/install
46868 # AIX /bin/install
46869 # AmigaOS /C/install, which installs bootblocks on floppy discs
46870 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46871 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46872 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46873 # OS/2's system install, which has a completely different semantic
46874 # ./install, which can be erroneously created by make from ./install.sh.
46875 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46876 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46877 if test -z "$INSTALL"; then
46878 if test "${ac_cv_path_install+set}" = set; then
46879 echo $ECHO_N "(cached) $ECHO_C" >&6
46880 else
46881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46882 for as_dir in $PATH
46883 do
46884 IFS=$as_save_IFS
46885 test -z "$as_dir" && as_dir=.
46886 # Account for people who put trailing slashes in PATH elements.
46887 case $as_dir/ in
46888 ./ | .// | /cC/* | \
46889 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46890 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46891 /usr/ucb/* ) ;;
46892 *)
46893 # OSF1 and SCO ODT 3.0 have their own names for install.
46894 # Don't use installbsd from OSF since it installs stuff as root
46895 # by default.
46896 for ac_prog in ginstall scoinst install; do
46897 for ac_exec_ext in '' $ac_executable_extensions; do
46898 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46899 if test $ac_prog = install &&
46900 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46901 # AIX install. It has an incompatible calling convention.
46902 :
46903 elif test $ac_prog = install &&
46904 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46905 # program-specific install script used by HP pwplus--don't use.
46906 :
46907 else
46908 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46909 break 3
46910 fi
46911 fi
46912 done
46913 done
46914 ;;
46915 esac
46916 done
46917
46918
46919 fi
46920 if test "${ac_cv_path_install+set}" = set; then
46921 INSTALL=$ac_cv_path_install
46922 else
46923 # As a last resort, use the slow shell script. We don't cache a
46924 # path for INSTALL within a source directory, because that will
46925 # break other packages using the cache if that directory is
46926 # removed, or if the path is relative.
46927 INSTALL=$ac_install_sh
46928 fi
46929 fi
46930 echo "$as_me:$LINENO: result: $INSTALL" >&5
46931 echo "${ECHO_T}$INSTALL" >&6
46932
46933 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46934 # It thinks the first close brace ends the variable substitution.
46935 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46936
46937 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46938
46939 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46940
46941 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46942 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46943 LN_S=$as_ln_s
46944 if test "$LN_S" = "ln -s"; then
46945 echo "$as_me:$LINENO: result: yes" >&5
46946 echo "${ECHO_T}yes" >&6
46947 else
46948 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46949 echo "${ECHO_T}no, using $LN_S" >&6
46950 fi
46951
46952
46953 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46954 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46955 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
46956 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46957 echo $ECHO_N "(cached) $ECHO_C" >&6
46958 else
46959 cat >conftest.make <<\_ACEOF
46960 all:
46961 @echo 'ac_maketemp="$(MAKE)"'
46962 _ACEOF
46963 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46964 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46965 if test -n "$ac_maketemp"; then
46966 eval ac_cv_prog_make_${ac_make}_set=yes
46967 else
46968 eval ac_cv_prog_make_${ac_make}_set=no
46969 fi
46970 rm -f conftest.make
46971 fi
46972 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46973 echo "$as_me:$LINENO: result: yes" >&5
46974 echo "${ECHO_T}yes" >&6
46975 SET_MAKE=
46976 else
46977 echo "$as_me:$LINENO: result: no" >&5
46978 echo "${ECHO_T}no" >&6
46979 SET_MAKE="MAKE=${MAKE-make}"
46980 fi
46981
46982
46983
46984 if test -n "$ac_tool_prefix"; then
46985 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46986 set dummy ${ac_tool_prefix}ar; ac_word=$2
46987 echo "$as_me:$LINENO: checking for $ac_word" >&5
46988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46989 if test "${ac_cv_prog_AR+set}" = set; then
46990 echo $ECHO_N "(cached) $ECHO_C" >&6
46991 else
46992 if test -n "$AR"; then
46993 ac_cv_prog_AR="$AR" # Let the user override the test.
46994 else
46995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46996 for as_dir in $PATH
46997 do
46998 IFS=$as_save_IFS
46999 test -z "$as_dir" && as_dir=.
47000 for ac_exec_ext in '' $ac_executable_extensions; do
47001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47002 ac_cv_prog_AR="${ac_tool_prefix}ar"
47003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47004 break 2
47005 fi
47006 done
47007 done
47008
47009 fi
47010 fi
47011 AR=$ac_cv_prog_AR
47012 if test -n "$AR"; then
47013 echo "$as_me:$LINENO: result: $AR" >&5
47014 echo "${ECHO_T}$AR" >&6
47015 else
47016 echo "$as_me:$LINENO: result: no" >&5
47017 echo "${ECHO_T}no" >&6
47018 fi
47019
47020 fi
47021 if test -z "$ac_cv_prog_AR"; then
47022 ac_ct_AR=$AR
47023 # Extract the first word of "ar", so it can be a program name with args.
47024 set dummy ar; ac_word=$2
47025 echo "$as_me:$LINENO: checking for $ac_word" >&5
47026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47027 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47028 echo $ECHO_N "(cached) $ECHO_C" >&6
47029 else
47030 if test -n "$ac_ct_AR"; then
47031 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47032 else
47033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47034 for as_dir in $PATH
47035 do
47036 IFS=$as_save_IFS
47037 test -z "$as_dir" && as_dir=.
47038 for ac_exec_ext in '' $ac_executable_extensions; do
47039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47040 ac_cv_prog_ac_ct_AR="ar"
47041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47042 break 2
47043 fi
47044 done
47045 done
47046
47047 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47048 fi
47049 fi
47050 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47051 if test -n "$ac_ct_AR"; then
47052 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47053 echo "${ECHO_T}$ac_ct_AR" >&6
47054 else
47055 echo "$as_me:$LINENO: result: no" >&5
47056 echo "${ECHO_T}no" >&6
47057 fi
47058
47059 AR=$ac_ct_AR
47060 else
47061 AR="$ac_cv_prog_AR"
47062 fi
47063
47064 if test -n "$ac_tool_prefix"; then
47065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47066 set dummy ${ac_tool_prefix}strip; ac_word=$2
47067 echo "$as_me:$LINENO: checking for $ac_word" >&5
47068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47069 if test "${ac_cv_prog_STRIP+set}" = set; then
47070 echo $ECHO_N "(cached) $ECHO_C" >&6
47071 else
47072 if test -n "$STRIP"; then
47073 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47074 else
47075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47076 for as_dir in $PATH
47077 do
47078 IFS=$as_save_IFS
47079 test -z "$as_dir" && as_dir=.
47080 for ac_exec_ext in '' $ac_executable_extensions; do
47081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47082 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47084 break 2
47085 fi
47086 done
47087 done
47088
47089 fi
47090 fi
47091 STRIP=$ac_cv_prog_STRIP
47092 if test -n "$STRIP"; then
47093 echo "$as_me:$LINENO: result: $STRIP" >&5
47094 echo "${ECHO_T}$STRIP" >&6
47095 else
47096 echo "$as_me:$LINENO: result: no" >&5
47097 echo "${ECHO_T}no" >&6
47098 fi
47099
47100 fi
47101 if test -z "$ac_cv_prog_STRIP"; then
47102 ac_ct_STRIP=$STRIP
47103 # Extract the first word of "strip", so it can be a program name with args.
47104 set dummy strip; 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_ac_ct_STRIP+set}" = set; then
47108 echo $ECHO_N "(cached) $ECHO_C" >&6
47109 else
47110 if test -n "$ac_ct_STRIP"; then
47111 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_ac_ct_STRIP="strip"
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 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47128 fi
47129 fi
47130 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47131 if test -n "$ac_ct_STRIP"; then
47132 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47133 echo "${ECHO_T}$ac_ct_STRIP" >&6
47134 else
47135 echo "$as_me:$LINENO: result: no" >&5
47136 echo "${ECHO_T}no" >&6
47137 fi
47138
47139 STRIP=$ac_ct_STRIP
47140 else
47141 STRIP="$ac_cv_prog_STRIP"
47142 fi
47143
47144 if test -n "$ac_tool_prefix"; then
47145 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47146 set dummy ${ac_tool_prefix}nm; ac_word=$2
47147 echo "$as_me:$LINENO: checking for $ac_word" >&5
47148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47149 if test "${ac_cv_prog_NM+set}" = set; then
47150 echo $ECHO_N "(cached) $ECHO_C" >&6
47151 else
47152 if test -n "$NM"; then
47153 ac_cv_prog_NM="$NM" # Let the user override the test.
47154 else
47155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47156 for as_dir in $PATH
47157 do
47158 IFS=$as_save_IFS
47159 test -z "$as_dir" && as_dir=.
47160 for ac_exec_ext in '' $ac_executable_extensions; do
47161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47162 ac_cv_prog_NM="${ac_tool_prefix}nm"
47163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47164 break 2
47165 fi
47166 done
47167 done
47168
47169 fi
47170 fi
47171 NM=$ac_cv_prog_NM
47172 if test -n "$NM"; then
47173 echo "$as_me:$LINENO: result: $NM" >&5
47174 echo "${ECHO_T}$NM" >&6
47175 else
47176 echo "$as_me:$LINENO: result: no" >&5
47177 echo "${ECHO_T}no" >&6
47178 fi
47179
47180 fi
47181 if test -z "$ac_cv_prog_NM"; then
47182 ac_ct_NM=$NM
47183 # Extract the first word of "nm", so it can be a program name with args.
47184 set dummy nm; ac_word=$2
47185 echo "$as_me:$LINENO: checking for $ac_word" >&5
47186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47187 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47188 echo $ECHO_N "(cached) $ECHO_C" >&6
47189 else
47190 if test -n "$ac_ct_NM"; then
47191 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47192 else
47193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47194 for as_dir in $PATH
47195 do
47196 IFS=$as_save_IFS
47197 test -z "$as_dir" && as_dir=.
47198 for ac_exec_ext in '' $ac_executable_extensions; do
47199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47200 ac_cv_prog_ac_ct_NM="nm"
47201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47202 break 2
47203 fi
47204 done
47205 done
47206
47207 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47208 fi
47209 fi
47210 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47211 if test -n "$ac_ct_NM"; then
47212 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47213 echo "${ECHO_T}$ac_ct_NM" >&6
47214 else
47215 echo "$as_me:$LINENO: result: no" >&5
47216 echo "${ECHO_T}no" >&6
47217 fi
47218
47219 NM=$ac_ct_NM
47220 else
47221 NM="$ac_cv_prog_NM"
47222 fi
47223
47224
47225 case ${BAKEFILE_HOST} in
47226 *-hp-hpux* )
47227 INSTALL_DIR="mkdir -p"
47228 ;;
47229 *) INSTALL_DIR="$INSTALL -d"
47230 ;;
47231 esac
47232
47233
47234 LDFLAGS_GUI=
47235 case ${BAKEFILE_HOST} in
47236 *-*-cygwin* | *-*-mingw32* )
47237 LDFLAGS_GUI="-mwindows"
47238 esac
47239
47240
47241 fi
47242
47243 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47244 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47245 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47246 echo $ECHO_N "(cached) $ECHO_C" >&6
47247 else
47248
47249 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47250 egrep -s GNU > /dev/null); then
47251 bakefile_cv_prog_makeisgnu="yes"
47252 else
47253 bakefile_cv_prog_makeisgnu="no"
47254 fi
47255
47256 fi
47257 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47258 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47259
47260 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47261 IF_GNU_MAKE=""
47262 else
47263 IF_GNU_MAKE="#"
47264 fi
47265
47266
47267
47268 PLATFORM_UNIX=0
47269 PLATFORM_WIN32=0
47270 PLATFORM_MSDOS=0
47271 PLATFORM_MAC=0
47272 PLATFORM_MACOS=0
47273 PLATFORM_MACOSX=0
47274 PLATFORM_OS2=0
47275 PLATFORM_BEOS=0
47276
47277 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47278 case "${BAKEFILE_HOST}" in
47279 *-*-mingw32* )
47280 PLATFORM_WIN32=1
47281 ;;
47282 *-pc-msdosdjgpp )
47283 PLATFORM_MSDOS=1
47284 ;;
47285 *-pc-os2_emx | *-pc-os2-emx )
47286 PLATFORM_OS2=1
47287 ;;
47288 *-*-darwin* )
47289 PLATFORM_MAC=1
47290 PLATFORM_MACOSX=1
47291 ;;
47292 *-*-beos* )
47293 PLATFORM_BEOS=1
47294 ;;
47295 powerpc-apple-macos* )
47296 PLATFORM_MAC=1
47297 PLATFORM_MACOS=1
47298 ;;
47299 * )
47300 PLATFORM_UNIX=1
47301 ;;
47302 esac
47303 else
47304 case "$BAKEFILE_FORCE_PLATFORM" in
47305 win32 )
47306 PLATFORM_WIN32=1
47307 ;;
47308 msdos )
47309 PLATFORM_MSDOS=1
47310 ;;
47311 os2 )
47312 PLATFORM_OS2=1
47313 ;;
47314 darwin )
47315 PLATFORM_MAC=1
47316 PLATFORM_MACOSX=1
47317 ;;
47318 unix )
47319 PLATFORM_UNIX=1
47320 ;;
47321 beos )
47322 PLATFORM_BEOS=1
47323 ;;
47324 * )
47325 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47326 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47327 { (exit 1); exit 1; }; }
47328 ;;
47329 esac
47330 fi
47331
47332
47333
47334
47335
47336
47337
47338
47339
47340
47341
47342 # Check whether --enable-omf or --disable-omf was given.
47343 if test "${enable_omf+set}" = set; then
47344 enableval="$enable_omf"
47345 bk_os2_use_omf="$enableval"
47346 fi;
47347
47348 case "${BAKEFILE_HOST}" in
47349 *-*-darwin* )
47350 if test "x$GCC" = "xyes"; then
47351 CFLAGS="$CFLAGS -fno-common"
47352 CXXFLAGS="$CXXFLAGS -fno-common"
47353 fi
47354 if test "x$XLCC" = "xyes"; then
47355 CFLAGS="$CFLAGS -qnocommon"
47356 CXXFLAGS="$CXXFLAGS -qnocommon"
47357 fi
47358 ;;
47359
47360 *-pc-os2_emx | *-pc-os2-emx )
47361 if test "x$bk_os2_use_omf" = "xyes" ; then
47362 AR=emxomfar
47363 RANLIB=:
47364 LDFLAGS="-Zomf $LDFLAGS"
47365 CFLAGS="-Zomf $CFLAGS"
47366 CXXFLAGS="-Zomf $CXXFLAGS"
47367 OS2_LIBEXT="lib"
47368 else
47369 OS2_LIBEXT="a"
47370 fi
47371 ;;
47372
47373 i*86-*-beos* )
47374 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47375 ;;
47376 esac
47377
47378
47379 SO_SUFFIX="so"
47380 SO_SUFFIX_MODULE="so"
47381 EXEEXT=""
47382 LIBPREFIX="lib"
47383 LIBEXT=".a"
47384 DLLPREFIX="lib"
47385 DLLPREFIX_MODULE=""
47386 DLLIMP_SUFFIX=""
47387 dlldir="$libdir"
47388
47389 case "${BAKEFILE_HOST}" in
47390 *-hp-hpux* )
47391 SO_SUFFIX="sl"
47392 SO_SUFFIX_MODULE="sl"
47393 ;;
47394 *-*-aix* )
47395 SO_SUFFIX="a"
47396 SO_SUFFIX_MODULE="a"
47397 ;;
47398 *-*-cygwin* )
47399 SO_SUFFIX="dll"
47400 SO_SUFFIX_MODULE="dll"
47401 DLLIMP_SUFFIX="dll.a"
47402 EXEEXT=".exe"
47403 DLLPREFIX="cyg"
47404 dlldir="$bindir"
47405 ;;
47406 *-*-mingw32* )
47407 SO_SUFFIX="dll"
47408 SO_SUFFIX_MODULE="dll"
47409 DLLIMP_SUFFIX="dll.a"
47410 EXEEXT=".exe"
47411 DLLPREFIX=""
47412 dlldir="$bindir"
47413 ;;
47414 *-pc-msdosdjgpp )
47415 EXEEXT=".exe"
47416 DLLPREFIX=""
47417 dlldir="$bindir"
47418 ;;
47419 *-pc-os2_emx | *-pc-os2-emx )
47420 SO_SUFFIX="dll"
47421 SO_SUFFIX_MODULE="dll"
47422 DLLIMP_SUFFIX=$OS2_LIBEXT
47423 EXEEXT=".exe"
47424 DLLPREFIX=""
47425 LIBPREFIX=""
47426 LIBEXT=".$OS2_LIBEXT"
47427 dlldir="$bindir"
47428 ;;
47429 *-*-darwin* )
47430 SO_SUFFIX="dylib"
47431 SO_SUFFIX_MODULE="bundle"
47432 ;;
47433 esac
47434
47435 if test "x$DLLIMP_SUFFIX" = "x" ; then
47436 DLLIMP_SUFFIX="$SO_SUFFIX"
47437 fi
47438
47439
47440
47441
47442
47443
47444
47445
47446
47447
47448
47449
47450 PIC_FLAG=""
47451 if test "x$GCC" = "xyes"; then
47452 PIC_FLAG="-fPIC"
47453 fi
47454
47455 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47456 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47457 WINDOWS_IMPLIB=0
47458
47459 case "${BAKEFILE_HOST}" in
47460 *-hp-hpux* )
47461 if test "x$GCC" != "xyes"; then
47462 LDFLAGS="$LDFLAGS -L/usr/lib"
47463
47464 SHARED_LD_CC="${CC} -b -o"
47465 SHARED_LD_CXX="${CXX} -b -o"
47466 PIC_FLAG="+Z"
47467 fi
47468 ;;
47469
47470 *-*-linux* )
47471 if test "x$GCC" != "xyes"; then
47472 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47473 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47474 if test "${bakefile_cv_prog_icc+set}" = set; then
47475 echo $ECHO_N "(cached) $ECHO_C" >&6
47476 else
47477
47478 cat >conftest.$ac_ext <<_ACEOF
47479 /* confdefs.h. */
47480 _ACEOF
47481 cat confdefs.h >>conftest.$ac_ext
47482 cat >>conftest.$ac_ext <<_ACEOF
47483 /* end confdefs.h. */
47484
47485 int
47486 main ()
47487 {
47488
47489 #ifndef __INTEL_COMPILER
47490 This is not ICC
47491 #endif
47492
47493 ;
47494 return 0;
47495 }
47496 _ACEOF
47497 rm -f conftest.$ac_objext
47498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47499 (eval $ac_compile) 2>conftest.er1
47500 ac_status=$?
47501 grep -v '^ *+' conftest.er1 >conftest.err
47502 rm -f conftest.er1
47503 cat conftest.err >&5
47504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47505 (exit $ac_status); } &&
47506 { ac_try='test -z "$ac_c_werror_flag"
47507 || test ! -s conftest.err'
47508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47509 (eval $ac_try) 2>&5
47510 ac_status=$?
47511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47512 (exit $ac_status); }; } &&
47513 { ac_try='test -s conftest.$ac_objext'
47514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47515 (eval $ac_try) 2>&5
47516 ac_status=$?
47517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47518 (exit $ac_status); }; }; then
47519 bakefile_cv_prog_icc=yes
47520 else
47521 echo "$as_me: failed program was:" >&5
47522 sed 's/^/| /' conftest.$ac_ext >&5
47523
47524 bakefile_cv_prog_icc=no
47525
47526 fi
47527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47528
47529 fi
47530 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47531 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47532 if test "$bakefile_cv_prog_icc" = "yes"; then
47533 PIC_FLAG="-KPIC"
47534 fi
47535 fi
47536 ;;
47537
47538 *-*-solaris2* )
47539 if test "x$GCC" != xyes ; then
47540 SHARED_LD_CC="${CC} -G -o"
47541 SHARED_LD_CXX="${CXX} -G -o"
47542 PIC_FLAG="-KPIC"
47543 fi
47544 ;;
47545
47546 *-*-darwin* )
47547
47548 D='$'
47549 cat <<EOF >shared-ld-sh
47550 #!/bin/sh
47551 #-----------------------------------------------------------------------------
47552 #-- Name: distrib/mac/shared-ld-sh
47553 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47554 #-- Author: Gilles Depeyrot
47555 #-- Copyright: (c) 2002 Gilles Depeyrot
47556 #-- Licence: any use permitted
47557 #-----------------------------------------------------------------------------
47558
47559 verbose=0
47560 args=""
47561 objects=""
47562 linking_flag="-dynamiclib"
47563 ldargs="-r -keep_private_externs -nostdlib"
47564
47565 while test ${D}# -gt 0; do
47566 case ${D}1 in
47567
47568 -v)
47569 verbose=1
47570 ;;
47571
47572 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47573 # collect these options and values
47574 args="${D}{args} ${D}1 ${D}2"
47575 shift
47576 ;;
47577
47578 -s|-Wl,*)
47579 # collect these load args
47580 ldargs="${D}{ldargs} ${D}1"
47581 ;;
47582
47583 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47584 # collect these options
47585 args="${D}{args} ${D}1"
47586 ;;
47587
47588 -dynamiclib|-bundle)
47589 linking_flag="${D}1"
47590 ;;
47591
47592 -*)
47593 echo "shared-ld: unhandled option '${D}1'"
47594 exit 1
47595 ;;
47596
47597 *.o | *.a | *.dylib)
47598 # collect object files
47599 objects="${D}{objects} ${D}1"
47600 ;;
47601
47602 *)
47603 echo "shared-ld: unhandled argument '${D}1'"
47604 exit 1
47605 ;;
47606
47607 esac
47608 shift
47609 done
47610
47611 status=0
47612
47613 #
47614 # Link one module containing all the others
47615 #
47616 if test ${D}{verbose} = 1; then
47617 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47618 fi
47619 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47620 status=${D}?
47621
47622 #
47623 # Link the shared library from the single module created, but only if the
47624 # previous command didn't fail:
47625 #
47626 if test ${D}{status} = 0; then
47627 if test ${D}{verbose} = 1; then
47628 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47629 fi
47630 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47631 status=${D}?
47632 fi
47633
47634 #
47635 # Remove intermediate module
47636 #
47637 rm -f master.${D}${D}.o
47638
47639 exit ${D}status
47640 EOF
47641
47642 chmod +x shared-ld-sh
47643
47644 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47645 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47646
47647
47648 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47649 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47650 if test "${bakefile_cv_gcc31+set}" = set; then
47651 echo $ECHO_N "(cached) $ECHO_C" >&6
47652 else
47653
47654 cat >conftest.$ac_ext <<_ACEOF
47655 /* confdefs.h. */
47656 _ACEOF
47657 cat confdefs.h >>conftest.$ac_ext
47658 cat >>conftest.$ac_ext <<_ACEOF
47659 /* end confdefs.h. */
47660
47661 int
47662 main ()
47663 {
47664
47665 #if (__GNUC__ < 3) || \
47666 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47667 This is old gcc
47668 #endif
47669
47670 ;
47671 return 0;
47672 }
47673 _ACEOF
47674 rm -f conftest.$ac_objext
47675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47676 (eval $ac_compile) 2>conftest.er1
47677 ac_status=$?
47678 grep -v '^ *+' conftest.er1 >conftest.err
47679 rm -f conftest.er1
47680 cat conftest.err >&5
47681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47682 (exit $ac_status); } &&
47683 { ac_try='test -z "$ac_c_werror_flag"
47684 || test ! -s conftest.err'
47685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47686 (eval $ac_try) 2>&5
47687 ac_status=$?
47688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47689 (exit $ac_status); }; } &&
47690 { ac_try='test -s conftest.$ac_objext'
47691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47692 (eval $ac_try) 2>&5
47693 ac_status=$?
47694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47695 (exit $ac_status); }; }; then
47696
47697 bakefile_cv_gcc31=yes
47698
47699 else
47700 echo "$as_me: failed program was:" >&5
47701 sed 's/^/| /' conftest.$ac_ext >&5
47702
47703
47704 bakefile_cv_gcc31=no
47705
47706
47707 fi
47708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47709
47710 fi
47711 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47712 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47713 if test "$bakefile_cv_gcc31" = "no"; then
47714 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47715 SHARED_LD_CXX="$SHARED_LD_CC"
47716 else
47717 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47718 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47719 fi
47720
47721 if test "x$GCC" == "xyes"; then
47722 PIC_FLAG="-dynamic -fPIC"
47723 fi
47724 if test "x$XLCC" = "xyes"; then
47725 PIC_FLAG="-dynamic -DPIC"
47726 fi
47727 ;;
47728
47729 *-*-aix* )
47730 if test "x$GCC" = "xyes"; then
47731 PIC_FLAG=""
47732
47733 case "${BAKEFILE_HOST}" in
47734 *-*-aix5* )
47735 LD_EXPFULL="-Wl,-bexpfull"
47736 ;;
47737 esac
47738
47739 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47740 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47741 else
47742 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47743 set dummy makeC++SharedLib; ac_word=$2
47744 echo "$as_me:$LINENO: checking for $ac_word" >&5
47745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47746 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47747 echo $ECHO_N "(cached) $ECHO_C" >&6
47748 else
47749 if test -n "$AIX_CXX_LD"; then
47750 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47751 else
47752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47753 for as_dir in $PATH
47754 do
47755 IFS=$as_save_IFS
47756 test -z "$as_dir" && as_dir=.
47757 for ac_exec_ext in '' $ac_executable_extensions; do
47758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47759 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47761 break 2
47762 fi
47763 done
47764 done
47765
47766 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47767 fi
47768 fi
47769 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47770 if test -n "$AIX_CXX_LD"; then
47771 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47772 echo "${ECHO_T}$AIX_CXX_LD" >&6
47773 else
47774 echo "$as_me:$LINENO: result: no" >&5
47775 echo "${ECHO_T}no" >&6
47776 fi
47777
47778 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47779 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47780 fi
47781 ;;
47782
47783 *-*-beos* )
47784 SHARED_LD_CC="${LD} -nostart -o"
47785 SHARED_LD_CXX="${LD} -nostart -o"
47786 ;;
47787
47788 *-*-irix* )
47789 if test "x$GCC" != "xyes"; then
47790 PIC_FLAG="-KPIC"
47791 fi
47792 ;;
47793
47794 *-*-cygwin* | *-*-mingw32* )
47795 PIC_FLAG=""
47796 SHARED_LD_CC="\$(CC) -shared -o"
47797 SHARED_LD_CXX="\$(CXX) -shared -o"
47798 WINDOWS_IMPLIB=1
47799 ;;
47800
47801 *-pc-os2_emx | *-pc-os2-emx )
47802 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47803 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47804 PIC_FLAG=""
47805
47806 D='$'
47807 cat <<EOF >dllar.sh
47808 #!/bin/sh
47809 #
47810 # dllar - a tool to build both a .dll and an .a file
47811 # from a set of object (.o) files for EMX/OS2.
47812 #
47813 # Written by Andrew Zabolotny, bit@freya.etu.ru
47814 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47815 #
47816 # This script will accept a set of files on the command line.
47817 # All the public symbols from the .o files will be exported into
47818 # a .DEF file, then linker will be run (through gcc) against them to
47819 # build a shared library consisting of all given .o files. All libraries
47820 # (.a) will be first decompressed into component .o files then act as
47821 # described above. You can optionally give a description (-d "description")
47822 # which will be put into .DLL. To see the list of accepted options (as well
47823 # as command-line format) simply run this program without options. The .DLL
47824 # is built to be imported by name (there is no guarantee that new versions
47825 # of the library you build will have same ordinals for same symbols).
47826 #
47827 # dllar is free software; you can redistribute it and/or modify
47828 # it under the terms of the GNU General Public License as published by
47829 # the Free Software Foundation; either version 2, or (at your option)
47830 # any later version.
47831 #
47832 # dllar is distributed in the hope that it will be useful,
47833 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47834 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47835 # GNU General Public License for more details.
47836 #
47837 # You should have received a copy of the GNU General Public License
47838 # along with dllar; see the file COPYING. If not, write to the Free
47839 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47840 # 02111-1307, USA.
47841
47842 # To successfuly run this program you will need:
47843 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47844 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47845 # - gcc
47846 # (used to build the .dll)
47847 # - emxexp
47848 # (used to create .def file from .o files)
47849 # - emximp
47850 # (used to create .a file from .def file)
47851 # - GNU text utilites (cat, sort, uniq)
47852 # used to process emxexp output
47853 # - GNU file utilities (mv, rm)
47854 # - GNU sed
47855 # - lxlite (optional, see flag below)
47856 # (used for general .dll cleanup)
47857 #
47858
47859 flag_USE_LXLITE=1;
47860
47861 #
47862 # helper functions
47863 # basnam, variant of basename, which does _not_ remove the path, _iff_
47864 # second argument (suffix to remove) is given
47865 basnam(){
47866 case ${D}# in
47867 1)
47868 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47869 ;;
47870 2)
47871 echo ${D}1 | sed 's/'${D}2'${D}//'
47872 ;;
47873 *)
47874 echo "error in basnam ${D}*"
47875 exit 8
47876 ;;
47877 esac
47878 }
47879
47880 # Cleanup temporary files and output
47881 CleanUp() {
47882 cd ${D}curDir
47883 for i in ${D}inputFiles ; do
47884 case ${D}i in
47885 *!)
47886 rm -rf \`basnam ${D}i !\`
47887 ;;
47888 *)
47889 ;;
47890 esac
47891 done
47892
47893 # Kill result in case of failure as there is just to many stupid make/nmake
47894 # things out there which doesn't do this.
47895 if [ ${D}# -eq 0 ]; then
47896 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47897 fi
47898 }
47899
47900 # Print usage and exit script with rc=1.
47901 PrintHelp() {
47902 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47903 echo ' [-name-mangler-script script.sh]'
47904 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47905 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47906 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47907 echo ' [*.o] [*.a]'
47908 echo '*> "output_file" should have no extension.'
47909 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47910 echo ' The import library name is derived from this and is set to "name".a,'
47911 echo ' unless overridden by -import'
47912 echo '*> "importlib_name" should have no extension.'
47913 echo ' If it has the .o, or .a extension, it is automatically removed.'
47914 echo ' This name is used as the import library name and may be longer and'
47915 echo ' more descriptive than the DLL name which has to follow the old '
47916 echo ' 8.3 convention of FAT.'
47917 echo '*> "script.sh may be given to override the output_file name by a'
47918 echo ' different name. It is mainly useful if the regular make process'
47919 echo ' of some package does not take into account OS/2 restriction of'
47920 echo ' DLL name lengths. It takes the importlib name as input and is'
47921 echo ' supposed to procude a shorter name as output. The script should'
47922 echo ' expect to get importlib_name without extension and should produce'
47923 echo ' a (max.) 8 letter name without extension.'
47924 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47925 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47926 echo ' These flags will be put at the start of GCC command line.'
47927 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47928 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47929 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47930 echo ' If the last character of a symbol is "*", all symbols beginning'
47931 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47932 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47933 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47934 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47935 echo ' C runtime DLLs.'
47936 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47937 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47938 echo ' unchanged to GCC at the end of command line.'
47939 echo '*> If you create a DLL from a library and you do not specify -o,'
47940 echo ' the basename for DLL and import library will be set to library name,'
47941 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47942 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47943 echo ' library will be renamed into gcc_s.a.'
47944 echo '--------'
47945 echo 'Example:'
47946 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47947 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47948 CleanUp
47949 exit 1
47950 }
47951
47952 # Execute a command.
47953 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47954 # @Uses Whatever CleanUp() uses.
47955 doCommand() {
47956 echo "${D}*"
47957 eval ${D}*
47958 rcCmd=${D}?
47959
47960 if [ ${D}rcCmd -ne 0 ]; then
47961 echo "command failed, exit code="${D}rcCmd
47962 CleanUp
47963 exit ${D}rcCmd
47964 fi
47965 }
47966
47967 # main routine
47968 # setup globals
47969 cmdLine=${D}*
47970 outFile=""
47971 outimpFile=""
47972 inputFiles=""
47973 renameScript=""
47974 description=""
47975 CC=gcc.exe
47976 CFLAGS="-s -Zcrtdll"
47977 EXTRA_CFLAGS=""
47978 EXPORT_BY_ORDINALS=0
47979 exclude_symbols=""
47980 library_flags=""
47981 curDir=\`pwd\`
47982 curDirS=curDir
47983 case ${D}curDirS in
47984 */)
47985 ;;
47986 *)
47987 curDirS=${D}{curDirS}"/"
47988 ;;
47989 esac
47990 # Parse commandline
47991 libsToLink=0
47992 omfLinking=0
47993 while [ ${D}1 ]; do
47994 case ${D}1 in
47995 -ord*)
47996 EXPORT_BY_ORDINALS=1;
47997 ;;
47998 -o*)
47999 shift
48000 outFile=${D}1
48001 ;;
48002 -i*)
48003 shift
48004 outimpFile=${D}1
48005 ;;
48006 -name-mangler-script)
48007 shift
48008 renameScript=${D}1
48009 ;;
48010 -d*)
48011 shift
48012 description=${D}1
48013 ;;
48014 -f*)
48015 shift
48016 CFLAGS=${D}1
48017 ;;
48018 -c*)
48019 shift
48020 CC=${D}1
48021 ;;
48022 -h*)
48023 PrintHelp
48024 ;;
48025 -ex*)
48026 shift
48027 exclude_symbols=${D}{exclude_symbols}${D}1" "
48028 ;;
48029 -libf*)
48030 shift
48031 library_flags=${D}{library_flags}${D}1" "
48032 ;;
48033 -nocrt*)
48034 CFLAGS="-s"
48035 ;;
48036 -nolxl*)
48037 flag_USE_LXLITE=0
48038 ;;
48039 -* | /*)
48040 case ${D}1 in
48041 -L* | -l*)
48042 libsToLink=1
48043 ;;
48044 -Zomf)
48045 omfLinking=1
48046 ;;
48047 *)
48048 ;;
48049 esac
48050 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48051 ;;
48052 *.dll)
48053 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48054 if [ ${D}omfLinking -eq 1 ]; then
48055 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48056 else
48057 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48058 fi
48059 ;;
48060 *)
48061 found=0;
48062 if [ ${D}libsToLink -ne 0 ]; then
48063 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48064 else
48065 for file in ${D}1 ; do
48066 if [ -f ${D}file ]; then
48067 inputFiles="${D}{inputFiles} ${D}file"
48068 found=1
48069 fi
48070 done
48071 if [ ${D}found -eq 0 ]; then
48072 echo "ERROR: No file(s) found: "${D}1
48073 exit 8
48074 fi
48075 fi
48076 ;;
48077 esac
48078 shift
48079 done # iterate cmdline words
48080
48081 #
48082 if [ -z "${D}inputFiles" ]; then
48083 echo "dllar: no input files"
48084 PrintHelp
48085 fi
48086
48087 # Now extract all .o files from .a files
48088 newInputFiles=""
48089 for file in ${D}inputFiles ; do
48090 case ${D}file in
48091 *.a | *.lib)
48092 case ${D}file in
48093 *.a)
48094 suffix=".a"
48095 AR="ar"
48096 ;;
48097 *.lib)
48098 suffix=".lib"
48099 AR="emxomfar"
48100 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48101 ;;
48102 *)
48103 ;;
48104 esac
48105 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48106 mkdir ${D}dirname
48107 if [ ${D}? -ne 0 ]; then
48108 echo "Failed to create subdirectory ./${D}dirname"
48109 CleanUp
48110 exit 8;
48111 fi
48112 # Append '!' to indicate archive
48113 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48114 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48115 cd ${D}curDir
48116 found=0;
48117 for subfile in ${D}dirname/*.o* ; do
48118 if [ -f ${D}subfile ]; then
48119 found=1
48120 if [ -s ${D}subfile ]; then
48121 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48122 newInputFiles="${D}newInputFiles ${D}subfile"
48123 fi
48124 fi
48125 done
48126 if [ ${D}found -eq 0 ]; then
48127 echo "WARNING: there are no files in archive \\'${D}file\\'"
48128 fi
48129 ;;
48130 *)
48131 newInputFiles="${D}{newInputFiles} ${D}file"
48132 ;;
48133 esac
48134 done
48135 inputFiles="${D}newInputFiles"
48136
48137 # Output filename(s).
48138 do_backup=0;
48139 if [ -z ${D}outFile ]; then
48140 do_backup=1;
48141 set outFile ${D}inputFiles; outFile=${D}2
48142 fi
48143
48144 # If it is an archive, remove the '!' and the '_%' suffixes
48145 case ${D}outFile in
48146 *_%!)
48147 outFile=\`basnam ${D}outFile _%!\`
48148 ;;
48149 *)
48150 ;;
48151 esac
48152 case ${D}outFile in
48153 *.dll)
48154 outFile=\`basnam ${D}outFile .dll\`
48155 ;;
48156 *.DLL)
48157 outFile=\`basnam ${D}outFile .DLL\`
48158 ;;
48159 *.o)
48160 outFile=\`basnam ${D}outFile .o\`
48161 ;;
48162 *.obj)
48163 outFile=\`basnam ${D}outFile .obj\`
48164 ;;
48165 *.a)
48166 outFile=\`basnam ${D}outFile .a\`
48167 ;;
48168 *.lib)
48169 outFile=\`basnam ${D}outFile .lib\`
48170 ;;
48171 *)
48172 ;;
48173 esac
48174 case ${D}outimpFile in
48175 *.a)
48176 outimpFile=\`basnam ${D}outimpFile .a\`
48177 ;;
48178 *.lib)
48179 outimpFile=\`basnam ${D}outimpFile .lib\`
48180 ;;
48181 *)
48182 ;;
48183 esac
48184 if [ -z ${D}outimpFile ]; then
48185 outimpFile=${D}outFile
48186 fi
48187 defFile="${D}{outFile}.def"
48188 arcFile="${D}{outimpFile}.a"
48189 arcFile2="${D}{outimpFile}.lib"
48190
48191 #create ${D}dllFile as something matching 8.3 restrictions,
48192 if [ -z ${D}renameScript ] ; then
48193 dllFile="${D}outFile"
48194 else
48195 dllFile=\`${D}renameScript ${D}outimpFile\`
48196 fi
48197
48198 if [ ${D}do_backup -ne 0 ] ; then
48199 if [ -f ${D}arcFile ] ; then
48200 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48201 fi
48202 if [ -f ${D}arcFile2 ] ; then
48203 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48204 fi
48205 fi
48206
48207 # Extract public symbols from all the object files.
48208 tmpdefFile=${D}{defFile}_%
48209 rm -f ${D}tmpdefFile
48210 for file in ${D}inputFiles ; do
48211 case ${D}file in
48212 *!)
48213 ;;
48214 *)
48215 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48216 ;;
48217 esac
48218 done
48219
48220 # Create the def file.
48221 rm -f ${D}defFile
48222 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48223 dllFile="${D}{dllFile}.dll"
48224 if [ ! -z ${D}description ]; then
48225 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48226 fi
48227 echo "EXPORTS" >> ${D}defFile
48228
48229 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48230 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48231
48232 # Checks if the export is ok or not.
48233 for word in ${D}exclude_symbols; do
48234 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48235 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48236 done
48237
48238
48239 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48240 sed "=" < ${D}tmpdefFile | \\
48241 sed '
48242 N
48243 : loop
48244 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48245 t loop
48246 ' > ${D}{tmpdefFile}%
48247 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48248 else
48249 rm -f ${D}{tmpdefFile}%
48250 fi
48251 cat ${D}tmpdefFile >> ${D}defFile
48252 rm -f ${D}tmpdefFile
48253
48254 # Do linking, create implib, and apply lxlite.
48255 gccCmdl="";
48256 for file in ${D}inputFiles ; do
48257 case ${D}file in
48258 *!)
48259 ;;
48260 *)
48261 gccCmdl="${D}gccCmdl ${D}file"
48262 ;;
48263 esac
48264 done
48265 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48266 touch "${D}{outFile}.dll"
48267
48268 doCommand "emximp -o ${D}arcFile ${D}defFile"
48269 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48270 add_flags="";
48271 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48272 add_flags="-ynd"
48273 fi
48274 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48275 fi
48276 doCommand "emxomf -s -l ${D}arcFile"
48277
48278 # Successful exit.
48279 CleanUp 1
48280 exit 0
48281 EOF
48282
48283 chmod +x dllar.sh
48284 ;;
48285
48286 powerpc-apple-macos* | \
48287 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48288 *-*-sunos4* | \
48289 *-*-osf* | \
48290 *-*-dgux5* | \
48291 *-*-sysv5* | \
48292 *-pc-msdosdjgpp )
48293 ;;
48294
48295 *)
48296 esac
48297
48298 if test "x$PIC_FLAG" != "x" ; then
48299 PIC_FLAG="$PIC_FLAG -DPIC"
48300 fi
48301
48302 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48303 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48304 fi
48305 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48306 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48307 fi
48308
48309
48310
48311
48312
48313
48314
48315
48316
48317 USE_SOVERSION=0
48318 USE_SOVERLINUX=0
48319 USE_SOVERSOLARIS=0
48320 USE_SOVERCYGWIN=0
48321 USE_SOSYMLINKS=0
48322 USE_MACVERSION=0
48323 SONAME_FLAG=
48324
48325 case "${BAKEFILE_HOST}" in
48326 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48327 SONAME_FLAG="-Wl,-soname,"
48328 USE_SOVERSION=1
48329 USE_SOVERLINUX=1
48330 USE_SOSYMLINKS=1
48331 ;;
48332
48333 *-*-solaris2* )
48334 SONAME_FLAG="-h "
48335 USE_SOVERSION=1
48336 USE_SOVERSOLARIS=1
48337 USE_SOSYMLINKS=1
48338 ;;
48339
48340 *-*-darwin* )
48341 USE_MACVERSION=1
48342 USE_SOVERSION=1
48343 USE_SOSYMLINKS=1
48344 ;;
48345
48346 *-*-cygwin* )
48347 USE_SOVERSION=1
48348 USE_SOVERCYGWIN=1
48349 ;;
48350 esac
48351
48352
48353
48354
48355
48356
48357
48358
48359
48360
48361 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48362 if test "${enable_dependency_tracking+set}" = set; then
48363 enableval="$enable_dependency_tracking"
48364 bk_use_trackdeps="$enableval"
48365 fi;
48366
48367 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48368 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48369
48370 if test "x$bk_use_trackdeps" = "xno" ; then
48371 DEPS_TRACKING=0
48372 echo "$as_me:$LINENO: result: disabled" >&5
48373 echo "${ECHO_T}disabled" >&6
48374 else
48375 DEPS_TRACKING=1
48376
48377 if test "x$GCC" = "xyes"; then
48378 DEPSMODE=gcc
48379 case "${BAKEFILE_HOST}" in
48380 *-*-darwin* )
48381 DEPSFLAG="-no-cpp-precomp -MMD"
48382 ;;
48383 * )
48384 DEPSFLAG="-MMD"
48385 ;;
48386 esac
48387 echo "$as_me:$LINENO: result: gcc" >&5
48388 echo "${ECHO_T}gcc" >&6
48389 elif test "x$MWCC" = "xyes"; then
48390 DEPSMODE=mwcc
48391 DEPSFLAG="-MM"
48392 echo "$as_me:$LINENO: result: mwcc" >&5
48393 echo "${ECHO_T}mwcc" >&6
48394 elif test "x$SUNCC" = "xyes"; then
48395 DEPSMODE=unixcc
48396 DEPSFLAG="-xM1"
48397 echo "$as_me:$LINENO: result: Sun cc" >&5
48398 echo "${ECHO_T}Sun cc" >&6
48399 elif test "x$SGICC" = "xyes"; then
48400 DEPSMODE=unixcc
48401 DEPSFLAG="-M"
48402 echo "$as_me:$LINENO: result: SGI cc" >&5
48403 echo "${ECHO_T}SGI cc" >&6
48404 elif test "x$HPCC" = "xyes"; then
48405 DEPSMODE=unixcc
48406 DEPSFLAG="+make"
48407 echo "$as_me:$LINENO: result: HP cc" >&5
48408 echo "${ECHO_T}HP cc" >&6
48409 elif test "x$COMPAQCC" = "xyes"; then
48410 DEPSMODE=gcc
48411 DEPSFLAG="-MD"
48412 echo "$as_me:$LINENO: result: Compaq cc" >&5
48413 echo "${ECHO_T}Compaq cc" >&6
48414 else
48415 DEPS_TRACKING=0
48416 echo "$as_me:$LINENO: result: none" >&5
48417 echo "${ECHO_T}none" >&6
48418 fi
48419
48420 if test $DEPS_TRACKING = 1 ; then
48421
48422 D='$'
48423 cat <<EOF >bk-deps
48424 #!/bin/sh
48425
48426 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48427 # script. It is used to track C/C++ files dependencies in portable way.
48428 #
48429 # Permission is given to use this file in any way.
48430
48431 DEPSMODE=${DEPSMODE}
48432 DEPSDIR=.deps
48433 DEPSFLAG="${DEPSFLAG}"
48434
48435 mkdir -p ${D}DEPSDIR
48436
48437 if test ${D}DEPSMODE = gcc ; then
48438 ${D}* ${D}{DEPSFLAG}
48439 status=${D}?
48440 if test ${D}{status} != 0 ; then
48441 exit ${D}{status}
48442 fi
48443 # move created file to the location we want it in:
48444 while test ${D}# -gt 0; do
48445 case "${D}1" in
48446 -o )
48447 shift
48448 objfile=${D}1
48449 ;;
48450 -* )
48451 ;;
48452 * )
48453 srcfile=${D}1
48454 ;;
48455 esac
48456 shift
48457 done
48458 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48459 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48460 if test -f ${D}depfile ; then
48461 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48462 rm -f ${D}depfile
48463 else
48464 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48465 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48466 if test ! -f ${D}depfile ; then
48467 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48468 depfile="${D}objfile.d"
48469 fi
48470 if test -f ${D}depfile ; then
48471 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48472 rm -f ${D}depfile
48473 fi
48474 fi
48475 exit 0
48476 elif test ${D}DEPSMODE = mwcc ; then
48477 ${D}* || exit ${D}?
48478 # Run mwcc again with -MM and redirect into the dep file we want
48479 # NOTE: We can't use shift here because we need ${D}* to be valid
48480 prevarg=
48481 for arg in ${D}* ; do
48482 if test "${D}prevarg" = "-o"; then
48483 objfile=${D}arg
48484 else
48485 case "${D}arg" in
48486 -* )
48487 ;;
48488 * )
48489 srcfile=${D}arg
48490 ;;
48491 esac
48492 fi
48493 prevarg="${D}arg"
48494 done
48495 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48496 exit 0
48497 elif test ${D}DEPSMODE = unixcc; then
48498 ${D}* || exit ${D}?
48499 # Run compiler again with deps flag and redirect into the dep file.
48500 # It doesn't work if the '-o FILE' option is used, but without it the
48501 # dependency file will contain the wrong name for the object. So it is
48502 # removed from the command line, and the dep file is fixed with sed.
48503 cmd=""
48504 while test ${D}# -gt 0; do
48505 case "${D}1" in
48506 -o )
48507 shift
48508 objfile=${D}1
48509 ;;
48510 * )
48511 eval arg${D}#=\\${D}1
48512 cmd="${D}cmd \\${D}arg${D}#"
48513 ;;
48514 esac
48515 shift
48516 done
48517 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48518 exit 0
48519 else
48520 ${D}*
48521 exit ${D}?
48522 fi
48523 EOF
48524
48525 chmod +x bk-deps
48526 fi
48527 fi
48528
48529
48530
48531
48532 case ${BAKEFILE_HOST} in
48533 *-*-cygwin* | *-*-mingw32* )
48534 if test -n "$ac_tool_prefix"; then
48535 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48536 set dummy ${ac_tool_prefix}windres; ac_word=$2
48537 echo "$as_me:$LINENO: checking for $ac_word" >&5
48538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48539 if test "${ac_cv_prog_WINDRES+set}" = set; then
48540 echo $ECHO_N "(cached) $ECHO_C" >&6
48541 else
48542 if test -n "$WINDRES"; then
48543 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48544 else
48545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48546 for as_dir in $PATH
48547 do
48548 IFS=$as_save_IFS
48549 test -z "$as_dir" && as_dir=.
48550 for ac_exec_ext in '' $ac_executable_extensions; do
48551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48552 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48554 break 2
48555 fi
48556 done
48557 done
48558
48559 fi
48560 fi
48561 WINDRES=$ac_cv_prog_WINDRES
48562 if test -n "$WINDRES"; then
48563 echo "$as_me:$LINENO: result: $WINDRES" >&5
48564 echo "${ECHO_T}$WINDRES" >&6
48565 else
48566 echo "$as_me:$LINENO: result: no" >&5
48567 echo "${ECHO_T}no" >&6
48568 fi
48569
48570 fi
48571 if test -z "$ac_cv_prog_WINDRES"; then
48572 ac_ct_WINDRES=$WINDRES
48573 # Extract the first word of "windres", so it can be a program name with args.
48574 set dummy windres; ac_word=$2
48575 echo "$as_me:$LINENO: checking for $ac_word" >&5
48576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48577 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48578 echo $ECHO_N "(cached) $ECHO_C" >&6
48579 else
48580 if test -n "$ac_ct_WINDRES"; then
48581 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48582 else
48583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48584 for as_dir in $PATH
48585 do
48586 IFS=$as_save_IFS
48587 test -z "$as_dir" && as_dir=.
48588 for ac_exec_ext in '' $ac_executable_extensions; do
48589 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48590 ac_cv_prog_ac_ct_WINDRES="windres"
48591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48592 break 2
48593 fi
48594 done
48595 done
48596
48597 fi
48598 fi
48599 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48600 if test -n "$ac_ct_WINDRES"; then
48601 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48602 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48603 else
48604 echo "$as_me:$LINENO: result: no" >&5
48605 echo "${ECHO_T}no" >&6
48606 fi
48607
48608 WINDRES=$ac_ct_WINDRES
48609 else
48610 WINDRES="$ac_cv_prog_WINDRES"
48611 fi
48612
48613 ;;
48614
48615 *-*-darwin* | powerpc-apple-macos* )
48616 # Extract the first word of "Rez", so it can be a program name with args.
48617 set dummy Rez; ac_word=$2
48618 echo "$as_me:$LINENO: checking for $ac_word" >&5
48619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48620 if test "${ac_cv_prog_REZ+set}" = set; then
48621 echo $ECHO_N "(cached) $ECHO_C" >&6
48622 else
48623 if test -n "$REZ"; then
48624 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48625 else
48626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48627 for as_dir in $PATH
48628 do
48629 IFS=$as_save_IFS
48630 test -z "$as_dir" && as_dir=.
48631 for ac_exec_ext in '' $ac_executable_extensions; do
48632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48633 ac_cv_prog_REZ="Rez"
48634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48635 break 2
48636 fi
48637 done
48638 done
48639
48640 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48641 fi
48642 fi
48643 REZ=$ac_cv_prog_REZ
48644 if test -n "$REZ"; then
48645 echo "$as_me:$LINENO: result: $REZ" >&5
48646 echo "${ECHO_T}$REZ" >&6
48647 else
48648 echo "$as_me:$LINENO: result: no" >&5
48649 echo "${ECHO_T}no" >&6
48650 fi
48651
48652 # Extract the first word of "SetFile", so it can be a program name with args.
48653 set dummy SetFile; ac_word=$2
48654 echo "$as_me:$LINENO: checking for $ac_word" >&5
48655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48656 if test "${ac_cv_prog_SETFILE+set}" = set; then
48657 echo $ECHO_N "(cached) $ECHO_C" >&6
48658 else
48659 if test -n "$SETFILE"; then
48660 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48661 else
48662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48663 for as_dir in $PATH
48664 do
48665 IFS=$as_save_IFS
48666 test -z "$as_dir" && as_dir=.
48667 for ac_exec_ext in '' $ac_executable_extensions; do
48668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48669 ac_cv_prog_SETFILE="SetFile"
48670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48671 break 2
48672 fi
48673 done
48674 done
48675
48676 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48677 fi
48678 fi
48679 SETFILE=$ac_cv_prog_SETFILE
48680 if test -n "$SETFILE"; then
48681 echo "$as_me:$LINENO: result: $SETFILE" >&5
48682 echo "${ECHO_T}$SETFILE" >&6
48683 else
48684 echo "$as_me:$LINENO: result: no" >&5
48685 echo "${ECHO_T}no" >&6
48686 fi
48687
48688 ;;
48689 esac
48690
48691
48692
48693
48694
48695
48696 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
48697
48698
48699 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
48700
48701
48702
48703 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48704 if test "${enable_precomp_headers+set}" = set; then
48705 enableval="$enable_precomp_headers"
48706 bk_use_pch="$enableval"
48707 fi;
48708
48709 GCC_PCH=0
48710 ICC_PCH=0
48711 USE_PCH=0
48712
48713 case ${BAKEFILE_HOST} in
48714 *-*-cygwin* )
48715 bk_use_pch="no"
48716 ;;
48717 esac
48718
48719 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48720 if test "x$GCC" = "xyes"; then
48721 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48722 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48723 cat >conftest.$ac_ext <<_ACEOF
48724 /* confdefs.h. */
48725 _ACEOF
48726 cat confdefs.h >>conftest.$ac_ext
48727 cat >>conftest.$ac_ext <<_ACEOF
48728 /* end confdefs.h. */
48729
48730 int
48731 main ()
48732 {
48733
48734 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48735 There is no PCH support
48736 #endif
48737 #if (__GNUC__ < 3)
48738 There is no PCH support
48739 #endif
48740 #if (__GNUC__ == 3) && \
48741 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48742 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48743 ( defined(__INTEL_COMPILER) )
48744 There is no PCH support
48745 #endif
48746
48747 ;
48748 return 0;
48749 }
48750 _ACEOF
48751 rm -f conftest.$ac_objext
48752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48753 (eval $ac_compile) 2>conftest.er1
48754 ac_status=$?
48755 grep -v '^ *+' conftest.er1 >conftest.err
48756 rm -f conftest.er1
48757 cat conftest.err >&5
48758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48759 (exit $ac_status); } &&
48760 { ac_try='test -z "$ac_c_werror_flag"
48761 || test ! -s conftest.err'
48762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48763 (eval $ac_try) 2>&5
48764 ac_status=$?
48765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48766 (exit $ac_status); }; } &&
48767 { ac_try='test -s conftest.$ac_objext'
48768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48769 (eval $ac_try) 2>&5
48770 ac_status=$?
48771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48772 (exit $ac_status); }; }; then
48773
48774 echo "$as_me:$LINENO: result: yes" >&5
48775 echo "${ECHO_T}yes" >&6
48776 GCC_PCH=1
48777
48778 else
48779 echo "$as_me: failed program was:" >&5
48780 sed 's/^/| /' conftest.$ac_ext >&5
48781
48782
48783 cat >conftest.$ac_ext <<_ACEOF
48784 /* confdefs.h. */
48785 _ACEOF
48786 cat confdefs.h >>conftest.$ac_ext
48787 cat >>conftest.$ac_ext <<_ACEOF
48788 /* end confdefs.h. */
48789
48790 int
48791 main ()
48792 {
48793
48794 #if !defined(__INTEL_COMPILER) || \
48795 (__INTEL_COMPILER < 800)
48796 There is no PCH support
48797 #endif
48798
48799 ;
48800 return 0;
48801 }
48802 _ACEOF
48803 rm -f conftest.$ac_objext
48804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48805 (eval $ac_compile) 2>conftest.er1
48806 ac_status=$?
48807 grep -v '^ *+' conftest.er1 >conftest.err
48808 rm -f conftest.er1
48809 cat conftest.err >&5
48810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48811 (exit $ac_status); } &&
48812 { ac_try='test -z "$ac_c_werror_flag"
48813 || test ! -s conftest.err'
48814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48815 (eval $ac_try) 2>&5
48816 ac_status=$?
48817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48818 (exit $ac_status); }; } &&
48819 { ac_try='test -s conftest.$ac_objext'
48820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48821 (eval $ac_try) 2>&5
48822 ac_status=$?
48823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48824 (exit $ac_status); }; }; then
48825
48826 echo "$as_me:$LINENO: result: yes" >&5
48827 echo "${ECHO_T}yes" >&6
48828 ICC_PCH=1
48829
48830 else
48831 echo "$as_me: failed program was:" >&5
48832 sed 's/^/| /' conftest.$ac_ext >&5
48833
48834
48835 echo "$as_me:$LINENO: result: no" >&5
48836 echo "${ECHO_T}no" >&6
48837
48838 fi
48839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48840
48841 fi
48842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48843 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48844 USE_PCH=1
48845
48846 D='$'
48847 cat <<EOF >bk-make-pch
48848 #!/bin/sh
48849
48850 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48851 # script. It is used to generated precompiled headers.
48852 #
48853 # Permission is given to use this file in any way.
48854
48855 outfile="${D}{1}"
48856 header="${D}{2}"
48857 shift
48858 shift
48859
48860 compiler=""
48861 headerfile=""
48862
48863 while test ${D}{#} -gt 0; do
48864 add_to_cmdline=1
48865 case "${D}{1}" in
48866 -I* )
48867 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48868 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48869 headerfile="${D}{incdir}/${D}{header}"
48870 fi
48871 ;;
48872 -use-pch|-use_pch )
48873 shift
48874 add_to_cmdline=0
48875 ;;
48876 esac
48877 if test ${D}add_to_cmdline = 1 ; then
48878 compiler="${D}{compiler} ${D}{1}"
48879 fi
48880 shift
48881 done
48882
48883 if test "x${D}{headerfile}" = "x" ; then
48884 echo "error: can't find header ${D}{header} in include paths" >&2
48885 else
48886 if test -f ${D}{outfile} ; then
48887 rm -f ${D}{outfile}
48888 else
48889 mkdir -p \`dirname ${D}{outfile}\`
48890 fi
48891 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48892 mkdir -p .deps
48893 if test "x${GCC_PCH}" = "x1" ; then
48894 # can do this because gcc is >= 3.4:
48895 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48896 elif test "x${ICC_PCH}" = "x1" ; then
48897 filename=pch_gen-${D}${D}
48898 file=${D}{filename}.c
48899 dfile=${D}{filename}.d
48900 cat > ${D}file <<EOT
48901 #include "${D}header"
48902 EOT
48903 # using -MF icc complains about differing command lines in creation/use
48904 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48905 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48906 rm -f ${D}file ${D}dfile ${D}{filename}.o
48907 fi
48908 exit ${D}{?}
48909 fi
48910 EOF
48911
48912 chmod +x bk-make-pch
48913 fi
48914 fi
48915 fi
48916
48917
48918
48919
48920 COND_BUILD_DEBUG="#"
48921 if test "x$BUILD" = "xdebug" ; then
48922 COND_BUILD_DEBUG=""
48923 fi
48924
48925 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48926 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48927 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48928 fi
48929
48930 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48931 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48932 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48933 fi
48934
48935 COND_BUILD_DEBUG_UNICODE_0="#"
48936 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48937 COND_BUILD_DEBUG_UNICODE_0=""
48938 fi
48939
48940 COND_BUILD_DEBUG_UNICODE_1="#"
48941 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48942 COND_BUILD_DEBUG_UNICODE_1=""
48943 fi
48944
48945 COND_BUILD_RELEASE="#"
48946 if test "x$BUILD" = "xrelease" ; then
48947 COND_BUILD_RELEASE=""
48948 fi
48949
48950 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48951 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48952 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48953 fi
48954
48955 COND_BUILD_RELEASE_UNICODE_0="#"
48956 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48957 COND_BUILD_RELEASE_UNICODE_0=""
48958 fi
48959
48960 COND_BUILD_RELEASE_UNICODE_1="#"
48961 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48962 COND_BUILD_RELEASE_UNICODE_1=""
48963 fi
48964
48965 COND_DEBUG_FLAG_1="#"
48966 if test "x$DEBUG_FLAG" = "x1" ; then
48967 COND_DEBUG_FLAG_1=""
48968 fi
48969
48970 COND_DEBUG_INFO_0="#"
48971 if test "x$DEBUG_INFO" = "x0" ; then
48972 COND_DEBUG_INFO_0=""
48973 fi
48974
48975 COND_DEBUG_INFO_1="#"
48976 if test "x$DEBUG_INFO" = "x1" ; then
48977 COND_DEBUG_INFO_1=""
48978 fi
48979
48980 COND_DEPS_TRACKING_0="#"
48981 if test "x$DEPS_TRACKING" = "x0" ; then
48982 COND_DEPS_TRACKING_0=""
48983 fi
48984
48985 COND_DEPS_TRACKING_1="#"
48986 if test "x$DEPS_TRACKING" = "x1" ; then
48987 COND_DEPS_TRACKING_1=""
48988 fi
48989
48990 COND_GCC_PCH_1="#"
48991 if test "x$GCC_PCH" = "x1" ; then
48992 COND_GCC_PCH_1=""
48993 fi
48994
48995 COND_ICC_PCH_1="#"
48996 if test "x$ICC_PCH" = "x1" ; then
48997 COND_ICC_PCH_1=""
48998 fi
48999
49000 COND_MONOLITHIC_0="#"
49001 if test "x$MONOLITHIC" = "x0" ; then
49002 COND_MONOLITHIC_0=""
49003 fi
49004
49005 COND_MONOLITHIC_0_SHARED_0="#"
49006 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49007 COND_MONOLITHIC_0_SHARED_0=""
49008 fi
49009
49010 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49011 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49012 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49013 fi
49014
49015 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49016 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49017 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49018 fi
49019
49020 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49021 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49022 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49023 fi
49024
49025 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49026 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49027 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49028 fi
49029
49030 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49031 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49032 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49033 fi
49034
49035 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49036 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49037 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49038 fi
49039
49040 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49041 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49042 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49043 fi
49044
49045 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49046 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49047 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49048 fi
49049
49050 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49051 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49052 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49053 fi
49054
49055 COND_MONOLITHIC_0_SHARED_1="#"
49056 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49057 COND_MONOLITHIC_0_SHARED_1=""
49058 fi
49059
49060 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49061 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49062 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49063 fi
49064
49065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49066 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49067 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49068 fi
49069
49070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49072 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49073 fi
49074
49075 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49077 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49078 fi
49079
49080 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49082 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49083 fi
49084
49085 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49086 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49088 fi
49089
49090 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49091 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49092 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49093 fi
49094
49095 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49096 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49097 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49098 fi
49099
49100 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49101 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49102 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49103 fi
49104
49105 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49106 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49107 COND_MONOLITHIC_0_USE_MEDIA_1=""
49108 fi
49109
49110 COND_MONOLITHIC_0_USE_ODBC_1="#"
49111 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49112 COND_MONOLITHIC_0_USE_ODBC_1=""
49113 fi
49114
49115 COND_MONOLITHIC_1="#"
49116 if test "x$MONOLITHIC" = "x1" ; then
49117 COND_MONOLITHIC_1=""
49118 fi
49119
49120 COND_MONOLITHIC_1_SHARED_0="#"
49121 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49122 COND_MONOLITHIC_1_SHARED_0=""
49123 fi
49124
49125 COND_MONOLITHIC_1_SHARED_1="#"
49126 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49127 COND_MONOLITHIC_1_SHARED_1=""
49128 fi
49129
49130 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49131 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49132 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49133 fi
49134
49135 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49136 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49137 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49138 fi
49139
49140 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49141 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49142 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49143 fi
49144
49145 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49146 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49147 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49148 fi
49149
49150 COND_PLATFORM_MACOSX_1="#"
49151 if test "x$PLATFORM_MACOSX" = "x1" ; then
49152 COND_PLATFORM_MACOSX_1=""
49153 fi
49154
49155 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49156 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49157 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49158 fi
49159
49160 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49161 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49162 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49163 fi
49164
49165 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49166 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49167 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49168 fi
49169
49170 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49171 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49172 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49173 fi
49174
49175 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49176 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49177 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49178 fi
49179
49180 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49181 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49182 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49183 fi
49184
49185 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49186 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49187 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49188 fi
49189
49190 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49191 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49192 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49193 fi
49194
49195 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49196 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49197 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49198 fi
49199
49200 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49201 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49202 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49203 fi
49204
49205 COND_PLATFORM_MACOS_1="#"
49206 if test "x$PLATFORM_MACOS" = "x1" ; then
49207 COND_PLATFORM_MACOS_1=""
49208 fi
49209
49210 COND_PLATFORM_MAC_1="#"
49211 if test "x$PLATFORM_MAC" = "x1" ; then
49212 COND_PLATFORM_MAC_1=""
49213 fi
49214
49215 COND_PLATFORM_MSDOS_0="#"
49216 if test "x$PLATFORM_MSDOS" = "x0" ; then
49217 COND_PLATFORM_MSDOS_0=""
49218 fi
49219
49220 COND_PLATFORM_MSDOS_1="#"
49221 if test "x$PLATFORM_MSDOS" = "x1" ; then
49222 COND_PLATFORM_MSDOS_1=""
49223 fi
49224
49225 COND_PLATFORM_OS2_1="#"
49226 if test "x$PLATFORM_OS2" = "x1" ; then
49227 COND_PLATFORM_OS2_1=""
49228 fi
49229
49230 COND_PLATFORM_UNIX_0="#"
49231 if test "x$PLATFORM_UNIX" = "x0" ; then
49232 COND_PLATFORM_UNIX_0=""
49233 fi
49234
49235 COND_PLATFORM_UNIX_1="#"
49236 if test "x$PLATFORM_UNIX" = "x1" ; then
49237 COND_PLATFORM_UNIX_1=""
49238 fi
49239
49240 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49241 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49242 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49243 fi
49244
49245 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49246 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49247 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49248 fi
49249
49250 COND_PLATFORM_WIN32_0="#"
49251 if test "x$PLATFORM_WIN32" = "x0" ; then
49252 COND_PLATFORM_WIN32_0=""
49253 fi
49254
49255 COND_PLATFORM_WIN32_1="#"
49256 if test "x$PLATFORM_WIN32" = "x1" ; then
49257 COND_PLATFORM_WIN32_1=""
49258 fi
49259
49260 COND_SHARED_0="#"
49261 if test "x$SHARED" = "x0" ; then
49262 COND_SHARED_0=""
49263 fi
49264
49265 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49266 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49267 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49268 fi
49269
49270 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49271 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49272 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49273 fi
49274
49275 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49276 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49277 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49278 fi
49279
49280 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49281 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49282 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49283 fi
49284
49285 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49286 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49287 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49288 fi
49289
49290 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49291 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49292 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49293 fi
49294
49295 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49296 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49297 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49298 fi
49299
49300 COND_SHARED_0_USE_XRC_1="#"
49301 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49302 COND_SHARED_0_USE_XRC_1=""
49303 fi
49304
49305 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49306 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49307 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49308 fi
49309
49310 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49311 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49312 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49313 fi
49314
49315 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49316 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49317 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49318 fi
49319
49320 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49321 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49322 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49323 fi
49324
49325 COND_SHARED_1="#"
49326 if test "x$SHARED" = "x1" ; then
49327 COND_SHARED_1=""
49328 fi
49329
49330 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49331 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49332 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49333 fi
49334
49335 COND_SHARED_1_USE_XRC_1="#"
49336 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49337 COND_SHARED_1_USE_XRC_1=""
49338 fi
49339
49340 COND_TOOLKIT_="#"
49341 if test "x$TOOLKIT" = "x" ; then
49342 COND_TOOLKIT_=""
49343 fi
49344
49345 COND_TOOLKIT_COCOA="#"
49346 if test "x$TOOLKIT" = "xCOCOA" ; then
49347 COND_TOOLKIT_COCOA=""
49348 fi
49349
49350 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49351 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49352 COND_TOOLKIT_COCOA_USE_GUI_1=""
49353 fi
49354
49355 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49356 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49357 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49358 fi
49359
49360 COND_TOOLKIT_DFB="#"
49361 if test "x$TOOLKIT" = "xDFB" ; then
49362 COND_TOOLKIT_DFB=""
49363 fi
49364
49365 COND_TOOLKIT_DFB_USE_GUI_1="#"
49366 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49367 COND_TOOLKIT_DFB_USE_GUI_1=""
49368 fi
49369
49370 COND_TOOLKIT_GTK="#"
49371 if test "x$TOOLKIT" = "xGTK" ; then
49372 COND_TOOLKIT_GTK=""
49373 fi
49374
49375 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49376 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49377 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49378 fi
49379
49380 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49381 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49382 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49383 fi
49384
49385 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49386 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49387 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49388 fi
49389
49390 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49391 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49392 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49393 fi
49394
49395 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49396 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49397 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49398 fi
49399
49400 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49401 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49402 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49403 fi
49404
49405 COND_TOOLKIT_GTK_USE_GUI_1="#"
49406 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49407 COND_TOOLKIT_GTK_USE_GUI_1=""
49408 fi
49409
49410 COND_TOOLKIT_MAC="#"
49411 if test "x$TOOLKIT" = "xMAC" ; then
49412 COND_TOOLKIT_MAC=""
49413 fi
49414
49415 COND_TOOLKIT_MAC_USE_GUI_1="#"
49416 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49417 COND_TOOLKIT_MAC_USE_GUI_1=""
49418 fi
49419
49420 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49421 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49422 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49423 fi
49424
49425 COND_TOOLKIT_MGL="#"
49426 if test "x$TOOLKIT" = "xMGL" ; then
49427 COND_TOOLKIT_MGL=""
49428 fi
49429
49430 COND_TOOLKIT_MGL_USE_GUI_1="#"
49431 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49432 COND_TOOLKIT_MGL_USE_GUI_1=""
49433 fi
49434
49435 COND_TOOLKIT_MOTIF="#"
49436 if test "x$TOOLKIT" = "xMOTIF" ; then
49437 COND_TOOLKIT_MOTIF=""
49438 fi
49439
49440 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49441 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49442 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49443 fi
49444
49445 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49446 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49447 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49448 fi
49449
49450 COND_TOOLKIT_MSW="#"
49451 if test "x$TOOLKIT" = "xMSW" ; then
49452 COND_TOOLKIT_MSW=""
49453 fi
49454
49455 COND_TOOLKIT_MSW_USE_GUI_1="#"
49456 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49457 COND_TOOLKIT_MSW_USE_GUI_1=""
49458 fi
49459
49460 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49461 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49462 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49463 fi
49464
49465 COND_TOOLKIT_MSW_WXUNIV_0="#"
49466 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49467 COND_TOOLKIT_MSW_WXUNIV_0=""
49468 fi
49469
49470 COND_TOOLKIT_PM="#"
49471 if test "x$TOOLKIT" = "xPM" ; then
49472 COND_TOOLKIT_PM=""
49473 fi
49474
49475 COND_TOOLKIT_PM_USE_GUI_1="#"
49476 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49477 COND_TOOLKIT_PM_USE_GUI_1=""
49478 fi
49479
49480 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49481 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49482 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49483 fi
49484
49485 COND_TOOLKIT_WINCE="#"
49486 if test "x$TOOLKIT" = "xWINCE" ; then
49487 COND_TOOLKIT_WINCE=""
49488 fi
49489
49490 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49491 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49492 COND_TOOLKIT_WINCE_USE_GUI_1=""
49493 fi
49494
49495 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49496 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49497 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49498 fi
49499
49500 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49501 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49502 COND_TOOLKIT_WINCE_WXUNIV_0=""
49503 fi
49504
49505 COND_TOOLKIT_X11="#"
49506 if test "x$TOOLKIT" = "xX11" ; then
49507 COND_TOOLKIT_X11=""
49508 fi
49509
49510 COND_TOOLKIT_X11_USE_GUI_1="#"
49511 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49512 COND_TOOLKIT_X11_USE_GUI_1=""
49513 fi
49514
49515 COND_UNICODE_1="#"
49516 if test "x$UNICODE" = "x1" ; then
49517 COND_UNICODE_1=""
49518 fi
49519
49520 COND_USE_EXCEPTIONS_0="#"
49521 if test "x$USE_EXCEPTIONS" = "x0" ; then
49522 COND_USE_EXCEPTIONS_0=""
49523 fi
49524
49525 COND_USE_EXCEPTIONS_1="#"
49526 if test "x$USE_EXCEPTIONS" = "x1" ; then
49527 COND_USE_EXCEPTIONS_1=""
49528 fi
49529
49530 COND_USE_GUI_0="#"
49531 if test "x$USE_GUI" = "x0" ; then
49532 COND_USE_GUI_0=""
49533 fi
49534
49535 COND_USE_GUI_1="#"
49536 if test "x$USE_GUI" = "x1" ; then
49537 COND_USE_GUI_1=""
49538 fi
49539
49540 COND_USE_GUI_1_WXUNIV_0="#"
49541 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49542 COND_USE_GUI_1_WXUNIV_0=""
49543 fi
49544
49545 COND_USE_GUI_1_WXUNIV_1="#"
49546 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49547 COND_USE_GUI_1_WXUNIV_1=""
49548 fi
49549
49550 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49551 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49552 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49553 fi
49554
49555 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49556 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49557 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49558 fi
49559
49560 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49561 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49562 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49563 fi
49564
49565 COND_USE_ODBC_1="#"
49566 if test "x$USE_ODBC" = "x1" ; then
49567 COND_USE_ODBC_1=""
49568 fi
49569
49570 COND_USE_OPENGL_1="#"
49571 if test "x$USE_OPENGL" = "x1" ; then
49572 COND_USE_OPENGL_1=""
49573 fi
49574
49575 COND_USE_PCH_1="#"
49576 if test "x$USE_PCH" = "x1" ; then
49577 COND_USE_PCH_1=""
49578 fi
49579
49580 COND_USE_PLUGINS_0="#"
49581 if test "x$USE_PLUGINS" = "x0" ; then
49582 COND_USE_PLUGINS_0=""
49583 fi
49584
49585 COND_USE_RTTI_0="#"
49586 if test "x$USE_RTTI" = "x0" ; then
49587 COND_USE_RTTI_0=""
49588 fi
49589
49590 COND_USE_RTTI_1="#"
49591 if test "x$USE_RTTI" = "x1" ; then
49592 COND_USE_RTTI_1=""
49593 fi
49594
49595 COND_USE_SOSYMLINKS_1="#"
49596 if test "x$USE_SOSYMLINKS" = "x1" ; then
49597 COND_USE_SOSYMLINKS_1=""
49598 fi
49599
49600 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49601 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49602 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49603 fi
49604
49605 COND_USE_SOVERLINUX_1="#"
49606 if test "x$USE_SOVERLINUX" = "x1" ; then
49607 COND_USE_SOVERLINUX_1=""
49608 fi
49609
49610 COND_USE_SOVERSION_0="#"
49611 if test "x$USE_SOVERSION" = "x0" ; then
49612 COND_USE_SOVERSION_0=""
49613 fi
49614
49615 COND_USE_SOVERSOLARIS_1="#"
49616 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49617 COND_USE_SOVERSOLARIS_1=""
49618 fi
49619
49620 COND_USE_THREADS_0="#"
49621 if test "x$USE_THREADS" = "x0" ; then
49622 COND_USE_THREADS_0=""
49623 fi
49624
49625 COND_USE_THREADS_1="#"
49626 if test "x$USE_THREADS" = "x1" ; then
49627 COND_USE_THREADS_1=""
49628 fi
49629
49630 COND_USE_XRC_1="#"
49631 if test "x$USE_XRC" = "x1" ; then
49632 COND_USE_XRC_1=""
49633 fi
49634
49635 COND_WINDOWS_IMPLIB_1="#"
49636 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49637 COND_WINDOWS_IMPLIB_1=""
49638 fi
49639
49640 COND_WITH_PLUGIN_SDL_1="#"
49641 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49642 COND_WITH_PLUGIN_SDL_1=""
49643 fi
49644
49645 COND_WXUNIV_0="#"
49646 if test "x$WXUNIV" = "x0" ; then
49647 COND_WXUNIV_0=""
49648 fi
49649
49650 COND_WXUNIV_1="#"
49651 if test "x$WXUNIV" = "x1" ; then
49652 COND_WXUNIV_1=""
49653 fi
49654
49655 COND_WXUSE_EXPAT_BUILTIN="#"
49656 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49657 COND_WXUSE_EXPAT_BUILTIN=""
49658 fi
49659
49660 COND_WXUSE_LIBJPEG_BUILTIN="#"
49661 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49662 COND_WXUSE_LIBJPEG_BUILTIN=""
49663 fi
49664
49665 COND_WXUSE_LIBPNG_BUILTIN="#"
49666 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49667 COND_WXUSE_LIBPNG_BUILTIN=""
49668 fi
49669
49670 COND_WXUSE_LIBTIFF_BUILTIN="#"
49671 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49672 COND_WXUSE_LIBTIFF_BUILTIN=""
49673 fi
49674
49675 COND_WXUSE_ODBC_BUILTIN="#"
49676 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49677 COND_WXUSE_ODBC_BUILTIN=""
49678 fi
49679
49680 COND_WXUSE_REGEX_BUILTIN="#"
49681 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49682 COND_WXUSE_REGEX_BUILTIN=""
49683 fi
49684
49685 COND_WXUSE_ZLIB_BUILTIN="#"
49686 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49687 COND_WXUSE_ZLIB_BUILTIN=""
49688 fi
49689
49690
49691
49692 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49693 { { 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
49694 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;}
49695 { (exit 1); exit 1; }; }
49696 fi
49697
49698 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49699 { { 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
49700 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;}
49701 { (exit 1); exit 1; }; }
49702 fi
49703
49704
49705
49706 if test "$wxUSE_MAC" = 1 ; then
49707 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49708 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49709 mv temp bk-deps
49710 chmod +x bk-deps
49711 fi
49712 fi
49713
49714 if test "$wxUSE_SHARED" = "yes"; then
49715
49716 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49717 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49718
49719 case "${host}" in
49720 *-pc-os2_emx | *-pc-os2-emx )
49721 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49722 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49723 cp -p ${srcdir}/src/os2/dllnames.sh .
49724 cp -p ${srcdir}/src/os2/dllar.sh .
49725 ;;
49726 esac
49727 else
49728
49729 EXE_LINKER="$CXX -o"
49730
49731 fi
49732 if test "$wxUSE_OMF" = "yes"; then
49733 case "${host}" in
49734 *-pc-os2_emx | *-pc-os2-emx )
49735 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49736 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49737 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49738 ;;
49739 esac
49740 fi
49741
49742 if test $GCC_PCH = 1 ; then
49743 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49744 fi
49745
49746 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49747
49748 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49749
49750
49751
49752
49753
49754
49755
49756
49757
49758
49759
49760
49761
49762
49763
49764
49765
49766
49767
49768
49769
49770
49771
49772
49773
49774
49775
49776
49777
49778
49779
49780
49781
49782
49783
49784
49785
49786
49787
49788
49789
49790
49791
49792
49793
49794
49795
49796
49797
49798
49799
49800
49801
49802
49803
49804
49805
49806
49807
49808
49809
49810 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49811 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49812 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
49813 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49814 echo $ECHO_N "(cached) $ECHO_C" >&6
49815 else
49816 cat >conftest.make <<\_ACEOF
49817 all:
49818 @echo 'ac_maketemp="$(MAKE)"'
49819 _ACEOF
49820 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49821 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49822 if test -n "$ac_maketemp"; then
49823 eval ac_cv_prog_make_${ac_make}_set=yes
49824 else
49825 eval ac_cv_prog_make_${ac_make}_set=no
49826 fi
49827 rm -f conftest.make
49828 fi
49829 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49830 echo "$as_me:$LINENO: result: yes" >&5
49831 echo "${ECHO_T}yes" >&6
49832 SET_MAKE=
49833 else
49834 echo "$as_me:$LINENO: result: no" >&5
49835 echo "${ECHO_T}no" >&6
49836 SET_MAKE="MAKE=${MAKE-make}"
49837 fi
49838
49839
49840
49841 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49842
49843
49844 if test "$USE_WIN32" = 1; then
49845 ac_config_commands="$ac_config_commands
49846 rcdefs.h
49847 "
49848
49849 fi
49850
49851 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49852
49853
49854 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49855
49856
49857 ac_config_files="$ac_config_files version-script Makefile"
49858
49859
49860 ac_config_commands="$ac_config_commands wx-config"
49861
49862
49863
49864 if test "$wxWITH_SUBDIRS" != "no"; then
49865 if test "$wxUSE_GUI" = "yes"; then
49866 SUBDIRS="samples demos utils contrib"
49867 else SUBDIRS="samples utils"
49868 fi
49869
49870
49871
49872 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49873 if test "${with_cppunit_prefix+set}" = set; then
49874 withval="$with_cppunit_prefix"
49875 cppunit_config_prefix="$withval"
49876 else
49877 cppunit_config_prefix=""
49878 fi;
49879
49880 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49881 if test "${with_cppunit_exec_prefix+set}" = set; then
49882 withval="$with_cppunit_exec_prefix"
49883 cppunit_config_exec_prefix="$withval"
49884 else
49885 cppunit_config_exec_prefix=""
49886 fi;
49887
49888 if test x$cppunit_config_exec_prefix != x ; then
49889 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49890 if test x${CPPUNIT_CONFIG+set} != xset ; then
49891 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49892 fi
49893 fi
49894 if test x$cppunit_config_prefix != x ; then
49895 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49896 if test x${CPPUNIT_CONFIG+set} != xset ; then
49897 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49898 fi
49899 fi
49900
49901 # Extract the first word of "cppunit-config", so it can be a program name with args.
49902 set dummy cppunit-config; ac_word=$2
49903 echo "$as_me:$LINENO: checking for $ac_word" >&5
49904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49905 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49906 echo $ECHO_N "(cached) $ECHO_C" >&6
49907 else
49908 case $CPPUNIT_CONFIG in
49909 [\\/]* | ?:[\\/]*)
49910 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49911 ;;
49912 *)
49913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49914 for as_dir in $PATH
49915 do
49916 IFS=$as_save_IFS
49917 test -z "$as_dir" && as_dir=.
49918 for ac_exec_ext in '' $ac_executable_extensions; do
49919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49920 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49922 break 2
49923 fi
49924 done
49925 done
49926
49927 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49928 ;;
49929 esac
49930 fi
49931 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49932
49933 if test -n "$CPPUNIT_CONFIG"; then
49934 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49935 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49936 else
49937 echo "$as_me:$LINENO: result: no" >&5
49938 echo "${ECHO_T}no" >&6
49939 fi
49940
49941 cppunit_version_min=1.8.0
49942
49943 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49944 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49945 no_cppunit=""
49946 if test "$CPPUNIT_CONFIG" = "no" ; then
49947 echo "$as_me:$LINENO: result: no" >&5
49948 echo "${ECHO_T}no" >&6
49949 no_cppunit=yes
49950 else
49951 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49952 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49953 cppunit_version=`$CPPUNIT_CONFIG --version`
49954
49955 cppunit_major_version=`echo $cppunit_version | \
49956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49957 cppunit_minor_version=`echo $cppunit_version | \
49958 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49959 cppunit_micro_version=`echo $cppunit_version | \
49960 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49961
49962 cppunit_major_min=`echo $cppunit_version_min | \
49963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49964 cppunit_minor_min=`echo $cppunit_version_min | \
49965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49966 cppunit_micro_min=`echo $cppunit_version_min | \
49967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49968
49969 cppunit_version_proper=`expr \
49970 $cppunit_major_version \> $cppunit_major_min \| \
49971 $cppunit_major_version \= $cppunit_major_min \& \
49972 $cppunit_minor_version \> $cppunit_minor_min \| \
49973 $cppunit_major_version \= $cppunit_major_min \& \
49974 $cppunit_minor_version \= $cppunit_minor_min \& \
49975 $cppunit_micro_version \>= $cppunit_micro_min `
49976
49977 if test "$cppunit_version_proper" = "1" ; then
49978 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49979 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49980 else
49981 echo "$as_me:$LINENO: result: no" >&5
49982 echo "${ECHO_T}no" >&6
49983 no_cppunit=yes
49984 fi
49985 fi
49986
49987 if test "x$no_cppunit" = x ; then
49988 SUBDIRS="$SUBDIRS tests"
49989 else
49990 CPPUNIT_CFLAGS=""
49991 CPPUNIT_LIBS=""
49992 :
49993 fi
49994
49995
49996
49997
49998
49999 for subdir in `echo $SUBDIRS`; do
50000 if test -d ${srcdir}/${subdir} ; then
50001 if test "$wxUSE_GUI" = "yes"; then
50002 if test ${subdir} = "samples"; then
50003 makefiles="samples/Makefile.in $makefiles"
50004 for sample in `echo $SAMPLES_SUBDIRS`; do
50005 if test -d $srcdir/samples/$sample; then
50006 makefiles="samples/$sample/Makefile.in $makefiles"
50007 fi
50008 done
50009 else
50010 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50011 eval "disabled=\$$disabled_var"
50012 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50013 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50014 fi
50015 else if test ${subdir} = "samples"; then
50016 makefiles="samples/Makefile.in samples/console/Makefile.in"
50017 elif test ${subdir} = "utils"; then
50018 makefiles=""
50019 for util in HelpGen tex2rtf ; do
50020 if test -d $srcdir/utils/$util ; then
50021 makefiles="utils/$util/Makefile.in \
50022 utils/$util/src/Makefile.in \
50023 $makefiles"
50024 fi
50025 done
50026 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50027 fi
50028 fi
50029
50030 for mkin in $makefiles ; do
50031 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50032 ac_config_files="$ac_config_files $mk"
50033
50034 done
50035 fi
50036 done
50037 fi
50038 cat >confcache <<\_ACEOF
50039 # This file is a shell script that caches the results of configure
50040 # tests run on this system so they can be shared between configure
50041 # scripts and configure runs, see configure's option --config-cache.
50042 # It is not useful on other systems. If it contains results you don't
50043 # want to keep, you may remove or edit it.
50044 #
50045 # config.status only pays attention to the cache file if you give it
50046 # the --recheck option to rerun configure.
50047 #
50048 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50049 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50050 # following values.
50051
50052 _ACEOF
50053
50054 # The following way of writing the cache mishandles newlines in values,
50055 # but we know of no workaround that is simple, portable, and efficient.
50056 # So, don't put newlines in cache variables' values.
50057 # Ultrix sh set writes to stderr and can't be redirected directly,
50058 # and sets the high bit in the cache file unless we assign to the vars.
50059 {
50060 (set) 2>&1 |
50061 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50062 *ac_space=\ *)
50063 # `set' does not quote correctly, so add quotes (double-quote
50064 # substitution turns \\\\ into \\, and sed turns \\ into \).
50065 sed -n \
50066 "s/'/'\\\\''/g;
50067 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50068 ;;
50069 *)
50070 # `set' quotes correctly as required by POSIX, so do not add quotes.
50071 sed -n \
50072 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50073 ;;
50074 esac;
50075 } |
50076 sed '
50077 t clear
50078 : clear
50079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50080 t end
50081 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50082 : end' >>confcache
50083 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50084 if test -w $cache_file; then
50085 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50086 cat confcache >$cache_file
50087 else
50088 echo "not updating unwritable cache $cache_file"
50089 fi
50090 fi
50091 rm -f confcache
50092
50093 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50094 # Let make expand exec_prefix.
50095 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50096
50097 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50098 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50099 # trailing colons and then remove the whole line if VPATH becomes empty
50100 # (actually we leave an empty line to preserve line numbers).
50101 if test "x$srcdir" = x.; then
50102 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50103 s/:*\$(srcdir):*/:/;
50104 s/:*\${srcdir}:*/:/;
50105 s/:*@srcdir@:*/:/;
50106 s/^\([^=]*=[ ]*\):*/\1/;
50107 s/:*$//;
50108 s/^[^=]*=[ ]*$//;
50109 }'
50110 fi
50111
50112 DEFS=-DHAVE_CONFIG_H
50113
50114 ac_libobjs=
50115 ac_ltlibobjs=
50116 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50117 # 1. Remove the extension, and $U if already installed.
50118 ac_i=`echo "$ac_i" |
50119 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50120 # 2. Add them.
50121 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50122 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50123 done
50124 LIBOBJS=$ac_libobjs
50125
50126 LTLIBOBJS=$ac_ltlibobjs
50127
50128
50129
50130 : ${CONFIG_STATUS=./config.status}
50131 ac_clean_files_save=$ac_clean_files
50132 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50133 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50134 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50135 cat >$CONFIG_STATUS <<_ACEOF
50136 #! $SHELL
50137 # Generated by $as_me.
50138 # Run this file to recreate the current configuration.
50139 # Compiler output produced by configure, useful for debugging
50140 # configure, is in config.log if it exists.
50141
50142 debug=false
50143 ac_cs_recheck=false
50144 ac_cs_silent=false
50145 SHELL=\${CONFIG_SHELL-$SHELL}
50146 _ACEOF
50147
50148 cat >>$CONFIG_STATUS <<\_ACEOF
50149 ## --------------------- ##
50150 ## M4sh Initialization. ##
50151 ## --------------------- ##
50152
50153 # Be Bourne compatible
50154 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50155 emulate sh
50156 NULLCMD=:
50157 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50158 # is contrary to our usage. Disable this feature.
50159 alias -g '${1+"$@"}'='"$@"'
50160 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50161 set -o posix
50162 fi
50163 DUALCASE=1; export DUALCASE # for MKS sh
50164
50165 # Support unset when possible.
50166 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50167 as_unset=unset
50168 else
50169 as_unset=false
50170 fi
50171
50172
50173 # Work around bugs in pre-3.0 UWIN ksh.
50174 $as_unset ENV MAIL MAILPATH
50175 PS1='$ '
50176 PS2='> '
50177 PS4='+ '
50178
50179 # NLS nuisances.
50180 for as_var in \
50181 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50182 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50183 LC_TELEPHONE LC_TIME
50184 do
50185 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50186 eval $as_var=C; export $as_var
50187 else
50188 $as_unset $as_var
50189 fi
50190 done
50191
50192 # Required to use basename.
50193 if expr a : '\(a\)' >/dev/null 2>&1; then
50194 as_expr=expr
50195 else
50196 as_expr=false
50197 fi
50198
50199 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50200 as_basename=basename
50201 else
50202 as_basename=false
50203 fi
50204
50205
50206 # Name of the executable.
50207 as_me=`$as_basename "$0" ||
50208 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50209 X"$0" : 'X\(//\)$' \| \
50210 X"$0" : 'X\(/\)$' \| \
50211 . : '\(.\)' 2>/dev/null ||
50212 echo X/"$0" |
50213 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50214 /^X\/\(\/\/\)$/{ s//\1/; q; }
50215 /^X\/\(\/\).*/{ s//\1/; q; }
50216 s/.*/./; q'`
50217
50218
50219 # PATH needs CR, and LINENO needs CR and PATH.
50220 # Avoid depending upon Character Ranges.
50221 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50222 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50223 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50224 as_cr_digits='0123456789'
50225 as_cr_alnum=$as_cr_Letters$as_cr_digits
50226
50227 # The user is always right.
50228 if test "${PATH_SEPARATOR+set}" != set; then
50229 echo "#! /bin/sh" >conf$$.sh
50230 echo "exit 0" >>conf$$.sh
50231 chmod +x conf$$.sh
50232 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50233 PATH_SEPARATOR=';'
50234 else
50235 PATH_SEPARATOR=:
50236 fi
50237 rm -f conf$$.sh
50238 fi
50239
50240
50241 as_lineno_1=$LINENO
50242 as_lineno_2=$LINENO
50243 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50244 test "x$as_lineno_1" != "x$as_lineno_2" &&
50245 test "x$as_lineno_3" = "x$as_lineno_2" || {
50246 # Find who we are. Look in the path if we contain no path at all
50247 # relative or not.
50248 case $0 in
50249 *[\\/]* ) as_myself=$0 ;;
50250 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50251 for as_dir in $PATH
50252 do
50253 IFS=$as_save_IFS
50254 test -z "$as_dir" && as_dir=.
50255 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50256 done
50257
50258 ;;
50259 esac
50260 # We did not find ourselves, most probably we were run as `sh COMMAND'
50261 # in which case we are not to be found in the path.
50262 if test "x$as_myself" = x; then
50263 as_myself=$0
50264 fi
50265 if test ! -f "$as_myself"; then
50266 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50267 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50268 { (exit 1); exit 1; }; }
50269 fi
50270 case $CONFIG_SHELL in
50271 '')
50272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50273 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50274 do
50275 IFS=$as_save_IFS
50276 test -z "$as_dir" && as_dir=.
50277 for as_base in sh bash ksh sh5; do
50278 case $as_dir in
50279 /*)
50280 if ("$as_dir/$as_base" -c '
50281 as_lineno_1=$LINENO
50282 as_lineno_2=$LINENO
50283 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50284 test "x$as_lineno_1" != "x$as_lineno_2" &&
50285 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50286 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50287 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50288 CONFIG_SHELL=$as_dir/$as_base
50289 export CONFIG_SHELL
50290 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50291 fi;;
50292 esac
50293 done
50294 done
50295 ;;
50296 esac
50297
50298 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50299 # uniformly replaced by the line number. The first 'sed' inserts a
50300 # line-number line before each line; the second 'sed' does the real
50301 # work. The second script uses 'N' to pair each line-number line
50302 # with the numbered line, and appends trailing '-' during
50303 # substitution so that $LINENO is not a special case at line end.
50304 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50305 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50306 sed '=' <$as_myself |
50307 sed '
50308 N
50309 s,$,-,
50310 : loop
50311 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50312 t loop
50313 s,-$,,
50314 s,^['$as_cr_digits']*\n,,
50315 ' >$as_me.lineno &&
50316 chmod +x $as_me.lineno ||
50317 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50318 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50319 { (exit 1); exit 1; }; }
50320
50321 # Don't try to exec as it changes $[0], causing all sort of problems
50322 # (the dirname of $[0] is not the place where we might find the
50323 # original and so on. Autoconf is especially sensible to this).
50324 . ./$as_me.lineno
50325 # Exit status is that of the last command.
50326 exit
50327 }
50328
50329
50330 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50331 *c*,-n*) ECHO_N= ECHO_C='
50332 ' ECHO_T=' ' ;;
50333 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50334 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50335 esac
50336
50337 if expr a : '\(a\)' >/dev/null 2>&1; then
50338 as_expr=expr
50339 else
50340 as_expr=false
50341 fi
50342
50343 rm -f conf$$ conf$$.exe conf$$.file
50344 echo >conf$$.file
50345 if ln -s conf$$.file conf$$ 2>/dev/null; then
50346 # We could just check for DJGPP; but this test a) works b) is more generic
50347 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50348 if test -f conf$$.exe; then
50349 # Don't use ln at all; we don't have any links
50350 as_ln_s='cp -p'
50351 else
50352 as_ln_s='ln -s'
50353 fi
50354 elif ln conf$$.file conf$$ 2>/dev/null; then
50355 as_ln_s=ln
50356 else
50357 as_ln_s='cp -p'
50358 fi
50359 rm -f conf$$ conf$$.exe conf$$.file
50360
50361 if mkdir -p . 2>/dev/null; then
50362 as_mkdir_p=:
50363 else
50364 test -d ./-p && rmdir ./-p
50365 as_mkdir_p=false
50366 fi
50367
50368 as_executable_p="test -f"
50369
50370 # Sed expression to map a string onto a valid CPP name.
50371 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50372
50373 # Sed expression to map a string onto a valid variable name.
50374 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50375
50376
50377 # IFS
50378 # We need space, tab and new line, in precisely that order.
50379 as_nl='
50380 '
50381 IFS=" $as_nl"
50382
50383 # CDPATH.
50384 $as_unset CDPATH
50385
50386 exec 6>&1
50387
50388 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50389 # report actual input values of CONFIG_FILES etc. instead of their
50390 # values after options handling. Logging --version etc. is OK.
50391 exec 5>>config.log
50392 {
50393 echo
50394 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50395 ## Running $as_me. ##
50396 _ASBOX
50397 } >&5
50398 cat >&5 <<_CSEOF
50399
50400 This file was extended by wxWidgets $as_me 2.7.0, which was
50401 generated by GNU Autoconf 2.59. Invocation command line was
50402
50403 CONFIG_FILES = $CONFIG_FILES
50404 CONFIG_HEADERS = $CONFIG_HEADERS
50405 CONFIG_LINKS = $CONFIG_LINKS
50406 CONFIG_COMMANDS = $CONFIG_COMMANDS
50407 $ $0 $@
50408
50409 _CSEOF
50410 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50411 echo >&5
50412 _ACEOF
50413
50414 # Files that config.status was made for.
50415 if test -n "$ac_config_files"; then
50416 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50417 fi
50418
50419 if test -n "$ac_config_headers"; then
50420 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50421 fi
50422
50423 if test -n "$ac_config_links"; then
50424 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50425 fi
50426
50427 if test -n "$ac_config_commands"; then
50428 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50429 fi
50430
50431 cat >>$CONFIG_STATUS <<\_ACEOF
50432
50433 ac_cs_usage="\
50434 \`$as_me' instantiates files from templates according to the
50435 current configuration.
50436
50437 Usage: $0 [OPTIONS] [FILE]...
50438
50439 -h, --help print this help, then exit
50440 -V, --version print version number, then exit
50441 -q, --quiet do not print progress messages
50442 -d, --debug don't remove temporary files
50443 --recheck update $as_me by reconfiguring in the same conditions
50444 --file=FILE[:TEMPLATE]
50445 instantiate the configuration file FILE
50446 --header=FILE[:TEMPLATE]
50447 instantiate the configuration header FILE
50448
50449 Configuration files:
50450 $config_files
50451
50452 Configuration headers:
50453 $config_headers
50454
50455 Configuration commands:
50456 $config_commands
50457
50458 Report bugs to <bug-autoconf@gnu.org>."
50459 _ACEOF
50460
50461 cat >>$CONFIG_STATUS <<_ACEOF
50462 ac_cs_version="\\
50463 wxWidgets config.status 2.7.0
50464 configured by $0, generated by GNU Autoconf 2.59,
50465 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50466
50467 Copyright (C) 2003 Free Software Foundation, Inc.
50468 This config.status script is free software; the Free Software Foundation
50469 gives unlimited permission to copy, distribute and modify it."
50470 srcdir=$srcdir
50471 INSTALL="$INSTALL"
50472 _ACEOF
50473
50474 cat >>$CONFIG_STATUS <<\_ACEOF
50475 # If no file are specified by the user, then we need to provide default
50476 # value. By we need to know if files were specified by the user.
50477 ac_need_defaults=:
50478 while test $# != 0
50479 do
50480 case $1 in
50481 --*=*)
50482 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50483 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50484 ac_shift=:
50485 ;;
50486 -*)
50487 ac_option=$1
50488 ac_optarg=$2
50489 ac_shift=shift
50490 ;;
50491 *) # This is not an option, so the user has probably given explicit
50492 # arguments.
50493 ac_option=$1
50494 ac_need_defaults=false;;
50495 esac
50496
50497 case $ac_option in
50498 # Handling of the options.
50499 _ACEOF
50500 cat >>$CONFIG_STATUS <<\_ACEOF
50501 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50502 ac_cs_recheck=: ;;
50503 --version | --vers* | -V )
50504 echo "$ac_cs_version"; exit 0 ;;
50505 --he | --h)
50506 # Conflict between --help and --header
50507 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50508 Try \`$0 --help' for more information." >&5
50509 echo "$as_me: error: ambiguous option: $1
50510 Try \`$0 --help' for more information." >&2;}
50511 { (exit 1); exit 1; }; };;
50512 --help | --hel | -h )
50513 echo "$ac_cs_usage"; exit 0 ;;
50514 --debug | --d* | -d )
50515 debug=: ;;
50516 --file | --fil | --fi | --f )
50517 $ac_shift
50518 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50519 ac_need_defaults=false;;
50520 --header | --heade | --head | --hea )
50521 $ac_shift
50522 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50523 ac_need_defaults=false;;
50524 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50525 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50526 ac_cs_silent=: ;;
50527
50528 # This is an error.
50529 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50530 Try \`$0 --help' for more information." >&5
50531 echo "$as_me: error: unrecognized option: $1
50532 Try \`$0 --help' for more information." >&2;}
50533 { (exit 1); exit 1; }; } ;;
50534
50535 *) ac_config_targets="$ac_config_targets $1" ;;
50536
50537 esac
50538 shift
50539 done
50540
50541 ac_configure_extra_args=
50542
50543 if $ac_cs_silent; then
50544 exec 6>/dev/null
50545 ac_configure_extra_args="$ac_configure_extra_args --silent"
50546 fi
50547
50548 _ACEOF
50549 cat >>$CONFIG_STATUS <<_ACEOF
50550 if \$ac_cs_recheck; then
50551 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50552 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50553 fi
50554
50555 _ACEOF
50556
50557 cat >>$CONFIG_STATUS <<_ACEOF
50558 #
50559 # INIT-COMMANDS section.
50560 #
50561
50562
50563 CPP="$CPP"
50564 infile="$srcdir/include/wx/msw/genrcdefs.h"
50565 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50566
50567
50568 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50569 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50570 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50571 LN_S="${LN_S}"
50572
50573
50574 _ACEOF
50575
50576
50577
50578 cat >>$CONFIG_STATUS <<\_ACEOF
50579 for ac_config_target in $ac_config_targets
50580 do
50581 case "$ac_config_target" in
50582 # Handling of arguments.
50583 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50584 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50585 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50586 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50587 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50588 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50589 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50590 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50591 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50592 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50593 { (exit 1); exit 1; }; };;
50594 esac
50595 done
50596
50597 # If the user did not use the arguments to specify the items to instantiate,
50598 # then the envvar interface is used. Set only those that are not.
50599 # We use the long form for the default assignment because of an extremely
50600 # bizarre bug on SunOS 4.1.3.
50601 if $ac_need_defaults; then
50602 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50603 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50604 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50605 fi
50606
50607 # Have a temporary directory for convenience. Make it in the build tree
50608 # simply because there is no reason to put it here, and in addition,
50609 # creating and moving files from /tmp can sometimes cause problems.
50610 # Create a temporary directory, and hook for its removal unless debugging.
50611 $debug ||
50612 {
50613 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50614 trap '{ (exit 1); exit 1; }' 1 2 13 15
50615 }
50616
50617 # Create a (secure) tmp directory for tmp files.
50618
50619 {
50620 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50621 test -n "$tmp" && test -d "$tmp"
50622 } ||
50623 {
50624 tmp=./confstat$$-$RANDOM
50625 (umask 077 && mkdir $tmp)
50626 } ||
50627 {
50628 echo "$me: cannot create a temporary directory in ." >&2
50629 { (exit 1); exit 1; }
50630 }
50631
50632 _ACEOF
50633
50634 cat >>$CONFIG_STATUS <<_ACEOF
50635
50636 #
50637 # CONFIG_FILES section.
50638 #
50639
50640 # No need to generate the scripts if there are no CONFIG_FILES.
50641 # This happens for instance when ./config.status config.h
50642 if test -n "\$CONFIG_FILES"; then
50643 # Protect against being on the right side of a sed subst in config.status.
50644 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50645 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50646 s,@SHELL@,$SHELL,;t t
50647 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50648 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50649 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50650 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50651 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50652 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50653 s,@exec_prefix@,$exec_prefix,;t t
50654 s,@prefix@,$prefix,;t t
50655 s,@program_transform_name@,$program_transform_name,;t t
50656 s,@bindir@,$bindir,;t t
50657 s,@sbindir@,$sbindir,;t t
50658 s,@libexecdir@,$libexecdir,;t t
50659 s,@datadir@,$datadir,;t t
50660 s,@sysconfdir@,$sysconfdir,;t t
50661 s,@sharedstatedir@,$sharedstatedir,;t t
50662 s,@localstatedir@,$localstatedir,;t t
50663 s,@libdir@,$libdir,;t t
50664 s,@includedir@,$includedir,;t t
50665 s,@oldincludedir@,$oldincludedir,;t t
50666 s,@infodir@,$infodir,;t t
50667 s,@mandir@,$mandir,;t t
50668 s,@build_alias@,$build_alias,;t t
50669 s,@host_alias@,$host_alias,;t t
50670 s,@target_alias@,$target_alias,;t t
50671 s,@DEFS@,$DEFS,;t t
50672 s,@ECHO_C@,$ECHO_C,;t t
50673 s,@ECHO_N@,$ECHO_N,;t t
50674 s,@ECHO_T@,$ECHO_T,;t t
50675 s,@LIBS@,$LIBS,;t t
50676 s,@build@,$build,;t t
50677 s,@build_cpu@,$build_cpu,;t t
50678 s,@build_vendor@,$build_vendor,;t t
50679 s,@build_os@,$build_os,;t t
50680 s,@host@,$host,;t t
50681 s,@host_cpu@,$host_cpu,;t t
50682 s,@host_vendor@,$host_vendor,;t t
50683 s,@host_os@,$host_os,;t t
50684 s,@target@,$target,;t t
50685 s,@target_cpu@,$target_cpu,;t t
50686 s,@target_vendor@,$target_vendor,;t t
50687 s,@target_os@,$target_os,;t t
50688 s,@CC@,$CC,;t t
50689 s,@CFLAGS@,$CFLAGS,;t t
50690 s,@LDFLAGS@,$LDFLAGS,;t t
50691 s,@CPPFLAGS@,$CPPFLAGS,;t t
50692 s,@ac_ct_CC@,$ac_ct_CC,;t t
50693 s,@EXEEXT@,$EXEEXT,;t t
50694 s,@OBJEXT@,$OBJEXT,;t t
50695 s,@CPP@,$CPP,;t t
50696 s,@EGREP@,$EGREP,;t t
50697 s,@CXX@,$CXX,;t t
50698 s,@CXXFLAGS@,$CXXFLAGS,;t t
50699 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50700 s,@RANLIB@,$RANLIB,;t t
50701 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50702 s,@AR@,$AR,;t t
50703 s,@ac_ct_AR@,$ac_ct_AR,;t t
50704 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50705 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50706 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50707 s,@STRIP@,$STRIP,;t t
50708 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50709 s,@WINDRES@,$WINDRES,;t t
50710 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50711 s,@DLLTOOL@,$DLLTOOL,;t t
50712 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50713 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50714 s,@LN_S@,$LN_S,;t t
50715 s,@CXXCPP@,$CXXCPP,;t t
50716 s,@subdirs@,$subdirs,;t t
50717 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50718 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50719 s,@GTK_LIBS@,$GTK_LIBS,;t t
50720 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50721 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50722 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50723 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50724 s,@X_CFLAGS@,$X_CFLAGS,;t t
50725 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50726 s,@X_LIBS@,$X_LIBS,;t t
50727 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50728 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50729 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50730 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50731 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50732 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50733 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50734 s,@REZ@,$REZ,;t t
50735 s,@DEREZ@,$DEREZ,;t t
50736 s,@SETFILE@,$SETFILE,;t t
50737 s,@LIBICONV@,$LIBICONV,;t t
50738 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50739 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50740 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50741 s,@SDL_LIBS@,$SDL_LIBS,;t t
50742 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50743 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50744 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50745 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50746 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50747 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50748 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50749 s,@GST_LIBS@,$GST_LIBS,;t t
50750 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50751 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50752 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50753 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50754 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50755 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50756 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50757 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50758 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50759 s,@VENDOR@,$VENDOR,;t t
50760 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50761 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50762 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50763 s,@WXUNIV@,$WXUNIV,;t t
50764 s,@MONOLITHIC@,$MONOLITHIC,;t t
50765 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50766 s,@EXTRALIBS@,$EXTRALIBS,;t t
50767 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50768 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50769 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50770 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50771 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50772 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50773 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50774 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50775 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50776 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50777 s,@UNICODE@,$UNICODE,;t t
50778 s,@BUILD@,$BUILD,;t t
50779 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50780 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50781 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50782 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50783 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50784 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50785 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50786 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50787 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50788 s,@SET_MAKE@,$SET_MAKE,;t t
50789 s,@MAKE_SET@,$MAKE_SET,;t t
50790 s,@NM@,$NM,;t t
50791 s,@ac_ct_NM@,$ac_ct_NM,;t t
50792 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50793 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50794 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50795 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50796 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50797 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50798 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50799 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50800 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50801 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50802 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50803 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50804 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50805 s,@LIBPREFIX@,$LIBPREFIX,;t t
50806 s,@LIBEXT@,$LIBEXT,;t t
50807 s,@DLLPREFIX@,$DLLPREFIX,;t t
50808 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50809 s,@dlldir@,$dlldir,;t t
50810 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50811 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50812 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50813 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50814 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50815 s,@PIC_FLAG@,$PIC_FLAG,;t t
50816 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50817 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50818 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50819 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50820 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50821 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50822 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50823 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50824 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50825 s,@GCC_PCH@,$GCC_PCH,;t t
50826 s,@ICC_PCH@,$ICC_PCH,;t t
50827 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50828 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50829 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50830 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50831 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50832 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50833 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50834 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50835 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50836 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50837 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50838 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50839 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50840 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50841 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50842 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50843 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50844 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50845 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50846 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50847 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
50848 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
50849 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
50850 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
50851 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50852 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50853 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50854 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50855 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50856 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50857 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
50858 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
50859 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
50860 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
50861 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50862 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50863 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50864 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50865 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50866 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50867 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50868 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50869 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50870 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50871 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50872 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50873 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50874 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50875 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50876 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50877 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50878 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50879 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
50880 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50881 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50882 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50883 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50884 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50885 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50886 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50887 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50888 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50889 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50890 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50891 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50892 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50893 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50894 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50895 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50896 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50897 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50898 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50899 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50900 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50901 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50902 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50903 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50904 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50905 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50906 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50907 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50908 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50909 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50910 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50911 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50912 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50913 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50914 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50915 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50916 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50917 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50918 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50919 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50920 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50921 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
50922 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50923 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50924 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50925 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50926 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50927 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50928 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50929 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50930 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50931 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50932 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50933 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50934 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50935 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50936 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50937 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50938 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50939 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50940 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50941 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50942 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50943 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50944 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50945 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50946 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50947 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50948 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50949 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50950 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50951 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50952 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50953 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50954 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50955 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50956 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50957 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50958 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50959 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50960 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50961 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50962 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50963 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50964 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50965 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50966 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50967 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50968 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50969 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50970 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50971 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50972 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50973 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50974 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50975 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50976 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50977 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50978 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50979 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50980 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50981 s,@SHARED@,$SHARED,;t t
50982 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50983 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50984 s,@USE_GUI@,$USE_GUI,;t t
50985 s,@AFMINSTALL@,$AFMINSTALL,;t t
50986 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50987 s,@TOOLKIT@,$TOOLKIT,;t t
50988 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50989 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50990 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50991 s,@cross_compiling@,$cross_compiling,;t t
50992 s,@WIDGET_SET@,$WIDGET_SET,;t t
50993 s,@WX_RELEASE@,$WX_RELEASE,;t t
50994 s,@WX_VERSION@,$WX_VERSION,;t t
50995 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50996 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50997 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50998 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50999 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51000 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51001 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51002 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51003 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51004 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51005 s,@EXE_LINKER@,$EXE_LINKER,;t t
51006 s,@GUIDIST@,$GUIDIST,;t t
51007 s,@DISTDIR@,$DISTDIR,;t t
51008 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51009 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51010 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51011 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51012 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51013 s,@RESCOMP@,$RESCOMP,;t t
51014 s,@RESFLAGS@,$RESFLAGS,;t t
51015 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51016 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51017 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51018 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51019 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51020 s,@MACSETFILE@,$MACSETFILE,;t t
51021 s,@GCC@,$GCC,;t t
51022 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51023 s,@LIBOBJS@,$LIBOBJS,;t t
51024 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51025 CEOF
51026
51027 _ACEOF
51028
51029 cat >>$CONFIG_STATUS <<\_ACEOF
51030 # Split the substitutions into bite-sized pieces for seds with
51031 # small command number limits, like on Digital OSF/1 and HP-UX.
51032 ac_max_sed_lines=48
51033 ac_sed_frag=1 # Number of current file.
51034 ac_beg=1 # First line for current file.
51035 ac_end=$ac_max_sed_lines # Line after last line for current file.
51036 ac_more_lines=:
51037 ac_sed_cmds=
51038 while $ac_more_lines; do
51039 if test $ac_beg -gt 1; then
51040 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51041 else
51042 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51043 fi
51044 if test ! -s $tmp/subs.frag; then
51045 ac_more_lines=false
51046 else
51047 # The purpose of the label and of the branching condition is to
51048 # speed up the sed processing (if there are no `@' at all, there
51049 # is no need to browse any of the substitutions).
51050 # These are the two extra sed commands mentioned above.
51051 (echo ':t
51052 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51053 if test -z "$ac_sed_cmds"; then
51054 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51055 else
51056 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51057 fi
51058 ac_sed_frag=`expr $ac_sed_frag + 1`
51059 ac_beg=$ac_end
51060 ac_end=`expr $ac_end + $ac_max_sed_lines`
51061 fi
51062 done
51063 if test -z "$ac_sed_cmds"; then
51064 ac_sed_cmds=cat
51065 fi
51066 fi # test -n "$CONFIG_FILES"
51067
51068 _ACEOF
51069 cat >>$CONFIG_STATUS <<\_ACEOF
51070 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51071 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51072 case $ac_file in
51073 - | *:- | *:-:* ) # input from stdin
51074 cat >$tmp/stdin
51075 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51076 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51077 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51078 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51079 * ) ac_file_in=$ac_file.in ;;
51080 esac
51081
51082 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51083 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51084 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51085 X"$ac_file" : 'X\(//\)[^/]' \| \
51086 X"$ac_file" : 'X\(//\)$' \| \
51087 X"$ac_file" : 'X\(/\)' \| \
51088 . : '\(.\)' 2>/dev/null ||
51089 echo X"$ac_file" |
51090 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51091 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51092 /^X\(\/\/\)$/{ s//\1/; q; }
51093 /^X\(\/\).*/{ s//\1/; q; }
51094 s/.*/./; q'`
51095 { if $as_mkdir_p; then
51096 mkdir -p "$ac_dir"
51097 else
51098 as_dir="$ac_dir"
51099 as_dirs=
51100 while test ! -d "$as_dir"; do
51101 as_dirs="$as_dir $as_dirs"
51102 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51103 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51104 X"$as_dir" : 'X\(//\)[^/]' \| \
51105 X"$as_dir" : 'X\(//\)$' \| \
51106 X"$as_dir" : 'X\(/\)' \| \
51107 . : '\(.\)' 2>/dev/null ||
51108 echo X"$as_dir" |
51109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51110 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51111 /^X\(\/\/\)$/{ s//\1/; q; }
51112 /^X\(\/\).*/{ s//\1/; q; }
51113 s/.*/./; q'`
51114 done
51115 test ! -n "$as_dirs" || mkdir $as_dirs
51116 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51117 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51118 { (exit 1); exit 1; }; }; }
51119
51120 ac_builddir=.
51121
51122 if test "$ac_dir" != .; then
51123 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51124 # A "../" for each directory in $ac_dir_suffix.
51125 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51126 else
51127 ac_dir_suffix= ac_top_builddir=
51128 fi
51129
51130 case $srcdir in
51131 .) # No --srcdir option. We are building in place.
51132 ac_srcdir=.
51133 if test -z "$ac_top_builddir"; then
51134 ac_top_srcdir=.
51135 else
51136 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51137 fi ;;
51138 [\\/]* | ?:[\\/]* ) # Absolute path.
51139 ac_srcdir=$srcdir$ac_dir_suffix;
51140 ac_top_srcdir=$srcdir ;;
51141 *) # Relative path.
51142 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51143 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51144 esac
51145
51146 # Do not use `cd foo && pwd` to compute absolute paths, because
51147 # the directories may not exist.
51148 case `pwd` in
51149 .) ac_abs_builddir="$ac_dir";;
51150 *)
51151 case "$ac_dir" in
51152 .) ac_abs_builddir=`pwd`;;
51153 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51154 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51155 esac;;
51156 esac
51157 case $ac_abs_builddir in
51158 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51159 *)
51160 case ${ac_top_builddir}. in
51161 .) ac_abs_top_builddir=$ac_abs_builddir;;
51162 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51163 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51164 esac;;
51165 esac
51166 case $ac_abs_builddir in
51167 .) ac_abs_srcdir=$ac_srcdir;;
51168 *)
51169 case $ac_srcdir in
51170 .) ac_abs_srcdir=$ac_abs_builddir;;
51171 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51172 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51173 esac;;
51174 esac
51175 case $ac_abs_builddir in
51176 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51177 *)
51178 case $ac_top_srcdir in
51179 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51180 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51181 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51182 esac;;
51183 esac
51184
51185
51186 case $INSTALL in
51187 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51188 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51189 esac
51190
51191 if test x"$ac_file" != x-; then
51192 { echo "$as_me:$LINENO: creating $ac_file" >&5
51193 echo "$as_me: creating $ac_file" >&6;}
51194 rm -f "$ac_file"
51195 fi
51196 # Let's still pretend it is `configure' which instantiates (i.e., don't
51197 # use $as_me), people would be surprised to read:
51198 # /* config.h. Generated by config.status. */
51199 if test x"$ac_file" = x-; then
51200 configure_input=
51201 else
51202 configure_input="$ac_file. "
51203 fi
51204 configure_input=$configure_input"Generated from `echo $ac_file_in |
51205 sed 's,.*/,,'` by configure."
51206
51207 # First look for the input files in the build tree, otherwise in the
51208 # src tree.
51209 ac_file_inputs=`IFS=:
51210 for f in $ac_file_in; do
51211 case $f in
51212 -) echo $tmp/stdin ;;
51213 [\\/$]*)
51214 # Absolute (can't be DOS-style, as IFS=:)
51215 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51216 echo "$as_me: error: cannot find input file: $f" >&2;}
51217 { (exit 1); exit 1; }; }
51218 echo "$f";;
51219 *) # Relative
51220 if test -f "$f"; then
51221 # Build tree
51222 echo "$f"
51223 elif test -f "$srcdir/$f"; then
51224 # Source tree
51225 echo "$srcdir/$f"
51226 else
51227 # /dev/null tree
51228 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51229 echo "$as_me: error: cannot find input file: $f" >&2;}
51230 { (exit 1); exit 1; }; }
51231 fi;;
51232 esac
51233 done` || { (exit 1); exit 1; }
51234 _ACEOF
51235 cat >>$CONFIG_STATUS <<_ACEOF
51236 sed "$ac_vpsub
51237 $extrasub
51238 _ACEOF
51239 cat >>$CONFIG_STATUS <<\_ACEOF
51240 :t
51241 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51242 s,@configure_input@,$configure_input,;t t
51243 s,@srcdir@,$ac_srcdir,;t t
51244 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51245 s,@top_srcdir@,$ac_top_srcdir,;t t
51246 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51247 s,@builddir@,$ac_builddir,;t t
51248 s,@abs_builddir@,$ac_abs_builddir,;t t
51249 s,@top_builddir@,$ac_top_builddir,;t t
51250 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51251 s,@INSTALL@,$ac_INSTALL,;t t
51252 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51253 rm -f $tmp/stdin
51254 if test x"$ac_file" != x-; then
51255 mv $tmp/out $ac_file
51256 else
51257 cat $tmp/out
51258 rm -f $tmp/out
51259 fi
51260
51261 # Run the commands associated with the file.
51262 case $ac_file in
51263 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51264 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51265 esac
51266 done
51267 _ACEOF
51268 cat >>$CONFIG_STATUS <<\_ACEOF
51269
51270 #
51271 # CONFIG_HEADER section.
51272 #
51273
51274 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51275 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51276 #
51277 # ac_d sets the value in "#define NAME VALUE" lines.
51278 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51279 ac_dB='[ ].*$,\1#\2'
51280 ac_dC=' '
51281 ac_dD=',;t'
51282 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51283 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51284 ac_uB='$,\1#\2define\3'
51285 ac_uC=' '
51286 ac_uD=',;t'
51287
51288 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51289 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51290 case $ac_file in
51291 - | *:- | *:-:* ) # input from stdin
51292 cat >$tmp/stdin
51293 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51294 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51295 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51296 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51297 * ) ac_file_in=$ac_file.in ;;
51298 esac
51299
51300 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51301 echo "$as_me: creating $ac_file" >&6;}
51302
51303 # First look for the input files in the build tree, otherwise in the
51304 # src tree.
51305 ac_file_inputs=`IFS=:
51306 for f in $ac_file_in; do
51307 case $f in
51308 -) echo $tmp/stdin ;;
51309 [\\/$]*)
51310 # Absolute (can't be DOS-style, as IFS=:)
51311 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51312 echo "$as_me: error: cannot find input file: $f" >&2;}
51313 { (exit 1); exit 1; }; }
51314 # Do quote $f, to prevent DOS paths from being IFS'd.
51315 echo "$f";;
51316 *) # Relative
51317 if test -f "$f"; then
51318 # Build tree
51319 echo "$f"
51320 elif test -f "$srcdir/$f"; then
51321 # Source tree
51322 echo "$srcdir/$f"
51323 else
51324 # /dev/null tree
51325 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51326 echo "$as_me: error: cannot find input file: $f" >&2;}
51327 { (exit 1); exit 1; }; }
51328 fi;;
51329 esac
51330 done` || { (exit 1); exit 1; }
51331 # Remove the trailing spaces.
51332 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51333
51334 _ACEOF
51335
51336 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51337 # `conftest.undefs', that substitutes the proper values into
51338 # config.h.in to produce config.h. The first handles `#define'
51339 # templates, and the second `#undef' templates.
51340 # And first: Protect against being on the right side of a sed subst in
51341 # config.status. Protect against being in an unquoted here document
51342 # in config.status.
51343 rm -f conftest.defines conftest.undefs
51344 # Using a here document instead of a string reduces the quoting nightmare.
51345 # Putting comments in sed scripts is not portable.
51346 #
51347 # `end' is used to avoid that the second main sed command (meant for
51348 # 0-ary CPP macros) applies to n-ary macro definitions.
51349 # See the Autoconf documentation for `clear'.
51350 cat >confdef2sed.sed <<\_ACEOF
51351 s/[\\&,]/\\&/g
51352 s,[\\$`],\\&,g
51353 t clear
51354 : clear
51355 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51356 t end
51357 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51358 : end
51359 _ACEOF
51360 # If some macros were called several times there might be several times
51361 # the same #defines, which is useless. Nevertheless, we may not want to
51362 # sort them, since we want the *last* AC-DEFINE to be honored.
51363 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51364 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51365 rm -f confdef2sed.sed
51366
51367 # This sed command replaces #undef with comments. This is necessary, for
51368 # example, in the case of _POSIX_SOURCE, which is predefined and required
51369 # on some systems where configure will not decide to define it.
51370 cat >>conftest.undefs <<\_ACEOF
51371 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51372 _ACEOF
51373
51374 # Break up conftest.defines because some shells have a limit on the size
51375 # of here documents, and old seds have small limits too (100 cmds).
51376 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51377 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51378 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51379 echo ' :' >>$CONFIG_STATUS
51380 rm -f conftest.tail
51381 while grep . conftest.defines >/dev/null
51382 do
51383 # Write a limited-size here document to $tmp/defines.sed.
51384 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51385 # Speed up: don't consider the non `#define' lines.
51386 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51387 # Work around the forget-to-reset-the-flag bug.
51388 echo 't clr' >>$CONFIG_STATUS
51389 echo ': clr' >>$CONFIG_STATUS
51390 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51391 echo 'CEOF
51392 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51393 rm -f $tmp/in
51394 mv $tmp/out $tmp/in
51395 ' >>$CONFIG_STATUS
51396 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51397 rm -f conftest.defines
51398 mv conftest.tail conftest.defines
51399 done
51400 rm -f conftest.defines
51401 echo ' fi # grep' >>$CONFIG_STATUS
51402 echo >>$CONFIG_STATUS
51403
51404 # Break up conftest.undefs because some shells have a limit on the size
51405 # of here documents, and old seds have small limits too (100 cmds).
51406 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51407 rm -f conftest.tail
51408 while grep . conftest.undefs >/dev/null
51409 do
51410 # Write a limited-size here document to $tmp/undefs.sed.
51411 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51412 # Speed up: don't consider the non `#undef'
51413 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51414 # Work around the forget-to-reset-the-flag bug.
51415 echo 't clr' >>$CONFIG_STATUS
51416 echo ': clr' >>$CONFIG_STATUS
51417 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51418 echo 'CEOF
51419 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51420 rm -f $tmp/in
51421 mv $tmp/out $tmp/in
51422 ' >>$CONFIG_STATUS
51423 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51424 rm -f conftest.undefs
51425 mv conftest.tail conftest.undefs
51426 done
51427 rm -f conftest.undefs
51428
51429 cat >>$CONFIG_STATUS <<\_ACEOF
51430 # Let's still pretend it is `configure' which instantiates (i.e., don't
51431 # use $as_me), people would be surprised to read:
51432 # /* config.h. Generated by config.status. */
51433 if test x"$ac_file" = x-; then
51434 echo "/* Generated by configure. */" >$tmp/config.h
51435 else
51436 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51437 fi
51438 cat $tmp/in >>$tmp/config.h
51439 rm -f $tmp/in
51440 if test x"$ac_file" != x-; then
51441 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51442 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51443 echo "$as_me: $ac_file is unchanged" >&6;}
51444 else
51445 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51446 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51447 X"$ac_file" : 'X\(//\)[^/]' \| \
51448 X"$ac_file" : 'X\(//\)$' \| \
51449 X"$ac_file" : 'X\(/\)' \| \
51450 . : '\(.\)' 2>/dev/null ||
51451 echo X"$ac_file" |
51452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51453 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51454 /^X\(\/\/\)$/{ s//\1/; q; }
51455 /^X\(\/\).*/{ s//\1/; q; }
51456 s/.*/./; q'`
51457 { if $as_mkdir_p; then
51458 mkdir -p "$ac_dir"
51459 else
51460 as_dir="$ac_dir"
51461 as_dirs=
51462 while test ! -d "$as_dir"; do
51463 as_dirs="$as_dir $as_dirs"
51464 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51465 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51466 X"$as_dir" : 'X\(//\)[^/]' \| \
51467 X"$as_dir" : 'X\(//\)$' \| \
51468 X"$as_dir" : 'X\(/\)' \| \
51469 . : '\(.\)' 2>/dev/null ||
51470 echo X"$as_dir" |
51471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51473 /^X\(\/\/\)$/{ s//\1/; q; }
51474 /^X\(\/\).*/{ s//\1/; q; }
51475 s/.*/./; q'`
51476 done
51477 test ! -n "$as_dirs" || mkdir $as_dirs
51478 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51479 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51480 { (exit 1); exit 1; }; }; }
51481
51482 rm -f $ac_file
51483 mv $tmp/config.h $ac_file
51484 fi
51485 else
51486 cat $tmp/config.h
51487 rm -f $tmp/config.h
51488 fi
51489 done
51490 _ACEOF
51491 cat >>$CONFIG_STATUS <<\_ACEOF
51492
51493 #
51494 # CONFIG_COMMANDS section.
51495 #
51496 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51497 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51498 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51499 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51500 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51501 X"$ac_dest" : 'X\(//\)[^/]' \| \
51502 X"$ac_dest" : 'X\(//\)$' \| \
51503 X"$ac_dest" : 'X\(/\)' \| \
51504 . : '\(.\)' 2>/dev/null ||
51505 echo X"$ac_dest" |
51506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51508 /^X\(\/\/\)$/{ s//\1/; q; }
51509 /^X\(\/\).*/{ s//\1/; q; }
51510 s/.*/./; q'`
51511 { if $as_mkdir_p; then
51512 mkdir -p "$ac_dir"
51513 else
51514 as_dir="$ac_dir"
51515 as_dirs=
51516 while test ! -d "$as_dir"; do
51517 as_dirs="$as_dir $as_dirs"
51518 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51519 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51520 X"$as_dir" : 'X\(//\)[^/]' \| \
51521 X"$as_dir" : 'X\(//\)$' \| \
51522 X"$as_dir" : 'X\(/\)' \| \
51523 . : '\(.\)' 2>/dev/null ||
51524 echo X"$as_dir" |
51525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51527 /^X\(\/\/\)$/{ s//\1/; q; }
51528 /^X\(\/\).*/{ s//\1/; q; }
51529 s/.*/./; q'`
51530 done
51531 test ! -n "$as_dirs" || mkdir $as_dirs
51532 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51533 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51534 { (exit 1); exit 1; }; }; }
51535
51536 ac_builddir=.
51537
51538 if test "$ac_dir" != .; then
51539 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51540 # A "../" for each directory in $ac_dir_suffix.
51541 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51542 else
51543 ac_dir_suffix= ac_top_builddir=
51544 fi
51545
51546 case $srcdir in
51547 .) # No --srcdir option. We are building in place.
51548 ac_srcdir=.
51549 if test -z "$ac_top_builddir"; then
51550 ac_top_srcdir=.
51551 else
51552 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51553 fi ;;
51554 [\\/]* | ?:[\\/]* ) # Absolute path.
51555 ac_srcdir=$srcdir$ac_dir_suffix;
51556 ac_top_srcdir=$srcdir ;;
51557 *) # Relative path.
51558 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51559 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51560 esac
51561
51562 # Do not use `cd foo && pwd` to compute absolute paths, because
51563 # the directories may not exist.
51564 case `pwd` in
51565 .) ac_abs_builddir="$ac_dir";;
51566 *)
51567 case "$ac_dir" in
51568 .) ac_abs_builddir=`pwd`;;
51569 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51570 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51571 esac;;
51572 esac
51573 case $ac_abs_builddir in
51574 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51575 *)
51576 case ${ac_top_builddir}. in
51577 .) ac_abs_top_builddir=$ac_abs_builddir;;
51578 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51579 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51580 esac;;
51581 esac
51582 case $ac_abs_builddir in
51583 .) ac_abs_srcdir=$ac_srcdir;;
51584 *)
51585 case $ac_srcdir in
51586 .) ac_abs_srcdir=$ac_abs_builddir;;
51587 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51588 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51589 esac;;
51590 esac
51591 case $ac_abs_builddir in
51592 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51593 *)
51594 case $ac_top_srcdir in
51595 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51596 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51597 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51598 esac;;
51599 esac
51600
51601
51602 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51603 echo "$as_me: executing $ac_dest commands" >&6;}
51604 case $ac_dest in
51605 rcdefs.h )
51606 mkdir -p $outdir &&
51607 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51608 ;;
51609 wx-config ) rm -f wx-config
51610 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51611 ;;
51612 esac
51613 done
51614 _ACEOF
51615
51616 cat >>$CONFIG_STATUS <<\_ACEOF
51617
51618 { (exit 0); exit 0; }
51619 _ACEOF
51620 chmod +x $CONFIG_STATUS
51621 ac_clean_files=$ac_clean_files_save
51622
51623
51624 # configure is writing to config.log, and then calls config.status.
51625 # config.status does its own redirection, appending to config.log.
51626 # Unfortunately, on DOS this fails, as config.log is still kept open
51627 # by configure, so config.status won't be able to write to it; its
51628 # output is simply discarded. So we exec the FD to /dev/null,
51629 # effectively closing config.log, so it can be properly (re)opened and
51630 # appended to by config.status. When coming back to configure, we
51631 # need to make the FD available again.
51632 if test "$no_create" != yes; then
51633 ac_cs_success=:
51634 ac_config_status_args=
51635 test "$silent" = yes &&
51636 ac_config_status_args="$ac_config_status_args --quiet"
51637 exec 5>/dev/null
51638 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51639 exec 5>>config.log
51640 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51641 # would make configure fail if this is the last instruction.
51642 $ac_cs_success || { (exit 1); exit 1; }
51643 fi
51644
51645 #
51646 # CONFIG_SUBDIRS section.
51647 #
51648 if test "$no_recursion" != yes; then
51649
51650 # Remove --cache-file and --srcdir arguments so they do not pile up.
51651 ac_sub_configure_args=
51652 ac_prev=
51653 for ac_arg in $ac_configure_args; do
51654 if test -n "$ac_prev"; then
51655 ac_prev=
51656 continue
51657 fi
51658 case $ac_arg in
51659 -cache-file | --cache-file | --cache-fil | --cache-fi \
51660 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51661 ac_prev=cache_file ;;
51662 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51663 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51664 | --c=*)
51665 ;;
51666 --config-cache | -C)
51667 ;;
51668 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51669 ac_prev=srcdir ;;
51670 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51671 ;;
51672 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51673 ac_prev=prefix ;;
51674 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51675 ;;
51676 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51677 esac
51678 done
51679
51680 # Always prepend --prefix to ensure using the same prefix
51681 # in subdir configurations.
51682 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51683
51684 ac_popdir=`pwd`
51685 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51686
51687 # Do not complain, so a configure script can configure whichever
51688 # parts of a large source tree are present.
51689 test -d $srcdir/$ac_dir || continue
51690
51691 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51692 echo "$as_me: configuring in $ac_dir" >&6;}
51693 { if $as_mkdir_p; then
51694 mkdir -p "$ac_dir"
51695 else
51696 as_dir="$ac_dir"
51697 as_dirs=
51698 while test ! -d "$as_dir"; do
51699 as_dirs="$as_dir $as_dirs"
51700 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51701 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51702 X"$as_dir" : 'X\(//\)[^/]' \| \
51703 X"$as_dir" : 'X\(//\)$' \| \
51704 X"$as_dir" : 'X\(/\)' \| \
51705 . : '\(.\)' 2>/dev/null ||
51706 echo X"$as_dir" |
51707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51708 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51709 /^X\(\/\/\)$/{ s//\1/; q; }
51710 /^X\(\/\).*/{ s//\1/; q; }
51711 s/.*/./; q'`
51712 done
51713 test ! -n "$as_dirs" || mkdir $as_dirs
51714 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51715 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51716 { (exit 1); exit 1; }; }; }
51717
51718 ac_builddir=.
51719
51720 if test "$ac_dir" != .; then
51721 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51722 # A "../" for each directory in $ac_dir_suffix.
51723 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51724 else
51725 ac_dir_suffix= ac_top_builddir=
51726 fi
51727
51728 case $srcdir in
51729 .) # No --srcdir option. We are building in place.
51730 ac_srcdir=.
51731 if test -z "$ac_top_builddir"; then
51732 ac_top_srcdir=.
51733 else
51734 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51735 fi ;;
51736 [\\/]* | ?:[\\/]* ) # Absolute path.
51737 ac_srcdir=$srcdir$ac_dir_suffix;
51738 ac_top_srcdir=$srcdir ;;
51739 *) # Relative path.
51740 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51741 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51742 esac
51743
51744 # Do not use `cd foo && pwd` to compute absolute paths, because
51745 # the directories may not exist.
51746 case `pwd` in
51747 .) ac_abs_builddir="$ac_dir";;
51748 *)
51749 case "$ac_dir" in
51750 .) ac_abs_builddir=`pwd`;;
51751 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51752 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51753 esac;;
51754 esac
51755 case $ac_abs_builddir in
51756 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51757 *)
51758 case ${ac_top_builddir}. in
51759 .) ac_abs_top_builddir=$ac_abs_builddir;;
51760 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51761 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51762 esac;;
51763 esac
51764 case $ac_abs_builddir in
51765 .) ac_abs_srcdir=$ac_srcdir;;
51766 *)
51767 case $ac_srcdir in
51768 .) ac_abs_srcdir=$ac_abs_builddir;;
51769 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51770 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51771 esac;;
51772 esac
51773 case $ac_abs_builddir in
51774 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51775 *)
51776 case $ac_top_srcdir in
51777 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51778 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51779 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51780 esac;;
51781 esac
51782
51783
51784 cd $ac_dir
51785
51786 # Check for guested configure; otherwise get Cygnus style configure.
51787 if test -f $ac_srcdir/configure.gnu; then
51788 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51789 elif test -f $ac_srcdir/configure; then
51790 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51791 elif test -f $ac_srcdir/configure.in; then
51792 ac_sub_configure=$ac_configure
51793 else
51794 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51795 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51796 ac_sub_configure=
51797 fi
51798
51799 # The recursion is here.
51800 if test -n "$ac_sub_configure"; then
51801 # Make the cache file name correct relative to the subdirectory.
51802 case $cache_file in
51803 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51804 *) # Relative path.
51805 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
51806 esac
51807
51808 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51809 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51810 # The eval makes quoting arguments work.
51811 eval $ac_sub_configure $ac_sub_configure_args \
51812 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51813 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51814 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51815 { (exit 1); exit 1; }; }
51816 fi
51817
51818 cd $ac_popdir
51819 done
51820 fi
51821
51822
51823 echo
51824 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51825 echo ""
51826 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51827 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51828
51829 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51830 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51831 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51832
51833 echo " What level of wxWidgets compatibility should be enabled?"
51834 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51835 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51836
51837 echo " Which libraries should wxWidgets use?"
51838 echo " jpeg ${wxUSE_LIBJPEG-none}"
51839 echo " png ${wxUSE_LIBPNG-none}"
51840 echo " regex ${wxUSE_REGEX}"
51841 echo " tiff ${wxUSE_LIBTIFF-none}"
51842 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51843 echo " xpm ${wxUSE_LIBXPM-none}"
51844 fi
51845 echo " zlib ${wxUSE_ZLIB}"
51846 echo " odbc ${wxUSE_ODBC}"
51847 echo " expat ${wxUSE_EXPAT}"
51848 echo " libmspack ${wxUSE_LIBMSPACK}"
51849 echo " sdl ${wxUSE_LIBSDL}"
51850
51851 echo ""
51852