]> git.saurik.com Git - wxWidgets.git/blob - configure
reorganized VK to WXK translation code to use a table instead of huge switch statemen...
[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 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_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_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_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
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.7.0:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
893 --enable-compat24 enable wxWidgets 2.4 compatibility
894 --disable-compat26 disable wxWidgets 2.6 compatibility
895 --disable-rpath disable use of rpath for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig (and derived) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP (requires wxProtocol
900 --enable-http use wxHTTP (requires wxProtocol
901 --enable-fileproto use wxFileProto class (requires wxProtocol
902 --enable-sockets use socket/network classes
903 --enable-ole use OLE classes (Win32 only)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication (wxSocket etc.)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class for getting backtraces
909 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class for DLL loading
915 --enable-dynamicloader use (new) wxDynamicLibrary class
916 --enable-exceptions build exception-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C++ stream classes
930 --enable-std_string use standard C++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
942 --enable-wxprintfv use wxWidgets implementation of vprintf()
943 --enable-zipstream use wxZip streams
944 --enable-url use wxURL class
945 --enable-protocol use wxProtocol class
946 --enable-protocol-http HTTP support in wxProtocol
947 --enable-protocol-ftp FTP support in wxProtocol
948 --enable-protocol-file FILE support in wxProtocol
949 --enable-threads use threads
950 --enable-docview use document view architecture
951 --enable-help use help subsystem
952 --enable-mshtmlhelp use MS HTML Help (win32)
953 --enable-html use wxHTML sub-library
954 --enable-htmlhelp use wxHTML-based help
955 --enable-xrc use XRC resources sub-library
956 --enable-aui use AUI docking library
957 --enable-constraints use layout-constraints system
958 --enable-printarch use printing architecture
959 --enable-mdi use multiple document interface architecture
960 --enable-mdidoc use docview architecture with MDI
961 --enable-loggui use standard GUI logger
962 --enable-logwin use wxLogWindow
963 --enable-logdialog use wxLogDialog
964 --enable-webkit use wxWebKitCtrl (Mac)
965 --enable-richtext use wxRichTextCtrl
966 --enable-postscript use wxPostscriptDC device context (default for gtk+)
967 --enable-prologio not available; see contrib
968 --enable-resources not available; see contrib
969 --enable-clipboard use wxClipboard class
970 --enable-dnd use Drag'n'Drop classes
971 --enable-metafile use win32 metafiles
972 --enable-controls use all usual controls
973 --enable-accel use accelerators
974 --enable-button use wxButton class
975 --enable-bmpbutton use wxBitmapButton class
976 --enable-calendar use wxCalendarCtrl class
977 --enable-caret use wxCaret class
978 --enable-checkbox use wxCheckBox class
979 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
980 --enable-choice use wxChoice class
981 --enable-choicebook use wxChoicebook class
982 --enable-colourpicker use wxColourPickerCtrl class
983 --enable-combobox use wxComboBox class
984 --enable-comboctrl use wxComboCtrl class
985 --enable-datepick use wxDatePickerCtrl class
986 --enable-dirpicker use wxDirPickerCtrl class
987 --enable-display use wxDisplay class
988 --enable-filepicker use wxFilePickerCtrl class
989 --enable-fontpicker use wxFontPickerCtrl class
990 --enable-gauge use wxGauge class
991 --enable-grid use wxGrid class
992 --enable-dataviewctrl, use wxDataViewCtrl class
993 --enable-hyperlink use wxHyperlinkCtrl class
994 --enable-imaglist use wxImageList class
995 --enable-listbook use wxListbook class
996 --enable-listbox use wxListBox class
997 --enable-listctrl use wxListCtrl class
998 --enable-notebook use wxNotebook class
999 --enable-odcombobox use wxOwnerDrawnComboBox class
1000 --enable-radiobox use wxRadioBox class
1001 --enable-radiobtn use wxRadioButton class
1002 --enable-sash use wxSashWindow class
1003 --enable-scrollbar use wxScrollBar class and scrollable windows
1004 --enable-slider use wxSlider class
1005 --enable-spinbtn use wxSpinButton class
1006 --enable-spinctrl use wxSpinCtrl class
1007 --enable-splitter use wxSplitterWindow class
1008 --enable-statbmp use wxStaticBitmap class
1009 --enable-statbox use wxStaticBox class
1010 --enable-statline use wxStaticLine class
1011 --enable-stattext use wxStaticText class
1012 --enable-statusbar use wxStatusBar class
1013 --enable-tabdialog use wxTabControl class
1014 --enable-textctrl use wxTextCtrl class
1015 --enable-togglebtn use wxToggleButton class
1016 --enable-toolbar use wxToolBar class
1017 --enable-tbarnative use native wxToolBar class
1018 --enable-tbarsmpl use wxToolBarSimple class
1019 --enable-treebook use wxTreebook class
1020 --enable-toolbook use wxToolbook class
1021 --enable-treectrl use wxTreeCtrl class
1022 --enable-tipwindow use wxTipWindow class
1023 --enable-popupwin use wxPopUpWindow class
1024 --enable-commondlg use all common dialogs
1025 --enable-choicedlg use wxChoiceDialog
1026 --enable-coldlg use wxColourDialog
1027 --enable-filedlg use wxFileDialog
1028 --enable-finddlg use wxFindReplaceDialog
1029 --enable-fontdlg use wxFontDialog
1030 --enable-dirdlg use wxDirDialog
1031 --enable-msgdlg use wxMessageDialog
1032 --enable-numberdlg use wxNumberEntryDialog
1033 --enable-splash use wxSplashScreen
1034 --enable-textdlg use wxTextDialog
1035 --enable-tipdlg use startup tips
1036 --enable-progressdlg use wxProgressDialog
1037 --enable-wizarddlg use wxWizard
1038 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1039 --enable-miniframe use wxMiniFrame class
1040 --enable-tooltips use wxToolTip class
1041 --enable-splines use spline drawing code
1042 --enable-mousewheel use mousewheel
1043 --enable-validators use wxValidator and derived classes
1044 --enable-busyinfo use wxBusyInfo
1045 --enable-joystick use wxJoystick
1046 --enable-metafiles use wxMetaFile (Win32 only)
1047 --enable-dragimage use wxDragImage
1048 --enable-accessibility enable accessibility support
1049 --enable-dccache cache temporary wxDC objects (Win32 only)
1050 --enable-palette use wxPalette class
1051 --enable-image use wxImage class
1052 --enable-gif use gif images (GIF file format)
1053 --enable-pcx use pcx images (PCX file format)
1054 --enable-iff use iff images (IFF file format)
1055 --enable-pnm use pnm images (PNM file format)
1056 --enable-xpm use xpm images (XPM file format)
1057 --enable-icocur use Windows ICO and CUR formats
1058 --enable-official_build official build of wxWidgets (win32 DLL only)
1059 --enable-vendor=VENDOR vendor name (win32 DLL only)
1060 --disable-largefile omit support for large files
1061 --disable-gtktest do not try to compile and run a test GTK+ program
1062 --disable-gtktest Do not try to compile and run a test GTK program
1063 --disable-sdltest Do not try to compile and run a test SDL program
1064 --enable-omf use OMF object format (OS/2)
1065 --disable-dependency-tracking
1066 don't use dependency tracking even if the compiler
1067 can
1068 --disable-precomp-headers
1069 don't use precompiled headers even if compiler can
1070
1071 Optional Packages:
1072 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1073 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1074 --without-subdirs don't generate makefiles for samples/demos/...
1075 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1076 --with-motif use Motif/Lesstif
1077 --with-mac use Mac OS X
1078 --with-cocoa use Cocoa
1079 --with-wine use Wine
1080 --with-msw use MS-Windows
1081 --with-pm use OS/2 Presentation Manager
1082 --with-mgl use SciTech MGL
1083 --with-microwin use MicroWindows
1084 --with-x11 use X11
1085 --with-libpng use libpng (PNG image format)
1086 --with-libjpeg use libjpeg (JPEG file format)
1087 --with-libtiff use libtiff (TIFF file format)
1088 --with-libxpm use libxpm (XPM file format)
1089 --with-libmspack use libmspack (CHM help files loading)
1090 --with-sdl use SDL for audio on Unix
1091 --with-gnomeprint use GNOME print for printing under GNOME
1092 --with-gnomevfs use GNOME VFS for associating MIME types
1093 --with-hildon use Hildon framework for Nokia 770
1094 --with-opengl use OpenGL (or Mesa)
1095 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1096 --with-regex enable support for wxRegEx class
1097 --with-zlib use zlib for LZW compression
1098 --with-odbc use the IODBC and wxODBC classes
1099 --with-expat enable XML support using expat parser
1100 --with-flavour=NAME specify a name to identify this build
1101 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1102 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1103 --with-x use the X Window System
1104 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1105 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1106 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1107 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1108 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1109
1110 Some influential environment variables:
1111 CC C compiler command
1112 CFLAGS C compiler flags
1113 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1114 nonstandard directory <lib dir>
1115 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1116 headers in a nonstandard directory <include dir>
1117 CPP C preprocessor
1118 CXX C++ compiler command
1119 CXXFLAGS C++ compiler flags
1120 CXXCPP C++ preprocessor
1121
1122 Use these variables to override the choices made by `configure' or to help
1123 it to find libraries and programs with nonstandard names/locations.
1124
1125 Report bugs to <wx-dev@lists.wxwidgets.org>.
1126 _ACEOF
1127 fi
1128
1129 if test "$ac_init_help" = "recursive"; then
1130 # If there are subdirs, report their specific --help.
1131 ac_popdir=`pwd`
1132 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1133 test -d $ac_dir || continue
1134 ac_builddir=.
1135
1136 if test "$ac_dir" != .; then
1137 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1138 # A "../" for each directory in $ac_dir_suffix.
1139 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1140 else
1141 ac_dir_suffix= ac_top_builddir=
1142 fi
1143
1144 case $srcdir in
1145 .) # No --srcdir option. We are building in place.
1146 ac_srcdir=.
1147 if test -z "$ac_top_builddir"; then
1148 ac_top_srcdir=.
1149 else
1150 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1151 fi ;;
1152 [\\/]* | ?:[\\/]* ) # Absolute path.
1153 ac_srcdir=$srcdir$ac_dir_suffix;
1154 ac_top_srcdir=$srcdir ;;
1155 *) # Relative path.
1156 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1157 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1158 esac
1159
1160 # Do not use `cd foo && pwd` to compute absolute paths, because
1161 # the directories may not exist.
1162 case `pwd` in
1163 .) ac_abs_builddir="$ac_dir";;
1164 *)
1165 case "$ac_dir" in
1166 .) ac_abs_builddir=`pwd`;;
1167 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1168 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1169 esac;;
1170 esac
1171 case $ac_abs_builddir in
1172 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1173 *)
1174 case ${ac_top_builddir}. in
1175 .) ac_abs_top_builddir=$ac_abs_builddir;;
1176 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1177 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1178 esac;;
1179 esac
1180 case $ac_abs_builddir in
1181 .) ac_abs_srcdir=$ac_srcdir;;
1182 *)
1183 case $ac_srcdir in
1184 .) ac_abs_srcdir=$ac_abs_builddir;;
1185 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1186 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1187 esac;;
1188 esac
1189 case $ac_abs_builddir in
1190 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1191 *)
1192 case $ac_top_srcdir in
1193 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1194 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1195 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1196 esac;;
1197 esac
1198
1199 cd $ac_dir
1200 # Check for guested configure; otherwise get Cygnus style configure.
1201 if test -f $ac_srcdir/configure.gnu; then
1202 echo
1203 $SHELL $ac_srcdir/configure.gnu --help=recursive
1204 elif test -f $ac_srcdir/configure; then
1205 echo
1206 $SHELL $ac_srcdir/configure --help=recursive
1207 elif test -f $ac_srcdir/configure.ac ||
1208 test -f $ac_srcdir/configure.in; then
1209 echo
1210 $ac_configure --help
1211 else
1212 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1213 fi
1214 cd $ac_popdir
1215 done
1216 fi
1217
1218 test -n "$ac_init_help" && exit 0
1219 if $ac_init_version; then
1220 cat <<\_ACEOF
1221 wxWidgets configure 2.7.0
1222 generated by GNU Autoconf 2.59
1223
1224 Copyright (C) 2003 Free Software Foundation, Inc.
1225 This configure script is free software; the Free Software Foundation
1226 gives unlimited permission to copy, distribute and modify it.
1227 _ACEOF
1228 exit 0
1229 fi
1230 exec 5>config.log
1231 cat >&5 <<_ACEOF
1232 This file contains any messages produced by compilers while
1233 running configure, to aid debugging if configure makes a mistake.
1234
1235 It was created by wxWidgets $as_me 2.7.0, which was
1236 generated by GNU Autoconf 2.59. Invocation command line was
1237
1238 $ $0 $@
1239
1240 _ACEOF
1241 {
1242 cat <<_ASUNAME
1243 ## --------- ##
1244 ## Platform. ##
1245 ## --------- ##
1246
1247 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1248 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1249 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1250 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1251 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1252
1253 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1254 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1255
1256 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1257 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1258 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1259 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1260 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1261 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1262 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1263
1264 _ASUNAME
1265
1266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1267 for as_dir in $PATH
1268 do
1269 IFS=$as_save_IFS
1270 test -z "$as_dir" && as_dir=.
1271 echo "PATH: $as_dir"
1272 done
1273
1274 } >&5
1275
1276 cat >&5 <<_ACEOF
1277
1278
1279 ## ----------- ##
1280 ## Core tests. ##
1281 ## ----------- ##
1282
1283 _ACEOF
1284
1285
1286 # Keep a trace of the command line.
1287 # Strip out --no-create and --no-recursion so they do not pile up.
1288 # Strip out --silent because we don't want to record it for future runs.
1289 # Also quote any args containing shell meta-characters.
1290 # Make two passes to allow for proper duplicate-argument suppression.
1291 ac_configure_args=
1292 ac_configure_args0=
1293 ac_configure_args1=
1294 ac_sep=
1295 ac_must_keep_next=false
1296 for ac_pass in 1 2
1297 do
1298 for ac_arg
1299 do
1300 case $ac_arg in
1301 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1303 | -silent | --silent | --silen | --sile | --sil)
1304 continue ;;
1305 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1306 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1307 esac
1308 case $ac_pass in
1309 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1310 2)
1311 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1312 if test $ac_must_keep_next = true; then
1313 ac_must_keep_next=false # Got value, back to normal.
1314 else
1315 case $ac_arg in
1316 *=* | --config-cache | -C | -disable-* | --disable-* \
1317 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1318 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1319 | -with-* | --with-* | -without-* | --without-* | --x)
1320 case "$ac_configure_args0 " in
1321 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1322 esac
1323 ;;
1324 -* ) ac_must_keep_next=true ;;
1325 esac
1326 fi
1327 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1328 # Get rid of the leading space.
1329 ac_sep=" "
1330 ;;
1331 esac
1332 done
1333 done
1334 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1335 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1336
1337 # When interrupted or exit'd, cleanup temporary files, and complete
1338 # config.log. We remove comments because anyway the quotes in there
1339 # would cause problems or look ugly.
1340 # WARNING: Be sure not to use single quotes in there, as some shells,
1341 # such as our DU 5.0 friend, will then `close' the trap.
1342 trap 'exit_status=$?
1343 # Save into config.log some information that might help in debugging.
1344 {
1345 echo
1346
1347 cat <<\_ASBOX
1348 ## ---------------- ##
1349 ## Cache variables. ##
1350 ## ---------------- ##
1351 _ASBOX
1352 echo
1353 # The following way of writing the cache mishandles newlines in values,
1354 {
1355 (set) 2>&1 |
1356 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1357 *ac_space=\ *)
1358 sed -n \
1359 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1361 ;;
1362 *)
1363 sed -n \
1364 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1365 ;;
1366 esac;
1367 }
1368 echo
1369
1370 cat <<\_ASBOX
1371 ## ----------------- ##
1372 ## Output variables. ##
1373 ## ----------------- ##
1374 _ASBOX
1375 echo
1376 for ac_var in $ac_subst_vars
1377 do
1378 eval ac_val=$`echo $ac_var`
1379 echo "$ac_var='"'"'$ac_val'"'"'"
1380 done | sort
1381 echo
1382
1383 if test -n "$ac_subst_files"; then
1384 cat <<\_ASBOX
1385 ## ------------- ##
1386 ## Output files. ##
1387 ## ------------- ##
1388 _ASBOX
1389 echo
1390 for ac_var in $ac_subst_files
1391 do
1392 eval ac_val=$`echo $ac_var`
1393 echo "$ac_var='"'"'$ac_val'"'"'"
1394 done | sort
1395 echo
1396 fi
1397
1398 if test -s confdefs.h; then
1399 cat <<\_ASBOX
1400 ## ----------- ##
1401 ## confdefs.h. ##
1402 ## ----------- ##
1403 _ASBOX
1404 echo
1405 sed "/^$/d" confdefs.h | sort
1406 echo
1407 fi
1408 test "$ac_signal" != 0 &&
1409 echo "$as_me: caught signal $ac_signal"
1410 echo "$as_me: exit $exit_status"
1411 } >&5
1412 rm -f core *.core &&
1413 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1414 exit $exit_status
1415 ' 0
1416 for ac_signal in 1 2 13 15; do
1417 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1418 done
1419 ac_signal=0
1420
1421 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1422 rm -rf conftest* confdefs.h
1423 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1424 echo >confdefs.h
1425
1426 # Predefined preprocessor variables.
1427
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_NAME "$PACKAGE_NAME"
1430 _ACEOF
1431
1432
1433 cat >>confdefs.h <<_ACEOF
1434 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1435 _ACEOF
1436
1437
1438 cat >>confdefs.h <<_ACEOF
1439 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1440 _ACEOF
1441
1442
1443 cat >>confdefs.h <<_ACEOF
1444 #define PACKAGE_STRING "$PACKAGE_STRING"
1445 _ACEOF
1446
1447
1448 cat >>confdefs.h <<_ACEOF
1449 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1450 _ACEOF
1451
1452
1453 # Let the site file select an alternate cache file if it wants to.
1454 # Prefer explicitly selected file to automatically selected ones.
1455 if test -z "$CONFIG_SITE"; then
1456 if test "x$prefix" != xNONE; then
1457 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1458 else
1459 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1460 fi
1461 fi
1462 for ac_site_file in $CONFIG_SITE; do
1463 if test -r "$ac_site_file"; then
1464 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1465 echo "$as_me: loading site script $ac_site_file" >&6;}
1466 sed 's/^/| /' "$ac_site_file" >&5
1467 . "$ac_site_file"
1468 fi
1469 done
1470
1471 if test -r "$cache_file"; then
1472 # Some versions of bash will fail to source /dev/null (special
1473 # files actually), so we avoid doing that.
1474 if test -f "$cache_file"; then
1475 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1476 echo "$as_me: loading cache $cache_file" >&6;}
1477 case $cache_file in
1478 [\\/]* | ?:[\\/]* ) . $cache_file;;
1479 *) . ./$cache_file;;
1480 esac
1481 fi
1482 else
1483 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1484 echo "$as_me: creating cache $cache_file" >&6;}
1485 >$cache_file
1486 fi
1487
1488 # Check that the precious variables saved in the cache have kept the same
1489 # value.
1490 ac_cache_corrupted=false
1491 for ac_var in `(set) 2>&1 |
1492 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1493 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1494 eval ac_new_set=\$ac_env_${ac_var}_set
1495 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1496 eval ac_new_val="\$ac_env_${ac_var}_value"
1497 case $ac_old_set,$ac_new_set in
1498 set,)
1499 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1500 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1501 ac_cache_corrupted=: ;;
1502 ,set)
1503 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1504 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1505 ac_cache_corrupted=: ;;
1506 ,);;
1507 *)
1508 if test "x$ac_old_val" != "x$ac_new_val"; then
1509 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1510 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1511 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1512 echo "$as_me: former value: $ac_old_val" >&2;}
1513 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1514 echo "$as_me: current value: $ac_new_val" >&2;}
1515 ac_cache_corrupted=:
1516 fi;;
1517 esac
1518 # Pass precious variables to config.status.
1519 if test "$ac_new_set" = set; then
1520 case $ac_new_val in
1521 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1522 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1523 *) ac_arg=$ac_var=$ac_new_val ;;
1524 esac
1525 case " $ac_configure_args " in
1526 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1527 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1528 esac
1529 fi
1530 done
1531 if $ac_cache_corrupted; then
1532 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1533 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1534 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1535 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1536 { (exit 1); exit 1; }; }
1537 fi
1538
1539 ac_ext=c
1540 ac_cpp='$CPP $CPPFLAGS'
1541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574 ac_aux_dir=
1575 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1576 if test -f $ac_dir/install-sh; then
1577 ac_aux_dir=$ac_dir
1578 ac_install_sh="$ac_aux_dir/install-sh -c"
1579 break
1580 elif test -f $ac_dir/install.sh; then
1581 ac_aux_dir=$ac_dir
1582 ac_install_sh="$ac_aux_dir/install.sh -c"
1583 break
1584 elif test -f $ac_dir/shtool; then
1585 ac_aux_dir=$ac_dir
1586 ac_install_sh="$ac_aux_dir/shtool install -c"
1587 break
1588 fi
1589 done
1590 if test -z "$ac_aux_dir"; then
1591 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1592 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1593 { (exit 1); exit 1; }; }
1594 fi
1595 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1596 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1597 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1598
1599 # Make sure we can run config.sub.
1600 $ac_config_sub sun4 >/dev/null 2>&1 ||
1601 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1602 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1603 { (exit 1); exit 1; }; }
1604
1605 echo "$as_me:$LINENO: checking build system type" >&5
1606 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1607 if test "${ac_cv_build+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 else
1610 ac_cv_build_alias=$build_alias
1611 test -z "$ac_cv_build_alias" &&
1612 ac_cv_build_alias=`$ac_config_guess`
1613 test -z "$ac_cv_build_alias" &&
1614 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1615 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1616 { (exit 1); exit 1; }; }
1617 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1618 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1619 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1620 { (exit 1); exit 1; }; }
1621
1622 fi
1623 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1624 echo "${ECHO_T}$ac_cv_build" >&6
1625 build=$ac_cv_build
1626 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1627 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1628 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1629
1630
1631 echo "$as_me:$LINENO: checking host system type" >&5
1632 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1633 if test "${ac_cv_host+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 else
1636 ac_cv_host_alias=$host_alias
1637 test -z "$ac_cv_host_alias" &&
1638 ac_cv_host_alias=$ac_cv_build_alias
1639 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1640 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1641 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1642 { (exit 1); exit 1; }; }
1643
1644 fi
1645 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1646 echo "${ECHO_T}$ac_cv_host" >&6
1647 host=$ac_cv_host
1648 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1649 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1650 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1651
1652
1653 echo "$as_me:$LINENO: checking target system type" >&5
1654 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1655 if test "${ac_cv_target+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 else
1658 ac_cv_target_alias=$target_alias
1659 test "x$ac_cv_target_alias" = "x" &&
1660 ac_cv_target_alias=$ac_cv_host_alias
1661 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1662 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1663 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1664 { (exit 1); exit 1; }; }
1665
1666 fi
1667 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1668 echo "${ECHO_T}$ac_cv_target" >&6
1669 target=$ac_cv_target
1670 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1671 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1672 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1673
1674
1675 # The aliases save the names the user supplied, while $host etc.
1676 # will get canonicalized.
1677 test -n "$target_alias" &&
1678 test "$program_prefix$program_suffix$program_transform_name" = \
1679 NONENONEs,x,x, &&
1680 program_prefix=${target_alias}-
1681
1682
1683
1684 wx_major_version_number=2
1685 wx_minor_version_number=7
1686 wx_release_number=0
1687 wx_subrelease_number=0
1688
1689 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1690 WX_VERSION=$WX_RELEASE.$wx_release_number
1691 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1692
1693 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1694
1695
1696
1697
1698 USE_UNIX=1
1699 USE_OS2=0
1700 USE_WIN32=0
1701 USE_DOS=0
1702 USE_BEOS=0
1703 USE_MAC=0
1704
1705 USE_AIX=
1706 USE_BSD= USE_DARWIN= USE_FREEBSD=
1707 USE_GNU= USE_HPUX=
1708 USE_LINUX=
1709 USE_NETBSD=
1710 USE_OPENBSD=
1711 USE_OSF= USE_SGI=
1712 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1713 USE_ULTRIX=
1714 USE_UNIXWARE=
1715
1716 USE_ALPHA=
1717
1718 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1719
1720 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1721
1722 DEFAULT_wxUSE_COCOA=0
1723 DEFAULT_wxUSE_GTK=0
1724 DEFAULT_wxUSE_MAC=0
1725 DEFAULT_wxUSE_MGL=0
1726 DEFAULT_wxUSE_MICROWIN=0
1727 DEFAULT_wxUSE_MOTIF=0
1728 DEFAULT_wxUSE_MSW=0
1729 DEFAULT_wxUSE_PM=0
1730 DEFAULT_wxUSE_X11=0
1731
1732 DEFAULT_DEFAULT_wxUSE_COCOA=0
1733 DEFAULT_DEFAULT_wxUSE_GTK=0
1734 DEFAULT_DEFAULT_wxUSE_MAC=0
1735 DEFAULT_DEFAULT_wxUSE_MGL=0
1736 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1737 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1738 DEFAULT_DEFAULT_wxUSE_MSW=0
1739 DEFAULT_DEFAULT_wxUSE_PM=0
1740 DEFAULT_DEFAULT_wxUSE_X11=0
1741
1742 PROGRAM_EXT=
1743 SO_SUFFIX=so
1744 SAMPLES_RPATH_FLAG=
1745 SAMPLES_RPATH_POSTLINK=
1746
1747 DEFAULT_STD_FLAG=yes
1748
1749 case "${host}" in
1750 *-hp-hpux* )
1751 USE_HPUX=1
1752 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1753 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1754 SO_SUFFIX=sl
1755 cat >>confdefs.h <<\_ACEOF
1756 #define __HPUX__ 1
1757 _ACEOF
1758
1759
1760 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1761 ;;
1762 *-*-linux* )
1763 USE_LINUX=1
1764 cat >>confdefs.h <<\_ACEOF
1765 #define __LINUX__ 1
1766 _ACEOF
1767
1768 TMP=`uname -m`
1769 if test "x$TMP" = "xalpha"; then
1770 USE_ALPHA=1
1771 cat >>confdefs.h <<\_ACEOF
1772 #define __ALPHA__ 1
1773 _ACEOF
1774
1775 fi
1776 DEFAULT_DEFAULT_wxUSE_GTK=1
1777 ;;
1778 *-*-gnu* | *-*-k*bsd*-gnu )
1779 USE_GNU=1
1780 TMP=`uname -m`
1781 if test "x$TMP" = "xalpha"; then
1782 USE_ALPHA=1
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __ALPHA__ 1
1785 _ACEOF
1786
1787 fi
1788 DEFAULT_DEFAULT_wxUSE_GTK=1
1789 ;;
1790 *-*-irix5* | *-*-irix6* )
1791 USE_SGI=1
1792 USE_SVR4=1
1793 cat >>confdefs.h <<\_ACEOF
1794 #define __SGI__ 1
1795 _ACEOF
1796
1797 cat >>confdefs.h <<\_ACEOF
1798 #define __SVR4__ 1
1799 _ACEOF
1800
1801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1802 ;;
1803 *-*-solaris2* )
1804 USE_SUN=1
1805 USE_SOLARIS=1
1806 USE_SVR4=1
1807 cat >>confdefs.h <<\_ACEOF
1808 #define __SUN__ 1
1809 _ACEOF
1810
1811 cat >>confdefs.h <<\_ACEOF
1812 #define __SOLARIS__ 1
1813 _ACEOF
1814
1815 cat >>confdefs.h <<\_ACEOF
1816 #define __SVR4__ 1
1817 _ACEOF
1818
1819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1821 ;;
1822 *-*-sunos4* )
1823 USE_SUN=1
1824 USE_SUNOS=1
1825 USE_BSD=1
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __SUN__ 1
1828 _ACEOF
1829
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __SUNOS__ 1
1832 _ACEOF
1833
1834 cat >>confdefs.h <<\_ACEOF
1835 #define __BSD__ 1
1836 _ACEOF
1837
1838 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1839 ;;
1840 *-*-freebsd*)
1841 USE_BSD=1
1842 USE_FREEBSD=1
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __FREEBSD__ 1
1845 _ACEOF
1846
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __BSD__ 1
1849 _ACEOF
1850
1851 DEFAULT_DEFAULT_wxUSE_GTK=1
1852 ;;
1853 *-*-openbsd*)
1854 USE_BSD=1
1855 USE_OPENBSD=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __OPENBSD__ 1
1858 _ACEOF
1859
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __BSD__ 1
1862 _ACEOF
1863
1864 DEFAULT_DEFAULT_wxUSE_GTK=1
1865 ;;
1866 *-*-netbsd*)
1867 USE_BSD=1
1868 USE_NETBSD=1
1869 cat >>confdefs.h <<\_ACEOF
1870 #define __NETBSD__ 1
1871 _ACEOF
1872
1873 cat >>confdefs.h <<\_ACEOF
1874 #define __BSD__ 1
1875 _ACEOF
1876
1877 DEFAULT_DEFAULT_wxUSE_GTK=1
1878 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1879
1880 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1881 ;;
1882 *-*-osf* )
1883 USE_ALPHA=1
1884 USE_OSF=1
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __ALPHA__ 1
1887 _ACEOF
1888
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __OSF__ 1
1891 _ACEOF
1892
1893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1894 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1895 ;;
1896 *-*-dgux5* )
1897 USE_ALPHA=1
1898 USE_SVR4=1
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __ALPHA__ 1
1901 _ACEOF
1902
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __SVR4__ 1
1905 _ACEOF
1906
1907 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1908 ;;
1909 *-*-sysv5* )
1910 USE_SYSV=1
1911 USE_SVR4=1
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __SYSV__ 1
1914 _ACEOF
1915
1916 cat >>confdefs.h <<\_ACEOF
1917 #define __SVR4__ 1
1918 _ACEOF
1919
1920 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1921 ;;
1922 *-*-aix* )
1923 USE_AIX=1
1924 USE_SYSV=1
1925 USE_SVR4=1
1926 SO_SUFFIX=a
1927 cat >>confdefs.h <<\_ACEOF
1928 #define __AIX__ 1
1929 _ACEOF
1930
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SYSV__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SVR4__ 1
1937 _ACEOF
1938
1939 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1940 ;;
1941
1942 *-*-*UnixWare*)
1943 USE_SYSV=1
1944 USE_SVR4=1
1945 USE_UNIXWARE=1
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __UNIXWARE__ 1
1948 _ACEOF
1949
1950 ;;
1951
1952 *-*-cygwin* | *-*-mingw32* )
1953 SO_SUFFIX=dll
1954 PROGRAM_EXT=".exe"
1955 DEFAULT_DEFAULT_wxUSE_MSW=1
1956 DEFAULT_STD_FLAG=no
1957 ;;
1958
1959 *-pc-msdosdjgpp )
1960 USE_UNIX=0
1961 USE_DOS=1
1962 cat >>confdefs.h <<\_ACEOF
1963 #define __DOS__ 1
1964 _ACEOF
1965
1966 PROGRAM_EXT=".exe"
1967 DEFAULT_DEFAULT_wxUSE_MGL=1
1968 ;;
1969
1970 *-pc-os2_emx | *-pc-os2-emx )
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __EMX__ 1
1973 _ACEOF
1974
1975 USE_OS2=1
1976 cat >>confdefs.h <<\_ACEOF
1977 #define __OS2__ 1
1978 _ACEOF
1979
1980 PROGRAM_EXT=".exe"
1981 DEFAULT_DEFAULT_wxUSE_PM=1
1982 CXX=gcc
1983 LDFLAGS="$LDFLAGS -Zcrtdll"
1984 ac_executable_extensions=".exe"
1985 export ac_executable_extensions
1986 ac_save_IFS="$IFS"
1987 IFS='\\'
1988 ac_TEMP_PATH=
1989 for ac_dir in $PATH; do
1990 IFS=$ac_save_IFS
1991 if test -z "$ac_TEMP_PATH"; then
1992 ac_TEMP_PATH="$ac_dir"
1993 else
1994 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1995 fi
1996 done
1997 export PATH="$ac_TEMP_PATH"
1998 unset ac_TEMP_PATH
1999 DEFAULT_STD_FLAG=no
2000 ;;
2001
2002 *-*-darwin* )
2003 USE_BSD=1
2004 USE_DARWIN=1
2005 SO_SUFFIX=dylib
2006 cat >>confdefs.h <<\_ACEOF
2007 #define __BSD__ 1
2008 _ACEOF
2009
2010 cat >>confdefs.h <<\_ACEOF
2011 #define __DARWIN__ 1
2012 _ACEOF
2013
2014 cat >>confdefs.h <<\_ACEOF
2015 #define TARGET_CARBON 1
2016 _ACEOF
2017
2018 DEFAULT_DEFAULT_wxUSE_MAC=1
2019 DEFAULT_STD_FLAG=no
2020 ;;
2021 powerpc-apple-macos* )
2022 USE_UNIX=0
2023 ac_cv_c_bigendian=yes
2024 SO_SUFFIX=shlib
2025 DEFAULT_DEFAULT_wxUSE_MAC=1
2026 DEFAULT_STD_FLAG=no
2027 ;;
2028
2029 *-*-beos* )
2030 USE_BEOS=1
2031 cat >>confdefs.h <<\_ACEOF
2032 #define __BEOS__ 1
2033 _ACEOF
2034
2035 ;;
2036
2037 *)
2038 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2039 echo "$as_me: error: unknown system type ${host}." >&2;}
2040 { (exit 1); exit 1; }; }
2041 esac
2042
2043
2044
2045
2046 wx_arg_cache_file="configarg.cache"
2047 echo "loading argument cache $wx_arg_cache_file"
2048 rm -f ${wx_arg_cache_file}.tmp
2049 touch ${wx_arg_cache_file}.tmp
2050 touch ${wx_arg_cache_file}
2051
2052
2053 DEBUG_CONFIGURE=0
2054 if test $DEBUG_CONFIGURE = 1; then
2055 DEFAULT_wxUSE_UNIVERSAL=no
2056 DEFAULT_wxUSE_STL=no
2057
2058 DEFAULT_wxUSE_NANOX=no
2059
2060 DEFAULT_wxUSE_THREADS=yes
2061
2062 DEFAULT_wxUSE_SHARED=yes
2063 DEFAULT_wxUSE_OPTIMISE=no
2064 DEFAULT_wxUSE_PROFILE=no
2065 DEFAULT_wxUSE_NO_DEPS=no
2066 DEFAULT_wxUSE_NO_RTTI=no
2067 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2068 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2069 DEFAULT_wxUSE_RPATH=yes
2070 DEFAULT_wxUSE_PERMISSIVE=no
2071 DEFAULT_wxUSE_DEBUG_FLAG=yes
2072 DEFAULT_wxUSE_DEBUG_INFO=yes
2073 DEFAULT_wxUSE_DEBUG_GDB=yes
2074 DEFAULT_wxUSE_MEM_TRACING=no
2075 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2076 DEFAULT_wxUSE_DMALLOC=no
2077 DEFAULT_wxUSE_APPLE_IEEE=no
2078
2079 DEFAULT_wxUSE_EXCEPTIONS=no
2080 DEFAULT_wxUSE_LOG=yes
2081 DEFAULT_wxUSE_LOGWINDOW=no
2082 DEFAULT_wxUSE_LOGGUI=no
2083 DEFAULT_wxUSE_LOGDIALOG=no
2084
2085 DEFAULT_wxUSE_GUI=yes
2086 DEFAULT_wxUSE_CONTROLS=no
2087
2088 DEFAULT_wxUSE_REGEX=no
2089 DEFAULT_wxUSE_XML=no
2090 DEFAULT_wxUSE_EXPAT=no
2091 DEFAULT_wxUSE_ZLIB=no
2092 DEFAULT_wxUSE_LIBPNG=no
2093 DEFAULT_wxUSE_LIBJPEG=no
2094 DEFAULT_wxUSE_LIBTIFF=no
2095 DEFAULT_wxUSE_LIBXPM=no
2096 DEFAULT_wxUSE_LIBMSPACK=no
2097 DEFAULT_wxUSE_LIBSDL=no
2098 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2099 DEFAULT_wxUSE_LIBGNOMEVFS=no
2100 DEFAULT_wxUSE_LIBHILDON=no
2101 DEFAULT_wxUSE_ODBC=no
2102 DEFAULT_wxUSE_OPENGL=no
2103
2104 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2105 DEFAULT_wxUSE_STACKWALKER=no
2106 DEFAULT_wxUSE_DEBUGREPORT=no
2107 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2108 DEFAULT_wxUSE_STD_IOSTREAM=no
2109 DEFAULT_wxUSE_STD_STRING=no
2110 DEFAULT_wxUSE_CMDLINE_PARSER=no
2111 DEFAULT_wxUSE_DATETIME=no
2112 DEFAULT_wxUSE_TIMER=no
2113 DEFAULT_wxUSE_STOPWATCH=no
2114 DEFAULT_wxUSE_FILE=no
2115 DEFAULT_wxUSE_FFILE=no
2116 DEFAULT_wxUSE_STDPATHS=no
2117 DEFAULT_wxUSE_TEXTBUFFER=no
2118 DEFAULT_wxUSE_TEXTFILE=no
2119 DEFAULT_wxUSE_SOUND=no
2120 DEFAULT_wxUSE_MEDIACTRL=no
2121 DEFAULT_wxUSE_GSTREAMER8=no
2122 DEFAULT_wxUSE_INTL=no
2123 DEFAULT_wxUSE_CONFIG=no
2124 DEFAULT_wxUSE_FONTMAP=no
2125 DEFAULT_wxUSE_STREAMS=no
2126 DEFAULT_wxUSE_SOCKETS=no
2127 DEFAULT_wxUSE_OLE=no
2128 DEFAULT_wxUSE_DATAOBJ=no
2129 DEFAULT_wxUSE_DIALUP_MANAGER=no
2130 DEFAULT_wxUSE_JOYSTICK=no
2131 DEFAULT_wxUSE_DYNLIB_CLASS=no
2132 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2133 DEFAULT_wxUSE_LONGLONG=no
2134 DEFAULT_wxUSE_GEOMETRY=no
2135
2136 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2137 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2138 DEFAULT_wxUSE_POSTSCRIPT=no
2139
2140 DEFAULT_wxUSE_CLIPBOARD=no
2141 DEFAULT_wxUSE_TOOLTIPS=no
2142 DEFAULT_wxUSE_DRAG_AND_DROP=no
2143 DEFAULT_wxUSE_DRAGIMAGE=no
2144 DEFAULT_wxUSE_SPLINES=no
2145 DEFAULT_wxUSE_MOUSEWHEEL=no
2146
2147 DEFAULT_wxUSE_MDI=no
2148 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2149 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2150 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2151
2152 DEFAULT_wxUSE_RESOURCES=no
2153 DEFAULT_wxUSE_CONSTRAINTS=no
2154 DEFAULT_wxUSE_IPC=no
2155 DEFAULT_wxUSE_HELP=no
2156 DEFAULT_wxUSE_MS_HTML_HELP=no
2157 DEFAULT_wxUSE_WXHTML_HELP=no
2158 DEFAULT_wxUSE_TREELAYOUT=no
2159 DEFAULT_wxUSE_METAFILE=no
2160 DEFAULT_wxUSE_MIMETYPE=no
2161 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2162 DEFAULT_wxUSE_PROTOCOL=no
2163 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2164 DEFAULT_wxUSE_PROTOCOL_FTP=no
2165 DEFAULT_wxUSE_PROTOCOL_FILE=no
2166 DEFAULT_wxUSE_URL=no
2167
2168 DEFAULT_wxUSE_COMMONDLGS=no
2169 DEFAULT_wxUSE_CHOICEDLG=no
2170 DEFAULT_wxUSE_COLOURDLG=no
2171 DEFAULT_wxUSE_DIRDLG=no
2172 DEFAULT_wxUSE_FILEDLG=no
2173 DEFAULT_wxUSE_FINDREPLDLG=no
2174 DEFAULT_wxUSE_FONTDLG=no
2175 DEFAULT_wxUSE_MSGDLG=no
2176 DEFAULT_wxUSE_NUMBERDLG=no
2177 DEFAULT_wxUSE_TEXTDLG=no
2178 DEFAULT_wxUSE_SPLASH=no
2179 DEFAULT_wxUSE_STARTUP_TIPS=no
2180 DEFAULT_wxUSE_PROGRESSDLG=no
2181 DEFAULT_wxUSE_WIZARDDLG=no
2182
2183 DEFAULT_wxUSE_MENUS=no
2184 DEFAULT_wxUSE_MINIFRAME=no
2185 DEFAULT_wxUSE_HTML=no
2186 DEFAULT_wxUSE_RICHTEXT=no
2187 DEFAULT_wxUSE_XRC=no
2188 DEFAULT_wxUSE_AUI=no
2189 DEFAULT_wxUSE_WEBKIT=no
2190 DEFAULT_wxUSE_FILESYSTEM=no
2191 DEFAULT_wxUSE_FS_INET=no
2192 DEFAULT_wxUSE_FS_ZIP=no
2193 DEFAULT_wxUSE_BUSYINFO=no
2194 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2195 DEFAULT_wxUSE_ZIPSTREAM=no
2196 DEFAULT_wxUSE_VALIDATORS=no
2197
2198 DEFAULT_wxUSE_ACCEL=no
2199 DEFAULT_wxUSE_BUTTON=no
2200 DEFAULT_wxUSE_BMPBUTTON=no
2201 DEFAULT_wxUSE_CALCTRL=no
2202 DEFAULT_wxUSE_CARET=no
2203 DEFAULT_wxUSE_CHECKBOX=no
2204 DEFAULT_wxUSE_CHECKLST=no
2205 DEFAULT_wxUSE_CHOICE=no
2206 DEFAULT_wxUSE_CHOICEBOOK=no
2207 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2208 DEFAULT_wxUSE_COMBOBOX=no
2209 DEFAULT_wxUSE_COMBOCTRL=no
2210 DEFAULT_wxUSE_DATEPICKCTRL=no
2211 DEFAULT_wxUSE_DISPLAY=no
2212 DEFAULT_wxUSE_DIRPICKERCTRL=no
2213 DEFAULT_wxUSE_FILEPICKERCTRL=no
2214 DEFAULT_wxUSE_FONTPICKERCTRL=no
2215 DEFAULT_wxUSE_GAUGE=no
2216 DEFAULT_wxUSE_GRID=no
2217 DEFAULT_wxUSE_HYPERLINKCTRL=no
2218 DEFAULT_wxUSE_DATAVIEWCTRL=no
2219 DEFAULT_wxUSE_IMAGLIST=no
2220 DEFAULT_wxUSE_LISTBOOK=no
2221 DEFAULT_wxUSE_LISTBOX=no
2222 DEFAULT_wxUSE_LISTCTRL=no
2223 DEFAULT_wxUSE_NOTEBOOK=no
2224 DEFAULT_wxUSE_ODCOMBOBOX=no
2225 DEFAULT_wxUSE_RADIOBOX=no
2226 DEFAULT_wxUSE_RADIOBTN=no
2227 DEFAULT_wxUSE_SASH=no
2228 DEFAULT_wxUSE_SCROLLBAR=no
2229 DEFAULT_wxUSE_SLIDER=no
2230 DEFAULT_wxUSE_SPINBTN=no
2231 DEFAULT_wxUSE_SPINCTRL=no
2232 DEFAULT_wxUSE_SPLITTER=no
2233 DEFAULT_wxUSE_STATBMP=no
2234 DEFAULT_wxUSE_STATBOX=no
2235 DEFAULT_wxUSE_STATLINE=no
2236 DEFAULT_wxUSE_STATTEXT=no
2237 DEFAULT_wxUSE_STATUSBAR=yes
2238 DEFAULT_wxUSE_TAB_DIALOG=no
2239 DEFAULT_wxUSE_TEXTCTRL=no
2240 DEFAULT_wxUSE_TOGGLEBTN=no
2241 DEFAULT_wxUSE_TOOLBAR=no
2242 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2243 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2244 DEFAULT_wxUSE_TREEBOOK=no
2245 DEFAULT_wxUSE_TOOLBOOK=no
2246 DEFAULT_wxUSE_TREECTRL=no
2247 DEFAULT_wxUSE_POPUPWIN=no
2248 DEFAULT_wxUSE_TIPWINDOW=no
2249
2250 DEFAULT_wxUSE_UNICODE=no
2251 DEFAULT_wxUSE_UNICODE_MSLU=no
2252 DEFAULT_wxUSE_WCSRTOMBS=no
2253
2254 DEFAULT_wxUSE_PALETTE=no
2255 DEFAULT_wxUSE_IMAGE=no
2256 DEFAULT_wxUSE_GIF=no
2257 DEFAULT_wxUSE_PCX=no
2258 DEFAULT_wxUSE_PNM=no
2259 DEFAULT_wxUSE_IFF=no
2260 DEFAULT_wxUSE_XPM=no
2261 DEFAULT_wxUSE_ICO_CUR=no
2262 DEFAULT_wxUSE_ACCESSIBILITY=no
2263
2264 DEFAULT_wxUSE_MONOLITHIC=no
2265 DEFAULT_wxUSE_PLUGINS=no
2266 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2267 else
2268 DEFAULT_wxUSE_UNIVERSAL=no
2269 DEFAULT_wxUSE_STL=no
2270
2271 DEFAULT_wxUSE_NANOX=no
2272
2273 DEFAULT_wxUSE_THREADS=yes
2274
2275 DEFAULT_wxUSE_SHARED=yes
2276 DEFAULT_wxUSE_OPTIMISE=yes
2277 DEFAULT_wxUSE_PROFILE=no
2278 DEFAULT_wxUSE_NO_DEPS=no
2279 DEFAULT_wxUSE_NO_RTTI=no
2280 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2281 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2282 DEFAULT_wxUSE_RPATH=yes
2283 DEFAULT_wxUSE_PERMISSIVE=no
2284 DEFAULT_wxUSE_DEBUG_FLAG=no
2285 DEFAULT_wxUSE_DEBUG_INFO=no
2286 DEFAULT_wxUSE_DEBUG_GDB=no
2287 DEFAULT_wxUSE_MEM_TRACING=no
2288 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2289 DEFAULT_wxUSE_DMALLOC=no
2290 DEFAULT_wxUSE_APPLE_IEEE=yes
2291
2292 DEFAULT_wxUSE_EXCEPTIONS=yes
2293 DEFAULT_wxUSE_LOG=yes
2294 DEFAULT_wxUSE_LOGWINDOW=yes
2295 DEFAULT_wxUSE_LOGGUI=yes
2296 DEFAULT_wxUSE_LOGDIALOG=yes
2297
2298 DEFAULT_wxUSE_GUI=yes
2299
2300 DEFAULT_wxUSE_REGEX=yes
2301 DEFAULT_wxUSE_XML=yes
2302 DEFAULT_wxUSE_EXPAT=yes
2303 DEFAULT_wxUSE_ZLIB=yes
2304 DEFAULT_wxUSE_LIBPNG=yes
2305 DEFAULT_wxUSE_LIBJPEG=yes
2306 DEFAULT_wxUSE_LIBTIFF=yes
2307 DEFAULT_wxUSE_LIBXPM=yes
2308 DEFAULT_wxUSE_LIBMSPACK=yes
2309 DEFAULT_wxUSE_LIBSDL=no
2310 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2311 DEFAULT_wxUSE_LIBGNOMEVFS=no
2312 DEFAULT_wxUSE_LIBHILDON=no
2313 DEFAULT_wxUSE_ODBC=no
2314 DEFAULT_wxUSE_OPENGL=no
2315
2316 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2317 DEFAULT_wxUSE_STACKWALKER=yes
2318 DEFAULT_wxUSE_DEBUGREPORT=yes
2319 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2320 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2321 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2322 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2323 DEFAULT_wxUSE_DATETIME=yes
2324 DEFAULT_wxUSE_TIMER=yes
2325 DEFAULT_wxUSE_STOPWATCH=yes
2326 DEFAULT_wxUSE_FILE=yes
2327 DEFAULT_wxUSE_FFILE=yes
2328 DEFAULT_wxUSE_STDPATHS=yes
2329 DEFAULT_wxUSE_TEXTBUFFER=yes
2330 DEFAULT_wxUSE_TEXTFILE=yes
2331 DEFAULT_wxUSE_SOUND=yes
2332 DEFAULT_wxUSE_MEDIACTRL=no
2333 DEFAULT_wxUSE_GSTREAMER8=no
2334 DEFAULT_wxUSE_INTL=yes
2335 DEFAULT_wxUSE_CONFIG=yes
2336 DEFAULT_wxUSE_FONTMAP=yes
2337 DEFAULT_wxUSE_STREAMS=yes
2338 DEFAULT_wxUSE_SOCKETS=yes
2339 DEFAULT_wxUSE_OLE=yes
2340 DEFAULT_wxUSE_DATAOBJ=yes
2341 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2342 DEFAULT_wxUSE_JOYSTICK=yes
2343 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2344 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2345 DEFAULT_wxUSE_LONGLONG=yes
2346 DEFAULT_wxUSE_GEOMETRY=yes
2347
2348 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2349 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2350 DEFAULT_wxUSE_POSTSCRIPT=yes
2351
2352 DEFAULT_wxUSE_CLIPBOARD=yes
2353 DEFAULT_wxUSE_TOOLTIPS=yes
2354 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2355 DEFAULT_wxUSE_DRAGIMAGE=yes
2356 DEFAULT_wxUSE_SPLINES=yes
2357 DEFAULT_wxUSE_MOUSEWHEEL=yes
2358
2359 DEFAULT_wxUSE_MDI=yes
2360 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2361 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2362 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2363
2364 DEFAULT_wxUSE_RESOURCES=no
2365 DEFAULT_wxUSE_CONSTRAINTS=yes
2366 DEFAULT_wxUSE_IPC=yes
2367 DEFAULT_wxUSE_HELP=yes
2368 DEFAULT_wxUSE_MS_HTML_HELP=yes
2369 DEFAULT_wxUSE_WXHTML_HELP=yes
2370 DEFAULT_wxUSE_TREELAYOUT=yes
2371 DEFAULT_wxUSE_METAFILE=yes
2372 DEFAULT_wxUSE_MIMETYPE=yes
2373 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2374 DEFAULT_wxUSE_PROTOCOL=yes
2375 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2376 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2377 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2378 DEFAULT_wxUSE_URL=yes
2379
2380 DEFAULT_wxUSE_COMMONDLGS=yes
2381 DEFAULT_wxUSE_CHOICEDLG=yes
2382 DEFAULT_wxUSE_COLOURDLG=yes
2383 DEFAULT_wxUSE_DIRDLG=yes
2384 DEFAULT_wxUSE_FILEDLG=yes
2385 DEFAULT_wxUSE_FINDREPLDLG=yes
2386 DEFAULT_wxUSE_FONTDLG=yes
2387 DEFAULT_wxUSE_MSGDLG=yes
2388 DEFAULT_wxUSE_NUMBERDLG=yes
2389 DEFAULT_wxUSE_TEXTDLG=yes
2390 DEFAULT_wxUSE_SPLASH=yes
2391 DEFAULT_wxUSE_STARTUP_TIPS=yes
2392 DEFAULT_wxUSE_PROGRESSDLG=yes
2393 DEFAULT_wxUSE_WIZARDDLG=yes
2394
2395 DEFAULT_wxUSE_MENUS=yes
2396 DEFAULT_wxUSE_MINIFRAME=yes
2397 DEFAULT_wxUSE_HTML=yes
2398 DEFAULT_wxUSE_RICHTEXT=yes
2399 DEFAULT_wxUSE_XRC=yes
2400 DEFAULT_wxUSE_AUI=yes
2401 DEFAULT_wxUSE_WEBKIT=yes
2402 DEFAULT_wxUSE_FILESYSTEM=yes
2403 DEFAULT_wxUSE_FS_INET=yes
2404 DEFAULT_wxUSE_FS_ZIP=yes
2405 DEFAULT_wxUSE_BUSYINFO=yes
2406 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2407 DEFAULT_wxUSE_ZIPSTREAM=yes
2408 DEFAULT_wxUSE_VALIDATORS=yes
2409
2410 DEFAULT_wxUSE_ACCEL=yes
2411 DEFAULT_wxUSE_BUTTON=yes
2412 DEFAULT_wxUSE_BMPBUTTON=yes
2413 DEFAULT_wxUSE_CALCTRL=yes
2414 DEFAULT_wxUSE_CARET=yes
2415 DEFAULT_wxUSE_CHECKBOX=yes
2416 DEFAULT_wxUSE_CHECKLST=yes
2417 DEFAULT_wxUSE_CHOICE=yes
2418 DEFAULT_wxUSE_CHOICEBOOK=yes
2419 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2420 DEFAULT_wxUSE_COMBOBOX=yes
2421 DEFAULT_wxUSE_COMBOCTRL=yes
2422 DEFAULT_wxUSE_DATEPICKCTRL=yes
2423 DEFAULT_wxUSE_DISPLAY=yes
2424 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2425 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2426 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2427 DEFAULT_wxUSE_GAUGE=yes
2428 DEFAULT_wxUSE_GRID=yes
2429 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2430 DEFAULT_wxUSE_DATAVIEWCTRL=no
2431 DEFAULT_wxUSE_IMAGLIST=yes
2432 DEFAULT_wxUSE_LISTBOOK=yes
2433 DEFAULT_wxUSE_LISTBOX=yes
2434 DEFAULT_wxUSE_LISTCTRL=yes
2435 DEFAULT_wxUSE_NOTEBOOK=yes
2436 DEFAULT_wxUSE_ODCOMBOBOX=yes
2437 DEFAULT_wxUSE_RADIOBOX=yes
2438 DEFAULT_wxUSE_RADIOBTN=yes
2439 DEFAULT_wxUSE_SASH=yes
2440 DEFAULT_wxUSE_SCROLLBAR=yes
2441 DEFAULT_wxUSE_SLIDER=yes
2442 DEFAULT_wxUSE_SPINBTN=yes
2443 DEFAULT_wxUSE_SPINCTRL=yes
2444 DEFAULT_wxUSE_SPLITTER=yes
2445 DEFAULT_wxUSE_STATBMP=yes
2446 DEFAULT_wxUSE_STATBOX=yes
2447 DEFAULT_wxUSE_STATLINE=yes
2448 DEFAULT_wxUSE_STATTEXT=yes
2449 DEFAULT_wxUSE_STATUSBAR=yes
2450 DEFAULT_wxUSE_TAB_DIALOG=no
2451 DEFAULT_wxUSE_TEXTCTRL=yes
2452 DEFAULT_wxUSE_TOGGLEBTN=yes
2453 DEFAULT_wxUSE_TOOLBAR=yes
2454 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2455 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2456 DEFAULT_wxUSE_TREEBOOK=yes
2457 DEFAULT_wxUSE_TOOLBOOK=yes
2458 DEFAULT_wxUSE_TREECTRL=yes
2459 DEFAULT_wxUSE_POPUPWIN=yes
2460 DEFAULT_wxUSE_TIPWINDOW=yes
2461
2462 DEFAULT_wxUSE_UNICODE=no
2463 DEFAULT_wxUSE_UNICODE_MSLU=yes
2464 DEFAULT_wxUSE_WCSRTOMBS=no
2465
2466 DEFAULT_wxUSE_PALETTE=yes
2467 DEFAULT_wxUSE_IMAGE=yes
2468 DEFAULT_wxUSE_GIF=yes
2469 DEFAULT_wxUSE_PCX=yes
2470 DEFAULT_wxUSE_IFF=no
2471 DEFAULT_wxUSE_PNM=yes
2472 DEFAULT_wxUSE_XPM=yes
2473 DEFAULT_wxUSE_ICO_CUR=yes
2474 DEFAULT_wxUSE_ACCESSIBILITY=no
2475
2476 DEFAULT_wxUSE_MONOLITHIC=no
2477 DEFAULT_wxUSE_PLUGINS=no
2478 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2479
2480 DEFAULT_wxUSE_GTK2=yes
2481 fi
2482
2483
2484
2485
2486 for toolkit in `echo $ALL_TOOLKITS`; do
2487 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2488 if test "x$LINE" != "x" ; then
2489 has_toolkit_in_cache=1
2490 eval "DEFAULT_$LINE"
2491 eval "CACHE_$toolkit=1"
2492
2493 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2494 if test "x$LINE" != "x" ; then
2495 eval "DEFAULT_$LINE"
2496 fi
2497 fi
2498 done
2499
2500
2501
2502 enablestring=
2503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2504 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2505 no_cache=0
2506 # Check whether --enable-gui or --disable-gui was given.
2507 if test "${enable_gui+set}" = set; then
2508 enableval="$enable_gui"
2509
2510 if test "$enableval" = yes; then
2511 ac_cv_use_gui='wxUSE_GUI=yes'
2512 else
2513 ac_cv_use_gui='wxUSE_GUI=no'
2514 fi
2515
2516 else
2517
2518 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2519 if test "x$LINE" != x ; then
2520 eval "DEFAULT_$LINE"
2521 else
2522 no_cache=1
2523 fi
2524
2525 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2526
2527 fi;
2528
2529 eval "$ac_cv_use_gui"
2530 if test "$no_cache" != 1; then
2531 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2532 fi
2533
2534 if test "$wxUSE_GUI" = yes; then
2535 echo "$as_me:$LINENO: result: yes" >&5
2536 echo "${ECHO_T}yes" >&6
2537 else
2538 echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6
2540 fi
2541
2542
2543 enablestring=
2544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2545 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2546 no_cache=0
2547 # Check whether --enable-monolithic or --disable-monolithic was given.
2548 if test "${enable_monolithic+set}" = set; then
2549 enableval="$enable_monolithic"
2550
2551 if test "$enableval" = yes; then
2552 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2553 else
2554 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2555 fi
2556
2557 else
2558
2559 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2560 if test "x$LINE" != x ; then
2561 eval "DEFAULT_$LINE"
2562 else
2563 no_cache=1
2564 fi
2565
2566 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2567
2568 fi;
2569
2570 eval "$ac_cv_use_monolithic"
2571 if test "$no_cache" != 1; then
2572 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2573 fi
2574
2575 if test "$wxUSE_MONOLITHIC" = yes; then
2576 echo "$as_me:$LINENO: result: yes" >&5
2577 echo "${ECHO_T}yes" >&6
2578 else
2579 echo "$as_me:$LINENO: result: no" >&5
2580 echo "${ECHO_T}no" >&6
2581 fi
2582
2583
2584 enablestring=
2585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2586 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2587 no_cache=0
2588 # Check whether --enable-plugins or --disable-plugins was given.
2589 if test "${enable_plugins+set}" = set; then
2590 enableval="$enable_plugins"
2591
2592 if test "$enableval" = yes; then
2593 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2594 else
2595 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2596 fi
2597
2598 else
2599
2600 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2601 if test "x$LINE" != x ; then
2602 eval "DEFAULT_$LINE"
2603 else
2604 no_cache=1
2605 fi
2606
2607 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2608
2609 fi;
2610
2611 eval "$ac_cv_use_plugins"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2614 fi
2615
2616 if test "$wxUSE_PLUGINS" = yes; then
2617 echo "$as_me:$LINENO: result: yes" >&5
2618 echo "${ECHO_T}yes" >&6
2619 else
2620 echo "$as_me:$LINENO: result: no" >&5
2621 echo "${ECHO_T}no" >&6
2622 fi
2623
2624
2625 withstring=without
2626 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2627 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2628 no_cache=0
2629
2630 # Check whether --with-subdirs or --without-subdirs was given.
2631 if test "${with_subdirs+set}" = set; then
2632 withval="$with_subdirs"
2633
2634 if test "$withval" = yes; then
2635 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2636 else
2637 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2638 fi
2639
2640 else
2641
2642 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2643 if test "x$LINE" != x ; then
2644 eval "DEFAULT_$LINE"
2645 else
2646 no_cache=1
2647 fi
2648
2649 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2650
2651 fi;
2652
2653 eval "$ac_cv_use_subdirs"
2654 if test "$no_cache" != 1; then
2655 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2656 fi
2657
2658 if test "$wxWITH_SUBDIRS" = yes; then
2659 echo "$as_me:$LINENO: result: yes" >&5
2660 echo "${ECHO_T}yes" >&6
2661 else
2662 echo "$as_me:$LINENO: result: no" >&5
2663 echo "${ECHO_T}no" >&6
2664 fi
2665
2666
2667 if test "$wxUSE_GUI" = "yes"; then
2668
2669
2670 enablestring=
2671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2672 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2673 no_cache=0
2674 # Check whether --enable-universal or --disable-universal was given.
2675 if test "${enable_universal+set}" = set; then
2676 enableval="$enable_universal"
2677
2678 if test "$enableval" = yes; then
2679 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2680 else
2681 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2682 fi
2683
2684 else
2685
2686 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2687 if test "x$LINE" != x ; then
2688 eval "DEFAULT_$LINE"
2689 else
2690 no_cache=1
2691 fi
2692
2693 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2694
2695 fi;
2696
2697 eval "$ac_cv_use_universal"
2698 if test "$no_cache" != 1; then
2699 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2700 fi
2701
2702 if test "$wxUSE_UNIVERSAL" = yes; then
2703 echo "$as_me:$LINENO: result: yes" >&5
2704 echo "${ECHO_T}yes" >&6
2705 else
2706 echo "$as_me:$LINENO: result: no" >&5
2707 echo "${ECHO_T}no" >&6
2708 fi
2709
2710
2711 # Check whether --with-gtk or --without-gtk was given.
2712 if test "${with_gtk+set}" = set; then
2713 withval="$with_gtk"
2714 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2715 fi;
2716
2717 # Check whether --with-motif or --without-motif was given.
2718 if test "${with_motif+set}" = set; then
2719 withval="$with_motif"
2720 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2721 fi;
2722
2723 # Check whether --with-mac or --without-mac was given.
2724 if test "${with_mac+set}" = set; then
2725 withval="$with_mac"
2726 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2727 fi;
2728
2729 # Check whether --with-cocoa or --without-cocoa was given.
2730 if test "${with_cocoa+set}" = set; then
2731 withval="$with_cocoa"
2732 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2733 fi;
2734
2735 # Check whether --with-wine or --without-wine was given.
2736 if test "${with_wine+set}" = set; then
2737 withval="$with_wine"
2738 wxUSE_WINE="$withval" CACHE_WINE=1
2739 fi;
2740
2741 # Check whether --with-msw or --without-msw was given.
2742 if test "${with_msw+set}" = set; then
2743 withval="$with_msw"
2744 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2745 fi;
2746
2747 # Check whether --with-pm or --without-pm was given.
2748 if test "${with_pm+set}" = set; then
2749 withval="$with_pm"
2750 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2751 fi;
2752
2753 # Check whether --with-mgl or --without-mgl was given.
2754 if test "${with_mgl+set}" = set; then
2755 withval="$with_mgl"
2756 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2757 fi;
2758
2759 # Check whether --with-microwin or --without-microwin was given.
2760 if test "${with_microwin+set}" = set; then
2761 withval="$with_microwin"
2762 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2763 fi;
2764
2765 # Check whether --with-x11 or --without-x11 was given.
2766 if test "${with_x11+set}" = set; then
2767 withval="$with_x11"
2768 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2769 fi;
2770
2771 enablestring=
2772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2773 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2774 no_cache=0
2775 # Check whether --enable-nanox or --disable-nanox was given.
2776 if test "${enable_nanox+set}" = set; then
2777 enableval="$enable_nanox"
2778
2779 if test "$enableval" = yes; then
2780 ac_cv_use_nanox='wxUSE_NANOX=yes'
2781 else
2782 ac_cv_use_nanox='wxUSE_NANOX=no'
2783 fi
2784
2785 else
2786
2787 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2788 if test "x$LINE" != x ; then
2789 eval "DEFAULT_$LINE"
2790 else
2791 no_cache=1
2792 fi
2793
2794 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2795
2796 fi;
2797
2798 eval "$ac_cv_use_nanox"
2799 if test "$no_cache" != 1; then
2800 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2801 fi
2802
2803 if test "$wxUSE_NANOX" = yes; then
2804 echo "$as_me:$LINENO: result: yes" >&5
2805 echo "${ECHO_T}yes" >&6
2806 else
2807 echo "$as_me:$LINENO: result: no" >&5
2808 echo "${ECHO_T}no" >&6
2809 fi
2810
2811
2812 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2813 if test "${enable_gtk2+set}" = set; then
2814 enableval="$enable_gtk2"
2815 wxUSE_GTK2="$enableval"
2816 fi;
2817
2818 enablestring=
2819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2820 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2821 no_cache=0
2822 # Check whether --enable-gpe or --disable-gpe was given.
2823 if test "${enable_gpe+set}" = set; then
2824 enableval="$enable_gpe"
2825
2826 if test "$enableval" = yes; then
2827 ac_cv_use_gpe='wxUSE_GPE=yes'
2828 else
2829 ac_cv_use_gpe='wxUSE_GPE=no'
2830 fi
2831
2832 else
2833
2834 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2835 if test "x$LINE" != x ; then
2836 eval "DEFAULT_$LINE"
2837 else
2838 no_cache=1
2839 fi
2840
2841 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2842
2843 fi;
2844
2845 eval "$ac_cv_use_gpe"
2846 if test "$no_cache" != 1; then
2847 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2848 fi
2849
2850 if test "$wxUSE_GPE" = yes; then
2851 echo "$as_me:$LINENO: result: yes" >&5
2852 echo "${ECHO_T}yes" >&6
2853 else
2854 echo "$as_me:$LINENO: result: no" >&5
2855 echo "${ECHO_T}no" >&6
2856 fi
2857
2858
2859
2860 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2861 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2862 no_cache=0
2863
2864 # Check whether --with-libpng or --without-libpng was given.
2865 if test "${with_libpng+set}" = set; then
2866 withval="$with_libpng"
2867
2868 if test "$withval" = yes; then
2869 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2870 elif test "$withval" = no; then
2871 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2872 elif test "$withval" = sys; then
2873 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2874 elif test "$withval" = builtin; then
2875 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2876 else
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2878 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2880 fi
2881
2882 else
2883
2884 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x ; then
2886 eval "DEFAULT_$LINE"
2887 else
2888 no_cache=1
2889 fi
2890
2891 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2892
2893 fi;
2894
2895 eval "$ac_cv_use_libpng"
2896 if test "$no_cache" != 1; then
2897 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2898 fi
2899
2900 if test "$wxUSE_LIBPNG" = yes; then
2901 echo "$as_me:$LINENO: result: yes" >&5
2902 echo "${ECHO_T}yes" >&6
2903 elif test "$wxUSE_LIBPNG" = no; then
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2906 elif test "$wxUSE_LIBPNG" = sys; then
2907 echo "$as_me:$LINENO: result: system version" >&5
2908 echo "${ECHO_T}system version" >&6
2909 elif test "$wxUSE_LIBPNG" = builtin; then
2910 echo "$as_me:$LINENO: result: builtin version" >&5
2911 echo "${ECHO_T}builtin version" >&6
2912 else
2913 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2914 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2915 { (exit 1); exit 1; }; }
2916 fi
2917
2918
2919 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2920 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2921 no_cache=0
2922
2923 # Check whether --with-libjpeg or --without-libjpeg was given.
2924 if test "${with_libjpeg+set}" = set; then
2925 withval="$with_libjpeg"
2926
2927 if test "$withval" = yes; then
2928 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2929 elif test "$withval" = no; then
2930 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2931 elif test "$withval" = sys; then
2932 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2933 elif test "$withval" = builtin; then
2934 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2935 else
2936 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2937 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2938 { (exit 1); exit 1; }; }
2939 fi
2940
2941 else
2942
2943 LINE=`grep "wxUSE_LIBJPEG" ${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_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2951
2952 fi;
2953
2954 eval "$ac_cv_use_libjpeg"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2957 fi
2958
2959 if test "$wxUSE_LIBJPEG" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2962 elif test "$wxUSE_LIBJPEG" = no; then
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2965 elif test "$wxUSE_LIBJPEG" = sys; then
2966 echo "$as_me:$LINENO: result: system version" >&5
2967 echo "${ECHO_T}system version" >&6
2968 elif test "$wxUSE_LIBJPEG" = builtin; then
2969 echo "$as_me:$LINENO: result: builtin version" >&5
2970 echo "${ECHO_T}builtin version" >&6
2971 else
2972 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2973 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2974 { (exit 1); exit 1; }; }
2975 fi
2976
2977
2978 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2979 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2980 no_cache=0
2981
2982 # Check whether --with-libtiff or --without-libtiff was given.
2983 if test "${with_libtiff+set}" = set; then
2984 withval="$with_libtiff"
2985
2986 if test "$withval" = yes; then
2987 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2988 elif test "$withval" = no; then
2989 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2990 elif test "$withval" = sys; then
2991 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2992 elif test "$withval" = builtin; then
2993 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2994 else
2995 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2996 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2997 { (exit 1); exit 1; }; }
2998 fi
2999
3000 else
3001
3002 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x ; then
3004 eval "DEFAULT_$LINE"
3005 else
3006 no_cache=1
3007 fi
3008
3009 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3010
3011 fi;
3012
3013 eval "$ac_cv_use_libtiff"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3016 fi
3017
3018 if test "$wxUSE_LIBTIFF" = yes; then
3019 echo "$as_me:$LINENO: result: yes" >&5
3020 echo "${ECHO_T}yes" >&6
3021 elif test "$wxUSE_LIBTIFF" = no; then
3022 echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6
3024 elif test "$wxUSE_LIBTIFF" = sys; then
3025 echo "$as_me:$LINENO: result: system version" >&5
3026 echo "${ECHO_T}system version" >&6
3027 elif test "$wxUSE_LIBTIFF" = builtin; then
3028 echo "$as_me:$LINENO: result: builtin version" >&5
3029 echo "${ECHO_T}builtin version" >&6
3030 else
3031 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3032 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3033 { (exit 1); exit 1; }; }
3034 fi
3035
3036
3037 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3038 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3039 no_cache=0
3040
3041 # Check whether --with-libxpm or --without-libxpm was given.
3042 if test "${with_libxpm+set}" = set; then
3043 withval="$with_libxpm"
3044
3045 if test "$withval" = yes; then
3046 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3047 elif test "$withval" = no; then
3048 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3049 elif test "$withval" = sys; then
3050 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3051 elif test "$withval" = builtin; then
3052 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3053 else
3054 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3055 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3056 { (exit 1); exit 1; }; }
3057 fi
3058
3059 else
3060
3061 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x ; then
3063 eval "DEFAULT_$LINE"
3064 else
3065 no_cache=1
3066 fi
3067
3068 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3069
3070 fi;
3071
3072 eval "$ac_cv_use_libxpm"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3075 fi
3076
3077 if test "$wxUSE_LIBXPM" = yes; then
3078 echo "$as_me:$LINENO: result: yes" >&5
3079 echo "${ECHO_T}yes" >&6
3080 elif test "$wxUSE_LIBXPM" = no; then
3081 echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3083 elif test "$wxUSE_LIBXPM" = sys; then
3084 echo "$as_me:$LINENO: result: system version" >&5
3085 echo "${ECHO_T}system version" >&6
3086 elif test "$wxUSE_LIBXPM" = builtin; then
3087 echo "$as_me:$LINENO: result: builtin version" >&5
3088 echo "${ECHO_T}builtin version" >&6
3089 else
3090 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3091 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3092 { (exit 1); exit 1; }; }
3093 fi
3094
3095
3096 withstring=
3097 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3098 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3099 no_cache=0
3100
3101 # Check whether --with-libmspack or --without-libmspack was given.
3102 if test "${with_libmspack+set}" = set; then
3103 withval="$with_libmspack"
3104
3105 if test "$withval" = yes; then
3106 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3107 else
3108 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3109 fi
3110
3111 else
3112
3113 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3114 if test "x$LINE" != x ; then
3115 eval "DEFAULT_$LINE"
3116 else
3117 no_cache=1
3118 fi
3119
3120 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3121
3122 fi;
3123
3124 eval "$ac_cv_use_libmspack"
3125 if test "$no_cache" != 1; then
3126 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3127 fi
3128
3129 if test "$wxUSE_LIBMSPACK" = yes; then
3130 echo "$as_me:$LINENO: result: yes" >&5
3131 echo "${ECHO_T}yes" >&6
3132 else
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3135 fi
3136
3137
3138 withstring=
3139 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3140 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3141 no_cache=0
3142
3143 # Check whether --with-sdl or --without-sdl was given.
3144 if test "${with_sdl+set}" = set; then
3145 withval="$with_sdl"
3146
3147 if test "$withval" = yes; then
3148 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3149 else
3150 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3151 fi
3152
3153 else
3154
3155 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x ; then
3157 eval "DEFAULT_$LINE"
3158 else
3159 no_cache=1
3160 fi
3161
3162 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3163
3164 fi;
3165
3166 eval "$ac_cv_use_sdl"
3167 if test "$no_cache" != 1; then
3168 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3169 fi
3170
3171 if test "$wxUSE_LIBSDL" = yes; then
3172 echo "$as_me:$LINENO: result: yes" >&5
3173 echo "${ECHO_T}yes" >&6
3174 else
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3177 fi
3178
3179
3180 withstring=
3181 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3182 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3183 no_cache=0
3184
3185 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3186 if test "${with_gnomeprint+set}" = set; then
3187 withval="$with_gnomeprint"
3188
3189 if test "$withval" = yes; then
3190 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3191 else
3192 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3193 fi
3194
3195 else
3196
3197 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3198 if test "x$LINE" != x ; then
3199 eval "DEFAULT_$LINE"
3200 else
3201 no_cache=1
3202 fi
3203
3204 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3205
3206 fi;
3207
3208 eval "$ac_cv_use_gnomeprint"
3209 if test "$no_cache" != 1; then
3210 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3211 fi
3212
3213 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3214 echo "$as_me:$LINENO: result: yes" >&5
3215 echo "${ECHO_T}yes" >&6
3216 else
3217 echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3219 fi
3220
3221
3222 withstring=
3223 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3224 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3225 no_cache=0
3226
3227 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3228 if test "${with_gnomevfs+set}" = set; then
3229 withval="$with_gnomevfs"
3230
3231 if test "$withval" = yes; then
3232 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3233 else
3234 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3235 fi
3236
3237 else
3238
3239 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3240 if test "x$LINE" != x ; then
3241 eval "DEFAULT_$LINE"
3242 else
3243 no_cache=1
3244 fi
3245
3246 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3247
3248 fi;
3249
3250 eval "$ac_cv_use_gnomevfs"
3251 if test "$no_cache" != 1; then
3252 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3253 fi
3254
3255 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3256 echo "$as_me:$LINENO: result: yes" >&5
3257 echo "${ECHO_T}yes" >&6
3258 else
3259 echo "$as_me:$LINENO: result: no" >&5
3260 echo "${ECHO_T}no" >&6
3261 fi
3262
3263
3264 withstring=
3265 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3266 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3267 no_cache=0
3268
3269 # Check whether --with-hildon or --without-hildon was given.
3270 if test "${with_hildon+set}" = set; then
3271 withval="$with_hildon"
3272
3273 if test "$withval" = yes; then
3274 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3275 else
3276 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3277 fi
3278
3279 else
3280
3281 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3282 if test "x$LINE" != x ; then
3283 eval "DEFAULT_$LINE"
3284 else
3285 no_cache=1
3286 fi
3287
3288 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3289
3290 fi;
3291
3292 eval "$ac_cv_use_hildon"
3293 if test "$no_cache" != 1; then
3294 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3295 fi
3296
3297 if test "$wxUSE_LIBHILDON" = yes; then
3298 echo "$as_me:$LINENO: result: yes" >&5
3299 echo "${ECHO_T}yes" >&6
3300 else
3301 echo "$as_me:$LINENO: result: no" >&5
3302 echo "${ECHO_T}no" >&6
3303 fi
3304
3305
3306 withstring=
3307 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3308 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3309 no_cache=0
3310
3311 # Check whether --with-opengl or --without-opengl was given.
3312 if test "${with_opengl+set}" = set; then
3313 withval="$with_opengl"
3314
3315 if test "$withval" = yes; then
3316 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3317 else
3318 ac_cv_use_opengl='wxUSE_OPENGL=no'
3319 fi
3320
3321 else
3322
3323 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3324 if test "x$LINE" != x ; then
3325 eval "DEFAULT_$LINE"
3326 else
3327 no_cache=1
3328 fi
3329
3330 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3331
3332 fi;
3333
3334 eval "$ac_cv_use_opengl"
3335 if test "$no_cache" != 1; then
3336 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3337 fi
3338
3339 if test "$wxUSE_OPENGL" = yes; then
3340 echo "$as_me:$LINENO: result: yes" >&5
3341 echo "${ECHO_T}yes" >&6
3342 else
3343 echo "$as_me:$LINENO: result: no" >&5
3344 echo "${ECHO_T}no" >&6
3345 fi
3346
3347
3348 fi
3349
3350
3351 withstring=
3352 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3353 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3354 no_cache=0
3355
3356 # Check whether --with-dmalloc or --without-dmalloc was given.
3357 if test "${with_dmalloc+set}" = set; then
3358 withval="$with_dmalloc"
3359
3360 if test "$withval" = yes; then
3361 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3362 else
3363 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3364 fi
3365
3366 else
3367
3368 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x ; then
3370 eval "DEFAULT_$LINE"
3371 else
3372 no_cache=1
3373 fi
3374
3375 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3376
3377 fi;
3378
3379 eval "$ac_cv_use_dmalloc"
3380 if test "$no_cache" != 1; then
3381 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3382 fi
3383
3384 if test "$wxUSE_DMALLOC" = yes; then
3385 echo "$as_me:$LINENO: result: yes" >&5
3386 echo "${ECHO_T}yes" >&6
3387 else
3388 echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6
3390 fi
3391
3392
3393 echo "$as_me:$LINENO: checking for --with-regex" >&5
3394 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3395 no_cache=0
3396
3397 # Check whether --with-regex or --without-regex was given.
3398 if test "${with_regex+set}" = set; then
3399 withval="$with_regex"
3400
3401 if test "$withval" = yes; then
3402 ac_cv_use_regex='wxUSE_REGEX=yes'
3403 elif test "$withval" = no; then
3404 ac_cv_use_regex='wxUSE_REGEX=no'
3405 elif test "$withval" = sys; then
3406 ac_cv_use_regex='wxUSE_REGEX=sys'
3407 elif test "$withval" = builtin; then
3408 ac_cv_use_regex='wxUSE_REGEX=builtin'
3409 else
3410 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3411 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3412 { (exit 1); exit 1; }; }
3413 fi
3414
3415 else
3416
3417 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3418 if test "x$LINE" != x ; then
3419 eval "DEFAULT_$LINE"
3420 else
3421 no_cache=1
3422 fi
3423
3424 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3425
3426 fi;
3427
3428 eval "$ac_cv_use_regex"
3429 if test "$no_cache" != 1; then
3430 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3431 fi
3432
3433 if test "$wxUSE_REGEX" = yes; then
3434 echo "$as_me:$LINENO: result: yes" >&5
3435 echo "${ECHO_T}yes" >&6
3436 elif test "$wxUSE_REGEX" = no; then
3437 echo "$as_me:$LINENO: result: no" >&5
3438 echo "${ECHO_T}no" >&6
3439 elif test "$wxUSE_REGEX" = sys; then
3440 echo "$as_me:$LINENO: result: system version" >&5
3441 echo "${ECHO_T}system version" >&6
3442 elif test "$wxUSE_REGEX" = builtin; then
3443 echo "$as_me:$LINENO: result: builtin version" >&5
3444 echo "${ECHO_T}builtin version" >&6
3445 else
3446 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3447 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3448 { (exit 1); exit 1; }; }
3449 fi
3450
3451
3452 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3453 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3454 no_cache=0
3455
3456 # Check whether --with-zlib or --without-zlib was given.
3457 if test "${with_zlib+set}" = set; then
3458 withval="$with_zlib"
3459
3460 if test "$withval" = yes; then
3461 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3462 elif test "$withval" = no; then
3463 ac_cv_use_zlib='wxUSE_ZLIB=no'
3464 elif test "$withval" = sys; then
3465 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3466 elif test "$withval" = builtin; then
3467 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3468 else
3469 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3470 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3471 { (exit 1); exit 1; }; }
3472 fi
3473
3474 else
3475
3476 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3477 if test "x$LINE" != x ; then
3478 eval "DEFAULT_$LINE"
3479 else
3480 no_cache=1
3481 fi
3482
3483 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3484
3485 fi;
3486
3487 eval "$ac_cv_use_zlib"
3488 if test "$no_cache" != 1; then
3489 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3490 fi
3491
3492 if test "$wxUSE_ZLIB" = yes; then
3493 echo "$as_me:$LINENO: result: yes" >&5
3494 echo "${ECHO_T}yes" >&6
3495 elif test "$wxUSE_ZLIB" = no; then
3496 echo "$as_me:$LINENO: result: no" >&5
3497 echo "${ECHO_T}no" >&6
3498 elif test "$wxUSE_ZLIB" = sys; then
3499 echo "$as_me:$LINENO: result: system version" >&5
3500 echo "${ECHO_T}system version" >&6
3501 elif test "$wxUSE_ZLIB" = builtin; then
3502 echo "$as_me:$LINENO: result: builtin version" >&5
3503 echo "${ECHO_T}builtin version" >&6
3504 else
3505 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3506 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3507 { (exit 1); exit 1; }; }
3508 fi
3509
3510
3511 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3512 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3513 no_cache=0
3514
3515 # Check whether --with-odbc or --without-odbc was given.
3516 if test "${with_odbc+set}" = set; then
3517 withval="$with_odbc"
3518
3519 if test "$withval" = yes; then
3520 ac_cv_use_odbc='wxUSE_ODBC=yes'
3521 elif test "$withval" = no; then
3522 ac_cv_use_odbc='wxUSE_ODBC=no'
3523 elif test "$withval" = sys; then
3524 ac_cv_use_odbc='wxUSE_ODBC=sys'
3525 elif test "$withval" = builtin; then
3526 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3527 else
3528 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3529 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3530 { (exit 1); exit 1; }; }
3531 fi
3532
3533 else
3534
3535 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3536 if test "x$LINE" != x ; then
3537 eval "DEFAULT_$LINE"
3538 else
3539 no_cache=1
3540 fi
3541
3542 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3543
3544 fi;
3545
3546 eval "$ac_cv_use_odbc"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3549 fi
3550
3551 if test "$wxUSE_ODBC" = yes; then
3552 echo "$as_me:$LINENO: result: yes" >&5
3553 echo "${ECHO_T}yes" >&6
3554 elif test "$wxUSE_ODBC" = no; then
3555 echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6
3557 elif test "$wxUSE_ODBC" = sys; then
3558 echo "$as_me:$LINENO: result: system version" >&5
3559 echo "${ECHO_T}system version" >&6
3560 elif test "$wxUSE_ODBC" = builtin; then
3561 echo "$as_me:$LINENO: result: builtin version" >&5
3562 echo "${ECHO_T}builtin version" >&6
3563 else
3564 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3565 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3566 { (exit 1); exit 1; }; }
3567 fi
3568
3569
3570 echo "$as_me:$LINENO: checking for --with-expat" >&5
3571 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3572 no_cache=0
3573
3574 # Check whether --with-expat or --without-expat was given.
3575 if test "${with_expat+set}" = set; then
3576 withval="$with_expat"
3577
3578 if test "$withval" = yes; then
3579 ac_cv_use_expat='wxUSE_EXPAT=yes'
3580 elif test "$withval" = no; then
3581 ac_cv_use_expat='wxUSE_EXPAT=no'
3582 elif test "$withval" = sys; then
3583 ac_cv_use_expat='wxUSE_EXPAT=sys'
3584 elif test "$withval" = builtin; then
3585 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3586 else
3587 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3588 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3589 { (exit 1); exit 1; }; }
3590 fi
3591
3592 else
3593
3594 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3595 if test "x$LINE" != x ; then
3596 eval "DEFAULT_$LINE"
3597 else
3598 no_cache=1
3599 fi
3600
3601 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3602
3603 fi;
3604
3605 eval "$ac_cv_use_expat"
3606 if test "$no_cache" != 1; then
3607 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3608 fi
3609
3610 if test "$wxUSE_EXPAT" = yes; then
3611 echo "$as_me:$LINENO: result: yes" >&5
3612 echo "${ECHO_T}yes" >&6
3613 elif test "$wxUSE_EXPAT" = no; then
3614 echo "$as_me:$LINENO: result: no" >&5
3615 echo "${ECHO_T}no" >&6
3616 elif test "$wxUSE_EXPAT" = sys; then
3617 echo "$as_me:$LINENO: result: system version" >&5
3618 echo "${ECHO_T}system version" >&6
3619 elif test "$wxUSE_EXPAT" = builtin; then
3620 echo "$as_me:$LINENO: result: builtin version" >&5
3621 echo "${ECHO_T}builtin version" >&6
3622 else
3623 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3624 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3625 { (exit 1); exit 1; }; }
3626 fi
3627
3628
3629
3630
3631 enablestring=
3632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3633 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3634 no_cache=0
3635 # Check whether --enable-shared or --disable-shared was given.
3636 if test "${enable_shared+set}" = set; then
3637 enableval="$enable_shared"
3638
3639 if test "$enableval" = yes; then
3640 ac_cv_use_shared='wxUSE_SHARED=yes'
3641 else
3642 ac_cv_use_shared='wxUSE_SHARED=no'
3643 fi
3644
3645 else
3646
3647 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3648 if test "x$LINE" != x ; then
3649 eval "DEFAULT_$LINE"
3650 else
3651 no_cache=1
3652 fi
3653
3654 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3655
3656 fi;
3657
3658 eval "$ac_cv_use_shared"
3659 if test "$no_cache" != 1; then
3660 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3661 fi
3662
3663 if test "$wxUSE_SHARED" = yes; then
3664 echo "$as_me:$LINENO: result: yes" >&5
3665 echo "${ECHO_T}yes" >&6
3666 else
3667 echo "$as_me:$LINENO: result: no" >&5
3668 echo "${ECHO_T}no" >&6
3669 fi
3670
3671
3672 enablestring=
3673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3674 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3675 no_cache=0
3676 # Check whether --enable-optimise or --disable-optimise was given.
3677 if test "${enable_optimise+set}" = set; then
3678 enableval="$enable_optimise"
3679
3680 if test "$enableval" = yes; then
3681 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3682 else
3683 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3684 fi
3685
3686 else
3687
3688 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3689 if test "x$LINE" != x ; then
3690 eval "DEFAULT_$LINE"
3691 else
3692 no_cache=1
3693 fi
3694
3695 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3696
3697 fi;
3698
3699 eval "$ac_cv_use_optimise"
3700 if test "$no_cache" != 1; then
3701 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3702 fi
3703
3704 if test "$wxUSE_OPTIMISE" = yes; then
3705 echo "$as_me:$LINENO: result: yes" >&5
3706 echo "${ECHO_T}yes" >&6
3707 else
3708 echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6
3710 fi
3711
3712
3713 enablestring=
3714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3715 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3716 no_cache=0
3717 # Check whether --enable-debug or --disable-debug was given.
3718 if test "${enable_debug+set}" = set; then
3719 enableval="$enable_debug"
3720
3721 if test "$enableval" = yes; then
3722 ac_cv_use_debug='wxUSE_DEBUG=yes'
3723 else
3724 ac_cv_use_debug='wxUSE_DEBUG=no'
3725 fi
3726
3727 else
3728
3729 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3730 if test "x$LINE" != x ; then
3731 eval "DEFAULT_$LINE"
3732 else
3733 no_cache=1
3734 fi
3735
3736 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3737
3738 fi;
3739
3740 eval "$ac_cv_use_debug"
3741 if test "$no_cache" != 1; then
3742 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3743 fi
3744
3745 if test "$wxUSE_DEBUG" = yes; then
3746 echo "$as_me:$LINENO: result: yes" >&5
3747 echo "${ECHO_T}yes" >&6
3748 else
3749 echo "$as_me:$LINENO: result: no" >&5
3750 echo "${ECHO_T}no" >&6
3751 fi
3752
3753
3754 enablestring=
3755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3756 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3757 no_cache=0
3758 # Check whether --enable-stl or --disable-stl was given.
3759 if test "${enable_stl+set}" = set; then
3760 enableval="$enable_stl"
3761
3762 if test "$enableval" = yes; then
3763 ac_cv_use_stl='wxUSE_STL=yes'
3764 else
3765 ac_cv_use_stl='wxUSE_STL=no'
3766 fi
3767
3768 else
3769
3770 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3771 if test "x$LINE" != x ; then
3772 eval "DEFAULT_$LINE"
3773 else
3774 no_cache=1
3775 fi
3776
3777 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3778
3779 fi;
3780
3781 eval "$ac_cv_use_stl"
3782 if test "$no_cache" != 1; then
3783 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3784 fi
3785
3786 if test "$wxUSE_STL" = yes; then
3787 echo "$as_me:$LINENO: result: yes" >&5
3788 echo "${ECHO_T}yes" >&6
3789 else
3790 echo "$as_me:$LINENO: result: no" >&5
3791 echo "${ECHO_T}no" >&6
3792 fi
3793
3794 if test "$USE_OS2" = "1"; then
3795 DEFAULT_wxUSE_OMF=no
3796
3797 enablestring=
3798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3799 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3800 no_cache=0
3801 # Check whether --enable-omf or --disable-omf was given.
3802 if test "${enable_omf+set}" = set; then
3803 enableval="$enable_omf"
3804
3805 if test "$enableval" = yes; then
3806 ac_cv_use_omf='wxUSE_OMF=yes'
3807 else
3808 ac_cv_use_omf='wxUSE_OMF=no'
3809 fi
3810
3811 else
3812
3813 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x ; then
3815 eval "DEFAULT_$LINE"
3816 else
3817 no_cache=1
3818 fi
3819
3820 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3821
3822 fi;
3823
3824 eval "$ac_cv_use_omf"
3825 if test "$no_cache" != 1; then
3826 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3827 fi
3828
3829 if test "$wxUSE_OMF" = yes; then
3830 echo "$as_me:$LINENO: result: yes" >&5
3831 echo "${ECHO_T}yes" >&6
3832 else
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3835 fi
3836
3837 fi
3838
3839 if test "$wxUSE_DEBUG" = "yes"; then
3840 DEFAULT_wxUSE_DEBUG_FLAG=yes
3841 DEFAULT_wxUSE_DEBUG_INFO=yes
3842 BUILD=debug
3843 elif test "$wxUSE_DEBUG" = "no"; then
3844 DEFAULT_wxUSE_DEBUG_FLAG=no
3845 DEFAULT_wxUSE_DEBUG_INFO=no
3846 BUILD=release
3847 fi
3848
3849
3850 enablestring=
3851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3852 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3853 no_cache=0
3854 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3855 if test "${enable_debug_flag+set}" = set; then
3856 enableval="$enable_debug_flag"
3857
3858 if test "$enableval" = yes; then
3859 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3860 else
3861 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3862 fi
3863
3864 else
3865
3866 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3867 if test "x$LINE" != x ; then
3868 eval "DEFAULT_$LINE"
3869 else
3870 no_cache=1
3871 fi
3872
3873 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3874
3875 fi;
3876
3877 eval "$ac_cv_use_debug_flag"
3878 if test "$no_cache" != 1; then
3879 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3880 fi
3881
3882 if test "$wxUSE_DEBUG_FLAG" = yes; then
3883 echo "$as_me:$LINENO: result: yes" >&5
3884 echo "${ECHO_T}yes" >&6
3885 else
3886 echo "$as_me:$LINENO: result: no" >&5
3887 echo "${ECHO_T}no" >&6
3888 fi
3889
3890
3891 enablestring=
3892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3893 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3894 no_cache=0
3895 # Check whether --enable-debug_info or --disable-debug_info was given.
3896 if test "${enable_debug_info+set}" = set; then
3897 enableval="$enable_debug_info"
3898
3899 if test "$enableval" = yes; then
3900 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3901 else
3902 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3903 fi
3904
3905 else
3906
3907 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3908 if test "x$LINE" != x ; then
3909 eval "DEFAULT_$LINE"
3910 else
3911 no_cache=1
3912 fi
3913
3914 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3915
3916 fi;
3917
3918 eval "$ac_cv_use_debug_info"
3919 if test "$no_cache" != 1; then
3920 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3921 fi
3922
3923 if test "$wxUSE_DEBUG_INFO" = yes; then
3924 echo "$as_me:$LINENO: result: yes" >&5
3925 echo "${ECHO_T}yes" >&6
3926 else
3927 echo "$as_me:$LINENO: result: no" >&5
3928 echo "${ECHO_T}no" >&6
3929 fi
3930
3931
3932 enablestring=
3933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3934 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3935 no_cache=0
3936 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3937 if test "${enable_debug_gdb+set}" = set; then
3938 enableval="$enable_debug_gdb"
3939
3940 if test "$enableval" = yes; then
3941 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3942 else
3943 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3944 fi
3945
3946 else
3947
3948 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x ; then
3950 eval "DEFAULT_$LINE"
3951 else
3952 no_cache=1
3953 fi
3954
3955 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3956
3957 fi;
3958
3959 eval "$ac_cv_use_debug_gdb"
3960 if test "$no_cache" != 1; then
3961 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3962 fi
3963
3964 if test "$wxUSE_DEBUG_GDB" = yes; then
3965 echo "$as_me:$LINENO: result: yes" >&5
3966 echo "${ECHO_T}yes" >&6
3967 else
3968 echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6
3970 fi
3971
3972
3973 enablestring=
3974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3975 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3976 no_cache=0
3977 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3978 if test "${enable_debug_cntxt+set}" = set; then
3979 enableval="$enable_debug_cntxt"
3980
3981 if test "$enableval" = yes; then
3982 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3983 else
3984 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3985 fi
3986
3987 else
3988
3989 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3990 if test "x$LINE" != x ; then
3991 eval "DEFAULT_$LINE"
3992 else
3993 no_cache=1
3994 fi
3995
3996 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3997
3998 fi;
3999
4000 eval "$ac_cv_use_debug_cntxt"
4001 if test "$no_cache" != 1; then
4002 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4003 fi
4004
4005 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4006 echo "$as_me:$LINENO: result: yes" >&5
4007 echo "${ECHO_T}yes" >&6
4008 else
4009 echo "$as_me:$LINENO: result: no" >&5
4010 echo "${ECHO_T}no" >&6
4011 fi
4012
4013
4014 enablestring=
4015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4016 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4017 no_cache=0
4018 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4019 if test "${enable_mem_tracing+set}" = set; then
4020 enableval="$enable_mem_tracing"
4021
4022 if test "$enableval" = yes; then
4023 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4024 else
4025 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4026 fi
4027
4028 else
4029
4030 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x ; then
4032 eval "DEFAULT_$LINE"
4033 else
4034 no_cache=1
4035 fi
4036
4037 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4038
4039 fi;
4040
4041 eval "$ac_cv_use_mem_tracing"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4044 fi
4045
4046 if test "$wxUSE_MEM_TRACING" = yes; then
4047 echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6
4049 else
4050 echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6
4052 fi
4053
4054
4055 enablestring=
4056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4057 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4058 no_cache=0
4059 # Check whether --enable-profile or --disable-profile was given.
4060 if test "${enable_profile+set}" = set; then
4061 enableval="$enable_profile"
4062
4063 if test "$enableval" = yes; then
4064 ac_cv_use_profile='wxUSE_PROFILE=yes'
4065 else
4066 ac_cv_use_profile='wxUSE_PROFILE=no'
4067 fi
4068
4069 else
4070
4071 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x ; then
4073 eval "DEFAULT_$LINE"
4074 else
4075 no_cache=1
4076 fi
4077
4078 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4079
4080 fi;
4081
4082 eval "$ac_cv_use_profile"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4085 fi
4086
4087 if test "$wxUSE_PROFILE" = yes; then
4088 echo "$as_me:$LINENO: result: yes" >&5
4089 echo "${ECHO_T}yes" >&6
4090 else
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4093 fi
4094
4095
4096 enablestring=
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4099 no_cache=0
4100 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4101 if test "${enable_no_rtti+set}" = set; then
4102 enableval="$enable_no_rtti"
4103
4104 if test "$enableval" = yes; then
4105 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4106 else
4107 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4108 fi
4109
4110 else
4111
4112 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4115 else
4116 no_cache=1
4117 fi
4118
4119 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4120
4121 fi;
4122
4123 eval "$ac_cv_use_no_rtti"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4126 fi
4127
4128 if test "$wxUSE_NO_RTTI" = yes; then
4129 echo "$as_me:$LINENO: result: yes" >&5
4130 echo "${ECHO_T}yes" >&6
4131 else
4132 echo "$as_me:$LINENO: result: no" >&5
4133 echo "${ECHO_T}no" >&6
4134 fi
4135
4136
4137 enablestring=
4138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4139 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4140 no_cache=0
4141 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4142 if test "${enable_no_exceptions+set}" = set; then
4143 enableval="$enable_no_exceptions"
4144
4145 if test "$enableval" = yes; then
4146 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4147 else
4148 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4149 fi
4150
4151 else
4152
4153 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x ; then
4155 eval "DEFAULT_$LINE"
4156 else
4157 no_cache=1
4158 fi
4159
4160 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4161
4162 fi;
4163
4164 eval "$ac_cv_use_no_exceptions"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4167 fi
4168
4169 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4170 echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6
4172 else
4173 echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6
4175 fi
4176
4177
4178 enablestring=
4179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4180 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4181 no_cache=0
4182 # Check whether --enable-permissive or --disable-permissive was given.
4183 if test "${enable_permissive+set}" = set; then
4184 enableval="$enable_permissive"
4185
4186 if test "$enableval" = yes; then
4187 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4188 else
4189 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4190 fi
4191
4192 else
4193
4194 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x ; then
4196 eval "DEFAULT_$LINE"
4197 else
4198 no_cache=1
4199 fi
4200
4201 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4202
4203 fi;
4204
4205 eval "$ac_cv_use_permissive"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4208 fi
4209
4210 if test "$wxUSE_PERMISSIVE" = yes; then
4211 echo "$as_me:$LINENO: result: yes" >&5
4212 echo "${ECHO_T}yes" >&6
4213 else
4214 echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6
4216 fi
4217
4218
4219 enablestring=
4220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4221 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4222 no_cache=0
4223 # Check whether --enable-no_deps or --disable-no_deps was given.
4224 if test "${enable_no_deps+set}" = set; then
4225 enableval="$enable_no_deps"
4226
4227 if test "$enableval" = yes; then
4228 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4229 else
4230 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4231 fi
4232
4233 else
4234
4235 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x ; then
4237 eval "DEFAULT_$LINE"
4238 else
4239 no_cache=1
4240 fi
4241
4242 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4243
4244 fi;
4245
4246 eval "$ac_cv_use_no_deps"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4249 fi
4250
4251 if test "$wxUSE_NO_DEPS" = yes; then
4252 echo "$as_me:$LINENO: result: yes" >&5
4253 echo "${ECHO_T}yes" >&6
4254 else
4255 echo "$as_me:$LINENO: result: no" >&5
4256 echo "${ECHO_T}no" >&6
4257 fi
4258
4259
4260 enablestring=
4261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4262 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4263 no_cache=0
4264 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4265 if test "${enable_universal_binary+set}" = set; then
4266 enableval="$enable_universal_binary"
4267
4268 if test "$enableval" = yes; then
4269 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=yes'
4270 else
4271 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=no'
4272 fi
4273
4274 else
4275
4276 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4277 if test "x$LINE" != x ; then
4278 eval "DEFAULT_$LINE"
4279 else
4280 no_cache=1
4281 fi
4282
4283 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4284
4285 fi;
4286
4287 eval "$ac_cv_use_universal_binary"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4290 fi
4291
4292 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4293 echo "$as_me:$LINENO: result: yes" >&5
4294 echo "${ECHO_T}yes" >&6
4295 else
4296 echo "$as_me:$LINENO: result: no" >&5
4297 echo "${ECHO_T}no" >&6
4298 fi
4299
4300
4301
4302 enablestring=enable
4303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4304 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4305 no_cache=0
4306 # Check whether --enable-compat24 or --disable-compat24 was given.
4307 if test "${enable_compat24+set}" = set; then
4308 enableval="$enable_compat24"
4309
4310 if test "$enableval" = yes; then
4311 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4312 else
4313 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4314 fi
4315
4316 else
4317
4318 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4319 if test "x$LINE" != x ; then
4320 eval "DEFAULT_$LINE"
4321 else
4322 no_cache=1
4323 fi
4324
4325 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4326
4327 fi;
4328
4329 eval "$ac_cv_use_compat24"
4330 if test "$no_cache" != 1; then
4331 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4332 fi
4333
4334 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4335 echo "$as_me:$LINENO: result: yes" >&5
4336 echo "${ECHO_T}yes" >&6
4337 else
4338 echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6
4340 fi
4341
4342
4343 enablestring=disable
4344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4345 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4346 no_cache=0
4347 # Check whether --enable-compat26 or --disable-compat26 was given.
4348 if test "${enable_compat26+set}" = set; then
4349 enableval="$enable_compat26"
4350
4351 if test "$enableval" = yes; then
4352 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4353 else
4354 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4355 fi
4356
4357 else
4358
4359 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x ; then
4361 eval "DEFAULT_$LINE"
4362 else
4363 no_cache=1
4364 fi
4365
4366 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4367
4368 fi;
4369
4370 eval "$ac_cv_use_compat26"
4371 if test "$no_cache" != 1; then
4372 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4373 fi
4374
4375 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4376 echo "$as_me:$LINENO: result: yes" >&5
4377 echo "${ECHO_T}yes" >&6
4378 else
4379 echo "$as_me:$LINENO: result: no" >&5
4380 echo "${ECHO_T}no" >&6
4381 fi
4382
4383
4384
4385 enablestring=
4386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4387 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4388 no_cache=0
4389 # Check whether --enable-rpath or --disable-rpath was given.
4390 if test "${enable_rpath+set}" = set; then
4391 enableval="$enable_rpath"
4392
4393 if test "$enableval" = yes; then
4394 ac_cv_use_rpath='wxUSE_RPATH=yes'
4395 else
4396 ac_cv_use_rpath='wxUSE_RPATH=no'
4397 fi
4398
4399 else
4400
4401 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4402 if test "x$LINE" != x ; then
4403 eval "DEFAULT_$LINE"
4404 else
4405 no_cache=1
4406 fi
4407
4408 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4409
4410 fi;
4411
4412 eval "$ac_cv_use_rpath"
4413 if test "$no_cache" != 1; then
4414 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4415 fi
4416
4417 if test "$wxUSE_RPATH" = yes; then
4418 echo "$as_me:$LINENO: result: yes" >&5
4419 echo "${ECHO_T}yes" >&6
4420 else
4421 echo "$as_me:$LINENO: result: no" >&5
4422 echo "${ECHO_T}no" >&6
4423 fi
4424
4425
4426
4427
4428
4429 enablestring=
4430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4431 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4432 no_cache=0
4433 # Check whether --enable-intl or --disable-intl was given.
4434 if test "${enable_intl+set}" = set; then
4435 enableval="$enable_intl"
4436
4437 if test "$enableval" = yes; then
4438 ac_cv_use_intl='wxUSE_INTL=yes'
4439 else
4440 ac_cv_use_intl='wxUSE_INTL=no'
4441 fi
4442
4443 else
4444
4445 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x ; then
4447 eval "DEFAULT_$LINE"
4448 else
4449 no_cache=1
4450 fi
4451
4452 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4453
4454 fi;
4455
4456 eval "$ac_cv_use_intl"
4457 if test "$no_cache" != 1; then
4458 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4459 fi
4460
4461 if test "$wxUSE_INTL" = yes; then
4462 echo "$as_me:$LINENO: result: yes" >&5
4463 echo "${ECHO_T}yes" >&6
4464 else
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4467 fi
4468
4469
4470 enablestring=
4471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4473 no_cache=0
4474 # Check whether --enable-config or --disable-config was given.
4475 if test "${enable_config+set}" = set; then
4476 enableval="$enable_config"
4477
4478 if test "$enableval" = yes; then
4479 ac_cv_use_config='wxUSE_CONFIG=yes'
4480 else
4481 ac_cv_use_config='wxUSE_CONFIG=no'
4482 fi
4483
4484 else
4485
4486 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x ; then
4488 eval "DEFAULT_$LINE"
4489 else
4490 no_cache=1
4491 fi
4492
4493 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4494
4495 fi;
4496
4497 eval "$ac_cv_use_config"
4498 if test "$no_cache" != 1; then
4499 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4500 fi
4501
4502 if test "$wxUSE_CONFIG" = yes; then
4503 echo "$as_me:$LINENO: result: yes" >&5
4504 echo "${ECHO_T}yes" >&6
4505 else
4506 echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6
4508 fi
4509
4510
4511
4512 enablestring=
4513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4515 no_cache=0
4516 # Check whether --enable-protocols or --disable-protocols was given.
4517 if test "${enable_protocols+set}" = set; then
4518 enableval="$enable_protocols"
4519
4520 if test "$enableval" = yes; then
4521 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4522 else
4523 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4524 fi
4525
4526 else
4527
4528 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4529 if test "x$LINE" != x ; then
4530 eval "DEFAULT_$LINE"
4531 else
4532 no_cache=1
4533 fi
4534
4535 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4536
4537 fi;
4538
4539 eval "$ac_cv_use_protocols"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4542 fi
4543
4544 if test "$wxUSE_PROTOCOL" = yes; then
4545 echo "$as_me:$LINENO: result: yes" >&5
4546 echo "${ECHO_T}yes" >&6
4547 else
4548 echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6
4550 fi
4551
4552
4553 enablestring=
4554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4556 no_cache=0
4557 # Check whether --enable-ftp or --disable-ftp was given.
4558 if test "${enable_ftp+set}" = set; then
4559 enableval="$enable_ftp"
4560
4561 if test "$enableval" = yes; then
4562 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4563 else
4564 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4565 fi
4566
4567 else
4568
4569 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x ; then
4571 eval "DEFAULT_$LINE"
4572 else
4573 no_cache=1
4574 fi
4575
4576 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4577
4578 fi;
4579
4580 eval "$ac_cv_use_ftp"
4581 if test "$no_cache" != 1; then
4582 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4583 fi
4584
4585 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4586 echo "$as_me:$LINENO: result: yes" >&5
4587 echo "${ECHO_T}yes" >&6
4588 else
4589 echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6
4591 fi
4592
4593
4594 enablestring=
4595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4597 no_cache=0
4598 # Check whether --enable-http or --disable-http was given.
4599 if test "${enable_http+set}" = set; then
4600 enableval="$enable_http"
4601
4602 if test "$enableval" = yes; then
4603 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4604 else
4605 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4606 fi
4607
4608 else
4609
4610 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x ; then
4612 eval "DEFAULT_$LINE"
4613 else
4614 no_cache=1
4615 fi
4616
4617 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4618
4619 fi;
4620
4621 eval "$ac_cv_use_http"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4624 fi
4625
4626 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4627 echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4629 else
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4632 fi
4633
4634
4635 enablestring=
4636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4637 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4638 no_cache=0
4639 # Check whether --enable-fileproto or --disable-fileproto was given.
4640 if test "${enable_fileproto+set}" = set; then
4641 enableval="$enable_fileproto"
4642
4643 if test "$enableval" = yes; then
4644 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4645 else
4646 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4647 fi
4648
4649 else
4650
4651 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4652 if test "x$LINE" != x ; then
4653 eval "DEFAULT_$LINE"
4654 else
4655 no_cache=1
4656 fi
4657
4658 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4659
4660 fi;
4661
4662 eval "$ac_cv_use_fileproto"
4663 if test "$no_cache" != 1; then
4664 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4665 fi
4666
4667 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4668 echo "$as_me:$LINENO: result: yes" >&5
4669 echo "${ECHO_T}yes" >&6
4670 else
4671 echo "$as_me:$LINENO: result: no" >&5
4672 echo "${ECHO_T}no" >&6
4673 fi
4674
4675
4676 enablestring=
4677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4678 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4679 no_cache=0
4680 # Check whether --enable-sockets or --disable-sockets was given.
4681 if test "${enable_sockets+set}" = set; then
4682 enableval="$enable_sockets"
4683
4684 if test "$enableval" = yes; then
4685 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4686 else
4687 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4688 fi
4689
4690 else
4691
4692 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x ; then
4694 eval "DEFAULT_$LINE"
4695 else
4696 no_cache=1
4697 fi
4698
4699 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4700
4701 fi;
4702
4703 eval "$ac_cv_use_sockets"
4704 if test "$no_cache" != 1; then
4705 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4706 fi
4707
4708 if test "$wxUSE_SOCKETS" = yes; then
4709 echo "$as_me:$LINENO: result: yes" >&5
4710 echo "${ECHO_T}yes" >&6
4711 else
4712 echo "$as_me:$LINENO: result: no" >&5
4713 echo "${ECHO_T}no" >&6
4714 fi
4715
4716
4717 enablestring=
4718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4719 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4720 no_cache=0
4721 # Check whether --enable-ole or --disable-ole was given.
4722 if test "${enable_ole+set}" = set; then
4723 enableval="$enable_ole"
4724
4725 if test "$enableval" = yes; then
4726 ac_cv_use_ole='wxUSE_OLE=yes'
4727 else
4728 ac_cv_use_ole='wxUSE_OLE=no'
4729 fi
4730
4731 else
4732
4733 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4734 if test "x$LINE" != x ; then
4735 eval "DEFAULT_$LINE"
4736 else
4737 no_cache=1
4738 fi
4739
4740 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4741
4742 fi;
4743
4744 eval "$ac_cv_use_ole"
4745 if test "$no_cache" != 1; then
4746 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4747 fi
4748
4749 if test "$wxUSE_OLE" = yes; then
4750 echo "$as_me:$LINENO: result: yes" >&5
4751 echo "${ECHO_T}yes" >&6
4752 else
4753 echo "$as_me:$LINENO: result: no" >&5
4754 echo "${ECHO_T}no" >&6
4755 fi
4756
4757
4758 enablestring=
4759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4761 no_cache=0
4762 # Check whether --enable-dataobj or --disable-dataobj was given.
4763 if test "${enable_dataobj+set}" = set; then
4764 enableval="$enable_dataobj"
4765
4766 if test "$enableval" = yes; then
4767 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4768 else
4769 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4770 fi
4771
4772 else
4773
4774 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4775 if test "x$LINE" != x ; then
4776 eval "DEFAULT_$LINE"
4777 else
4778 no_cache=1
4779 fi
4780
4781 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4782
4783 fi;
4784
4785 eval "$ac_cv_use_dataobj"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4788 fi
4789
4790 if test "$wxUSE_DATAOBJ" = yes; then
4791 echo "$as_me:$LINENO: result: yes" >&5
4792 echo "${ECHO_T}yes" >&6
4793 else
4794 echo "$as_me:$LINENO: result: no" >&5
4795 echo "${ECHO_T}no" >&6
4796 fi
4797
4798
4799
4800 enablestring=
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4803 no_cache=0
4804 # Check whether --enable-ipc or --disable-ipc was given.
4805 if test "${enable_ipc+set}" = set; then
4806 enableval="$enable_ipc"
4807
4808 if test "$enableval" = yes; then
4809 ac_cv_use_ipc='wxUSE_IPC=yes'
4810 else
4811 ac_cv_use_ipc='wxUSE_IPC=no'
4812 fi
4813
4814 else
4815
4816 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4819 else
4820 no_cache=1
4821 fi
4822
4823 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4824
4825 fi;
4826
4827 eval "$ac_cv_use_ipc"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4830 fi
4831
4832 if test "$wxUSE_IPC" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4835 else
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4838 fi
4839
4840
4841
4842 enablestring=
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4845 no_cache=0
4846 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4847 if test "${enable_apple_ieee+set}" = set; then
4848 enableval="$enable_apple_ieee"
4849
4850 if test "$enableval" = yes; then
4851 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4852 else
4853 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4854 fi
4855
4856 else
4857
4858 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x ; then
4860 eval "DEFAULT_$LINE"
4861 else
4862 no_cache=1
4863 fi
4864
4865 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4866
4867 fi;
4868
4869 eval "$ac_cv_use_apple_ieee"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4872 fi
4873
4874 if test "$wxUSE_APPLE_IEEE" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6
4877 else
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4880 fi
4881
4882
4883 enablestring=
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4886 no_cache=0
4887 # Check whether --enable-arcstream or --disable-arcstream was given.
4888 if test "${enable_arcstream+set}" = set; then
4889 enableval="$enable_arcstream"
4890
4891 if test "$enableval" = yes; then
4892 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4893 else
4894 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4895 fi
4896
4897 else
4898
4899 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x ; then
4901 eval "DEFAULT_$LINE"
4902 else
4903 no_cache=1
4904 fi
4905
4906 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4907
4908 fi;
4909
4910 eval "$ac_cv_use_arcstream"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4913 fi
4914
4915 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6
4918 else
4919 echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6
4921 fi
4922
4923
4924 enablestring=
4925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4927 no_cache=0
4928 # Check whether --enable-backtrace or --disable-backtrace was given.
4929 if test "${enable_backtrace+set}" = set; then
4930 enableval="$enable_backtrace"
4931
4932 if test "$enableval" = yes; then
4933 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4934 else
4935 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4936 fi
4937
4938 else
4939
4940 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x ; then
4942 eval "DEFAULT_$LINE"
4943 else
4944 no_cache=1
4945 fi
4946
4947 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4948
4949 fi;
4950
4951 eval "$ac_cv_use_backtrace"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4954 fi
4955
4956 if test "$wxUSE_STACKWALKER" = yes; then
4957 echo "$as_me:$LINENO: result: yes" >&5
4958 echo "${ECHO_T}yes" >&6
4959 else
4960 echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6
4962 fi
4963
4964
4965 enablestring=
4966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4967 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4968 no_cache=0
4969 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4970 if test "${enable_catch_segvs+set}" = set; then
4971 enableval="$enable_catch_segvs"
4972
4973 if test "$enableval" = yes; then
4974 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4975 else
4976 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4977 fi
4978
4979 else
4980
4981 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x ; then
4983 eval "DEFAULT_$LINE"
4984 else
4985 no_cache=1
4986 fi
4987
4988 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4989
4990 fi;
4991
4992 eval "$ac_cv_use_catch_segvs"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4995 fi
4996
4997 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4998 echo "$as_me:$LINENO: result: yes" >&5
4999 echo "${ECHO_T}yes" >&6
5000 else
5001 echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6
5003 fi
5004
5005
5006 enablestring=
5007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5008 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5009 no_cache=0
5010 # Check whether --enable-cmdline or --disable-cmdline was given.
5011 if test "${enable_cmdline+set}" = set; then
5012 enableval="$enable_cmdline"
5013
5014 if test "$enableval" = yes; then
5015 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5016 else
5017 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5018 fi
5019
5020 else
5021
5022 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5023 if test "x$LINE" != x ; then
5024 eval "DEFAULT_$LINE"
5025 else
5026 no_cache=1
5027 fi
5028
5029 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5030
5031 fi;
5032
5033 eval "$ac_cv_use_cmdline"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5036 fi
5037
5038 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5039 echo "$as_me:$LINENO: result: yes" >&5
5040 echo "${ECHO_T}yes" >&6
5041 else
5042 echo "$as_me:$LINENO: result: no" >&5
5043 echo "${ECHO_T}no" >&6
5044 fi
5045
5046
5047 enablestring=
5048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5049 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5050 no_cache=0
5051 # Check whether --enable-datetime or --disable-datetime was given.
5052 if test "${enable_datetime+set}" = set; then
5053 enableval="$enable_datetime"
5054
5055 if test "$enableval" = yes; then
5056 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5057 else
5058 ac_cv_use_datetime='wxUSE_DATETIME=no'
5059 fi
5060
5061 else
5062
5063 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x ; then
5065 eval "DEFAULT_$LINE"
5066 else
5067 no_cache=1
5068 fi
5069
5070 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5071
5072 fi;
5073
5074 eval "$ac_cv_use_datetime"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5077 fi
5078
5079 if test "$wxUSE_DATETIME" = yes; then
5080 echo "$as_me:$LINENO: result: yes" >&5
5081 echo "${ECHO_T}yes" >&6
5082 else
5083 echo "$as_me:$LINENO: result: no" >&5
5084 echo "${ECHO_T}no" >&6
5085 fi
5086
5087
5088 enablestring=
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5091 no_cache=0
5092 # Check whether --enable-debugreport or --disable-debugreport was given.
5093 if test "${enable_debugreport+set}" = set; then
5094 enableval="$enable_debugreport"
5095
5096 if test "$enableval" = yes; then
5097 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5098 else
5099 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5100 fi
5101
5102 else
5103
5104 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x ; then
5106 eval "DEFAULT_$LINE"
5107 else
5108 no_cache=1
5109 fi
5110
5111 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5112
5113 fi;
5114
5115 eval "$ac_cv_use_debugreport"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5118 fi
5119
5120 if test "$wxUSE_DEBUGREPORT" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6
5123 else
5124 echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6
5126 fi
5127
5128
5129 enablestring=
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5132 no_cache=0
5133 # Check whether --enable-dialupman or --disable-dialupman was given.
5134 if test "${enable_dialupman+set}" = set; then
5135 enableval="$enable_dialupman"
5136
5137 if test "$enableval" = yes; then
5138 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5139 else
5140 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5141 fi
5142
5143 else
5144
5145 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x ; then
5147 eval "DEFAULT_$LINE"
5148 else
5149 no_cache=1
5150 fi
5151
5152 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5153
5154 fi;
5155
5156 eval "$ac_cv_use_dialupman"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5159 fi
5160
5161 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6
5164 else
5165 echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6
5167 fi
5168
5169
5170 enablestring=
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5173 no_cache=0
5174 # Check whether --enable-dynlib or --disable-dynlib was given.
5175 if test "${enable_dynlib+set}" = set; then
5176 enableval="$enable_dynlib"
5177
5178 if test "$enableval" = yes; then
5179 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5180 else
5181 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5182 fi
5183
5184 else
5185
5186 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x ; then
5188 eval "DEFAULT_$LINE"
5189 else
5190 no_cache=1
5191 fi
5192
5193 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5194
5195 fi;
5196
5197 eval "$ac_cv_use_dynlib"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5200 fi
5201
5202 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204 echo "${ECHO_T}yes" >&6
5205 else
5206 echo "$as_me:$LINENO: result: no" >&5
5207 echo "${ECHO_T}no" >&6
5208 fi
5209
5210
5211 enablestring=
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5214 no_cache=0
5215 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5216 if test "${enable_dynamicloader+set}" = set; then
5217 enableval="$enable_dynamicloader"
5218
5219 if test "$enableval" = yes; then
5220 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5221 else
5222 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5223 fi
5224
5225 else
5226
5227 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x ; then
5229 eval "DEFAULT_$LINE"
5230 else
5231 no_cache=1
5232 fi
5233
5234 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5235
5236 fi;
5237
5238 eval "$ac_cv_use_dynamicloader"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5241 fi
5242
5243 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245 echo "${ECHO_T}yes" >&6
5246 else
5247 echo "$as_me:$LINENO: result: no" >&5
5248 echo "${ECHO_T}no" >&6
5249 fi
5250
5251
5252 enablestring=
5253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5255 no_cache=0
5256 # Check whether --enable-exceptions or --disable-exceptions was given.
5257 if test "${enable_exceptions+set}" = set; then
5258 enableval="$enable_exceptions"
5259
5260 if test "$enableval" = yes; then
5261 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5262 else
5263 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5264 fi
5265
5266 else
5267
5268 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x ; then
5270 eval "DEFAULT_$LINE"
5271 else
5272 no_cache=1
5273 fi
5274
5275 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5276
5277 fi;
5278
5279 eval "$ac_cv_use_exceptions"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5282 fi
5283
5284 if test "$wxUSE_EXCEPTIONS" = yes; then
5285 echo "$as_me:$LINENO: result: yes" >&5
5286 echo "${ECHO_T}yes" >&6
5287 else
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5290 fi
5291
5292
5293 enablestring=
5294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5296 no_cache=0
5297 # Check whether --enable-ffile or --disable-ffile was given.
5298 if test "${enable_ffile+set}" = set; then
5299 enableval="$enable_ffile"
5300
5301 if test "$enableval" = yes; then
5302 ac_cv_use_ffile='wxUSE_FFILE=yes'
5303 else
5304 ac_cv_use_ffile='wxUSE_FFILE=no'
5305 fi
5306
5307 else
5308
5309 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x ; then
5311 eval "DEFAULT_$LINE"
5312 else
5313 no_cache=1
5314 fi
5315
5316 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5317
5318 fi;
5319
5320 eval "$ac_cv_use_ffile"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5323 fi
5324
5325 if test "$wxUSE_FFILE" = yes; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327 echo "${ECHO_T}yes" >&6
5328 else
5329 echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6
5331 fi
5332
5333
5334 enablestring=
5335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5337 no_cache=0
5338 # Check whether --enable-file or --disable-file was given.
5339 if test "${enable_file+set}" = set; then
5340 enableval="$enable_file"
5341
5342 if test "$enableval" = yes; then
5343 ac_cv_use_file='wxUSE_FILE=yes'
5344 else
5345 ac_cv_use_file='wxUSE_FILE=no'
5346 fi
5347
5348 else
5349
5350 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x ; then
5352 eval "DEFAULT_$LINE"
5353 else
5354 no_cache=1
5355 fi
5356
5357 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5358
5359 fi;
5360
5361 eval "$ac_cv_use_file"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5364 fi
5365
5366 if test "$wxUSE_FILE" = yes; then
5367 echo "$as_me:$LINENO: result: yes" >&5
5368 echo "${ECHO_T}yes" >&6
5369 else
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5372 fi
5373
5374
5375 enablestring=
5376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5378 no_cache=0
5379 # Check whether --enable-filesystem or --disable-filesystem was given.
5380 if test "${enable_filesystem+set}" = set; then
5381 enableval="$enable_filesystem"
5382
5383 if test "$enableval" = yes; then
5384 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5385 else
5386 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5387 fi
5388
5389 else
5390
5391 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x ; then
5393 eval "DEFAULT_$LINE"
5394 else
5395 no_cache=1
5396 fi
5397
5398 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5399
5400 fi;
5401
5402 eval "$ac_cv_use_filesystem"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5405 fi
5406
5407 if test "$wxUSE_FILESYSTEM" = yes; then
5408 echo "$as_me:$LINENO: result: yes" >&5
5409 echo "${ECHO_T}yes" >&6
5410 else
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5413 fi
5414
5415
5416 enablestring=
5417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5419 no_cache=0
5420 # Check whether --enable-fontmap or --disable-fontmap was given.
5421 if test "${enable_fontmap+set}" = set; then
5422 enableval="$enable_fontmap"
5423
5424 if test "$enableval" = yes; then
5425 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5426 else
5427 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5428 fi
5429
5430 else
5431
5432 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5433 if test "x$LINE" != x ; then
5434 eval "DEFAULT_$LINE"
5435 else
5436 no_cache=1
5437 fi
5438
5439 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5440
5441 fi;
5442
5443 eval "$ac_cv_use_fontmap"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5446 fi
5447
5448 if test "$wxUSE_FONTMAP" = yes; then
5449 echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6
5451 else
5452 echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6
5454 fi
5455
5456
5457 enablestring=
5458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5460 no_cache=0
5461 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5462 if test "${enable_fs_inet+set}" = set; then
5463 enableval="$enable_fs_inet"
5464
5465 if test "$enableval" = yes; then
5466 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5467 else
5468 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5469 fi
5470
5471 else
5472
5473 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5474 if test "x$LINE" != x ; then
5475 eval "DEFAULT_$LINE"
5476 else
5477 no_cache=1
5478 fi
5479
5480 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5481
5482 fi;
5483
5484 eval "$ac_cv_use_fs_inet"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5487 fi
5488
5489 if test "$wxUSE_FS_INET" = yes; then
5490 echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6
5492 else
5493 echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6
5495 fi
5496
5497
5498 enablestring=
5499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5501 no_cache=0
5502 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5503 if test "${enable_fs_zip+set}" = set; then
5504 enableval="$enable_fs_zip"
5505
5506 if test "$enableval" = yes; then
5507 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5508 else
5509 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5510 fi
5511
5512 else
5513
5514 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5515 if test "x$LINE" != x ; then
5516 eval "DEFAULT_$LINE"
5517 else
5518 no_cache=1
5519 fi
5520
5521 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5522
5523 fi;
5524
5525 eval "$ac_cv_use_fs_zip"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5528 fi
5529
5530 if test "$wxUSE_FS_ZIP" = yes; then
5531 echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6
5533 else
5534 echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6
5536 fi
5537
5538
5539 enablestring=
5540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5542 no_cache=0
5543 # Check whether --enable-geometry or --disable-geometry was given.
5544 if test "${enable_geometry+set}" = set; then
5545 enableval="$enable_geometry"
5546
5547 if test "$enableval" = yes; then
5548 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5549 else
5550 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5551 fi
5552
5553 else
5554
5555 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x ; then
5557 eval "DEFAULT_$LINE"
5558 else
5559 no_cache=1
5560 fi
5561
5562 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5563
5564 fi;
5565
5566 eval "$ac_cv_use_geometry"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5569 fi
5570
5571 if test "$wxUSE_GEOMETRY" = yes; then
5572 echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6
5574 else
5575 echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6
5577 fi
5578
5579
5580 enablestring=
5581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5583 no_cache=0
5584 # Check whether --enable-log or --disable-log was given.
5585 if test "${enable_log+set}" = set; then
5586 enableval="$enable_log"
5587
5588 if test "$enableval" = yes; then
5589 ac_cv_use_log='wxUSE_LOG=yes'
5590 else
5591 ac_cv_use_log='wxUSE_LOG=no'
5592 fi
5593
5594 else
5595
5596 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5597 if test "x$LINE" != x ; then
5598 eval "DEFAULT_$LINE"
5599 else
5600 no_cache=1
5601 fi
5602
5603 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5604
5605 fi;
5606
5607 eval "$ac_cv_use_log"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5610 fi
5611
5612 if test "$wxUSE_LOG" = yes; then
5613 echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6
5615 else
5616 echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6
5618 fi
5619
5620
5621 enablestring=
5622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5624 no_cache=0
5625 # Check whether --enable-longlong or --disable-longlong was given.
5626 if test "${enable_longlong+set}" = set; then
5627 enableval="$enable_longlong"
5628
5629 if test "$enableval" = yes; then
5630 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5631 else
5632 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5633 fi
5634
5635 else
5636
5637 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5638 if test "x$LINE" != x ; then
5639 eval "DEFAULT_$LINE"
5640 else
5641 no_cache=1
5642 fi
5643
5644 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5645
5646 fi;
5647
5648 eval "$ac_cv_use_longlong"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5651 fi
5652
5653 if test "$wxUSE_LONGLONG" = yes; then
5654 echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6
5656 else
5657 echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6
5659 fi
5660
5661
5662 enablestring=
5663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5665 no_cache=0
5666 # Check whether --enable-mimetype or --disable-mimetype was given.
5667 if test "${enable_mimetype+set}" = set; then
5668 enableval="$enable_mimetype"
5669
5670 if test "$enableval" = yes; then
5671 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5672 else
5673 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5674 fi
5675
5676 else
5677
5678 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5679 if test "x$LINE" != x ; then
5680 eval "DEFAULT_$LINE"
5681 else
5682 no_cache=1
5683 fi
5684
5685 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5686
5687 fi;
5688
5689 eval "$ac_cv_use_mimetype"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5692 fi
5693
5694 if test "$wxUSE_MIMETYPE" = yes; then
5695 echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6
5697 else
5698 echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6
5700 fi
5701
5702
5703 enablestring=
5704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5705 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5706 no_cache=0
5707 # Check whether --enable-mslu or --disable-mslu was given.
5708 if test "${enable_mslu+set}" = set; then
5709 enableval="$enable_mslu"
5710
5711 if test "$enableval" = yes; then
5712 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5713 else
5714 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5715 fi
5716
5717 else
5718
5719 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x ; then
5721 eval "DEFAULT_$LINE"
5722 else
5723 no_cache=1
5724 fi
5725
5726 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5727
5728 fi;
5729
5730 eval "$ac_cv_use_mslu"
5731 if test "$no_cache" != 1; then
5732 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5733 fi
5734
5735 if test "$wxUSE_UNICODE_MSLU" = yes; then
5736 echo "$as_me:$LINENO: result: yes" >&5
5737 echo "${ECHO_T}yes" >&6
5738 else
5739 echo "$as_me:$LINENO: result: no" >&5
5740 echo "${ECHO_T}no" >&6
5741 fi
5742
5743
5744 enablestring=
5745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5746 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5747 no_cache=0
5748 # Check whether --enable-snglinst or --disable-snglinst was given.
5749 if test "${enable_snglinst+set}" = set; then
5750 enableval="$enable_snglinst"
5751
5752 if test "$enableval" = yes; then
5753 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5754 else
5755 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5756 fi
5757
5758 else
5759
5760 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x ; then
5762 eval "DEFAULT_$LINE"
5763 else
5764 no_cache=1
5765 fi
5766
5767 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5768
5769 fi;
5770
5771 eval "$ac_cv_use_snglinst"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5774 fi
5775
5776 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5777 echo "$as_me:$LINENO: result: yes" >&5
5778 echo "${ECHO_T}yes" >&6
5779 else
5780 echo "$as_me:$LINENO: result: no" >&5
5781 echo "${ECHO_T}no" >&6
5782 fi
5783
5784
5785 enablestring=
5786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5787 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5788 no_cache=0
5789 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5790 if test "${enable_std_iostreams+set}" = set; then
5791 enableval="$enable_std_iostreams"
5792
5793 if test "$enableval" = yes; then
5794 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5795 else
5796 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5797 fi
5798
5799 else
5800
5801 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x ; then
5803 eval "DEFAULT_$LINE"
5804 else
5805 no_cache=1
5806 fi
5807
5808 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5809
5810 fi;
5811
5812 eval "$ac_cv_use_std_iostreams"
5813 if test "$no_cache" != 1; then
5814 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5815 fi
5816
5817 if test "$wxUSE_STD_IOSTREAM" = yes; then
5818 echo "$as_me:$LINENO: result: yes" >&5
5819 echo "${ECHO_T}yes" >&6
5820 else
5821 echo "$as_me:$LINENO: result: no" >&5
5822 echo "${ECHO_T}no" >&6
5823 fi
5824
5825
5826 enablestring=
5827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5828 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5829 no_cache=0
5830 # Check whether --enable-std_string or --disable-std_string was given.
5831 if test "${enable_std_string+set}" = set; then
5832 enableval="$enable_std_string"
5833
5834 if test "$enableval" = yes; then
5835 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5836 else
5837 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5838 fi
5839
5840 else
5841
5842 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x ; then
5844 eval "DEFAULT_$LINE"
5845 else
5846 no_cache=1
5847 fi
5848
5849 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5850
5851 fi;
5852
5853 eval "$ac_cv_use_std_string"
5854 if test "$no_cache" != 1; then
5855 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5856 fi
5857
5858 if test "$wxUSE_STD_STRING" = yes; then
5859 echo "$as_me:$LINENO: result: yes" >&5
5860 echo "${ECHO_T}yes" >&6
5861 else
5862 echo "$as_me:$LINENO: result: no" >&5
5863 echo "${ECHO_T}no" >&6
5864 fi
5865
5866
5867 enablestring=
5868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5869 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5870 no_cache=0
5871 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5872 if test "${enable_stdpaths+set}" = set; then
5873 enableval="$enable_stdpaths"
5874
5875 if test "$enableval" = yes; then
5876 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5877 else
5878 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5879 fi
5880
5881 else
5882
5883 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x ; then
5885 eval "DEFAULT_$LINE"
5886 else
5887 no_cache=1
5888 fi
5889
5890 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5891
5892 fi;
5893
5894 eval "$ac_cv_use_stdpaths"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5897 fi
5898
5899 if test "$wxUSE_STDPATHS" = yes; then
5900 echo "$as_me:$LINENO: result: yes" >&5
5901 echo "${ECHO_T}yes" >&6
5902 else
5903 echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6
5905 fi
5906
5907
5908 enablestring=
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5911 no_cache=0
5912 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5913 if test "${enable_stopwatch+set}" = set; then
5914 enableval="$enable_stopwatch"
5915
5916 if test "$enableval" = yes; then
5917 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5918 else
5919 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5920 fi
5921
5922 else
5923
5924 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x ; then
5926 eval "DEFAULT_$LINE"
5927 else
5928 no_cache=1
5929 fi
5930
5931 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5932
5933 fi;
5934
5935 eval "$ac_cv_use_stopwatch"
5936 if test "$no_cache" != 1; then
5937 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5938 fi
5939
5940 if test "$wxUSE_STOPWATCH" = yes; then
5941 echo "$as_me:$LINENO: result: yes" >&5
5942 echo "${ECHO_T}yes" >&6
5943 else
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5946 fi
5947
5948
5949 enablestring=
5950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5951 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5952 no_cache=0
5953 # Check whether --enable-streams or --disable-streams was given.
5954 if test "${enable_streams+set}" = set; then
5955 enableval="$enable_streams"
5956
5957 if test "$enableval" = yes; then
5958 ac_cv_use_streams='wxUSE_STREAMS=yes'
5959 else
5960 ac_cv_use_streams='wxUSE_STREAMS=no'
5961 fi
5962
5963 else
5964
5965 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x ; then
5967 eval "DEFAULT_$LINE"
5968 else
5969 no_cache=1
5970 fi
5971
5972 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5973
5974 fi;
5975
5976 eval "$ac_cv_use_streams"
5977 if test "$no_cache" != 1; then
5978 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5979 fi
5980
5981 if test "$wxUSE_STREAMS" = yes; then
5982 echo "$as_me:$LINENO: result: yes" >&5
5983 echo "${ECHO_T}yes" >&6
5984 else
5985 echo "$as_me:$LINENO: result: no" >&5
5986 echo "${ECHO_T}no" >&6
5987 fi
5988
5989
5990 enablestring=
5991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5992 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5993 no_cache=0
5994 # Check whether --enable-system_options or --disable-system_options was given.
5995 if test "${enable_system_options+set}" = set; then
5996 enableval="$enable_system_options"
5997
5998 if test "$enableval" = yes; then
5999 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6000 else
6001 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6002 fi
6003
6004 else
6005
6006 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x ; then
6008 eval "DEFAULT_$LINE"
6009 else
6010 no_cache=1
6011 fi
6012
6013 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6014
6015 fi;
6016
6017 eval "$ac_cv_use_system_options"
6018 if test "$no_cache" != 1; then
6019 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6020 fi
6021
6022 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6023 echo "$as_me:$LINENO: result: yes" >&5
6024 echo "${ECHO_T}yes" >&6
6025 else
6026 echo "$as_me:$LINENO: result: no" >&5
6027 echo "${ECHO_T}no" >&6
6028 fi
6029
6030
6031 enablestring=
6032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6033 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6034 no_cache=0
6035 # Check whether --enable-textbuf or --disable-textbuf was given.
6036 if test "${enable_textbuf+set}" = set; then
6037 enableval="$enable_textbuf"
6038
6039 if test "$enableval" = yes; then
6040 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6041 else
6042 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6043 fi
6044
6045 else
6046
6047 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x ; then
6049 eval "DEFAULT_$LINE"
6050 else
6051 no_cache=1
6052 fi
6053
6054 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6055
6056 fi;
6057
6058 eval "$ac_cv_use_textbuf"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6061 fi
6062
6063 if test "$wxUSE_TEXTBUFFER" = yes; then
6064 echo "$as_me:$LINENO: result: yes" >&5
6065 echo "${ECHO_T}yes" >&6
6066 else
6067 echo "$as_me:$LINENO: result: no" >&5
6068 echo "${ECHO_T}no" >&6
6069 fi
6070
6071
6072 enablestring=
6073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6075 no_cache=0
6076 # Check whether --enable-textfile or --disable-textfile was given.
6077 if test "${enable_textfile+set}" = set; then
6078 enableval="$enable_textfile"
6079
6080 if test "$enableval" = yes; then
6081 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6082 else
6083 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6084 fi
6085
6086 else
6087
6088 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x ; then
6090 eval "DEFAULT_$LINE"
6091 else
6092 no_cache=1
6093 fi
6094
6095 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6096
6097 fi;
6098
6099 eval "$ac_cv_use_textfile"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6102 fi
6103
6104 if test "$wxUSE_TEXTFILE" = yes; then
6105 echo "$as_me:$LINENO: result: yes" >&5
6106 echo "${ECHO_T}yes" >&6
6107 else
6108 echo "$as_me:$LINENO: result: no" >&5
6109 echo "${ECHO_T}no" >&6
6110 fi
6111
6112
6113 enablestring=
6114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6116 no_cache=0
6117 # Check whether --enable-timer or --disable-timer was given.
6118 if test "${enable_timer+set}" = set; then
6119 enableval="$enable_timer"
6120
6121 if test "$enableval" = yes; then
6122 ac_cv_use_timer='wxUSE_TIMER=yes'
6123 else
6124 ac_cv_use_timer='wxUSE_TIMER=no'
6125 fi
6126
6127 else
6128
6129 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6130 if test "x$LINE" != x ; then
6131 eval "DEFAULT_$LINE"
6132 else
6133 no_cache=1
6134 fi
6135
6136 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6137
6138 fi;
6139
6140 eval "$ac_cv_use_timer"
6141 if test "$no_cache" != 1; then
6142 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6143 fi
6144
6145 if test "$wxUSE_TIMER" = yes; then
6146 echo "$as_me:$LINENO: result: yes" >&5
6147 echo "${ECHO_T}yes" >&6
6148 else
6149 echo "$as_me:$LINENO: result: no" >&5
6150 echo "${ECHO_T}no" >&6
6151 fi
6152
6153
6154 enablestring=
6155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6156 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6157 no_cache=0
6158 # Check whether --enable-unicode or --disable-unicode was given.
6159 if test "${enable_unicode+set}" = set; then
6160 enableval="$enable_unicode"
6161
6162 if test "$enableval" = yes; then
6163 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6164 else
6165 ac_cv_use_unicode='wxUSE_UNICODE=no'
6166 fi
6167
6168 else
6169
6170 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x ; then
6172 eval "DEFAULT_$LINE"
6173 else
6174 no_cache=1
6175 fi
6176
6177 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6178
6179 fi;
6180
6181 eval "$ac_cv_use_unicode"
6182 if test "$no_cache" != 1; then
6183 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6184 fi
6185
6186 if test "$wxUSE_UNICODE" = yes; then
6187 echo "$as_me:$LINENO: result: yes" >&5
6188 echo "${ECHO_T}yes" >&6
6189 else
6190 echo "$as_me:$LINENO: result: no" >&5
6191 echo "${ECHO_T}no" >&6
6192 fi
6193
6194
6195 enablestring=
6196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6198 no_cache=0
6199 # Check whether --enable-sound or --disable-sound was given.
6200 if test "${enable_sound+set}" = set; then
6201 enableval="$enable_sound"
6202
6203 if test "$enableval" = yes; then
6204 ac_cv_use_sound='wxUSE_SOUND=yes'
6205 else
6206 ac_cv_use_sound='wxUSE_SOUND=no'
6207 fi
6208
6209 else
6210
6211 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x ; then
6213 eval "DEFAULT_$LINE"
6214 else
6215 no_cache=1
6216 fi
6217
6218 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6219
6220 fi;
6221
6222 eval "$ac_cv_use_sound"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6225 fi
6226
6227 if test "$wxUSE_SOUND" = yes; then
6228 echo "$as_me:$LINENO: result: yes" >&5
6229 echo "${ECHO_T}yes" >&6
6230 else
6231 echo "$as_me:$LINENO: result: no" >&5
6232 echo "${ECHO_T}no" >&6
6233 fi
6234
6235
6236 enablestring=
6237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6238 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6239 no_cache=0
6240 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6241 if test "${enable_mediactrl+set}" = set; then
6242 enableval="$enable_mediactrl"
6243
6244 if test "$enableval" = yes; then
6245 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6246 else
6247 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6248 fi
6249
6250 else
6251
6252 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x ; then
6254 eval "DEFAULT_$LINE"
6255 else
6256 no_cache=1
6257 fi
6258
6259 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6260
6261 fi;
6262
6263 eval "$ac_cv_use_mediactrl"
6264 if test "$no_cache" != 1; then
6265 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6266 fi
6267
6268 if test "$wxUSE_MEDIACTRL" = yes; then
6269 echo "$as_me:$LINENO: result: yes" >&5
6270 echo "${ECHO_T}yes" >&6
6271 else
6272 echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6
6274 fi
6275
6276
6277 enablestring=
6278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6280 no_cache=0
6281 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6282 if test "${enable_gstreamer8+set}" = set; then
6283 enableval="$enable_gstreamer8"
6284
6285 if test "$enableval" = yes; then
6286 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6287 else
6288 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6289 fi
6290
6291 else
6292
6293 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x ; then
6295 eval "DEFAULT_$LINE"
6296 else
6297 no_cache=1
6298 fi
6299
6300 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6301
6302 fi;
6303
6304 eval "$ac_cv_use_gstreamer8"
6305 if test "$no_cache" != 1; then
6306 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6307 fi
6308
6309 if test "$wxUSE_GSTREAMER8" = yes; then
6310 echo "$as_me:$LINENO: result: yes" >&5
6311 echo "${ECHO_T}yes" >&6
6312 else
6313 echo "$as_me:$LINENO: result: no" >&5
6314 echo "${ECHO_T}no" >&6
6315 fi
6316
6317
6318 enablestring=
6319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6320 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6321 no_cache=0
6322 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6323 if test "${enable_wxprintfv+set}" = set; then
6324 enableval="$enable_wxprintfv"
6325
6326 if test "$enableval" = yes; then
6327 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6328 else
6329 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6330 fi
6331
6332 else
6333
6334 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6335 if test "x$LINE" != x ; then
6336 eval "DEFAULT_$LINE"
6337 else
6338 no_cache=1
6339 fi
6340
6341 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6342
6343 fi;
6344
6345 eval "$ac_cv_use_wxprintfv"
6346 if test "$no_cache" != 1; then
6347 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6348 fi
6349
6350 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6351 echo "$as_me:$LINENO: result: yes" >&5
6352 echo "${ECHO_T}yes" >&6
6353 else
6354 echo "$as_me:$LINENO: result: no" >&5
6355 echo "${ECHO_T}no" >&6
6356 fi
6357
6358
6359 enablestring=
6360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6361 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6362 no_cache=0
6363 # Check whether --enable-zipstream or --disable-zipstream was given.
6364 if test "${enable_zipstream+set}" = set; then
6365 enableval="$enable_zipstream"
6366
6367 if test "$enableval" = yes; then
6368 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6369 else
6370 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6371 fi
6372
6373 else
6374
6375 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6376 if test "x$LINE" != x ; then
6377 eval "DEFAULT_$LINE"
6378 else
6379 no_cache=1
6380 fi
6381
6382 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6383
6384 fi;
6385
6386 eval "$ac_cv_use_zipstream"
6387 if test "$no_cache" != 1; then
6388 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6389 fi
6390
6391 if test "$wxUSE_ZIPSTREAM" = yes; then
6392 echo "$as_me:$LINENO: result: yes" >&5
6393 echo "${ECHO_T}yes" >&6
6394 else
6395 echo "$as_me:$LINENO: result: no" >&5
6396 echo "${ECHO_T}no" >&6
6397 fi
6398
6399
6400
6401 enablestring=
6402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6403 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6404 no_cache=0
6405 # Check whether --enable-url or --disable-url was given.
6406 if test "${enable_url+set}" = set; then
6407 enableval="$enable_url"
6408
6409 if test "$enableval" = yes; then
6410 ac_cv_use_url='wxUSE_URL=yes'
6411 else
6412 ac_cv_use_url='wxUSE_URL=no'
6413 fi
6414
6415 else
6416
6417 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x ; then
6419 eval "DEFAULT_$LINE"
6420 else
6421 no_cache=1
6422 fi
6423
6424 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6425
6426 fi;
6427
6428 eval "$ac_cv_use_url"
6429 if test "$no_cache" != 1; then
6430 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6431 fi
6432
6433 if test "$wxUSE_URL" = yes; then
6434 echo "$as_me:$LINENO: result: yes" >&5
6435 echo "${ECHO_T}yes" >&6
6436 else
6437 echo "$as_me:$LINENO: result: no" >&5
6438 echo "${ECHO_T}no" >&6
6439 fi
6440
6441
6442 enablestring=
6443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6444 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6445 no_cache=0
6446 # Check whether --enable-protocol or --disable-protocol was given.
6447 if test "${enable_protocol+set}" = set; then
6448 enableval="$enable_protocol"
6449
6450 if test "$enableval" = yes; then
6451 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6452 else
6453 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6454 fi
6455
6456 else
6457
6458 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x ; then
6460 eval "DEFAULT_$LINE"
6461 else
6462 no_cache=1
6463 fi
6464
6465 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6466
6467 fi;
6468
6469 eval "$ac_cv_use_protocol"
6470 if test "$no_cache" != 1; then
6471 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6472 fi
6473
6474 if test "$wxUSE_PROTOCOL" = yes; then
6475 echo "$as_me:$LINENO: result: yes" >&5
6476 echo "${ECHO_T}yes" >&6
6477 else
6478 echo "$as_me:$LINENO: result: no" >&5
6479 echo "${ECHO_T}no" >&6
6480 fi
6481
6482
6483 enablestring=
6484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6485 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6486 no_cache=0
6487 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6488 if test "${enable_protocol_http+set}" = set; then
6489 enableval="$enable_protocol_http"
6490
6491 if test "$enableval" = yes; then
6492 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6493 else
6494 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6495 fi
6496
6497 else
6498
6499 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x ; then
6501 eval "DEFAULT_$LINE"
6502 else
6503 no_cache=1
6504 fi
6505
6506 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6507
6508 fi;
6509
6510 eval "$ac_cv_use_protocol_http"
6511 if test "$no_cache" != 1; then
6512 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6513 fi
6514
6515 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6516 echo "$as_me:$LINENO: result: yes" >&5
6517 echo "${ECHO_T}yes" >&6
6518 else
6519 echo "$as_me:$LINENO: result: no" >&5
6520 echo "${ECHO_T}no" >&6
6521 fi
6522
6523
6524 enablestring=
6525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6526 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6527 no_cache=0
6528 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6529 if test "${enable_protocol_ftp+set}" = set; then
6530 enableval="$enable_protocol_ftp"
6531
6532 if test "$enableval" = yes; then
6533 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6534 else
6535 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6536 fi
6537
6538 else
6539
6540 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6541 if test "x$LINE" != x ; then
6542 eval "DEFAULT_$LINE"
6543 else
6544 no_cache=1
6545 fi
6546
6547 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6548
6549 fi;
6550
6551 eval "$ac_cv_use_protocol_ftp"
6552 if test "$no_cache" != 1; then
6553 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6554 fi
6555
6556 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6557 echo "$as_me:$LINENO: result: yes" >&5
6558 echo "${ECHO_T}yes" >&6
6559 else
6560 echo "$as_me:$LINENO: result: no" >&5
6561 echo "${ECHO_T}no" >&6
6562 fi
6563
6564
6565 enablestring=
6566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6567 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6568 no_cache=0
6569 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6570 if test "${enable_protocol_file+set}" = set; then
6571 enableval="$enable_protocol_file"
6572
6573 if test "$enableval" = yes; then
6574 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6575 else
6576 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6577 fi
6578
6579 else
6580
6581 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x ; then
6583 eval "DEFAULT_$LINE"
6584 else
6585 no_cache=1
6586 fi
6587
6588 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6589
6590 fi;
6591
6592 eval "$ac_cv_use_protocol_file"
6593 if test "$no_cache" != 1; then
6594 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6595 fi
6596
6597 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6598 echo "$as_me:$LINENO: result: yes" >&5
6599 echo "${ECHO_T}yes" >&6
6600 else
6601 echo "$as_me:$LINENO: result: no" >&5
6602 echo "${ECHO_T}no" >&6
6603 fi
6604
6605
6606
6607
6608
6609 enablestring=
6610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6611 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6612 no_cache=0
6613 # Check whether --enable-threads or --disable-threads was given.
6614 if test "${enable_threads+set}" = set; then
6615 enableval="$enable_threads"
6616
6617 if test "$enableval" = yes; then
6618 ac_cv_use_threads='wxUSE_THREADS=yes'
6619 else
6620 ac_cv_use_threads='wxUSE_THREADS=no'
6621 fi
6622
6623 else
6624
6625 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6626 if test "x$LINE" != x ; then
6627 eval "DEFAULT_$LINE"
6628 else
6629 no_cache=1
6630 fi
6631
6632 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6633
6634 fi;
6635
6636 eval "$ac_cv_use_threads"
6637 if test "$no_cache" != 1; then
6638 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6639 fi
6640
6641 if test "$wxUSE_THREADS" = yes; then
6642 echo "$as_me:$LINENO: result: yes" >&5
6643 echo "${ECHO_T}yes" >&6
6644 else
6645 echo "$as_me:$LINENO: result: no" >&5
6646 echo "${ECHO_T}no" >&6
6647 fi
6648
6649
6650 if test "$wxUSE_GUI" = "yes"; then
6651
6652
6653
6654 enablestring=
6655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6656 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6657 no_cache=0
6658 # Check whether --enable-docview or --disable-docview was given.
6659 if test "${enable_docview+set}" = set; then
6660 enableval="$enable_docview"
6661
6662 if test "$enableval" = yes; then
6663 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6664 else
6665 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6666 fi
6667
6668 else
6669
6670 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6671 if test "x$LINE" != x ; then
6672 eval "DEFAULT_$LINE"
6673 else
6674 no_cache=1
6675 fi
6676
6677 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6678
6679 fi;
6680
6681 eval "$ac_cv_use_docview"
6682 if test "$no_cache" != 1; then
6683 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6684 fi
6685
6686 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6687 echo "$as_me:$LINENO: result: yes" >&5
6688 echo "${ECHO_T}yes" >&6
6689 else
6690 echo "$as_me:$LINENO: result: no" >&5
6691 echo "${ECHO_T}no" >&6
6692 fi
6693
6694
6695 enablestring=
6696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6697 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6698 no_cache=0
6699 # Check whether --enable-help or --disable-help was given.
6700 if test "${enable_help+set}" = set; then
6701 enableval="$enable_help"
6702
6703 if test "$enableval" = yes; then
6704 ac_cv_use_help='wxUSE_HELP=yes'
6705 else
6706 ac_cv_use_help='wxUSE_HELP=no'
6707 fi
6708
6709 else
6710
6711 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6712 if test "x$LINE" != x ; then
6713 eval "DEFAULT_$LINE"
6714 else
6715 no_cache=1
6716 fi
6717
6718 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6719
6720 fi;
6721
6722 eval "$ac_cv_use_help"
6723 if test "$no_cache" != 1; then
6724 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6725 fi
6726
6727 if test "$wxUSE_HELP" = yes; then
6728 echo "$as_me:$LINENO: result: yes" >&5
6729 echo "${ECHO_T}yes" >&6
6730 else
6731 echo "$as_me:$LINENO: result: no" >&5
6732 echo "${ECHO_T}no" >&6
6733 fi
6734
6735
6736 enablestring=
6737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6738 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6739 no_cache=0
6740 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6741 if test "${enable_mshtmlhelp+set}" = set; then
6742 enableval="$enable_mshtmlhelp"
6743
6744 if test "$enableval" = yes; then
6745 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6746 else
6747 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6748 fi
6749
6750 else
6751
6752 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x ; then
6754 eval "DEFAULT_$LINE"
6755 else
6756 no_cache=1
6757 fi
6758
6759 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6760
6761 fi;
6762
6763 eval "$ac_cv_use_mshtmlhelp"
6764 if test "$no_cache" != 1; then
6765 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6766 fi
6767
6768 if test "$wxUSE_MS_HTML_HELP" = yes; then
6769 echo "$as_me:$LINENO: result: yes" >&5
6770 echo "${ECHO_T}yes" >&6
6771 else
6772 echo "$as_me:$LINENO: result: no" >&5
6773 echo "${ECHO_T}no" >&6
6774 fi
6775
6776
6777 enablestring=
6778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6779 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6780 no_cache=0
6781 # Check whether --enable-html or --disable-html was given.
6782 if test "${enable_html+set}" = set; then
6783 enableval="$enable_html"
6784
6785 if test "$enableval" = yes; then
6786 ac_cv_use_html='wxUSE_HTML=yes'
6787 else
6788 ac_cv_use_html='wxUSE_HTML=no'
6789 fi
6790
6791 else
6792
6793 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6794 if test "x$LINE" != x ; then
6795 eval "DEFAULT_$LINE"
6796 else
6797 no_cache=1
6798 fi
6799
6800 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6801
6802 fi;
6803
6804 eval "$ac_cv_use_html"
6805 if test "$no_cache" != 1; then
6806 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6807 fi
6808
6809 if test "$wxUSE_HTML" = yes; then
6810 echo "$as_me:$LINENO: result: yes" >&5
6811 echo "${ECHO_T}yes" >&6
6812 else
6813 echo "$as_me:$LINENO: result: no" >&5
6814 echo "${ECHO_T}no" >&6
6815 fi
6816
6817
6818 enablestring=
6819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6820 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6821 no_cache=0
6822 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6823 if test "${enable_htmlhelp+set}" = set; then
6824 enableval="$enable_htmlhelp"
6825
6826 if test "$enableval" = yes; then
6827 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6828 else
6829 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6830 fi
6831
6832 else
6833
6834 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6835 if test "x$LINE" != x ; then
6836 eval "DEFAULT_$LINE"
6837 else
6838 no_cache=1
6839 fi
6840
6841 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6842
6843 fi;
6844
6845 eval "$ac_cv_use_htmlhelp"
6846 if test "$no_cache" != 1; then
6847 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6848 fi
6849
6850 if test "$wxUSE_WXHTML_HELP" = yes; then
6851 echo "$as_me:$LINENO: result: yes" >&5
6852 echo "${ECHO_T}yes" >&6
6853 else
6854 echo "$as_me:$LINENO: result: no" >&5
6855 echo "${ECHO_T}no" >&6
6856 fi
6857
6858
6859 enablestring=
6860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6862 no_cache=0
6863 # Check whether --enable-xrc or --disable-xrc was given.
6864 if test "${enable_xrc+set}" = set; then
6865 enableval="$enable_xrc"
6866
6867 if test "$enableval" = yes; then
6868 ac_cv_use_xrc='wxUSE_XRC=yes'
6869 else
6870 ac_cv_use_xrc='wxUSE_XRC=no'
6871 fi
6872
6873 else
6874
6875 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6876 if test "x$LINE" != x ; then
6877 eval "DEFAULT_$LINE"
6878 else
6879 no_cache=1
6880 fi
6881
6882 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6883
6884 fi;
6885
6886 eval "$ac_cv_use_xrc"
6887 if test "$no_cache" != 1; then
6888 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6889 fi
6890
6891 if test "$wxUSE_XRC" = yes; then
6892 echo "$as_me:$LINENO: result: yes" >&5
6893 echo "${ECHO_T}yes" >&6
6894 else
6895 echo "$as_me:$LINENO: result: no" >&5
6896 echo "${ECHO_T}no" >&6
6897 fi
6898
6899
6900 enablestring=
6901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
6902 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
6903 no_cache=0
6904 # Check whether --enable-aui or --disable-aui was given.
6905 if test "${enable_aui+set}" = set; then
6906 enableval="$enable_aui"
6907
6908 if test "$enableval" = yes; then
6909 ac_cv_use_aui='wxUSE_AUI=yes'
6910 else
6911 ac_cv_use_aui='wxUSE_AUI=no'
6912 fi
6913
6914 else
6915
6916 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
6917 if test "x$LINE" != x ; then
6918 eval "DEFAULT_$LINE"
6919 else
6920 no_cache=1
6921 fi
6922
6923 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
6924
6925 fi;
6926
6927 eval "$ac_cv_use_aui"
6928 if test "$no_cache" != 1; then
6929 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
6930 fi
6931
6932 if test "$wxUSE_AUI" = yes; then
6933 echo "$as_me:$LINENO: result: yes" >&5
6934 echo "${ECHO_T}yes" >&6
6935 else
6936 echo "$as_me:$LINENO: result: no" >&5
6937 echo "${ECHO_T}no" >&6
6938 fi
6939
6940
6941 enablestring=
6942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6944 no_cache=0
6945 # Check whether --enable-constraints or --disable-constraints was given.
6946 if test "${enable_constraints+set}" = set; then
6947 enableval="$enable_constraints"
6948
6949 if test "$enableval" = yes; then
6950 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6951 else
6952 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6953 fi
6954
6955 else
6956
6957 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x ; then
6959 eval "DEFAULT_$LINE"
6960 else
6961 no_cache=1
6962 fi
6963
6964 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6965
6966 fi;
6967
6968 eval "$ac_cv_use_constraints"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6971 fi
6972
6973 if test "$wxUSE_CONSTRAINTS" = yes; then
6974 echo "$as_me:$LINENO: result: yes" >&5
6975 echo "${ECHO_T}yes" >&6
6976 else
6977 echo "$as_me:$LINENO: result: no" >&5
6978 echo "${ECHO_T}no" >&6
6979 fi
6980
6981
6982 enablestring=
6983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6984 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6985 no_cache=0
6986 # Check whether --enable-printarch or --disable-printarch was given.
6987 if test "${enable_printarch+set}" = set; then
6988 enableval="$enable_printarch"
6989
6990 if test "$enableval" = yes; then
6991 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6992 else
6993 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6994 fi
6995
6996 else
6997
6998 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6999 if test "x$LINE" != x ; then
7000 eval "DEFAULT_$LINE"
7001 else
7002 no_cache=1
7003 fi
7004
7005 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7006
7007 fi;
7008
7009 eval "$ac_cv_use_printarch"
7010 if test "$no_cache" != 1; then
7011 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7012 fi
7013
7014 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7015 echo "$as_me:$LINENO: result: yes" >&5
7016 echo "${ECHO_T}yes" >&6
7017 else
7018 echo "$as_me:$LINENO: result: no" >&5
7019 echo "${ECHO_T}no" >&6
7020 fi
7021
7022
7023 enablestring=
7024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7025 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7026 no_cache=0
7027 # Check whether --enable-mdi or --disable-mdi was given.
7028 if test "${enable_mdi+set}" = set; then
7029 enableval="$enable_mdi"
7030
7031 if test "$enableval" = yes; then
7032 ac_cv_use_mdi='wxUSE_MDI=yes'
7033 else
7034 ac_cv_use_mdi='wxUSE_MDI=no'
7035 fi
7036
7037 else
7038
7039 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7040 if test "x$LINE" != x ; then
7041 eval "DEFAULT_$LINE"
7042 else
7043 no_cache=1
7044 fi
7045
7046 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7047
7048 fi;
7049
7050 eval "$ac_cv_use_mdi"
7051 if test "$no_cache" != 1; then
7052 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7053 fi
7054
7055 if test "$wxUSE_MDI" = yes; then
7056 echo "$as_me:$LINENO: result: yes" >&5
7057 echo "${ECHO_T}yes" >&6
7058 else
7059 echo "$as_me:$LINENO: result: no" >&5
7060 echo "${ECHO_T}no" >&6
7061 fi
7062
7063
7064 enablestring=
7065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7066 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7067 no_cache=0
7068 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7069 if test "${enable_mdidoc+set}" = set; then
7070 enableval="$enable_mdidoc"
7071
7072 if test "$enableval" = yes; then
7073 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7074 else
7075 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7076 fi
7077
7078 else
7079
7080 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7081 if test "x$LINE" != x ; then
7082 eval "DEFAULT_$LINE"
7083 else
7084 no_cache=1
7085 fi
7086
7087 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7088
7089 fi;
7090
7091 eval "$ac_cv_use_mdidoc"
7092 if test "$no_cache" != 1; then
7093 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7094 fi
7095
7096 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7097 echo "$as_me:$LINENO: result: yes" >&5
7098 echo "${ECHO_T}yes" >&6
7099 else
7100 echo "$as_me:$LINENO: result: no" >&5
7101 echo "${ECHO_T}no" >&6
7102 fi
7103
7104
7105 enablestring=
7106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7107 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7108 no_cache=0
7109 # Check whether --enable-loggui or --disable-loggui was given.
7110 if test "${enable_loggui+set}" = set; then
7111 enableval="$enable_loggui"
7112
7113 if test "$enableval" = yes; then
7114 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7115 else
7116 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7117 fi
7118
7119 else
7120
7121 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7122 if test "x$LINE" != x ; then
7123 eval "DEFAULT_$LINE"
7124 else
7125 no_cache=1
7126 fi
7127
7128 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7129
7130 fi;
7131
7132 eval "$ac_cv_use_loggui"
7133 if test "$no_cache" != 1; then
7134 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7135 fi
7136
7137 if test "$wxUSE_LOGGUI" = yes; then
7138 echo "$as_me:$LINENO: result: yes" >&5
7139 echo "${ECHO_T}yes" >&6
7140 else
7141 echo "$as_me:$LINENO: result: no" >&5
7142 echo "${ECHO_T}no" >&6
7143 fi
7144
7145
7146 enablestring=
7147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7148 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7149 no_cache=0
7150 # Check whether --enable-logwin or --disable-logwin was given.
7151 if test "${enable_logwin+set}" = set; then
7152 enableval="$enable_logwin"
7153
7154 if test "$enableval" = yes; then
7155 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7156 else
7157 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7158 fi
7159
7160 else
7161
7162 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7163 if test "x$LINE" != x ; then
7164 eval "DEFAULT_$LINE"
7165 else
7166 no_cache=1
7167 fi
7168
7169 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7170
7171 fi;
7172
7173 eval "$ac_cv_use_logwin"
7174 if test "$no_cache" != 1; then
7175 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7176 fi
7177
7178 if test "$wxUSE_LOGWINDOW" = yes; then
7179 echo "$as_me:$LINENO: result: yes" >&5
7180 echo "${ECHO_T}yes" >&6
7181 else
7182 echo "$as_me:$LINENO: result: no" >&5
7183 echo "${ECHO_T}no" >&6
7184 fi
7185
7186
7187 enablestring=
7188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7189 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7190 no_cache=0
7191 # Check whether --enable-logdialog or --disable-logdialog was given.
7192 if test "${enable_logdialog+set}" = set; then
7193 enableval="$enable_logdialog"
7194
7195 if test "$enableval" = yes; then
7196 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7197 else
7198 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7199 fi
7200
7201 else
7202
7203 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7204 if test "x$LINE" != x ; then
7205 eval "DEFAULT_$LINE"
7206 else
7207 no_cache=1
7208 fi
7209
7210 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7211
7212 fi;
7213
7214 eval "$ac_cv_use_logdialog"
7215 if test "$no_cache" != 1; then
7216 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7217 fi
7218
7219 if test "$wxUSE_LOGDIALOG" = yes; then
7220 echo "$as_me:$LINENO: result: yes" >&5
7221 echo "${ECHO_T}yes" >&6
7222 else
7223 echo "$as_me:$LINENO: result: no" >&5
7224 echo "${ECHO_T}no" >&6
7225 fi
7226
7227
7228 enablestring=
7229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7230 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7231 no_cache=0
7232 # Check whether --enable-webkit or --disable-webkit was given.
7233 if test "${enable_webkit+set}" = set; then
7234 enableval="$enable_webkit"
7235
7236 if test "$enableval" = yes; then
7237 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7238 else
7239 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7240 fi
7241
7242 else
7243
7244 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7245 if test "x$LINE" != x ; then
7246 eval "DEFAULT_$LINE"
7247 else
7248 no_cache=1
7249 fi
7250
7251 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7252
7253 fi;
7254
7255 eval "$ac_cv_use_webkit"
7256 if test "$no_cache" != 1; then
7257 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7258 fi
7259
7260 if test "$wxUSE_WEBKIT" = yes; then
7261 echo "$as_me:$LINENO: result: yes" >&5
7262 echo "${ECHO_T}yes" >&6
7263 else
7264 echo "$as_me:$LINENO: result: no" >&5
7265 echo "${ECHO_T}no" >&6
7266 fi
7267
7268
7269 enablestring=
7270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7271 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7272 no_cache=0
7273 # Check whether --enable-html or --disable-html was given.
7274 if test "${enable_html+set}" = set; then
7275 enableval="$enable_html"
7276
7277 if test "$enableval" = yes; then
7278 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7279 else
7280 ac_cv_use_html='wxUSE_RICHTEXT=no'
7281 fi
7282
7283 else
7284
7285 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7286 if test "x$LINE" != x ; then
7287 eval "DEFAULT_$LINE"
7288 else
7289 no_cache=1
7290 fi
7291
7292 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7293
7294 fi;
7295
7296 eval "$ac_cv_use_html"
7297 if test "$no_cache" != 1; then
7298 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7299 fi
7300
7301 if test "$wxUSE_RICHTEXT" = yes; then
7302 echo "$as_me:$LINENO: result: yes" >&5
7303 echo "${ECHO_T}yes" >&6
7304 else
7305 echo "$as_me:$LINENO: result: no" >&5
7306 echo "${ECHO_T}no" >&6
7307 fi
7308
7309
7310
7311 enablestring=
7312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7313 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7314 no_cache=0
7315 # Check whether --enable-postscript or --disable-postscript was given.
7316 if test "${enable_postscript+set}" = set; then
7317 enableval="$enable_postscript"
7318
7319 if test "$enableval" = yes; then
7320 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7321 else
7322 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7323 fi
7324
7325 else
7326
7327 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7328 if test "x$LINE" != x ; then
7329 eval "DEFAULT_$LINE"
7330 else
7331 no_cache=1
7332 fi
7333
7334 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7335
7336 fi;
7337
7338 eval "$ac_cv_use_postscript"
7339 if test "$no_cache" != 1; then
7340 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7341 fi
7342
7343 if test "$wxUSE_POSTSCRIPT" = yes; then
7344 echo "$as_me:$LINENO: result: yes" >&5
7345 echo "${ECHO_T}yes" >&6
7346 else
7347 echo "$as_me:$LINENO: result: no" >&5
7348 echo "${ECHO_T}no" >&6
7349 fi
7350
7351
7352
7353
7354
7355 enablestring=
7356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7357 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7358 no_cache=0
7359 # Check whether --enable-prologio or --disable-prologio was given.
7360 if test "${enable_prologio+set}" = set; then
7361 enableval="$enable_prologio"
7362
7363 if test "$enableval" = yes; then
7364 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7365 else
7366 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7367 fi
7368
7369 else
7370
7371 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7372 if test "x$LINE" != x ; then
7373 eval "DEFAULT_$LINE"
7374 else
7375 no_cache=1
7376 fi
7377
7378 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7379
7380 fi;
7381
7382 eval "$ac_cv_use_prologio"
7383 if test "$no_cache" != 1; then
7384 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7385 fi
7386
7387 if test "$wxUSE_PROLOGIO" = yes; then
7388 echo "$as_me:$LINENO: result: yes" >&5
7389 echo "${ECHO_T}yes" >&6
7390 else
7391 echo "$as_me:$LINENO: result: no" >&5
7392 echo "${ECHO_T}no" >&6
7393 fi
7394
7395
7396 enablestring=
7397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7398 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7399 no_cache=0
7400 # Check whether --enable-resources or --disable-resources was given.
7401 if test "${enable_resources+set}" = set; then
7402 enableval="$enable_resources"
7403
7404 if test "$enableval" = yes; then
7405 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7406 else
7407 ac_cv_use_resources='wxUSE_RESOURCES=no'
7408 fi
7409
7410 else
7411
7412 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7413 if test "x$LINE" != x ; then
7414 eval "DEFAULT_$LINE"
7415 else
7416 no_cache=1
7417 fi
7418
7419 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7420
7421 fi;
7422
7423 eval "$ac_cv_use_resources"
7424 if test "$no_cache" != 1; then
7425 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7426 fi
7427
7428 if test "$wxUSE_RESOURCES" = yes; then
7429 echo "$as_me:$LINENO: result: yes" >&5
7430 echo "${ECHO_T}yes" >&6
7431 else
7432 echo "$as_me:$LINENO: result: no" >&5
7433 echo "${ECHO_T}no" >&6
7434 fi
7435
7436
7437
7438
7439 enablestring=
7440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7442 no_cache=0
7443 # Check whether --enable-clipboard or --disable-clipboard was given.
7444 if test "${enable_clipboard+set}" = set; then
7445 enableval="$enable_clipboard"
7446
7447 if test "$enableval" = yes; then
7448 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7449 else
7450 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7451 fi
7452
7453 else
7454
7455 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x ; then
7457 eval "DEFAULT_$LINE"
7458 else
7459 no_cache=1
7460 fi
7461
7462 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7463
7464 fi;
7465
7466 eval "$ac_cv_use_clipboard"
7467 if test "$no_cache" != 1; then
7468 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7469 fi
7470
7471 if test "$wxUSE_CLIPBOARD" = yes; then
7472 echo "$as_me:$LINENO: result: yes" >&5
7473 echo "${ECHO_T}yes" >&6
7474 else
7475 echo "$as_me:$LINENO: result: no" >&5
7476 echo "${ECHO_T}no" >&6
7477 fi
7478
7479
7480 enablestring=
7481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7483 no_cache=0
7484 # Check whether --enable-dnd or --disable-dnd was given.
7485 if test "${enable_dnd+set}" = set; then
7486 enableval="$enable_dnd"
7487
7488 if test "$enableval" = yes; then
7489 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7490 else
7491 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7492 fi
7493
7494 else
7495
7496 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7497 if test "x$LINE" != x ; then
7498 eval "DEFAULT_$LINE"
7499 else
7500 no_cache=1
7501 fi
7502
7503 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7504
7505 fi;
7506
7507 eval "$ac_cv_use_dnd"
7508 if test "$no_cache" != 1; then
7509 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7510 fi
7511
7512 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7513 echo "$as_me:$LINENO: result: yes" >&5
7514 echo "${ECHO_T}yes" >&6
7515 else
7516 echo "$as_me:$LINENO: result: no" >&5
7517 echo "${ECHO_T}no" >&6
7518 fi
7519
7520
7521 enablestring=
7522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7523 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7524 no_cache=0
7525 # Check whether --enable-metafile or --disable-metafile was given.
7526 if test "${enable_metafile+set}" = set; then
7527 enableval="$enable_metafile"
7528
7529 if test "$enableval" = yes; then
7530 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7531 else
7532 ac_cv_use_metafile='wxUSE_METAFILE=no'
7533 fi
7534
7535 else
7536
7537 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x ; then
7539 eval "DEFAULT_$LINE"
7540 else
7541 no_cache=1
7542 fi
7543
7544 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7545
7546 fi;
7547
7548 eval "$ac_cv_use_metafile"
7549 if test "$no_cache" != 1; then
7550 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7551 fi
7552
7553 if test "$wxUSE_METAFILE" = yes; then
7554 echo "$as_me:$LINENO: result: yes" >&5
7555 echo "${ECHO_T}yes" >&6
7556 else
7557 echo "$as_me:$LINENO: result: no" >&5
7558 echo "${ECHO_T}no" >&6
7559 fi
7560
7561
7562
7563
7564
7565 enablestring=
7566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7567 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7568 no_cache=0
7569 # Check whether --enable-controls or --disable-controls was given.
7570 if test "${enable_controls+set}" = set; then
7571 enableval="$enable_controls"
7572
7573 if test "$enableval" = yes; then
7574 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7575 else
7576 ac_cv_use_controls='wxUSE_CONTROLS=no'
7577 fi
7578
7579 else
7580
7581 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7582 if test "x$LINE" != x ; then
7583 eval "DEFAULT_$LINE"
7584 else
7585 no_cache=1
7586 fi
7587
7588 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7589
7590 fi;
7591
7592 eval "$ac_cv_use_controls"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7595 fi
7596
7597 if test "$wxUSE_CONTROLS" = yes; then
7598 echo "$as_me:$LINENO: result: yes" >&5
7599 echo "${ECHO_T}yes" >&6
7600 else
7601 echo "$as_me:$LINENO: result: no" >&5
7602 echo "${ECHO_T}no" >&6
7603 fi
7604
7605
7606 if test "$wxUSE_CONTROLS" = "yes"; then
7607 DEFAULT_wxUSE_ACCEL=yes
7608 DEFAULT_wxUSE_BMPBUTTON=yes
7609 DEFAULT_wxUSE_BUTTON=yes
7610 DEFAULT_wxUSE_CALCTRL=yes
7611 DEFAULT_wxUSE_CARET=yes
7612 DEFAULT_wxUSE_COMBOBOX=yes
7613 DEFAULT_wxUSE_CHECKBOX=yes
7614 DEFAULT_wxUSE_CHECKLISTBOX=yes
7615 DEFAULT_wxUSE_CHOICE=yes
7616 DEFAULT_wxUSE_CHOICEBOOK=yes
7617 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7618 DEFAULT_wxUSE_COMBOBOX=yes
7619 DEFAULT_wxUSE_DATEPICKCTRL=yes
7620 DEFAULT_wxUSE_DISPLAY=yes
7621 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7622 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7623 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7624 DEFAULT_wxUSE_GAUGE=yes
7625 DEFAULT_wxUSE_GRID=yes
7626 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7627 DEFAULT_wxUSE_DATAVIEWCTRL=no
7628 DEFAULT_wxUSE_IMAGLIST=yes
7629 DEFAULT_wxUSE_LISTBOOK=yes
7630 DEFAULT_wxUSE_LISTBOX=yes
7631 DEFAULT_wxUSE_LISTCTRL=yes
7632 DEFAULT_wxUSE_NOTEBOOK=yes
7633 DEFAULT_wxUSE_RADIOBOX=yes
7634 DEFAULT_wxUSE_RADIOBTN=yes
7635 DEFAULT_wxUSE_SASH=yes
7636 DEFAULT_wxUSE_SCROLLBAR=yes
7637 DEFAULT_wxUSE_SLIDER=yes
7638 DEFAULT_wxUSE_SPINBTN=yes
7639 DEFAULT_wxUSE_SPINCTRL=yes
7640 DEFAULT_wxUSE_SPLITTER=yes
7641 DEFAULT_wxUSE_STATBMP=yes
7642 DEFAULT_wxUSE_STATBOX=yes
7643 DEFAULT_wxUSE_STATLINE=yes
7644 DEFAULT_wxUSE_STATUSBAR=yes
7645 DEFAULT_wxUSE_TAB_DIALOG=yes
7646 DEFAULT_wxUSE_TOGGLEBTN=yes
7647 DEFAULT_wxUSE_TOOLBAR=yes
7648 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7649 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7650 DEFAULT_wxUSE_TOOLTIPS=yes
7651 DEFAULT_wxUSE_TREEBOOK=yes
7652 DEFAULT_wxUSE_TOOLBOOK=yes
7653 DEFAULT_wxUSE_TREECTRL=yes
7654 DEFAULT_wxUSE_POPUPWIN=yes
7655 DEFAULT_wxUSE_TIPWINDOW=yes
7656 elif test "$wxUSE_CONTROLS" = "no"; then
7657 DEFAULT_wxUSE_ACCEL=no
7658 DEFAULT_wxUSE_BMPBUTTON=no
7659 DEFAULT_wxUSE_BUTTON=no
7660 DEFAULT_wxUSE_CALCTRL=no
7661 DEFAULT_wxUSE_CARET=no
7662 DEFAULT_wxUSE_COMBOBOX=no
7663 DEFAULT_wxUSE_CHECKBOX=no
7664 DEFAULT_wxUSE_CHECKLISTBOX=no
7665 DEFAULT_wxUSE_CHOICE=no
7666 DEFAULT_wxUSE_CHOICEBOOK=no
7667 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7668 DEFAULT_wxUSE_COMBOBOX=no
7669 DEFAULT_wxUSE_DATEPICKCTRL=no
7670 DEFAULT_wxUSE_DISPLAY=no
7671 DEFAULT_wxUSE_DIRPICKERCTRL=no
7672 DEFAULT_wxUSE_FILEPICKERCTRL=no
7673 DEFAULT_wxUSE_FONTPICKERCTRL=no
7674 DEFAULT_wxUSE_GAUGE=no
7675 DEFAULT_wxUSE_GRID=no
7676 DEFAULT_wxUSE_HYPERLINKCTRL=no
7677 DEFAULT_wxUSE_DATAVIEWCTRL=no
7678 DEFAULT_wxUSE_IMAGLIST=no
7679 DEFAULT_wxUSE_LISTBOOK=no
7680 DEFAULT_wxUSE_LISTBOX=no
7681 DEFAULT_wxUSE_LISTCTRL=no
7682 DEFAULT_wxUSE_NOTEBOOK=no
7683 DEFAULT_wxUSE_RADIOBOX=no
7684 DEFAULT_wxUSE_RADIOBTN=no
7685 DEFAULT_wxUSE_SASH=no
7686 DEFAULT_wxUSE_SCROLLBAR=no
7687 DEFAULT_wxUSE_SLIDER=no
7688 DEFAULT_wxUSE_SPINBTN=no
7689 DEFAULT_wxUSE_SPINCTRL=no
7690 DEFAULT_wxUSE_SPLITTER=no
7691 DEFAULT_wxUSE_STATBMP=no
7692 DEFAULT_wxUSE_STATBOX=no
7693 DEFAULT_wxUSE_STATLINE=no
7694 DEFAULT_wxUSE_STATUSBAR=no
7695 DEFAULT_wxUSE_TAB_DIALOG=no
7696 DEFAULT_wxUSE_TOGGLEBTN=no
7697 DEFAULT_wxUSE_TOOLBAR=no
7698 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7699 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7700 DEFAULT_wxUSE_TOOLTIPS=no
7701 DEFAULT_wxUSE_TREEBOOK=no
7702 DEFAULT_wxUSE_TOOLBOOK=no
7703 DEFAULT_wxUSE_TREECTRL=no
7704 DEFAULT_wxUSE_POPUPWIN=no
7705 DEFAULT_wxUSE_TIPWINDOW=no
7706 fi
7707
7708
7709 enablestring=
7710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7711 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7712 no_cache=0
7713 # Check whether --enable-accel or --disable-accel was given.
7714 if test "${enable_accel+set}" = set; then
7715 enableval="$enable_accel"
7716
7717 if test "$enableval" = yes; then
7718 ac_cv_use_accel='wxUSE_ACCEL=yes'
7719 else
7720 ac_cv_use_accel='wxUSE_ACCEL=no'
7721 fi
7722
7723 else
7724
7725 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7726 if test "x$LINE" != x ; then
7727 eval "DEFAULT_$LINE"
7728 else
7729 no_cache=1
7730 fi
7731
7732 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7733
7734 fi;
7735
7736 eval "$ac_cv_use_accel"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7739 fi
7740
7741 if test "$wxUSE_ACCEL" = yes; then
7742 echo "$as_me:$LINENO: result: yes" >&5
7743 echo "${ECHO_T}yes" >&6
7744 else
7745 echo "$as_me:$LINENO: result: no" >&5
7746 echo "${ECHO_T}no" >&6
7747 fi
7748
7749
7750 enablestring=
7751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7752 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7753 no_cache=0
7754 # Check whether --enable-button or --disable-button was given.
7755 if test "${enable_button+set}" = set; then
7756 enableval="$enable_button"
7757
7758 if test "$enableval" = yes; then
7759 ac_cv_use_button='wxUSE_BUTTON=yes'
7760 else
7761 ac_cv_use_button='wxUSE_BUTTON=no'
7762 fi
7763
7764 else
7765
7766 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7767 if test "x$LINE" != x ; then
7768 eval "DEFAULT_$LINE"
7769 else
7770 no_cache=1
7771 fi
7772
7773 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7774
7775 fi;
7776
7777 eval "$ac_cv_use_button"
7778 if test "$no_cache" != 1; then
7779 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7780 fi
7781
7782 if test "$wxUSE_BUTTON" = yes; then
7783 echo "$as_me:$LINENO: result: yes" >&5
7784 echo "${ECHO_T}yes" >&6
7785 else
7786 echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6
7788 fi
7789
7790
7791 enablestring=
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7794 no_cache=0
7795 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7796 if test "${enable_bmpbutton+set}" = set; then
7797 enableval="$enable_bmpbutton"
7798
7799 if test "$enableval" = yes; then
7800 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7801 else
7802 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7803 fi
7804
7805 else
7806
7807 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x ; then
7809 eval "DEFAULT_$LINE"
7810 else
7811 no_cache=1
7812 fi
7813
7814 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7815
7816 fi;
7817
7818 eval "$ac_cv_use_bmpbutton"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7821 fi
7822
7823 if test "$wxUSE_BMPBUTTON" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7826 else
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7829 fi
7830
7831
7832 enablestring=
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7835 no_cache=0
7836 # Check whether --enable-calendar or --disable-calendar was given.
7837 if test "${enable_calendar+set}" = set; then
7838 enableval="$enable_calendar"
7839
7840 if test "$enableval" = yes; then
7841 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7842 else
7843 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7844 fi
7845
7846 else
7847
7848 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x ; then
7850 eval "DEFAULT_$LINE"
7851 else
7852 no_cache=1
7853 fi
7854
7855 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7856
7857 fi;
7858
7859 eval "$ac_cv_use_calendar"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7862 fi
7863
7864 if test "$wxUSE_CALCTRL" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7867 else
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7870 fi
7871
7872
7873 enablestring=
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7876 no_cache=0
7877 # Check whether --enable-caret or --disable-caret was given.
7878 if test "${enable_caret+set}" = set; then
7879 enableval="$enable_caret"
7880
7881 if test "$enableval" = yes; then
7882 ac_cv_use_caret='wxUSE_CARET=yes'
7883 else
7884 ac_cv_use_caret='wxUSE_CARET=no'
7885 fi
7886
7887 else
7888
7889 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x ; then
7891 eval "DEFAULT_$LINE"
7892 else
7893 no_cache=1
7894 fi
7895
7896 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7897
7898 fi;
7899
7900 eval "$ac_cv_use_caret"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7903 fi
7904
7905 if test "$wxUSE_CARET" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7908 else
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7911 fi
7912
7913
7914 enablestring=
7915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7917 no_cache=0
7918 # Check whether --enable-checkbox or --disable-checkbox was given.
7919 if test "${enable_checkbox+set}" = set; then
7920 enableval="$enable_checkbox"
7921
7922 if test "$enableval" = yes; then
7923 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7924 else
7925 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7926 fi
7927
7928 else
7929
7930 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7931 if test "x$LINE" != x ; then
7932 eval "DEFAULT_$LINE"
7933 else
7934 no_cache=1
7935 fi
7936
7937 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7938
7939 fi;
7940
7941 eval "$ac_cv_use_checkbox"
7942 if test "$no_cache" != 1; then
7943 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7944 fi
7945
7946 if test "$wxUSE_CHECKBOX" = yes; then
7947 echo "$as_me:$LINENO: result: yes" >&5
7948 echo "${ECHO_T}yes" >&6
7949 else
7950 echo "$as_me:$LINENO: result: no" >&5
7951 echo "${ECHO_T}no" >&6
7952 fi
7953
7954
7955 enablestring=
7956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7957 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7958 no_cache=0
7959 # Check whether --enable-checklst or --disable-checklst was given.
7960 if test "${enable_checklst+set}" = set; then
7961 enableval="$enable_checklst"
7962
7963 if test "$enableval" = yes; then
7964 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7965 else
7966 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7967 fi
7968
7969 else
7970
7971 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x ; then
7973 eval "DEFAULT_$LINE"
7974 else
7975 no_cache=1
7976 fi
7977
7978 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7979
7980 fi;
7981
7982 eval "$ac_cv_use_checklst"
7983 if test "$no_cache" != 1; then
7984 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7985 fi
7986
7987 if test "$wxUSE_CHECKLST" = yes; then
7988 echo "$as_me:$LINENO: result: yes" >&5
7989 echo "${ECHO_T}yes" >&6
7990 else
7991 echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6
7993 fi
7994
7995
7996 enablestring=
7997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7999 no_cache=0
8000 # Check whether --enable-choice or --disable-choice was given.
8001 if test "${enable_choice+set}" = set; then
8002 enableval="$enable_choice"
8003
8004 if test "$enableval" = yes; then
8005 ac_cv_use_choice='wxUSE_CHOICE=yes'
8006 else
8007 ac_cv_use_choice='wxUSE_CHOICE=no'
8008 fi
8009
8010 else
8011
8012 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8013 if test "x$LINE" != x ; then
8014 eval "DEFAULT_$LINE"
8015 else
8016 no_cache=1
8017 fi
8018
8019 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8020
8021 fi;
8022
8023 eval "$ac_cv_use_choice"
8024 if test "$no_cache" != 1; then
8025 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8026 fi
8027
8028 if test "$wxUSE_CHOICE" = yes; then
8029 echo "$as_me:$LINENO: result: yes" >&5
8030 echo "${ECHO_T}yes" >&6
8031 else
8032 echo "$as_me:$LINENO: result: no" >&5
8033 echo "${ECHO_T}no" >&6
8034 fi
8035
8036
8037 enablestring=
8038 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8039 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8040 no_cache=0
8041 # Check whether --enable-choicebook or --disable-choicebook was given.
8042 if test "${enable_choicebook+set}" = set; then
8043 enableval="$enable_choicebook"
8044
8045 if test "$enableval" = yes; then
8046 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8047 else
8048 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8049 fi
8050
8051 else
8052
8053 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x ; then
8055 eval "DEFAULT_$LINE"
8056 else
8057 no_cache=1
8058 fi
8059
8060 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8061
8062 fi;
8063
8064 eval "$ac_cv_use_choicebook"
8065 if test "$no_cache" != 1; then
8066 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8067 fi
8068
8069 if test "$wxUSE_CHOICEBOOK" = yes; then
8070 echo "$as_me:$LINENO: result: yes" >&5
8071 echo "${ECHO_T}yes" >&6
8072 else
8073 echo "$as_me:$LINENO: result: no" >&5
8074 echo "${ECHO_T}no" >&6
8075 fi
8076
8077
8078 enablestring=
8079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8080 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8081 no_cache=0
8082 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8083 if test "${enable_colourpicker+set}" = set; then
8084 enableval="$enable_colourpicker"
8085
8086 if test "$enableval" = yes; then
8087 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8088 else
8089 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8090 fi
8091
8092 else
8093
8094 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x ; then
8096 eval "DEFAULT_$LINE"
8097 else
8098 no_cache=1
8099 fi
8100
8101 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8102
8103 fi;
8104
8105 eval "$ac_cv_use_colourpicker"
8106 if test "$no_cache" != 1; then
8107 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8108 fi
8109
8110 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8111 echo "$as_me:$LINENO: result: yes" >&5
8112 echo "${ECHO_T}yes" >&6
8113 else
8114 echo "$as_me:$LINENO: result: no" >&5
8115 echo "${ECHO_T}no" >&6
8116 fi
8117
8118
8119 enablestring=
8120 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8121 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8122 no_cache=0
8123 # Check whether --enable-combobox or --disable-combobox was given.
8124 if test "${enable_combobox+set}" = set; then
8125 enableval="$enable_combobox"
8126
8127 if test "$enableval" = yes; then
8128 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8129 else
8130 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8131 fi
8132
8133 else
8134
8135 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8136 if test "x$LINE" != x ; then
8137 eval "DEFAULT_$LINE"
8138 else
8139 no_cache=1
8140 fi
8141
8142 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8143
8144 fi;
8145
8146 eval "$ac_cv_use_combobox"
8147 if test "$no_cache" != 1; then
8148 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8149 fi
8150
8151 if test "$wxUSE_COMBOBOX" = yes; then
8152 echo "$as_me:$LINENO: result: yes" >&5
8153 echo "${ECHO_T}yes" >&6
8154 else
8155 echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6
8157 fi
8158
8159
8160 enablestring=
8161 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8162 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8163 no_cache=0
8164 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8165 if test "${enable_comboctrl+set}" = set; then
8166 enableval="$enable_comboctrl"
8167
8168 if test "$enableval" = yes; then
8169 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8170 else
8171 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8172 fi
8173
8174 else
8175
8176 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8177 if test "x$LINE" != x ; then
8178 eval "DEFAULT_$LINE"
8179 else
8180 no_cache=1
8181 fi
8182
8183 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8184
8185 fi;
8186
8187 eval "$ac_cv_use_comboctrl"
8188 if test "$no_cache" != 1; then
8189 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8190 fi
8191
8192 if test "$wxUSE_COMBOCTRL" = yes; then
8193 echo "$as_me:$LINENO: result: yes" >&5
8194 echo "${ECHO_T}yes" >&6
8195 else
8196 echo "$as_me:$LINENO: result: no" >&5
8197 echo "${ECHO_T}no" >&6
8198 fi
8199
8200
8201 enablestring=
8202 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8203 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8204 no_cache=0
8205 # Check whether --enable-datepick or --disable-datepick was given.
8206 if test "${enable_datepick+set}" = set; then
8207 enableval="$enable_datepick"
8208
8209 if test "$enableval" = yes; then
8210 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8211 else
8212 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8213 fi
8214
8215 else
8216
8217 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8218 if test "x$LINE" != x ; then
8219 eval "DEFAULT_$LINE"
8220 else
8221 no_cache=1
8222 fi
8223
8224 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8225
8226 fi;
8227
8228 eval "$ac_cv_use_datepick"
8229 if test "$no_cache" != 1; then
8230 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8231 fi
8232
8233 if test "$wxUSE_DATEPICKCTRL" = yes; then
8234 echo "$as_me:$LINENO: result: yes" >&5
8235 echo "${ECHO_T}yes" >&6
8236 else
8237 echo "$as_me:$LINENO: result: no" >&5
8238 echo "${ECHO_T}no" >&6
8239 fi
8240
8241
8242 enablestring=
8243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8244 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8245 no_cache=0
8246 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8247 if test "${enable_dirpicker+set}" = set; then
8248 enableval="$enable_dirpicker"
8249
8250 if test "$enableval" = yes; then
8251 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8252 else
8253 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8254 fi
8255
8256 else
8257
8258 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x ; then
8260 eval "DEFAULT_$LINE"
8261 else
8262 no_cache=1
8263 fi
8264
8265 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8266
8267 fi;
8268
8269 eval "$ac_cv_use_dirpicker"
8270 if test "$no_cache" != 1; then
8271 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8272 fi
8273
8274 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8275 echo "$as_me:$LINENO: result: yes" >&5
8276 echo "${ECHO_T}yes" >&6
8277 else
8278 echo "$as_me:$LINENO: result: no" >&5
8279 echo "${ECHO_T}no" >&6
8280 fi
8281
8282
8283 enablestring=
8284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8286 no_cache=0
8287 # Check whether --enable-display or --disable-display was given.
8288 if test "${enable_display+set}" = set; then
8289 enableval="$enable_display"
8290
8291 if test "$enableval" = yes; then
8292 ac_cv_use_display='wxUSE_DISPLAY=yes'
8293 else
8294 ac_cv_use_display='wxUSE_DISPLAY=no'
8295 fi
8296
8297 else
8298
8299 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8300 if test "x$LINE" != x ; then
8301 eval "DEFAULT_$LINE"
8302 else
8303 no_cache=1
8304 fi
8305
8306 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8307
8308 fi;
8309
8310 eval "$ac_cv_use_display"
8311 if test "$no_cache" != 1; then
8312 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8313 fi
8314
8315 if test "$wxUSE_DISPLAY" = yes; then
8316 echo "$as_me:$LINENO: result: yes" >&5
8317 echo "${ECHO_T}yes" >&6
8318 else
8319 echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6
8321 fi
8322
8323
8324 enablestring=
8325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8327 no_cache=0
8328 # Check whether --enable-filepicker or --disable-filepicker was given.
8329 if test "${enable_filepicker+set}" = set; then
8330 enableval="$enable_filepicker"
8331
8332 if test "$enableval" = yes; then
8333 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8334 else
8335 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8336 fi
8337
8338 else
8339
8340 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x ; then
8342 eval "DEFAULT_$LINE"
8343 else
8344 no_cache=1
8345 fi
8346
8347 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8348
8349 fi;
8350
8351 eval "$ac_cv_use_filepicker"
8352 if test "$no_cache" != 1; then
8353 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8354 fi
8355
8356 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8357 echo "$as_me:$LINENO: result: yes" >&5
8358 echo "${ECHO_T}yes" >&6
8359 else
8360 echo "$as_me:$LINENO: result: no" >&5
8361 echo "${ECHO_T}no" >&6
8362 fi
8363
8364
8365 enablestring=
8366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8367 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8368 no_cache=0
8369 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8370 if test "${enable_fontpicker+set}" = set; then
8371 enableval="$enable_fontpicker"
8372
8373 if test "$enableval" = yes; then
8374 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8375 else
8376 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8377 fi
8378
8379 else
8380
8381 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8382 if test "x$LINE" != x ; then
8383 eval "DEFAULT_$LINE"
8384 else
8385 no_cache=1
8386 fi
8387
8388 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8389
8390 fi;
8391
8392 eval "$ac_cv_use_fontpicker"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8395 fi
8396
8397 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8398 echo "$as_me:$LINENO: result: yes" >&5
8399 echo "${ECHO_T}yes" >&6
8400 else
8401 echo "$as_me:$LINENO: result: no" >&5
8402 echo "${ECHO_T}no" >&6
8403 fi
8404
8405
8406 enablestring=
8407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8408 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8409 no_cache=0
8410 # Check whether --enable-gauge or --disable-gauge was given.
8411 if test "${enable_gauge+set}" = set; then
8412 enableval="$enable_gauge"
8413
8414 if test "$enableval" = yes; then
8415 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8416 else
8417 ac_cv_use_gauge='wxUSE_GAUGE=no'
8418 fi
8419
8420 else
8421
8422 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x ; then
8424 eval "DEFAULT_$LINE"
8425 else
8426 no_cache=1
8427 fi
8428
8429 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8430
8431 fi;
8432
8433 eval "$ac_cv_use_gauge"
8434 if test "$no_cache" != 1; then
8435 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8436 fi
8437
8438 if test "$wxUSE_GAUGE" = yes; then
8439 echo "$as_me:$LINENO: result: yes" >&5
8440 echo "${ECHO_T}yes" >&6
8441 else
8442 echo "$as_me:$LINENO: result: no" >&5
8443 echo "${ECHO_T}no" >&6
8444 fi
8445
8446
8447 enablestring=
8448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8449 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8450 no_cache=0
8451 # Check whether --enable-grid or --disable-grid was given.
8452 if test "${enable_grid+set}" = set; then
8453 enableval="$enable_grid"
8454
8455 if test "$enableval" = yes; then
8456 ac_cv_use_grid='wxUSE_GRID=yes'
8457 else
8458 ac_cv_use_grid='wxUSE_GRID=no'
8459 fi
8460
8461 else
8462
8463 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8464 if test "x$LINE" != x ; then
8465 eval "DEFAULT_$LINE"
8466 else
8467 no_cache=1
8468 fi
8469
8470 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8471
8472 fi;
8473
8474 eval "$ac_cv_use_grid"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8477 fi
8478
8479 if test "$wxUSE_GRID" = yes; then
8480 echo "$as_me:$LINENO: result: yes" >&5
8481 echo "${ECHO_T}yes" >&6
8482 else
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8485 fi
8486
8487
8488 enablestring=
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8491 no_cache=0
8492 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8493 if test "${enable_dataviewctrl+set}" = set; then
8494 enableval="$enable_dataviewctrl"
8495
8496 if test "$enableval" = yes; then
8497 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8498 else
8499 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8500 fi
8501
8502 else
8503
8504 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x ; then
8506 eval "DEFAULT_$LINE"
8507 else
8508 no_cache=1
8509 fi
8510
8511 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8512
8513 fi;
8514
8515 eval "$ac_cv_use_dataviewctrl"
8516 if test "$no_cache" != 1; then
8517 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8518 fi
8519
8520 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8521 echo "$as_me:$LINENO: result: yes" >&5
8522 echo "${ECHO_T}yes" >&6
8523 else
8524 echo "$as_me:$LINENO: result: no" >&5
8525 echo "${ECHO_T}no" >&6
8526 fi
8527
8528
8529 enablestring=
8530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8531 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8532 no_cache=0
8533 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8534 if test "${enable_hyperlink+set}" = set; then
8535 enableval="$enable_hyperlink"
8536
8537 if test "$enableval" = yes; then
8538 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8539 else
8540 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8541 fi
8542
8543 else
8544
8545 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8546 if test "x$LINE" != x ; then
8547 eval "DEFAULT_$LINE"
8548 else
8549 no_cache=1
8550 fi
8551
8552 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8553
8554 fi;
8555
8556 eval "$ac_cv_use_hyperlink"
8557 if test "$no_cache" != 1; then
8558 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8559 fi
8560
8561 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8562 echo "$as_me:$LINENO: result: yes" >&5
8563 echo "${ECHO_T}yes" >&6
8564 else
8565 echo "$as_me:$LINENO: result: no" >&5
8566 echo "${ECHO_T}no" >&6
8567 fi
8568
8569
8570 enablestring=
8571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8572 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8573 no_cache=0
8574 # Check whether --enable-imaglist or --disable-imaglist was given.
8575 if test "${enable_imaglist+set}" = set; then
8576 enableval="$enable_imaglist"
8577
8578 if test "$enableval" = yes; then
8579 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8580 else
8581 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8582 fi
8583
8584 else
8585
8586 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8587 if test "x$LINE" != x ; then
8588 eval "DEFAULT_$LINE"
8589 else
8590 no_cache=1
8591 fi
8592
8593 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8594
8595 fi;
8596
8597 eval "$ac_cv_use_imaglist"
8598 if test "$no_cache" != 1; then
8599 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8600 fi
8601
8602 if test "$wxUSE_IMAGLIST" = yes; then
8603 echo "$as_me:$LINENO: result: yes" >&5
8604 echo "${ECHO_T}yes" >&6
8605 else
8606 echo "$as_me:$LINENO: result: no" >&5
8607 echo "${ECHO_T}no" >&6
8608 fi
8609
8610
8611 enablestring=
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8614 no_cache=0
8615 # Check whether --enable-listbook or --disable-listbook was given.
8616 if test "${enable_listbook+set}" = set; then
8617 enableval="$enable_listbook"
8618
8619 if test "$enableval" = yes; then
8620 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8621 else
8622 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8623 fi
8624
8625 else
8626
8627 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x ; then
8629 eval "DEFAULT_$LINE"
8630 else
8631 no_cache=1
8632 fi
8633
8634 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8635
8636 fi;
8637
8638 eval "$ac_cv_use_listbook"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8641 fi
8642
8643 if test "$wxUSE_LISTBOOK" = yes; then
8644 echo "$as_me:$LINENO: result: yes" >&5
8645 echo "${ECHO_T}yes" >&6
8646 else
8647 echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6
8649 fi
8650
8651
8652 enablestring=
8653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8654 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8655 no_cache=0
8656 # Check whether --enable-listbox or --disable-listbox was given.
8657 if test "${enable_listbox+set}" = set; then
8658 enableval="$enable_listbox"
8659
8660 if test "$enableval" = yes; then
8661 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8662 else
8663 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8664 fi
8665
8666 else
8667
8668 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8669 if test "x$LINE" != x ; then
8670 eval "DEFAULT_$LINE"
8671 else
8672 no_cache=1
8673 fi
8674
8675 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8676
8677 fi;
8678
8679 eval "$ac_cv_use_listbox"
8680 if test "$no_cache" != 1; then
8681 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8682 fi
8683
8684 if test "$wxUSE_LISTBOX" = yes; then
8685 echo "$as_me:$LINENO: result: yes" >&5
8686 echo "${ECHO_T}yes" >&6
8687 else
8688 echo "$as_me:$LINENO: result: no" >&5
8689 echo "${ECHO_T}no" >&6
8690 fi
8691
8692
8693 enablestring=
8694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8695 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8696 no_cache=0
8697 # Check whether --enable-listctrl or --disable-listctrl was given.
8698 if test "${enable_listctrl+set}" = set; then
8699 enableval="$enable_listctrl"
8700
8701 if test "$enableval" = yes; then
8702 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8703 else
8704 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8705 fi
8706
8707 else
8708
8709 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8710 if test "x$LINE" != x ; then
8711 eval "DEFAULT_$LINE"
8712 else
8713 no_cache=1
8714 fi
8715
8716 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8717
8718 fi;
8719
8720 eval "$ac_cv_use_listctrl"
8721 if test "$no_cache" != 1; then
8722 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8723 fi
8724
8725 if test "$wxUSE_LISTCTRL" = yes; then
8726 echo "$as_me:$LINENO: result: yes" >&5
8727 echo "${ECHO_T}yes" >&6
8728 else
8729 echo "$as_me:$LINENO: result: no" >&5
8730 echo "${ECHO_T}no" >&6
8731 fi
8732
8733
8734 enablestring=
8735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8737 no_cache=0
8738 # Check whether --enable-notebook or --disable-notebook was given.
8739 if test "${enable_notebook+set}" = set; then
8740 enableval="$enable_notebook"
8741
8742 if test "$enableval" = yes; then
8743 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8744 else
8745 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8746 fi
8747
8748 else
8749
8750 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8751 if test "x$LINE" != x ; then
8752 eval "DEFAULT_$LINE"
8753 else
8754 no_cache=1
8755 fi
8756
8757 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8758
8759 fi;
8760
8761 eval "$ac_cv_use_notebook"
8762 if test "$no_cache" != 1; then
8763 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8764 fi
8765
8766 if test "$wxUSE_NOTEBOOK" = yes; then
8767 echo "$as_me:$LINENO: result: yes" >&5
8768 echo "${ECHO_T}yes" >&6
8769 else
8770 echo "$as_me:$LINENO: result: no" >&5
8771 echo "${ECHO_T}no" >&6
8772 fi
8773
8774
8775 enablestring=
8776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8777 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8778 no_cache=0
8779 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8780 if test "${enable_odcombobox+set}" = set; then
8781 enableval="$enable_odcombobox"
8782
8783 if test "$enableval" = yes; then
8784 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
8785 else
8786 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
8787 fi
8788
8789 else
8790
8791 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8792 if test "x$LINE" != x ; then
8793 eval "DEFAULT_$LINE"
8794 else
8795 no_cache=1
8796 fi
8797
8798 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8799
8800 fi;
8801
8802 eval "$ac_cv_use_odcombobox"
8803 if test "$no_cache" != 1; then
8804 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8805 fi
8806
8807 if test "$wxUSE_ODCOMBOBOX" = yes; then
8808 echo "$as_me:$LINENO: result: yes" >&5
8809 echo "${ECHO_T}yes" >&6
8810 else
8811 echo "$as_me:$LINENO: result: no" >&5
8812 echo "${ECHO_T}no" >&6
8813 fi
8814
8815
8816 enablestring=
8817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8818 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8819 no_cache=0
8820 # Check whether --enable-radiobox or --disable-radiobox was given.
8821 if test "${enable_radiobox+set}" = set; then
8822 enableval="$enable_radiobox"
8823
8824 if test "$enableval" = yes; then
8825 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8826 else
8827 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8828 fi
8829
8830 else
8831
8832 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8833 if test "x$LINE" != x ; then
8834 eval "DEFAULT_$LINE"
8835 else
8836 no_cache=1
8837 fi
8838
8839 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8840
8841 fi;
8842
8843 eval "$ac_cv_use_radiobox"
8844 if test "$no_cache" != 1; then
8845 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8846 fi
8847
8848 if test "$wxUSE_RADIOBOX" = yes; then
8849 echo "$as_me:$LINENO: result: yes" >&5
8850 echo "${ECHO_T}yes" >&6
8851 else
8852 echo "$as_me:$LINENO: result: no" >&5
8853 echo "${ECHO_T}no" >&6
8854 fi
8855
8856
8857 enablestring=
8858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8859 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8860 no_cache=0
8861 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8862 if test "${enable_radiobtn+set}" = set; then
8863 enableval="$enable_radiobtn"
8864
8865 if test "$enableval" = yes; then
8866 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8867 else
8868 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8869 fi
8870
8871 else
8872
8873 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8874 if test "x$LINE" != x ; then
8875 eval "DEFAULT_$LINE"
8876 else
8877 no_cache=1
8878 fi
8879
8880 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8881
8882 fi;
8883
8884 eval "$ac_cv_use_radiobtn"
8885 if test "$no_cache" != 1; then
8886 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8887 fi
8888
8889 if test "$wxUSE_RADIOBTN" = yes; then
8890 echo "$as_me:$LINENO: result: yes" >&5
8891 echo "${ECHO_T}yes" >&6
8892 else
8893 echo "$as_me:$LINENO: result: no" >&5
8894 echo "${ECHO_T}no" >&6
8895 fi
8896
8897
8898 enablestring=
8899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8901 no_cache=0
8902 # Check whether --enable-sash or --disable-sash was given.
8903 if test "${enable_sash+set}" = set; then
8904 enableval="$enable_sash"
8905
8906 if test "$enableval" = yes; then
8907 ac_cv_use_sash='wxUSE_SASH=yes'
8908 else
8909 ac_cv_use_sash='wxUSE_SASH=no'
8910 fi
8911
8912 else
8913
8914 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8915 if test "x$LINE" != x ; then
8916 eval "DEFAULT_$LINE"
8917 else
8918 no_cache=1
8919 fi
8920
8921 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8922
8923 fi;
8924
8925 eval "$ac_cv_use_sash"
8926 if test "$no_cache" != 1; then
8927 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8928 fi
8929
8930 if test "$wxUSE_SASH" = yes; then
8931 echo "$as_me:$LINENO: result: yes" >&5
8932 echo "${ECHO_T}yes" >&6
8933 else
8934 echo "$as_me:$LINENO: result: no" >&5
8935 echo "${ECHO_T}no" >&6
8936 fi
8937
8938
8939 enablestring=
8940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8942 no_cache=0
8943 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8944 if test "${enable_scrollbar+set}" = set; then
8945 enableval="$enable_scrollbar"
8946
8947 if test "$enableval" = yes; then
8948 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8949 else
8950 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8951 fi
8952
8953 else
8954
8955 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8956 if test "x$LINE" != x ; then
8957 eval "DEFAULT_$LINE"
8958 else
8959 no_cache=1
8960 fi
8961
8962 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8963
8964 fi;
8965
8966 eval "$ac_cv_use_scrollbar"
8967 if test "$no_cache" != 1; then
8968 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8969 fi
8970
8971 if test "$wxUSE_SCROLLBAR" = yes; then
8972 echo "$as_me:$LINENO: result: yes" >&5
8973 echo "${ECHO_T}yes" >&6
8974 else
8975 echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6
8977 fi
8978
8979
8980 enablestring=
8981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8982 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8983 no_cache=0
8984 # Check whether --enable-slider or --disable-slider was given.
8985 if test "${enable_slider+set}" = set; then
8986 enableval="$enable_slider"
8987
8988 if test "$enableval" = yes; then
8989 ac_cv_use_slider='wxUSE_SLIDER=yes'
8990 else
8991 ac_cv_use_slider='wxUSE_SLIDER=no'
8992 fi
8993
8994 else
8995
8996 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8997 if test "x$LINE" != x ; then
8998 eval "DEFAULT_$LINE"
8999 else
9000 no_cache=1
9001 fi
9002
9003 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9004
9005 fi;
9006
9007 eval "$ac_cv_use_slider"
9008 if test "$no_cache" != 1; then
9009 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9010 fi
9011
9012 if test "$wxUSE_SLIDER" = yes; then
9013 echo "$as_me:$LINENO: result: yes" >&5
9014 echo "${ECHO_T}yes" >&6
9015 else
9016 echo "$as_me:$LINENO: result: no" >&5
9017 echo "${ECHO_T}no" >&6
9018 fi
9019
9020
9021 enablestring=
9022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9023 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9024 no_cache=0
9025 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9026 if test "${enable_spinbtn+set}" = set; then
9027 enableval="$enable_spinbtn"
9028
9029 if test "$enableval" = yes; then
9030 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9031 else
9032 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9033 fi
9034
9035 else
9036
9037 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9038 if test "x$LINE" != x ; then
9039 eval "DEFAULT_$LINE"
9040 else
9041 no_cache=1
9042 fi
9043
9044 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9045
9046 fi;
9047
9048 eval "$ac_cv_use_spinbtn"
9049 if test "$no_cache" != 1; then
9050 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9051 fi
9052
9053 if test "$wxUSE_SPINBTN" = yes; then
9054 echo "$as_me:$LINENO: result: yes" >&5
9055 echo "${ECHO_T}yes" >&6
9056 else
9057 echo "$as_me:$LINENO: result: no" >&5
9058 echo "${ECHO_T}no" >&6
9059 fi
9060
9061
9062 enablestring=
9063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9065 no_cache=0
9066 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9067 if test "${enable_spinctrl+set}" = set; then
9068 enableval="$enable_spinctrl"
9069
9070 if test "$enableval" = yes; then
9071 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9072 else
9073 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9074 fi
9075
9076 else
9077
9078 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9079 if test "x$LINE" != x ; then
9080 eval "DEFAULT_$LINE"
9081 else
9082 no_cache=1
9083 fi
9084
9085 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9086
9087 fi;
9088
9089 eval "$ac_cv_use_spinctrl"
9090 if test "$no_cache" != 1; then
9091 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9092 fi
9093
9094 if test "$wxUSE_SPINCTRL" = yes; then
9095 echo "$as_me:$LINENO: result: yes" >&5
9096 echo "${ECHO_T}yes" >&6
9097 else
9098 echo "$as_me:$LINENO: result: no" >&5
9099 echo "${ECHO_T}no" >&6
9100 fi
9101
9102
9103 enablestring=
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9106 no_cache=0
9107 # Check whether --enable-splitter or --disable-splitter was given.
9108 if test "${enable_splitter+set}" = set; then
9109 enableval="$enable_splitter"
9110
9111 if test "$enableval" = yes; then
9112 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9113 else
9114 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9115 fi
9116
9117 else
9118
9119 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x ; then
9121 eval "DEFAULT_$LINE"
9122 else
9123 no_cache=1
9124 fi
9125
9126 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9127
9128 fi;
9129
9130 eval "$ac_cv_use_splitter"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9133 fi
9134
9135 if test "$wxUSE_SPLITTER" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9138 else
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9141 fi
9142
9143
9144 enablestring=
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9147 no_cache=0
9148 # Check whether --enable-statbmp or --disable-statbmp was given.
9149 if test "${enable_statbmp+set}" = set; then
9150 enableval="$enable_statbmp"
9151
9152 if test "$enableval" = yes; then
9153 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9154 else
9155 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9156 fi
9157
9158 else
9159
9160 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x ; then
9162 eval "DEFAULT_$LINE"
9163 else
9164 no_cache=1
9165 fi
9166
9167 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9168
9169 fi;
9170
9171 eval "$ac_cv_use_statbmp"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9174 fi
9175
9176 if test "$wxUSE_STATBMP" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9179 else
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9182 fi
9183
9184
9185 enablestring=
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9188 no_cache=0
9189 # Check whether --enable-statbox or --disable-statbox was given.
9190 if test "${enable_statbox+set}" = set; then
9191 enableval="$enable_statbox"
9192
9193 if test "$enableval" = yes; then
9194 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9195 else
9196 ac_cv_use_statbox='wxUSE_STATBOX=no'
9197 fi
9198
9199 else
9200
9201 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x ; then
9203 eval "DEFAULT_$LINE"
9204 else
9205 no_cache=1
9206 fi
9207
9208 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9209
9210 fi;
9211
9212 eval "$ac_cv_use_statbox"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9215 fi
9216
9217 if test "$wxUSE_STATBOX" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9220 else
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9223 fi
9224
9225
9226 enablestring=
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9229 no_cache=0
9230 # Check whether --enable-statline or --disable-statline was given.
9231 if test "${enable_statline+set}" = set; then
9232 enableval="$enable_statline"
9233
9234 if test "$enableval" = yes; then
9235 ac_cv_use_statline='wxUSE_STATLINE=yes'
9236 else
9237 ac_cv_use_statline='wxUSE_STATLINE=no'
9238 fi
9239
9240 else
9241
9242 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x ; then
9244 eval "DEFAULT_$LINE"
9245 else
9246 no_cache=1
9247 fi
9248
9249 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9250
9251 fi;
9252
9253 eval "$ac_cv_use_statline"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9256 fi
9257
9258 if test "$wxUSE_STATLINE" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9261 else
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9264 fi
9265
9266
9267 enablestring=
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9270 no_cache=0
9271 # Check whether --enable-stattext or --disable-stattext was given.
9272 if test "${enable_stattext+set}" = set; then
9273 enableval="$enable_stattext"
9274
9275 if test "$enableval" = yes; then
9276 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9277 else
9278 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9279 fi
9280
9281 else
9282
9283 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x ; then
9285 eval "DEFAULT_$LINE"
9286 else
9287 no_cache=1
9288 fi
9289
9290 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9291
9292 fi;
9293
9294 eval "$ac_cv_use_stattext"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9297 fi
9298
9299 if test "$wxUSE_STATTEXT" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9302 else
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9305 fi
9306
9307
9308 enablestring=
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9311 no_cache=0
9312 # Check whether --enable-statusbar or --disable-statusbar was given.
9313 if test "${enable_statusbar+set}" = set; then
9314 enableval="$enable_statusbar"
9315
9316 if test "$enableval" = yes; then
9317 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9318 else
9319 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9320 fi
9321
9322 else
9323
9324 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x ; then
9326 eval "DEFAULT_$LINE"
9327 else
9328 no_cache=1
9329 fi
9330
9331 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9332
9333 fi;
9334
9335 eval "$ac_cv_use_statusbar"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9338 fi
9339
9340 if test "$wxUSE_STATUSBAR" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9343 else
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9346 fi
9347
9348
9349 enablestring=
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9352 no_cache=0
9353 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9354 if test "${enable_tabdialog+set}" = set; then
9355 enableval="$enable_tabdialog"
9356
9357 if test "$enableval" = yes; then
9358 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9359 else
9360 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9361 fi
9362
9363 else
9364
9365 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x ; then
9367 eval "DEFAULT_$LINE"
9368 else
9369 no_cache=1
9370 fi
9371
9372 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9373
9374 fi;
9375
9376 eval "$ac_cv_use_tabdialog"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9379 fi
9380
9381 if test "$wxUSE_TAB_DIALOG" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9384 else
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9387 fi
9388
9389
9390 enablestring=
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9393 no_cache=0
9394 # Check whether --enable-textctrl or --disable-textctrl was given.
9395 if test "${enable_textctrl+set}" = set; then
9396 enableval="$enable_textctrl"
9397
9398 if test "$enableval" = yes; then
9399 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9400 else
9401 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9402 fi
9403
9404 else
9405
9406 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9409 else
9410 no_cache=1
9411 fi
9412
9413 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9414
9415 fi;
9416
9417 eval "$ac_cv_use_textctrl"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9420 fi
9421
9422 if test "$wxUSE_TEXTCTRL" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9425 else
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9428 fi
9429
9430
9431 enablestring=
9432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9434 no_cache=0
9435 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9436 if test "${enable_togglebtn+set}" = set; then
9437 enableval="$enable_togglebtn"
9438
9439 if test "$enableval" = yes; then
9440 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9441 else
9442 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9443 fi
9444
9445 else
9446
9447 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9448 if test "x$LINE" != x ; then
9449 eval "DEFAULT_$LINE"
9450 else
9451 no_cache=1
9452 fi
9453
9454 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9455
9456 fi;
9457
9458 eval "$ac_cv_use_togglebtn"
9459 if test "$no_cache" != 1; then
9460 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9461 fi
9462
9463 if test "$wxUSE_TOGGLEBTN" = yes; then
9464 echo "$as_me:$LINENO: result: yes" >&5
9465 echo "${ECHO_T}yes" >&6
9466 else
9467 echo "$as_me:$LINENO: result: no" >&5
9468 echo "${ECHO_T}no" >&6
9469 fi
9470
9471
9472 enablestring=
9473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9474 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9475 no_cache=0
9476 # Check whether --enable-toolbar or --disable-toolbar was given.
9477 if test "${enable_toolbar+set}" = set; then
9478 enableval="$enable_toolbar"
9479
9480 if test "$enableval" = yes; then
9481 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9482 else
9483 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9484 fi
9485
9486 else
9487
9488 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9489 if test "x$LINE" != x ; then
9490 eval "DEFAULT_$LINE"
9491 else
9492 no_cache=1
9493 fi
9494
9495 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9496
9497 fi;
9498
9499 eval "$ac_cv_use_toolbar"
9500 if test "$no_cache" != 1; then
9501 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9502 fi
9503
9504 if test "$wxUSE_TOOLBAR" = yes; then
9505 echo "$as_me:$LINENO: result: yes" >&5
9506 echo "${ECHO_T}yes" >&6
9507 else
9508 echo "$as_me:$LINENO: result: no" >&5
9509 echo "${ECHO_T}no" >&6
9510 fi
9511
9512
9513 enablestring=
9514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9515 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9516 no_cache=0
9517 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9518 if test "${enable_tbarnative+set}" = set; then
9519 enableval="$enable_tbarnative"
9520
9521 if test "$enableval" = yes; then
9522 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9523 else
9524 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9525 fi
9526
9527 else
9528
9529 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9530 if test "x$LINE" != x ; then
9531 eval "DEFAULT_$LINE"
9532 else
9533 no_cache=1
9534 fi
9535
9536 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9537
9538 fi;
9539
9540 eval "$ac_cv_use_tbarnative"
9541 if test "$no_cache" != 1; then
9542 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9543 fi
9544
9545 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9546 echo "$as_me:$LINENO: result: yes" >&5
9547 echo "${ECHO_T}yes" >&6
9548 else
9549 echo "$as_me:$LINENO: result: no" >&5
9550 echo "${ECHO_T}no" >&6
9551 fi
9552
9553
9554 enablestring=
9555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9556 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9557 no_cache=0
9558 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9559 if test "${enable_tbarsmpl+set}" = set; then
9560 enableval="$enable_tbarsmpl"
9561
9562 if test "$enableval" = yes; then
9563 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
9564 else
9565 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
9566 fi
9567
9568 else
9569
9570 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9571 if test "x$LINE" != x ; then
9572 eval "DEFAULT_$LINE"
9573 else
9574 no_cache=1
9575 fi
9576
9577 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9578
9579 fi;
9580
9581 eval "$ac_cv_use_tbarsmpl"
9582 if test "$no_cache" != 1; then
9583 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9584 fi
9585
9586 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9587 echo "$as_me:$LINENO: result: yes" >&5
9588 echo "${ECHO_T}yes" >&6
9589 else
9590 echo "$as_me:$LINENO: result: no" >&5
9591 echo "${ECHO_T}no" >&6
9592 fi
9593
9594
9595 enablestring=
9596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9597 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9598 no_cache=0
9599 # Check whether --enable-treebook or --disable-treebook was given.
9600 if test "${enable_treebook+set}" = set; then
9601 enableval="$enable_treebook"
9602
9603 if test "$enableval" = yes; then
9604 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9605 else
9606 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9607 fi
9608
9609 else
9610
9611 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9612 if test "x$LINE" != x ; then
9613 eval "DEFAULT_$LINE"
9614 else
9615 no_cache=1
9616 fi
9617
9618 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9619
9620 fi;
9621
9622 eval "$ac_cv_use_treebook"
9623 if test "$no_cache" != 1; then
9624 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9625 fi
9626
9627 if test "$wxUSE_TREEBOOK" = yes; then
9628 echo "$as_me:$LINENO: result: yes" >&5
9629 echo "${ECHO_T}yes" >&6
9630 else
9631 echo "$as_me:$LINENO: result: no" >&5
9632 echo "${ECHO_T}no" >&6
9633 fi
9634
9635
9636 enablestring=
9637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9638 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9639 no_cache=0
9640 # Check whether --enable-toolbook or --disable-toolbook was given.
9641 if test "${enable_toolbook+set}" = set; then
9642 enableval="$enable_toolbook"
9643
9644 if test "$enableval" = yes; then
9645 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9646 else
9647 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9648 fi
9649
9650 else
9651
9652 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9653 if test "x$LINE" != x ; then
9654 eval "DEFAULT_$LINE"
9655 else
9656 no_cache=1
9657 fi
9658
9659 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9660
9661 fi;
9662
9663 eval "$ac_cv_use_toolbook"
9664 if test "$no_cache" != 1; then
9665 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9666 fi
9667
9668 if test "$wxUSE_TOOLBOOK" = yes; then
9669 echo "$as_me:$LINENO: result: yes" >&5
9670 echo "${ECHO_T}yes" >&6
9671 else
9672 echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6
9674 fi
9675
9676
9677 enablestring=
9678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9680 no_cache=0
9681 # Check whether --enable-treectrl or --disable-treectrl was given.
9682 if test "${enable_treectrl+set}" = set; then
9683 enableval="$enable_treectrl"
9684
9685 if test "$enableval" = yes; then
9686 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9687 else
9688 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9689 fi
9690
9691 else
9692
9693 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9694 if test "x$LINE" != x ; then
9695 eval "DEFAULT_$LINE"
9696 else
9697 no_cache=1
9698 fi
9699
9700 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9701
9702 fi;
9703
9704 eval "$ac_cv_use_treectrl"
9705 if test "$no_cache" != 1; then
9706 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9707 fi
9708
9709 if test "$wxUSE_TREECTRL" = yes; then
9710 echo "$as_me:$LINENO: result: yes" >&5
9711 echo "${ECHO_T}yes" >&6
9712 else
9713 echo "$as_me:$LINENO: result: no" >&5
9714 echo "${ECHO_T}no" >&6
9715 fi
9716
9717
9718 enablestring=
9719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9721 no_cache=0
9722 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9723 if test "${enable_tipwindow+set}" = set; then
9724 enableval="$enable_tipwindow"
9725
9726 if test "$enableval" = yes; then
9727 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9728 else
9729 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9730 fi
9731
9732 else
9733
9734 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9735 if test "x$LINE" != x ; then
9736 eval "DEFAULT_$LINE"
9737 else
9738 no_cache=1
9739 fi
9740
9741 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9742
9743 fi;
9744
9745 eval "$ac_cv_use_tipwindow"
9746 if test "$no_cache" != 1; then
9747 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9748 fi
9749
9750 if test "$wxUSE_TIPWINDOW" = yes; then
9751 echo "$as_me:$LINENO: result: yes" >&5
9752 echo "${ECHO_T}yes" >&6
9753 else
9754 echo "$as_me:$LINENO: result: no" >&5
9755 echo "${ECHO_T}no" >&6
9756 fi
9757
9758
9759 enablestring=
9760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9761 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9762 no_cache=0
9763 # Check whether --enable-popupwin or --disable-popupwin was given.
9764 if test "${enable_popupwin+set}" = set; then
9765 enableval="$enable_popupwin"
9766
9767 if test "$enableval" = yes; then
9768 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9769 else
9770 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9771 fi
9772
9773 else
9774
9775 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9776 if test "x$LINE" != x ; then
9777 eval "DEFAULT_$LINE"
9778 else
9779 no_cache=1
9780 fi
9781
9782 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9783
9784 fi;
9785
9786 eval "$ac_cv_use_popupwin"
9787 if test "$no_cache" != 1; then
9788 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9789 fi
9790
9791 if test "$wxUSE_POPUPWIN" = yes; then
9792 echo "$as_me:$LINENO: result: yes" >&5
9793 echo "${ECHO_T}yes" >&6
9794 else
9795 echo "$as_me:$LINENO: result: no" >&5
9796 echo "${ECHO_T}no" >&6
9797 fi
9798
9799
9800
9801
9802 enablestring=
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9805 no_cache=0
9806 # Check whether --enable-commondlg or --disable-commondlg was given.
9807 if test "${enable_commondlg+set}" = set; then
9808 enableval="$enable_commondlg"
9809
9810 if test "$enableval" = yes; then
9811 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9812 else
9813 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9814 fi
9815
9816 else
9817
9818 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x ; then
9820 eval "DEFAULT_$LINE"
9821 else
9822 no_cache=1
9823 fi
9824
9825 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9826
9827 fi;
9828
9829 eval "$ac_cv_use_commondlg"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9832 fi
9833
9834 if test "$wxUSE_COMMONDLGS" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9837 else
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9840 fi
9841
9842
9843 enablestring=
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9846 no_cache=0
9847 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9848 if test "${enable_choicedlg+set}" = set; then
9849 enableval="$enable_choicedlg"
9850
9851 if test "$enableval" = yes; then
9852 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9853 else
9854 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9855 fi
9856
9857 else
9858
9859 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x ; then
9861 eval "DEFAULT_$LINE"
9862 else
9863 no_cache=1
9864 fi
9865
9866 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9867
9868 fi;
9869
9870 eval "$ac_cv_use_choicedlg"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9873 fi
9874
9875 if test "$wxUSE_CHOICEDLG" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9878 else
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9881 fi
9882
9883
9884 enablestring=
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9887 no_cache=0
9888 # Check whether --enable-coldlg or --disable-coldlg was given.
9889 if test "${enable_coldlg+set}" = set; then
9890 enableval="$enable_coldlg"
9891
9892 if test "$enableval" = yes; then
9893 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9894 else
9895 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9896 fi
9897
9898 else
9899
9900 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x ; then
9902 eval "DEFAULT_$LINE"
9903 else
9904 no_cache=1
9905 fi
9906
9907 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9908
9909 fi;
9910
9911 eval "$ac_cv_use_coldlg"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9914 fi
9915
9916 if test "$wxUSE_COLOURDLG" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9919 else
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9922 fi
9923
9924
9925 enablestring=
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9928 no_cache=0
9929 # Check whether --enable-filedlg or --disable-filedlg was given.
9930 if test "${enable_filedlg+set}" = set; then
9931 enableval="$enable_filedlg"
9932
9933 if test "$enableval" = yes; then
9934 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9935 else
9936 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9937 fi
9938
9939 else
9940
9941 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x ; then
9943 eval "DEFAULT_$LINE"
9944 else
9945 no_cache=1
9946 fi
9947
9948 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9949
9950 fi;
9951
9952 eval "$ac_cv_use_filedlg"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9955 fi
9956
9957 if test "$wxUSE_FILEDLG" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9960 else
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9963 fi
9964
9965
9966 enablestring=
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9969 no_cache=0
9970 # Check whether --enable-finddlg or --disable-finddlg was given.
9971 if test "${enable_finddlg+set}" = set; then
9972 enableval="$enable_finddlg"
9973
9974 if test "$enableval" = yes; then
9975 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9976 else
9977 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9978 fi
9979
9980 else
9981
9982 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x ; then
9984 eval "DEFAULT_$LINE"
9985 else
9986 no_cache=1
9987 fi
9988
9989 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9990
9991 fi;
9992
9993 eval "$ac_cv_use_finddlg"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9996 fi
9997
9998 if test "$wxUSE_FINDREPLDLG" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10001 else
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10004 fi
10005
10006
10007 enablestring=
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10010 no_cache=0
10011 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10012 if test "${enable_fontdlg+set}" = set; then
10013 enableval="$enable_fontdlg"
10014
10015 if test "$enableval" = yes; then
10016 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10017 else
10018 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10019 fi
10020
10021 else
10022
10023 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x ; then
10025 eval "DEFAULT_$LINE"
10026 else
10027 no_cache=1
10028 fi
10029
10030 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10031
10032 fi;
10033
10034 eval "$ac_cv_use_fontdlg"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10037 fi
10038
10039 if test "$wxUSE_FONTDLG" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10042 else
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10045 fi
10046
10047
10048 enablestring=
10049 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10050 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10051 no_cache=0
10052 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10053 if test "${enable_dirdlg+set}" = set; then
10054 enableval="$enable_dirdlg"
10055
10056 if test "$enableval" = yes; then
10057 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10058 else
10059 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10060 fi
10061
10062 else
10063
10064 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10065 if test "x$LINE" != x ; then
10066 eval "DEFAULT_$LINE"
10067 else
10068 no_cache=1
10069 fi
10070
10071 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10072
10073 fi;
10074
10075 eval "$ac_cv_use_dirdlg"
10076 if test "$no_cache" != 1; then
10077 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10078 fi
10079
10080 if test "$wxUSE_DIRDLG" = yes; then
10081 echo "$as_me:$LINENO: result: yes" >&5
10082 echo "${ECHO_T}yes" >&6
10083 else
10084 echo "$as_me:$LINENO: result: no" >&5
10085 echo "${ECHO_T}no" >&6
10086 fi
10087
10088
10089 enablestring=
10090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10091 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10092 no_cache=0
10093 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10094 if test "${enable_msgdlg+set}" = set; then
10095 enableval="$enable_msgdlg"
10096
10097 if test "$enableval" = yes; then
10098 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10099 else
10100 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10101 fi
10102
10103 else
10104
10105 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10106 if test "x$LINE" != x ; then
10107 eval "DEFAULT_$LINE"
10108 else
10109 no_cache=1
10110 fi
10111
10112 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10113
10114 fi;
10115
10116 eval "$ac_cv_use_msgdlg"
10117 if test "$no_cache" != 1; then
10118 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10119 fi
10120
10121 if test "$wxUSE_MSGDLG" = yes; then
10122 echo "$as_me:$LINENO: result: yes" >&5
10123 echo "${ECHO_T}yes" >&6
10124 else
10125 echo "$as_me:$LINENO: result: no" >&5
10126 echo "${ECHO_T}no" >&6
10127 fi
10128
10129
10130 enablestring=
10131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10132 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10133 no_cache=0
10134 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10135 if test "${enable_numberdlg+set}" = set; then
10136 enableval="$enable_numberdlg"
10137
10138 if test "$enableval" = yes; then
10139 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10140 else
10141 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10142 fi
10143
10144 else
10145
10146 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10147 if test "x$LINE" != x ; then
10148 eval "DEFAULT_$LINE"
10149 else
10150 no_cache=1
10151 fi
10152
10153 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10154
10155 fi;
10156
10157 eval "$ac_cv_use_numberdlg"
10158 if test "$no_cache" != 1; then
10159 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10160 fi
10161
10162 if test "$wxUSE_NUMBERDLG" = yes; then
10163 echo "$as_me:$LINENO: result: yes" >&5
10164 echo "${ECHO_T}yes" >&6
10165 else
10166 echo "$as_me:$LINENO: result: no" >&5
10167 echo "${ECHO_T}no" >&6
10168 fi
10169
10170
10171 enablestring=
10172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10173 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10174 no_cache=0
10175 # Check whether --enable-splash or --disable-splash was given.
10176 if test "${enable_splash+set}" = set; then
10177 enableval="$enable_splash"
10178
10179 if test "$enableval" = yes; then
10180 ac_cv_use_splash='wxUSE_SPLASH=yes'
10181 else
10182 ac_cv_use_splash='wxUSE_SPLASH=no'
10183 fi
10184
10185 else
10186
10187 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10188 if test "x$LINE" != x ; then
10189 eval "DEFAULT_$LINE"
10190 else
10191 no_cache=1
10192 fi
10193
10194 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10195
10196 fi;
10197
10198 eval "$ac_cv_use_splash"
10199 if test "$no_cache" != 1; then
10200 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10201 fi
10202
10203 if test "$wxUSE_SPLASH" = yes; then
10204 echo "$as_me:$LINENO: result: yes" >&5
10205 echo "${ECHO_T}yes" >&6
10206 else
10207 echo "$as_me:$LINENO: result: no" >&5
10208 echo "${ECHO_T}no" >&6
10209 fi
10210
10211
10212 enablestring=
10213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10214 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10215 no_cache=0
10216 # Check whether --enable-textdlg or --disable-textdlg was given.
10217 if test "${enable_textdlg+set}" = set; then
10218 enableval="$enable_textdlg"
10219
10220 if test "$enableval" = yes; then
10221 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10222 else
10223 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10224 fi
10225
10226 else
10227
10228 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10229 if test "x$LINE" != x ; then
10230 eval "DEFAULT_$LINE"
10231 else
10232 no_cache=1
10233 fi
10234
10235 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10236
10237 fi;
10238
10239 eval "$ac_cv_use_textdlg"
10240 if test "$no_cache" != 1; then
10241 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10242 fi
10243
10244 if test "$wxUSE_TEXTDLG" = yes; then
10245 echo "$as_me:$LINENO: result: yes" >&5
10246 echo "${ECHO_T}yes" >&6
10247 else
10248 echo "$as_me:$LINENO: result: no" >&5
10249 echo "${ECHO_T}no" >&6
10250 fi
10251
10252
10253 enablestring=
10254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10255 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10256 no_cache=0
10257 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10258 if test "${enable_tipdlg+set}" = set; then
10259 enableval="$enable_tipdlg"
10260
10261 if test "$enableval" = yes; then
10262 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10263 else
10264 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10265 fi
10266
10267 else
10268
10269 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10270 if test "x$LINE" != x ; then
10271 eval "DEFAULT_$LINE"
10272 else
10273 no_cache=1
10274 fi
10275
10276 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10277
10278 fi;
10279
10280 eval "$ac_cv_use_tipdlg"
10281 if test "$no_cache" != 1; then
10282 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10283 fi
10284
10285 if test "$wxUSE_STARTUP_TIPS" = yes; then
10286 echo "$as_me:$LINENO: result: yes" >&5
10287 echo "${ECHO_T}yes" >&6
10288 else
10289 echo "$as_me:$LINENO: result: no" >&5
10290 echo "${ECHO_T}no" >&6
10291 fi
10292
10293
10294 enablestring=
10295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10296 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10297 no_cache=0
10298 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10299 if test "${enable_progressdlg+set}" = set; then
10300 enableval="$enable_progressdlg"
10301
10302 if test "$enableval" = yes; then
10303 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10304 else
10305 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10306 fi
10307
10308 else
10309
10310 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10311 if test "x$LINE" != x ; then
10312 eval "DEFAULT_$LINE"
10313 else
10314 no_cache=1
10315 fi
10316
10317 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10318
10319 fi;
10320
10321 eval "$ac_cv_use_progressdlg"
10322 if test "$no_cache" != 1; then
10323 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10324 fi
10325
10326 if test "$wxUSE_PROGRESSDLG" = yes; then
10327 echo "$as_me:$LINENO: result: yes" >&5
10328 echo "${ECHO_T}yes" >&6
10329 else
10330 echo "$as_me:$LINENO: result: no" >&5
10331 echo "${ECHO_T}no" >&6
10332 fi
10333
10334
10335 enablestring=
10336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10337 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10338 no_cache=0
10339 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10340 if test "${enable_wizarddlg+set}" = set; then
10341 enableval="$enable_wizarddlg"
10342
10343 if test "$enableval" = yes; then
10344 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10345 else
10346 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10347 fi
10348
10349 else
10350
10351 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10352 if test "x$LINE" != x ; then
10353 eval "DEFAULT_$LINE"
10354 else
10355 no_cache=1
10356 fi
10357
10358 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10359
10360 fi;
10361
10362 eval "$ac_cv_use_wizarddlg"
10363 if test "$no_cache" != 1; then
10364 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10365 fi
10366
10367 if test "$wxUSE_WIZARDDLG" = yes; then
10368 echo "$as_me:$LINENO: result: yes" >&5
10369 echo "${ECHO_T}yes" >&6
10370 else
10371 echo "$as_me:$LINENO: result: no" >&5
10372 echo "${ECHO_T}no" >&6
10373 fi
10374
10375
10376
10377
10378 enablestring=
10379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10380 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10381 no_cache=0
10382 # Check whether --enable-menus or --disable-menus was given.
10383 if test "${enable_menus+set}" = set; then
10384 enableval="$enable_menus"
10385
10386 if test "$enableval" = yes; then
10387 ac_cv_use_menus='wxUSE_MENUS=yes'
10388 else
10389 ac_cv_use_menus='wxUSE_MENUS=no'
10390 fi
10391
10392 else
10393
10394 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10395 if test "x$LINE" != x ; then
10396 eval "DEFAULT_$LINE"
10397 else
10398 no_cache=1
10399 fi
10400
10401 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10402
10403 fi;
10404
10405 eval "$ac_cv_use_menus"
10406 if test "$no_cache" != 1; then
10407 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10408 fi
10409
10410 if test "$wxUSE_MENUS" = yes; then
10411 echo "$as_me:$LINENO: result: yes" >&5
10412 echo "${ECHO_T}yes" >&6
10413 else
10414 echo "$as_me:$LINENO: result: no" >&5
10415 echo "${ECHO_T}no" >&6
10416 fi
10417
10418
10419 enablestring=
10420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10421 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10422 no_cache=0
10423 # Check whether --enable-miniframe or --disable-miniframe was given.
10424 if test "${enable_miniframe+set}" = set; then
10425 enableval="$enable_miniframe"
10426
10427 if test "$enableval" = yes; then
10428 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10429 else
10430 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10431 fi
10432
10433 else
10434
10435 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10436 if test "x$LINE" != x ; then
10437 eval "DEFAULT_$LINE"
10438 else
10439 no_cache=1
10440 fi
10441
10442 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10443
10444 fi;
10445
10446 eval "$ac_cv_use_miniframe"
10447 if test "$no_cache" != 1; then
10448 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10449 fi
10450
10451 if test "$wxUSE_MINIFRAME" = yes; then
10452 echo "$as_me:$LINENO: result: yes" >&5
10453 echo "${ECHO_T}yes" >&6
10454 else
10455 echo "$as_me:$LINENO: result: no" >&5
10456 echo "${ECHO_T}no" >&6
10457 fi
10458
10459
10460 enablestring=
10461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10463 no_cache=0
10464 # Check whether --enable-tooltips or --disable-tooltips was given.
10465 if test "${enable_tooltips+set}" = set; then
10466 enableval="$enable_tooltips"
10467
10468 if test "$enableval" = yes; then
10469 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10470 else
10471 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10472 fi
10473
10474 else
10475
10476 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10477 if test "x$LINE" != x ; then
10478 eval "DEFAULT_$LINE"
10479 else
10480 no_cache=1
10481 fi
10482
10483 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10484
10485 fi;
10486
10487 eval "$ac_cv_use_tooltips"
10488 if test "$no_cache" != 1; then
10489 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10490 fi
10491
10492 if test "$wxUSE_TOOLTIPS" = yes; then
10493 echo "$as_me:$LINENO: result: yes" >&5
10494 echo "${ECHO_T}yes" >&6
10495 else
10496 echo "$as_me:$LINENO: result: no" >&5
10497 echo "${ECHO_T}no" >&6
10498 fi
10499
10500
10501 enablestring=
10502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10503 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10504 no_cache=0
10505 # Check whether --enable-splines or --disable-splines was given.
10506 if test "${enable_splines+set}" = set; then
10507 enableval="$enable_splines"
10508
10509 if test "$enableval" = yes; then
10510 ac_cv_use_splines='wxUSE_SPLINES=yes'
10511 else
10512 ac_cv_use_splines='wxUSE_SPLINES=no'
10513 fi
10514
10515 else
10516
10517 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10518 if test "x$LINE" != x ; then
10519 eval "DEFAULT_$LINE"
10520 else
10521 no_cache=1
10522 fi
10523
10524 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10525
10526 fi;
10527
10528 eval "$ac_cv_use_splines"
10529 if test "$no_cache" != 1; then
10530 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10531 fi
10532
10533 if test "$wxUSE_SPLINES" = yes; then
10534 echo "$as_me:$LINENO: result: yes" >&5
10535 echo "${ECHO_T}yes" >&6
10536 else
10537 echo "$as_me:$LINENO: result: no" >&5
10538 echo "${ECHO_T}no" >&6
10539 fi
10540
10541
10542 enablestring=
10543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10545 no_cache=0
10546 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10547 if test "${enable_mousewheel+set}" = set; then
10548 enableval="$enable_mousewheel"
10549
10550 if test "$enableval" = yes; then
10551 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10552 else
10553 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10554 fi
10555
10556 else
10557
10558 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10559 if test "x$LINE" != x ; then
10560 eval "DEFAULT_$LINE"
10561 else
10562 no_cache=1
10563 fi
10564
10565 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10566
10567 fi;
10568
10569 eval "$ac_cv_use_mousewheel"
10570 if test "$no_cache" != 1; then
10571 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10572 fi
10573
10574 if test "$wxUSE_MOUSEWHEEL" = yes; then
10575 echo "$as_me:$LINENO: result: yes" >&5
10576 echo "${ECHO_T}yes" >&6
10577 else
10578 echo "$as_me:$LINENO: result: no" >&5
10579 echo "${ECHO_T}no" >&6
10580 fi
10581
10582
10583 enablestring=
10584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10585 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10586 no_cache=0
10587 # Check whether --enable-validators or --disable-validators was given.
10588 if test "${enable_validators+set}" = set; then
10589 enableval="$enable_validators"
10590
10591 if test "$enableval" = yes; then
10592 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10593 else
10594 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10595 fi
10596
10597 else
10598
10599 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10600 if test "x$LINE" != x ; then
10601 eval "DEFAULT_$LINE"
10602 else
10603 no_cache=1
10604 fi
10605
10606 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10607
10608 fi;
10609
10610 eval "$ac_cv_use_validators"
10611 if test "$no_cache" != 1; then
10612 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10613 fi
10614
10615 if test "$wxUSE_VALIDATORS" = yes; then
10616 echo "$as_me:$LINENO: result: yes" >&5
10617 echo "${ECHO_T}yes" >&6
10618 else
10619 echo "$as_me:$LINENO: result: no" >&5
10620 echo "${ECHO_T}no" >&6
10621 fi
10622
10623
10624 enablestring=
10625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10626 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10627 no_cache=0
10628 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10629 if test "${enable_busyinfo+set}" = set; then
10630 enableval="$enable_busyinfo"
10631
10632 if test "$enableval" = yes; then
10633 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10634 else
10635 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10636 fi
10637
10638 else
10639
10640 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10641 if test "x$LINE" != x ; then
10642 eval "DEFAULT_$LINE"
10643 else
10644 no_cache=1
10645 fi
10646
10647 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10648
10649 fi;
10650
10651 eval "$ac_cv_use_busyinfo"
10652 if test "$no_cache" != 1; then
10653 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10654 fi
10655
10656 if test "$wxUSE_BUSYINFO" = yes; then
10657 echo "$as_me:$LINENO: result: yes" >&5
10658 echo "${ECHO_T}yes" >&6
10659 else
10660 echo "$as_me:$LINENO: result: no" >&5
10661 echo "${ECHO_T}no" >&6
10662 fi
10663
10664
10665 enablestring=
10666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10667 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10668 no_cache=0
10669 # Check whether --enable-joystick or --disable-joystick was given.
10670 if test "${enable_joystick+set}" = set; then
10671 enableval="$enable_joystick"
10672
10673 if test "$enableval" = yes; then
10674 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10675 else
10676 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10677 fi
10678
10679 else
10680
10681 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10682 if test "x$LINE" != x ; then
10683 eval "DEFAULT_$LINE"
10684 else
10685 no_cache=1
10686 fi
10687
10688 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10689
10690 fi;
10691
10692 eval "$ac_cv_use_joystick"
10693 if test "$no_cache" != 1; then
10694 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10695 fi
10696
10697 if test "$wxUSE_JOYSTICK" = yes; then
10698 echo "$as_me:$LINENO: result: yes" >&5
10699 echo "${ECHO_T}yes" >&6
10700 else
10701 echo "$as_me:$LINENO: result: no" >&5
10702 echo "${ECHO_T}no" >&6
10703 fi
10704
10705
10706 enablestring=
10707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10708 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10709 no_cache=0
10710 # Check whether --enable-metafile or --disable-metafile was given.
10711 if test "${enable_metafile+set}" = set; then
10712 enableval="$enable_metafile"
10713
10714 if test "$enableval" = yes; then
10715 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10716 else
10717 ac_cv_use_metafile='wxUSE_METAFILE=no'
10718 fi
10719
10720 else
10721
10722 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10723 if test "x$LINE" != x ; then
10724 eval "DEFAULT_$LINE"
10725 else
10726 no_cache=1
10727 fi
10728
10729 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10730
10731 fi;
10732
10733 eval "$ac_cv_use_metafile"
10734 if test "$no_cache" != 1; then
10735 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10736 fi
10737
10738 if test "$wxUSE_METAFILE" = yes; then
10739 echo "$as_me:$LINENO: result: yes" >&5
10740 echo "${ECHO_T}yes" >&6
10741 else
10742 echo "$as_me:$LINENO: result: no" >&5
10743 echo "${ECHO_T}no" >&6
10744 fi
10745
10746
10747 enablestring=
10748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10749 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10750 no_cache=0
10751 # Check whether --enable-dragimage or --disable-dragimage was given.
10752 if test "${enable_dragimage+set}" = set; then
10753 enableval="$enable_dragimage"
10754
10755 if test "$enableval" = yes; then
10756 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10757 else
10758 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10759 fi
10760
10761 else
10762
10763 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10764 if test "x$LINE" != x ; then
10765 eval "DEFAULT_$LINE"
10766 else
10767 no_cache=1
10768 fi
10769
10770 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10771
10772 fi;
10773
10774 eval "$ac_cv_use_dragimage"
10775 if test "$no_cache" != 1; then
10776 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10777 fi
10778
10779 if test "$wxUSE_DRAGIMAGE" = yes; then
10780 echo "$as_me:$LINENO: result: yes" >&5
10781 echo "${ECHO_T}yes" >&6
10782 else
10783 echo "$as_me:$LINENO: result: no" >&5
10784 echo "${ECHO_T}no" >&6
10785 fi
10786
10787
10788 enablestring=
10789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10790 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10791 no_cache=0
10792 # Check whether --enable-accessibility or --disable-accessibility was given.
10793 if test "${enable_accessibility+set}" = set; then
10794 enableval="$enable_accessibility"
10795
10796 if test "$enableval" = yes; then
10797 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10798 else
10799 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10800 fi
10801
10802 else
10803
10804 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10805 if test "x$LINE" != x ; then
10806 eval "DEFAULT_$LINE"
10807 else
10808 no_cache=1
10809 fi
10810
10811 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10812
10813 fi;
10814
10815 eval "$ac_cv_use_accessibility"
10816 if test "$no_cache" != 1; then
10817 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10818 fi
10819
10820 if test "$wxUSE_ACCESSIBILITY" = yes; then
10821 echo "$as_me:$LINENO: result: yes" >&5
10822 echo "${ECHO_T}yes" >&6
10823 else
10824 echo "$as_me:$LINENO: result: no" >&5
10825 echo "${ECHO_T}no" >&6
10826 fi
10827
10828
10829 if test "$wxUSE_MSW" = "1"; then
10830
10831 enablestring=
10832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10833 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10834 no_cache=0
10835 # Check whether --enable-dccache or --disable-dccache was given.
10836 if test "${enable_dccache+set}" = set; then
10837 enableval="$enable_dccache"
10838
10839 if test "$enableval" = yes; then
10840 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10841 else
10842 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10843 fi
10844
10845 else
10846
10847 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10848 if test "x$LINE" != x ; then
10849 eval "DEFAULT_$LINE"
10850 else
10851 no_cache=1
10852 fi
10853
10854 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10855
10856 fi;
10857
10858 eval "$ac_cv_use_dccache"
10859 if test "$no_cache" != 1; then
10860 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10861 fi
10862
10863 if test "$wxUSE_DC_CACHEING" = yes; then
10864 echo "$as_me:$LINENO: result: yes" >&5
10865 echo "${ECHO_T}yes" >&6
10866 else
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10869 fi
10870
10871 fi
10872
10873
10874
10875 enablestring=
10876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10877 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10878 no_cache=0
10879 # Check whether --enable-palette or --disable-palette was given.
10880 if test "${enable_palette+set}" = set; then
10881 enableval="$enable_palette"
10882
10883 if test "$enableval" = yes; then
10884 ac_cv_use_palette='wxUSE_PALETTE=yes'
10885 else
10886 ac_cv_use_palette='wxUSE_PALETTE=no'
10887 fi
10888
10889 else
10890
10891 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10892 if test "x$LINE" != x ; then
10893 eval "DEFAULT_$LINE"
10894 else
10895 no_cache=1
10896 fi
10897
10898 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10899
10900 fi;
10901
10902 eval "$ac_cv_use_palette"
10903 if test "$no_cache" != 1; then
10904 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10905 fi
10906
10907 if test "$wxUSE_PALETTE" = yes; then
10908 echo "$as_me:$LINENO: result: yes" >&5
10909 echo "${ECHO_T}yes" >&6
10910 else
10911 echo "$as_me:$LINENO: result: no" >&5
10912 echo "${ECHO_T}no" >&6
10913 fi
10914
10915
10916 enablestring=
10917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10918 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10919 no_cache=0
10920 # Check whether --enable-image or --disable-image was given.
10921 if test "${enable_image+set}" = set; then
10922 enableval="$enable_image"
10923
10924 if test "$enableval" = yes; then
10925 ac_cv_use_image='wxUSE_IMAGE=yes'
10926 else
10927 ac_cv_use_image='wxUSE_IMAGE=no'
10928 fi
10929
10930 else
10931
10932 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10933 if test "x$LINE" != x ; then
10934 eval "DEFAULT_$LINE"
10935 else
10936 no_cache=1
10937 fi
10938
10939 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10940
10941 fi;
10942
10943 eval "$ac_cv_use_image"
10944 if test "$no_cache" != 1; then
10945 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10946 fi
10947
10948 if test "$wxUSE_IMAGE" = yes; then
10949 echo "$as_me:$LINENO: result: yes" >&5
10950 echo "${ECHO_T}yes" >&6
10951 else
10952 echo "$as_me:$LINENO: result: no" >&5
10953 echo "${ECHO_T}no" >&6
10954 fi
10955
10956
10957 enablestring=
10958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10959 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10960 no_cache=0
10961 # Check whether --enable-gif or --disable-gif was given.
10962 if test "${enable_gif+set}" = set; then
10963 enableval="$enable_gif"
10964
10965 if test "$enableval" = yes; then
10966 ac_cv_use_gif='wxUSE_GIF=yes'
10967 else
10968 ac_cv_use_gif='wxUSE_GIF=no'
10969 fi
10970
10971 else
10972
10973 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10974 if test "x$LINE" != x ; then
10975 eval "DEFAULT_$LINE"
10976 else
10977 no_cache=1
10978 fi
10979
10980 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10981
10982 fi;
10983
10984 eval "$ac_cv_use_gif"
10985 if test "$no_cache" != 1; then
10986 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10987 fi
10988
10989 if test "$wxUSE_GIF" = yes; then
10990 echo "$as_me:$LINENO: result: yes" >&5
10991 echo "${ECHO_T}yes" >&6
10992 else
10993 echo "$as_me:$LINENO: result: no" >&5
10994 echo "${ECHO_T}no" >&6
10995 fi
10996
10997
10998 enablestring=
10999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11000 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11001 no_cache=0
11002 # Check whether --enable-pcx or --disable-pcx was given.
11003 if test "${enable_pcx+set}" = set; then
11004 enableval="$enable_pcx"
11005
11006 if test "$enableval" = yes; then
11007 ac_cv_use_pcx='wxUSE_PCX=yes'
11008 else
11009 ac_cv_use_pcx='wxUSE_PCX=no'
11010 fi
11011
11012 else
11013
11014 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11015 if test "x$LINE" != x ; then
11016 eval "DEFAULT_$LINE"
11017 else
11018 no_cache=1
11019 fi
11020
11021 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11022
11023 fi;
11024
11025 eval "$ac_cv_use_pcx"
11026 if test "$no_cache" != 1; then
11027 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11028 fi
11029
11030 if test "$wxUSE_PCX" = yes; then
11031 echo "$as_me:$LINENO: result: yes" >&5
11032 echo "${ECHO_T}yes" >&6
11033 else
11034 echo "$as_me:$LINENO: result: no" >&5
11035 echo "${ECHO_T}no" >&6
11036 fi
11037
11038
11039 enablestring=
11040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11041 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11042 no_cache=0
11043 # Check whether --enable-iff or --disable-iff was given.
11044 if test "${enable_iff+set}" = set; then
11045 enableval="$enable_iff"
11046
11047 if test "$enableval" = yes; then
11048 ac_cv_use_iff='wxUSE_IFF=yes'
11049 else
11050 ac_cv_use_iff='wxUSE_IFF=no'
11051 fi
11052
11053 else
11054
11055 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11056 if test "x$LINE" != x ; then
11057 eval "DEFAULT_$LINE"
11058 else
11059 no_cache=1
11060 fi
11061
11062 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11063
11064 fi;
11065
11066 eval "$ac_cv_use_iff"
11067 if test "$no_cache" != 1; then
11068 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11069 fi
11070
11071 if test "$wxUSE_IFF" = yes; then
11072 echo "$as_me:$LINENO: result: yes" >&5
11073 echo "${ECHO_T}yes" >&6
11074 else
11075 echo "$as_me:$LINENO: result: no" >&5
11076 echo "${ECHO_T}no" >&6
11077 fi
11078
11079
11080 enablestring=
11081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11082 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11083 no_cache=0
11084 # Check whether --enable-pnm or --disable-pnm was given.
11085 if test "${enable_pnm+set}" = set; then
11086 enableval="$enable_pnm"
11087
11088 if test "$enableval" = yes; then
11089 ac_cv_use_pnm='wxUSE_PNM=yes'
11090 else
11091 ac_cv_use_pnm='wxUSE_PNM=no'
11092 fi
11093
11094 else
11095
11096 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11097 if test "x$LINE" != x ; then
11098 eval "DEFAULT_$LINE"
11099 else
11100 no_cache=1
11101 fi
11102
11103 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11104
11105 fi;
11106
11107 eval "$ac_cv_use_pnm"
11108 if test "$no_cache" != 1; then
11109 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11110 fi
11111
11112 if test "$wxUSE_PNM" = yes; then
11113 echo "$as_me:$LINENO: result: yes" >&5
11114 echo "${ECHO_T}yes" >&6
11115 else
11116 echo "$as_me:$LINENO: result: no" >&5
11117 echo "${ECHO_T}no" >&6
11118 fi
11119
11120
11121 enablestring=
11122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11123 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11124 no_cache=0
11125 # Check whether --enable-xpm or --disable-xpm was given.
11126 if test "${enable_xpm+set}" = set; then
11127 enableval="$enable_xpm"
11128
11129 if test "$enableval" = yes; then
11130 ac_cv_use_xpm='wxUSE_XPM=yes'
11131 else
11132 ac_cv_use_xpm='wxUSE_XPM=no'
11133 fi
11134
11135 else
11136
11137 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11138 if test "x$LINE" != x ; then
11139 eval "DEFAULT_$LINE"
11140 else
11141 no_cache=1
11142 fi
11143
11144 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11145
11146 fi;
11147
11148 eval "$ac_cv_use_xpm"
11149 if test "$no_cache" != 1; then
11150 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11151 fi
11152
11153 if test "$wxUSE_XPM" = yes; then
11154 echo "$as_me:$LINENO: result: yes" >&5
11155 echo "${ECHO_T}yes" >&6
11156 else
11157 echo "$as_me:$LINENO: result: no" >&5
11158 echo "${ECHO_T}no" >&6
11159 fi
11160
11161
11162 enablestring=
11163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11164 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11165 no_cache=0
11166 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11167 if test "${enable_ico_cur+set}" = set; then
11168 enableval="$enable_ico_cur"
11169
11170 if test "$enableval" = yes; then
11171 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11172 else
11173 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11174 fi
11175
11176 else
11177
11178 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11179 if test "x$LINE" != x ; then
11180 eval "DEFAULT_$LINE"
11181 else
11182 no_cache=1
11183 fi
11184
11185 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11186
11187 fi;
11188
11189 eval "$ac_cv_use_ico_cur"
11190 if test "$no_cache" != 1; then
11191 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11192 fi
11193
11194 if test "$wxUSE_ICO_CUR" = yes; then
11195 echo "$as_me:$LINENO: result: yes" >&5
11196 echo "${ECHO_T}yes" >&6
11197 else
11198 echo "$as_me:$LINENO: result: no" >&5
11199 echo "${ECHO_T}no" >&6
11200 fi
11201
11202
11203 fi
11204
11205
11206
11207 # Check whether --with-flavour or --without-flavour was given.
11208 if test "${with_flavour+set}" = set; then
11209 withval="$with_flavour"
11210 WX_FLAVOUR="$withval"
11211 fi;
11212
11213
11214
11215 enablestring=
11216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11217 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11218 no_cache=0
11219 # Check whether --enable-official_build or --disable-official_build was given.
11220 if test "${enable_official_build+set}" = set; then
11221 enableval="$enable_official_build"
11222
11223 if test "$enableval" = yes; then
11224 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11225 else
11226 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11227 fi
11228
11229 else
11230
11231 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11232 if test "x$LINE" != x ; then
11233 eval "DEFAULT_$LINE"
11234 else
11235 no_cache=1
11236 fi
11237
11238 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11239
11240 fi;
11241
11242 eval "$ac_cv_use_official_build"
11243 if test "$no_cache" != 1; then
11244 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11245 fi
11246
11247 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11248 echo "$as_me:$LINENO: result: yes" >&5
11249 echo "${ECHO_T}yes" >&6
11250 else
11251 echo "$as_me:$LINENO: result: no" >&5
11252 echo "${ECHO_T}no" >&6
11253 fi
11254
11255 # Check whether --enable-vendor or --disable-vendor was given.
11256 if test "${enable_vendor+set}" = set; then
11257 enableval="$enable_vendor"
11258 VENDOR="$enableval"
11259 fi;
11260 if test "x$VENDOR" = "x"; then
11261 VENDOR="custom"
11262 fi
11263
11264
11265
11266
11267 echo "saving argument cache $wx_arg_cache_file"
11268 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11269
11270
11271
11272 echo "$as_me:$LINENO: checking for toolkit" >&5
11273 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11274
11275 # In Wine, we need to default to MSW, not GTK or MOTIF
11276 if test "$wxUSE_WINE" = "yes"; then
11277 DEFAULT_DEFAULT_wxUSE_GTK=0
11278 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11279 DEFAULT_DEFAULT_wxUSE_MSW=1
11280 wxUSE_SHARED=no
11281 fi
11282
11283
11284 if test "$wxUSE_GUI" = "yes"; then
11285
11286 if test "$USE_BEOS" = 1; then
11287 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11288 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11289 { (exit 1); exit 1; }; }
11290 fi
11291
11292 if test "$TOOLKIT_GIVEN" = 1; then
11293 for toolkit in `echo $ALL_TOOLKITS`; do
11294 var=wxUSE_$toolkit
11295 eval "value=\$${var}"
11296 if test "x$value" = "xno"; then
11297 eval "$var=0"
11298 elif test "x$value" != "x"; then
11299 eval "$var=1"
11300 fi
11301
11302 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11303 eval "wx${toolkit}_VERSION=$value"
11304 fi
11305 done
11306 else
11307 for toolkit in `echo $ALL_TOOLKITS`; do
11308 if test "$has_toolkit_in_cache" != 1; then
11309 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11310 else
11311 var=DEFAULT_wxUSE_$toolkit
11312
11313 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11314 if test "x$version" != "x"; then
11315 eval "wx${toolkit}_VERSION=$version"
11316 fi
11317 fi
11318 eval "wxUSE_$toolkit=\$${var}"
11319 done
11320 fi
11321
11322 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11323 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11324 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11325
11326 case "${host}" in
11327 *-pc-os2_emx | *-pc-os2-emx )
11328 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11329 esac
11330
11331 case "$NUM_TOOLKITS" in
11332 1)
11333 ;;
11334 0)
11335 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11336 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11337 { (exit 1); exit 1; }; }
11338 ;;
11339 *)
11340 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11341 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11342 { (exit 1); exit 1; }; }
11343 esac
11344
11345 # to be removed when --disable-gtk2 isn't needed
11346 if test "x$wxUSE_GTK2" = "xyes"; then
11347 wxGTK_VERSION=2
11348 elif test "x$wxUSE_GTK2" = "xno"; then
11349 wxGTK_VERSION=1
11350 fi
11351
11352 for toolkit in `echo $ALL_TOOLKITS`; do
11353 var=wxUSE_$toolkit
11354 eval "value=\$${var}"
11355 if test "x$value" != x; then
11356 cache_var=CACHE_$toolkit
11357 eval "cache=\$${cache_var}"
11358 if test "$cache" = 1; then
11359 echo "$var=$value" >> ${wx_arg_cache_file}
11360 eval "version=\$wx${toolkit}_VERSION"
11361 if test "x$version" != "x"; then
11362 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11363 fi
11364 fi
11365 if test "$value" = 1; then
11366 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11367 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11368 echo "${ECHO_T}$toolkit_echo" >&6
11369 fi
11370 fi
11371 done
11372 else
11373 if test "x$host_alias" != "x"; then
11374 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11375 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11376 else
11377 echo "$as_me:$LINENO: result: base only" >&5
11378 echo "${ECHO_T}base only" >&6
11379 fi
11380 fi
11381
11382 wants_win32=0
11383 doesnt_want_win32=0
11384 case "${host}" in
11385 *-*-cygwin*)
11386 if test "$wxUSE_MSW" = 1 ; then
11387 wants_win32=1
11388 BAKEFILE_FORCE_PLATFORM=win32
11389 else
11390 doesnt_want_win32=1
11391 fi
11392 ;;
11393 *-*-mingw*)
11394 wants_win32=1
11395 ;;
11396 esac
11397
11398 if test "$wxUSE_WINE" = "yes"; then
11399 wants_win32=1
11400 CC=winegcc
11401 CXX=wineg++
11402 LDFLAGS_GUI="-mwindows"
11403 fi
11404
11405 if test "$wants_win32" = 1 ; then
11406 USE_UNIX=0
11407 USE_WIN32=1
11408 cat >>confdefs.h <<\_ACEOF
11409 #define __WIN32__ 1
11410 _ACEOF
11411
11412 cat >>confdefs.h <<\_ACEOF
11413 #define __WIN95__ 1
11414 _ACEOF
11415
11416 cat >>confdefs.h <<\_ACEOF
11417 #define __WINDOWS__ 1
11418 _ACEOF
11419
11420 cat >>confdefs.h <<\_ACEOF
11421 #define __GNUWIN32__ 1
11422 _ACEOF
11423
11424 cat >>confdefs.h <<\_ACEOF
11425 #define STRICT 1
11426 _ACEOF
11427
11428 cat >>confdefs.h <<\_ACEOF
11429 #define WINVER 0x0400
11430 _ACEOF
11431
11432 fi
11433 if test "$doesnt_want_win32" = 1 ; then
11434 USE_UNIX=1
11435 USE_WIN32=0
11436 fi
11437
11438 if test "$USE_UNIX" = 1 ; then
11439 wxUSE_UNIX=yes
11440 cat >>confdefs.h <<\_ACEOF
11441 #define __UNIX__ 1
11442 _ACEOF
11443
11444 fi
11445
11446
11447 cat >confcache <<\_ACEOF
11448 # This file is a shell script that caches the results of configure
11449 # tests run on this system so they can be shared between configure
11450 # scripts and configure runs, see configure's option --config-cache.
11451 # It is not useful on other systems. If it contains results you don't
11452 # want to keep, you may remove or edit it.
11453 #
11454 # config.status only pays attention to the cache file if you give it
11455 # the --recheck option to rerun configure.
11456 #
11457 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11458 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11459 # following values.
11460
11461 _ACEOF
11462
11463 # The following way of writing the cache mishandles newlines in values,
11464 # but we know of no workaround that is simple, portable, and efficient.
11465 # So, don't put newlines in cache variables' values.
11466 # Ultrix sh set writes to stderr and can't be redirected directly,
11467 # and sets the high bit in the cache file unless we assign to the vars.
11468 {
11469 (set) 2>&1 |
11470 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11471 *ac_space=\ *)
11472 # `set' does not quote correctly, so add quotes (double-quote
11473 # substitution turns \\\\ into \\, and sed turns \\ into \).
11474 sed -n \
11475 "s/'/'\\\\''/g;
11476 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11477 ;;
11478 *)
11479 # `set' quotes correctly as required by POSIX, so do not add quotes.
11480 sed -n \
11481 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11482 ;;
11483 esac;
11484 } |
11485 sed '
11486 t clear
11487 : clear
11488 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11489 t end
11490 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11491 : end' >>confcache
11492 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11493 if test -w $cache_file; then
11494 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11495 cat confcache >$cache_file
11496 else
11497 echo "not updating unwritable cache $cache_file"
11498 fi
11499 fi
11500 rm -f confcache
11501
11502 CFLAGS=${CFLAGS:=}
11503
11504
11505
11506 ac_ext=c
11507 ac_cpp='$CPP $CPPFLAGS'
11508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11511 if test -n "$ac_tool_prefix"; then
11512 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11513 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11514 echo "$as_me:$LINENO: checking for $ac_word" >&5
11515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11516 if test "${ac_cv_prog_CC+set}" = set; then
11517 echo $ECHO_N "(cached) $ECHO_C" >&6
11518 else
11519 if test -n "$CC"; then
11520 ac_cv_prog_CC="$CC" # Let the user override the test.
11521 else
11522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11523 for as_dir in $PATH
11524 do
11525 IFS=$as_save_IFS
11526 test -z "$as_dir" && as_dir=.
11527 for ac_exec_ext in '' $ac_executable_extensions; do
11528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11529 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11531 break 2
11532 fi
11533 done
11534 done
11535
11536 fi
11537 fi
11538 CC=$ac_cv_prog_CC
11539 if test -n "$CC"; then
11540 echo "$as_me:$LINENO: result: $CC" >&5
11541 echo "${ECHO_T}$CC" >&6
11542 else
11543 echo "$as_me:$LINENO: result: no" >&5
11544 echo "${ECHO_T}no" >&6
11545 fi
11546
11547 fi
11548 if test -z "$ac_cv_prog_CC"; then
11549 ac_ct_CC=$CC
11550 # Extract the first word of "gcc", so it can be a program name with args.
11551 set dummy gcc; ac_word=$2
11552 echo "$as_me:$LINENO: checking for $ac_word" >&5
11553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11554 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11555 echo $ECHO_N "(cached) $ECHO_C" >&6
11556 else
11557 if test -n "$ac_ct_CC"; then
11558 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11559 else
11560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11561 for as_dir in $PATH
11562 do
11563 IFS=$as_save_IFS
11564 test -z "$as_dir" && as_dir=.
11565 for ac_exec_ext in '' $ac_executable_extensions; do
11566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11567 ac_cv_prog_ac_ct_CC="gcc"
11568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11569 break 2
11570 fi
11571 done
11572 done
11573
11574 fi
11575 fi
11576 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11577 if test -n "$ac_ct_CC"; then
11578 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11579 echo "${ECHO_T}$ac_ct_CC" >&6
11580 else
11581 echo "$as_me:$LINENO: result: no" >&5
11582 echo "${ECHO_T}no" >&6
11583 fi
11584
11585 CC=$ac_ct_CC
11586 else
11587 CC="$ac_cv_prog_CC"
11588 fi
11589
11590 if test -z "$CC"; then
11591 if test -n "$ac_tool_prefix"; then
11592 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11593 set dummy ${ac_tool_prefix}cc; ac_word=$2
11594 echo "$as_me:$LINENO: checking for $ac_word" >&5
11595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11596 if test "${ac_cv_prog_CC+set}" = set; then
11597 echo $ECHO_N "(cached) $ECHO_C" >&6
11598 else
11599 if test -n "$CC"; then
11600 ac_cv_prog_CC="$CC" # Let the user override the test.
11601 else
11602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11603 for as_dir in $PATH
11604 do
11605 IFS=$as_save_IFS
11606 test -z "$as_dir" && as_dir=.
11607 for ac_exec_ext in '' $ac_executable_extensions; do
11608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11609 ac_cv_prog_CC="${ac_tool_prefix}cc"
11610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11611 break 2
11612 fi
11613 done
11614 done
11615
11616 fi
11617 fi
11618 CC=$ac_cv_prog_CC
11619 if test -n "$CC"; then
11620 echo "$as_me:$LINENO: result: $CC" >&5
11621 echo "${ECHO_T}$CC" >&6
11622 else
11623 echo "$as_me:$LINENO: result: no" >&5
11624 echo "${ECHO_T}no" >&6
11625 fi
11626
11627 fi
11628 if test -z "$ac_cv_prog_CC"; then
11629 ac_ct_CC=$CC
11630 # Extract the first word of "cc", so it can be a program name with args.
11631 set dummy cc; ac_word=$2
11632 echo "$as_me:$LINENO: checking for $ac_word" >&5
11633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11634 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11635 echo $ECHO_N "(cached) $ECHO_C" >&6
11636 else
11637 if test -n "$ac_ct_CC"; then
11638 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11639 else
11640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11641 for as_dir in $PATH
11642 do
11643 IFS=$as_save_IFS
11644 test -z "$as_dir" && as_dir=.
11645 for ac_exec_ext in '' $ac_executable_extensions; do
11646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11647 ac_cv_prog_ac_ct_CC="cc"
11648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11649 break 2
11650 fi
11651 done
11652 done
11653
11654 fi
11655 fi
11656 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11657 if test -n "$ac_ct_CC"; then
11658 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11659 echo "${ECHO_T}$ac_ct_CC" >&6
11660 else
11661 echo "$as_me:$LINENO: result: no" >&5
11662 echo "${ECHO_T}no" >&6
11663 fi
11664
11665 CC=$ac_ct_CC
11666 else
11667 CC="$ac_cv_prog_CC"
11668 fi
11669
11670 fi
11671 if test -z "$CC"; then
11672 # Extract the first word of "cc", so it can be a program name with args.
11673 set dummy cc; ac_word=$2
11674 echo "$as_me:$LINENO: checking for $ac_word" >&5
11675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11676 if test "${ac_cv_prog_CC+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 else
11679 if test -n "$CC"; then
11680 ac_cv_prog_CC="$CC" # Let the user override the test.
11681 else
11682 ac_prog_rejected=no
11683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11684 for as_dir in $PATH
11685 do
11686 IFS=$as_save_IFS
11687 test -z "$as_dir" && as_dir=.
11688 for ac_exec_ext in '' $ac_executable_extensions; do
11689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11690 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11691 ac_prog_rejected=yes
11692 continue
11693 fi
11694 ac_cv_prog_CC="cc"
11695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11696 break 2
11697 fi
11698 done
11699 done
11700
11701 if test $ac_prog_rejected = yes; then
11702 # We found a bogon in the path, so make sure we never use it.
11703 set dummy $ac_cv_prog_CC
11704 shift
11705 if test $# != 0; then
11706 # We chose a different compiler from the bogus one.
11707 # However, it has the same basename, so the bogon will be chosen
11708 # first if we set CC to just the basename; use the full file name.
11709 shift
11710 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11711 fi
11712 fi
11713 fi
11714 fi
11715 CC=$ac_cv_prog_CC
11716 if test -n "$CC"; then
11717 echo "$as_me:$LINENO: result: $CC" >&5
11718 echo "${ECHO_T}$CC" >&6
11719 else
11720 echo "$as_me:$LINENO: result: no" >&5
11721 echo "${ECHO_T}no" >&6
11722 fi
11723
11724 fi
11725 if test -z "$CC"; then
11726 if test -n "$ac_tool_prefix"; then
11727 for ac_prog in cl
11728 do
11729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11730 set dummy $ac_tool_prefix$ac_prog; 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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11740 for as_dir in $PATH
11741 do
11742 IFS=$as_save_IFS
11743 test -z "$as_dir" && as_dir=.
11744 for ac_exec_ext in '' $ac_executable_extensions; do
11745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11746 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11748 break 2
11749 fi
11750 done
11751 done
11752
11753 fi
11754 fi
11755 CC=$ac_cv_prog_CC
11756 if test -n "$CC"; then
11757 echo "$as_me:$LINENO: result: $CC" >&5
11758 echo "${ECHO_T}$CC" >&6
11759 else
11760 echo "$as_me:$LINENO: result: no" >&5
11761 echo "${ECHO_T}no" >&6
11762 fi
11763
11764 test -n "$CC" && break
11765 done
11766 fi
11767 if test -z "$CC"; then
11768 ac_ct_CC=$CC
11769 for ac_prog in cl
11770 do
11771 # Extract the first word of "$ac_prog", so it can be a program name with args.
11772 set dummy $ac_prog; ac_word=$2
11773 echo "$as_me:$LINENO: checking for $ac_word" >&5
11774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11775 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11776 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 else
11778 if test -n "$ac_ct_CC"; then
11779 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11780 else
11781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11782 for as_dir in $PATH
11783 do
11784 IFS=$as_save_IFS
11785 test -z "$as_dir" && as_dir=.
11786 for ac_exec_ext in '' $ac_executable_extensions; do
11787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11788 ac_cv_prog_ac_ct_CC="$ac_prog"
11789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11790 break 2
11791 fi
11792 done
11793 done
11794
11795 fi
11796 fi
11797 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11798 if test -n "$ac_ct_CC"; then
11799 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11800 echo "${ECHO_T}$ac_ct_CC" >&6
11801 else
11802 echo "$as_me:$LINENO: result: no" >&5
11803 echo "${ECHO_T}no" >&6
11804 fi
11805
11806 test -n "$ac_ct_CC" && break
11807 done
11808
11809 CC=$ac_ct_CC
11810 fi
11811
11812 fi
11813
11814
11815 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11816 See \`config.log' for more details." >&5
11817 echo "$as_me: error: no acceptable C compiler found in \$PATH
11818 See \`config.log' for more details." >&2;}
11819 { (exit 1); exit 1; }; }
11820
11821 # Provide some information about the compiler.
11822 echo "$as_me:$LINENO:" \
11823 "checking for C compiler version" >&5
11824 ac_compiler=`set X $ac_compile; echo $2`
11825 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11826 (eval $ac_compiler --version </dev/null >&5) 2>&5
11827 ac_status=$?
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); }
11830 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11831 (eval $ac_compiler -v </dev/null >&5) 2>&5
11832 ac_status=$?
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }
11835 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11836 (eval $ac_compiler -V </dev/null >&5) 2>&5
11837 ac_status=$?
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); }
11840
11841 cat >conftest.$ac_ext <<_ACEOF
11842 /* confdefs.h. */
11843 _ACEOF
11844 cat confdefs.h >>conftest.$ac_ext
11845 cat >>conftest.$ac_ext <<_ACEOF
11846 /* end confdefs.h. */
11847
11848 int
11849 main ()
11850 {
11851
11852 ;
11853 return 0;
11854 }
11855 _ACEOF
11856 ac_clean_files_save=$ac_clean_files
11857 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11858 # Try to create an executable without -o first, disregard a.out.
11859 # It will help us diagnose broken compilers, and finding out an intuition
11860 # of exeext.
11861 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11862 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11863 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11864 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11865 (eval $ac_link_default) 2>&5
11866 ac_status=$?
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); }; then
11869 # Find the output, starting from the most likely. This scheme is
11870 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11871 # resort.
11872
11873 # Be careful to initialize this variable, since it used to be cached.
11874 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11875 ac_cv_exeext=
11876 # b.out is created by i960 compilers.
11877 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11878 do
11879 test -f "$ac_file" || continue
11880 case $ac_file in
11881 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11882 ;;
11883 conftest.$ac_ext )
11884 # This is the source file.
11885 ;;
11886 [ab].out )
11887 # We found the default executable, but exeext='' is most
11888 # certainly right.
11889 break;;
11890 *.* )
11891 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11892 # FIXME: I believe we export ac_cv_exeext for Libtool,
11893 # but it would be cool to find out if it's true. Does anybody
11894 # maintain Libtool? --akim.
11895 export ac_cv_exeext
11896 break;;
11897 * )
11898 break;;
11899 esac
11900 done
11901 else
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.$ac_ext >&5
11904
11905 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11906 See \`config.log' for more details." >&5
11907 echo "$as_me: error: C compiler cannot create executables
11908 See \`config.log' for more details." >&2;}
11909 { (exit 77); exit 77; }; }
11910 fi
11911
11912 ac_exeext=$ac_cv_exeext
11913 echo "$as_me:$LINENO: result: $ac_file" >&5
11914 echo "${ECHO_T}$ac_file" >&6
11915
11916 # Check the compiler produces executables we can run. If not, either
11917 # the compiler is broken, or we cross compile.
11918 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11919 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11920 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11921 # If not cross compiling, check that we can run a simple program.
11922 if test "$cross_compiling" != yes; then
11923 if { ac_try='./$ac_file'
11924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11925 (eval $ac_try) 2>&5
11926 ac_status=$?
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); }; }; then
11929 cross_compiling=no
11930 else
11931 if test "$cross_compiling" = maybe; then
11932 cross_compiling=yes
11933 else
11934 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11935 If you meant to cross compile, use \`--host'.
11936 See \`config.log' for more details." >&5
11937 echo "$as_me: error: cannot run C compiled programs.
11938 If you meant to cross compile, use \`--host'.
11939 See \`config.log' for more details." >&2;}
11940 { (exit 1); exit 1; }; }
11941 fi
11942 fi
11943 fi
11944 echo "$as_me:$LINENO: result: yes" >&5
11945 echo "${ECHO_T}yes" >&6
11946
11947 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11948 ac_clean_files=$ac_clean_files_save
11949 # Check the compiler produces executables we can run. If not, either
11950 # the compiler is broken, or we cross compile.
11951 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11952 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11953 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11954 echo "${ECHO_T}$cross_compiling" >&6
11955
11956 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11957 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11959 (eval $ac_link) 2>&5
11960 ac_status=$?
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); }; then
11963 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11964 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11965 # work properly (i.e., refer to `conftest.exe'), while it won't with
11966 # `rm'.
11967 for ac_file in conftest.exe conftest conftest.*; do
11968 test -f "$ac_file" || continue
11969 case $ac_file in
11970 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11971 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11972 export ac_cv_exeext
11973 break;;
11974 * ) break;;
11975 esac
11976 done
11977 else
11978 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11979 See \`config.log' for more details." >&5
11980 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11981 See \`config.log' for more details." >&2;}
11982 { (exit 1); exit 1; }; }
11983 fi
11984
11985 rm -f conftest$ac_cv_exeext
11986 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11987 echo "${ECHO_T}$ac_cv_exeext" >&6
11988
11989 rm -f conftest.$ac_ext
11990 EXEEXT=$ac_cv_exeext
11991 ac_exeext=$EXEEXT
11992 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11993 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11994 if test "${ac_cv_objext+set}" = set; then
11995 echo $ECHO_N "(cached) $ECHO_C" >&6
11996 else
11997 cat >conftest.$ac_ext <<_ACEOF
11998 /* confdefs.h. */
11999 _ACEOF
12000 cat confdefs.h >>conftest.$ac_ext
12001 cat >>conftest.$ac_ext <<_ACEOF
12002 /* end confdefs.h. */
12003
12004 int
12005 main ()
12006 {
12007
12008 ;
12009 return 0;
12010 }
12011 _ACEOF
12012 rm -f conftest.o conftest.obj
12013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12014 (eval $ac_compile) 2>&5
12015 ac_status=$?
12016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12017 (exit $ac_status); }; then
12018 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12019 case $ac_file in
12020 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12021 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12022 break;;
12023 esac
12024 done
12025 else
12026 echo "$as_me: failed program was:" >&5
12027 sed 's/^/| /' conftest.$ac_ext >&5
12028
12029 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12030 See \`config.log' for more details." >&5
12031 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12032 See \`config.log' for more details." >&2;}
12033 { (exit 1); exit 1; }; }
12034 fi
12035
12036 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12037 fi
12038 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12039 echo "${ECHO_T}$ac_cv_objext" >&6
12040 OBJEXT=$ac_cv_objext
12041 ac_objext=$OBJEXT
12042 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12043 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12044 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 else
12047 cat >conftest.$ac_ext <<_ACEOF
12048 /* confdefs.h. */
12049 _ACEOF
12050 cat confdefs.h >>conftest.$ac_ext
12051 cat >>conftest.$ac_ext <<_ACEOF
12052 /* end confdefs.h. */
12053
12054 int
12055 main ()
12056 {
12057 #ifndef __GNUC__
12058 choke me
12059 #endif
12060
12061 ;
12062 return 0;
12063 }
12064 _ACEOF
12065 rm -f conftest.$ac_objext
12066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12067 (eval $ac_compile) 2>conftest.er1
12068 ac_status=$?
12069 grep -v '^ *+' conftest.er1 >conftest.err
12070 rm -f conftest.er1
12071 cat conftest.err >&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); } &&
12074 { ac_try='test -z "$ac_c_werror_flag"
12075 || test ! -s conftest.err'
12076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12077 (eval $ac_try) 2>&5
12078 ac_status=$?
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); }; } &&
12081 { ac_try='test -s conftest.$ac_objext'
12082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12083 (eval $ac_try) 2>&5
12084 ac_status=$?
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; }; then
12087 ac_compiler_gnu=yes
12088 else
12089 echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.$ac_ext >&5
12091
12092 ac_compiler_gnu=no
12093 fi
12094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12095 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12096
12097 fi
12098 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12099 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12100 GCC=`test $ac_compiler_gnu = yes && echo yes`
12101 ac_test_CFLAGS=${CFLAGS+set}
12102 ac_save_CFLAGS=$CFLAGS
12103 CFLAGS="-g"
12104 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12105 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12106 if test "${ac_cv_prog_cc_g+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12108 else
12109 cat >conftest.$ac_ext <<_ACEOF
12110 /* confdefs.h. */
12111 _ACEOF
12112 cat confdefs.h >>conftest.$ac_ext
12113 cat >>conftest.$ac_ext <<_ACEOF
12114 /* end confdefs.h. */
12115
12116 int
12117 main ()
12118 {
12119
12120 ;
12121 return 0;
12122 }
12123 _ACEOF
12124 rm -f conftest.$ac_objext
12125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12126 (eval $ac_compile) 2>conftest.er1
12127 ac_status=$?
12128 grep -v '^ *+' conftest.er1 >conftest.err
12129 rm -f conftest.er1
12130 cat conftest.err >&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } &&
12133 { ac_try='test -z "$ac_c_werror_flag"
12134 || test ! -s conftest.err'
12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 (eval $ac_try) 2>&5
12137 ac_status=$?
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }; } &&
12140 { ac_try='test -s conftest.$ac_objext'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5
12143 ac_status=$?
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; }; then
12146 ac_cv_prog_cc_g=yes
12147 else
12148 echo "$as_me: failed program was:" >&5
12149 sed 's/^/| /' conftest.$ac_ext >&5
12150
12151 ac_cv_prog_cc_g=no
12152 fi
12153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12154 fi
12155 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12156 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12157 if test "$ac_test_CFLAGS" = set; then
12158 CFLAGS=$ac_save_CFLAGS
12159 elif test $ac_cv_prog_cc_g = yes; then
12160 if test "$GCC" = yes; then
12161 CFLAGS="-g -O2"
12162 else
12163 CFLAGS="-g"
12164 fi
12165 else
12166 if test "$GCC" = yes; then
12167 CFLAGS="-O2"
12168 else
12169 CFLAGS=
12170 fi
12171 fi
12172 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12173 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12174 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12175 echo $ECHO_N "(cached) $ECHO_C" >&6
12176 else
12177 ac_cv_prog_cc_stdc=no
12178 ac_save_CC=$CC
12179 cat >conftest.$ac_ext <<_ACEOF
12180 /* confdefs.h. */
12181 _ACEOF
12182 cat confdefs.h >>conftest.$ac_ext
12183 cat >>conftest.$ac_ext <<_ACEOF
12184 /* end confdefs.h. */
12185 #include <stdarg.h>
12186 #include <stdio.h>
12187 #include <sys/types.h>
12188 #include <sys/stat.h>
12189 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12190 struct buf { int x; };
12191 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12192 static char *e (p, i)
12193 char **p;
12194 int i;
12195 {
12196 return p[i];
12197 }
12198 static char *f (char * (*g) (char **, int), char **p, ...)
12199 {
12200 char *s;
12201 va_list v;
12202 va_start (v,p);
12203 s = g (p, va_arg (v,int));
12204 va_end (v);
12205 return s;
12206 }
12207
12208 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12209 function prototypes and stuff, but not '\xHH' hex character constants.
12210 These don't provoke an error unfortunately, instead are silently treated
12211 as 'x'. The following induces an error, until -std1 is added to get
12212 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12213 array size at least. It's necessary to write '\x00'==0 to get something
12214 that's true only with -std1. */
12215 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12216
12217 int test (int i, double x);
12218 struct s1 {int (*f) (int a);};
12219 struct s2 {int (*f) (double a);};
12220 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12221 int argc;
12222 char **argv;
12223 int
12224 main ()
12225 {
12226 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12227 ;
12228 return 0;
12229 }
12230 _ACEOF
12231 # Don't try gcc -ansi; that turns off useful extensions and
12232 # breaks some systems' header files.
12233 # AIX -qlanglvl=ansi
12234 # Ultrix and OSF/1 -std1
12235 # HP-UX 10.20 and later -Ae
12236 # HP-UX older versions -Aa -D_HPUX_SOURCE
12237 # SVR4 -Xc -D__EXTENSIONS__
12238 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12239 do
12240 CC="$ac_save_CC $ac_arg"
12241 rm -f conftest.$ac_objext
12242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12243 (eval $ac_compile) 2>conftest.er1
12244 ac_status=$?
12245 grep -v '^ *+' conftest.er1 >conftest.err
12246 rm -f conftest.er1
12247 cat conftest.err >&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); } &&
12250 { ac_try='test -z "$ac_c_werror_flag"
12251 || test ! -s conftest.err'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12254 ac_status=$?
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; } &&
12257 { ac_try='test -s conftest.$ac_objext'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12260 ac_status=$?
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; }; then
12263 ac_cv_prog_cc_stdc=$ac_arg
12264 break
12265 else
12266 echo "$as_me: failed program was:" >&5
12267 sed 's/^/| /' conftest.$ac_ext >&5
12268
12269 fi
12270 rm -f conftest.err conftest.$ac_objext
12271 done
12272 rm -f conftest.$ac_ext conftest.$ac_objext
12273 CC=$ac_save_CC
12274
12275 fi
12276
12277 case "x$ac_cv_prog_cc_stdc" in
12278 x|xno)
12279 echo "$as_me:$LINENO: result: none needed" >&5
12280 echo "${ECHO_T}none needed" >&6 ;;
12281 *)
12282 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12283 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12284 CC="$CC $ac_cv_prog_cc_stdc" ;;
12285 esac
12286
12287 # Some people use a C++ compiler to compile C. Since we use `exit',
12288 # in C++ we need to declare it. In case someone uses the same compiler
12289 # for both compiling C and C++ we need to have the C++ compiler decide
12290 # the declaration of exit, since it's the most demanding environment.
12291 cat >conftest.$ac_ext <<_ACEOF
12292 #ifndef __cplusplus
12293 choke me
12294 #endif
12295 _ACEOF
12296 rm -f conftest.$ac_objext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12298 (eval $ac_compile) 2>conftest.er1
12299 ac_status=$?
12300 grep -v '^ *+' conftest.er1 >conftest.err
12301 rm -f conftest.er1
12302 cat conftest.err >&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try='test -z "$ac_c_werror_flag"
12306 || test ! -s conftest.err'
12307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12308 (eval $ac_try) 2>&5
12309 ac_status=$?
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); }; } &&
12312 { ac_try='test -s conftest.$ac_objext'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12315 ac_status=$?
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then
12318 for ac_declaration in \
12319 '' \
12320 'extern "C" void std::exit (int) throw (); using std::exit;' \
12321 'extern "C" void std::exit (int); using std::exit;' \
12322 'extern "C" void exit (int) throw ();' \
12323 'extern "C" void exit (int);' \
12324 'void exit (int);'
12325 do
12326 cat >conftest.$ac_ext <<_ACEOF
12327 /* confdefs.h. */
12328 _ACEOF
12329 cat confdefs.h >>conftest.$ac_ext
12330 cat >>conftest.$ac_ext <<_ACEOF
12331 /* end confdefs.h. */
12332 $ac_declaration
12333 #include <stdlib.h>
12334 int
12335 main ()
12336 {
12337 exit (42);
12338 ;
12339 return 0;
12340 }
12341 _ACEOF
12342 rm -f conftest.$ac_objext
12343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12344 (eval $ac_compile) 2>conftest.er1
12345 ac_status=$?
12346 grep -v '^ *+' conftest.er1 >conftest.err
12347 rm -f conftest.er1
12348 cat conftest.err >&5
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); } &&
12351 { ac_try='test -z "$ac_c_werror_flag"
12352 || test ! -s conftest.err'
12353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12354 (eval $ac_try) 2>&5
12355 ac_status=$?
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; } &&
12358 { ac_try='test -s conftest.$ac_objext'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5
12361 ac_status=$?
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; }; then
12364 :
12365 else
12366 echo "$as_me: failed program was:" >&5
12367 sed 's/^/| /' conftest.$ac_ext >&5
12368
12369 continue
12370 fi
12371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12372 cat >conftest.$ac_ext <<_ACEOF
12373 /* confdefs.h. */
12374 _ACEOF
12375 cat confdefs.h >>conftest.$ac_ext
12376 cat >>conftest.$ac_ext <<_ACEOF
12377 /* end confdefs.h. */
12378 $ac_declaration
12379 int
12380 main ()
12381 {
12382 exit (42);
12383 ;
12384 return 0;
12385 }
12386 _ACEOF
12387 rm -f conftest.$ac_objext
12388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12389 (eval $ac_compile) 2>conftest.er1
12390 ac_status=$?
12391 grep -v '^ *+' conftest.er1 >conftest.err
12392 rm -f conftest.er1
12393 cat conftest.err >&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); } &&
12396 { ac_try='test -z "$ac_c_werror_flag"
12397 || test ! -s conftest.err'
12398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12399 (eval $ac_try) 2>&5
12400 ac_status=$?
12401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402 (exit $ac_status); }; } &&
12403 { ac_try='test -s conftest.$ac_objext'
12404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12405 (eval $ac_try) 2>&5
12406 ac_status=$?
12407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12408 (exit $ac_status); }; }; then
12409 break
12410 else
12411 echo "$as_me: failed program was:" >&5
12412 sed 's/^/| /' conftest.$ac_ext >&5
12413
12414 fi
12415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12416 done
12417 rm -f conftest*
12418 if test -n "$ac_declaration"; then
12419 echo '#ifdef __cplusplus' >>confdefs.h
12420 echo $ac_declaration >>confdefs.h
12421 echo '#endif' >>confdefs.h
12422 fi
12423
12424 else
12425 echo "$as_me: failed program was:" >&5
12426 sed 's/^/| /' conftest.$ac_ext >&5
12427
12428 fi
12429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12430 ac_ext=c
12431 ac_cpp='$CPP $CPPFLAGS'
12432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12435
12436
12437
12438 ac_ext=c
12439 ac_cpp='$CPP $CPPFLAGS'
12440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12443
12444 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12445 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12446 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12448 else
12449 cat >conftest.$ac_ext <<_ACEOF
12450 /* confdefs.h. */
12451 _ACEOF
12452 cat confdefs.h >>conftest.$ac_ext
12453 cat >>conftest.$ac_ext <<_ACEOF
12454 /* end confdefs.h. */
12455
12456 int
12457 main ()
12458 {
12459
12460 #ifndef __INTEL_COMPILER
12461 choke me
12462 #endif
12463
12464 ;
12465 return 0;
12466 }
12467 _ACEOF
12468 rm -f conftest.$ac_objext
12469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12470 (eval $ac_compile) 2>conftest.er1
12471 ac_status=$?
12472 grep -v '^ *+' conftest.er1 >conftest.err
12473 rm -f conftest.er1
12474 cat conftest.err >&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } &&
12477 { ac_try='test -z "$ac_c_werror_flag"
12478 || test ! -s conftest.err'
12479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12480 (eval $ac_try) 2>&5
12481 ac_status=$?
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; } &&
12484 { ac_try='test -s conftest.$ac_objext'
12485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12486 (eval $ac_try) 2>&5
12487 ac_status=$?
12488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12489 (exit $ac_status); }; }; then
12490 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12491 else
12492 echo "$as_me: failed program was:" >&5
12493 sed 's/^/| /' conftest.$ac_ext >&5
12494
12495 bakefile_cv_c_compiler___INTEL_COMPILER=no
12496
12497 fi
12498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12499
12500
12501 fi
12502 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12503 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12504 ac_ext=c
12505 ac_cpp='$CPP $CPPFLAGS'
12506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12509
12510 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12511 :; INTELCC=yes
12512 else
12513 :;
12514 fi
12515
12516
12517 if test "x$GCC" != "xyes"; then
12518 if test "xCC" = "xC"; then
12519 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12520 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12521 if test "${bakefile_cv_c_exto+set}" = set; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6
12523 else
12524 cat >conftest.$ac_ext <<_ACEOF
12525 /* confdefs.h. */
12526 _ACEOF
12527 cat confdefs.h >>conftest.$ac_ext
12528 cat >>conftest.$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12530
12531 int
12532 main ()
12533 {
12534
12535 ;
12536 return 0;
12537 }
12538 _ACEOF
12539 rm -f conftest.$ac_objext conftest.$ac_ext.o
12540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12541 (eval $ac_compile) 2>&5
12542 ac_status=$?
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); }; then
12545 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12546 case $ac_file in
12547 conftest.$ac_ext.o)
12548 bakefile_cv_c_exto="-ext o"
12549 ;;
12550 *)
12551 ;;
12552 esac
12553 done
12554 else
12555 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12556 See \`config.log' for more details." >&5
12557 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12558 See \`config.log' for more details." >&2;}
12559 { (exit 1); exit 1; }; }
12560
12561 fi
12562
12563 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12564
12565 fi
12566 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12567 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12568 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12569 if test "c" = "c"; then
12570 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12571 fi
12572 if test "c" = "cxx"; then
12573 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12574 fi
12575 fi
12576
12577 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12578 unset ac_cv_prog_cc_g
12579 ac_test_CFLAGS=${CFLAGS+set}
12580 ac_save_CFLAGS=$CFLAGS
12581 CFLAGS="-g"
12582 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12583 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12584 if test "${ac_cv_prog_cc_g+set}" = set; then
12585 echo $ECHO_N "(cached) $ECHO_C" >&6
12586 else
12587 cat >conftest.$ac_ext <<_ACEOF
12588 /* confdefs.h. */
12589 _ACEOF
12590 cat confdefs.h >>conftest.$ac_ext
12591 cat >>conftest.$ac_ext <<_ACEOF
12592 /* end confdefs.h. */
12593
12594 int
12595 main ()
12596 {
12597
12598 ;
12599 return 0;
12600 }
12601 _ACEOF
12602 rm -f conftest.$ac_objext
12603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12604 (eval $ac_compile) 2>conftest.er1
12605 ac_status=$?
12606 grep -v '^ *+' conftest.er1 >conftest.err
12607 rm -f conftest.er1
12608 cat conftest.err >&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); } &&
12611 { ac_try='test -z "$ac_c_werror_flag"
12612 || test ! -s conftest.err'
12613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12614 (eval $ac_try) 2>&5
12615 ac_status=$?
12616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12617 (exit $ac_status); }; } &&
12618 { ac_try='test -s conftest.$ac_objext'
12619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12620 (eval $ac_try) 2>&5
12621 ac_status=$?
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); }; }; then
12624 ac_cv_prog_cc_g=yes
12625 else
12626 echo "$as_me: failed program was:" >&5
12627 sed 's/^/| /' conftest.$ac_ext >&5
12628
12629 ac_cv_prog_cc_g=no
12630 fi
12631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12632 fi
12633 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12634 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12635 if test "$ac_test_CFLAGS" = set; then
12636 CFLAGS=$ac_save_CFLAGS
12637 elif test $ac_cv_prog_cc_g = yes; then
12638 if test "$GCC" = yes; then
12639 CFLAGS="-g -O2"
12640 else
12641 CFLAGS="-g"
12642 fi
12643 else
12644 if test "$GCC" = yes; then
12645 CFLAGS="-O2"
12646 else
12647 CFLAGS=
12648 fi
12649 fi
12650 fi
12651 fi
12652
12653 case `uname -s` in
12654 AIX*)
12655 ac_ext=c
12656 ac_cpp='$CPP $CPPFLAGS'
12657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12660
12661 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12662 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12663 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12664 echo $ECHO_N "(cached) $ECHO_C" >&6
12665 else
12666 cat >conftest.$ac_ext <<_ACEOF
12667 /* confdefs.h. */
12668 _ACEOF
12669 cat confdefs.h >>conftest.$ac_ext
12670 cat >>conftest.$ac_ext <<_ACEOF
12671 /* end confdefs.h. */
12672
12673 int
12674 main ()
12675 {
12676 #ifndef __xlC__
12677 choke me
12678 #endif
12679
12680 ;
12681 return 0;
12682 }
12683 _ACEOF
12684 rm -f conftest.$ac_objext
12685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12686 (eval $ac_compile) 2>conftest.er1
12687 ac_status=$?
12688 grep -v '^ *+' conftest.er1 >conftest.err
12689 rm -f conftest.er1
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } &&
12693 { ac_try='test -z "$ac_c_werror_flag"
12694 || test ! -s conftest.err'
12695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12696 (eval $ac_try) 2>&5
12697 ac_status=$?
12698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699 (exit $ac_status); }; } &&
12700 { ac_try='test -s conftest.$ac_objext'
12701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12702 (eval $ac_try) 2>&5
12703 ac_status=$?
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); }; }; then
12706 bakefile_compiler_xlc=yes
12707 else
12708 echo "$as_me: failed program was:" >&5
12709 sed 's/^/| /' conftest.$ac_ext >&5
12710
12711 bakefile_compiler_xlc=no
12712 fi
12713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12714 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12715
12716 fi
12717 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12718 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12719
12720 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12721 ac_ext=c
12722 ac_cpp='$CPP $CPPFLAGS'
12723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12726
12727
12728 ;;
12729
12730 Darwin)
12731 ac_ext=c
12732 ac_cpp='$CPP $CPPFLAGS'
12733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12736
12737 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12738 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12739 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12740 echo $ECHO_N "(cached) $ECHO_C" >&6
12741 else
12742 cat >conftest.$ac_ext <<_ACEOF
12743 /* confdefs.h. */
12744 _ACEOF
12745 cat confdefs.h >>conftest.$ac_ext
12746 cat >>conftest.$ac_ext <<_ACEOF
12747 /* end confdefs.h. */
12748
12749 int
12750 main ()
12751 {
12752 #ifndef __MWERKS__
12753 choke me
12754 #endif
12755
12756 ;
12757 return 0;
12758 }
12759 _ACEOF
12760 rm -f conftest.$ac_objext
12761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12762 (eval $ac_compile) 2>conftest.er1
12763 ac_status=$?
12764 grep -v '^ *+' conftest.er1 >conftest.err
12765 rm -f conftest.er1
12766 cat conftest.err >&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); } &&
12769 { ac_try='test -z "$ac_c_werror_flag"
12770 || test ! -s conftest.err'
12771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12772 (eval $ac_try) 2>&5
12773 ac_status=$?
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); }; } &&
12776 { ac_try='test -s conftest.$ac_objext'
12777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12778 (eval $ac_try) 2>&5
12779 ac_status=$?
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); }; }; then
12782 bakefile_compiler_mwerks=yes
12783 else
12784 echo "$as_me: failed program was:" >&5
12785 sed 's/^/| /' conftest.$ac_ext >&5
12786
12787 bakefile_compiler_mwerks=no
12788 fi
12789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12790 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12791
12792 fi
12793 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12794 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12795
12796 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12797 ac_ext=c
12798 ac_cpp='$CPP $CPPFLAGS'
12799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12802
12803
12804 ac_ext=c
12805 ac_cpp='$CPP $CPPFLAGS'
12806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12809
12810 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12811 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12812 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12813 echo $ECHO_N "(cached) $ECHO_C" >&6
12814 else
12815 cat >conftest.$ac_ext <<_ACEOF
12816 /* confdefs.h. */
12817 _ACEOF
12818 cat confdefs.h >>conftest.$ac_ext
12819 cat >>conftest.$ac_ext <<_ACEOF
12820 /* end confdefs.h. */
12821
12822 int
12823 main ()
12824 {
12825 #ifndef __xlC__
12826 choke me
12827 #endif
12828
12829 ;
12830 return 0;
12831 }
12832 _ACEOF
12833 rm -f conftest.$ac_objext
12834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12835 (eval $ac_compile) 2>conftest.er1
12836 ac_status=$?
12837 grep -v '^ *+' conftest.er1 >conftest.err
12838 rm -f conftest.er1
12839 cat conftest.err >&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); } &&
12842 { ac_try='test -z "$ac_c_werror_flag"
12843 || test ! -s conftest.err'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12846 ac_status=$?
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; } &&
12849 { ac_try='test -s conftest.$ac_objext'
12850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12851 (eval $ac_try) 2>&5
12852 ac_status=$?
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); }; }; then
12855 bakefile_compiler_xlc=yes
12856 else
12857 echo "$as_me: failed program was:" >&5
12858 sed 's/^/| /' conftest.$ac_ext >&5
12859
12860 bakefile_compiler_xlc=no
12861 fi
12862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12863 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12864
12865 fi
12866 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12867 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12868
12869 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12870 ac_ext=c
12871 ac_cpp='$CPP $CPPFLAGS'
12872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12875
12876
12877 ;;
12878
12879 IRIX*)
12880
12881
12882 ac_ext=c
12883 ac_cpp='$CPP $CPPFLAGS'
12884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12887
12888 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12889 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12890 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12892 else
12893 cat >conftest.$ac_ext <<_ACEOF
12894 /* confdefs.h. */
12895 _ACEOF
12896 cat confdefs.h >>conftest.$ac_ext
12897 cat >>conftest.$ac_ext <<_ACEOF
12898 /* end confdefs.h. */
12899
12900 int
12901 main ()
12902 {
12903
12904 #ifndef _SGI_COMPILER_VERSION
12905 choke me
12906 #endif
12907
12908 ;
12909 return 0;
12910 }
12911 _ACEOF
12912 rm -f conftest.$ac_objext
12913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12914 (eval $ac_compile) 2>conftest.er1
12915 ac_status=$?
12916 grep -v '^ *+' conftest.er1 >conftest.err
12917 rm -f conftest.er1
12918 cat conftest.err >&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); } &&
12921 { ac_try='test -z "$ac_c_werror_flag"
12922 || test ! -s conftest.err'
12923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12924 (eval $ac_try) 2>&5
12925 ac_status=$?
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); }; } &&
12928 { ac_try='test -s conftest.$ac_objext'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12931 ac_status=$?
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; }; then
12934 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12935 else
12936 echo "$as_me: failed program was:" >&5
12937 sed 's/^/| /' conftest.$ac_ext >&5
12938
12939 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12940
12941 fi
12942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12943
12944
12945 fi
12946 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12947 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12948 ac_ext=c
12949 ac_cpp='$CPP $CPPFLAGS'
12950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12953
12954 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12955 :; SGICC=yes
12956 else
12957 :;
12958 fi
12959
12960
12961 ;;
12962
12963 HP-UX*)
12964
12965
12966 ac_ext=c
12967 ac_cpp='$CPP $CPPFLAGS'
12968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12971
12972 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12973 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12974 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12975 echo $ECHO_N "(cached) $ECHO_C" >&6
12976 else
12977 cat >conftest.$ac_ext <<_ACEOF
12978 /* confdefs.h. */
12979 _ACEOF
12980 cat confdefs.h >>conftest.$ac_ext
12981 cat >>conftest.$ac_ext <<_ACEOF
12982 /* end confdefs.h. */
12983
12984 int
12985 main ()
12986 {
12987
12988 #ifndef __HP_cc
12989 choke me
12990 #endif
12991
12992 ;
12993 return 0;
12994 }
12995 _ACEOF
12996 rm -f conftest.$ac_objext
12997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12998 (eval $ac_compile) 2>conftest.er1
12999 ac_status=$?
13000 grep -v '^ *+' conftest.er1 >conftest.err
13001 rm -f conftest.er1
13002 cat conftest.err >&5
13003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13004 (exit $ac_status); } &&
13005 { ac_try='test -z "$ac_c_werror_flag"
13006 || test ! -s conftest.err'
13007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13008 (eval $ac_try) 2>&5
13009 ac_status=$?
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); }; } &&
13012 { ac_try='test -s conftest.$ac_objext'
13013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13014 (eval $ac_try) 2>&5
13015 ac_status=$?
13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); }; }; then
13018 bakefile_cv_c_compiler___HP_cc=yes
13019 else
13020 echo "$as_me: failed program was:" >&5
13021 sed 's/^/| /' conftest.$ac_ext >&5
13022
13023 bakefile_cv_c_compiler___HP_cc=no
13024
13025 fi
13026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13027
13028
13029 fi
13030 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13031 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13032 ac_ext=c
13033 ac_cpp='$CPP $CPPFLAGS'
13034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13037
13038 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13039 :; HPCC=yes
13040 else
13041 :;
13042 fi
13043
13044
13045 ;;
13046
13047 OSF1)
13048
13049
13050 ac_ext=c
13051 ac_cpp='$CPP $CPPFLAGS'
13052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13055
13056 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13057 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13058 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13059 echo $ECHO_N "(cached) $ECHO_C" >&6
13060 else
13061 cat >conftest.$ac_ext <<_ACEOF
13062 /* confdefs.h. */
13063 _ACEOF
13064 cat confdefs.h >>conftest.$ac_ext
13065 cat >>conftest.$ac_ext <<_ACEOF
13066 /* end confdefs.h. */
13067
13068 int
13069 main ()
13070 {
13071
13072 #ifndef __DECC
13073 choke me
13074 #endif
13075
13076 ;
13077 return 0;
13078 }
13079 _ACEOF
13080 rm -f conftest.$ac_objext
13081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13082 (eval $ac_compile) 2>conftest.er1
13083 ac_status=$?
13084 grep -v '^ *+' conftest.er1 >conftest.err
13085 rm -f conftest.er1
13086 cat conftest.err >&5
13087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13088 (exit $ac_status); } &&
13089 { ac_try='test -z "$ac_c_werror_flag"
13090 || test ! -s conftest.err'
13091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13092 (eval $ac_try) 2>&5
13093 ac_status=$?
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; } &&
13096 { ac_try='test -s conftest.$ac_objext'
13097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13098 (eval $ac_try) 2>&5
13099 ac_status=$?
13100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13101 (exit $ac_status); }; }; then
13102 bakefile_cv_c_compiler___DECC=yes
13103 else
13104 echo "$as_me: failed program was:" >&5
13105 sed 's/^/| /' conftest.$ac_ext >&5
13106
13107 bakefile_cv_c_compiler___DECC=no
13108
13109 fi
13110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13111
13112
13113 fi
13114 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13115 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13116 ac_ext=c
13117 ac_cpp='$CPP $CPPFLAGS'
13118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13121
13122 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13123 :; COMPAQCC=yes
13124 else
13125 :;
13126 fi
13127
13128
13129 ;;
13130
13131 SunOS)
13132
13133
13134 ac_ext=c
13135 ac_cpp='$CPP $CPPFLAGS'
13136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13139
13140 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13141 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13142 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13143 echo $ECHO_N "(cached) $ECHO_C" >&6
13144 else
13145 cat >conftest.$ac_ext <<_ACEOF
13146 /* confdefs.h. */
13147 _ACEOF
13148 cat confdefs.h >>conftest.$ac_ext
13149 cat >>conftest.$ac_ext <<_ACEOF
13150 /* end confdefs.h. */
13151
13152 int
13153 main ()
13154 {
13155
13156 #ifndef __SUNPRO_C
13157 choke me
13158 #endif
13159
13160 ;
13161 return 0;
13162 }
13163 _ACEOF
13164 rm -f conftest.$ac_objext
13165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13166 (eval $ac_compile) 2>conftest.er1
13167 ac_status=$?
13168 grep -v '^ *+' conftest.er1 >conftest.err
13169 rm -f conftest.er1
13170 cat conftest.err >&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); } &&
13173 { ac_try='test -z "$ac_c_werror_flag"
13174 || test ! -s conftest.err'
13175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13176 (eval $ac_try) 2>&5
13177 ac_status=$?
13178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13179 (exit $ac_status); }; } &&
13180 { ac_try='test -s conftest.$ac_objext'
13181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13182 (eval $ac_try) 2>&5
13183 ac_status=$?
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); }; }; then
13186 bakefile_cv_c_compiler___SUNPRO_C=yes
13187 else
13188 echo "$as_me: failed program was:" >&5
13189 sed 's/^/| /' conftest.$ac_ext >&5
13190
13191 bakefile_cv_c_compiler___SUNPRO_C=no
13192
13193 fi
13194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13195
13196
13197 fi
13198 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13199 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13200 ac_ext=c
13201 ac_cpp='$CPP $CPPFLAGS'
13202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13205
13206 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13207 :; SUNCC=yes
13208 else
13209 :;
13210 fi
13211
13212
13213 ;;
13214 esac
13215 fi
13216
13217
13218
13219 ac_ext=c
13220 ac_cpp='$CPP $CPPFLAGS'
13221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13224 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13225 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13226 # On Suns, sometimes $CPP names a directory.
13227 if test -n "$CPP" && test -d "$CPP"; then
13228 CPP=
13229 fi
13230 if test -z "$CPP"; then
13231 if test "${ac_cv_prog_CPP+set}" = set; then
13232 echo $ECHO_N "(cached) $ECHO_C" >&6
13233 else
13234 # Double quotes because CPP needs to be expanded
13235 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13236 do
13237 ac_preproc_ok=false
13238 for ac_c_preproc_warn_flag in '' yes
13239 do
13240 # Use a header file that comes with gcc, so configuring glibc
13241 # with a fresh cross-compiler works.
13242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13243 # <limits.h> exists even on freestanding compilers.
13244 # On the NeXT, cc -E runs the code through the compiler's parser,
13245 # not just through cpp. "Syntax error" is here to catch this case.
13246 cat >conftest.$ac_ext <<_ACEOF
13247 /* confdefs.h. */
13248 _ACEOF
13249 cat confdefs.h >>conftest.$ac_ext
13250 cat >>conftest.$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13252 #ifdef __STDC__
13253 # include <limits.h>
13254 #else
13255 # include <assert.h>
13256 #endif
13257 Syntax error
13258 _ACEOF
13259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13261 ac_status=$?
13262 grep -v '^ *+' conftest.er1 >conftest.err
13263 rm -f conftest.er1
13264 cat conftest.err >&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); } >/dev/null; then
13267 if test -s conftest.err; then
13268 ac_cpp_err=$ac_c_preproc_warn_flag
13269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13270 else
13271 ac_cpp_err=
13272 fi
13273 else
13274 ac_cpp_err=yes
13275 fi
13276 if test -z "$ac_cpp_err"; then
13277 :
13278 else
13279 echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.$ac_ext >&5
13281
13282 # Broken: fails on valid input.
13283 continue
13284 fi
13285 rm -f conftest.err conftest.$ac_ext
13286
13287 # OK, works on sane cases. Now check whether non-existent headers
13288 # can be detected and how.
13289 cat >conftest.$ac_ext <<_ACEOF
13290 /* confdefs.h. */
13291 _ACEOF
13292 cat confdefs.h >>conftest.$ac_ext
13293 cat >>conftest.$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13295 #include <ac_nonexistent.h>
13296 _ACEOF
13297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13299 ac_status=$?
13300 grep -v '^ *+' conftest.er1 >conftest.err
13301 rm -f conftest.er1
13302 cat conftest.err >&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } >/dev/null; then
13305 if test -s conftest.err; then
13306 ac_cpp_err=$ac_c_preproc_warn_flag
13307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13308 else
13309 ac_cpp_err=
13310 fi
13311 else
13312 ac_cpp_err=yes
13313 fi
13314 if test -z "$ac_cpp_err"; then
13315 # Broken: success on invalid input.
13316 continue
13317 else
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.$ac_ext >&5
13320
13321 # Passes both tests.
13322 ac_preproc_ok=:
13323 break
13324 fi
13325 rm -f conftest.err conftest.$ac_ext
13326
13327 done
13328 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13329 rm -f conftest.err conftest.$ac_ext
13330 if $ac_preproc_ok; then
13331 break
13332 fi
13333
13334 done
13335 ac_cv_prog_CPP=$CPP
13336
13337 fi
13338 CPP=$ac_cv_prog_CPP
13339 else
13340 ac_cv_prog_CPP=$CPP
13341 fi
13342 echo "$as_me:$LINENO: result: $CPP" >&5
13343 echo "${ECHO_T}$CPP" >&6
13344 ac_preproc_ok=false
13345 for ac_c_preproc_warn_flag in '' yes
13346 do
13347 # Use a header file that comes with gcc, so configuring glibc
13348 # with a fresh cross-compiler works.
13349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13350 # <limits.h> exists even on freestanding compilers.
13351 # On the NeXT, cc -E runs the code through the compiler's parser,
13352 # not just through cpp. "Syntax error" is here to catch this case.
13353 cat >conftest.$ac_ext <<_ACEOF
13354 /* confdefs.h. */
13355 _ACEOF
13356 cat confdefs.h >>conftest.$ac_ext
13357 cat >>conftest.$ac_ext <<_ACEOF
13358 /* end confdefs.h. */
13359 #ifdef __STDC__
13360 # include <limits.h>
13361 #else
13362 # include <assert.h>
13363 #endif
13364 Syntax error
13365 _ACEOF
13366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13368 ac_status=$?
13369 grep -v '^ *+' conftest.er1 >conftest.err
13370 rm -f conftest.er1
13371 cat conftest.err >&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); } >/dev/null; then
13374 if test -s conftest.err; then
13375 ac_cpp_err=$ac_c_preproc_warn_flag
13376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13377 else
13378 ac_cpp_err=
13379 fi
13380 else
13381 ac_cpp_err=yes
13382 fi
13383 if test -z "$ac_cpp_err"; then
13384 :
13385 else
13386 echo "$as_me: failed program was:" >&5
13387 sed 's/^/| /' conftest.$ac_ext >&5
13388
13389 # Broken: fails on valid input.
13390 continue
13391 fi
13392 rm -f conftest.err conftest.$ac_ext
13393
13394 # OK, works on sane cases. Now check whether non-existent headers
13395 # can be detected and how.
13396 cat >conftest.$ac_ext <<_ACEOF
13397 /* confdefs.h. */
13398 _ACEOF
13399 cat confdefs.h >>conftest.$ac_ext
13400 cat >>conftest.$ac_ext <<_ACEOF
13401 /* end confdefs.h. */
13402 #include <ac_nonexistent.h>
13403 _ACEOF
13404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13406 ac_status=$?
13407 grep -v '^ *+' conftest.er1 >conftest.err
13408 rm -f conftest.er1
13409 cat conftest.err >&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); } >/dev/null; then
13412 if test -s conftest.err; then
13413 ac_cpp_err=$ac_c_preproc_warn_flag
13414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13415 else
13416 ac_cpp_err=
13417 fi
13418 else
13419 ac_cpp_err=yes
13420 fi
13421 if test -z "$ac_cpp_err"; then
13422 # Broken: success on invalid input.
13423 continue
13424 else
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.$ac_ext >&5
13427
13428 # Passes both tests.
13429 ac_preproc_ok=:
13430 break
13431 fi
13432 rm -f conftest.err conftest.$ac_ext
13433
13434 done
13435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13436 rm -f conftest.err conftest.$ac_ext
13437 if $ac_preproc_ok; then
13438 :
13439 else
13440 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13441 See \`config.log' for more details." >&5
13442 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13443 See \`config.log' for more details." >&2;}
13444 { (exit 1); exit 1; }; }
13445 fi
13446
13447 ac_ext=c
13448 ac_cpp='$CPP $CPPFLAGS'
13449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13452
13453
13454 echo "$as_me:$LINENO: checking for egrep" >&5
13455 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13456 if test "${ac_cv_prog_egrep+set}" = set; then
13457 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 else
13459 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13460 then ac_cv_prog_egrep='grep -E'
13461 else ac_cv_prog_egrep='egrep'
13462 fi
13463 fi
13464 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13465 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13466 EGREP=$ac_cv_prog_egrep
13467
13468
13469 if test $ac_cv_c_compiler_gnu = yes; then
13470 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13471 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13472 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13473 echo $ECHO_N "(cached) $ECHO_C" >&6
13474 else
13475 ac_pattern="Autoconf.*'x'"
13476 cat >conftest.$ac_ext <<_ACEOF
13477 /* confdefs.h. */
13478 _ACEOF
13479 cat confdefs.h >>conftest.$ac_ext
13480 cat >>conftest.$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13482 #include <sgtty.h>
13483 Autoconf TIOCGETP
13484 _ACEOF
13485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13486 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13487 ac_cv_prog_gcc_traditional=yes
13488 else
13489 ac_cv_prog_gcc_traditional=no
13490 fi
13491 rm -f conftest*
13492
13493
13494 if test $ac_cv_prog_gcc_traditional = no; then
13495 cat >conftest.$ac_ext <<_ACEOF
13496 /* confdefs.h. */
13497 _ACEOF
13498 cat confdefs.h >>conftest.$ac_ext
13499 cat >>conftest.$ac_ext <<_ACEOF
13500 /* end confdefs.h. */
13501 #include <termio.h>
13502 Autoconf TCGETA
13503 _ACEOF
13504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13505 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13506 ac_cv_prog_gcc_traditional=yes
13507 fi
13508 rm -f conftest*
13509
13510 fi
13511 fi
13512 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13513 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13514 if test $ac_cv_prog_gcc_traditional = yes; then
13515 CC="$CC -traditional"
13516 fi
13517 fi
13518
13519
13520 ac_ext=cc
13521 ac_cpp='$CXXCPP $CPPFLAGS'
13522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13525
13526
13527 CXXFLAGS=${CXXFLAGS:=}
13528
13529
13530
13531 ac_ext=cc
13532 ac_cpp='$CXXCPP $CPPFLAGS'
13533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13536 if test -n "$ac_tool_prefix"; then
13537 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13538 do
13539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13541 echo "$as_me:$LINENO: checking for $ac_word" >&5
13542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13543 if test "${ac_cv_prog_CXX+set}" = set; then
13544 echo $ECHO_N "(cached) $ECHO_C" >&6
13545 else
13546 if test -n "$CXX"; then
13547 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13548 else
13549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13550 for as_dir in $PATH
13551 do
13552 IFS=$as_save_IFS
13553 test -z "$as_dir" && as_dir=.
13554 for ac_exec_ext in '' $ac_executable_extensions; do
13555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13556 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13558 break 2
13559 fi
13560 done
13561 done
13562
13563 fi
13564 fi
13565 CXX=$ac_cv_prog_CXX
13566 if test -n "$CXX"; then
13567 echo "$as_me:$LINENO: result: $CXX" >&5
13568 echo "${ECHO_T}$CXX" >&6
13569 else
13570 echo "$as_me:$LINENO: result: no" >&5
13571 echo "${ECHO_T}no" >&6
13572 fi
13573
13574 test -n "$CXX" && break
13575 done
13576 fi
13577 if test -z "$CXX"; then
13578 ac_ct_CXX=$CXX
13579 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13580 do
13581 # Extract the first word of "$ac_prog", so it can be a program name with args.
13582 set dummy $ac_prog; ac_word=$2
13583 echo "$as_me:$LINENO: checking for $ac_word" >&5
13584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13585 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13586 echo $ECHO_N "(cached) $ECHO_C" >&6
13587 else
13588 if test -n "$ac_ct_CXX"; then
13589 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13590 else
13591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13592 for as_dir in $PATH
13593 do
13594 IFS=$as_save_IFS
13595 test -z "$as_dir" && as_dir=.
13596 for ac_exec_ext in '' $ac_executable_extensions; do
13597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13598 ac_cv_prog_ac_ct_CXX="$ac_prog"
13599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13600 break 2
13601 fi
13602 done
13603 done
13604
13605 fi
13606 fi
13607 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13608 if test -n "$ac_ct_CXX"; then
13609 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13610 echo "${ECHO_T}$ac_ct_CXX" >&6
13611 else
13612 echo "$as_me:$LINENO: result: no" >&5
13613 echo "${ECHO_T}no" >&6
13614 fi
13615
13616 test -n "$ac_ct_CXX" && break
13617 done
13618 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13619
13620 CXX=$ac_ct_CXX
13621 fi
13622
13623
13624 # Provide some information about the compiler.
13625 echo "$as_me:$LINENO:" \
13626 "checking for C++ compiler version" >&5
13627 ac_compiler=`set X $ac_compile; echo $2`
13628 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13629 (eval $ac_compiler --version </dev/null >&5) 2>&5
13630 ac_status=$?
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); }
13633 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13634 (eval $ac_compiler -v </dev/null >&5) 2>&5
13635 ac_status=$?
13636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13637 (exit $ac_status); }
13638 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13639 (eval $ac_compiler -V </dev/null >&5) 2>&5
13640 ac_status=$?
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }
13643
13644 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13645 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13646 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13647 echo $ECHO_N "(cached) $ECHO_C" >&6
13648 else
13649 cat >conftest.$ac_ext <<_ACEOF
13650 /* confdefs.h. */
13651 _ACEOF
13652 cat confdefs.h >>conftest.$ac_ext
13653 cat >>conftest.$ac_ext <<_ACEOF
13654 /* end confdefs.h. */
13655
13656 int
13657 main ()
13658 {
13659 #ifndef __GNUC__
13660 choke me
13661 #endif
13662
13663 ;
13664 return 0;
13665 }
13666 _ACEOF
13667 rm -f conftest.$ac_objext
13668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13669 (eval $ac_compile) 2>conftest.er1
13670 ac_status=$?
13671 grep -v '^ *+' conftest.er1 >conftest.err
13672 rm -f conftest.er1
13673 cat conftest.err >&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); } &&
13676 { ac_try='test -z "$ac_cxx_werror_flag"
13677 || test ! -s conftest.err'
13678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13679 (eval $ac_try) 2>&5
13680 ac_status=$?
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; } &&
13683 { ac_try='test -s conftest.$ac_objext'
13684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13685 (eval $ac_try) 2>&5
13686 ac_status=$?
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; }; then
13689 ac_compiler_gnu=yes
13690 else
13691 echo "$as_me: failed program was:" >&5
13692 sed 's/^/| /' conftest.$ac_ext >&5
13693
13694 ac_compiler_gnu=no
13695 fi
13696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13697 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13698
13699 fi
13700 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13701 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13702 GXX=`test $ac_compiler_gnu = yes && echo yes`
13703 ac_test_CXXFLAGS=${CXXFLAGS+set}
13704 ac_save_CXXFLAGS=$CXXFLAGS
13705 CXXFLAGS="-g"
13706 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13707 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13708 if test "${ac_cv_prog_cxx_g+set}" = set; then
13709 echo $ECHO_N "(cached) $ECHO_C" >&6
13710 else
13711 cat >conftest.$ac_ext <<_ACEOF
13712 /* confdefs.h. */
13713 _ACEOF
13714 cat confdefs.h >>conftest.$ac_ext
13715 cat >>conftest.$ac_ext <<_ACEOF
13716 /* end confdefs.h. */
13717
13718 int
13719 main ()
13720 {
13721
13722 ;
13723 return 0;
13724 }
13725 _ACEOF
13726 rm -f conftest.$ac_objext
13727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13728 (eval $ac_compile) 2>conftest.er1
13729 ac_status=$?
13730 grep -v '^ *+' conftest.er1 >conftest.err
13731 rm -f conftest.er1
13732 cat conftest.err >&5
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); } &&
13735 { ac_try='test -z "$ac_cxx_werror_flag"
13736 || test ! -s conftest.err'
13737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13738 (eval $ac_try) 2>&5
13739 ac_status=$?
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); }; } &&
13742 { ac_try='test -s conftest.$ac_objext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13745 ac_status=$?
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13748 ac_cv_prog_cxx_g=yes
13749 else
13750 echo "$as_me: failed program was:" >&5
13751 sed 's/^/| /' conftest.$ac_ext >&5
13752
13753 ac_cv_prog_cxx_g=no
13754 fi
13755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13756 fi
13757 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13758 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13759 if test "$ac_test_CXXFLAGS" = set; then
13760 CXXFLAGS=$ac_save_CXXFLAGS
13761 elif test $ac_cv_prog_cxx_g = yes; then
13762 if test "$GXX" = yes; then
13763 CXXFLAGS="-g -O2"
13764 else
13765 CXXFLAGS="-g"
13766 fi
13767 else
13768 if test "$GXX" = yes; then
13769 CXXFLAGS="-O2"
13770 else
13771 CXXFLAGS=
13772 fi
13773 fi
13774 for ac_declaration in \
13775 '' \
13776 'extern "C" void std::exit (int) throw (); using std::exit;' \
13777 'extern "C" void std::exit (int); using std::exit;' \
13778 'extern "C" void exit (int) throw ();' \
13779 'extern "C" void exit (int);' \
13780 'void exit (int);'
13781 do
13782 cat >conftest.$ac_ext <<_ACEOF
13783 /* confdefs.h. */
13784 _ACEOF
13785 cat confdefs.h >>conftest.$ac_ext
13786 cat >>conftest.$ac_ext <<_ACEOF
13787 /* end confdefs.h. */
13788 $ac_declaration
13789 #include <stdlib.h>
13790 int
13791 main ()
13792 {
13793 exit (42);
13794 ;
13795 return 0;
13796 }
13797 _ACEOF
13798 rm -f conftest.$ac_objext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13800 (eval $ac_compile) 2>conftest.er1
13801 ac_status=$?
13802 grep -v '^ *+' conftest.er1 >conftest.err
13803 rm -f conftest.er1
13804 cat conftest.err >&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); } &&
13807 { ac_try='test -z "$ac_cxx_werror_flag"
13808 || test ! -s conftest.err'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13811 ac_status=$?
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; } &&
13814 { ac_try='test -s conftest.$ac_objext'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13817 ac_status=$?
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; }; then
13820 :
13821 else
13822 echo "$as_me: failed program was:" >&5
13823 sed 's/^/| /' conftest.$ac_ext >&5
13824
13825 continue
13826 fi
13827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13828 cat >conftest.$ac_ext <<_ACEOF
13829 /* confdefs.h. */
13830 _ACEOF
13831 cat confdefs.h >>conftest.$ac_ext
13832 cat >>conftest.$ac_ext <<_ACEOF
13833 /* end confdefs.h. */
13834 $ac_declaration
13835 int
13836 main ()
13837 {
13838 exit (42);
13839 ;
13840 return 0;
13841 }
13842 _ACEOF
13843 rm -f conftest.$ac_objext
13844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13845 (eval $ac_compile) 2>conftest.er1
13846 ac_status=$?
13847 grep -v '^ *+' conftest.er1 >conftest.err
13848 rm -f conftest.er1
13849 cat conftest.err >&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); } &&
13852 { ac_try='test -z "$ac_cxx_werror_flag"
13853 || test ! -s conftest.err'
13854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13855 (eval $ac_try) 2>&5
13856 ac_status=$?
13857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13858 (exit $ac_status); }; } &&
13859 { ac_try='test -s conftest.$ac_objext'
13860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13861 (eval $ac_try) 2>&5
13862 ac_status=$?
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 (exit $ac_status); }; }; then
13865 break
13866 else
13867 echo "$as_me: failed program was:" >&5
13868 sed 's/^/| /' conftest.$ac_ext >&5
13869
13870 fi
13871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13872 done
13873 rm -f conftest*
13874 if test -n "$ac_declaration"; then
13875 echo '#ifdef __cplusplus' >>confdefs.h
13876 echo $ac_declaration >>confdefs.h
13877 echo '#endif' >>confdefs.h
13878 fi
13879
13880 ac_ext=cc
13881 ac_cpp='$CXXCPP $CPPFLAGS'
13882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13885
13886
13887
13888 ac_ext=cc
13889 ac_cpp='$CXXCPP $CPPFLAGS'
13890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13893
13894 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13895 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13896 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13897 echo $ECHO_N "(cached) $ECHO_C" >&6
13898 else
13899 cat >conftest.$ac_ext <<_ACEOF
13900 /* confdefs.h. */
13901 _ACEOF
13902 cat confdefs.h >>conftest.$ac_ext
13903 cat >>conftest.$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13905
13906 int
13907 main ()
13908 {
13909
13910 #ifndef __INTEL_COMPILER
13911 choke me
13912 #endif
13913
13914 ;
13915 return 0;
13916 }
13917 _ACEOF
13918 rm -f conftest.$ac_objext
13919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13920 (eval $ac_compile) 2>conftest.er1
13921 ac_status=$?
13922 grep -v '^ *+' conftest.er1 >conftest.err
13923 rm -f conftest.er1
13924 cat conftest.err >&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } &&
13927 { ac_try='test -z "$ac_cxx_werror_flag"
13928 || test ! -s conftest.err'
13929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13930 (eval $ac_try) 2>&5
13931 ac_status=$?
13932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 (exit $ac_status); }; } &&
13934 { ac_try='test -s conftest.$ac_objext'
13935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13936 (eval $ac_try) 2>&5
13937 ac_status=$?
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); }; }; then
13940 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13941 else
13942 echo "$as_me: failed program was:" >&5
13943 sed 's/^/| /' conftest.$ac_ext >&5
13944
13945 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13946
13947 fi
13948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13949
13950
13951 fi
13952 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13953 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13954 ac_ext=cc
13955 ac_cpp='$CXXCPP $CPPFLAGS'
13956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13959
13960 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13961 :; INTELCXX=yes
13962 else
13963 :;
13964 fi
13965
13966
13967 if test "x$GCXX" != "xyes"; then
13968 if test "xCXX" = "xC"; then
13969 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13970 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13971 if test "${bakefile_cv_cxx_exto+set}" = set; then
13972 echo $ECHO_N "(cached) $ECHO_C" >&6
13973 else
13974 cat >conftest.$ac_ext <<_ACEOF
13975 /* confdefs.h. */
13976 _ACEOF
13977 cat confdefs.h >>conftest.$ac_ext
13978 cat >>conftest.$ac_ext <<_ACEOF
13979 /* end confdefs.h. */
13980
13981 int
13982 main ()
13983 {
13984
13985 ;
13986 return 0;
13987 }
13988 _ACEOF
13989 rm -f conftest.$ac_objext conftest.$ac_ext.o
13990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13991 (eval $ac_compile) 2>&5
13992 ac_status=$?
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); }; then
13995 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13996 case $ac_file in
13997 conftest.$ac_ext.o)
13998 bakefile_cv_cxx_exto="-ext o"
13999 ;;
14000 *)
14001 ;;
14002 esac
14003 done
14004 else
14005 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14006 See \`config.log' for more details." >&5
14007 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14008 See \`config.log' for more details." >&2;}
14009 { (exit 1); exit 1; }; }
14010
14011 fi
14012
14013 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14014
14015 fi
14016 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14017 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14018 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14019 if test "cxx" = "c"; then
14020 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14021 fi
14022 if test "cxx" = "cxx"; then
14023 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14024 fi
14025 fi
14026
14027 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14028 unset ac_cv_prog_cc_g
14029 ac_test_CFLAGS=${CFLAGS+set}
14030 ac_save_CFLAGS=$CFLAGS
14031 CFLAGS="-g"
14032 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14033 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14034 if test "${ac_cv_prog_cc_g+set}" = set; then
14035 echo $ECHO_N "(cached) $ECHO_C" >&6
14036 else
14037 cat >conftest.$ac_ext <<_ACEOF
14038 /* confdefs.h. */
14039 _ACEOF
14040 cat confdefs.h >>conftest.$ac_ext
14041 cat >>conftest.$ac_ext <<_ACEOF
14042 /* end confdefs.h. */
14043
14044 int
14045 main ()
14046 {
14047
14048 ;
14049 return 0;
14050 }
14051 _ACEOF
14052 rm -f conftest.$ac_objext
14053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14054 (eval $ac_compile) 2>conftest.er1
14055 ac_status=$?
14056 grep -v '^ *+' conftest.er1 >conftest.err
14057 rm -f conftest.er1
14058 cat conftest.err >&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); } &&
14061 { ac_try='test -z "$ac_cxx_werror_flag"
14062 || test ! -s conftest.err'
14063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14064 (eval $ac_try) 2>&5
14065 ac_status=$?
14066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067 (exit $ac_status); }; } &&
14068 { ac_try='test -s conftest.$ac_objext'
14069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14070 (eval $ac_try) 2>&5
14071 ac_status=$?
14072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14073 (exit $ac_status); }; }; then
14074 ac_cv_prog_cc_g=yes
14075 else
14076 echo "$as_me: failed program was:" >&5
14077 sed 's/^/| /' conftest.$ac_ext >&5
14078
14079 ac_cv_prog_cc_g=no
14080 fi
14081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14082 fi
14083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14084 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14085 if test "$ac_test_CFLAGS" = set; then
14086 CFLAGS=$ac_save_CFLAGS
14087 elif test $ac_cv_prog_cc_g = yes; then
14088 if test "$GCC" = yes; then
14089 CFLAGS="-g -O2"
14090 else
14091 CFLAGS="-g"
14092 fi
14093 else
14094 if test "$GCC" = yes; then
14095 CFLAGS="-O2"
14096 else
14097 CFLAGS=
14098 fi
14099 fi
14100 fi
14101 fi
14102
14103 case `uname -s` in
14104 AIX*)
14105 ac_ext=cc
14106 ac_cpp='$CXXCPP $CPPFLAGS'
14107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14110
14111 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14112 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14113 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14115 else
14116 cat >conftest.$ac_ext <<_ACEOF
14117 /* confdefs.h. */
14118 _ACEOF
14119 cat confdefs.h >>conftest.$ac_ext
14120 cat >>conftest.$ac_ext <<_ACEOF
14121 /* end confdefs.h. */
14122
14123 int
14124 main ()
14125 {
14126 #ifndef __xlC__
14127 choke me
14128 #endif
14129
14130 ;
14131 return 0;
14132 }
14133 _ACEOF
14134 rm -f conftest.$ac_objext
14135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14136 (eval $ac_compile) 2>conftest.er1
14137 ac_status=$?
14138 grep -v '^ *+' conftest.er1 >conftest.err
14139 rm -f conftest.er1
14140 cat conftest.err >&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); } &&
14143 { ac_try='test -z "$ac_cxx_werror_flag"
14144 || test ! -s conftest.err'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; } &&
14150 { ac_try='test -s conftest.$ac_objext'
14151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14152 (eval $ac_try) 2>&5
14153 ac_status=$?
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); }; }; then
14156 bakefile_compiler_xlc=yes
14157 else
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.$ac_ext >&5
14160
14161 bakefile_compiler_xlc=no
14162 fi
14163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14164 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14165
14166 fi
14167 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14168 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14169
14170 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14171 ac_ext=cc
14172 ac_cpp='$CXXCPP $CPPFLAGS'
14173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14176
14177
14178 ;;
14179
14180 Darwin)
14181 ac_ext=cc
14182 ac_cpp='$CXXCPP $CPPFLAGS'
14183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14186
14187 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14188 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14189 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 else
14192 cat >conftest.$ac_ext <<_ACEOF
14193 /* confdefs.h. */
14194 _ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14198
14199 int
14200 main ()
14201 {
14202 #ifndef __MWERKS__
14203 choke me
14204 #endif
14205
14206 ;
14207 return 0;
14208 }
14209 _ACEOF
14210 rm -f conftest.$ac_objext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14212 (eval $ac_compile) 2>conftest.er1
14213 ac_status=$?
14214 grep -v '^ *+' conftest.er1 >conftest.err
14215 rm -f conftest.er1
14216 cat conftest.err >&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } &&
14219 { ac_try='test -z "$ac_cxx_werror_flag"
14220 || test ! -s conftest.err'
14221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14222 (eval $ac_try) 2>&5
14223 ac_status=$?
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); }; } &&
14226 { ac_try='test -s conftest.$ac_objext'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14229 ac_status=$?
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; }; then
14232 bakefile_compiler_mwerks=yes
14233 else
14234 echo "$as_me: failed program was:" >&5
14235 sed 's/^/| /' conftest.$ac_ext >&5
14236
14237 bakefile_compiler_mwerks=no
14238 fi
14239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14240 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14241
14242 fi
14243 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14244 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14245
14246 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14247 ac_ext=cc
14248 ac_cpp='$CXXCPP $CPPFLAGS'
14249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14252
14253
14254 ac_ext=cc
14255 ac_cpp='$CXXCPP $CPPFLAGS'
14256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14259
14260 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14261 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14262 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14263 echo $ECHO_N "(cached) $ECHO_C" >&6
14264 else
14265 cat >conftest.$ac_ext <<_ACEOF
14266 /* confdefs.h. */
14267 _ACEOF
14268 cat confdefs.h >>conftest.$ac_ext
14269 cat >>conftest.$ac_ext <<_ACEOF
14270 /* end confdefs.h. */
14271
14272 int
14273 main ()
14274 {
14275 #ifndef __xlC__
14276 choke me
14277 #endif
14278
14279 ;
14280 return 0;
14281 }
14282 _ACEOF
14283 rm -f conftest.$ac_objext
14284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14285 (eval $ac_compile) 2>conftest.er1
14286 ac_status=$?
14287 grep -v '^ *+' conftest.er1 >conftest.err
14288 rm -f conftest.er1
14289 cat conftest.err >&5
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); } &&
14292 { ac_try='test -z "$ac_cxx_werror_flag"
14293 || test ! -s conftest.err'
14294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14295 (eval $ac_try) 2>&5
14296 ac_status=$?
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); }; } &&
14299 { ac_try='test -s conftest.$ac_objext'
14300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301 (eval $ac_try) 2>&5
14302 ac_status=$?
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; }; then
14305 bakefile_compiler_xlc=yes
14306 else
14307 echo "$as_me: failed program was:" >&5
14308 sed 's/^/| /' conftest.$ac_ext >&5
14309
14310 bakefile_compiler_xlc=no
14311 fi
14312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14313 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14314
14315 fi
14316 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14317 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14318
14319 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14320 ac_ext=cc
14321 ac_cpp='$CXXCPP $CPPFLAGS'
14322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14325
14326
14327 ;;
14328
14329 IRIX*)
14330
14331
14332 ac_ext=cc
14333 ac_cpp='$CXXCPP $CPPFLAGS'
14334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14337
14338 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14339 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14340 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14341 echo $ECHO_N "(cached) $ECHO_C" >&6
14342 else
14343 cat >conftest.$ac_ext <<_ACEOF
14344 /* confdefs.h. */
14345 _ACEOF
14346 cat confdefs.h >>conftest.$ac_ext
14347 cat >>conftest.$ac_ext <<_ACEOF
14348 /* end confdefs.h. */
14349
14350 int
14351 main ()
14352 {
14353
14354 #ifndef _SGI_COMPILER_VERSION
14355 choke me
14356 #endif
14357
14358 ;
14359 return 0;
14360 }
14361 _ACEOF
14362 rm -f conftest.$ac_objext
14363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14364 (eval $ac_compile) 2>conftest.er1
14365 ac_status=$?
14366 grep -v '^ *+' conftest.er1 >conftest.err
14367 rm -f conftest.er1
14368 cat conftest.err >&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); } &&
14371 { ac_try='test -z "$ac_cxx_werror_flag"
14372 || test ! -s conftest.err'
14373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14374 (eval $ac_try) 2>&5
14375 ac_status=$?
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); }; } &&
14378 { ac_try='test -s conftest.$ac_objext'
14379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14380 (eval $ac_try) 2>&5
14381 ac_status=$?
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); }; }; then
14384 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14385 else
14386 echo "$as_me: failed program was:" >&5
14387 sed 's/^/| /' conftest.$ac_ext >&5
14388
14389 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14390
14391 fi
14392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14393
14394
14395 fi
14396 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14397 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14398 ac_ext=cc
14399 ac_cpp='$CXXCPP $CPPFLAGS'
14400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14403
14404 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14405 :; SGICXX=yes
14406 else
14407 :;
14408 fi
14409
14410
14411 ;;
14412
14413 HP-UX*)
14414
14415
14416 ac_ext=cc
14417 ac_cpp='$CXXCPP $CPPFLAGS'
14418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14421
14422 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14423 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14424 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14425 echo $ECHO_N "(cached) $ECHO_C" >&6
14426 else
14427 cat >conftest.$ac_ext <<_ACEOF
14428 /* confdefs.h. */
14429 _ACEOF
14430 cat confdefs.h >>conftest.$ac_ext
14431 cat >>conftest.$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14433
14434 int
14435 main ()
14436 {
14437
14438 #ifndef __HP_aCC
14439 choke me
14440 #endif
14441
14442 ;
14443 return 0;
14444 }
14445 _ACEOF
14446 rm -f conftest.$ac_objext
14447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14448 (eval $ac_compile) 2>conftest.er1
14449 ac_status=$?
14450 grep -v '^ *+' conftest.er1 >conftest.err
14451 rm -f conftest.er1
14452 cat conftest.err >&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); } &&
14455 { ac_try='test -z "$ac_cxx_werror_flag"
14456 || test ! -s conftest.err'
14457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14458 (eval $ac_try) 2>&5
14459 ac_status=$?
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); }; } &&
14462 { ac_try='test -s conftest.$ac_objext'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14465 ac_status=$?
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; }; then
14468 bakefile_cv_cxx_compiler___HP_aCC=yes
14469 else
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14472
14473 bakefile_cv_cxx_compiler___HP_aCC=no
14474
14475 fi
14476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14477
14478
14479 fi
14480 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14481 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14482 ac_ext=cc
14483 ac_cpp='$CXXCPP $CPPFLAGS'
14484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14487
14488 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14489 :; HPCXX=yes
14490 else
14491 :;
14492 fi
14493
14494
14495 ;;
14496
14497 OSF1)
14498
14499
14500 ac_ext=cc
14501 ac_cpp='$CXXCPP $CPPFLAGS'
14502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14505
14506 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14507 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14508 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14510 else
14511 cat >conftest.$ac_ext <<_ACEOF
14512 /* confdefs.h. */
14513 _ACEOF
14514 cat confdefs.h >>conftest.$ac_ext
14515 cat >>conftest.$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14517
14518 int
14519 main ()
14520 {
14521
14522 #ifndef __DECCXX
14523 choke me
14524 #endif
14525
14526 ;
14527 return 0;
14528 }
14529 _ACEOF
14530 rm -f conftest.$ac_objext
14531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14532 (eval $ac_compile) 2>conftest.er1
14533 ac_status=$?
14534 grep -v '^ *+' conftest.er1 >conftest.err
14535 rm -f conftest.er1
14536 cat conftest.err >&5
14537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14538 (exit $ac_status); } &&
14539 { ac_try='test -z "$ac_cxx_werror_flag"
14540 || test ! -s conftest.err'
14541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14542 (eval $ac_try) 2>&5
14543 ac_status=$?
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; } &&
14546 { ac_try='test -s conftest.$ac_objext'
14547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14548 (eval $ac_try) 2>&5
14549 ac_status=$?
14550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14551 (exit $ac_status); }; }; then
14552 bakefile_cv_cxx_compiler___DECCXX=yes
14553 else
14554 echo "$as_me: failed program was:" >&5
14555 sed 's/^/| /' conftest.$ac_ext >&5
14556
14557 bakefile_cv_cxx_compiler___DECCXX=no
14558
14559 fi
14560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14561
14562
14563 fi
14564 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14565 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14566 ac_ext=cc
14567 ac_cpp='$CXXCPP $CPPFLAGS'
14568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14571
14572 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14573 :; COMPAQCXX=yes
14574 else
14575 :;
14576 fi
14577
14578
14579 ;;
14580
14581 SunOS)
14582
14583
14584 ac_ext=cc
14585 ac_cpp='$CXXCPP $CPPFLAGS'
14586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14589
14590 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14591 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14592 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14593 echo $ECHO_N "(cached) $ECHO_C" >&6
14594 else
14595 cat >conftest.$ac_ext <<_ACEOF
14596 /* confdefs.h. */
14597 _ACEOF
14598 cat confdefs.h >>conftest.$ac_ext
14599 cat >>conftest.$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14601
14602 int
14603 main ()
14604 {
14605
14606 #ifndef __SUNPRO_CC
14607 choke me
14608 #endif
14609
14610 ;
14611 return 0;
14612 }
14613 _ACEOF
14614 rm -f conftest.$ac_objext
14615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14616 (eval $ac_compile) 2>conftest.er1
14617 ac_status=$?
14618 grep -v '^ *+' conftest.er1 >conftest.err
14619 rm -f conftest.er1
14620 cat conftest.err >&5
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); } &&
14623 { ac_try='test -z "$ac_cxx_werror_flag"
14624 || test ! -s conftest.err'
14625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14626 (eval $ac_try) 2>&5
14627 ac_status=$?
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); }; } &&
14630 { ac_try='test -s conftest.$ac_objext'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14633 ac_status=$?
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; }; then
14636 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14637 else
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.$ac_ext >&5
14640
14641 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14642
14643 fi
14644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14645
14646
14647 fi
14648 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14649 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14650 ac_ext=cc
14651 ac_cpp='$CXXCPP $CPPFLAGS'
14652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14655
14656 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14657 :; SUNCXX=yes
14658 else
14659 :;
14660 fi
14661
14662
14663 ;;
14664 esac
14665 fi
14666
14667
14668
14669 if test -n "$ac_tool_prefix"; then
14670 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14671 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14672 echo "$as_me:$LINENO: checking for $ac_word" >&5
14673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14674 if test "${ac_cv_prog_RANLIB+set}" = set; then
14675 echo $ECHO_N "(cached) $ECHO_C" >&6
14676 else
14677 if test -n "$RANLIB"; then
14678 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14679 else
14680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14681 for as_dir in $PATH
14682 do
14683 IFS=$as_save_IFS
14684 test -z "$as_dir" && as_dir=.
14685 for ac_exec_ext in '' $ac_executable_extensions; do
14686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14687 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14689 break 2
14690 fi
14691 done
14692 done
14693
14694 fi
14695 fi
14696 RANLIB=$ac_cv_prog_RANLIB
14697 if test -n "$RANLIB"; then
14698 echo "$as_me:$LINENO: result: $RANLIB" >&5
14699 echo "${ECHO_T}$RANLIB" >&6
14700 else
14701 echo "$as_me:$LINENO: result: no" >&5
14702 echo "${ECHO_T}no" >&6
14703 fi
14704
14705 fi
14706 if test -z "$ac_cv_prog_RANLIB"; then
14707 ac_ct_RANLIB=$RANLIB
14708 # Extract the first word of "ranlib", so it can be a program name with args.
14709 set dummy ranlib; ac_word=$2
14710 echo "$as_me:$LINENO: checking for $ac_word" >&5
14711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14712 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14714 else
14715 if test -n "$ac_ct_RANLIB"; then
14716 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14717 else
14718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14719 for as_dir in $PATH
14720 do
14721 IFS=$as_save_IFS
14722 test -z "$as_dir" && as_dir=.
14723 for ac_exec_ext in '' $ac_executable_extensions; do
14724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14725 ac_cv_prog_ac_ct_RANLIB="ranlib"
14726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14727 break 2
14728 fi
14729 done
14730 done
14731
14732 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14733 fi
14734 fi
14735 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14736 if test -n "$ac_ct_RANLIB"; then
14737 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14738 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14739 else
14740 echo "$as_me:$LINENO: result: no" >&5
14741 echo "${ECHO_T}no" >&6
14742 fi
14743
14744 RANLIB=$ac_ct_RANLIB
14745 else
14746 RANLIB="$ac_cv_prog_RANLIB"
14747 fi
14748
14749
14750 if test -n "$ac_tool_prefix"; then
14751 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14752 set dummy ${ac_tool_prefix}ar; ac_word=$2
14753 echo "$as_me:$LINENO: checking for $ac_word" >&5
14754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14755 if test "${ac_cv_prog_AR+set}" = set; then
14756 echo $ECHO_N "(cached) $ECHO_C" >&6
14757 else
14758 if test -n "$AR"; then
14759 ac_cv_prog_AR="$AR" # Let the user override the test.
14760 else
14761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14762 for as_dir in $PATH
14763 do
14764 IFS=$as_save_IFS
14765 test -z "$as_dir" && as_dir=.
14766 for ac_exec_ext in '' $ac_executable_extensions; do
14767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14768 ac_cv_prog_AR="${ac_tool_prefix}ar"
14769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14770 break 2
14771 fi
14772 done
14773 done
14774
14775 fi
14776 fi
14777 AR=$ac_cv_prog_AR
14778 if test -n "$AR"; then
14779 echo "$as_me:$LINENO: result: $AR" >&5
14780 echo "${ECHO_T}$AR" >&6
14781 else
14782 echo "$as_me:$LINENO: result: no" >&5
14783 echo "${ECHO_T}no" >&6
14784 fi
14785
14786 fi
14787 if test -z "$ac_cv_prog_AR"; then
14788 ac_ct_AR=$AR
14789 # Extract the first word of "ar", so it can be a program name with args.
14790 set dummy ar; ac_word=$2
14791 echo "$as_me:$LINENO: checking for $ac_word" >&5
14792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14793 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14794 echo $ECHO_N "(cached) $ECHO_C" >&6
14795 else
14796 if test -n "$ac_ct_AR"; then
14797 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14798 else
14799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14800 for as_dir in $PATH
14801 do
14802 IFS=$as_save_IFS
14803 test -z "$as_dir" && as_dir=.
14804 for ac_exec_ext in '' $ac_executable_extensions; do
14805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14806 ac_cv_prog_ac_ct_AR="ar"
14807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14808 break 2
14809 fi
14810 done
14811 done
14812
14813 fi
14814 fi
14815 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14816 if test -n "$ac_ct_AR"; then
14817 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14818 echo "${ECHO_T}$ac_ct_AR" >&6
14819 else
14820 echo "$as_me:$LINENO: result: no" >&5
14821 echo "${ECHO_T}no" >&6
14822 fi
14823
14824 AR=$ac_ct_AR
14825 else
14826 AR="$ac_cv_prog_AR"
14827 fi
14828
14829 if test "x$AR" = "x" ; then
14830 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14831 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14832 { (exit 1); exit 1; }; }
14833 fi
14834
14835 # Find a good install program. We prefer a C program (faster),
14836 # so one script is as good as another. But avoid the broken or
14837 # incompatible versions:
14838 # SysV /etc/install, /usr/sbin/install
14839 # SunOS /usr/etc/install
14840 # IRIX /sbin/install
14841 # AIX /bin/install
14842 # AmigaOS /C/install, which installs bootblocks on floppy discs
14843 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14844 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14845 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14846 # OS/2's system install, which has a completely different semantic
14847 # ./install, which can be erroneously created by make from ./install.sh.
14848 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14849 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14850 if test -z "$INSTALL"; then
14851 if test "${ac_cv_path_install+set}" = set; then
14852 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 else
14854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14855 for as_dir in $PATH
14856 do
14857 IFS=$as_save_IFS
14858 test -z "$as_dir" && as_dir=.
14859 # Account for people who put trailing slashes in PATH elements.
14860 case $as_dir/ in
14861 ./ | .// | /cC/* | \
14862 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14863 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14864 /usr/ucb/* ) ;;
14865 *)
14866 # OSF1 and SCO ODT 3.0 have their own names for install.
14867 # Don't use installbsd from OSF since it installs stuff as root
14868 # by default.
14869 for ac_prog in ginstall scoinst install; do
14870 for ac_exec_ext in '' $ac_executable_extensions; do
14871 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14872 if test $ac_prog = install &&
14873 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14874 # AIX install. It has an incompatible calling convention.
14875 :
14876 elif test $ac_prog = install &&
14877 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14878 # program-specific install script used by HP pwplus--don't use.
14879 :
14880 else
14881 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14882 break 3
14883 fi
14884 fi
14885 done
14886 done
14887 ;;
14888 esac
14889 done
14890
14891
14892 fi
14893 if test "${ac_cv_path_install+set}" = set; then
14894 INSTALL=$ac_cv_path_install
14895 else
14896 # As a last resort, use the slow shell script. We don't cache a
14897 # path for INSTALL within a source directory, because that will
14898 # break other packages using the cache if that directory is
14899 # removed, or if the path is relative.
14900 INSTALL=$ac_install_sh
14901 fi
14902 fi
14903 echo "$as_me:$LINENO: result: $INSTALL" >&5
14904 echo "${ECHO_T}$INSTALL" >&6
14905
14906 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14907 # It thinks the first close brace ends the variable substitution.
14908 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14909
14910 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14911
14912 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14913
14914
14915 case ${INSTALL} in
14916 /* ) # Absolute
14917 ;;
14918 ?:* ) # Drive letter, considered as absolute.
14919 ;;
14920 *)
14921 INSTALL=`pwd`/${INSTALL} ;;
14922 esac
14923
14924
14925 case "${host}" in
14926
14927 *-*-darwin* )
14928 INSTALL_PROGRAM="cp -fp"
14929 INSTALL_DATA="cp -fp"
14930 ;;
14931 *)
14932 ;;
14933 esac
14934
14935 if test -n "$ac_tool_prefix"; then
14936 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14937 set dummy ${ac_tool_prefix}strip; ac_word=$2
14938 echo "$as_me:$LINENO: checking for $ac_word" >&5
14939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14940 if test "${ac_cv_prog_STRIP+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 else
14943 if test -n "$STRIP"; then
14944 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14945 else
14946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14947 for as_dir in $PATH
14948 do
14949 IFS=$as_save_IFS
14950 test -z "$as_dir" && as_dir=.
14951 for ac_exec_ext in '' $ac_executable_extensions; do
14952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14953 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14955 break 2
14956 fi
14957 done
14958 done
14959
14960 fi
14961 fi
14962 STRIP=$ac_cv_prog_STRIP
14963 if test -n "$STRIP"; then
14964 echo "$as_me:$LINENO: result: $STRIP" >&5
14965 echo "${ECHO_T}$STRIP" >&6
14966 else
14967 echo "$as_me:$LINENO: result: no" >&5
14968 echo "${ECHO_T}no" >&6
14969 fi
14970
14971 fi
14972 if test -z "$ac_cv_prog_STRIP"; then
14973 ac_ct_STRIP=$STRIP
14974 # Extract the first word of "strip", so it can be a program name with args.
14975 set dummy strip; ac_word=$2
14976 echo "$as_me:$LINENO: checking for $ac_word" >&5
14977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14978 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14979 echo $ECHO_N "(cached) $ECHO_C" >&6
14980 else
14981 if test -n "$ac_ct_STRIP"; then
14982 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14983 else
14984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14985 for as_dir in $PATH
14986 do
14987 IFS=$as_save_IFS
14988 test -z "$as_dir" && as_dir=.
14989 for ac_exec_ext in '' $ac_executable_extensions; do
14990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14991 ac_cv_prog_ac_ct_STRIP="strip"
14992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14993 break 2
14994 fi
14995 done
14996 done
14997
14998 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
14999 fi
15000 fi
15001 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15002 if test -n "$ac_ct_STRIP"; then
15003 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15004 echo "${ECHO_T}$ac_ct_STRIP" >&6
15005 else
15006 echo "$as_me:$LINENO: result: no" >&5
15007 echo "${ECHO_T}no" >&6
15008 fi
15009
15010 STRIP=$ac_ct_STRIP
15011 else
15012 STRIP="$ac_cv_prog_STRIP"
15013 fi
15014
15015
15016 if test "$wxUSE_WINE" = "yes"; then
15017 if test -n "$ac_tool_prefix"; then
15018 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15019 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15020 echo "$as_me:$LINENO: checking for $ac_word" >&5
15021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15022 if test "${ac_cv_prog_WINDRES+set}" = set; then
15023 echo $ECHO_N "(cached) $ECHO_C" >&6
15024 else
15025 if test -n "$WINDRES"; then
15026 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15027 else
15028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15029 for as_dir in $PATH
15030 do
15031 IFS=$as_save_IFS
15032 test -z "$as_dir" && as_dir=.
15033 for ac_exec_ext in '' $ac_executable_extensions; do
15034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15035 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15037 break 2
15038 fi
15039 done
15040 done
15041
15042 fi
15043 fi
15044 WINDRES=$ac_cv_prog_WINDRES
15045 if test -n "$WINDRES"; then
15046 echo "$as_me:$LINENO: result: $WINDRES" >&5
15047 echo "${ECHO_T}$WINDRES" >&6
15048 else
15049 echo "$as_me:$LINENO: result: no" >&5
15050 echo "${ECHO_T}no" >&6
15051 fi
15052
15053 fi
15054 if test -z "$ac_cv_prog_WINDRES"; then
15055 ac_ct_WINDRES=$WINDRES
15056 # Extract the first word of "wrc", so it can be a program name with args.
15057 set dummy wrc; ac_word=$2
15058 echo "$as_me:$LINENO: checking for $ac_word" >&5
15059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15060 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15061 echo $ECHO_N "(cached) $ECHO_C" >&6
15062 else
15063 if test -n "$ac_ct_WINDRES"; then
15064 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15065 else
15066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15067 for as_dir in $PATH
15068 do
15069 IFS=$as_save_IFS
15070 test -z "$as_dir" && as_dir=.
15071 for ac_exec_ext in '' $ac_executable_extensions; do
15072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15073 ac_cv_prog_ac_ct_WINDRES="wrc"
15074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15075 break 2
15076 fi
15077 done
15078 done
15079
15080 fi
15081 fi
15082 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15083 if test -n "$ac_ct_WINDRES"; then
15084 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15085 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15086 else
15087 echo "$as_me:$LINENO: result: no" >&5
15088 echo "${ECHO_T}no" >&6
15089 fi
15090
15091 WINDRES=$ac_ct_WINDRES
15092 else
15093 WINDRES="$ac_cv_prog_WINDRES"
15094 fi
15095
15096 RESCOMP="$WINDRES"
15097 else
15098 case "${host}" in
15099 *-*-cygwin* | *-*-mingw32* )
15100 if test -n "$ac_tool_prefix"; then
15101 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15102 set dummy ${ac_tool_prefix}windres; ac_word=$2
15103 echo "$as_me:$LINENO: checking for $ac_word" >&5
15104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15105 if test "${ac_cv_prog_WINDRES+set}" = set; then
15106 echo $ECHO_N "(cached) $ECHO_C" >&6
15107 else
15108 if test -n "$WINDRES"; then
15109 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15110 else
15111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15112 for as_dir in $PATH
15113 do
15114 IFS=$as_save_IFS
15115 test -z "$as_dir" && as_dir=.
15116 for ac_exec_ext in '' $ac_executable_extensions; do
15117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15118 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15120 break 2
15121 fi
15122 done
15123 done
15124
15125 fi
15126 fi
15127 WINDRES=$ac_cv_prog_WINDRES
15128 if test -n "$WINDRES"; then
15129 echo "$as_me:$LINENO: result: $WINDRES" >&5
15130 echo "${ECHO_T}$WINDRES" >&6
15131 else
15132 echo "$as_me:$LINENO: result: no" >&5
15133 echo "${ECHO_T}no" >&6
15134 fi
15135
15136 fi
15137 if test -z "$ac_cv_prog_WINDRES"; then
15138 ac_ct_WINDRES=$WINDRES
15139 # Extract the first word of "windres", so it can be a program name with args.
15140 set dummy windres; ac_word=$2
15141 echo "$as_me:$LINENO: checking for $ac_word" >&5
15142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15143 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15144 echo $ECHO_N "(cached) $ECHO_C" >&6
15145 else
15146 if test -n "$ac_ct_WINDRES"; then
15147 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15148 else
15149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15150 for as_dir in $PATH
15151 do
15152 IFS=$as_save_IFS
15153 test -z "$as_dir" && as_dir=.
15154 for ac_exec_ext in '' $ac_executable_extensions; do
15155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15156 ac_cv_prog_ac_ct_WINDRES="windres"
15157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15158 break 2
15159 fi
15160 done
15161 done
15162
15163 fi
15164 fi
15165 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15166 if test -n "$ac_ct_WINDRES"; then
15167 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15168 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15169 else
15170 echo "$as_me:$LINENO: result: no" >&5
15171 echo "${ECHO_T}no" >&6
15172 fi
15173
15174 WINDRES=$ac_ct_WINDRES
15175 else
15176 WINDRES="$ac_cv_prog_WINDRES"
15177 fi
15178
15179 RESCOMP="$WINDRES"
15180 if test -n "$ac_tool_prefix"; then
15181 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15182 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15183 echo "$as_me:$LINENO: checking for $ac_word" >&5
15184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15185 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 else
15188 if test -n "$DLLTOOL"; then
15189 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15190 else
15191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15192 for as_dir in $PATH
15193 do
15194 IFS=$as_save_IFS
15195 test -z "$as_dir" && as_dir=.
15196 for ac_exec_ext in '' $ac_executable_extensions; do
15197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15198 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15200 break 2
15201 fi
15202 done
15203 done
15204
15205 fi
15206 fi
15207 DLLTOOL=$ac_cv_prog_DLLTOOL
15208 if test -n "$DLLTOOL"; then
15209 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15210 echo "${ECHO_T}$DLLTOOL" >&6
15211 else
15212 echo "$as_me:$LINENO: result: no" >&5
15213 echo "${ECHO_T}no" >&6
15214 fi
15215
15216 fi
15217 if test -z "$ac_cv_prog_DLLTOOL"; then
15218 ac_ct_DLLTOOL=$DLLTOOL
15219 # Extract the first word of "dlltool", so it can be a program name with args.
15220 set dummy dlltool; ac_word=$2
15221 echo "$as_me:$LINENO: checking for $ac_word" >&5
15222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15223 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
15225 else
15226 if test -n "$ac_ct_DLLTOOL"; then
15227 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15228 else
15229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15230 for as_dir in $PATH
15231 do
15232 IFS=$as_save_IFS
15233 test -z "$as_dir" && as_dir=.
15234 for ac_exec_ext in '' $ac_executable_extensions; do
15235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15236 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15238 break 2
15239 fi
15240 done
15241 done
15242
15243 fi
15244 fi
15245 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15246 if test -n "$ac_ct_DLLTOOL"; then
15247 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15248 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15249 else
15250 echo "$as_me:$LINENO: result: no" >&5
15251 echo "${ECHO_T}no" >&6
15252 fi
15253
15254 DLLTOOL=$ac_ct_DLLTOOL
15255 else
15256 DLLTOOL="$ac_cv_prog_DLLTOOL"
15257 fi
15258
15259 ;;
15260 esac
15261 fi
15262
15263 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15264 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15265 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15266 echo $ECHO_N "(cached) $ECHO_C" >&6
15267 else
15268
15269 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15270 egrep -s GNU > /dev/null); then
15271 wx_cv_prog_makeisgnu="yes"
15272 else
15273 wx_cv_prog_makeisgnu="no"
15274 fi
15275
15276 fi
15277 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15278 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15279
15280 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15281 IF_GNU_MAKE=""
15282 else
15283 IF_GNU_MAKE="#"
15284 fi
15285
15286
15287
15288 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15289 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15290 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15291 if test "${wx_cv_prog_makevpath+set}" = set; then
15292 echo $ECHO_N "(cached) $ECHO_C" >&6
15293 else
15294
15295 cat - << EOF > confMake
15296 check : file
15297 cp \$? \$@
15298 cp \$? final_file
15299 EOF
15300
15301 if test ! -d sub ; then
15302 mkdir sub
15303 fi
15304 echo dummy > sub/file
15305 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15306 RESULT=$?
15307 rm -f sub/file check final_file confMake
15308 rmdir sub
15309 if test "$RESULT" = 0; then
15310 wx_cv_prog_makevpath="yes"
15311 else
15312 wx_cv_prog_makevpath="no"
15313 fi
15314
15315 fi
15316 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15317 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15318
15319 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15320 { { echo "$as_me:$LINENO: error:
15321 You need a make-utility that is able to use the variable
15322 VPATH correctly.
15323 If your version of make does not support VPATH correctly,
15324 please install GNU-make (possibly as gmake), and start
15325 configure with the following command:
15326 export MAKE=gmake; ./configure for sh-type shells
15327 setenv MAKE gmake; ./configure for csh-type shells
15328 Also please do remember to use gmake in this case every time
15329 you are trying to compile.
15330 " >&5
15331 echo "$as_me: error:
15332 You need a make-utility that is able to use the variable
15333 VPATH correctly.
15334 If your version of make does not support VPATH correctly,
15335 please install GNU-make (possibly as gmake), and start
15336 configure with the following command:
15337 export MAKE=gmake; ./configure for sh-type shells
15338 setenv MAKE gmake; ./configure for csh-type shells
15339 Also please do remember to use gmake in this case every time
15340 you are trying to compile.
15341 " >&2;}
15342 { (exit 1); exit 1; }; }
15343 fi fi
15344 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15345 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15346 LN_S=$as_ln_s
15347 if test "$LN_S" = "ln -s"; then
15348 echo "$as_me:$LINENO: result: yes" >&5
15349 echo "${ECHO_T}yes" >&6
15350 else
15351 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15352 echo "${ECHO_T}no, using $LN_S" >&6
15353 fi
15354
15355
15356
15357
15358 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15359 CXXFLAGS="-qunique $CXXFLAGS"
15360 fi
15361
15362 case "${host}" in
15363 powerpc-*-darwin* )
15364 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15365 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15366 cat >conftest.$ac_ext <<_ACEOF
15367 /* confdefs.h. */
15368 _ACEOF
15369 cat confdefs.h >>conftest.$ac_ext
15370 cat >>conftest.$ac_ext <<_ACEOF
15371 /* end confdefs.h. */
15372
15373 int
15374 main ()
15375 {
15376 #ifndef __POWERPC__
15377 choke me for lack of PowerPC
15378 #endif
15379
15380 ;
15381 return 0;
15382 }
15383 _ACEOF
15384 rm -f conftest.$ac_objext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>conftest.er1
15387 ac_status=$?
15388 grep -v '^ *+' conftest.er1 >conftest.err
15389 rm -f conftest.er1
15390 cat conftest.err >&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try='test -z "$ac_cxx_werror_flag"
15394 || test ! -s conftest.err'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15397 ac_status=$?
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; } &&
15400 { ac_try='test -s conftest.$ac_objext'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15403 ac_status=$?
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15406 echo "$as_me:$LINENO: result: yes" >&5
15407 echo "${ECHO_T}yes" >&6
15408 else
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.$ac_ext >&5
15411
15412 echo "$as_me:$LINENO: result: no" >&5
15413 echo "${ECHO_T}no" >&6
15414 cat >>confdefs.h <<\_ACEOF
15415 #define __POWERPC__ 1
15416 _ACEOF
15417
15418
15419 fi
15420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15421 ;;
15422 esac
15423
15424 case "${host}" in
15425 *-*-darwin* )
15426 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15427 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15428 cat >conftest.$ac_ext <<_ACEOF
15429 /* confdefs.h. */
15430 _ACEOF
15431 cat confdefs.h >>conftest.$ac_ext
15432 cat >>conftest.$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15434 #include <CoreFoundation/CFBase.h>
15435
15436 int
15437 main ()
15438 {
15439
15440 ;
15441 return 0;
15442 }
15443 _ACEOF
15444 rm -f conftest.$ac_objext
15445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15446 (eval $ac_compile) 2>conftest.er1
15447 ac_status=$?
15448 grep -v '^ *+' conftest.er1 >conftest.err
15449 rm -f conftest.er1
15450 cat conftest.err >&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } &&
15453 { ac_try='test -z "$ac_cxx_werror_flag"
15454 || test ! -s conftest.err'
15455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456 (eval $ac_try) 2>&5
15457 ac_status=$?
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; } &&
15460 { ac_try='test -s conftest.$ac_objext'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15463 ac_status=$?
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; }; then
15466 echo "$as_me:$LINENO: result: yes" >&5
15467 echo "${ECHO_T}yes" >&6
15468 else
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15471
15472 echo "$as_me:$LINENO: result: no" >&5
15473 echo "${ECHO_T}no" >&6
15474 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15475 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15476 cat >conftest.$ac_ext <<_ACEOF
15477 /* confdefs.h. */
15478 _ACEOF
15479 cat confdefs.h >>conftest.$ac_ext
15480 cat >>conftest.$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15482 #define __CF_USE_FRAMEWORK_INCLUDES__
15483 #include <CoreFoundation/CFBase.h>
15484
15485 int
15486 main ()
15487 {
15488
15489 ;
15490 return 0;
15491 }
15492 _ACEOF
15493 rm -f conftest.$ac_objext
15494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15495 (eval $ac_compile) 2>conftest.er1
15496 ac_status=$?
15497 grep -v '^ *+' conftest.er1 >conftest.err
15498 rm -f conftest.er1
15499 cat conftest.err >&5
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); } &&
15502 { ac_try='test -z "$ac_cxx_werror_flag"
15503 || test ! -s conftest.err'
15504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15505 (eval $ac_try) 2>&5
15506 ac_status=$?
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); }; } &&
15509 { ac_try='test -s conftest.$ac_objext'
15510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15511 (eval $ac_try) 2>&5
15512 ac_status=$?
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); }; }; then
15515 echo "$as_me:$LINENO: result: yes" >&5
15516 echo "${ECHO_T}yes" >&6
15517 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15518 else
15519 echo "$as_me: failed program was:" >&5
15520 sed 's/^/| /' conftest.$ac_ext >&5
15521
15522 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15523 See \`config.log' for more details." >&5
15524 echo "$as_me: error: no. CoreFoundation not available.
15525 See \`config.log' for more details." >&2;}
15526 { (exit 1); exit 1; }; }
15527
15528 fi
15529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15530
15531
15532 fi
15533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15534 ;;
15535 esac
15536
15537 case "${host}" in
15538 *-pc-os2_emx | *-pc-os2-emx )
15539 ac_ext=c
15540 ac_cpp='$CPP $CPPFLAGS'
15541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15544
15545 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15546 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15547 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15548 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15550 else
15551 ac_check_lib_save_LIBS=$LIBS
15552 LIBS="-lcExt $LIBS"
15553 cat >conftest.$ac_ext <<_ACEOF
15554 /* confdefs.h. */
15555 _ACEOF
15556 cat confdefs.h >>conftest.$ac_ext
15557 cat >>conftest.$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15559
15560 /* Override any gcc2 internal prototype to avoid an error. */
15561 #ifdef __cplusplus
15562 extern "C"
15563 #endif
15564 /* We use char because int might match the return type of a gcc2
15565 builtin and then its argument prototype would still apply. */
15566 char drand48 ();
15567 int
15568 main ()
15569 {
15570 drand48 ();
15571 ;
15572 return 0;
15573 }
15574 _ACEOF
15575 rm -f conftest.$ac_objext conftest$ac_exeext
15576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15577 (eval $ac_link) 2>conftest.er1
15578 ac_status=$?
15579 grep -v '^ *+' conftest.er1 >conftest.err
15580 rm -f conftest.er1
15581 cat conftest.err >&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } &&
15584 { ac_try='test -z "$ac_c_werror_flag"
15585 || test ! -s conftest.err'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15588 ac_status=$?
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; } &&
15591 { ac_try='test -s conftest$ac_exeext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15594 ac_status=$?
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15597 ac_cv_lib_cExt_drand48=yes
15598 else
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.$ac_ext >&5
15601
15602 ac_cv_lib_cExt_drand48=no
15603 fi
15604 rm -f conftest.err conftest.$ac_objext \
15605 conftest$ac_exeext conftest.$ac_ext
15606 LIBS=$ac_check_lib_save_LIBS
15607 fi
15608 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15609 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15610 if test $ac_cv_lib_cExt_drand48 = yes; then
15611 LIBS="$LIBS -lcExt"
15612 fi
15613
15614 else
15615 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15616 fi
15617 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15618 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15619 if test "${wx_cv_gccversion+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15621 else
15622
15623 if test "$cross_compiling" = yes; then
15624 wx_cv_gccversion="EMX2"
15625
15626 else
15627 cat >conftest.$ac_ext <<_ACEOF
15628 /* confdefs.h. */
15629 _ACEOF
15630 cat confdefs.h >>conftest.$ac_ext
15631 cat >>conftest.$ac_ext <<_ACEOF
15632 /* end confdefs.h. */
15633
15634 #include <stdio.h>
15635
15636 int main()
15637 {
15638 FILE *f=fopen("conftestval", "w");
15639 if (!f) exit(1);
15640 fprintf(f,
15641 #if (__GNUC__ < 3)
15642 "EMX2"
15643 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15644 "EMX3"
15645 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15646 "Innotek5"
15647 #else
15648 "Innotek6"
15649 #endif
15650 );
15651 exit(0);
15652 }
15653
15654 _ACEOF
15655 rm -f conftest$ac_exeext
15656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15657 (eval $ac_link) 2>&5
15658 ac_status=$?
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15663 ac_status=$?
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; }; then
15666 wx_cv_gccversion=`cat conftestval`
15667 else
15668 echo "$as_me: program exited with status $ac_status" >&5
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15671
15672 ( exit $ac_status )
15673 wx_cv_gccversion="EMX2"
15674 fi
15675 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15676 fi
15677
15678 fi
15679 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15680 echo "${ECHO_T}$wx_cv_gccversion" >&6
15681 ac_ext=cc
15682 ac_cpp='$CXXCPP $CPPFLAGS'
15683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15686
15687 if test "$wx_cv_gccversion" = "EMX2"; then
15688 LIBS="$LIBS -lstdcpp"
15689 LDFLAGS="$LDFLAGS -Zsysv-signals"
15690 else
15691 if test "$wx_cv_gccversion" = "EMX3"; then
15692 LIBS="$LIBS -lstdcxx -lgcc"
15693 LDFLAGS="$LDFLAGS -Zsysv-signals"
15694 else
15695 LIBS="$LIBS -lstdc++"
15696 fi
15697 fi
15698 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15699 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15700 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15701 wxUSE_OMF=yes
15702 enable_omf=yes
15703 fi
15704 ;;
15705 *)
15706
15707 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15708 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15709 if test "${ac_cv_string_strcasecmp+set}" = set; then
15710 echo $ECHO_N "(cached) $ECHO_C" >&6
15711 else
15712
15713 cat >conftest.$ac_ext <<_ACEOF
15714 /* confdefs.h. */
15715 _ACEOF
15716 cat confdefs.h >>conftest.$ac_ext
15717 cat >>conftest.$ac_ext <<_ACEOF
15718 /* end confdefs.h. */
15719
15720 #include <string.h>
15721
15722 int
15723 main ()
15724 {
15725
15726 strcasecmp("foo", "bar");
15727
15728 ;
15729 return 0;
15730 }
15731 _ACEOF
15732 rm -f conftest.$ac_objext conftest$ac_exeext
15733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15734 (eval $ac_link) 2>conftest.er1
15735 ac_status=$?
15736 grep -v '^ *+' conftest.er1 >conftest.err
15737 rm -f conftest.er1
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } &&
15741 { ac_try='test -z "$ac_cxx_werror_flag"
15742 || test ! -s conftest.err'
15743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15744 (eval $ac_try) 2>&5
15745 ac_status=$?
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); }; } &&
15748 { ac_try='test -s conftest$ac_exeext'
15749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15750 (eval $ac_try) 2>&5
15751 ac_status=$?
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); }; }; then
15754 ac_cv_string_strcasecmp=yes
15755 else
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.$ac_ext >&5
15758
15759 ac_cv_string_strcasecmp=no
15760
15761 fi
15762 rm -f conftest.err conftest.$ac_objext \
15763 conftest$ac_exeext conftest.$ac_ext
15764
15765 fi
15766 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15767 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15768
15769 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15770 cat >>confdefs.h <<\_ACEOF
15771 #define HAVE_STRCASECMP_IN_STRING_H 1
15772 _ACEOF
15773
15774 else
15775 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15776 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15777 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15778 echo $ECHO_N "(cached) $ECHO_C" >&6
15779 else
15780
15781 cat >conftest.$ac_ext <<_ACEOF
15782 /* confdefs.h. */
15783 _ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787
15788 #include <strings.h>
15789
15790 int
15791 main ()
15792 {
15793
15794 strcasecmp("foo", "bar");
15795
15796 ;
15797 return 0;
15798 }
15799 _ACEOF
15800 rm -f conftest.$ac_objext conftest$ac_exeext
15801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15802 (eval $ac_link) 2>conftest.er1
15803 ac_status=$?
15804 grep -v '^ *+' conftest.er1 >conftest.err
15805 rm -f conftest.er1
15806 cat conftest.err >&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } &&
15809 { ac_try='test -z "$ac_cxx_werror_flag"
15810 || test ! -s conftest.err'
15811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812 (eval $ac_try) 2>&5
15813 ac_status=$?
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; } &&
15816 { ac_try='test -s conftest$ac_exeext'
15817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818 (eval $ac_try) 2>&5
15819 ac_status=$?
15820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821 (exit $ac_status); }; }; then
15822 ac_cv_strings_strcasecmp=yes
15823 else
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.$ac_ext >&5
15826
15827 ac_cv_strings_strcasecmp=no
15828
15829 fi
15830 rm -f conftest.err conftest.$ac_objext \
15831 conftest$ac_exeext conftest.$ac_ext
15832
15833 fi
15834 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15835 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15836
15837 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15838 cat >>confdefs.h <<\_ACEOF
15839 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15840 _ACEOF
15841
15842 else
15843 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15844 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15845 { (exit 1); exit 1; }; }
15846 fi
15847 fi
15848
15849 ;;
15850 esac
15851
15852
15853 ac_ext=cc
15854 ac_cpp='$CXXCPP $CPPFLAGS'
15855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15858 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15859 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15860 if test -z "$CXXCPP"; then
15861 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15863 else
15864 # Double quotes because CXXCPP needs to be expanded
15865 for CXXCPP in "$CXX -E" "/lib/cpp"
15866 do
15867 ac_preproc_ok=false
15868 for ac_cxx_preproc_warn_flag in '' yes
15869 do
15870 # Use a header file that comes with gcc, so configuring glibc
15871 # with a fresh cross-compiler works.
15872 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15873 # <limits.h> exists even on freestanding compilers.
15874 # On the NeXT, cc -E runs the code through the compiler's parser,
15875 # not just through cpp. "Syntax error" is here to catch this case.
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 #ifdef __STDC__
15883 # include <limits.h>
15884 #else
15885 # include <assert.h>
15886 #endif
15887 Syntax error
15888 _ACEOF
15889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15891 ac_status=$?
15892 grep -v '^ *+' conftest.er1 >conftest.err
15893 rm -f conftest.er1
15894 cat conftest.err >&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } >/dev/null; then
15897 if test -s conftest.err; then
15898 ac_cpp_err=$ac_cxx_preproc_warn_flag
15899 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15900 else
15901 ac_cpp_err=
15902 fi
15903 else
15904 ac_cpp_err=yes
15905 fi
15906 if test -z "$ac_cpp_err"; then
15907 :
15908 else
15909 echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.$ac_ext >&5
15911
15912 # Broken: fails on valid input.
15913 continue
15914 fi
15915 rm -f conftest.err conftest.$ac_ext
15916
15917 # OK, works on sane cases. Now check whether non-existent headers
15918 # can be detected and how.
15919 cat >conftest.$ac_ext <<_ACEOF
15920 /* confdefs.h. */
15921 _ACEOF
15922 cat confdefs.h >>conftest.$ac_ext
15923 cat >>conftest.$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15925 #include <ac_nonexistent.h>
15926 _ACEOF
15927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15929 ac_status=$?
15930 grep -v '^ *+' conftest.er1 >conftest.err
15931 rm -f conftest.er1
15932 cat conftest.err >&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } >/dev/null; then
15935 if test -s conftest.err; then
15936 ac_cpp_err=$ac_cxx_preproc_warn_flag
15937 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15938 else
15939 ac_cpp_err=
15940 fi
15941 else
15942 ac_cpp_err=yes
15943 fi
15944 if test -z "$ac_cpp_err"; then
15945 # Broken: success on invalid input.
15946 continue
15947 else
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.$ac_ext >&5
15950
15951 # Passes both tests.
15952 ac_preproc_ok=:
15953 break
15954 fi
15955 rm -f conftest.err conftest.$ac_ext
15956
15957 done
15958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15959 rm -f conftest.err conftest.$ac_ext
15960 if $ac_preproc_ok; then
15961 break
15962 fi
15963
15964 done
15965 ac_cv_prog_CXXCPP=$CXXCPP
15966
15967 fi
15968 CXXCPP=$ac_cv_prog_CXXCPP
15969 else
15970 ac_cv_prog_CXXCPP=$CXXCPP
15971 fi
15972 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15973 echo "${ECHO_T}$CXXCPP" >&6
15974 ac_preproc_ok=false
15975 for ac_cxx_preproc_warn_flag in '' yes
15976 do
15977 # Use a header file that comes with gcc, so configuring glibc
15978 # with a fresh cross-compiler works.
15979 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15980 # <limits.h> exists even on freestanding compilers.
15981 # On the NeXT, cc -E runs the code through the compiler's parser,
15982 # not just through cpp. "Syntax error" is here to catch this case.
15983 cat >conftest.$ac_ext <<_ACEOF
15984 /* confdefs.h. */
15985 _ACEOF
15986 cat confdefs.h >>conftest.$ac_ext
15987 cat >>conftest.$ac_ext <<_ACEOF
15988 /* end confdefs.h. */
15989 #ifdef __STDC__
15990 # include <limits.h>
15991 #else
15992 # include <assert.h>
15993 #endif
15994 Syntax error
15995 _ACEOF
15996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15998 ac_status=$?
15999 grep -v '^ *+' conftest.er1 >conftest.err
16000 rm -f conftest.er1
16001 cat conftest.err >&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } >/dev/null; then
16004 if test -s conftest.err; then
16005 ac_cpp_err=$ac_cxx_preproc_warn_flag
16006 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16007 else
16008 ac_cpp_err=
16009 fi
16010 else
16011 ac_cpp_err=yes
16012 fi
16013 if test -z "$ac_cpp_err"; then
16014 :
16015 else
16016 echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.$ac_ext >&5
16018
16019 # Broken: fails on valid input.
16020 continue
16021 fi
16022 rm -f conftest.err conftest.$ac_ext
16023
16024 # OK, works on sane cases. Now check whether non-existent headers
16025 # can be detected and how.
16026 cat >conftest.$ac_ext <<_ACEOF
16027 /* confdefs.h. */
16028 _ACEOF
16029 cat confdefs.h >>conftest.$ac_ext
16030 cat >>conftest.$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16032 #include <ac_nonexistent.h>
16033 _ACEOF
16034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16036 ac_status=$?
16037 grep -v '^ *+' conftest.er1 >conftest.err
16038 rm -f conftest.er1
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } >/dev/null; then
16042 if test -s conftest.err; then
16043 ac_cpp_err=$ac_cxx_preproc_warn_flag
16044 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16045 else
16046 ac_cpp_err=
16047 fi
16048 else
16049 ac_cpp_err=yes
16050 fi
16051 if test -z "$ac_cpp_err"; then
16052 # Broken: success on invalid input.
16053 continue
16054 else
16055 echo "$as_me: failed program was:" >&5
16056 sed 's/^/| /' conftest.$ac_ext >&5
16057
16058 # Passes both tests.
16059 ac_preproc_ok=:
16060 break
16061 fi
16062 rm -f conftest.err conftest.$ac_ext
16063
16064 done
16065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16066 rm -f conftest.err conftest.$ac_ext
16067 if $ac_preproc_ok; then
16068 :
16069 else
16070 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16071 See \`config.log' for more details." >&5
16072 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16073 See \`config.log' for more details." >&2;}
16074 { (exit 1); exit 1; }; }
16075 fi
16076
16077 ac_ext=cc
16078 ac_cpp='$CXXCPP $CPPFLAGS'
16079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16082
16083
16084 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16085 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16086 if test "${ac_cv_header_stdc+set}" = set; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16088 else
16089 cat >conftest.$ac_ext <<_ACEOF
16090 /* confdefs.h. */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095 #include <stdlib.h>
16096 #include <stdarg.h>
16097 #include <string.h>
16098 #include <float.h>
16099
16100 int
16101 main ()
16102 {
16103
16104 ;
16105 return 0;
16106 }
16107 _ACEOF
16108 rm -f conftest.$ac_objext
16109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16110 (eval $ac_compile) 2>conftest.er1
16111 ac_status=$?
16112 grep -v '^ *+' conftest.er1 >conftest.err
16113 rm -f conftest.er1
16114 cat conftest.err >&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); } &&
16117 { ac_try='test -z "$ac_cxx_werror_flag"
16118 || test ! -s conftest.err'
16119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16120 (eval $ac_try) 2>&5
16121 ac_status=$?
16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123 (exit $ac_status); }; } &&
16124 { ac_try='test -s conftest.$ac_objext'
16125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16126 (eval $ac_try) 2>&5
16127 ac_status=$?
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); }; }; then
16130 ac_cv_header_stdc=yes
16131 else
16132 echo "$as_me: failed program was:" >&5
16133 sed 's/^/| /' conftest.$ac_ext >&5
16134
16135 ac_cv_header_stdc=no
16136 fi
16137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16138
16139 if test $ac_cv_header_stdc = yes; then
16140 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16141 cat >conftest.$ac_ext <<_ACEOF
16142 /* confdefs.h. */
16143 _ACEOF
16144 cat confdefs.h >>conftest.$ac_ext
16145 cat >>conftest.$ac_ext <<_ACEOF
16146 /* end confdefs.h. */
16147 #include <string.h>
16148
16149 _ACEOF
16150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16151 $EGREP "memchr" >/dev/null 2>&1; then
16152 :
16153 else
16154 ac_cv_header_stdc=no
16155 fi
16156 rm -f conftest*
16157
16158 fi
16159
16160 if test $ac_cv_header_stdc = yes; then
16161 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16162 cat >conftest.$ac_ext <<_ACEOF
16163 /* confdefs.h. */
16164 _ACEOF
16165 cat confdefs.h >>conftest.$ac_ext
16166 cat >>conftest.$ac_ext <<_ACEOF
16167 /* end confdefs.h. */
16168 #include <stdlib.h>
16169
16170 _ACEOF
16171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16172 $EGREP "free" >/dev/null 2>&1; then
16173 :
16174 else
16175 ac_cv_header_stdc=no
16176 fi
16177 rm -f conftest*
16178
16179 fi
16180
16181 if test $ac_cv_header_stdc = yes; then
16182 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16183 if test "$cross_compiling" = yes; then
16184 :
16185 else
16186 cat >conftest.$ac_ext <<_ACEOF
16187 /* confdefs.h. */
16188 _ACEOF
16189 cat confdefs.h >>conftest.$ac_ext
16190 cat >>conftest.$ac_ext <<_ACEOF
16191 /* end confdefs.h. */
16192 #include <ctype.h>
16193 #if ((' ' & 0x0FF) == 0x020)
16194 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16195 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16196 #else
16197 # define ISLOWER(c) \
16198 (('a' <= (c) && (c) <= 'i') \
16199 || ('j' <= (c) && (c) <= 'r') \
16200 || ('s' <= (c) && (c) <= 'z'))
16201 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16202 #endif
16203
16204 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16205 int
16206 main ()
16207 {
16208 int i;
16209 for (i = 0; i < 256; i++)
16210 if (XOR (islower (i), ISLOWER (i))
16211 || toupper (i) != TOUPPER (i))
16212 exit(2);
16213 exit (0);
16214 }
16215 _ACEOF
16216 rm -f conftest$ac_exeext
16217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16218 (eval $ac_link) 2>&5
16219 ac_status=$?
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16223 (eval $ac_try) 2>&5
16224 ac_status=$?
16225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16226 (exit $ac_status); }; }; then
16227 :
16228 else
16229 echo "$as_me: program exited with status $ac_status" >&5
16230 echo "$as_me: failed program was:" >&5
16231 sed 's/^/| /' conftest.$ac_ext >&5
16232
16233 ( exit $ac_status )
16234 ac_cv_header_stdc=no
16235 fi
16236 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16237 fi
16238 fi
16239 fi
16240 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16241 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16242 if test $ac_cv_header_stdc = yes; then
16243
16244 cat >>confdefs.h <<\_ACEOF
16245 #define STDC_HEADERS 1
16246 _ACEOF
16247
16248 fi
16249
16250 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16261 inttypes.h stdint.h unistd.h
16262 do
16263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16264 echo "$as_me:$LINENO: checking for $ac_header" >&5
16265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16267 echo $ECHO_N "(cached) $ECHO_C" >&6
16268 else
16269 cat >conftest.$ac_ext <<_ACEOF
16270 /* confdefs.h. */
16271 _ACEOF
16272 cat confdefs.h >>conftest.$ac_ext
16273 cat >>conftest.$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275 $ac_includes_default
16276
16277 #include <$ac_header>
16278 _ACEOF
16279 rm -f conftest.$ac_objext
16280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16281 (eval $ac_compile) 2>conftest.er1
16282 ac_status=$?
16283 grep -v '^ *+' conftest.er1 >conftest.err
16284 rm -f conftest.er1
16285 cat conftest.err >&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } &&
16288 { ac_try='test -z "$ac_cxx_werror_flag"
16289 || test ! -s conftest.err'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16292 ac_status=$?
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; } &&
16295 { ac_try='test -s conftest.$ac_objext'
16296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16297 (eval $ac_try) 2>&5
16298 ac_status=$?
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); }; }; then
16301 eval "$as_ac_Header=yes"
16302 else
16303 echo "$as_me: failed program was:" >&5
16304 sed 's/^/| /' conftest.$ac_ext >&5
16305
16306 eval "$as_ac_Header=no"
16307 fi
16308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16309 fi
16310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16313 cat >>confdefs.h <<_ACEOF
16314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16315 _ACEOF
16316
16317 fi
16318
16319 done
16320
16321
16322
16323 for ac_header in stdlib.h
16324 do
16325 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16327 echo "$as_me:$LINENO: checking for $ac_header" >&5
16328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16331 fi
16332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16334 else
16335 # Is the header compilable?
16336 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16338 cat >conftest.$ac_ext <<_ACEOF
16339 /* confdefs.h. */
16340 _ACEOF
16341 cat confdefs.h >>conftest.$ac_ext
16342 cat >>conftest.$ac_ext <<_ACEOF
16343 /* end confdefs.h. */
16344 $ac_includes_default
16345 #include <$ac_header>
16346 _ACEOF
16347 rm -f conftest.$ac_objext
16348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16349 (eval $ac_compile) 2>conftest.er1
16350 ac_status=$?
16351 grep -v '^ *+' conftest.er1 >conftest.err
16352 rm -f conftest.er1
16353 cat conftest.err >&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); } &&
16356 { ac_try='test -z "$ac_cxx_werror_flag"
16357 || test ! -s conftest.err'
16358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16359 (eval $ac_try) 2>&5
16360 ac_status=$?
16361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16362 (exit $ac_status); }; } &&
16363 { ac_try='test -s conftest.$ac_objext'
16364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16365 (eval $ac_try) 2>&5
16366 ac_status=$?
16367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16368 (exit $ac_status); }; }; then
16369 ac_header_compiler=yes
16370 else
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16373
16374 ac_header_compiler=no
16375 fi
16376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16378 echo "${ECHO_T}$ac_header_compiler" >&6
16379
16380 # Is the header present?
16381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16383 cat >conftest.$ac_ext <<_ACEOF
16384 /* confdefs.h. */
16385 _ACEOF
16386 cat confdefs.h >>conftest.$ac_ext
16387 cat >>conftest.$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16389 #include <$ac_header>
16390 _ACEOF
16391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16392 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16393 ac_status=$?
16394 grep -v '^ *+' conftest.er1 >conftest.err
16395 rm -f conftest.er1
16396 cat conftest.err >&5
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); } >/dev/null; then
16399 if test -s conftest.err; then
16400 ac_cpp_err=$ac_cxx_preproc_warn_flag
16401 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16402 else
16403 ac_cpp_err=
16404 fi
16405 else
16406 ac_cpp_err=yes
16407 fi
16408 if test -z "$ac_cpp_err"; then
16409 ac_header_preproc=yes
16410 else
16411 echo "$as_me: failed program was:" >&5
16412 sed 's/^/| /' conftest.$ac_ext >&5
16413
16414 ac_header_preproc=no
16415 fi
16416 rm -f conftest.err conftest.$ac_ext
16417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16418 echo "${ECHO_T}$ac_header_preproc" >&6
16419
16420 # So? What about this header?
16421 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16422 yes:no: )
16423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16427 ac_header_preproc=yes
16428 ;;
16429 no:yes:* )
16430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16434 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16436 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16437 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16440 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16442 (
16443 cat <<\_ASBOX
16444 ## ----------------------------------------- ##
16445 ## Report this to wx-dev@lists.wxwidgets.org ##
16446 ## ----------------------------------------- ##
16447 _ASBOX
16448 ) |
16449 sed "s/^/$as_me: WARNING: /" >&2
16450 ;;
16451 esac
16452 echo "$as_me:$LINENO: checking for $ac_header" >&5
16453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16455 echo $ECHO_N "(cached) $ECHO_C" >&6
16456 else
16457 eval "$as_ac_Header=\$ac_header_preproc"
16458 fi
16459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16461
16462 fi
16463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16464 cat >>confdefs.h <<_ACEOF
16465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16466 _ACEOF
16467
16468 fi
16469
16470 done
16471
16472
16473 for ac_header in malloc.h
16474 do
16475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16477 echo "$as_me:$LINENO: checking for $ac_header" >&5
16478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16480 echo $ECHO_N "(cached) $ECHO_C" >&6
16481 fi
16482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16484 else
16485 # Is the header compilable?
16486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16488 cat >conftest.$ac_ext <<_ACEOF
16489 /* confdefs.h. */
16490 _ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 $ac_includes_default
16495 #include <$ac_header>
16496 _ACEOF
16497 rm -f conftest.$ac_objext
16498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16499 (eval $ac_compile) 2>conftest.er1
16500 ac_status=$?
16501 grep -v '^ *+' conftest.er1 >conftest.err
16502 rm -f conftest.er1
16503 cat conftest.err >&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); } &&
16506 { ac_try='test -z "$ac_cxx_werror_flag"
16507 || test ! -s conftest.err'
16508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16509 (eval $ac_try) 2>&5
16510 ac_status=$?
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; } &&
16513 { ac_try='test -s conftest.$ac_objext'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16516 ac_status=$?
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; }; then
16519 ac_header_compiler=yes
16520 else
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.$ac_ext >&5
16523
16524 ac_header_compiler=no
16525 fi
16526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16528 echo "${ECHO_T}$ac_header_compiler" >&6
16529
16530 # Is the header present?
16531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16533 cat >conftest.$ac_ext <<_ACEOF
16534 /* confdefs.h. */
16535 _ACEOF
16536 cat confdefs.h >>conftest.$ac_ext
16537 cat >>conftest.$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539 #include <$ac_header>
16540 _ACEOF
16541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16543 ac_status=$?
16544 grep -v '^ *+' conftest.er1 >conftest.err
16545 rm -f conftest.er1
16546 cat conftest.err >&5
16547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16548 (exit $ac_status); } >/dev/null; then
16549 if test -s conftest.err; then
16550 ac_cpp_err=$ac_cxx_preproc_warn_flag
16551 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16552 else
16553 ac_cpp_err=
16554 fi
16555 else
16556 ac_cpp_err=yes
16557 fi
16558 if test -z "$ac_cpp_err"; then
16559 ac_header_preproc=yes
16560 else
16561 echo "$as_me: failed program was:" >&5
16562 sed 's/^/| /' conftest.$ac_ext >&5
16563
16564 ac_header_preproc=no
16565 fi
16566 rm -f conftest.err conftest.$ac_ext
16567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16568 echo "${ECHO_T}$ac_header_preproc" >&6
16569
16570 # So? What about this header?
16571 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16572 yes:no: )
16573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16576 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16577 ac_header_preproc=yes
16578 ;;
16579 no:yes:* )
16580 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16582 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16583 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16584 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16585 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16586 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16587 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16590 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16591 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16592 (
16593 cat <<\_ASBOX
16594 ## ----------------------------------------- ##
16595 ## Report this to wx-dev@lists.wxwidgets.org ##
16596 ## ----------------------------------------- ##
16597 _ASBOX
16598 ) |
16599 sed "s/^/$as_me: WARNING: /" >&2
16600 ;;
16601 esac
16602 echo "$as_me:$LINENO: checking for $ac_header" >&5
16603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16605 echo $ECHO_N "(cached) $ECHO_C" >&6
16606 else
16607 eval "$as_ac_Header=\$ac_header_preproc"
16608 fi
16609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16611
16612 fi
16613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16614 cat >>confdefs.h <<_ACEOF
16615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16616 _ACEOF
16617
16618 fi
16619
16620 done
16621
16622
16623 for ac_header in unistd.h
16624 do
16625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16627 echo "$as_me:$LINENO: checking for $ac_header" >&5
16628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16630 echo $ECHO_N "(cached) $ECHO_C" >&6
16631 fi
16632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16634 else
16635 # Is the header compilable?
16636 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16637 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16638 cat >conftest.$ac_ext <<_ACEOF
16639 /* confdefs.h. */
16640 _ACEOF
16641 cat confdefs.h >>conftest.$ac_ext
16642 cat >>conftest.$ac_ext <<_ACEOF
16643 /* end confdefs.h. */
16644 $ac_includes_default
16645 #include <$ac_header>
16646 _ACEOF
16647 rm -f conftest.$ac_objext
16648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16649 (eval $ac_compile) 2>conftest.er1
16650 ac_status=$?
16651 grep -v '^ *+' conftest.er1 >conftest.err
16652 rm -f conftest.er1
16653 cat conftest.err >&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } &&
16656 { ac_try='test -z "$ac_cxx_werror_flag"
16657 || test ! -s conftest.err'
16658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16659 (eval $ac_try) 2>&5
16660 ac_status=$?
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }; } &&
16663 { ac_try='test -s conftest.$ac_objext'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16666 ac_status=$?
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; }; then
16669 ac_header_compiler=yes
16670 else
16671 echo "$as_me: failed program was:" >&5
16672 sed 's/^/| /' conftest.$ac_ext >&5
16673
16674 ac_header_compiler=no
16675 fi
16676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16678 echo "${ECHO_T}$ac_header_compiler" >&6
16679
16680 # Is the header present?
16681 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16683 cat >conftest.$ac_ext <<_ACEOF
16684 /* confdefs.h. */
16685 _ACEOF
16686 cat confdefs.h >>conftest.$ac_ext
16687 cat >>conftest.$ac_ext <<_ACEOF
16688 /* end confdefs.h. */
16689 #include <$ac_header>
16690 _ACEOF
16691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16693 ac_status=$?
16694 grep -v '^ *+' conftest.er1 >conftest.err
16695 rm -f conftest.er1
16696 cat conftest.err >&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } >/dev/null; then
16699 if test -s conftest.err; then
16700 ac_cpp_err=$ac_cxx_preproc_warn_flag
16701 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16702 else
16703 ac_cpp_err=
16704 fi
16705 else
16706 ac_cpp_err=yes
16707 fi
16708 if test -z "$ac_cpp_err"; then
16709 ac_header_preproc=yes
16710 else
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.$ac_ext >&5
16713
16714 ac_header_preproc=no
16715 fi
16716 rm -f conftest.err conftest.$ac_ext
16717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16718 echo "${ECHO_T}$ac_header_preproc" >&6
16719
16720 # So? What about this header?
16721 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16722 yes:no: )
16723 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16724 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16726 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16727 ac_header_preproc=yes
16728 ;;
16729 no:yes:* )
16730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16734 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16735 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16736 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16737 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16740 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16741 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16742 (
16743 cat <<\_ASBOX
16744 ## ----------------------------------------- ##
16745 ## Report this to wx-dev@lists.wxwidgets.org ##
16746 ## ----------------------------------------- ##
16747 _ASBOX
16748 ) |
16749 sed "s/^/$as_me: WARNING: /" >&2
16750 ;;
16751 esac
16752 echo "$as_me:$LINENO: checking for $ac_header" >&5
16753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16755 echo $ECHO_N "(cached) $ECHO_C" >&6
16756 else
16757 eval "$as_ac_Header=\$ac_header_preproc"
16758 fi
16759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16761
16762 fi
16763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16764 cat >>confdefs.h <<_ACEOF
16765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16766 _ACEOF
16767
16768 fi
16769
16770 done
16771
16772
16773 for ac_header in wchar.h
16774 do
16775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16777 echo "$as_me:$LINENO: checking for $ac_header" >&5
16778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16780 echo $ECHO_N "(cached) $ECHO_C" >&6
16781 fi
16782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16784 else
16785 # Is the header compilable?
16786 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16787 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16788 cat >conftest.$ac_ext <<_ACEOF
16789 /* confdefs.h. */
16790 _ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 $ac_includes_default
16795 #include <$ac_header>
16796 _ACEOF
16797 rm -f conftest.$ac_objext
16798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16799 (eval $ac_compile) 2>conftest.er1
16800 ac_status=$?
16801 grep -v '^ *+' conftest.er1 >conftest.err
16802 rm -f conftest.er1
16803 cat conftest.err >&5
16804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } &&
16806 { ac_try='test -z "$ac_cxx_werror_flag"
16807 || test ! -s conftest.err'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16810 ac_status=$?
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; } &&
16813 { ac_try='test -s conftest.$ac_objext'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16816 ac_status=$?
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; }; then
16819 ac_header_compiler=yes
16820 else
16821 echo "$as_me: failed program was:" >&5
16822 sed 's/^/| /' conftest.$ac_ext >&5
16823
16824 ac_header_compiler=no
16825 fi
16826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16828 echo "${ECHO_T}$ac_header_compiler" >&6
16829
16830 # Is the header present?
16831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16833 cat >conftest.$ac_ext <<_ACEOF
16834 /* confdefs.h. */
16835 _ACEOF
16836 cat confdefs.h >>conftest.$ac_ext
16837 cat >>conftest.$ac_ext <<_ACEOF
16838 /* end confdefs.h. */
16839 #include <$ac_header>
16840 _ACEOF
16841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16843 ac_status=$?
16844 grep -v '^ *+' conftest.er1 >conftest.err
16845 rm -f conftest.er1
16846 cat conftest.err >&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); } >/dev/null; then
16849 if test -s conftest.err; then
16850 ac_cpp_err=$ac_cxx_preproc_warn_flag
16851 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16852 else
16853 ac_cpp_err=
16854 fi
16855 else
16856 ac_cpp_err=yes
16857 fi
16858 if test -z "$ac_cpp_err"; then
16859 ac_header_preproc=yes
16860 else
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16863
16864 ac_header_preproc=no
16865 fi
16866 rm -f conftest.err conftest.$ac_ext
16867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16868 echo "${ECHO_T}$ac_header_preproc" >&6
16869
16870 # So? What about this header?
16871 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16872 yes:no: )
16873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16876 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16877 ac_header_preproc=yes
16878 ;;
16879 no:yes:* )
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16881 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16882 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16883 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16884 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16885 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16886 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16887 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16890 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16891 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16892 (
16893 cat <<\_ASBOX
16894 ## ----------------------------------------- ##
16895 ## Report this to wx-dev@lists.wxwidgets.org ##
16896 ## ----------------------------------------- ##
16897 _ASBOX
16898 ) |
16899 sed "s/^/$as_me: WARNING: /" >&2
16900 ;;
16901 esac
16902 echo "$as_me:$LINENO: checking for $ac_header" >&5
16903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16905 echo $ECHO_N "(cached) $ECHO_C" >&6
16906 else
16907 eval "$as_ac_Header=\$ac_header_preproc"
16908 fi
16909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16911
16912 fi
16913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16914 cat >>confdefs.h <<_ACEOF
16915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16916 _ACEOF
16917
16918 fi
16919
16920 done
16921
16922
16923 if test "$ac_cv_header_wchar_h" != "yes"; then
16924
16925 for ac_header in wcstr.h
16926 do
16927 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16929 echo "$as_me:$LINENO: checking for $ac_header" >&5
16930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16932 echo $ECHO_N "(cached) $ECHO_C" >&6
16933 fi
16934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16936 else
16937 # Is the header compilable?
16938 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16939 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16940 cat >conftest.$ac_ext <<_ACEOF
16941 /* confdefs.h. */
16942 _ACEOF
16943 cat confdefs.h >>conftest.$ac_ext
16944 cat >>conftest.$ac_ext <<_ACEOF
16945 /* end confdefs.h. */
16946 $ac_includes_default
16947 #include <$ac_header>
16948 _ACEOF
16949 rm -f conftest.$ac_objext
16950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16951 (eval $ac_compile) 2>conftest.er1
16952 ac_status=$?
16953 grep -v '^ *+' conftest.er1 >conftest.err
16954 rm -f conftest.er1
16955 cat conftest.err >&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } &&
16958 { ac_try='test -z "$ac_cxx_werror_flag"
16959 || test ! -s conftest.err'
16960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16961 (eval $ac_try) 2>&5
16962 ac_status=$?
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); }; } &&
16965 { ac_try='test -s conftest.$ac_objext'
16966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16967 (eval $ac_try) 2>&5
16968 ac_status=$?
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); }; }; then
16971 ac_header_compiler=yes
16972 else
16973 echo "$as_me: failed program was:" >&5
16974 sed 's/^/| /' conftest.$ac_ext >&5
16975
16976 ac_header_compiler=no
16977 fi
16978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16980 echo "${ECHO_T}$ac_header_compiler" >&6
16981
16982 # Is the header present?
16983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16985 cat >conftest.$ac_ext <<_ACEOF
16986 /* confdefs.h. */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 #include <$ac_header>
16992 _ACEOF
16993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16994 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16995 ac_status=$?
16996 grep -v '^ *+' conftest.er1 >conftest.err
16997 rm -f conftest.er1
16998 cat conftest.err >&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } >/dev/null; then
17001 if test -s conftest.err; then
17002 ac_cpp_err=$ac_cxx_preproc_warn_flag
17003 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17004 else
17005 ac_cpp_err=
17006 fi
17007 else
17008 ac_cpp_err=yes
17009 fi
17010 if test -z "$ac_cpp_err"; then
17011 ac_header_preproc=yes
17012 else
17013 echo "$as_me: failed program was:" >&5
17014 sed 's/^/| /' conftest.$ac_ext >&5
17015
17016 ac_header_preproc=no
17017 fi
17018 rm -f conftest.err conftest.$ac_ext
17019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17020 echo "${ECHO_T}$ac_header_preproc" >&6
17021
17022 # So? What about this header?
17023 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17024 yes:no: )
17025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17028 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17029 ac_header_preproc=yes
17030 ;;
17031 no:yes:* )
17032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17036 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17037 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17038 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17039 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17042 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17043 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17044 (
17045 cat <<\_ASBOX
17046 ## ----------------------------------------- ##
17047 ## Report this to wx-dev@lists.wxwidgets.org ##
17048 ## ----------------------------------------- ##
17049 _ASBOX
17050 ) |
17051 sed "s/^/$as_me: WARNING: /" >&2
17052 ;;
17053 esac
17054 echo "$as_me:$LINENO: checking for $ac_header" >&5
17055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17057 echo $ECHO_N "(cached) $ECHO_C" >&6
17058 else
17059 eval "$as_ac_Header=\$ac_header_preproc"
17060 fi
17061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17063
17064 fi
17065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17066 cat >>confdefs.h <<_ACEOF
17067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17068 _ACEOF
17069
17070 fi
17071
17072 done
17073
17074 fi
17075
17076
17077 for ac_header in fnmatch.h
17078 do
17079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17081 echo "$as_me:$LINENO: checking for $ac_header" >&5
17082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17085 fi
17086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17088 else
17089 # Is the header compilable?
17090 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17092 cat >conftest.$ac_ext <<_ACEOF
17093 /* confdefs.h. */
17094 _ACEOF
17095 cat confdefs.h >>conftest.$ac_ext
17096 cat >>conftest.$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17098 $ac_includes_default
17099 #include <$ac_header>
17100 _ACEOF
17101 rm -f conftest.$ac_objext
17102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17103 (eval $ac_compile) 2>conftest.er1
17104 ac_status=$?
17105 grep -v '^ *+' conftest.er1 >conftest.err
17106 rm -f conftest.er1
17107 cat conftest.err >&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); } &&
17110 { ac_try='test -z "$ac_cxx_werror_flag"
17111 || test ! -s conftest.err'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17114 ac_status=$?
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; } &&
17117 { ac_try='test -s conftest.$ac_objext'
17118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119 (eval $ac_try) 2>&5
17120 ac_status=$?
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); }; }; then
17123 ac_header_compiler=yes
17124 else
17125 echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.$ac_ext >&5
17127
17128 ac_header_compiler=no
17129 fi
17130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17131 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17132 echo "${ECHO_T}$ac_header_compiler" >&6
17133
17134 # Is the header present?
17135 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17136 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17137 cat >conftest.$ac_ext <<_ACEOF
17138 /* confdefs.h. */
17139 _ACEOF
17140 cat confdefs.h >>conftest.$ac_ext
17141 cat >>conftest.$ac_ext <<_ACEOF
17142 /* end confdefs.h. */
17143 #include <$ac_header>
17144 _ACEOF
17145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17146 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17147 ac_status=$?
17148 grep -v '^ *+' conftest.er1 >conftest.err
17149 rm -f conftest.er1
17150 cat conftest.err >&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } >/dev/null; then
17153 if test -s conftest.err; then
17154 ac_cpp_err=$ac_cxx_preproc_warn_flag
17155 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17156 else
17157 ac_cpp_err=
17158 fi
17159 else
17160 ac_cpp_err=yes
17161 fi
17162 if test -z "$ac_cpp_err"; then
17163 ac_header_preproc=yes
17164 else
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17167
17168 ac_header_preproc=no
17169 fi
17170 rm -f conftest.err conftest.$ac_ext
17171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17172 echo "${ECHO_T}$ac_header_preproc" >&6
17173
17174 # So? What about this header?
17175 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17176 yes:no: )
17177 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17178 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17180 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17181 ac_header_preproc=yes
17182 ;;
17183 no:yes:* )
17184 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17185 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17186 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17187 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17188 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17189 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17190 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17191 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17193 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17194 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17195 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17196 (
17197 cat <<\_ASBOX
17198 ## ----------------------------------------- ##
17199 ## Report this to wx-dev@lists.wxwidgets.org ##
17200 ## ----------------------------------------- ##
17201 _ASBOX
17202 ) |
17203 sed "s/^/$as_me: WARNING: /" >&2
17204 ;;
17205 esac
17206 echo "$as_me:$LINENO: checking for $ac_header" >&5
17207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17209 echo $ECHO_N "(cached) $ECHO_C" >&6
17210 else
17211 eval "$as_ac_Header=\$ac_header_preproc"
17212 fi
17213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17215
17216 fi
17217 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17218 cat >>confdefs.h <<_ACEOF
17219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17220 _ACEOF
17221
17222 fi
17223
17224 done
17225
17226
17227
17228 for ac_header in langinfo.h
17229 do
17230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17232 echo "$as_me:$LINENO: checking for $ac_header" >&5
17233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17236 fi
17237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17239 else
17240 # Is the header compilable?
17241 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17242 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17243 cat >conftest.$ac_ext <<_ACEOF
17244 /* confdefs.h. */
17245 _ACEOF
17246 cat confdefs.h >>conftest.$ac_ext
17247 cat >>conftest.$ac_ext <<_ACEOF
17248 /* end confdefs.h. */
17249 $ac_includes_default
17250 #include <$ac_header>
17251 _ACEOF
17252 rm -f conftest.$ac_objext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17254 (eval $ac_compile) 2>conftest.er1
17255 ac_status=$?
17256 grep -v '^ *+' conftest.er1 >conftest.err
17257 rm -f conftest.er1
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try='test -z "$ac_cxx_werror_flag"
17262 || test ! -s conftest.err'
17263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17264 (eval $ac_try) 2>&5
17265 ac_status=$?
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); }; } &&
17268 { ac_try='test -s conftest.$ac_objext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17271 ac_status=$?
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17274 ac_header_compiler=yes
17275 else
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17278
17279 ac_header_compiler=no
17280 fi
17281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17283 echo "${ECHO_T}$ac_header_compiler" >&6
17284
17285 # Is the header present?
17286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17288 cat >conftest.$ac_ext <<_ACEOF
17289 /* confdefs.h. */
17290 _ACEOF
17291 cat confdefs.h >>conftest.$ac_ext
17292 cat >>conftest.$ac_ext <<_ACEOF
17293 /* end confdefs.h. */
17294 #include <$ac_header>
17295 _ACEOF
17296 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17297 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17298 ac_status=$?
17299 grep -v '^ *+' conftest.er1 >conftest.err
17300 rm -f conftest.er1
17301 cat conftest.err >&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } >/dev/null; then
17304 if test -s conftest.err; then
17305 ac_cpp_err=$ac_cxx_preproc_warn_flag
17306 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17307 else
17308 ac_cpp_err=
17309 fi
17310 else
17311 ac_cpp_err=yes
17312 fi
17313 if test -z "$ac_cpp_err"; then
17314 ac_header_preproc=yes
17315 else
17316 echo "$as_me: failed program was:" >&5
17317 sed 's/^/| /' conftest.$ac_ext >&5
17318
17319 ac_header_preproc=no
17320 fi
17321 rm -f conftest.err conftest.$ac_ext
17322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17323 echo "${ECHO_T}$ac_header_preproc" >&6
17324
17325 # So? What about this header?
17326 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17327 yes:no: )
17328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17331 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17332 ac_header_preproc=yes
17333 ;;
17334 no:yes:* )
17335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17339 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17340 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17341 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17342 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17343 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17344 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17345 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17346 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17347 (
17348 cat <<\_ASBOX
17349 ## ----------------------------------------- ##
17350 ## Report this to wx-dev@lists.wxwidgets.org ##
17351 ## ----------------------------------------- ##
17352 _ASBOX
17353 ) |
17354 sed "s/^/$as_me: WARNING: /" >&2
17355 ;;
17356 esac
17357 echo "$as_me:$LINENO: checking for $ac_header" >&5
17358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17360 echo $ECHO_N "(cached) $ECHO_C" >&6
17361 else
17362 eval "$as_ac_Header=\$ac_header_preproc"
17363 fi
17364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17366
17367 fi
17368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17369 cat >>confdefs.h <<_ACEOF
17370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17371 _ACEOF
17372
17373 fi
17374
17375 done
17376
17377
17378 case "${host}" in
17379 *-pc-os2_emx | *-pc-os2-emx )
17380 if test $ac_cv_header_langinfo_h = "yes" \
17381 -a \( "$wx_cv_gccversion" = "EMX2" \
17382 -o "$wx_cv_gccversion" = "EMX3" \
17383 -o "$wx_cv_gccversion" = "Innotek5" \); then
17384 LIBS="$LIBS -lintl"
17385 fi
17386 ;;
17387 esac
17388
17389
17390 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17391 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17392 if test "${ac_cv_c_const+set}" = set; then
17393 echo $ECHO_N "(cached) $ECHO_C" >&6
17394 else
17395 cat >conftest.$ac_ext <<_ACEOF
17396 /* confdefs.h. */
17397 _ACEOF
17398 cat confdefs.h >>conftest.$ac_ext
17399 cat >>conftest.$ac_ext <<_ACEOF
17400 /* end confdefs.h. */
17401
17402 int
17403 main ()
17404 {
17405 /* FIXME: Include the comments suggested by Paul. */
17406 #ifndef __cplusplus
17407 /* Ultrix mips cc rejects this. */
17408 typedef int charset[2];
17409 const charset x;
17410 /* SunOS 4.1.1 cc rejects this. */
17411 char const *const *ccp;
17412 char **p;
17413 /* NEC SVR4.0.2 mips cc rejects this. */
17414 struct point {int x, y;};
17415 static struct point const zero = {0,0};
17416 /* AIX XL C 1.02.0.0 rejects this.
17417 It does not let you subtract one const X* pointer from another in
17418 an arm of an if-expression whose if-part is not a constant
17419 expression */
17420 const char *g = "string";
17421 ccp = &g + (g ? g-g : 0);
17422 /* HPUX 7.0 cc rejects these. */
17423 ++ccp;
17424 p = (char**) ccp;
17425 ccp = (char const *const *) p;
17426 { /* SCO 3.2v4 cc rejects this. */
17427 char *t;
17428 char const *s = 0 ? (char *) 0 : (char const *) 0;
17429
17430 *t++ = 0;
17431 }
17432 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17433 int x[] = {25, 17};
17434 const int *foo = &x[0];
17435 ++foo;
17436 }
17437 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17438 typedef const int *iptr;
17439 iptr p = 0;
17440 ++p;
17441 }
17442 { /* AIX XL C 1.02.0.0 rejects this saying
17443 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17444 struct s { int j; const int *ap[3]; };
17445 struct s *b; b->j = 5;
17446 }
17447 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17448 const int foo = 10;
17449 }
17450 #endif
17451
17452 ;
17453 return 0;
17454 }
17455 _ACEOF
17456 rm -f conftest.$ac_objext
17457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17458 (eval $ac_compile) 2>conftest.er1
17459 ac_status=$?
17460 grep -v '^ *+' conftest.er1 >conftest.err
17461 rm -f conftest.er1
17462 cat conftest.err >&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); } &&
17465 { ac_try='test -z "$ac_cxx_werror_flag"
17466 || test ! -s conftest.err'
17467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17468 (eval $ac_try) 2>&5
17469 ac_status=$?
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); }; } &&
17472 { ac_try='test -s conftest.$ac_objext'
17473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 (eval $ac_try) 2>&5
17475 ac_status=$?
17476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17477 (exit $ac_status); }; }; then
17478 ac_cv_c_const=yes
17479 else
17480 echo "$as_me: failed program was:" >&5
17481 sed 's/^/| /' conftest.$ac_ext >&5
17482
17483 ac_cv_c_const=no
17484 fi
17485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17486 fi
17487 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17488 echo "${ECHO_T}$ac_cv_c_const" >&6
17489 if test $ac_cv_c_const = no; then
17490
17491 cat >>confdefs.h <<\_ACEOF
17492 #define const
17493 _ACEOF
17494
17495 fi
17496
17497 echo "$as_me:$LINENO: checking for inline" >&5
17498 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17499 if test "${ac_cv_c_inline+set}" = set; then
17500 echo $ECHO_N "(cached) $ECHO_C" >&6
17501 else
17502 ac_cv_c_inline=no
17503 for ac_kw in inline __inline__ __inline; do
17504 cat >conftest.$ac_ext <<_ACEOF
17505 /* confdefs.h. */
17506 _ACEOF
17507 cat confdefs.h >>conftest.$ac_ext
17508 cat >>conftest.$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17510 #ifndef __cplusplus
17511 typedef int foo_t;
17512 static $ac_kw foo_t static_foo () {return 0; }
17513 $ac_kw foo_t foo () {return 0; }
17514 #endif
17515
17516 _ACEOF
17517 rm -f conftest.$ac_objext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17519 (eval $ac_compile) 2>conftest.er1
17520 ac_status=$?
17521 grep -v '^ *+' conftest.er1 >conftest.err
17522 rm -f conftest.er1
17523 cat conftest.err >&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try='test -z "$ac_cxx_werror_flag"
17527 || test ! -s conftest.err'
17528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17529 (eval $ac_try) 2>&5
17530 ac_status=$?
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); }; } &&
17533 { ac_try='test -s conftest.$ac_objext'
17534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17535 (eval $ac_try) 2>&5
17536 ac_status=$?
17537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17538 (exit $ac_status); }; }; then
17539 ac_cv_c_inline=$ac_kw; break
17540 else
17541 echo "$as_me: failed program was:" >&5
17542 sed 's/^/| /' conftest.$ac_ext >&5
17543
17544 fi
17545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17546 done
17547
17548 fi
17549 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17550 echo "${ECHO_T}$ac_cv_c_inline" >&6
17551
17552
17553 case $ac_cv_c_inline in
17554 inline | yes) ;;
17555 *)
17556 case $ac_cv_c_inline in
17557 no) ac_val=;;
17558 *) ac_val=$ac_cv_c_inline;;
17559 esac
17560 cat >>confdefs.h <<_ACEOF
17561 #ifndef __cplusplus
17562 #define inline $ac_val
17563 #endif
17564 _ACEOF
17565 ;;
17566 esac
17567
17568
17569 echo "$as_me:$LINENO: checking for char" >&5
17570 echo $ECHO_N "checking for char... $ECHO_C" >&6
17571 if test "${ac_cv_type_char+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17573 else
17574 cat >conftest.$ac_ext <<_ACEOF
17575 /* confdefs.h. */
17576 _ACEOF
17577 cat confdefs.h >>conftest.$ac_ext
17578 cat >>conftest.$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 $ac_includes_default
17581 int
17582 main ()
17583 {
17584 if ((char *) 0)
17585 return 0;
17586 if (sizeof (char))
17587 return 0;
17588 ;
17589 return 0;
17590 }
17591 _ACEOF
17592 rm -f conftest.$ac_objext
17593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17594 (eval $ac_compile) 2>conftest.er1
17595 ac_status=$?
17596 grep -v '^ *+' conftest.er1 >conftest.err
17597 rm -f conftest.er1
17598 cat conftest.err >&5
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); } &&
17601 { ac_try='test -z "$ac_cxx_werror_flag"
17602 || test ! -s conftest.err'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17605 ac_status=$?
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; } &&
17608 { ac_try='test -s conftest.$ac_objext'
17609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17610 (eval $ac_try) 2>&5
17611 ac_status=$?
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; }; then
17614 ac_cv_type_char=yes
17615 else
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.$ac_ext >&5
17618
17619 ac_cv_type_char=no
17620 fi
17621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17622 fi
17623 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17624 echo "${ECHO_T}$ac_cv_type_char" >&6
17625
17626 echo "$as_me:$LINENO: checking size of char" >&5
17627 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17628 if test "${ac_cv_sizeof_char+set}" = set; then
17629 echo $ECHO_N "(cached) $ECHO_C" >&6
17630 else
17631 if test "$ac_cv_type_char" = yes; then
17632 # The cast to unsigned long works around a bug in the HP C Compiler
17633 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17634 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17635 # This bug is HP SR number 8606223364.
17636 if test "$cross_compiling" = yes; then
17637 # Depending upon the size, compute the lo and hi bounds.
17638 cat >conftest.$ac_ext <<_ACEOF
17639 /* confdefs.h. */
17640 _ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 $ac_includes_default
17645 int
17646 main ()
17647 {
17648 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17649 test_array [0] = 0
17650
17651 ;
17652 return 0;
17653 }
17654 _ACEOF
17655 rm -f conftest.$ac_objext
17656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17657 (eval $ac_compile) 2>conftest.er1
17658 ac_status=$?
17659 grep -v '^ *+' conftest.er1 >conftest.err
17660 rm -f conftest.er1
17661 cat conftest.err >&5
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); } &&
17664 { ac_try='test -z "$ac_cxx_werror_flag"
17665 || test ! -s conftest.err'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17668 ac_status=$?
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; } &&
17671 { ac_try='test -s conftest.$ac_objext'
17672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17673 (eval $ac_try) 2>&5
17674 ac_status=$?
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); }; }; then
17677 ac_lo=0 ac_mid=0
17678 while :; do
17679 cat >conftest.$ac_ext <<_ACEOF
17680 /* confdefs.h. */
17681 _ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 $ac_includes_default
17686 int
17687 main ()
17688 {
17689 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17690 test_array [0] = 0
17691
17692 ;
17693 return 0;
17694 }
17695 _ACEOF
17696 rm -f conftest.$ac_objext
17697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17698 (eval $ac_compile) 2>conftest.er1
17699 ac_status=$?
17700 grep -v '^ *+' conftest.er1 >conftest.err
17701 rm -f conftest.er1
17702 cat conftest.err >&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } &&
17705 { ac_try='test -z "$ac_cxx_werror_flag"
17706 || test ! -s conftest.err'
17707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17708 (eval $ac_try) 2>&5
17709 ac_status=$?
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); }; } &&
17712 { ac_try='test -s conftest.$ac_objext'
17713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17714 (eval $ac_try) 2>&5
17715 ac_status=$?
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); }; }; then
17718 ac_hi=$ac_mid; break
17719 else
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.$ac_ext >&5
17722
17723 ac_lo=`expr $ac_mid + 1`
17724 if test $ac_lo -le $ac_mid; then
17725 ac_lo= ac_hi=
17726 break
17727 fi
17728 ac_mid=`expr 2 '*' $ac_mid + 1`
17729 fi
17730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17731 done
17732 else
17733 echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.$ac_ext >&5
17735
17736 cat >conftest.$ac_ext <<_ACEOF
17737 /* confdefs.h. */
17738 _ACEOF
17739 cat confdefs.h >>conftest.$ac_ext
17740 cat >>conftest.$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17742 $ac_includes_default
17743 int
17744 main ()
17745 {
17746 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17747 test_array [0] = 0
17748
17749 ;
17750 return 0;
17751 }
17752 _ACEOF
17753 rm -f conftest.$ac_objext
17754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17755 (eval $ac_compile) 2>conftest.er1
17756 ac_status=$?
17757 grep -v '^ *+' conftest.er1 >conftest.err
17758 rm -f conftest.er1
17759 cat conftest.err >&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); } &&
17762 { ac_try='test -z "$ac_cxx_werror_flag"
17763 || test ! -s conftest.err'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17766 ac_status=$?
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; } &&
17769 { ac_try='test -s conftest.$ac_objext'
17770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771 (eval $ac_try) 2>&5
17772 ac_status=$?
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; }; then
17775 ac_hi=-1 ac_mid=-1
17776 while :; do
17777 cat >conftest.$ac_ext <<_ACEOF
17778 /* confdefs.h. */
17779 _ACEOF
17780 cat confdefs.h >>conftest.$ac_ext
17781 cat >>conftest.$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17783 $ac_includes_default
17784 int
17785 main ()
17786 {
17787 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17788 test_array [0] = 0
17789
17790 ;
17791 return 0;
17792 }
17793 _ACEOF
17794 rm -f conftest.$ac_objext
17795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17796 (eval $ac_compile) 2>conftest.er1
17797 ac_status=$?
17798 grep -v '^ *+' conftest.er1 >conftest.err
17799 rm -f conftest.er1
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } &&
17803 { ac_try='test -z "$ac_cxx_werror_flag"
17804 || test ! -s conftest.err'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17807 ac_status=$?
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; } &&
17810 { ac_try='test -s conftest.$ac_objext'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17813 ac_status=$?
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; }; then
17816 ac_lo=$ac_mid; break
17817 else
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.$ac_ext >&5
17820
17821 ac_hi=`expr '(' $ac_mid ')' - 1`
17822 if test $ac_mid -le $ac_hi; then
17823 ac_lo= ac_hi=
17824 break
17825 fi
17826 ac_mid=`expr 2 '*' $ac_mid`
17827 fi
17828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17829 done
17830 else
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17833
17834 ac_lo= ac_hi=
17835 fi
17836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17837 fi
17838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17839 # Binary search between lo and hi bounds.
17840 while test "x$ac_lo" != "x$ac_hi"; do
17841 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17842 cat >conftest.$ac_ext <<_ACEOF
17843 /* confdefs.h. */
17844 _ACEOF
17845 cat confdefs.h >>conftest.$ac_ext
17846 cat >>conftest.$ac_ext <<_ACEOF
17847 /* end confdefs.h. */
17848 $ac_includes_default
17849 int
17850 main ()
17851 {
17852 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17853 test_array [0] = 0
17854
17855 ;
17856 return 0;
17857 }
17858 _ACEOF
17859 rm -f conftest.$ac_objext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17861 (eval $ac_compile) 2>conftest.er1
17862 ac_status=$?
17863 grep -v '^ *+' conftest.er1 >conftest.err
17864 rm -f conftest.er1
17865 cat conftest.err >&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } &&
17868 { ac_try='test -z "$ac_cxx_werror_flag"
17869 || test ! -s conftest.err'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17872 ac_status=$?
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; } &&
17875 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17881 ac_hi=$ac_mid
17882 else
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17885
17886 ac_lo=`expr '(' $ac_mid ')' + 1`
17887 fi
17888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17889 done
17890 case $ac_lo in
17891 ?*) ac_cv_sizeof_char=$ac_lo;;
17892 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17893 See \`config.log' for more details." >&5
17894 echo "$as_me: error: cannot compute sizeof (char), 77
17895 See \`config.log' for more details." >&2;}
17896 { (exit 1); exit 1; }; } ;;
17897 esac
17898 else
17899 if test "$cross_compiling" = yes; then
17900 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17901 See \`config.log' for more details." >&5
17902 echo "$as_me: error: cannot run test program while cross compiling
17903 See \`config.log' for more details." >&2;}
17904 { (exit 1); exit 1; }; }
17905 else
17906 cat >conftest.$ac_ext <<_ACEOF
17907 /* confdefs.h. */
17908 _ACEOF
17909 cat confdefs.h >>conftest.$ac_ext
17910 cat >>conftest.$ac_ext <<_ACEOF
17911 /* end confdefs.h. */
17912 $ac_includes_default
17913 long longval () { return (long) (sizeof (char)); }
17914 unsigned long ulongval () { return (long) (sizeof (char)); }
17915 #include <stdio.h>
17916 #include <stdlib.h>
17917 int
17918 main ()
17919 {
17920
17921 FILE *f = fopen ("conftest.val", "w");
17922 if (! f)
17923 exit (1);
17924 if (((long) (sizeof (char))) < 0)
17925 {
17926 long i = longval ();
17927 if (i != ((long) (sizeof (char))))
17928 exit (1);
17929 fprintf (f, "%ld\n", i);
17930 }
17931 else
17932 {
17933 unsigned long i = ulongval ();
17934 if (i != ((long) (sizeof (char))))
17935 exit (1);
17936 fprintf (f, "%lu\n", i);
17937 }
17938 exit (ferror (f) || fclose (f) != 0);
17939
17940 ;
17941 return 0;
17942 }
17943 _ACEOF
17944 rm -f conftest$ac_exeext
17945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17946 (eval $ac_link) 2>&5
17947 ac_status=$?
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17952 ac_status=$?
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; }; then
17955 ac_cv_sizeof_char=`cat conftest.val`
17956 else
17957 echo "$as_me: program exited with status $ac_status" >&5
17958 echo "$as_me: failed program was:" >&5
17959 sed 's/^/| /' conftest.$ac_ext >&5
17960
17961 ( exit $ac_status )
17962 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17963 See \`config.log' for more details." >&5
17964 echo "$as_me: error: cannot compute sizeof (char), 77
17965 See \`config.log' for more details." >&2;}
17966 { (exit 1); exit 1; }; }
17967 fi
17968 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17969 fi
17970 fi
17971 rm -f conftest.val
17972 else
17973 ac_cv_sizeof_char=0
17974 fi
17975 fi
17976 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17977 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17978 cat >>confdefs.h <<_ACEOF
17979 #define SIZEOF_CHAR $ac_cv_sizeof_char
17980 _ACEOF
17981
17982
17983 echo "$as_me:$LINENO: checking for short" >&5
17984 echo $ECHO_N "checking for short... $ECHO_C" >&6
17985 if test "${ac_cv_type_short+set}" = set; then
17986 echo $ECHO_N "(cached) $ECHO_C" >&6
17987 else
17988 cat >conftest.$ac_ext <<_ACEOF
17989 /* confdefs.h. */
17990 _ACEOF
17991 cat confdefs.h >>conftest.$ac_ext
17992 cat >>conftest.$ac_ext <<_ACEOF
17993 /* end confdefs.h. */
17994 $ac_includes_default
17995 int
17996 main ()
17997 {
17998 if ((short *) 0)
17999 return 0;
18000 if (sizeof (short))
18001 return 0;
18002 ;
18003 return 0;
18004 }
18005 _ACEOF
18006 rm -f conftest.$ac_objext
18007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18008 (eval $ac_compile) 2>conftest.er1
18009 ac_status=$?
18010 grep -v '^ *+' conftest.er1 >conftest.err
18011 rm -f conftest.er1
18012 cat conftest.err >&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); } &&
18015 { ac_try='test -z "$ac_cxx_werror_flag"
18016 || test ! -s conftest.err'
18017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18018 (eval $ac_try) 2>&5
18019 ac_status=$?
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); }; } &&
18022 { ac_try='test -s conftest.$ac_objext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18025 ac_status=$?
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18028 ac_cv_type_short=yes
18029 else
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.$ac_ext >&5
18032
18033 ac_cv_type_short=no
18034 fi
18035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18036 fi
18037 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18038 echo "${ECHO_T}$ac_cv_type_short" >&6
18039
18040 echo "$as_me:$LINENO: checking size of short" >&5
18041 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18042 if test "${ac_cv_sizeof_short+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18045 if test "$ac_cv_type_short" = yes; then
18046 # The cast to unsigned long works around a bug in the HP C Compiler
18047 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18048 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18049 # This bug is HP SR number 8606223364.
18050 if test "$cross_compiling" = yes; then
18051 # Depending upon the size, compute the lo and hi bounds.
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 (short))) >= 0)];
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_lo=0 ac_mid=0
18092 while :; do
18093 cat >conftest.$ac_ext <<_ACEOF
18094 /* confdefs.h. */
18095 _ACEOF
18096 cat confdefs.h >>conftest.$ac_ext
18097 cat >>conftest.$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 $ac_includes_default
18100 int
18101 main ()
18102 {
18103 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18104 test_array [0] = 0
18105
18106 ;
18107 return 0;
18108 }
18109 _ACEOF
18110 rm -f conftest.$ac_objext
18111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18112 (eval $ac_compile) 2>conftest.er1
18113 ac_status=$?
18114 grep -v '^ *+' conftest.er1 >conftest.err
18115 rm -f conftest.er1
18116 cat conftest.err >&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); } &&
18119 { ac_try='test -z "$ac_cxx_werror_flag"
18120 || test ! -s conftest.err'
18121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 (eval $ac_try) 2>&5
18123 ac_status=$?
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); }; } &&
18126 { ac_try='test -s conftest.$ac_objext'
18127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128 (eval $ac_try) 2>&5
18129 ac_status=$?
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); }; }; then
18132 ac_hi=$ac_mid; break
18133 else
18134 echo "$as_me: failed program was:" >&5
18135 sed 's/^/| /' conftest.$ac_ext >&5
18136
18137 ac_lo=`expr $ac_mid + 1`
18138 if test $ac_lo -le $ac_mid; then
18139 ac_lo= ac_hi=
18140 break
18141 fi
18142 ac_mid=`expr 2 '*' $ac_mid + 1`
18143 fi
18144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18145 done
18146 else
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18149
18150 cat >conftest.$ac_ext <<_ACEOF
18151 /* confdefs.h. */
18152 _ACEOF
18153 cat confdefs.h >>conftest.$ac_ext
18154 cat >>conftest.$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 $ac_includes_default
18157 int
18158 main ()
18159 {
18160 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18161 test_array [0] = 0
18162
18163 ;
18164 return 0;
18165 }
18166 _ACEOF
18167 rm -f conftest.$ac_objext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18169 (eval $ac_compile) 2>conftest.er1
18170 ac_status=$?
18171 grep -v '^ *+' conftest.er1 >conftest.err
18172 rm -f conftest.er1
18173 cat conftest.err >&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try='test -z "$ac_cxx_werror_flag"
18177 || test ! -s conftest.err'
18178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18179 (eval $ac_try) 2>&5
18180 ac_status=$?
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; } &&
18183 { ac_try='test -s conftest.$ac_objext'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18186 ac_status=$?
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; }; then
18189 ac_hi=-1 ac_mid=-1
18190 while :; do
18191 cat >conftest.$ac_ext <<_ACEOF
18192 /* confdefs.h. */
18193 _ACEOF
18194 cat confdefs.h >>conftest.$ac_ext
18195 cat >>conftest.$ac_ext <<_ACEOF
18196 /* end confdefs.h. */
18197 $ac_includes_default
18198 int
18199 main ()
18200 {
18201 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18202 test_array [0] = 0
18203
18204 ;
18205 return 0;
18206 }
18207 _ACEOF
18208 rm -f conftest.$ac_objext
18209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18210 (eval $ac_compile) 2>conftest.er1
18211 ac_status=$?
18212 grep -v '^ *+' conftest.er1 >conftest.err
18213 rm -f conftest.er1
18214 cat conftest.err >&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } &&
18217 { ac_try='test -z "$ac_cxx_werror_flag"
18218 || test ! -s conftest.err'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; } &&
18224 { ac_try='test -s conftest.$ac_objext'
18225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18226 (eval $ac_try) 2>&5
18227 ac_status=$?
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); }; }; then
18230 ac_lo=$ac_mid; break
18231 else
18232 echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18234
18235 ac_hi=`expr '(' $ac_mid ')' - 1`
18236 if test $ac_mid -le $ac_hi; then
18237 ac_lo= ac_hi=
18238 break
18239 fi
18240 ac_mid=`expr 2 '*' $ac_mid`
18241 fi
18242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18243 done
18244 else
18245 echo "$as_me: failed program was:" >&5
18246 sed 's/^/| /' conftest.$ac_ext >&5
18247
18248 ac_lo= ac_hi=
18249 fi
18250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18251 fi
18252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18253 # Binary search between lo and hi bounds.
18254 while test "x$ac_lo" != "x$ac_hi"; do
18255 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18256 cat >conftest.$ac_ext <<_ACEOF
18257 /* confdefs.h. */
18258 _ACEOF
18259 cat confdefs.h >>conftest.$ac_ext
18260 cat >>conftest.$ac_ext <<_ACEOF
18261 /* end confdefs.h. */
18262 $ac_includes_default
18263 int
18264 main ()
18265 {
18266 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18267 test_array [0] = 0
18268
18269 ;
18270 return 0;
18271 }
18272 _ACEOF
18273 rm -f conftest.$ac_objext
18274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18275 (eval $ac_compile) 2>conftest.er1
18276 ac_status=$?
18277 grep -v '^ *+' conftest.er1 >conftest.err
18278 rm -f conftest.er1
18279 cat conftest.err >&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); } &&
18282 { ac_try='test -z "$ac_cxx_werror_flag"
18283 || test ! -s conftest.err'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18286 ac_status=$?
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; } &&
18289 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18295 ac_hi=$ac_mid
18296 else
18297 echo "$as_me: failed program was:" >&5
18298 sed 's/^/| /' conftest.$ac_ext >&5
18299
18300 ac_lo=`expr '(' $ac_mid ')' + 1`
18301 fi
18302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18303 done
18304 case $ac_lo in
18305 ?*) ac_cv_sizeof_short=$ac_lo;;
18306 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18307 See \`config.log' for more details." >&5
18308 echo "$as_me: error: cannot compute sizeof (short), 77
18309 See \`config.log' for more details." >&2;}
18310 { (exit 1); exit 1; }; } ;;
18311 esac
18312 else
18313 if test "$cross_compiling" = yes; then
18314 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18315 See \`config.log' for more details." >&5
18316 echo "$as_me: error: cannot run test program while cross compiling
18317 See \`config.log' for more details." >&2;}
18318 { (exit 1); exit 1; }; }
18319 else
18320 cat >conftest.$ac_ext <<_ACEOF
18321 /* confdefs.h. */
18322 _ACEOF
18323 cat confdefs.h >>conftest.$ac_ext
18324 cat >>conftest.$ac_ext <<_ACEOF
18325 /* end confdefs.h. */
18326 $ac_includes_default
18327 long longval () { return (long) (sizeof (short)); }
18328 unsigned long ulongval () { return (long) (sizeof (short)); }
18329 #include <stdio.h>
18330 #include <stdlib.h>
18331 int
18332 main ()
18333 {
18334
18335 FILE *f = fopen ("conftest.val", "w");
18336 if (! f)
18337 exit (1);
18338 if (((long) (sizeof (short))) < 0)
18339 {
18340 long i = longval ();
18341 if (i != ((long) (sizeof (short))))
18342 exit (1);
18343 fprintf (f, "%ld\n", i);
18344 }
18345 else
18346 {
18347 unsigned long i = ulongval ();
18348 if (i != ((long) (sizeof (short))))
18349 exit (1);
18350 fprintf (f, "%lu\n", i);
18351 }
18352 exit (ferror (f) || fclose (f) != 0);
18353
18354 ;
18355 return 0;
18356 }
18357 _ACEOF
18358 rm -f conftest$ac_exeext
18359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18360 (eval $ac_link) 2>&5
18361 ac_status=$?
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 (eval $ac_try) 2>&5
18366 ac_status=$?
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; }; then
18369 ac_cv_sizeof_short=`cat conftest.val`
18370 else
18371 echo "$as_me: program exited with status $ac_status" >&5
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18374
18375 ( exit $ac_status )
18376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18377 See \`config.log' for more details." >&5
18378 echo "$as_me: error: cannot compute sizeof (short), 77
18379 See \`config.log' for more details." >&2;}
18380 { (exit 1); exit 1; }; }
18381 fi
18382 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18383 fi
18384 fi
18385 rm -f conftest.val
18386 else
18387 ac_cv_sizeof_short=0
18388 fi
18389 fi
18390 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18391 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18392 cat >>confdefs.h <<_ACEOF
18393 #define SIZEOF_SHORT $ac_cv_sizeof_short
18394 _ACEOF
18395
18396
18397 echo "$as_me:$LINENO: checking for void *" >&5
18398 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18399 if test "${ac_cv_type_void_p+set}" = set; then
18400 echo $ECHO_N "(cached) $ECHO_C" >&6
18401 else
18402 cat >conftest.$ac_ext <<_ACEOF
18403 /* confdefs.h. */
18404 _ACEOF
18405 cat confdefs.h >>conftest.$ac_ext
18406 cat >>conftest.$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18408 $ac_includes_default
18409 int
18410 main ()
18411 {
18412 if ((void * *) 0)
18413 return 0;
18414 if (sizeof (void *))
18415 return 0;
18416 ;
18417 return 0;
18418 }
18419 _ACEOF
18420 rm -f conftest.$ac_objext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18422 (eval $ac_compile) 2>conftest.er1
18423 ac_status=$?
18424 grep -v '^ *+' conftest.er1 >conftest.err
18425 rm -f conftest.er1
18426 cat conftest.err >&5
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); } &&
18429 { ac_try='test -z "$ac_cxx_werror_flag"
18430 || test ! -s conftest.err'
18431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18432 (eval $ac_try) 2>&5
18433 ac_status=$?
18434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18435 (exit $ac_status); }; } &&
18436 { ac_try='test -s conftest.$ac_objext'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18439 ac_status=$?
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; }; then
18442 ac_cv_type_void_p=yes
18443 else
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18446
18447 ac_cv_type_void_p=no
18448 fi
18449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18450 fi
18451 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18452 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18453
18454 echo "$as_me:$LINENO: checking size of void *" >&5
18455 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18456 if test "${ac_cv_sizeof_void_p+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 else
18459 if test "$ac_cv_type_void_p" = yes; then
18460 # The cast to unsigned long works around a bug in the HP C Compiler
18461 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18462 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18463 # This bug is HP SR number 8606223364.
18464 if test "$cross_compiling" = yes; then
18465 # Depending upon the size, compute the lo and hi bounds.
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 (void *))) >= 0)];
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_lo=0 ac_mid=0
18506 while :; do
18507 cat >conftest.$ac_ext <<_ACEOF
18508 /* confdefs.h. */
18509 _ACEOF
18510 cat confdefs.h >>conftest.$ac_ext
18511 cat >>conftest.$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18513 $ac_includes_default
18514 int
18515 main ()
18516 {
18517 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18518 test_array [0] = 0
18519
18520 ;
18521 return 0;
18522 }
18523 _ACEOF
18524 rm -f conftest.$ac_objext
18525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18526 (eval $ac_compile) 2>conftest.er1
18527 ac_status=$?
18528 grep -v '^ *+' conftest.er1 >conftest.err
18529 rm -f conftest.er1
18530 cat conftest.err >&5
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); } &&
18533 { ac_try='test -z "$ac_cxx_werror_flag"
18534 || test ! -s conftest.err'
18535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18536 (eval $ac_try) 2>&5
18537 ac_status=$?
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); }; } &&
18540 { ac_try='test -s conftest.$ac_objext'
18541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18542 (eval $ac_try) 2>&5
18543 ac_status=$?
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); }; }; then
18546 ac_hi=$ac_mid; break
18547 else
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18550
18551 ac_lo=`expr $ac_mid + 1`
18552 if test $ac_lo -le $ac_mid; then
18553 ac_lo= ac_hi=
18554 break
18555 fi
18556 ac_mid=`expr 2 '*' $ac_mid + 1`
18557 fi
18558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18559 done
18560 else
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.$ac_ext >&5
18563
18564 cat >conftest.$ac_ext <<_ACEOF
18565 /* confdefs.h. */
18566 _ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 $ac_includes_default
18571 int
18572 main ()
18573 {
18574 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18575 test_array [0] = 0
18576
18577 ;
18578 return 0;
18579 }
18580 _ACEOF
18581 rm -f conftest.$ac_objext
18582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18583 (eval $ac_compile) 2>conftest.er1
18584 ac_status=$?
18585 grep -v '^ *+' conftest.er1 >conftest.err
18586 rm -f conftest.er1
18587 cat conftest.err >&5
18588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18589 (exit $ac_status); } &&
18590 { ac_try='test -z "$ac_cxx_werror_flag"
18591 || test ! -s conftest.err'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18594 ac_status=$?
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; } &&
18597 { ac_try='test -s conftest.$ac_objext'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18600 ac_status=$?
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; }; then
18603 ac_hi=-1 ac_mid=-1
18604 while :; do
18605 cat >conftest.$ac_ext <<_ACEOF
18606 /* confdefs.h. */
18607 _ACEOF
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 $ac_includes_default
18612 int
18613 main ()
18614 {
18615 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18616 test_array [0] = 0
18617
18618 ;
18619 return 0;
18620 }
18621 _ACEOF
18622 rm -f conftest.$ac_objext
18623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18624 (eval $ac_compile) 2>conftest.er1
18625 ac_status=$?
18626 grep -v '^ *+' conftest.er1 >conftest.err
18627 rm -f conftest.er1
18628 cat conftest.err >&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } &&
18631 { ac_try='test -z "$ac_cxx_werror_flag"
18632 || test ! -s conftest.err'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18635 ac_status=$?
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; } &&
18638 { ac_try='test -s conftest.$ac_objext'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18641 ac_status=$?
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; }; then
18644 ac_lo=$ac_mid; break
18645 else
18646 echo "$as_me: failed program was:" >&5
18647 sed 's/^/| /' conftest.$ac_ext >&5
18648
18649 ac_hi=`expr '(' $ac_mid ')' - 1`
18650 if test $ac_mid -le $ac_hi; then
18651 ac_lo= ac_hi=
18652 break
18653 fi
18654 ac_mid=`expr 2 '*' $ac_mid`
18655 fi
18656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18657 done
18658 else
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.$ac_ext >&5
18661
18662 ac_lo= ac_hi=
18663 fi
18664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18665 fi
18666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18667 # Binary search between lo and hi bounds.
18668 while test "x$ac_lo" != "x$ac_hi"; do
18669 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18670 cat >conftest.$ac_ext <<_ACEOF
18671 /* confdefs.h. */
18672 _ACEOF
18673 cat confdefs.h >>conftest.$ac_ext
18674 cat >>conftest.$ac_ext <<_ACEOF
18675 /* end confdefs.h. */
18676 $ac_includes_default
18677 int
18678 main ()
18679 {
18680 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18681 test_array [0] = 0
18682
18683 ;
18684 return 0;
18685 }
18686 _ACEOF
18687 rm -f conftest.$ac_objext
18688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18689 (eval $ac_compile) 2>conftest.er1
18690 ac_status=$?
18691 grep -v '^ *+' conftest.er1 >conftest.err
18692 rm -f conftest.er1
18693 cat conftest.err >&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); } &&
18696 { ac_try='test -z "$ac_cxx_werror_flag"
18697 || test ! -s conftest.err'
18698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18699 (eval $ac_try) 2>&5
18700 ac_status=$?
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; } &&
18703 { ac_try='test -s conftest.$ac_objext'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18706 ac_status=$?
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; }; then
18709 ac_hi=$ac_mid
18710 else
18711 echo "$as_me: failed program was:" >&5
18712 sed 's/^/| /' conftest.$ac_ext >&5
18713
18714 ac_lo=`expr '(' $ac_mid ')' + 1`
18715 fi
18716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18717 done
18718 case $ac_lo in
18719 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18720 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18721 See \`config.log' for more details." >&5
18722 echo "$as_me: error: cannot compute sizeof (void *), 77
18723 See \`config.log' for more details." >&2;}
18724 { (exit 1); exit 1; }; } ;;
18725 esac
18726 else
18727 if test "$cross_compiling" = yes; then
18728 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18729 See \`config.log' for more details." >&5
18730 echo "$as_me: error: cannot run test program while cross compiling
18731 See \`config.log' for more details." >&2;}
18732 { (exit 1); exit 1; }; }
18733 else
18734 cat >conftest.$ac_ext <<_ACEOF
18735 /* confdefs.h. */
18736 _ACEOF
18737 cat confdefs.h >>conftest.$ac_ext
18738 cat >>conftest.$ac_ext <<_ACEOF
18739 /* end confdefs.h. */
18740 $ac_includes_default
18741 long longval () { return (long) (sizeof (void *)); }
18742 unsigned long ulongval () { return (long) (sizeof (void *)); }
18743 #include <stdio.h>
18744 #include <stdlib.h>
18745 int
18746 main ()
18747 {
18748
18749 FILE *f = fopen ("conftest.val", "w");
18750 if (! f)
18751 exit (1);
18752 if (((long) (sizeof (void *))) < 0)
18753 {
18754 long i = longval ();
18755 if (i != ((long) (sizeof (void *))))
18756 exit (1);
18757 fprintf (f, "%ld\n", i);
18758 }
18759 else
18760 {
18761 unsigned long i = ulongval ();
18762 if (i != ((long) (sizeof (void *))))
18763 exit (1);
18764 fprintf (f, "%lu\n", i);
18765 }
18766 exit (ferror (f) || fclose (f) != 0);
18767
18768 ;
18769 return 0;
18770 }
18771 _ACEOF
18772 rm -f conftest$ac_exeext
18773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18774 (eval $ac_link) 2>&5
18775 ac_status=$?
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18780 ac_status=$?
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; }; then
18783 ac_cv_sizeof_void_p=`cat conftest.val`
18784 else
18785 echo "$as_me: program exited with status $ac_status" >&5
18786 echo "$as_me: failed program was:" >&5
18787 sed 's/^/| /' conftest.$ac_ext >&5
18788
18789 ( exit $ac_status )
18790 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18791 See \`config.log' for more details." >&5
18792 echo "$as_me: error: cannot compute sizeof (void *), 77
18793 See \`config.log' for more details." >&2;}
18794 { (exit 1); exit 1; }; }
18795 fi
18796 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18797 fi
18798 fi
18799 rm -f conftest.val
18800 else
18801 ac_cv_sizeof_void_p=0
18802 fi
18803 fi
18804 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18805 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18806 cat >>confdefs.h <<_ACEOF
18807 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18808 _ACEOF
18809
18810
18811 echo "$as_me:$LINENO: checking for int" >&5
18812 echo $ECHO_N "checking for int... $ECHO_C" >&6
18813 if test "${ac_cv_type_int+set}" = set; then
18814 echo $ECHO_N "(cached) $ECHO_C" >&6
18815 else
18816 cat >conftest.$ac_ext <<_ACEOF
18817 /* confdefs.h. */
18818 _ACEOF
18819 cat confdefs.h >>conftest.$ac_ext
18820 cat >>conftest.$ac_ext <<_ACEOF
18821 /* end confdefs.h. */
18822 $ac_includes_default
18823 int
18824 main ()
18825 {
18826 if ((int *) 0)
18827 return 0;
18828 if (sizeof (int))
18829 return 0;
18830 ;
18831 return 0;
18832 }
18833 _ACEOF
18834 rm -f conftest.$ac_objext
18835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18836 (eval $ac_compile) 2>conftest.er1
18837 ac_status=$?
18838 grep -v '^ *+' conftest.er1 >conftest.err
18839 rm -f conftest.er1
18840 cat conftest.err >&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); } &&
18843 { ac_try='test -z "$ac_cxx_werror_flag"
18844 || test ! -s conftest.err'
18845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18846 (eval $ac_try) 2>&5
18847 ac_status=$?
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); }; } &&
18850 { ac_try='test -s conftest.$ac_objext'
18851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18852 (eval $ac_try) 2>&5
18853 ac_status=$?
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); }; }; then
18856 ac_cv_type_int=yes
18857 else
18858 echo "$as_me: failed program was:" >&5
18859 sed 's/^/| /' conftest.$ac_ext >&5
18860
18861 ac_cv_type_int=no
18862 fi
18863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18864 fi
18865 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18866 echo "${ECHO_T}$ac_cv_type_int" >&6
18867
18868 echo "$as_me:$LINENO: checking size of int" >&5
18869 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18870 if test "${ac_cv_sizeof_int+set}" = set; then
18871 echo $ECHO_N "(cached) $ECHO_C" >&6
18872 else
18873 if test "$ac_cv_type_int" = yes; then
18874 # The cast to unsigned long works around a bug in the HP C Compiler
18875 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18876 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18877 # This bug is HP SR number 8606223364.
18878 if test "$cross_compiling" = yes; then
18879 # Depending upon the size, compute the lo and hi bounds.
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 (int))) >= 0)];
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_lo=0 ac_mid=0
18920 while :; do
18921 cat >conftest.$ac_ext <<_ACEOF
18922 /* confdefs.h. */
18923 _ACEOF
18924 cat confdefs.h >>conftest.$ac_ext
18925 cat >>conftest.$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 $ac_includes_default
18928 int
18929 main ()
18930 {
18931 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18932 test_array [0] = 0
18933
18934 ;
18935 return 0;
18936 }
18937 _ACEOF
18938 rm -f conftest.$ac_objext
18939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18940 (eval $ac_compile) 2>conftest.er1
18941 ac_status=$?
18942 grep -v '^ *+' conftest.er1 >conftest.err
18943 rm -f conftest.er1
18944 cat conftest.err >&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); } &&
18947 { ac_try='test -z "$ac_cxx_werror_flag"
18948 || test ! -s conftest.err'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18951 ac_status=$?
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; } &&
18954 { ac_try='test -s conftest.$ac_objext'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18957 ac_status=$?
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; }; then
18960 ac_hi=$ac_mid; break
18961 else
18962 echo "$as_me: failed program was:" >&5
18963 sed 's/^/| /' conftest.$ac_ext >&5
18964
18965 ac_lo=`expr $ac_mid + 1`
18966 if test $ac_lo -le $ac_mid; then
18967 ac_lo= ac_hi=
18968 break
18969 fi
18970 ac_mid=`expr 2 '*' $ac_mid + 1`
18971 fi
18972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18973 done
18974 else
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.$ac_ext >&5
18977
18978 cat >conftest.$ac_ext <<_ACEOF
18979 /* confdefs.h. */
18980 _ACEOF
18981 cat confdefs.h >>conftest.$ac_ext
18982 cat >>conftest.$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 $ac_includes_default
18985 int
18986 main ()
18987 {
18988 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18989 test_array [0] = 0
18990
18991 ;
18992 return 0;
18993 }
18994 _ACEOF
18995 rm -f conftest.$ac_objext
18996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18997 (eval $ac_compile) 2>conftest.er1
18998 ac_status=$?
18999 grep -v '^ *+' conftest.er1 >conftest.err
19000 rm -f conftest.er1
19001 cat conftest.err >&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } &&
19004 { ac_try='test -z "$ac_cxx_werror_flag"
19005 || test ! -s conftest.err'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19008 ac_status=$?
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; } &&
19011 { ac_try='test -s conftest.$ac_objext'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19014 ac_status=$?
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; }; then
19017 ac_hi=-1 ac_mid=-1
19018 while :; do
19019 cat >conftest.$ac_ext <<_ACEOF
19020 /* confdefs.h. */
19021 _ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 $ac_includes_default
19026 int
19027 main ()
19028 {
19029 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19030 test_array [0] = 0
19031
19032 ;
19033 return 0;
19034 }
19035 _ACEOF
19036 rm -f conftest.$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19039 ac_status=$?
19040 grep -v '^ *+' conftest.er1 >conftest.err
19041 rm -f conftest.er1
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try='test -z "$ac_cxx_werror_flag"
19046 || test ! -s conftest.err'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; } &&
19052 { ac_try='test -s conftest.$ac_objext'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19055 ac_status=$?
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; }; then
19058 ac_lo=$ac_mid; break
19059 else
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.$ac_ext >&5
19062
19063 ac_hi=`expr '(' $ac_mid ')' - 1`
19064 if test $ac_mid -le $ac_hi; then
19065 ac_lo= ac_hi=
19066 break
19067 fi
19068 ac_mid=`expr 2 '*' $ac_mid`
19069 fi
19070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19071 done
19072 else
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19075
19076 ac_lo= ac_hi=
19077 fi
19078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19079 fi
19080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19081 # Binary search between lo and hi bounds.
19082 while test "x$ac_lo" != "x$ac_hi"; do
19083 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19084 cat >conftest.$ac_ext <<_ACEOF
19085 /* confdefs.h. */
19086 _ACEOF
19087 cat confdefs.h >>conftest.$ac_ext
19088 cat >>conftest.$ac_ext <<_ACEOF
19089 /* end confdefs.h. */
19090 $ac_includes_default
19091 int
19092 main ()
19093 {
19094 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19095 test_array [0] = 0
19096
19097 ;
19098 return 0;
19099 }
19100 _ACEOF
19101 rm -f conftest.$ac_objext
19102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19103 (eval $ac_compile) 2>conftest.er1
19104 ac_status=$?
19105 grep -v '^ *+' conftest.er1 >conftest.err
19106 rm -f conftest.er1
19107 cat conftest.err >&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } &&
19110 { ac_try='test -z "$ac_cxx_werror_flag"
19111 || test ! -s conftest.err'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19114 ac_status=$?
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; } &&
19117 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19123 ac_hi=$ac_mid
19124 else
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.$ac_ext >&5
19127
19128 ac_lo=`expr '(' $ac_mid ')' + 1`
19129 fi
19130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19131 done
19132 case $ac_lo in
19133 ?*) ac_cv_sizeof_int=$ac_lo;;
19134 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19135 See \`config.log' for more details." >&5
19136 echo "$as_me: error: cannot compute sizeof (int), 77
19137 See \`config.log' for more details." >&2;}
19138 { (exit 1); exit 1; }; } ;;
19139 esac
19140 else
19141 if test "$cross_compiling" = yes; then
19142 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19143 See \`config.log' for more details." >&5
19144 echo "$as_me: error: cannot run test program while cross compiling
19145 See \`config.log' for more details." >&2;}
19146 { (exit 1); exit 1; }; }
19147 else
19148 cat >conftest.$ac_ext <<_ACEOF
19149 /* confdefs.h. */
19150 _ACEOF
19151 cat confdefs.h >>conftest.$ac_ext
19152 cat >>conftest.$ac_ext <<_ACEOF
19153 /* end confdefs.h. */
19154 $ac_includes_default
19155 long longval () { return (long) (sizeof (int)); }
19156 unsigned long ulongval () { return (long) (sizeof (int)); }
19157 #include <stdio.h>
19158 #include <stdlib.h>
19159 int
19160 main ()
19161 {
19162
19163 FILE *f = fopen ("conftest.val", "w");
19164 if (! f)
19165 exit (1);
19166 if (((long) (sizeof (int))) < 0)
19167 {
19168 long i = longval ();
19169 if (i != ((long) (sizeof (int))))
19170 exit (1);
19171 fprintf (f, "%ld\n", i);
19172 }
19173 else
19174 {
19175 unsigned long i = ulongval ();
19176 if (i != ((long) (sizeof (int))))
19177 exit (1);
19178 fprintf (f, "%lu\n", i);
19179 }
19180 exit (ferror (f) || fclose (f) != 0);
19181
19182 ;
19183 return 0;
19184 }
19185 _ACEOF
19186 rm -f conftest$ac_exeext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19188 (eval $ac_link) 2>&5
19189 ac_status=$?
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19194 ac_status=$?
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; }; then
19197 ac_cv_sizeof_int=`cat conftest.val`
19198 else
19199 echo "$as_me: program exited with status $ac_status" >&5
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.$ac_ext >&5
19202
19203 ( exit $ac_status )
19204 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19205 See \`config.log' for more details." >&5
19206 echo "$as_me: error: cannot compute sizeof (int), 77
19207 See \`config.log' for more details." >&2;}
19208 { (exit 1); exit 1; }; }
19209 fi
19210 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19211 fi
19212 fi
19213 rm -f conftest.val
19214 else
19215 ac_cv_sizeof_int=0
19216 fi
19217 fi
19218 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19219 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19220 cat >>confdefs.h <<_ACEOF
19221 #define SIZEOF_INT $ac_cv_sizeof_int
19222 _ACEOF
19223
19224
19225 echo "$as_me:$LINENO: checking for long" >&5
19226 echo $ECHO_N "checking for long... $ECHO_C" >&6
19227 if test "${ac_cv_type_long+set}" = set; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19229 else
19230 cat >conftest.$ac_ext <<_ACEOF
19231 /* confdefs.h. */
19232 _ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 $ac_includes_default
19237 int
19238 main ()
19239 {
19240 if ((long *) 0)
19241 return 0;
19242 if (sizeof (long))
19243 return 0;
19244 ;
19245 return 0;
19246 }
19247 _ACEOF
19248 rm -f conftest.$ac_objext
19249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19250 (eval $ac_compile) 2>conftest.er1
19251 ac_status=$?
19252 grep -v '^ *+' conftest.er1 >conftest.err
19253 rm -f conftest.er1
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } &&
19257 { ac_try='test -z "$ac_cxx_werror_flag"
19258 || test ! -s conftest.err'
19259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19260 (eval $ac_try) 2>&5
19261 ac_status=$?
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); }; } &&
19264 { ac_try='test -s conftest.$ac_objext'
19265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19266 (eval $ac_try) 2>&5
19267 ac_status=$?
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); }; }; then
19270 ac_cv_type_long=yes
19271 else
19272 echo "$as_me: failed program was:" >&5
19273 sed 's/^/| /' conftest.$ac_ext >&5
19274
19275 ac_cv_type_long=no
19276 fi
19277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19278 fi
19279 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19280 echo "${ECHO_T}$ac_cv_type_long" >&6
19281
19282 echo "$as_me:$LINENO: checking size of long" >&5
19283 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19284 if test "${ac_cv_sizeof_long+set}" = set; then
19285 echo $ECHO_N "(cached) $ECHO_C" >&6
19286 else
19287 if test "$ac_cv_type_long" = yes; then
19288 # The cast to unsigned long works around a bug in the HP C Compiler
19289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19291 # This bug is HP SR number 8606223364.
19292 if test "$cross_compiling" = yes; then
19293 # Depending upon the size, compute the lo and hi bounds.
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 (long))) >= 0)];
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_lo=0 ac_mid=0
19334 while :; do
19335 cat >conftest.$ac_ext <<_ACEOF
19336 /* confdefs.h. */
19337 _ACEOF
19338 cat confdefs.h >>conftest.$ac_ext
19339 cat >>conftest.$ac_ext <<_ACEOF
19340 /* end confdefs.h. */
19341 $ac_includes_default
19342 int
19343 main ()
19344 {
19345 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19346 test_array [0] = 0
19347
19348 ;
19349 return 0;
19350 }
19351 _ACEOF
19352 rm -f conftest.$ac_objext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19354 (eval $ac_compile) 2>conftest.er1
19355 ac_status=$?
19356 grep -v '^ *+' conftest.er1 >conftest.err
19357 rm -f conftest.er1
19358 cat conftest.err >&5
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); } &&
19361 { ac_try='test -z "$ac_cxx_werror_flag"
19362 || test ! -s conftest.err'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19365 ac_status=$?
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; } &&
19368 { ac_try='test -s conftest.$ac_objext'
19369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19370 (eval $ac_try) 2>&5
19371 ac_status=$?
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); }; }; then
19374 ac_hi=$ac_mid; break
19375 else
19376 echo "$as_me: failed program was:" >&5
19377 sed 's/^/| /' conftest.$ac_ext >&5
19378
19379 ac_lo=`expr $ac_mid + 1`
19380 if test $ac_lo -le $ac_mid; then
19381 ac_lo= ac_hi=
19382 break
19383 fi
19384 ac_mid=`expr 2 '*' $ac_mid + 1`
19385 fi
19386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19387 done
19388 else
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19391
19392 cat >conftest.$ac_ext <<_ACEOF
19393 /* confdefs.h. */
19394 _ACEOF
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 $ac_includes_default
19399 int
19400 main ()
19401 {
19402 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19403 test_array [0] = 0
19404
19405 ;
19406 return 0;
19407 }
19408 _ACEOF
19409 rm -f conftest.$ac_objext
19410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19411 (eval $ac_compile) 2>conftest.er1
19412 ac_status=$?
19413 grep -v '^ *+' conftest.er1 >conftest.err
19414 rm -f conftest.er1
19415 cat conftest.err >&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); } &&
19418 { ac_try='test -z "$ac_cxx_werror_flag"
19419 || test ! -s conftest.err'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19422 ac_status=$?
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; } &&
19425 { ac_try='test -s conftest.$ac_objext'
19426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19427 (eval $ac_try) 2>&5
19428 ac_status=$?
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); }; }; then
19431 ac_hi=-1 ac_mid=-1
19432 while :; do
19433 cat >conftest.$ac_ext <<_ACEOF
19434 /* confdefs.h. */
19435 _ACEOF
19436 cat confdefs.h >>conftest.$ac_ext
19437 cat >>conftest.$ac_ext <<_ACEOF
19438 /* end confdefs.h. */
19439 $ac_includes_default
19440 int
19441 main ()
19442 {
19443 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19444 test_array [0] = 0
19445
19446 ;
19447 return 0;
19448 }
19449 _ACEOF
19450 rm -f conftest.$ac_objext
19451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19452 (eval $ac_compile) 2>conftest.er1
19453 ac_status=$?
19454 grep -v '^ *+' conftest.er1 >conftest.err
19455 rm -f conftest.er1
19456 cat conftest.err >&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); } &&
19459 { ac_try='test -z "$ac_cxx_werror_flag"
19460 || test ! -s conftest.err'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19463 ac_status=$?
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; } &&
19466 { ac_try='test -s conftest.$ac_objext'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19469 ac_status=$?
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; }; then
19472 ac_lo=$ac_mid; break
19473 else
19474 echo "$as_me: failed program was:" >&5
19475 sed 's/^/| /' conftest.$ac_ext >&5
19476
19477 ac_hi=`expr '(' $ac_mid ')' - 1`
19478 if test $ac_mid -le $ac_hi; then
19479 ac_lo= ac_hi=
19480 break
19481 fi
19482 ac_mid=`expr 2 '*' $ac_mid`
19483 fi
19484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19485 done
19486 else
19487 echo "$as_me: failed program was:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19489
19490 ac_lo= ac_hi=
19491 fi
19492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19493 fi
19494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19495 # Binary search between lo and hi bounds.
19496 while test "x$ac_lo" != "x$ac_hi"; do
19497 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19498 cat >conftest.$ac_ext <<_ACEOF
19499 /* confdefs.h. */
19500 _ACEOF
19501 cat confdefs.h >>conftest.$ac_ext
19502 cat >>conftest.$ac_ext <<_ACEOF
19503 /* end confdefs.h. */
19504 $ac_includes_default
19505 int
19506 main ()
19507 {
19508 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19509 test_array [0] = 0
19510
19511 ;
19512 return 0;
19513 }
19514 _ACEOF
19515 rm -f conftest.$ac_objext
19516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19517 (eval $ac_compile) 2>conftest.er1
19518 ac_status=$?
19519 grep -v '^ *+' conftest.er1 >conftest.err
19520 rm -f conftest.er1
19521 cat conftest.err >&5
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); } &&
19524 { ac_try='test -z "$ac_cxx_werror_flag"
19525 || test ! -s conftest.err'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19528 ac_status=$?
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; } &&
19531 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19537 ac_hi=$ac_mid
19538 else
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.$ac_ext >&5
19541
19542 ac_lo=`expr '(' $ac_mid ')' + 1`
19543 fi
19544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19545 done
19546 case $ac_lo in
19547 ?*) ac_cv_sizeof_long=$ac_lo;;
19548 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19549 See \`config.log' for more details." >&5
19550 echo "$as_me: error: cannot compute sizeof (long), 77
19551 See \`config.log' for more details." >&2;}
19552 { (exit 1); exit 1; }; } ;;
19553 esac
19554 else
19555 if test "$cross_compiling" = yes; then
19556 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19557 See \`config.log' for more details." >&5
19558 echo "$as_me: error: cannot run test program while cross compiling
19559 See \`config.log' for more details." >&2;}
19560 { (exit 1); exit 1; }; }
19561 else
19562 cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h. */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 $ac_includes_default
19569 long longval () { return (long) (sizeof (long)); }
19570 unsigned long ulongval () { return (long) (sizeof (long)); }
19571 #include <stdio.h>
19572 #include <stdlib.h>
19573 int
19574 main ()
19575 {
19576
19577 FILE *f = fopen ("conftest.val", "w");
19578 if (! f)
19579 exit (1);
19580 if (((long) (sizeof (long))) < 0)
19581 {
19582 long i = longval ();
19583 if (i != ((long) (sizeof (long))))
19584 exit (1);
19585 fprintf (f, "%ld\n", i);
19586 }
19587 else
19588 {
19589 unsigned long i = ulongval ();
19590 if (i != ((long) (sizeof (long))))
19591 exit (1);
19592 fprintf (f, "%lu\n", i);
19593 }
19594 exit (ferror (f) || fclose (f) != 0);
19595
19596 ;
19597 return 0;
19598 }
19599 _ACEOF
19600 rm -f conftest$ac_exeext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19602 (eval $ac_link) 2>&5
19603 ac_status=$?
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19608 ac_status=$?
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; }; then
19611 ac_cv_sizeof_long=`cat conftest.val`
19612 else
19613 echo "$as_me: program exited with status $ac_status" >&5
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.$ac_ext >&5
19616
19617 ( exit $ac_status )
19618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19619 See \`config.log' for more details." >&5
19620 echo "$as_me: error: cannot compute sizeof (long), 77
19621 See \`config.log' for more details." >&2;}
19622 { (exit 1); exit 1; }; }
19623 fi
19624 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19625 fi
19626 fi
19627 rm -f conftest.val
19628 else
19629 ac_cv_sizeof_long=0
19630 fi
19631 fi
19632 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19633 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19634 cat >>confdefs.h <<_ACEOF
19635 #define SIZEOF_LONG $ac_cv_sizeof_long
19636 _ACEOF
19637
19638
19639 echo "$as_me:$LINENO: checking for size_t" >&5
19640 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19641 if test "${ac_cv_type_size_t+set}" = set; then
19642 echo $ECHO_N "(cached) $ECHO_C" >&6
19643 else
19644 cat >conftest.$ac_ext <<_ACEOF
19645 /* confdefs.h. */
19646 _ACEOF
19647 cat confdefs.h >>conftest.$ac_ext
19648 cat >>conftest.$ac_ext <<_ACEOF
19649 /* end confdefs.h. */
19650 $ac_includes_default
19651 int
19652 main ()
19653 {
19654 if ((size_t *) 0)
19655 return 0;
19656 if (sizeof (size_t))
19657 return 0;
19658 ;
19659 return 0;
19660 }
19661 _ACEOF
19662 rm -f conftest.$ac_objext
19663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19664 (eval $ac_compile) 2>conftest.er1
19665 ac_status=$?
19666 grep -v '^ *+' conftest.er1 >conftest.err
19667 rm -f conftest.er1
19668 cat conftest.err >&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); } &&
19671 { ac_try='test -z "$ac_cxx_werror_flag"
19672 || test ! -s conftest.err'
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674 (eval $ac_try) 2>&5
19675 ac_status=$?
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); }; } &&
19678 { ac_try='test -s conftest.$ac_objext'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19681 ac_status=$?
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; }; then
19684 ac_cv_type_size_t=yes
19685 else
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19688
19689 ac_cv_type_size_t=no
19690 fi
19691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19692 fi
19693 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19694 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19695
19696 echo "$as_me:$LINENO: checking size of size_t" >&5
19697 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19698 if test "${ac_cv_sizeof_size_t+set}" = set; then
19699 echo $ECHO_N "(cached) $ECHO_C" >&6
19700 else
19701 if test "$ac_cv_type_size_t" = yes; then
19702 # The cast to unsigned long works around a bug in the HP C Compiler
19703 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19704 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19705 # This bug is HP SR number 8606223364.
19706 if test "$cross_compiling" = yes; then
19707 # Depending upon the size, compute the lo and hi bounds.
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 (size_t))) >= 0)];
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_lo=0 ac_mid=0
19748 while :; do
19749 cat >conftest.$ac_ext <<_ACEOF
19750 /* confdefs.h. */
19751 _ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19756 int
19757 main ()
19758 {
19759 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19760 test_array [0] = 0
19761
19762 ;
19763 return 0;
19764 }
19765 _ACEOF
19766 rm -f conftest.$ac_objext
19767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19768 (eval $ac_compile) 2>conftest.er1
19769 ac_status=$?
19770 grep -v '^ *+' conftest.er1 >conftest.err
19771 rm -f conftest.er1
19772 cat conftest.err >&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); } &&
19775 { ac_try='test -z "$ac_cxx_werror_flag"
19776 || test ! -s conftest.err'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19779 ac_status=$?
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try='test -s conftest.$ac_objext'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19785 ac_status=$?
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_hi=$ac_mid; break
19789 else
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19792
19793 ac_lo=`expr $ac_mid + 1`
19794 if test $ac_lo -le $ac_mid; then
19795 ac_lo= ac_hi=
19796 break
19797 fi
19798 ac_mid=`expr 2 '*' $ac_mid + 1`
19799 fi
19800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19801 done
19802 else
19803 echo "$as_me: failed program was:" >&5
19804 sed 's/^/| /' conftest.$ac_ext >&5
19805
19806 cat >conftest.$ac_ext <<_ACEOF
19807 /* confdefs.h. */
19808 _ACEOF
19809 cat confdefs.h >>conftest.$ac_ext
19810 cat >>conftest.$ac_ext <<_ACEOF
19811 /* end confdefs.h. */
19812 $ac_includes_default
19813 int
19814 main ()
19815 {
19816 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19817 test_array [0] = 0
19818
19819 ;
19820 return 0;
19821 }
19822 _ACEOF
19823 rm -f conftest.$ac_objext
19824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19825 (eval $ac_compile) 2>conftest.er1
19826 ac_status=$?
19827 grep -v '^ *+' conftest.er1 >conftest.err
19828 rm -f conftest.er1
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try='test -z "$ac_cxx_werror_flag"
19833 || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19836 ac_status=$?
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try='test -s conftest.$ac_objext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19842 ac_status=$?
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 ac_hi=-1 ac_mid=-1
19846 while :; do
19847 cat >conftest.$ac_ext <<_ACEOF
19848 /* confdefs.h. */
19849 _ACEOF
19850 cat confdefs.h >>conftest.$ac_ext
19851 cat >>conftest.$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 $ac_includes_default
19854 int
19855 main ()
19856 {
19857 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19858 test_array [0] = 0
19859
19860 ;
19861 return 0;
19862 }
19863 _ACEOF
19864 rm -f conftest.$ac_objext
19865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19866 (eval $ac_compile) 2>conftest.er1
19867 ac_status=$?
19868 grep -v '^ *+' conftest.er1 >conftest.err
19869 rm -f conftest.er1
19870 cat conftest.err >&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } &&
19873 { ac_try='test -z "$ac_cxx_werror_flag"
19874 || test ! -s conftest.err'
19875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19876 (eval $ac_try) 2>&5
19877 ac_status=$?
19878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19879 (exit $ac_status); }; } &&
19880 { ac_try='test -s conftest.$ac_objext'
19881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882 (eval $ac_try) 2>&5
19883 ac_status=$?
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); }; }; then
19886 ac_lo=$ac_mid; break
19887 else
19888 echo "$as_me: failed program was:" >&5
19889 sed 's/^/| /' conftest.$ac_ext >&5
19890
19891 ac_hi=`expr '(' $ac_mid ')' - 1`
19892 if test $ac_mid -le $ac_hi; then
19893 ac_lo= ac_hi=
19894 break
19895 fi
19896 ac_mid=`expr 2 '*' $ac_mid`
19897 fi
19898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19899 done
19900 else
19901 echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.$ac_ext >&5
19903
19904 ac_lo= ac_hi=
19905 fi
19906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19907 fi
19908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19909 # Binary search between lo and hi bounds.
19910 while test "x$ac_lo" != "x$ac_hi"; do
19911 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19912 cat >conftest.$ac_ext <<_ACEOF
19913 /* confdefs.h. */
19914 _ACEOF
19915 cat confdefs.h >>conftest.$ac_ext
19916 cat >>conftest.$ac_ext <<_ACEOF
19917 /* end confdefs.h. */
19918 $ac_includes_default
19919 int
19920 main ()
19921 {
19922 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19923 test_array [0] = 0
19924
19925 ;
19926 return 0;
19927 }
19928 _ACEOF
19929 rm -f conftest.$ac_objext
19930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19931 (eval $ac_compile) 2>conftest.er1
19932 ac_status=$?
19933 grep -v '^ *+' conftest.er1 >conftest.err
19934 rm -f conftest.er1
19935 cat conftest.err >&5
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); } &&
19938 { ac_try='test -z "$ac_cxx_werror_flag"
19939 || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19951 ac_hi=$ac_mid
19952 else
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19955
19956 ac_lo=`expr '(' $ac_mid ')' + 1`
19957 fi
19958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19959 done
19960 case $ac_lo in
19961 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19962 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19963 See \`config.log' for more details." >&5
19964 echo "$as_me: error: cannot compute sizeof (size_t), 77
19965 See \`config.log' for more details." >&2;}
19966 { (exit 1); exit 1; }; } ;;
19967 esac
19968 else
19969 if test "$cross_compiling" = yes; then
19970 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19971 See \`config.log' for more details." >&5
19972 echo "$as_me: error: cannot run test program while cross compiling
19973 See \`config.log' for more details." >&2;}
19974 { (exit 1); exit 1; }; }
19975 else
19976 cat >conftest.$ac_ext <<_ACEOF
19977 /* confdefs.h. */
19978 _ACEOF
19979 cat confdefs.h >>conftest.$ac_ext
19980 cat >>conftest.$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19982 $ac_includes_default
19983 long longval () { return (long) (sizeof (size_t)); }
19984 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19985 #include <stdio.h>
19986 #include <stdlib.h>
19987 int
19988 main ()
19989 {
19990
19991 FILE *f = fopen ("conftest.val", "w");
19992 if (! f)
19993 exit (1);
19994 if (((long) (sizeof (size_t))) < 0)
19995 {
19996 long i = longval ();
19997 if (i != ((long) (sizeof (size_t))))
19998 exit (1);
19999 fprintf (f, "%ld\n", i);
20000 }
20001 else
20002 {
20003 unsigned long i = ulongval ();
20004 if (i != ((long) (sizeof (size_t))))
20005 exit (1);
20006 fprintf (f, "%lu\n", i);
20007 }
20008 exit (ferror (f) || fclose (f) != 0);
20009
20010 ;
20011 return 0;
20012 }
20013 _ACEOF
20014 rm -f conftest$ac_exeext
20015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20016 (eval $ac_link) 2>&5
20017 ac_status=$?
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20021 (eval $ac_try) 2>&5
20022 ac_status=$?
20023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024 (exit $ac_status); }; }; then
20025 ac_cv_sizeof_size_t=`cat conftest.val`
20026 else
20027 echo "$as_me: program exited with status $ac_status" >&5
20028 echo "$as_me: failed program was:" >&5
20029 sed 's/^/| /' conftest.$ac_ext >&5
20030
20031 ( exit $ac_status )
20032 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20033 See \`config.log' for more details." >&5
20034 echo "$as_me: error: cannot compute sizeof (size_t), 77
20035 See \`config.log' for more details." >&2;}
20036 { (exit 1); exit 1; }; }
20037 fi
20038 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20039 fi
20040 fi
20041 rm -f conftest.val
20042 else
20043 ac_cv_sizeof_size_t=0
20044 fi
20045 fi
20046 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20047 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20048 cat >>confdefs.h <<_ACEOF
20049 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20050 _ACEOF
20051
20052
20053
20054 case "${host}" in
20055 arm-*-linux* )
20056 echo "$as_me:$LINENO: checking for long long" >&5
20057 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20058 if test "${ac_cv_type_long_long+set}" = set; then
20059 echo $ECHO_N "(cached) $ECHO_C" >&6
20060 else
20061 cat >conftest.$ac_ext <<_ACEOF
20062 /* confdefs.h. */
20063 _ACEOF
20064 cat confdefs.h >>conftest.$ac_ext
20065 cat >>conftest.$ac_ext <<_ACEOF
20066 /* end confdefs.h. */
20067 $ac_includes_default
20068 int
20069 main ()
20070 {
20071 if ((long long *) 0)
20072 return 0;
20073 if (sizeof (long long))
20074 return 0;
20075 ;
20076 return 0;
20077 }
20078 _ACEOF
20079 rm -f conftest.$ac_objext
20080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20081 (eval $ac_compile) 2>conftest.er1
20082 ac_status=$?
20083 grep -v '^ *+' conftest.er1 >conftest.err
20084 rm -f conftest.er1
20085 cat conftest.err >&5
20086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087 (exit $ac_status); } &&
20088 { ac_try='test -z "$ac_cxx_werror_flag"
20089 || test ! -s conftest.err'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20092 ac_status=$?
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; } &&
20095 { ac_try='test -s conftest.$ac_objext'
20096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20097 (eval $ac_try) 2>&5
20098 ac_status=$?
20099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20100 (exit $ac_status); }; }; then
20101 ac_cv_type_long_long=yes
20102 else
20103 echo "$as_me: failed program was:" >&5
20104 sed 's/^/| /' conftest.$ac_ext >&5
20105
20106 ac_cv_type_long_long=no
20107 fi
20108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20109 fi
20110 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20111 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20112
20113 echo "$as_me:$LINENO: checking size of long long" >&5
20114 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20115 if test "${ac_cv_sizeof_long_long+set}" = set; then
20116 echo $ECHO_N "(cached) $ECHO_C" >&6
20117 else
20118 if test "$ac_cv_type_long_long" = yes; then
20119 # The cast to unsigned long works around a bug in the HP C Compiler
20120 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20121 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20122 # This bug is HP SR number 8606223364.
20123 if test "$cross_compiling" = yes; then
20124 # Depending upon the size, compute the lo and hi bounds.
20125 cat >conftest.$ac_ext <<_ACEOF
20126 /* confdefs.h. */
20127 _ACEOF
20128 cat confdefs.h >>conftest.$ac_ext
20129 cat >>conftest.$ac_ext <<_ACEOF
20130 /* end confdefs.h. */
20131 $ac_includes_default
20132 int
20133 main ()
20134 {
20135 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20136 test_array [0] = 0
20137
20138 ;
20139 return 0;
20140 }
20141 _ACEOF
20142 rm -f conftest.$ac_objext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20144 (eval $ac_compile) 2>conftest.er1
20145 ac_status=$?
20146 grep -v '^ *+' conftest.er1 >conftest.err
20147 rm -f conftest.er1
20148 cat conftest.err >&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); } &&
20151 { ac_try='test -z "$ac_cxx_werror_flag"
20152 || test ! -s conftest.err'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20155 ac_status=$?
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; } &&
20158 { ac_try='test -s conftest.$ac_objext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20161 ac_status=$?
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_lo=0 ac_mid=0
20165 while :; do
20166 cat >conftest.$ac_ext <<_ACEOF
20167 /* confdefs.h. */
20168 _ACEOF
20169 cat confdefs.h >>conftest.$ac_ext
20170 cat >>conftest.$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20172 $ac_includes_default
20173 int
20174 main ()
20175 {
20176 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20177 test_array [0] = 0
20178
20179 ;
20180 return 0;
20181 }
20182 _ACEOF
20183 rm -f conftest.$ac_objext
20184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20185 (eval $ac_compile) 2>conftest.er1
20186 ac_status=$?
20187 grep -v '^ *+' conftest.er1 >conftest.err
20188 rm -f conftest.er1
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } &&
20192 { ac_try='test -z "$ac_cxx_werror_flag"
20193 || test ! -s conftest.err'
20194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20195 (eval $ac_try) 2>&5
20196 ac_status=$?
20197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20198 (exit $ac_status); }; } &&
20199 { ac_try='test -s conftest.$ac_objext'
20200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20201 (eval $ac_try) 2>&5
20202 ac_status=$?
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; }; then
20205 ac_hi=$ac_mid; break
20206 else
20207 echo "$as_me: failed program was:" >&5
20208 sed 's/^/| /' conftest.$ac_ext >&5
20209
20210 ac_lo=`expr $ac_mid + 1`
20211 if test $ac_lo -le $ac_mid; then
20212 ac_lo= ac_hi=
20213 break
20214 fi
20215 ac_mid=`expr 2 '*' $ac_mid + 1`
20216 fi
20217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20218 done
20219 else
20220 echo "$as_me: failed program was:" >&5
20221 sed 's/^/| /' conftest.$ac_ext >&5
20222
20223 cat >conftest.$ac_ext <<_ACEOF
20224 /* confdefs.h. */
20225 _ACEOF
20226 cat confdefs.h >>conftest.$ac_ext
20227 cat >>conftest.$ac_ext <<_ACEOF
20228 /* end confdefs.h. */
20229 $ac_includes_default
20230 int
20231 main ()
20232 {
20233 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20234 test_array [0] = 0
20235
20236 ;
20237 return 0;
20238 }
20239 _ACEOF
20240 rm -f conftest.$ac_objext
20241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20242 (eval $ac_compile) 2>conftest.er1
20243 ac_status=$?
20244 grep -v '^ *+' conftest.er1 >conftest.err
20245 rm -f conftest.er1
20246 cat conftest.err >&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } &&
20249 { ac_try='test -z "$ac_cxx_werror_flag"
20250 || test ! -s conftest.err'
20251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20252 (eval $ac_try) 2>&5
20253 ac_status=$?
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); }; } &&
20256 { ac_try='test -s conftest.$ac_objext'
20257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20258 (eval $ac_try) 2>&5
20259 ac_status=$?
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); }; }; then
20262 ac_hi=-1 ac_mid=-1
20263 while :; do
20264 cat >conftest.$ac_ext <<_ACEOF
20265 /* confdefs.h. */
20266 _ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20271 int
20272 main ()
20273 {
20274 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20275 test_array [0] = 0
20276
20277 ;
20278 return 0;
20279 }
20280 _ACEOF
20281 rm -f conftest.$ac_objext
20282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20283 (eval $ac_compile) 2>conftest.er1
20284 ac_status=$?
20285 grep -v '^ *+' conftest.er1 >conftest.err
20286 rm -f conftest.er1
20287 cat conftest.err >&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } &&
20290 { ac_try='test -z "$ac_cxx_werror_flag"
20291 || test ! -s conftest.err'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20294 ac_status=$?
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; } &&
20297 { ac_try='test -s conftest.$ac_objext'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20300 ac_status=$?
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; }; then
20303 ac_lo=$ac_mid; break
20304 else
20305 echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.$ac_ext >&5
20307
20308 ac_hi=`expr '(' $ac_mid ')' - 1`
20309 if test $ac_mid -le $ac_hi; then
20310 ac_lo= ac_hi=
20311 break
20312 fi
20313 ac_mid=`expr 2 '*' $ac_mid`
20314 fi
20315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20316 done
20317 else
20318 echo "$as_me: failed program was:" >&5
20319 sed 's/^/| /' conftest.$ac_ext >&5
20320
20321 ac_lo= ac_hi=
20322 fi
20323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20324 fi
20325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20326 # Binary search between lo and hi bounds.
20327 while test "x$ac_lo" != "x$ac_hi"; do
20328 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20329 cat >conftest.$ac_ext <<_ACEOF
20330 /* confdefs.h. */
20331 _ACEOF
20332 cat confdefs.h >>conftest.$ac_ext
20333 cat >>conftest.$ac_ext <<_ACEOF
20334 /* end confdefs.h. */
20335 $ac_includes_default
20336 int
20337 main ()
20338 {
20339 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20340 test_array [0] = 0
20341
20342 ;
20343 return 0;
20344 }
20345 _ACEOF
20346 rm -f conftest.$ac_objext
20347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20348 (eval $ac_compile) 2>conftest.er1
20349 ac_status=$?
20350 grep -v '^ *+' conftest.er1 >conftest.err
20351 rm -f conftest.er1
20352 cat conftest.err >&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try='test -z "$ac_cxx_werror_flag"
20356 || test ! -s conftest.err'
20357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20358 (eval $ac_try) 2>&5
20359 ac_status=$?
20360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20361 (exit $ac_status); }; } &&
20362 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20368 ac_hi=$ac_mid
20369 else
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.$ac_ext >&5
20372
20373 ac_lo=`expr '(' $ac_mid ')' + 1`
20374 fi
20375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20376 done
20377 case $ac_lo in
20378 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20379 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20380 See \`config.log' for more details." >&5
20381 echo "$as_me: error: cannot compute sizeof (long long), 77
20382 See \`config.log' for more details." >&2;}
20383 { (exit 1); exit 1; }; } ;;
20384 esac
20385 else
20386 if test "$cross_compiling" = yes; then
20387 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20388 See \`config.log' for more details." >&5
20389 echo "$as_me: error: cannot run test program while cross compiling
20390 See \`config.log' for more details." >&2;}
20391 { (exit 1); exit 1; }; }
20392 else
20393 cat >conftest.$ac_ext <<_ACEOF
20394 /* confdefs.h. */
20395 _ACEOF
20396 cat confdefs.h >>conftest.$ac_ext
20397 cat >>conftest.$ac_ext <<_ACEOF
20398 /* end confdefs.h. */
20399 $ac_includes_default
20400 long longval () { return (long) (sizeof (long long)); }
20401 unsigned long ulongval () { return (long) (sizeof (long long)); }
20402 #include <stdio.h>
20403 #include <stdlib.h>
20404 int
20405 main ()
20406 {
20407
20408 FILE *f = fopen ("conftest.val", "w");
20409 if (! f)
20410 exit (1);
20411 if (((long) (sizeof (long long))) < 0)
20412 {
20413 long i = longval ();
20414 if (i != ((long) (sizeof (long long))))
20415 exit (1);
20416 fprintf (f, "%ld\n", i);
20417 }
20418 else
20419 {
20420 unsigned long i = ulongval ();
20421 if (i != ((long) (sizeof (long long))))
20422 exit (1);
20423 fprintf (f, "%lu\n", i);
20424 }
20425 exit (ferror (f) || fclose (f) != 0);
20426
20427 ;
20428 return 0;
20429 }
20430 _ACEOF
20431 rm -f conftest$ac_exeext
20432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20433 (eval $ac_link) 2>&5
20434 ac_status=$?
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20439 ac_status=$?
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; }; then
20442 ac_cv_sizeof_long_long=`cat conftest.val`
20443 else
20444 echo "$as_me: program exited with status $ac_status" >&5
20445 echo "$as_me: failed program was:" >&5
20446 sed 's/^/| /' conftest.$ac_ext >&5
20447
20448 ( exit $ac_status )
20449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20450 See \`config.log' for more details." >&5
20451 echo "$as_me: error: cannot compute sizeof (long long), 77
20452 See \`config.log' for more details." >&2;}
20453 { (exit 1); exit 1; }; }
20454 fi
20455 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20456 fi
20457 fi
20458 rm -f conftest.val
20459 else
20460 ac_cv_sizeof_long_long=0
20461 fi
20462 fi
20463 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20464 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20465 cat >>confdefs.h <<_ACEOF
20466 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20467 _ACEOF
20468
20469
20470 ;;
20471 *-hp-hpux* )
20472 echo "$as_me:$LINENO: checking for long long" >&5
20473 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20474 if test "${ac_cv_type_long_long+set}" = set; then
20475 echo $ECHO_N "(cached) $ECHO_C" >&6
20476 else
20477 cat >conftest.$ac_ext <<_ACEOF
20478 /* confdefs.h. */
20479 _ACEOF
20480 cat confdefs.h >>conftest.$ac_ext
20481 cat >>conftest.$ac_ext <<_ACEOF
20482 /* end confdefs.h. */
20483 $ac_includes_default
20484 int
20485 main ()
20486 {
20487 if ((long long *) 0)
20488 return 0;
20489 if (sizeof (long long))
20490 return 0;
20491 ;
20492 return 0;
20493 }
20494 _ACEOF
20495 rm -f conftest.$ac_objext
20496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20497 (eval $ac_compile) 2>conftest.er1
20498 ac_status=$?
20499 grep -v '^ *+' conftest.er1 >conftest.err
20500 rm -f conftest.er1
20501 cat conftest.err >&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); } &&
20504 { ac_try='test -z "$ac_cxx_werror_flag"
20505 || test ! -s conftest.err'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20508 ac_status=$?
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; } &&
20511 { ac_try='test -s conftest.$ac_objext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20514 ac_status=$?
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 ac_cv_type_long_long=yes
20518 else
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20521
20522 ac_cv_type_long_long=no
20523 fi
20524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20525 fi
20526 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20527 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20528
20529 echo "$as_me:$LINENO: checking size of long long" >&5
20530 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20531 if test "${ac_cv_sizeof_long_long+set}" = set; then
20532 echo $ECHO_N "(cached) $ECHO_C" >&6
20533 else
20534 if test "$ac_cv_type_long_long" = yes; then
20535 # The cast to unsigned long works around a bug in the HP C Compiler
20536 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20537 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20538 # This bug is HP SR number 8606223364.
20539 if test "$cross_compiling" = yes; then
20540 # Depending upon the size, compute the lo and hi bounds.
20541 cat >conftest.$ac_ext <<_ACEOF
20542 /* confdefs.h. */
20543 _ACEOF
20544 cat confdefs.h >>conftest.$ac_ext
20545 cat >>conftest.$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 $ac_includes_default
20548 int
20549 main ()
20550 {
20551 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20552 test_array [0] = 0
20553
20554 ;
20555 return 0;
20556 }
20557 _ACEOF
20558 rm -f conftest.$ac_objext
20559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20560 (eval $ac_compile) 2>conftest.er1
20561 ac_status=$?
20562 grep -v '^ *+' conftest.er1 >conftest.err
20563 rm -f conftest.er1
20564 cat conftest.err >&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); } &&
20567 { ac_try='test -z "$ac_cxx_werror_flag"
20568 || test ! -s conftest.err'
20569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20570 (eval $ac_try) 2>&5
20571 ac_status=$?
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); }; } &&
20574 { ac_try='test -s conftest.$ac_objext'
20575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20576 (eval $ac_try) 2>&5
20577 ac_status=$?
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); }; }; then
20580 ac_lo=0 ac_mid=0
20581 while :; do
20582 cat >conftest.$ac_ext <<_ACEOF
20583 /* confdefs.h. */
20584 _ACEOF
20585 cat confdefs.h >>conftest.$ac_ext
20586 cat >>conftest.$ac_ext <<_ACEOF
20587 /* end confdefs.h. */
20588 $ac_includes_default
20589 int
20590 main ()
20591 {
20592 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20593 test_array [0] = 0
20594
20595 ;
20596 return 0;
20597 }
20598 _ACEOF
20599 rm -f conftest.$ac_objext
20600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20601 (eval $ac_compile) 2>conftest.er1
20602 ac_status=$?
20603 grep -v '^ *+' conftest.er1 >conftest.err
20604 rm -f conftest.er1
20605 cat conftest.err >&5
20606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20607 (exit $ac_status); } &&
20608 { ac_try='test -z "$ac_cxx_werror_flag"
20609 || test ! -s conftest.err'
20610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20611 (eval $ac_try) 2>&5
20612 ac_status=$?
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); }; } &&
20615 { ac_try='test -s conftest.$ac_objext'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20618 ac_status=$?
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20621 ac_hi=$ac_mid; break
20622 else
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20625
20626 ac_lo=`expr $ac_mid + 1`
20627 if test $ac_lo -le $ac_mid; then
20628 ac_lo= ac_hi=
20629 break
20630 fi
20631 ac_mid=`expr 2 '*' $ac_mid + 1`
20632 fi
20633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20634 done
20635 else
20636 echo "$as_me: failed program was:" >&5
20637 sed 's/^/| /' conftest.$ac_ext >&5
20638
20639 cat >conftest.$ac_ext <<_ACEOF
20640 /* confdefs.h. */
20641 _ACEOF
20642 cat confdefs.h >>conftest.$ac_ext
20643 cat >>conftest.$ac_ext <<_ACEOF
20644 /* end confdefs.h. */
20645 $ac_includes_default
20646 int
20647 main ()
20648 {
20649 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20650 test_array [0] = 0
20651
20652 ;
20653 return 0;
20654 }
20655 _ACEOF
20656 rm -f conftest.$ac_objext
20657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20658 (eval $ac_compile) 2>conftest.er1
20659 ac_status=$?
20660 grep -v '^ *+' conftest.er1 >conftest.err
20661 rm -f conftest.er1
20662 cat conftest.err >&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); } &&
20665 { ac_try='test -z "$ac_cxx_werror_flag"
20666 || test ! -s conftest.err'
20667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668 (eval $ac_try) 2>&5
20669 ac_status=$?
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; } &&
20672 { ac_try='test -s conftest.$ac_objext'
20673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20674 (eval $ac_try) 2>&5
20675 ac_status=$?
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); }; }; then
20678 ac_hi=-1 ac_mid=-1
20679 while :; do
20680 cat >conftest.$ac_ext <<_ACEOF
20681 /* confdefs.h. */
20682 _ACEOF
20683 cat confdefs.h >>conftest.$ac_ext
20684 cat >>conftest.$ac_ext <<_ACEOF
20685 /* end confdefs.h. */
20686 $ac_includes_default
20687 int
20688 main ()
20689 {
20690 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20691 test_array [0] = 0
20692
20693 ;
20694 return 0;
20695 }
20696 _ACEOF
20697 rm -f conftest.$ac_objext
20698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20699 (eval $ac_compile) 2>conftest.er1
20700 ac_status=$?
20701 grep -v '^ *+' conftest.er1 >conftest.err
20702 rm -f conftest.er1
20703 cat conftest.err >&5
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); } &&
20706 { ac_try='test -z "$ac_cxx_werror_flag"
20707 || test ! -s conftest.err'
20708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20709 (eval $ac_try) 2>&5
20710 ac_status=$?
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); }; } &&
20713 { ac_try='test -s conftest.$ac_objext'
20714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20715 (eval $ac_try) 2>&5
20716 ac_status=$?
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20719 ac_lo=$ac_mid; break
20720 else
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20723
20724 ac_hi=`expr '(' $ac_mid ')' - 1`
20725 if test $ac_mid -le $ac_hi; then
20726 ac_lo= ac_hi=
20727 break
20728 fi
20729 ac_mid=`expr 2 '*' $ac_mid`
20730 fi
20731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20732 done
20733 else
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20736
20737 ac_lo= ac_hi=
20738 fi
20739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20740 fi
20741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20742 # Binary search between lo and hi bounds.
20743 while test "x$ac_lo" != "x$ac_hi"; do
20744 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20745 cat >conftest.$ac_ext <<_ACEOF
20746 /* confdefs.h. */
20747 _ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 int
20753 main ()
20754 {
20755 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20756 test_array [0] = 0
20757
20758 ;
20759 return 0;
20760 }
20761 _ACEOF
20762 rm -f conftest.$ac_objext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20764 (eval $ac_compile) 2>conftest.er1
20765 ac_status=$?
20766 grep -v '^ *+' conftest.er1 >conftest.err
20767 rm -f conftest.er1
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try='test -z "$ac_cxx_werror_flag"
20772 || test ! -s conftest.err'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20775 ac_status=$?
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20784 ac_hi=$ac_mid
20785 else
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20788
20789 ac_lo=`expr '(' $ac_mid ')' + 1`
20790 fi
20791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20792 done
20793 case $ac_lo in
20794 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20795 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20796 See \`config.log' for more details." >&5
20797 echo "$as_me: error: cannot compute sizeof (long long), 77
20798 See \`config.log' for more details." >&2;}
20799 { (exit 1); exit 1; }; } ;;
20800 esac
20801 else
20802 if test "$cross_compiling" = yes; then
20803 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20804 See \`config.log' for more details." >&5
20805 echo "$as_me: error: cannot run test program while cross compiling
20806 See \`config.log' for more details." >&2;}
20807 { (exit 1); exit 1; }; }
20808 else
20809 cat >conftest.$ac_ext <<_ACEOF
20810 /* confdefs.h. */
20811 _ACEOF
20812 cat confdefs.h >>conftest.$ac_ext
20813 cat >>conftest.$ac_ext <<_ACEOF
20814 /* end confdefs.h. */
20815 $ac_includes_default
20816 long longval () { return (long) (sizeof (long long)); }
20817 unsigned long ulongval () { return (long) (sizeof (long long)); }
20818 #include <stdio.h>
20819 #include <stdlib.h>
20820 int
20821 main ()
20822 {
20823
20824 FILE *f = fopen ("conftest.val", "w");
20825 if (! f)
20826 exit (1);
20827 if (((long) (sizeof (long long))) < 0)
20828 {
20829 long i = longval ();
20830 if (i != ((long) (sizeof (long long))))
20831 exit (1);
20832 fprintf (f, "%ld\n", i);
20833 }
20834 else
20835 {
20836 unsigned long i = ulongval ();
20837 if (i != ((long) (sizeof (long long))))
20838 exit (1);
20839 fprintf (f, "%lu\n", i);
20840 }
20841 exit (ferror (f) || fclose (f) != 0);
20842
20843 ;
20844 return 0;
20845 }
20846 _ACEOF
20847 rm -f conftest$ac_exeext
20848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20849 (eval $ac_link) 2>&5
20850 ac_status=$?
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854 (eval $ac_try) 2>&5
20855 ac_status=$?
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; }; then
20858 ac_cv_sizeof_long_long=`cat conftest.val`
20859 else
20860 echo "$as_me: program exited with status $ac_status" >&5
20861 echo "$as_me: failed program was:" >&5
20862 sed 's/^/| /' conftest.$ac_ext >&5
20863
20864 ( exit $ac_status )
20865 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20866 See \`config.log' for more details." >&5
20867 echo "$as_me: error: cannot compute sizeof (long long), 77
20868 See \`config.log' for more details." >&2;}
20869 { (exit 1); exit 1; }; }
20870 fi
20871 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20872 fi
20873 fi
20874 rm -f conftest.val
20875 else
20876 ac_cv_sizeof_long_long=0
20877 fi
20878 fi
20879 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20880 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20881 cat >>confdefs.h <<_ACEOF
20882 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20883 _ACEOF
20884
20885
20886 if test "$ac_cv_sizeof_long_long" != "0"; then
20887 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20888 fi
20889 ;;
20890 * )
20891 echo "$as_me:$LINENO: checking for long long" >&5
20892 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20893 if test "${ac_cv_type_long_long+set}" = set; then
20894 echo $ECHO_N "(cached) $ECHO_C" >&6
20895 else
20896 cat >conftest.$ac_ext <<_ACEOF
20897 /* confdefs.h. */
20898 _ACEOF
20899 cat confdefs.h >>conftest.$ac_ext
20900 cat >>conftest.$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 $ac_includes_default
20903 int
20904 main ()
20905 {
20906 if ((long long *) 0)
20907 return 0;
20908 if (sizeof (long long))
20909 return 0;
20910 ;
20911 return 0;
20912 }
20913 _ACEOF
20914 rm -f conftest.$ac_objext
20915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20916 (eval $ac_compile) 2>conftest.er1
20917 ac_status=$?
20918 grep -v '^ *+' conftest.er1 >conftest.err
20919 rm -f conftest.er1
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } &&
20923 { ac_try='test -z "$ac_cxx_werror_flag"
20924 || test ! -s conftest.err'
20925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20926 (eval $ac_try) 2>&5
20927 ac_status=$?
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); }; } &&
20930 { ac_try='test -s conftest.$ac_objext'
20931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20932 (eval $ac_try) 2>&5
20933 ac_status=$?
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); }; }; then
20936 ac_cv_type_long_long=yes
20937 else
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.$ac_ext >&5
20940
20941 ac_cv_type_long_long=no
20942 fi
20943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20944 fi
20945 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20946 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20947
20948 echo "$as_me:$LINENO: checking size of long long" >&5
20949 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20950 if test "${ac_cv_sizeof_long_long+set}" = set; then
20951 echo $ECHO_N "(cached) $ECHO_C" >&6
20952 else
20953 if test "$ac_cv_type_long_long" = yes; then
20954 # The cast to unsigned long works around a bug in the HP C Compiler
20955 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20956 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20957 # This bug is HP SR number 8606223364.
20958 if test "$cross_compiling" = yes; then
20959 # Depending upon the size, compute the lo and hi bounds.
20960 cat >conftest.$ac_ext <<_ACEOF
20961 /* confdefs.h. */
20962 _ACEOF
20963 cat confdefs.h >>conftest.$ac_ext
20964 cat >>conftest.$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20966 $ac_includes_default
20967 int
20968 main ()
20969 {
20970 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20971 test_array [0] = 0
20972
20973 ;
20974 return 0;
20975 }
20976 _ACEOF
20977 rm -f conftest.$ac_objext
20978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20979 (eval $ac_compile) 2>conftest.er1
20980 ac_status=$?
20981 grep -v '^ *+' conftest.er1 >conftest.err
20982 rm -f conftest.er1
20983 cat conftest.err >&5
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); } &&
20986 { ac_try='test -z "$ac_cxx_werror_flag"
20987 || test ! -s conftest.err'
20988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20989 (eval $ac_try) 2>&5
20990 ac_status=$?
20991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20992 (exit $ac_status); }; } &&
20993 { ac_try='test -s conftest.$ac_objext'
20994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20995 (eval $ac_try) 2>&5
20996 ac_status=$?
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); }; }; then
20999 ac_lo=0 ac_mid=0
21000 while :; do
21001 cat >conftest.$ac_ext <<_ACEOF
21002 /* confdefs.h. */
21003 _ACEOF
21004 cat confdefs.h >>conftest.$ac_ext
21005 cat >>conftest.$ac_ext <<_ACEOF
21006 /* end confdefs.h. */
21007 $ac_includes_default
21008 int
21009 main ()
21010 {
21011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21012 test_array [0] = 0
21013
21014 ;
21015 return 0;
21016 }
21017 _ACEOF
21018 rm -f conftest.$ac_objext
21019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21020 (eval $ac_compile) 2>conftest.er1
21021 ac_status=$?
21022 grep -v '^ *+' conftest.er1 >conftest.err
21023 rm -f conftest.er1
21024 cat conftest.err >&5
21025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21026 (exit $ac_status); } &&
21027 { ac_try='test -z "$ac_cxx_werror_flag"
21028 || test ! -s conftest.err'
21029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21030 (eval $ac_try) 2>&5
21031 ac_status=$?
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); }; } &&
21034 { ac_try='test -s conftest.$ac_objext'
21035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21036 (eval $ac_try) 2>&5
21037 ac_status=$?
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); }; }; then
21040 ac_hi=$ac_mid; break
21041 else
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21044
21045 ac_lo=`expr $ac_mid + 1`
21046 if test $ac_lo -le $ac_mid; then
21047 ac_lo= ac_hi=
21048 break
21049 fi
21050 ac_mid=`expr 2 '*' $ac_mid + 1`
21051 fi
21052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21053 done
21054 else
21055 echo "$as_me: failed program was:" >&5
21056 sed 's/^/| /' conftest.$ac_ext >&5
21057
21058 cat >conftest.$ac_ext <<_ACEOF
21059 /* confdefs.h. */
21060 _ACEOF
21061 cat confdefs.h >>conftest.$ac_ext
21062 cat >>conftest.$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21064 $ac_includes_default
21065 int
21066 main ()
21067 {
21068 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21069 test_array [0] = 0
21070
21071 ;
21072 return 0;
21073 }
21074 _ACEOF
21075 rm -f conftest.$ac_objext
21076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21077 (eval $ac_compile) 2>conftest.er1
21078 ac_status=$?
21079 grep -v '^ *+' conftest.er1 >conftest.err
21080 rm -f conftest.er1
21081 cat conftest.err >&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } &&
21084 { ac_try='test -z "$ac_cxx_werror_flag"
21085 || test ! -s conftest.err'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21088 ac_status=$?
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; } &&
21091 { ac_try='test -s conftest.$ac_objext'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21094 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; }; then
21097 ac_hi=-1 ac_mid=-1
21098 while :; do
21099 cat >conftest.$ac_ext <<_ACEOF
21100 /* confdefs.h. */
21101 _ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 $ac_includes_default
21106 int
21107 main ()
21108 {
21109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21110 test_array [0] = 0
21111
21112 ;
21113 return 0;
21114 }
21115 _ACEOF
21116 rm -f conftest.$ac_objext
21117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21118 (eval $ac_compile) 2>conftest.er1
21119 ac_status=$?
21120 grep -v '^ *+' conftest.er1 >conftest.err
21121 rm -f conftest.er1
21122 cat conftest.err >&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); } &&
21125 { ac_try='test -z "$ac_cxx_werror_flag"
21126 || test ! -s conftest.err'
21127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21128 (eval $ac_try) 2>&5
21129 ac_status=$?
21130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21131 (exit $ac_status); }; } &&
21132 { ac_try='test -s conftest.$ac_objext'
21133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21134 (eval $ac_try) 2>&5
21135 ac_status=$?
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); }; }; then
21138 ac_lo=$ac_mid; break
21139 else
21140 echo "$as_me: failed program was:" >&5
21141 sed 's/^/| /' conftest.$ac_ext >&5
21142
21143 ac_hi=`expr '(' $ac_mid ')' - 1`
21144 if test $ac_mid -le $ac_hi; then
21145 ac_lo= ac_hi=
21146 break
21147 fi
21148 ac_mid=`expr 2 '*' $ac_mid`
21149 fi
21150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21151 done
21152 else
21153 echo "$as_me: failed program was:" >&5
21154 sed 's/^/| /' conftest.$ac_ext >&5
21155
21156 ac_lo= ac_hi=
21157 fi
21158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21159 fi
21160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21161 # Binary search between lo and hi bounds.
21162 while test "x$ac_lo" != "x$ac_hi"; do
21163 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21164 cat >conftest.$ac_ext <<_ACEOF
21165 /* confdefs.h. */
21166 _ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21171 int
21172 main ()
21173 {
21174 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21175 test_array [0] = 0
21176
21177 ;
21178 return 0;
21179 }
21180 _ACEOF
21181 rm -f conftest.$ac_objext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21183 (eval $ac_compile) 2>conftest.er1
21184 ac_status=$?
21185 grep -v '^ *+' conftest.er1 >conftest.err
21186 rm -f conftest.er1
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try='test -z "$ac_cxx_werror_flag"
21191 || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21194 ac_status=$?
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21203 ac_hi=$ac_mid
21204 else
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.$ac_ext >&5
21207
21208 ac_lo=`expr '(' $ac_mid ')' + 1`
21209 fi
21210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21211 done
21212 case $ac_lo in
21213 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21214 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21215 See \`config.log' for more details." >&5
21216 echo "$as_me: error: cannot compute sizeof (long long), 77
21217 See \`config.log' for more details." >&2;}
21218 { (exit 1); exit 1; }; } ;;
21219 esac
21220 else
21221 if test "$cross_compiling" = yes; then
21222 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21223 See \`config.log' for more details." >&5
21224 echo "$as_me: error: cannot run test program while cross compiling
21225 See \`config.log' for more details." >&2;}
21226 { (exit 1); exit 1; }; }
21227 else
21228 cat >conftest.$ac_ext <<_ACEOF
21229 /* confdefs.h. */
21230 _ACEOF
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 $ac_includes_default
21235 long longval () { return (long) (sizeof (long long)); }
21236 unsigned long ulongval () { return (long) (sizeof (long long)); }
21237 #include <stdio.h>
21238 #include <stdlib.h>
21239 int
21240 main ()
21241 {
21242
21243 FILE *f = fopen ("conftest.val", "w");
21244 if (! f)
21245 exit (1);
21246 if (((long) (sizeof (long long))) < 0)
21247 {
21248 long i = longval ();
21249 if (i != ((long) (sizeof (long long))))
21250 exit (1);
21251 fprintf (f, "%ld\n", i);
21252 }
21253 else
21254 {
21255 unsigned long i = ulongval ();
21256 if (i != ((long) (sizeof (long long))))
21257 exit (1);
21258 fprintf (f, "%lu\n", i);
21259 }
21260 exit (ferror (f) || fclose (f) != 0);
21261
21262 ;
21263 return 0;
21264 }
21265 _ACEOF
21266 rm -f conftest$ac_exeext
21267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21268 (eval $ac_link) 2>&5
21269 ac_status=$?
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21274 ac_status=$?
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; }; then
21277 ac_cv_sizeof_long_long=`cat conftest.val`
21278 else
21279 echo "$as_me: program exited with status $ac_status" >&5
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.$ac_ext >&5
21282
21283 ( exit $ac_status )
21284 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21285 See \`config.log' for more details." >&5
21286 echo "$as_me: error: cannot compute sizeof (long long), 77
21287 See \`config.log' for more details." >&2;}
21288 { (exit 1); exit 1; }; }
21289 fi
21290 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21291 fi
21292 fi
21293 rm -f conftest.val
21294 else
21295 ac_cv_sizeof_long_long=0
21296 fi
21297 fi
21298 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21299 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21300 cat >>confdefs.h <<_ACEOF
21301 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21302 _ACEOF
21303
21304
21305 esac
21306
21307 echo "$as_me:$LINENO: checking for wchar_t" >&5
21308 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21309 if test "${ac_cv_type_wchar_t+set}" = set; then
21310 echo $ECHO_N "(cached) $ECHO_C" >&6
21311 else
21312 cat >conftest.$ac_ext <<_ACEOF
21313 /* confdefs.h. */
21314 _ACEOF
21315 cat confdefs.h >>conftest.$ac_ext
21316 cat >>conftest.$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318
21319 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21320 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21321 # error "fake wchar_t"
21322 #endif
21323 #ifdef HAVE_WCHAR_H
21324 # ifdef __CYGWIN__
21325 # include <stddef.h>
21326 # endif
21327 # include <wchar.h>
21328 #endif
21329 #ifdef HAVE_STDLIB_H
21330 # include <stdlib.h>
21331 #endif
21332 #include <stdio.h>
21333
21334
21335
21336 int
21337 main ()
21338 {
21339 if ((wchar_t *) 0)
21340 return 0;
21341 if (sizeof (wchar_t))
21342 return 0;
21343 ;
21344 return 0;
21345 }
21346 _ACEOF
21347 rm -f conftest.$ac_objext
21348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21349 (eval $ac_compile) 2>conftest.er1
21350 ac_status=$?
21351 grep -v '^ *+' conftest.er1 >conftest.err
21352 rm -f conftest.er1
21353 cat conftest.err >&5
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); } &&
21356 { ac_try='test -z "$ac_cxx_werror_flag"
21357 || test ! -s conftest.err'
21358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21359 (eval $ac_try) 2>&5
21360 ac_status=$?
21361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21362 (exit $ac_status); }; } &&
21363 { ac_try='test -s conftest.$ac_objext'
21364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21365 (eval $ac_try) 2>&5
21366 ac_status=$?
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); }; }; then
21369 ac_cv_type_wchar_t=yes
21370 else
21371 echo "$as_me: failed program was:" >&5
21372 sed 's/^/| /' conftest.$ac_ext >&5
21373
21374 ac_cv_type_wchar_t=no
21375 fi
21376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21377 fi
21378 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21379 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21380
21381 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21382 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21383 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21384 echo $ECHO_N "(cached) $ECHO_C" >&6
21385 else
21386 if test "$ac_cv_type_wchar_t" = yes; then
21387 # The cast to unsigned long works around a bug in the HP C Compiler
21388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21390 # This bug is HP SR number 8606223364.
21391 if test "$cross_compiling" = yes; then
21392 # Depending upon the size, compute the lo and hi bounds.
21393 cat >conftest.$ac_ext <<_ACEOF
21394 /* confdefs.h. */
21395 _ACEOF
21396 cat confdefs.h >>conftest.$ac_ext
21397 cat >>conftest.$ac_ext <<_ACEOF
21398 /* end confdefs.h. */
21399
21400 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21401 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21402 # error "fake wchar_t"
21403 #endif
21404 #ifdef HAVE_WCHAR_H
21405 # ifdef __CYGWIN__
21406 # include <stddef.h>
21407 # endif
21408 # include <wchar.h>
21409 #endif
21410 #ifdef HAVE_STDLIB_H
21411 # include <stdlib.h>
21412 #endif
21413 #include <stdio.h>
21414
21415
21416
21417 int
21418 main ()
21419 {
21420 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21421 test_array [0] = 0
21422
21423 ;
21424 return 0;
21425 }
21426 _ACEOF
21427 rm -f conftest.$ac_objext
21428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21429 (eval $ac_compile) 2>conftest.er1
21430 ac_status=$?
21431 grep -v '^ *+' conftest.er1 >conftest.err
21432 rm -f conftest.er1
21433 cat conftest.err >&5
21434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21435 (exit $ac_status); } &&
21436 { ac_try='test -z "$ac_cxx_werror_flag"
21437 || test ! -s conftest.err'
21438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21439 (eval $ac_try) 2>&5
21440 ac_status=$?
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); }; } &&
21443 { ac_try='test -s conftest.$ac_objext'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21446 ac_status=$?
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; }; then
21449 ac_lo=0 ac_mid=0
21450 while :; do
21451 cat >conftest.$ac_ext <<_ACEOF
21452 /* confdefs.h. */
21453 _ACEOF
21454 cat confdefs.h >>conftest.$ac_ext
21455 cat >>conftest.$ac_ext <<_ACEOF
21456 /* end confdefs.h. */
21457
21458 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21459 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21460 # error "fake wchar_t"
21461 #endif
21462 #ifdef HAVE_WCHAR_H
21463 # ifdef __CYGWIN__
21464 # include <stddef.h>
21465 # endif
21466 # include <wchar.h>
21467 #endif
21468 #ifdef HAVE_STDLIB_H
21469 # include <stdlib.h>
21470 #endif
21471 #include <stdio.h>
21472
21473
21474
21475 int
21476 main ()
21477 {
21478 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21479 test_array [0] = 0
21480
21481 ;
21482 return 0;
21483 }
21484 _ACEOF
21485 rm -f conftest.$ac_objext
21486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21487 (eval $ac_compile) 2>conftest.er1
21488 ac_status=$?
21489 grep -v '^ *+' conftest.er1 >conftest.err
21490 rm -f conftest.er1
21491 cat conftest.err >&5
21492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21493 (exit $ac_status); } &&
21494 { ac_try='test -z "$ac_cxx_werror_flag"
21495 || test ! -s conftest.err'
21496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21497 (eval $ac_try) 2>&5
21498 ac_status=$?
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); }; } &&
21501 { ac_try='test -s conftest.$ac_objext'
21502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21503 (eval $ac_try) 2>&5
21504 ac_status=$?
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); }; }; then
21507 ac_hi=$ac_mid; break
21508 else
21509 echo "$as_me: failed program was:" >&5
21510 sed 's/^/| /' conftest.$ac_ext >&5
21511
21512 ac_lo=`expr $ac_mid + 1`
21513 if test $ac_lo -le $ac_mid; then
21514 ac_lo= ac_hi=
21515 break
21516 fi
21517 ac_mid=`expr 2 '*' $ac_mid + 1`
21518 fi
21519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21520 done
21521 else
21522 echo "$as_me: failed program was:" >&5
21523 sed 's/^/| /' conftest.$ac_ext >&5
21524
21525 cat >conftest.$ac_ext <<_ACEOF
21526 /* confdefs.h. */
21527 _ACEOF
21528 cat confdefs.h >>conftest.$ac_ext
21529 cat >>conftest.$ac_ext <<_ACEOF
21530 /* end confdefs.h. */
21531
21532 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21533 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21534 # error "fake wchar_t"
21535 #endif
21536 #ifdef HAVE_WCHAR_H
21537 # ifdef __CYGWIN__
21538 # include <stddef.h>
21539 # endif
21540 # include <wchar.h>
21541 #endif
21542 #ifdef HAVE_STDLIB_H
21543 # include <stdlib.h>
21544 #endif
21545 #include <stdio.h>
21546
21547
21548
21549 int
21550 main ()
21551 {
21552 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21553 test_array [0] = 0
21554
21555 ;
21556 return 0;
21557 }
21558 _ACEOF
21559 rm -f conftest.$ac_objext
21560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21561 (eval $ac_compile) 2>conftest.er1
21562 ac_status=$?
21563 grep -v '^ *+' conftest.er1 >conftest.err
21564 rm -f conftest.er1
21565 cat conftest.err >&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } &&
21568 { ac_try='test -z "$ac_cxx_werror_flag"
21569 || test ! -s conftest.err'
21570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571 (eval $ac_try) 2>&5
21572 ac_status=$?
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; } &&
21575 { ac_try='test -s conftest.$ac_objext'
21576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21577 (eval $ac_try) 2>&5
21578 ac_status=$?
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); }; }; then
21581 ac_hi=-1 ac_mid=-1
21582 while :; do
21583 cat >conftest.$ac_ext <<_ACEOF
21584 /* confdefs.h. */
21585 _ACEOF
21586 cat confdefs.h >>conftest.$ac_ext
21587 cat >>conftest.$ac_ext <<_ACEOF
21588 /* end confdefs.h. */
21589
21590 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21591 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21592 # error "fake wchar_t"
21593 #endif
21594 #ifdef HAVE_WCHAR_H
21595 # ifdef __CYGWIN__
21596 # include <stddef.h>
21597 # endif
21598 # include <wchar.h>
21599 #endif
21600 #ifdef HAVE_STDLIB_H
21601 # include <stdlib.h>
21602 #endif
21603 #include <stdio.h>
21604
21605
21606
21607 int
21608 main ()
21609 {
21610 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21611 test_array [0] = 0
21612
21613 ;
21614 return 0;
21615 }
21616 _ACEOF
21617 rm -f conftest.$ac_objext
21618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21619 (eval $ac_compile) 2>conftest.er1
21620 ac_status=$?
21621 grep -v '^ *+' conftest.er1 >conftest.err
21622 rm -f conftest.er1
21623 cat conftest.err >&5
21624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21625 (exit $ac_status); } &&
21626 { ac_try='test -z "$ac_cxx_werror_flag"
21627 || test ! -s conftest.err'
21628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21629 (eval $ac_try) 2>&5
21630 ac_status=$?
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); }; } &&
21633 { ac_try='test -s conftest.$ac_objext'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21636 ac_status=$?
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; }; then
21639 ac_lo=$ac_mid; break
21640 else
21641 echo "$as_me: failed program was:" >&5
21642 sed 's/^/| /' conftest.$ac_ext >&5
21643
21644 ac_hi=`expr '(' $ac_mid ')' - 1`
21645 if test $ac_mid -le $ac_hi; then
21646 ac_lo= ac_hi=
21647 break
21648 fi
21649 ac_mid=`expr 2 '*' $ac_mid`
21650 fi
21651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21652 done
21653 else
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.$ac_ext >&5
21656
21657 ac_lo= ac_hi=
21658 fi
21659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21660 fi
21661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21662 # Binary search between lo and hi bounds.
21663 while test "x$ac_lo" != "x$ac_hi"; do
21664 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21665 cat >conftest.$ac_ext <<_ACEOF
21666 /* confdefs.h. */
21667 _ACEOF
21668 cat confdefs.h >>conftest.$ac_ext
21669 cat >>conftest.$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671
21672 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21673 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21674 # error "fake wchar_t"
21675 #endif
21676 #ifdef HAVE_WCHAR_H
21677 # ifdef __CYGWIN__
21678 # include <stddef.h>
21679 # endif
21680 # include <wchar.h>
21681 #endif
21682 #ifdef HAVE_STDLIB_H
21683 # include <stdlib.h>
21684 #endif
21685 #include <stdio.h>
21686
21687
21688
21689 int
21690 main ()
21691 {
21692 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21693 test_array [0] = 0
21694
21695 ;
21696 return 0;
21697 }
21698 _ACEOF
21699 rm -f conftest.$ac_objext
21700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21701 (eval $ac_compile) 2>conftest.er1
21702 ac_status=$?
21703 grep -v '^ *+' conftest.er1 >conftest.err
21704 rm -f conftest.er1
21705 cat conftest.err >&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); } &&
21708 { ac_try='test -z "$ac_cxx_werror_flag"
21709 || test ! -s conftest.err'
21710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21711 (eval $ac_try) 2>&5
21712 ac_status=$?
21713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21714 (exit $ac_status); }; } &&
21715 { ac_try='test -s conftest.$ac_objext'
21716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21717 (eval $ac_try) 2>&5
21718 ac_status=$?
21719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21720 (exit $ac_status); }; }; then
21721 ac_hi=$ac_mid
21722 else
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.$ac_ext >&5
21725
21726 ac_lo=`expr '(' $ac_mid ')' + 1`
21727 fi
21728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21729 done
21730 case $ac_lo in
21731 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21732 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21733 See \`config.log' for more details." >&5
21734 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21735 See \`config.log' for more details." >&2;}
21736 { (exit 1); exit 1; }; } ;;
21737 esac
21738 else
21739 if test "$cross_compiling" = yes; then
21740 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21741 See \`config.log' for more details." >&5
21742 echo "$as_me: error: cannot run test program while cross compiling
21743 See \`config.log' for more details." >&2;}
21744 { (exit 1); exit 1; }; }
21745 else
21746 cat >conftest.$ac_ext <<_ACEOF
21747 /* confdefs.h. */
21748 _ACEOF
21749 cat confdefs.h >>conftest.$ac_ext
21750 cat >>conftest.$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752
21753 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21754 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21755 # error "fake wchar_t"
21756 #endif
21757 #ifdef HAVE_WCHAR_H
21758 # ifdef __CYGWIN__
21759 # include <stddef.h>
21760 # endif
21761 # include <wchar.h>
21762 #endif
21763 #ifdef HAVE_STDLIB_H
21764 # include <stdlib.h>
21765 #endif
21766 #include <stdio.h>
21767
21768
21769
21770 long longval () { return (long) (sizeof (wchar_t)); }
21771 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21772 #include <stdio.h>
21773 #include <stdlib.h>
21774 int
21775 main ()
21776 {
21777
21778 FILE *f = fopen ("conftest.val", "w");
21779 if (! f)
21780 exit (1);
21781 if (((long) (sizeof (wchar_t))) < 0)
21782 {
21783 long i = longval ();
21784 if (i != ((long) (sizeof (wchar_t))))
21785 exit (1);
21786 fprintf (f, "%ld\n", i);
21787 }
21788 else
21789 {
21790 unsigned long i = ulongval ();
21791 if (i != ((long) (sizeof (wchar_t))))
21792 exit (1);
21793 fprintf (f, "%lu\n", i);
21794 }
21795 exit (ferror (f) || fclose (f) != 0);
21796
21797 ;
21798 return 0;
21799 }
21800 _ACEOF
21801 rm -f conftest$ac_exeext
21802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21803 (eval $ac_link) 2>&5
21804 ac_status=$?
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21808 (eval $ac_try) 2>&5
21809 ac_status=$?
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); }; }; then
21812 ac_cv_sizeof_wchar_t=`cat conftest.val`
21813 else
21814 echo "$as_me: program exited with status $ac_status" >&5
21815 echo "$as_me: failed program was:" >&5
21816 sed 's/^/| /' conftest.$ac_ext >&5
21817
21818 ( exit $ac_status )
21819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21820 See \`config.log' for more details." >&5
21821 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21822 See \`config.log' for more details." >&2;}
21823 { (exit 1); exit 1; }; }
21824 fi
21825 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21826 fi
21827 fi
21828 rm -f conftest.val
21829 else
21830 ac_cv_sizeof_wchar_t=0
21831 fi
21832 fi
21833 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21834 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21835 cat >>confdefs.h <<_ACEOF
21836 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21837 _ACEOF
21838
21839
21840 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21841 wxUSE_WCHAR_T=yes
21842 else
21843 wxUSE_WCHAR_T=no
21844 fi
21845
21846 echo "$as_me:$LINENO: checking for va_copy" >&5
21847 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21848 if test "${wx_cv_func_va_copy+set}" = set; then
21849 echo $ECHO_N "(cached) $ECHO_C" >&6
21850 else
21851
21852 cat >conftest.$ac_ext <<_ACEOF
21853
21854 #include <stdarg.h>
21855 void foo(char *f, ...)
21856 {
21857 va_list ap1, ap2;
21858 va_start(ap1, f);
21859 va_copy(ap2, ap1);
21860 va_end(ap2);
21861 va_end(ap1);
21862 }
21863 int main()
21864 {
21865 foo("hi", 17);
21866 return 0;
21867 }
21868 _ACEOF
21869 rm -f conftest.$ac_objext conftest$ac_exeext
21870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21871 (eval $ac_link) 2>conftest.er1
21872 ac_status=$?
21873 grep -v '^ *+' conftest.er1 >conftest.err
21874 rm -f conftest.er1
21875 cat conftest.err >&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } &&
21878 { ac_try='test -z "$ac_cxx_werror_flag"
21879 || test ! -s conftest.err'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21882 ac_status=$?
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; } &&
21885 { ac_try='test -s conftest$ac_exeext'
21886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21887 (eval $ac_try) 2>&5
21888 ac_status=$?
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); }; }; then
21891 wx_cv_func_va_copy=yes
21892 else
21893 echo "$as_me: failed program was:" >&5
21894 sed 's/^/| /' conftest.$ac_ext >&5
21895
21896 wx_cv_func_va_copy=no
21897
21898 fi
21899 rm -f conftest.err conftest.$ac_objext \
21900 conftest$ac_exeext conftest.$ac_ext
21901
21902
21903 fi
21904 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21905 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21906
21907 if test $wx_cv_func_va_copy = "yes"; then
21908 cat >>confdefs.h <<\_ACEOF
21909 #define HAVE_VA_COPY 1
21910 _ACEOF
21911
21912 else
21913 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21914 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21915 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21916 echo $ECHO_N "(cached) $ECHO_C" >&6
21917 else
21918
21919 if test "$cross_compiling" = yes; then
21920 wx_cv_type_va_list_lvalue=yes
21921
21922 else
21923 cat >conftest.$ac_ext <<_ACEOF
21924
21925 #include <stdarg.h>
21926 int foo(char *f, ...)
21927 {
21928 va_list ap1, ap2;
21929 va_start(ap1, f);
21930 ap2 = ap1;
21931 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21932 return 1;
21933 va_end(ap2);
21934 va_end(ap1);
21935 return 0;
21936 }
21937 int main()
21938 {
21939 return foo("hi", 17);
21940 }
21941 _ACEOF
21942 rm -f conftest$ac_exeext
21943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21944 (eval $ac_link) 2>&5
21945 ac_status=$?
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21950 ac_status=$?
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; }; then
21953 wx_cv_type_va_list_lvalue=yes
21954 else
21955 echo "$as_me: program exited with status $ac_status" >&5
21956 echo "$as_me: failed program was:" >&5
21957 sed 's/^/| /' conftest.$ac_ext >&5
21958
21959 ( exit $ac_status )
21960 wx_cv_type_va_list_lvalue=no
21961 fi
21962 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21963 fi
21964
21965
21966 fi
21967 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21968 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21969
21970 if test $wx_cv_type_va_list_lvalue != "yes"; then
21971 cat >>confdefs.h <<\_ACEOF
21972 #define VA_LIST_IS_ARRAY 1
21973 _ACEOF
21974
21975 fi
21976 fi
21977
21978 # Check whether --enable-largefile or --disable-largefile was given.
21979 if test "${enable_largefile+set}" = set; then
21980 enableval="$enable_largefile"
21981
21982 fi;
21983 if test "$enable_largefile" != no; then
21984 wx_largefile=no
21985
21986 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21987 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21988 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21989 echo $ECHO_N "(cached) $ECHO_C" >&6
21990 else
21991
21992 cat >conftest.$ac_ext <<_ACEOF
21993 /* confdefs.h. */
21994 _ACEOF
21995 cat confdefs.h >>conftest.$ac_ext
21996 cat >>conftest.$ac_ext <<_ACEOF
21997 /* end confdefs.h. */
21998 #define _FILE_OFFSET_BITS 64
21999 #include <sys/types.h>
22000 int
22001 main ()
22002 {
22003 typedef struct {
22004 unsigned int field: sizeof(off_t) == 8;
22005 } wxlf;
22006
22007 ;
22008 return 0;
22009 }
22010 _ACEOF
22011 rm -f conftest.$ac_objext
22012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22013 (eval $ac_compile) 2>conftest.er1
22014 ac_status=$?
22015 grep -v '^ *+' conftest.er1 >conftest.err
22016 rm -f conftest.er1
22017 cat conftest.err >&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); } &&
22020 { ac_try='test -z "$ac_cxx_werror_flag"
22021 || test ! -s conftest.err'
22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22023 (eval $ac_try) 2>&5
22024 ac_status=$?
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); }; } &&
22027 { ac_try='test -s conftest.$ac_objext'
22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22029 (eval $ac_try) 2>&5
22030 ac_status=$?
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); }; }; then
22033 ac_cv_sys_file_offset_bits=64
22034 else
22035 echo "$as_me: failed program was:" >&5
22036 sed 's/^/| /' conftest.$ac_ext >&5
22037
22038 ac_cv_sys_file_offset_bits=no
22039 fi
22040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22041
22042
22043 fi
22044 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22045 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22046
22047 if test "$ac_cv_sys_file_offset_bits" != no; then
22048 wx_largefile=yes
22049 cat >>confdefs.h <<_ACEOF
22050 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22051 _ACEOF
22052
22053 fi
22054
22055 if test "x$wx_largefile" != "xyes"; then
22056
22057 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22058 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22059 if test "${ac_cv_sys_large_files+set}" = set; then
22060 echo $ECHO_N "(cached) $ECHO_C" >&6
22061 else
22062
22063 cat >conftest.$ac_ext <<_ACEOF
22064 /* confdefs.h. */
22065 _ACEOF
22066 cat confdefs.h >>conftest.$ac_ext
22067 cat >>conftest.$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 #define _LARGE_FILES 1
22070 #include <sys/types.h>
22071 int
22072 main ()
22073 {
22074 typedef struct {
22075 unsigned int field: sizeof(off_t) == 8;
22076 } wxlf;
22077
22078 ;
22079 return 0;
22080 }
22081 _ACEOF
22082 rm -f conftest.$ac_objext
22083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22084 (eval $ac_compile) 2>conftest.er1
22085 ac_status=$?
22086 grep -v '^ *+' conftest.er1 >conftest.err
22087 rm -f conftest.er1
22088 cat conftest.err >&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); } &&
22091 { ac_try='test -z "$ac_cxx_werror_flag"
22092 || test ! -s conftest.err'
22093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22094 (eval $ac_try) 2>&5
22095 ac_status=$?
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); }; } &&
22098 { ac_try='test -s conftest.$ac_objext'
22099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22100 (eval $ac_try) 2>&5
22101 ac_status=$?
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); }; }; then
22104 ac_cv_sys_large_files=1
22105 else
22106 echo "$as_me: failed program was:" >&5
22107 sed 's/^/| /' conftest.$ac_ext >&5
22108
22109 ac_cv_sys_large_files=no
22110 fi
22111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22112
22113
22114 fi
22115 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22116 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22117
22118 if test "$ac_cv_sys_large_files" != no; then
22119 wx_largefile=yes
22120 cat >>confdefs.h <<_ACEOF
22121 #define _LARGE_FILES $ac_cv_sys_large_files
22122 _ACEOF
22123
22124 fi
22125
22126 fi
22127
22128 echo "$as_me:$LINENO: checking if large file support is available" >&5
22129 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22130 if test "x$wx_largefile" = "xyes"; then
22131 cat >>confdefs.h <<\_ACEOF
22132 #define HAVE_LARGEFILE_SUPPORT 1
22133 _ACEOF
22134
22135 fi
22136 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22137 echo "${ECHO_T}$wx_largefile" >&6
22138 fi
22139
22140
22141 if test "x$wx_largefile" = "xyes"; then
22142 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22143 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22144
22145 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22146 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22147 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22148 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22149 echo $ECHO_N "(cached) $ECHO_C" >&6
22150 else
22151
22152 cat >conftest.$ac_ext <<_ACEOF
22153 /* confdefs.h. */
22154 _ACEOF
22155 cat confdefs.h >>conftest.$ac_ext
22156 cat >>conftest.$ac_ext <<_ACEOF
22157 /* end confdefs.h. */
22158
22159 int
22160 main ()
22161 {
22162
22163 #ifndef __STDC_EXT__
22164 choke me
22165 #endif
22166
22167 ;
22168 return 0;
22169 }
22170 _ACEOF
22171 rm -f conftest.$ac_objext
22172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22173 (eval $ac_compile) 2>conftest.er1
22174 ac_status=$?
22175 grep -v '^ *+' conftest.er1 >conftest.err
22176 rm -f conftest.er1
22177 cat conftest.err >&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); } &&
22180 { ac_try='test -z "$ac_cxx_werror_flag"
22181 || test ! -s conftest.err'
22182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22183 (eval $ac_try) 2>&5
22184 ac_status=$?
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); }; } &&
22187 { ac_try='test -s conftest.$ac_objext'
22188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22189 (eval $ac_try) 2>&5
22190 ac_status=$?
22191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192 (exit $ac_status); }; }; then
22193 wx_cv_STDC_EXT_required=no
22194 else
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.$ac_ext >&5
22197
22198 wx_cv_STDC_EXT_required=yes
22199
22200 fi
22201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22202
22203
22204 fi
22205 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22206 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22207 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22208 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22209 fi
22210 fi
22211 else
22212 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22213 fi
22214 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22215 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22216 if test "${ac_cv_sys_largefile_source+set}" = set; then
22217 echo $ECHO_N "(cached) $ECHO_C" >&6
22218 else
22219 while :; do
22220 ac_cv_sys_largefile_source=no
22221 cat >conftest.$ac_ext <<_ACEOF
22222 /* confdefs.h. */
22223 _ACEOF
22224 cat confdefs.h >>conftest.$ac_ext
22225 cat >>conftest.$ac_ext <<_ACEOF
22226 /* end confdefs.h. */
22227 #include <stdio.h>
22228 int
22229 main ()
22230 {
22231 return !fseeko;
22232 ;
22233 return 0;
22234 }
22235 _ACEOF
22236 rm -f conftest.$ac_objext
22237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22238 (eval $ac_compile) 2>conftest.er1
22239 ac_status=$?
22240 grep -v '^ *+' conftest.er1 >conftest.err
22241 rm -f conftest.er1
22242 cat conftest.err >&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); } &&
22245 { ac_try='test -z "$ac_cxx_werror_flag"
22246 || test ! -s conftest.err'
22247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22248 (eval $ac_try) 2>&5
22249 ac_status=$?
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); }; } &&
22252 { ac_try='test -s conftest.$ac_objext'
22253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22254 (eval $ac_try) 2>&5
22255 ac_status=$?
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); }; }; then
22258 break
22259 else
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22262
22263 fi
22264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22265 cat >conftest.$ac_ext <<_ACEOF
22266 /* confdefs.h. */
22267 _ACEOF
22268 cat confdefs.h >>conftest.$ac_ext
22269 cat >>conftest.$ac_ext <<_ACEOF
22270 /* end confdefs.h. */
22271 #define _LARGEFILE_SOURCE 1
22272 #include <stdio.h>
22273 int
22274 main ()
22275 {
22276 return !fseeko;
22277 ;
22278 return 0;
22279 }
22280 _ACEOF
22281 rm -f conftest.$ac_objext
22282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22283 (eval $ac_compile) 2>conftest.er1
22284 ac_status=$?
22285 grep -v '^ *+' conftest.er1 >conftest.err
22286 rm -f conftest.er1
22287 cat conftest.err >&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); } &&
22290 { ac_try='test -z "$ac_cxx_werror_flag"
22291 || test ! -s conftest.err'
22292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22293 (eval $ac_try) 2>&5
22294 ac_status=$?
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; } &&
22297 { ac_try='test -s conftest.$ac_objext'
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299 (eval $ac_try) 2>&5
22300 ac_status=$?
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; }; then
22303 ac_cv_sys_largefile_source=1; break
22304 else
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.$ac_ext >&5
22307
22308 fi
22309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22310 break
22311 done
22312 fi
22313 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22314 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22315 if test "$ac_cv_sys_largefile_source" != no; then
22316
22317 cat >>confdefs.h <<_ACEOF
22318 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22319 _ACEOF
22320
22321 fi
22322 rm -f conftest*
22323
22324 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22325 # in glibc 2.1.3, but that breaks too many other things.
22326 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22327 echo "$as_me:$LINENO: checking for fseeko" >&5
22328 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22329 if test "${ac_cv_func_fseeko+set}" = set; then
22330 echo $ECHO_N "(cached) $ECHO_C" >&6
22331 else
22332 cat >conftest.$ac_ext <<_ACEOF
22333 /* confdefs.h. */
22334 _ACEOF
22335 cat confdefs.h >>conftest.$ac_ext
22336 cat >>conftest.$ac_ext <<_ACEOF
22337 /* end confdefs.h. */
22338 #include <stdio.h>
22339 int
22340 main ()
22341 {
22342 return fseeko && fseeko (stdin, 0, 0);
22343 ;
22344 return 0;
22345 }
22346 _ACEOF
22347 rm -f conftest.$ac_objext conftest$ac_exeext
22348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22349 (eval $ac_link) 2>conftest.er1
22350 ac_status=$?
22351 grep -v '^ *+' conftest.er1 >conftest.err
22352 rm -f conftest.er1
22353 cat conftest.err >&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } &&
22356 { ac_try='test -z "$ac_cxx_werror_flag"
22357 || test ! -s conftest.err'
22358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359 (eval $ac_try) 2>&5
22360 ac_status=$?
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); }; } &&
22363 { ac_try='test -s conftest$ac_exeext'
22364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22365 (eval $ac_try) 2>&5
22366 ac_status=$?
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); }; }; then
22369 ac_cv_func_fseeko=yes
22370 else
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.$ac_ext >&5
22373
22374 ac_cv_func_fseeko=no
22375 fi
22376 rm -f conftest.err conftest.$ac_objext \
22377 conftest$ac_exeext conftest.$ac_ext
22378 fi
22379 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22380 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22381 if test $ac_cv_func_fseeko = yes; then
22382
22383 cat >>confdefs.h <<\_ACEOF
22384 #define HAVE_FSEEKO 1
22385 _ACEOF
22386
22387 fi
22388
22389 if test "$ac_cv_sys_largefile_source" != no; then
22390 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22391 fi
22392 fi
22393
22394 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22395 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22396 if test "${ac_cv_c_bigendian+set}" = set; then
22397 echo $ECHO_N "(cached) $ECHO_C" >&6
22398 else
22399 ac_cv_c_bigendian=unknown
22400 # See if sys/param.h defines the BYTE_ORDER macro.
22401 cat >conftest.$ac_ext <<_ACEOF
22402 /* confdefs.h. */
22403 _ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407 #include <sys/types.h>
22408 #include <sys/param.h>
22409 int
22410 main ()
22411 {
22412
22413 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22414 bogus endian macros
22415 #endif
22416 ;
22417 return 0;
22418 }
22419 _ACEOF
22420 rm -f conftest.$ac_objext
22421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22422 (eval $ac_compile) 2>conftest.er1
22423 ac_status=$?
22424 grep -v '^ *+' conftest.er1 >conftest.err
22425 rm -f conftest.er1
22426 cat conftest.err >&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } &&
22429 { ac_try='test -z "$ac_cxx_werror_flag"
22430 || test ! -s conftest.err'
22431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22432 (eval $ac_try) 2>&5
22433 ac_status=$?
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); }; } &&
22436 { ac_try='test -s conftest.$ac_objext'
22437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22438 (eval $ac_try) 2>&5
22439 ac_status=$?
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); }; }; then
22442 # It does; now see whether it defined to BIG_ENDIAN or not.
22443 cat >conftest.$ac_ext <<_ACEOF
22444 /* confdefs.h. */
22445 _ACEOF
22446 cat confdefs.h >>conftest.$ac_ext
22447 cat >>conftest.$ac_ext <<_ACEOF
22448 /* end confdefs.h. */
22449 #include <sys/types.h>
22450 #include <sys/param.h>
22451 int
22452 main ()
22453 {
22454
22455 #if BYTE_ORDER != BIG_ENDIAN
22456 not big endian
22457 #endif
22458 ;
22459 return 0;
22460 }
22461 _ACEOF
22462 rm -f conftest.$ac_objext
22463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22464 (eval $ac_compile) 2>conftest.er1
22465 ac_status=$?
22466 grep -v '^ *+' conftest.er1 >conftest.err
22467 rm -f conftest.er1
22468 cat conftest.err >&5
22469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22470 (exit $ac_status); } &&
22471 { ac_try='test -z "$ac_cxx_werror_flag"
22472 || test ! -s conftest.err'
22473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22474 (eval $ac_try) 2>&5
22475 ac_status=$?
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); }; } &&
22478 { ac_try='test -s conftest.$ac_objext'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22481 ac_status=$?
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; }; then
22484 ac_cv_c_bigendian=yes
22485 else
22486 echo "$as_me: failed program was:" >&5
22487 sed 's/^/| /' conftest.$ac_ext >&5
22488
22489 ac_cv_c_bigendian=no
22490 fi
22491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22492 else
22493 echo "$as_me: failed program was:" >&5
22494 sed 's/^/| /' conftest.$ac_ext >&5
22495
22496 fi
22497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22498 if test $ac_cv_c_bigendian = unknown; then
22499 if test "$cross_compiling" = yes; then
22500 ac_cv_c_bigendian=unknown
22501 else
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 main () {
22509 /* Are we little or big endian? From Harbison&Steele. */
22510 union
22511 {
22512 long l;
22513 char c[sizeof (long)];
22514 } u;
22515 u.l = 1;
22516 exit (u.c[sizeof (long) - 1] == 1);
22517 }
22518 _ACEOF
22519 rm -f conftest$ac_exeext
22520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22521 (eval $ac_link) 2>&5
22522 ac_status=$?
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526 (eval $ac_try) 2>&5
22527 ac_status=$?
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); }; }; then
22530 ac_cv_c_bigendian=no
22531 else
22532 echo "$as_me: program exited with status $ac_status" >&5
22533 echo "$as_me: failed program was:" >&5
22534 sed 's/^/| /' conftest.$ac_ext >&5
22535
22536 ( exit $ac_status )
22537 ac_cv_c_bigendian=yes
22538 fi
22539 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22540 fi
22541 fi
22542 fi
22543 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22544 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22545 if test $ac_cv_c_bigendian = unknown; then
22546 { 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
22547 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;}
22548 fi
22549 if test $ac_cv_c_bigendian = yes; then
22550 cat >>confdefs.h <<\_ACEOF
22551 #define WORDS_BIGENDIAN 1
22552 _ACEOF
22553
22554 fi
22555
22556
22557
22558
22559
22560 ac_ext=cc
22561 ac_cpp='$CXXCPP $CPPFLAGS'
22562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22565
22566
22567
22568 for ac_header in iostream
22569 do
22570 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22572 echo "$as_me:$LINENO: checking for $ac_header" >&5
22573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22574 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22575 echo $ECHO_N "(cached) $ECHO_C" >&6
22576 fi
22577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22579 else
22580 # Is the header compilable?
22581 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22582 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22583 cat >conftest.$ac_ext <<_ACEOF
22584 /* confdefs.h. */
22585 _ACEOF
22586 cat confdefs.h >>conftest.$ac_ext
22587 cat >>conftest.$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589 $ac_includes_default
22590 #include <$ac_header>
22591 _ACEOF
22592 rm -f conftest.$ac_objext
22593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22594 (eval $ac_compile) 2>conftest.er1
22595 ac_status=$?
22596 grep -v '^ *+' conftest.er1 >conftest.err
22597 rm -f conftest.er1
22598 cat conftest.err >&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); } &&
22601 { ac_try='test -z "$ac_cxx_werror_flag"
22602 || test ! -s conftest.err'
22603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22604 (eval $ac_try) 2>&5
22605 ac_status=$?
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); }; } &&
22608 { ac_try='test -s conftest.$ac_objext'
22609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22610 (eval $ac_try) 2>&5
22611 ac_status=$?
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); }; }; then
22614 ac_header_compiler=yes
22615 else
22616 echo "$as_me: failed program was:" >&5
22617 sed 's/^/| /' conftest.$ac_ext >&5
22618
22619 ac_header_compiler=no
22620 fi
22621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22623 echo "${ECHO_T}$ac_header_compiler" >&6
22624
22625 # Is the header present?
22626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22628 cat >conftest.$ac_ext <<_ACEOF
22629 /* confdefs.h. */
22630 _ACEOF
22631 cat confdefs.h >>conftest.$ac_ext
22632 cat >>conftest.$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 #include <$ac_header>
22635 _ACEOF
22636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22638 ac_status=$?
22639 grep -v '^ *+' conftest.er1 >conftest.err
22640 rm -f conftest.er1
22641 cat conftest.err >&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } >/dev/null; then
22644 if test -s conftest.err; then
22645 ac_cpp_err=$ac_cxx_preproc_warn_flag
22646 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22647 else
22648 ac_cpp_err=
22649 fi
22650 else
22651 ac_cpp_err=yes
22652 fi
22653 if test -z "$ac_cpp_err"; then
22654 ac_header_preproc=yes
22655 else
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22658
22659 ac_header_preproc=no
22660 fi
22661 rm -f conftest.err conftest.$ac_ext
22662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22663 echo "${ECHO_T}$ac_header_preproc" >&6
22664
22665 # So? What about this header?
22666 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22667 yes:no: )
22668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22672 ac_header_preproc=yes
22673 ;;
22674 no:yes:* )
22675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22687 (
22688 cat <<\_ASBOX
22689 ## ----------------------------------------- ##
22690 ## Report this to wx-dev@lists.wxwidgets.org ##
22691 ## ----------------------------------------- ##
22692 _ASBOX
22693 ) |
22694 sed "s/^/$as_me: WARNING: /" >&2
22695 ;;
22696 esac
22697 echo "$as_me:$LINENO: checking for $ac_header" >&5
22698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22700 echo $ECHO_N "(cached) $ECHO_C" >&6
22701 else
22702 eval "$as_ac_Header=\$ac_header_preproc"
22703 fi
22704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22706
22707 fi
22708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22709 cat >>confdefs.h <<_ACEOF
22710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22711 _ACEOF
22712
22713 fi
22714
22715 done
22716
22717
22718 if test "$ac_cv_header_iostream" = "yes" ; then
22719 :
22720 else
22721 cat >>confdefs.h <<\_ACEOF
22722 #define wxUSE_IOSTREAMH 1
22723 _ACEOF
22724
22725 fi
22726
22727 ac_ext=cc
22728 ac_cpp='$CXXCPP $CPPFLAGS'
22729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22732
22733
22734
22735
22736 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22737 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22738 if test "${wx_cv_cpp_bool+set}" = set; then
22739 echo $ECHO_N "(cached) $ECHO_C" >&6
22740 else
22741
22742
22743
22744 ac_ext=cc
22745 ac_cpp='$CXXCPP $CPPFLAGS'
22746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22749
22750
22751 cat >conftest.$ac_ext <<_ACEOF
22752 /* confdefs.h. */
22753 _ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757
22758
22759 int
22760 main ()
22761 {
22762
22763 bool b = true;
22764
22765 return 0;
22766
22767 ;
22768 return 0;
22769 }
22770 _ACEOF
22771 rm -f conftest.$ac_objext
22772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22773 (eval $ac_compile) 2>conftest.er1
22774 ac_status=$?
22775 grep -v '^ *+' conftest.er1 >conftest.err
22776 rm -f conftest.er1
22777 cat conftest.err >&5
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); } &&
22780 { ac_try='test -z "$ac_cxx_werror_flag"
22781 || test ! -s conftest.err'
22782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22783 (eval $ac_try) 2>&5
22784 ac_status=$?
22785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786 (exit $ac_status); }; } &&
22787 { ac_try='test -s conftest.$ac_objext'
22788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22789 (eval $ac_try) 2>&5
22790 ac_status=$?
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); }; }; then
22793
22794 wx_cv_cpp_bool=yes
22795
22796 else
22797 echo "$as_me: failed program was:" >&5
22798 sed 's/^/| /' conftest.$ac_ext >&5
22799
22800
22801 wx_cv_cpp_bool=no
22802
22803
22804 fi
22805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22806
22807 ac_ext=cc
22808 ac_cpp='$CXXCPP $CPPFLAGS'
22809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22812
22813
22814 fi
22815 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22816 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22817
22818 if test "$wx_cv_cpp_bool" = "yes"; then
22819 cat >>confdefs.h <<\_ACEOF
22820 #define HAVE_BOOL 1
22821 _ACEOF
22822
22823 fi
22824
22825
22826
22827 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22828 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22829 if test "${wx_cv_explicit+set}" = set; then
22830 echo $ECHO_N "(cached) $ECHO_C" >&6
22831 else
22832
22833
22834
22835 ac_ext=cc
22836 ac_cpp='$CXXCPP $CPPFLAGS'
22837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22840
22841
22842 cat >conftest.$ac_ext <<_ACEOF
22843 /* confdefs.h. */
22844 _ACEOF
22845 cat confdefs.h >>conftest.$ac_ext
22846 cat >>conftest.$ac_ext <<_ACEOF
22847 /* end confdefs.h. */
22848
22849 class Foo { public: explicit Foo(int) {} };
22850
22851 int
22852 main ()
22853 {
22854
22855 return 0;
22856
22857 ;
22858 return 0;
22859 }
22860 _ACEOF
22861 rm -f conftest.$ac_objext
22862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22863 (eval $ac_compile) 2>conftest.er1
22864 ac_status=$?
22865 grep -v '^ *+' conftest.er1 >conftest.err
22866 rm -f conftest.er1
22867 cat conftest.err >&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } &&
22870 { ac_try='test -z "$ac_cxx_werror_flag"
22871 || test ! -s conftest.err'
22872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22873 (eval $ac_try) 2>&5
22874 ac_status=$?
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; } &&
22877 { ac_try='test -s conftest.$ac_objext'
22878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22879 (eval $ac_try) 2>&5
22880 ac_status=$?
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; }; then
22883
22884 cat >conftest.$ac_ext <<_ACEOF
22885 /* confdefs.h. */
22886 _ACEOF
22887 cat confdefs.h >>conftest.$ac_ext
22888 cat >>conftest.$ac_ext <<_ACEOF
22889 /* end confdefs.h. */
22890
22891 class Foo { public: explicit Foo(int) {} };
22892 static void TakeFoo(const Foo& foo) { }
22893
22894 int
22895 main ()
22896 {
22897
22898 TakeFoo(17);
22899 return 0;
22900
22901 ;
22902 return 0;
22903 }
22904 _ACEOF
22905 rm -f conftest.$ac_objext
22906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22907 (eval $ac_compile) 2>conftest.er1
22908 ac_status=$?
22909 grep -v '^ *+' conftest.er1 >conftest.err
22910 rm -f conftest.er1
22911 cat conftest.err >&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try='test -z "$ac_cxx_werror_flag"
22915 || test ! -s conftest.err'
22916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22917 (eval $ac_try) 2>&5
22918 ac_status=$?
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); }; } &&
22921 { ac_try='test -s conftest.$ac_objext'
22922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22923 (eval $ac_try) 2>&5
22924 ac_status=$?
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); }; }; then
22927 wx_cv_explicit=no
22928 else
22929 echo "$as_me: failed program was:" >&5
22930 sed 's/^/| /' conftest.$ac_ext >&5
22931
22932 wx_cv_explicit=yes
22933
22934 fi
22935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22936
22937 else
22938 echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.$ac_ext >&5
22940
22941 wx_cv_explicit=no
22942
22943 fi
22944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22945
22946 ac_ext=cc
22947 ac_cpp='$CXXCPP $CPPFLAGS'
22948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22951
22952
22953 fi
22954 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22955 echo "${ECHO_T}$wx_cv_explicit" >&6
22956
22957 if test "$wx_cv_explicit" = "yes"; then
22958 cat >>confdefs.h <<\_ACEOF
22959 #define HAVE_EXPLICIT 1
22960 _ACEOF
22961
22962 fi
22963
22964
22965 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22966 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22967 if test "${ac_cv_cxx_const_cast+set}" = set; then
22968 echo $ECHO_N "(cached) $ECHO_C" >&6
22969 else
22970
22971
22972 ac_ext=cc
22973 ac_cpp='$CXXCPP $CPPFLAGS'
22974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22977
22978 cat >conftest.$ac_ext <<_ACEOF
22979 /* confdefs.h. */
22980 _ACEOF
22981 cat confdefs.h >>conftest.$ac_ext
22982 cat >>conftest.$ac_ext <<_ACEOF
22983 /* end confdefs.h. */
22984
22985 int
22986 main ()
22987 {
22988 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22989 ;
22990 return 0;
22991 }
22992 _ACEOF
22993 rm -f conftest.$ac_objext
22994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22995 (eval $ac_compile) 2>conftest.er1
22996 ac_status=$?
22997 grep -v '^ *+' conftest.er1 >conftest.err
22998 rm -f conftest.er1
22999 cat conftest.err >&5
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); } &&
23002 { ac_try='test -z "$ac_cxx_werror_flag"
23003 || test ! -s conftest.err'
23004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23005 (eval $ac_try) 2>&5
23006 ac_status=$?
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); }; } &&
23009 { ac_try='test -s conftest.$ac_objext'
23010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23011 (eval $ac_try) 2>&5
23012 ac_status=$?
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); }; }; then
23015 ac_cv_cxx_const_cast=yes
23016 else
23017 echo "$as_me: failed program was:" >&5
23018 sed 's/^/| /' conftest.$ac_ext >&5
23019
23020 ac_cv_cxx_const_cast=no
23021 fi
23022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23023 ac_ext=cc
23024 ac_cpp='$CXXCPP $CPPFLAGS'
23025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23028
23029
23030 fi
23031 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23032 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23033 if test "$ac_cv_cxx_const_cast" = yes; then
23034
23035 cat >>confdefs.h <<\_ACEOF
23036 #define HAVE_CONST_CAST
23037 _ACEOF
23038
23039 fi
23040
23041 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23042 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23043 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23044 echo $ECHO_N "(cached) $ECHO_C" >&6
23045 else
23046
23047
23048 ac_ext=cc
23049 ac_cpp='$CXXCPP $CPPFLAGS'
23050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23053
23054 cat >conftest.$ac_ext <<_ACEOF
23055 /* confdefs.h. */
23056 _ACEOF
23057 cat confdefs.h >>conftest.$ac_ext
23058 cat >>conftest.$ac_ext <<_ACEOF
23059 /* end confdefs.h. */
23060 #include <typeinfo>
23061 class Base { public : Base () {} virtual void f () = 0;};
23062 class Derived : public Base { public : Derived () {} virtual void f () {} };
23063 class Unrelated { public : Unrelated () {} };
23064 int g (Unrelated&) { return 0; }
23065 int
23066 main ()
23067 {
23068
23069 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23070 ;
23071 return 0;
23072 }
23073 _ACEOF
23074 rm -f conftest.$ac_objext
23075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23076 (eval $ac_compile) 2>conftest.er1
23077 ac_status=$?
23078 grep -v '^ *+' conftest.er1 >conftest.err
23079 rm -f conftest.er1
23080 cat conftest.err >&5
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); } &&
23083 { ac_try='test -z "$ac_cxx_werror_flag"
23084 || test ! -s conftest.err'
23085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23086 (eval $ac_try) 2>&5
23087 ac_status=$?
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); }; } &&
23090 { ac_try='test -s conftest.$ac_objext'
23091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23092 (eval $ac_try) 2>&5
23093 ac_status=$?
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); }; }; then
23096 ac_cv_cxx_reinterpret_cast=yes
23097 else
23098 echo "$as_me: failed program was:" >&5
23099 sed 's/^/| /' conftest.$ac_ext >&5
23100
23101 ac_cv_cxx_reinterpret_cast=no
23102 fi
23103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23104 ac_ext=cc
23105 ac_cpp='$CXXCPP $CPPFLAGS'
23106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23109
23110
23111 fi
23112 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23113 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23114 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23115
23116 cat >>confdefs.h <<\_ACEOF
23117 #define HAVE_REINTERPRET_CAST
23118 _ACEOF
23119
23120 fi
23121
23122 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23123 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23124 if test "${ac_cv_cxx_static_cast+set}" = set; then
23125 echo $ECHO_N "(cached) $ECHO_C" >&6
23126 else
23127
23128
23129 ac_ext=cc
23130 ac_cpp='$CXXCPP $CPPFLAGS'
23131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23134
23135 cat >conftest.$ac_ext <<_ACEOF
23136 /* confdefs.h. */
23137 _ACEOF
23138 cat confdefs.h >>conftest.$ac_ext
23139 cat >>conftest.$ac_ext <<_ACEOF
23140 /* end confdefs.h. */
23141 #include <typeinfo>
23142 class Base { public : Base () {} virtual void f () = 0; };
23143 class Derived : public Base { public : Derived () {} virtual void f () {} };
23144 int g (Derived&) { return 0; }
23145 int
23146 main ()
23147 {
23148
23149 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23150 ;
23151 return 0;
23152 }
23153 _ACEOF
23154 rm -f conftest.$ac_objext
23155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23156 (eval $ac_compile) 2>conftest.er1
23157 ac_status=$?
23158 grep -v '^ *+' conftest.er1 >conftest.err
23159 rm -f conftest.er1
23160 cat conftest.err >&5
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); } &&
23163 { ac_try='test -z "$ac_cxx_werror_flag"
23164 || test ! -s conftest.err'
23165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23166 (eval $ac_try) 2>&5
23167 ac_status=$?
23168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169 (exit $ac_status); }; } &&
23170 { ac_try='test -s conftest.$ac_objext'
23171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23172 (eval $ac_try) 2>&5
23173 ac_status=$?
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); }; }; then
23176 ac_cv_cxx_static_cast=yes
23177 else
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.$ac_ext >&5
23180
23181 ac_cv_cxx_static_cast=no
23182 fi
23183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23184 ac_ext=cc
23185 ac_cpp='$CXXCPP $CPPFLAGS'
23186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23189
23190
23191 fi
23192 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23193 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23194 if test "$ac_cv_cxx_static_cast" = yes; then
23195
23196 cat >>confdefs.h <<\_ACEOF
23197 #define HAVE_STATIC_CAST
23198 _ACEOF
23199
23200 fi
23201
23202
23203 if test "x$SUNCXX" = xyes; then
23204 CXXFLAGS="-features=tmplife $CXXFLAGS"
23205 fi
23206
23207 if test "x$SUNCC" = xyes; then
23208 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23209 fi
23210
23211 if test "x$SGICC" = "xyes"; then
23212 CFLAGS="-woff 3970 $CFLAGS"
23213 fi
23214 if test "x$SGICXX" = "xyes"; then
23215 CXXFLAGS="-woff 3970 $CXXFLAGS"
23216 fi
23217
23218 if test "x$HPCC" = "xyes"; then
23219 CFLAGS="+W 2011,2450 $CFLAGS"
23220 fi
23221 if test "x$HPCXX" = "xyes"; then
23222 CXXFLAGS="+W 2340 $CXXFLAGS"
23223 fi
23224
23225 if test "x$COMPAQCXX" = "xyes"; then
23226 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23227 fi
23228
23229 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23230 if test "$wxUSE_UNICODE" = "yes"; then
23231 std_string="std::wstring"
23232 char_type="wchar_t"
23233 else
23234 std_string="std::string"
23235 char_type="char"
23236 fi
23237
23238 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23239 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23240 cat >conftest.$ac_ext <<_ACEOF
23241 /* confdefs.h. */
23242 _ACEOF
23243 cat confdefs.h >>conftest.$ac_ext
23244 cat >>conftest.$ac_ext <<_ACEOF
23245 /* end confdefs.h. */
23246 #include <string>
23247 int
23248 main ()
23249 {
23250 $std_string foo;
23251 ;
23252 return 0;
23253 }
23254 _ACEOF
23255 rm -f conftest.$ac_objext
23256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23257 (eval $ac_compile) 2>conftest.er1
23258 ac_status=$?
23259 grep -v '^ *+' conftest.er1 >conftest.err
23260 rm -f conftest.er1
23261 cat conftest.err >&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } &&
23264 { ac_try='test -z "$ac_cxx_werror_flag"
23265 || test ! -s conftest.err'
23266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23267 (eval $ac_try) 2>&5
23268 ac_status=$?
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); }; } &&
23271 { ac_try='test -s conftest.$ac_objext'
23272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23273 (eval $ac_try) 2>&5
23274 ac_status=$?
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); }; }; then
23277 echo "$as_me:$LINENO: result: yes" >&5
23278 echo "${ECHO_T}yes" >&6
23279 cat >>confdefs.h <<\_ACEOF
23280 #define HAVE_STD_WSTRING 1
23281 _ACEOF
23282
23283 else
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.$ac_ext >&5
23286
23287 echo "$as_me:$LINENO: result: no" >&5
23288 echo "${ECHO_T}no" >&6
23289 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23290 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297
23298 #ifdef HAVE_WCHAR_H
23299 # ifdef __CYGWIN__
23300 # include <stddef.h>
23301 # endif
23302 # include <wchar.h>
23303 #endif
23304 #ifdef HAVE_STDLIB_H
23305 # include <stdlib.h>
23306 #endif
23307 #include <stdio.h>
23308 #include <string>
23309
23310 int
23311 main ()
23312 {
23313 std::basic_string<$char_type> foo;
23314 const $char_type* dummy = foo.c_str();
23315 ;
23316 return 0;
23317 }
23318 _ACEOF
23319 rm -f conftest.$ac_objext
23320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23321 (eval $ac_compile) 2>conftest.er1
23322 ac_status=$?
23323 grep -v '^ *+' conftest.er1 >conftest.err
23324 rm -f conftest.er1
23325 cat conftest.err >&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); } &&
23328 { ac_try='test -z "$ac_cxx_werror_flag"
23329 || test ! -s conftest.err'
23330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23331 (eval $ac_try) 2>&5
23332 ac_status=$?
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); }; } &&
23335 { ac_try='test -s conftest.$ac_objext'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; }; then
23341 echo "$as_me:$LINENO: result: yes" >&5
23342 echo "${ECHO_T}yes" >&6
23343 else
23344 echo "$as_me: failed program was:" >&5
23345 sed 's/^/| /' conftest.$ac_ext >&5
23346
23347 echo "$as_me:$LINENO: result: no" >&5
23348 echo "${ECHO_T}no" >&6
23349 if test "$wxUSE_STL" = "yes"; then
23350 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23351 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23352 { (exit 1); exit 1; }; }
23353 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23354 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23355 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23356 { (exit 1); exit 1; }; }
23357 else
23358 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23359 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23360 wxUSE_STD_STRING=no
23361 fi
23362
23363
23364 fi
23365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23366
23367 fi
23368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23369 fi
23370
23371 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23372 echo "$as_me:$LINENO: checking for std::istream" >&5
23373 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23374 if test "${ac_cv_type_std__istream+set}" = set; then
23375 echo $ECHO_N "(cached) $ECHO_C" >&6
23376 else
23377 cat >conftest.$ac_ext <<_ACEOF
23378 /* confdefs.h. */
23379 _ACEOF
23380 cat confdefs.h >>conftest.$ac_ext
23381 cat >>conftest.$ac_ext <<_ACEOF
23382 /* end confdefs.h. */
23383 #include <iostream>
23384
23385 int
23386 main ()
23387 {
23388 if ((std::istream *) 0)
23389 return 0;
23390 if (sizeof (std::istream))
23391 return 0;
23392 ;
23393 return 0;
23394 }
23395 _ACEOF
23396 rm -f conftest.$ac_objext
23397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23398 (eval $ac_compile) 2>conftest.er1
23399 ac_status=$?
23400 grep -v '^ *+' conftest.er1 >conftest.err
23401 rm -f conftest.er1
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } &&
23405 { ac_try='test -z "$ac_cxx_werror_flag"
23406 || test ! -s conftest.err'
23407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23408 (eval $ac_try) 2>&5
23409 ac_status=$?
23410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23411 (exit $ac_status); }; } &&
23412 { ac_try='test -s conftest.$ac_objext'
23413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23414 (eval $ac_try) 2>&5
23415 ac_status=$?
23416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23417 (exit $ac_status); }; }; then
23418 ac_cv_type_std__istream=yes
23419 else
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23422
23423 ac_cv_type_std__istream=no
23424 fi
23425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23426 fi
23427 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23428 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23429 if test $ac_cv_type_std__istream = yes; then
23430
23431 cat >>confdefs.h <<_ACEOF
23432 #define HAVE_STD__ISTREAM 1
23433 _ACEOF
23434
23435
23436 else
23437 wxUSE_STD_IOSTREAM=no
23438 fi
23439 echo "$as_me:$LINENO: checking for std::ostream" >&5
23440 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23441 if test "${ac_cv_type_std__ostream+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23443 else
23444 cat >conftest.$ac_ext <<_ACEOF
23445 /* confdefs.h. */
23446 _ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450 #include <iostream>
23451
23452 int
23453 main ()
23454 {
23455 if ((std::ostream *) 0)
23456 return 0;
23457 if (sizeof (std::ostream))
23458 return 0;
23459 ;
23460 return 0;
23461 }
23462 _ACEOF
23463 rm -f conftest.$ac_objext
23464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23465 (eval $ac_compile) 2>conftest.er1
23466 ac_status=$?
23467 grep -v '^ *+' conftest.er1 >conftest.err
23468 rm -f conftest.er1
23469 cat conftest.err >&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } &&
23472 { ac_try='test -z "$ac_cxx_werror_flag"
23473 || test ! -s conftest.err'
23474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23475 (eval $ac_try) 2>&5
23476 ac_status=$?
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); }; } &&
23479 { ac_try='test -s conftest.$ac_objext'
23480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23481 (eval $ac_try) 2>&5
23482 ac_status=$?
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 ac_cv_type_std__ostream=yes
23486 else
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23489
23490 ac_cv_type_std__ostream=no
23491 fi
23492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23493 fi
23494 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23495 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23496 if test $ac_cv_type_std__ostream = yes; then
23497
23498 cat >>confdefs.h <<_ACEOF
23499 #define HAVE_STD__OSTREAM 1
23500 _ACEOF
23501
23502
23503 else
23504 wxUSE_STD_IOSTREAM=no
23505 fi
23506
23507
23508 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23509 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23510 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23511 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23512 { (exit 1); exit 1; }; }
23513 else
23514 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23515 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23516 fi
23517 fi
23518 fi
23519
23520 if test "$wxUSE_STL" = "yes"; then
23521 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23522 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23523 cat >conftest.$ac_ext <<_ACEOF
23524 /* confdefs.h. */
23525 _ACEOF
23526 cat confdefs.h >>conftest.$ac_ext
23527 cat >>conftest.$ac_ext <<_ACEOF
23528 /* end confdefs.h. */
23529 #include <string>
23530 #include <functional>
23531 #include <algorithm>
23532 #include <vector>
23533 #include <list>
23534 int
23535 main ()
23536 {
23537 std::vector<int> moo;
23538 std::list<int> foo;
23539 std::vector<int>::iterator it =
23540 std::find_if(moo.begin(), moo.end(),
23541 std::bind2nd(std::less<int>(), 3));
23542 ;
23543 return 0;
23544 }
23545 _ACEOF
23546 rm -f conftest.$ac_objext
23547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23548 (eval $ac_compile) 2>conftest.er1
23549 ac_status=$?
23550 grep -v '^ *+' conftest.er1 >conftest.err
23551 rm -f conftest.er1
23552 cat conftest.err >&5
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); } &&
23555 { ac_try='test -z "$ac_cxx_werror_flag"
23556 || test ! -s conftest.err'
23557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23558 (eval $ac_try) 2>&5
23559 ac_status=$?
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); }; } &&
23562 { ac_try='test -s conftest.$ac_objext'
23563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23564 (eval $ac_try) 2>&5
23565 ac_status=$?
23566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23567 (exit $ac_status); }; }; then
23568 echo "$as_me:$LINENO: result: yes" >&5
23569 echo "${ECHO_T}yes" >&6
23570 else
23571 echo "$as_me: failed program was:" >&5
23572 sed 's/^/| /' conftest.$ac_ext >&5
23573
23574 echo "$as_me:$LINENO: result: no" >&5
23575 echo "${ECHO_T}no" >&6
23576 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23577 echo "$as_me: error: Basic STL functionality missing" >&2;}
23578 { (exit 1); exit 1; }; }
23579 fi
23580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23581
23582 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23583 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23584 cat >conftest.$ac_ext <<_ACEOF
23585 /* confdefs.h. */
23586 _ACEOF
23587 cat confdefs.h >>conftest.$ac_ext
23588 cat >>conftest.$ac_ext <<_ACEOF
23589 /* end confdefs.h. */
23590 #include <string>
23591 int
23592 main ()
23593 {
23594 std::string foo, bar;
23595 foo.compare(bar);
23596 foo.compare(1, 1, bar);
23597 foo.compare(1, 1, bar, 1, 1);
23598 foo.compare("");
23599 foo.compare(1, 1, "");
23600 foo.compare(1, 1, "", 2);
23601 ;
23602 return 0;
23603 }
23604 _ACEOF
23605 rm -f conftest.$ac_objext
23606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23607 (eval $ac_compile) 2>conftest.er1
23608 ac_status=$?
23609 grep -v '^ *+' conftest.er1 >conftest.err
23610 rm -f conftest.er1
23611 cat conftest.err >&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } &&
23614 { ac_try='test -z "$ac_cxx_werror_flag"
23615 || test ! -s conftest.err'
23616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23617 (eval $ac_try) 2>&5
23618 ac_status=$?
23619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23620 (exit $ac_status); }; } &&
23621 { ac_try='test -s conftest.$ac_objext'
23622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23623 (eval $ac_try) 2>&5
23624 ac_status=$?
23625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23626 (exit $ac_status); }; }; then
23627 echo "$as_me:$LINENO: result: yes" >&5
23628 echo "${ECHO_T}yes" >&6
23629 cat >>confdefs.h <<\_ACEOF
23630 #define HAVE_STD_STRING_COMPARE 1
23631 _ACEOF
23632
23633 else
23634 echo "$as_me: failed program was:" >&5
23635 sed 's/^/| /' conftest.$ac_ext >&5
23636
23637 echo "$as_me:$LINENO: result: no" >&5
23638 echo "${ECHO_T}no" >&6
23639 fi
23640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23641
23642 if test "${ac_cv_header_hash_map+set}" = set; then
23643 echo "$as_me:$LINENO: checking for hash_map" >&5
23644 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23645 if test "${ac_cv_header_hash_map+set}" = set; then
23646 echo $ECHO_N "(cached) $ECHO_C" >&6
23647 fi
23648 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23649 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23650 else
23651 # Is the header compilable?
23652 echo "$as_me:$LINENO: checking hash_map usability" >&5
23653 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23654 cat >conftest.$ac_ext <<_ACEOF
23655 /* confdefs.h. */
23656 _ACEOF
23657 cat confdefs.h >>conftest.$ac_ext
23658 cat >>conftest.$ac_ext <<_ACEOF
23659 /* end confdefs.h. */
23660 $ac_includes_default
23661 #include <hash_map>
23662 _ACEOF
23663 rm -f conftest.$ac_objext
23664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23665 (eval $ac_compile) 2>conftest.er1
23666 ac_status=$?
23667 grep -v '^ *+' conftest.er1 >conftest.err
23668 rm -f conftest.er1
23669 cat conftest.err >&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); } &&
23672 { ac_try='test -z "$ac_cxx_werror_flag"
23673 || test ! -s conftest.err'
23674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23675 (eval $ac_try) 2>&5
23676 ac_status=$?
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); }; } &&
23679 { ac_try='test -s conftest.$ac_objext'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23682 ac_status=$?
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; }; then
23685 ac_header_compiler=yes
23686 else
23687 echo "$as_me: failed program was:" >&5
23688 sed 's/^/| /' conftest.$ac_ext >&5
23689
23690 ac_header_compiler=no
23691 fi
23692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23694 echo "${ECHO_T}$ac_header_compiler" >&6
23695
23696 # Is the header present?
23697 echo "$as_me:$LINENO: checking hash_map presence" >&5
23698 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23699 cat >conftest.$ac_ext <<_ACEOF
23700 /* confdefs.h. */
23701 _ACEOF
23702 cat confdefs.h >>conftest.$ac_ext
23703 cat >>conftest.$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 #include <hash_map>
23706 _ACEOF
23707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23709 ac_status=$?
23710 grep -v '^ *+' conftest.er1 >conftest.err
23711 rm -f conftest.er1
23712 cat conftest.err >&5
23713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714 (exit $ac_status); } >/dev/null; then
23715 if test -s conftest.err; then
23716 ac_cpp_err=$ac_cxx_preproc_warn_flag
23717 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23718 else
23719 ac_cpp_err=
23720 fi
23721 else
23722 ac_cpp_err=yes
23723 fi
23724 if test -z "$ac_cpp_err"; then
23725 ac_header_preproc=yes
23726 else
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23729
23730 ac_header_preproc=no
23731 fi
23732 rm -f conftest.err conftest.$ac_ext
23733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23734 echo "${ECHO_T}$ac_header_preproc" >&6
23735
23736 # So? What about this header?
23737 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23738 yes:no: )
23739 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23740 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23741 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23742 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23743 ac_header_preproc=yes
23744 ;;
23745 no:yes:* )
23746 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23747 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23748 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23749 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23750 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23751 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23752 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23753 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23754 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23755 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23756 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23757 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23758 (
23759 cat <<\_ASBOX
23760 ## ----------------------------------------- ##
23761 ## Report this to wx-dev@lists.wxwidgets.org ##
23762 ## ----------------------------------------- ##
23763 _ASBOX
23764 ) |
23765 sed "s/^/$as_me: WARNING: /" >&2
23766 ;;
23767 esac
23768 echo "$as_me:$LINENO: checking for hash_map" >&5
23769 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23770 if test "${ac_cv_header_hash_map+set}" = set; then
23771 echo $ECHO_N "(cached) $ECHO_C" >&6
23772 else
23773 ac_cv_header_hash_map=$ac_header_preproc
23774 fi
23775 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23776 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23777
23778 fi
23779 if test $ac_cv_header_hash_map = yes; then
23780 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23781 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23782 cat >conftest.$ac_ext <<_ACEOF
23783 /* confdefs.h. */
23784 _ACEOF
23785 cat confdefs.h >>conftest.$ac_ext
23786 cat >>conftest.$ac_ext <<_ACEOF
23787 /* end confdefs.h. */
23788 #include <hash_map>
23789 #include <hash_set>
23790 int
23791 main ()
23792 {
23793 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23794 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23795 ;
23796 return 0;
23797 }
23798 _ACEOF
23799 rm -f conftest.$ac_objext
23800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23801 (eval $ac_compile) 2>conftest.er1
23802 ac_status=$?
23803 grep -v '^ *+' conftest.er1 >conftest.err
23804 rm -f conftest.er1
23805 cat conftest.err >&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } &&
23808 { ac_try='test -z "$ac_cxx_werror_flag"
23809 || test ! -s conftest.err'
23810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811 (eval $ac_try) 2>&5
23812 ac_status=$?
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); }; } &&
23815 { ac_try='test -s conftest.$ac_objext'
23816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817 (eval $ac_try) 2>&5
23818 ac_status=$?
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); }; }; then
23821 echo "$as_me:$LINENO: result: yes" >&5
23822 echo "${ECHO_T}yes" >&6
23823 cat >>confdefs.h <<\_ACEOF
23824 #define HAVE_HASH_MAP 1
23825 _ACEOF
23826
23827 cat >>confdefs.h <<\_ACEOF
23828 #define HAVE_STD_HASH_MAP 1
23829 _ACEOF
23830
23831 else
23832 echo "$as_me: failed program was:" >&5
23833 sed 's/^/| /' conftest.$ac_ext >&5
23834
23835 echo "$as_me:$LINENO: result: no" >&5
23836 echo "${ECHO_T}no" >&6
23837 fi
23838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23839
23840 fi
23841
23842
23843
23844 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23845 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23846 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23847 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23848 echo $ECHO_N "(cached) $ECHO_C" >&6
23849 fi
23850 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23851 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23852 else
23853 # Is the header compilable?
23854 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23855 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23856 cat >conftest.$ac_ext <<_ACEOF
23857 /* confdefs.h. */
23858 _ACEOF
23859 cat confdefs.h >>conftest.$ac_ext
23860 cat >>conftest.$ac_ext <<_ACEOF
23861 /* end confdefs.h. */
23862 $ac_includes_default
23863 #include <ext/hash_map>
23864 _ACEOF
23865 rm -f conftest.$ac_objext
23866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23867 (eval $ac_compile) 2>conftest.er1
23868 ac_status=$?
23869 grep -v '^ *+' conftest.er1 >conftest.err
23870 rm -f conftest.er1
23871 cat conftest.err >&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); } &&
23874 { ac_try='test -z "$ac_cxx_werror_flag"
23875 || test ! -s conftest.err'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23878 ac_status=$?
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; } &&
23881 { ac_try='test -s conftest.$ac_objext'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23884 ac_status=$?
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; }; then
23887 ac_header_compiler=yes
23888 else
23889 echo "$as_me: failed program was:" >&5
23890 sed 's/^/| /' conftest.$ac_ext >&5
23891
23892 ac_header_compiler=no
23893 fi
23894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23896 echo "${ECHO_T}$ac_header_compiler" >&6
23897
23898 # Is the header present?
23899 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23900 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23901 cat >conftest.$ac_ext <<_ACEOF
23902 /* confdefs.h. */
23903 _ACEOF
23904 cat confdefs.h >>conftest.$ac_ext
23905 cat >>conftest.$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23907 #include <ext/hash_map>
23908 _ACEOF
23909 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23910 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23911 ac_status=$?
23912 grep -v '^ *+' conftest.er1 >conftest.err
23913 rm -f conftest.er1
23914 cat conftest.err >&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); } >/dev/null; then
23917 if test -s conftest.err; then
23918 ac_cpp_err=$ac_cxx_preproc_warn_flag
23919 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23920 else
23921 ac_cpp_err=
23922 fi
23923 else
23924 ac_cpp_err=yes
23925 fi
23926 if test -z "$ac_cpp_err"; then
23927 ac_header_preproc=yes
23928 else
23929 echo "$as_me: failed program was:" >&5
23930 sed 's/^/| /' conftest.$ac_ext >&5
23931
23932 ac_header_preproc=no
23933 fi
23934 rm -f conftest.err conftest.$ac_ext
23935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23936 echo "${ECHO_T}$ac_header_preproc" >&6
23937
23938 # So? What about this header?
23939 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23940 yes:no: )
23941 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23942 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23943 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23944 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23945 ac_header_preproc=yes
23946 ;;
23947 no:yes:* )
23948 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23949 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23950 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23951 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23952 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23953 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23954 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23955 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23956 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23957 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23958 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23959 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23960 (
23961 cat <<\_ASBOX
23962 ## ----------------------------------------- ##
23963 ## Report this to wx-dev@lists.wxwidgets.org ##
23964 ## ----------------------------------------- ##
23965 _ASBOX
23966 ) |
23967 sed "s/^/$as_me: WARNING: /" >&2
23968 ;;
23969 esac
23970 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23971 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23972 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 else
23975 ac_cv_header_ext_hash_map=$ac_header_preproc
23976 fi
23977 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23978 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23979
23980 fi
23981 if test $ac_cv_header_ext_hash_map = yes; then
23982 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23983 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23984 cat >conftest.$ac_ext <<_ACEOF
23985 /* confdefs.h. */
23986 _ACEOF
23987 cat confdefs.h >>conftest.$ac_ext
23988 cat >>conftest.$ac_ext <<_ACEOF
23989 /* end confdefs.h. */
23990 #include <ext/hash_map>
23991 #include <ext/hash_set>
23992 int
23993 main ()
23994 {
23995 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23996 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23997 ;
23998 return 0;
23999 }
24000 _ACEOF
24001 rm -f conftest.$ac_objext
24002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24003 (eval $ac_compile) 2>conftest.er1
24004 ac_status=$?
24005 grep -v '^ *+' conftest.er1 >conftest.err
24006 rm -f conftest.er1
24007 cat conftest.err >&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); } &&
24010 { ac_try='test -z "$ac_cxx_werror_flag"
24011 || test ! -s conftest.err'
24012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24013 (eval $ac_try) 2>&5
24014 ac_status=$?
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); }; } &&
24017 { ac_try='test -s conftest.$ac_objext'
24018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24019 (eval $ac_try) 2>&5
24020 ac_status=$?
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); }; }; then
24023 echo "$as_me:$LINENO: result: yes" >&5
24024 echo "${ECHO_T}yes" >&6
24025 cat >>confdefs.h <<\_ACEOF
24026 #define HAVE_EXT_HASH_MAP 1
24027 _ACEOF
24028
24029 cat >>confdefs.h <<\_ACEOF
24030 #define HAVE_GNU_CXX_HASH_MAP 1
24031 _ACEOF
24032
24033 else
24034 echo "$as_me: failed program was:" >&5
24035 sed 's/^/| /' conftest.$ac_ext >&5
24036
24037 echo "$as_me:$LINENO: result: no" >&5
24038 echo "${ECHO_T}no" >&6
24039 fi
24040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24041
24042 fi
24043
24044
24045 fi
24046
24047
24048 SEARCH_INCLUDE="\
24049 /usr/local/include \
24050 \
24051 /usr/Motif-2.1/include \
24052 /usr/Motif-1.2/include \
24053 /usr/include/Motif1.2 \
24054 \
24055 /usr/dt/include \
24056 /usr/openwin/include \
24057 \
24058 /usr/include/Xm \
24059 \
24060 /usr/X11R6/include \
24061 /usr/X11R6.4/include \
24062 /usr/X11R5/include \
24063 /usr/X11R4/include \
24064 \
24065 /usr/include/X11R6 \
24066 /usr/include/X11R5 \
24067 /usr/include/X11R4 \
24068 \
24069 /usr/local/X11R6/include \
24070 /usr/local/X11R5/include \
24071 /usr/local/X11R4/include \
24072 \
24073 /usr/local/include/X11R6 \
24074 /usr/local/include/X11R5 \
24075 /usr/local/include/X11R4 \
24076 \
24077 /usr/X11/include \
24078 /usr/include/X11 \
24079 /usr/local/X11/include \
24080 /usr/local/include/X11 \
24081 \
24082 /usr/XFree86/include/X11 \
24083 /usr/pkg/include \
24084 \
24085 /usr/openwin/share/include"
24086
24087 echo "$as_me:$LINENO: checking for libraries directory" >&5
24088 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24089
24090 case "${host}" in
24091 *-*-irix6* )
24092 if test "${wx_cv_std_libpath+set}" = set; then
24093 echo $ECHO_N "(cached) $ECHO_C" >&6
24094 else
24095
24096 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24097 for e in a so sl dylib dll.a; do
24098 libc="$d/libc.$e"
24099 if test -f $libc; then
24100 save_LIBS="$LIBS"
24101 LIBS="$libc"
24102 cat >conftest.$ac_ext <<_ACEOF
24103 int main() { return 0; }
24104 _ACEOF
24105 rm -f conftest.$ac_objext conftest$ac_exeext
24106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24107 (eval $ac_link) 2>conftest.er1
24108 ac_status=$?
24109 grep -v '^ *+' conftest.er1 >conftest.err
24110 rm -f conftest.er1
24111 cat conftest.err >&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); } &&
24114 { ac_try='test -z "$ac_cxx_werror_flag"
24115 || test ! -s conftest.err'
24116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24117 (eval $ac_try) 2>&5
24118 ac_status=$?
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; } &&
24121 { ac_try='test -s conftest$ac_exeext'
24122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24123 (eval $ac_try) 2>&5
24124 ac_status=$?
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); }; }; then
24127 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24128 else
24129 echo "$as_me: failed program was:" >&5
24130 sed 's/^/| /' conftest.$ac_ext >&5
24131
24132 fi
24133 rm -f conftest.err conftest.$ac_objext \
24134 conftest$ac_exeext conftest.$ac_ext
24135 LIBS="$save_LIBS"
24136 if test "x$wx_cv_std_libpath" != "x"; then
24137 break 2
24138 fi
24139 fi
24140 done
24141 done
24142 if test "x$wx_cv_std_libpath" = "x"; then
24143 wx_cv_std_libpath="lib"
24144 fi
24145
24146
24147 fi
24148
24149 ;;
24150
24151 *-*-solaris2* )
24152 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24153 wx_cv_std_libpath="lib/64"
24154 else
24155 wx_cv_std_libpath="lib"
24156 fi
24157 ;;
24158
24159 *-*-linux* )
24160 if test "$ac_cv_sizeof_void_p" = 8 -a \
24161 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24162 wx_cv_std_libpath="lib64"
24163 else
24164 wx_cv_std_libpath="lib"
24165 fi
24166 ;;
24167
24168 *)
24169 wx_cv_std_libpath="lib";
24170 ;;
24171 esac
24172
24173 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24174 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24175
24176 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24177
24178 if test "$build" != "$host" -a "$GCC" = yes; then
24179 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24180 cross_root=`dirname $cross_root`
24181 cross_root=`dirname $cross_root`
24182
24183 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24184 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24185 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24186
24187 if test -z "$PKG_CONFIG_PATH"; then
24188 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24189 export PKG_CONFIG_PATH
24190 fi
24191
24192 if test -z "$x_includes" -o "$x_includes" = NONE; then
24193
24194 ac_find_includes=
24195 for ac_dir in $SEARCH_INCLUDE /usr/include;
24196 do
24197 if test -f "$ac_dir/X11/Intrinsic.h"; then
24198 ac_find_includes=$ac_dir
24199 break
24200 fi
24201 done
24202
24203 x_includes=$ac_find_includes
24204 fi
24205 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24206
24207 ac_find_libraries=
24208 for ac_dir in $SEARCH_LIB;
24209 do
24210 for ac_extension in a so sl dylib dll.a; do
24211 if test -f "$ac_dir/libXt.$ac_extension"; then
24212 ac_find_libraries=$ac_dir
24213 break 2
24214 fi
24215 done
24216 done
24217
24218 x_libraries=$ac_find_libraries
24219 fi
24220 fi
24221 fi
24222
24223
24224 cat >confcache <<\_ACEOF
24225 # This file is a shell script that caches the results of configure
24226 # tests run on this system so they can be shared between configure
24227 # scripts and configure runs, see configure's option --config-cache.
24228 # It is not useful on other systems. If it contains results you don't
24229 # want to keep, you may remove or edit it.
24230 #
24231 # config.status only pays attention to the cache file if you give it
24232 # the --recheck option to rerun configure.
24233 #
24234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24236 # following values.
24237
24238 _ACEOF
24239
24240 # The following way of writing the cache mishandles newlines in values,
24241 # but we know of no workaround that is simple, portable, and efficient.
24242 # So, don't put newlines in cache variables' values.
24243 # Ultrix sh set writes to stderr and can't be redirected directly,
24244 # and sets the high bit in the cache file unless we assign to the vars.
24245 {
24246 (set) 2>&1 |
24247 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24248 *ac_space=\ *)
24249 # `set' does not quote correctly, so add quotes (double-quote
24250 # substitution turns \\\\ into \\, and sed turns \\ into \).
24251 sed -n \
24252 "s/'/'\\\\''/g;
24253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24254 ;;
24255 *)
24256 # `set' quotes correctly as required by POSIX, so do not add quotes.
24257 sed -n \
24258 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24259 ;;
24260 esac;
24261 } |
24262 sed '
24263 t clear
24264 : clear
24265 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24266 t end
24267 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24268 : end' >>confcache
24269 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24270 if test -w $cache_file; then
24271 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24272 cat confcache >$cache_file
24273 else
24274 echo "not updating unwritable cache $cache_file"
24275 fi
24276 fi
24277 rm -f confcache
24278
24279 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24280 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24281 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24282 if test "${wx_cv_lib_glibc21+set}" = set; then
24283 echo $ECHO_N "(cached) $ECHO_C" >&6
24284 else
24285
24286 cat >conftest.$ac_ext <<_ACEOF
24287 /* confdefs.h. */
24288 _ACEOF
24289 cat confdefs.h >>conftest.$ac_ext
24290 cat >>conftest.$ac_ext <<_ACEOF
24291 /* end confdefs.h. */
24292 #include <features.h>
24293 int
24294 main ()
24295 {
24296
24297 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24298 not glibc 2.1
24299 #endif
24300
24301 ;
24302 return 0;
24303 }
24304 _ACEOF
24305 rm -f conftest.$ac_objext
24306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24307 (eval $ac_compile) 2>conftest.er1
24308 ac_status=$?
24309 grep -v '^ *+' conftest.er1 >conftest.err
24310 rm -f conftest.er1
24311 cat conftest.err >&5
24312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24313 (exit $ac_status); } &&
24314 { ac_try='test -z "$ac_cxx_werror_flag"
24315 || test ! -s conftest.err'
24316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24317 (eval $ac_try) 2>&5
24318 ac_status=$?
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); }; } &&
24321 { ac_try='test -s conftest.$ac_objext'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24324 ac_status=$?
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; }; then
24327
24328 wx_cv_lib_glibc21=yes
24329
24330 else
24331 echo "$as_me: failed program was:" >&5
24332 sed 's/^/| /' conftest.$ac_ext >&5
24333
24334
24335 wx_cv_lib_glibc21=no
24336
24337
24338 fi
24339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24340
24341 fi
24342 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24343 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24344 if test "$wx_cv_lib_glibc21" = "yes"; then
24345 cat >>confdefs.h <<\_ACEOF
24346 #define wxHAVE_GLIBC2 1
24347 _ACEOF
24348
24349 fi
24350 fi
24351
24352 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24353 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24354 cat >>confdefs.h <<\_ACEOF
24355 #define _GNU_SOURCE 1
24356 _ACEOF
24357
24358 fi
24359 fi
24360
24361 have_cos=0
24362 have_floor=0
24363
24364 for ac_func in cos
24365 do
24366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24367 echo "$as_me:$LINENO: checking for $ac_func" >&5
24368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24369 if eval "test \"\${$as_ac_var+set}\" = set"; then
24370 echo $ECHO_N "(cached) $ECHO_C" >&6
24371 else
24372 cat >conftest.$ac_ext <<_ACEOF
24373 /* confdefs.h. */
24374 _ACEOF
24375 cat confdefs.h >>conftest.$ac_ext
24376 cat >>conftest.$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24380 #define $ac_func innocuous_$ac_func
24381
24382 /* System header to define __stub macros and hopefully few prototypes,
24383 which can conflict with char $ac_func (); below.
24384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24385 <limits.h> exists even on freestanding compilers. */
24386
24387 #ifdef __STDC__
24388 # include <limits.h>
24389 #else
24390 # include <assert.h>
24391 #endif
24392
24393 #undef $ac_func
24394
24395 /* Override any gcc2 internal prototype to avoid an error. */
24396 #ifdef __cplusplus
24397 extern "C"
24398 {
24399 #endif
24400 /* We use char because int might match the return type of a gcc2
24401 builtin and then its argument prototype would still apply. */
24402 char $ac_func ();
24403 /* The GNU C library defines this for functions which it implements
24404 to always fail with ENOSYS. Some functions are actually named
24405 something starting with __ and the normal name is an alias. */
24406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24407 choke me
24408 #else
24409 char (*f) () = $ac_func;
24410 #endif
24411 #ifdef __cplusplus
24412 }
24413 #endif
24414
24415 int
24416 main ()
24417 {
24418 return f != $ac_func;
24419 ;
24420 return 0;
24421 }
24422 _ACEOF
24423 rm -f conftest.$ac_objext conftest$ac_exeext
24424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24425 (eval $ac_link) 2>conftest.er1
24426 ac_status=$?
24427 grep -v '^ *+' conftest.er1 >conftest.err
24428 rm -f conftest.er1
24429 cat conftest.err >&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); } &&
24432 { ac_try='test -z "$ac_cxx_werror_flag"
24433 || test ! -s conftest.err'
24434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24435 (eval $ac_try) 2>&5
24436 ac_status=$?
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); }; } &&
24439 { ac_try='test -s conftest$ac_exeext'
24440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24441 (eval $ac_try) 2>&5
24442 ac_status=$?
24443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24444 (exit $ac_status); }; }; then
24445 eval "$as_ac_var=yes"
24446 else
24447 echo "$as_me: failed program was:" >&5
24448 sed 's/^/| /' conftest.$ac_ext >&5
24449
24450 eval "$as_ac_var=no"
24451 fi
24452 rm -f conftest.err conftest.$ac_objext \
24453 conftest$ac_exeext conftest.$ac_ext
24454 fi
24455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24457 if test `eval echo '${'$as_ac_var'}'` = yes; then
24458 cat >>confdefs.h <<_ACEOF
24459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24460 _ACEOF
24461 have_cos=1
24462 fi
24463 done
24464
24465
24466 for ac_func in floor
24467 do
24468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24469 echo "$as_me:$LINENO: checking for $ac_func" >&5
24470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24471 if eval "test \"\${$as_ac_var+set}\" = set"; then
24472 echo $ECHO_N "(cached) $ECHO_C" >&6
24473 else
24474 cat >conftest.$ac_ext <<_ACEOF
24475 /* confdefs.h. */
24476 _ACEOF
24477 cat confdefs.h >>conftest.$ac_ext
24478 cat >>conftest.$ac_ext <<_ACEOF
24479 /* end confdefs.h. */
24480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24482 #define $ac_func innocuous_$ac_func
24483
24484 /* System header to define __stub macros and hopefully few prototypes,
24485 which can conflict with char $ac_func (); below.
24486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24487 <limits.h> exists even on freestanding compilers. */
24488
24489 #ifdef __STDC__
24490 # include <limits.h>
24491 #else
24492 # include <assert.h>
24493 #endif
24494
24495 #undef $ac_func
24496
24497 /* Override any gcc2 internal prototype to avoid an error. */
24498 #ifdef __cplusplus
24499 extern "C"
24500 {
24501 #endif
24502 /* We use char because int might match the return type of a gcc2
24503 builtin and then its argument prototype would still apply. */
24504 char $ac_func ();
24505 /* The GNU C library defines this for functions which it implements
24506 to always fail with ENOSYS. Some functions are actually named
24507 something starting with __ and the normal name is an alias. */
24508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24509 choke me
24510 #else
24511 char (*f) () = $ac_func;
24512 #endif
24513 #ifdef __cplusplus
24514 }
24515 #endif
24516
24517 int
24518 main ()
24519 {
24520 return f != $ac_func;
24521 ;
24522 return 0;
24523 }
24524 _ACEOF
24525 rm -f conftest.$ac_objext conftest$ac_exeext
24526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24527 (eval $ac_link) 2>conftest.er1
24528 ac_status=$?
24529 grep -v '^ *+' conftest.er1 >conftest.err
24530 rm -f conftest.er1
24531 cat conftest.err >&5
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); } &&
24534 { ac_try='test -z "$ac_cxx_werror_flag"
24535 || test ! -s conftest.err'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24538 ac_status=$?
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; } &&
24541 { ac_try='test -s conftest$ac_exeext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24544 ac_status=$?
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24547 eval "$as_ac_var=yes"
24548 else
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.$ac_ext >&5
24551
24552 eval "$as_ac_var=no"
24553 fi
24554 rm -f conftest.err conftest.$ac_objext \
24555 conftest$ac_exeext conftest.$ac_ext
24556 fi
24557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24559 if test `eval echo '${'$as_ac_var'}'` = yes; then
24560 cat >>confdefs.h <<_ACEOF
24561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24562 _ACEOF
24563 have_floor=1
24564 fi
24565 done
24566
24567 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24568 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24569 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24570 echo "$as_me:$LINENO: result: yes" >&5
24571 echo "${ECHO_T}yes" >&6
24572 else
24573 echo "$as_me:$LINENO: result: no" >&5
24574 echo "${ECHO_T}no" >&6
24575 LIBS="$LIBS -lm"
24576 # use different functions to avoid configure caching
24577 have_sin=0
24578 have_ceil=0
24579
24580 for ac_func in sin
24581 do
24582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24583 echo "$as_me:$LINENO: checking for $ac_func" >&5
24584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24585 if eval "test \"\${$as_ac_var+set}\" = set"; then
24586 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 else
24588 cat >conftest.$ac_ext <<_ACEOF
24589 /* confdefs.h. */
24590 _ACEOF
24591 cat confdefs.h >>conftest.$ac_ext
24592 cat >>conftest.$ac_ext <<_ACEOF
24593 /* end confdefs.h. */
24594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24596 #define $ac_func innocuous_$ac_func
24597
24598 /* System header to define __stub macros and hopefully few prototypes,
24599 which can conflict with char $ac_func (); below.
24600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24601 <limits.h> exists even on freestanding compilers. */
24602
24603 #ifdef __STDC__
24604 # include <limits.h>
24605 #else
24606 # include <assert.h>
24607 #endif
24608
24609 #undef $ac_func
24610
24611 /* Override any gcc2 internal prototype to avoid an error. */
24612 #ifdef __cplusplus
24613 extern "C"
24614 {
24615 #endif
24616 /* We use char because int might match the return type of a gcc2
24617 builtin and then its argument prototype would still apply. */
24618 char $ac_func ();
24619 /* The GNU C library defines this for functions which it implements
24620 to always fail with ENOSYS. Some functions are actually named
24621 something starting with __ and the normal name is an alias. */
24622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24623 choke me
24624 #else
24625 char (*f) () = $ac_func;
24626 #endif
24627 #ifdef __cplusplus
24628 }
24629 #endif
24630
24631 int
24632 main ()
24633 {
24634 return f != $ac_func;
24635 ;
24636 return 0;
24637 }
24638 _ACEOF
24639 rm -f conftest.$ac_objext conftest$ac_exeext
24640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24641 (eval $ac_link) 2>conftest.er1
24642 ac_status=$?
24643 grep -v '^ *+' conftest.er1 >conftest.err
24644 rm -f conftest.er1
24645 cat conftest.err >&5
24646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647 (exit $ac_status); } &&
24648 { ac_try='test -z "$ac_cxx_werror_flag"
24649 || test ! -s conftest.err'
24650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24651 (eval $ac_try) 2>&5
24652 ac_status=$?
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); }; } &&
24655 { ac_try='test -s conftest$ac_exeext'
24656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24657 (eval $ac_try) 2>&5
24658 ac_status=$?
24659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24660 (exit $ac_status); }; }; then
24661 eval "$as_ac_var=yes"
24662 else
24663 echo "$as_me: failed program was:" >&5
24664 sed 's/^/| /' conftest.$ac_ext >&5
24665
24666 eval "$as_ac_var=no"
24667 fi
24668 rm -f conftest.err conftest.$ac_objext \
24669 conftest$ac_exeext conftest.$ac_ext
24670 fi
24671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24673 if test `eval echo '${'$as_ac_var'}'` = yes; then
24674 cat >>confdefs.h <<_ACEOF
24675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24676 _ACEOF
24677 have_sin=1
24678 fi
24679 done
24680
24681
24682 for ac_func in ceil
24683 do
24684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24685 echo "$as_me:$LINENO: checking for $ac_func" >&5
24686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24687 if eval "test \"\${$as_ac_var+set}\" = set"; then
24688 echo $ECHO_N "(cached) $ECHO_C" >&6
24689 else
24690 cat >conftest.$ac_ext <<_ACEOF
24691 /* confdefs.h. */
24692 _ACEOF
24693 cat confdefs.h >>conftest.$ac_ext
24694 cat >>conftest.$ac_ext <<_ACEOF
24695 /* end confdefs.h. */
24696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24698 #define $ac_func innocuous_$ac_func
24699
24700 /* System header to define __stub macros and hopefully few prototypes,
24701 which can conflict with char $ac_func (); below.
24702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24703 <limits.h> exists even on freestanding compilers. */
24704
24705 #ifdef __STDC__
24706 # include <limits.h>
24707 #else
24708 # include <assert.h>
24709 #endif
24710
24711 #undef $ac_func
24712
24713 /* Override any gcc2 internal prototype to avoid an error. */
24714 #ifdef __cplusplus
24715 extern "C"
24716 {
24717 #endif
24718 /* We use char because int might match the return type of a gcc2
24719 builtin and then its argument prototype would still apply. */
24720 char $ac_func ();
24721 /* The GNU C library defines this for functions which it implements
24722 to always fail with ENOSYS. Some functions are actually named
24723 something starting with __ and the normal name is an alias. */
24724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24725 choke me
24726 #else
24727 char (*f) () = $ac_func;
24728 #endif
24729 #ifdef __cplusplus
24730 }
24731 #endif
24732
24733 int
24734 main ()
24735 {
24736 return f != $ac_func;
24737 ;
24738 return 0;
24739 }
24740 _ACEOF
24741 rm -f conftest.$ac_objext conftest$ac_exeext
24742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24743 (eval $ac_link) 2>conftest.er1
24744 ac_status=$?
24745 grep -v '^ *+' conftest.er1 >conftest.err
24746 rm -f conftest.er1
24747 cat conftest.err >&5
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); } &&
24750 { ac_try='test -z "$ac_cxx_werror_flag"
24751 || test ! -s conftest.err'
24752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24753 (eval $ac_try) 2>&5
24754 ac_status=$?
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); }; } &&
24757 { ac_try='test -s conftest$ac_exeext'
24758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24759 (eval $ac_try) 2>&5
24760 ac_status=$?
24761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24762 (exit $ac_status); }; }; then
24763 eval "$as_ac_var=yes"
24764 else
24765 echo "$as_me: failed program was:" >&5
24766 sed 's/^/| /' conftest.$ac_ext >&5
24767
24768 eval "$as_ac_var=no"
24769 fi
24770 rm -f conftest.err conftest.$ac_objext \
24771 conftest$ac_exeext conftest.$ac_ext
24772 fi
24773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24775 if test `eval echo '${'$as_ac_var'}'` = yes; then
24776 cat >>confdefs.h <<_ACEOF
24777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24778 _ACEOF
24779 have_ceil=1
24780 fi
24781 done
24782
24783 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24784 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24785 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24786 echo "$as_me:$LINENO: result: yes" >&5
24787 echo "${ECHO_T}yes" >&6
24788 else
24789 echo "$as_me:$LINENO: result: no" >&5
24790 echo "${ECHO_T}no" >&6
24791 # not sure we should warn the user, crash, etc.
24792 fi
24793 fi
24794
24795
24796
24797 if test "$wxUSE_REGEX" != "no"; then
24798 cat >>confdefs.h <<\_ACEOF
24799 #define wxUSE_REGEX 1
24800 _ACEOF
24801
24802
24803 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24804 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24805 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24806 wxUSE_REGEX=builtin
24807 fi
24808
24809 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24810 if test "${ac_cv_header_regex_h+set}" = set; then
24811 echo "$as_me:$LINENO: checking for regex.h" >&5
24812 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24813 if test "${ac_cv_header_regex_h+set}" = set; then
24814 echo $ECHO_N "(cached) $ECHO_C" >&6
24815 fi
24816 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24817 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24818 else
24819 # Is the header compilable?
24820 echo "$as_me:$LINENO: checking regex.h usability" >&5
24821 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24822 cat >conftest.$ac_ext <<_ACEOF
24823 /* confdefs.h. */
24824 _ACEOF
24825 cat confdefs.h >>conftest.$ac_ext
24826 cat >>conftest.$ac_ext <<_ACEOF
24827 /* end confdefs.h. */
24828 $ac_includes_default
24829 #include <regex.h>
24830 _ACEOF
24831 rm -f conftest.$ac_objext
24832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24833 (eval $ac_compile) 2>conftest.er1
24834 ac_status=$?
24835 grep -v '^ *+' conftest.er1 >conftest.err
24836 rm -f conftest.er1
24837 cat conftest.err >&5
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); } &&
24840 { ac_try='test -z "$ac_cxx_werror_flag"
24841 || test ! -s conftest.err'
24842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24843 (eval $ac_try) 2>&5
24844 ac_status=$?
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); }; } &&
24847 { ac_try='test -s conftest.$ac_objext'
24848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24849 (eval $ac_try) 2>&5
24850 ac_status=$?
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); }; }; then
24853 ac_header_compiler=yes
24854 else
24855 echo "$as_me: failed program was:" >&5
24856 sed 's/^/| /' conftest.$ac_ext >&5
24857
24858 ac_header_compiler=no
24859 fi
24860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24861 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24862 echo "${ECHO_T}$ac_header_compiler" >&6
24863
24864 # Is the header present?
24865 echo "$as_me:$LINENO: checking regex.h presence" >&5
24866 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24867 cat >conftest.$ac_ext <<_ACEOF
24868 /* confdefs.h. */
24869 _ACEOF
24870 cat confdefs.h >>conftest.$ac_ext
24871 cat >>conftest.$ac_ext <<_ACEOF
24872 /* end confdefs.h. */
24873 #include <regex.h>
24874 _ACEOF
24875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24877 ac_status=$?
24878 grep -v '^ *+' conftest.er1 >conftest.err
24879 rm -f conftest.er1
24880 cat conftest.err >&5
24881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24882 (exit $ac_status); } >/dev/null; then
24883 if test -s conftest.err; then
24884 ac_cpp_err=$ac_cxx_preproc_warn_flag
24885 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24886 else
24887 ac_cpp_err=
24888 fi
24889 else
24890 ac_cpp_err=yes
24891 fi
24892 if test -z "$ac_cpp_err"; then
24893 ac_header_preproc=yes
24894 else
24895 echo "$as_me: failed program was:" >&5
24896 sed 's/^/| /' conftest.$ac_ext >&5
24897
24898 ac_header_preproc=no
24899 fi
24900 rm -f conftest.err conftest.$ac_ext
24901 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24902 echo "${ECHO_T}$ac_header_preproc" >&6
24903
24904 # So? What about this header?
24905 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24906 yes:no: )
24907 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24908 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24909 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24910 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24911 ac_header_preproc=yes
24912 ;;
24913 no:yes:* )
24914 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24915 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24916 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24917 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24918 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24919 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24920 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24921 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24922 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24923 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24924 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24925 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24926 (
24927 cat <<\_ASBOX
24928 ## ----------------------------------------- ##
24929 ## Report this to wx-dev@lists.wxwidgets.org ##
24930 ## ----------------------------------------- ##
24931 _ASBOX
24932 ) |
24933 sed "s/^/$as_me: WARNING: /" >&2
24934 ;;
24935 esac
24936 echo "$as_me:$LINENO: checking for regex.h" >&5
24937 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24938 if test "${ac_cv_header_regex_h+set}" = set; then
24939 echo $ECHO_N "(cached) $ECHO_C" >&6
24940 else
24941 ac_cv_header_regex_h=$ac_header_preproc
24942 fi
24943 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24944 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24945
24946 fi
24947 if test $ac_cv_header_regex_h = yes; then
24948
24949
24950 for ac_func in regcomp re_search
24951 do
24952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24953 echo "$as_me:$LINENO: checking for $ac_func" >&5
24954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24955 if eval "test \"\${$as_ac_var+set}\" = set"; then
24956 echo $ECHO_N "(cached) $ECHO_C" >&6
24957 else
24958 cat >conftest.$ac_ext <<_ACEOF
24959 /* confdefs.h. */
24960 _ACEOF
24961 cat confdefs.h >>conftest.$ac_ext
24962 cat >>conftest.$ac_ext <<_ACEOF
24963 /* end confdefs.h. */
24964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24966 #define $ac_func innocuous_$ac_func
24967
24968 /* System header to define __stub macros and hopefully few prototypes,
24969 which can conflict with char $ac_func (); below.
24970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24971 <limits.h> exists even on freestanding compilers. */
24972
24973 #ifdef __STDC__
24974 # include <limits.h>
24975 #else
24976 # include <assert.h>
24977 #endif
24978
24979 #undef $ac_func
24980
24981 /* Override any gcc2 internal prototype to avoid an error. */
24982 #ifdef __cplusplus
24983 extern "C"
24984 {
24985 #endif
24986 /* We use char because int might match the return type of a gcc2
24987 builtin and then its argument prototype would still apply. */
24988 char $ac_func ();
24989 /* The GNU C library defines this for functions which it implements
24990 to always fail with ENOSYS. Some functions are actually named
24991 something starting with __ and the normal name is an alias. */
24992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24993 choke me
24994 #else
24995 char (*f) () = $ac_func;
24996 #endif
24997 #ifdef __cplusplus
24998 }
24999 #endif
25000
25001 int
25002 main ()
25003 {
25004 return f != $ac_func;
25005 ;
25006 return 0;
25007 }
25008 _ACEOF
25009 rm -f conftest.$ac_objext conftest$ac_exeext
25010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25011 (eval $ac_link) 2>conftest.er1
25012 ac_status=$?
25013 grep -v '^ *+' conftest.er1 >conftest.err
25014 rm -f conftest.er1
25015 cat conftest.err >&5
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); } &&
25018 { ac_try='test -z "$ac_cxx_werror_flag"
25019 || test ! -s conftest.err'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25022 ac_status=$?
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; } &&
25025 { ac_try='test -s conftest$ac_exeext'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25028 ac_status=$?
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; }; then
25031 eval "$as_ac_var=yes"
25032 else
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.$ac_ext >&5
25035
25036 eval "$as_ac_var=no"
25037 fi
25038 rm -f conftest.err conftest.$ac_objext \
25039 conftest$ac_exeext conftest.$ac_ext
25040 fi
25041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25043 if test `eval echo '${'$as_ac_var'}'` = yes; then
25044 cat >>confdefs.h <<_ACEOF
25045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25046 _ACEOF
25047
25048 fi
25049 done
25050
25051 fi
25052
25053
25054
25055 if test "x$ac_cv_func_regcomp" != "xyes"; then
25056 if test "$wxUSE_REGEX" = "sys" ; then
25057 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25058 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25059 { (exit 1); exit 1; }; }
25060 else
25061 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25062 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25063 wxUSE_REGEX=builtin
25064 fi
25065 else
25066 wxUSE_REGEX=sys
25067 cat >>confdefs.h <<\_ACEOF
25068 #define WX_NO_REGEX_ADVANCED 1
25069 _ACEOF
25070
25071 fi
25072 fi
25073 fi
25074
25075
25076 ZLIB_LINK=
25077 if test "$wxUSE_ZLIB" != "no" ; then
25078 cat >>confdefs.h <<\_ACEOF
25079 #define wxUSE_ZLIB 1
25080 _ACEOF
25081
25082
25083 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25084 if test "$USE_DARWIN" = 1; then
25085 system_zlib_h_ok="yes"
25086 else
25087 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25088 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25089 if test "${ac_cv_header_zlib_h+set}" = set; then
25090 echo $ECHO_N "(cached) $ECHO_C" >&6
25091 else
25092 if test "$cross_compiling" = yes; then
25093 unset ac_cv_header_zlib_h
25094
25095 else
25096 cat >conftest.$ac_ext <<_ACEOF
25097 /* confdefs.h. */
25098 _ACEOF
25099 cat confdefs.h >>conftest.$ac_ext
25100 cat >>conftest.$ac_ext <<_ACEOF
25101 /* end confdefs.h. */
25102
25103 #include <zlib.h>
25104 #include <stdio.h>
25105
25106 int main()
25107 {
25108 FILE *f=fopen("conftestval", "w");
25109 if (!f) exit(1);
25110 fprintf(f, "%s",
25111 ZLIB_VERSION[0] == '1' &&
25112 (ZLIB_VERSION[2] > '1' ||
25113 (ZLIB_VERSION[2] == '1' &&
25114 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25115 exit(0);
25116 }
25117
25118 _ACEOF
25119 rm -f conftest$ac_exeext
25120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25121 (eval $ac_link) 2>&5
25122 ac_status=$?
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25126 (eval $ac_try) 2>&5
25127 ac_status=$?
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); }; }; then
25130 ac_cv_header_zlib_h=`cat conftestval`
25131 else
25132 echo "$as_me: program exited with status $ac_status" >&5
25133 echo "$as_me: failed program was:" >&5
25134 sed 's/^/| /' conftest.$ac_ext >&5
25135
25136 ( exit $ac_status )
25137 ac_cv_header_zlib_h=no
25138 fi
25139 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25140 fi
25141
25142 fi
25143 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25144 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25145 if test "${ac_cv_header_zlib_h+set}" = set; then
25146 echo "$as_me:$LINENO: checking for zlib.h" >&5
25147 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25148 if test "${ac_cv_header_zlib_h+set}" = set; then
25149 echo $ECHO_N "(cached) $ECHO_C" >&6
25150 fi
25151 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25152 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25153 else
25154 # Is the header compilable?
25155 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25156 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25157 cat >conftest.$ac_ext <<_ACEOF
25158 /* confdefs.h. */
25159 _ACEOF
25160 cat confdefs.h >>conftest.$ac_ext
25161 cat >>conftest.$ac_ext <<_ACEOF
25162 /* end confdefs.h. */
25163 $ac_includes_default
25164 #include <zlib.h>
25165 _ACEOF
25166 rm -f conftest.$ac_objext
25167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25168 (eval $ac_compile) 2>conftest.er1
25169 ac_status=$?
25170 grep -v '^ *+' conftest.er1 >conftest.err
25171 rm -f conftest.er1
25172 cat conftest.err >&5
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); } &&
25175 { ac_try='test -z "$ac_cxx_werror_flag"
25176 || test ! -s conftest.err'
25177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25178 (eval $ac_try) 2>&5
25179 ac_status=$?
25180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25181 (exit $ac_status); }; } &&
25182 { ac_try='test -s conftest.$ac_objext'
25183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25184 (eval $ac_try) 2>&5
25185 ac_status=$?
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); }; }; then
25188 ac_header_compiler=yes
25189 else
25190 echo "$as_me: failed program was:" >&5
25191 sed 's/^/| /' conftest.$ac_ext >&5
25192
25193 ac_header_compiler=no
25194 fi
25195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25197 echo "${ECHO_T}$ac_header_compiler" >&6
25198
25199 # Is the header present?
25200 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25201 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25202 cat >conftest.$ac_ext <<_ACEOF
25203 /* confdefs.h. */
25204 _ACEOF
25205 cat confdefs.h >>conftest.$ac_ext
25206 cat >>conftest.$ac_ext <<_ACEOF
25207 /* end confdefs.h. */
25208 #include <zlib.h>
25209 _ACEOF
25210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25212 ac_status=$?
25213 grep -v '^ *+' conftest.er1 >conftest.err
25214 rm -f conftest.er1
25215 cat conftest.err >&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); } >/dev/null; then
25218 if test -s conftest.err; then
25219 ac_cpp_err=$ac_cxx_preproc_warn_flag
25220 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25221 else
25222 ac_cpp_err=
25223 fi
25224 else
25225 ac_cpp_err=yes
25226 fi
25227 if test -z "$ac_cpp_err"; then
25228 ac_header_preproc=yes
25229 else
25230 echo "$as_me: failed program was:" >&5
25231 sed 's/^/| /' conftest.$ac_ext >&5
25232
25233 ac_header_preproc=no
25234 fi
25235 rm -f conftest.err conftest.$ac_ext
25236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25237 echo "${ECHO_T}$ac_header_preproc" >&6
25238
25239 # So? What about this header?
25240 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25241 yes:no: )
25242 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25243 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25244 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25245 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25246 ac_header_preproc=yes
25247 ;;
25248 no:yes:* )
25249 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25250 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25251 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25252 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25253 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25254 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25255 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25256 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25257 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25258 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25259 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25260 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25261 (
25262 cat <<\_ASBOX
25263 ## ----------------------------------------- ##
25264 ## Report this to wx-dev@lists.wxwidgets.org ##
25265 ## ----------------------------------------- ##
25266 _ASBOX
25267 ) |
25268 sed "s/^/$as_me: WARNING: /" >&2
25269 ;;
25270 esac
25271 echo "$as_me:$LINENO: checking for zlib.h" >&5
25272 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25273 if test "${ac_cv_header_zlib_h+set}" = set; then
25274 echo $ECHO_N "(cached) $ECHO_C" >&6
25275 else
25276 ac_cv_header_zlib_h=$ac_header_preproc
25277 fi
25278 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25279 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25280
25281 fi
25282
25283
25284
25285 system_zlib_h_ok=$ac_cv_header_zlib_h
25286 fi
25287
25288 if test "$system_zlib_h_ok" = "yes"; then
25289 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25290 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25291 if test "${ac_cv_lib_z_deflate+set}" = set; then
25292 echo $ECHO_N "(cached) $ECHO_C" >&6
25293 else
25294 ac_check_lib_save_LIBS=$LIBS
25295 LIBS="-lz $LIBS"
25296 cat >conftest.$ac_ext <<_ACEOF
25297 /* confdefs.h. */
25298 _ACEOF
25299 cat confdefs.h >>conftest.$ac_ext
25300 cat >>conftest.$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25302
25303 /* Override any gcc2 internal prototype to avoid an error. */
25304 #ifdef __cplusplus
25305 extern "C"
25306 #endif
25307 /* We use char because int might match the return type of a gcc2
25308 builtin and then its argument prototype would still apply. */
25309 char deflate ();
25310 int
25311 main ()
25312 {
25313 deflate ();
25314 ;
25315 return 0;
25316 }
25317 _ACEOF
25318 rm -f conftest.$ac_objext conftest$ac_exeext
25319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25320 (eval $ac_link) 2>conftest.er1
25321 ac_status=$?
25322 grep -v '^ *+' conftest.er1 >conftest.err
25323 rm -f conftest.er1
25324 cat conftest.err >&5
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } &&
25327 { ac_try='test -z "$ac_cxx_werror_flag"
25328 || test ! -s conftest.err'
25329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25330 (eval $ac_try) 2>&5
25331 ac_status=$?
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); }; } &&
25334 { ac_try='test -s conftest$ac_exeext'
25335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25336 (eval $ac_try) 2>&5
25337 ac_status=$?
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); }; }; then
25340 ac_cv_lib_z_deflate=yes
25341 else
25342 echo "$as_me: failed program was:" >&5
25343 sed 's/^/| /' conftest.$ac_ext >&5
25344
25345 ac_cv_lib_z_deflate=no
25346 fi
25347 rm -f conftest.err conftest.$ac_objext \
25348 conftest$ac_exeext conftest.$ac_ext
25349 LIBS=$ac_check_lib_save_LIBS
25350 fi
25351 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25352 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25353 if test $ac_cv_lib_z_deflate = yes; then
25354 ZLIB_LINK=" -lz"
25355 fi
25356
25357 fi
25358
25359 if test "x$ZLIB_LINK" = "x" ; then
25360 if test "$wxUSE_ZLIB" = "sys" ; then
25361 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25362 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25363 { (exit 1); exit 1; }; }
25364 else
25365 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25366 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25367 wxUSE_ZLIB=builtin
25368 fi
25369 else
25370 wxUSE_ZLIB=sys
25371 fi
25372 fi
25373 fi
25374
25375
25376 PNG_LINK=
25377 if test "$wxUSE_LIBPNG" != "no" ; then
25378 cat >>confdefs.h <<\_ACEOF
25379 #define wxUSE_LIBPNG 1
25380 _ACEOF
25381
25382
25383 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25384 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25385 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25386 wxUSE_LIBPNG=sys
25387 fi
25388
25389 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25390 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25391 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25392 wxUSE_LIBPNG=builtin
25393 fi
25394
25395 if test "$wxUSE_MGL" != 1 ; then
25396 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25397 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25398 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25399 if test "${ac_cv_header_png_h+set}" = set; then
25400 echo $ECHO_N "(cached) $ECHO_C" >&6
25401 else
25402 if test "$cross_compiling" = yes; then
25403 unset ac_cv_header_png_h
25404
25405 else
25406 cat >conftest.$ac_ext <<_ACEOF
25407 /* confdefs.h. */
25408 _ACEOF
25409 cat confdefs.h >>conftest.$ac_ext
25410 cat >>conftest.$ac_ext <<_ACEOF
25411 /* end confdefs.h. */
25412
25413 #include <png.h>
25414 #include <stdio.h>
25415
25416 int main()
25417 {
25418 FILE *f=fopen("conftestval", "w");
25419 if (!f) exit(1);
25420 fprintf(f, "%s",
25421 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25422 exit(0);
25423 }
25424
25425 _ACEOF
25426 rm -f conftest$ac_exeext
25427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25428 (eval $ac_link) 2>&5
25429 ac_status=$?
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433 (eval $ac_try) 2>&5
25434 ac_status=$?
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); }; }; then
25437 ac_cv_header_png_h=`cat conftestval`
25438 else
25439 echo "$as_me: program exited with status $ac_status" >&5
25440 echo "$as_me: failed program was:" >&5
25441 sed 's/^/| /' conftest.$ac_ext >&5
25442
25443 ( exit $ac_status )
25444 ac_cv_header_png_h=no
25445 fi
25446 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25447 fi
25448
25449 fi
25450 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25451 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25452 if test "${ac_cv_header_png_h+set}" = set; then
25453 echo "$as_me:$LINENO: checking for png.h" >&5
25454 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25455 if test "${ac_cv_header_png_h+set}" = set; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25457 fi
25458 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25459 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25460 else
25461 # Is the header compilable?
25462 echo "$as_me:$LINENO: checking png.h usability" >&5
25463 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25464 cat >conftest.$ac_ext <<_ACEOF
25465 /* confdefs.h. */
25466 _ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25470 $ac_includes_default
25471 #include <png.h>
25472 _ACEOF
25473 rm -f conftest.$ac_objext
25474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25475 (eval $ac_compile) 2>conftest.er1
25476 ac_status=$?
25477 grep -v '^ *+' conftest.er1 >conftest.err
25478 rm -f conftest.er1
25479 cat conftest.err >&5
25480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); } &&
25482 { ac_try='test -z "$ac_cxx_werror_flag"
25483 || test ! -s conftest.err'
25484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25485 (eval $ac_try) 2>&5
25486 ac_status=$?
25487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25488 (exit $ac_status); }; } &&
25489 { ac_try='test -s conftest.$ac_objext'
25490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25491 (eval $ac_try) 2>&5
25492 ac_status=$?
25493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494 (exit $ac_status); }; }; then
25495 ac_header_compiler=yes
25496 else
25497 echo "$as_me: failed program was:" >&5
25498 sed 's/^/| /' conftest.$ac_ext >&5
25499
25500 ac_header_compiler=no
25501 fi
25502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25504 echo "${ECHO_T}$ac_header_compiler" >&6
25505
25506 # Is the header present?
25507 echo "$as_me:$LINENO: checking png.h presence" >&5
25508 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25509 cat >conftest.$ac_ext <<_ACEOF
25510 /* confdefs.h. */
25511 _ACEOF
25512 cat confdefs.h >>conftest.$ac_ext
25513 cat >>conftest.$ac_ext <<_ACEOF
25514 /* end confdefs.h. */
25515 #include <png.h>
25516 _ACEOF
25517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25519 ac_status=$?
25520 grep -v '^ *+' conftest.er1 >conftest.err
25521 rm -f conftest.er1
25522 cat conftest.err >&5
25523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25524 (exit $ac_status); } >/dev/null; then
25525 if test -s conftest.err; then
25526 ac_cpp_err=$ac_cxx_preproc_warn_flag
25527 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25528 else
25529 ac_cpp_err=
25530 fi
25531 else
25532 ac_cpp_err=yes
25533 fi
25534 if test -z "$ac_cpp_err"; then
25535 ac_header_preproc=yes
25536 else
25537 echo "$as_me: failed program was:" >&5
25538 sed 's/^/| /' conftest.$ac_ext >&5
25539
25540 ac_header_preproc=no
25541 fi
25542 rm -f conftest.err conftest.$ac_ext
25543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25544 echo "${ECHO_T}$ac_header_preproc" >&6
25545
25546 # So? What about this header?
25547 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25548 yes:no: )
25549 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25550 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25551 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25552 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25553 ac_header_preproc=yes
25554 ;;
25555 no:yes:* )
25556 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25557 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25558 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25559 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25560 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25561 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25562 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25563 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25564 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25565 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25566 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25567 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25568 (
25569 cat <<\_ASBOX
25570 ## ----------------------------------------- ##
25571 ## Report this to wx-dev@lists.wxwidgets.org ##
25572 ## ----------------------------------------- ##
25573 _ASBOX
25574 ) |
25575 sed "s/^/$as_me: WARNING: /" >&2
25576 ;;
25577 esac
25578 echo "$as_me:$LINENO: checking for png.h" >&5
25579 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25580 if test "${ac_cv_header_png_h+set}" = set; then
25581 echo $ECHO_N "(cached) $ECHO_C" >&6
25582 else
25583 ac_cv_header_png_h=$ac_header_preproc
25584 fi
25585 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25586 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25587
25588 fi
25589
25590
25591
25592 if test "$ac_cv_header_png_h" = "yes"; then
25593 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25594 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25595 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 else
25598 ac_check_lib_save_LIBS=$LIBS
25599 LIBS="-lpng -lz -lm $LIBS"
25600 cat >conftest.$ac_ext <<_ACEOF
25601 /* confdefs.h. */
25602 _ACEOF
25603 cat confdefs.h >>conftest.$ac_ext
25604 cat >>conftest.$ac_ext <<_ACEOF
25605 /* end confdefs.h. */
25606
25607 /* Override any gcc2 internal prototype to avoid an error. */
25608 #ifdef __cplusplus
25609 extern "C"
25610 #endif
25611 /* We use char because int might match the return type of a gcc2
25612 builtin and then its argument prototype would still apply. */
25613 char png_check_sig ();
25614 int
25615 main ()
25616 {
25617 png_check_sig ();
25618 ;
25619 return 0;
25620 }
25621 _ACEOF
25622 rm -f conftest.$ac_objext conftest$ac_exeext
25623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25624 (eval $ac_link) 2>conftest.er1
25625 ac_status=$?
25626 grep -v '^ *+' conftest.er1 >conftest.err
25627 rm -f conftest.er1
25628 cat conftest.err >&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } &&
25631 { ac_try='test -z "$ac_cxx_werror_flag"
25632 || test ! -s conftest.err'
25633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25634 (eval $ac_try) 2>&5
25635 ac_status=$?
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); }; } &&
25638 { ac_try='test -s conftest$ac_exeext'
25639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25640 (eval $ac_try) 2>&5
25641 ac_status=$?
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); }; }; then
25644 ac_cv_lib_png_png_check_sig=yes
25645 else
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.$ac_ext >&5
25648
25649 ac_cv_lib_png_png_check_sig=no
25650 fi
25651 rm -f conftest.err conftest.$ac_objext \
25652 conftest$ac_exeext conftest.$ac_ext
25653 LIBS=$ac_check_lib_save_LIBS
25654 fi
25655 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25656 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25657 if test $ac_cv_lib_png_png_check_sig = yes; then
25658 PNG_LINK=" -lpng -lz"
25659 fi
25660
25661 fi
25662
25663 if test "x$PNG_LINK" = "x" ; then
25664 if test "$wxUSE_LIBPNG" = "sys" ; then
25665 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25666 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25667 { (exit 1); exit 1; }; }
25668 else
25669 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25670 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25671 wxUSE_LIBPNG=builtin
25672 fi
25673 else
25674 wxUSE_LIBPNG=sys
25675 fi
25676 fi
25677 fi
25678
25679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25680 fi
25681
25682
25683 JPEG_LINK=
25684 if test "$wxUSE_LIBJPEG" != "no" ; then
25685 cat >>confdefs.h <<\_ACEOF
25686 #define wxUSE_LIBJPEG 1
25687 _ACEOF
25688
25689
25690 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25691 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25692 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25693 wxUSE_LIBJPEG=sys
25694 fi
25695
25696 if test "$wxUSE_MGL" != 1 ; then
25697 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25698 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25699 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25700 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25701 echo $ECHO_N "(cached) $ECHO_C" >&6
25702 else
25703 cat >conftest.$ac_ext <<_ACEOF
25704 /* confdefs.h. */
25705 _ACEOF
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25709
25710 #undef HAVE_STDLIB_H
25711 #include <stdio.h>
25712 #include <jpeglib.h>
25713
25714 int
25715 main ()
25716 {
25717
25718
25719 ;
25720 return 0;
25721 }
25722 _ACEOF
25723 rm -f conftest.$ac_objext
25724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25725 (eval $ac_compile) 2>conftest.er1
25726 ac_status=$?
25727 grep -v '^ *+' conftest.er1 >conftest.err
25728 rm -f conftest.er1
25729 cat conftest.err >&5
25730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731 (exit $ac_status); } &&
25732 { ac_try='test -z "$ac_cxx_werror_flag"
25733 || test ! -s conftest.err'
25734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25735 (eval $ac_try) 2>&5
25736 ac_status=$?
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); }; } &&
25739 { ac_try='test -s conftest.$ac_objext'
25740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25741 (eval $ac_try) 2>&5
25742 ac_status=$?
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); }; }; then
25745 ac_cv_header_jpeglib_h=yes
25746 else
25747 echo "$as_me: failed program was:" >&5
25748 sed 's/^/| /' conftest.$ac_ext >&5
25749
25750 ac_cv_header_jpeglib_h=no
25751
25752 fi
25753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25754
25755 fi
25756
25757 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25758 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25759
25760 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25761 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25762 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25763 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25764 echo $ECHO_N "(cached) $ECHO_C" >&6
25765 else
25766 ac_check_lib_save_LIBS=$LIBS
25767 LIBS="-ljpeg $LIBS"
25768 cat >conftest.$ac_ext <<_ACEOF
25769 /* confdefs.h. */
25770 _ACEOF
25771 cat confdefs.h >>conftest.$ac_ext
25772 cat >>conftest.$ac_ext <<_ACEOF
25773 /* end confdefs.h. */
25774
25775 /* Override any gcc2 internal prototype to avoid an error. */
25776 #ifdef __cplusplus
25777 extern "C"
25778 #endif
25779 /* We use char because int might match the return type of a gcc2
25780 builtin and then its argument prototype would still apply. */
25781 char jpeg_read_header ();
25782 int
25783 main ()
25784 {
25785 jpeg_read_header ();
25786 ;
25787 return 0;
25788 }
25789 _ACEOF
25790 rm -f conftest.$ac_objext conftest$ac_exeext
25791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25792 (eval $ac_link) 2>conftest.er1
25793 ac_status=$?
25794 grep -v '^ *+' conftest.er1 >conftest.err
25795 rm -f conftest.er1
25796 cat conftest.err >&5
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); } &&
25799 { ac_try='test -z "$ac_cxx_werror_flag"
25800 || test ! -s conftest.err'
25801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25802 (eval $ac_try) 2>&5
25803 ac_status=$?
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); }; } &&
25806 { ac_try='test -s conftest$ac_exeext'
25807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25808 (eval $ac_try) 2>&5
25809 ac_status=$?
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); }; }; then
25812 ac_cv_lib_jpeg_jpeg_read_header=yes
25813 else
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.$ac_ext >&5
25816
25817 ac_cv_lib_jpeg_jpeg_read_header=no
25818 fi
25819 rm -f conftest.err conftest.$ac_objext \
25820 conftest$ac_exeext conftest.$ac_ext
25821 LIBS=$ac_check_lib_save_LIBS
25822 fi
25823 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25824 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25825 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25826 JPEG_LINK=" -ljpeg"
25827 fi
25828
25829 fi
25830
25831 if test "x$JPEG_LINK" = "x" ; then
25832 if test "$wxUSE_LIBJPEG" = "sys" ; then
25833 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25834 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25835 { (exit 1); exit 1; }; }
25836 else
25837 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25838 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25839 wxUSE_LIBJPEG=builtin
25840 fi
25841 else
25842 wxUSE_LIBJPEG=sys
25843 fi
25844 fi
25845 fi
25846 fi
25847
25848
25849 TIFF_LINK=
25850 TIFF_PREREQ_LINKS=-lm
25851 if test "$wxUSE_LIBTIFF" != "no" ; then
25852 cat >>confdefs.h <<\_ACEOF
25853 #define wxUSE_LIBTIFF 1
25854 _ACEOF
25855
25856
25857 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25858 if test "$wxUSE_LIBJPEG" = "sys"; then
25859 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25860 fi
25861 if test "$wxUSE_ZLIB" = "sys"; then
25862 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25863 fi
25864 if test "${ac_cv_header_tiffio_h+set}" = set; then
25865 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25866 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25867 if test "${ac_cv_header_tiffio_h+set}" = set; then
25868 echo $ECHO_N "(cached) $ECHO_C" >&6
25869 fi
25870 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25871 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25872 else
25873 # Is the header compilable?
25874 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25875 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25876 cat >conftest.$ac_ext <<_ACEOF
25877 /* confdefs.h. */
25878 _ACEOF
25879 cat confdefs.h >>conftest.$ac_ext
25880 cat >>conftest.$ac_ext <<_ACEOF
25881 /* end confdefs.h. */
25882 $ac_includes_default
25883 #include <tiffio.h>
25884 _ACEOF
25885 rm -f conftest.$ac_objext
25886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25887 (eval $ac_compile) 2>conftest.er1
25888 ac_status=$?
25889 grep -v '^ *+' conftest.er1 >conftest.err
25890 rm -f conftest.er1
25891 cat conftest.err >&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } &&
25894 { ac_try='test -z "$ac_cxx_werror_flag"
25895 || test ! -s conftest.err'
25896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25897 (eval $ac_try) 2>&5
25898 ac_status=$?
25899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25900 (exit $ac_status); }; } &&
25901 { ac_try='test -s conftest.$ac_objext'
25902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25903 (eval $ac_try) 2>&5
25904 ac_status=$?
25905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25906 (exit $ac_status); }; }; then
25907 ac_header_compiler=yes
25908 else
25909 echo "$as_me: failed program was:" >&5
25910 sed 's/^/| /' conftest.$ac_ext >&5
25911
25912 ac_header_compiler=no
25913 fi
25914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25915 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25916 echo "${ECHO_T}$ac_header_compiler" >&6
25917
25918 # Is the header present?
25919 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25920 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25921 cat >conftest.$ac_ext <<_ACEOF
25922 /* confdefs.h. */
25923 _ACEOF
25924 cat confdefs.h >>conftest.$ac_ext
25925 cat >>conftest.$ac_ext <<_ACEOF
25926 /* end confdefs.h. */
25927 #include <tiffio.h>
25928 _ACEOF
25929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25930 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25931 ac_status=$?
25932 grep -v '^ *+' conftest.er1 >conftest.err
25933 rm -f conftest.er1
25934 cat conftest.err >&5
25935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25936 (exit $ac_status); } >/dev/null; then
25937 if test -s conftest.err; then
25938 ac_cpp_err=$ac_cxx_preproc_warn_flag
25939 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25940 else
25941 ac_cpp_err=
25942 fi
25943 else
25944 ac_cpp_err=yes
25945 fi
25946 if test -z "$ac_cpp_err"; then
25947 ac_header_preproc=yes
25948 else
25949 echo "$as_me: failed program was:" >&5
25950 sed 's/^/| /' conftest.$ac_ext >&5
25951
25952 ac_header_preproc=no
25953 fi
25954 rm -f conftest.err conftest.$ac_ext
25955 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25956 echo "${ECHO_T}$ac_header_preproc" >&6
25957
25958 # So? What about this header?
25959 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25960 yes:no: )
25961 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25962 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25963 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25964 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25965 ac_header_preproc=yes
25966 ;;
25967 no:yes:* )
25968 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25969 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25970 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25971 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25972 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25973 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25974 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25975 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25976 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25977 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25978 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25979 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25980 (
25981 cat <<\_ASBOX
25982 ## ----------------------------------------- ##
25983 ## Report this to wx-dev@lists.wxwidgets.org ##
25984 ## ----------------------------------------- ##
25985 _ASBOX
25986 ) |
25987 sed "s/^/$as_me: WARNING: /" >&2
25988 ;;
25989 esac
25990 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25991 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25992 if test "${ac_cv_header_tiffio_h+set}" = set; then
25993 echo $ECHO_N "(cached) $ECHO_C" >&6
25994 else
25995 ac_cv_header_tiffio_h=$ac_header_preproc
25996 fi
25997 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25998 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25999
26000 fi
26001 if test $ac_cv_header_tiffio_h = yes; then
26002
26003 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26004 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26005 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26006 echo $ECHO_N "(cached) $ECHO_C" >&6
26007 else
26008 ac_check_lib_save_LIBS=$LIBS
26009 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26010 cat >conftest.$ac_ext <<_ACEOF
26011 /* confdefs.h. */
26012 _ACEOF
26013 cat confdefs.h >>conftest.$ac_ext
26014 cat >>conftest.$ac_ext <<_ACEOF
26015 /* end confdefs.h. */
26016
26017 /* Override any gcc2 internal prototype to avoid an error. */
26018 #ifdef __cplusplus
26019 extern "C"
26020 #endif
26021 /* We use char because int might match the return type of a gcc2
26022 builtin and then its argument prototype would still apply. */
26023 char TIFFError ();
26024 int
26025 main ()
26026 {
26027 TIFFError ();
26028 ;
26029 return 0;
26030 }
26031 _ACEOF
26032 rm -f conftest.$ac_objext conftest$ac_exeext
26033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26034 (eval $ac_link) 2>conftest.er1
26035 ac_status=$?
26036 grep -v '^ *+' conftest.er1 >conftest.err
26037 rm -f conftest.er1
26038 cat conftest.err >&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try='test -z "$ac_cxx_werror_flag"
26042 || test ! -s conftest.err'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26045 ac_status=$?
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; } &&
26048 { ac_try='test -s conftest$ac_exeext'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26051 ac_status=$?
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; }; then
26054 ac_cv_lib_tiff_TIFFError=yes
26055 else
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26058
26059 ac_cv_lib_tiff_TIFFError=no
26060 fi
26061 rm -f conftest.err conftest.$ac_objext \
26062 conftest$ac_exeext conftest.$ac_ext
26063 LIBS=$ac_check_lib_save_LIBS
26064 fi
26065 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26066 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26067 if test $ac_cv_lib_tiff_TIFFError = yes; then
26068 TIFF_LINK=" -ltiff"
26069 fi
26070
26071
26072
26073 fi
26074
26075
26076
26077 if test "x$TIFF_LINK" = "x" ; then
26078 if test "$wxUSE_LIBTIFF" = "sys" ; then
26079 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26080 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26081 { (exit 1); exit 1; }; }
26082 else
26083 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26084 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26085 wxUSE_LIBTIFF=builtin
26086 fi
26087 else
26088 wxUSE_LIBTIFF=sys
26089 fi
26090 fi
26091 fi
26092
26093
26094 if test "$wxUSE_WCHAR_T" != "yes"; then
26095 if test "$wxUSE_EXPAT" != "no"; then
26096 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26097 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26098 wxUSE_EXPAT=no
26099 fi
26100 if test "$wxUSE_XML" != "no"; then
26101 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26102 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26103 wxUSE_XML=no
26104 fi
26105 fi
26106
26107 if test "$wxUSE_EXPAT" != "no"; then
26108 wxUSE_XML=yes
26109 cat >>confdefs.h <<\_ACEOF
26110 #define wxUSE_EXPAT 1
26111 _ACEOF
26112
26113 cat >>confdefs.h <<\_ACEOF
26114 #define wxUSE_XML 1
26115 _ACEOF
26116
26117
26118 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26119 if test "${ac_cv_header_expat_h+set}" = set; then
26120 echo "$as_me:$LINENO: checking for expat.h" >&5
26121 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26122 if test "${ac_cv_header_expat_h+set}" = set; then
26123 echo $ECHO_N "(cached) $ECHO_C" >&6
26124 fi
26125 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26126 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26127 else
26128 # Is the header compilable?
26129 echo "$as_me:$LINENO: checking expat.h usability" >&5
26130 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26131 cat >conftest.$ac_ext <<_ACEOF
26132 /* confdefs.h. */
26133 _ACEOF
26134 cat confdefs.h >>conftest.$ac_ext
26135 cat >>conftest.$ac_ext <<_ACEOF
26136 /* end confdefs.h. */
26137 $ac_includes_default
26138 #include <expat.h>
26139 _ACEOF
26140 rm -f conftest.$ac_objext
26141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26142 (eval $ac_compile) 2>conftest.er1
26143 ac_status=$?
26144 grep -v '^ *+' conftest.er1 >conftest.err
26145 rm -f conftest.er1
26146 cat conftest.err >&5
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); } &&
26149 { ac_try='test -z "$ac_cxx_werror_flag"
26150 || test ! -s conftest.err'
26151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26152 (eval $ac_try) 2>&5
26153 ac_status=$?
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); }; } &&
26156 { ac_try='test -s conftest.$ac_objext'
26157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26158 (eval $ac_try) 2>&5
26159 ac_status=$?
26160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26161 (exit $ac_status); }; }; then
26162 ac_header_compiler=yes
26163 else
26164 echo "$as_me: failed program was:" >&5
26165 sed 's/^/| /' conftest.$ac_ext >&5
26166
26167 ac_header_compiler=no
26168 fi
26169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26171 echo "${ECHO_T}$ac_header_compiler" >&6
26172
26173 # Is the header present?
26174 echo "$as_me:$LINENO: checking expat.h presence" >&5
26175 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26176 cat >conftest.$ac_ext <<_ACEOF
26177 /* confdefs.h. */
26178 _ACEOF
26179 cat confdefs.h >>conftest.$ac_ext
26180 cat >>conftest.$ac_ext <<_ACEOF
26181 /* end confdefs.h. */
26182 #include <expat.h>
26183 _ACEOF
26184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26186 ac_status=$?
26187 grep -v '^ *+' conftest.er1 >conftest.err
26188 rm -f conftest.er1
26189 cat conftest.err >&5
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); } >/dev/null; then
26192 if test -s conftest.err; then
26193 ac_cpp_err=$ac_cxx_preproc_warn_flag
26194 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26195 else
26196 ac_cpp_err=
26197 fi
26198 else
26199 ac_cpp_err=yes
26200 fi
26201 if test -z "$ac_cpp_err"; then
26202 ac_header_preproc=yes
26203 else
26204 echo "$as_me: failed program was:" >&5
26205 sed 's/^/| /' conftest.$ac_ext >&5
26206
26207 ac_header_preproc=no
26208 fi
26209 rm -f conftest.err conftest.$ac_ext
26210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26211 echo "${ECHO_T}$ac_header_preproc" >&6
26212
26213 # So? What about this header?
26214 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26215 yes:no: )
26216 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26217 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26218 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26219 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26220 ac_header_preproc=yes
26221 ;;
26222 no:yes:* )
26223 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26224 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26225 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26226 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26227 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26228 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26229 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26230 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26231 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26232 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26233 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26234 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26235 (
26236 cat <<\_ASBOX
26237 ## ----------------------------------------- ##
26238 ## Report this to wx-dev@lists.wxwidgets.org ##
26239 ## ----------------------------------------- ##
26240 _ASBOX
26241 ) |
26242 sed "s/^/$as_me: WARNING: /" >&2
26243 ;;
26244 esac
26245 echo "$as_me:$LINENO: checking for expat.h" >&5
26246 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26247 if test "${ac_cv_header_expat_h+set}" = set; then
26248 echo $ECHO_N "(cached) $ECHO_C" >&6
26249 else
26250 ac_cv_header_expat_h=$ac_header_preproc
26251 fi
26252 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26253 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26254
26255 fi
26256 if test $ac_cv_header_expat_h = yes; then
26257 found_expat_h=1
26258 fi
26259
26260
26261 if test "x$found_expat_h" = "x1"; then
26262 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26263 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26264 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26265 echo $ECHO_N "(cached) $ECHO_C" >&6
26266 else
26267
26268 cat >conftest.$ac_ext <<_ACEOF
26269 /* confdefs.h. */
26270 _ACEOF
26271 cat confdefs.h >>conftest.$ac_ext
26272 cat >>conftest.$ac_ext <<_ACEOF
26273 /* end confdefs.h. */
26274 #include <expat.h>
26275 int
26276 main ()
26277 {
26278
26279 ;
26280 return 0;
26281 }
26282 _ACEOF
26283 rm -f conftest.$ac_objext
26284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26285 (eval $ac_compile) 2>conftest.er1
26286 ac_status=$?
26287 grep -v '^ *+' conftest.er1 >conftest.err
26288 rm -f conftest.er1
26289 cat conftest.err >&5
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); } &&
26292 { ac_try='test -z "$ac_cxx_werror_flag"
26293 || test ! -s conftest.err'
26294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26295 (eval $ac_try) 2>&5
26296 ac_status=$?
26297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26298 (exit $ac_status); }; } &&
26299 { ac_try='test -s conftest.$ac_objext'
26300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26301 (eval $ac_try) 2>&5
26302 ac_status=$?
26303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26304 (exit $ac_status); }; }; then
26305 wx_cv_expat_is_not_broken=yes
26306 else
26307 echo "$as_me: failed program was:" >&5
26308 sed 's/^/| /' conftest.$ac_ext >&5
26309
26310 wx_cv_expat_is_not_broken=no
26311
26312 fi
26313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26314
26315
26316 fi
26317 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26318 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26319 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26320 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26321 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26322 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26323 echo $ECHO_N "(cached) $ECHO_C" >&6
26324 else
26325 ac_check_lib_save_LIBS=$LIBS
26326 LIBS="-lexpat $LIBS"
26327 cat >conftest.$ac_ext <<_ACEOF
26328 /* confdefs.h. */
26329 _ACEOF
26330 cat confdefs.h >>conftest.$ac_ext
26331 cat >>conftest.$ac_ext <<_ACEOF
26332 /* end confdefs.h. */
26333
26334 /* Override any gcc2 internal prototype to avoid an error. */
26335 #ifdef __cplusplus
26336 extern "C"
26337 #endif
26338 /* We use char because int might match the return type of a gcc2
26339 builtin and then its argument prototype would still apply. */
26340 char XML_ParserCreate ();
26341 int
26342 main ()
26343 {
26344 XML_ParserCreate ();
26345 ;
26346 return 0;
26347 }
26348 _ACEOF
26349 rm -f conftest.$ac_objext conftest$ac_exeext
26350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26351 (eval $ac_link) 2>conftest.er1
26352 ac_status=$?
26353 grep -v '^ *+' conftest.er1 >conftest.err
26354 rm -f conftest.er1
26355 cat conftest.err >&5
26356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26357 (exit $ac_status); } &&
26358 { ac_try='test -z "$ac_cxx_werror_flag"
26359 || test ! -s conftest.err'
26360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26361 (eval $ac_try) 2>&5
26362 ac_status=$?
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); }; } &&
26365 { ac_try='test -s conftest$ac_exeext'
26366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26367 (eval $ac_try) 2>&5
26368 ac_status=$?
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); }; }; then
26371 ac_cv_lib_expat_XML_ParserCreate=yes
26372 else
26373 echo "$as_me: failed program was:" >&5
26374 sed 's/^/| /' conftest.$ac_ext >&5
26375
26376 ac_cv_lib_expat_XML_ParserCreate=no
26377 fi
26378 rm -f conftest.err conftest.$ac_objext \
26379 conftest$ac_exeext conftest.$ac_ext
26380 LIBS=$ac_check_lib_save_LIBS
26381 fi
26382 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26383 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26384 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26385 EXPAT_LINK=" -lexpat"
26386 fi
26387
26388 fi
26389 fi
26390 if test "x$EXPAT_LINK" = "x" ; then
26391 if test "$wxUSE_EXPAT" = "sys" ; then
26392 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26393 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26394 { (exit 1); exit 1; }; }
26395 else
26396 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26397 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26398 wxUSE_EXPAT=builtin
26399 fi
26400 else
26401 wxUSE_EXPAT=sys
26402 fi
26403 fi
26404 if test "$wxUSE_EXPAT" = "builtin" ; then
26405
26406
26407 subdirs="$subdirs src/expat"
26408
26409 fi
26410 fi
26411
26412
26413
26414 if test "$wxUSE_LIBMSPACK" != "no"; then
26415 if test "${ac_cv_header_mspack_h+set}" = set; then
26416 echo "$as_me:$LINENO: checking for mspack.h" >&5
26417 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26418 if test "${ac_cv_header_mspack_h+set}" = set; then
26419 echo $ECHO_N "(cached) $ECHO_C" >&6
26420 fi
26421 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26422 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26423 else
26424 # Is the header compilable?
26425 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26426 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26427 cat >conftest.$ac_ext <<_ACEOF
26428 /* confdefs.h. */
26429 _ACEOF
26430 cat confdefs.h >>conftest.$ac_ext
26431 cat >>conftest.$ac_ext <<_ACEOF
26432 /* end confdefs.h. */
26433 $ac_includes_default
26434 #include <mspack.h>
26435 _ACEOF
26436 rm -f conftest.$ac_objext
26437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26438 (eval $ac_compile) 2>conftest.er1
26439 ac_status=$?
26440 grep -v '^ *+' conftest.er1 >conftest.err
26441 rm -f conftest.er1
26442 cat conftest.err >&5
26443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444 (exit $ac_status); } &&
26445 { ac_try='test -z "$ac_cxx_werror_flag"
26446 || test ! -s conftest.err'
26447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26448 (eval $ac_try) 2>&5
26449 ac_status=$?
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); }; } &&
26452 { ac_try='test -s conftest.$ac_objext'
26453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26454 (eval $ac_try) 2>&5
26455 ac_status=$?
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); }; }; then
26458 ac_header_compiler=yes
26459 else
26460 echo "$as_me: failed program was:" >&5
26461 sed 's/^/| /' conftest.$ac_ext >&5
26462
26463 ac_header_compiler=no
26464 fi
26465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26467 echo "${ECHO_T}$ac_header_compiler" >&6
26468
26469 # Is the header present?
26470 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26471 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26472 cat >conftest.$ac_ext <<_ACEOF
26473 /* confdefs.h. */
26474 _ACEOF
26475 cat confdefs.h >>conftest.$ac_ext
26476 cat >>conftest.$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26478 #include <mspack.h>
26479 _ACEOF
26480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26481 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26482 ac_status=$?
26483 grep -v '^ *+' conftest.er1 >conftest.err
26484 rm -f conftest.er1
26485 cat conftest.err >&5
26486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26487 (exit $ac_status); } >/dev/null; then
26488 if test -s conftest.err; then
26489 ac_cpp_err=$ac_cxx_preproc_warn_flag
26490 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26491 else
26492 ac_cpp_err=
26493 fi
26494 else
26495 ac_cpp_err=yes
26496 fi
26497 if test -z "$ac_cpp_err"; then
26498 ac_header_preproc=yes
26499 else
26500 echo "$as_me: failed program was:" >&5
26501 sed 's/^/| /' conftest.$ac_ext >&5
26502
26503 ac_header_preproc=no
26504 fi
26505 rm -f conftest.err conftest.$ac_ext
26506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26507 echo "${ECHO_T}$ac_header_preproc" >&6
26508
26509 # So? What about this header?
26510 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26511 yes:no: )
26512 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26513 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26514 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26515 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26516 ac_header_preproc=yes
26517 ;;
26518 no:yes:* )
26519 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26520 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26521 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26522 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26523 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26524 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26525 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26526 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26527 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26528 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26529 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26530 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26531 (
26532 cat <<\_ASBOX
26533 ## ----------------------------------------- ##
26534 ## Report this to wx-dev@lists.wxwidgets.org ##
26535 ## ----------------------------------------- ##
26536 _ASBOX
26537 ) |
26538 sed "s/^/$as_me: WARNING: /" >&2
26539 ;;
26540 esac
26541 echo "$as_me:$LINENO: checking for mspack.h" >&5
26542 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26543 if test "${ac_cv_header_mspack_h+set}" = set; then
26544 echo $ECHO_N "(cached) $ECHO_C" >&6
26545 else
26546 ac_cv_header_mspack_h=$ac_header_preproc
26547 fi
26548 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26549 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26550
26551 fi
26552 if test $ac_cv_header_mspack_h = yes; then
26553 found_mspack_h=1
26554 fi
26555
26556
26557 if test "x$found_mspack_h" = "x1"; then
26558 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26559 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26560 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 else
26563 ac_check_lib_save_LIBS=$LIBS
26564 LIBS="-lmspack $LIBS"
26565 cat >conftest.$ac_ext <<_ACEOF
26566 /* confdefs.h. */
26567 _ACEOF
26568 cat confdefs.h >>conftest.$ac_ext
26569 cat >>conftest.$ac_ext <<_ACEOF
26570 /* end confdefs.h. */
26571
26572 /* Override any gcc2 internal prototype to avoid an error. */
26573 #ifdef __cplusplus
26574 extern "C"
26575 #endif
26576 /* We use char because int might match the return type of a gcc2
26577 builtin and then its argument prototype would still apply. */
26578 char mspack_create_chm_decompressor ();
26579 int
26580 main ()
26581 {
26582 mspack_create_chm_decompressor ();
26583 ;
26584 return 0;
26585 }
26586 _ACEOF
26587 rm -f conftest.$ac_objext conftest$ac_exeext
26588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26589 (eval $ac_link) 2>conftest.er1
26590 ac_status=$?
26591 grep -v '^ *+' conftest.er1 >conftest.err
26592 rm -f conftest.er1
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try='test -z "$ac_cxx_werror_flag"
26597 || test ! -s conftest.err'
26598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26599 (eval $ac_try) 2>&5
26600 ac_status=$?
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); }; } &&
26603 { ac_try='test -s conftest$ac_exeext'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26606 ac_status=$?
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; }; then
26609 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26610 else
26611 echo "$as_me: failed program was:" >&5
26612 sed 's/^/| /' conftest.$ac_ext >&5
26613
26614 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26615 fi
26616 rm -f conftest.err conftest.$ac_objext \
26617 conftest$ac_exeext conftest.$ac_ext
26618 LIBS=$ac_check_lib_save_LIBS
26619 fi
26620 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26621 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26622 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26623 MSPACK_LINK=" -lmspack"
26624 fi
26625
26626 fi
26627 if test "x$MSPACK_LINK" = "x" ; then
26628 wxUSE_LIBMSPACK=no
26629 fi
26630 fi
26631
26632 if test "$wxUSE_LIBMSPACK" != "no"; then
26633 cat >>confdefs.h <<\_ACEOF
26634 #define wxUSE_LIBMSPACK 1
26635 _ACEOF
26636
26637 fi
26638
26639
26640
26641 AFMINSTALL=
26642 WIN32INSTALL=
26643
26644 TOOLKIT=
26645 TOOLKIT_INCLUDE=
26646 WIDGET_SET=
26647
26648 if test "$USE_WIN32" = 1 ; then
26649
26650 for ac_header in w32api.h
26651 do
26652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26654 echo "$as_me:$LINENO: checking for $ac_header" >&5
26655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26657 echo $ECHO_N "(cached) $ECHO_C" >&6
26658 fi
26659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26661 else
26662 # Is the header compilable?
26663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26665 cat >conftest.$ac_ext <<_ACEOF
26666 /* confdefs.h. */
26667 _ACEOF
26668 cat confdefs.h >>conftest.$ac_ext
26669 cat >>conftest.$ac_ext <<_ACEOF
26670 /* end confdefs.h. */
26671 $ac_includes_default
26672 #include <$ac_header>
26673 _ACEOF
26674 rm -f conftest.$ac_objext
26675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26676 (eval $ac_compile) 2>conftest.er1
26677 ac_status=$?
26678 grep -v '^ *+' conftest.er1 >conftest.err
26679 rm -f conftest.er1
26680 cat conftest.err >&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } &&
26683 { ac_try='test -z "$ac_cxx_werror_flag"
26684 || test ! -s conftest.err'
26685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26686 (eval $ac_try) 2>&5
26687 ac_status=$?
26688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26689 (exit $ac_status); }; } &&
26690 { ac_try='test -s conftest.$ac_objext'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26693 ac_status=$?
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; }; then
26696 ac_header_compiler=yes
26697 else
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26700
26701 ac_header_compiler=no
26702 fi
26703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26705 echo "${ECHO_T}$ac_header_compiler" >&6
26706
26707 # Is the header present?
26708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26710 cat >conftest.$ac_ext <<_ACEOF
26711 /* confdefs.h. */
26712 _ACEOF
26713 cat confdefs.h >>conftest.$ac_ext
26714 cat >>conftest.$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26716 #include <$ac_header>
26717 _ACEOF
26718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26719 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
26726 if test -s conftest.err; then
26727 ac_cpp_err=$ac_cxx_preproc_warn_flag
26728 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26729 else
26730 ac_cpp_err=
26731 fi
26732 else
26733 ac_cpp_err=yes
26734 fi
26735 if test -z "$ac_cpp_err"; then
26736 ac_header_preproc=yes
26737 else
26738 echo "$as_me: failed program was:" >&5
26739 sed 's/^/| /' conftest.$ac_ext >&5
26740
26741 ac_header_preproc=no
26742 fi
26743 rm -f conftest.err conftest.$ac_ext
26744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26745 echo "${ECHO_T}$ac_header_preproc" >&6
26746
26747 # So? What about this header?
26748 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26749 yes:no: )
26750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26753 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26754 ac_header_preproc=yes
26755 ;;
26756 no:yes:* )
26757 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26758 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26759 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26760 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26761 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26762 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26763 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26764 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26767 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26768 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26769 (
26770 cat <<\_ASBOX
26771 ## ----------------------------------------- ##
26772 ## Report this to wx-dev@lists.wxwidgets.org ##
26773 ## ----------------------------------------- ##
26774 _ASBOX
26775 ) |
26776 sed "s/^/$as_me: WARNING: /" >&2
26777 ;;
26778 esac
26779 echo "$as_me:$LINENO: checking for $ac_header" >&5
26780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26783 else
26784 eval "$as_ac_Header=\$ac_header_preproc"
26785 fi
26786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26788
26789 fi
26790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26791 cat >>confdefs.h <<_ACEOF
26792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26793 _ACEOF
26794
26795 fi
26796
26797 done
26798
26799 if test "${ac_cv_header_windows_h+set}" = set; then
26800 echo "$as_me:$LINENO: checking for windows.h" >&5
26801 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26802 if test "${ac_cv_header_windows_h+set}" = set; then
26803 echo $ECHO_N "(cached) $ECHO_C" >&6
26804 fi
26805 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26806 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26807 else
26808 # Is the header compilable?
26809 echo "$as_me:$LINENO: checking windows.h usability" >&5
26810 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26811 cat >conftest.$ac_ext <<_ACEOF
26812 /* confdefs.h. */
26813 _ACEOF
26814 cat confdefs.h >>conftest.$ac_ext
26815 cat >>conftest.$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26817 $ac_includes_default
26818 #include <windows.h>
26819 _ACEOF
26820 rm -f conftest.$ac_objext
26821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26822 (eval $ac_compile) 2>conftest.er1
26823 ac_status=$?
26824 grep -v '^ *+' conftest.er1 >conftest.err
26825 rm -f conftest.er1
26826 cat conftest.err >&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); } &&
26829 { ac_try='test -z "$ac_cxx_werror_flag"
26830 || test ! -s conftest.err'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26833 ac_status=$?
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; } &&
26836 { ac_try='test -s conftest.$ac_objext'
26837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26838 (eval $ac_try) 2>&5
26839 ac_status=$?
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); }; }; then
26842 ac_header_compiler=yes
26843 else
26844 echo "$as_me: failed program was:" >&5
26845 sed 's/^/| /' conftest.$ac_ext >&5
26846
26847 ac_header_compiler=no
26848 fi
26849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26851 echo "${ECHO_T}$ac_header_compiler" >&6
26852
26853 # Is the header present?
26854 echo "$as_me:$LINENO: checking windows.h presence" >&5
26855 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26856 cat >conftest.$ac_ext <<_ACEOF
26857 /* confdefs.h. */
26858 _ACEOF
26859 cat confdefs.h >>conftest.$ac_ext
26860 cat >>conftest.$ac_ext <<_ACEOF
26861 /* end confdefs.h. */
26862 #include <windows.h>
26863 _ACEOF
26864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26866 ac_status=$?
26867 grep -v '^ *+' conftest.er1 >conftest.err
26868 rm -f conftest.er1
26869 cat conftest.err >&5
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); } >/dev/null; then
26872 if test -s conftest.err; then
26873 ac_cpp_err=$ac_cxx_preproc_warn_flag
26874 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26875 else
26876 ac_cpp_err=
26877 fi
26878 else
26879 ac_cpp_err=yes
26880 fi
26881 if test -z "$ac_cpp_err"; then
26882 ac_header_preproc=yes
26883 else
26884 echo "$as_me: failed program was:" >&5
26885 sed 's/^/| /' conftest.$ac_ext >&5
26886
26887 ac_header_preproc=no
26888 fi
26889 rm -f conftest.err conftest.$ac_ext
26890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26891 echo "${ECHO_T}$ac_header_preproc" >&6
26892
26893 # So? What about this header?
26894 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26895 yes:no: )
26896 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26897 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26898 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26899 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26900 ac_header_preproc=yes
26901 ;;
26902 no:yes:* )
26903 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26904 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26905 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26906 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26907 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26908 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26909 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26910 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26911 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26912 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26913 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26914 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26915 (
26916 cat <<\_ASBOX
26917 ## ----------------------------------------- ##
26918 ## Report this to wx-dev@lists.wxwidgets.org ##
26919 ## ----------------------------------------- ##
26920 _ASBOX
26921 ) |
26922 sed "s/^/$as_me: WARNING: /" >&2
26923 ;;
26924 esac
26925 echo "$as_me:$LINENO: checking for windows.h" >&5
26926 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26927 if test "${ac_cv_header_windows_h+set}" = set; then
26928 echo $ECHO_N "(cached) $ECHO_C" >&6
26929 else
26930 ac_cv_header_windows_h=$ac_header_preproc
26931 fi
26932 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26933 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26934
26935 fi
26936 if test $ac_cv_header_windows_h = yes; then
26937 :
26938 else
26939
26940 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26941 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26942 { (exit 1); exit 1; }; }
26943
26944 fi
26945
26946
26947
26948 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26949
26950 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26951 LIBS="$LIBS -loleacc"
26952 fi
26953
26954 case "${host}" in
26955 *-*-cygwin* )
26956 LIBS="$LIBS -lkernel32 -luser32"
26957 esac
26958
26959 if test "$wxUSE_ODBC" = "sys" ; then
26960 wxUSE_ODBC = "yes"
26961 fi
26962 if test "$wxUSE_ODBC" = "yes" ; then
26963 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26964 cat >>confdefs.h <<\_ACEOF
26965 #define wxUSE_ODBC 1
26966 _ACEOF
26967
26968 fi
26969
26970 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26971 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26972
26973 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26974
26975 WIN32INSTALL=win32install
26976 fi
26977
26978 if test "$wxUSE_GUI" = "yes"; then
26979 USE_GUI=1
26980
26981 GUI_TK_LIBRARY=
26982
26983 WXGTK12=
26984 WXGTK127=
26985 WXGTK20=
26986 WXGPE=
26987
26988 if test "$wxUSE_COCOA" = 1 ; then
26989 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26990 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26991 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26992 wxUSE_PRINTING_ARCHITECTURE=no
26993 fi
26994 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26995 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26996 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26997 wxUSE_DRAG_AND_DROP=no
26998 fi
26999 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27000 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27001 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27002 wxUSE_DRAGIMAGE=no
27003 fi
27004 fi
27005
27006 if test "$wxUSE_MSW" = 1 ; then
27007 TOOLKIT=MSW
27008 GUIDIST=MSW_DIST
27009
27010 case "${host}" in
27011 *-*-mingw32* )
27012 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27013 esac
27014 fi
27015
27016 if test "$wxUSE_GTK" = 1; then
27017 ac_ext=c
27018 ac_cpp='$CPP $CPPFLAGS'
27019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27022
27023
27024 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27025 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27026
27027 gtk_version_cached=1
27028 if test "${wx_cv_lib_gtk+set}" = set; then
27029 echo $ECHO_N "(cached) $ECHO_C" >&6
27030 else
27031
27032 gtk_version_cached=0
27033 echo "$as_me:$LINENO: result: " >&5
27034 echo "${ECHO_T}" >&6
27035
27036 GTK_MODULES=
27037 if test "$wxUSE_THREADS" = "yes"; then
27038 GTK_MODULES=gthread
27039 fi
27040
27041 wx_cv_lib_gtk=
27042 if test "x$wxGTK_VERSION" != "x1"
27043 then
27044 case "${host}" in
27045 *-*-solaris2* )
27046 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27047 enable_gtktest=no
27048 fi
27049 esac
27050
27051 # Check whether --enable-gtktest or --disable-gtktest was given.
27052 if test "${enable_gtktest+set}" = set; then
27053 enableval="$enable_gtktest"
27054
27055 else
27056 enable_gtktest=yes
27057 fi;
27058
27059 pkg_config_args=gtk+-2.0
27060 for module in . $GTK_MODULES
27061 do
27062 case "$module" in
27063 gthread)
27064 pkg_config_args="$pkg_config_args gthread-2.0"
27065 ;;
27066 esac
27067 done
27068
27069 no_gtk=""
27070
27071 # Extract the first word of "pkg-config", so it can be a program name with args.
27072 set dummy pkg-config; ac_word=$2
27073 echo "$as_me:$LINENO: checking for $ac_word" >&5
27074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27075 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 else
27078 case $PKG_CONFIG in
27079 [\\/]* | ?:[\\/]*)
27080 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27081 ;;
27082 *)
27083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27084 for as_dir in $PATH
27085 do
27086 IFS=$as_save_IFS
27087 test -z "$as_dir" && as_dir=.
27088 for ac_exec_ext in '' $ac_executable_extensions; do
27089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27090 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27092 break 2
27093 fi
27094 done
27095 done
27096
27097 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27098 ;;
27099 esac
27100 fi
27101 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27102
27103 if test -n "$PKG_CONFIG"; then
27104 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27105 echo "${ECHO_T}$PKG_CONFIG" >&6
27106 else
27107 echo "$as_me:$LINENO: result: no" >&5
27108 echo "${ECHO_T}no" >&6
27109 fi
27110
27111
27112 if test x$PKG_CONFIG != xno ; then
27113 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27114 :
27115 else
27116 echo "*** pkg-config too old; version 0.7 or better required."
27117 no_gtk=yes
27118 PKG_CONFIG=no
27119 fi
27120 else
27121 no_gtk=yes
27122 fi
27123
27124 min_gtk_version=2.0.0
27125 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27126 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27127
27128 if test x$PKG_CONFIG != xno ; then
27129 ## don't try to run the test against uninstalled libtool libs
27130 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27131 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27132 enable_gtktest=no
27133 fi
27134
27135 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27136 :
27137 else
27138 no_gtk=yes
27139 fi
27140 fi
27141
27142 if test x"$no_gtk" = x ; then
27143 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27144 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27145 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27147 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27149 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27150 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27151 if test "x$enable_gtktest" = "xyes" ; then
27152 ac_save_CFLAGS="$CFLAGS"
27153 ac_save_LIBS="$LIBS"
27154 CFLAGS="$CFLAGS $GTK_CFLAGS"
27155 LIBS="$GTK_LIBS $LIBS"
27156 rm -f conf.gtktest
27157 if test "$cross_compiling" = yes; then
27158 echo $ac_n "cross compiling; assumed OK... $ac_c"
27159 else
27160 cat >conftest.$ac_ext <<_ACEOF
27161 /* confdefs.h. */
27162 _ACEOF
27163 cat confdefs.h >>conftest.$ac_ext
27164 cat >>conftest.$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27166
27167 #include <gtk/gtk.h>
27168 #include <stdio.h>
27169 #include <stdlib.h>
27170
27171 int
27172 main ()
27173 {
27174 int major, minor, micro;
27175 char *tmp_version;
27176
27177 system ("touch conf.gtktest");
27178
27179 /* HP/UX 9 (%@#!) writes to sscanf strings */
27180 tmp_version = g_strdup("$min_gtk_version");
27181 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27182 printf("%s, bad version string\n", "$min_gtk_version");
27183 exit(1);
27184 }
27185
27186 if ((gtk_major_version != $gtk_config_major_version) ||
27187 (gtk_minor_version != $gtk_config_minor_version) ||
27188 (gtk_micro_version != $gtk_config_micro_version))
27189 {
27190 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27191 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27192 gtk_major_version, gtk_minor_version, gtk_micro_version);
27193 printf ("*** was found! If pkg-config was correct, then it is best\n");
27194 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27195 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27196 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27197 printf("*** required on your system.\n");
27198 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27199 printf("*** to point to the correct configuration files\n");
27200 }
27201 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27202 (gtk_minor_version != GTK_MINOR_VERSION) ||
27203 (gtk_micro_version != GTK_MICRO_VERSION))
27204 {
27205 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27206 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27207 printf("*** library (version %d.%d.%d)\n",
27208 gtk_major_version, gtk_minor_version, gtk_micro_version);
27209 }
27210 else
27211 {
27212 if ((gtk_major_version > major) ||
27213 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27214 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27215 {
27216 return 0;
27217 }
27218 else
27219 {
27220 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27221 gtk_major_version, gtk_minor_version, gtk_micro_version);
27222 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27223 major, minor, micro);
27224 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27225 printf("***\n");
27226 printf("*** If you have already installed a sufficiently new version, this error\n");
27227 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27228 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27229 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27230 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27231 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27232 printf("*** so that the correct libraries are found at run-time))\n");
27233 }
27234 }
27235 return 1;
27236 }
27237
27238 _ACEOF
27239 rm -f conftest$ac_exeext
27240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27241 (eval $ac_link) 2>&5
27242 ac_status=$?
27243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27246 (eval $ac_try) 2>&5
27247 ac_status=$?
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); }; }; then
27250 :
27251 else
27252 echo "$as_me: program exited with status $ac_status" >&5
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.$ac_ext >&5
27255
27256 ( exit $ac_status )
27257 no_gtk=yes
27258 fi
27259 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27260 fi
27261 CFLAGS="$ac_save_CFLAGS"
27262 LIBS="$ac_save_LIBS"
27263 fi
27264 fi
27265 if test "x$no_gtk" = x ; then
27266 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27267 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27268 wx_cv_lib_gtk=2.0
27269 else
27270 echo "$as_me:$LINENO: result: no" >&5
27271 echo "${ECHO_T}no" >&6
27272 if test "$PKG_CONFIG" = "no" ; then
27273 echo "*** A new enough version of pkg-config was not found."
27274 echo "*** See http://pkgconfig.sourceforge.net"
27275 else
27276 if test -f conf.gtktest ; then
27277 :
27278 else
27279 echo "*** Could not run GTK+ test program, checking why..."
27280 ac_save_CFLAGS="$CFLAGS"
27281 ac_save_LIBS="$LIBS"
27282 CFLAGS="$CFLAGS $GTK_CFLAGS"
27283 LIBS="$LIBS $GTK_LIBS"
27284 cat >conftest.$ac_ext <<_ACEOF
27285 /* confdefs.h. */
27286 _ACEOF
27287 cat confdefs.h >>conftest.$ac_ext
27288 cat >>conftest.$ac_ext <<_ACEOF
27289 /* end confdefs.h. */
27290
27291 #include <gtk/gtk.h>
27292 #include <stdio.h>
27293
27294 int
27295 main ()
27296 {
27297 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27298 ;
27299 return 0;
27300 }
27301 _ACEOF
27302 rm -f conftest.$ac_objext conftest$ac_exeext
27303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27304 (eval $ac_link) 2>conftest.er1
27305 ac_status=$?
27306 grep -v '^ *+' conftest.er1 >conftest.err
27307 rm -f conftest.er1
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } &&
27311 { ac_try='test -z "$ac_c_werror_flag"
27312 || test ! -s conftest.err'
27313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27314 (eval $ac_try) 2>&5
27315 ac_status=$?
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); }; } &&
27318 { ac_try='test -s conftest$ac_exeext'
27319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27320 (eval $ac_try) 2>&5
27321 ac_status=$?
27322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27323 (exit $ac_status); }; }; then
27324 echo "*** The test program compiled, but did not run. This usually means"
27325 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27326 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27327 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27328 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27329 echo "*** is required on your system"
27330 echo "***"
27331 echo "*** If you have an old version installed, it is best to remove it, although"
27332 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27333 else
27334 echo "$as_me: failed program was:" >&5
27335 sed 's/^/| /' conftest.$ac_ext >&5
27336
27337 echo "*** The test program failed to compile or link. See the file config.log for the"
27338 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27339 fi
27340 rm -f conftest.err conftest.$ac_objext \
27341 conftest$ac_exeext conftest.$ac_ext
27342 CFLAGS="$ac_save_CFLAGS"
27343 LIBS="$ac_save_LIBS"
27344 fi
27345 fi
27346 GTK_CFLAGS=""
27347 GTK_LIBS=""
27348 :
27349 fi
27350
27351
27352 rm -f conf.gtktest
27353
27354
27355 case "${host}" in
27356 *-*-solaris2* )
27357 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27358 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27359 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27360 fi
27361 if test "$wxUSE_SHARED" != "yes"; then
27362 GTK_LIBS="$GTK_LIBS -lX11"
27363 fi
27364 esac
27365 fi
27366
27367 if test -z "$wx_cv_lib_gtk"; then
27368 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27369
27370 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27371 if test "${with_gtk_prefix+set}" = set; then
27372 withval="$with_gtk_prefix"
27373 gtk_config_prefix="$withval"
27374 else
27375 gtk_config_prefix=""
27376 fi;
27377
27378 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27379 if test "${with_gtk_exec_prefix+set}" = set; then
27380 withval="$with_gtk_exec_prefix"
27381 gtk_config_exec_prefix="$withval"
27382 else
27383 gtk_config_exec_prefix=""
27384 fi;
27385 # Check whether --enable-gtktest or --disable-gtktest was given.
27386 if test "${enable_gtktest+set}" = set; then
27387 enableval="$enable_gtktest"
27388
27389 else
27390 enable_gtktest=yes
27391 fi;
27392
27393 for module in . $GTK_MODULES
27394 do
27395 case "$module" in
27396 gthread)
27397 gtk_config_args="$gtk_config_args gthread"
27398 ;;
27399 esac
27400 done
27401
27402 if test x$gtk_config_exec_prefix != x ; then
27403 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27404 if test x${GTK_CONFIG+set} != xset ; then
27405 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27406 fi
27407 fi
27408 if test x$gtk_config_prefix != x ; then
27409 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27410 if test x${GTK_CONFIG+set} != xset ; then
27411 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27412 fi
27413 fi
27414
27415 # Extract the first word of "gtk-config", so it can be a program name with args.
27416 set dummy gtk-config; ac_word=$2
27417 echo "$as_me:$LINENO: checking for $ac_word" >&5
27418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27419 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27420 echo $ECHO_N "(cached) $ECHO_C" >&6
27421 else
27422 case $GTK_CONFIG in
27423 [\\/]* | ?:[\\/]*)
27424 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27425 ;;
27426 *)
27427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27428 for as_dir in $PATH
27429 do
27430 IFS=$as_save_IFS
27431 test -z "$as_dir" && as_dir=.
27432 for ac_exec_ext in '' $ac_executable_extensions; do
27433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27434 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27436 break 2
27437 fi
27438 done
27439 done
27440
27441 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27442 ;;
27443 esac
27444 fi
27445 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27446
27447 if test -n "$GTK_CONFIG"; then
27448 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27449 echo "${ECHO_T}$GTK_CONFIG" >&6
27450 else
27451 echo "$as_me:$LINENO: result: no" >&5
27452 echo "${ECHO_T}no" >&6
27453 fi
27454
27455 min_gtk_version=1.2.7
27456 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27457 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27458 no_gtk=""
27459 if test "$GTK_CONFIG" = "no" ; then
27460 no_gtk=yes
27461 else
27462 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27463 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27464 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27465 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27466 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27467 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27468 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27469 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27470 if test "x$enable_gtktest" = "xyes" ; then
27471 ac_save_CFLAGS="$CFLAGS"
27472 ac_save_LIBS="$LIBS"
27473 CFLAGS="$CFLAGS $GTK_CFLAGS"
27474 LIBS="$GTK_LIBS $LIBS"
27475 rm -f conf.gtktest
27476 if test "$cross_compiling" = yes; then
27477 echo $ac_n "cross compiling; assumed OK... $ac_c"
27478 else
27479 cat >conftest.$ac_ext <<_ACEOF
27480 /* confdefs.h. */
27481 _ACEOF
27482 cat confdefs.h >>conftest.$ac_ext
27483 cat >>conftest.$ac_ext <<_ACEOF
27484 /* end confdefs.h. */
27485
27486 #include <gtk/gtk.h>
27487 #include <stdio.h>
27488 #include <stdlib.h>
27489
27490 int
27491 main ()
27492 {
27493 int major, minor, micro;
27494 char *tmp_version;
27495
27496 system ("touch conf.gtktest");
27497
27498 /* HP/UX 9 (%@#!) writes to sscanf strings */
27499 tmp_version = g_strdup("$min_gtk_version");
27500 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27501 printf("%s, bad version string\n", "$min_gtk_version");
27502 exit(1);
27503 }
27504
27505 if ((gtk_major_version != $gtk_config_major_version) ||
27506 (gtk_minor_version != $gtk_config_minor_version) ||
27507 (gtk_micro_version != $gtk_config_micro_version))
27508 {
27509 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27510 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27511 gtk_major_version, gtk_minor_version, gtk_micro_version);
27512 printf ("*** was found! If gtk-config was correct, then it is best\n");
27513 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27514 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27515 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27516 printf("*** required on your system.\n");
27517 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27518 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27519 printf("*** before re-running configure\n");
27520 }
27521 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27522 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27523 (gtk_minor_version != GTK_MINOR_VERSION) ||
27524 (gtk_micro_version != GTK_MICRO_VERSION))
27525 {
27526 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27527 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27528 printf("*** library (version %d.%d.%d)\n",
27529 gtk_major_version, gtk_minor_version, gtk_micro_version);
27530 }
27531 #endif /* defined (GTK_MAJOR_VERSION) ... */
27532 else
27533 {
27534 if ((gtk_major_version > major) ||
27535 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27536 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27537 {
27538 return 0;
27539 }
27540 else
27541 {
27542 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27543 gtk_major_version, gtk_minor_version, gtk_micro_version);
27544 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27545 major, minor, micro);
27546 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27547 printf("***\n");
27548 printf("*** If you have already installed a sufficiently new version, this error\n");
27549 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27550 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27551 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27552 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27553 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27554 printf("*** so that the correct libraries are found at run-time))\n");
27555 }
27556 }
27557 return 1;
27558 }
27559
27560 _ACEOF
27561 rm -f conftest$ac_exeext
27562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27563 (eval $ac_link) 2>&5
27564 ac_status=$?
27565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27568 (eval $ac_try) 2>&5
27569 ac_status=$?
27570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27571 (exit $ac_status); }; }; then
27572 :
27573 else
27574 echo "$as_me: program exited with status $ac_status" >&5
27575 echo "$as_me: failed program was:" >&5
27576 sed 's/^/| /' conftest.$ac_ext >&5
27577
27578 ( exit $ac_status )
27579 no_gtk=yes
27580 fi
27581 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27582 fi
27583 CFLAGS="$ac_save_CFLAGS"
27584 LIBS="$ac_save_LIBS"
27585 fi
27586 fi
27587 if test "x$no_gtk" = x ; then
27588 echo "$as_me:$LINENO: result: yes" >&5
27589 echo "${ECHO_T}yes" >&6
27590 wx_cv_lib_gtk=1.2.7
27591 else
27592 echo "$as_me:$LINENO: result: no" >&5
27593 echo "${ECHO_T}no" >&6
27594 if test "$GTK_CONFIG" = "no" ; then
27595 echo "*** The gtk-config script installed by GTK could not be found"
27596 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27597 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27598 echo "*** full path to gtk-config."
27599 else
27600 if test -f conf.gtktest ; then
27601 :
27602 else
27603 echo "*** Could not run GTK test program, checking why..."
27604 CFLAGS="$CFLAGS $GTK_CFLAGS"
27605 LIBS="$LIBS $GTK_LIBS"
27606 cat >conftest.$ac_ext <<_ACEOF
27607 /* confdefs.h. */
27608 _ACEOF
27609 cat confdefs.h >>conftest.$ac_ext
27610 cat >>conftest.$ac_ext <<_ACEOF
27611 /* end confdefs.h. */
27612
27613 #include <gtk/gtk.h>
27614 #include <stdio.h>
27615
27616 int
27617 main ()
27618 {
27619 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27620 ;
27621 return 0;
27622 }
27623 _ACEOF
27624 rm -f conftest.$ac_objext conftest$ac_exeext
27625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27626 (eval $ac_link) 2>conftest.er1
27627 ac_status=$?
27628 grep -v '^ *+' conftest.er1 >conftest.err
27629 rm -f conftest.er1
27630 cat conftest.err >&5
27631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632 (exit $ac_status); } &&
27633 { ac_try='test -z "$ac_c_werror_flag"
27634 || test ! -s conftest.err'
27635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27636 (eval $ac_try) 2>&5
27637 ac_status=$?
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); }; } &&
27640 { ac_try='test -s conftest$ac_exeext'
27641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27642 (eval $ac_try) 2>&5
27643 ac_status=$?
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); }; }; then
27646 echo "*** The test program compiled, but did not run. This usually means"
27647 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27648 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27649 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27650 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27651 echo "*** is required on your system"
27652 echo "***"
27653 echo "*** If you have an old version installed, it is best to remove it, although"
27654 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27655 echo "***"
27656 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27657 echo "*** came with the system with the command"
27658 echo "***"
27659 echo "*** rpm --erase --nodeps gtk gtk-devel"
27660 else
27661 echo "$as_me: failed program was:" >&5
27662 sed 's/^/| /' conftest.$ac_ext >&5
27663
27664 echo "*** The test program failed to compile or link. See the file config.log for the"
27665 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27666 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27667 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27668 fi
27669 rm -f conftest.err conftest.$ac_objext \
27670 conftest$ac_exeext conftest.$ac_ext
27671 CFLAGS="$ac_save_CFLAGS"
27672 LIBS="$ac_save_LIBS"
27673 fi
27674 fi
27675 GTK_CFLAGS=""
27676 GTK_LIBS=""
27677 :
27678 fi
27679
27680
27681 rm -f conf.gtktest
27682
27683
27684 if test -z "$wx_cv_lib_gtk"; then
27685
27686 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27687 if test "${with_gtk_prefix+set}" = set; then
27688 withval="$with_gtk_prefix"
27689 gtk_config_prefix="$withval"
27690 else
27691 gtk_config_prefix=""
27692 fi;
27693
27694 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27695 if test "${with_gtk_exec_prefix+set}" = set; then
27696 withval="$with_gtk_exec_prefix"
27697 gtk_config_exec_prefix="$withval"
27698 else
27699 gtk_config_exec_prefix=""
27700 fi;
27701 # Check whether --enable-gtktest or --disable-gtktest was given.
27702 if test "${enable_gtktest+set}" = set; then
27703 enableval="$enable_gtktest"
27704
27705 else
27706 enable_gtktest=yes
27707 fi;
27708
27709 for module in . $GTK_MODULES
27710 do
27711 case "$module" in
27712 gthread)
27713 gtk_config_args="$gtk_config_args gthread"
27714 ;;
27715 esac
27716 done
27717
27718 if test x$gtk_config_exec_prefix != x ; then
27719 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27720 if test x${GTK_CONFIG+set} != xset ; then
27721 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27722 fi
27723 fi
27724 if test x$gtk_config_prefix != x ; then
27725 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27726 if test x${GTK_CONFIG+set} != xset ; then
27727 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27728 fi
27729 fi
27730
27731 # Extract the first word of "gtk-config", so it can be a program name with args.
27732 set dummy gtk-config; ac_word=$2
27733 echo "$as_me:$LINENO: checking for $ac_word" >&5
27734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27735 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27736 echo $ECHO_N "(cached) $ECHO_C" >&6
27737 else
27738 case $GTK_CONFIG in
27739 [\\/]* | ?:[\\/]*)
27740 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27741 ;;
27742 *)
27743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27744 for as_dir in $PATH
27745 do
27746 IFS=$as_save_IFS
27747 test -z "$as_dir" && as_dir=.
27748 for ac_exec_ext in '' $ac_executable_extensions; do
27749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27750 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27752 break 2
27753 fi
27754 done
27755 done
27756
27757 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27758 ;;
27759 esac
27760 fi
27761 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27762
27763 if test -n "$GTK_CONFIG"; then
27764 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27765 echo "${ECHO_T}$GTK_CONFIG" >&6
27766 else
27767 echo "$as_me:$LINENO: result: no" >&5
27768 echo "${ECHO_T}no" >&6
27769 fi
27770
27771 min_gtk_version=1.2.3
27772 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27773 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27774 no_gtk=""
27775 if test "$GTK_CONFIG" = "no" ; then
27776 no_gtk=yes
27777 else
27778 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27779 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27780 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27781 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27782 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27783 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27784 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27785 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27786 if test "x$enable_gtktest" = "xyes" ; then
27787 ac_save_CFLAGS="$CFLAGS"
27788 ac_save_LIBS="$LIBS"
27789 CFLAGS="$CFLAGS $GTK_CFLAGS"
27790 LIBS="$GTK_LIBS $LIBS"
27791 rm -f conf.gtktest
27792 if test "$cross_compiling" = yes; then
27793 echo $ac_n "cross compiling; assumed OK... $ac_c"
27794 else
27795 cat >conftest.$ac_ext <<_ACEOF
27796 /* confdefs.h. */
27797 _ACEOF
27798 cat confdefs.h >>conftest.$ac_ext
27799 cat >>conftest.$ac_ext <<_ACEOF
27800 /* end confdefs.h. */
27801
27802 #include <gtk/gtk.h>
27803 #include <stdio.h>
27804 #include <stdlib.h>
27805
27806 int
27807 main ()
27808 {
27809 int major, minor, micro;
27810 char *tmp_version;
27811
27812 system ("touch conf.gtktest");
27813
27814 /* HP/UX 9 (%@#!) writes to sscanf strings */
27815 tmp_version = g_strdup("$min_gtk_version");
27816 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27817 printf("%s, bad version string\n", "$min_gtk_version");
27818 exit(1);
27819 }
27820
27821 if ((gtk_major_version != $gtk_config_major_version) ||
27822 (gtk_minor_version != $gtk_config_minor_version) ||
27823 (gtk_micro_version != $gtk_config_micro_version))
27824 {
27825 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27826 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27827 gtk_major_version, gtk_minor_version, gtk_micro_version);
27828 printf ("*** was found! If gtk-config was correct, then it is best\n");
27829 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27830 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27831 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27832 printf("*** required on your system.\n");
27833 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27834 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27835 printf("*** before re-running configure\n");
27836 }
27837 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27838 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27839 (gtk_minor_version != GTK_MINOR_VERSION) ||
27840 (gtk_micro_version != GTK_MICRO_VERSION))
27841 {
27842 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27843 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27844 printf("*** library (version %d.%d.%d)\n",
27845 gtk_major_version, gtk_minor_version, gtk_micro_version);
27846 }
27847 #endif /* defined (GTK_MAJOR_VERSION) ... */
27848 else
27849 {
27850 if ((gtk_major_version > major) ||
27851 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27852 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27853 {
27854 return 0;
27855 }
27856 else
27857 {
27858 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27859 gtk_major_version, gtk_minor_version, gtk_micro_version);
27860 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27861 major, minor, micro);
27862 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27863 printf("***\n");
27864 printf("*** If you have already installed a sufficiently new version, this error\n");
27865 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27866 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27867 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27868 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27869 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27870 printf("*** so that the correct libraries are found at run-time))\n");
27871 }
27872 }
27873 return 1;
27874 }
27875
27876 _ACEOF
27877 rm -f conftest$ac_exeext
27878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27879 (eval $ac_link) 2>&5
27880 ac_status=$?
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27884 (eval $ac_try) 2>&5
27885 ac_status=$?
27886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887 (exit $ac_status); }; }; then
27888 :
27889 else
27890 echo "$as_me: program exited with status $ac_status" >&5
27891 echo "$as_me: failed program was:" >&5
27892 sed 's/^/| /' conftest.$ac_ext >&5
27893
27894 ( exit $ac_status )
27895 no_gtk=yes
27896 fi
27897 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27898 fi
27899 CFLAGS="$ac_save_CFLAGS"
27900 LIBS="$ac_save_LIBS"
27901 fi
27902 fi
27903 if test "x$no_gtk" = x ; then
27904 echo "$as_me:$LINENO: result: yes" >&5
27905 echo "${ECHO_T}yes" >&6
27906 wx_cv_lib_gtk=1.2.3
27907 else
27908 echo "$as_me:$LINENO: result: no" >&5
27909 echo "${ECHO_T}no" >&6
27910 if test "$GTK_CONFIG" = "no" ; then
27911 echo "*** The gtk-config script installed by GTK could not be found"
27912 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27913 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27914 echo "*** full path to gtk-config."
27915 else
27916 if test -f conf.gtktest ; then
27917 :
27918 else
27919 echo "*** Could not run GTK test program, checking why..."
27920 CFLAGS="$CFLAGS $GTK_CFLAGS"
27921 LIBS="$LIBS $GTK_LIBS"
27922 cat >conftest.$ac_ext <<_ACEOF
27923 /* confdefs.h. */
27924 _ACEOF
27925 cat confdefs.h >>conftest.$ac_ext
27926 cat >>conftest.$ac_ext <<_ACEOF
27927 /* end confdefs.h. */
27928
27929 #include <gtk/gtk.h>
27930 #include <stdio.h>
27931
27932 int
27933 main ()
27934 {
27935 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27936 ;
27937 return 0;
27938 }
27939 _ACEOF
27940 rm -f conftest.$ac_objext conftest$ac_exeext
27941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27942 (eval $ac_link) 2>conftest.er1
27943 ac_status=$?
27944 grep -v '^ *+' conftest.er1 >conftest.err
27945 rm -f conftest.er1
27946 cat conftest.err >&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } &&
27949 { ac_try='test -z "$ac_c_werror_flag"
27950 || test ! -s conftest.err'
27951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27952 (eval $ac_try) 2>&5
27953 ac_status=$?
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); }; } &&
27956 { ac_try='test -s conftest$ac_exeext'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27959 ac_status=$?
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; }; then
27962 echo "*** The test program compiled, but did not run. This usually means"
27963 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27964 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27965 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27966 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27967 echo "*** is required on your system"
27968 echo "***"
27969 echo "*** If you have an old version installed, it is best to remove it, although"
27970 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27971 echo "***"
27972 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27973 echo "*** came with the system with the command"
27974 echo "***"
27975 echo "*** rpm --erase --nodeps gtk gtk-devel"
27976 else
27977 echo "$as_me: failed program was:" >&5
27978 sed 's/^/| /' conftest.$ac_ext >&5
27979
27980 echo "*** The test program failed to compile or link. See the file config.log for the"
27981 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27982 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27983 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27984 fi
27985 rm -f conftest.err conftest.$ac_objext \
27986 conftest$ac_exeext conftest.$ac_ext
27987 CFLAGS="$ac_save_CFLAGS"
27988 LIBS="$ac_save_LIBS"
27989 fi
27990 fi
27991 GTK_CFLAGS=""
27992 GTK_LIBS=""
27993 :
27994 fi
27995
27996
27997 rm -f conf.gtktest
27998
27999 fi
28000 fi
28001 fi
28002
28003 if test -z "$wx_cv_lib_gtk"; then
28004 wx_cv_lib_gtk=none
28005 else
28006 wx_cv_cflags_gtk=$GTK_CFLAGS
28007 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28008 fi
28009
28010
28011 fi
28012
28013
28014 if test "$gtk_version_cached" = 1; then
28015 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28016 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28017 fi
28018
28019 case "$wx_cv_lib_gtk" in
28020 2.0) WXGTK20=1
28021 TOOLKIT_VERSION=2
28022 ;;
28023 1.2.7) WXGTK127=1
28024 WXGTK12=1
28025 ;;
28026 1.2.3) WXGTK12=1
28027 ;;
28028 *) { { echo "$as_me:$LINENO: error:
28029 The development files for GTK+ were not found. For GTK+ 2, please
28030 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28031 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28032 and that the version is 1.2.3 or above. Also check that the
28033 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28034 --libs' are in the LD_LIBRARY_PATH or equivalent.
28035 " >&5
28036 echo "$as_me: error:
28037 The development files for GTK+ were not found. For GTK+ 2, please
28038 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28039 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28040 and that the version is 1.2.3 or above. Also check that the
28041 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28042 --libs' are in the LD_LIBRARY_PATH or equivalent.
28043 " >&2;}
28044 { (exit 1); exit 1; }; }
28045 ;;
28046 esac
28047
28048 if test "$WXGTK20" = 1; then
28049 save_CFLAGS="$CFLAGS"
28050 save_LIBS="$LIBS"
28051 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28052 LIBS="$LIBS $wx_cv_libs_gtk"
28053
28054 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
28055 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
28056 cat >conftest.$ac_ext <<_ACEOF
28057 /* confdefs.h. */
28058 _ACEOF
28059 cat confdefs.h >>conftest.$ac_ext
28060 cat >>conftest.$ac_ext <<_ACEOF
28061 /* end confdefs.h. */
28062
28063 #include <gtk/gtk.h>
28064
28065 int
28066 main ()
28067 {
28068
28069 void *f = gtk_icon_size_lookup;
28070
28071 ;
28072 return 0;
28073 }
28074 _ACEOF
28075 rm -f conftest.$ac_objext
28076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28077 (eval $ac_compile) 2>conftest.er1
28078 ac_status=$?
28079 grep -v '^ *+' conftest.er1 >conftest.err
28080 rm -f conftest.er1
28081 cat conftest.err >&5
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); } &&
28084 { ac_try='test -z "$ac_c_werror_flag"
28085 || test ! -s conftest.err'
28086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28087 (eval $ac_try) 2>&5
28088 ac_status=$?
28089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28090 (exit $ac_status); }; } &&
28091 { ac_try='test -s conftest.$ac_objext'
28092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28093 (eval $ac_try) 2>&5
28094 ac_status=$?
28095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096 (exit $ac_status); }; }; then
28097
28098 echo "$as_me:$LINENO: result: no" >&5
28099 echo "${ECHO_T}no" >&6
28100
28101 else
28102 echo "$as_me: failed program was:" >&5
28103 sed 's/^/| /' conftest.$ac_ext >&5
28104
28105
28106 cat >>confdefs.h <<\_ACEOF
28107 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28108 _ACEOF
28109
28110 echo "$as_me:$LINENO: result: yes" >&5
28111 echo "${ECHO_T}yes" >&6
28112
28113 fi
28114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28115
28116 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28117 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28118 cat >conftest.$ac_ext <<_ACEOF
28119 /* confdefs.h. */
28120 _ACEOF
28121 cat confdefs.h >>conftest.$ac_ext
28122 cat >>conftest.$ac_ext <<_ACEOF
28123 /* end confdefs.h. */
28124
28125 #include <gtk/gtk.h>
28126
28127 int
28128 main ()
28129 {
28130
28131 #if !GTK_CHECK_VERSION(2,6,0)
28132 Not GTK+ 2.6
28133 #endif
28134
28135 ;
28136 return 0;
28137 }
28138 _ACEOF
28139 rm -f conftest.$ac_objext
28140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28141 (eval $ac_compile) 2>conftest.er1
28142 ac_status=$?
28143 grep -v '^ *+' conftest.er1 >conftest.err
28144 rm -f conftest.er1
28145 cat conftest.err >&5
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); } &&
28148 { ac_try='test -z "$ac_c_werror_flag"
28149 || test ! -s conftest.err'
28150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28151 (eval $ac_try) 2>&5
28152 ac_status=$?
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); }; } &&
28155 { ac_try='test -s conftest.$ac_objext'
28156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28157 (eval $ac_try) 2>&5
28158 ac_status=$?
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); }; }; then
28161
28162 cat >>confdefs.h <<\_ACEOF
28163 #define __WXGTK26__ 1
28164 _ACEOF
28165
28166 cat >>confdefs.h <<\_ACEOF
28167 #define __WXGTK24__ 1
28168 _ACEOF
28169
28170 echo "$as_me:$LINENO: result: yes" >&5
28171 echo "${ECHO_T}yes" >&6
28172 ac_wxgtk26=1
28173
28174 else
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.$ac_ext >&5
28177
28178
28179 echo "$as_me:$LINENO: result: no" >&5
28180 echo "${ECHO_T}no" >&6
28181 ac_wxgtk26=0
28182
28183 fi
28184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28185
28186 if test "$ac_wxgtk26" = 0; then
28187 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28188 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28189 cat >conftest.$ac_ext <<_ACEOF
28190 /* confdefs.h. */
28191 _ACEOF
28192 cat confdefs.h >>conftest.$ac_ext
28193 cat >>conftest.$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28195
28196 #include <gtk/gtk.h>
28197
28198 int
28199 main ()
28200 {
28201
28202 #if !GTK_CHECK_VERSION(2,4,0)
28203 Not GTK+ 2.4
28204 #endif
28205
28206 ;
28207 return 0;
28208 }
28209 _ACEOF
28210 rm -f conftest.$ac_objext
28211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28212 (eval $ac_compile) 2>conftest.er1
28213 ac_status=$?
28214 grep -v '^ *+' conftest.er1 >conftest.err
28215 rm -f conftest.er1
28216 cat conftest.err >&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); } &&
28219 { ac_try='test -z "$ac_c_werror_flag"
28220 || test ! -s conftest.err'
28221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28222 (eval $ac_try) 2>&5
28223 ac_status=$?
28224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28225 (exit $ac_status); }; } &&
28226 { ac_try='test -s conftest.$ac_objext'
28227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28228 (eval $ac_try) 2>&5
28229 ac_status=$?
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); }; }; then
28232
28233 cat >>confdefs.h <<\_ACEOF
28234 #define __WXGTK24__ 1
28235 _ACEOF
28236
28237 echo "$as_me:$LINENO: result: yes" >&5
28238 echo "${ECHO_T}yes" >&6
28239
28240 else
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28243
28244
28245 echo "$as_me:$LINENO: result: no" >&5
28246 echo "${ECHO_T}no" >&6
28247
28248 fi
28249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28250 fi
28251
28252 CFLAGS="$save_CFLAGS"
28253 LIBS="$save_LIBS"
28254 else
28255 if test "$wxUSE_UNICODE" = "yes"; then
28256 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28257 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28258 wxUSE_UNICODE=no
28259 fi
28260 fi
28261
28262 ac_ext=cc
28263 ac_cpp='$CXXCPP $CPPFLAGS'
28264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28267
28268
28269 if test "$USE_DARWIN" != 1; then
28270
28271 for ac_func in poll
28272 do
28273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28274 echo "$as_me:$LINENO: checking for $ac_func" >&5
28275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28276 if eval "test \"\${$as_ac_var+set}\" = set"; then
28277 echo $ECHO_N "(cached) $ECHO_C" >&6
28278 else
28279 cat >conftest.$ac_ext <<_ACEOF
28280 /* confdefs.h. */
28281 _ACEOF
28282 cat confdefs.h >>conftest.$ac_ext
28283 cat >>conftest.$ac_ext <<_ACEOF
28284 /* end confdefs.h. */
28285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28287 #define $ac_func innocuous_$ac_func
28288
28289 /* System header to define __stub macros and hopefully few prototypes,
28290 which can conflict with char $ac_func (); below.
28291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28292 <limits.h> exists even on freestanding compilers. */
28293
28294 #ifdef __STDC__
28295 # include <limits.h>
28296 #else
28297 # include <assert.h>
28298 #endif
28299
28300 #undef $ac_func
28301
28302 /* Override any gcc2 internal prototype to avoid an error. */
28303 #ifdef __cplusplus
28304 extern "C"
28305 {
28306 #endif
28307 /* We use char because int might match the return type of a gcc2
28308 builtin and then its argument prototype would still apply. */
28309 char $ac_func ();
28310 /* The GNU C library defines this for functions which it implements
28311 to always fail with ENOSYS. Some functions are actually named
28312 something starting with __ and the normal name is an alias. */
28313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28314 choke me
28315 #else
28316 char (*f) () = $ac_func;
28317 #endif
28318 #ifdef __cplusplus
28319 }
28320 #endif
28321
28322 int
28323 main ()
28324 {
28325 return f != $ac_func;
28326 ;
28327 return 0;
28328 }
28329 _ACEOF
28330 rm -f conftest.$ac_objext conftest$ac_exeext
28331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28332 (eval $ac_link) 2>conftest.er1
28333 ac_status=$?
28334 grep -v '^ *+' conftest.er1 >conftest.err
28335 rm -f conftest.er1
28336 cat conftest.err >&5
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); } &&
28339 { ac_try='test -z "$ac_cxx_werror_flag"
28340 || test ! -s conftest.err'
28341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28342 (eval $ac_try) 2>&5
28343 ac_status=$?
28344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28345 (exit $ac_status); }; } &&
28346 { ac_try='test -s conftest$ac_exeext'
28347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28348 (eval $ac_try) 2>&5
28349 ac_status=$?
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 (exit $ac_status); }; }; then
28352 eval "$as_ac_var=yes"
28353 else
28354 echo "$as_me: failed program was:" >&5
28355 sed 's/^/| /' conftest.$ac_ext >&5
28356
28357 eval "$as_ac_var=no"
28358 fi
28359 rm -f conftest.err conftest.$ac_objext \
28360 conftest$ac_exeext conftest.$ac_ext
28361 fi
28362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28364 if test `eval echo '${'$as_ac_var'}'` = yes; then
28365 cat >>confdefs.h <<_ACEOF
28366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28367 _ACEOF
28368
28369 fi
28370 done
28371
28372 fi
28373
28374 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28375 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28376
28377 AFMINSTALL=afminstall
28378 TOOLKIT=GTK
28379 GUIDIST=GTK_DIST
28380
28381 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28382 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28383 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28384 echo $ECHO_N "(cached) $ECHO_C" >&6
28385 else
28386 ac_check_lib_save_LIBS=$LIBS
28387 LIBS="-lgdk $LIBS"
28388 cat >conftest.$ac_ext <<_ACEOF
28389 /* confdefs.h. */
28390 _ACEOF
28391 cat confdefs.h >>conftest.$ac_ext
28392 cat >>conftest.$ac_ext <<_ACEOF
28393 /* end confdefs.h. */
28394
28395 /* Override any gcc2 internal prototype to avoid an error. */
28396 #ifdef __cplusplus
28397 extern "C"
28398 #endif
28399 /* We use char because int might match the return type of a gcc2
28400 builtin and then its argument prototype would still apply. */
28401 char gdk_im_open ();
28402 int
28403 main ()
28404 {
28405 gdk_im_open ();
28406 ;
28407 return 0;
28408 }
28409 _ACEOF
28410 rm -f conftest.$ac_objext conftest$ac_exeext
28411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28412 (eval $ac_link) 2>conftest.er1
28413 ac_status=$?
28414 grep -v '^ *+' conftest.er1 >conftest.err
28415 rm -f conftest.er1
28416 cat conftest.err >&5
28417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28418 (exit $ac_status); } &&
28419 { ac_try='test -z "$ac_cxx_werror_flag"
28420 || test ! -s conftest.err'
28421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28422 (eval $ac_try) 2>&5
28423 ac_status=$?
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 (exit $ac_status); }; } &&
28426 { ac_try='test -s conftest$ac_exeext'
28427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28428 (eval $ac_try) 2>&5
28429 ac_status=$?
28430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28431 (exit $ac_status); }; }; then
28432 ac_cv_lib_gdk_gdk_im_open=yes
28433 else
28434 echo "$as_me: failed program was:" >&5
28435 sed 's/^/| /' conftest.$ac_ext >&5
28436
28437 ac_cv_lib_gdk_gdk_im_open=no
28438 fi
28439 rm -f conftest.err conftest.$ac_objext \
28440 conftest$ac_exeext conftest.$ac_ext
28441 LIBS=$ac_check_lib_save_LIBS
28442 fi
28443 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28444 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28445 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28446 cat >>confdefs.h <<\_ACEOF
28447 #define HAVE_XIM 1
28448 _ACEOF
28449
28450 fi
28451
28452
28453
28454 if test "$wxUSE_GPE" = "yes"; then
28455 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28456 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28457
28458 ac_find_libraries=
28459 for ac_dir in $SEARCH_LIB;
28460 do
28461 for ac_extension in a so sl dylib dll.a; do
28462 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28463 ac_find_libraries=$ac_dir
28464 break 2
28465 fi
28466 done
28467 done
28468
28469 if test "$ac_find_libraries" != "" ; then
28470
28471 if test "$ac_find_libraries" = "default location"; then
28472 ac_path_to_link=""
28473 else
28474 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28475 result=$?
28476 if test $result = 0; then
28477 ac_path_to_link=""
28478 else
28479 ac_path_to_link=" -L$ac_find_libraries"
28480 fi
28481 fi
28482
28483 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28484 WXGPE=1
28485 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28486 echo "${ECHO_T}found in $ac_find_libraries" >&6
28487 else
28488 echo "$as_me:$LINENO: result: not found" >&5
28489 echo "${ECHO_T}not found" >&6
28490 fi
28491
28492 fi
28493 fi
28494
28495 if test "$wxUSE_MGL" = 1; then
28496 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28497 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28498 if test "x$MGL_ROOT" = x ; then
28499 echo "$as_me:$LINENO: result: not found" >&5
28500 echo "${ECHO_T}not found" >&6
28501 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28502 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28503 { (exit 1); exit 1; }; }
28504 else
28505 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28506 echo "${ECHO_T}$MGL_ROOT" >&6
28507 fi
28508
28509 echo "$as_me:$LINENO: checking for libmgl location" >&5
28510 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28511 case "${host}" in
28512 *-*-linux* )
28513 if test "x$wxUSE_SHARED" = xyes ; then
28514 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28515 else
28516 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28517 fi
28518 ;;
28519 *-pc-msdosdjgpp )
28520 mgl_os_candidates="dos32/dj2"
28521 ;;
28522 *)
28523 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28524 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28525 { (exit 1); exit 1; }; }
28526 esac
28527
28528 mgl_lib_type=""
28529 mgl_os=""
28530
28531 for mgl_os_i in $mgl_os_candidates ; do
28532 if test "x$mgl_os" = x ; then
28533 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28534 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28535 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28536 mgl_lib_type=debug
28537 mgl_os=$mgl_os_i
28538 fi
28539 fi
28540 if test "x$mgl_lib_type" = x ; then
28541 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28542 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28543 mgl_lib_type=release
28544 mgl_os=$mgl_os_i
28545 fi
28546 fi
28547 fi
28548 done
28549
28550 if test "x$mgl_os" = x ; then
28551 echo "$as_me:$LINENO: result: not found" >&5
28552 echo "${ECHO_T}not found" >&6
28553 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28554 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28555 { (exit 1); exit 1; }; }
28556 fi
28557 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28558 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28559
28560 wxUSE_UNIVERSAL="yes"
28561
28562 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28563 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28564
28565 AFMINSTALL=afminstall
28566 TOOLKIT=MGL
28567 GUIDIST=MGL_DIST
28568 fi
28569
28570 if test "$wxUSE_MICROWIN" = 1; then
28571 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28572 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28573 if test "x$MICROWINDOWS" = x ; then
28574 echo "$as_me:$LINENO: result: not found" >&5
28575 echo "${ECHO_T}not found" >&6
28576 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28577 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28578 { (exit 1); exit 1; }; }
28579 else
28580 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28581 echo "${ECHO_T}$MICROWINDOWS" >&6
28582 fi
28583
28584 if test -f $MICROWINDOWS/lib/libmwin.a; then
28585 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28586 echo "${ECHO_T}MicroWindows' libraries found." >&6
28587 else
28588 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28589 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28590 { (exit 1); exit 1; }; }
28591 fi
28592
28593 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28594 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28595
28596 wxUSE_UNIVERSAL="yes"
28597
28598 AFMINSTALL=afminstall
28599 TOOLKIT=MICROWIN
28600 GUIDIST=MICROWIN_DIST
28601
28602 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28603 fi
28604
28605 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28606 echo "$as_me:$LINENO: checking for X" >&5
28607 echo $ECHO_N "checking for X... $ECHO_C" >&6
28608
28609
28610 # Check whether --with-x or --without-x was given.
28611 if test "${with_x+set}" = set; then
28612 withval="$with_x"
28613
28614 fi;
28615 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28616 if test "x$with_x" = xno; then
28617 # The user explicitly disabled X.
28618 have_x=disabled
28619 else
28620 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
28621 # Both variables are already set.
28622 have_x=yes
28623 else
28624 if test "${ac_cv_have_x+set}" = set; then
28625 echo $ECHO_N "(cached) $ECHO_C" >&6
28626 else
28627 # One or both of the vars are not set, and there is no cached value.
28628 ac_x_includes=no ac_x_libraries=no
28629 rm -fr conftest.dir
28630 if mkdir conftest.dir; then
28631 cd conftest.dir
28632 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28633 cat >Imakefile <<'_ACEOF'
28634 acfindx:
28635 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28636 _ACEOF
28637 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
28638 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28639 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28640 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28641 for ac_extension in a so sl; do
28642 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28643 test -f $ac_im_libdir/libX11.$ac_extension; then
28644 ac_im_usrlibdir=$ac_im_libdir; break
28645 fi
28646 done
28647 # Screen out bogus values from the imake configuration. They are
28648 # bogus both because they are the default anyway, and because
28649 # using them would break gcc on systems where it needs fixed includes.
28650 case $ac_im_incroot in
28651 /usr/include) ;;
28652 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28653 esac
28654 case $ac_im_usrlibdir in
28655 /usr/lib | /lib) ;;
28656 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28657 esac
28658 fi
28659 cd ..
28660 rm -fr conftest.dir
28661 fi
28662
28663 # Standard set of common directories for X headers.
28664 # Check X11 before X11Rn because it is often a symlink to the current release.
28665 ac_x_header_dirs='
28666 /usr/X11/include
28667 /usr/X11R6/include
28668 /usr/X11R5/include
28669 /usr/X11R4/include
28670
28671 /usr/include/X11
28672 /usr/include/X11R6
28673 /usr/include/X11R5
28674 /usr/include/X11R4
28675
28676 /usr/local/X11/include
28677 /usr/local/X11R6/include
28678 /usr/local/X11R5/include
28679 /usr/local/X11R4/include
28680
28681 /usr/local/include/X11
28682 /usr/local/include/X11R6
28683 /usr/local/include/X11R5
28684 /usr/local/include/X11R4
28685
28686 /usr/X386/include
28687 /usr/x386/include
28688 /usr/XFree86/include/X11
28689
28690 /usr/include
28691 /usr/local/include
28692 /usr/unsupported/include
28693 /usr/athena/include
28694 /usr/local/x11r5/include
28695 /usr/lpp/Xamples/include
28696
28697 /usr/openwin/include
28698 /usr/openwin/share/include'
28699
28700 if test "$ac_x_includes" = no; then
28701 # Guess where to find include files, by looking for Intrinsic.h.
28702 # First, try using that file with no special directory specified.
28703 cat >conftest.$ac_ext <<_ACEOF
28704 /* confdefs.h. */
28705 _ACEOF
28706 cat confdefs.h >>conftest.$ac_ext
28707 cat >>conftest.$ac_ext <<_ACEOF
28708 /* end confdefs.h. */
28709 #include <X11/Intrinsic.h>
28710 _ACEOF
28711 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28712 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28713 ac_status=$?
28714 grep -v '^ *+' conftest.er1 >conftest.err
28715 rm -f conftest.er1
28716 cat conftest.err >&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); } >/dev/null; then
28719 if test -s conftest.err; then
28720 ac_cpp_err=$ac_cxx_preproc_warn_flag
28721 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
28722 else
28723 ac_cpp_err=
28724 fi
28725 else
28726 ac_cpp_err=yes
28727 fi
28728 if test -z "$ac_cpp_err"; then
28729 # We can compile using X headers with no special include directory.
28730 ac_x_includes=
28731 else
28732 echo "$as_me: failed program was:" >&5
28733 sed 's/^/| /' conftest.$ac_ext >&5
28734
28735 for ac_dir in $ac_x_header_dirs; do
28736 if test -r "$ac_dir/X11/Intrinsic.h"; then
28737 ac_x_includes=$ac_dir
28738 break
28739 fi
28740 done
28741 fi
28742 rm -f conftest.err conftest.$ac_ext
28743 fi # $ac_x_includes = no
28744
28745 if test "$ac_x_libraries" = no; then
28746 # Check for the libraries.
28747 # See if we find them without any special options.
28748 # Don't add to $LIBS permanently.
28749 ac_save_LIBS=$LIBS
28750 LIBS="-lXt $LIBS"
28751 cat >conftest.$ac_ext <<_ACEOF
28752 /* confdefs.h. */
28753 _ACEOF
28754 cat confdefs.h >>conftest.$ac_ext
28755 cat >>conftest.$ac_ext <<_ACEOF
28756 /* end confdefs.h. */
28757 #include <X11/Intrinsic.h>
28758 int
28759 main ()
28760 {
28761 XtMalloc (0)
28762 ;
28763 return 0;
28764 }
28765 _ACEOF
28766 rm -f conftest.$ac_objext conftest$ac_exeext
28767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28768 (eval $ac_link) 2>conftest.er1
28769 ac_status=$?
28770 grep -v '^ *+' conftest.er1 >conftest.err
28771 rm -f conftest.er1
28772 cat conftest.err >&5
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); } &&
28775 { ac_try='test -z "$ac_cxx_werror_flag"
28776 || test ! -s conftest.err'
28777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28778 (eval $ac_try) 2>&5
28779 ac_status=$?
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); }; } &&
28782 { ac_try='test -s conftest$ac_exeext'
28783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28784 (eval $ac_try) 2>&5
28785 ac_status=$?
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); }; }; then
28788 LIBS=$ac_save_LIBS
28789 # We can link X programs with no special library path.
28790 ac_x_libraries=
28791 else
28792 echo "$as_me: failed program was:" >&5
28793 sed 's/^/| /' conftest.$ac_ext >&5
28794
28795 LIBS=$ac_save_LIBS
28796 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28797 do
28798 # Don't even attempt the hair of trying to link an X program!
28799 for ac_extension in a so sl; do
28800 if test -r $ac_dir/libXt.$ac_extension; then
28801 ac_x_libraries=$ac_dir
28802 break 2
28803 fi
28804 done
28805 done
28806 fi
28807 rm -f conftest.err conftest.$ac_objext \
28808 conftest$ac_exeext conftest.$ac_ext
28809 fi # $ac_x_libraries = no
28810
28811 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
28812 # Didn't find X anywhere. Cache the known absence of X.
28813 ac_cv_have_x="have_x=no"
28814 else
28815 # Record where we found X for the cache.
28816 ac_cv_have_x="have_x=yes \
28817 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28818 fi
28819 fi
28820
28821 fi
28822 eval "$ac_cv_have_x"
28823 fi # $with_x != no
28824
28825 if test "$have_x" != yes; then
28826 echo "$as_me:$LINENO: result: $have_x" >&5
28827 echo "${ECHO_T}$have_x" >&6
28828 no_x=yes
28829 else
28830 # If each of the values was on the command line, it overrides each guess.
28831 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28832 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28833 # Update the cache value to reflect the command line values.
28834 ac_cv_have_x="have_x=yes \
28835 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28836 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28837 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
28838 fi
28839
28840 if test "$no_x" = yes; then
28841 # Not all programs may use this symbol, but it does not hurt to define it.
28842
28843 cat >>confdefs.h <<\_ACEOF
28844 #define X_DISPLAY_MISSING 1
28845 _ACEOF
28846
28847 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28848 else
28849 if test -n "$x_includes"; then
28850 X_CFLAGS="$X_CFLAGS -I$x_includes"
28851 fi
28852
28853 # It would also be nice to do this for all -L options, not just this one.
28854 if test -n "$x_libraries"; then
28855 X_LIBS="$X_LIBS -L$x_libraries"
28856 # For Solaris; some versions of Sun CC require a space after -R and
28857 # others require no space. Words are not sufficient . . . .
28858 case `(uname -sr) 2>/dev/null` in
28859 "SunOS 5"*)
28860 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28861 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28862 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28863 cat >conftest.$ac_ext <<_ACEOF
28864 /* confdefs.h. */
28865 _ACEOF
28866 cat confdefs.h >>conftest.$ac_ext
28867 cat >>conftest.$ac_ext <<_ACEOF
28868 /* end confdefs.h. */
28869
28870 int
28871 main ()
28872 {
28873
28874 ;
28875 return 0;
28876 }
28877 _ACEOF
28878 rm -f conftest.$ac_objext conftest$ac_exeext
28879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28880 (eval $ac_link) 2>conftest.er1
28881 ac_status=$?
28882 grep -v '^ *+' conftest.er1 >conftest.err
28883 rm -f conftest.er1
28884 cat conftest.err >&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); } &&
28887 { ac_try='test -z "$ac_cxx_werror_flag"
28888 || test ! -s conftest.err'
28889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28890 (eval $ac_try) 2>&5
28891 ac_status=$?
28892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893 (exit $ac_status); }; } &&
28894 { ac_try='test -s conftest$ac_exeext'
28895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28896 (eval $ac_try) 2>&5
28897 ac_status=$?
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); }; }; then
28900 ac_R_nospace=yes
28901 else
28902 echo "$as_me: failed program was:" >&5
28903 sed 's/^/| /' conftest.$ac_ext >&5
28904
28905 ac_R_nospace=no
28906 fi
28907 rm -f conftest.err conftest.$ac_objext \
28908 conftest$ac_exeext conftest.$ac_ext
28909 if test $ac_R_nospace = yes; then
28910 echo "$as_me:$LINENO: result: no" >&5
28911 echo "${ECHO_T}no" >&6
28912 X_LIBS="$X_LIBS -R$x_libraries"
28913 else
28914 LIBS="$ac_xsave_LIBS -R $x_libraries"
28915 cat >conftest.$ac_ext <<_ACEOF
28916 /* confdefs.h. */
28917 _ACEOF
28918 cat confdefs.h >>conftest.$ac_ext
28919 cat >>conftest.$ac_ext <<_ACEOF
28920 /* end confdefs.h. */
28921
28922 int
28923 main ()
28924 {
28925
28926 ;
28927 return 0;
28928 }
28929 _ACEOF
28930 rm -f conftest.$ac_objext conftest$ac_exeext
28931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28932 (eval $ac_link) 2>conftest.er1
28933 ac_status=$?
28934 grep -v '^ *+' conftest.er1 >conftest.err
28935 rm -f conftest.er1
28936 cat conftest.err >&5
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); } &&
28939 { ac_try='test -z "$ac_cxx_werror_flag"
28940 || test ! -s conftest.err'
28941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28942 (eval $ac_try) 2>&5
28943 ac_status=$?
28944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28945 (exit $ac_status); }; } &&
28946 { ac_try='test -s conftest$ac_exeext'
28947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28948 (eval $ac_try) 2>&5
28949 ac_status=$?
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); }; }; then
28952 ac_R_space=yes
28953 else
28954 echo "$as_me: failed program was:" >&5
28955 sed 's/^/| /' conftest.$ac_ext >&5
28956
28957 ac_R_space=no
28958 fi
28959 rm -f conftest.err conftest.$ac_objext \
28960 conftest$ac_exeext conftest.$ac_ext
28961 if test $ac_R_space = yes; then
28962 echo "$as_me:$LINENO: result: yes" >&5
28963 echo "${ECHO_T}yes" >&6
28964 X_LIBS="$X_LIBS -R $x_libraries"
28965 else
28966 echo "$as_me:$LINENO: result: neither works" >&5
28967 echo "${ECHO_T}neither works" >&6
28968 fi
28969 fi
28970 LIBS=$ac_xsave_LIBS
28971 esac
28972 fi
28973
28974 # Check for system-dependent libraries X programs must link with.
28975 # Do this before checking for the system-independent R6 libraries
28976 # (-lICE), since we may need -lsocket or whatever for X linking.
28977
28978 if test "$ISC" = yes; then
28979 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28980 else
28981 # Martyn Johnson says this is needed for Ultrix, if the X
28982 # libraries were built with DECnet support. And Karl Berry says
28983 # the Alpha needs dnet_stub (dnet does not exist).
28984 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28985 cat >conftest.$ac_ext <<_ACEOF
28986 /* confdefs.h. */
28987 _ACEOF
28988 cat confdefs.h >>conftest.$ac_ext
28989 cat >>conftest.$ac_ext <<_ACEOF
28990 /* end confdefs.h. */
28991
28992 /* Override any gcc2 internal prototype to avoid an error. */
28993 #ifdef __cplusplus
28994 extern "C"
28995 #endif
28996 /* We use char because int might match the return type of a gcc2
28997 builtin and then its argument prototype would still apply. */
28998 char XOpenDisplay ();
28999 int
29000 main ()
29001 {
29002 XOpenDisplay ();
29003 ;
29004 return 0;
29005 }
29006 _ACEOF
29007 rm -f conftest.$ac_objext conftest$ac_exeext
29008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29009 (eval $ac_link) 2>conftest.er1
29010 ac_status=$?
29011 grep -v '^ *+' conftest.er1 >conftest.err
29012 rm -f conftest.er1
29013 cat conftest.err >&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); } &&
29016 { ac_try='test -z "$ac_cxx_werror_flag"
29017 || test ! -s conftest.err'
29018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29019 (eval $ac_try) 2>&5
29020 ac_status=$?
29021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022 (exit $ac_status); }; } &&
29023 { ac_try='test -s conftest$ac_exeext'
29024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29025 (eval $ac_try) 2>&5
29026 ac_status=$?
29027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29028 (exit $ac_status); }; }; then
29029 :
29030 else
29031 echo "$as_me: failed program was:" >&5
29032 sed 's/^/| /' conftest.$ac_ext >&5
29033
29034 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29035 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29036 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29037 echo $ECHO_N "(cached) $ECHO_C" >&6
29038 else
29039 ac_check_lib_save_LIBS=$LIBS
29040 LIBS="-ldnet $LIBS"
29041 cat >conftest.$ac_ext <<_ACEOF
29042 /* confdefs.h. */
29043 _ACEOF
29044 cat confdefs.h >>conftest.$ac_ext
29045 cat >>conftest.$ac_ext <<_ACEOF
29046 /* end confdefs.h. */
29047
29048 /* Override any gcc2 internal prototype to avoid an error. */
29049 #ifdef __cplusplus
29050 extern "C"
29051 #endif
29052 /* We use char because int might match the return type of a gcc2
29053 builtin and then its argument prototype would still apply. */
29054 char dnet_ntoa ();
29055 int
29056 main ()
29057 {
29058 dnet_ntoa ();
29059 ;
29060 return 0;
29061 }
29062 _ACEOF
29063 rm -f conftest.$ac_objext conftest$ac_exeext
29064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29065 (eval $ac_link) 2>conftest.er1
29066 ac_status=$?
29067 grep -v '^ *+' conftest.er1 >conftest.err
29068 rm -f conftest.er1
29069 cat conftest.err >&5
29070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29071 (exit $ac_status); } &&
29072 { ac_try='test -z "$ac_cxx_werror_flag"
29073 || test ! -s conftest.err'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29076 ac_status=$?
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; } &&
29079 { ac_try='test -s conftest$ac_exeext'
29080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29081 (eval $ac_try) 2>&5
29082 ac_status=$?
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); }; }; then
29085 ac_cv_lib_dnet_dnet_ntoa=yes
29086 else
29087 echo "$as_me: failed program was:" >&5
29088 sed 's/^/| /' conftest.$ac_ext >&5
29089
29090 ac_cv_lib_dnet_dnet_ntoa=no
29091 fi
29092 rm -f conftest.err conftest.$ac_objext \
29093 conftest$ac_exeext conftest.$ac_ext
29094 LIBS=$ac_check_lib_save_LIBS
29095 fi
29096 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29097 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29098 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29099 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29100 fi
29101
29102 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29103 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29104 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29105 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29106 echo $ECHO_N "(cached) $ECHO_C" >&6
29107 else
29108 ac_check_lib_save_LIBS=$LIBS
29109 LIBS="-ldnet_stub $LIBS"
29110 cat >conftest.$ac_ext <<_ACEOF
29111 /* confdefs.h. */
29112 _ACEOF
29113 cat confdefs.h >>conftest.$ac_ext
29114 cat >>conftest.$ac_ext <<_ACEOF
29115 /* end confdefs.h. */
29116
29117 /* Override any gcc2 internal prototype to avoid an error. */
29118 #ifdef __cplusplus
29119 extern "C"
29120 #endif
29121 /* We use char because int might match the return type of a gcc2
29122 builtin and then its argument prototype would still apply. */
29123 char dnet_ntoa ();
29124 int
29125 main ()
29126 {
29127 dnet_ntoa ();
29128 ;
29129 return 0;
29130 }
29131 _ACEOF
29132 rm -f conftest.$ac_objext conftest$ac_exeext
29133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29134 (eval $ac_link) 2>conftest.er1
29135 ac_status=$?
29136 grep -v '^ *+' conftest.er1 >conftest.err
29137 rm -f conftest.er1
29138 cat conftest.err >&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); } &&
29141 { ac_try='test -z "$ac_cxx_werror_flag"
29142 || test ! -s conftest.err'
29143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29144 (eval $ac_try) 2>&5
29145 ac_status=$?
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); }; } &&
29148 { ac_try='test -s conftest$ac_exeext'
29149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29150 (eval $ac_try) 2>&5
29151 ac_status=$?
29152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153 (exit $ac_status); }; }; then
29154 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29155 else
29156 echo "$as_me: failed program was:" >&5
29157 sed 's/^/| /' conftest.$ac_ext >&5
29158
29159 ac_cv_lib_dnet_stub_dnet_ntoa=no
29160 fi
29161 rm -f conftest.err conftest.$ac_objext \
29162 conftest$ac_exeext conftest.$ac_ext
29163 LIBS=$ac_check_lib_save_LIBS
29164 fi
29165 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29166 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29167 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29168 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29169 fi
29170
29171 fi
29172 fi
29173 rm -f conftest.err conftest.$ac_objext \
29174 conftest$ac_exeext conftest.$ac_ext
29175 LIBS="$ac_xsave_LIBS"
29176
29177 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29178 # to get the SysV transport functions.
29179 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29180 # needs -lnsl.
29181 # The nsl library prevents programs from opening the X display
29182 # on Irix 5.2, according to T.E. Dickey.
29183 # The functions gethostbyname, getservbyname, and inet_addr are
29184 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29185 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29186 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29187 if test "${ac_cv_func_gethostbyname+set}" = set; then
29188 echo $ECHO_N "(cached) $ECHO_C" >&6
29189 else
29190 cat >conftest.$ac_ext <<_ACEOF
29191 /* confdefs.h. */
29192 _ACEOF
29193 cat confdefs.h >>conftest.$ac_ext
29194 cat >>conftest.$ac_ext <<_ACEOF
29195 /* end confdefs.h. */
29196 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29198 #define gethostbyname innocuous_gethostbyname
29199
29200 /* System header to define __stub macros and hopefully few prototypes,
29201 which can conflict with char gethostbyname (); below.
29202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29203 <limits.h> exists even on freestanding compilers. */
29204
29205 #ifdef __STDC__
29206 # include <limits.h>
29207 #else
29208 # include <assert.h>
29209 #endif
29210
29211 #undef gethostbyname
29212
29213 /* Override any gcc2 internal prototype to avoid an error. */
29214 #ifdef __cplusplus
29215 extern "C"
29216 {
29217 #endif
29218 /* We use char because int might match the return type of a gcc2
29219 builtin and then its argument prototype would still apply. */
29220 char gethostbyname ();
29221 /* The GNU C library defines this for functions which it implements
29222 to always fail with ENOSYS. Some functions are actually named
29223 something starting with __ and the normal name is an alias. */
29224 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29225 choke me
29226 #else
29227 char (*f) () = gethostbyname;
29228 #endif
29229 #ifdef __cplusplus
29230 }
29231 #endif
29232
29233 int
29234 main ()
29235 {
29236 return f != gethostbyname;
29237 ;
29238 return 0;
29239 }
29240 _ACEOF
29241 rm -f conftest.$ac_objext conftest$ac_exeext
29242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29243 (eval $ac_link) 2>conftest.er1
29244 ac_status=$?
29245 grep -v '^ *+' conftest.er1 >conftest.err
29246 rm -f conftest.er1
29247 cat conftest.err >&5
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); } &&
29250 { ac_try='test -z "$ac_cxx_werror_flag"
29251 || test ! -s conftest.err'
29252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29253 (eval $ac_try) 2>&5
29254 ac_status=$?
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); }; } &&
29257 { ac_try='test -s conftest$ac_exeext'
29258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29259 (eval $ac_try) 2>&5
29260 ac_status=$?
29261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29262 (exit $ac_status); }; }; then
29263 ac_cv_func_gethostbyname=yes
29264 else
29265 echo "$as_me: failed program was:" >&5
29266 sed 's/^/| /' conftest.$ac_ext >&5
29267
29268 ac_cv_func_gethostbyname=no
29269 fi
29270 rm -f conftest.err conftest.$ac_objext \
29271 conftest$ac_exeext conftest.$ac_ext
29272 fi
29273 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29274 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29275
29276 if test $ac_cv_func_gethostbyname = no; then
29277 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29278 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29279 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29280 echo $ECHO_N "(cached) $ECHO_C" >&6
29281 else
29282 ac_check_lib_save_LIBS=$LIBS
29283 LIBS="-lnsl $LIBS"
29284 cat >conftest.$ac_ext <<_ACEOF
29285 /* confdefs.h. */
29286 _ACEOF
29287 cat confdefs.h >>conftest.$ac_ext
29288 cat >>conftest.$ac_ext <<_ACEOF
29289 /* end confdefs.h. */
29290
29291 /* Override any gcc2 internal prototype to avoid an error. */
29292 #ifdef __cplusplus
29293 extern "C"
29294 #endif
29295 /* We use char because int might match the return type of a gcc2
29296 builtin and then its argument prototype would still apply. */
29297 char gethostbyname ();
29298 int
29299 main ()
29300 {
29301 gethostbyname ();
29302 ;
29303 return 0;
29304 }
29305 _ACEOF
29306 rm -f conftest.$ac_objext conftest$ac_exeext
29307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29308 (eval $ac_link) 2>conftest.er1
29309 ac_status=$?
29310 grep -v '^ *+' conftest.er1 >conftest.err
29311 rm -f conftest.er1
29312 cat conftest.err >&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } &&
29315 { ac_try='test -z "$ac_cxx_werror_flag"
29316 || test ! -s conftest.err'
29317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29318 (eval $ac_try) 2>&5
29319 ac_status=$?
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); }; } &&
29322 { ac_try='test -s conftest$ac_exeext'
29323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29324 (eval $ac_try) 2>&5
29325 ac_status=$?
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); }; }; then
29328 ac_cv_lib_nsl_gethostbyname=yes
29329 else
29330 echo "$as_me: failed program was:" >&5
29331 sed 's/^/| /' conftest.$ac_ext >&5
29332
29333 ac_cv_lib_nsl_gethostbyname=no
29334 fi
29335 rm -f conftest.err conftest.$ac_objext \
29336 conftest$ac_exeext conftest.$ac_ext
29337 LIBS=$ac_check_lib_save_LIBS
29338 fi
29339 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29340 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29341 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29342 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29343 fi
29344
29345 if test $ac_cv_lib_nsl_gethostbyname = no; then
29346 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29347 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29348 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29349 echo $ECHO_N "(cached) $ECHO_C" >&6
29350 else
29351 ac_check_lib_save_LIBS=$LIBS
29352 LIBS="-lbsd $LIBS"
29353 cat >conftest.$ac_ext <<_ACEOF
29354 /* confdefs.h. */
29355 _ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h. */
29359
29360 /* Override any gcc2 internal prototype to avoid an error. */
29361 #ifdef __cplusplus
29362 extern "C"
29363 #endif
29364 /* We use char because int might match the return type of a gcc2
29365 builtin and then its argument prototype would still apply. */
29366 char gethostbyname ();
29367 int
29368 main ()
29369 {
29370 gethostbyname ();
29371 ;
29372 return 0;
29373 }
29374 _ACEOF
29375 rm -f conftest.$ac_objext conftest$ac_exeext
29376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29377 (eval $ac_link) 2>conftest.er1
29378 ac_status=$?
29379 grep -v '^ *+' conftest.er1 >conftest.err
29380 rm -f conftest.er1
29381 cat conftest.err >&5
29382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29383 (exit $ac_status); } &&
29384 { ac_try='test -z "$ac_cxx_werror_flag"
29385 || test ! -s conftest.err'
29386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29387 (eval $ac_try) 2>&5
29388 ac_status=$?
29389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390 (exit $ac_status); }; } &&
29391 { ac_try='test -s conftest$ac_exeext'
29392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29393 (eval $ac_try) 2>&5
29394 ac_status=$?
29395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29396 (exit $ac_status); }; }; then
29397 ac_cv_lib_bsd_gethostbyname=yes
29398 else
29399 echo "$as_me: failed program was:" >&5
29400 sed 's/^/| /' conftest.$ac_ext >&5
29401
29402 ac_cv_lib_bsd_gethostbyname=no
29403 fi
29404 rm -f conftest.err conftest.$ac_objext \
29405 conftest$ac_exeext conftest.$ac_ext
29406 LIBS=$ac_check_lib_save_LIBS
29407 fi
29408 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29409 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29410 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29411 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29412 fi
29413
29414 fi
29415 fi
29416
29417 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29418 # socket/setsockopt and other routines are undefined under SCO ODT
29419 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29420 # on later versions), says Simon Leinen: it contains gethostby*
29421 # variants that don't use the name server (or something). -lsocket
29422 # must be given before -lnsl if both are needed. We assume that
29423 # if connect needs -lnsl, so does gethostbyname.
29424 echo "$as_me:$LINENO: checking for connect" >&5
29425 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29426 if test "${ac_cv_func_connect+set}" = set; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29428 else
29429 cat >conftest.$ac_ext <<_ACEOF
29430 /* confdefs.h. */
29431 _ACEOF
29432 cat confdefs.h >>conftest.$ac_ext
29433 cat >>conftest.$ac_ext <<_ACEOF
29434 /* end confdefs.h. */
29435 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29437 #define connect innocuous_connect
29438
29439 /* System header to define __stub macros and hopefully few prototypes,
29440 which can conflict with char connect (); below.
29441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29442 <limits.h> exists even on freestanding compilers. */
29443
29444 #ifdef __STDC__
29445 # include <limits.h>
29446 #else
29447 # include <assert.h>
29448 #endif
29449
29450 #undef connect
29451
29452 /* Override any gcc2 internal prototype to avoid an error. */
29453 #ifdef __cplusplus
29454 extern "C"
29455 {
29456 #endif
29457 /* We use char because int might match the return type of a gcc2
29458 builtin and then its argument prototype would still apply. */
29459 char connect ();
29460 /* The GNU C library defines this for functions which it implements
29461 to always fail with ENOSYS. Some functions are actually named
29462 something starting with __ and the normal name is an alias. */
29463 #if defined (__stub_connect) || defined (__stub___connect)
29464 choke me
29465 #else
29466 char (*f) () = connect;
29467 #endif
29468 #ifdef __cplusplus
29469 }
29470 #endif
29471
29472 int
29473 main ()
29474 {
29475 return f != connect;
29476 ;
29477 return 0;
29478 }
29479 _ACEOF
29480 rm -f conftest.$ac_objext conftest$ac_exeext
29481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29482 (eval $ac_link) 2>conftest.er1
29483 ac_status=$?
29484 grep -v '^ *+' conftest.er1 >conftest.err
29485 rm -f conftest.er1
29486 cat conftest.err >&5
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); } &&
29489 { ac_try='test -z "$ac_cxx_werror_flag"
29490 || test ! -s conftest.err'
29491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29492 (eval $ac_try) 2>&5
29493 ac_status=$?
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); }; } &&
29496 { ac_try='test -s conftest$ac_exeext'
29497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29498 (eval $ac_try) 2>&5
29499 ac_status=$?
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); }; }; then
29502 ac_cv_func_connect=yes
29503 else
29504 echo "$as_me: failed program was:" >&5
29505 sed 's/^/| /' conftest.$ac_ext >&5
29506
29507 ac_cv_func_connect=no
29508 fi
29509 rm -f conftest.err conftest.$ac_objext \
29510 conftest$ac_exeext conftest.$ac_ext
29511 fi
29512 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29513 echo "${ECHO_T}$ac_cv_func_connect" >&6
29514
29515 if test $ac_cv_func_connect = no; then
29516 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29517 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29518 if test "${ac_cv_lib_socket_connect+set}" = set; then
29519 echo $ECHO_N "(cached) $ECHO_C" >&6
29520 else
29521 ac_check_lib_save_LIBS=$LIBS
29522 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29523 cat >conftest.$ac_ext <<_ACEOF
29524 /* confdefs.h. */
29525 _ACEOF
29526 cat confdefs.h >>conftest.$ac_ext
29527 cat >>conftest.$ac_ext <<_ACEOF
29528 /* end confdefs.h. */
29529
29530 /* Override any gcc2 internal prototype to avoid an error. */
29531 #ifdef __cplusplus
29532 extern "C"
29533 #endif
29534 /* We use char because int might match the return type of a gcc2
29535 builtin and then its argument prototype would still apply. */
29536 char connect ();
29537 int
29538 main ()
29539 {
29540 connect ();
29541 ;
29542 return 0;
29543 }
29544 _ACEOF
29545 rm -f conftest.$ac_objext conftest$ac_exeext
29546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29547 (eval $ac_link) 2>conftest.er1
29548 ac_status=$?
29549 grep -v '^ *+' conftest.er1 >conftest.err
29550 rm -f conftest.er1
29551 cat conftest.err >&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); } &&
29554 { ac_try='test -z "$ac_cxx_werror_flag"
29555 || test ! -s conftest.err'
29556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29557 (eval $ac_try) 2>&5
29558 ac_status=$?
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); }; } &&
29561 { ac_try='test -s conftest$ac_exeext'
29562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29563 (eval $ac_try) 2>&5
29564 ac_status=$?
29565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29566 (exit $ac_status); }; }; then
29567 ac_cv_lib_socket_connect=yes
29568 else
29569 echo "$as_me: failed program was:" >&5
29570 sed 's/^/| /' conftest.$ac_ext >&5
29571
29572 ac_cv_lib_socket_connect=no
29573 fi
29574 rm -f conftest.err conftest.$ac_objext \
29575 conftest$ac_exeext conftest.$ac_ext
29576 LIBS=$ac_check_lib_save_LIBS
29577 fi
29578 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29579 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29580 if test $ac_cv_lib_socket_connect = yes; then
29581 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29582 fi
29583
29584 fi
29585
29586 # Guillermo Gomez says -lposix is necessary on A/UX.
29587 echo "$as_me:$LINENO: checking for remove" >&5
29588 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29589 if test "${ac_cv_func_remove+set}" = set; then
29590 echo $ECHO_N "(cached) $ECHO_C" >&6
29591 else
29592 cat >conftest.$ac_ext <<_ACEOF
29593 /* confdefs.h. */
29594 _ACEOF
29595 cat confdefs.h >>conftest.$ac_ext
29596 cat >>conftest.$ac_ext <<_ACEOF
29597 /* end confdefs.h. */
29598 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29600 #define remove innocuous_remove
29601
29602 /* System header to define __stub macros and hopefully few prototypes,
29603 which can conflict with char remove (); below.
29604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29605 <limits.h> exists even on freestanding compilers. */
29606
29607 #ifdef __STDC__
29608 # include <limits.h>
29609 #else
29610 # include <assert.h>
29611 #endif
29612
29613 #undef remove
29614
29615 /* Override any gcc2 internal prototype to avoid an error. */
29616 #ifdef __cplusplus
29617 extern "C"
29618 {
29619 #endif
29620 /* We use char because int might match the return type of a gcc2
29621 builtin and then its argument prototype would still apply. */
29622 char remove ();
29623 /* The GNU C library defines this for functions which it implements
29624 to always fail with ENOSYS. Some functions are actually named
29625 something starting with __ and the normal name is an alias. */
29626 #if defined (__stub_remove) || defined (__stub___remove)
29627 choke me
29628 #else
29629 char (*f) () = remove;
29630 #endif
29631 #ifdef __cplusplus
29632 }
29633 #endif
29634
29635 int
29636 main ()
29637 {
29638 return f != remove;
29639 ;
29640 return 0;
29641 }
29642 _ACEOF
29643 rm -f conftest.$ac_objext conftest$ac_exeext
29644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29645 (eval $ac_link) 2>conftest.er1
29646 ac_status=$?
29647 grep -v '^ *+' conftest.er1 >conftest.err
29648 rm -f conftest.er1
29649 cat conftest.err >&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } &&
29652 { ac_try='test -z "$ac_cxx_werror_flag"
29653 || test ! -s conftest.err'
29654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29655 (eval $ac_try) 2>&5
29656 ac_status=$?
29657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658 (exit $ac_status); }; } &&
29659 { ac_try='test -s conftest$ac_exeext'
29660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29661 (eval $ac_try) 2>&5
29662 ac_status=$?
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); }; }; then
29665 ac_cv_func_remove=yes
29666 else
29667 echo "$as_me: failed program was:" >&5
29668 sed 's/^/| /' conftest.$ac_ext >&5
29669
29670 ac_cv_func_remove=no
29671 fi
29672 rm -f conftest.err conftest.$ac_objext \
29673 conftest$ac_exeext conftest.$ac_ext
29674 fi
29675 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29676 echo "${ECHO_T}$ac_cv_func_remove" >&6
29677
29678 if test $ac_cv_func_remove = no; then
29679 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29680 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29681 if test "${ac_cv_lib_posix_remove+set}" = set; then
29682 echo $ECHO_N "(cached) $ECHO_C" >&6
29683 else
29684 ac_check_lib_save_LIBS=$LIBS
29685 LIBS="-lposix $LIBS"
29686 cat >conftest.$ac_ext <<_ACEOF
29687 /* confdefs.h. */
29688 _ACEOF
29689 cat confdefs.h >>conftest.$ac_ext
29690 cat >>conftest.$ac_ext <<_ACEOF
29691 /* end confdefs.h. */
29692
29693 /* Override any gcc2 internal prototype to avoid an error. */
29694 #ifdef __cplusplus
29695 extern "C"
29696 #endif
29697 /* We use char because int might match the return type of a gcc2
29698 builtin and then its argument prototype would still apply. */
29699 char remove ();
29700 int
29701 main ()
29702 {
29703 remove ();
29704 ;
29705 return 0;
29706 }
29707 _ACEOF
29708 rm -f conftest.$ac_objext conftest$ac_exeext
29709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29710 (eval $ac_link) 2>conftest.er1
29711 ac_status=$?
29712 grep -v '^ *+' conftest.er1 >conftest.err
29713 rm -f conftest.er1
29714 cat conftest.err >&5
29715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29716 (exit $ac_status); } &&
29717 { ac_try='test -z "$ac_cxx_werror_flag"
29718 || test ! -s conftest.err'
29719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29720 (eval $ac_try) 2>&5
29721 ac_status=$?
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); }; } &&
29724 { ac_try='test -s conftest$ac_exeext'
29725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726 (eval $ac_try) 2>&5
29727 ac_status=$?
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); }; }; then
29730 ac_cv_lib_posix_remove=yes
29731 else
29732 echo "$as_me: failed program was:" >&5
29733 sed 's/^/| /' conftest.$ac_ext >&5
29734
29735 ac_cv_lib_posix_remove=no
29736 fi
29737 rm -f conftest.err conftest.$ac_objext \
29738 conftest$ac_exeext conftest.$ac_ext
29739 LIBS=$ac_check_lib_save_LIBS
29740 fi
29741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29742 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29743 if test $ac_cv_lib_posix_remove = yes; then
29744 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29745 fi
29746
29747 fi
29748
29749 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29750 echo "$as_me:$LINENO: checking for shmat" >&5
29751 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29752 if test "${ac_cv_func_shmat+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29754 else
29755 cat >conftest.$ac_ext <<_ACEOF
29756 /* confdefs.h. */
29757 _ACEOF
29758 cat confdefs.h >>conftest.$ac_ext
29759 cat >>conftest.$ac_ext <<_ACEOF
29760 /* end confdefs.h. */
29761 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29763 #define shmat innocuous_shmat
29764
29765 /* System header to define __stub macros and hopefully few prototypes,
29766 which can conflict with char shmat (); below.
29767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29768 <limits.h> exists even on freestanding compilers. */
29769
29770 #ifdef __STDC__
29771 # include <limits.h>
29772 #else
29773 # include <assert.h>
29774 #endif
29775
29776 #undef shmat
29777
29778 /* Override any gcc2 internal prototype to avoid an error. */
29779 #ifdef __cplusplus
29780 extern "C"
29781 {
29782 #endif
29783 /* We use char because int might match the return type of a gcc2
29784 builtin and then its argument prototype would still apply. */
29785 char shmat ();
29786 /* The GNU C library defines this for functions which it implements
29787 to always fail with ENOSYS. Some functions are actually named
29788 something starting with __ and the normal name is an alias. */
29789 #if defined (__stub_shmat) || defined (__stub___shmat)
29790 choke me
29791 #else
29792 char (*f) () = shmat;
29793 #endif
29794 #ifdef __cplusplus
29795 }
29796 #endif
29797
29798 int
29799 main ()
29800 {
29801 return f != shmat;
29802 ;
29803 return 0;
29804 }
29805 _ACEOF
29806 rm -f conftest.$ac_objext conftest$ac_exeext
29807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29808 (eval $ac_link) 2>conftest.er1
29809 ac_status=$?
29810 grep -v '^ *+' conftest.er1 >conftest.err
29811 rm -f conftest.er1
29812 cat conftest.err >&5
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); } &&
29815 { ac_try='test -z "$ac_cxx_werror_flag"
29816 || test ! -s conftest.err'
29817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29818 (eval $ac_try) 2>&5
29819 ac_status=$?
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); }; } &&
29822 { ac_try='test -s conftest$ac_exeext'
29823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29824 (eval $ac_try) 2>&5
29825 ac_status=$?
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); }; }; then
29828 ac_cv_func_shmat=yes
29829 else
29830 echo "$as_me: failed program was:" >&5
29831 sed 's/^/| /' conftest.$ac_ext >&5
29832
29833 ac_cv_func_shmat=no
29834 fi
29835 rm -f conftest.err conftest.$ac_objext \
29836 conftest$ac_exeext conftest.$ac_ext
29837 fi
29838 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29839 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29840
29841 if test $ac_cv_func_shmat = no; then
29842 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29843 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29844 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29845 echo $ECHO_N "(cached) $ECHO_C" >&6
29846 else
29847 ac_check_lib_save_LIBS=$LIBS
29848 LIBS="-lipc $LIBS"
29849 cat >conftest.$ac_ext <<_ACEOF
29850 /* confdefs.h. */
29851 _ACEOF
29852 cat confdefs.h >>conftest.$ac_ext
29853 cat >>conftest.$ac_ext <<_ACEOF
29854 /* end confdefs.h. */
29855
29856 /* Override any gcc2 internal prototype to avoid an error. */
29857 #ifdef __cplusplus
29858 extern "C"
29859 #endif
29860 /* We use char because int might match the return type of a gcc2
29861 builtin and then its argument prototype would still apply. */
29862 char shmat ();
29863 int
29864 main ()
29865 {
29866 shmat ();
29867 ;
29868 return 0;
29869 }
29870 _ACEOF
29871 rm -f conftest.$ac_objext conftest$ac_exeext
29872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29873 (eval $ac_link) 2>conftest.er1
29874 ac_status=$?
29875 grep -v '^ *+' conftest.er1 >conftest.err
29876 rm -f conftest.er1
29877 cat conftest.err >&5
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); } &&
29880 { ac_try='test -z "$ac_cxx_werror_flag"
29881 || test ! -s conftest.err'
29882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29883 (eval $ac_try) 2>&5
29884 ac_status=$?
29885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29886 (exit $ac_status); }; } &&
29887 { ac_try='test -s conftest$ac_exeext'
29888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29889 (eval $ac_try) 2>&5
29890 ac_status=$?
29891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29892 (exit $ac_status); }; }; then
29893 ac_cv_lib_ipc_shmat=yes
29894 else
29895 echo "$as_me: failed program was:" >&5
29896 sed 's/^/| /' conftest.$ac_ext >&5
29897
29898 ac_cv_lib_ipc_shmat=no
29899 fi
29900 rm -f conftest.err conftest.$ac_objext \
29901 conftest$ac_exeext conftest.$ac_ext
29902 LIBS=$ac_check_lib_save_LIBS
29903 fi
29904 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29905 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29906 if test $ac_cv_lib_ipc_shmat = yes; then
29907 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29908 fi
29909
29910 fi
29911 fi
29912
29913 # Check for libraries that X11R6 Xt/Xaw programs need.
29914 ac_save_LDFLAGS=$LDFLAGS
29915 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29916 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29917 # check for ICE first), but we must link in the order -lSM -lICE or
29918 # we get undefined symbols. So assume we have SM if we have ICE.
29919 # These have to be linked with before -lX11, unlike the other
29920 # libraries we check for below, so use a different variable.
29921 # John Interrante, Karl Berry
29922 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29923 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29924 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29925 echo $ECHO_N "(cached) $ECHO_C" >&6
29926 else
29927 ac_check_lib_save_LIBS=$LIBS
29928 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29929 cat >conftest.$ac_ext <<_ACEOF
29930 /* confdefs.h. */
29931 _ACEOF
29932 cat confdefs.h >>conftest.$ac_ext
29933 cat >>conftest.$ac_ext <<_ACEOF
29934 /* end confdefs.h. */
29935
29936 /* Override any gcc2 internal prototype to avoid an error. */
29937 #ifdef __cplusplus
29938 extern "C"
29939 #endif
29940 /* We use char because int might match the return type of a gcc2
29941 builtin and then its argument prototype would still apply. */
29942 char IceConnectionNumber ();
29943 int
29944 main ()
29945 {
29946 IceConnectionNumber ();
29947 ;
29948 return 0;
29949 }
29950 _ACEOF
29951 rm -f conftest.$ac_objext conftest$ac_exeext
29952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29953 (eval $ac_link) 2>conftest.er1
29954 ac_status=$?
29955 grep -v '^ *+' conftest.er1 >conftest.err
29956 rm -f conftest.er1
29957 cat conftest.err >&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); } &&
29960 { ac_try='test -z "$ac_cxx_werror_flag"
29961 || test ! -s conftest.err'
29962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29963 (eval $ac_try) 2>&5
29964 ac_status=$?
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); }; } &&
29967 { ac_try='test -s conftest$ac_exeext'
29968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29969 (eval $ac_try) 2>&5
29970 ac_status=$?
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); }; }; then
29973 ac_cv_lib_ICE_IceConnectionNumber=yes
29974 else
29975 echo "$as_me: failed program was:" >&5
29976 sed 's/^/| /' conftest.$ac_ext >&5
29977
29978 ac_cv_lib_ICE_IceConnectionNumber=no
29979 fi
29980 rm -f conftest.err conftest.$ac_objext \
29981 conftest$ac_exeext conftest.$ac_ext
29982 LIBS=$ac_check_lib_save_LIBS
29983 fi
29984 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29988 fi
29989
29990 LDFLAGS=$ac_save_LDFLAGS
29991
29992 fi
29993
29994
29995 if test "$no_x" = "yes"; then
29996 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29997 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29998 { (exit 1); exit 1; }; }
29999 fi
30000
30001 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30002 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30003 AFMINSTALL=afminstall
30004 COMPILED_X_PROGRAM=0
30005
30006 fi
30007
30008 if test "$wxUSE_X11" = 1; then
30009 if test "$wxUSE_NANOX" = "yes"; then
30010 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30011 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30012 if test "x$MICROWIN" = x ; then
30013 echo "$as_me:$LINENO: result: not found" >&5
30014 echo "${ECHO_T}not found" >&6
30015 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30016 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30017 { (exit 1); exit 1; }; }
30018 else
30019 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30020 echo "${ECHO_T}$MICROWIN" >&6
30021 cat >>confdefs.h <<\_ACEOF
30022 #define wxUSE_NANOX 1
30023 _ACEOF
30024
30025 fi
30026 fi
30027
30028 if test "$wxUSE_UNICODE" = "yes"; then
30029
30030 succeeded=no
30031
30032 if test -z "$PKG_CONFIG"; then
30033 # Extract the first word of "pkg-config", so it can be a program name with args.
30034 set dummy pkg-config; ac_word=$2
30035 echo "$as_me:$LINENO: checking for $ac_word" >&5
30036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30037 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30038 echo $ECHO_N "(cached) $ECHO_C" >&6
30039 else
30040 case $PKG_CONFIG in
30041 [\\/]* | ?:[\\/]*)
30042 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30043 ;;
30044 *)
30045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30046 for as_dir in $PATH
30047 do
30048 IFS=$as_save_IFS
30049 test -z "$as_dir" && as_dir=.
30050 for ac_exec_ext in '' $ac_executable_extensions; do
30051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30052 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30054 break 2
30055 fi
30056 done
30057 done
30058
30059 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30060 ;;
30061 esac
30062 fi
30063 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30064
30065 if test -n "$PKG_CONFIG"; then
30066 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30067 echo "${ECHO_T}$PKG_CONFIG" >&6
30068 else
30069 echo "$as_me:$LINENO: result: no" >&5
30070 echo "${ECHO_T}no" >&6
30071 fi
30072
30073 fi
30074
30075 if test "$PKG_CONFIG" = "no" ; then
30076 echo "*** The pkg-config script could not be found. Make sure it is"
30077 echo "*** in your path, or set the PKG_CONFIG environment variable"
30078 echo "*** to the full path to pkg-config."
30079 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30080 else
30081 PKG_CONFIG_MIN_VERSION=0.9.0
30082 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30083 echo "$as_me:$LINENO: checking for pangox" >&5
30084 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
30085
30086 if $PKG_CONFIG --exists "pangox" ; then
30087 echo "$as_me:$LINENO: result: yes" >&5
30088 echo "${ECHO_T}yes" >&6
30089 succeeded=yes
30090
30091 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
30092 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
30093 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
30094 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
30095 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
30096
30097 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
30098 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
30099 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
30100 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
30101 echo "${ECHO_T}$PANGOX_LIBS" >&6
30102 else
30103 PANGOX_CFLAGS=""
30104 PANGOX_LIBS=""
30105 ## If we have a custom action on failure, don't print errors, but
30106 ## do set a variable so people can do so.
30107 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30108
30109 fi
30110
30111
30112
30113 else
30114 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30115 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30116 fi
30117 fi
30118
30119 if test $succeeded = yes; then
30120
30121 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30122 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30123
30124 else
30125
30126 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30127 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30128 { (exit 1); exit 1; }; }
30129
30130
30131 fi
30132
30133
30134 succeeded=no
30135
30136 if test -z "$PKG_CONFIG"; then
30137 # Extract the first word of "pkg-config", so it can be a program name with args.
30138 set dummy pkg-config; ac_word=$2
30139 echo "$as_me:$LINENO: checking for $ac_word" >&5
30140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30141 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30142 echo $ECHO_N "(cached) $ECHO_C" >&6
30143 else
30144 case $PKG_CONFIG in
30145 [\\/]* | ?:[\\/]*)
30146 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30147 ;;
30148 *)
30149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30150 for as_dir in $PATH
30151 do
30152 IFS=$as_save_IFS
30153 test -z "$as_dir" && as_dir=.
30154 for ac_exec_ext in '' $ac_executable_extensions; do
30155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30156 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30158 break 2
30159 fi
30160 done
30161 done
30162
30163 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30164 ;;
30165 esac
30166 fi
30167 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30168
30169 if test -n "$PKG_CONFIG"; then
30170 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30171 echo "${ECHO_T}$PKG_CONFIG" >&6
30172 else
30173 echo "$as_me:$LINENO: result: no" >&5
30174 echo "${ECHO_T}no" >&6
30175 fi
30176
30177 fi
30178
30179 if test "$PKG_CONFIG" = "no" ; then
30180 echo "*** The pkg-config script could not be found. Make sure it is"
30181 echo "*** in your path, or set the PKG_CONFIG environment variable"
30182 echo "*** to the full path to pkg-config."
30183 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30184 else
30185 PKG_CONFIG_MIN_VERSION=0.9.0
30186 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30187 echo "$as_me:$LINENO: checking for pangoft2" >&5
30188 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
30189
30190 if $PKG_CONFIG --exists "pangoft2" ; then
30191 echo "$as_me:$LINENO: result: yes" >&5
30192 echo "${ECHO_T}yes" >&6
30193 succeeded=yes
30194
30195 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
30196 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
30197 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
30198 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
30199 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
30200
30201 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
30202 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
30203 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
30204 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
30205 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
30206 else
30207 PANGOFT2_CFLAGS=""
30208 PANGOFT2_LIBS=""
30209 ## If we have a custom action on failure, don't print errors, but
30210 ## do set a variable so people can do so.
30211 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30212
30213 fi
30214
30215
30216
30217 else
30218 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30219 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30220 fi
30221 fi
30222
30223 if test $succeeded = yes; then
30224
30225 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30226 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30227
30228 else
30229
30230 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30231 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30232 wxUSE_PRINTING_ARCHITECTURE="no"
30233
30234
30235 fi
30236
30237
30238 succeeded=no
30239
30240 if test -z "$PKG_CONFIG"; then
30241 # Extract the first word of "pkg-config", so it can be a program name with args.
30242 set dummy pkg-config; ac_word=$2
30243 echo "$as_me:$LINENO: checking for $ac_word" >&5
30244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30245 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30246 echo $ECHO_N "(cached) $ECHO_C" >&6
30247 else
30248 case $PKG_CONFIG in
30249 [\\/]* | ?:[\\/]*)
30250 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30251 ;;
30252 *)
30253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30254 for as_dir in $PATH
30255 do
30256 IFS=$as_save_IFS
30257 test -z "$as_dir" && as_dir=.
30258 for ac_exec_ext in '' $ac_executable_extensions; do
30259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30260 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30262 break 2
30263 fi
30264 done
30265 done
30266
30267 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30268 ;;
30269 esac
30270 fi
30271 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30272
30273 if test -n "$PKG_CONFIG"; then
30274 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30275 echo "${ECHO_T}$PKG_CONFIG" >&6
30276 else
30277 echo "$as_me:$LINENO: result: no" >&5
30278 echo "${ECHO_T}no" >&6
30279 fi
30280
30281 fi
30282
30283 if test "$PKG_CONFIG" = "no" ; then
30284 echo "*** The pkg-config script could not be found. Make sure it is"
30285 echo "*** in your path, or set the PKG_CONFIG environment variable"
30286 echo "*** to the full path to pkg-config."
30287 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30288 else
30289 PKG_CONFIG_MIN_VERSION=0.9.0
30290 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30291 echo "$as_me:$LINENO: checking for pangoxft" >&5
30292 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
30293
30294 if $PKG_CONFIG --exists "pangoxft" ; then
30295 echo "$as_me:$LINENO: result: yes" >&5
30296 echo "${ECHO_T}yes" >&6
30297 succeeded=yes
30298
30299 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
30300 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
30301 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
30302 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
30303 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
30304
30305 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
30306 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
30307 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
30308 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
30309 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
30310 else
30311 PANGOXFT_CFLAGS=""
30312 PANGOXFT_LIBS=""
30313 ## If we have a custom action on failure, don't print errors, but
30314 ## do set a variable so people can do so.
30315 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30316
30317 fi
30318
30319
30320
30321 else
30322 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30323 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30324 fi
30325 fi
30326
30327 if test $succeeded = yes; then
30328
30329 cat >>confdefs.h <<\_ACEOF
30330 #define HAVE_PANGO_XFT 1
30331 _ACEOF
30332
30333 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30334 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30335
30336 else
30337
30338 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30339 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30340
30341
30342 fi
30343
30344 save_CXXFLAGS="$CXXFLAGS"
30345 save_LIBS="$LIBS"
30346 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30347 LIBS="$LIBS $PANGOX_LIBS"
30348
30349 for ac_func in pango_font_family_is_monospace
30350 do
30351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30352 echo "$as_me:$LINENO: checking for $ac_func" >&5
30353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30354 if eval "test \"\${$as_ac_var+set}\" = set"; then
30355 echo $ECHO_N "(cached) $ECHO_C" >&6
30356 else
30357 cat >conftest.$ac_ext <<_ACEOF
30358 /* confdefs.h. */
30359 _ACEOF
30360 cat confdefs.h >>conftest.$ac_ext
30361 cat >>conftest.$ac_ext <<_ACEOF
30362 /* end confdefs.h. */
30363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30365 #define $ac_func innocuous_$ac_func
30366
30367 /* System header to define __stub macros and hopefully few prototypes,
30368 which can conflict with char $ac_func (); below.
30369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30370 <limits.h> exists even on freestanding compilers. */
30371
30372 #ifdef __STDC__
30373 # include <limits.h>
30374 #else
30375 # include <assert.h>
30376 #endif
30377
30378 #undef $ac_func
30379
30380 /* Override any gcc2 internal prototype to avoid an error. */
30381 #ifdef __cplusplus
30382 extern "C"
30383 {
30384 #endif
30385 /* We use char because int might match the return type of a gcc2
30386 builtin and then its argument prototype would still apply. */
30387 char $ac_func ();
30388 /* The GNU C library defines this for functions which it implements
30389 to always fail with ENOSYS. Some functions are actually named
30390 something starting with __ and the normal name is an alias. */
30391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30392 choke me
30393 #else
30394 char (*f) () = $ac_func;
30395 #endif
30396 #ifdef __cplusplus
30397 }
30398 #endif
30399
30400 int
30401 main ()
30402 {
30403 return f != $ac_func;
30404 ;
30405 return 0;
30406 }
30407 _ACEOF
30408 rm -f conftest.$ac_objext conftest$ac_exeext
30409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30410 (eval $ac_link) 2>conftest.er1
30411 ac_status=$?
30412 grep -v '^ *+' conftest.er1 >conftest.err
30413 rm -f conftest.er1
30414 cat conftest.err >&5
30415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30416 (exit $ac_status); } &&
30417 { ac_try='test -z "$ac_cxx_werror_flag"
30418 || test ! -s conftest.err'
30419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30420 (eval $ac_try) 2>&5
30421 ac_status=$?
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); }; } &&
30424 { ac_try='test -s conftest$ac_exeext'
30425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30426 (eval $ac_try) 2>&5
30427 ac_status=$?
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); }; }; then
30430 eval "$as_ac_var=yes"
30431 else
30432 echo "$as_me: failed program was:" >&5
30433 sed 's/^/| /' conftest.$ac_ext >&5
30434
30435 eval "$as_ac_var=no"
30436 fi
30437 rm -f conftest.err conftest.$ac_objext \
30438 conftest$ac_exeext conftest.$ac_ext
30439 fi
30440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30442 if test `eval echo '${'$as_ac_var'}'` = yes; then
30443 cat >>confdefs.h <<_ACEOF
30444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30445 _ACEOF
30446
30447 fi
30448 done
30449
30450 CXXFLAGS="$save_CXXFLAGS"
30451 LIBS="$save_LIBS"
30452 fi
30453
30454 wxUSE_UNIVERSAL="yes"
30455
30456 if test "$wxUSE_NANOX" = "yes"; then
30457 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30458 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"
30459 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30460 else
30461 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30462 fi
30463
30464 TOOLKIT=X11
30465 GUIDIST=X11_DIST
30466 fi
30467
30468 if test "$wxUSE_MOTIF" = 1; then
30469 if test "$wxUSE_UNICODE" = "yes"; then
30470 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30471 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30472 { (exit 1); exit 1; }; }
30473 fi
30474
30475 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30476 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30477
30478 ac_find_includes=
30479 for ac_dir in $SEARCH_INCLUDE /usr/include;
30480 do
30481 if test -f "$ac_dir/Xm/Xm.h"; then
30482 ac_find_includes=$ac_dir
30483 break
30484 fi
30485 done
30486
30487 if test "$ac_find_includes" != "" ; then
30488 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30489 echo "${ECHO_T}found in $ac_find_includes" >&6
30490
30491 if test "x$ac_find_includes" = "x/usr/include"; then
30492 ac_path_to_include=""
30493 else
30494 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30495 result=$?
30496 if test $result = 0; then
30497 ac_path_to_include=""
30498 else
30499 ac_path_to_include=" -I$ac_find_includes"
30500 fi
30501 fi
30502
30503 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30504 else
30505 save_CXXFLAGS=$CXXFLAGS
30506 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30507
30508 cat >conftest.$ac_ext <<_ACEOF
30509 /* confdefs.h. */
30510 _ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514
30515 #include <Xm/Xm.h>
30516
30517 int
30518 main ()
30519 {
30520
30521 int version;
30522 version = xmUseVersion;
30523
30524 ;
30525 return 0;
30526 }
30527 _ACEOF
30528 rm -f conftest.$ac_objext
30529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30530 (eval $ac_compile) 2>conftest.er1
30531 ac_status=$?
30532 grep -v '^ *+' conftest.er1 >conftest.err
30533 rm -f conftest.er1
30534 cat conftest.err >&5
30535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30536 (exit $ac_status); } &&
30537 { ac_try='test -z "$ac_cxx_werror_flag"
30538 || test ! -s conftest.err'
30539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30540 (eval $ac_try) 2>&5
30541 ac_status=$?
30542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30543 (exit $ac_status); }; } &&
30544 { ac_try='test -s conftest.$ac_objext'
30545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30546 (eval $ac_try) 2>&5
30547 ac_status=$?
30548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30549 (exit $ac_status); }; }; then
30550
30551 echo "$as_me:$LINENO: result: found in default search path" >&5
30552 echo "${ECHO_T}found in default search path" >&6
30553 COMPILED_X_PROGRAM=1
30554
30555 else
30556 echo "$as_me: failed program was:" >&5
30557 sed 's/^/| /' conftest.$ac_ext >&5
30558
30559
30560 echo "$as_me:$LINENO: result: no" >&5
30561 echo "${ECHO_T}no" >&6
30562 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30563 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30564 { (exit 1); exit 1; }; }
30565
30566
30567 fi
30568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30569
30570 CXXFLAGS=$save_CXXFLAGS
30571 fi
30572
30573
30574 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30575 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30576
30577 ac_find_libraries=
30578 for ac_dir in $SEARCH_LIB;
30579 do
30580 for ac_extension in a so sl dylib dll.a; do
30581 if test -f "$ac_dir/libXm.$ac_extension"; then
30582 ac_find_libraries=$ac_dir
30583 break 2
30584 fi
30585 done
30586 done
30587
30588
30589 if test "x$ac_find_libraries" != "x" ; then
30590 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30591 echo "${ECHO_T}found in $ac_find_libraries" >&6
30592
30593
30594 if test "$ac_find_libraries" = "default location"; then
30595 ac_path_to_link=""
30596 else
30597 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30598 result=$?
30599 if test $result = 0; then
30600 ac_path_to_link=""
30601 else
30602 ac_path_to_link=" -L$ac_find_libraries"
30603 fi
30604 fi
30605
30606 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30607 else
30608 save_CXXFLAGS=$CXXFLAGS
30609 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30610 save_LIBS="$LIBS"
30611 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30612
30613 cat >conftest.$ac_ext <<_ACEOF
30614 /* confdefs.h. */
30615 _ACEOF
30616 cat confdefs.h >>conftest.$ac_ext
30617 cat >>conftest.$ac_ext <<_ACEOF
30618 /* end confdefs.h. */
30619
30620 #include <Xm/Xm.h>
30621
30622 int
30623 main ()
30624 {
30625
30626 int version;
30627 version = xmUseVersion;
30628
30629 ;
30630 return 0;
30631 }
30632 _ACEOF
30633 rm -f conftest.$ac_objext conftest$ac_exeext
30634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30635 (eval $ac_link) 2>conftest.er1
30636 ac_status=$?
30637 grep -v '^ *+' conftest.er1 >conftest.err
30638 rm -f conftest.er1
30639 cat conftest.err >&5
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); } &&
30642 { ac_try='test -z "$ac_cxx_werror_flag"
30643 || test ! -s conftest.err'
30644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30645 (eval $ac_try) 2>&5
30646 ac_status=$?
30647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648 (exit $ac_status); }; } &&
30649 { ac_try='test -s conftest$ac_exeext'
30650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30651 (eval $ac_try) 2>&5
30652 ac_status=$?
30653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30654 (exit $ac_status); }; }; then
30655
30656 echo "$as_me:$LINENO: result: found in default search path" >&5
30657 echo "${ECHO_T}found in default search path" >&6
30658 COMPILED_X_PROGRAM=1
30659
30660 else
30661 echo "$as_me: failed program was:" >&5
30662 sed 's/^/| /' conftest.$ac_ext >&5
30663
30664
30665 echo "$as_me:$LINENO: result: no" >&5
30666 echo "${ECHO_T}no" >&6
30667 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30668 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30669 { (exit 1); exit 1; }; }
30670
30671
30672 fi
30673 rm -f conftest.err conftest.$ac_objext \
30674 conftest$ac_exeext conftest.$ac_ext
30675
30676 CXXFLAGS=$save_CXXFLAGS
30677 LIBS="$save_LIBS"
30678 fi
30679
30680 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30681 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30682 libp_link=""
30683 libsm_ice_link=""
30684 libs_found=0
30685 for libp in "" " -lXp"; do
30686 if test "$libs_found" = "0"; then
30687 for libsm_ice in "" " -lSM -lICE"; do
30688 if test "$libs_found" = "0"; then
30689 save_LIBS="$LIBS"
30690 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30691 save_CXXFLAGS=$CXXFLAGS
30692 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30693
30694 cat >conftest.$ac_ext <<_ACEOF
30695 /* confdefs.h. */
30696 _ACEOF
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30700
30701 #include <Xm/Xm.h>
30702 #include <Xm/List.h>
30703
30704 int
30705 main ()
30706 {
30707
30708 XmString string = NULL;
30709 Widget w = NULL;
30710 int position = 0;
30711 XmListAddItem(w, string, position);
30712
30713 ;
30714 return 0;
30715 }
30716 _ACEOF
30717 rm -f conftest.$ac_objext conftest$ac_exeext
30718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30719 (eval $ac_link) 2>conftest.er1
30720 ac_status=$?
30721 grep -v '^ *+' conftest.er1 >conftest.err
30722 rm -f conftest.er1
30723 cat conftest.err >&5
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); } &&
30726 { ac_try='test -z "$ac_cxx_werror_flag"
30727 || test ! -s conftest.err'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30730 ac_status=$?
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; } &&
30733 { ac_try='test -s conftest$ac_exeext'
30734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30735 (eval $ac_try) 2>&5
30736 ac_status=$?
30737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30738 (exit $ac_status); }; }; then
30739
30740 libp_link="$libp"
30741 libsm_ice_link="$libsm_ice"
30742 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30743 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30744 libs_found=1
30745
30746 else
30747 echo "$as_me: failed program was:" >&5
30748 sed 's/^/| /' conftest.$ac_ext >&5
30749
30750
30751
30752 fi
30753 rm -f conftest.err conftest.$ac_objext \
30754 conftest$ac_exeext conftest.$ac_ext
30755
30756 LIBS="$save_LIBS"
30757 CXXFLAGS=$save_CXXFLAGS
30758 fi
30759 done
30760 fi
30761 done
30762
30763 if test "$libs_found" = "0"; then
30764 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30765 echo "${ECHO_T}can't find the right libraries" >&6
30766 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30767 echo "$as_me: error: can't link a simple motif program" >&2;}
30768 { (exit 1); exit 1; }; }
30769 fi
30770
30771 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30772 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30773 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30774 echo $ECHO_N "(cached) $ECHO_C" >&6
30775 else
30776 ac_check_lib_save_LIBS=$LIBS
30777 LIBS="-lSgm $LIBS"
30778 cat >conftest.$ac_ext <<_ACEOF
30779 /* confdefs.h. */
30780 _ACEOF
30781 cat confdefs.h >>conftest.$ac_ext
30782 cat >>conftest.$ac_ext <<_ACEOF
30783 /* end confdefs.h. */
30784
30785 /* Override any gcc2 internal prototype to avoid an error. */
30786 #ifdef __cplusplus
30787 extern "C"
30788 #endif
30789 /* We use char because int might match the return type of a gcc2
30790 builtin and then its argument prototype would still apply. */
30791 char SgCreateList ();
30792 int
30793 main ()
30794 {
30795 SgCreateList ();
30796 ;
30797 return 0;
30798 }
30799 _ACEOF
30800 rm -f conftest.$ac_objext conftest$ac_exeext
30801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30802 (eval $ac_link) 2>conftest.er1
30803 ac_status=$?
30804 grep -v '^ *+' conftest.er1 >conftest.err
30805 rm -f conftest.er1
30806 cat conftest.err >&5
30807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808 (exit $ac_status); } &&
30809 { ac_try='test -z "$ac_cxx_werror_flag"
30810 || test ! -s conftest.err'
30811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30812 (eval $ac_try) 2>&5
30813 ac_status=$?
30814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30815 (exit $ac_status); }; } &&
30816 { ac_try='test -s conftest$ac_exeext'
30817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30818 (eval $ac_try) 2>&5
30819 ac_status=$?
30820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); }; }; then
30822 ac_cv_lib_Sgm_SgCreateList=yes
30823 else
30824 echo "$as_me: failed program was:" >&5
30825 sed 's/^/| /' conftest.$ac_ext >&5
30826
30827 ac_cv_lib_Sgm_SgCreateList=no
30828 fi
30829 rm -f conftest.err conftest.$ac_objext \
30830 conftest$ac_exeext conftest.$ac_ext
30831 LIBS=$ac_check_lib_save_LIBS
30832 fi
30833 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30834 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30835 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30836 libsgm_link=" -lSgm"
30837 fi
30838
30839
30840 save_CXXFLAGS=$CXXFLAGS
30841 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30842
30843 echo "$as_me:$LINENO: checking for Motif 2" >&5
30844 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30845 if test "${wx_cv_lib_motif2+set}" = set; then
30846 echo $ECHO_N "(cached) $ECHO_C" >&6
30847 else
30848 cat >conftest.$ac_ext <<_ACEOF
30849 /* confdefs.h. */
30850 _ACEOF
30851 cat confdefs.h >>conftest.$ac_ext
30852 cat >>conftest.$ac_ext <<_ACEOF
30853 /* end confdefs.h. */
30854
30855 #include <Xm/Xm.h>
30856
30857 int
30858 main ()
30859 {
30860
30861 #if XmVersion < 2000
30862 Not Motif 2
30863 #endif
30864
30865 ;
30866 return 0;
30867 }
30868 _ACEOF
30869 rm -f conftest.$ac_objext
30870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30871 (eval $ac_compile) 2>conftest.er1
30872 ac_status=$?
30873 grep -v '^ *+' conftest.er1 >conftest.err
30874 rm -f conftest.er1
30875 cat conftest.err >&5
30876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30877 (exit $ac_status); } &&
30878 { ac_try='test -z "$ac_cxx_werror_flag"
30879 || test ! -s conftest.err'
30880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30881 (eval $ac_try) 2>&5
30882 ac_status=$?
30883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30884 (exit $ac_status); }; } &&
30885 { ac_try='test -s conftest.$ac_objext'
30886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30887 (eval $ac_try) 2>&5
30888 ac_status=$?
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); }; }; then
30891 wx_cv_lib_motif2="yes"
30892 else
30893 echo "$as_me: failed program was:" >&5
30894 sed 's/^/| /' conftest.$ac_ext >&5
30895
30896 wx_cv_lib_motif2="no"
30897 fi
30898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30899 fi
30900 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30901 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30902 if test "$wx_cv_lib_motif2" = "yes"; then
30903 cat >>confdefs.h <<\_ACEOF
30904 #define __WXMOTIF20__ 1
30905 _ACEOF
30906
30907 else
30908 cat >>confdefs.h <<\_ACEOF
30909 #define __WXMOTIF20__ 0
30910 _ACEOF
30911
30912 fi
30913
30914 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30915 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30916 if test "${wx_cv_lib_lesstif+set}" = set; then
30917 echo $ECHO_N "(cached) $ECHO_C" >&6
30918 else
30919 cat >conftest.$ac_ext <<_ACEOF
30920 /* confdefs.h. */
30921 _ACEOF
30922 cat confdefs.h >>conftest.$ac_ext
30923 cat >>conftest.$ac_ext <<_ACEOF
30924 /* end confdefs.h. */
30925
30926 #include <Xm/Xm.h>
30927
30928 int
30929 main ()
30930 {
30931
30932 #if !defined(LesstifVersion) || LesstifVersion <= 0
30933 Not Lesstif
30934 #endif
30935
30936 ;
30937 return 0;
30938 }
30939 _ACEOF
30940 rm -f conftest.$ac_objext
30941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30942 (eval $ac_compile) 2>conftest.er1
30943 ac_status=$?
30944 grep -v '^ *+' conftest.er1 >conftest.err
30945 rm -f conftest.er1
30946 cat conftest.err >&5
30947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948 (exit $ac_status); } &&
30949 { ac_try='test -z "$ac_cxx_werror_flag"
30950 || test ! -s conftest.err'
30951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30952 (eval $ac_try) 2>&5
30953 ac_status=$?
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); }; } &&
30956 { ac_try='test -s conftest.$ac_objext'
30957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30958 (eval $ac_try) 2>&5
30959 ac_status=$?
30960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961 (exit $ac_status); }; }; then
30962 wx_cv_lib_lesstif="yes"
30963 else
30964 echo "$as_me: failed program was:" >&5
30965 sed 's/^/| /' conftest.$ac_ext >&5
30966
30967 wx_cv_lib_lesstif="no"
30968 fi
30969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30970
30971 fi
30972 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30973 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30974 if test "$wx_cv_lib_lesstif" = "yes"; then
30975 cat >>confdefs.h <<\_ACEOF
30976 #define __WXLESSTIF__ 1
30977 _ACEOF
30978
30979 else
30980 cat >>confdefs.h <<\_ACEOF
30981 #define __WXLESSTIF__ 0
30982 _ACEOF
30983
30984 fi
30985
30986 CXXFLAGS=$save_CXXFLAGS
30987
30988 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30989 TOOLKIT=MOTIF
30990 GUIDIST=MOTIF_DIST
30991 fi
30992
30993 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30994 if test "$wxUSE_LIBXPM" = "sys"; then
30995 echo "$as_me:$LINENO: checking for Xpm library" >&5
30996 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30997
30998 ac_find_libraries=
30999 for ac_dir in $SEARCH_LIB;
31000 do
31001 for ac_extension in a so sl dylib dll.a; do
31002 if test -f "$ac_dir/libXpm.$ac_extension"; then
31003 ac_find_libraries=$ac_dir
31004 break 2
31005 fi
31006 done
31007 done
31008
31009 if test "$ac_find_libraries" != "" ; then
31010
31011 if test "$ac_find_libraries" = "default location"; then
31012 ac_path_to_link=""
31013 else
31014 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31015 result=$?
31016 if test $result = 0; then
31017 ac_path_to_link=""
31018 else
31019 ac_path_to_link=" -L$ac_find_libraries"
31020 fi
31021 fi
31022
31023 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31024 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31025 echo "${ECHO_T}found in $ac_find_libraries" >&6
31026
31027 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31028 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31029 if test "${wx_cv_x11_xpm_h+set}" = set; then
31030 echo $ECHO_N "(cached) $ECHO_C" >&6
31031 else
31032
31033 save_CXXFLAGS=$CXXFLAGS
31034 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31035
31036 cat >conftest.$ac_ext <<_ACEOF
31037 /* confdefs.h. */
31038 _ACEOF
31039 cat confdefs.h >>conftest.$ac_ext
31040 cat >>conftest.$ac_ext <<_ACEOF
31041 /* end confdefs.h. */
31042
31043 #include <X11/xpm.h>
31044
31045 int
31046 main ()
31047 {
31048
31049 int version;
31050 version = XpmLibraryVersion();
31051
31052 ;
31053 return 0;
31054 }
31055 _ACEOF
31056 rm -f conftest.$ac_objext
31057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31058 (eval $ac_compile) 2>conftest.er1
31059 ac_status=$?
31060 grep -v '^ *+' conftest.er1 >conftest.err
31061 rm -f conftest.er1
31062 cat conftest.err >&5
31063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31064 (exit $ac_status); } &&
31065 { ac_try='test -z "$ac_cxx_werror_flag"
31066 || test ! -s conftest.err'
31067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31068 (eval $ac_try) 2>&5
31069 ac_status=$?
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); }; } &&
31072 { ac_try='test -s conftest.$ac_objext'
31073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31074 (eval $ac_try) 2>&5
31075 ac_status=$?
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); }; }; then
31078 wx_cv_x11_xpm_h=yes
31079 else
31080 echo "$as_me: failed program was:" >&5
31081 sed 's/^/| /' conftest.$ac_ext >&5
31082
31083 wx_cv_x11_xpm_h=no
31084
31085 fi
31086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31087
31088 CXXFLAGS=$save_CXXFLAGS
31089
31090
31091 fi
31092 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31093 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31094
31095 if test $wx_cv_x11_xpm_h = "yes"; then
31096 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31097 cat >>confdefs.h <<\_ACEOF
31098 #define wxHAVE_LIB_XPM 1
31099 _ACEOF
31100
31101 else
31102 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31103 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31104 fi
31105 fi
31106
31107 fi
31108
31109 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31110 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31111 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31112 echo $ECHO_N "(cached) $ECHO_C" >&6
31113 else
31114 ac_check_lib_save_LIBS=$LIBS
31115 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31116 cat >conftest.$ac_ext <<_ACEOF
31117 /* confdefs.h. */
31118 _ACEOF
31119 cat confdefs.h >>conftest.$ac_ext
31120 cat >>conftest.$ac_ext <<_ACEOF
31121 /* end confdefs.h. */
31122
31123 /* Override any gcc2 internal prototype to avoid an error. */
31124 #ifdef __cplusplus
31125 extern "C"
31126 #endif
31127 /* We use char because int might match the return type of a gcc2
31128 builtin and then its argument prototype would still apply. */
31129 char XShapeQueryExtension ();
31130 int
31131 main ()
31132 {
31133 XShapeQueryExtension ();
31134 ;
31135 return 0;
31136 }
31137 _ACEOF
31138 rm -f conftest.$ac_objext conftest$ac_exeext
31139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31140 (eval $ac_link) 2>conftest.er1
31141 ac_status=$?
31142 grep -v '^ *+' conftest.er1 >conftest.err
31143 rm -f conftest.er1
31144 cat conftest.err >&5
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); } &&
31147 { ac_try='test -z "$ac_cxx_werror_flag"
31148 || test ! -s conftest.err'
31149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31150 (eval $ac_try) 2>&5
31151 ac_status=$?
31152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31153 (exit $ac_status); }; } &&
31154 { ac_try='test -s conftest$ac_exeext'
31155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156 (eval $ac_try) 2>&5
31157 ac_status=$?
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; }; then
31160 ac_cv_lib_Xext_XShapeQueryExtension=yes
31161 else
31162 echo "$as_me: failed program was:" >&5
31163 sed 's/^/| /' conftest.$ac_ext >&5
31164
31165 ac_cv_lib_Xext_XShapeQueryExtension=no
31166 fi
31167 rm -f conftest.err conftest.$ac_objext \
31168 conftest$ac_exeext conftest.$ac_ext
31169 LIBS=$ac_check_lib_save_LIBS
31170 fi
31171 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31172 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31173 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31174
31175 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31176 wxHAVE_XEXT_LIB=1
31177
31178 fi
31179
31180
31181 if test "$wxHAVE_XEXT_LIB" = 1; then
31182 save_CXXFLAGS="$CXXFLAGS"
31183 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31184
31185 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31186 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31187 cat >conftest.$ac_ext <<_ACEOF
31188 /* confdefs.h. */
31189 _ACEOF
31190 cat confdefs.h >>conftest.$ac_ext
31191 cat >>conftest.$ac_ext <<_ACEOF
31192 /* end confdefs.h. */
31193
31194 #include <X11/Xlib.h>
31195 #include <X11/extensions/shape.h>
31196
31197 int
31198 main ()
31199 {
31200
31201 int dummy1, dummy2;
31202 XShapeQueryExtension((Display*)NULL,
31203 (int*)NULL, (int*)NULL);
31204
31205 ;
31206 return 0;
31207 }
31208 _ACEOF
31209 rm -f conftest.$ac_objext
31210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31211 (eval $ac_compile) 2>conftest.er1
31212 ac_status=$?
31213 grep -v '^ *+' conftest.er1 >conftest.err
31214 rm -f conftest.er1
31215 cat conftest.err >&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); } &&
31218 { ac_try='test -z "$ac_cxx_werror_flag"
31219 || test ! -s conftest.err'
31220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31221 (eval $ac_try) 2>&5
31222 ac_status=$?
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); }; } &&
31225 { ac_try='test -s conftest.$ac_objext'
31226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31227 (eval $ac_try) 2>&5
31228 ac_status=$?
31229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31230 (exit $ac_status); }; }; then
31231
31232 cat >>confdefs.h <<\_ACEOF
31233 #define HAVE_XSHAPE 1
31234 _ACEOF
31235
31236 echo "$as_me:$LINENO: result: found" >&5
31237 echo "${ECHO_T}found" >&6
31238
31239 else
31240 echo "$as_me: failed program was:" >&5
31241 sed 's/^/| /' conftest.$ac_ext >&5
31242
31243
31244 echo "$as_me:$LINENO: result: not found" >&5
31245 echo "${ECHO_T}not found" >&6
31246
31247 fi
31248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31249 CXXFLAGS="$save_CXXFLAGS"
31250
31251 fi
31252 fi
31253
31254 if test "$wxUSE_MAC" = 1; then
31255 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31256 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31257 if test "$GCC" = yes; then
31258 echo "$as_me:$LINENO: result: gcc" >&5
31259 echo "${ECHO_T}gcc" >&6
31260 CPPFLAGS_PASCAL="-fpascal-strings"
31261 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31262 echo "$as_me:$LINENO: result: xlc" >&5
31263 echo "${ECHO_T}xlc" >&6
31264 CPPFLAGS_PASCAL="-qmacpstr"
31265 else
31266 echo "$as_me:$LINENO: result: none" >&5
31267 echo "${ECHO_T}none" >&6
31268 fi
31269
31270 if test "x$wxUSE_UNIX" = "xyes"; then
31271 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31272 else
31273 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31274 fi
31275
31276 TOOLKIT=MAC
31277 GUIDIST=MACX_DIST
31278 WXBASEPORT="_carbon"
31279 fi
31280
31281 if test "$wxUSE_COCOA" = 1; then
31282 TOOLKIT=COCOA
31283 GUIDIST=COCOA_DIST
31284 fi
31285
31286 if test "$wxUSE_PM" = 1; then
31287 TOOLKIT=PM
31288 GUIDIST=PM_DIST
31289 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31290 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31291 if test "${wx_cv_spbcdata+set}" = set; then
31292 echo $ECHO_N "(cached) $ECHO_C" >&6
31293 else
31294
31295 cat >conftest.$ac_ext <<_ACEOF
31296 /* confdefs.h. */
31297 _ACEOF
31298 cat confdefs.h >>conftest.$ac_ext
31299 cat >>conftest.$ac_ext <<_ACEOF
31300 /* end confdefs.h. */
31301
31302 #define INCL_PM
31303 #include <os2.h>
31304
31305 int
31306 main ()
31307 {
31308
31309 SPBCDATA test;
31310
31311 ;
31312 return 0;
31313 }
31314 _ACEOF
31315 rm -f conftest.$ac_objext
31316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31317 (eval $ac_compile) 2>conftest.er1
31318 ac_status=$?
31319 grep -v '^ *+' conftest.er1 >conftest.err
31320 rm -f conftest.er1
31321 cat conftest.err >&5
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); } &&
31324 { ac_try='test -z "$ac_cxx_werror_flag"
31325 || test ! -s conftest.err'
31326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31327 (eval $ac_try) 2>&5
31328 ac_status=$?
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); }; } &&
31331 { ac_try='test -s conftest.$ac_objext'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31334 ac_status=$?
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; }; then
31337 wx_cv_spbcdata=yes
31338 else
31339 echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.$ac_ext >&5
31341
31342 wx_cv_spbcdata=no
31343
31344 fi
31345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31346
31347
31348 fi
31349 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31350 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31351
31352 if test $wx_cv_spbcdata = "yes"; then
31353 cat >>confdefs.h <<\_ACEOF
31354 #define HAVE_SPBCDATA 1
31355 _ACEOF
31356
31357 fi
31358 fi
31359
31360 if test "$TOOLKIT" = "PM" ; then
31361 TOOLKIT_DIR="os2"
31362 else
31363 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31364 fi
31365
31366 if test "$wxUSE_UNIVERSAL" = "yes"; then
31367 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31368 WIDGET_SET=univ
31369 fi
31370
31371 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31372 DISTDIR="wx\$(TOOLKIT)"
31373 else
31374 USE_GUI=0
31375
31376 TOOLKIT_DIR="base"
31377
31378 if test "$USE_WIN32" = 1 ; then
31379 TOOLKIT="MSW"
31380 fi
31381
31382 GUIDIST="BASE_DIST"
31383 DISTDIR="wxBase"
31384 fi
31385
31386
31387 if test "$wxUSE_GUI" = "yes"; then
31388 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31389
31390 for ac_header in X11/Xlib.h
31391 do
31392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31394 echo "$as_me:$LINENO: checking for $ac_header" >&5
31395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31398 fi
31399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31401 else
31402 # Is the header compilable?
31403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31405 cat >conftest.$ac_ext <<_ACEOF
31406 /* confdefs.h. */
31407 _ACEOF
31408 cat confdefs.h >>conftest.$ac_ext
31409 cat >>conftest.$ac_ext <<_ACEOF
31410 /* end confdefs.h. */
31411 $ac_includes_default
31412 #include <$ac_header>
31413 _ACEOF
31414 rm -f conftest.$ac_objext
31415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31416 (eval $ac_compile) 2>conftest.er1
31417 ac_status=$?
31418 grep -v '^ *+' conftest.er1 >conftest.err
31419 rm -f conftest.er1
31420 cat conftest.err >&5
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); } &&
31423 { ac_try='test -z "$ac_cxx_werror_flag"
31424 || test ! -s conftest.err'
31425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426 (eval $ac_try) 2>&5
31427 ac_status=$?
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); }; } &&
31430 { ac_try='test -s conftest.$ac_objext'
31431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31432 (eval $ac_try) 2>&5
31433 ac_status=$?
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); }; }; then
31436 ac_header_compiler=yes
31437 else
31438 echo "$as_me: failed program was:" >&5
31439 sed 's/^/| /' conftest.$ac_ext >&5
31440
31441 ac_header_compiler=no
31442 fi
31443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31445 echo "${ECHO_T}$ac_header_compiler" >&6
31446
31447 # Is the header present?
31448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31450 cat >conftest.$ac_ext <<_ACEOF
31451 /* confdefs.h. */
31452 _ACEOF
31453 cat confdefs.h >>conftest.$ac_ext
31454 cat >>conftest.$ac_ext <<_ACEOF
31455 /* end confdefs.h. */
31456 #include <$ac_header>
31457 _ACEOF
31458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31460 ac_status=$?
31461 grep -v '^ *+' conftest.er1 >conftest.err
31462 rm -f conftest.er1
31463 cat conftest.err >&5
31464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31465 (exit $ac_status); } >/dev/null; then
31466 if test -s conftest.err; then
31467 ac_cpp_err=$ac_cxx_preproc_warn_flag
31468 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31469 else
31470 ac_cpp_err=
31471 fi
31472 else
31473 ac_cpp_err=yes
31474 fi
31475 if test -z "$ac_cpp_err"; then
31476 ac_header_preproc=yes
31477 else
31478 echo "$as_me: failed program was:" >&5
31479 sed 's/^/| /' conftest.$ac_ext >&5
31480
31481 ac_header_preproc=no
31482 fi
31483 rm -f conftest.err conftest.$ac_ext
31484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31485 echo "${ECHO_T}$ac_header_preproc" >&6
31486
31487 # So? What about this header?
31488 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31489 yes:no: )
31490 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31491 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31493 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31494 ac_header_preproc=yes
31495 ;;
31496 no:yes:* )
31497 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31498 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31499 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31500 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31501 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31502 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31503 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31504 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31506 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31507 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31508 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31509 (
31510 cat <<\_ASBOX
31511 ## ----------------------------------------- ##
31512 ## Report this to wx-dev@lists.wxwidgets.org ##
31513 ## ----------------------------------------- ##
31514 _ASBOX
31515 ) |
31516 sed "s/^/$as_me: WARNING: /" >&2
31517 ;;
31518 esac
31519 echo "$as_me:$LINENO: checking for $ac_header" >&5
31520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31522 echo $ECHO_N "(cached) $ECHO_C" >&6
31523 else
31524 eval "$as_ac_Header=\$ac_header_preproc"
31525 fi
31526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31528
31529 fi
31530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31531 cat >>confdefs.h <<_ACEOF
31532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31533 _ACEOF
31534
31535 fi
31536
31537 done
31538
31539
31540 for ac_header in X11/XKBlib.h
31541 do
31542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31543 echo "$as_me:$LINENO: checking for $ac_header" >&5
31544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31546 echo $ECHO_N "(cached) $ECHO_C" >&6
31547 else
31548 cat >conftest.$ac_ext <<_ACEOF
31549 /* confdefs.h. */
31550 _ACEOF
31551 cat confdefs.h >>conftest.$ac_ext
31552 cat >>conftest.$ac_ext <<_ACEOF
31553 /* end confdefs.h. */
31554
31555 #if HAVE_X11_XLIB_H
31556 #include <X11/Xlib.h>
31557 #endif
31558
31559
31560 #include <$ac_header>
31561 _ACEOF
31562 rm -f conftest.$ac_objext
31563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31564 (eval $ac_compile) 2>conftest.er1
31565 ac_status=$?
31566 grep -v '^ *+' conftest.er1 >conftest.err
31567 rm -f conftest.er1
31568 cat conftest.err >&5
31569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570 (exit $ac_status); } &&
31571 { ac_try='test -z "$ac_cxx_werror_flag"
31572 || test ! -s conftest.err'
31573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31574 (eval $ac_try) 2>&5
31575 ac_status=$?
31576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577 (exit $ac_status); }; } &&
31578 { ac_try='test -s conftest.$ac_objext'
31579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31580 (eval $ac_try) 2>&5
31581 ac_status=$?
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; }; then
31584 eval "$as_ac_Header=yes"
31585 else
31586 echo "$as_me: failed program was:" >&5
31587 sed 's/^/| /' conftest.$ac_ext >&5
31588
31589 eval "$as_ac_Header=no"
31590 fi
31591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31592 fi
31593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31596 cat >>confdefs.h <<_ACEOF
31597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31598 _ACEOF
31599
31600 fi
31601
31602 done
31603
31604 fi
31605 fi
31606
31607
31608
31609 IODBC_C_SRC=""
31610
31611
31612 if test "$TOOLKIT" != "MSW" ; then
31613
31614 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31615
31616 if test "${ac_cv_header_sql_h+set}" = set; then
31617 echo "$as_me:$LINENO: checking for sql.h" >&5
31618 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31619 if test "${ac_cv_header_sql_h+set}" = set; then
31620 echo $ECHO_N "(cached) $ECHO_C" >&6
31621 fi
31622 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31623 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31624 else
31625 # Is the header compilable?
31626 echo "$as_me:$LINENO: checking sql.h usability" >&5
31627 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31628 cat >conftest.$ac_ext <<_ACEOF
31629 /* confdefs.h. */
31630 _ACEOF
31631 cat confdefs.h >>conftest.$ac_ext
31632 cat >>conftest.$ac_ext <<_ACEOF
31633 /* end confdefs.h. */
31634 $ac_includes_default
31635 #include <sql.h>
31636 _ACEOF
31637 rm -f conftest.$ac_objext
31638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31639 (eval $ac_compile) 2>conftest.er1
31640 ac_status=$?
31641 grep -v '^ *+' conftest.er1 >conftest.err
31642 rm -f conftest.er1
31643 cat conftest.err >&5
31644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31645 (exit $ac_status); } &&
31646 { ac_try='test -z "$ac_cxx_werror_flag"
31647 || test ! -s conftest.err'
31648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31649 (eval $ac_try) 2>&5
31650 ac_status=$?
31651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31652 (exit $ac_status); }; } &&
31653 { ac_try='test -s conftest.$ac_objext'
31654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31655 (eval $ac_try) 2>&5
31656 ac_status=$?
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); }; }; then
31659 ac_header_compiler=yes
31660 else
31661 echo "$as_me: failed program was:" >&5
31662 sed 's/^/| /' conftest.$ac_ext >&5
31663
31664 ac_header_compiler=no
31665 fi
31666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31668 echo "${ECHO_T}$ac_header_compiler" >&6
31669
31670 # Is the header present?
31671 echo "$as_me:$LINENO: checking sql.h presence" >&5
31672 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31673 cat >conftest.$ac_ext <<_ACEOF
31674 /* confdefs.h. */
31675 _ACEOF
31676 cat confdefs.h >>conftest.$ac_ext
31677 cat >>conftest.$ac_ext <<_ACEOF
31678 /* end confdefs.h. */
31679 #include <sql.h>
31680 _ACEOF
31681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31682 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31683 ac_status=$?
31684 grep -v '^ *+' conftest.er1 >conftest.err
31685 rm -f conftest.er1
31686 cat conftest.err >&5
31687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31688 (exit $ac_status); } >/dev/null; then
31689 if test -s conftest.err; then
31690 ac_cpp_err=$ac_cxx_preproc_warn_flag
31691 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31692 else
31693 ac_cpp_err=
31694 fi
31695 else
31696 ac_cpp_err=yes
31697 fi
31698 if test -z "$ac_cpp_err"; then
31699 ac_header_preproc=yes
31700 else
31701 echo "$as_me: failed program was:" >&5
31702 sed 's/^/| /' conftest.$ac_ext >&5
31703
31704 ac_header_preproc=no
31705 fi
31706 rm -f conftest.err conftest.$ac_ext
31707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31708 echo "${ECHO_T}$ac_header_preproc" >&6
31709
31710 # So? What about this header?
31711 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31712 yes:no: )
31713 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31714 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31715 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31716 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31717 ac_header_preproc=yes
31718 ;;
31719 no:yes:* )
31720 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31721 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31722 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31723 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31724 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31725 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31726 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31727 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31728 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31729 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31730 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31731 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31732 (
31733 cat <<\_ASBOX
31734 ## ----------------------------------------- ##
31735 ## Report this to wx-dev@lists.wxwidgets.org ##
31736 ## ----------------------------------------- ##
31737 _ASBOX
31738 ) |
31739 sed "s/^/$as_me: WARNING: /" >&2
31740 ;;
31741 esac
31742 echo "$as_me:$LINENO: checking for sql.h" >&5
31743 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31744 if test "${ac_cv_header_sql_h+set}" = set; then
31745 echo $ECHO_N "(cached) $ECHO_C" >&6
31746 else
31747 ac_cv_header_sql_h=$ac_header_preproc
31748 fi
31749 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31750 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31751
31752 fi
31753 if test $ac_cv_header_sql_h = yes; then
31754 found_sql_h=1
31755 fi
31756
31757
31758 if test "x$found_sql_h" = "x1" ; then
31759 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31760 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31761 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31762 echo $ECHO_N "(cached) $ECHO_C" >&6
31763 else
31764 ac_check_lib_save_LIBS=$LIBS
31765 LIBS="-liodbc $LIBS"
31766 cat >conftest.$ac_ext <<_ACEOF
31767 /* confdefs.h. */
31768 _ACEOF
31769 cat confdefs.h >>conftest.$ac_ext
31770 cat >>conftest.$ac_ext <<_ACEOF
31771 /* end confdefs.h. */
31772
31773 /* Override any gcc2 internal prototype to avoid an error. */
31774 #ifdef __cplusplus
31775 extern "C"
31776 #endif
31777 /* We use char because int might match the return type of a gcc2
31778 builtin and then its argument prototype would still apply. */
31779 char SQLAllocEnv ();
31780 int
31781 main ()
31782 {
31783 SQLAllocEnv ();
31784 ;
31785 return 0;
31786 }
31787 _ACEOF
31788 rm -f conftest.$ac_objext conftest$ac_exeext
31789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31790 (eval $ac_link) 2>conftest.er1
31791 ac_status=$?
31792 grep -v '^ *+' conftest.er1 >conftest.err
31793 rm -f conftest.er1
31794 cat conftest.err >&5
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); } &&
31797 { ac_try='test -z "$ac_cxx_werror_flag"
31798 || test ! -s conftest.err'
31799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31800 (eval $ac_try) 2>&5
31801 ac_status=$?
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); }; } &&
31804 { ac_try='test -s conftest$ac_exeext'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31807 ac_status=$?
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; }; then
31810 ac_cv_lib_iodbc_SQLAllocEnv=yes
31811 else
31812 echo "$as_me: failed program was:" >&5
31813 sed 's/^/| /' conftest.$ac_ext >&5
31814
31815 ac_cv_lib_iodbc_SQLAllocEnv=no
31816 fi
31817 rm -f conftest.err conftest.$ac_objext \
31818 conftest$ac_exeext conftest.$ac_ext
31819 LIBS=$ac_check_lib_save_LIBS
31820 fi
31821 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31822 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31823 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31824 ODBC_LINK=" -liodbc"
31825 else
31826
31827 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31828 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31829 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31830 echo $ECHO_N "(cached) $ECHO_C" >&6
31831 else
31832 ac_check_lib_save_LIBS=$LIBS
31833 LIBS="-lunixodbc $LIBS"
31834 cat >conftest.$ac_ext <<_ACEOF
31835 /* confdefs.h. */
31836 _ACEOF
31837 cat confdefs.h >>conftest.$ac_ext
31838 cat >>conftest.$ac_ext <<_ACEOF
31839 /* end confdefs.h. */
31840
31841 /* Override any gcc2 internal prototype to avoid an error. */
31842 #ifdef __cplusplus
31843 extern "C"
31844 #endif
31845 /* We use char because int might match the return type of a gcc2
31846 builtin and then its argument prototype would still apply. */
31847 char SQLAllocEnv ();
31848 int
31849 main ()
31850 {
31851 SQLAllocEnv ();
31852 ;
31853 return 0;
31854 }
31855 _ACEOF
31856 rm -f conftest.$ac_objext conftest$ac_exeext
31857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31858 (eval $ac_link) 2>conftest.er1
31859 ac_status=$?
31860 grep -v '^ *+' conftest.er1 >conftest.err
31861 rm -f conftest.er1
31862 cat conftest.err >&5
31863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31864 (exit $ac_status); } &&
31865 { ac_try='test -z "$ac_cxx_werror_flag"
31866 || test ! -s conftest.err'
31867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31868 (eval $ac_try) 2>&5
31869 ac_status=$?
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); }; } &&
31872 { ac_try='test -s conftest$ac_exeext'
31873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31874 (eval $ac_try) 2>&5
31875 ac_status=$?
31876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31877 (exit $ac_status); }; }; then
31878 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31879 else
31880 echo "$as_me: failed program was:" >&5
31881 sed 's/^/| /' conftest.$ac_ext >&5
31882
31883 ac_cv_lib_unixodbc_SQLAllocEnv=no
31884 fi
31885 rm -f conftest.err conftest.$ac_objext \
31886 conftest$ac_exeext conftest.$ac_ext
31887 LIBS=$ac_check_lib_save_LIBS
31888 fi
31889 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31890 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31891 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31892 ODBC_LINK=" -lunixodbc"
31893 else
31894
31895 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31896 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31897 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31898 echo $ECHO_N "(cached) $ECHO_C" >&6
31899 else
31900 ac_check_lib_save_LIBS=$LIBS
31901 LIBS="-lodbc $LIBS"
31902 cat >conftest.$ac_ext <<_ACEOF
31903 /* confdefs.h. */
31904 _ACEOF
31905 cat confdefs.h >>conftest.$ac_ext
31906 cat >>conftest.$ac_ext <<_ACEOF
31907 /* end confdefs.h. */
31908
31909 /* Override any gcc2 internal prototype to avoid an error. */
31910 #ifdef __cplusplus
31911 extern "C"
31912 #endif
31913 /* We use char because int might match the return type of a gcc2
31914 builtin and then its argument prototype would still apply. */
31915 char SQLAllocEnv ();
31916 int
31917 main ()
31918 {
31919 SQLAllocEnv ();
31920 ;
31921 return 0;
31922 }
31923 _ACEOF
31924 rm -f conftest.$ac_objext conftest$ac_exeext
31925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31926 (eval $ac_link) 2>conftest.er1
31927 ac_status=$?
31928 grep -v '^ *+' conftest.er1 >conftest.err
31929 rm -f conftest.er1
31930 cat conftest.err >&5
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); } &&
31933 { ac_try='test -z "$ac_cxx_werror_flag"
31934 || test ! -s conftest.err'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31937 ac_status=$?
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; } &&
31940 { ac_try='test -s conftest$ac_exeext'
31941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31942 (eval $ac_try) 2>&5
31943 ac_status=$?
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); }; }; then
31946 ac_cv_lib_odbc_SQLAllocEnv=yes
31947 else
31948 echo "$as_me: failed program was:" >&5
31949 sed 's/^/| /' conftest.$ac_ext >&5
31950
31951 ac_cv_lib_odbc_SQLAllocEnv=no
31952 fi
31953 rm -f conftest.err conftest.$ac_objext \
31954 conftest$ac_exeext conftest.$ac_ext
31955 LIBS=$ac_check_lib_save_LIBS
31956 fi
31957 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31958 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31959 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31960 ODBC_LINK=" -lodbc"
31961 fi
31962
31963
31964 fi
31965
31966
31967 fi
31968
31969 fi
31970 if test "x$ODBC_LINK" = "x" ; then
31971 if test "$wxUSE_ODBC" = "sys" ; then
31972 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31973 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31974 { (exit 1); exit 1; }; }
31975 else
31976 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31977 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31978 wxUSE_ODBC=builtin
31979 fi
31980 else
31981 wxUSE_ODBC=sys
31982 fi
31983 fi
31984
31985 if test "$wxUSE_ODBC" = "builtin" ; then
31986 cat >>confdefs.h <<\_ACEOF
31987 #define wxUSE_BUILTIN_IODBC 1
31988 _ACEOF
31989
31990 fi
31991 fi
31992
31993 if test "$wxUSE_ODBC" != "no" ; then
31994 cat >>confdefs.h <<\_ACEOF
31995 #define wxUSE_ODBC 1
31996 _ACEOF
31997
31998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31999
32000 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32001 fi
32002
32003
32004 if test "$wxUSE_DISPLAY" = "yes"; then
32005 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32006 echo "$as_me:$LINENO: checking for Xinerama" >&5
32007 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32008
32009 ac_find_libraries=
32010 for ac_dir in $SEARCH_LIB;
32011 do
32012 for ac_extension in a so sl dylib dll.a; do
32013 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32014 ac_find_libraries=$ac_dir
32015 break 2
32016 fi
32017 done
32018 done
32019
32020 if test "$ac_find_libraries" != "" ; then
32021
32022 if test "$ac_find_libraries" = "default location"; then
32023 ac_path_to_link=""
32024 else
32025 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32026 result=$?
32027 if test $result = 0; then
32028 ac_path_to_link=""
32029 else
32030 ac_path_to_link=" -L$ac_find_libraries"
32031 fi
32032 fi
32033
32034 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32035 LDFLAGS="$LDFLAGS $ac_path_to_link"
32036 fi
32037 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32038 echo "$as_me:$LINENO: result: yes" >&5
32039 echo "${ECHO_T}yes" >&6
32040
32041 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32042 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32043
32044 ac_find_libraries=
32045 for ac_dir in $SEARCH_LIB;
32046 do
32047 for ac_extension in a so sl dylib dll.a; do
32048 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32049 ac_find_libraries=$ac_dir
32050 break 2
32051 fi
32052 done
32053 done
32054
32055 if test "$ac_find_libraries" != "" ; then
32056 echo "$as_me:$LINENO: result: yes" >&5
32057 echo "${ECHO_T}yes" >&6
32058
32059 for ac_header in X11/extensions/xf86vmode.h
32060 do
32061 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32062 echo "$as_me:$LINENO: checking for $ac_header" >&5
32063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32065 echo $ECHO_N "(cached) $ECHO_C" >&6
32066 else
32067 cat >conftest.$ac_ext <<_ACEOF
32068 /* confdefs.h. */
32069 _ACEOF
32070 cat confdefs.h >>conftest.$ac_ext
32071 cat >>conftest.$ac_ext <<_ACEOF
32072 /* end confdefs.h. */
32073
32074 #if HAVE_X11_XLIB_H
32075 #include <X11/Xlib.h>
32076 #endif
32077
32078
32079 #include <$ac_header>
32080 _ACEOF
32081 rm -f conftest.$ac_objext
32082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32083 (eval $ac_compile) 2>conftest.er1
32084 ac_status=$?
32085 grep -v '^ *+' conftest.er1 >conftest.err
32086 rm -f conftest.er1
32087 cat conftest.err >&5
32088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089 (exit $ac_status); } &&
32090 { ac_try='test -z "$ac_cxx_werror_flag"
32091 || test ! -s conftest.err'
32092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32093 (eval $ac_try) 2>&5
32094 ac_status=$?
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); }; } &&
32097 { ac_try='test -s conftest.$ac_objext'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32100 ac_status=$?
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; }; then
32103 eval "$as_ac_Header=yes"
32104 else
32105 echo "$as_me: failed program was:" >&5
32106 sed 's/^/| /' conftest.$ac_ext >&5
32107
32108 eval "$as_ac_Header=no"
32109 fi
32110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32111 fi
32112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32115 cat >>confdefs.h <<_ACEOF
32116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32117 _ACEOF
32118
32119 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32120
32121 fi
32122
32123 done
32124
32125 else
32126 echo "$as_me:$LINENO: result: no" >&5
32127 echo "${ECHO_T}no" >&6
32128 fi
32129
32130 else
32131 echo "$as_me:$LINENO: result: no" >&5
32132 echo "${ECHO_T}no" >&6
32133 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32134 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32135 wxUSE_DISPLAY="no"
32136 fi
32137 elif test "$wxUSE_MSW" = 1; then
32138
32139 for ac_header in ddraw.h
32140 do
32141 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32142 echo "$as_me:$LINENO: checking for $ac_header" >&5
32143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32145 echo $ECHO_N "(cached) $ECHO_C" >&6
32146 else
32147 cat >conftest.$ac_ext <<_ACEOF
32148 /* confdefs.h. */
32149 _ACEOF
32150 cat confdefs.h >>conftest.$ac_ext
32151 cat >>conftest.$ac_ext <<_ACEOF
32152 /* end confdefs.h. */
32153 #include <windows.h>
32154
32155 #include <$ac_header>
32156 _ACEOF
32157 rm -f conftest.$ac_objext
32158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32159 (eval $ac_compile) 2>conftest.er1
32160 ac_status=$?
32161 grep -v '^ *+' conftest.er1 >conftest.err
32162 rm -f conftest.er1
32163 cat conftest.err >&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); } &&
32166 { ac_try='test -z "$ac_cxx_werror_flag"
32167 || test ! -s conftest.err'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32170 ac_status=$?
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; } &&
32173 { ac_try='test -s conftest.$ac_objext'
32174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32175 (eval $ac_try) 2>&5
32176 ac_status=$?
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); }; }; then
32179 eval "$as_ac_Header=yes"
32180 else
32181 echo "$as_me: failed program was:" >&5
32182 sed 's/^/| /' conftest.$ac_ext >&5
32183
32184 eval "$as_ac_Header=no"
32185 fi
32186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32187 fi
32188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32191 cat >>confdefs.h <<_ACEOF
32192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32193 _ACEOF
32194
32195 fi
32196
32197 done
32198
32199 fi
32200 fi
32201
32202
32203 USE_OPENGL=0
32204 if test "$wxUSE_OPENGL" = "yes"; then
32205 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32206 OPENGL_LIBS="-framework OpenGL -framework AGL"
32207 elif test "$wxUSE_MSW" = 1; then
32208 OPENGL_LIBS="-lopengl32 -lglu32"
32209 else
32210
32211
32212 ac_find_includes=
32213 for ac_dir in $SEARCH_INCLUDE /usr/include;
32214 do
32215 if test -f "$ac_dir/GL/gl.h"; then
32216 ac_find_includes=$ac_dir
32217 break
32218 fi
32219 done
32220
32221 if test "$ac_find_includes" != "" ; then
32222 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32223 echo "${ECHO_T}found in $ac_find_includes" >&6
32224
32225 if test "x$ac_find_includes" = "x/usr/include"; then
32226 ac_path_to_include=""
32227 else
32228 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32229 result=$?
32230 if test $result = 0; then
32231 ac_path_to_include=""
32232 else
32233 ac_path_to_include=" -I$ac_find_includes"
32234 fi
32235 fi
32236
32237 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32238 fi
32239
32240 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32241 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32242 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32243 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32244 echo $ECHO_N "(cached) $ECHO_C" >&6
32245 fi
32246 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32247 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32248 else
32249 # Is the header compilable?
32250 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32251 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32252 cat >conftest.$ac_ext <<_ACEOF
32253 /* confdefs.h. */
32254 _ACEOF
32255 cat confdefs.h >>conftest.$ac_ext
32256 cat >>conftest.$ac_ext <<_ACEOF
32257 /* end confdefs.h. */
32258 $ac_includes_default
32259 #include <GL/gl.h>
32260 _ACEOF
32261 rm -f conftest.$ac_objext
32262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32263 (eval $ac_compile) 2>conftest.er1
32264 ac_status=$?
32265 grep -v '^ *+' conftest.er1 >conftest.err
32266 rm -f conftest.er1
32267 cat conftest.err >&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); } &&
32270 { ac_try='test -z "$ac_cxx_werror_flag"
32271 || test ! -s conftest.err'
32272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32273 (eval $ac_try) 2>&5
32274 ac_status=$?
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); }; } &&
32277 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
32283 ac_header_compiler=yes
32284 else
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.$ac_ext >&5
32287
32288 ac_header_compiler=no
32289 fi
32290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32291 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32292 echo "${ECHO_T}$ac_header_compiler" >&6
32293
32294 # Is the header present?
32295 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32296 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32297 cat >conftest.$ac_ext <<_ACEOF
32298 /* confdefs.h. */
32299 _ACEOF
32300 cat confdefs.h >>conftest.$ac_ext
32301 cat >>conftest.$ac_ext <<_ACEOF
32302 /* end confdefs.h. */
32303 #include <GL/gl.h>
32304 _ACEOF
32305 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32306 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32307 ac_status=$?
32308 grep -v '^ *+' conftest.er1 >conftest.err
32309 rm -f conftest.er1
32310 cat conftest.err >&5
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); } >/dev/null; then
32313 if test -s conftest.err; then
32314 ac_cpp_err=$ac_cxx_preproc_warn_flag
32315 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32316 else
32317 ac_cpp_err=
32318 fi
32319 else
32320 ac_cpp_err=yes
32321 fi
32322 if test -z "$ac_cpp_err"; then
32323 ac_header_preproc=yes
32324 else
32325 echo "$as_me: failed program was:" >&5
32326 sed 's/^/| /' conftest.$ac_ext >&5
32327
32328 ac_header_preproc=no
32329 fi
32330 rm -f conftest.err conftest.$ac_ext
32331 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32332 echo "${ECHO_T}$ac_header_preproc" >&6
32333
32334 # So? What about this header?
32335 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32336 yes:no: )
32337 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32338 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32339 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32340 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32341 ac_header_preproc=yes
32342 ;;
32343 no:yes:* )
32344 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32345 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32346 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32347 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32348 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32349 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32350 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32351 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32352 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32353 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32354 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32355 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32356 (
32357 cat <<\_ASBOX
32358 ## ----------------------------------------- ##
32359 ## Report this to wx-dev@lists.wxwidgets.org ##
32360 ## ----------------------------------------- ##
32361 _ASBOX
32362 ) |
32363 sed "s/^/$as_me: WARNING: /" >&2
32364 ;;
32365 esac
32366 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32367 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32368 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32369 echo $ECHO_N "(cached) $ECHO_C" >&6
32370 else
32371 ac_cv_header_GL_gl_h=$ac_header_preproc
32372 fi
32373 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32374 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32375
32376 fi
32377 if test $ac_cv_header_GL_gl_h = yes; then
32378
32379 found_gl=0
32380
32381 echo "$as_me:$LINENO: checking for -lGL" >&5
32382 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32383
32384 ac_find_libraries=
32385 for ac_dir in $SEARCH_LIB;
32386 do
32387 for ac_extension in a so sl dylib dll.a; do
32388 if test -f "$ac_dir/libGL.$ac_extension"; then
32389 ac_find_libraries=$ac_dir
32390 break 2
32391 fi
32392 done
32393 done
32394
32395 if test "$ac_find_libraries" != "" ; then
32396 echo "$as_me:$LINENO: result: yes" >&5
32397 echo "${ECHO_T}yes" >&6
32398
32399
32400 if test "$ac_find_libraries" = "default location"; then
32401 ac_path_to_link=""
32402 else
32403 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32404 result=$?
32405 if test $result = 0; then
32406 ac_path_to_link=""
32407 else
32408 ac_path_to_link=" -L$ac_find_libraries"
32409 fi
32410 fi
32411
32412 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32413 LDFLAGS_GL="$ac_path_to_link"
32414 fi
32415
32416 echo "$as_me:$LINENO: checking for -lGLU" >&5
32417 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32418
32419 ac_find_libraries=
32420 for ac_dir in $SEARCH_LIB;
32421 do
32422 for ac_extension in a so sl dylib dll.a; do
32423 if test -f "$ac_dir/libGLU.$ac_extension"; then
32424 ac_find_libraries=$ac_dir
32425 break 2
32426 fi
32427 done
32428 done
32429
32430 if test "$ac_find_libraries" != "" ; then
32431
32432 if test "$ac_find_libraries" = "default location"; then
32433 ac_path_to_link=""
32434 else
32435 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32436 result=$?
32437 if test $result = 0; then
32438 ac_path_to_link=""
32439 else
32440 ac_path_to_link=" -L$ac_find_libraries"
32441 fi
32442 fi
32443
32444 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32445 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32446 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32447 fi
32448
32449 found_gl=1
32450 OPENGL_LIBS="-lGL -lGLU"
32451 echo "$as_me:$LINENO: result: yes" >&5
32452 echo "${ECHO_T}yes" >&6
32453 else
32454 echo "$as_me:$LINENO: result: no" >&5
32455 echo "${ECHO_T}no" >&6
32456 fi
32457 else
32458 echo "$as_me:$LINENO: result: no" >&5
32459 echo "${ECHO_T}no" >&6
32460 fi
32461
32462 if test "$found_gl" != 1; then
32463 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32464 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32465
32466 ac_find_libraries=
32467 for ac_dir in $SEARCH_LIB;
32468 do
32469 for ac_extension in a so sl dylib dll.a; do
32470 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32471 ac_find_libraries=$ac_dir
32472 break 2
32473 fi
32474 done
32475 done
32476
32477 if test "$ac_find_libraries" != "" ; then
32478
32479 if test "$ac_find_libraries" = "default location"; then
32480 ac_path_to_link=""
32481 else
32482 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32483 result=$?
32484 if test $result = 0; then
32485 ac_path_to_link=""
32486 else
32487 ac_path_to_link=" -L$ac_find_libraries"
32488 fi
32489 fi
32490
32491 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32492 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32493 echo "$as_me:$LINENO: result: yes" >&5
32494 echo "${ECHO_T}yes" >&6
32495 else
32496 echo "$as_me:$LINENO: result: no" >&5
32497 echo "${ECHO_T}no" >&6
32498 fi
32499 fi
32500
32501 fi
32502
32503
32504
32505 if test "x$OPENGL_LIBS" = "x"; then
32506 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32507 echo "$as_me: error: OpenGL libraries not available" >&2;}
32508 { (exit 1); exit 1; }; }
32509 fi
32510 fi
32511
32512 if test "$wxUSE_OPENGL" = "yes"; then
32513 USE_OPENGL=1
32514 cat >>confdefs.h <<\_ACEOF
32515 #define wxUSE_OPENGL 1
32516 _ACEOF
32517
32518 cat >>confdefs.h <<\_ACEOF
32519 #define wxUSE_GLCANVAS 1
32520 _ACEOF
32521
32522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32523 fi
32524 fi
32525
32526
32527 if test -n "$TOOLKIT" ; then
32528 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32529 fi
32530
32531
32532
32533 if test "$wxUSE_SHARED" = "yes"; then
32534 case "${host}" in
32535 *-pc-msdosdjgpp )
32536 wxUSE_SHARED=no
32537 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32538 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32539 ;;
32540 esac
32541 fi
32542
32543 if test "$wxUSE_SHARED" = "yes"; then
32544
32545
32546 found_versioning=no
32547
32548
32549 if test $found_versioning = no ; then
32550 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32551 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32552 if test "${wx_cv_version_script+set}" = set; then
32553 echo $ECHO_N "(cached) $ECHO_C" >&6
32554 else
32555
32556 echo "VER_1 { *; };" >conftest.sym
32557 echo "int main() { return 0; }" >conftest.cpp
32558
32559 if { ac_try='
32560 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32561 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32564 ac_status=$?
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; } ; then
32567 if test -s conftest.stderr ; then
32568 wx_cv_version_script=no
32569 else
32570 wx_cv_version_script=yes
32571 fi
32572 else
32573 wx_cv_version_script=no
32574 fi
32575
32576 if test $wx_cv_version_script = yes
32577 then
32578 echo "struct B { virtual ~B() { } }; \
32579 struct D : public B { }; \
32580 void F() { D d; }" > conftest.cpp
32581
32582 if { ac_try='
32583 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32584 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32586 (eval $ac_try) 2>&5
32587 ac_status=$?
32588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32589 (exit $ac_status); }; } &&
32590 { ac_try='
32591 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32592 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32594 (eval $ac_try) 2>&5
32595 ac_status=$?
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); }; }
32598 then
32599 if { ac_try='
32600 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32601 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32603 (eval $ac_try) 2>&5
32604 ac_status=$?
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); }; }
32607 then
32608 wx_cv_version_script=yes
32609 else
32610 wx_cv_version_script=no
32611 fi
32612 fi
32613 fi
32614
32615 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32616 rm -f conftest1.output conftest2.output conftest3.output
32617
32618 fi
32619 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32620 echo "${ECHO_T}$wx_cv_version_script" >&6
32621 if test $wx_cv_version_script = yes ; then
32622 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
32623 fi
32624 fi
32625
32626
32627 case "${host}" in
32628 *-*-linux* | *-*-gnu* )
32629 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
32630 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32631 ;;
32632
32633 *-*-solaris2* )
32634 if test "$GCC" = yes ; then
32635 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32636
32637 saveLdflags="$LDFLAGS"
32638 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32639 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32640 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32641 cat >conftest.$ac_ext <<_ACEOF
32642 /* confdefs.h. */
32643 _ACEOF
32644 cat confdefs.h >>conftest.$ac_ext
32645 cat >>conftest.$ac_ext <<_ACEOF
32646 /* end confdefs.h. */
32647
32648 int
32649 main ()
32650 {
32651
32652 ;
32653 return 0;
32654 }
32655 _ACEOF
32656 rm -f conftest.$ac_objext conftest$ac_exeext
32657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32658 (eval $ac_link) 2>conftest.er1
32659 ac_status=$?
32660 grep -v '^ *+' conftest.er1 >conftest.err
32661 rm -f conftest.er1
32662 cat conftest.err >&5
32663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32664 (exit $ac_status); } &&
32665 { ac_try='test -z "$ac_cxx_werror_flag"
32666 || test ! -s conftest.err'
32667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32668 (eval $ac_try) 2>&5
32669 ac_status=$?
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); }; } &&
32672 { ac_try='test -s conftest$ac_exeext'
32673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32674 (eval $ac_try) 2>&5
32675 ac_status=$?
32676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32677 (exit $ac_status); }; }; then
32678
32679 echo "$as_me:$LINENO: result: yes" >&5
32680 echo "${ECHO_T}yes" >&6
32681 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
32682 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32683
32684 else
32685 echo "$as_me: failed program was:" >&5
32686 sed 's/^/| /' conftest.$ac_ext >&5
32687
32688
32689 echo "$as_me:$LINENO: result: no" >&5
32690 echo "${ECHO_T}no" >&6
32691 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32692 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32693 LDFLAGS="$saveLdflags -Wl,-R,/"
32694 cat >conftest.$ac_ext <<_ACEOF
32695 /* confdefs.h. */
32696 _ACEOF
32697 cat confdefs.h >>conftest.$ac_ext
32698 cat >>conftest.$ac_ext <<_ACEOF
32699 /* end confdefs.h. */
32700
32701 int
32702 main ()
32703 {
32704
32705 ;
32706 return 0;
32707 }
32708 _ACEOF
32709 rm -f conftest.$ac_objext conftest$ac_exeext
32710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32711 (eval $ac_link) 2>conftest.er1
32712 ac_status=$?
32713 grep -v '^ *+' conftest.er1 >conftest.err
32714 rm -f conftest.er1
32715 cat conftest.err >&5
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); } &&
32718 { ac_try='test -z "$ac_cxx_werror_flag"
32719 || test ! -s conftest.err'
32720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32721 (eval $ac_try) 2>&5
32722 ac_status=$?
32723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32724 (exit $ac_status); }; } &&
32725 { ac_try='test -s conftest$ac_exeext'
32726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32727 (eval $ac_try) 2>&5
32728 ac_status=$?
32729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32730 (exit $ac_status); }; }; then
32731
32732 echo "$as_me:$LINENO: result: yes" >&5
32733 echo "${ECHO_T}yes" >&6
32734 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
32735 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32736
32737 else
32738 echo "$as_me: failed program was:" >&5
32739 sed 's/^/| /' conftest.$ac_ext >&5
32740
32741
32742 echo "$as_me:$LINENO: result: no" >&5
32743 echo "${ECHO_T}no" >&6
32744
32745 fi
32746 rm -f conftest.err conftest.$ac_objext \
32747 conftest$ac_exeext conftest.$ac_ext
32748
32749 fi
32750 rm -f conftest.err conftest.$ac_objext \
32751 conftest$ac_exeext conftest.$ac_ext
32752 LDFLAGS="$saveLdflags"
32753 else
32754 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
32755 WXCONFIG_RPATH="-R\$libdir"
32756 fi
32757 ;;
32758
32759 *-*-darwin* )
32760 install_name_tool=`which install_name_tool`
32761 if test "$install_name_tool" -a -x "$install_name_tool"; then
32762 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32763 cat <<EOF >change-install-names
32764 #!/bin/sh
32765 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32766 inst_cmd="install_name_tool "
32767 for i in \${libnames} ; do
32768 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32769 done
32770 \${inst_cmd} \${3}
32771 EOF
32772 chmod +x change-install-names
32773 fi
32774 ;;
32775
32776 *-*-cygwin* | *-*-mingw32* )
32777 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32778 ;;
32779
32780 *-*-hpux* )
32781 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
32782 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32783 ;;
32784
32785 esac
32786
32787 if test $wxUSE_RPATH = "no"; then
32788 SAMPLES_RPATH_FLAG=''
32789 SAMPLES_RPATH_POSTLINK=''
32790 WXCONFIG_RPATH=''
32791 fi
32792
32793 SHARED=1
32794
32795 else
32796
32797 config_linkage_component="-static"
32798 SHARED=0
32799
32800 fi
32801
32802
32803 UNICODE=0
32804 lib_unicode_suffix=
32805 WX_CHARTYPE="ansi"
32806 if test "$wxUSE_UNICODE" = "yes"; then
32807 lib_unicode_suffix=u
32808 WX_CHARTYPE="unicode"
32809 UNICODE=1
32810 fi
32811
32812 lib_debug_suffix=
32813 WX_DEBUGTYPE="release"
32814 DEBUG_FLAG=0
32815 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32816 lib_debug_suffix=d
32817 WX_DEBUGTYPE="debug"
32818 DEBUG_FLAG=1
32819 fi
32820
32821 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32822 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32823
32824 DEBUG_INFO=0
32825 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32826 DEBUG_INFO=1
32827 fi
32828
32829 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32830
32831 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32832
32833 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32834
32835 if test "$cross_compiling" = "yes"; then
32836 HOST_SUFFIX="-$host_alias"
32837 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32838 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32839 fi
32840
32841 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32842 if test "${TOOLKIT_DIR}" = "os2"; then
32843 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32844 else
32845 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32846 fi
32847
32848
32849
32850 if test "$wxUSE_COCOA" = 1; then
32851
32852
32853 ac_ext=c
32854 ac_cpp='$CPP $CPPFLAGS'
32855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32858
32859 ac_ext=m
32860
32861 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32862 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32863 cat >conftest.$ac_ext <<_ACEOF
32864 /* confdefs.h. */
32865 _ACEOF
32866 cat confdefs.h >>conftest.$ac_ext
32867 cat >>conftest.$ac_ext <<_ACEOF
32868 /* end confdefs.h. */
32869 #include <AppKit/NSEvent.h>
32870 #include <CoreFoundation/CoreFoundation.h>
32871
32872 int
32873 main ()
32874 {
32875
32876 ;
32877 return 0;
32878 }
32879 _ACEOF
32880 rm -f conftest.$ac_objext
32881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32882 (eval $ac_compile) 2>conftest.er1
32883 ac_status=$?
32884 grep -v '^ *+' conftest.er1 >conftest.err
32885 rm -f conftest.er1
32886 cat conftest.err >&5
32887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32888 (exit $ac_status); } &&
32889 { ac_try='test -z "$ac_c_werror_flag"
32890 || test ! -s conftest.err'
32891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32892 (eval $ac_try) 2>&5
32893 ac_status=$?
32894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32895 (exit $ac_status); }; } &&
32896 { ac_try='test -s conftest.$ac_objext'
32897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32898 (eval $ac_try) 2>&5
32899 ac_status=$?
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); }; }; then
32902 echo "$as_me:$LINENO: result: no" >&5
32903 echo "${ECHO_T}no" >&6
32904 else
32905 echo "$as_me: failed program was:" >&5
32906 sed 's/^/| /' conftest.$ac_ext >&5
32907
32908 echo "$as_me:$LINENO: result: yes" >&5
32909 echo "${ECHO_T}yes" >&6
32910 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32911 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32912 cat >conftest.$ac_ext <<_ACEOF
32913 /* confdefs.h. */
32914 _ACEOF
32915 cat confdefs.h >>conftest.$ac_ext
32916 cat >>conftest.$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32918 #define __Point__ 1
32919 #include <AppKit/NSEvent.h>
32920 #include <CoreFoundation/CoreFoundation.h>
32921
32922 int
32923 main ()
32924 {
32925
32926 ;
32927 return 0;
32928 }
32929 _ACEOF
32930 rm -f conftest.$ac_objext
32931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32932 (eval $ac_compile) 2>conftest.er1
32933 ac_status=$?
32934 grep -v '^ *+' conftest.er1 >conftest.err
32935 rm -f conftest.er1
32936 cat conftest.err >&5
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); } &&
32939 { ac_try='test -z "$ac_c_werror_flag"
32940 || test ! -s conftest.err'
32941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32942 (eval $ac_try) 2>&5
32943 ac_status=$?
32944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32945 (exit $ac_status); }; } &&
32946 { ac_try='test -s conftest.$ac_objext'
32947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948 (eval $ac_try) 2>&5
32949 ac_status=$?
32950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951 (exit $ac_status); }; }; then
32952 echo "$as_me:$LINENO: result: yes" >&5
32953 echo "${ECHO_T}yes" >&6
32954 cat >>confdefs.h <<\_ACEOF
32955 #define __Point__ 1
32956 _ACEOF
32957
32958
32959 else
32960 echo "$as_me: failed program was:" >&5
32961 sed 's/^/| /' conftest.$ac_ext >&5
32962
32963 { { echo "$as_me:$LINENO: error: no
32964 See \`config.log' for more details." >&5
32965 echo "$as_me: error: no
32966 See \`config.log' for more details." >&2;}
32967 { (exit 1); exit 1; }; }
32968
32969 fi
32970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32971
32972 fi
32973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32974 ac_ext=cc
32975 ac_cpp='$CXXCPP $CPPFLAGS'
32976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32979
32980 fi
32981
32982 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32983 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32984 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32985
32986 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32987
32988 # Extract the first word of "Rez", so it can be a program name with args.
32989 set dummy Rez; ac_word=$2
32990 echo "$as_me:$LINENO: checking for $ac_word" >&5
32991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32992 if test "${ac_cv_prog_REZ+set}" = set; then
32993 echo $ECHO_N "(cached) $ECHO_C" >&6
32994 else
32995 if test -n "$REZ"; then
32996 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32997 else
32998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32999 for as_dir in $PATH
33000 do
33001 IFS=$as_save_IFS
33002 test -z "$as_dir" && as_dir=.
33003 for ac_exec_ext in '' $ac_executable_extensions; do
33004 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33005 ac_cv_prog_REZ="Rez"
33006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33007 break 2
33008 fi
33009 done
33010 done
33011
33012 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33013 fi
33014 fi
33015 REZ=$ac_cv_prog_REZ
33016 if test -n "$REZ"; then
33017 echo "$as_me:$LINENO: result: $REZ" >&5
33018 echo "${ECHO_T}$REZ" >&6
33019 else
33020 echo "$as_me:$LINENO: result: no" >&5
33021 echo "${ECHO_T}no" >&6
33022 fi
33023
33024 # Extract the first word of "DeRez", so it can be a program name with args.
33025 set dummy DeRez; ac_word=$2
33026 echo "$as_me:$LINENO: checking for $ac_word" >&5
33027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33028 if test "${ac_cv_prog_DEREZ+set}" = set; then
33029 echo $ECHO_N "(cached) $ECHO_C" >&6
33030 else
33031 if test -n "$DEREZ"; then
33032 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33033 else
33034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33035 for as_dir in $PATH
33036 do
33037 IFS=$as_save_IFS
33038 test -z "$as_dir" && as_dir=.
33039 for ac_exec_ext in '' $ac_executable_extensions; do
33040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33041 ac_cv_prog_DEREZ="DeRez"
33042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33043 break 2
33044 fi
33045 done
33046 done
33047
33048 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33049 fi
33050 fi
33051 DEREZ=$ac_cv_prog_DEREZ
33052 if test -n "$DEREZ"; then
33053 echo "$as_me:$LINENO: result: $DEREZ" >&5
33054 echo "${ECHO_T}$DEREZ" >&6
33055 else
33056 echo "$as_me:$LINENO: result: no" >&5
33057 echo "${ECHO_T}no" >&6
33058 fi
33059
33060 # Extract the first word of "SetFile", so it can be a program name with args.
33061 set dummy SetFile; ac_word=$2
33062 echo "$as_me:$LINENO: checking for $ac_word" >&5
33063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33064 if test "${ac_cv_prog_SETFILE+set}" = set; then
33065 echo $ECHO_N "(cached) $ECHO_C" >&6
33066 else
33067 if test -n "$SETFILE"; then
33068 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33069 else
33070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33071 for as_dir in $PATH
33072 do
33073 IFS=$as_save_IFS
33074 test -z "$as_dir" && as_dir=.
33075 for ac_exec_ext in '' $ac_executable_extensions; do
33076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33077 ac_cv_prog_SETFILE="SetFile"
33078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33079 break 2
33080 fi
33081 done
33082 done
33083
33084 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33085 fi
33086 fi
33087 SETFILE=$ac_cv_prog_SETFILE
33088 if test -n "$SETFILE"; then
33089 echo "$as_me:$LINENO: result: $SETFILE" >&5
33090 echo "${ECHO_T}$SETFILE" >&6
33091 else
33092 echo "$as_me:$LINENO: result: no" >&5
33093 echo "${ECHO_T}no" >&6
33094 fi
33095
33096
33097 MACSETFILE="\$(SETFILE)"
33098
33099 if test "$wxUSE_MAC" = 1; then
33100 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33101 RESCOMP="$REZ"
33102 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33103 else
33104 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33105 RESCOMP="echo -n \| $REZ"
33106 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33107 fi
33108
33109 else
33110 MACSETFILE="@true"
33111
33112 if test "$wxUSE_PM" = 1; then
33113 RESCOMP="emxbind"
33114 WXCONFIG_RESFLAGS="-ep"
33115
33116 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33117 else
33118 POSTLINK_COMMAND="@true"
33119 fi
33120
33121 fi
33122
33123
33124
33125 echo "$as_me:$LINENO: checking for mode_t" >&5
33126 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33127 if test "${ac_cv_type_mode_t+set}" = set; then
33128 echo $ECHO_N "(cached) $ECHO_C" >&6
33129 else
33130 cat >conftest.$ac_ext <<_ACEOF
33131 /* confdefs.h. */
33132 _ACEOF
33133 cat confdefs.h >>conftest.$ac_ext
33134 cat >>conftest.$ac_ext <<_ACEOF
33135 /* end confdefs.h. */
33136 $ac_includes_default
33137 int
33138 main ()
33139 {
33140 if ((mode_t *) 0)
33141 return 0;
33142 if (sizeof (mode_t))
33143 return 0;
33144 ;
33145 return 0;
33146 }
33147 _ACEOF
33148 rm -f conftest.$ac_objext
33149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33150 (eval $ac_compile) 2>conftest.er1
33151 ac_status=$?
33152 grep -v '^ *+' conftest.er1 >conftest.err
33153 rm -f conftest.er1
33154 cat conftest.err >&5
33155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33156 (exit $ac_status); } &&
33157 { ac_try='test -z "$ac_cxx_werror_flag"
33158 || test ! -s conftest.err'
33159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33160 (eval $ac_try) 2>&5
33161 ac_status=$?
33162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33163 (exit $ac_status); }; } &&
33164 { ac_try='test -s conftest.$ac_objext'
33165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33166 (eval $ac_try) 2>&5
33167 ac_status=$?
33168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169 (exit $ac_status); }; }; then
33170 ac_cv_type_mode_t=yes
33171 else
33172 echo "$as_me: failed program was:" >&5
33173 sed 's/^/| /' conftest.$ac_ext >&5
33174
33175 ac_cv_type_mode_t=no
33176 fi
33177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33178 fi
33179 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33180 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33181 if test $ac_cv_type_mode_t = yes; then
33182 :
33183 else
33184
33185 cat >>confdefs.h <<_ACEOF
33186 #define mode_t int
33187 _ACEOF
33188
33189 fi
33190
33191 echo "$as_me:$LINENO: checking for off_t" >&5
33192 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33193 if test "${ac_cv_type_off_t+set}" = set; then
33194 echo $ECHO_N "(cached) $ECHO_C" >&6
33195 else
33196 cat >conftest.$ac_ext <<_ACEOF
33197 /* confdefs.h. */
33198 _ACEOF
33199 cat confdefs.h >>conftest.$ac_ext
33200 cat >>conftest.$ac_ext <<_ACEOF
33201 /* end confdefs.h. */
33202 $ac_includes_default
33203 int
33204 main ()
33205 {
33206 if ((off_t *) 0)
33207 return 0;
33208 if (sizeof (off_t))
33209 return 0;
33210 ;
33211 return 0;
33212 }
33213 _ACEOF
33214 rm -f conftest.$ac_objext
33215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33216 (eval $ac_compile) 2>conftest.er1
33217 ac_status=$?
33218 grep -v '^ *+' conftest.er1 >conftest.err
33219 rm -f conftest.er1
33220 cat conftest.err >&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); } &&
33223 { ac_try='test -z "$ac_cxx_werror_flag"
33224 || test ! -s conftest.err'
33225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33226 (eval $ac_try) 2>&5
33227 ac_status=$?
33228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33229 (exit $ac_status); }; } &&
33230 { ac_try='test -s conftest.$ac_objext'
33231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33232 (eval $ac_try) 2>&5
33233 ac_status=$?
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); }; }; then
33236 ac_cv_type_off_t=yes
33237 else
33238 echo "$as_me: failed program was:" >&5
33239 sed 's/^/| /' conftest.$ac_ext >&5
33240
33241 ac_cv_type_off_t=no
33242 fi
33243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33244 fi
33245 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33246 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33247 if test $ac_cv_type_off_t = yes; then
33248 :
33249 else
33250
33251 cat >>confdefs.h <<_ACEOF
33252 #define off_t long
33253 _ACEOF
33254
33255 fi
33256
33257 echo "$as_me:$LINENO: checking for pid_t" >&5
33258 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33259 if test "${ac_cv_type_pid_t+set}" = set; then
33260 echo $ECHO_N "(cached) $ECHO_C" >&6
33261 else
33262 cat >conftest.$ac_ext <<_ACEOF
33263 /* confdefs.h. */
33264 _ACEOF
33265 cat confdefs.h >>conftest.$ac_ext
33266 cat >>conftest.$ac_ext <<_ACEOF
33267 /* end confdefs.h. */
33268 $ac_includes_default
33269 int
33270 main ()
33271 {
33272 if ((pid_t *) 0)
33273 return 0;
33274 if (sizeof (pid_t))
33275 return 0;
33276 ;
33277 return 0;
33278 }
33279 _ACEOF
33280 rm -f conftest.$ac_objext
33281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33282 (eval $ac_compile) 2>conftest.er1
33283 ac_status=$?
33284 grep -v '^ *+' conftest.er1 >conftest.err
33285 rm -f conftest.er1
33286 cat conftest.err >&5
33287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33288 (exit $ac_status); } &&
33289 { ac_try='test -z "$ac_cxx_werror_flag"
33290 || test ! -s conftest.err'
33291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33292 (eval $ac_try) 2>&5
33293 ac_status=$?
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); }; } &&
33296 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
33302 ac_cv_type_pid_t=yes
33303 else
33304 echo "$as_me: failed program was:" >&5
33305 sed 's/^/| /' conftest.$ac_ext >&5
33306
33307 ac_cv_type_pid_t=no
33308 fi
33309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33310 fi
33311 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33312 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33313 if test $ac_cv_type_pid_t = yes; then
33314 :
33315 else
33316
33317 cat >>confdefs.h <<_ACEOF
33318 #define pid_t int
33319 _ACEOF
33320
33321 fi
33322
33323 echo "$as_me:$LINENO: checking for size_t" >&5
33324 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33325 if test "${ac_cv_type_size_t+set}" = set; then
33326 echo $ECHO_N "(cached) $ECHO_C" >&6
33327 else
33328 cat >conftest.$ac_ext <<_ACEOF
33329 /* confdefs.h. */
33330 _ACEOF
33331 cat confdefs.h >>conftest.$ac_ext
33332 cat >>conftest.$ac_ext <<_ACEOF
33333 /* end confdefs.h. */
33334 $ac_includes_default
33335 int
33336 main ()
33337 {
33338 if ((size_t *) 0)
33339 return 0;
33340 if (sizeof (size_t))
33341 return 0;
33342 ;
33343 return 0;
33344 }
33345 _ACEOF
33346 rm -f conftest.$ac_objext
33347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33348 (eval $ac_compile) 2>conftest.er1
33349 ac_status=$?
33350 grep -v '^ *+' conftest.er1 >conftest.err
33351 rm -f conftest.er1
33352 cat conftest.err >&5
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); } &&
33355 { ac_try='test -z "$ac_cxx_werror_flag"
33356 || test ! -s conftest.err'
33357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33358 (eval $ac_try) 2>&5
33359 ac_status=$?
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); }; } &&
33362 { ac_try='test -s conftest.$ac_objext'
33363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33364 (eval $ac_try) 2>&5
33365 ac_status=$?
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); }; }; then
33368 ac_cv_type_size_t=yes
33369 else
33370 echo "$as_me: failed program was:" >&5
33371 sed 's/^/| /' conftest.$ac_ext >&5
33372
33373 ac_cv_type_size_t=no
33374 fi
33375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33376 fi
33377 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33378 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33379 if test $ac_cv_type_size_t = yes; then
33380 :
33381 else
33382
33383 cat >>confdefs.h <<_ACEOF
33384 #define size_t unsigned
33385 _ACEOF
33386
33387 fi
33388
33389 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33390 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33391 if test "${ac_cv_type_uid_t+set}" = set; then
33392 echo $ECHO_N "(cached) $ECHO_C" >&6
33393 else
33394 cat >conftest.$ac_ext <<_ACEOF
33395 /* confdefs.h. */
33396 _ACEOF
33397 cat confdefs.h >>conftest.$ac_ext
33398 cat >>conftest.$ac_ext <<_ACEOF
33399 /* end confdefs.h. */
33400 #include <sys/types.h>
33401
33402 _ACEOF
33403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33404 $EGREP "uid_t" >/dev/null 2>&1; then
33405 ac_cv_type_uid_t=yes
33406 else
33407 ac_cv_type_uid_t=no
33408 fi
33409 rm -f conftest*
33410
33411 fi
33412 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33413 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33414 if test $ac_cv_type_uid_t = no; then
33415
33416 cat >>confdefs.h <<\_ACEOF
33417 #define uid_t int
33418 _ACEOF
33419
33420
33421 cat >>confdefs.h <<\_ACEOF
33422 #define gid_t int
33423 _ACEOF
33424
33425 fi
33426
33427
33428 echo "$as_me:$LINENO: checking for ssize_t" >&5
33429 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33430 if test "${ac_cv_type_ssize_t+set}" = set; then
33431 echo $ECHO_N "(cached) $ECHO_C" >&6
33432 else
33433 cat >conftest.$ac_ext <<_ACEOF
33434 /* confdefs.h. */
33435 _ACEOF
33436 cat confdefs.h >>conftest.$ac_ext
33437 cat >>conftest.$ac_ext <<_ACEOF
33438 /* end confdefs.h. */
33439 $ac_includes_default
33440 int
33441 main ()
33442 {
33443 if ((ssize_t *) 0)
33444 return 0;
33445 if (sizeof (ssize_t))
33446 return 0;
33447 ;
33448 return 0;
33449 }
33450 _ACEOF
33451 rm -f conftest.$ac_objext
33452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33453 (eval $ac_compile) 2>conftest.er1
33454 ac_status=$?
33455 grep -v '^ *+' conftest.er1 >conftest.err
33456 rm -f conftest.er1
33457 cat conftest.err >&5
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); } &&
33460 { ac_try='test -z "$ac_cxx_werror_flag"
33461 || test ! -s conftest.err'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33464 ac_status=$?
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; } &&
33467 { ac_try='test -s conftest.$ac_objext'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33470 ac_status=$?
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; }; then
33473 ac_cv_type_ssize_t=yes
33474 else
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.$ac_ext >&5
33477
33478 ac_cv_type_ssize_t=no
33479 fi
33480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33481 fi
33482 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33483 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33484 if test $ac_cv_type_ssize_t = yes; then
33485
33486 cat >>confdefs.h <<_ACEOF
33487 #define HAVE_SSIZE_T 1
33488 _ACEOF
33489
33490
33491 fi
33492
33493
33494 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33495 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33496 if test "${wx_cv_size_t_is_uint+set}" = set; then
33497 echo $ECHO_N "(cached) $ECHO_C" >&6
33498 else
33499
33500 cat >conftest.$ac_ext <<_ACEOF
33501 /* confdefs.h. */
33502 _ACEOF
33503 cat confdefs.h >>conftest.$ac_ext
33504 cat >>conftest.$ac_ext <<_ACEOF
33505 /* end confdefs.h. */
33506 #include <stddef.h>
33507 int
33508 main ()
33509 {
33510
33511 return 0; }
33512
33513 struct Foo { void foo(size_t); void foo(unsigned int); };
33514
33515 int bar() {
33516
33517 ;
33518 return 0;
33519 }
33520 _ACEOF
33521 rm -f conftest.$ac_objext
33522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33523 (eval $ac_compile) 2>conftest.er1
33524 ac_status=$?
33525 grep -v '^ *+' conftest.er1 >conftest.err
33526 rm -f conftest.er1
33527 cat conftest.err >&5
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); } &&
33530 { ac_try='test -z "$ac_cxx_werror_flag"
33531 || test ! -s conftest.err'
33532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33533 (eval $ac_try) 2>&5
33534 ac_status=$?
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); }; } &&
33537 { ac_try='test -s conftest.$ac_objext'
33538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33539 (eval $ac_try) 2>&5
33540 ac_status=$?
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); }; }; then
33543 wx_cv_size_t_is_uint=no
33544 else
33545 echo "$as_me: failed program was:" >&5
33546 sed 's/^/| /' conftest.$ac_ext >&5
33547
33548 wx_cv_size_t_is_uint=yes
33549
33550 fi
33551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33552
33553
33554 fi
33555 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33556 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33557
33558 if test "$wx_cv_size_t_is_uint" = "yes"; then
33559 cat >>confdefs.h <<\_ACEOF
33560 #define wxSIZE_T_IS_UINT 1
33561 _ACEOF
33562
33563 else
33564 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33565 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33566 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33567 echo $ECHO_N "(cached) $ECHO_C" >&6
33568 else
33569 cat >conftest.$ac_ext <<_ACEOF
33570 /* confdefs.h. */
33571 _ACEOF
33572 cat confdefs.h >>conftest.$ac_ext
33573 cat >>conftest.$ac_ext <<_ACEOF
33574 /* end confdefs.h. */
33575 #include <stddef.h>
33576 int
33577 main ()
33578 {
33579
33580 return 0; }
33581
33582 struct Foo { void foo(size_t); void foo(unsigned long); };
33583
33584 int bar() {
33585
33586 ;
33587 return 0;
33588 }
33589 _ACEOF
33590 rm -f conftest.$ac_objext
33591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33592 (eval $ac_compile) 2>conftest.er1
33593 ac_status=$?
33594 grep -v '^ *+' conftest.er1 >conftest.err
33595 rm -f conftest.er1
33596 cat conftest.err >&5
33597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33598 (exit $ac_status); } &&
33599 { ac_try='test -z "$ac_cxx_werror_flag"
33600 || test ! -s conftest.err'
33601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33602 (eval $ac_try) 2>&5
33603 ac_status=$?
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); }; } &&
33606 { ac_try='test -s conftest.$ac_objext'
33607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33608 (eval $ac_try) 2>&5
33609 ac_status=$?
33610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33611 (exit $ac_status); }; }; then
33612 wx_cv_size_t_is_ulong=no
33613 else
33614 echo "$as_me: failed program was:" >&5
33615 sed 's/^/| /' conftest.$ac_ext >&5
33616
33617 wx_cv_size_t_is_ulong=yes
33618
33619 fi
33620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33621
33622 fi
33623 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33624 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33625
33626 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33627 cat >>confdefs.h <<\_ACEOF
33628 #define wxSIZE_T_IS_ULONG 1
33629 _ACEOF
33630
33631 fi
33632 fi
33633
33634
33635 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33636 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33637 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33638 echo $ECHO_N "(cached) $ECHO_C" >&6
33639 else
33640
33641 cat >conftest.$ac_ext <<_ACEOF
33642 /* confdefs.h. */
33643 _ACEOF
33644 cat confdefs.h >>conftest.$ac_ext
33645 cat >>conftest.$ac_ext <<_ACEOF
33646 /* end confdefs.h. */
33647 #include <pwd.h>
33648 int
33649 main ()
33650 {
33651
33652 char *p;
33653 struct passwd *pw;
33654 p = pw->pw_gecos;
33655
33656 ;
33657 return 0;
33658 }
33659 _ACEOF
33660 rm -f conftest.$ac_objext
33661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33662 (eval $ac_compile) 2>conftest.er1
33663 ac_status=$?
33664 grep -v '^ *+' conftest.er1 >conftest.err
33665 rm -f conftest.er1
33666 cat conftest.err >&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); } &&
33669 { ac_try='test -z "$ac_cxx_werror_flag"
33670 || test ! -s conftest.err'
33671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33672 (eval $ac_try) 2>&5
33673 ac_status=$?
33674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33675 (exit $ac_status); }; } &&
33676 { ac_try='test -s conftest.$ac_objext'
33677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33678 (eval $ac_try) 2>&5
33679 ac_status=$?
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); }; }; then
33682
33683 wx_cv_struct_pw_gecos=yes
33684
33685 else
33686 echo "$as_me: failed program was:" >&5
33687 sed 's/^/| /' conftest.$ac_ext >&5
33688
33689
33690 wx_cv_struct_pw_gecos=no
33691
33692
33693 fi
33694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33695
33696
33697 fi
33698 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33699 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33700
33701 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33702 cat >>confdefs.h <<\_ACEOF
33703 #define HAVE_PW_GECOS 1
33704 _ACEOF
33705
33706 fi
33707
33708
33709 if test "$wxUSE_WCHAR_T" = "yes"; then
33710 cat >>confdefs.h <<\_ACEOF
33711 #define wxUSE_WCHAR_T 1
33712 _ACEOF
33713
33714
33715 WCSLEN_FOUND=0
33716 WCHAR_LINK=
33717
33718 for ac_func in wcslen
33719 do
33720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33721 echo "$as_me:$LINENO: checking for $ac_func" >&5
33722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33723 if eval "test \"\${$as_ac_var+set}\" = set"; then
33724 echo $ECHO_N "(cached) $ECHO_C" >&6
33725 else
33726 cat >conftest.$ac_ext <<_ACEOF
33727 /* confdefs.h. */
33728 _ACEOF
33729 cat confdefs.h >>conftest.$ac_ext
33730 cat >>conftest.$ac_ext <<_ACEOF
33731 /* end confdefs.h. */
33732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33734 #define $ac_func innocuous_$ac_func
33735
33736 /* System header to define __stub macros and hopefully few prototypes,
33737 which can conflict with char $ac_func (); below.
33738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33739 <limits.h> exists even on freestanding compilers. */
33740
33741 #ifdef __STDC__
33742 # include <limits.h>
33743 #else
33744 # include <assert.h>
33745 #endif
33746
33747 #undef $ac_func
33748
33749 /* Override any gcc2 internal prototype to avoid an error. */
33750 #ifdef __cplusplus
33751 extern "C"
33752 {
33753 #endif
33754 /* We use char because int might match the return type of a gcc2
33755 builtin and then its argument prototype would still apply. */
33756 char $ac_func ();
33757 /* The GNU C library defines this for functions which it implements
33758 to always fail with ENOSYS. Some functions are actually named
33759 something starting with __ and the normal name is an alias. */
33760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33761 choke me
33762 #else
33763 char (*f) () = $ac_func;
33764 #endif
33765 #ifdef __cplusplus
33766 }
33767 #endif
33768
33769 int
33770 main ()
33771 {
33772 return f != $ac_func;
33773 ;
33774 return 0;
33775 }
33776 _ACEOF
33777 rm -f conftest.$ac_objext conftest$ac_exeext
33778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33779 (eval $ac_link) 2>conftest.er1
33780 ac_status=$?
33781 grep -v '^ *+' conftest.er1 >conftest.err
33782 rm -f conftest.er1
33783 cat conftest.err >&5
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); } &&
33786 { ac_try='test -z "$ac_cxx_werror_flag"
33787 || test ! -s conftest.err'
33788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33789 (eval $ac_try) 2>&5
33790 ac_status=$?
33791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792 (exit $ac_status); }; } &&
33793 { ac_try='test -s conftest$ac_exeext'
33794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33795 (eval $ac_try) 2>&5
33796 ac_status=$?
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); }; }; then
33799 eval "$as_ac_var=yes"
33800 else
33801 echo "$as_me: failed program was:" >&5
33802 sed 's/^/| /' conftest.$ac_ext >&5
33803
33804 eval "$as_ac_var=no"
33805 fi
33806 rm -f conftest.err conftest.$ac_objext \
33807 conftest$ac_exeext conftest.$ac_ext
33808 fi
33809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33811 if test `eval echo '${'$as_ac_var'}'` = yes; then
33812 cat >>confdefs.h <<_ACEOF
33813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33814 _ACEOF
33815 WCSLEN_FOUND=1
33816 fi
33817 done
33818
33819
33820 if test "$WCSLEN_FOUND" = 0; then
33821 if test "$TOOLKIT" = "MSW"; then
33822 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33823 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33824 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33826 else
33827 ac_check_lib_save_LIBS=$LIBS
33828 LIBS="-lmsvcrt $LIBS"
33829 cat >conftest.$ac_ext <<_ACEOF
33830 /* confdefs.h. */
33831 _ACEOF
33832 cat confdefs.h >>conftest.$ac_ext
33833 cat >>conftest.$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33835
33836 /* Override any gcc2 internal prototype to avoid an error. */
33837 #ifdef __cplusplus
33838 extern "C"
33839 #endif
33840 /* We use char because int might match the return type of a gcc2
33841 builtin and then its argument prototype would still apply. */
33842 char wcslen ();
33843 int
33844 main ()
33845 {
33846 wcslen ();
33847 ;
33848 return 0;
33849 }
33850 _ACEOF
33851 rm -f conftest.$ac_objext conftest$ac_exeext
33852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33853 (eval $ac_link) 2>conftest.er1
33854 ac_status=$?
33855 grep -v '^ *+' conftest.er1 >conftest.err
33856 rm -f conftest.er1
33857 cat conftest.err >&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); } &&
33860 { ac_try='test -z "$ac_cxx_werror_flag"
33861 || test ! -s conftest.err'
33862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33863 (eval $ac_try) 2>&5
33864 ac_status=$?
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); }; } &&
33867 { ac_try='test -s conftest$ac_exeext'
33868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33869 (eval $ac_try) 2>&5
33870 ac_status=$?
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); }; }; then
33873 ac_cv_lib_msvcrt_wcslen=yes
33874 else
33875 echo "$as_me: failed program was:" >&5
33876 sed 's/^/| /' conftest.$ac_ext >&5
33877
33878 ac_cv_lib_msvcrt_wcslen=no
33879 fi
33880 rm -f conftest.err conftest.$ac_objext \
33881 conftest$ac_exeext conftest.$ac_ext
33882 LIBS=$ac_check_lib_save_LIBS
33883 fi
33884 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33885 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33886 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33887 WCHAR_OK=1
33888 fi
33889
33890 else
33891 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33892 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33893 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33894 echo $ECHO_N "(cached) $ECHO_C" >&6
33895 else
33896 ac_check_lib_save_LIBS=$LIBS
33897 LIBS="-lw $LIBS"
33898 cat >conftest.$ac_ext <<_ACEOF
33899 /* confdefs.h. */
33900 _ACEOF
33901 cat confdefs.h >>conftest.$ac_ext
33902 cat >>conftest.$ac_ext <<_ACEOF
33903 /* end confdefs.h. */
33904
33905 /* Override any gcc2 internal prototype to avoid an error. */
33906 #ifdef __cplusplus
33907 extern "C"
33908 #endif
33909 /* We use char because int might match the return type of a gcc2
33910 builtin and then its argument prototype would still apply. */
33911 char wcslen ();
33912 int
33913 main ()
33914 {
33915 wcslen ();
33916 ;
33917 return 0;
33918 }
33919 _ACEOF
33920 rm -f conftest.$ac_objext conftest$ac_exeext
33921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33922 (eval $ac_link) 2>conftest.er1
33923 ac_status=$?
33924 grep -v '^ *+' conftest.er1 >conftest.err
33925 rm -f conftest.er1
33926 cat conftest.err >&5
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); } &&
33929 { ac_try='test -z "$ac_cxx_werror_flag"
33930 || test ! -s conftest.err'
33931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33932 (eval $ac_try) 2>&5
33933 ac_status=$?
33934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33935 (exit $ac_status); }; } &&
33936 { ac_try='test -s conftest$ac_exeext'
33937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33938 (eval $ac_try) 2>&5
33939 ac_status=$?
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); }; }; then
33942 ac_cv_lib_w_wcslen=yes
33943 else
33944 echo "$as_me: failed program was:" >&5
33945 sed 's/^/| /' conftest.$ac_ext >&5
33946
33947 ac_cv_lib_w_wcslen=no
33948 fi
33949 rm -f conftest.err conftest.$ac_objext \
33950 conftest$ac_exeext conftest.$ac_ext
33951 LIBS=$ac_check_lib_save_LIBS
33952 fi
33953 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33954 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33955 if test $ac_cv_lib_w_wcslen = yes; then
33956
33957 WCHAR_LINK=" -lw"
33958 WCSLEN_FOUND=1
33959
33960 fi
33961
33962 fi
33963 fi
33964
33965 if test "$WCSLEN_FOUND" = 1; then
33966 cat >>confdefs.h <<\_ACEOF
33967 #define HAVE_WCSLEN 1
33968 _ACEOF
33969
33970 fi
33971
33972 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33973 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33974 fi
33975
33976 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33977 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33978 if test "${ac_cv_type_mbstate_t+set}" = set; then
33979 echo $ECHO_N "(cached) $ECHO_C" >&6
33980 else
33981 cat >conftest.$ac_ext <<_ACEOF
33982 /* confdefs.h. */
33983 _ACEOF
33984 cat confdefs.h >>conftest.$ac_ext
33985 cat >>conftest.$ac_ext <<_ACEOF
33986 /* end confdefs.h. */
33987 #include <wchar.h>
33988
33989 int
33990 main ()
33991 {
33992 if ((mbstate_t *) 0)
33993 return 0;
33994 if (sizeof (mbstate_t))
33995 return 0;
33996 ;
33997 return 0;
33998 }
33999 _ACEOF
34000 rm -f conftest.$ac_objext
34001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34002 (eval $ac_compile) 2>conftest.er1
34003 ac_status=$?
34004 grep -v '^ *+' conftest.er1 >conftest.err
34005 rm -f conftest.er1
34006 cat conftest.err >&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); } &&
34009 { ac_try='test -z "$ac_cxx_werror_flag"
34010 || test ! -s conftest.err'
34011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34012 (eval $ac_try) 2>&5
34013 ac_status=$?
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); }; } &&
34016 { ac_try='test -s conftest.$ac_objext'
34017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34018 (eval $ac_try) 2>&5
34019 ac_status=$?
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; }; then
34022 ac_cv_type_mbstate_t=yes
34023 else
34024 echo "$as_me: failed program was:" >&5
34025 sed 's/^/| /' conftest.$ac_ext >&5
34026
34027 ac_cv_type_mbstate_t=no
34028 fi
34029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34030 fi
34031 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34032 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34033 if test $ac_cv_type_mbstate_t = yes; then
34034
34035 cat >>confdefs.h <<_ACEOF
34036 #define HAVE_MBSTATE_T 1
34037 _ACEOF
34038
34039
34040 for ac_func in wcsrtombs
34041 do
34042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34043 echo "$as_me:$LINENO: checking for $ac_func" >&5
34044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34045 if eval "test \"\${$as_ac_var+set}\" = set"; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34047 else
34048 cat >conftest.$ac_ext <<_ACEOF
34049 /* confdefs.h. */
34050 _ACEOF
34051 cat confdefs.h >>conftest.$ac_ext
34052 cat >>conftest.$ac_ext <<_ACEOF
34053 /* end confdefs.h. */
34054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34056 #define $ac_func innocuous_$ac_func
34057
34058 /* System header to define __stub macros and hopefully few prototypes,
34059 which can conflict with char $ac_func (); below.
34060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34061 <limits.h> exists even on freestanding compilers. */
34062
34063 #ifdef __STDC__
34064 # include <limits.h>
34065 #else
34066 # include <assert.h>
34067 #endif
34068
34069 #undef $ac_func
34070
34071 /* Override any gcc2 internal prototype to avoid an error. */
34072 #ifdef __cplusplus
34073 extern "C"
34074 {
34075 #endif
34076 /* We use char because int might match the return type of a gcc2
34077 builtin and then its argument prototype would still apply. */
34078 char $ac_func ();
34079 /* The GNU C library defines this for functions which it implements
34080 to always fail with ENOSYS. Some functions are actually named
34081 something starting with __ and the normal name is an alias. */
34082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34083 choke me
34084 #else
34085 char (*f) () = $ac_func;
34086 #endif
34087 #ifdef __cplusplus
34088 }
34089 #endif
34090
34091 int
34092 main ()
34093 {
34094 return f != $ac_func;
34095 ;
34096 return 0;
34097 }
34098 _ACEOF
34099 rm -f conftest.$ac_objext conftest$ac_exeext
34100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34101 (eval $ac_link) 2>conftest.er1
34102 ac_status=$?
34103 grep -v '^ *+' conftest.er1 >conftest.err
34104 rm -f conftest.er1
34105 cat conftest.err >&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } &&
34108 { ac_try='test -z "$ac_cxx_werror_flag"
34109 || test ! -s conftest.err'
34110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34111 (eval $ac_try) 2>&5
34112 ac_status=$?
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; } &&
34115 { ac_try='test -s conftest$ac_exeext'
34116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34117 (eval $ac_try) 2>&5
34118 ac_status=$?
34119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120 (exit $ac_status); }; }; then
34121 eval "$as_ac_var=yes"
34122 else
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34125
34126 eval "$as_ac_var=no"
34127 fi
34128 rm -f conftest.err conftest.$ac_objext \
34129 conftest$ac_exeext conftest.$ac_ext
34130 fi
34131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34133 if test `eval echo '${'$as_ac_var'}'` = yes; then
34134 cat >>confdefs.h <<_ACEOF
34135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34136 _ACEOF
34137
34138 fi
34139 done
34140
34141 fi
34142
34143 else
34144 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34145 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34146 fi
34147
34148
34149
34150 for ac_func in snprintf vsnprintf
34151 do
34152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34153 echo "$as_me:$LINENO: checking for $ac_func" >&5
34154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34155 if eval "test \"\${$as_ac_var+set}\" = set"; then
34156 echo $ECHO_N "(cached) $ECHO_C" >&6
34157 else
34158 cat >conftest.$ac_ext <<_ACEOF
34159 /* confdefs.h. */
34160 _ACEOF
34161 cat confdefs.h >>conftest.$ac_ext
34162 cat >>conftest.$ac_ext <<_ACEOF
34163 /* end confdefs.h. */
34164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34166 #define $ac_func innocuous_$ac_func
34167
34168 /* System header to define __stub macros and hopefully few prototypes,
34169 which can conflict with char $ac_func (); below.
34170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34171 <limits.h> exists even on freestanding compilers. */
34172
34173 #ifdef __STDC__
34174 # include <limits.h>
34175 #else
34176 # include <assert.h>
34177 #endif
34178
34179 #undef $ac_func
34180
34181 /* Override any gcc2 internal prototype to avoid an error. */
34182 #ifdef __cplusplus
34183 extern "C"
34184 {
34185 #endif
34186 /* We use char because int might match the return type of a gcc2
34187 builtin and then its argument prototype would still apply. */
34188 char $ac_func ();
34189 /* The GNU C library defines this for functions which it implements
34190 to always fail with ENOSYS. Some functions are actually named
34191 something starting with __ and the normal name is an alias. */
34192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34193 choke me
34194 #else
34195 char (*f) () = $ac_func;
34196 #endif
34197 #ifdef __cplusplus
34198 }
34199 #endif
34200
34201 int
34202 main ()
34203 {
34204 return f != $ac_func;
34205 ;
34206 return 0;
34207 }
34208 _ACEOF
34209 rm -f conftest.$ac_objext conftest$ac_exeext
34210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34211 (eval $ac_link) 2>conftest.er1
34212 ac_status=$?
34213 grep -v '^ *+' conftest.er1 >conftest.err
34214 rm -f conftest.er1
34215 cat conftest.err >&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); } &&
34218 { ac_try='test -z "$ac_cxx_werror_flag"
34219 || test ! -s conftest.err'
34220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34221 (eval $ac_try) 2>&5
34222 ac_status=$?
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); }; } &&
34225 { ac_try='test -s conftest$ac_exeext'
34226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34227 (eval $ac_try) 2>&5
34228 ac_status=$?
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); }; }; then
34231 eval "$as_ac_var=yes"
34232 else
34233 echo "$as_me: failed program was:" >&5
34234 sed 's/^/| /' conftest.$ac_ext >&5
34235
34236 eval "$as_ac_var=no"
34237 fi
34238 rm -f conftest.err conftest.$ac_objext \
34239 conftest$ac_exeext conftest.$ac_ext
34240 fi
34241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34243 if test `eval echo '${'$as_ac_var'}'` = yes; then
34244 cat >>confdefs.h <<_ACEOF
34245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34246 _ACEOF
34247
34248 fi
34249 done
34250
34251
34252 if test "$ac_cv_func_vsnprintf" = "yes"; then
34253 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34254 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34255 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 else
34258
34259 cat >conftest.$ac_ext <<_ACEOF
34260 /* confdefs.h. */
34261 _ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34265
34266 #include <stdio.h>
34267 #include <stdarg.h>
34268 #ifdef __MSL__
34269 #if __MSL__ >= 0x6000
34270 namespace std {}
34271 using namespace std;
34272 #endif
34273 #endif
34274
34275 int
34276 main ()
34277 {
34278
34279 char *buf;
34280 va_list ap;
34281 vsnprintf(buf, 10u, "%s", ap);
34282
34283 ;
34284 return 0;
34285 }
34286 _ACEOF
34287 rm -f conftest.$ac_objext
34288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34289 (eval $ac_compile) 2>conftest.er1
34290 ac_status=$?
34291 grep -v '^ *+' conftest.er1 >conftest.err
34292 rm -f conftest.er1
34293 cat conftest.err >&5
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); } &&
34296 { ac_try='test -z "$ac_cxx_werror_flag"
34297 || test ! -s conftest.err'
34298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34299 (eval $ac_try) 2>&5
34300 ac_status=$?
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); }; } &&
34303 { ac_try='test -s conftest.$ac_objext'
34304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34305 (eval $ac_try) 2>&5
34306 ac_status=$?
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); }; }; then
34309 wx_cv_func_vsnprintf_decl=yes
34310 else
34311 echo "$as_me: failed program was:" >&5
34312 sed 's/^/| /' conftest.$ac_ext >&5
34313
34314 wx_cv_func_vsnprintf_decl=no
34315
34316 fi
34317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34318
34319
34320 fi
34321 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34322 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34323
34324 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34325 cat >>confdefs.h <<\_ACEOF
34326 #define HAVE_VSNPRINTF_DECL 1
34327 _ACEOF
34328
34329
34330 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34331 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34332 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34333 echo $ECHO_N "(cached) $ECHO_C" >&6
34334 else
34335
34336 cat >conftest.$ac_ext <<_ACEOF
34337 /* confdefs.h. */
34338 _ACEOF
34339 cat confdefs.h >>conftest.$ac_ext
34340 cat >>conftest.$ac_ext <<_ACEOF
34341 /* end confdefs.h. */
34342
34343 #include <stdio.h>
34344 #include <stdarg.h>
34345 #ifdef __MSL__
34346 #if __MSL__ >= 0x6000
34347 namespace std {}
34348 using namespace std;
34349 #endif
34350 #endif
34351
34352 int
34353 main ()
34354 {
34355
34356 char *buf;
34357 va_list ap;
34358 const char *fmt = "%s";
34359 vsnprintf(buf, 10u, fmt, ap);
34360
34361 ;
34362 return 0;
34363 }
34364 _ACEOF
34365 rm -f conftest.$ac_objext
34366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34367 (eval $ac_compile) 2>conftest.er1
34368 ac_status=$?
34369 grep -v '^ *+' conftest.er1 >conftest.err
34370 rm -f conftest.er1
34371 cat conftest.err >&5
34372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34373 (exit $ac_status); } &&
34374 { ac_try='test -z "$ac_cxx_werror_flag"
34375 || test ! -s conftest.err'
34376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34377 (eval $ac_try) 2>&5
34378 ac_status=$?
34379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34380 (exit $ac_status); }; } &&
34381 { ac_try='test -s conftest.$ac_objext'
34382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34383 (eval $ac_try) 2>&5
34384 ac_status=$?
34385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34386 (exit $ac_status); }; }; then
34387 wx_cv_func_broken_vsnprintf_decl=no
34388 else
34389 echo "$as_me: failed program was:" >&5
34390 sed 's/^/| /' conftest.$ac_ext >&5
34391
34392 wx_cv_func_broken_vsnprintf_decl=yes
34393
34394 fi
34395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34396
34397
34398 fi
34399 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34400 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34401
34402 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34403 cat >>confdefs.h <<\_ACEOF
34404 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34405 _ACEOF
34406
34407 fi
34408 fi
34409 fi
34410
34411 if test "$ac_cv_func_snprintf" = "yes"; then
34412 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34413 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34414 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34415 echo $ECHO_N "(cached) $ECHO_C" >&6
34416 else
34417
34418 cat >conftest.$ac_ext <<_ACEOF
34419 /* confdefs.h. */
34420 _ACEOF
34421 cat confdefs.h >>conftest.$ac_ext
34422 cat >>conftest.$ac_ext <<_ACEOF
34423 /* end confdefs.h. */
34424
34425 #include <stdio.h>
34426 #include <stdarg.h>
34427 #ifdef __MSL__
34428 #if __MSL__ >= 0x6000
34429 namespace std {}
34430 using namespace std;
34431 #endif
34432 #endif
34433
34434 int
34435 main ()
34436 {
34437
34438 char *buf;
34439 snprintf(buf, 10u, "%s", "wx");
34440
34441 ;
34442 return 0;
34443 }
34444 _ACEOF
34445 rm -f conftest.$ac_objext
34446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34447 (eval $ac_compile) 2>conftest.er1
34448 ac_status=$?
34449 grep -v '^ *+' conftest.er1 >conftest.err
34450 rm -f conftest.er1
34451 cat conftest.err >&5
34452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34453 (exit $ac_status); } &&
34454 { ac_try='test -z "$ac_cxx_werror_flag"
34455 || test ! -s conftest.err'
34456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34457 (eval $ac_try) 2>&5
34458 ac_status=$?
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); }; } &&
34461 { ac_try='test -s conftest.$ac_objext'
34462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34463 (eval $ac_try) 2>&5
34464 ac_status=$?
34465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34466 (exit $ac_status); }; }; then
34467 wx_cv_func_snprintf_decl=yes
34468 else
34469 echo "$as_me: failed program was:" >&5
34470 sed 's/^/| /' conftest.$ac_ext >&5
34471
34472 wx_cv_func_snprintf_decl=no
34473
34474 fi
34475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34476
34477
34478 fi
34479 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34480 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34481
34482 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34483 cat >>confdefs.h <<\_ACEOF
34484 #define HAVE_SNPRINTF_DECL 1
34485 _ACEOF
34486
34487
34488 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34489 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34490 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34491 echo $ECHO_N "(cached) $ECHO_C" >&6
34492 else
34493
34494 cat >conftest.$ac_ext <<_ACEOF
34495 /* confdefs.h. */
34496 _ACEOF
34497 cat confdefs.h >>conftest.$ac_ext
34498 cat >>conftest.$ac_ext <<_ACEOF
34499 /* end confdefs.h. */
34500
34501 #include <stdio.h>
34502 #include <stdarg.h>
34503 #ifdef __MSL__
34504 #if __MSL__ >= 0x6000
34505 namespace std {}
34506 using namespace std;
34507 #endif
34508 #endif
34509
34510 int
34511 main ()
34512 {
34513
34514 char *buf;
34515 const char *fmt = "%s";
34516 snprintf(buf, 10u, fmt, "wx");
34517
34518 ;
34519 return 0;
34520 }
34521 _ACEOF
34522 rm -f conftest.$ac_objext
34523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34524 (eval $ac_compile) 2>conftest.er1
34525 ac_status=$?
34526 grep -v '^ *+' conftest.er1 >conftest.err
34527 rm -f conftest.er1
34528 cat conftest.err >&5
34529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530 (exit $ac_status); } &&
34531 { ac_try='test -z "$ac_cxx_werror_flag"
34532 || test ! -s conftest.err'
34533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534 (eval $ac_try) 2>&5
34535 ac_status=$?
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); }; } &&
34538 { ac_try='test -s conftest.$ac_objext'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34541 ac_status=$?
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; }; then
34544 wx_cv_func_broken_snprintf_decl=no
34545 else
34546 echo "$as_me: failed program was:" >&5
34547 sed 's/^/| /' conftest.$ac_ext >&5
34548
34549 wx_cv_func_broken_snprintf_decl=yes
34550
34551 fi
34552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34553
34554
34555 fi
34556 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34557 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34558
34559 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34560 cat >>confdefs.h <<\_ACEOF
34561 #define HAVE_BROKEN_SNPRINTF_DECL 1
34562 _ACEOF
34563
34564 fi
34565 fi
34566 fi
34567
34568 if test "$wxUSE_UNICODE" = yes; then
34569
34570
34571
34572
34573
34574
34575 for ac_func in wputc wputchar putws fputws wprintf vswprintf
34576 do
34577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34578 echo "$as_me:$LINENO: checking for $ac_func" >&5
34579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34580 if eval "test \"\${$as_ac_var+set}\" = set"; then
34581 echo $ECHO_N "(cached) $ECHO_C" >&6
34582 else
34583 cat >conftest.$ac_ext <<_ACEOF
34584 /* confdefs.h. */
34585 _ACEOF
34586 cat confdefs.h >>conftest.$ac_ext
34587 cat >>conftest.$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34591 #define $ac_func innocuous_$ac_func
34592
34593 /* System header to define __stub macros and hopefully few prototypes,
34594 which can conflict with char $ac_func (); below.
34595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34596 <limits.h> exists even on freestanding compilers. */
34597
34598 #ifdef __STDC__
34599 # include <limits.h>
34600 #else
34601 # include <assert.h>
34602 #endif
34603
34604 #undef $ac_func
34605
34606 /* Override any gcc2 internal prototype to avoid an error. */
34607 #ifdef __cplusplus
34608 extern "C"
34609 {
34610 #endif
34611 /* We use char because int might match the return type of a gcc2
34612 builtin and then its argument prototype would still apply. */
34613 char $ac_func ();
34614 /* The GNU C library defines this for functions which it implements
34615 to always fail with ENOSYS. Some functions are actually named
34616 something starting with __ and the normal name is an alias. */
34617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34618 choke me
34619 #else
34620 char (*f) () = $ac_func;
34621 #endif
34622 #ifdef __cplusplus
34623 }
34624 #endif
34625
34626 int
34627 main ()
34628 {
34629 return f != $ac_func;
34630 ;
34631 return 0;
34632 }
34633 _ACEOF
34634 rm -f conftest.$ac_objext conftest$ac_exeext
34635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34636 (eval $ac_link) 2>conftest.er1
34637 ac_status=$?
34638 grep -v '^ *+' conftest.er1 >conftest.err
34639 rm -f conftest.er1
34640 cat conftest.err >&5
34641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34642 (exit $ac_status); } &&
34643 { ac_try='test -z "$ac_cxx_werror_flag"
34644 || test ! -s conftest.err'
34645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34646 (eval $ac_try) 2>&5
34647 ac_status=$?
34648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34649 (exit $ac_status); }; } &&
34650 { ac_try='test -s conftest$ac_exeext'
34651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34652 (eval $ac_try) 2>&5
34653 ac_status=$?
34654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34655 (exit $ac_status); }; }; then
34656 eval "$as_ac_var=yes"
34657 else
34658 echo "$as_me: failed program was:" >&5
34659 sed 's/^/| /' conftest.$ac_ext >&5
34660
34661 eval "$as_ac_var=no"
34662 fi
34663 rm -f conftest.err conftest.$ac_objext \
34664 conftest$ac_exeext conftest.$ac_ext
34665 fi
34666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34668 if test `eval echo '${'$as_ac_var'}'` = yes; then
34669 cat >>confdefs.h <<_ACEOF
34670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34671 _ACEOF
34672
34673 fi
34674 done
34675
34676
34677 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34678 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34679 cat >conftest.$ac_ext <<_ACEOF
34680 /* confdefs.h. */
34681 _ACEOF
34682 cat confdefs.h >>conftest.$ac_ext
34683 cat >>conftest.$ac_ext <<_ACEOF
34684 /* end confdefs.h. */
34685 #include <wchar.h>
34686 int
34687 main ()
34688 {
34689 &_vsnwprintf;
34690 ;
34691 return 0;
34692 }
34693 _ACEOF
34694 rm -f conftest.$ac_objext
34695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34696 (eval $ac_compile) 2>conftest.er1
34697 ac_status=$?
34698 grep -v '^ *+' conftest.er1 >conftest.err
34699 rm -f conftest.er1
34700 cat conftest.err >&5
34701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702 (exit $ac_status); } &&
34703 { ac_try='test -z "$ac_cxx_werror_flag"
34704 || test ! -s conftest.err'
34705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34706 (eval $ac_try) 2>&5
34707 ac_status=$?
34708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34709 (exit $ac_status); }; } &&
34710 { ac_try='test -s conftest.$ac_objext'
34711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34712 (eval $ac_try) 2>&5
34713 ac_status=$?
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); }; }; then
34716 echo "$as_me:$LINENO: result: yes" >&5
34717 echo "${ECHO_T}yes" >&6
34718 cat >>confdefs.h <<\_ACEOF
34719 #define HAVE__VSNWPRINTF 1
34720 _ACEOF
34721
34722 else
34723 echo "$as_me: failed program was:" >&5
34724 sed 's/^/| /' conftest.$ac_ext >&5
34725
34726 echo "$as_me:$LINENO: result: no" >&5
34727 echo "${ECHO_T}no" >&6
34728 fi
34729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
34730 fi
34731
34732 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34733
34734 for ac_func in fnmatch
34735 do
34736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34737 echo "$as_me:$LINENO: checking for $ac_func" >&5
34738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34739 if eval "test \"\${$as_ac_var+set}\" = set"; then
34740 echo $ECHO_N "(cached) $ECHO_C" >&6
34741 else
34742 cat >conftest.$ac_ext <<_ACEOF
34743 /* confdefs.h. */
34744 _ACEOF
34745 cat confdefs.h >>conftest.$ac_ext
34746 cat >>conftest.$ac_ext <<_ACEOF
34747 /* end confdefs.h. */
34748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34750 #define $ac_func innocuous_$ac_func
34751
34752 /* System header to define __stub macros and hopefully few prototypes,
34753 which can conflict with char $ac_func (); below.
34754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34755 <limits.h> exists even on freestanding compilers. */
34756
34757 #ifdef __STDC__
34758 # include <limits.h>
34759 #else
34760 # include <assert.h>
34761 #endif
34762
34763 #undef $ac_func
34764
34765 /* Override any gcc2 internal prototype to avoid an error. */
34766 #ifdef __cplusplus
34767 extern "C"
34768 {
34769 #endif
34770 /* We use char because int might match the return type of a gcc2
34771 builtin and then its argument prototype would still apply. */
34772 char $ac_func ();
34773 /* The GNU C library defines this for functions which it implements
34774 to always fail with ENOSYS. Some functions are actually named
34775 something starting with __ and the normal name is an alias. */
34776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34777 choke me
34778 #else
34779 char (*f) () = $ac_func;
34780 #endif
34781 #ifdef __cplusplus
34782 }
34783 #endif
34784
34785 int
34786 main ()
34787 {
34788 return f != $ac_func;
34789 ;
34790 return 0;
34791 }
34792 _ACEOF
34793 rm -f conftest.$ac_objext conftest$ac_exeext
34794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34795 (eval $ac_link) 2>conftest.er1
34796 ac_status=$?
34797 grep -v '^ *+' conftest.er1 >conftest.err
34798 rm -f conftest.er1
34799 cat conftest.err >&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); } &&
34802 { ac_try='test -z "$ac_cxx_werror_flag"
34803 || test ! -s conftest.err'
34804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34805 (eval $ac_try) 2>&5
34806 ac_status=$?
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); }; } &&
34809 { ac_try='test -s conftest$ac_exeext'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34812 ac_status=$?
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; }; then
34815 eval "$as_ac_var=yes"
34816 else
34817 echo "$as_me: failed program was:" >&5
34818 sed 's/^/| /' conftest.$ac_ext >&5
34819
34820 eval "$as_ac_var=no"
34821 fi
34822 rm -f conftest.err conftest.$ac_objext \
34823 conftest$ac_exeext conftest.$ac_ext
34824 fi
34825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34827 if test `eval echo '${'$as_ac_var'}'` = yes; then
34828 cat >>confdefs.h <<_ACEOF
34829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34830 _ACEOF
34831
34832 fi
34833 done
34834
34835 fi
34836
34837 if test "$wxUSE_FILE" = "yes"; then
34838
34839 for ac_func in fsync
34840 do
34841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34842 echo "$as_me:$LINENO: checking for $ac_func" >&5
34843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34844 if eval "test \"\${$as_ac_var+set}\" = set"; then
34845 echo $ECHO_N "(cached) $ECHO_C" >&6
34846 else
34847 cat >conftest.$ac_ext <<_ACEOF
34848 /* confdefs.h. */
34849 _ACEOF
34850 cat confdefs.h >>conftest.$ac_ext
34851 cat >>conftest.$ac_ext <<_ACEOF
34852 /* end confdefs.h. */
34853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34855 #define $ac_func innocuous_$ac_func
34856
34857 /* System header to define __stub macros and hopefully few prototypes,
34858 which can conflict with char $ac_func (); below.
34859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34860 <limits.h> exists even on freestanding compilers. */
34861
34862 #ifdef __STDC__
34863 # include <limits.h>
34864 #else
34865 # include <assert.h>
34866 #endif
34867
34868 #undef $ac_func
34869
34870 /* Override any gcc2 internal prototype to avoid an error. */
34871 #ifdef __cplusplus
34872 extern "C"
34873 {
34874 #endif
34875 /* We use char because int might match the return type of a gcc2
34876 builtin and then its argument prototype would still apply. */
34877 char $ac_func ();
34878 /* The GNU C library defines this for functions which it implements
34879 to always fail with ENOSYS. Some functions are actually named
34880 something starting with __ and the normal name is an alias. */
34881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34882 choke me
34883 #else
34884 char (*f) () = $ac_func;
34885 #endif
34886 #ifdef __cplusplus
34887 }
34888 #endif
34889
34890 int
34891 main ()
34892 {
34893 return f != $ac_func;
34894 ;
34895 return 0;
34896 }
34897 _ACEOF
34898 rm -f conftest.$ac_objext conftest$ac_exeext
34899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34900 (eval $ac_link) 2>conftest.er1
34901 ac_status=$?
34902 grep -v '^ *+' conftest.er1 >conftest.err
34903 rm -f conftest.er1
34904 cat conftest.err >&5
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); } &&
34907 { ac_try='test -z "$ac_cxx_werror_flag"
34908 || test ! -s conftest.err'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34911 ac_status=$?
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; } &&
34914 { ac_try='test -s conftest$ac_exeext'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34917 ac_status=$?
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; }; then
34920 eval "$as_ac_var=yes"
34921 else
34922 echo "$as_me: failed program was:" >&5
34923 sed 's/^/| /' conftest.$ac_ext >&5
34924
34925 eval "$as_ac_var=no"
34926 fi
34927 rm -f conftest.err conftest.$ac_objext \
34928 conftest$ac_exeext conftest.$ac_ext
34929 fi
34930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34932 if test `eval echo '${'$as_ac_var'}'` = yes; then
34933 cat >>confdefs.h <<_ACEOF
34934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34935 _ACEOF
34936
34937 fi
34938 done
34939
34940 fi
34941
34942
34943 if test "$TOOLKIT" != "MSW"; then
34944
34945
34946
34947
34948
34949 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34950 if test "${with_libiconv_prefix+set}" = set; then
34951 withval="$with_libiconv_prefix"
34952
34953 for dir in `echo "$withval" | tr : ' '`; do
34954 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
34955 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
34956 done
34957
34958 fi;
34959
34960 echo "$as_me:$LINENO: checking for iconv" >&5
34961 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34962 if test "${am_cv_func_iconv+set}" = set; then
34963 echo $ECHO_N "(cached) $ECHO_C" >&6
34964 else
34965
34966 am_cv_func_iconv="no, consider installing GNU libiconv"
34967 am_cv_lib_iconv=no
34968 cat >conftest.$ac_ext <<_ACEOF
34969 /* confdefs.h. */
34970 _ACEOF
34971 cat confdefs.h >>conftest.$ac_ext
34972 cat >>conftest.$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34974 #include <stdlib.h>
34975 #include <iconv.h>
34976 int
34977 main ()
34978 {
34979 iconv_t cd = iconv_open("","");
34980 iconv(cd,NULL,NULL,NULL,NULL);
34981 iconv_close(cd);
34982 ;
34983 return 0;
34984 }
34985 _ACEOF
34986 rm -f conftest.$ac_objext conftest$ac_exeext
34987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34988 (eval $ac_link) 2>conftest.er1
34989 ac_status=$?
34990 grep -v '^ *+' conftest.er1 >conftest.err
34991 rm -f conftest.er1
34992 cat conftest.err >&5
34993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994 (exit $ac_status); } &&
34995 { ac_try='test -z "$ac_cxx_werror_flag"
34996 || test ! -s conftest.err'
34997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34998 (eval $ac_try) 2>&5
34999 ac_status=$?
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); }; } &&
35002 { ac_try='test -s conftest$ac_exeext'
35003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35004 (eval $ac_try) 2>&5
35005 ac_status=$?
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); }; }; then
35008 am_cv_func_iconv=yes
35009 else
35010 echo "$as_me: failed program was:" >&5
35011 sed 's/^/| /' conftest.$ac_ext >&5
35012
35013 fi
35014 rm -f conftest.err conftest.$ac_objext \
35015 conftest$ac_exeext conftest.$ac_ext
35016 if test "$am_cv_func_iconv" != yes; then
35017 am_save_LIBS="$LIBS"
35018 LIBS="$LIBS -liconv"
35019 cat >conftest.$ac_ext <<_ACEOF
35020 /* confdefs.h. */
35021 _ACEOF
35022 cat confdefs.h >>conftest.$ac_ext
35023 cat >>conftest.$ac_ext <<_ACEOF
35024 /* end confdefs.h. */
35025 #include <stdlib.h>
35026 #include <iconv.h>
35027 int
35028 main ()
35029 {
35030 iconv_t cd = iconv_open("","");
35031 iconv(cd,NULL,NULL,NULL,NULL);
35032 iconv_close(cd);
35033 ;
35034 return 0;
35035 }
35036 _ACEOF
35037 rm -f conftest.$ac_objext conftest$ac_exeext
35038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35039 (eval $ac_link) 2>conftest.er1
35040 ac_status=$?
35041 grep -v '^ *+' conftest.er1 >conftest.err
35042 rm -f conftest.er1
35043 cat conftest.err >&5
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); } &&
35046 { ac_try='test -z "$ac_cxx_werror_flag"
35047 || test ! -s conftest.err'
35048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35049 (eval $ac_try) 2>&5
35050 ac_status=$?
35051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35052 (exit $ac_status); }; } &&
35053 { ac_try='test -s conftest$ac_exeext'
35054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35055 (eval $ac_try) 2>&5
35056 ac_status=$?
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); }; }; then
35059 am_cv_lib_iconv=yes
35060 am_cv_func_iconv=yes
35061 else
35062 echo "$as_me: failed program was:" >&5
35063 sed 's/^/| /' conftest.$ac_ext >&5
35064
35065 fi
35066 rm -f conftest.err conftest.$ac_objext \
35067 conftest$ac_exeext conftest.$ac_ext
35068 LIBS="$am_save_LIBS"
35069 fi
35070
35071 fi
35072 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35073 echo "${ECHO_T}$am_cv_func_iconv" >&6
35074 if test "$am_cv_func_iconv" = yes; then
35075
35076 cat >>confdefs.h <<\_ACEOF
35077 #define HAVE_ICONV 1
35078 _ACEOF
35079
35080 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35081 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35082 if test "${wx_cv_func_iconv_const+set}" = set; then
35083 echo $ECHO_N "(cached) $ECHO_C" >&6
35084 else
35085 cat >conftest.$ac_ext <<_ACEOF
35086 /* confdefs.h. */
35087 _ACEOF
35088 cat confdefs.h >>conftest.$ac_ext
35089 cat >>conftest.$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091
35092 #include <stdlib.h>
35093 #include <iconv.h>
35094 extern
35095 #ifdef __cplusplus
35096 "C"
35097 #endif
35098 #if defined(__STDC__) || defined(__cplusplus)
35099 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35100 #else
35101 size_t iconv();
35102 #endif
35103
35104 int
35105 main ()
35106 {
35107
35108 ;
35109 return 0;
35110 }
35111 _ACEOF
35112 rm -f conftest.$ac_objext
35113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35114 (eval $ac_compile) 2>conftest.er1
35115 ac_status=$?
35116 grep -v '^ *+' conftest.er1 >conftest.err
35117 rm -f conftest.er1
35118 cat conftest.err >&5
35119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35120 (exit $ac_status); } &&
35121 { ac_try='test -z "$ac_cxx_werror_flag"
35122 || test ! -s conftest.err'
35123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35124 (eval $ac_try) 2>&5
35125 ac_status=$?
35126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35127 (exit $ac_status); }; } &&
35128 { ac_try='test -s conftest.$ac_objext'
35129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35130 (eval $ac_try) 2>&5
35131 ac_status=$?
35132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35133 (exit $ac_status); }; }; then
35134 wx_cv_func_iconv_const="no"
35135 else
35136 echo "$as_me: failed program was:" >&5
35137 sed 's/^/| /' conftest.$ac_ext >&5
35138
35139 wx_cv_func_iconv_const="yes"
35140
35141 fi
35142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35143
35144 fi
35145 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35146 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
35147
35148 iconv_const=
35149 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35150 iconv_const="const"
35151 fi
35152
35153
35154 cat >>confdefs.h <<_ACEOF
35155 #define ICONV_CONST $iconv_const
35156 _ACEOF
35157
35158 fi
35159 LIBICONV=
35160 if test "$am_cv_lib_iconv" = yes; then
35161 LIBICONV="-liconv"
35162 fi
35163
35164
35165 LIBS="$LIBICONV $LIBS"
35166
35167 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35168
35169 for ac_func in sigaction
35170 do
35171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35172 echo "$as_me:$LINENO: checking for $ac_func" >&5
35173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35174 if eval "test \"\${$as_ac_var+set}\" = set"; then
35175 echo $ECHO_N "(cached) $ECHO_C" >&6
35176 else
35177 cat >conftest.$ac_ext <<_ACEOF
35178 /* confdefs.h. */
35179 _ACEOF
35180 cat confdefs.h >>conftest.$ac_ext
35181 cat >>conftest.$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35185 #define $ac_func innocuous_$ac_func
35186
35187 /* System header to define __stub macros and hopefully few prototypes,
35188 which can conflict with char $ac_func (); below.
35189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35190 <limits.h> exists even on freestanding compilers. */
35191
35192 #ifdef __STDC__
35193 # include <limits.h>
35194 #else
35195 # include <assert.h>
35196 #endif
35197
35198 #undef $ac_func
35199
35200 /* Override any gcc2 internal prototype to avoid an error. */
35201 #ifdef __cplusplus
35202 extern "C"
35203 {
35204 #endif
35205 /* We use char because int might match the return type of a gcc2
35206 builtin and then its argument prototype would still apply. */
35207 char $ac_func ();
35208 /* The GNU C library defines this for functions which it implements
35209 to always fail with ENOSYS. Some functions are actually named
35210 something starting with __ and the normal name is an alias. */
35211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35212 choke me
35213 #else
35214 char (*f) () = $ac_func;
35215 #endif
35216 #ifdef __cplusplus
35217 }
35218 #endif
35219
35220 int
35221 main ()
35222 {
35223 return f != $ac_func;
35224 ;
35225 return 0;
35226 }
35227 _ACEOF
35228 rm -f conftest.$ac_objext conftest$ac_exeext
35229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35230 (eval $ac_link) 2>conftest.er1
35231 ac_status=$?
35232 grep -v '^ *+' conftest.er1 >conftest.err
35233 rm -f conftest.er1
35234 cat conftest.err >&5
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); } &&
35237 { ac_try='test -z "$ac_cxx_werror_flag"
35238 || test ! -s conftest.err'
35239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35240 (eval $ac_try) 2>&5
35241 ac_status=$?
35242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35243 (exit $ac_status); }; } &&
35244 { ac_try='test -s conftest$ac_exeext'
35245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35246 (eval $ac_try) 2>&5
35247 ac_status=$?
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); }; }; then
35250 eval "$as_ac_var=yes"
35251 else
35252 echo "$as_me: failed program was:" >&5
35253 sed 's/^/| /' conftest.$ac_ext >&5
35254
35255 eval "$as_ac_var=no"
35256 fi
35257 rm -f conftest.err conftest.$ac_objext \
35258 conftest$ac_exeext conftest.$ac_ext
35259 fi
35260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35262 if test `eval echo '${'$as_ac_var'}'` = yes; then
35263 cat >>confdefs.h <<_ACEOF
35264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35265 _ACEOF
35266
35267 fi
35268 done
35269
35270
35271 if test "$ac_cv_func_sigaction" = "no"; then
35272 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35273 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35274 wxUSE_ON_FATAL_EXCEPTION=no
35275 fi
35276
35277 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35278 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35279 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35280 if test "${wx_cv_type_sa_handler+set}" = set; then
35281 echo $ECHO_N "(cached) $ECHO_C" >&6
35282 else
35283
35284 cat >conftest.$ac_ext <<_ACEOF
35285 /* confdefs.h. */
35286 _ACEOF
35287 cat confdefs.h >>conftest.$ac_ext
35288 cat >>conftest.$ac_ext <<_ACEOF
35289 /* end confdefs.h. */
35290 #include <signal.h>
35291 int
35292 main ()
35293 {
35294
35295 extern void testSigHandler(int);
35296
35297 struct sigaction sa;
35298 sa.sa_handler = testSigHandler;
35299
35300 ;
35301 return 0;
35302 }
35303 _ACEOF
35304 rm -f conftest.$ac_objext
35305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35306 (eval $ac_compile) 2>conftest.er1
35307 ac_status=$?
35308 grep -v '^ *+' conftest.er1 >conftest.err
35309 rm -f conftest.er1
35310 cat conftest.err >&5
35311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35312 (exit $ac_status); } &&
35313 { ac_try='test -z "$ac_cxx_werror_flag"
35314 || test ! -s conftest.err'
35315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35316 (eval $ac_try) 2>&5
35317 ac_status=$?
35318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35319 (exit $ac_status); }; } &&
35320 { ac_try='test -s conftest.$ac_objext'
35321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35322 (eval $ac_try) 2>&5
35323 ac_status=$?
35324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35325 (exit $ac_status); }; }; then
35326
35327 wx_cv_type_sa_handler=int
35328
35329 else
35330 echo "$as_me: failed program was:" >&5
35331 sed 's/^/| /' conftest.$ac_ext >&5
35332
35333
35334 wx_cv_type_sa_handler=void
35335
35336 fi
35337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35338
35339 fi
35340 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35341 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35342
35343 cat >>confdefs.h <<_ACEOF
35344 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35345 _ACEOF
35346
35347 fi
35348 fi
35349
35350 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35351 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35352 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35353 if test "${wx_cv_func_backtrace+set}" = set; then
35354 echo $ECHO_N "(cached) $ECHO_C" >&6
35355 else
35356
35357 cat >conftest.$ac_ext <<_ACEOF
35358 /* confdefs.h. */
35359 _ACEOF
35360 cat confdefs.h >>conftest.$ac_ext
35361 cat >>conftest.$ac_ext <<_ACEOF
35362 /* end confdefs.h. */
35363 #include <execinfo.h>
35364 int
35365 main ()
35366 {
35367
35368 void *trace[1];
35369 char **messages;
35370
35371 backtrace(trace, 1);
35372 messages = backtrace_symbols(trace, 1);
35373
35374 ;
35375 return 0;
35376 }
35377 _ACEOF
35378 rm -f conftest.$ac_objext
35379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35380 (eval $ac_compile) 2>conftest.er1
35381 ac_status=$?
35382 grep -v '^ *+' conftest.er1 >conftest.err
35383 rm -f conftest.er1
35384 cat conftest.err >&5
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 (exit $ac_status); } &&
35387 { ac_try='test -z "$ac_cxx_werror_flag"
35388 || test ! -s conftest.err'
35389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35390 (eval $ac_try) 2>&5
35391 ac_status=$?
35392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393 (exit $ac_status); }; } &&
35394 { ac_try='test -s conftest.$ac_objext'
35395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35396 (eval $ac_try) 2>&5
35397 ac_status=$?
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); }; }; then
35400 wx_cv_func_backtrace=yes
35401 else
35402 echo "$as_me: failed program was:" >&5
35403 sed 's/^/| /' conftest.$ac_ext >&5
35404
35405 wx_cv_func_backtrace=no
35406
35407 fi
35408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35409
35410
35411 fi
35412 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35413 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35414
35415
35416 if test "$wx_cv_func_backtrace" = "no"; then
35417 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35418 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35419 wxUSE_STACKWALKER=no
35420 else
35421 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35422 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35423 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35424 echo $ECHO_N "(cached) $ECHO_C" >&6
35425 else
35426
35427 cat >conftest.$ac_ext <<_ACEOF
35428 /* confdefs.h. */
35429 _ACEOF
35430 cat confdefs.h >>conftest.$ac_ext
35431 cat >>conftest.$ac_ext <<_ACEOF
35432 /* end confdefs.h. */
35433 #include <cxxabi.h>
35434 int
35435 main ()
35436 {
35437
35438 int rc;
35439 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35440
35441 ;
35442 return 0;
35443 }
35444 _ACEOF
35445 rm -f conftest.$ac_objext conftest$ac_exeext
35446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35447 (eval $ac_link) 2>conftest.er1
35448 ac_status=$?
35449 grep -v '^ *+' conftest.er1 >conftest.err
35450 rm -f conftest.er1
35451 cat conftest.err >&5
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); } &&
35454 { ac_try='test -z "$ac_cxx_werror_flag"
35455 || test ! -s conftest.err'
35456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35457 (eval $ac_try) 2>&5
35458 ac_status=$?
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); }; } &&
35461 { ac_try='test -s conftest$ac_exeext'
35462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35463 (eval $ac_try) 2>&5
35464 ac_status=$?
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); }; }; then
35467 wx_cv_func_cxa_demangle=yes
35468 else
35469 echo "$as_me: failed program was:" >&5
35470 sed 's/^/| /' conftest.$ac_ext >&5
35471
35472 wx_cv_func_cxa_demangle=no
35473
35474 fi
35475 rm -f conftest.err conftest.$ac_objext \
35476 conftest$ac_exeext conftest.$ac_ext
35477
35478
35479 fi
35480 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35481 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35482
35483 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35484 cat >>confdefs.h <<\_ACEOF
35485 #define HAVE_CXA_DEMANGLE 1
35486 _ACEOF
35487
35488 fi
35489 fi
35490 fi
35491
35492 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35493 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35494 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35495 wxUSE_STACKWALKER=no
35496 fi
35497
35498
35499
35500
35501 for ac_func in mkstemp mktemp
35502 do
35503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35504 echo "$as_me:$LINENO: checking for $ac_func" >&5
35505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35506 if eval "test \"\${$as_ac_var+set}\" = set"; then
35507 echo $ECHO_N "(cached) $ECHO_C" >&6
35508 else
35509 cat >conftest.$ac_ext <<_ACEOF
35510 /* confdefs.h. */
35511 _ACEOF
35512 cat confdefs.h >>conftest.$ac_ext
35513 cat >>conftest.$ac_ext <<_ACEOF
35514 /* end confdefs.h. */
35515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35517 #define $ac_func innocuous_$ac_func
35518
35519 /* System header to define __stub macros and hopefully few prototypes,
35520 which can conflict with char $ac_func (); below.
35521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35522 <limits.h> exists even on freestanding compilers. */
35523
35524 #ifdef __STDC__
35525 # include <limits.h>
35526 #else
35527 # include <assert.h>
35528 #endif
35529
35530 #undef $ac_func
35531
35532 /* Override any gcc2 internal prototype to avoid an error. */
35533 #ifdef __cplusplus
35534 extern "C"
35535 {
35536 #endif
35537 /* We use char because int might match the return type of a gcc2
35538 builtin and then its argument prototype would still apply. */
35539 char $ac_func ();
35540 /* The GNU C library defines this for functions which it implements
35541 to always fail with ENOSYS. Some functions are actually named
35542 something starting with __ and the normal name is an alias. */
35543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35544 choke me
35545 #else
35546 char (*f) () = $ac_func;
35547 #endif
35548 #ifdef __cplusplus
35549 }
35550 #endif
35551
35552 int
35553 main ()
35554 {
35555 return f != $ac_func;
35556 ;
35557 return 0;
35558 }
35559 _ACEOF
35560 rm -f conftest.$ac_objext conftest$ac_exeext
35561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35562 (eval $ac_link) 2>conftest.er1
35563 ac_status=$?
35564 grep -v '^ *+' conftest.er1 >conftest.err
35565 rm -f conftest.er1
35566 cat conftest.err >&5
35567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35568 (exit $ac_status); } &&
35569 { ac_try='test -z "$ac_cxx_werror_flag"
35570 || test ! -s conftest.err'
35571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35572 (eval $ac_try) 2>&5
35573 ac_status=$?
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); }; } &&
35576 { ac_try='test -s conftest$ac_exeext'
35577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35578 (eval $ac_try) 2>&5
35579 ac_status=$?
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); }; }; then
35582 eval "$as_ac_var=yes"
35583 else
35584 echo "$as_me: failed program was:" >&5
35585 sed 's/^/| /' conftest.$ac_ext >&5
35586
35587 eval "$as_ac_var=no"
35588 fi
35589 rm -f conftest.err conftest.$ac_objext \
35590 conftest$ac_exeext conftest.$ac_ext
35591 fi
35592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35594 if test `eval echo '${'$as_ac_var'}'` = yes; then
35595 cat >>confdefs.h <<_ACEOF
35596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35597 _ACEOF
35598 break
35599 fi
35600 done
35601
35602
35603 echo "$as_me:$LINENO: checking for statfs" >&5
35604 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35605 if test "${wx_cv_func_statfs+set}" = set; then
35606 echo $ECHO_N "(cached) $ECHO_C" >&6
35607 else
35608 cat >conftest.$ac_ext <<_ACEOF
35609 /* confdefs.h. */
35610 _ACEOF
35611 cat confdefs.h >>conftest.$ac_ext
35612 cat >>conftest.$ac_ext <<_ACEOF
35613 /* end confdefs.h. */
35614
35615 #if defined(__BSD__)
35616 #include <sys/param.h>
35617 #include <sys/mount.h>
35618 #else
35619 #include <sys/vfs.h>
35620 #endif
35621
35622 int
35623 main ()
35624 {
35625
35626 long l;
35627 struct statfs fs;
35628 statfs("/", &fs);
35629 l = fs.f_bsize;
35630 l += fs.f_blocks;
35631 l += fs.f_bavail;
35632
35633 ;
35634 return 0;
35635 }
35636 _ACEOF
35637 rm -f conftest.$ac_objext
35638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35639 (eval $ac_compile) 2>conftest.er1
35640 ac_status=$?
35641 grep -v '^ *+' conftest.er1 >conftest.err
35642 rm -f conftest.er1
35643 cat conftest.err >&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); } &&
35646 { ac_try='test -z "$ac_cxx_werror_flag"
35647 || test ! -s conftest.err'
35648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35649 (eval $ac_try) 2>&5
35650 ac_status=$?
35651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35652 (exit $ac_status); }; } &&
35653 { ac_try='test -s conftest.$ac_objext'
35654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35655 (eval $ac_try) 2>&5
35656 ac_status=$?
35657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658 (exit $ac_status); }; }; then
35659 wx_cv_func_statfs=yes
35660 else
35661 echo "$as_me: failed program was:" >&5
35662 sed 's/^/| /' conftest.$ac_ext >&5
35663
35664 wx_cv_func_statfs=no
35665
35666 fi
35667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35668
35669 fi
35670 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35671 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35672
35673 if test "$wx_cv_func_statfs" = "yes"; then
35674 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35675 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35676 if test "${wx_cv_func_statfs_decl+set}" = set; then
35677 echo $ECHO_N "(cached) $ECHO_C" >&6
35678 else
35679 cat >conftest.$ac_ext <<_ACEOF
35680 /* confdefs.h. */
35681 _ACEOF
35682 cat confdefs.h >>conftest.$ac_ext
35683 cat >>conftest.$ac_ext <<_ACEOF
35684 /* end confdefs.h. */
35685
35686 #if defined(__BSD__)
35687 #include <sys/param.h>
35688 #include <sys/mount.h>
35689 #else
35690 #include <sys/vfs.h>
35691 #endif
35692
35693 int
35694 main ()
35695 {
35696
35697 struct statfs fs;
35698 statfs("", &fs);
35699
35700 ;
35701 return 0;
35702 }
35703 _ACEOF
35704 rm -f conftest.$ac_objext
35705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35706 (eval $ac_compile) 2>conftest.er1
35707 ac_status=$?
35708 grep -v '^ *+' conftest.er1 >conftest.err
35709 rm -f conftest.er1
35710 cat conftest.err >&5
35711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35712 (exit $ac_status); } &&
35713 { ac_try='test -z "$ac_cxx_werror_flag"
35714 || test ! -s conftest.err'
35715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35716 (eval $ac_try) 2>&5
35717 ac_status=$?
35718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35719 (exit $ac_status); }; } &&
35720 { ac_try='test -s conftest.$ac_objext'
35721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35722 (eval $ac_try) 2>&5
35723 ac_status=$?
35724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35725 (exit $ac_status); }; }; then
35726 wx_cv_func_statfs_decl=yes
35727 else
35728 echo "$as_me: failed program was:" >&5
35729 sed 's/^/| /' conftest.$ac_ext >&5
35730
35731 wx_cv_func_statfs_decl=no
35732
35733 fi
35734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35735
35736 fi
35737 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35738 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35739
35740 if test "$wx_cv_func_statfs_decl" = "yes"; then
35741 cat >>confdefs.h <<\_ACEOF
35742 #define HAVE_STATFS_DECL 1
35743 _ACEOF
35744
35745 fi
35746
35747 wx_cv_type_statvfs_t="struct statfs"
35748 cat >>confdefs.h <<\_ACEOF
35749 #define HAVE_STATFS 1
35750 _ACEOF
35751
35752 else
35753 echo "$as_me:$LINENO: checking for statvfs" >&5
35754 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35755 if test "${wx_cv_func_statvfs+set}" = set; then
35756 echo $ECHO_N "(cached) $ECHO_C" >&6
35757 else
35758 cat >conftest.$ac_ext <<_ACEOF
35759 /* confdefs.h. */
35760 _ACEOF
35761 cat confdefs.h >>conftest.$ac_ext
35762 cat >>conftest.$ac_ext <<_ACEOF
35763 /* end confdefs.h. */
35764
35765 #include <stddef.h>
35766 #include <sys/statvfs.h>
35767
35768 int
35769 main ()
35770 {
35771
35772 statvfs("/", NULL);
35773
35774 ;
35775 return 0;
35776 }
35777 _ACEOF
35778 rm -f conftest.$ac_objext
35779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35780 (eval $ac_compile) 2>conftest.er1
35781 ac_status=$?
35782 grep -v '^ *+' conftest.er1 >conftest.err
35783 rm -f conftest.er1
35784 cat conftest.err >&5
35785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35786 (exit $ac_status); } &&
35787 { ac_try='test -z "$ac_cxx_werror_flag"
35788 || test ! -s conftest.err'
35789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35790 (eval $ac_try) 2>&5
35791 ac_status=$?
35792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35793 (exit $ac_status); }; } &&
35794 { ac_try='test -s conftest.$ac_objext'
35795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35796 (eval $ac_try) 2>&5
35797 ac_status=$?
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; }; then
35800 wx_cv_func_statvfs=yes
35801 else
35802 echo "$as_me: failed program was:" >&5
35803 sed 's/^/| /' conftest.$ac_ext >&5
35804
35805 wx_cv_func_statvfs=no
35806
35807 fi
35808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35809
35810 fi
35811 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35812 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35813
35814 if test "$wx_cv_func_statvfs" = "yes"; then
35815 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35816 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35817 if test "${wx_cv_type_statvfs_t+set}" = set; then
35818 echo $ECHO_N "(cached) $ECHO_C" >&6
35819 else
35820 cat >conftest.$ac_ext <<_ACEOF
35821 /* confdefs.h. */
35822 _ACEOF
35823 cat confdefs.h >>conftest.$ac_ext
35824 cat >>conftest.$ac_ext <<_ACEOF
35825 /* end confdefs.h. */
35826
35827 #include <sys/statvfs.h>
35828
35829 int
35830 main ()
35831 {
35832
35833 long l;
35834 statvfs_t fs;
35835 statvfs("/", &fs);
35836 l = fs.f_bsize;
35837 l += fs.f_blocks;
35838 l += fs.f_bavail;
35839
35840 ;
35841 return 0;
35842 }
35843 _ACEOF
35844 rm -f conftest.$ac_objext
35845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35846 (eval $ac_compile) 2>conftest.er1
35847 ac_status=$?
35848 grep -v '^ *+' conftest.er1 >conftest.err
35849 rm -f conftest.er1
35850 cat conftest.err >&5
35851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35852 (exit $ac_status); } &&
35853 { ac_try='test -z "$ac_cxx_werror_flag"
35854 || test ! -s conftest.err'
35855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35856 (eval $ac_try) 2>&5
35857 ac_status=$?
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); }; } &&
35860 { ac_try='test -s conftest.$ac_objext'
35861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35862 (eval $ac_try) 2>&5
35863 ac_status=$?
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); }; }; then
35866 wx_cv_type_statvfs_t=statvfs_t
35867 else
35868 echo "$as_me: failed program was:" >&5
35869 sed 's/^/| /' conftest.$ac_ext >&5
35870
35871
35872 cat >conftest.$ac_ext <<_ACEOF
35873 /* confdefs.h. */
35874 _ACEOF
35875 cat confdefs.h >>conftest.$ac_ext
35876 cat >>conftest.$ac_ext <<_ACEOF
35877 /* end confdefs.h. */
35878
35879 #include <sys/statvfs.h>
35880
35881 int
35882 main ()
35883 {
35884
35885 long l;
35886 struct statvfs fs;
35887 statvfs("/", &fs);
35888 l = fs.f_bsize;
35889 l += fs.f_blocks;
35890 l += fs.f_bavail;
35891
35892 ;
35893 return 0;
35894 }
35895 _ACEOF
35896 rm -f conftest.$ac_objext
35897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35898 (eval $ac_compile) 2>conftest.er1
35899 ac_status=$?
35900 grep -v '^ *+' conftest.er1 >conftest.err
35901 rm -f conftest.er1
35902 cat conftest.err >&5
35903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35904 (exit $ac_status); } &&
35905 { ac_try='test -z "$ac_cxx_werror_flag"
35906 || test ! -s conftest.err'
35907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35908 (eval $ac_try) 2>&5
35909 ac_status=$?
35910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35911 (exit $ac_status); }; } &&
35912 { ac_try='test -s conftest.$ac_objext'
35913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35914 (eval $ac_try) 2>&5
35915 ac_status=$?
35916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35917 (exit $ac_status); }; }; then
35918 wx_cv_type_statvfs_t="struct statvfs"
35919 else
35920 echo "$as_me: failed program was:" >&5
35921 sed 's/^/| /' conftest.$ac_ext >&5
35922
35923 wx_cv_type_statvfs_t="unknown"
35924
35925 fi
35926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35927
35928
35929 fi
35930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35931
35932 fi
35933 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35934 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35935
35936 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35937 cat >>confdefs.h <<\_ACEOF
35938 #define HAVE_STATVFS 1
35939 _ACEOF
35940
35941 fi
35942 else
35943 wx_cv_type_statvfs_t="unknown"
35944 fi
35945 fi
35946
35947 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35948 cat >>confdefs.h <<_ACEOF
35949 #define WX_STATFS_T $wx_cv_type_statvfs_t
35950 _ACEOF
35951
35952 else
35953 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35954 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35955 fi
35956
35957 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35958
35959
35960 for ac_func in fcntl flock
35961 do
35962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35963 echo "$as_me:$LINENO: checking for $ac_func" >&5
35964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35965 if eval "test \"\${$as_ac_var+set}\" = set"; then
35966 echo $ECHO_N "(cached) $ECHO_C" >&6
35967 else
35968 cat >conftest.$ac_ext <<_ACEOF
35969 /* confdefs.h. */
35970 _ACEOF
35971 cat confdefs.h >>conftest.$ac_ext
35972 cat >>conftest.$ac_ext <<_ACEOF
35973 /* end confdefs.h. */
35974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35976 #define $ac_func innocuous_$ac_func
35977
35978 /* System header to define __stub macros and hopefully few prototypes,
35979 which can conflict with char $ac_func (); below.
35980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35981 <limits.h> exists even on freestanding compilers. */
35982
35983 #ifdef __STDC__
35984 # include <limits.h>
35985 #else
35986 # include <assert.h>
35987 #endif
35988
35989 #undef $ac_func
35990
35991 /* Override any gcc2 internal prototype to avoid an error. */
35992 #ifdef __cplusplus
35993 extern "C"
35994 {
35995 #endif
35996 /* We use char because int might match the return type of a gcc2
35997 builtin and then its argument prototype would still apply. */
35998 char $ac_func ();
35999 /* The GNU C library defines this for functions which it implements
36000 to always fail with ENOSYS. Some functions are actually named
36001 something starting with __ and the normal name is an alias. */
36002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36003 choke me
36004 #else
36005 char (*f) () = $ac_func;
36006 #endif
36007 #ifdef __cplusplus
36008 }
36009 #endif
36010
36011 int
36012 main ()
36013 {
36014 return f != $ac_func;
36015 ;
36016 return 0;
36017 }
36018 _ACEOF
36019 rm -f conftest.$ac_objext conftest$ac_exeext
36020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36021 (eval $ac_link) 2>conftest.er1
36022 ac_status=$?
36023 grep -v '^ *+' conftest.er1 >conftest.err
36024 rm -f conftest.er1
36025 cat conftest.err >&5
36026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36027 (exit $ac_status); } &&
36028 { ac_try='test -z "$ac_cxx_werror_flag"
36029 || test ! -s conftest.err'
36030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031 (eval $ac_try) 2>&5
36032 ac_status=$?
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); }; } &&
36035 { ac_try='test -s conftest$ac_exeext'
36036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36037 (eval $ac_try) 2>&5
36038 ac_status=$?
36039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36040 (exit $ac_status); }; }; then
36041 eval "$as_ac_var=yes"
36042 else
36043 echo "$as_me: failed program was:" >&5
36044 sed 's/^/| /' conftest.$ac_ext >&5
36045
36046 eval "$as_ac_var=no"
36047 fi
36048 rm -f conftest.err conftest.$ac_objext \
36049 conftest$ac_exeext conftest.$ac_ext
36050 fi
36051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36053 if test `eval echo '${'$as_ac_var'}'` = yes; then
36054 cat >>confdefs.h <<_ACEOF
36055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36056 _ACEOF
36057 break
36058 fi
36059 done
36060
36061
36062 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36063 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36064 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36065 wxUSE_SNGLINST_CHECKER=no
36066 fi
36067 fi
36068
36069
36070 for ac_func in timegm
36071 do
36072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36073 echo "$as_me:$LINENO: checking for $ac_func" >&5
36074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36075 if eval "test \"\${$as_ac_var+set}\" = set"; then
36076 echo $ECHO_N "(cached) $ECHO_C" >&6
36077 else
36078 cat >conftest.$ac_ext <<_ACEOF
36079 /* confdefs.h. */
36080 _ACEOF
36081 cat confdefs.h >>conftest.$ac_ext
36082 cat >>conftest.$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36086 #define $ac_func innocuous_$ac_func
36087
36088 /* System header to define __stub macros and hopefully few prototypes,
36089 which can conflict with char $ac_func (); below.
36090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36091 <limits.h> exists even on freestanding compilers. */
36092
36093 #ifdef __STDC__
36094 # include <limits.h>
36095 #else
36096 # include <assert.h>
36097 #endif
36098
36099 #undef $ac_func
36100
36101 /* Override any gcc2 internal prototype to avoid an error. */
36102 #ifdef __cplusplus
36103 extern "C"
36104 {
36105 #endif
36106 /* We use char because int might match the return type of a gcc2
36107 builtin and then its argument prototype would still apply. */
36108 char $ac_func ();
36109 /* The GNU C library defines this for functions which it implements
36110 to always fail with ENOSYS. Some functions are actually named
36111 something starting with __ and the normal name is an alias. */
36112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36113 choke me
36114 #else
36115 char (*f) () = $ac_func;
36116 #endif
36117 #ifdef __cplusplus
36118 }
36119 #endif
36120
36121 int
36122 main ()
36123 {
36124 return f != $ac_func;
36125 ;
36126 return 0;
36127 }
36128 _ACEOF
36129 rm -f conftest.$ac_objext conftest$ac_exeext
36130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36131 (eval $ac_link) 2>conftest.er1
36132 ac_status=$?
36133 grep -v '^ *+' conftest.er1 >conftest.err
36134 rm -f conftest.er1
36135 cat conftest.err >&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } &&
36138 { ac_try='test -z "$ac_cxx_werror_flag"
36139 || test ! -s conftest.err'
36140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36141 (eval $ac_try) 2>&5
36142 ac_status=$?
36143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36144 (exit $ac_status); }; } &&
36145 { ac_try='test -s conftest$ac_exeext'
36146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36147 (eval $ac_try) 2>&5
36148 ac_status=$?
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); }; }; then
36151 eval "$as_ac_var=yes"
36152 else
36153 echo "$as_me: failed program was:" >&5
36154 sed 's/^/| /' conftest.$ac_ext >&5
36155
36156 eval "$as_ac_var=no"
36157 fi
36158 rm -f conftest.err conftest.$ac_objext \
36159 conftest$ac_exeext conftest.$ac_ext
36160 fi
36161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36163 if test `eval echo '${'$as_ac_var'}'` = yes; then
36164 cat >>confdefs.h <<_ACEOF
36165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36166 _ACEOF
36167
36168 fi
36169 done
36170
36171
36172
36173
36174 for ac_func in putenv setenv
36175 do
36176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36177 echo "$as_me:$LINENO: checking for $ac_func" >&5
36178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36179 if eval "test \"\${$as_ac_var+set}\" = set"; then
36180 echo $ECHO_N "(cached) $ECHO_C" >&6
36181 else
36182 cat >conftest.$ac_ext <<_ACEOF
36183 /* confdefs.h. */
36184 _ACEOF
36185 cat confdefs.h >>conftest.$ac_ext
36186 cat >>conftest.$ac_ext <<_ACEOF
36187 /* end confdefs.h. */
36188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36190 #define $ac_func innocuous_$ac_func
36191
36192 /* System header to define __stub macros and hopefully few prototypes,
36193 which can conflict with char $ac_func (); below.
36194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36195 <limits.h> exists even on freestanding compilers. */
36196
36197 #ifdef __STDC__
36198 # include <limits.h>
36199 #else
36200 # include <assert.h>
36201 #endif
36202
36203 #undef $ac_func
36204
36205 /* Override any gcc2 internal prototype to avoid an error. */
36206 #ifdef __cplusplus
36207 extern "C"
36208 {
36209 #endif
36210 /* We use char because int might match the return type of a gcc2
36211 builtin and then its argument prototype would still apply. */
36212 char $ac_func ();
36213 /* The GNU C library defines this for functions which it implements
36214 to always fail with ENOSYS. Some functions are actually named
36215 something starting with __ and the normal name is an alias. */
36216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36217 choke me
36218 #else
36219 char (*f) () = $ac_func;
36220 #endif
36221 #ifdef __cplusplus
36222 }
36223 #endif
36224
36225 int
36226 main ()
36227 {
36228 return f != $ac_func;
36229 ;
36230 return 0;
36231 }
36232 _ACEOF
36233 rm -f conftest.$ac_objext conftest$ac_exeext
36234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36235 (eval $ac_link) 2>conftest.er1
36236 ac_status=$?
36237 grep -v '^ *+' conftest.er1 >conftest.err
36238 rm -f conftest.er1
36239 cat conftest.err >&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); } &&
36242 { ac_try='test -z "$ac_cxx_werror_flag"
36243 || test ! -s conftest.err'
36244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36245 (eval $ac_try) 2>&5
36246 ac_status=$?
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); }; } &&
36249 { ac_try='test -s conftest$ac_exeext'
36250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36251 (eval $ac_try) 2>&5
36252 ac_status=$?
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); }; }; then
36255 eval "$as_ac_var=yes"
36256 else
36257 echo "$as_me: failed program was:" >&5
36258 sed 's/^/| /' conftest.$ac_ext >&5
36259
36260 eval "$as_ac_var=no"
36261 fi
36262 rm -f conftest.err conftest.$ac_objext \
36263 conftest$ac_exeext conftest.$ac_ext
36264 fi
36265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36267 if test `eval echo '${'$as_ac_var'}'` = yes; then
36268 cat >>confdefs.h <<_ACEOF
36269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36270 _ACEOF
36271 break
36272 fi
36273 done
36274
36275
36276 HAVE_SOME_SLEEP_FUNC=0
36277 if test "$USE_BEOS" = 1; then
36278 cat >>confdefs.h <<\_ACEOF
36279 #define HAVE_SLEEP 1
36280 _ACEOF
36281
36282 HAVE_SOME_SLEEP_FUNC=1
36283 fi
36284
36285 if test "$USE_DARWIN" = 1; then
36286 cat >>confdefs.h <<\_ACEOF
36287 #define HAVE_USLEEP 1
36288 _ACEOF
36289
36290 HAVE_SOME_SLEEP_FUNC=1
36291 fi
36292
36293 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36294 POSIX4_LINK=
36295
36296 for ac_func in nanosleep
36297 do
36298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36299 echo "$as_me:$LINENO: checking for $ac_func" >&5
36300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36301 if eval "test \"\${$as_ac_var+set}\" = set"; then
36302 echo $ECHO_N "(cached) $ECHO_C" >&6
36303 else
36304 cat >conftest.$ac_ext <<_ACEOF
36305 /* confdefs.h. */
36306 _ACEOF
36307 cat confdefs.h >>conftest.$ac_ext
36308 cat >>conftest.$ac_ext <<_ACEOF
36309 /* end confdefs.h. */
36310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36312 #define $ac_func innocuous_$ac_func
36313
36314 /* System header to define __stub macros and hopefully few prototypes,
36315 which can conflict with char $ac_func (); below.
36316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36317 <limits.h> exists even on freestanding compilers. */
36318
36319 #ifdef __STDC__
36320 # include <limits.h>
36321 #else
36322 # include <assert.h>
36323 #endif
36324
36325 #undef $ac_func
36326
36327 /* Override any gcc2 internal prototype to avoid an error. */
36328 #ifdef __cplusplus
36329 extern "C"
36330 {
36331 #endif
36332 /* We use char because int might match the return type of a gcc2
36333 builtin and then its argument prototype would still apply. */
36334 char $ac_func ();
36335 /* The GNU C library defines this for functions which it implements
36336 to always fail with ENOSYS. Some functions are actually named
36337 something starting with __ and the normal name is an alias. */
36338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36339 choke me
36340 #else
36341 char (*f) () = $ac_func;
36342 #endif
36343 #ifdef __cplusplus
36344 }
36345 #endif
36346
36347 int
36348 main ()
36349 {
36350 return f != $ac_func;
36351 ;
36352 return 0;
36353 }
36354 _ACEOF
36355 rm -f conftest.$ac_objext conftest$ac_exeext
36356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36357 (eval $ac_link) 2>conftest.er1
36358 ac_status=$?
36359 grep -v '^ *+' conftest.er1 >conftest.err
36360 rm -f conftest.er1
36361 cat conftest.err >&5
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); } &&
36364 { ac_try='test -z "$ac_cxx_werror_flag"
36365 || test ! -s conftest.err'
36366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36367 (eval $ac_try) 2>&5
36368 ac_status=$?
36369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36370 (exit $ac_status); }; } &&
36371 { ac_try='test -s conftest$ac_exeext'
36372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36373 (eval $ac_try) 2>&5
36374 ac_status=$?
36375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36376 (exit $ac_status); }; }; then
36377 eval "$as_ac_var=yes"
36378 else
36379 echo "$as_me: failed program was:" >&5
36380 sed 's/^/| /' conftest.$ac_ext >&5
36381
36382 eval "$as_ac_var=no"
36383 fi
36384 rm -f conftest.err conftest.$ac_objext \
36385 conftest$ac_exeext conftest.$ac_ext
36386 fi
36387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36389 if test `eval echo '${'$as_ac_var'}'` = yes; then
36390 cat >>confdefs.h <<_ACEOF
36391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36392 _ACEOF
36393 cat >>confdefs.h <<\_ACEOF
36394 #define HAVE_NANOSLEEP 1
36395 _ACEOF
36396
36397 else
36398
36399 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36400 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36401 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36402 echo $ECHO_N "(cached) $ECHO_C" >&6
36403 else
36404 ac_check_lib_save_LIBS=$LIBS
36405 LIBS="-lposix4 $LIBS"
36406 cat >conftest.$ac_ext <<_ACEOF
36407 /* confdefs.h. */
36408 _ACEOF
36409 cat confdefs.h >>conftest.$ac_ext
36410 cat >>conftest.$ac_ext <<_ACEOF
36411 /* end confdefs.h. */
36412
36413 /* Override any gcc2 internal prototype to avoid an error. */
36414 #ifdef __cplusplus
36415 extern "C"
36416 #endif
36417 /* We use char because int might match the return type of a gcc2
36418 builtin and then its argument prototype would still apply. */
36419 char nanosleep ();
36420 int
36421 main ()
36422 {
36423 nanosleep ();
36424 ;
36425 return 0;
36426 }
36427 _ACEOF
36428 rm -f conftest.$ac_objext conftest$ac_exeext
36429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36430 (eval $ac_link) 2>conftest.er1
36431 ac_status=$?
36432 grep -v '^ *+' conftest.er1 >conftest.err
36433 rm -f conftest.er1
36434 cat conftest.err >&5
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); } &&
36437 { ac_try='test -z "$ac_cxx_werror_flag"
36438 || test ! -s conftest.err'
36439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36440 (eval $ac_try) 2>&5
36441 ac_status=$?
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); }; } &&
36444 { ac_try='test -s conftest$ac_exeext'
36445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36446 (eval $ac_try) 2>&5
36447 ac_status=$?
36448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36449 (exit $ac_status); }; }; then
36450 ac_cv_lib_posix4_nanosleep=yes
36451 else
36452 echo "$as_me: failed program was:" >&5
36453 sed 's/^/| /' conftest.$ac_ext >&5
36454
36455 ac_cv_lib_posix4_nanosleep=no
36456 fi
36457 rm -f conftest.err conftest.$ac_objext \
36458 conftest$ac_exeext conftest.$ac_ext
36459 LIBS=$ac_check_lib_save_LIBS
36460 fi
36461 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36462 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36463 if test $ac_cv_lib_posix4_nanosleep = yes; then
36464
36465 cat >>confdefs.h <<\_ACEOF
36466 #define HAVE_NANOSLEEP 1
36467 _ACEOF
36468
36469 POSIX4_LINK=" -lposix4"
36470
36471 else
36472
36473
36474 for ac_func in usleep
36475 do
36476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36477 echo "$as_me:$LINENO: checking for $ac_func" >&5
36478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36479 if eval "test \"\${$as_ac_var+set}\" = set"; then
36480 echo $ECHO_N "(cached) $ECHO_C" >&6
36481 else
36482 cat >conftest.$ac_ext <<_ACEOF
36483 /* confdefs.h. */
36484 _ACEOF
36485 cat confdefs.h >>conftest.$ac_ext
36486 cat >>conftest.$ac_ext <<_ACEOF
36487 /* end confdefs.h. */
36488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36490 #define $ac_func innocuous_$ac_func
36491
36492 /* System header to define __stub macros and hopefully few prototypes,
36493 which can conflict with char $ac_func (); below.
36494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36495 <limits.h> exists even on freestanding compilers. */
36496
36497 #ifdef __STDC__
36498 # include <limits.h>
36499 #else
36500 # include <assert.h>
36501 #endif
36502
36503 #undef $ac_func
36504
36505 /* Override any gcc2 internal prototype to avoid an error. */
36506 #ifdef __cplusplus
36507 extern "C"
36508 {
36509 #endif
36510 /* We use char because int might match the return type of a gcc2
36511 builtin and then its argument prototype would still apply. */
36512 char $ac_func ();
36513 /* The GNU C library defines this for functions which it implements
36514 to always fail with ENOSYS. Some functions are actually named
36515 something starting with __ and the normal name is an alias. */
36516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36517 choke me
36518 #else
36519 char (*f) () = $ac_func;
36520 #endif
36521 #ifdef __cplusplus
36522 }
36523 #endif
36524
36525 int
36526 main ()
36527 {
36528 return f != $ac_func;
36529 ;
36530 return 0;
36531 }
36532 _ACEOF
36533 rm -f conftest.$ac_objext conftest$ac_exeext
36534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36535 (eval $ac_link) 2>conftest.er1
36536 ac_status=$?
36537 grep -v '^ *+' conftest.er1 >conftest.err
36538 rm -f conftest.er1
36539 cat conftest.err >&5
36540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36541 (exit $ac_status); } &&
36542 { ac_try='test -z "$ac_cxx_werror_flag"
36543 || test ! -s conftest.err'
36544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36545 (eval $ac_try) 2>&5
36546 ac_status=$?
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); }; } &&
36549 { ac_try='test -s conftest$ac_exeext'
36550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36551 (eval $ac_try) 2>&5
36552 ac_status=$?
36553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36554 (exit $ac_status); }; }; then
36555 eval "$as_ac_var=yes"
36556 else
36557 echo "$as_me: failed program was:" >&5
36558 sed 's/^/| /' conftest.$ac_ext >&5
36559
36560 eval "$as_ac_var=no"
36561 fi
36562 rm -f conftest.err conftest.$ac_objext \
36563 conftest$ac_exeext conftest.$ac_ext
36564 fi
36565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36567 if test `eval echo '${'$as_ac_var'}'` = yes; then
36568 cat >>confdefs.h <<_ACEOF
36569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36570 _ACEOF
36571 cat >>confdefs.h <<\_ACEOF
36572 #define HAVE_USLEEP 1
36573 _ACEOF
36574
36575 else
36576 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36577 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36578
36579 fi
36580 done
36581
36582
36583
36584 fi
36585
36586
36587
36588 fi
36589 done
36590
36591 fi
36592
36593
36594
36595 for ac_func in uname gethostname
36596 do
36597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36598 echo "$as_me:$LINENO: checking for $ac_func" >&5
36599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36600 if eval "test \"\${$as_ac_var+set}\" = set"; then
36601 echo $ECHO_N "(cached) $ECHO_C" >&6
36602 else
36603 cat >conftest.$ac_ext <<_ACEOF
36604 /* confdefs.h. */
36605 _ACEOF
36606 cat confdefs.h >>conftest.$ac_ext
36607 cat >>conftest.$ac_ext <<_ACEOF
36608 /* end confdefs.h. */
36609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36611 #define $ac_func innocuous_$ac_func
36612
36613 /* System header to define __stub macros and hopefully few prototypes,
36614 which can conflict with char $ac_func (); below.
36615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36616 <limits.h> exists even on freestanding compilers. */
36617
36618 #ifdef __STDC__
36619 # include <limits.h>
36620 #else
36621 # include <assert.h>
36622 #endif
36623
36624 #undef $ac_func
36625
36626 /* Override any gcc2 internal prototype to avoid an error. */
36627 #ifdef __cplusplus
36628 extern "C"
36629 {
36630 #endif
36631 /* We use char because int might match the return type of a gcc2
36632 builtin and then its argument prototype would still apply. */
36633 char $ac_func ();
36634 /* The GNU C library defines this for functions which it implements
36635 to always fail with ENOSYS. Some functions are actually named
36636 something starting with __ and the normal name is an alias. */
36637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36638 choke me
36639 #else
36640 char (*f) () = $ac_func;
36641 #endif
36642 #ifdef __cplusplus
36643 }
36644 #endif
36645
36646 int
36647 main ()
36648 {
36649 return f != $ac_func;
36650 ;
36651 return 0;
36652 }
36653 _ACEOF
36654 rm -f conftest.$ac_objext conftest$ac_exeext
36655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36656 (eval $ac_link) 2>conftest.er1
36657 ac_status=$?
36658 grep -v '^ *+' conftest.er1 >conftest.err
36659 rm -f conftest.er1
36660 cat conftest.err >&5
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); } &&
36663 { ac_try='test -z "$ac_cxx_werror_flag"
36664 || test ! -s conftest.err'
36665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36666 (eval $ac_try) 2>&5
36667 ac_status=$?
36668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36669 (exit $ac_status); }; } &&
36670 { ac_try='test -s conftest$ac_exeext'
36671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36672 (eval $ac_try) 2>&5
36673 ac_status=$?
36674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675 (exit $ac_status); }; }; then
36676 eval "$as_ac_var=yes"
36677 else
36678 echo "$as_me: failed program was:" >&5
36679 sed 's/^/| /' conftest.$ac_ext >&5
36680
36681 eval "$as_ac_var=no"
36682 fi
36683 rm -f conftest.err conftest.$ac_objext \
36684 conftest$ac_exeext conftest.$ac_ext
36685 fi
36686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36688 if test `eval echo '${'$as_ac_var'}'` = yes; then
36689 cat >>confdefs.h <<_ACEOF
36690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36691 _ACEOF
36692 break
36693 fi
36694 done
36695
36696
36697
36698 for ac_func in strtok_r
36699 do
36700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36701 echo "$as_me:$LINENO: checking for $ac_func" >&5
36702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36703 if eval "test \"\${$as_ac_var+set}\" = set"; then
36704 echo $ECHO_N "(cached) $ECHO_C" >&6
36705 else
36706 cat >conftest.$ac_ext <<_ACEOF
36707 /* confdefs.h. */
36708 _ACEOF
36709 cat confdefs.h >>conftest.$ac_ext
36710 cat >>conftest.$ac_ext <<_ACEOF
36711 /* end confdefs.h. */
36712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36714 #define $ac_func innocuous_$ac_func
36715
36716 /* System header to define __stub macros and hopefully few prototypes,
36717 which can conflict with char $ac_func (); below.
36718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36719 <limits.h> exists even on freestanding compilers. */
36720
36721 #ifdef __STDC__
36722 # include <limits.h>
36723 #else
36724 # include <assert.h>
36725 #endif
36726
36727 #undef $ac_func
36728
36729 /* Override any gcc2 internal prototype to avoid an error. */
36730 #ifdef __cplusplus
36731 extern "C"
36732 {
36733 #endif
36734 /* We use char because int might match the return type of a gcc2
36735 builtin and then its argument prototype would still apply. */
36736 char $ac_func ();
36737 /* The GNU C library defines this for functions which it implements
36738 to always fail with ENOSYS. Some functions are actually named
36739 something starting with __ and the normal name is an alias. */
36740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36741 choke me
36742 #else
36743 char (*f) () = $ac_func;
36744 #endif
36745 #ifdef __cplusplus
36746 }
36747 #endif
36748
36749 int
36750 main ()
36751 {
36752 return f != $ac_func;
36753 ;
36754 return 0;
36755 }
36756 _ACEOF
36757 rm -f conftest.$ac_objext conftest$ac_exeext
36758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36759 (eval $ac_link) 2>conftest.er1
36760 ac_status=$?
36761 grep -v '^ *+' conftest.er1 >conftest.err
36762 rm -f conftest.er1
36763 cat conftest.err >&5
36764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36765 (exit $ac_status); } &&
36766 { ac_try='test -z "$ac_cxx_werror_flag"
36767 || test ! -s conftest.err'
36768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36769 (eval $ac_try) 2>&5
36770 ac_status=$?
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); }; } &&
36773 { ac_try='test -s conftest$ac_exeext'
36774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36775 (eval $ac_try) 2>&5
36776 ac_status=$?
36777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36778 (exit $ac_status); }; }; then
36779 eval "$as_ac_var=yes"
36780 else
36781 echo "$as_me: failed program was:" >&5
36782 sed 's/^/| /' conftest.$ac_ext >&5
36783
36784 eval "$as_ac_var=no"
36785 fi
36786 rm -f conftest.err conftest.$ac_objext \
36787 conftest$ac_exeext conftest.$ac_ext
36788 fi
36789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36791 if test `eval echo '${'$as_ac_var'}'` = yes; then
36792 cat >>confdefs.h <<_ACEOF
36793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36794 _ACEOF
36795
36796 fi
36797 done
36798
36799
36800 INET_LINK=
36801
36802 for ac_func in inet_addr
36803 do
36804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36805 echo "$as_me:$LINENO: checking for $ac_func" >&5
36806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36807 if eval "test \"\${$as_ac_var+set}\" = set"; then
36808 echo $ECHO_N "(cached) $ECHO_C" >&6
36809 else
36810 cat >conftest.$ac_ext <<_ACEOF
36811 /* confdefs.h. */
36812 _ACEOF
36813 cat confdefs.h >>conftest.$ac_ext
36814 cat >>conftest.$ac_ext <<_ACEOF
36815 /* end confdefs.h. */
36816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36818 #define $ac_func innocuous_$ac_func
36819
36820 /* System header to define __stub macros and hopefully few prototypes,
36821 which can conflict with char $ac_func (); below.
36822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36823 <limits.h> exists even on freestanding compilers. */
36824
36825 #ifdef __STDC__
36826 # include <limits.h>
36827 #else
36828 # include <assert.h>
36829 #endif
36830
36831 #undef $ac_func
36832
36833 /* Override any gcc2 internal prototype to avoid an error. */
36834 #ifdef __cplusplus
36835 extern "C"
36836 {
36837 #endif
36838 /* We use char because int might match the return type of a gcc2
36839 builtin and then its argument prototype would still apply. */
36840 char $ac_func ();
36841 /* The GNU C library defines this for functions which it implements
36842 to always fail with ENOSYS. Some functions are actually named
36843 something starting with __ and the normal name is an alias. */
36844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36845 choke me
36846 #else
36847 char (*f) () = $ac_func;
36848 #endif
36849 #ifdef __cplusplus
36850 }
36851 #endif
36852
36853 int
36854 main ()
36855 {
36856 return f != $ac_func;
36857 ;
36858 return 0;
36859 }
36860 _ACEOF
36861 rm -f conftest.$ac_objext conftest$ac_exeext
36862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36863 (eval $ac_link) 2>conftest.er1
36864 ac_status=$?
36865 grep -v '^ *+' conftest.er1 >conftest.err
36866 rm -f conftest.er1
36867 cat conftest.err >&5
36868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36869 (exit $ac_status); } &&
36870 { ac_try='test -z "$ac_cxx_werror_flag"
36871 || test ! -s conftest.err'
36872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36873 (eval $ac_try) 2>&5
36874 ac_status=$?
36875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36876 (exit $ac_status); }; } &&
36877 { ac_try='test -s conftest$ac_exeext'
36878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36879 (eval $ac_try) 2>&5
36880 ac_status=$?
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); }; }; then
36883 eval "$as_ac_var=yes"
36884 else
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.$ac_ext >&5
36887
36888 eval "$as_ac_var=no"
36889 fi
36890 rm -f conftest.err conftest.$ac_objext \
36891 conftest$ac_exeext conftest.$ac_ext
36892 fi
36893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36895 if test `eval echo '${'$as_ac_var'}'` = yes; then
36896 cat >>confdefs.h <<_ACEOF
36897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36898 _ACEOF
36899 cat >>confdefs.h <<\_ACEOF
36900 #define HAVE_INET_ADDR 1
36901 _ACEOF
36902
36903 else
36904
36905 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36906 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36907 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36908 echo $ECHO_N "(cached) $ECHO_C" >&6
36909 else
36910 ac_check_lib_save_LIBS=$LIBS
36911 LIBS="-lnsl $LIBS"
36912 cat >conftest.$ac_ext <<_ACEOF
36913 /* confdefs.h. */
36914 _ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h. */
36918
36919 /* Override any gcc2 internal prototype to avoid an error. */
36920 #ifdef __cplusplus
36921 extern "C"
36922 #endif
36923 /* We use char because int might match the return type of a gcc2
36924 builtin and then its argument prototype would still apply. */
36925 char inet_addr ();
36926 int
36927 main ()
36928 {
36929 inet_addr ();
36930 ;
36931 return 0;
36932 }
36933 _ACEOF
36934 rm -f conftest.$ac_objext conftest$ac_exeext
36935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36936 (eval $ac_link) 2>conftest.er1
36937 ac_status=$?
36938 grep -v '^ *+' conftest.er1 >conftest.err
36939 rm -f conftest.er1
36940 cat conftest.err >&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); } &&
36943 { ac_try='test -z "$ac_cxx_werror_flag"
36944 || test ! -s conftest.err'
36945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36946 (eval $ac_try) 2>&5
36947 ac_status=$?
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); }; } &&
36950 { ac_try='test -s conftest$ac_exeext'
36951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952 (eval $ac_try) 2>&5
36953 ac_status=$?
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); }; }; then
36956 ac_cv_lib_nsl_inet_addr=yes
36957 else
36958 echo "$as_me: failed program was:" >&5
36959 sed 's/^/| /' conftest.$ac_ext >&5
36960
36961 ac_cv_lib_nsl_inet_addr=no
36962 fi
36963 rm -f conftest.err conftest.$ac_objext \
36964 conftest$ac_exeext conftest.$ac_ext
36965 LIBS=$ac_check_lib_save_LIBS
36966 fi
36967 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36968 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36969 if test $ac_cv_lib_nsl_inet_addr = yes; then
36970 INET_LINK="nsl"
36971 else
36972
36973 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36974 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36975 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36976 echo $ECHO_N "(cached) $ECHO_C" >&6
36977 else
36978 ac_check_lib_save_LIBS=$LIBS
36979 LIBS="-lresolv $LIBS"
36980 cat >conftest.$ac_ext <<_ACEOF
36981 /* confdefs.h. */
36982 _ACEOF
36983 cat confdefs.h >>conftest.$ac_ext
36984 cat >>conftest.$ac_ext <<_ACEOF
36985 /* end confdefs.h. */
36986
36987 /* Override any gcc2 internal prototype to avoid an error. */
36988 #ifdef __cplusplus
36989 extern "C"
36990 #endif
36991 /* We use char because int might match the return type of a gcc2
36992 builtin and then its argument prototype would still apply. */
36993 char inet_addr ();
36994 int
36995 main ()
36996 {
36997 inet_addr ();
36998 ;
36999 return 0;
37000 }
37001 _ACEOF
37002 rm -f conftest.$ac_objext conftest$ac_exeext
37003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37004 (eval $ac_link) 2>conftest.er1
37005 ac_status=$?
37006 grep -v '^ *+' conftest.er1 >conftest.err
37007 rm -f conftest.er1
37008 cat conftest.err >&5
37009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010 (exit $ac_status); } &&
37011 { ac_try='test -z "$ac_cxx_werror_flag"
37012 || test ! -s conftest.err'
37013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37014 (eval $ac_try) 2>&5
37015 ac_status=$?
37016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37017 (exit $ac_status); }; } &&
37018 { ac_try='test -s conftest$ac_exeext'
37019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37020 (eval $ac_try) 2>&5
37021 ac_status=$?
37022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37023 (exit $ac_status); }; }; then
37024 ac_cv_lib_resolv_inet_addr=yes
37025 else
37026 echo "$as_me: failed program was:" >&5
37027 sed 's/^/| /' conftest.$ac_ext >&5
37028
37029 ac_cv_lib_resolv_inet_addr=no
37030 fi
37031 rm -f conftest.err conftest.$ac_objext \
37032 conftest$ac_exeext conftest.$ac_ext
37033 LIBS=$ac_check_lib_save_LIBS
37034 fi
37035 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37036 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37037 if test $ac_cv_lib_resolv_inet_addr = yes; then
37038 INET_LINK="resolv"
37039 else
37040
37041 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37042 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37043 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37044 echo $ECHO_N "(cached) $ECHO_C" >&6
37045 else
37046 ac_check_lib_save_LIBS=$LIBS
37047 LIBS="-lsocket $LIBS"
37048 cat >conftest.$ac_ext <<_ACEOF
37049 /* confdefs.h. */
37050 _ACEOF
37051 cat confdefs.h >>conftest.$ac_ext
37052 cat >>conftest.$ac_ext <<_ACEOF
37053 /* end confdefs.h. */
37054
37055 /* Override any gcc2 internal prototype to avoid an error. */
37056 #ifdef __cplusplus
37057 extern "C"
37058 #endif
37059 /* We use char because int might match the return type of a gcc2
37060 builtin and then its argument prototype would still apply. */
37061 char inet_addr ();
37062 int
37063 main ()
37064 {
37065 inet_addr ();
37066 ;
37067 return 0;
37068 }
37069 _ACEOF
37070 rm -f conftest.$ac_objext conftest$ac_exeext
37071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37072 (eval $ac_link) 2>conftest.er1
37073 ac_status=$?
37074 grep -v '^ *+' conftest.er1 >conftest.err
37075 rm -f conftest.er1
37076 cat conftest.err >&5
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); } &&
37079 { ac_try='test -z "$ac_cxx_werror_flag"
37080 || test ! -s conftest.err'
37081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37082 (eval $ac_try) 2>&5
37083 ac_status=$?
37084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37085 (exit $ac_status); }; } &&
37086 { ac_try='test -s conftest$ac_exeext'
37087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37088 (eval $ac_try) 2>&5
37089 ac_status=$?
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); }; }; then
37092 ac_cv_lib_socket_inet_addr=yes
37093 else
37094 echo "$as_me: failed program was:" >&5
37095 sed 's/^/| /' conftest.$ac_ext >&5
37096
37097 ac_cv_lib_socket_inet_addr=no
37098 fi
37099 rm -f conftest.err conftest.$ac_objext \
37100 conftest$ac_exeext conftest.$ac_ext
37101 LIBS=$ac_check_lib_save_LIBS
37102 fi
37103 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37104 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37105 if test $ac_cv_lib_socket_inet_addr = yes; then
37106 INET_LINK="socket"
37107
37108 fi
37109
37110
37111
37112 fi
37113
37114
37115
37116 fi
37117
37118
37119
37120 fi
37121 done
37122
37123
37124
37125 for ac_func in inet_aton
37126 do
37127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37128 echo "$as_me:$LINENO: checking for $ac_func" >&5
37129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37130 if eval "test \"\${$as_ac_var+set}\" = set"; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 else
37133 cat >conftest.$ac_ext <<_ACEOF
37134 /* confdefs.h. */
37135 _ACEOF
37136 cat confdefs.h >>conftest.$ac_ext
37137 cat >>conftest.$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37141 #define $ac_func innocuous_$ac_func
37142
37143 /* System header to define __stub macros and hopefully few prototypes,
37144 which can conflict with char $ac_func (); below.
37145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37146 <limits.h> exists even on freestanding compilers. */
37147
37148 #ifdef __STDC__
37149 # include <limits.h>
37150 #else
37151 # include <assert.h>
37152 #endif
37153
37154 #undef $ac_func
37155
37156 /* Override any gcc2 internal prototype to avoid an error. */
37157 #ifdef __cplusplus
37158 extern "C"
37159 {
37160 #endif
37161 /* We use char because int might match the return type of a gcc2
37162 builtin and then its argument prototype would still apply. */
37163 char $ac_func ();
37164 /* The GNU C library defines this for functions which it implements
37165 to always fail with ENOSYS. Some functions are actually named
37166 something starting with __ and the normal name is an alias. */
37167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37168 choke me
37169 #else
37170 char (*f) () = $ac_func;
37171 #endif
37172 #ifdef __cplusplus
37173 }
37174 #endif
37175
37176 int
37177 main ()
37178 {
37179 return f != $ac_func;
37180 ;
37181 return 0;
37182 }
37183 _ACEOF
37184 rm -f conftest.$ac_objext conftest$ac_exeext
37185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37186 (eval $ac_link) 2>conftest.er1
37187 ac_status=$?
37188 grep -v '^ *+' conftest.er1 >conftest.err
37189 rm -f conftest.er1
37190 cat conftest.err >&5
37191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37192 (exit $ac_status); } &&
37193 { ac_try='test -z "$ac_cxx_werror_flag"
37194 || test ! -s conftest.err'
37195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37196 (eval $ac_try) 2>&5
37197 ac_status=$?
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); }; } &&
37200 { ac_try='test -s conftest$ac_exeext'
37201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37202 (eval $ac_try) 2>&5
37203 ac_status=$?
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); }; }; then
37206 eval "$as_ac_var=yes"
37207 else
37208 echo "$as_me: failed program was:" >&5
37209 sed 's/^/| /' conftest.$ac_ext >&5
37210
37211 eval "$as_ac_var=no"
37212 fi
37213 rm -f conftest.err conftest.$ac_objext \
37214 conftest$ac_exeext conftest.$ac_ext
37215 fi
37216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37218 if test `eval echo '${'$as_ac_var'}'` = yes; then
37219 cat >>confdefs.h <<_ACEOF
37220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37221 _ACEOF
37222 cat >>confdefs.h <<\_ACEOF
37223 #define HAVE_INET_ATON 1
37224 _ACEOF
37225
37226 else
37227
37228 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37229 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37230 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37231 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37232 echo $ECHO_N "(cached) $ECHO_C" >&6
37233 else
37234 ac_check_lib_save_LIBS=$LIBS
37235 LIBS="-l$INET_LINK $LIBS"
37236 cat >conftest.$ac_ext <<_ACEOF
37237 /* confdefs.h. */
37238 _ACEOF
37239 cat confdefs.h >>conftest.$ac_ext
37240 cat >>conftest.$ac_ext <<_ACEOF
37241 /* end confdefs.h. */
37242
37243 /* Override any gcc2 internal prototype to avoid an error. */
37244 #ifdef __cplusplus
37245 extern "C"
37246 #endif
37247 /* We use char because int might match the return type of a gcc2
37248 builtin and then its argument prototype would still apply. */
37249 char inet_aton ();
37250 int
37251 main ()
37252 {
37253 inet_aton ();
37254 ;
37255 return 0;
37256 }
37257 _ACEOF
37258 rm -f conftest.$ac_objext conftest$ac_exeext
37259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37260 (eval $ac_link) 2>conftest.er1
37261 ac_status=$?
37262 grep -v '^ *+' conftest.er1 >conftest.err
37263 rm -f conftest.er1
37264 cat conftest.err >&5
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); } &&
37267 { ac_try='test -z "$ac_cxx_werror_flag"
37268 || test ! -s conftest.err'
37269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37270 (eval $ac_try) 2>&5
37271 ac_status=$?
37272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37273 (exit $ac_status); }; } &&
37274 { ac_try='test -s conftest$ac_exeext'
37275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37276 (eval $ac_try) 2>&5
37277 ac_status=$?
37278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37279 (exit $ac_status); }; }; then
37280 eval "$as_ac_Lib=yes"
37281 else
37282 echo "$as_me: failed program was:" >&5
37283 sed 's/^/| /' conftest.$ac_ext >&5
37284
37285 eval "$as_ac_Lib=no"
37286 fi
37287 rm -f conftest.err conftest.$ac_objext \
37288 conftest$ac_exeext conftest.$ac_ext
37289 LIBS=$ac_check_lib_save_LIBS
37290 fi
37291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37292 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37293 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37294 cat >>confdefs.h <<\_ACEOF
37295 #define HAVE_INET_ATON 1
37296 _ACEOF
37297
37298 fi
37299
37300
37301 fi
37302 done
37303
37304
37305 if test "x$INET_LINK" != "x"; then
37306 cat >>confdefs.h <<\_ACEOF
37307 #define HAVE_INET_ADDR 1
37308 _ACEOF
37309
37310 INET_LINK=" -l$INET_LINK"
37311 fi
37312
37313 fi
37314
37315
37316
37317 EXTRALIBS_ESD=
37318 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37319 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37320 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37321 echo $ECHO_N "(cached) $ECHO_C" >&6
37322 else
37323 ac_check_lib_save_LIBS=$LIBS
37324 LIBS="-lesd $LIBS"
37325 cat >conftest.$ac_ext <<_ACEOF
37326 /* confdefs.h. */
37327 _ACEOF
37328 cat confdefs.h >>conftest.$ac_ext
37329 cat >>conftest.$ac_ext <<_ACEOF
37330 /* end confdefs.h. */
37331
37332 /* Override any gcc2 internal prototype to avoid an error. */
37333 #ifdef __cplusplus
37334 extern "C"
37335 #endif
37336 /* We use char because int might match the return type of a gcc2
37337 builtin and then its argument prototype would still apply. */
37338 char esd_close ();
37339 int
37340 main ()
37341 {
37342 esd_close ();
37343 ;
37344 return 0;
37345 }
37346 _ACEOF
37347 rm -f conftest.$ac_objext conftest$ac_exeext
37348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37349 (eval $ac_link) 2>conftest.er1
37350 ac_status=$?
37351 grep -v '^ *+' conftest.er1 >conftest.err
37352 rm -f conftest.er1
37353 cat conftest.err >&5
37354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37355 (exit $ac_status); } &&
37356 { ac_try='test -z "$ac_cxx_werror_flag"
37357 || test ! -s conftest.err'
37358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37359 (eval $ac_try) 2>&5
37360 ac_status=$?
37361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37362 (exit $ac_status); }; } &&
37363 { ac_try='test -s conftest$ac_exeext'
37364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37365 (eval $ac_try) 2>&5
37366 ac_status=$?
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); }; }; then
37369 ac_cv_lib_esd_esd_close=yes
37370 else
37371 echo "$as_me: failed program was:" >&5
37372 sed 's/^/| /' conftest.$ac_ext >&5
37373
37374 ac_cv_lib_esd_esd_close=no
37375 fi
37376 rm -f conftest.err conftest.$ac_objext \
37377 conftest$ac_exeext conftest.$ac_ext
37378 LIBS=$ac_check_lib_save_LIBS
37379 fi
37380 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37381 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37382 if test $ac_cv_lib_esd_esd_close = yes; then
37383
37384
37385 for ac_header in esd.h
37386 do
37387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37389 echo "$as_me:$LINENO: checking for $ac_header" >&5
37390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37392 echo $ECHO_N "(cached) $ECHO_C" >&6
37393 fi
37394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37396 else
37397 # Is the header compilable?
37398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37400 cat >conftest.$ac_ext <<_ACEOF
37401 /* confdefs.h. */
37402 _ACEOF
37403 cat confdefs.h >>conftest.$ac_ext
37404 cat >>conftest.$ac_ext <<_ACEOF
37405 /* end confdefs.h. */
37406 $ac_includes_default
37407 #include <$ac_header>
37408 _ACEOF
37409 rm -f conftest.$ac_objext
37410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37411 (eval $ac_compile) 2>conftest.er1
37412 ac_status=$?
37413 grep -v '^ *+' conftest.er1 >conftest.err
37414 rm -f conftest.er1
37415 cat conftest.err >&5
37416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37417 (exit $ac_status); } &&
37418 { ac_try='test -z "$ac_cxx_werror_flag"
37419 || test ! -s conftest.err'
37420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37421 (eval $ac_try) 2>&5
37422 ac_status=$?
37423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); }; } &&
37425 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
37431 ac_header_compiler=yes
37432 else
37433 echo "$as_me: failed program was:" >&5
37434 sed 's/^/| /' conftest.$ac_ext >&5
37435
37436 ac_header_compiler=no
37437 fi
37438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37440 echo "${ECHO_T}$ac_header_compiler" >&6
37441
37442 # Is the header present?
37443 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37445 cat >conftest.$ac_ext <<_ACEOF
37446 /* confdefs.h. */
37447 _ACEOF
37448 cat confdefs.h >>conftest.$ac_ext
37449 cat >>conftest.$ac_ext <<_ACEOF
37450 /* end confdefs.h. */
37451 #include <$ac_header>
37452 _ACEOF
37453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37455 ac_status=$?
37456 grep -v '^ *+' conftest.er1 >conftest.err
37457 rm -f conftest.er1
37458 cat conftest.err >&5
37459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460 (exit $ac_status); } >/dev/null; then
37461 if test -s conftest.err; then
37462 ac_cpp_err=$ac_cxx_preproc_warn_flag
37463 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
37464 else
37465 ac_cpp_err=
37466 fi
37467 else
37468 ac_cpp_err=yes
37469 fi
37470 if test -z "$ac_cpp_err"; then
37471 ac_header_preproc=yes
37472 else
37473 echo "$as_me: failed program was:" >&5
37474 sed 's/^/| /' conftest.$ac_ext >&5
37475
37476 ac_header_preproc=no
37477 fi
37478 rm -f conftest.err conftest.$ac_ext
37479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37480 echo "${ECHO_T}$ac_header_preproc" >&6
37481
37482 # So? What about this header?
37483 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37484 yes:no: )
37485 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37486 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37488 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37489 ac_header_preproc=yes
37490 ;;
37491 no:yes:* )
37492 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37493 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37494 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37495 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37496 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37497 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37498 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37499 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37502 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37503 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37504 (
37505 cat <<\_ASBOX
37506 ## ----------------------------------------- ##
37507 ## Report this to wx-dev@lists.wxwidgets.org ##
37508 ## ----------------------------------------- ##
37509 _ASBOX
37510 ) |
37511 sed "s/^/$as_me: WARNING: /" >&2
37512 ;;
37513 esac
37514 echo "$as_me:$LINENO: checking for $ac_header" >&5
37515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37517 echo $ECHO_N "(cached) $ECHO_C" >&6
37518 else
37519 eval "$as_ac_Header=\$ac_header_preproc"
37520 fi
37521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37523
37524 fi
37525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37526 cat >>confdefs.h <<_ACEOF
37527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37528 _ACEOF
37529
37530 EXTRALIBS_ESD="-lesd"
37531
37532 fi
37533
37534 done
37535
37536
37537 fi
37538
37539
37540
37541 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37542 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37543 cat >conftest.$ac_ext <<_ACEOF
37544 /* confdefs.h. */
37545 _ACEOF
37546 cat confdefs.h >>conftest.$ac_ext
37547 cat >>conftest.$ac_ext <<_ACEOF
37548 /* end confdefs.h. */
37549 #ifdef __linux__
37550 #include <linux/cdrom.h>
37551 #else
37552 /* For Solaris */
37553 #include <sys/cdio.h>
37554 #endif
37555
37556 int
37557 main ()
37558 {
37559 struct cdrom_tocentry entry, old_entry;
37560 ;
37561 return 0;
37562 }
37563 _ACEOF
37564 rm -f conftest.$ac_objext
37565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37566 (eval $ac_compile) 2>conftest.er1
37567 ac_status=$?
37568 grep -v '^ *+' conftest.er1 >conftest.err
37569 rm -f conftest.er1
37570 cat conftest.err >&5
37571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37572 (exit $ac_status); } &&
37573 { ac_try='test -z "$ac_cxx_werror_flag"
37574 || test ! -s conftest.err'
37575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37576 (eval $ac_try) 2>&5
37577 ac_status=$?
37578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37579 (exit $ac_status); }; } &&
37580 { ac_try='test -s conftest.$ac_objext'
37581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37582 (eval $ac_try) 2>&5
37583 ac_status=$?
37584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37585 (exit $ac_status); }; }; then
37586 echo "$as_me:$LINENO: result: yes" >&5
37587 echo "${ECHO_T}yes" >&6
37588 cat >>confdefs.h <<\_ACEOF
37589 #define HAVE_KNOWN_CDROM_INTERFACE 1
37590 _ACEOF
37591
37592 else
37593 echo "$as_me: failed program was:" >&5
37594 sed 's/^/| /' conftest.$ac_ext >&5
37595
37596 echo "$as_me:$LINENO: result: no" >&5
37597 echo "${ECHO_T}no" >&6
37598 fi
37599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37600
37601
37602 cat >confcache <<\_ACEOF
37603 # This file is a shell script that caches the results of configure
37604 # tests run on this system so they can be shared between configure
37605 # scripts and configure runs, see configure's option --config-cache.
37606 # It is not useful on other systems. If it contains results you don't
37607 # want to keep, you may remove or edit it.
37608 #
37609 # config.status only pays attention to the cache file if you give it
37610 # the --recheck option to rerun configure.
37611 #
37612 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37613 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37614 # following values.
37615
37616 _ACEOF
37617
37618 # The following way of writing the cache mishandles newlines in values,
37619 # but we know of no workaround that is simple, portable, and efficient.
37620 # So, don't put newlines in cache variables' values.
37621 # Ultrix sh set writes to stderr and can't be redirected directly,
37622 # and sets the high bit in the cache file unless we assign to the vars.
37623 {
37624 (set) 2>&1 |
37625 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37626 *ac_space=\ *)
37627 # `set' does not quote correctly, so add quotes (double-quote
37628 # substitution turns \\\\ into \\, and sed turns \\ into \).
37629 sed -n \
37630 "s/'/'\\\\''/g;
37631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37632 ;;
37633 *)
37634 # `set' quotes correctly as required by POSIX, so do not add quotes.
37635 sed -n \
37636 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37637 ;;
37638 esac;
37639 } |
37640 sed '
37641 t clear
37642 : clear
37643 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37644 t end
37645 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37646 : end' >>confcache
37647 if diff $cache_file confcache >/dev/null 2>&1; then :; else
37648 if test -w $cache_file; then
37649 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37650 cat confcache >$cache_file
37651 else
37652 echo "not updating unwritable cache $cache_file"
37653 fi
37654 fi
37655 rm -f confcache
37656
37657
37658 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37659
37660
37661 THREADS_LINK=
37662 THREADS_CXXFLAGS=
37663
37664 if test "$wxUSE_THREADS" = "yes" ; then
37665 if test "$USE_BEOS" = 1; then
37666 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37667 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37668 wxUSE_THREADS="no"
37669 fi
37670 fi
37671
37672 if test "$wxUSE_THREADS" = "yes" ; then
37673
37674
37675 THREAD_OPTS="-pthread"
37676 case "${host}" in
37677 *-*-solaris2* | *-*-sunos4* )
37678 if test "x$GCC" = "xyes"; then
37679 THREAD_OPTS="-pthreads $THREAD_OPTS"
37680 else
37681 THREAD_OPTS="-mt $THREAD_OPTS"
37682 fi
37683 ;;
37684 *-*-freebsd*)
37685 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37686 ;;
37687 *-*-darwin* | *-*-cygwin* )
37688 THREAD_OPTS=""
37689 ;;
37690 *-*-aix*)
37691 THREAD_OPTS="pthreads"
37692 ;;
37693 *-hp-hpux* )
37694 if test "x$GCC" = "xyes"; then
37695 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37696 THREAD_OPTS=""
37697 else
37698 THREAD_OPTS="-mt"
37699 fi
37700 ;;
37701
37702 *-*-irix* )
37703 if test "x$GCC" = "xyes"; then
37704 THREAD_OPTS=""
37705 fi
37706 ;;
37707
37708 *-*-*UnixWare*)
37709 if test "x$GCC" != "xyes"; then
37710 THREAD_OPTS="-Ethread"
37711 fi
37712 ;;
37713 esac
37714
37715 THREAD_OPTS="$THREAD_OPTS pthread none"
37716
37717 THREADS_OK=no
37718 for flag in $THREAD_OPTS; do
37719 case $flag in
37720 none)
37721 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37722 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37723 ;;
37724
37725 -*)
37726 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37727 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37728 THREADS_CXXFLAGS="$flag"
37729 ;;
37730
37731 *)
37732 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37733 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37734 THREADS_LINK="-l$flag"
37735 ;;
37736 esac
37737
37738 save_LIBS="$LIBS"
37739 save_CXXFLAGS="$CXXFLAGS"
37740 LIBS="$THREADS_LINK $LIBS"
37741 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
37742
37743 cat >conftest.$ac_ext <<_ACEOF
37744 /* confdefs.h. */
37745 _ACEOF
37746 cat confdefs.h >>conftest.$ac_ext
37747 cat >>conftest.$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37749 #include <pthread.h>
37750 int
37751 main ()
37752 {
37753 pthread_create(0,0,0,0);
37754 ;
37755 return 0;
37756 }
37757 _ACEOF
37758 rm -f conftest.$ac_objext conftest$ac_exeext
37759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37760 (eval $ac_link) 2>conftest.er1
37761 ac_status=$?
37762 grep -v '^ *+' conftest.er1 >conftest.err
37763 rm -f conftest.er1
37764 cat conftest.err >&5
37765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37766 (exit $ac_status); } &&
37767 { ac_try='test -z "$ac_cxx_werror_flag"
37768 || test ! -s conftest.err'
37769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37770 (eval $ac_try) 2>&5
37771 ac_status=$?
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); }; } &&
37774 { ac_try='test -s conftest$ac_exeext'
37775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37776 (eval $ac_try) 2>&5
37777 ac_status=$?
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); }; }; then
37780 THREADS_OK=yes
37781 else
37782 echo "$as_me: failed program was:" >&5
37783 sed 's/^/| /' conftest.$ac_ext >&5
37784
37785 fi
37786 rm -f conftest.err conftest.$ac_objext \
37787 conftest$ac_exeext conftest.$ac_ext
37788
37789 LIBS="$save_LIBS"
37790 CXXFLAGS="$save_CXXFLAGS"
37791
37792 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37793 echo "${ECHO_T}$THREADS_OK" >&6
37794 if test "x$THREADS_OK" = "xyes"; then
37795 break;
37796 fi
37797
37798 THREADS_LINK=""
37799 THREADS_CXXFLAGS=""
37800 done
37801
37802 if test "x$THREADS_OK" != "xyes"; then
37803 wxUSE_THREADS=no
37804 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37805 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37806 else
37807 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
37808 LIBS="$THREADS_LINK $LIBS"
37809
37810 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37811 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37812 flag=no
37813 case "${host}" in
37814 *-aix*)
37815 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37816 flag="-D_THREAD_SAFE"
37817 ;;
37818 *-freebsd*)
37819 flag="-D_THREAD_SAFE"
37820 ;;
37821 *-hp-hpux* )
37822 flag="-D_REENTRANT"
37823 if test "x$GCC" != "xyes"; then
37824 flag="$flag -D_RWSTD_MULTI_THREAD"
37825 fi
37826 ;;
37827 *solaris* | alpha*-osf*)
37828 flag="-D_REENTRANT"
37829 ;;
37830 esac
37831 echo "$as_me:$LINENO: result: ${flag}" >&5
37832 echo "${ECHO_T}${flag}" >&6
37833 if test "x$flag" != xno; then
37834 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
37835 fi
37836
37837 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37838 fi
37839 fi
37840
37841 if test "$wxUSE_THREADS" = "yes" ; then
37842
37843 for ac_func in thr_setconcurrency
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
37941 fi
37942 done
37943
37944
37945 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37946 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37947 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37948 echo $ECHO_N "(cached) $ECHO_C" >&6
37949 else
37950
37951 cat >conftest.$ac_ext <<_ACEOF
37952 /* confdefs.h. */
37953 _ACEOF
37954 cat confdefs.h >>conftest.$ac_ext
37955 cat >>conftest.$ac_ext <<_ACEOF
37956 /* end confdefs.h. */
37957 #include <pthread.h>
37958 void ThreadCleanupFunc(void *p);
37959
37960 int
37961 main ()
37962 {
37963
37964 void *p;
37965 pthread_cleanup_push(ThreadCleanupFunc, p);
37966 pthread_cleanup_pop(0);
37967
37968 ;
37969 return 0;
37970 }
37971 _ACEOF
37972 rm -f conftest.$ac_objext
37973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37974 (eval $ac_compile) 2>conftest.er1
37975 ac_status=$?
37976 grep -v '^ *+' conftest.er1 >conftest.err
37977 rm -f conftest.er1
37978 cat conftest.err >&5
37979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980 (exit $ac_status); } &&
37981 { ac_try='test -z "$ac_cxx_werror_flag"
37982 || test ! -s conftest.err'
37983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37984 (eval $ac_try) 2>&5
37985 ac_status=$?
37986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37987 (exit $ac_status); }; } &&
37988 { ac_try='test -s conftest.$ac_objext'
37989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37990 (eval $ac_try) 2>&5
37991 ac_status=$?
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); }; }; then
37994
37995 wx_cv_func_pthread_cleanup=yes
37996
37997 else
37998 echo "$as_me: failed program was:" >&5
37999 sed 's/^/| /' conftest.$ac_ext >&5
38000
38001
38002 wx_cv_func_pthread_cleanup=no
38003
38004
38005 fi
38006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38007
38008 fi
38009 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38010 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38011 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38012 cat >>confdefs.h <<\_ACEOF
38013 #define wxHAVE_PTHREAD_CLEANUP 1
38014 _ACEOF
38015
38016 fi
38017
38018
38019 for ac_header in sched.h
38020 do
38021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38023 echo "$as_me:$LINENO: checking for $ac_header" >&5
38024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38026 echo $ECHO_N "(cached) $ECHO_C" >&6
38027 fi
38028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38030 else
38031 # Is the header compilable?
38032 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38033 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38034 cat >conftest.$ac_ext <<_ACEOF
38035 /* confdefs.h. */
38036 _ACEOF
38037 cat confdefs.h >>conftest.$ac_ext
38038 cat >>conftest.$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040 $ac_includes_default
38041 #include <$ac_header>
38042 _ACEOF
38043 rm -f conftest.$ac_objext
38044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38045 (eval $ac_compile) 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_objext'
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_header_compiler=yes
38066 else
38067 echo "$as_me: failed program was:" >&5
38068 sed 's/^/| /' conftest.$ac_ext >&5
38069
38070 ac_header_compiler=no
38071 fi
38072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38074 echo "${ECHO_T}$ac_header_compiler" >&6
38075
38076 # Is the header present?
38077 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38078 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38079 cat >conftest.$ac_ext <<_ACEOF
38080 /* confdefs.h. */
38081 _ACEOF
38082 cat confdefs.h >>conftest.$ac_ext
38083 cat >>conftest.$ac_ext <<_ACEOF
38084 /* end confdefs.h. */
38085 #include <$ac_header>
38086 _ACEOF
38087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38089 ac_status=$?
38090 grep -v '^ *+' conftest.er1 >conftest.err
38091 rm -f conftest.er1
38092 cat conftest.err >&5
38093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38094 (exit $ac_status); } >/dev/null; then
38095 if test -s conftest.err; then
38096 ac_cpp_err=$ac_cxx_preproc_warn_flag
38097 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38098 else
38099 ac_cpp_err=
38100 fi
38101 else
38102 ac_cpp_err=yes
38103 fi
38104 if test -z "$ac_cpp_err"; then
38105 ac_header_preproc=yes
38106 else
38107 echo "$as_me: failed program was:" >&5
38108 sed 's/^/| /' conftest.$ac_ext >&5
38109
38110 ac_header_preproc=no
38111 fi
38112 rm -f conftest.err conftest.$ac_ext
38113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38114 echo "${ECHO_T}$ac_header_preproc" >&6
38115
38116 # So? What about this header?
38117 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38118 yes:no: )
38119 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38120 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38122 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38123 ac_header_preproc=yes
38124 ;;
38125 no:yes:* )
38126 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38127 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38128 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38129 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38130 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38131 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38132 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38133 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38134 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38136 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38137 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38138 (
38139 cat <<\_ASBOX
38140 ## ----------------------------------------- ##
38141 ## Report this to wx-dev@lists.wxwidgets.org ##
38142 ## ----------------------------------------- ##
38143 _ASBOX
38144 ) |
38145 sed "s/^/$as_me: WARNING: /" >&2
38146 ;;
38147 esac
38148 echo "$as_me:$LINENO: checking for $ac_header" >&5
38149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38151 echo $ECHO_N "(cached) $ECHO_C" >&6
38152 else
38153 eval "$as_ac_Header=\$ac_header_preproc"
38154 fi
38155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38157
38158 fi
38159 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38160 cat >>confdefs.h <<_ACEOF
38161 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38162 _ACEOF
38163
38164 fi
38165
38166 done
38167
38168 if test "$ac_cv_header_sched_h" = "yes"; then
38169 echo "$as_me:$LINENO: checking for sched_yield" >&5
38170 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
38171 if test "${ac_cv_func_sched_yield+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 sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38182 #define sched_yield innocuous_sched_yield
38183
38184 /* System header to define __stub macros and hopefully few prototypes,
38185 which can conflict with char sched_yield (); 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 sched_yield
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 sched_yield ();
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_sched_yield) || defined (__stub___sched_yield)
38209 choke me
38210 #else
38211 char (*f) () = sched_yield;
38212 #endif
38213 #ifdef __cplusplus
38214 }
38215 #endif
38216
38217 int
38218 main ()
38219 {
38220 return f != sched_yield;
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 ac_cv_func_sched_yield=yes
38248 else
38249 echo "$as_me: failed program was:" >&5
38250 sed 's/^/| /' conftest.$ac_ext >&5
38251
38252 ac_cv_func_sched_yield=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: $ac_cv_func_sched_yield" >&5
38258 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38259 if test $ac_cv_func_sched_yield = yes; then
38260 cat >>confdefs.h <<\_ACEOF
38261 #define HAVE_SCHED_YIELD 1
38262 _ACEOF
38263
38264 else
38265
38266 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38267 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38268 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38269 echo $ECHO_N "(cached) $ECHO_C" >&6
38270 else
38271 ac_check_lib_save_LIBS=$LIBS
38272 LIBS="-lposix4 $LIBS"
38273 cat >conftest.$ac_ext <<_ACEOF
38274 /* confdefs.h. */
38275 _ACEOF
38276 cat confdefs.h >>conftest.$ac_ext
38277 cat >>conftest.$ac_ext <<_ACEOF
38278 /* end confdefs.h. */
38279
38280 /* Override any gcc2 internal prototype to avoid an error. */
38281 #ifdef __cplusplus
38282 extern "C"
38283 #endif
38284 /* We use char because int might match the return type of a gcc2
38285 builtin and then its argument prototype would still apply. */
38286 char sched_yield ();
38287 int
38288 main ()
38289 {
38290 sched_yield ();
38291 ;
38292 return 0;
38293 }
38294 _ACEOF
38295 rm -f conftest.$ac_objext conftest$ac_exeext
38296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38297 (eval $ac_link) 2>conftest.er1
38298 ac_status=$?
38299 grep -v '^ *+' conftest.er1 >conftest.err
38300 rm -f conftest.er1
38301 cat conftest.err >&5
38302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38303 (exit $ac_status); } &&
38304 { ac_try='test -z "$ac_cxx_werror_flag"
38305 || test ! -s conftest.err'
38306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38307 (eval $ac_try) 2>&5
38308 ac_status=$?
38309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38310 (exit $ac_status); }; } &&
38311 { ac_try='test -s conftest$ac_exeext'
38312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38313 (eval $ac_try) 2>&5
38314 ac_status=$?
38315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38316 (exit $ac_status); }; }; then
38317 ac_cv_lib_posix4_sched_yield=yes
38318 else
38319 echo "$as_me: failed program was:" >&5
38320 sed 's/^/| /' conftest.$ac_ext >&5
38321
38322 ac_cv_lib_posix4_sched_yield=no
38323 fi
38324 rm -f conftest.err conftest.$ac_objext \
38325 conftest$ac_exeext conftest.$ac_ext
38326 LIBS=$ac_check_lib_save_LIBS
38327 fi
38328 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38329 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38330 if test $ac_cv_lib_posix4_sched_yield = yes; then
38331 cat >>confdefs.h <<\_ACEOF
38332 #define HAVE_SCHED_YIELD 1
38333 _ACEOF
38334 POSIX4_LINK=" -lposix4"
38335 else
38336 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38337 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38338
38339 fi
38340
38341
38342
38343 fi
38344
38345 fi
38346
38347 HAVE_PRIOR_FUNCS=0
38348 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38349 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38350 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38351 echo $ECHO_N "(cached) $ECHO_C" >&6
38352 else
38353 cat >conftest.$ac_ext <<_ACEOF
38354 /* confdefs.h. */
38355 _ACEOF
38356 cat confdefs.h >>conftest.$ac_ext
38357 cat >>conftest.$ac_ext <<_ACEOF
38358 /* end confdefs.h. */
38359 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38361 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38362
38363 /* System header to define __stub macros and hopefully few prototypes,
38364 which can conflict with char pthread_attr_getschedpolicy (); below.
38365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38366 <limits.h> exists even on freestanding compilers. */
38367
38368 #ifdef __STDC__
38369 # include <limits.h>
38370 #else
38371 # include <assert.h>
38372 #endif
38373
38374 #undef pthread_attr_getschedpolicy
38375
38376 /* Override any gcc2 internal prototype to avoid an error. */
38377 #ifdef __cplusplus
38378 extern "C"
38379 {
38380 #endif
38381 /* We use char because int might match the return type of a gcc2
38382 builtin and then its argument prototype would still apply. */
38383 char pthread_attr_getschedpolicy ();
38384 /* The GNU C library defines this for functions which it implements
38385 to always fail with ENOSYS. Some functions are actually named
38386 something starting with __ and the normal name is an alias. */
38387 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38388 choke me
38389 #else
38390 char (*f) () = pthread_attr_getschedpolicy;
38391 #endif
38392 #ifdef __cplusplus
38393 }
38394 #endif
38395
38396 int
38397 main ()
38398 {
38399 return f != pthread_attr_getschedpolicy;
38400 ;
38401 return 0;
38402 }
38403 _ACEOF
38404 rm -f conftest.$ac_objext conftest$ac_exeext
38405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38406 (eval $ac_link) 2>conftest.er1
38407 ac_status=$?
38408 grep -v '^ *+' conftest.er1 >conftest.err
38409 rm -f conftest.er1
38410 cat conftest.err >&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } &&
38413 { ac_try='test -z "$ac_cxx_werror_flag"
38414 || test ! -s conftest.err'
38415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38416 (eval $ac_try) 2>&5
38417 ac_status=$?
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); }; } &&
38420 { ac_try='test -s conftest$ac_exeext'
38421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38422 (eval $ac_try) 2>&5
38423 ac_status=$?
38424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38425 (exit $ac_status); }; }; then
38426 ac_cv_func_pthread_attr_getschedpolicy=yes
38427 else
38428 echo "$as_me: failed program was:" >&5
38429 sed 's/^/| /' conftest.$ac_ext >&5
38430
38431 ac_cv_func_pthread_attr_getschedpolicy=no
38432 fi
38433 rm -f conftest.err conftest.$ac_objext \
38434 conftest$ac_exeext conftest.$ac_ext
38435 fi
38436 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38437 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38438 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38439 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38440 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38441 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38442 echo $ECHO_N "(cached) $ECHO_C" >&6
38443 else
38444 cat >conftest.$ac_ext <<_ACEOF
38445 /* confdefs.h. */
38446 _ACEOF
38447 cat confdefs.h >>conftest.$ac_ext
38448 cat >>conftest.$ac_ext <<_ACEOF
38449 /* end confdefs.h. */
38450 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38452 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38453
38454 /* System header to define __stub macros and hopefully few prototypes,
38455 which can conflict with char pthread_attr_setschedparam (); below.
38456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38457 <limits.h> exists even on freestanding compilers. */
38458
38459 #ifdef __STDC__
38460 # include <limits.h>
38461 #else
38462 # include <assert.h>
38463 #endif
38464
38465 #undef pthread_attr_setschedparam
38466
38467 /* Override any gcc2 internal prototype to avoid an error. */
38468 #ifdef __cplusplus
38469 extern "C"
38470 {
38471 #endif
38472 /* We use char because int might match the return type of a gcc2
38473 builtin and then its argument prototype would still apply. */
38474 char pthread_attr_setschedparam ();
38475 /* The GNU C library defines this for functions which it implements
38476 to always fail with ENOSYS. Some functions are actually named
38477 something starting with __ and the normal name is an alias. */
38478 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38479 choke me
38480 #else
38481 char (*f) () = pthread_attr_setschedparam;
38482 #endif
38483 #ifdef __cplusplus
38484 }
38485 #endif
38486
38487 int
38488 main ()
38489 {
38490 return f != pthread_attr_setschedparam;
38491 ;
38492 return 0;
38493 }
38494 _ACEOF
38495 rm -f conftest.$ac_objext conftest$ac_exeext
38496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38497 (eval $ac_link) 2>conftest.er1
38498 ac_status=$?
38499 grep -v '^ *+' conftest.er1 >conftest.err
38500 rm -f conftest.er1
38501 cat conftest.err >&5
38502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38503 (exit $ac_status); } &&
38504 { ac_try='test -z "$ac_cxx_werror_flag"
38505 || test ! -s conftest.err'
38506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38507 (eval $ac_try) 2>&5
38508 ac_status=$?
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); }; } &&
38511 { ac_try='test -s conftest$ac_exeext'
38512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38513 (eval $ac_try) 2>&5
38514 ac_status=$?
38515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38516 (exit $ac_status); }; }; then
38517 ac_cv_func_pthread_attr_setschedparam=yes
38518 else
38519 echo "$as_me: failed program was:" >&5
38520 sed 's/^/| /' conftest.$ac_ext >&5
38521
38522 ac_cv_func_pthread_attr_setschedparam=no
38523 fi
38524 rm -f conftest.err conftest.$ac_objext \
38525 conftest$ac_exeext conftest.$ac_ext
38526 fi
38527 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38528 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38529 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38530 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38531 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38532 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38533 echo $ECHO_N "(cached) $ECHO_C" >&6
38534 else
38535 cat >conftest.$ac_ext <<_ACEOF
38536 /* confdefs.h. */
38537 _ACEOF
38538 cat confdefs.h >>conftest.$ac_ext
38539 cat >>conftest.$ac_ext <<_ACEOF
38540 /* end confdefs.h. */
38541 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38543 #define sched_get_priority_max innocuous_sched_get_priority_max
38544
38545 /* System header to define __stub macros and hopefully few prototypes,
38546 which can conflict with char sched_get_priority_max (); below.
38547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38548 <limits.h> exists even on freestanding compilers. */
38549
38550 #ifdef __STDC__
38551 # include <limits.h>
38552 #else
38553 # include <assert.h>
38554 #endif
38555
38556 #undef sched_get_priority_max
38557
38558 /* Override any gcc2 internal prototype to avoid an error. */
38559 #ifdef __cplusplus
38560 extern "C"
38561 {
38562 #endif
38563 /* We use char because int might match the return type of a gcc2
38564 builtin and then its argument prototype would still apply. */
38565 char sched_get_priority_max ();
38566 /* The GNU C library defines this for functions which it implements
38567 to always fail with ENOSYS. Some functions are actually named
38568 something starting with __ and the normal name is an alias. */
38569 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38570 choke me
38571 #else
38572 char (*f) () = sched_get_priority_max;
38573 #endif
38574 #ifdef __cplusplus
38575 }
38576 #endif
38577
38578 int
38579 main ()
38580 {
38581 return f != sched_get_priority_max;
38582 ;
38583 return 0;
38584 }
38585 _ACEOF
38586 rm -f conftest.$ac_objext conftest$ac_exeext
38587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38588 (eval $ac_link) 2>conftest.er1
38589 ac_status=$?
38590 grep -v '^ *+' conftest.er1 >conftest.err
38591 rm -f conftest.er1
38592 cat conftest.err >&5
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); } &&
38595 { ac_try='test -z "$ac_cxx_werror_flag"
38596 || test ! -s conftest.err'
38597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38598 (eval $ac_try) 2>&5
38599 ac_status=$?
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); }; } &&
38602 { ac_try='test -s conftest$ac_exeext'
38603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38604 (eval $ac_try) 2>&5
38605 ac_status=$?
38606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38607 (exit $ac_status); }; }; then
38608 ac_cv_func_sched_get_priority_max=yes
38609 else
38610 echo "$as_me: failed program was:" >&5
38611 sed 's/^/| /' conftest.$ac_ext >&5
38612
38613 ac_cv_func_sched_get_priority_max=no
38614 fi
38615 rm -f conftest.err conftest.$ac_objext \
38616 conftest$ac_exeext conftest.$ac_ext
38617 fi
38618 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38619 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38620 if test $ac_cv_func_sched_get_priority_max = yes; then
38621 HAVE_PRIOR_FUNCS=1
38622 else
38623 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38624 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38625 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38626 echo $ECHO_N "(cached) $ECHO_C" >&6
38627 else
38628 ac_check_lib_save_LIBS=$LIBS
38629 LIBS="-lposix4 $LIBS"
38630 cat >conftest.$ac_ext <<_ACEOF
38631 /* confdefs.h. */
38632 _ACEOF
38633 cat confdefs.h >>conftest.$ac_ext
38634 cat >>conftest.$ac_ext <<_ACEOF
38635 /* end confdefs.h. */
38636
38637 /* Override any gcc2 internal prototype to avoid an error. */
38638 #ifdef __cplusplus
38639 extern "C"
38640 #endif
38641 /* We use char because int might match the return type of a gcc2
38642 builtin and then its argument prototype would still apply. */
38643 char sched_get_priority_max ();
38644 int
38645 main ()
38646 {
38647 sched_get_priority_max ();
38648 ;
38649 return 0;
38650 }
38651 _ACEOF
38652 rm -f conftest.$ac_objext conftest$ac_exeext
38653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38654 (eval $ac_link) 2>conftest.er1
38655 ac_status=$?
38656 grep -v '^ *+' conftest.er1 >conftest.err
38657 rm -f conftest.er1
38658 cat conftest.err >&5
38659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38660 (exit $ac_status); } &&
38661 { ac_try='test -z "$ac_cxx_werror_flag"
38662 || test ! -s conftest.err'
38663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38664 (eval $ac_try) 2>&5
38665 ac_status=$?
38666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38667 (exit $ac_status); }; } &&
38668 { ac_try='test -s conftest$ac_exeext'
38669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38670 (eval $ac_try) 2>&5
38671 ac_status=$?
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); }; }; then
38674 ac_cv_lib_posix4_sched_get_priority_max=yes
38675 else
38676 echo "$as_me: failed program was:" >&5
38677 sed 's/^/| /' conftest.$ac_ext >&5
38678
38679 ac_cv_lib_posix4_sched_get_priority_max=no
38680 fi
38681 rm -f conftest.err conftest.$ac_objext \
38682 conftest$ac_exeext conftest.$ac_ext
38683 LIBS=$ac_check_lib_save_LIBS
38684 fi
38685 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38686 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38687 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38688
38689 HAVE_PRIOR_FUNCS=1
38690 POSIX4_LINK=" -lposix4"
38691
38692 fi
38693
38694
38695 fi
38696
38697
38698 fi
38699
38700
38701 fi
38702
38703
38704 if test "$HAVE_PRIOR_FUNCS" = 1; then
38705 cat >>confdefs.h <<\_ACEOF
38706 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38707 _ACEOF
38708
38709 else
38710 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38711 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38712 fi
38713
38714 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38715 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38716 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38717 echo $ECHO_N "(cached) $ECHO_C" >&6
38718 else
38719 cat >conftest.$ac_ext <<_ACEOF
38720 /* confdefs.h. */
38721 _ACEOF
38722 cat confdefs.h >>conftest.$ac_ext
38723 cat >>conftest.$ac_ext <<_ACEOF
38724 /* end confdefs.h. */
38725 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38727 #define pthread_cancel innocuous_pthread_cancel
38728
38729 /* System header to define __stub macros and hopefully few prototypes,
38730 which can conflict with char pthread_cancel (); below.
38731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38732 <limits.h> exists even on freestanding compilers. */
38733
38734 #ifdef __STDC__
38735 # include <limits.h>
38736 #else
38737 # include <assert.h>
38738 #endif
38739
38740 #undef pthread_cancel
38741
38742 /* Override any gcc2 internal prototype to avoid an error. */
38743 #ifdef __cplusplus
38744 extern "C"
38745 {
38746 #endif
38747 /* We use char because int might match the return type of a gcc2
38748 builtin and then its argument prototype would still apply. */
38749 char pthread_cancel ();
38750 /* The GNU C library defines this for functions which it implements
38751 to always fail with ENOSYS. Some functions are actually named
38752 something starting with __ and the normal name is an alias. */
38753 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38754 choke me
38755 #else
38756 char (*f) () = pthread_cancel;
38757 #endif
38758 #ifdef __cplusplus
38759 }
38760 #endif
38761
38762 int
38763 main ()
38764 {
38765 return f != pthread_cancel;
38766 ;
38767 return 0;
38768 }
38769 _ACEOF
38770 rm -f conftest.$ac_objext conftest$ac_exeext
38771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38772 (eval $ac_link) 2>conftest.er1
38773 ac_status=$?
38774 grep -v '^ *+' conftest.er1 >conftest.err
38775 rm -f conftest.er1
38776 cat conftest.err >&5
38777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38778 (exit $ac_status); } &&
38779 { ac_try='test -z "$ac_cxx_werror_flag"
38780 || test ! -s conftest.err'
38781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38782 (eval $ac_try) 2>&5
38783 ac_status=$?
38784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785 (exit $ac_status); }; } &&
38786 { ac_try='test -s conftest$ac_exeext'
38787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38788 (eval $ac_try) 2>&5
38789 ac_status=$?
38790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791 (exit $ac_status); }; }; then
38792 ac_cv_func_pthread_cancel=yes
38793 else
38794 echo "$as_me: failed program was:" >&5
38795 sed 's/^/| /' conftest.$ac_ext >&5
38796
38797 ac_cv_func_pthread_cancel=no
38798 fi
38799 rm -f conftest.err conftest.$ac_objext \
38800 conftest$ac_exeext conftest.$ac_ext
38801 fi
38802 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38803 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38804 if test $ac_cv_func_pthread_cancel = yes; then
38805 cat >>confdefs.h <<\_ACEOF
38806 #define HAVE_PTHREAD_CANCEL 1
38807 _ACEOF
38808
38809 else
38810 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38811 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38812 fi
38813
38814
38815 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38816 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38817 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38818 echo $ECHO_N "(cached) $ECHO_C" >&6
38819 else
38820 cat >conftest.$ac_ext <<_ACEOF
38821 /* confdefs.h. */
38822 _ACEOF
38823 cat confdefs.h >>conftest.$ac_ext
38824 cat >>conftest.$ac_ext <<_ACEOF
38825 /* end confdefs.h. */
38826 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38828 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38829
38830 /* System header to define __stub macros and hopefully few prototypes,
38831 which can conflict with char pthread_attr_setstacksize (); below.
38832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38833 <limits.h> exists even on freestanding compilers. */
38834
38835 #ifdef __STDC__
38836 # include <limits.h>
38837 #else
38838 # include <assert.h>
38839 #endif
38840
38841 #undef pthread_attr_setstacksize
38842
38843 /* Override any gcc2 internal prototype to avoid an error. */
38844 #ifdef __cplusplus
38845 extern "C"
38846 {
38847 #endif
38848 /* We use char because int might match the return type of a gcc2
38849 builtin and then its argument prototype would still apply. */
38850 char pthread_attr_setstacksize ();
38851 /* The GNU C library defines this for functions which it implements
38852 to always fail with ENOSYS. Some functions are actually named
38853 something starting with __ and the normal name is an alias. */
38854 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38855 choke me
38856 #else
38857 char (*f) () = pthread_attr_setstacksize;
38858 #endif
38859 #ifdef __cplusplus
38860 }
38861 #endif
38862
38863 int
38864 main ()
38865 {
38866 return f != pthread_attr_setstacksize;
38867 ;
38868 return 0;
38869 }
38870 _ACEOF
38871 rm -f conftest.$ac_objext conftest$ac_exeext
38872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38873 (eval $ac_link) 2>conftest.er1
38874 ac_status=$?
38875 grep -v '^ *+' conftest.er1 >conftest.err
38876 rm -f conftest.er1
38877 cat conftest.err >&5
38878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38879 (exit $ac_status); } &&
38880 { ac_try='test -z "$ac_cxx_werror_flag"
38881 || test ! -s conftest.err'
38882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38883 (eval $ac_try) 2>&5
38884 ac_status=$?
38885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886 (exit $ac_status); }; } &&
38887 { ac_try='test -s conftest$ac_exeext'
38888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38889 (eval $ac_try) 2>&5
38890 ac_status=$?
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); }; }; then
38893 ac_cv_func_pthread_attr_setstacksize=yes
38894 else
38895 echo "$as_me: failed program was:" >&5
38896 sed 's/^/| /' conftest.$ac_ext >&5
38897
38898 ac_cv_func_pthread_attr_setstacksize=no
38899 fi
38900 rm -f conftest.err conftest.$ac_objext \
38901 conftest$ac_exeext conftest.$ac_ext
38902 fi
38903 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38904 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38905 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38906 cat >>confdefs.h <<\_ACEOF
38907 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38908 _ACEOF
38909
38910 fi
38911
38912
38913
38914 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38915 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38916 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38917 echo $ECHO_N "(cached) $ECHO_C" >&6
38918 else
38919
38920 cat >conftest.$ac_ext <<_ACEOF
38921 /* confdefs.h. */
38922 _ACEOF
38923 cat confdefs.h >>conftest.$ac_ext
38924 cat >>conftest.$ac_ext <<_ACEOF
38925 /* end confdefs.h. */
38926 #include <pthread.h>
38927 int
38928 main ()
38929 {
38930
38931 pthread_mutexattr_t attr;
38932 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38933
38934 ;
38935 return 0;
38936 }
38937 _ACEOF
38938 rm -f conftest.$ac_objext
38939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38940 (eval $ac_compile) 2>conftest.er1
38941 ac_status=$?
38942 grep -v '^ *+' conftest.er1 >conftest.err
38943 rm -f conftest.er1
38944 cat conftest.err >&5
38945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38946 (exit $ac_status); } &&
38947 { ac_try='test -z "$ac_cxx_werror_flag"
38948 || test ! -s conftest.err'
38949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38950 (eval $ac_try) 2>&5
38951 ac_status=$?
38952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953 (exit $ac_status); }; } &&
38954 { ac_try='test -s conftest.$ac_objext'
38955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38956 (eval $ac_try) 2>&5
38957 ac_status=$?
38958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38959 (exit $ac_status); }; }; then
38960 wx_cv_type_pthread_mutexattr_t=yes
38961 else
38962 echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.$ac_ext >&5
38964
38965 wx_cv_type_pthread_mutexattr_t=no
38966
38967 fi
38968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38969
38970 fi
38971 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38972 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38973
38974 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38975 cat >>confdefs.h <<\_ACEOF
38976 #define HAVE_PTHREAD_MUTEXATTR_T 1
38977 _ACEOF
38978
38979
38980 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38981 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38982 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38983 echo $ECHO_N "(cached) $ECHO_C" >&6
38984 else
38985
38986 cat >conftest.$ac_ext <<_ACEOF
38987 /* confdefs.h. */
38988 _ACEOF
38989 cat confdefs.h >>conftest.$ac_ext
38990 cat >>conftest.$ac_ext <<_ACEOF
38991 /* end confdefs.h. */
38992 #include <pthread.h>
38993 int
38994 main ()
38995 {
38996
38997 pthread_mutexattr_t attr;
38998 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38999
39000 ;
39001 return 0;
39002 }
39003 _ACEOF
39004 rm -f conftest.$ac_objext
39005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39006 (eval $ac_compile) 2>conftest.er1
39007 ac_status=$?
39008 grep -v '^ *+' conftest.er1 >conftest.err
39009 rm -f conftest.er1
39010 cat conftest.err >&5
39011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39012 (exit $ac_status); } &&
39013 { ac_try='test -z "$ac_cxx_werror_flag"
39014 || test ! -s conftest.err'
39015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39016 (eval $ac_try) 2>&5
39017 ac_status=$?
39018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39019 (exit $ac_status); }; } &&
39020 { ac_try='test -s conftest.$ac_objext'
39021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39022 (eval $ac_try) 2>&5
39023 ac_status=$?
39024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39025 (exit $ac_status); }; }; then
39026 wx_cv_func_pthread_mutexattr_settype_decl=yes
39027 else
39028 echo "$as_me: failed program was:" >&5
39029 sed 's/^/| /' conftest.$ac_ext >&5
39030
39031 wx_cv_func_pthread_mutexattr_settype_decl=no
39032
39033 fi
39034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39035
39036 fi
39037 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39038 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39039 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39040 cat >>confdefs.h <<\_ACEOF
39041 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39042 _ACEOF
39043
39044 fi
39045 else
39046 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39047 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39048 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39049 echo $ECHO_N "(cached) $ECHO_C" >&6
39050 else
39051
39052 cat >conftest.$ac_ext <<_ACEOF
39053 /* confdefs.h. */
39054 _ACEOF
39055 cat confdefs.h >>conftest.$ac_ext
39056 cat >>conftest.$ac_ext <<_ACEOF
39057 /* end confdefs.h. */
39058 #include <pthread.h>
39059 int
39060 main ()
39061 {
39062
39063 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39064
39065 ;
39066 return 0;
39067 }
39068 _ACEOF
39069 rm -f conftest.$ac_objext
39070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39071 (eval $ac_compile) 2>conftest.er1
39072 ac_status=$?
39073 grep -v '^ *+' conftest.er1 >conftest.err
39074 rm -f conftest.er1
39075 cat conftest.err >&5
39076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39077 (exit $ac_status); } &&
39078 { ac_try='test -z "$ac_cxx_werror_flag"
39079 || test ! -s conftest.err'
39080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39081 (eval $ac_try) 2>&5
39082 ac_status=$?
39083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39084 (exit $ac_status); }; } &&
39085 { ac_try='test -s conftest.$ac_objext'
39086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39087 (eval $ac_try) 2>&5
39088 ac_status=$?
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); }; }; then
39091
39092 wx_cv_type_pthread_rec_mutex_init=yes
39093
39094 else
39095 echo "$as_me: failed program was:" >&5
39096 sed 's/^/| /' conftest.$ac_ext >&5
39097
39098
39099 wx_cv_type_pthread_rec_mutex_init=no
39100
39101
39102 fi
39103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39104
39105 fi
39106 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39107 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39108 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39109 cat >>confdefs.h <<\_ACEOF
39110 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39111 _ACEOF
39112
39113 else
39114 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39115 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39116 fi
39117 fi
39118 fi
39119
39120 else
39121 if test "$wxUSE_THREADS" = "yes" ; then
39122 case "${host}" in
39123 *-*-mingw32* )
39124 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39125 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39126 if test "${wx_cv_cflags_mthread+set}" = set; then
39127 echo $ECHO_N "(cached) $ECHO_C" >&6
39128 else
39129
39130 CXXFLAGS_OLD="$CXXFLAGS"
39131 CXXFLAGS="-mthreads $CXXFLAGS"
39132 cat >conftest.$ac_ext <<_ACEOF
39133 /* confdefs.h. */
39134 _ACEOF
39135 cat confdefs.h >>conftest.$ac_ext
39136 cat >>conftest.$ac_ext <<_ACEOF
39137 /* end confdefs.h. */
39138
39139 int
39140 main ()
39141 {
39142
39143 ;
39144 return 0;
39145 }
39146 _ACEOF
39147 rm -f conftest.$ac_objext
39148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39149 (eval $ac_compile) 2>conftest.er1
39150 ac_status=$?
39151 grep -v '^ *+' conftest.er1 >conftest.err
39152 rm -f conftest.er1
39153 cat conftest.err >&5
39154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39155 (exit $ac_status); } &&
39156 { ac_try='test -z "$ac_cxx_werror_flag"
39157 || test ! -s conftest.err'
39158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39159 (eval $ac_try) 2>&5
39160 ac_status=$?
39161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39162 (exit $ac_status); }; } &&
39163 { ac_try='test -s conftest.$ac_objext'
39164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39165 (eval $ac_try) 2>&5
39166 ac_status=$?
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); }; }; then
39169 wx_cv_cflags_mthread=yes
39170 else
39171 echo "$as_me: failed program was:" >&5
39172 sed 's/^/| /' conftest.$ac_ext >&5
39173
39174 wx_cv_cflags_mthread=no
39175
39176 fi
39177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39178
39179
39180 fi
39181 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39182 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
39183
39184 if test "$wx_cv_cflags_mthread" = "yes"; then
39185 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
39186 LDFLAGS="$LDFLAGS -mthreads"
39187 else
39188 CXXFLAGS="$CXXFLAGS_OLD"
39189 fi
39190 ;;
39191 *-pc-os2*emx )
39192 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39193 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
39194 LDFLAGS="$LDFLAGS -Zmt"
39195 ;;
39196 esac
39197 fi
39198 fi
39199
39200 echo "$as_me:$LINENO: checking for localtime_r" >&5
39201 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
39202 if test "${ac_cv_func_localtime_r+set}" = set; then
39203 echo $ECHO_N "(cached) $ECHO_C" >&6
39204 else
39205 cat >conftest.$ac_ext <<_ACEOF
39206 /* confdefs.h. */
39207 _ACEOF
39208 cat confdefs.h >>conftest.$ac_ext
39209 cat >>conftest.$ac_ext <<_ACEOF
39210 /* end confdefs.h. */
39211 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39213 #define localtime_r innocuous_localtime_r
39214
39215 /* System header to define __stub macros and hopefully few prototypes,
39216 which can conflict with char localtime_r (); below.
39217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39218 <limits.h> exists even on freestanding compilers. */
39219
39220 #ifdef __STDC__
39221 # include <limits.h>
39222 #else
39223 # include <assert.h>
39224 #endif
39225
39226 #undef localtime_r
39227
39228 /* Override any gcc2 internal prototype to avoid an error. */
39229 #ifdef __cplusplus
39230 extern "C"
39231 {
39232 #endif
39233 /* We use char because int might match the return type of a gcc2
39234 builtin and then its argument prototype would still apply. */
39235 char localtime_r ();
39236 /* The GNU C library defines this for functions which it implements
39237 to always fail with ENOSYS. Some functions are actually named
39238 something starting with __ and the normal name is an alias. */
39239 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39240 choke me
39241 #else
39242 char (*f) () = localtime_r;
39243 #endif
39244 #ifdef __cplusplus
39245 }
39246 #endif
39247
39248 int
39249 main ()
39250 {
39251 return f != localtime_r;
39252 ;
39253 return 0;
39254 }
39255 _ACEOF
39256 rm -f conftest.$ac_objext conftest$ac_exeext
39257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39258 (eval $ac_link) 2>conftest.er1
39259 ac_status=$?
39260 grep -v '^ *+' conftest.er1 >conftest.err
39261 rm -f conftest.er1
39262 cat conftest.err >&5
39263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39264 (exit $ac_status); } &&
39265 { ac_try='test -z "$ac_cxx_werror_flag"
39266 || test ! -s conftest.err'
39267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39268 (eval $ac_try) 2>&5
39269 ac_status=$?
39270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39271 (exit $ac_status); }; } &&
39272 { ac_try='test -s conftest$ac_exeext'
39273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39274 (eval $ac_try) 2>&5
39275 ac_status=$?
39276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39277 (exit $ac_status); }; }; then
39278 ac_cv_func_localtime_r=yes
39279 else
39280 echo "$as_me: failed program was:" >&5
39281 sed 's/^/| /' conftest.$ac_ext >&5
39282
39283 ac_cv_func_localtime_r=no
39284 fi
39285 rm -f conftest.err conftest.$ac_objext \
39286 conftest$ac_exeext conftest.$ac_ext
39287 fi
39288 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39289 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39290 if test $ac_cv_func_localtime_r = yes; then
39291 cat >>confdefs.h <<\_ACEOF
39292 #define HAVE_LOCALTIME_R 1
39293 _ACEOF
39294
39295 fi
39296
39297 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39298 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39299 if test "${ac_cv_func_gmtime_r+set}" = set; then
39300 echo $ECHO_N "(cached) $ECHO_C" >&6
39301 else
39302 cat >conftest.$ac_ext <<_ACEOF
39303 /* confdefs.h. */
39304 _ACEOF
39305 cat confdefs.h >>conftest.$ac_ext
39306 cat >>conftest.$ac_ext <<_ACEOF
39307 /* end confdefs.h. */
39308 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39310 #define gmtime_r innocuous_gmtime_r
39311
39312 /* System header to define __stub macros and hopefully few prototypes,
39313 which can conflict with char gmtime_r (); below.
39314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39315 <limits.h> exists even on freestanding compilers. */
39316
39317 #ifdef __STDC__
39318 # include <limits.h>
39319 #else
39320 # include <assert.h>
39321 #endif
39322
39323 #undef gmtime_r
39324
39325 /* Override any gcc2 internal prototype to avoid an error. */
39326 #ifdef __cplusplus
39327 extern "C"
39328 {
39329 #endif
39330 /* We use char because int might match the return type of a gcc2
39331 builtin and then its argument prototype would still apply. */
39332 char gmtime_r ();
39333 /* The GNU C library defines this for functions which it implements
39334 to always fail with ENOSYS. Some functions are actually named
39335 something starting with __ and the normal name is an alias. */
39336 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39337 choke me
39338 #else
39339 char (*f) () = gmtime_r;
39340 #endif
39341 #ifdef __cplusplus
39342 }
39343 #endif
39344
39345 int
39346 main ()
39347 {
39348 return f != gmtime_r;
39349 ;
39350 return 0;
39351 }
39352 _ACEOF
39353 rm -f conftest.$ac_objext conftest$ac_exeext
39354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39355 (eval $ac_link) 2>conftest.er1
39356 ac_status=$?
39357 grep -v '^ *+' conftest.er1 >conftest.err
39358 rm -f conftest.er1
39359 cat conftest.err >&5
39360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39361 (exit $ac_status); } &&
39362 { ac_try='test -z "$ac_cxx_werror_flag"
39363 || test ! -s conftest.err'
39364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39365 (eval $ac_try) 2>&5
39366 ac_status=$?
39367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39368 (exit $ac_status); }; } &&
39369 { ac_try='test -s conftest$ac_exeext'
39370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39371 (eval $ac_try) 2>&5
39372 ac_status=$?
39373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39374 (exit $ac_status); }; }; then
39375 ac_cv_func_gmtime_r=yes
39376 else
39377 echo "$as_me: failed program was:" >&5
39378 sed 's/^/| /' conftest.$ac_ext >&5
39379
39380 ac_cv_func_gmtime_r=no
39381 fi
39382 rm -f conftest.err conftest.$ac_objext \
39383 conftest$ac_exeext conftest.$ac_ext
39384 fi
39385 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39386 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39387 if test $ac_cv_func_gmtime_r = yes; then
39388 cat >>confdefs.h <<\_ACEOF
39389 #define HAVE_GMTIME_R 1
39390 _ACEOF
39391
39392 fi
39393
39394 echo "$as_me:$LINENO: checking for readdir_r" >&5
39395 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39396 if test "${ac_cv_func_readdir_r+set}" = set; then
39397 echo $ECHO_N "(cached) $ECHO_C" >&6
39398 else
39399 cat >conftest.$ac_ext <<_ACEOF
39400 /* confdefs.h. */
39401 _ACEOF
39402 cat confdefs.h >>conftest.$ac_ext
39403 cat >>conftest.$ac_ext <<_ACEOF
39404 /* end confdefs.h. */
39405 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39407 #define readdir_r innocuous_readdir_r
39408
39409 /* System header to define __stub macros and hopefully few prototypes,
39410 which can conflict with char readdir_r (); below.
39411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39412 <limits.h> exists even on freestanding compilers. */
39413
39414 #ifdef __STDC__
39415 # include <limits.h>
39416 #else
39417 # include <assert.h>
39418 #endif
39419
39420 #undef readdir_r
39421
39422 /* Override any gcc2 internal prototype to avoid an error. */
39423 #ifdef __cplusplus
39424 extern "C"
39425 {
39426 #endif
39427 /* We use char because int might match the return type of a gcc2
39428 builtin and then its argument prototype would still apply. */
39429 char readdir_r ();
39430 /* The GNU C library defines this for functions which it implements
39431 to always fail with ENOSYS. Some functions are actually named
39432 something starting with __ and the normal name is an alias. */
39433 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39434 choke me
39435 #else
39436 char (*f) () = readdir_r;
39437 #endif
39438 #ifdef __cplusplus
39439 }
39440 #endif
39441
39442 int
39443 main ()
39444 {
39445 return f != readdir_r;
39446 ;
39447 return 0;
39448 }
39449 _ACEOF
39450 rm -f conftest.$ac_objext conftest$ac_exeext
39451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39452 (eval $ac_link) 2>conftest.er1
39453 ac_status=$?
39454 grep -v '^ *+' conftest.er1 >conftest.err
39455 rm -f conftest.er1
39456 cat conftest.err >&5
39457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39458 (exit $ac_status); } &&
39459 { ac_try='test -z "$ac_cxx_werror_flag"
39460 || test ! -s conftest.err'
39461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39462 (eval $ac_try) 2>&5
39463 ac_status=$?
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); }; } &&
39466 { ac_try='test -s conftest$ac_exeext'
39467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39468 (eval $ac_try) 2>&5
39469 ac_status=$?
39470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39471 (exit $ac_status); }; }; then
39472 ac_cv_func_readdir_r=yes
39473 else
39474 echo "$as_me: failed program was:" >&5
39475 sed 's/^/| /' conftest.$ac_ext >&5
39476
39477 ac_cv_func_readdir_r=no
39478 fi
39479 rm -f conftest.err conftest.$ac_objext \
39480 conftest$ac_exeext conftest.$ac_ext
39481 fi
39482 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39483 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39484 if test $ac_cv_func_readdir_r = yes; then
39485 cat >>confdefs.h <<\_ACEOF
39486 #define HAVE_READDIR_R 1
39487 _ACEOF
39488
39489 fi
39490
39491
39492
39493
39494 ac_ext=c
39495 ac_cpp='$CPP $CPPFLAGS'
39496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39499
39500 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39501 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39502
39503 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39504 echo $ECHO_N "(cached) $ECHO_C" >&6
39505 else
39506
39507
39508 ################################################################
39509
39510 ac_cv_func_which_gethostbyname_r=unknown
39511
39512 #
39513 # ONE ARGUMENT (sanity check)
39514 #
39515
39516 # This should fail, as there is no variant of gethostbyname_r() that takes
39517 # a single argument. If it actually compiles, then we can assume that
39518 # netdb.h is not declaring the function, and the compiler is thereby
39519 # assuming an implicit prototype. In which case, we're out of luck.
39520 #
39521 cat >conftest.$ac_ext <<_ACEOF
39522 /* confdefs.h. */
39523 _ACEOF
39524 cat confdefs.h >>conftest.$ac_ext
39525 cat >>conftest.$ac_ext <<_ACEOF
39526 /* end confdefs.h. */
39527 #include <netdb.h>
39528 int
39529 main ()
39530 {
39531
39532 char *name = "www.gnu.org";
39533 (void)gethostbyname_r(name) /* ; */
39534
39535 ;
39536 return 0;
39537 }
39538 _ACEOF
39539 rm -f conftest.$ac_objext
39540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39541 (eval $ac_compile) 2>conftest.er1
39542 ac_status=$?
39543 grep -v '^ *+' conftest.er1 >conftest.err
39544 rm -f conftest.er1
39545 cat conftest.err >&5
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); } &&
39548 { ac_try='test -z "$ac_c_werror_flag"
39549 || test ! -s conftest.err'
39550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39551 (eval $ac_try) 2>&5
39552 ac_status=$?
39553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39554 (exit $ac_status); }; } &&
39555 { ac_try='test -s conftest.$ac_objext'
39556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39557 (eval $ac_try) 2>&5
39558 ac_status=$?
39559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39560 (exit $ac_status); }; }; then
39561 ac_cv_func_which_gethostbyname_r=no
39562 else
39563 echo "$as_me: failed program was:" >&5
39564 sed 's/^/| /' conftest.$ac_ext >&5
39565
39566 fi
39567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39568
39569 #
39570 # SIX ARGUMENTS
39571 # (e.g. Linux)
39572 #
39573
39574 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39575
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 #include <netdb.h>
39583 int
39584 main ()
39585 {
39586
39587 char *name = "www.gnu.org";
39588 struct hostent ret, *retp;
39589 char buf[1024];
39590 int buflen = 1024;
39591 int my_h_errno;
39592 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39593
39594 ;
39595 return 0;
39596 }
39597 _ACEOF
39598 rm -f conftest.$ac_objext
39599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39600 (eval $ac_compile) 2>conftest.er1
39601 ac_status=$?
39602 grep -v '^ *+' conftest.er1 >conftest.err
39603 rm -f conftest.er1
39604 cat conftest.err >&5
39605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606 (exit $ac_status); } &&
39607 { ac_try='test -z "$ac_c_werror_flag"
39608 || test ! -s conftest.err'
39609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39610 (eval $ac_try) 2>&5
39611 ac_status=$?
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); }; } &&
39614 { ac_try='test -s conftest.$ac_objext'
39615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39616 (eval $ac_try) 2>&5
39617 ac_status=$?
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); }; }; then
39620 ac_cv_func_which_gethostbyname_r=six
39621 else
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39624
39625 fi
39626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39627
39628 fi
39629
39630 #
39631 # FIVE ARGUMENTS
39632 # (e.g. Solaris)
39633 #
39634
39635 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39636
39637 cat >conftest.$ac_ext <<_ACEOF
39638 /* confdefs.h. */
39639 _ACEOF
39640 cat confdefs.h >>conftest.$ac_ext
39641 cat >>conftest.$ac_ext <<_ACEOF
39642 /* end confdefs.h. */
39643 #include <netdb.h>
39644 int
39645 main ()
39646 {
39647
39648 char *name = "www.gnu.org";
39649 struct hostent ret;
39650 char buf[1024];
39651 int buflen = 1024;
39652 int my_h_errno;
39653 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39654
39655 ;
39656 return 0;
39657 }
39658 _ACEOF
39659 rm -f conftest.$ac_objext
39660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39661 (eval $ac_compile) 2>conftest.er1
39662 ac_status=$?
39663 grep -v '^ *+' conftest.er1 >conftest.err
39664 rm -f conftest.er1
39665 cat conftest.err >&5
39666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39667 (exit $ac_status); } &&
39668 { ac_try='test -z "$ac_c_werror_flag"
39669 || test ! -s conftest.err'
39670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39671 (eval $ac_try) 2>&5
39672 ac_status=$?
39673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39674 (exit $ac_status); }; } &&
39675 { ac_try='test -s conftest.$ac_objext'
39676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39677 (eval $ac_try) 2>&5
39678 ac_status=$?
39679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39680 (exit $ac_status); }; }; then
39681 ac_cv_func_which_gethostbyname_r=five
39682 else
39683 echo "$as_me: failed program was:" >&5
39684 sed 's/^/| /' conftest.$ac_ext >&5
39685
39686 fi
39687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39688
39689 fi
39690
39691 #
39692 # THREE ARGUMENTS
39693 # (e.g. AIX, HP-UX, Tru64)
39694 #
39695
39696 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39697
39698 cat >conftest.$ac_ext <<_ACEOF
39699 /* confdefs.h. */
39700 _ACEOF
39701 cat confdefs.h >>conftest.$ac_ext
39702 cat >>conftest.$ac_ext <<_ACEOF
39703 /* end confdefs.h. */
39704 #include <netdb.h>
39705 int
39706 main ()
39707 {
39708
39709 char *name = "www.gnu.org";
39710 struct hostent ret;
39711 struct hostent_data data;
39712 (void)gethostbyname_r(name, &ret, &data) /* ; */
39713
39714 ;
39715 return 0;
39716 }
39717 _ACEOF
39718 rm -f conftest.$ac_objext
39719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39720 (eval $ac_compile) 2>conftest.er1
39721 ac_status=$?
39722 grep -v '^ *+' conftest.er1 >conftest.err
39723 rm -f conftest.er1
39724 cat conftest.err >&5
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); } &&
39727 { ac_try='test -z "$ac_c_werror_flag"
39728 || test ! -s conftest.err'
39729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39730 (eval $ac_try) 2>&5
39731 ac_status=$?
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); }; } &&
39734 { ac_try='test -s conftest.$ac_objext'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39737 ac_status=$?
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; }; then
39740 ac_cv_func_which_gethostbyname_r=three
39741 else
39742 echo "$as_me: failed program was:" >&5
39743 sed 's/^/| /' conftest.$ac_ext >&5
39744
39745 fi
39746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39747
39748 fi
39749
39750 ################################################################
39751
39752
39753 fi
39754
39755 case "$ac_cv_func_which_gethostbyname_r" in
39756 three)
39757 echo "$as_me:$LINENO: result: three" >&5
39758 echo "${ECHO_T}three" >&6
39759 cat >>confdefs.h <<\_ACEOF
39760 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39761 _ACEOF
39762
39763 ;;
39764
39765 five)
39766 echo "$as_me:$LINENO: result: five" >&5
39767 echo "${ECHO_T}five" >&6
39768 cat >>confdefs.h <<\_ACEOF
39769 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39770 _ACEOF
39771
39772 ;;
39773
39774 six)
39775 echo "$as_me:$LINENO: result: six" >&5
39776 echo "${ECHO_T}six" >&6
39777 cat >>confdefs.h <<\_ACEOF
39778 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39779 _ACEOF
39780
39781 ;;
39782
39783 no)
39784 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39785 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39786 ;;
39787
39788 unknown)
39789 echo "$as_me:$LINENO: result: can't tell" >&5
39790 echo "${ECHO_T}can't tell" >&6
39791 ;;
39792
39793 *)
39794 { { echo "$as_me:$LINENO: error: internal error" >&5
39795 echo "$as_me: error: internal error" >&2;}
39796 { (exit 1); exit 1; }; }
39797 ;;
39798 esac
39799
39800 ac_ext=cc
39801 ac_cpp='$CXXCPP $CPPFLAGS'
39802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39805
39806
39807
39808 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39809 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39810 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39811 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39812 if test "${ac_cv_func_gethostbyname+set}" = set; then
39813 echo $ECHO_N "(cached) $ECHO_C" >&6
39814 else
39815 cat >conftest.$ac_ext <<_ACEOF
39816 /* confdefs.h. */
39817 _ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39823 #define gethostbyname innocuous_gethostbyname
39824
39825 /* System header to define __stub macros and hopefully few prototypes,
39826 which can conflict with char gethostbyname (); below.
39827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39828 <limits.h> exists even on freestanding compilers. */
39829
39830 #ifdef __STDC__
39831 # include <limits.h>
39832 #else
39833 # include <assert.h>
39834 #endif
39835
39836 #undef gethostbyname
39837
39838 /* Override any gcc2 internal prototype to avoid an error. */
39839 #ifdef __cplusplus
39840 extern "C"
39841 {
39842 #endif
39843 /* We use char because int might match the return type of a gcc2
39844 builtin and then its argument prototype would still apply. */
39845 char gethostbyname ();
39846 /* The GNU C library defines this for functions which it implements
39847 to always fail with ENOSYS. Some functions are actually named
39848 something starting with __ and the normal name is an alias. */
39849 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39850 choke me
39851 #else
39852 char (*f) () = gethostbyname;
39853 #endif
39854 #ifdef __cplusplus
39855 }
39856 #endif
39857
39858 int
39859 main ()
39860 {
39861 return f != gethostbyname;
39862 ;
39863 return 0;
39864 }
39865 _ACEOF
39866 rm -f conftest.$ac_objext conftest$ac_exeext
39867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39868 (eval $ac_link) 2>conftest.er1
39869 ac_status=$?
39870 grep -v '^ *+' conftest.er1 >conftest.err
39871 rm -f conftest.er1
39872 cat conftest.err >&5
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); } &&
39875 { ac_try='test -z "$ac_cxx_werror_flag"
39876 || test ! -s conftest.err'
39877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39878 (eval $ac_try) 2>&5
39879 ac_status=$?
39880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39881 (exit $ac_status); }; } &&
39882 { ac_try='test -s conftest$ac_exeext'
39883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39884 (eval $ac_try) 2>&5
39885 ac_status=$?
39886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39887 (exit $ac_status); }; }; then
39888 ac_cv_func_gethostbyname=yes
39889 else
39890 echo "$as_me: failed program was:" >&5
39891 sed 's/^/| /' conftest.$ac_ext >&5
39892
39893 ac_cv_func_gethostbyname=no
39894 fi
39895 rm -f conftest.err conftest.$ac_objext \
39896 conftest$ac_exeext conftest.$ac_ext
39897 fi
39898 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39899 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39900 if test $ac_cv_func_gethostbyname = yes; then
39901 cat >>confdefs.h <<\_ACEOF
39902 #define HAVE_GETHOSTBYNAME 1
39903 _ACEOF
39904
39905 fi
39906
39907 fi
39908 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39909 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39910 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39911 echo $ECHO_N "(cached) $ECHO_C" >&6
39912 else
39913 cat >conftest.$ac_ext <<_ACEOF
39914 /* confdefs.h. */
39915 _ACEOF
39916 cat confdefs.h >>conftest.$ac_ext
39917 cat >>conftest.$ac_ext <<_ACEOF
39918 /* end confdefs.h. */
39919 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39921 #define getservbyname_r innocuous_getservbyname_r
39922
39923 /* System header to define __stub macros and hopefully few prototypes,
39924 which can conflict with char getservbyname_r (); below.
39925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39926 <limits.h> exists even on freestanding compilers. */
39927
39928 #ifdef __STDC__
39929 # include <limits.h>
39930 #else
39931 # include <assert.h>
39932 #endif
39933
39934 #undef getservbyname_r
39935
39936 /* Override any gcc2 internal prototype to avoid an error. */
39937 #ifdef __cplusplus
39938 extern "C"
39939 {
39940 #endif
39941 /* We use char because int might match the return type of a gcc2
39942 builtin and then its argument prototype would still apply. */
39943 char getservbyname_r ();
39944 /* The GNU C library defines this for functions which it implements
39945 to always fail with ENOSYS. Some functions are actually named
39946 something starting with __ and the normal name is an alias. */
39947 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39948 choke me
39949 #else
39950 char (*f) () = getservbyname_r;
39951 #endif
39952 #ifdef __cplusplus
39953 }
39954 #endif
39955
39956 int
39957 main ()
39958 {
39959 return f != getservbyname_r;
39960 ;
39961 return 0;
39962 }
39963 _ACEOF
39964 rm -f conftest.$ac_objext conftest$ac_exeext
39965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39966 (eval $ac_link) 2>conftest.er1
39967 ac_status=$?
39968 grep -v '^ *+' conftest.er1 >conftest.err
39969 rm -f conftest.er1
39970 cat conftest.err >&5
39971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39972 (exit $ac_status); } &&
39973 { ac_try='test -z "$ac_cxx_werror_flag"
39974 || test ! -s conftest.err'
39975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39976 (eval $ac_try) 2>&5
39977 ac_status=$?
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); }; } &&
39980 { ac_try='test -s conftest$ac_exeext'
39981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39982 (eval $ac_try) 2>&5
39983 ac_status=$?
39984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985 (exit $ac_status); }; }; then
39986 ac_cv_func_getservbyname_r=yes
39987 else
39988 echo "$as_me: failed program was:" >&5
39989 sed 's/^/| /' conftest.$ac_ext >&5
39990
39991 ac_cv_func_getservbyname_r=no
39992 fi
39993 rm -f conftest.err conftest.$ac_objext \
39994 conftest$ac_exeext conftest.$ac_ext
39995 fi
39996 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39997 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39998 if test $ac_cv_func_getservbyname_r = yes; then
39999 cat >conftest.$ac_ext <<_ACEOF
40000 /* confdefs.h. */
40001 _ACEOF
40002 cat confdefs.h >>conftest.$ac_ext
40003 cat >>conftest.$ac_ext <<_ACEOF
40004 /* end confdefs.h. */
40005 #include <netdb.h>
40006 int
40007 main ()
40008 {
40009
40010 char *name;
40011 char *proto;
40012 struct servent *se;
40013 struct servent_data data;
40014 (void) getservbyname_r(name, proto, se, &data);
40015
40016 ;
40017 return 0;
40018 }
40019 _ACEOF
40020 rm -f conftest.$ac_objext
40021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40022 (eval $ac_compile) 2>conftest.er1
40023 ac_status=$?
40024 grep -v '^ *+' conftest.er1 >conftest.err
40025 rm -f conftest.er1
40026 cat conftest.err >&5
40027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40028 (exit $ac_status); } &&
40029 { ac_try='test -z "$ac_cxx_werror_flag"
40030 || test ! -s conftest.err'
40031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40032 (eval $ac_try) 2>&5
40033 ac_status=$?
40034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035 (exit $ac_status); }; } &&
40036 { ac_try='test -s conftest.$ac_objext'
40037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40038 (eval $ac_try) 2>&5
40039 ac_status=$?
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); }; }; then
40042 ac_cv_func_which_getservbyname_r=four
40043 else
40044 echo "$as_me: failed program was:" >&5
40045 sed 's/^/| /' conftest.$ac_ext >&5
40046
40047 cat >conftest.$ac_ext <<_ACEOF
40048 /* confdefs.h. */
40049 _ACEOF
40050 cat confdefs.h >>conftest.$ac_ext
40051 cat >>conftest.$ac_ext <<_ACEOF
40052 /* end confdefs.h. */
40053 #include <netdb.h>
40054 int
40055 main ()
40056 {
40057
40058 char *name;
40059 char *proto;
40060 struct servent *se, *res;
40061 char buffer[2048];
40062 int buflen = 2048;
40063 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
40064
40065 ;
40066 return 0;
40067 }
40068 _ACEOF
40069 rm -f conftest.$ac_objext
40070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40071 (eval $ac_compile) 2>conftest.er1
40072 ac_status=$?
40073 grep -v '^ *+' conftest.er1 >conftest.err
40074 rm -f conftest.er1
40075 cat conftest.err >&5
40076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40077 (exit $ac_status); } &&
40078 { ac_try='test -z "$ac_cxx_werror_flag"
40079 || test ! -s conftest.err'
40080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40081 (eval $ac_try) 2>&5
40082 ac_status=$?
40083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40084 (exit $ac_status); }; } &&
40085 { ac_try='test -s conftest.$ac_objext'
40086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40087 (eval $ac_try) 2>&5
40088 ac_status=$?
40089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40090 (exit $ac_status); }; }; then
40091 ac_cv_func_which_getservbyname_r=six
40092 else
40093 echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.$ac_ext >&5
40095
40096 cat >conftest.$ac_ext <<_ACEOF
40097 /* confdefs.h. */
40098 _ACEOF
40099 cat confdefs.h >>conftest.$ac_ext
40100 cat >>conftest.$ac_ext <<_ACEOF
40101 /* end confdefs.h. */
40102 #include <netdb.h>
40103 int
40104 main ()
40105 {
40106
40107 char *name;
40108 char *proto;
40109 struct servent *se;
40110 char buffer[2048];
40111 int buflen = 2048;
40112 (void) getservbyname_r(name, proto, se, buffer, buflen)
40113
40114 ;
40115 return 0;
40116 }
40117 _ACEOF
40118 rm -f conftest.$ac_objext
40119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40120 (eval $ac_compile) 2>conftest.er1
40121 ac_status=$?
40122 grep -v '^ *+' conftest.er1 >conftest.err
40123 rm -f conftest.er1
40124 cat conftest.err >&5
40125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126 (exit $ac_status); } &&
40127 { ac_try='test -z "$ac_cxx_werror_flag"
40128 || test ! -s conftest.err'
40129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40130 (eval $ac_try) 2>&5
40131 ac_status=$?
40132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133 (exit $ac_status); }; } &&
40134 { ac_try='test -s conftest.$ac_objext'
40135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40136 (eval $ac_try) 2>&5
40137 ac_status=$?
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); }; }; then
40140 ac_cv_func_which_getservbyname_r=five
40141 else
40142 echo "$as_me: failed program was:" >&5
40143 sed 's/^/| /' conftest.$ac_ext >&5
40144
40145 ac_cv_func_which_getservbyname_r=no
40146
40147 fi
40148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40149
40150 fi
40151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40152
40153 fi
40154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40155 else
40156 ac_cv_func_which_getservbyname_r=no
40157 fi
40158
40159
40160 if test $ac_cv_func_which_getservbyname_r = six; then
40161 cat >>confdefs.h <<\_ACEOF
40162 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40163 _ACEOF
40164
40165 elif test $ac_cv_func_which_getservbyname_r = five; then
40166 cat >>confdefs.h <<\_ACEOF
40167 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40168 _ACEOF
40169
40170 elif test $ac_cv_func_which_getservbyname_r = four; then
40171 cat >>confdefs.h <<\_ACEOF
40172 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40173 _ACEOF
40174
40175 fi
40176
40177
40178 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40179 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40180
40181 for ac_func in getservbyname
40182 do
40183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40184 echo "$as_me:$LINENO: checking for $ac_func" >&5
40185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40186 if eval "test \"\${$as_ac_var+set}\" = set"; then
40187 echo $ECHO_N "(cached) $ECHO_C" >&6
40188 else
40189 cat >conftest.$ac_ext <<_ACEOF
40190 /* confdefs.h. */
40191 _ACEOF
40192 cat confdefs.h >>conftest.$ac_ext
40193 cat >>conftest.$ac_ext <<_ACEOF
40194 /* end confdefs.h. */
40195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40197 #define $ac_func innocuous_$ac_func
40198
40199 /* System header to define __stub macros and hopefully few prototypes,
40200 which can conflict with char $ac_func (); below.
40201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40202 <limits.h> exists even on freestanding compilers. */
40203
40204 #ifdef __STDC__
40205 # include <limits.h>
40206 #else
40207 # include <assert.h>
40208 #endif
40209
40210 #undef $ac_func
40211
40212 /* Override any gcc2 internal prototype to avoid an error. */
40213 #ifdef __cplusplus
40214 extern "C"
40215 {
40216 #endif
40217 /* We use char because int might match the return type of a gcc2
40218 builtin and then its argument prototype would still apply. */
40219 char $ac_func ();
40220 /* The GNU C library defines this for functions which it implements
40221 to always fail with ENOSYS. Some functions are actually named
40222 something starting with __ and the normal name is an alias. */
40223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40224 choke me
40225 #else
40226 char (*f) () = $ac_func;
40227 #endif
40228 #ifdef __cplusplus
40229 }
40230 #endif
40231
40232 int
40233 main ()
40234 {
40235 return f != $ac_func;
40236 ;
40237 return 0;
40238 }
40239 _ACEOF
40240 rm -f conftest.$ac_objext conftest$ac_exeext
40241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40242 (eval $ac_link) 2>conftest.er1
40243 ac_status=$?
40244 grep -v '^ *+' conftest.er1 >conftest.err
40245 rm -f conftest.er1
40246 cat conftest.err >&5
40247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40248 (exit $ac_status); } &&
40249 { ac_try='test -z "$ac_cxx_werror_flag"
40250 || test ! -s conftest.err'
40251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40252 (eval $ac_try) 2>&5
40253 ac_status=$?
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); }; } &&
40256 { ac_try='test -s conftest$ac_exeext'
40257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40258 (eval $ac_try) 2>&5
40259 ac_status=$?
40260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261 (exit $ac_status); }; }; then
40262 eval "$as_ac_var=yes"
40263 else
40264 echo "$as_me: failed program was:" >&5
40265 sed 's/^/| /' conftest.$ac_ext >&5
40266
40267 eval "$as_ac_var=no"
40268 fi
40269 rm -f conftest.err conftest.$ac_objext \
40270 conftest$ac_exeext conftest.$ac_ext
40271 fi
40272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40274 if test `eval echo '${'$as_ac_var'}'` = yes; then
40275 cat >>confdefs.h <<_ACEOF
40276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40277 _ACEOF
40278 cat >>confdefs.h <<\_ACEOF
40279 #define HAVE_GETSERVBYNAME 1
40280 _ACEOF
40281
40282 fi
40283 done
40284
40285 fi
40286
40287 if test "$wxUSE_THREADS" = "yes"; then
40288 cat >>confdefs.h <<\_ACEOF
40289 #define wxUSE_THREADS 1
40290 _ACEOF
40291
40292
40293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40294 else
40295 if test "$ac_cv_func_strtok_r" = "yes"; then
40296 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40297 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40298 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40299 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40300 echo "$as_me:$LINENO: result: yes" >&5
40301 echo "${ECHO_T}yes" >&6
40302 else
40303 echo "$as_me:$LINENO: result: no" >&5
40304 echo "${ECHO_T}no" >&6
40305 fi
40306 fi
40307 fi
40308
40309 if test "$WXGTK20" = 1 ; then
40310 cat >>confdefs.h <<_ACEOF
40311 #define __WXGTK20__ $WXGTK20
40312 _ACEOF
40313
40314 WXGTK12=1
40315 fi
40316
40317 if test "$WXGTK12" = 1 ; then
40318 cat >>confdefs.h <<_ACEOF
40319 #define __WXGTK12__ $WXGTK12
40320 _ACEOF
40321
40322 fi
40323
40324 if test "$WXGTK127" = 1 ; then
40325 cat >>confdefs.h <<_ACEOF
40326 #define __WXGTK127__ $WXGTK127
40327 _ACEOF
40328
40329 fi
40330
40331 if test "$WXGPE" = 1 ; then
40332 cat >>confdefs.h <<_ACEOF
40333 #define __WXGPE__ $WXGPE
40334 _ACEOF
40335
40336 fi
40337
40338 DEBUG_CFLAGS=
40339 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40340 DEBUG_CFLAGS="-g"
40341 wxUSE_OPTIMISE=no
40342 fi
40343
40344 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40345 wxUSE_DEBUG_INFO=yes
40346 if test "$GCC" = yes; then
40347 DEBUG_CFLAGS="-ggdb"
40348 fi
40349 fi
40350
40351 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40352 cat >>confdefs.h <<\_ACEOF
40353 #define WXDEBUG 1
40354 _ACEOF
40355
40356 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40357 else
40358 if test "$wxUSE_GTK" = 1 ; then
40359 if test "x$wxGTK_VERSION" = "x1" ; then
40360 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40361 fi
40362 fi
40363 fi
40364
40365 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40366 cat >>confdefs.h <<\_ACEOF
40367 #define wxUSE_MEMORY_TRACING 1
40368 _ACEOF
40369
40370 cat >>confdefs.h <<\_ACEOF
40371 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40372 _ACEOF
40373
40374 cat >>confdefs.h <<\_ACEOF
40375 #define wxUSE_DEBUG_NEW_ALWAYS 1
40376 _ACEOF
40377
40378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40379 fi
40380
40381 if test "$wxUSE_DMALLOC" = "yes" ; then
40382 DMALLOC_LIBS="-ldmallocthcxx"
40383 fi
40384
40385 PROFILE_FLAGS=
40386 if test "$wxUSE_PROFILE" = "yes" ; then
40387 PROFILE_FLAGS=" -pg"
40388 fi
40389
40390 if test "$GCC" = "yes" ; then
40391 if test "$wxUSE_NO_RTTI" = "yes" ; then
40392 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40393 fi
40394 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40395 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40396 fi
40397 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40398 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40399 fi
40400
40401 case "${host}" in
40402 powerpc*-*-aix* )
40403 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40404 ;;
40405 *-hppa* )
40406 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40407 ;;
40408 esac
40409 fi
40410
40411 OPTIMISE_CFLAGS=
40412 if test "$wxUSE_OPTIMISE" = "no" ; then
40413 if test "$GCC" = yes ; then
40414 OPTIMISE_CFLAGS="-O0"
40415 fi
40416 else
40417 if test "$GCC" = yes ; then
40418 case "${host}" in
40419 *-pc-os2_emx | *-pc-os2-emx )
40420 OPTIMISE_CFLAGS="-O2"
40421 ;;
40422 *)
40423 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40424 ;;
40425 esac
40426 else
40427 OPTIMISE_CFLAGS="-O"
40428 fi
40429 fi
40430
40431
40432 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40433 cat >>confdefs.h <<\_ACEOF
40434 #define WXWIN_COMPATIBILITY_2_4 1
40435 _ACEOF
40436
40437
40438 WXWIN_COMPATIBILITY_2_6="yes"
40439 fi
40440
40441 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40442 cat >>confdefs.h <<\_ACEOF
40443 #define WXWIN_COMPATIBILITY_2_6 1
40444 _ACEOF
40445
40446 fi
40447
40448
40449 if test "$wxUSE_GUI" = "yes"; then
40450 cat >>confdefs.h <<\_ACEOF
40451 #define wxUSE_GUI 1
40452 _ACEOF
40453
40454
40455 fi
40456
40457
40458 if test "$wxUSE_UNIX" = "yes"; then
40459 cat >>confdefs.h <<\_ACEOF
40460 #define wxUSE_UNIX 1
40461 _ACEOF
40462
40463 fi
40464
40465
40466 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40467
40468 HAVE_DL_FUNCS=0
40469 HAVE_SHL_FUNCS=0
40470 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40471 if test "$USE_DARWIN" = 1; then
40472 HAVE_DL_FUNCS=1
40473 elif test "$USE_DOS" = 1; then
40474 HAVE_DL_FUNCS=0
40475 else
40476
40477 for ac_func in dlopen
40478 do
40479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40480 echo "$as_me:$LINENO: checking for $ac_func" >&5
40481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40482 if eval "test \"\${$as_ac_var+set}\" = set"; then
40483 echo $ECHO_N "(cached) $ECHO_C" >&6
40484 else
40485 cat >conftest.$ac_ext <<_ACEOF
40486 /* confdefs.h. */
40487 _ACEOF
40488 cat confdefs.h >>conftest.$ac_ext
40489 cat >>conftest.$ac_ext <<_ACEOF
40490 /* end confdefs.h. */
40491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40493 #define $ac_func innocuous_$ac_func
40494
40495 /* System header to define __stub macros and hopefully few prototypes,
40496 which can conflict with char $ac_func (); below.
40497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40498 <limits.h> exists even on freestanding compilers. */
40499
40500 #ifdef __STDC__
40501 # include <limits.h>
40502 #else
40503 # include <assert.h>
40504 #endif
40505
40506 #undef $ac_func
40507
40508 /* Override any gcc2 internal prototype to avoid an error. */
40509 #ifdef __cplusplus
40510 extern "C"
40511 {
40512 #endif
40513 /* We use char because int might match the return type of a gcc2
40514 builtin and then its argument prototype would still apply. */
40515 char $ac_func ();
40516 /* The GNU C library defines this for functions which it implements
40517 to always fail with ENOSYS. Some functions are actually named
40518 something starting with __ and the normal name is an alias. */
40519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40520 choke me
40521 #else
40522 char (*f) () = $ac_func;
40523 #endif
40524 #ifdef __cplusplus
40525 }
40526 #endif
40527
40528 int
40529 main ()
40530 {
40531 return f != $ac_func;
40532 ;
40533 return 0;
40534 }
40535 _ACEOF
40536 rm -f conftest.$ac_objext conftest$ac_exeext
40537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40538 (eval $ac_link) 2>conftest.er1
40539 ac_status=$?
40540 grep -v '^ *+' conftest.er1 >conftest.err
40541 rm -f conftest.er1
40542 cat conftest.err >&5
40543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40544 (exit $ac_status); } &&
40545 { ac_try='test -z "$ac_cxx_werror_flag"
40546 || test ! -s conftest.err'
40547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40548 (eval $ac_try) 2>&5
40549 ac_status=$?
40550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40551 (exit $ac_status); }; } &&
40552 { ac_try='test -s conftest$ac_exeext'
40553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40554 (eval $ac_try) 2>&5
40555 ac_status=$?
40556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40557 (exit $ac_status); }; }; then
40558 eval "$as_ac_var=yes"
40559 else
40560 echo "$as_me: failed program was:" >&5
40561 sed 's/^/| /' conftest.$ac_ext >&5
40562
40563 eval "$as_ac_var=no"
40564 fi
40565 rm -f conftest.err conftest.$ac_objext \
40566 conftest$ac_exeext conftest.$ac_ext
40567 fi
40568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40570 if test `eval echo '${'$as_ac_var'}'` = yes; then
40571 cat >>confdefs.h <<_ACEOF
40572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40573 _ACEOF
40574
40575 cat >>confdefs.h <<\_ACEOF
40576 #define HAVE_DLOPEN 1
40577 _ACEOF
40578
40579 HAVE_DL_FUNCS=1
40580
40581 else
40582
40583 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40584 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40585 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40586 echo $ECHO_N "(cached) $ECHO_C" >&6
40587 else
40588 ac_check_lib_save_LIBS=$LIBS
40589 LIBS="-ldl $LIBS"
40590 cat >conftest.$ac_ext <<_ACEOF
40591 /* confdefs.h. */
40592 _ACEOF
40593 cat confdefs.h >>conftest.$ac_ext
40594 cat >>conftest.$ac_ext <<_ACEOF
40595 /* end confdefs.h. */
40596
40597 /* Override any gcc2 internal prototype to avoid an error. */
40598 #ifdef __cplusplus
40599 extern "C"
40600 #endif
40601 /* We use char because int might match the return type of a gcc2
40602 builtin and then its argument prototype would still apply. */
40603 char dlopen ();
40604 int
40605 main ()
40606 {
40607 dlopen ();
40608 ;
40609 return 0;
40610 }
40611 _ACEOF
40612 rm -f conftest.$ac_objext conftest$ac_exeext
40613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40614 (eval $ac_link) 2>conftest.er1
40615 ac_status=$?
40616 grep -v '^ *+' conftest.er1 >conftest.err
40617 rm -f conftest.er1
40618 cat conftest.err >&5
40619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40620 (exit $ac_status); } &&
40621 { ac_try='test -z "$ac_cxx_werror_flag"
40622 || test ! -s conftest.err'
40623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40624 (eval $ac_try) 2>&5
40625 ac_status=$?
40626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40627 (exit $ac_status); }; } &&
40628 { ac_try='test -s conftest$ac_exeext'
40629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40630 (eval $ac_try) 2>&5
40631 ac_status=$?
40632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 (exit $ac_status); }; }; then
40634 ac_cv_lib_dl_dlopen=yes
40635 else
40636 echo "$as_me: failed program was:" >&5
40637 sed 's/^/| /' conftest.$ac_ext >&5
40638
40639 ac_cv_lib_dl_dlopen=no
40640 fi
40641 rm -f conftest.err conftest.$ac_objext \
40642 conftest$ac_exeext conftest.$ac_ext
40643 LIBS=$ac_check_lib_save_LIBS
40644 fi
40645 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40646 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40647 if test $ac_cv_lib_dl_dlopen = yes; then
40648
40649 cat >>confdefs.h <<\_ACEOF
40650 #define HAVE_DLOPEN 1
40651 _ACEOF
40652
40653 HAVE_DL_FUNCS=1
40654 DL_LINK=" -ldl$DL_LINK"
40655
40656 else
40657
40658
40659 for ac_func in shl_load
40660 do
40661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40662 echo "$as_me:$LINENO: checking for $ac_func" >&5
40663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40664 if eval "test \"\${$as_ac_var+set}\" = set"; then
40665 echo $ECHO_N "(cached) $ECHO_C" >&6
40666 else
40667 cat >conftest.$ac_ext <<_ACEOF
40668 /* confdefs.h. */
40669 _ACEOF
40670 cat confdefs.h >>conftest.$ac_ext
40671 cat >>conftest.$ac_ext <<_ACEOF
40672 /* end confdefs.h. */
40673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40675 #define $ac_func innocuous_$ac_func
40676
40677 /* System header to define __stub macros and hopefully few prototypes,
40678 which can conflict with char $ac_func (); below.
40679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40680 <limits.h> exists even on freestanding compilers. */
40681
40682 #ifdef __STDC__
40683 # include <limits.h>
40684 #else
40685 # include <assert.h>
40686 #endif
40687
40688 #undef $ac_func
40689
40690 /* Override any gcc2 internal prototype to avoid an error. */
40691 #ifdef __cplusplus
40692 extern "C"
40693 {
40694 #endif
40695 /* We use char because int might match the return type of a gcc2
40696 builtin and then its argument prototype would still apply. */
40697 char $ac_func ();
40698 /* The GNU C library defines this for functions which it implements
40699 to always fail with ENOSYS. Some functions are actually named
40700 something starting with __ and the normal name is an alias. */
40701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40702 choke me
40703 #else
40704 char (*f) () = $ac_func;
40705 #endif
40706 #ifdef __cplusplus
40707 }
40708 #endif
40709
40710 int
40711 main ()
40712 {
40713 return f != $ac_func;
40714 ;
40715 return 0;
40716 }
40717 _ACEOF
40718 rm -f conftest.$ac_objext conftest$ac_exeext
40719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40720 (eval $ac_link) 2>conftest.er1
40721 ac_status=$?
40722 grep -v '^ *+' conftest.er1 >conftest.err
40723 rm -f conftest.er1
40724 cat conftest.err >&5
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); } &&
40727 { ac_try='test -z "$ac_cxx_werror_flag"
40728 || test ! -s conftest.err'
40729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40730 (eval $ac_try) 2>&5
40731 ac_status=$?
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); }; } &&
40734 { ac_try='test -s conftest$ac_exeext'
40735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40736 (eval $ac_try) 2>&5
40737 ac_status=$?
40738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40739 (exit $ac_status); }; }; then
40740 eval "$as_ac_var=yes"
40741 else
40742 echo "$as_me: failed program was:" >&5
40743 sed 's/^/| /' conftest.$ac_ext >&5
40744
40745 eval "$as_ac_var=no"
40746 fi
40747 rm -f conftest.err conftest.$ac_objext \
40748 conftest$ac_exeext conftest.$ac_ext
40749 fi
40750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40752 if test `eval echo '${'$as_ac_var'}'` = yes; then
40753 cat >>confdefs.h <<_ACEOF
40754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40755 _ACEOF
40756
40757 cat >>confdefs.h <<\_ACEOF
40758 #define HAVE_SHL_LOAD 1
40759 _ACEOF
40760
40761 HAVE_SHL_FUNCS=1
40762
40763 else
40764
40765 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40766 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40767 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40768 echo $ECHO_N "(cached) $ECHO_C" >&6
40769 else
40770 ac_check_lib_save_LIBS=$LIBS
40771 LIBS="-lshl_load $LIBS"
40772 cat >conftest.$ac_ext <<_ACEOF
40773 /* confdefs.h. */
40774 _ACEOF
40775 cat confdefs.h >>conftest.$ac_ext
40776 cat >>conftest.$ac_ext <<_ACEOF
40777 /* end confdefs.h. */
40778
40779 /* Override any gcc2 internal prototype to avoid an error. */
40780 #ifdef __cplusplus
40781 extern "C"
40782 #endif
40783 /* We use char because int might match the return type of a gcc2
40784 builtin and then its argument prototype would still apply. */
40785 char dld ();
40786 int
40787 main ()
40788 {
40789 dld ();
40790 ;
40791 return 0;
40792 }
40793 _ACEOF
40794 rm -f conftest.$ac_objext conftest$ac_exeext
40795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40796 (eval $ac_link) 2>conftest.er1
40797 ac_status=$?
40798 grep -v '^ *+' conftest.er1 >conftest.err
40799 rm -f conftest.er1
40800 cat conftest.err >&5
40801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40802 (exit $ac_status); } &&
40803 { ac_try='test -z "$ac_cxx_werror_flag"
40804 || test ! -s conftest.err'
40805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40806 (eval $ac_try) 2>&5
40807 ac_status=$?
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); }; } &&
40810 { ac_try='test -s conftest$ac_exeext'
40811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40812 (eval $ac_try) 2>&5
40813 ac_status=$?
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); }; }; then
40816 ac_cv_lib_shl_load_dld=yes
40817 else
40818 echo "$as_me: failed program was:" >&5
40819 sed 's/^/| /' conftest.$ac_ext >&5
40820
40821 ac_cv_lib_shl_load_dld=no
40822 fi
40823 rm -f conftest.err conftest.$ac_objext \
40824 conftest$ac_exeext conftest.$ac_ext
40825 LIBS=$ac_check_lib_save_LIBS
40826 fi
40827 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40828 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40829 if test $ac_cv_lib_shl_load_dld = yes; then
40830
40831 HAVE_SHL_FUNCS=1
40832 DL_LINK=" -ldld$DL_LINK"
40833
40834 fi
40835
40836
40837 fi
40838 done
40839
40840
40841 fi
40842
40843
40844 fi
40845 done
40846
40847
40848 if test "$HAVE_DL_FUNCS" = 1; then
40849
40850 for ac_func in dlerror
40851 do
40852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40853 echo "$as_me:$LINENO: checking for $ac_func" >&5
40854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40855 if eval "test \"\${$as_ac_var+set}\" = set"; then
40856 echo $ECHO_N "(cached) $ECHO_C" >&6
40857 else
40858 cat >conftest.$ac_ext <<_ACEOF
40859 /* confdefs.h. */
40860 _ACEOF
40861 cat confdefs.h >>conftest.$ac_ext
40862 cat >>conftest.$ac_ext <<_ACEOF
40863 /* end confdefs.h. */
40864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40866 #define $ac_func innocuous_$ac_func
40867
40868 /* System header to define __stub macros and hopefully few prototypes,
40869 which can conflict with char $ac_func (); below.
40870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40871 <limits.h> exists even on freestanding compilers. */
40872
40873 #ifdef __STDC__
40874 # include <limits.h>
40875 #else
40876 # include <assert.h>
40877 #endif
40878
40879 #undef $ac_func
40880
40881 /* Override any gcc2 internal prototype to avoid an error. */
40882 #ifdef __cplusplus
40883 extern "C"
40884 {
40885 #endif
40886 /* We use char because int might match the return type of a gcc2
40887 builtin and then its argument prototype would still apply. */
40888 char $ac_func ();
40889 /* The GNU C library defines this for functions which it implements
40890 to always fail with ENOSYS. Some functions are actually named
40891 something starting with __ and the normal name is an alias. */
40892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40893 choke me
40894 #else
40895 char (*f) () = $ac_func;
40896 #endif
40897 #ifdef __cplusplus
40898 }
40899 #endif
40900
40901 int
40902 main ()
40903 {
40904 return f != $ac_func;
40905 ;
40906 return 0;
40907 }
40908 _ACEOF
40909 rm -f conftest.$ac_objext conftest$ac_exeext
40910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40911 (eval $ac_link) 2>conftest.er1
40912 ac_status=$?
40913 grep -v '^ *+' conftest.er1 >conftest.err
40914 rm -f conftest.er1
40915 cat conftest.err >&5
40916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40917 (exit $ac_status); } &&
40918 { ac_try='test -z "$ac_cxx_werror_flag"
40919 || test ! -s conftest.err'
40920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40921 (eval $ac_try) 2>&5
40922 ac_status=$?
40923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40924 (exit $ac_status); }; } &&
40925 { ac_try='test -s conftest$ac_exeext'
40926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40927 (eval $ac_try) 2>&5
40928 ac_status=$?
40929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40930 (exit $ac_status); }; }; then
40931 eval "$as_ac_var=yes"
40932 else
40933 echo "$as_me: failed program was:" >&5
40934 sed 's/^/| /' conftest.$ac_ext >&5
40935
40936 eval "$as_ac_var=no"
40937 fi
40938 rm -f conftest.err conftest.$ac_objext \
40939 conftest$ac_exeext conftest.$ac_ext
40940 fi
40941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40943 if test `eval echo '${'$as_ac_var'}'` = yes; then
40944 cat >>confdefs.h <<_ACEOF
40945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40946 _ACEOF
40947 cat >>confdefs.h <<\_ACEOF
40948 #define HAVE_DLERROR 1
40949 _ACEOF
40950
40951 else
40952
40953 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40954 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40955 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40956 echo $ECHO_N "(cached) $ECHO_C" >&6
40957 else
40958 ac_check_lib_save_LIBS=$LIBS
40959 LIBS="-ldl $LIBS"
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
40967 /* Override any gcc2 internal prototype to avoid an error. */
40968 #ifdef __cplusplus
40969 extern "C"
40970 #endif
40971 /* We use char because int might match the return type of a gcc2
40972 builtin and then its argument prototype would still apply. */
40973 char dlerror ();
40974 int
40975 main ()
40976 {
40977 dlerror ();
40978 ;
40979 return 0;
40980 }
40981 _ACEOF
40982 rm -f conftest.$ac_objext conftest$ac_exeext
40983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40984 (eval $ac_link) 2>conftest.er1
40985 ac_status=$?
40986 grep -v '^ *+' conftest.er1 >conftest.err
40987 rm -f conftest.er1
40988 cat conftest.err >&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); } &&
40991 { ac_try='test -z "$ac_cxx_werror_flag"
40992 || test ! -s conftest.err'
40993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40994 (eval $ac_try) 2>&5
40995 ac_status=$?
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); }; } &&
40998 { ac_try='test -s conftest$ac_exeext'
40999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41000 (eval $ac_try) 2>&5
41001 ac_status=$?
41002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41003 (exit $ac_status); }; }; then
41004 ac_cv_lib_dl_dlerror=yes
41005 else
41006 echo "$as_me: failed program was:" >&5
41007 sed 's/^/| /' conftest.$ac_ext >&5
41008
41009 ac_cv_lib_dl_dlerror=no
41010 fi
41011 rm -f conftest.err conftest.$ac_objext \
41012 conftest$ac_exeext conftest.$ac_ext
41013 LIBS=$ac_check_lib_save_LIBS
41014 fi
41015 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41016 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41017 if test $ac_cv_lib_dl_dlerror = yes; then
41018 cat >>confdefs.h <<\_ACEOF
41019 #define HAVE_DLERROR 1
41020 _ACEOF
41021
41022 fi
41023
41024
41025
41026 fi
41027 done
41028
41029 fi
41030 fi
41031
41032 if test "$HAVE_DL_FUNCS" = 0; then
41033 if test "$HAVE_SHL_FUNCS" = 0; then
41034 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41035 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41036 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41037 wxUSE_DYNAMIC_LOADER=no
41038 wxUSE_DYNLIB_CLASS=no
41039 else
41040 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41041 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41042 fi
41043 fi
41044 fi
41045 fi
41046 fi
41047
41048 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41049 cat >>confdefs.h <<\_ACEOF
41050 #define wxUSE_DYNAMIC_LOADER 1
41051 _ACEOF
41052
41053 fi
41054 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41055 cat >>confdefs.h <<\_ACEOF
41056 #define wxUSE_DYNLIB_CLASS 1
41057 _ACEOF
41058
41059 fi
41060
41061
41062
41063 if test "$wxUSE_PLUGINS" = "yes" ; then
41064 if test "$wxUSE_SHARED" = "no" ; then
41065 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41066 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41067 wxUSE_PLUGINS=no
41068 fi
41069 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41070 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41071 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41072 wxUSE_PLUGINS=no
41073 fi
41074 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41075 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41076 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41077 wxUSE_PLUGINS=no
41078 fi
41079 if test "$wxUSE_PLUGINS" = "yes" ; then
41080 cat >>confdefs.h <<\_ACEOF
41081 #define wxUSE_PLUGINS 1
41082 _ACEOF
41083
41084 fi
41085 fi
41086
41087
41088 if test "$wxUSE_STL" = "yes"; then
41089 cat >>confdefs.h <<\_ACEOF
41090 #define wxUSE_STL 1
41091 _ACEOF
41092
41093 fi
41094
41095 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41096 cat >>confdefs.h <<\_ACEOF
41097 #define wxUSE_APPLE_IEEE 1
41098 _ACEOF
41099
41100 fi
41101
41102 if test "$wxUSE_TIMER" = "yes"; then
41103 cat >>confdefs.h <<\_ACEOF
41104 #define wxUSE_TIMER 1
41105 _ACEOF
41106
41107 fi
41108
41109 if test "$USE_UNIX" = "1" ; then
41110 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
41111 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
41112 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41113 echo $ECHO_N "(cached) $ECHO_C" >&6
41114 else
41115
41116 cat >conftest.$ac_ext <<_ACEOF
41117 /* confdefs.h. */
41118 _ACEOF
41119 cat confdefs.h >>conftest.$ac_ext
41120 cat >>conftest.$ac_ext <<_ACEOF
41121 /* end confdefs.h. */
41122
41123 #include <sys/soundcard.h>
41124
41125 int
41126 main ()
41127 {
41128
41129 ioctl(0, SNDCTL_DSP_SYNC, 0);
41130
41131 ;
41132 return 0;
41133 }
41134 _ACEOF
41135 rm -f conftest.$ac_objext conftest$ac_exeext
41136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41137 (eval $ac_link) 2>conftest.er1
41138 ac_status=$?
41139 grep -v '^ *+' conftest.er1 >conftest.err
41140 rm -f conftest.er1
41141 cat conftest.err >&5
41142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143 (exit $ac_status); } &&
41144 { ac_try='test -z "$ac_cxx_werror_flag"
41145 || test ! -s conftest.err'
41146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41147 (eval $ac_try) 2>&5
41148 ac_status=$?
41149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41150 (exit $ac_status); }; } &&
41151 { ac_try='test -s conftest$ac_exeext'
41152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41153 (eval $ac_try) 2>&5
41154 ac_status=$?
41155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156 (exit $ac_status); }; }; then
41157 ac_cv_header_sys_soundcard=yes
41158 else
41159 echo "$as_me: failed program was:" >&5
41160 sed 's/^/| /' conftest.$ac_ext >&5
41161
41162
41163 saveLibs="$LIBS"
41164 LIBS="$saveLibs -lossaudio"
41165 cat >conftest.$ac_ext <<_ACEOF
41166 /* confdefs.h. */
41167 _ACEOF
41168 cat confdefs.h >>conftest.$ac_ext
41169 cat >>conftest.$ac_ext <<_ACEOF
41170 /* end confdefs.h. */
41171
41172 #include <sys/soundcard.h>
41173
41174 int
41175 main ()
41176 {
41177
41178 ioctl(0, SNDCTL_DSP_SYNC, 0);
41179
41180 ;
41181 return 0;
41182 }
41183 _ACEOF
41184 rm -f conftest.$ac_objext conftest$ac_exeext
41185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41186 (eval $ac_link) 2>conftest.er1
41187 ac_status=$?
41188 grep -v '^ *+' conftest.er1 >conftest.err
41189 rm -f conftest.er1
41190 cat conftest.err >&5
41191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41192 (exit $ac_status); } &&
41193 { ac_try='test -z "$ac_cxx_werror_flag"
41194 || test ! -s conftest.err'
41195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41196 (eval $ac_try) 2>&5
41197 ac_status=$?
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); }; } &&
41200 { ac_try='test -s conftest$ac_exeext'
41201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41202 (eval $ac_try) 2>&5
41203 ac_status=$?
41204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41205 (exit $ac_status); }; }; then
41206 ac_cv_header_sys_soundcard=yes
41207 else
41208 echo "$as_me: failed program was:" >&5
41209 sed 's/^/| /' conftest.$ac_ext >&5
41210
41211
41212 LIBS="$saveLibs"
41213 ac_cv_header_sys_soundcard=no
41214
41215
41216 fi
41217 rm -f conftest.err conftest.$ac_objext \
41218 conftest$ac_exeext conftest.$ac_ext
41219
41220
41221 fi
41222 rm -f conftest.err conftest.$ac_objext \
41223 conftest$ac_exeext conftest.$ac_ext
41224
41225 fi
41226 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41227 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41228
41229 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41230 cat >>confdefs.h <<\_ACEOF
41231 #define HAVE_SYS_SOUNDCARD_H 1
41232 _ACEOF
41233
41234 else
41235 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
41236 fi
41237 fi
41238 WITH_PLUGIN_SDL=0
41239 if test "$wxUSE_SOUND" = "yes"; then
41240 if test "$USE_UNIX" = "1" ; then
41241 if test "$wxUSE_LIBSDL" != "no"; then
41242
41243 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41244 if test "${with_sdl_prefix+set}" = set; then
41245 withval="$with_sdl_prefix"
41246 sdl_prefix="$withval"
41247 else
41248 sdl_prefix=""
41249 fi;
41250
41251 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41252 if test "${with_sdl_exec_prefix+set}" = set; then
41253 withval="$with_sdl_exec_prefix"
41254 sdl_exec_prefix="$withval"
41255 else
41256 sdl_exec_prefix=""
41257 fi;
41258 # Check whether --enable-sdltest or --disable-sdltest was given.
41259 if test "${enable_sdltest+set}" = set; then
41260 enableval="$enable_sdltest"
41261
41262 else
41263 enable_sdltest=yes
41264 fi;
41265
41266 if test x$sdl_exec_prefix != x ; then
41267 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41268 if test x${SDL_CONFIG+set} != xset ; then
41269 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41270 fi
41271 fi
41272 if test x$sdl_prefix != x ; then
41273 sdl_args="$sdl_args --prefix=$sdl_prefix"
41274 if test x${SDL_CONFIG+set} != xset ; then
41275 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41276 fi
41277 fi
41278
41279
41280 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41281 # Extract the first word of "sdl-config", so it can be a program name with args.
41282 set dummy sdl-config; ac_word=$2
41283 echo "$as_me:$LINENO: checking for $ac_word" >&5
41284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41285 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41286 echo $ECHO_N "(cached) $ECHO_C" >&6
41287 else
41288 case $SDL_CONFIG in
41289 [\\/]* | ?:[\\/]*)
41290 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41291 ;;
41292 *)
41293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41294 for as_dir in $PATH
41295 do
41296 IFS=$as_save_IFS
41297 test -z "$as_dir" && as_dir=.
41298 for ac_exec_ext in '' $ac_executable_extensions; do
41299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41300 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41302 break 2
41303 fi
41304 done
41305 done
41306
41307 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41308 ;;
41309 esac
41310 fi
41311 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41312
41313 if test -n "$SDL_CONFIG"; then
41314 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41315 echo "${ECHO_T}$SDL_CONFIG" >&6
41316 else
41317 echo "$as_me:$LINENO: result: no" >&5
41318 echo "${ECHO_T}no" >&6
41319 fi
41320
41321 min_sdl_version=1.2.0
41322 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41323 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41324 no_sdl=""
41325 if test "$SDL_CONFIG" = "no" ; then
41326 no_sdl=yes
41327 else
41328 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41329 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41330
41331 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41332 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41333 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41334 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41335 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41336 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41337 if test "x$enable_sdltest" = "xyes" ; then
41338 ac_save_CFLAGS="$CFLAGS"
41339 ac_save_CXXFLAGS="$CXXFLAGS"
41340 ac_save_LIBS="$LIBS"
41341 CFLAGS="$CFLAGS $SDL_CFLAGS"
41342 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41343 LIBS="$LIBS $SDL_LIBS"
41344 rm -f conf.sdltest
41345 if test "$cross_compiling" = yes; then
41346 echo $ac_n "cross compiling; assumed OK... $ac_c"
41347 else
41348 cat >conftest.$ac_ext <<_ACEOF
41349 /* confdefs.h. */
41350 _ACEOF
41351 cat confdefs.h >>conftest.$ac_ext
41352 cat >>conftest.$ac_ext <<_ACEOF
41353 /* end confdefs.h. */
41354
41355 #include <stdio.h>
41356 #include <stdlib.h>
41357 #include <string.h>
41358 #include "SDL.h"
41359
41360 char*
41361 my_strdup (char *str)
41362 {
41363 char *new_str;
41364
41365 if (str)
41366 {
41367 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41368 strcpy (new_str, str);
41369 }
41370 else
41371 new_str = NULL;
41372
41373 return new_str;
41374 }
41375
41376 int main (int argc, char *argv[])
41377 {
41378 int major, minor, micro;
41379 char *tmp_version;
41380
41381 /* This hangs on some systems (?)
41382 system ("touch conf.sdltest");
41383 */
41384 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41385
41386 /* HP/UX 9 (%@#!) writes to sscanf strings */
41387 tmp_version = my_strdup("$min_sdl_version");
41388 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41389 printf("%s, bad version string\n", "$min_sdl_version");
41390 exit(1);
41391 }
41392
41393 if (($sdl_major_version > major) ||
41394 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41395 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41396 {
41397 return 0;
41398 }
41399 else
41400 {
41401 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41402 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41403 printf("*** best to upgrade to the required version.\n");
41404 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41405 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41406 printf("*** config.cache before re-running configure\n");
41407 return 1;
41408 }
41409 }
41410
41411
41412 _ACEOF
41413 rm -f conftest$ac_exeext
41414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41415 (eval $ac_link) 2>&5
41416 ac_status=$?
41417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41420 (eval $ac_try) 2>&5
41421 ac_status=$?
41422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423 (exit $ac_status); }; }; then
41424 :
41425 else
41426 echo "$as_me: program exited with status $ac_status" >&5
41427 echo "$as_me: failed program was:" >&5
41428 sed 's/^/| /' conftest.$ac_ext >&5
41429
41430 ( exit $ac_status )
41431 no_sdl=yes
41432 fi
41433 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41434 fi
41435 CFLAGS="$ac_save_CFLAGS"
41436 CXXFLAGS="$ac_save_CXXFLAGS"
41437 LIBS="$ac_save_LIBS"
41438 fi
41439 fi
41440 if test "x$no_sdl" = x ; then
41441 echo "$as_me:$LINENO: result: yes" >&5
41442 echo "${ECHO_T}yes" >&6
41443
41444 EXTRALIBS_SDL="$SDL_LIBS"
41445 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41446 cat >>confdefs.h <<\_ACEOF
41447 #define wxUSE_LIBSDL 1
41448 _ACEOF
41449
41450
41451 else
41452 echo "$as_me:$LINENO: result: no" >&5
41453 echo "${ECHO_T}no" >&6
41454 if test "$SDL_CONFIG" = "no" ; then
41455 echo "*** The sdl-config script installed by SDL could not be found"
41456 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41457 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41458 echo "*** full path to sdl-config."
41459 else
41460 if test -f conf.sdltest ; then
41461 :
41462 else
41463 echo "*** Could not run SDL test program, checking why..."
41464 CFLAGS="$CFLAGS $SDL_CFLAGS"
41465 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41466 LIBS="$LIBS $SDL_LIBS"
41467 cat >conftest.$ac_ext <<_ACEOF
41468 /* confdefs.h. */
41469 _ACEOF
41470 cat confdefs.h >>conftest.$ac_ext
41471 cat >>conftest.$ac_ext <<_ACEOF
41472 /* end confdefs.h. */
41473
41474 #include <stdio.h>
41475 #include "SDL.h"
41476
41477 int main(int argc, char *argv[])
41478 { return 0; }
41479 #undef main
41480 #define main K_and_R_C_main
41481
41482 int
41483 main ()
41484 {
41485 return 0;
41486 ;
41487 return 0;
41488 }
41489 _ACEOF
41490 rm -f conftest.$ac_objext conftest$ac_exeext
41491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41492 (eval $ac_link) 2>conftest.er1
41493 ac_status=$?
41494 grep -v '^ *+' conftest.er1 >conftest.err
41495 rm -f conftest.er1
41496 cat conftest.err >&5
41497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41498 (exit $ac_status); } &&
41499 { ac_try='test -z "$ac_cxx_werror_flag"
41500 || test ! -s conftest.err'
41501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41502 (eval $ac_try) 2>&5
41503 ac_status=$?
41504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41505 (exit $ac_status); }; } &&
41506 { ac_try='test -s conftest$ac_exeext'
41507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41508 (eval $ac_try) 2>&5
41509 ac_status=$?
41510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41511 (exit $ac_status); }; }; then
41512 echo "*** The test program compiled, but did not run. This usually means"
41513 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41514 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41515 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41516 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41517 echo "*** is required on your system"
41518 echo "***"
41519 echo "*** If you have an old version installed, it is best to remove it, although"
41520 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41521 else
41522 echo "$as_me: failed program was:" >&5
41523 sed 's/^/| /' conftest.$ac_ext >&5
41524
41525 echo "*** The test program failed to compile or link. See the file config.log for the"
41526 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41527 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41528 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41529 fi
41530 rm -f conftest.err conftest.$ac_objext \
41531 conftest$ac_exeext conftest.$ac_ext
41532 CFLAGS="$ac_save_CFLAGS"
41533 CXXFLAGS="$ac_save_CXXFLAGS"
41534 LIBS="$ac_save_LIBS"
41535 fi
41536 fi
41537 SDL_CFLAGS=""
41538 SDL_LIBS=""
41539 wxUSE_LIBSDL="no"
41540 fi
41541
41542
41543 rm -f conf.sdltest
41544
41545 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41546 WITH_PLUGIN_SDL=1
41547 fi
41548 fi
41549 fi
41550
41551 cat >>confdefs.h <<\_ACEOF
41552 #define wxUSE_SOUND 1
41553 _ACEOF
41554
41555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41556 fi
41557
41558 if test "$WXGTK20" = 1; then
41559 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41560 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41561
41562
41563 succeeded=no
41564
41565 if test -z "$PKG_CONFIG"; then
41566 # Extract the first word of "pkg-config", so it can be a program name with args.
41567 set dummy pkg-config; ac_word=$2
41568 echo "$as_me:$LINENO: checking for $ac_word" >&5
41569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41570 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41571 echo $ECHO_N "(cached) $ECHO_C" >&6
41572 else
41573 case $PKG_CONFIG in
41574 [\\/]* | ?:[\\/]*)
41575 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41576 ;;
41577 *)
41578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41579 for as_dir in $PATH
41580 do
41581 IFS=$as_save_IFS
41582 test -z "$as_dir" && as_dir=.
41583 for ac_exec_ext in '' $ac_executable_extensions; do
41584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41585 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41587 break 2
41588 fi
41589 done
41590 done
41591
41592 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41593 ;;
41594 esac
41595 fi
41596 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41597
41598 if test -n "$PKG_CONFIG"; then
41599 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41600 echo "${ECHO_T}$PKG_CONFIG" >&6
41601 else
41602 echo "$as_me:$LINENO: result: no" >&5
41603 echo "${ECHO_T}no" >&6
41604 fi
41605
41606 fi
41607
41608 if test "$PKG_CONFIG" = "no" ; then
41609 echo "*** The pkg-config script could not be found. Make sure it is"
41610 echo "*** in your path, or set the PKG_CONFIG environment variable"
41611 echo "*** to the full path to pkg-config."
41612 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41613 else
41614 PKG_CONFIG_MIN_VERSION=0.9.0
41615 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41616 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
41617 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
41618
41619 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
41620 echo "$as_me:$LINENO: result: yes" >&5
41621 echo "${ECHO_T}yes" >&6
41622 succeeded=yes
41623
41624 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
41625 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
41626 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
41627 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
41628 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
41629
41630 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
41631 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
41632 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
41633 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
41634 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
41635 else
41636 LIBGNOMEPRINTUI_CFLAGS=""
41637 LIBGNOMEPRINTUI_LIBS=""
41638 ## If we have a custom action on failure, don't print errors, but
41639 ## do set a variable so people can do so.
41640 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41641
41642 fi
41643
41644
41645
41646 else
41647 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41648 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41649 fi
41650 fi
41651
41652 if test $succeeded = yes; then
41653
41654 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41655 cat >>confdefs.h <<\_ACEOF
41656 #define wxUSE_LIBGNOMEPRINT 1
41657 _ACEOF
41658
41659
41660 else
41661
41662 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41663 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41664 wxUSE_LIBGNOMEPRINT="no"
41665
41666
41667 fi
41668
41669 fi
41670 fi
41671 fi
41672
41673 if test "$WXGTK20" = 1; then
41674 if test "$wxUSE_MIMETYPE" = "yes" ; then
41675 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41676
41677
41678 succeeded=no
41679
41680 if test -z "$PKG_CONFIG"; then
41681 # Extract the first word of "pkg-config", so it can be a program name with args.
41682 set dummy pkg-config; ac_word=$2
41683 echo "$as_me:$LINENO: checking for $ac_word" >&5
41684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41685 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41686 echo $ECHO_N "(cached) $ECHO_C" >&6
41687 else
41688 case $PKG_CONFIG in
41689 [\\/]* | ?:[\\/]*)
41690 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41691 ;;
41692 *)
41693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41694 for as_dir in $PATH
41695 do
41696 IFS=$as_save_IFS
41697 test -z "$as_dir" && as_dir=.
41698 for ac_exec_ext in '' $ac_executable_extensions; do
41699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41700 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41702 break 2
41703 fi
41704 done
41705 done
41706
41707 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41708 ;;
41709 esac
41710 fi
41711 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41712
41713 if test -n "$PKG_CONFIG"; then
41714 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41715 echo "${ECHO_T}$PKG_CONFIG" >&6
41716 else
41717 echo "$as_me:$LINENO: result: no" >&5
41718 echo "${ECHO_T}no" >&6
41719 fi
41720
41721 fi
41722
41723 if test "$PKG_CONFIG" = "no" ; then
41724 echo "*** The pkg-config script could not be found. Make sure it is"
41725 echo "*** in your path, or set the PKG_CONFIG environment variable"
41726 echo "*** to the full path to pkg-config."
41727 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41728 else
41729 PKG_CONFIG_MIN_VERSION=0.9.0
41730 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41731 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41732 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41733
41734 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41735 echo "$as_me:$LINENO: result: yes" >&5
41736 echo "${ECHO_T}yes" >&6
41737 succeeded=yes
41738
41739 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41740 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41741 GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41742 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41743 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41744
41745 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41746 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41747 GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41748 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41749 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41750 else
41751 GNOMEVFS_CFLAGS=""
41752 GNOMEVFS_LIBS=""
41753 ## If we have a custom action on failure, don't print errors, but
41754 ## do set a variable so people can do so.
41755 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41756
41757 fi
41758
41759
41760
41761 else
41762 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41763 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41764 fi
41765 fi
41766
41767 if test $succeeded = yes; then
41768
41769 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41770 cat >>confdefs.h <<\_ACEOF
41771 #define wxUSE_LIBGNOMEVFS 1
41772 _ACEOF
41773
41774
41775 else
41776
41777 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41778 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41779 wxUSE_LIBGNOMEVFS="no"
41780
41781
41782 fi
41783
41784 fi
41785 fi
41786 fi
41787
41788 if test "$WXGTK20" = 1; then
41789 if test "$wxUSE_LIBHILDON" = "yes" ; then
41790
41791 succeeded=no
41792
41793 if test -z "$PKG_CONFIG"; then
41794 # Extract the first word of "pkg-config", so it can be a program name with args.
41795 set dummy pkg-config; ac_word=$2
41796 echo "$as_me:$LINENO: checking for $ac_word" >&5
41797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41798 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41799 echo $ECHO_N "(cached) $ECHO_C" >&6
41800 else
41801 case $PKG_CONFIG in
41802 [\\/]* | ?:[\\/]*)
41803 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41804 ;;
41805 *)
41806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41807 for as_dir in $PATH
41808 do
41809 IFS=$as_save_IFS
41810 test -z "$as_dir" && as_dir=.
41811 for ac_exec_ext in '' $ac_executable_extensions; do
41812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41813 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41815 break 2
41816 fi
41817 done
41818 done
41819
41820 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41821 ;;
41822 esac
41823 fi
41824 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41825
41826 if test -n "$PKG_CONFIG"; then
41827 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41828 echo "${ECHO_T}$PKG_CONFIG" >&6
41829 else
41830 echo "$as_me:$LINENO: result: no" >&5
41831 echo "${ECHO_T}no" >&6
41832 fi
41833
41834 fi
41835
41836 if test "$PKG_CONFIG" = "no" ; then
41837 echo "*** The pkg-config script could not be found. Make sure it is"
41838 echo "*** in your path, or set the PKG_CONFIG environment variable"
41839 echo "*** to the full path to pkg-config."
41840 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41841 else
41842 PKG_CONFIG_MIN_VERSION=0.9.0
41843 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41844 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41845 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41846
41847 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41848 echo "$as_me:$LINENO: result: yes" >&5
41849 echo "${ECHO_T}yes" >&6
41850 succeeded=yes
41851
41852 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41853 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41854 HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41855 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41856 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41857
41858 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41859 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41860 HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41861 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41862 echo "${ECHO_T}$HILDON_LIBS" >&6
41863 else
41864 HILDON_CFLAGS=""
41865 HILDON_LIBS=""
41866 ## If we have a custom action on failure, don't print errors, but
41867 ## do set a variable so people can do so.
41868 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41869
41870 fi
41871
41872
41873
41874 else
41875 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41876 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41877 fi
41878 fi
41879
41880 if test $succeeded = yes; then
41881
41882 EXTRALIBS_HILDON="$HILDON_LIBS"
41883 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41884 cat >>confdefs.h <<\_ACEOF
41885 #define wxUSE_LIBHILDON 1
41886 _ACEOF
41887
41888
41889 else
41890
41891 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41892 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41893 wxUSE_LIBHILDON="no"
41894
41895
41896 fi
41897
41898 fi
41899 fi
41900
41901 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41902 cat >>confdefs.h <<\_ACEOF
41903 #define wxUSE_CMDLINE_PARSER 1
41904 _ACEOF
41905
41906 fi
41907
41908 if test "$wxUSE_STOPWATCH" = "yes"; then
41909 cat >>confdefs.h <<\_ACEOF
41910 #define wxUSE_STOPWATCH 1
41911 _ACEOF
41912
41913 fi
41914
41915 if test "$wxUSE_DATETIME" = "yes"; then
41916 cat >>confdefs.h <<\_ACEOF
41917 #define wxUSE_DATETIME 1
41918 _ACEOF
41919
41920 fi
41921
41922 if test "$wxUSE_FILE" = "yes"; then
41923 cat >>confdefs.h <<\_ACEOF
41924 #define wxUSE_FILE 1
41925 _ACEOF
41926
41927 fi
41928
41929 if test "$wxUSE_FFILE" = "yes"; then
41930 cat >>confdefs.h <<\_ACEOF
41931 #define wxUSE_FFILE 1
41932 _ACEOF
41933
41934 fi
41935
41936 if test "$wxUSE_FILESYSTEM" = "yes"; then
41937 cat >>confdefs.h <<\_ACEOF
41938 #define wxUSE_FILESYSTEM 1
41939 _ACEOF
41940
41941 fi
41942
41943 if test "$wxUSE_FS_ZIP" = "yes"; then
41944 cat >>confdefs.h <<\_ACEOF
41945 #define wxUSE_FS_ZIP 1
41946 _ACEOF
41947
41948 fi
41949
41950 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41951 cat >>confdefs.h <<\_ACEOF
41952 #define wxUSE_ARCHIVE_STREAMS 1
41953 _ACEOF
41954
41955 fi
41956
41957 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41958 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41959 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41960 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41961 elif test "$wxUSE_ZLIB" = "no"; then
41962 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41963 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41964 else
41965 cat >>confdefs.h <<\_ACEOF
41966 #define wxUSE_ZIPSTREAM 1
41967 _ACEOF
41968
41969 fi
41970 fi
41971
41972 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41973 if test "$USE_UNIX" != 1; then
41974 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41975 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41976 wxUSE_ON_FATAL_EXCEPTION=no
41977 else
41978 cat >>confdefs.h <<\_ACEOF
41979 #define wxUSE_ON_FATAL_EXCEPTION 1
41980 _ACEOF
41981
41982 fi
41983 fi
41984
41985 if test "$wxUSE_STACKWALKER" = "yes"; then
41986 cat >>confdefs.h <<\_ACEOF
41987 #define wxUSE_STACKWALKER 1
41988 _ACEOF
41989
41990 fi
41991
41992 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41993 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41994 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41995 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41996 wxUSE_DEBUGREPORT=no
41997 else
41998 cat >>confdefs.h <<\_ACEOF
41999 #define wxUSE_DEBUGREPORT 1
42000 _ACEOF
42001
42002 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42004 fi
42005 fi
42006 fi
42007
42008 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42009 cat >>confdefs.h <<\_ACEOF
42010 #define wxUSE_SNGLINST_CHECKER 1
42011 _ACEOF
42012
42013 fi
42014
42015 if test "$wxUSE_BUSYINFO" = "yes"; then
42016 cat >>confdefs.h <<\_ACEOF
42017 #define wxUSE_BUSYINFO 1
42018 _ACEOF
42019
42020 fi
42021
42022 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42023 cat >>confdefs.h <<\_ACEOF
42024 #define wxUSE_STD_IOSTREAM 1
42025 _ACEOF
42026
42027 fi
42028
42029 if test "$wxUSE_STD_STRING" = "yes"; then
42030 cat >>confdefs.h <<\_ACEOF
42031 #define wxUSE_STD_STRING 1
42032 _ACEOF
42033
42034 fi
42035
42036 if test "$wxUSE_STDPATHS" = "yes"; then
42037 cat >>confdefs.h <<\_ACEOF
42038 #define wxUSE_STDPATHS 1
42039 _ACEOF
42040
42041 fi
42042
42043 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42044 cat >>confdefs.h <<\_ACEOF
42045 #define wxUSE_TEXTBUFFER 1
42046 _ACEOF
42047
42048 fi
42049
42050 if test "$wxUSE_TEXTFILE" = "yes"; then
42051 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42052 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42053 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42054 else
42055 cat >>confdefs.h <<\_ACEOF
42056 #define wxUSE_TEXTFILE 1
42057 _ACEOF
42058
42059 fi
42060 fi
42061
42062 if test "$wxUSE_CONFIG" = "yes" ; then
42063 if test "$wxUSE_TEXTFILE" != "yes"; then
42064 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42065 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42066 else
42067 cat >>confdefs.h <<\_ACEOF
42068 #define wxUSE_CONFIG 1
42069 _ACEOF
42070
42071 cat >>confdefs.h <<\_ACEOF
42072 #define wxUSE_CONFIG_NATIVE 1
42073 _ACEOF
42074
42075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42076 fi
42077 fi
42078
42079 if test "$wxUSE_INTL" = "yes" ; then
42080 if test "$wxUSE_FILE" != "yes"; then
42081 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42082 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42083 else
42084 cat >>confdefs.h <<\_ACEOF
42085 #define wxUSE_INTL 1
42086 _ACEOF
42087
42088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42089 GUIDIST="$GUIDIST INTL_DIST"
42090 fi
42091 fi
42092
42093 if test "$wxUSE_LOG" = "yes"; then
42094 cat >>confdefs.h <<\_ACEOF
42095 #define wxUSE_LOG 1
42096 _ACEOF
42097
42098
42099 if test "$wxUSE_LOGGUI" = "yes"; then
42100 cat >>confdefs.h <<\_ACEOF
42101 #define wxUSE_LOGGUI 1
42102 _ACEOF
42103
42104 fi
42105
42106 if test "$wxUSE_LOGWINDOW" = "yes"; then
42107 cat >>confdefs.h <<\_ACEOF
42108 #define wxUSE_LOGWINDOW 1
42109 _ACEOF
42110
42111 fi
42112
42113 if test "$wxUSE_LOGDIALOG" = "yes"; then
42114 cat >>confdefs.h <<\_ACEOF
42115 #define wxUSE_LOG_DIALOG 1
42116 _ACEOF
42117
42118 fi
42119
42120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42121 fi
42122
42123 if test "$wxUSE_LONGLONG" = "yes"; then
42124 cat >>confdefs.h <<\_ACEOF
42125 #define wxUSE_LONGLONG 1
42126 _ACEOF
42127
42128 fi
42129
42130 if test "$wxUSE_GEOMETRY" = "yes"; then
42131 cat >>confdefs.h <<\_ACEOF
42132 #define wxUSE_GEOMETRY 1
42133 _ACEOF
42134
42135 fi
42136
42137 if test "$wxUSE_STREAMS" = "yes" ; then
42138 cat >>confdefs.h <<\_ACEOF
42139 #define wxUSE_STREAMS 1
42140 _ACEOF
42141
42142 fi
42143
42144
42145 if test "$wxUSE_DATETIME" = "yes"; then
42146
42147 for ac_func in strptime
42148 do
42149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42150 echo "$as_me:$LINENO: checking for $ac_func" >&5
42151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42152 if eval "test \"\${$as_ac_var+set}\" = set"; then
42153 echo $ECHO_N "(cached) $ECHO_C" >&6
42154 else
42155 cat >conftest.$ac_ext <<_ACEOF
42156 /* confdefs.h. */
42157 _ACEOF
42158 cat confdefs.h >>conftest.$ac_ext
42159 cat >>conftest.$ac_ext <<_ACEOF
42160 /* end confdefs.h. */
42161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42163 #define $ac_func innocuous_$ac_func
42164
42165 /* System header to define __stub macros and hopefully few prototypes,
42166 which can conflict with char $ac_func (); below.
42167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42168 <limits.h> exists even on freestanding compilers. */
42169
42170 #ifdef __STDC__
42171 # include <limits.h>
42172 #else
42173 # include <assert.h>
42174 #endif
42175
42176 #undef $ac_func
42177
42178 /* Override any gcc2 internal prototype to avoid an error. */
42179 #ifdef __cplusplus
42180 extern "C"
42181 {
42182 #endif
42183 /* We use char because int might match the return type of a gcc2
42184 builtin and then its argument prototype would still apply. */
42185 char $ac_func ();
42186 /* The GNU C library defines this for functions which it implements
42187 to always fail with ENOSYS. Some functions are actually named
42188 something starting with __ and the normal name is an alias. */
42189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42190 choke me
42191 #else
42192 char (*f) () = $ac_func;
42193 #endif
42194 #ifdef __cplusplus
42195 }
42196 #endif
42197
42198 int
42199 main ()
42200 {
42201 return f != $ac_func;
42202 ;
42203 return 0;
42204 }
42205 _ACEOF
42206 rm -f conftest.$ac_objext conftest$ac_exeext
42207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42208 (eval $ac_link) 2>conftest.er1
42209 ac_status=$?
42210 grep -v '^ *+' conftest.er1 >conftest.err
42211 rm -f conftest.er1
42212 cat conftest.err >&5
42213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42214 (exit $ac_status); } &&
42215 { ac_try='test -z "$ac_cxx_werror_flag"
42216 || test ! -s conftest.err'
42217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42218 (eval $ac_try) 2>&5
42219 ac_status=$?
42220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42221 (exit $ac_status); }; } &&
42222 { ac_try='test -s conftest$ac_exeext'
42223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42224 (eval $ac_try) 2>&5
42225 ac_status=$?
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); }; }; then
42228 eval "$as_ac_var=yes"
42229 else
42230 echo "$as_me: failed program was:" >&5
42231 sed 's/^/| /' conftest.$ac_ext >&5
42232
42233 eval "$as_ac_var=no"
42234 fi
42235 rm -f conftest.err conftest.$ac_objext \
42236 conftest$ac_exeext conftest.$ac_ext
42237 fi
42238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42240 if test `eval echo '${'$as_ac_var'}'` = yes; then
42241 cat >>confdefs.h <<_ACEOF
42242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42243 _ACEOF
42244
42245 fi
42246 done
42247
42248 if test "$ac_cv_func_strptime" = "yes"; then
42249 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42250 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42251 if test "${wx_cv_func_strptime_decl+set}" = set; then
42252 echo $ECHO_N "(cached) $ECHO_C" >&6
42253 else
42254
42255 cat >conftest.$ac_ext <<_ACEOF
42256 /* confdefs.h. */
42257 _ACEOF
42258 cat confdefs.h >>conftest.$ac_ext
42259 cat >>conftest.$ac_ext <<_ACEOF
42260 /* end confdefs.h. */
42261
42262 #include <time.h>
42263
42264 int
42265 main ()
42266 {
42267
42268 struct tm t;
42269 strptime("foo", "bar", &t);
42270
42271 ;
42272 return 0;
42273 }
42274 _ACEOF
42275 rm -f conftest.$ac_objext
42276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42277 (eval $ac_compile) 2>conftest.er1
42278 ac_status=$?
42279 grep -v '^ *+' conftest.er1 >conftest.err
42280 rm -f conftest.er1
42281 cat conftest.err >&5
42282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42283 (exit $ac_status); } &&
42284 { ac_try='test -z "$ac_cxx_werror_flag"
42285 || test ! -s conftest.err'
42286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42287 (eval $ac_try) 2>&5
42288 ac_status=$?
42289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42290 (exit $ac_status); }; } &&
42291 { ac_try='test -s conftest.$ac_objext'
42292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42293 (eval $ac_try) 2>&5
42294 ac_status=$?
42295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42296 (exit $ac_status); }; }; then
42297 wx_cv_func_strptime_decl=yes
42298 else
42299 echo "$as_me: failed program was:" >&5
42300 sed 's/^/| /' conftest.$ac_ext >&5
42301
42302 wx_cv_func_strptime_decl=no
42303
42304 fi
42305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42306
42307
42308 fi
42309 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42310 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42311 fi
42312 if test "$wx_cv_func_strptime_decl" = "yes"; then
42313 cat >>confdefs.h <<\_ACEOF
42314 #define HAVE_STRPTIME_DECL 1
42315 _ACEOF
42316
42317 fi
42318
42319 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42320 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42321 if test "${wx_cv_var_timezone+set}" = set; then
42322 echo $ECHO_N "(cached) $ECHO_C" >&6
42323 else
42324
42325 cat >conftest.$ac_ext <<_ACEOF
42326 /* confdefs.h. */
42327 _ACEOF
42328 cat confdefs.h >>conftest.$ac_ext
42329 cat >>conftest.$ac_ext <<_ACEOF
42330 /* end confdefs.h. */
42331
42332 #include <time.h>
42333
42334 int
42335 main ()
42336 {
42337
42338 int tz;
42339 tz = timezone;
42340
42341 ;
42342 return 0;
42343 }
42344 _ACEOF
42345 rm -f conftest.$ac_objext
42346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42347 (eval $ac_compile) 2>conftest.er1
42348 ac_status=$?
42349 grep -v '^ *+' conftest.er1 >conftest.err
42350 rm -f conftest.er1
42351 cat conftest.err >&5
42352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353 (exit $ac_status); } &&
42354 { ac_try='test -z "$ac_cxx_werror_flag"
42355 || test ! -s conftest.err'
42356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42357 (eval $ac_try) 2>&5
42358 ac_status=$?
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); }; } &&
42361 { ac_try='test -s conftest.$ac_objext'
42362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42363 (eval $ac_try) 2>&5
42364 ac_status=$?
42365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366 (exit $ac_status); }; }; then
42367
42368 wx_cv_var_timezone=timezone
42369
42370 else
42371 echo "$as_me: failed program was:" >&5
42372 sed 's/^/| /' conftest.$ac_ext >&5
42373
42374
42375 cat >conftest.$ac_ext <<_ACEOF
42376 /* confdefs.h. */
42377 _ACEOF
42378 cat confdefs.h >>conftest.$ac_ext
42379 cat >>conftest.$ac_ext <<_ACEOF
42380 /* end confdefs.h. */
42381
42382 #include <time.h>
42383
42384 int
42385 main ()
42386 {
42387
42388 int tz;
42389 tz = _timezone;
42390
42391 ;
42392 return 0;
42393 }
42394 _ACEOF
42395 rm -f conftest.$ac_objext
42396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42397 (eval $ac_compile) 2>conftest.er1
42398 ac_status=$?
42399 grep -v '^ *+' conftest.er1 >conftest.err
42400 rm -f conftest.er1
42401 cat conftest.err >&5
42402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42403 (exit $ac_status); } &&
42404 { ac_try='test -z "$ac_cxx_werror_flag"
42405 || test ! -s conftest.err'
42406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42407 (eval $ac_try) 2>&5
42408 ac_status=$?
42409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410 (exit $ac_status); }; } &&
42411 { ac_try='test -s conftest.$ac_objext'
42412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42413 (eval $ac_try) 2>&5
42414 ac_status=$?
42415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416 (exit $ac_status); }; }; then
42417
42418 wx_cv_var_timezone=_timezone
42419
42420 else
42421 echo "$as_me: failed program was:" >&5
42422 sed 's/^/| /' conftest.$ac_ext >&5
42423
42424
42425 cat >conftest.$ac_ext <<_ACEOF
42426 /* confdefs.h. */
42427 _ACEOF
42428 cat confdefs.h >>conftest.$ac_ext
42429 cat >>conftest.$ac_ext <<_ACEOF
42430 /* end confdefs.h. */
42431
42432 #include <time.h>
42433
42434 int
42435 main ()
42436 {
42437
42438 int tz;
42439 tz = __timezone;
42440
42441 ;
42442 return 0;
42443 }
42444 _ACEOF
42445 rm -f conftest.$ac_objext
42446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42447 (eval $ac_compile) 2>conftest.er1
42448 ac_status=$?
42449 grep -v '^ *+' conftest.er1 >conftest.err
42450 rm -f conftest.er1
42451 cat conftest.err >&5
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); } &&
42454 { ac_try='test -z "$ac_cxx_werror_flag"
42455 || test ! -s conftest.err'
42456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42457 (eval $ac_try) 2>&5
42458 ac_status=$?
42459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42460 (exit $ac_status); }; } &&
42461 { ac_try='test -s conftest.$ac_objext'
42462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42463 (eval $ac_try) 2>&5
42464 ac_status=$?
42465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42466 (exit $ac_status); }; }; then
42467
42468 wx_cv_var_timezone=__timezone
42469
42470 else
42471 echo "$as_me: failed program was:" >&5
42472 sed 's/^/| /' conftest.$ac_ext >&5
42473
42474
42475 if test "$USE_DOS" = 0 ; then
42476 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42477 echo "$as_me: WARNING: no timezone variable" >&2;}
42478 fi
42479
42480
42481 fi
42482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42483
42484
42485 fi
42486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42487
42488
42489 fi
42490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42491
42492
42493 fi
42494 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42495 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42496
42497 if test "x$wx_cv_var_timezone" != x ; then
42498 cat >>confdefs.h <<_ACEOF
42499 #define WX_TIMEZONE $wx_cv_var_timezone
42500 _ACEOF
42501
42502 fi
42503
42504
42505 for ac_func in localtime
42506 do
42507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42508 echo "$as_me:$LINENO: checking for $ac_func" >&5
42509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42510 if eval "test \"\${$as_ac_var+set}\" = set"; then
42511 echo $ECHO_N "(cached) $ECHO_C" >&6
42512 else
42513 cat >conftest.$ac_ext <<_ACEOF
42514 /* confdefs.h. */
42515 _ACEOF
42516 cat confdefs.h >>conftest.$ac_ext
42517 cat >>conftest.$ac_ext <<_ACEOF
42518 /* end confdefs.h. */
42519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42521 #define $ac_func innocuous_$ac_func
42522
42523 /* System header to define __stub macros and hopefully few prototypes,
42524 which can conflict with char $ac_func (); below.
42525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42526 <limits.h> exists even on freestanding compilers. */
42527
42528 #ifdef __STDC__
42529 # include <limits.h>
42530 #else
42531 # include <assert.h>
42532 #endif
42533
42534 #undef $ac_func
42535
42536 /* Override any gcc2 internal prototype to avoid an error. */
42537 #ifdef __cplusplus
42538 extern "C"
42539 {
42540 #endif
42541 /* We use char because int might match the return type of a gcc2
42542 builtin and then its argument prototype would still apply. */
42543 char $ac_func ();
42544 /* The GNU C library defines this for functions which it implements
42545 to always fail with ENOSYS. Some functions are actually named
42546 something starting with __ and the normal name is an alias. */
42547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42548 choke me
42549 #else
42550 char (*f) () = $ac_func;
42551 #endif
42552 #ifdef __cplusplus
42553 }
42554 #endif
42555
42556 int
42557 main ()
42558 {
42559 return f != $ac_func;
42560 ;
42561 return 0;
42562 }
42563 _ACEOF
42564 rm -f conftest.$ac_objext conftest$ac_exeext
42565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42566 (eval $ac_link) 2>conftest.er1
42567 ac_status=$?
42568 grep -v '^ *+' conftest.er1 >conftest.err
42569 rm -f conftest.er1
42570 cat conftest.err >&5
42571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42572 (exit $ac_status); } &&
42573 { ac_try='test -z "$ac_cxx_werror_flag"
42574 || test ! -s conftest.err'
42575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42576 (eval $ac_try) 2>&5
42577 ac_status=$?
42578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42579 (exit $ac_status); }; } &&
42580 { ac_try='test -s conftest$ac_exeext'
42581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42582 (eval $ac_try) 2>&5
42583 ac_status=$?
42584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42585 (exit $ac_status); }; }; then
42586 eval "$as_ac_var=yes"
42587 else
42588 echo "$as_me: failed program was:" >&5
42589 sed 's/^/| /' conftest.$ac_ext >&5
42590
42591 eval "$as_ac_var=no"
42592 fi
42593 rm -f conftest.err conftest.$ac_objext \
42594 conftest$ac_exeext conftest.$ac_ext
42595 fi
42596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42598 if test `eval echo '${'$as_ac_var'}'` = yes; then
42599 cat >>confdefs.h <<_ACEOF
42600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42601 _ACEOF
42602
42603 fi
42604 done
42605
42606
42607 if test "$ac_cv_func_localtime" = "yes"; then
42608 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42609 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42610 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42611 echo $ECHO_N "(cached) $ECHO_C" >&6
42612 else
42613
42614 cat >conftest.$ac_ext <<_ACEOF
42615 /* confdefs.h. */
42616 _ACEOF
42617 cat confdefs.h >>conftest.$ac_ext
42618 cat >>conftest.$ac_ext <<_ACEOF
42619 /* end confdefs.h. */
42620
42621 #include <time.h>
42622
42623 int
42624 main ()
42625 {
42626
42627 struct tm tm;
42628 tm.tm_gmtoff++;
42629
42630 ;
42631 return 0;
42632 }
42633 _ACEOF
42634 rm -f conftest.$ac_objext
42635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42636 (eval $ac_compile) 2>conftest.er1
42637 ac_status=$?
42638 grep -v '^ *+' conftest.er1 >conftest.err
42639 rm -f conftest.er1
42640 cat conftest.err >&5
42641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42642 (exit $ac_status); } &&
42643 { ac_try='test -z "$ac_cxx_werror_flag"
42644 || test ! -s conftest.err'
42645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42646 (eval $ac_try) 2>&5
42647 ac_status=$?
42648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42649 (exit $ac_status); }; } &&
42650 { ac_try='test -s conftest.$ac_objext'
42651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42652 (eval $ac_try) 2>&5
42653 ac_status=$?
42654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42655 (exit $ac_status); }; }; then
42656
42657 wx_cv_struct_tm_has_gmtoff=yes
42658
42659 else
42660 echo "$as_me: failed program was:" >&5
42661 sed 's/^/| /' conftest.$ac_ext >&5
42662
42663 wx_cv_struct_tm_has_gmtoff=no
42664
42665 fi
42666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42667
42668 fi
42669 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42670 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42671 fi
42672
42673 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42674 cat >>confdefs.h <<\_ACEOF
42675 #define WX_GMTOFF_IN_TM 1
42676 _ACEOF
42677
42678 fi
42679
42680
42681
42682 for ac_func in gettimeofday ftime
42683 do
42684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42685 echo "$as_me:$LINENO: checking for $ac_func" >&5
42686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42687 if eval "test \"\${$as_ac_var+set}\" = set"; then
42688 echo $ECHO_N "(cached) $ECHO_C" >&6
42689 else
42690 cat >conftest.$ac_ext <<_ACEOF
42691 /* confdefs.h. */
42692 _ACEOF
42693 cat confdefs.h >>conftest.$ac_ext
42694 cat >>conftest.$ac_ext <<_ACEOF
42695 /* end confdefs.h. */
42696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42698 #define $ac_func innocuous_$ac_func
42699
42700 /* System header to define __stub macros and hopefully few prototypes,
42701 which can conflict with char $ac_func (); below.
42702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42703 <limits.h> exists even on freestanding compilers. */
42704
42705 #ifdef __STDC__
42706 # include <limits.h>
42707 #else
42708 # include <assert.h>
42709 #endif
42710
42711 #undef $ac_func
42712
42713 /* Override any gcc2 internal prototype to avoid an error. */
42714 #ifdef __cplusplus
42715 extern "C"
42716 {
42717 #endif
42718 /* We use char because int might match the return type of a gcc2
42719 builtin and then its argument prototype would still apply. */
42720 char $ac_func ();
42721 /* The GNU C library defines this for functions which it implements
42722 to always fail with ENOSYS. Some functions are actually named
42723 something starting with __ and the normal name is an alias. */
42724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42725 choke me
42726 #else
42727 char (*f) () = $ac_func;
42728 #endif
42729 #ifdef __cplusplus
42730 }
42731 #endif
42732
42733 int
42734 main ()
42735 {
42736 return f != $ac_func;
42737 ;
42738 return 0;
42739 }
42740 _ACEOF
42741 rm -f conftest.$ac_objext conftest$ac_exeext
42742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42743 (eval $ac_link) 2>conftest.er1
42744 ac_status=$?
42745 grep -v '^ *+' conftest.er1 >conftest.err
42746 rm -f conftest.er1
42747 cat conftest.err >&5
42748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42749 (exit $ac_status); } &&
42750 { ac_try='test -z "$ac_cxx_werror_flag"
42751 || test ! -s conftest.err'
42752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42753 (eval $ac_try) 2>&5
42754 ac_status=$?
42755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756 (exit $ac_status); }; } &&
42757 { ac_try='test -s conftest$ac_exeext'
42758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42759 (eval $ac_try) 2>&5
42760 ac_status=$?
42761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42762 (exit $ac_status); }; }; then
42763 eval "$as_ac_var=yes"
42764 else
42765 echo "$as_me: failed program was:" >&5
42766 sed 's/^/| /' conftest.$ac_ext >&5
42767
42768 eval "$as_ac_var=no"
42769 fi
42770 rm -f conftest.err conftest.$ac_objext \
42771 conftest$ac_exeext conftest.$ac_ext
42772 fi
42773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42775 if test `eval echo '${'$as_ac_var'}'` = yes; then
42776 cat >>confdefs.h <<_ACEOF
42777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42778 _ACEOF
42779 break
42780 fi
42781 done
42782
42783
42784 if test "$ac_cv_func_gettimeofday" = "yes"; then
42785 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42786 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42787 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42788 echo $ECHO_N "(cached) $ECHO_C" >&6
42789 else
42790
42791 cat >conftest.$ac_ext <<_ACEOF
42792 /* confdefs.h. */
42793 _ACEOF
42794 cat confdefs.h >>conftest.$ac_ext
42795 cat >>conftest.$ac_ext <<_ACEOF
42796 /* end confdefs.h. */
42797
42798 #include <sys/time.h>
42799 #include <unistd.h>
42800
42801 int
42802 main ()
42803 {
42804
42805 struct timeval tv;
42806 gettimeofday(&tv, NULL);
42807
42808 ;
42809 return 0;
42810 }
42811 _ACEOF
42812 rm -f conftest.$ac_objext
42813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42814 (eval $ac_compile) 2>conftest.er1
42815 ac_status=$?
42816 grep -v '^ *+' conftest.er1 >conftest.err
42817 rm -f conftest.er1
42818 cat conftest.err >&5
42819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42820 (exit $ac_status); } &&
42821 { ac_try='test -z "$ac_cxx_werror_flag"
42822 || test ! -s conftest.err'
42823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42824 (eval $ac_try) 2>&5
42825 ac_status=$?
42826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42827 (exit $ac_status); }; } &&
42828 { ac_try='test -s conftest.$ac_objext'
42829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42830 (eval $ac_try) 2>&5
42831 ac_status=$?
42832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833 (exit $ac_status); }; }; then
42834 wx_cv_func_gettimeofday_has_2_args=yes
42835 else
42836 echo "$as_me: failed program was:" >&5
42837 sed 's/^/| /' conftest.$ac_ext >&5
42838
42839 cat >conftest.$ac_ext <<_ACEOF
42840 /* confdefs.h. */
42841 _ACEOF
42842 cat confdefs.h >>conftest.$ac_ext
42843 cat >>conftest.$ac_ext <<_ACEOF
42844 /* end confdefs.h. */
42845
42846 #include <sys/time.h>
42847 #include <unistd.h>
42848
42849 int
42850 main ()
42851 {
42852
42853 struct timeval tv;
42854 gettimeofday(&tv);
42855
42856 ;
42857 return 0;
42858 }
42859 _ACEOF
42860 rm -f conftest.$ac_objext
42861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42862 (eval $ac_compile) 2>conftest.er1
42863 ac_status=$?
42864 grep -v '^ *+' conftest.er1 >conftest.err
42865 rm -f conftest.er1
42866 cat conftest.err >&5
42867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42868 (exit $ac_status); } &&
42869 { ac_try='test -z "$ac_cxx_werror_flag"
42870 || test ! -s conftest.err'
42871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42872 (eval $ac_try) 2>&5
42873 ac_status=$?
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); }; } &&
42876 { ac_try='test -s conftest.$ac_objext'
42877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42878 (eval $ac_try) 2>&5
42879 ac_status=$?
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); }; }; then
42882 wx_cv_func_gettimeofday_has_2_args=no
42883 else
42884 echo "$as_me: failed program was:" >&5
42885 sed 's/^/| /' conftest.$ac_ext >&5
42886
42887
42888 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42889 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42890 wx_cv_func_gettimeofday_has_2_args=unknown
42891
42892
42893 fi
42894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42895
42896 fi
42897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42898
42899 fi
42900 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42901 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42902
42903 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42904 cat >>confdefs.h <<\_ACEOF
42905 #define WX_GETTIMEOFDAY_NO_TZ 1
42906 _ACEOF
42907
42908 fi
42909 fi
42910
42911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42912 fi
42913
42914
42915 if test "$wxUSE_SOCKETS" = "yes"; then
42916 if test "$wxUSE_MGL" = "1"; then
42917 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42918 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42919 wxUSE_SOCKETS="no"
42920 fi
42921 fi
42922
42923 if test "$wxUSE_SOCKETS" = "yes"; then
42924 if test "$TOOLKIT" != "MSW"; then
42925 echo "$as_me:$LINENO: checking for socket" >&5
42926 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42927 if test "${ac_cv_func_socket+set}" = set; then
42928 echo $ECHO_N "(cached) $ECHO_C" >&6
42929 else
42930 cat >conftest.$ac_ext <<_ACEOF
42931 /* confdefs.h. */
42932 _ACEOF
42933 cat confdefs.h >>conftest.$ac_ext
42934 cat >>conftest.$ac_ext <<_ACEOF
42935 /* end confdefs.h. */
42936 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42938 #define socket innocuous_socket
42939
42940 /* System header to define __stub macros and hopefully few prototypes,
42941 which can conflict with char socket (); below.
42942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42943 <limits.h> exists even on freestanding compilers. */
42944
42945 #ifdef __STDC__
42946 # include <limits.h>
42947 #else
42948 # include <assert.h>
42949 #endif
42950
42951 #undef socket
42952
42953 /* Override any gcc2 internal prototype to avoid an error. */
42954 #ifdef __cplusplus
42955 extern "C"
42956 {
42957 #endif
42958 /* We use char because int might match the return type of a gcc2
42959 builtin and then its argument prototype would still apply. */
42960 char socket ();
42961 /* The GNU C library defines this for functions which it implements
42962 to always fail with ENOSYS. Some functions are actually named
42963 something starting with __ and the normal name is an alias. */
42964 #if defined (__stub_socket) || defined (__stub___socket)
42965 choke me
42966 #else
42967 char (*f) () = socket;
42968 #endif
42969 #ifdef __cplusplus
42970 }
42971 #endif
42972
42973 int
42974 main ()
42975 {
42976 return f != socket;
42977 ;
42978 return 0;
42979 }
42980 _ACEOF
42981 rm -f conftest.$ac_objext conftest$ac_exeext
42982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42983 (eval $ac_link) 2>conftest.er1
42984 ac_status=$?
42985 grep -v '^ *+' conftest.er1 >conftest.err
42986 rm -f conftest.er1
42987 cat conftest.err >&5
42988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42989 (exit $ac_status); } &&
42990 { ac_try='test -z "$ac_cxx_werror_flag"
42991 || test ! -s conftest.err'
42992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42993 (eval $ac_try) 2>&5
42994 ac_status=$?
42995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42996 (exit $ac_status); }; } &&
42997 { ac_try='test -s conftest$ac_exeext'
42998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42999 (eval $ac_try) 2>&5
43000 ac_status=$?
43001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43002 (exit $ac_status); }; }; then
43003 ac_cv_func_socket=yes
43004 else
43005 echo "$as_me: failed program was:" >&5
43006 sed 's/^/| /' conftest.$ac_ext >&5
43007
43008 ac_cv_func_socket=no
43009 fi
43010 rm -f conftest.err conftest.$ac_objext \
43011 conftest$ac_exeext conftest.$ac_ext
43012 fi
43013 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43014 echo "${ECHO_T}$ac_cv_func_socket" >&6
43015 if test $ac_cv_func_socket = yes; then
43016 :
43017 else
43018
43019 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43020 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43021 if test "${ac_cv_lib_socket_socket+set}" = set; then
43022 echo $ECHO_N "(cached) $ECHO_C" >&6
43023 else
43024 ac_check_lib_save_LIBS=$LIBS
43025 LIBS="-lsocket $LIBS"
43026 cat >conftest.$ac_ext <<_ACEOF
43027 /* confdefs.h. */
43028 _ACEOF
43029 cat confdefs.h >>conftest.$ac_ext
43030 cat >>conftest.$ac_ext <<_ACEOF
43031 /* end confdefs.h. */
43032
43033 /* Override any gcc2 internal prototype to avoid an error. */
43034 #ifdef __cplusplus
43035 extern "C"
43036 #endif
43037 /* We use char because int might match the return type of a gcc2
43038 builtin and then its argument prototype would still apply. */
43039 char socket ();
43040 int
43041 main ()
43042 {
43043 socket ();
43044 ;
43045 return 0;
43046 }
43047 _ACEOF
43048 rm -f conftest.$ac_objext conftest$ac_exeext
43049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43050 (eval $ac_link) 2>conftest.er1
43051 ac_status=$?
43052 grep -v '^ *+' conftest.er1 >conftest.err
43053 rm -f conftest.er1
43054 cat conftest.err >&5
43055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43056 (exit $ac_status); } &&
43057 { ac_try='test -z "$ac_cxx_werror_flag"
43058 || test ! -s conftest.err'
43059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43060 (eval $ac_try) 2>&5
43061 ac_status=$?
43062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43063 (exit $ac_status); }; } &&
43064 { ac_try='test -s conftest$ac_exeext'
43065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43066 (eval $ac_try) 2>&5
43067 ac_status=$?
43068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069 (exit $ac_status); }; }; then
43070 ac_cv_lib_socket_socket=yes
43071 else
43072 echo "$as_me: failed program was:" >&5
43073 sed 's/^/| /' conftest.$ac_ext >&5
43074
43075 ac_cv_lib_socket_socket=no
43076 fi
43077 rm -f conftest.err conftest.$ac_objext \
43078 conftest$ac_exeext conftest.$ac_ext
43079 LIBS=$ac_check_lib_save_LIBS
43080 fi
43081 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43082 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43083 if test $ac_cv_lib_socket_socket = yes; then
43084 if test "$INET_LINK" != " -lsocket"; then
43085 INET_LINK="$INET_LINK -lsocket"
43086 fi
43087 else
43088
43089 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43090 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43091 wxUSE_SOCKETS=no
43092
43093
43094 fi
43095
43096
43097
43098 fi
43099
43100 fi
43101 fi
43102
43103 if test "$wxUSE_SOCKETS" = "yes" ; then
43104 if test "$TOOLKIT" != "MSW"; then
43105 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43106 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43107 if test "${wx_cv_type_getsockname3+set}" = set; then
43108 echo $ECHO_N "(cached) $ECHO_C" >&6
43109 else
43110
43111 cat >conftest.$ac_ext <<_ACEOF
43112 /* confdefs.h. */
43113 _ACEOF
43114 cat confdefs.h >>conftest.$ac_ext
43115 cat >>conftest.$ac_ext <<_ACEOF
43116 /* end confdefs.h. */
43117
43118 #include <sys/types.h>
43119 #include <sys/socket.h>
43120
43121 int
43122 main ()
43123 {
43124
43125 socklen_t len;
43126 getsockname(0, 0, &len);
43127
43128 ;
43129 return 0;
43130 }
43131 _ACEOF
43132 rm -f conftest.$ac_objext
43133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43134 (eval $ac_compile) 2>conftest.er1
43135 ac_status=$?
43136 grep -v '^ *+' conftest.er1 >conftest.err
43137 rm -f conftest.er1
43138 cat conftest.err >&5
43139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43140 (exit $ac_status); } &&
43141 { ac_try='test -z "$ac_cxx_werror_flag"
43142 || test ! -s conftest.err'
43143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43144 (eval $ac_try) 2>&5
43145 ac_status=$?
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); }; } &&
43148 { ac_try='test -s conftest.$ac_objext'
43149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43150 (eval $ac_try) 2>&5
43151 ac_status=$?
43152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43153 (exit $ac_status); }; }; then
43154 wx_cv_type_getsockname3=socklen_t
43155 else
43156 echo "$as_me: failed program was:" >&5
43157 sed 's/^/| /' conftest.$ac_ext >&5
43158
43159
43160 CXXFLAGS_OLD="$CXXFLAGS"
43161 if test "$GCC" = yes ; then
43162 CXXFLAGS="-Werror $CXXFLAGS"
43163 fi
43164
43165 cat >conftest.$ac_ext <<_ACEOF
43166 /* confdefs.h. */
43167 _ACEOF
43168 cat confdefs.h >>conftest.$ac_ext
43169 cat >>conftest.$ac_ext <<_ACEOF
43170 /* end confdefs.h. */
43171
43172 #include <sys/types.h>
43173 #include <sys/socket.h>
43174
43175 int
43176 main ()
43177 {
43178
43179 size_t len;
43180 getsockname(0, 0, &len);
43181
43182 ;
43183 return 0;
43184 }
43185 _ACEOF
43186 rm -f conftest.$ac_objext
43187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43188 (eval $ac_compile) 2>conftest.er1
43189 ac_status=$?
43190 grep -v '^ *+' conftest.er1 >conftest.err
43191 rm -f conftest.er1
43192 cat conftest.err >&5
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); } &&
43195 { ac_try='test -z "$ac_cxx_werror_flag"
43196 || test ! -s conftest.err'
43197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43198 (eval $ac_try) 2>&5
43199 ac_status=$?
43200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43201 (exit $ac_status); }; } &&
43202 { ac_try='test -s conftest.$ac_objext'
43203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43204 (eval $ac_try) 2>&5
43205 ac_status=$?
43206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43207 (exit $ac_status); }; }; then
43208 wx_cv_type_getsockname3=size_t
43209 else
43210 echo "$as_me: failed program was:" >&5
43211 sed 's/^/| /' conftest.$ac_ext >&5
43212
43213 cat >conftest.$ac_ext <<_ACEOF
43214 /* confdefs.h. */
43215 _ACEOF
43216 cat confdefs.h >>conftest.$ac_ext
43217 cat >>conftest.$ac_ext <<_ACEOF
43218 /* end confdefs.h. */
43219
43220 #include <sys/types.h>
43221 #include <sys/socket.h>
43222
43223 int
43224 main ()
43225 {
43226
43227 int len;
43228 getsockname(0, 0, &len);
43229
43230 ;
43231 return 0;
43232 }
43233 _ACEOF
43234 rm -f conftest.$ac_objext
43235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43236 (eval $ac_compile) 2>conftest.er1
43237 ac_status=$?
43238 grep -v '^ *+' conftest.er1 >conftest.err
43239 rm -f conftest.er1
43240 cat conftest.err >&5
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); } &&
43243 { ac_try='test -z "$ac_cxx_werror_flag"
43244 || test ! -s conftest.err'
43245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43246 (eval $ac_try) 2>&5
43247 ac_status=$?
43248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43249 (exit $ac_status); }; } &&
43250 { ac_try='test -s conftest.$ac_objext'
43251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43252 (eval $ac_try) 2>&5
43253 ac_status=$?
43254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43255 (exit $ac_status); }; }; then
43256 wx_cv_type_getsockname3=int
43257 else
43258 echo "$as_me: failed program was:" >&5
43259 sed 's/^/| /' conftest.$ac_ext >&5
43260
43261 wx_cv_type_getsockname3=unknown
43262
43263 fi
43264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43265
43266 fi
43267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43268
43269 CXXFLAGS="$CXXFLAGS_OLD"
43270
43271
43272 fi
43273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43274
43275 fi
43276 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43277 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43278
43279 if test "$wx_cv_type_getsockname3" = "unknown"; then
43280 wxUSE_SOCKETS=no
43281 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43282 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43283 else
43284 cat >>confdefs.h <<_ACEOF
43285 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43286 _ACEOF
43287
43288 fi
43289 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43290 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43291 if test "${wx_cv_type_getsockopt5+set}" = set; then
43292 echo $ECHO_N "(cached) $ECHO_C" >&6
43293 else
43294
43295 cat >conftest.$ac_ext <<_ACEOF
43296 /* confdefs.h. */
43297 _ACEOF
43298 cat confdefs.h >>conftest.$ac_ext
43299 cat >>conftest.$ac_ext <<_ACEOF
43300 /* end confdefs.h. */
43301
43302 #include <sys/types.h>
43303 #include <sys/socket.h>
43304
43305 int
43306 main ()
43307 {
43308
43309 socklen_t len;
43310 getsockopt(0, 0, 0, 0, &len);
43311
43312 ;
43313 return 0;
43314 }
43315 _ACEOF
43316 rm -f conftest.$ac_objext
43317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43318 (eval $ac_compile) 2>conftest.er1
43319 ac_status=$?
43320 grep -v '^ *+' conftest.er1 >conftest.err
43321 rm -f conftest.er1
43322 cat conftest.err >&5
43323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324 (exit $ac_status); } &&
43325 { ac_try='test -z "$ac_cxx_werror_flag"
43326 || test ! -s conftest.err'
43327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43328 (eval $ac_try) 2>&5
43329 ac_status=$?
43330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43331 (exit $ac_status); }; } &&
43332 { ac_try='test -s conftest.$ac_objext'
43333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43334 (eval $ac_try) 2>&5
43335 ac_status=$?
43336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43337 (exit $ac_status); }; }; then
43338 wx_cv_type_getsockopt5=socklen_t
43339 else
43340 echo "$as_me: failed program was:" >&5
43341 sed 's/^/| /' conftest.$ac_ext >&5
43342
43343
43344 CXXFLAGS_OLD="$CXXFLAGS"
43345 if test "$GCC" = yes ; then
43346 CXXFLAGS="-Werror $CXXFLAGS"
43347 fi
43348
43349 cat >conftest.$ac_ext <<_ACEOF
43350 /* confdefs.h. */
43351 _ACEOF
43352 cat confdefs.h >>conftest.$ac_ext
43353 cat >>conftest.$ac_ext <<_ACEOF
43354 /* end confdefs.h. */
43355
43356 #include <sys/types.h>
43357 #include <sys/socket.h>
43358
43359 int
43360 main ()
43361 {
43362
43363 size_t len;
43364 getsockopt(0, 0, 0, 0, &len);
43365
43366 ;
43367 return 0;
43368 }
43369 _ACEOF
43370 rm -f conftest.$ac_objext
43371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43372 (eval $ac_compile) 2>conftest.er1
43373 ac_status=$?
43374 grep -v '^ *+' conftest.er1 >conftest.err
43375 rm -f conftest.er1
43376 cat conftest.err >&5
43377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43378 (exit $ac_status); } &&
43379 { ac_try='test -z "$ac_cxx_werror_flag"
43380 || test ! -s conftest.err'
43381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43382 (eval $ac_try) 2>&5
43383 ac_status=$?
43384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43385 (exit $ac_status); }; } &&
43386 { ac_try='test -s conftest.$ac_objext'
43387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43388 (eval $ac_try) 2>&5
43389 ac_status=$?
43390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43391 (exit $ac_status); }; }; then
43392 wx_cv_type_getsockopt5=size_t
43393 else
43394 echo "$as_me: failed program was:" >&5
43395 sed 's/^/| /' conftest.$ac_ext >&5
43396
43397 cat >conftest.$ac_ext <<_ACEOF
43398 /* confdefs.h. */
43399 _ACEOF
43400 cat confdefs.h >>conftest.$ac_ext
43401 cat >>conftest.$ac_ext <<_ACEOF
43402 /* end confdefs.h. */
43403
43404 #include <sys/types.h>
43405 #include <sys/socket.h>
43406
43407 int
43408 main ()
43409 {
43410
43411 int len;
43412 getsockopt(0, 0, 0, 0, &len);
43413
43414 ;
43415 return 0;
43416 }
43417 _ACEOF
43418 rm -f conftest.$ac_objext
43419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43420 (eval $ac_compile) 2>conftest.er1
43421 ac_status=$?
43422 grep -v '^ *+' conftest.er1 >conftest.err
43423 rm -f conftest.er1
43424 cat conftest.err >&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } &&
43427 { ac_try='test -z "$ac_cxx_werror_flag"
43428 || test ! -s conftest.err'
43429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43430 (eval $ac_try) 2>&5
43431 ac_status=$?
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); }; } &&
43434 { ac_try='test -s conftest.$ac_objext'
43435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43436 (eval $ac_try) 2>&5
43437 ac_status=$?
43438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43439 (exit $ac_status); }; }; then
43440 wx_cv_type_getsockopt5=int
43441 else
43442 echo "$as_me: failed program was:" >&5
43443 sed 's/^/| /' conftest.$ac_ext >&5
43444
43445 wx_cv_type_getsockopt5=unknown
43446
43447 fi
43448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43449
43450 fi
43451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43452
43453 CXXFLAGS="$CXXFLAGS_OLD"
43454
43455
43456 fi
43457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43458
43459 fi
43460 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43461 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43462
43463 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43464 wxUSE_SOCKETS=no
43465 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43466 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43467 else
43468 cat >>confdefs.h <<_ACEOF
43469 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43470 _ACEOF
43471
43472 fi
43473 fi
43474 fi
43475
43476 if test "$wxUSE_SOCKETS" = "yes" ; then
43477 cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_SOCKETS 1
43479 _ACEOF
43480
43481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43482 fi
43483
43484 if test "$wxUSE_PROTOCOL" = "yes"; then
43485 if test "$wxUSE_SOCKETS" != "yes"; then
43486 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43487 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43488 wxUSE_PROTOCOL=no
43489 fi
43490 fi
43491
43492 if test "$wxUSE_PROTOCOL" = "yes"; then
43493 cat >>confdefs.h <<\_ACEOF
43494 #define wxUSE_PROTOCOL 1
43495 _ACEOF
43496
43497
43498 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43499 cat >>confdefs.h <<\_ACEOF
43500 #define wxUSE_PROTOCOL_HTTP 1
43501 _ACEOF
43502
43503 fi
43504 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43505 cat >>confdefs.h <<\_ACEOF
43506 #define wxUSE_PROTOCOL_FTP 1
43507 _ACEOF
43508
43509 fi
43510 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43511 cat >>confdefs.h <<\_ACEOF
43512 #define wxUSE_PROTOCOL_FILE 1
43513 _ACEOF
43514
43515 fi
43516 else
43517 if test "$wxUSE_FS_INET" = "yes"; then
43518 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43519 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43520 wxUSE_FS_INET="no"
43521 fi
43522 fi
43523
43524 if test "$wxUSE_URL" = "yes"; then
43525 if test "$wxUSE_PROTOCOL" != "yes"; then
43526 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43527 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43528 wxUSE_URL=no
43529 fi
43530 if test "$wxUSE_URL" = "yes"; then
43531 cat >>confdefs.h <<\_ACEOF
43532 #define wxUSE_URL 1
43533 _ACEOF
43534
43535 fi
43536 fi
43537
43538 if test "$wxUSE_FS_INET" = "yes"; then
43539 cat >>confdefs.h <<\_ACEOF
43540 #define wxUSE_FS_INET 1
43541 _ACEOF
43542
43543 fi
43544
43545
43546 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43547 wxUSE_JOYSTICK=no
43548
43549 if test "$TOOLKIT" = "MSW"; then
43550 wxUSE_JOYSTICK=yes
43551
43552 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43553 if test "$USE_DARWIN" = 1; then
43554 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43555 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43556 cat >conftest.$ac_ext <<_ACEOF
43557 /* confdefs.h. */
43558 _ACEOF
43559 cat confdefs.h >>conftest.$ac_ext
43560 cat >>conftest.$ac_ext <<_ACEOF
43561 /* end confdefs.h. */
43562 #include <IOKit/hid/IOHIDLib.h>
43563 int
43564 main ()
43565 {
43566 IOHIDQueueInterface *qi = NULL;
43567 IOHIDCallbackFunction cb = NULL;
43568 qi->setEventCallout(NULL, cb, NULL, NULL);
43569 ;
43570 return 0;
43571 }
43572 _ACEOF
43573 rm -f conftest.$ac_objext
43574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43575 (eval $ac_compile) 2>conftest.er1
43576 ac_status=$?
43577 grep -v '^ *+' conftest.er1 >conftest.err
43578 rm -f conftest.er1
43579 cat conftest.err >&5
43580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43581 (exit $ac_status); } &&
43582 { ac_try='test -z "$ac_cxx_werror_flag"
43583 || test ! -s conftest.err'
43584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43585 (eval $ac_try) 2>&5
43586 ac_status=$?
43587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43588 (exit $ac_status); }; } &&
43589 { ac_try='test -s conftest.$ac_objext'
43590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43591 (eval $ac_try) 2>&5
43592 ac_status=$?
43593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43594 (exit $ac_status); }; }; then
43595 wxUSE_JOYSTICK=yes
43596
43597 else
43598 echo "$as_me: failed program was:" >&5
43599 sed 's/^/| /' conftest.$ac_ext >&5
43600
43601 fi
43602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43603 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43604 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43605 fi
43606
43607 else
43608
43609 for ac_header in linux/joystick.h
43610 do
43611 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43613 echo "$as_me:$LINENO: checking for $ac_header" >&5
43614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43616 echo $ECHO_N "(cached) $ECHO_C" >&6
43617 fi
43618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43620 else
43621 # Is the header compilable?
43622 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43623 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43624 cat >conftest.$ac_ext <<_ACEOF
43625 /* confdefs.h. */
43626 _ACEOF
43627 cat confdefs.h >>conftest.$ac_ext
43628 cat >>conftest.$ac_ext <<_ACEOF
43629 /* end confdefs.h. */
43630 $ac_includes_default
43631 #include <$ac_header>
43632 _ACEOF
43633 rm -f conftest.$ac_objext
43634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43635 (eval $ac_compile) 2>conftest.er1
43636 ac_status=$?
43637 grep -v '^ *+' conftest.er1 >conftest.err
43638 rm -f conftest.er1
43639 cat conftest.err >&5
43640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43641 (exit $ac_status); } &&
43642 { ac_try='test -z "$ac_cxx_werror_flag"
43643 || test ! -s conftest.err'
43644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43645 (eval $ac_try) 2>&5
43646 ac_status=$?
43647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43648 (exit $ac_status); }; } &&
43649 { ac_try='test -s conftest.$ac_objext'
43650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43651 (eval $ac_try) 2>&5
43652 ac_status=$?
43653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43654 (exit $ac_status); }; }; then
43655 ac_header_compiler=yes
43656 else
43657 echo "$as_me: failed program was:" >&5
43658 sed 's/^/| /' conftest.$ac_ext >&5
43659
43660 ac_header_compiler=no
43661 fi
43662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43663 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43664 echo "${ECHO_T}$ac_header_compiler" >&6
43665
43666 # Is the header present?
43667 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43669 cat >conftest.$ac_ext <<_ACEOF
43670 /* confdefs.h. */
43671 _ACEOF
43672 cat confdefs.h >>conftest.$ac_ext
43673 cat >>conftest.$ac_ext <<_ACEOF
43674 /* end confdefs.h. */
43675 #include <$ac_header>
43676 _ACEOF
43677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43678 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43679 ac_status=$?
43680 grep -v '^ *+' conftest.er1 >conftest.err
43681 rm -f conftest.er1
43682 cat conftest.err >&5
43683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43684 (exit $ac_status); } >/dev/null; then
43685 if test -s conftest.err; then
43686 ac_cpp_err=$ac_cxx_preproc_warn_flag
43687 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
43688 else
43689 ac_cpp_err=
43690 fi
43691 else
43692 ac_cpp_err=yes
43693 fi
43694 if test -z "$ac_cpp_err"; then
43695 ac_header_preproc=yes
43696 else
43697 echo "$as_me: failed program was:" >&5
43698 sed 's/^/| /' conftest.$ac_ext >&5
43699
43700 ac_header_preproc=no
43701 fi
43702 rm -f conftest.err conftest.$ac_ext
43703 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43704 echo "${ECHO_T}$ac_header_preproc" >&6
43705
43706 # So? What about this header?
43707 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43708 yes:no: )
43709 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43710 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43712 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43713 ac_header_preproc=yes
43714 ;;
43715 no:yes:* )
43716 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43717 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43718 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43719 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43720 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43721 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43722 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43723 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43726 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43727 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43728 (
43729 cat <<\_ASBOX
43730 ## ----------------------------------------- ##
43731 ## Report this to wx-dev@lists.wxwidgets.org ##
43732 ## ----------------------------------------- ##
43733 _ASBOX
43734 ) |
43735 sed "s/^/$as_me: WARNING: /" >&2
43736 ;;
43737 esac
43738 echo "$as_me:$LINENO: checking for $ac_header" >&5
43739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43741 echo $ECHO_N "(cached) $ECHO_C" >&6
43742 else
43743 eval "$as_ac_Header=\$ac_header_preproc"
43744 fi
43745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43747
43748 fi
43749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43750 cat >>confdefs.h <<_ACEOF
43751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43752 _ACEOF
43753 wxUSE_JOYSTICK=yes
43754 fi
43755
43756 done
43757
43758 fi
43759
43760 if test "$wxUSE_JOYSTICK" = "yes"; then
43761 cat >>confdefs.h <<\_ACEOF
43762 #define wxUSE_JOYSTICK 1
43763 _ACEOF
43764
43765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43766 else
43767 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43768 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43769 fi
43770 fi
43771
43772
43773
43774 if test "$wxUSE_FONTMAP" = "yes" ; then
43775 cat >>confdefs.h <<\_ACEOF
43776 #define wxUSE_FONTMAP 1
43777 _ACEOF
43778
43779 fi
43780
43781 if test "$wxUSE_UNICODE" = "yes" ; then
43782 cat >>confdefs.h <<\_ACEOF
43783 #define wxUSE_UNICODE 1
43784 _ACEOF
43785
43786
43787 if test "$USE_WIN32" != 1; then
43788 wxUSE_UNICODE_MSLU=no
43789 fi
43790
43791 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43792 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43793 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43794 if test "${ac_cv_lib_unicows_main+set}" = set; then
43795 echo $ECHO_N "(cached) $ECHO_C" >&6
43796 else
43797 ac_check_lib_save_LIBS=$LIBS
43798 LIBS="-lunicows $LIBS"
43799 cat >conftest.$ac_ext <<_ACEOF
43800 /* confdefs.h. */
43801 _ACEOF
43802 cat confdefs.h >>conftest.$ac_ext
43803 cat >>conftest.$ac_ext <<_ACEOF
43804 /* end confdefs.h. */
43805
43806
43807 int
43808 main ()
43809 {
43810 main ();
43811 ;
43812 return 0;
43813 }
43814 _ACEOF
43815 rm -f conftest.$ac_objext conftest$ac_exeext
43816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43817 (eval $ac_link) 2>conftest.er1
43818 ac_status=$?
43819 grep -v '^ *+' conftest.er1 >conftest.err
43820 rm -f conftest.er1
43821 cat conftest.err >&5
43822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43823 (exit $ac_status); } &&
43824 { ac_try='test -z "$ac_cxx_werror_flag"
43825 || test ! -s conftest.err'
43826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43827 (eval $ac_try) 2>&5
43828 ac_status=$?
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); }; } &&
43831 { ac_try='test -s conftest$ac_exeext'
43832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43833 (eval $ac_try) 2>&5
43834 ac_status=$?
43835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43836 (exit $ac_status); }; }; then
43837 ac_cv_lib_unicows_main=yes
43838 else
43839 echo "$as_me: failed program was:" >&5
43840 sed 's/^/| /' conftest.$ac_ext >&5
43841
43842 ac_cv_lib_unicows_main=no
43843 fi
43844 rm -f conftest.err conftest.$ac_objext \
43845 conftest$ac_exeext conftest.$ac_ext
43846 LIBS=$ac_check_lib_save_LIBS
43847 fi
43848 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43849 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43850 if test $ac_cv_lib_unicows_main = yes; then
43851
43852 cat >>confdefs.h <<\_ACEOF
43853 #define wxUSE_UNICODE_MSLU 1
43854 _ACEOF
43855
43856
43857 else
43858
43859 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43860 Applications will only run on Windows NT/2000/XP!" >&5
43861 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43862 Applications will only run on Windows NT/2000/XP!" >&2;}
43863 wxUSE_UNICODE_MSLU=no
43864
43865 fi
43866
43867 fi
43868 fi
43869
43870 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43871 cat >>confdefs.h <<\_ACEOF
43872 #define wxUSE_EXPERIMENTAL_PRINTF 1
43873 _ACEOF
43874
43875 fi
43876
43877
43878 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43879 cat >>confdefs.h <<\_ACEOF
43880 #define wxUSE_POSTSCRIPT 1
43881 _ACEOF
43882
43883 fi
43884
43885 cat >>confdefs.h <<\_ACEOF
43886 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43887 _ACEOF
43888
43889
43890 cat >>confdefs.h <<\_ACEOF
43891 #define wxUSE_NORMALIZED_PS_FONTS 1
43892 _ACEOF
43893
43894
43895
43896 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43897 cat >>confdefs.h <<\_ACEOF
43898 #define wxUSE_CONSTRAINTS 1
43899 _ACEOF
43900
43901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43902 fi
43903
43904 if test "$wxUSE_MDI" = "yes"; then
43905 cat >>confdefs.h <<\_ACEOF
43906 #define wxUSE_MDI 1
43907 _ACEOF
43908
43909
43910 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43911 cat >>confdefs.h <<\_ACEOF
43912 #define wxUSE_MDI_ARCHITECTURE 1
43913 _ACEOF
43914
43915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43916 fi
43917 fi
43918
43919 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43920 cat >>confdefs.h <<\_ACEOF
43921 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43922 _ACEOF
43923
43924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43925 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43927 fi
43928 fi
43929
43930 if test "$wxUSE_HELP" = "yes"; then
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_HELP 1
43933 _ACEOF
43934
43935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43936
43937 if test "$wxUSE_MSW" = 1; then
43938 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_MS_HTML_HELP 1
43941 _ACEOF
43942
43943 fi
43944 fi
43945
43946 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43947 if test "$wxUSE_HTML" = "yes"; then
43948 cat >>confdefs.h <<\_ACEOF
43949 #define wxUSE_WXHTML_HELP 1
43950 _ACEOF
43951
43952 else
43953 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43954 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43955 wxUSE_WXHTML_HELP=no
43956 fi
43957 fi
43958 fi
43959
43960 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43961 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43962 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43963 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43964 else
43965 cat >>confdefs.h <<\_ACEOF
43966 #define wxUSE_PRINTING_ARCHITECTURE 1
43967 _ACEOF
43968
43969 fi
43970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43971 fi
43972
43973 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43974 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43975 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43976 { (exit 1); exit 1; }; }
43977 fi
43978
43979
43980 if test "$wxUSE_METAFILE" = "yes"; then
43981 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43982 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43983 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43984 wxUSE_METAFILE=no
43985 fi
43986 fi
43987
43988
43989 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43990 -o "$wxUSE_CLIPBOARD" = "yes" \
43991 -o "$wxUSE_OLE" = "yes" \
43992 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43993
43994 for ac_header in ole2.h
43995 do
43996 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43998 echo "$as_me:$LINENO: checking for $ac_header" >&5
43999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44001 echo $ECHO_N "(cached) $ECHO_C" >&6
44002 fi
44003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44005 else
44006 # Is the header compilable?
44007 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44008 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44009 cat >conftest.$ac_ext <<_ACEOF
44010 /* confdefs.h. */
44011 _ACEOF
44012 cat confdefs.h >>conftest.$ac_ext
44013 cat >>conftest.$ac_ext <<_ACEOF
44014 /* end confdefs.h. */
44015 $ac_includes_default
44016 #include <$ac_header>
44017 _ACEOF
44018 rm -f conftest.$ac_objext
44019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44020 (eval $ac_compile) 2>conftest.er1
44021 ac_status=$?
44022 grep -v '^ *+' conftest.er1 >conftest.err
44023 rm -f conftest.er1
44024 cat conftest.err >&5
44025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44026 (exit $ac_status); } &&
44027 { ac_try='test -z "$ac_cxx_werror_flag"
44028 || test ! -s conftest.err'
44029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44030 (eval $ac_try) 2>&5
44031 ac_status=$?
44032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44033 (exit $ac_status); }; } &&
44034 { ac_try='test -s conftest.$ac_objext'
44035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44036 (eval $ac_try) 2>&5
44037 ac_status=$?
44038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44039 (exit $ac_status); }; }; then
44040 ac_header_compiler=yes
44041 else
44042 echo "$as_me: failed program was:" >&5
44043 sed 's/^/| /' conftest.$ac_ext >&5
44044
44045 ac_header_compiler=no
44046 fi
44047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44048 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44049 echo "${ECHO_T}$ac_header_compiler" >&6
44050
44051 # Is the header present?
44052 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44053 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44054 cat >conftest.$ac_ext <<_ACEOF
44055 /* confdefs.h. */
44056 _ACEOF
44057 cat confdefs.h >>conftest.$ac_ext
44058 cat >>conftest.$ac_ext <<_ACEOF
44059 /* end confdefs.h. */
44060 #include <$ac_header>
44061 _ACEOF
44062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44063 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44064 ac_status=$?
44065 grep -v '^ *+' conftest.er1 >conftest.err
44066 rm -f conftest.er1
44067 cat conftest.err >&5
44068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44069 (exit $ac_status); } >/dev/null; then
44070 if test -s conftest.err; then
44071 ac_cpp_err=$ac_cxx_preproc_warn_flag
44072 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44073 else
44074 ac_cpp_err=
44075 fi
44076 else
44077 ac_cpp_err=yes
44078 fi
44079 if test -z "$ac_cpp_err"; then
44080 ac_header_preproc=yes
44081 else
44082 echo "$as_me: failed program was:" >&5
44083 sed 's/^/| /' conftest.$ac_ext >&5
44084
44085 ac_header_preproc=no
44086 fi
44087 rm -f conftest.err conftest.$ac_ext
44088 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44089 echo "${ECHO_T}$ac_header_preproc" >&6
44090
44091 # So? What about this header?
44092 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44093 yes:no: )
44094 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44097 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44098 ac_header_preproc=yes
44099 ;;
44100 no:yes:* )
44101 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44103 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44104 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44105 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44106 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44107 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44108 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44111 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44112 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44113 (
44114 cat <<\_ASBOX
44115 ## ----------------------------------------- ##
44116 ## Report this to wx-dev@lists.wxwidgets.org ##
44117 ## ----------------------------------------- ##
44118 _ASBOX
44119 ) |
44120 sed "s/^/$as_me: WARNING: /" >&2
44121 ;;
44122 esac
44123 echo "$as_me:$LINENO: checking for $ac_header" >&5
44124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44126 echo $ECHO_N "(cached) $ECHO_C" >&6
44127 else
44128 eval "$as_ac_Header=\$ac_header_preproc"
44129 fi
44130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44132
44133 fi
44134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44135 cat >>confdefs.h <<_ACEOF
44136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44137 _ACEOF
44138
44139 fi
44140
44141 done
44142
44143
44144 if test "$ac_cv_header_ole2_h" = "yes" ; then
44145 if test "$GCC" = yes ; then
44146 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44147 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44148 cat >conftest.$ac_ext <<_ACEOF
44149 /* confdefs.h. */
44150 _ACEOF
44151 cat confdefs.h >>conftest.$ac_ext
44152 cat >>conftest.$ac_ext <<_ACEOF
44153 /* end confdefs.h. */
44154 #include <windows.h>
44155 #include <ole2.h>
44156 int
44157 main ()
44158 {
44159
44160 ;
44161 return 0;
44162 }
44163 _ACEOF
44164 rm -f conftest.$ac_objext
44165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44166 (eval $ac_compile) 2>conftest.er1
44167 ac_status=$?
44168 grep -v '^ *+' conftest.er1 >conftest.err
44169 rm -f conftest.er1
44170 cat conftest.err >&5
44171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44172 (exit $ac_status); } &&
44173 { ac_try='test -z "$ac_cxx_werror_flag"
44174 || test ! -s conftest.err'
44175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44176 (eval $ac_try) 2>&5
44177 ac_status=$?
44178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44179 (exit $ac_status); }; } &&
44180 { ac_try='test -s conftest.$ac_objext'
44181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44182 (eval $ac_try) 2>&5
44183 ac_status=$?
44184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44185 (exit $ac_status); }; }; then
44186 echo "$as_me:$LINENO: result: no" >&5
44187 echo "${ECHO_T}no" >&6
44188 else
44189 echo "$as_me: failed program was:" >&5
44190 sed 's/^/| /' conftest.$ac_ext >&5
44191
44192 echo "$as_me:$LINENO: result: yes" >&5
44193 echo "${ECHO_T}yes" >&6
44194 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44195 fi
44196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44197 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44198 if test "$wxUSE_OLE" = "yes" ; then
44199 cat >>confdefs.h <<\_ACEOF
44200 #define wxUSE_OLE 1
44201 _ACEOF
44202
44203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44204 fi
44205 fi
44206
44207 if test "$wxUSE_DATAOBJ" = "yes" ; then
44208 cat >>confdefs.h <<\_ACEOF
44209 #define wxUSE_DATAOBJ 1
44210 _ACEOF
44211
44212 fi
44213 else
44214 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44215 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44216
44217 wxUSE_CLIPBOARD=no
44218 wxUSE_DRAG_AND_DROP=no
44219 wxUSE_DATAOBJ=no
44220 wxUSE_OLE=no
44221 fi
44222
44223 if test "$wxUSE_METAFILE" = "yes"; then
44224 cat >>confdefs.h <<\_ACEOF
44225 #define wxUSE_METAFILE 1
44226 _ACEOF
44227
44228
44229 cat >>confdefs.h <<\_ACEOF
44230 #define wxUSE_ENH_METAFILE 1
44231 _ACEOF
44232
44233 fi
44234 fi
44235
44236 if test "$wxUSE_IPC" = "yes"; then
44237 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44238 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44239 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44240 wxUSE_IPC=no
44241 fi
44242
44243 if test "$wxUSE_IPC" = "yes"; then
44244 cat >>confdefs.h <<\_ACEOF
44245 #define wxUSE_IPC 1
44246 _ACEOF
44247
44248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44249 fi
44250 fi
44251
44252 if test "$wxUSE_DATAOBJ" = "yes"; then
44253 if test "$wxUSE_MGL" = 1; then
44254 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44255 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44256 wxUSE_DATAOBJ=no
44257 else
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_DATAOBJ 1
44260 _ACEOF
44261
44262 fi
44263 else
44264 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44265 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44266 wxUSE_CLIPBOARD=no
44267 wxUSE_DRAG_AND_DROP=no
44268 fi
44269
44270 if test "$wxUSE_CLIPBOARD" = "yes"; then
44271 if test "$wxUSE_MGL" = 1; then
44272 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44273 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44274 wxUSE_CLIPBOARD=no
44275 fi
44276
44277 if test "$wxUSE_CLIPBOARD" = "yes"; then
44278 cat >>confdefs.h <<\_ACEOF
44279 #define wxUSE_CLIPBOARD 1
44280 _ACEOF
44281
44282 fi
44283 fi
44284
44285 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44286 if test "$wxUSE_GTK" = 1; then
44287 if test "$WXGTK12" != 1; then
44288 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44289 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44290 wxUSE_DRAG_AND_DROP=no
44291 fi
44292 fi
44293
44294 if test "$wxUSE_MOTIF" = 1; then
44295 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44296 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44297 wxUSE_DRAG_AND_DROP=no
44298 fi
44299
44300 if test "$wxUSE_X11" = 1; then
44301 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44302 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44303 wxUSE_DRAG_AND_DROP=no
44304 fi
44305
44306 if test "$wxUSE_MGL" = 1; then
44307 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
44308 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
44309 wxUSE_DRAG_AND_DROP=no
44310 fi
44311
44312 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44313 cat >>confdefs.h <<\_ACEOF
44314 #define wxUSE_DRAG_AND_DROP 1
44315 _ACEOF
44316
44317 fi
44318
44319 fi
44320
44321 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44323 fi
44324
44325 if test "$wxUSE_SPLINES" = "yes" ; then
44326 cat >>confdefs.h <<\_ACEOF
44327 #define wxUSE_SPLINES 1
44328 _ACEOF
44329
44330 fi
44331
44332 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44333 cat >>confdefs.h <<\_ACEOF
44334 #define wxUSE_MOUSEWHEEL 1
44335 _ACEOF
44336
44337 fi
44338
44339
44340 USES_CONTROLS=0
44341 if test "$wxUSE_CONTROLS" = "yes"; then
44342 USES_CONTROLS=1
44343 fi
44344
44345 if test "$wxUSE_ACCEL" = "yes"; then
44346 cat >>confdefs.h <<\_ACEOF
44347 #define wxUSE_ACCEL 1
44348 _ACEOF
44349
44350 USES_CONTROLS=1
44351 fi
44352
44353 if test "$wxUSE_BUTTON" = "yes"; then
44354 cat >>confdefs.h <<\_ACEOF
44355 #define wxUSE_BUTTON 1
44356 _ACEOF
44357
44358 USES_CONTROLS=1
44359 fi
44360
44361 if test "$wxUSE_BMPBUTTON" = "yes"; then
44362 cat >>confdefs.h <<\_ACEOF
44363 #define wxUSE_BMPBUTTON 1
44364 _ACEOF
44365
44366 USES_CONTROLS=1
44367 fi
44368
44369 if test "$wxUSE_CALCTRL" = "yes"; then
44370 cat >>confdefs.h <<\_ACEOF
44371 #define wxUSE_CALENDARCTRL 1
44372 _ACEOF
44373
44374 USES_CONTROLS=1
44375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44376 fi
44377
44378 if test "$wxUSE_CARET" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_CARET 1
44381 _ACEOF
44382
44383 USES_CONTROLS=1
44384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44385 fi
44386
44387 if test "$wxUSE_COMBOBOX" = "yes"; then
44388 cat >>confdefs.h <<\_ACEOF
44389 #define wxUSE_COMBOBOX 1
44390 _ACEOF
44391
44392 USES_CONTROLS=1
44393 fi
44394
44395 if test "$wxUSE_COMBOCTRL" = "yes"; then
44396 cat >>confdefs.h <<\_ACEOF
44397 #define wxUSE_COMBOCTRL 1
44398 _ACEOF
44399
44400 USES_CONTROLS=1
44401 fi
44402
44403 if test "$wxUSE_CHOICE" = "yes"; then
44404 cat >>confdefs.h <<\_ACEOF
44405 #define wxUSE_CHOICE 1
44406 _ACEOF
44407
44408 USES_CONTROLS=1
44409 fi
44410
44411 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44412 cat >>confdefs.h <<\_ACEOF
44413 #define wxUSE_CHOICEBOOK 1
44414 _ACEOF
44415
44416 USES_CONTROLS=1
44417 fi
44418
44419 if test "$wxUSE_CHECKBOX" = "yes"; then
44420 cat >>confdefs.h <<\_ACEOF
44421 #define wxUSE_CHECKBOX 1
44422 _ACEOF
44423
44424 USES_CONTROLS=1
44425 fi
44426
44427 if test "$wxUSE_CHECKLST" = "yes"; then
44428 cat >>confdefs.h <<\_ACEOF
44429 #define wxUSE_CHECKLISTBOX 1
44430 _ACEOF
44431
44432 USES_CONTROLS=1
44433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44434 fi
44435
44436 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_COLOURPICKERCTRL 1
44439 _ACEOF
44440
44441 USES_CONTROLS=1
44442 fi
44443
44444 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44445 cat >>confdefs.h <<\_ACEOF
44446 #define wxUSE_DATEPICKCTRL 1
44447 _ACEOF
44448
44449 USES_CONTROLS=1
44450 fi
44451
44452 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44453 cat >>confdefs.h <<\_ACEOF
44454 #define wxUSE_DIRPICKERCTRL 1
44455 _ACEOF
44456
44457 USES_CONTROLS=1
44458 fi
44459
44460 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44461 cat >>confdefs.h <<\_ACEOF
44462 #define wxUSE_FILEPICKERCTRL 1
44463 _ACEOF
44464
44465 USES_CONTROLS=1
44466 fi
44467
44468 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44469 cat >>confdefs.h <<\_ACEOF
44470 #define wxUSE_FONTPICKERCTRL 1
44471 _ACEOF
44472
44473 USES_CONTROLS=1
44474 fi
44475
44476 if test "$wxUSE_DISPLAY" = "yes"; then
44477 cat >>confdefs.h <<\_ACEOF
44478 #define wxUSE_DISPLAY 1
44479 _ACEOF
44480
44481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44482 fi
44483
44484 if test "$wxUSE_GAUGE" = "yes"; then
44485 cat >>confdefs.h <<\_ACEOF
44486 #define wxUSE_GAUGE 1
44487 _ACEOF
44488
44489 USES_CONTROLS=1
44490 fi
44491
44492 if test "$wxUSE_GRID" = "yes"; then
44493 cat >>confdefs.h <<\_ACEOF
44494 #define wxUSE_GRID 1
44495 _ACEOF
44496
44497 USES_CONTROLS=1
44498 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44499 fi
44500
44501 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44502 cat >>confdefs.h <<\_ACEOF
44503 #define wxUSE_HYPERLINKCTRL 1
44504 _ACEOF
44505
44506 USES_CONTROLS=1
44507 fi
44508
44509 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44510 cat >>confdefs.h <<\_ACEOF
44511 #define wxUSE_DATAVIEWCTRL 1
44512 _ACEOF
44513
44514 USES_CONTROLS=1
44515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44516 fi
44517
44518 if test "$wxUSE_IMAGLIST" = "yes"; then
44519 cat >>confdefs.h <<\_ACEOF
44520 #define wxUSE_IMAGLIST 1
44521 _ACEOF
44522
44523 fi
44524
44525 if test "$wxUSE_LISTBOOK" = "yes"; then
44526 cat >>confdefs.h <<\_ACEOF
44527 #define wxUSE_LISTBOOK 1
44528 _ACEOF
44529
44530 USES_CONTROLS=1
44531 fi
44532
44533 if test "$wxUSE_LISTBOX" = "yes"; then
44534 cat >>confdefs.h <<\_ACEOF
44535 #define wxUSE_LISTBOX 1
44536 _ACEOF
44537
44538 USES_CONTROLS=1
44539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44540 fi
44541
44542 if test "$wxUSE_LISTCTRL" = "yes"; then
44543 if test "$wxUSE_IMAGLIST" = "yes"; then
44544 cat >>confdefs.h <<\_ACEOF
44545 #define wxUSE_LISTCTRL 1
44546 _ACEOF
44547
44548 USES_CONTROLS=1
44549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44550 else
44551 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44552 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44553 fi
44554 fi
44555
44556 if test "$wxUSE_NOTEBOOK" = "yes"; then
44557 cat >>confdefs.h <<\_ACEOF
44558 #define wxUSE_NOTEBOOK 1
44559 _ACEOF
44560
44561 USES_CONTROLS=1
44562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44563 fi
44564
44565 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44566 cat >>confdefs.h <<\_ACEOF
44567 #define wxUSE_ODCOMBOBOX 1
44568 _ACEOF
44569
44570 USES_CONTROLS=1
44571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44572 fi
44573
44574
44575 if test "$wxUSE_RADIOBOX" = "yes"; then
44576 cat >>confdefs.h <<\_ACEOF
44577 #define wxUSE_RADIOBOX 1
44578 _ACEOF
44579
44580 USES_CONTROLS=1
44581 fi
44582
44583 if test "$wxUSE_RADIOBTN" = "yes"; then
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_RADIOBTN 1
44586 _ACEOF
44587
44588 USES_CONTROLS=1
44589 fi
44590
44591 if test "$wxUSE_SASH" = "yes"; then
44592 cat >>confdefs.h <<\_ACEOF
44593 #define wxUSE_SASH 1
44594 _ACEOF
44595
44596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44597 fi
44598
44599 if test "$wxUSE_SCROLLBAR" = "yes"; then
44600 cat >>confdefs.h <<\_ACEOF
44601 #define wxUSE_SCROLLBAR 1
44602 _ACEOF
44603
44604 USES_CONTROLS=1
44605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44606 fi
44607
44608 if test "$wxUSE_SLIDER" = "yes"; then
44609 cat >>confdefs.h <<\_ACEOF
44610 #define wxUSE_SLIDER 1
44611 _ACEOF
44612
44613 USES_CONTROLS=1
44614 fi
44615
44616 if test "$wxUSE_SPINBTN" = "yes"; then
44617 cat >>confdefs.h <<\_ACEOF
44618 #define wxUSE_SPINBTN 1
44619 _ACEOF
44620
44621 USES_CONTROLS=1
44622 fi
44623
44624 if test "$wxUSE_SPINCTRL" = "yes"; then
44625 cat >>confdefs.h <<\_ACEOF
44626 #define wxUSE_SPINCTRL 1
44627 _ACEOF
44628
44629 USES_CONTROLS=1
44630 fi
44631
44632 if test "$wxUSE_SPLITTER" = "yes"; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_SPLITTER 1
44635 _ACEOF
44636
44637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44638 fi
44639
44640 if test "$wxUSE_STATBMP" = "yes"; then
44641 cat >>confdefs.h <<\_ACEOF
44642 #define wxUSE_STATBMP 1
44643 _ACEOF
44644
44645 USES_CONTROLS=1
44646 fi
44647
44648 if test "$wxUSE_STATBOX" = "yes"; then
44649 cat >>confdefs.h <<\_ACEOF
44650 #define wxUSE_STATBOX 1
44651 _ACEOF
44652
44653 USES_CONTROLS=1
44654 fi
44655
44656 if test "$wxUSE_STATTEXT" = "yes"; then
44657 cat >>confdefs.h <<\_ACEOF
44658 #define wxUSE_STATTEXT 1
44659 _ACEOF
44660
44661 USES_CONTROLS=1
44662 fi
44663
44664 if test "$wxUSE_STATLINE" = "yes"; then
44665 cat >>confdefs.h <<\_ACEOF
44666 #define wxUSE_STATLINE 1
44667 _ACEOF
44668
44669 USES_CONTROLS=1
44670 fi
44671
44672 if test "$wxUSE_STATUSBAR" = "yes"; then
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_NATIVE_STATUSBAR 1
44675 _ACEOF
44676
44677 cat >>confdefs.h <<\_ACEOF
44678 #define wxUSE_STATUSBAR 1
44679 _ACEOF
44680
44681 USES_CONTROLS=1
44682
44683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44684 fi
44685
44686 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44687 cat >>confdefs.h <<\_ACEOF
44688 #define wxUSE_TAB_DIALOG 1
44689 _ACEOF
44690
44691 fi
44692
44693 if test "$wxUSE_TEXTCTRL" = "yes"; then
44694 cat >>confdefs.h <<\_ACEOF
44695 #define wxUSE_TEXTCTRL 1
44696 _ACEOF
44697
44698 USES_CONTROLS=1
44699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44700 fi
44701
44702 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44703 if test "$wxUSE_COCOA" = 1 ; then
44704 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44705 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44706 wxUSE_TOGGLEBTN=no
44707 fi
44708
44709 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44710 cat >>confdefs.h <<\_ACEOF
44711 #define wxUSE_TOGGLEBTN 1
44712 _ACEOF
44713
44714 USES_CONTROLS=1
44715 fi
44716 fi
44717
44718 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44719 cat >>confdefs.h <<\_ACEOF
44720 #define wxUSE_TOOLBAR_SIMPLE 1
44721 _ACEOF
44722
44723 wxUSE_TOOLBAR="yes"
44724 USES_CONTROLS=1
44725 fi
44726
44727 if test "$wxUSE_TOOLBAR" = "yes"; then
44728 cat >>confdefs.h <<\_ACEOF
44729 #define wxUSE_TOOLBAR 1
44730 _ACEOF
44731
44732 USES_CONTROLS=1
44733
44734 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44735 wxUSE_TOOLBAR_NATIVE="yes"
44736 fi
44737
44738 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44739 cat >>confdefs.h <<\_ACEOF
44740 #define wxUSE_TOOLBAR_NATIVE 1
44741 _ACEOF
44742
44743 USES_CONTROLS=1
44744 fi
44745
44746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44747 fi
44748
44749 if test "$wxUSE_TOOLTIPS" = "yes"; then
44750 if test "$wxUSE_MOTIF" = 1; then
44751 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44752 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44753 else
44754 if test "$wxUSE_UNIVERSAL" = "yes"; then
44755 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44756 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44757 else
44758 cat >>confdefs.h <<\_ACEOF
44759 #define wxUSE_TOOLTIPS 1
44760 _ACEOF
44761
44762 fi
44763 fi
44764 fi
44765
44766 if test "$wxUSE_TREEBOOK" = "yes"; then
44767 cat >>confdefs.h <<\_ACEOF
44768 #define wxUSE_TREEBOOK 1
44769 _ACEOF
44770
44771 USES_CONTROLS=1
44772 fi
44773
44774 if test "$wxUSE_TOOLBOOK" = "yes"; then
44775 cat >>confdefs.h <<\_ACEOF
44776 #define wxUSE_TOOLBOOK 1
44777 _ACEOF
44778
44779 USES_CONTROLS=1
44780 fi
44781
44782 if test "$wxUSE_TREECTRL" = "yes"; then
44783 if test "$wxUSE_IMAGLIST" = "yes"; then
44784 cat >>confdefs.h <<\_ACEOF
44785 #define wxUSE_TREECTRL 1
44786 _ACEOF
44787
44788 USES_CONTROLS=1
44789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44790 else
44791 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44792 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44793 fi
44794 fi
44795
44796 if test "$wxUSE_POPUPWIN" = "yes"; then
44797 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44798 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44799 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44800 else
44801 if test "$wxUSE_PM" = 1; then
44802 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44803 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44804 else
44805 cat >>confdefs.h <<\_ACEOF
44806 #define wxUSE_POPUPWIN 1
44807 _ACEOF
44808
44809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44810
44811 USES_CONTROLS=1
44812 fi
44813 fi
44814 fi
44815
44816 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44817 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44818 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44819 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44820 else
44821 cat >>confdefs.h <<\_ACEOF
44822 #define wxUSE_DIALUP_MANAGER 1
44823 _ACEOF
44824
44825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44826 fi
44827 fi
44828
44829 if test "$wxUSE_TIPWINDOW" = "yes"; then
44830 if test "$wxUSE_PM" = 1; then
44831 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44832 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44833 else
44834 cat >>confdefs.h <<\_ACEOF
44835 #define wxUSE_TIPWINDOW 1
44836 _ACEOF
44837
44838 fi
44839 fi
44840
44841 if test "$USES_CONTROLS" = 1; then
44842 cat >>confdefs.h <<\_ACEOF
44843 #define wxUSE_CONTROLS 1
44844 _ACEOF
44845
44846 fi
44847
44848
44849 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44850 cat >>confdefs.h <<\_ACEOF
44851 #define wxUSE_ACCESSIBILITY 1
44852 _ACEOF
44853
44854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44855 fi
44856
44857 if test "$wxUSE_DC_CACHEING" = "yes"; then
44858 cat >>confdefs.h <<\_ACEOF
44859 #define wxUSE_DC_CACHEING 1
44860 _ACEOF
44861
44862 fi
44863
44864 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44865 cat >>confdefs.h <<\_ACEOF
44866 #define wxUSE_DRAGIMAGE 1
44867 _ACEOF
44868
44869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44870 fi
44871
44872 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44873 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44874 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44875 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44876 else
44877 cat >>confdefs.h <<\_ACEOF
44878 #define wxUSE_EXCEPTIONS 1
44879 _ACEOF
44880
44881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44882 fi
44883 fi
44884
44885 USE_HTML=0
44886 if test "$wxUSE_HTML" = "yes"; then
44887 cat >>confdefs.h <<\_ACEOF
44888 #define wxUSE_HTML 1
44889 _ACEOF
44890
44891 USE_HTML=1
44892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44893 if test "$wxUSE_MAC" = 1; then
44894 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44895 fi
44896 fi
44897 if test "$wxUSE_WEBKIT" = "yes"; then
44898 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44899 old_CPPFLAGS="$CPPFLAGS"
44900 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44901 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44902 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44903 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44904 echo $ECHO_N "(cached) $ECHO_C" >&6
44905 else
44906 cat >conftest.$ac_ext <<_ACEOF
44907 /* confdefs.h. */
44908 _ACEOF
44909 cat confdefs.h >>conftest.$ac_ext
44910 cat >>conftest.$ac_ext <<_ACEOF
44911 /* end confdefs.h. */
44912 #include <Carbon/Carbon.h>
44913
44914 #include <WebKit/HIWebView.h>
44915 _ACEOF
44916 rm -f conftest.$ac_objext
44917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44918 (eval $ac_compile) 2>conftest.er1
44919 ac_status=$?
44920 grep -v '^ *+' conftest.er1 >conftest.err
44921 rm -f conftest.er1
44922 cat conftest.err >&5
44923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44924 (exit $ac_status); } &&
44925 { ac_try='test -z "$ac_cxx_werror_flag"
44926 || test ! -s conftest.err'
44927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44928 (eval $ac_try) 2>&5
44929 ac_status=$?
44930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44931 (exit $ac_status); }; } &&
44932 { ac_try='test -s conftest.$ac_objext'
44933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44934 (eval $ac_try) 2>&5
44935 ac_status=$?
44936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44937 (exit $ac_status); }; }; then
44938 ac_cv_header_WebKit_HIWebView_h=yes
44939 else
44940 echo "$as_me: failed program was:" >&5
44941 sed 's/^/| /' conftest.$ac_ext >&5
44942
44943 ac_cv_header_WebKit_HIWebView_h=no
44944 fi
44945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44946 fi
44947 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44948 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44949 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44950
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_WEBKIT 1
44953 _ACEOF
44954
44955 WEBKIT_LINK="-framework WebKit"
44956
44957 else
44958
44959 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44960 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44961 wxUSE_WEBKIT=no
44962
44963 fi
44964
44965
44966 CPPFLAGS="$old_CPPFLAGS"
44967 elif test "$wxUSE_COCOA" = 1; then
44968 cat >>confdefs.h <<\_ACEOF
44969 #define wxUSE_WEBKIT 1
44970 _ACEOF
44971
44972 else
44973 wxUSE_WEBKIT=no
44974 fi
44975 fi
44976
44977 USE_XRC=0
44978 if test "$wxUSE_XRC" = "yes"; then
44979 if test "$wxUSE_XML" != "yes"; then
44980 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44981 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44982 wxUSE_XRC=no
44983 else
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_XRC 1
44986 _ACEOF
44987
44988 USE_XRC=1
44989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44990 fi
44991 fi
44992
44993 USE_AUI=0
44994 if test "$wxUSE_AUI" = "yes"; then
44995 cat >>confdefs.h <<\_ACEOF
44996 #define wxUSE_AUI 1
44997 _ACEOF
44998
44999 USE_AUI=1
45000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45001 fi
45002
45003 if test "$wxUSE_MENUS" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_MENUS 1
45006 _ACEOF
45007
45008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45009 fi
45010
45011 if test "$wxUSE_METAFILE" = "yes"; then
45012 cat >>confdefs.h <<\_ACEOF
45013 #define wxUSE_METAFILE 1
45014 _ACEOF
45015
45016 fi
45017
45018 if test "$wxUSE_MIMETYPE" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_MIMETYPE 1
45021 _ACEOF
45022
45023 fi
45024
45025 if test "$wxUSE_MINIFRAME" = "yes"; then
45026 cat >>confdefs.h <<\_ACEOF
45027 #define wxUSE_MINIFRAME 1
45028 _ACEOF
45029
45030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45031 fi
45032
45033 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45034 cat >>confdefs.h <<\_ACEOF
45035 #define wxUSE_SYSTEM_OPTIONS 1
45036 _ACEOF
45037
45038 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45039 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45040 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45041 fi
45042 fi
45043
45044
45045 if test "$wxUSE_VALIDATORS" = "yes"; then
45046 cat >>confdefs.h <<\_ACEOF
45047 #define wxUSE_VALIDATORS 1
45048 _ACEOF
45049
45050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45051 fi
45052
45053 if test "$wxUSE_PALETTE" = "yes" ; then
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_PALETTE 1
45056 _ACEOF
45057
45058 fi
45059
45060 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45061 LIBS=" -lunicows $LIBS"
45062 fi
45063
45064 USE_RICHTEXT=0
45065 if test "$wxUSE_RICHTEXT" = "yes"; then
45066 cat >>confdefs.h <<\_ACEOF
45067 #define wxUSE_RICHTEXT 1
45068 _ACEOF
45069
45070 USE_RICHTEXT=1
45071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45072 fi
45073
45074
45075 if test "$wxUSE_IMAGE" = "yes" ; then
45076 cat >>confdefs.h <<\_ACEOF
45077 #define wxUSE_IMAGE 1
45078 _ACEOF
45079
45080
45081 if test "$wxUSE_GIF" = "yes" ; then
45082 cat >>confdefs.h <<\_ACEOF
45083 #define wxUSE_GIF 1
45084 _ACEOF
45085
45086 fi
45087
45088 if test "$wxUSE_PCX" = "yes" ; then
45089 cat >>confdefs.h <<\_ACEOF
45090 #define wxUSE_PCX 1
45091 _ACEOF
45092
45093 fi
45094
45095 if test "$wxUSE_IFF" = "yes" ; then
45096 cat >>confdefs.h <<\_ACEOF
45097 #define wxUSE_IFF 1
45098 _ACEOF
45099
45100 fi
45101
45102 if test "$wxUSE_PNM" = "yes" ; then
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_PNM 1
45105 _ACEOF
45106
45107 fi
45108
45109 if test "$wxUSE_XPM" = "yes" ; then
45110 cat >>confdefs.h <<\_ACEOF
45111 #define wxUSE_XPM 1
45112 _ACEOF
45113
45114 fi
45115
45116 if test "$wxUSE_ICO_CUR" = "yes" ; then
45117 cat >>confdefs.h <<\_ACEOF
45118 #define wxUSE_ICO_CUR 1
45119 _ACEOF
45120
45121 fi
45122 fi
45123
45124
45125 if test "$wxUSE_CHOICEDLG" = "yes"; then
45126 cat >>confdefs.h <<\_ACEOF
45127 #define wxUSE_CHOICEDLG 1
45128 _ACEOF
45129
45130 fi
45131
45132 if test "$wxUSE_COLOURDLG" = "yes"; then
45133 cat >>confdefs.h <<\_ACEOF
45134 #define wxUSE_COLOURDLG 1
45135 _ACEOF
45136
45137 fi
45138
45139 if test "$wxUSE_FILEDLG" = "yes"; then
45140 cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_FILEDLG 1
45142 _ACEOF
45143
45144 fi
45145
45146 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45147 cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_FINDREPLDLG 1
45149 _ACEOF
45150
45151 fi
45152
45153 if test "$wxUSE_FONTDLG" = "yes"; then
45154 cat >>confdefs.h <<\_ACEOF
45155 #define wxUSE_FONTDLG 1
45156 _ACEOF
45157
45158 fi
45159
45160 if test "$wxUSE_DIRDLG" = "yes"; then
45161 if test "$wxUSE_TREECTRL" != "yes"; then
45162 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45163 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45164 else
45165 cat >>confdefs.h <<\_ACEOF
45166 #define wxUSE_DIRDLG 1
45167 _ACEOF
45168
45169 fi
45170 fi
45171
45172 if test "$wxUSE_MSGDLG" = "yes"; then
45173 cat >>confdefs.h <<\_ACEOF
45174 #define wxUSE_MSGDLG 1
45175 _ACEOF
45176
45177 fi
45178
45179 if test "$wxUSE_NUMBERDLG" = "yes"; then
45180 cat >>confdefs.h <<\_ACEOF
45181 #define wxUSE_NUMBERDLG 1
45182 _ACEOF
45183
45184 fi
45185
45186 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45187 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45188 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45189 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45190 else
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_PROGRESSDLG 1
45193 _ACEOF
45194
45195 fi
45196 fi
45197
45198 if test "$wxUSE_SPLASH" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_SPLASH 1
45201 _ACEOF
45202
45203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45204 fi
45205
45206 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45207 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45208 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45209 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45210 else
45211 cat >>confdefs.h <<\_ACEOF
45212 #define wxUSE_STARTUP_TIPS 1
45213 _ACEOF
45214
45215 fi
45216 fi
45217
45218 if test "$wxUSE_TEXTDLG" = "yes"; then
45219 cat >>confdefs.h <<\_ACEOF
45220 #define wxUSE_TEXTDLG 1
45221 _ACEOF
45222
45223 fi
45224
45225 if test "$wxUSE_WIZARDDLG" = "yes"; then
45226 cat >>confdefs.h <<\_ACEOF
45227 #define wxUSE_WIZARDDLG 1
45228 _ACEOF
45229
45230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45231 fi
45232
45233
45234 USE_MEDIA=0
45235
45236 if test "$wxUSE_MEDIACTRL" = "yes"; then
45237 if test "$wxUSE_GTK" = 1; then
45238 wxUSE_GSTREAMER="yes"
45239
45240 GST_VERSION_MAJOR=0
45241 GST_VERSION_MINOR=10
45242 GST_VERSION_RELEASE=0
45243 GSTREAMER_REQ=$GST_VERSION_MAJOR.$GST_VERSION_MINOR.$GST_VERSION_RELEASE
45244 GST_MAJORMINOR=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45245
45246 if test "$wxUSE_GSTREAMER8" = "no"; then
45247
45248 succeeded=no
45249
45250 if test -z "$PKG_CONFIG"; then
45251 # Extract the first word of "pkg-config", so it can be a program name with args.
45252 set dummy pkg-config; ac_word=$2
45253 echo "$as_me:$LINENO: checking for $ac_word" >&5
45254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45255 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45256 echo $ECHO_N "(cached) $ECHO_C" >&6
45257 else
45258 case $PKG_CONFIG in
45259 [\\/]* | ?:[\\/]*)
45260 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45261 ;;
45262 *)
45263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45264 for as_dir in $PATH
45265 do
45266 IFS=$as_save_IFS
45267 test -z "$as_dir" && as_dir=.
45268 for ac_exec_ext in '' $ac_executable_extensions; do
45269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45270 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45272 break 2
45273 fi
45274 done
45275 done
45276
45277 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
45278 ;;
45279 esac
45280 fi
45281 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45282
45283 if test -n "$PKG_CONFIG"; then
45284 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45285 echo "${ECHO_T}$PKG_CONFIG" >&6
45286 else
45287 echo "$as_me:$LINENO: result: no" >&5
45288 echo "${ECHO_T}no" >&6
45289 fi
45290
45291 fi
45292
45293 if test "$PKG_CONFIG" = "no" ; then
45294 echo "*** The pkg-config script could not be found. Make sure it is"
45295 echo "*** in your path, or set the PKG_CONFIG environment variable"
45296 echo "*** to the full path to pkg-config."
45297 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45298 else
45299 PKG_CONFIG_MIN_VERSION=0.9.0
45300 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45301 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
45302 gstreamer-plugins-base-$GST_MAJORMINOR
45303 gconf-2.0" >&5
45304 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
45305 gstreamer-plugins-base-$GST_MAJORMINOR
45306 gconf-2.0... $ECHO_C" >&6
45307
45308 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
45309 gstreamer-plugins-base-$GST_MAJORMINOR
45310 gconf-2.0" ; then
45311 echo "$as_me:$LINENO: result: yes" >&5
45312 echo "${ECHO_T}yes" >&6
45313 succeeded=yes
45314
45315 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45316 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45317 GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
45318 gstreamer-plugins-base-$GST_MAJORMINOR
45319 gconf-2.0"`
45320 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45321 echo "${ECHO_T}$GST_CFLAGS" >&6
45322
45323 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45324 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45325 GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
45326 gstreamer-plugins-base-$GST_MAJORMINOR
45327 gconf-2.0"`
45328 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45329 echo "${ECHO_T}$GST_LIBS" >&6
45330 else
45331 GST_CFLAGS=""
45332 GST_LIBS=""
45333 ## If we have a custom action on failure, don't print errors, but
45334 ## do set a variable so people can do so.
45335 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
45336 gstreamer-plugins-base-$GST_MAJORMINOR
45337 gconf-2.0"`
45338
45339 fi
45340
45341
45342
45343 else
45344 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45345 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45346 fi
45347 fi
45348
45349 if test $succeeded = yes; then
45350
45351 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45352 LIBS="$LIBS $GST_LIBS -lgstinterfaces-$GST_MAJORMINOR"
45353
45354 else
45355
45356 GST_VERSION_MINOR=8
45357
45358 fi
45359
45360 else
45361 GST_VERSION_MINOR=8
45362 fi
45363
45364 GSTREAMER_REQ=$GST_VERSION_MAJOR.$GST_VERSION_MINOR.$GST_VERSION_RELEASE
45365 GST_MAJORMINOR=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45366
45367 if test x$GST_VERSION_MINOR = x8; then
45368
45369 succeeded=no
45370
45371 if test -z "$PKG_CONFIG"; then
45372 # Extract the first word of "pkg-config", so it can be a program name with args.
45373 set dummy pkg-config; ac_word=$2
45374 echo "$as_me:$LINENO: checking for $ac_word" >&5
45375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45376 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45377 echo $ECHO_N "(cached) $ECHO_C" >&6
45378 else
45379 case $PKG_CONFIG in
45380 [\\/]* | ?:[\\/]*)
45381 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45382 ;;
45383 *)
45384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45385 for as_dir in $PATH
45386 do
45387 IFS=$as_save_IFS
45388 test -z "$as_dir" && as_dir=.
45389 for ac_exec_ext in '' $ac_executable_extensions; do
45390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45391 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45393 break 2
45394 fi
45395 done
45396 done
45397
45398 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
45399 ;;
45400 esac
45401 fi
45402 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45403
45404 if test -n "$PKG_CONFIG"; then
45405 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45406 echo "${ECHO_T}$PKG_CONFIG" >&6
45407 else
45408 echo "$as_me:$LINENO: result: no" >&5
45409 echo "${ECHO_T}no" >&6
45410 fi
45411
45412 fi
45413
45414 if test "$PKG_CONFIG" = "no" ; then
45415 echo "*** The pkg-config script could not be found. Make sure it is"
45416 echo "*** in your path, or set the PKG_CONFIG environment variable"
45417 echo "*** to the full path to pkg-config."
45418 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45419 else
45420 PKG_CONFIG_MIN_VERSION=0.9.0
45421 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45422 echo "$as_me:$LINENO: checking for gstreamer-$GST_MAJORMINOR
45423 gstreamer-interfaces-$GST_MAJORMINOR
45424 gstreamer-gconf-$GST_MAJORMINOR" >&5
45425 echo $ECHO_N "checking for gstreamer-$GST_MAJORMINOR
45426 gstreamer-interfaces-$GST_MAJORMINOR
45427 gstreamer-gconf-$GST_MAJORMINOR... $ECHO_C" >&6
45428
45429 if $PKG_CONFIG --exists "gstreamer-$GST_MAJORMINOR
45430 gstreamer-interfaces-$GST_MAJORMINOR
45431 gstreamer-gconf-$GST_MAJORMINOR" ; then
45432 echo "$as_me:$LINENO: result: yes" >&5
45433 echo "${ECHO_T}yes" >&6
45434 succeeded=yes
45435
45436 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45437 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45438 GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR
45439 gstreamer-interfaces-$GST_MAJORMINOR
45440 gstreamer-gconf-$GST_MAJORMINOR"`
45441 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45442 echo "${ECHO_T}$GST_CFLAGS" >&6
45443
45444 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45445 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45446 GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR
45447 gstreamer-interfaces-$GST_MAJORMINOR
45448 gstreamer-gconf-$GST_MAJORMINOR"`
45449 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45450 echo "${ECHO_T}$GST_LIBS" >&6
45451 else
45452 GST_CFLAGS=""
45453 GST_LIBS=""
45454 ## If we have a custom action on failure, don't print errors, but
45455 ## do set a variable so people can do so.
45456 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR
45457 gstreamer-interfaces-$GST_MAJORMINOR
45458 gstreamer-gconf-$GST_MAJORMINOR"`
45459
45460 fi
45461
45462
45463
45464 else
45465 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45466 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45467 fi
45468 fi
45469
45470 if test $succeeded = yes; then
45471
45472 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45473 LIBS="$LIBS $GST_LIBS"
45474
45475 else
45476
45477 { echo "$as_me:$LINENO: WARNING: Proper GStreamer .8/.10 installation not found" >&5
45478 echo "$as_me: WARNING: Proper GStreamer .8/.10 installation not found" >&2;}
45479 wxUSE_GSTREAMER="no"
45480
45481 fi
45482
45483 fi
45484
45485
45486 if test "$wxUSE_GSTREAMER" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_GSTREAMER 1
45489 _ACEOF
45490
45491 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
45492 echo "${ECHO_T}GStreamer detection successful" >&6
45493 fi
45494 fi
45495 USE_MEDIA=1
45496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45497 cat >>confdefs.h <<\_ACEOF
45498 #define wxUSE_MEDIACTRL 1
45499 _ACEOF
45500
45501 fi
45502
45503
45504 if test "$cross_compiling" = "yes"; then
45505 OSINFO="\"$host\""
45506 else
45507 OSINFO=`uname -s -r -m`
45508 OSINFO="\"$OSINFO\""
45509 fi
45510
45511 cat >>confdefs.h <<_ACEOF
45512 #define WXWIN_OS_DESCRIPTION $OSINFO
45513 _ACEOF
45514
45515
45516
45517 if test "x$prefix" != "xNONE"; then
45518 wxPREFIX=$prefix
45519 else
45520 wxPREFIX=$ac_default_prefix
45521 fi
45522
45523 cat >>confdefs.h <<_ACEOF
45524 #define wxINSTALL_PREFIX "$wxPREFIX"
45525 _ACEOF
45526
45527
45528
45529
45530 CORE_BASE_LIBS="net base"
45531 CORE_GUI_LIBS="adv core"
45532
45533 if test "$wxUSE_XML" = "yes" ; then
45534 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45535 fi
45536 if test "$wxUSE_ODBC" != "no" ; then
45537 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45538 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45539 fi
45540 if test "$wxUSE_HTML" = "yes" ; then
45541 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45542 fi
45543 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45544 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45545 fi
45546 if test "$wxUSE_XRC" = "yes" ; then
45547 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45548 fi
45549 if test "$wxUSE_AUI" = "yes" ; then
45550 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45551 fi
45552
45553 if test "$wxUSE_GUI" != "yes"; then
45554 CORE_GUI_LIBS=""
45555 fi
45556
45557
45558
45559
45560
45561 ac_ext=c
45562 ac_cpp='$CPP $CPPFLAGS'
45563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45566
45567
45568
45569 if test "$wxUSE_MAC" = 1 ; then
45570 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45571 if test "$USE_DARWIN" = 1; then
45572 LDFLAGS="$LDFLAGS -framework QuickTime"
45573 else
45574 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45575 fi
45576 fi
45577 if test "$USE_DARWIN" = 1; then
45578 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45579 else
45580 LDFLAGS="$LDFLAGS -lCarbonLib"
45581 fi
45582 fi
45583 if test "$wxUSE_COCOA" = 1 ; then
45584 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45585 if test "$wxUSE_MEDIACTRL" = "yes"; then
45586 LDFLAGS="$LDFLAGS -framework QuickTime"
45587 fi
45588 fi
45589 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45590 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45591 fi
45592
45593 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45594
45595 if test "$wxUSE_GUI" = "yes"; then
45596
45597
45598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45599 dynamic erase event exec font image minimal mobile \
45600 mobile/wxedit mobile/styles propsize render \
45601 rotate shaped vscroll widgets"
45602
45603 if test "$wxUSE_MONOLITHIC" != "yes"; then
45604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45605 fi
45606 if test "$TOOLKIT" = "MSW"; then
45607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45608 if test "$wxUSE_UNIVERSAL" != "yes"; then
45609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45610 fi
45611 fi
45612 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45614 fi
45615 else
45616 SAMPLES_SUBDIRS="console"
45617 fi
45618
45619
45620 if test "x$INTELCC" = "xyes" ; then
45621 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45622 elif test "$GCC" = yes ; then
45623 CWARNINGS="-Wall -Wundef"
45624 fi
45625
45626 if test "x$INTELCXX" = "xyes" ; then
45627 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45628 elif test "$GXX" = yes ; then
45629 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45630 fi
45631
45632
45633 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45634 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45635
45636
45637 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45638 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45639 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45640 $CPPFLAGS `
45641
45642 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45643 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45644 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45645
45646 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45647
45648
45649 if test "x$MWCC" = "xyes"; then
45650
45651 CC="$CC -cwd source -I-"
45652 CXX="$CXX -cwd source -I-"
45653 fi
45654
45655
45656 LIBS=`echo $LIBS`
45657 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45658 EXTRALIBS_XML="$EXPAT_LINK"
45659 EXTRALIBS_HTML="$MSPACK_LINK"
45660 EXTRALIBS_ODBC="$ODBC_LINK"
45661 if test "$wxUSE_GUI" = "yes"; then
45662 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45663 fi
45664 if test "$wxUSE_OPENGL" = "yes"; then
45665 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45666 fi
45667
45668 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45669
45670 WXCONFIG_LIBS="$LIBS"
45671
45672 if test "$wxUSE_REGEX" = "builtin" ; then
45673 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45674 fi
45675 if test "$wxUSE_EXPAT" = "builtin" ; then
45676 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45677 fi
45678 if test "$wxUSE_ODBC" = "builtin" ; then
45679 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45680 fi
45681 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45682 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45683 fi
45684 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45685 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45686 fi
45687 if test "$wxUSE_LIBPNG" = "builtin" ; then
45688 wxconfig_3rdparty="png $wxconfig_3rdparty"
45689 fi
45690 if test "$wxUSE_ZLIB" = "builtin" ; then
45691 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45692 fi
45693
45694 for i in $wxconfig_3rdparty ; do
45695 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45696 done
45697
45698
45699 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45700 WXUNIV=1
45701 else
45702 WXUNIV=0
45703 fi
45704
45705
45706
45707
45708
45709
45710
45711
45712
45713 if test $wxUSE_MONOLITHIC = "yes" ; then
45714 MONOLITHIC=1
45715 else
45716 MONOLITHIC=0
45717 fi
45718
45719 if test $wxUSE_PLUGINS = "yes" ; then
45720 USE_PLUGINS=1
45721 else
45722 USE_PLUGINS=0
45723 fi
45724
45725 if test $wxUSE_ODBC != "no" ; then
45726 USE_ODBC=1
45727 else
45728 USE_ODBC=0
45729 fi
45730
45731 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45732 USE_QA=1
45733 else
45734 USE_QA=0
45735 fi
45736
45737 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45738 OFFICIAL_BUILD=1
45739 else
45740 OFFICIAL_BUILD=0
45741 fi
45742
45743
45744
45745
45746
45747
45748
45749
45750
45751
45752
45753
45754
45755
45756
45757
45758
45759
45760
45761
45762
45763
45764
45765
45766
45767 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45768
45769
45770
45771
45772
45773
45774
45775
45776 case "$TOOLKIT" in
45777 GTK)
45778 TOOLKIT_USER="GTK+"
45779 if test "$WXGTK20" = 1; then
45780 TOOLKIT_USER="$TOOLKIT_USER 2"
45781 fi
45782 ;;
45783
45784 *)
45785 TOOLKIT_USER=$TOOLKIT_LOWERCASE
45786 ;;
45787 esac
45788
45789 if test "$wxUSE_WINE" = "yes"; then
45790 BAKEFILE_FORCE_PLATFORM=win32
45791 fi
45792
45793 if test "$wxUSE_MAC" = 1 ; then
45794 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45795 CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45796 CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45797 LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45798 bk_use_pch=no
45799 fi
45800 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45801 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45802 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45803 fi
45804
45805
45806
45807
45808 if test "x$BAKEFILE_HOST" = "x"; then
45809 if test "x${host}" = "x" ; then
45810 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45811 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45812 { (exit 1); exit 1; }; }
45813 fi
45814
45815 BAKEFILE_HOST="${host}"
45816 fi
45817
45818 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45819
45820 if test -n "$ac_tool_prefix"; then
45821 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45822 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45823 echo "$as_me:$LINENO: checking for $ac_word" >&5
45824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45825 if test "${ac_cv_prog_RANLIB+set}" = set; then
45826 echo $ECHO_N "(cached) $ECHO_C" >&6
45827 else
45828 if test -n "$RANLIB"; then
45829 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45830 else
45831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45832 for as_dir in $PATH
45833 do
45834 IFS=$as_save_IFS
45835 test -z "$as_dir" && as_dir=.
45836 for ac_exec_ext in '' $ac_executable_extensions; do
45837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45838 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45840 break 2
45841 fi
45842 done
45843 done
45844
45845 fi
45846 fi
45847 RANLIB=$ac_cv_prog_RANLIB
45848 if test -n "$RANLIB"; then
45849 echo "$as_me:$LINENO: result: $RANLIB" >&5
45850 echo "${ECHO_T}$RANLIB" >&6
45851 else
45852 echo "$as_me:$LINENO: result: no" >&5
45853 echo "${ECHO_T}no" >&6
45854 fi
45855
45856 fi
45857 if test -z "$ac_cv_prog_RANLIB"; then
45858 ac_ct_RANLIB=$RANLIB
45859 # Extract the first word of "ranlib", so it can be a program name with args.
45860 set dummy ranlib; ac_word=$2
45861 echo "$as_me:$LINENO: checking for $ac_word" >&5
45862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45863 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45864 echo $ECHO_N "(cached) $ECHO_C" >&6
45865 else
45866 if test -n "$ac_ct_RANLIB"; then
45867 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45868 else
45869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45870 for as_dir in $PATH
45871 do
45872 IFS=$as_save_IFS
45873 test -z "$as_dir" && as_dir=.
45874 for ac_exec_ext in '' $ac_executable_extensions; do
45875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45876 ac_cv_prog_ac_ct_RANLIB="ranlib"
45877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45878 break 2
45879 fi
45880 done
45881 done
45882
45883 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45884 fi
45885 fi
45886 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45887 if test -n "$ac_ct_RANLIB"; then
45888 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45889 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45890 else
45891 echo "$as_me:$LINENO: result: no" >&5
45892 echo "${ECHO_T}no" >&6
45893 fi
45894
45895 RANLIB=$ac_ct_RANLIB
45896 else
45897 RANLIB="$ac_cv_prog_RANLIB"
45898 fi
45899
45900 # Find a good install program. We prefer a C program (faster),
45901 # so one script is as good as another. But avoid the broken or
45902 # incompatible versions:
45903 # SysV /etc/install, /usr/sbin/install
45904 # SunOS /usr/etc/install
45905 # IRIX /sbin/install
45906 # AIX /bin/install
45907 # AmigaOS /C/install, which installs bootblocks on floppy discs
45908 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45909 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45910 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45911 # OS/2's system install, which has a completely different semantic
45912 # ./install, which can be erroneously created by make from ./install.sh.
45913 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45914 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45915 if test -z "$INSTALL"; then
45916 if test "${ac_cv_path_install+set}" = set; then
45917 echo $ECHO_N "(cached) $ECHO_C" >&6
45918 else
45919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45920 for as_dir in $PATH
45921 do
45922 IFS=$as_save_IFS
45923 test -z "$as_dir" && as_dir=.
45924 # Account for people who put trailing slashes in PATH elements.
45925 case $as_dir/ in
45926 ./ | .// | /cC/* | \
45927 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45928 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45929 /usr/ucb/* ) ;;
45930 *)
45931 # OSF1 and SCO ODT 3.0 have their own names for install.
45932 # Don't use installbsd from OSF since it installs stuff as root
45933 # by default.
45934 for ac_prog in ginstall scoinst install; do
45935 for ac_exec_ext in '' $ac_executable_extensions; do
45936 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45937 if test $ac_prog = install &&
45938 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45939 # AIX install. It has an incompatible calling convention.
45940 :
45941 elif test $ac_prog = install &&
45942 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45943 # program-specific install script used by HP pwplus--don't use.
45944 :
45945 else
45946 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45947 break 3
45948 fi
45949 fi
45950 done
45951 done
45952 ;;
45953 esac
45954 done
45955
45956
45957 fi
45958 if test "${ac_cv_path_install+set}" = set; then
45959 INSTALL=$ac_cv_path_install
45960 else
45961 # As a last resort, use the slow shell script. We don't cache a
45962 # path for INSTALL within a source directory, because that will
45963 # break other packages using the cache if that directory is
45964 # removed, or if the path is relative.
45965 INSTALL=$ac_install_sh
45966 fi
45967 fi
45968 echo "$as_me:$LINENO: result: $INSTALL" >&5
45969 echo "${ECHO_T}$INSTALL" >&6
45970
45971 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45972 # It thinks the first close brace ends the variable substitution.
45973 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45974
45975 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45976
45977 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45978
45979 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45980 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45981 LN_S=$as_ln_s
45982 if test "$LN_S" = "ln -s"; then
45983 echo "$as_me:$LINENO: result: yes" >&5
45984 echo "${ECHO_T}yes" >&6
45985 else
45986 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45987 echo "${ECHO_T}no, using $LN_S" >&6
45988 fi
45989
45990
45991 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45992 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45993 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45994 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45995 echo $ECHO_N "(cached) $ECHO_C" >&6
45996 else
45997 cat >conftest.make <<\_ACEOF
45998 all:
45999 @echo 'ac_maketemp="$(MAKE)"'
46000 _ACEOF
46001 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46002 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46003 if test -n "$ac_maketemp"; then
46004 eval ac_cv_prog_make_${ac_make}_set=yes
46005 else
46006 eval ac_cv_prog_make_${ac_make}_set=no
46007 fi
46008 rm -f conftest.make
46009 fi
46010 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46011 echo "$as_me:$LINENO: result: yes" >&5
46012 echo "${ECHO_T}yes" >&6
46013 SET_MAKE=
46014 else
46015 echo "$as_me:$LINENO: result: no" >&5
46016 echo "${ECHO_T}no" >&6
46017 SET_MAKE="MAKE=${MAKE-make}"
46018 fi
46019
46020
46021
46022 if test -n "$ac_tool_prefix"; then
46023 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46024 set dummy ${ac_tool_prefix}ar; ac_word=$2
46025 echo "$as_me:$LINENO: checking for $ac_word" >&5
46026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46027 if test "${ac_cv_prog_AR+set}" = set; then
46028 echo $ECHO_N "(cached) $ECHO_C" >&6
46029 else
46030 if test -n "$AR"; then
46031 ac_cv_prog_AR="$AR" # Let the user override the test.
46032 else
46033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46034 for as_dir in $PATH
46035 do
46036 IFS=$as_save_IFS
46037 test -z "$as_dir" && as_dir=.
46038 for ac_exec_ext in '' $ac_executable_extensions; do
46039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46040 ac_cv_prog_AR="${ac_tool_prefix}ar"
46041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46042 break 2
46043 fi
46044 done
46045 done
46046
46047 fi
46048 fi
46049 AR=$ac_cv_prog_AR
46050 if test -n "$AR"; then
46051 echo "$as_me:$LINENO: result: $AR" >&5
46052 echo "${ECHO_T}$AR" >&6
46053 else
46054 echo "$as_me:$LINENO: result: no" >&5
46055 echo "${ECHO_T}no" >&6
46056 fi
46057
46058 fi
46059 if test -z "$ac_cv_prog_AR"; then
46060 ac_ct_AR=$AR
46061 # Extract the first word of "ar", so it can be a program name with args.
46062 set dummy ar; ac_word=$2
46063 echo "$as_me:$LINENO: checking for $ac_word" >&5
46064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46066 echo $ECHO_N "(cached) $ECHO_C" >&6
46067 else
46068 if test -n "$ac_ct_AR"; then
46069 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46070 else
46071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46072 for as_dir in $PATH
46073 do
46074 IFS=$as_save_IFS
46075 test -z "$as_dir" && as_dir=.
46076 for ac_exec_ext in '' $ac_executable_extensions; do
46077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46078 ac_cv_prog_ac_ct_AR="ar"
46079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46080 break 2
46081 fi
46082 done
46083 done
46084
46085 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
46086 fi
46087 fi
46088 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46089 if test -n "$ac_ct_AR"; then
46090 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46091 echo "${ECHO_T}$ac_ct_AR" >&6
46092 else
46093 echo "$as_me:$LINENO: result: no" >&5
46094 echo "${ECHO_T}no" >&6
46095 fi
46096
46097 AR=$ac_ct_AR
46098 else
46099 AR="$ac_cv_prog_AR"
46100 fi
46101
46102 if test -n "$ac_tool_prefix"; then
46103 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46104 set dummy ${ac_tool_prefix}strip; ac_word=$2
46105 echo "$as_me:$LINENO: checking for $ac_word" >&5
46106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46107 if test "${ac_cv_prog_STRIP+set}" = set; then
46108 echo $ECHO_N "(cached) $ECHO_C" >&6
46109 else
46110 if test -n "$STRIP"; then
46111 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46112 else
46113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46114 for as_dir in $PATH
46115 do
46116 IFS=$as_save_IFS
46117 test -z "$as_dir" && as_dir=.
46118 for ac_exec_ext in '' $ac_executable_extensions; do
46119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46120 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46122 break 2
46123 fi
46124 done
46125 done
46126
46127 fi
46128 fi
46129 STRIP=$ac_cv_prog_STRIP
46130 if test -n "$STRIP"; then
46131 echo "$as_me:$LINENO: result: $STRIP" >&5
46132 echo "${ECHO_T}$STRIP" >&6
46133 else
46134 echo "$as_me:$LINENO: result: no" >&5
46135 echo "${ECHO_T}no" >&6
46136 fi
46137
46138 fi
46139 if test -z "$ac_cv_prog_STRIP"; then
46140 ac_ct_STRIP=$STRIP
46141 # Extract the first word of "strip", so it can be a program name with args.
46142 set dummy strip; ac_word=$2
46143 echo "$as_me:$LINENO: checking for $ac_word" >&5
46144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46145 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46146 echo $ECHO_N "(cached) $ECHO_C" >&6
46147 else
46148 if test -n "$ac_ct_STRIP"; then
46149 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46150 else
46151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46152 for as_dir in $PATH
46153 do
46154 IFS=$as_save_IFS
46155 test -z "$as_dir" && as_dir=.
46156 for ac_exec_ext in '' $ac_executable_extensions; do
46157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46158 ac_cv_prog_ac_ct_STRIP="strip"
46159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46160 break 2
46161 fi
46162 done
46163 done
46164
46165 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46166 fi
46167 fi
46168 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46169 if test -n "$ac_ct_STRIP"; then
46170 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46171 echo "${ECHO_T}$ac_ct_STRIP" >&6
46172 else
46173 echo "$as_me:$LINENO: result: no" >&5
46174 echo "${ECHO_T}no" >&6
46175 fi
46176
46177 STRIP=$ac_ct_STRIP
46178 else
46179 STRIP="$ac_cv_prog_STRIP"
46180 fi
46181
46182 if test -n "$ac_tool_prefix"; then
46183 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46184 set dummy ${ac_tool_prefix}nm; ac_word=$2
46185 echo "$as_me:$LINENO: checking for $ac_word" >&5
46186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46187 if test "${ac_cv_prog_NM+set}" = set; then
46188 echo $ECHO_N "(cached) $ECHO_C" >&6
46189 else
46190 if test -n "$NM"; then
46191 ac_cv_prog_NM="$NM" # Let the user override the test.
46192 else
46193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46194 for as_dir in $PATH
46195 do
46196 IFS=$as_save_IFS
46197 test -z "$as_dir" && as_dir=.
46198 for ac_exec_ext in '' $ac_executable_extensions; do
46199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46200 ac_cv_prog_NM="${ac_tool_prefix}nm"
46201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46202 break 2
46203 fi
46204 done
46205 done
46206
46207 fi
46208 fi
46209 NM=$ac_cv_prog_NM
46210 if test -n "$NM"; then
46211 echo "$as_me:$LINENO: result: $NM" >&5
46212 echo "${ECHO_T}$NM" >&6
46213 else
46214 echo "$as_me:$LINENO: result: no" >&5
46215 echo "${ECHO_T}no" >&6
46216 fi
46217
46218 fi
46219 if test -z "$ac_cv_prog_NM"; then
46220 ac_ct_NM=$NM
46221 # Extract the first word of "nm", so it can be a program name with args.
46222 set dummy nm; ac_word=$2
46223 echo "$as_me:$LINENO: checking for $ac_word" >&5
46224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46225 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46226 echo $ECHO_N "(cached) $ECHO_C" >&6
46227 else
46228 if test -n "$ac_ct_NM"; then
46229 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46230 else
46231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46232 for as_dir in $PATH
46233 do
46234 IFS=$as_save_IFS
46235 test -z "$as_dir" && as_dir=.
46236 for ac_exec_ext in '' $ac_executable_extensions; do
46237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46238 ac_cv_prog_ac_ct_NM="nm"
46239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46240 break 2
46241 fi
46242 done
46243 done
46244
46245 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
46246 fi
46247 fi
46248 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46249 if test -n "$ac_ct_NM"; then
46250 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46251 echo "${ECHO_T}$ac_ct_NM" >&6
46252 else
46253 echo "$as_me:$LINENO: result: no" >&5
46254 echo "${ECHO_T}no" >&6
46255 fi
46256
46257 NM=$ac_ct_NM
46258 else
46259 NM="$ac_cv_prog_NM"
46260 fi
46261
46262
46263 case ${BAKEFILE_HOST} in
46264 *-hp-hpux* )
46265 INSTALL_DIR="mkdir -p"
46266 ;;
46267 *) INSTALL_DIR="$INSTALL -d"
46268 ;;
46269 esac
46270
46271
46272 LDFLAGS_GUI=
46273 case ${BAKEFILE_HOST} in
46274 *-*-cygwin* | *-*-mingw32* )
46275 LDFLAGS_GUI="-mwindows"
46276 esac
46277
46278
46279 fi
46280
46281 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46282 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46283 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46284 echo $ECHO_N "(cached) $ECHO_C" >&6
46285 else
46286
46287 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46288 egrep -s GNU > /dev/null); then
46289 bakefile_cv_prog_makeisgnu="yes"
46290 else
46291 bakefile_cv_prog_makeisgnu="no"
46292 fi
46293
46294 fi
46295 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46296 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46297
46298 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46299 IF_GNU_MAKE=""
46300 else
46301 IF_GNU_MAKE="#"
46302 fi
46303
46304
46305
46306 PLATFORM_UNIX=0
46307 PLATFORM_WIN32=0
46308 PLATFORM_MSDOS=0
46309 PLATFORM_MAC=0
46310 PLATFORM_MACOS=0
46311 PLATFORM_MACOSX=0
46312 PLATFORM_OS2=0
46313 PLATFORM_BEOS=0
46314
46315 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46316 case "${BAKEFILE_HOST}" in
46317 *-*-mingw32* )
46318 PLATFORM_WIN32=1
46319 ;;
46320 *-pc-msdosdjgpp )
46321 PLATFORM_MSDOS=1
46322 ;;
46323 *-pc-os2_emx | *-pc-os2-emx )
46324 PLATFORM_OS2=1
46325 ;;
46326 *-*-darwin* )
46327 PLATFORM_MAC=1
46328 PLATFORM_MACOSX=1
46329 ;;
46330 *-*-beos* )
46331 PLATFORM_BEOS=1
46332 ;;
46333 powerpc-apple-macos* )
46334 PLATFORM_MAC=1
46335 PLATFORM_MACOS=1
46336 ;;
46337 * )
46338 PLATFORM_UNIX=1
46339 ;;
46340 esac
46341 else
46342 case "$BAKEFILE_FORCE_PLATFORM" in
46343 win32 )
46344 PLATFORM_WIN32=1
46345 ;;
46346 msdos )
46347 PLATFORM_MSDOS=1
46348 ;;
46349 os2 )
46350 PLATFORM_OS2=1
46351 ;;
46352 darwin )
46353 PLATFORM_MAC=1
46354 PLATFORM_MACOSX=1
46355 ;;
46356 unix )
46357 PLATFORM_UNIX=1
46358 ;;
46359 beos )
46360 PLATFORM_BEOS=1
46361 ;;
46362 * )
46363 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46364 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46365 { (exit 1); exit 1; }; }
46366 ;;
46367 esac
46368 fi
46369
46370
46371
46372
46373
46374
46375
46376
46377
46378
46379
46380 # Check whether --enable-omf or --disable-omf was given.
46381 if test "${enable_omf+set}" = set; then
46382 enableval="$enable_omf"
46383 bk_os2_use_omf="$enableval"
46384 fi;
46385
46386 case "${BAKEFILE_HOST}" in
46387 *-*-darwin* )
46388 if test "x$GCC" = "xyes"; then
46389 CFLAGS="$CFLAGS -fno-common"
46390 CXXFLAGS="$CXXFLAGS -fno-common"
46391 fi
46392 if test "x$XLCC" = "xyes"; then
46393 CFLAGS="$CFLAGS -qnocommon"
46394 CXXFLAGS="$CXXFLAGS -qnocommon"
46395 fi
46396 ;;
46397
46398 *-pc-os2_emx | *-pc-os2-emx )
46399 if test "x$bk_os2_use_omf" = "xyes" ; then
46400 AR=emxomfar
46401 RANLIB=:
46402 LDFLAGS="-Zomf $LDFLAGS"
46403 CFLAGS="-Zomf $CFLAGS"
46404 CXXFLAGS="-Zomf $CXXFLAGS"
46405 OS2_LIBEXT="lib"
46406 else
46407 OS2_LIBEXT="a"
46408 fi
46409 ;;
46410
46411 i*86-*-beos* )
46412 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46413 ;;
46414 esac
46415
46416
46417 SO_SUFFIX="so"
46418 SO_SUFFIX_MODULE="so"
46419 EXEEXT=""
46420 LIBPREFIX="lib"
46421 LIBEXT=".a"
46422 DLLPREFIX="lib"
46423 DLLPREFIX_MODULE=""
46424 DLLIMP_SUFFIX=""
46425 dlldir="$libdir"
46426
46427 case "${BAKEFILE_HOST}" in
46428 *-hp-hpux* )
46429 SO_SUFFIX="sl"
46430 SO_SUFFIX_MODULE="sl"
46431 ;;
46432 *-*-aix* )
46433 SO_SUFFIX="a"
46434 SO_SUFFIX_MODULE="a"
46435 ;;
46436 *-*-cygwin* )
46437 SO_SUFFIX="dll"
46438 SO_SUFFIX_MODULE="dll"
46439 DLLIMP_SUFFIX="dll.a"
46440 EXEEXT=".exe"
46441 DLLPREFIX="cyg"
46442 dlldir="$bindir"
46443 ;;
46444 *-*-mingw32* )
46445 SO_SUFFIX="dll"
46446 SO_SUFFIX_MODULE="dll"
46447 DLLIMP_SUFFIX="dll.a"
46448 EXEEXT=".exe"
46449 DLLPREFIX=""
46450 dlldir="$bindir"
46451 ;;
46452 *-pc-msdosdjgpp )
46453 EXEEXT=".exe"
46454 DLLPREFIX=""
46455 dlldir="$bindir"
46456 ;;
46457 *-pc-os2_emx | *-pc-os2-emx )
46458 SO_SUFFIX="dll"
46459 SO_SUFFIX_MODULE="dll"
46460 DLLIMP_SUFFIX=$OS2_LIBEXT
46461 EXEEXT=".exe"
46462 DLLPREFIX=""
46463 LIBPREFIX=""
46464 LIBEXT=".$OS2_LIBEXT"
46465 dlldir="$bindir"
46466 ;;
46467 *-*-darwin* )
46468 SO_SUFFIX="dylib"
46469 SO_SUFFIX_MODULE="bundle"
46470 ;;
46471 esac
46472
46473 if test "x$DLLIMP_SUFFIX" = "x" ; then
46474 DLLIMP_SUFFIX="$SO_SUFFIX"
46475 fi
46476
46477
46478
46479
46480
46481
46482
46483
46484
46485
46486
46487
46488 PIC_FLAG=""
46489 if test "x$GCC" = "xyes"; then
46490 PIC_FLAG="-fPIC"
46491 fi
46492
46493 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46494 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46495 WINDOWS_IMPLIB=0
46496
46497 case "${BAKEFILE_HOST}" in
46498 *-hp-hpux* )
46499 if test "x$GCC" != "xyes"; then
46500 LDFLAGS="$LDFLAGS -L/usr/lib"
46501
46502 SHARED_LD_CC="${CC} -b -o"
46503 SHARED_LD_CXX="${CXX} -b -o"
46504 PIC_FLAG="+Z"
46505 fi
46506 ;;
46507
46508 *-*-linux* )
46509 if test "x$GCC" != "xyes"; then
46510 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46511 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46512 if test "${bakefile_cv_prog_icc+set}" = set; then
46513 echo $ECHO_N "(cached) $ECHO_C" >&6
46514 else
46515
46516 cat >conftest.$ac_ext <<_ACEOF
46517 /* confdefs.h. */
46518 _ACEOF
46519 cat confdefs.h >>conftest.$ac_ext
46520 cat >>conftest.$ac_ext <<_ACEOF
46521 /* end confdefs.h. */
46522
46523 int
46524 main ()
46525 {
46526
46527 #ifndef __INTEL_COMPILER
46528 This is not ICC
46529 #endif
46530
46531 ;
46532 return 0;
46533 }
46534 _ACEOF
46535 rm -f conftest.$ac_objext
46536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46537 (eval $ac_compile) 2>conftest.er1
46538 ac_status=$?
46539 grep -v '^ *+' conftest.er1 >conftest.err
46540 rm -f conftest.er1
46541 cat conftest.err >&5
46542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46543 (exit $ac_status); } &&
46544 { ac_try='test -z "$ac_c_werror_flag"
46545 || test ! -s conftest.err'
46546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46547 (eval $ac_try) 2>&5
46548 ac_status=$?
46549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46550 (exit $ac_status); }; } &&
46551 { ac_try='test -s conftest.$ac_objext'
46552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46553 (eval $ac_try) 2>&5
46554 ac_status=$?
46555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46556 (exit $ac_status); }; }; then
46557 bakefile_cv_prog_icc=yes
46558 else
46559 echo "$as_me: failed program was:" >&5
46560 sed 's/^/| /' conftest.$ac_ext >&5
46561
46562 bakefile_cv_prog_icc=no
46563
46564 fi
46565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46566
46567 fi
46568 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46569 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46570 if test "$bakefile_cv_prog_icc" = "yes"; then
46571 PIC_FLAG="-KPIC"
46572 fi
46573 fi
46574 ;;
46575
46576 *-*-solaris2* )
46577 if test "x$GCC" != xyes ; then
46578 SHARED_LD_CC="${CC} -G -o"
46579 SHARED_LD_CXX="${CXX} -G -o"
46580 PIC_FLAG="-KPIC"
46581 fi
46582 ;;
46583
46584 *-*-darwin* )
46585
46586 D='$'
46587 cat <<EOF >shared-ld-sh
46588 #!/bin/sh
46589 #-----------------------------------------------------------------------------
46590 #-- Name: distrib/mac/shared-ld-sh
46591 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46592 #-- Author: Gilles Depeyrot
46593 #-- Copyright: (c) 2002 Gilles Depeyrot
46594 #-- Licence: any use permitted
46595 #-----------------------------------------------------------------------------
46596
46597 verbose=0
46598 args=""
46599 objects=""
46600 linking_flag="-dynamiclib"
46601 ldargs="-r -keep_private_externs -nostdlib"
46602
46603 while test ${D}# -gt 0; do
46604 case ${D}1 in
46605
46606 -v)
46607 verbose=1
46608 ;;
46609
46610 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46611 # collect these options and values
46612 args="${D}{args} ${D}1 ${D}2"
46613 shift
46614 ;;
46615
46616 -s|-Wl,*)
46617 # collect these load args
46618 ldargs="${D}{ldargs} ${D}1"
46619 ;;
46620
46621 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46622 # collect these options
46623 args="${D}{args} ${D}1"
46624 ;;
46625
46626 -dynamiclib|-bundle)
46627 linking_flag="${D}1"
46628 ;;
46629
46630 -*)
46631 echo "shared-ld: unhandled option '${D}1'"
46632 exit 1
46633 ;;
46634
46635 *.o | *.a | *.dylib)
46636 # collect object files
46637 objects="${D}{objects} ${D}1"
46638 ;;
46639
46640 *)
46641 echo "shared-ld: unhandled argument '${D}1'"
46642 exit 1
46643 ;;
46644
46645 esac
46646 shift
46647 done
46648
46649 status=0
46650
46651 #
46652 # Link one module containing all the others
46653 #
46654 if test ${D}{verbose} = 1; then
46655 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46656 fi
46657 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46658 status=${D}?
46659
46660 #
46661 # Link the shared library from the single module created, but only if the
46662 # previous command didn't fail:
46663 #
46664 if test ${D}{status} = 0; then
46665 if test ${D}{verbose} = 1; then
46666 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46667 fi
46668 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46669 status=${D}?
46670 fi
46671
46672 #
46673 # Remove intermediate module
46674 #
46675 rm -f master.${D}${D}.o
46676
46677 exit ${D}status
46678 EOF
46679
46680 chmod +x shared-ld-sh
46681
46682 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46683 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46684
46685
46686 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46687 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46688 if test "${bakefile_cv_gcc31+set}" = set; then
46689 echo $ECHO_N "(cached) $ECHO_C" >&6
46690 else
46691
46692 cat >conftest.$ac_ext <<_ACEOF
46693 /* confdefs.h. */
46694 _ACEOF
46695 cat confdefs.h >>conftest.$ac_ext
46696 cat >>conftest.$ac_ext <<_ACEOF
46697 /* end confdefs.h. */
46698
46699 int
46700 main ()
46701 {
46702
46703 #if (__GNUC__ < 3) || \
46704 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46705 This is old gcc
46706 #endif
46707
46708 ;
46709 return 0;
46710 }
46711 _ACEOF
46712 rm -f conftest.$ac_objext
46713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46714 (eval $ac_compile) 2>conftest.er1
46715 ac_status=$?
46716 grep -v '^ *+' conftest.er1 >conftest.err
46717 rm -f conftest.er1
46718 cat conftest.err >&5
46719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46720 (exit $ac_status); } &&
46721 { ac_try='test -z "$ac_c_werror_flag"
46722 || test ! -s conftest.err'
46723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46724 (eval $ac_try) 2>&5
46725 ac_status=$?
46726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46727 (exit $ac_status); }; } &&
46728 { ac_try='test -s conftest.$ac_objext'
46729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46730 (eval $ac_try) 2>&5
46731 ac_status=$?
46732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46733 (exit $ac_status); }; }; then
46734
46735 bakefile_cv_gcc31=yes
46736
46737 else
46738 echo "$as_me: failed program was:" >&5
46739 sed 's/^/| /' conftest.$ac_ext >&5
46740
46741
46742 bakefile_cv_gcc31=no
46743
46744
46745 fi
46746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46747
46748 fi
46749 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46750 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46751 if test "$bakefile_cv_gcc31" = "no"; then
46752 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46753 SHARED_LD_CXX="$SHARED_LD_CC"
46754 else
46755 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46756 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46757 fi
46758
46759 if test "x$GCC" == "xyes"; then
46760 PIC_FLAG="-dynamic -fPIC"
46761 fi
46762 if test "x$XLCC" = "xyes"; then
46763 PIC_FLAG="-dynamic -DPIC"
46764 fi
46765 ;;
46766
46767 *-*-aix* )
46768 if test "x$GCC" = "xyes"; then
46769 PIC_FLAG=""
46770
46771 case "${BAKEFILE_HOST}" in
46772 *-*-aix5* )
46773 LD_EXPFULL="-Wl,-bexpfull"
46774 ;;
46775 esac
46776
46777 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46778 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46779 else
46780 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46781 set dummy makeC++SharedLib; ac_word=$2
46782 echo "$as_me:$LINENO: checking for $ac_word" >&5
46783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46784 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46785 echo $ECHO_N "(cached) $ECHO_C" >&6
46786 else
46787 if test -n "$AIX_CXX_LD"; then
46788 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46789 else
46790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46791 for as_dir in $PATH
46792 do
46793 IFS=$as_save_IFS
46794 test -z "$as_dir" && as_dir=.
46795 for ac_exec_ext in '' $ac_executable_extensions; do
46796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46797 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46799 break 2
46800 fi
46801 done
46802 done
46803
46804 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46805 fi
46806 fi
46807 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46808 if test -n "$AIX_CXX_LD"; then
46809 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46810 echo "${ECHO_T}$AIX_CXX_LD" >&6
46811 else
46812 echo "$as_me:$LINENO: result: no" >&5
46813 echo "${ECHO_T}no" >&6
46814 fi
46815
46816 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46817 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46818 fi
46819 ;;
46820
46821 *-*-beos* )
46822 SHARED_LD_CC="${LD} -nostart -o"
46823 SHARED_LD_CXX="${LD} -nostart -o"
46824 ;;
46825
46826 *-*-irix* )
46827 if test "x$GCC" != "xyes"; then
46828 PIC_FLAG="-KPIC"
46829 fi
46830 ;;
46831
46832 *-*-cygwin* | *-*-mingw32* )
46833 PIC_FLAG=""
46834 SHARED_LD_CC="\$(CC) -shared -o"
46835 SHARED_LD_CXX="\$(CXX) -shared -o"
46836 WINDOWS_IMPLIB=1
46837 ;;
46838
46839 *-pc-os2_emx | *-pc-os2-emx )
46840 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46841 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46842 PIC_FLAG=""
46843
46844 D='$'
46845 cat <<EOF >dllar.sh
46846 #!/bin/sh
46847 #
46848 # dllar - a tool to build both a .dll and an .a file
46849 # from a set of object (.o) files for EMX/OS2.
46850 #
46851 # Written by Andrew Zabolotny, bit@freya.etu.ru
46852 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46853 #
46854 # This script will accept a set of files on the command line.
46855 # All the public symbols from the .o files will be exported into
46856 # a .DEF file, then linker will be run (through gcc) against them to
46857 # build a shared library consisting of all given .o files. All libraries
46858 # (.a) will be first decompressed into component .o files then act as
46859 # described above. You can optionally give a description (-d "description")
46860 # which will be put into .DLL. To see the list of accepted options (as well
46861 # as command-line format) simply run this program without options. The .DLL
46862 # is built to be imported by name (there is no guarantee that new versions
46863 # of the library you build will have same ordinals for same symbols).
46864 #
46865 # dllar is free software; you can redistribute it and/or modify
46866 # it under the terms of the GNU General Public License as published by
46867 # the Free Software Foundation; either version 2, or (at your option)
46868 # any later version.
46869 #
46870 # dllar is distributed in the hope that it will be useful,
46871 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46872 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46873 # GNU General Public License for more details.
46874 #
46875 # You should have received a copy of the GNU General Public License
46876 # along with dllar; see the file COPYING. If not, write to the Free
46877 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46878 # 02111-1307, USA.
46879
46880 # To successfuly run this program you will need:
46881 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46882 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46883 # - gcc
46884 # (used to build the .dll)
46885 # - emxexp
46886 # (used to create .def file from .o files)
46887 # - emximp
46888 # (used to create .a file from .def file)
46889 # - GNU text utilites (cat, sort, uniq)
46890 # used to process emxexp output
46891 # - GNU file utilities (mv, rm)
46892 # - GNU sed
46893 # - lxlite (optional, see flag below)
46894 # (used for general .dll cleanup)
46895 #
46896
46897 flag_USE_LXLITE=1;
46898
46899 #
46900 # helper functions
46901 # basnam, variant of basename, which does _not_ remove the path, _iff_
46902 # second argument (suffix to remove) is given
46903 basnam(){
46904 case ${D}# in
46905 1)
46906 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46907 ;;
46908 2)
46909 echo ${D}1 | sed 's/'${D}2'${D}//'
46910 ;;
46911 *)
46912 echo "error in basnam ${D}*"
46913 exit 8
46914 ;;
46915 esac
46916 }
46917
46918 # Cleanup temporary files and output
46919 CleanUp() {
46920 cd ${D}curDir
46921 for i in ${D}inputFiles ; do
46922 case ${D}i in
46923 *!)
46924 rm -rf \`basnam ${D}i !\`
46925 ;;
46926 *)
46927 ;;
46928 esac
46929 done
46930
46931 # Kill result in case of failure as there is just to many stupid make/nmake
46932 # things out there which doesn't do this.
46933 if [ ${D}# -eq 0 ]; then
46934 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46935 fi
46936 }
46937
46938 # Print usage and exit script with rc=1.
46939 PrintHelp() {
46940 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46941 echo ' [-name-mangler-script script.sh]'
46942 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46943 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46944 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46945 echo ' [*.o] [*.a]'
46946 echo '*> "output_file" should have no extension.'
46947 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46948 echo ' The import library name is derived from this and is set to "name".a,'
46949 echo ' unless overridden by -import'
46950 echo '*> "importlib_name" should have no extension.'
46951 echo ' If it has the .o, or .a extension, it is automatically removed.'
46952 echo ' This name is used as the import library name and may be longer and'
46953 echo ' more descriptive than the DLL name which has to follow the old '
46954 echo ' 8.3 convention of FAT.'
46955 echo '*> "script.sh may be given to override the output_file name by a'
46956 echo ' different name. It is mainly useful if the regular make process'
46957 echo ' of some package does not take into account OS/2 restriction of'
46958 echo ' DLL name lengths. It takes the importlib name as input and is'
46959 echo ' supposed to procude a shorter name as output. The script should'
46960 echo ' expect to get importlib_name without extension and should produce'
46961 echo ' a (max.) 8 letter name without extension.'
46962 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46963 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46964 echo ' These flags will be put at the start of GCC command line.'
46965 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46966 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46967 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46968 echo ' If the last character of a symbol is "*", all symbols beginning'
46969 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46970 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46971 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46972 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46973 echo ' C runtime DLLs.'
46974 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46975 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46976 echo ' unchanged to GCC at the end of command line.'
46977 echo '*> If you create a DLL from a library and you do not specify -o,'
46978 echo ' the basename for DLL and import library will be set to library name,'
46979 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46980 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46981 echo ' library will be renamed into gcc_s.a.'
46982 echo '--------'
46983 echo 'Example:'
46984 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46985 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46986 CleanUp
46987 exit 1
46988 }
46989
46990 # Execute a command.
46991 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46992 # @Uses Whatever CleanUp() uses.
46993 doCommand() {
46994 echo "${D}*"
46995 eval ${D}*
46996 rcCmd=${D}?
46997
46998 if [ ${D}rcCmd -ne 0 ]; then
46999 echo "command failed, exit code="${D}rcCmd
47000 CleanUp
47001 exit ${D}rcCmd
47002 fi
47003 }
47004
47005 # main routine
47006 # setup globals
47007 cmdLine=${D}*
47008 outFile=""
47009 outimpFile=""
47010 inputFiles=""
47011 renameScript=""
47012 description=""
47013 CC=gcc.exe
47014 CFLAGS="-s -Zcrtdll"
47015 EXTRA_CFLAGS=""
47016 EXPORT_BY_ORDINALS=0
47017 exclude_symbols=""
47018 library_flags=""
47019 curDir=\`pwd\`
47020 curDirS=curDir
47021 case ${D}curDirS in
47022 */)
47023 ;;
47024 *)
47025 curDirS=${D}{curDirS}"/"
47026 ;;
47027 esac
47028 # Parse commandline
47029 libsToLink=0
47030 omfLinking=0
47031 while [ ${D}1 ]; do
47032 case ${D}1 in
47033 -ord*)
47034 EXPORT_BY_ORDINALS=1;
47035 ;;
47036 -o*)
47037 shift
47038 outFile=${D}1
47039 ;;
47040 -i*)
47041 shift
47042 outimpFile=${D}1
47043 ;;
47044 -name-mangler-script)
47045 shift
47046 renameScript=${D}1
47047 ;;
47048 -d*)
47049 shift
47050 description=${D}1
47051 ;;
47052 -f*)
47053 shift
47054 CFLAGS=${D}1
47055 ;;
47056 -c*)
47057 shift
47058 CC=${D}1
47059 ;;
47060 -h*)
47061 PrintHelp
47062 ;;
47063 -ex*)
47064 shift
47065 exclude_symbols=${D}{exclude_symbols}${D}1" "
47066 ;;
47067 -libf*)
47068 shift
47069 library_flags=${D}{library_flags}${D}1" "
47070 ;;
47071 -nocrt*)
47072 CFLAGS="-s"
47073 ;;
47074 -nolxl*)
47075 flag_USE_LXLITE=0
47076 ;;
47077 -* | /*)
47078 case ${D}1 in
47079 -L* | -l*)
47080 libsToLink=1
47081 ;;
47082 -Zomf)
47083 omfLinking=1
47084 ;;
47085 *)
47086 ;;
47087 esac
47088 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47089 ;;
47090 *.dll)
47091 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47092 if [ ${D}omfLinking -eq 1 ]; then
47093 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47094 else
47095 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47096 fi
47097 ;;
47098 *)
47099 found=0;
47100 if [ ${D}libsToLink -ne 0 ]; then
47101 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47102 else
47103 for file in ${D}1 ; do
47104 if [ -f ${D}file ]; then
47105 inputFiles="${D}{inputFiles} ${D}file"
47106 found=1
47107 fi
47108 done
47109 if [ ${D}found -eq 0 ]; then
47110 echo "ERROR: No file(s) found: "${D}1
47111 exit 8
47112 fi
47113 fi
47114 ;;
47115 esac
47116 shift
47117 done # iterate cmdline words
47118
47119 #
47120 if [ -z "${D}inputFiles" ]; then
47121 echo "dllar: no input files"
47122 PrintHelp
47123 fi
47124
47125 # Now extract all .o files from .a files
47126 newInputFiles=""
47127 for file in ${D}inputFiles ; do
47128 case ${D}file in
47129 *.a | *.lib)
47130 case ${D}file in
47131 *.a)
47132 suffix=".a"
47133 AR="ar"
47134 ;;
47135 *.lib)
47136 suffix=".lib"
47137 AR="emxomfar"
47138 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47139 ;;
47140 *)
47141 ;;
47142 esac
47143 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47144 mkdir ${D}dirname
47145 if [ ${D}? -ne 0 ]; then
47146 echo "Failed to create subdirectory ./${D}dirname"
47147 CleanUp
47148 exit 8;
47149 fi
47150 # Append '!' to indicate archive
47151 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47152 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47153 cd ${D}curDir
47154 found=0;
47155 for subfile in ${D}dirname/*.o* ; do
47156 if [ -f ${D}subfile ]; then
47157 found=1
47158 if [ -s ${D}subfile ]; then
47159 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47160 newInputFiles="${D}newInputFiles ${D}subfile"
47161 fi
47162 fi
47163 done
47164 if [ ${D}found -eq 0 ]; then
47165 echo "WARNING: there are no files in archive \\'${D}file\\'"
47166 fi
47167 ;;
47168 *)
47169 newInputFiles="${D}{newInputFiles} ${D}file"
47170 ;;
47171 esac
47172 done
47173 inputFiles="${D}newInputFiles"
47174
47175 # Output filename(s).
47176 do_backup=0;
47177 if [ -z ${D}outFile ]; then
47178 do_backup=1;
47179 set outFile ${D}inputFiles; outFile=${D}2
47180 fi
47181
47182 # If it is an archive, remove the '!' and the '_%' suffixes
47183 case ${D}outFile in
47184 *_%!)
47185 outFile=\`basnam ${D}outFile _%!\`
47186 ;;
47187 *)
47188 ;;
47189 esac
47190 case ${D}outFile in
47191 *.dll)
47192 outFile=\`basnam ${D}outFile .dll\`
47193 ;;
47194 *.DLL)
47195 outFile=\`basnam ${D}outFile .DLL\`
47196 ;;
47197 *.o)
47198 outFile=\`basnam ${D}outFile .o\`
47199 ;;
47200 *.obj)
47201 outFile=\`basnam ${D}outFile .obj\`
47202 ;;
47203 *.a)
47204 outFile=\`basnam ${D}outFile .a\`
47205 ;;
47206 *.lib)
47207 outFile=\`basnam ${D}outFile .lib\`
47208 ;;
47209 *)
47210 ;;
47211 esac
47212 case ${D}outimpFile in
47213 *.a)
47214 outimpFile=\`basnam ${D}outimpFile .a\`
47215 ;;
47216 *.lib)
47217 outimpFile=\`basnam ${D}outimpFile .lib\`
47218 ;;
47219 *)
47220 ;;
47221 esac
47222 if [ -z ${D}outimpFile ]; then
47223 outimpFile=${D}outFile
47224 fi
47225 defFile="${D}{outFile}.def"
47226 arcFile="${D}{outimpFile}.a"
47227 arcFile2="${D}{outimpFile}.lib"
47228
47229 #create ${D}dllFile as something matching 8.3 restrictions,
47230 if [ -z ${D}renameScript ] ; then
47231 dllFile="${D}outFile"
47232 else
47233 dllFile=\`${D}renameScript ${D}outimpFile\`
47234 fi
47235
47236 if [ ${D}do_backup -ne 0 ] ; then
47237 if [ -f ${D}arcFile ] ; then
47238 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47239 fi
47240 if [ -f ${D}arcFile2 ] ; then
47241 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47242 fi
47243 fi
47244
47245 # Extract public symbols from all the object files.
47246 tmpdefFile=${D}{defFile}_%
47247 rm -f ${D}tmpdefFile
47248 for file in ${D}inputFiles ; do
47249 case ${D}file in
47250 *!)
47251 ;;
47252 *)
47253 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47254 ;;
47255 esac
47256 done
47257
47258 # Create the def file.
47259 rm -f ${D}defFile
47260 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47261 dllFile="${D}{dllFile}.dll"
47262 if [ ! -z ${D}description ]; then
47263 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47264 fi
47265 echo "EXPORTS" >> ${D}defFile
47266
47267 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47268 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47269
47270 # Checks if the export is ok or not.
47271 for word in ${D}exclude_symbols; do
47272 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47273 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47274 done
47275
47276
47277 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47278 sed "=" < ${D}tmpdefFile | \\
47279 sed '
47280 N
47281 : loop
47282 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47283 t loop
47284 ' > ${D}{tmpdefFile}%
47285 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47286 else
47287 rm -f ${D}{tmpdefFile}%
47288 fi
47289 cat ${D}tmpdefFile >> ${D}defFile
47290 rm -f ${D}tmpdefFile
47291
47292 # Do linking, create implib, and apply lxlite.
47293 gccCmdl="";
47294 for file in ${D}inputFiles ; do
47295 case ${D}file in
47296 *!)
47297 ;;
47298 *)
47299 gccCmdl="${D}gccCmdl ${D}file"
47300 ;;
47301 esac
47302 done
47303 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47304 touch "${D}{outFile}.dll"
47305
47306 doCommand "emximp -o ${D}arcFile ${D}defFile"
47307 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47308 add_flags="";
47309 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47310 add_flags="-ynd"
47311 fi
47312 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47313 fi
47314 doCommand "emxomf -s -l ${D}arcFile"
47315
47316 # Successful exit.
47317 CleanUp 1
47318 exit 0
47319 EOF
47320
47321 chmod +x dllar.sh
47322 ;;
47323
47324 powerpc-apple-macos* | \
47325 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47326 *-*-sunos4* | \
47327 *-*-osf* | \
47328 *-*-dgux5* | \
47329 *-*-sysv5* | \
47330 *-pc-msdosdjgpp )
47331 ;;
47332
47333 *)
47334 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47335 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47336 { (exit 1); exit 1; }; }
47337 esac
47338
47339 if test "x$PIC_FLAG" != "x" ; then
47340 PIC_FLAG="$PIC_FLAG -DPIC"
47341 fi
47342
47343 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47344 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47345 fi
47346 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47347 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47348 fi
47349
47350
47351
47352
47353
47354
47355
47356
47357
47358 USE_SOVERSION=0
47359 USE_SOVERLINUX=0
47360 USE_SOVERSOLARIS=0
47361 USE_SOVERCYGWIN=0
47362 USE_SOSYMLINKS=0
47363 USE_MACVERSION=0
47364 SONAME_FLAG=
47365
47366 case "${BAKEFILE_HOST}" in
47367 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47368 SONAME_FLAG="-Wl,-soname,"
47369 USE_SOVERSION=1
47370 USE_SOVERLINUX=1
47371 USE_SOSYMLINKS=1
47372 ;;
47373
47374 *-*-solaris2* )
47375 SONAME_FLAG="-h "
47376 USE_SOVERSION=1
47377 USE_SOVERSOLARIS=1
47378 USE_SOSYMLINKS=1
47379 ;;
47380
47381 *-*-darwin* )
47382 USE_MACVERSION=1
47383 USE_SOVERSION=1
47384 USE_SOSYMLINKS=1
47385 ;;
47386
47387 *-*-cygwin* )
47388 USE_SOVERSION=1
47389 USE_SOVERCYGWIN=1
47390 ;;
47391 esac
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47403 if test "${enable_dependency_tracking+set}" = set; then
47404 enableval="$enable_dependency_tracking"
47405 bk_use_trackdeps="$enableval"
47406 fi;
47407
47408 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47409 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47410
47411 if test "x$bk_use_trackdeps" = "xno" ; then
47412 DEPS_TRACKING=0
47413 echo "$as_me:$LINENO: result: disabled" >&5
47414 echo "${ECHO_T}disabled" >&6
47415 else
47416 DEPS_TRACKING=1
47417
47418 if test "x$GCC" = "xyes"; then
47419 DEPSMODE=gcc
47420 case "${BAKEFILE_HOST}" in
47421 *-*-darwin* )
47422 DEPSFLAG="-no-cpp-precomp -MMD"
47423 ;;
47424 * )
47425 DEPSFLAG="-MMD"
47426 ;;
47427 esac
47428 echo "$as_me:$LINENO: result: gcc" >&5
47429 echo "${ECHO_T}gcc" >&6
47430 elif test "x$MWCC" = "xyes"; then
47431 DEPSMODE=mwcc
47432 DEPSFLAG="-MM"
47433 echo "$as_me:$LINENO: result: mwcc" >&5
47434 echo "${ECHO_T}mwcc" >&6
47435 elif test "x$SUNCC" = "xyes"; then
47436 DEPSMODE=unixcc
47437 DEPSFLAG="-xM1"
47438 echo "$as_me:$LINENO: result: Sun cc" >&5
47439 echo "${ECHO_T}Sun cc" >&6
47440 elif test "x$SGICC" = "xyes"; then
47441 DEPSMODE=unixcc
47442 DEPSFLAG="-M"
47443 echo "$as_me:$LINENO: result: SGI cc" >&5
47444 echo "${ECHO_T}SGI cc" >&6
47445 elif test "x$HPCC" = "xyes"; then
47446 DEPSMODE=unixcc
47447 DEPSFLAG="+make"
47448 echo "$as_me:$LINENO: result: HP cc" >&5
47449 echo "${ECHO_T}HP cc" >&6
47450 elif test "x$COMPAQCC" = "xyes"; then
47451 DEPSMODE=gcc
47452 DEPSFLAG="-MD"
47453 echo "$as_me:$LINENO: result: Compaq cc" >&5
47454 echo "${ECHO_T}Compaq cc" >&6
47455 else
47456 DEPS_TRACKING=0
47457 echo "$as_me:$LINENO: result: none" >&5
47458 echo "${ECHO_T}none" >&6
47459 fi
47460
47461 if test $DEPS_TRACKING = 1 ; then
47462
47463 D='$'
47464 cat <<EOF >bk-deps
47465 #!/bin/sh
47466
47467 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47468 # script. It is used to track C/C++ files dependencies in portable way.
47469 #
47470 # Permission is given to use this file in any way.
47471
47472 DEPSMODE=${DEPSMODE}
47473 DEPSDIR=.deps
47474 DEPSFLAG="${DEPSFLAG}"
47475
47476 mkdir -p ${D}DEPSDIR
47477
47478 if test ${D}DEPSMODE = gcc ; then
47479 ${D}* ${D}{DEPSFLAG}
47480 status=${D}?
47481 if test ${D}{status} != 0 ; then
47482 exit ${D}{status}
47483 fi
47484 # move created file to the location we want it in:
47485 while test ${D}# -gt 0; do
47486 case "${D}1" in
47487 -o )
47488 shift
47489 objfile=${D}1
47490 ;;
47491 -* )
47492 ;;
47493 * )
47494 srcfile=${D}1
47495 ;;
47496 esac
47497 shift
47498 done
47499 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47500 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47501 if test -f ${D}depfile ; then
47502 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47503 rm -f ${D}depfile
47504 else
47505 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47506 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47507 if test ! -f ${D}depfile ; then
47508 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47509 depfile="${D}objfile.d"
47510 fi
47511 if test -f ${D}depfile ; then
47512 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47513 rm -f ${D}depfile
47514 fi
47515 fi
47516 exit 0
47517 elif test ${D}DEPSMODE = mwcc ; then
47518 ${D}* || exit ${D}?
47519 # Run mwcc again with -MM and redirect into the dep file we want
47520 # NOTE: We can't use shift here because we need ${D}* to be valid
47521 prevarg=
47522 for arg in ${D}* ; do
47523 if test "${D}prevarg" = "-o"; then
47524 objfile=${D}arg
47525 else
47526 case "${D}arg" in
47527 -* )
47528 ;;
47529 * )
47530 srcfile=${D}arg
47531 ;;
47532 esac
47533 fi
47534 prevarg="${D}arg"
47535 done
47536 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47537 exit 0
47538 elif test ${D}DEPSMODE = unixcc; then
47539 ${D}* || exit ${D}?
47540 # Run compiler again with deps flag and redirect into the dep file.
47541 # It doesn't work if the '-o FILE' option is used, but without it the
47542 # dependency file will contain the wrong name for the object. So it is
47543 # removed from the command line, and the dep file is fixed with sed.
47544 cmd=""
47545 while test ${D}# -gt 0; do
47546 case "${D}1" in
47547 -o )
47548 shift
47549 objfile=${D}1
47550 ;;
47551 * )
47552 eval arg${D}#=\\${D}1
47553 cmd="${D}cmd \\${D}arg${D}#"
47554 ;;
47555 esac
47556 shift
47557 done
47558 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47559 exit 0
47560 else
47561 ${D}*
47562 exit ${D}?
47563 fi
47564 EOF
47565
47566 chmod +x bk-deps
47567 fi
47568 fi
47569
47570
47571
47572
47573 case ${BAKEFILE_HOST} in
47574 *-*-cygwin* | *-*-mingw32* )
47575 if test -n "$ac_tool_prefix"; then
47576 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47577 set dummy ${ac_tool_prefix}windres; ac_word=$2
47578 echo "$as_me:$LINENO: checking for $ac_word" >&5
47579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47580 if test "${ac_cv_prog_WINDRES+set}" = set; then
47581 echo $ECHO_N "(cached) $ECHO_C" >&6
47582 else
47583 if test -n "$WINDRES"; then
47584 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47585 else
47586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47587 for as_dir in $PATH
47588 do
47589 IFS=$as_save_IFS
47590 test -z "$as_dir" && as_dir=.
47591 for ac_exec_ext in '' $ac_executable_extensions; do
47592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47593 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47595 break 2
47596 fi
47597 done
47598 done
47599
47600 fi
47601 fi
47602 WINDRES=$ac_cv_prog_WINDRES
47603 if test -n "$WINDRES"; then
47604 echo "$as_me:$LINENO: result: $WINDRES" >&5
47605 echo "${ECHO_T}$WINDRES" >&6
47606 else
47607 echo "$as_me:$LINENO: result: no" >&5
47608 echo "${ECHO_T}no" >&6
47609 fi
47610
47611 fi
47612 if test -z "$ac_cv_prog_WINDRES"; then
47613 ac_ct_WINDRES=$WINDRES
47614 # Extract the first word of "windres", so it can be a program name with args.
47615 set dummy windres; ac_word=$2
47616 echo "$as_me:$LINENO: checking for $ac_word" >&5
47617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47618 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47619 echo $ECHO_N "(cached) $ECHO_C" >&6
47620 else
47621 if test -n "$ac_ct_WINDRES"; then
47622 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47623 else
47624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47625 for as_dir in $PATH
47626 do
47627 IFS=$as_save_IFS
47628 test -z "$as_dir" && as_dir=.
47629 for ac_exec_ext in '' $ac_executable_extensions; do
47630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47631 ac_cv_prog_ac_ct_WINDRES="windres"
47632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47633 break 2
47634 fi
47635 done
47636 done
47637
47638 fi
47639 fi
47640 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47641 if test -n "$ac_ct_WINDRES"; then
47642 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47643 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47644 else
47645 echo "$as_me:$LINENO: result: no" >&5
47646 echo "${ECHO_T}no" >&6
47647 fi
47648
47649 WINDRES=$ac_ct_WINDRES
47650 else
47651 WINDRES="$ac_cv_prog_WINDRES"
47652 fi
47653
47654 ;;
47655
47656 *-*-darwin* | powerpc-apple-macos* )
47657 # Extract the first word of "Rez", so it can be a program name with args.
47658 set dummy Rez; ac_word=$2
47659 echo "$as_me:$LINENO: checking for $ac_word" >&5
47660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47661 if test "${ac_cv_prog_REZ+set}" = set; then
47662 echo $ECHO_N "(cached) $ECHO_C" >&6
47663 else
47664 if test -n "$REZ"; then
47665 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47666 else
47667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47668 for as_dir in $PATH
47669 do
47670 IFS=$as_save_IFS
47671 test -z "$as_dir" && as_dir=.
47672 for ac_exec_ext in '' $ac_executable_extensions; do
47673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47674 ac_cv_prog_REZ="Rez"
47675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47676 break 2
47677 fi
47678 done
47679 done
47680
47681 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47682 fi
47683 fi
47684 REZ=$ac_cv_prog_REZ
47685 if test -n "$REZ"; then
47686 echo "$as_me:$LINENO: result: $REZ" >&5
47687 echo "${ECHO_T}$REZ" >&6
47688 else
47689 echo "$as_me:$LINENO: result: no" >&5
47690 echo "${ECHO_T}no" >&6
47691 fi
47692
47693 # Extract the first word of "SetFile", so it can be a program name with args.
47694 set dummy SetFile; ac_word=$2
47695 echo "$as_me:$LINENO: checking for $ac_word" >&5
47696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47697 if test "${ac_cv_prog_SETFILE+set}" = set; then
47698 echo $ECHO_N "(cached) $ECHO_C" >&6
47699 else
47700 if test -n "$SETFILE"; then
47701 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47702 else
47703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47704 for as_dir in $PATH
47705 do
47706 IFS=$as_save_IFS
47707 test -z "$as_dir" && as_dir=.
47708 for ac_exec_ext in '' $ac_executable_extensions; do
47709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47710 ac_cv_prog_SETFILE="SetFile"
47711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47712 break 2
47713 fi
47714 done
47715 done
47716
47717 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47718 fi
47719 fi
47720 SETFILE=$ac_cv_prog_SETFILE
47721 if test -n "$SETFILE"; then
47722 echo "$as_me:$LINENO: result: $SETFILE" >&5
47723 echo "${ECHO_T}$SETFILE" >&6
47724 else
47725 echo "$as_me:$LINENO: result: no" >&5
47726 echo "${ECHO_T}no" >&6
47727 fi
47728
47729 ;;
47730 esac
47731
47732
47733
47734
47735
47736
47737 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
47738
47739
47740 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
47741
47742
47743
47744 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47745 if test "${enable_precomp_headers+set}" = set; then
47746 enableval="$enable_precomp_headers"
47747 bk_use_pch="$enableval"
47748 fi;
47749
47750 GCC_PCH=0
47751 ICC_PCH=0
47752 USE_PCH=0
47753
47754 case ${BAKEFILE_HOST} in
47755 *-*-cygwin* )
47756 bk_use_pch="no"
47757 ;;
47758 esac
47759
47760 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47761 if test "x$GCC" = "xyes"; then
47762 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47763 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47764 cat >conftest.$ac_ext <<_ACEOF
47765 /* confdefs.h. */
47766 _ACEOF
47767 cat confdefs.h >>conftest.$ac_ext
47768 cat >>conftest.$ac_ext <<_ACEOF
47769 /* end confdefs.h. */
47770
47771 int
47772 main ()
47773 {
47774
47775 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47776 There is no PCH support
47777 #endif
47778 #if (__GNUC__ < 3)
47779 There is no PCH support
47780 #endif
47781 #if (__GNUC__ == 3) && \
47782 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47783 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47784 ( defined(__INTEL_COMPILER) )
47785 There is no PCH support
47786 #endif
47787
47788 ;
47789 return 0;
47790 }
47791 _ACEOF
47792 rm -f conftest.$ac_objext
47793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47794 (eval $ac_compile) 2>conftest.er1
47795 ac_status=$?
47796 grep -v '^ *+' conftest.er1 >conftest.err
47797 rm -f conftest.er1
47798 cat conftest.err >&5
47799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47800 (exit $ac_status); } &&
47801 { ac_try='test -z "$ac_c_werror_flag"
47802 || test ! -s conftest.err'
47803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47804 (eval $ac_try) 2>&5
47805 ac_status=$?
47806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47807 (exit $ac_status); }; } &&
47808 { ac_try='test -s conftest.$ac_objext'
47809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47810 (eval $ac_try) 2>&5
47811 ac_status=$?
47812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47813 (exit $ac_status); }; }; then
47814
47815 echo "$as_me:$LINENO: result: yes" >&5
47816 echo "${ECHO_T}yes" >&6
47817 GCC_PCH=1
47818
47819 else
47820 echo "$as_me: failed program was:" >&5
47821 sed 's/^/| /' conftest.$ac_ext >&5
47822
47823
47824 cat >conftest.$ac_ext <<_ACEOF
47825 /* confdefs.h. */
47826 _ACEOF
47827 cat confdefs.h >>conftest.$ac_ext
47828 cat >>conftest.$ac_ext <<_ACEOF
47829 /* end confdefs.h. */
47830
47831 int
47832 main ()
47833 {
47834
47835 #if !defined(__INTEL_COMPILER) || \
47836 (__INTEL_COMPILER < 800)
47837 There is no PCH support
47838 #endif
47839
47840 ;
47841 return 0;
47842 }
47843 _ACEOF
47844 rm -f conftest.$ac_objext
47845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47846 (eval $ac_compile) 2>conftest.er1
47847 ac_status=$?
47848 grep -v '^ *+' conftest.er1 >conftest.err
47849 rm -f conftest.er1
47850 cat conftest.err >&5
47851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47852 (exit $ac_status); } &&
47853 { ac_try='test -z "$ac_c_werror_flag"
47854 || test ! -s conftest.err'
47855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47856 (eval $ac_try) 2>&5
47857 ac_status=$?
47858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47859 (exit $ac_status); }; } &&
47860 { ac_try='test -s conftest.$ac_objext'
47861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47862 (eval $ac_try) 2>&5
47863 ac_status=$?
47864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47865 (exit $ac_status); }; }; then
47866
47867 echo "$as_me:$LINENO: result: yes" >&5
47868 echo "${ECHO_T}yes" >&6
47869 ICC_PCH=1
47870
47871 else
47872 echo "$as_me: failed program was:" >&5
47873 sed 's/^/| /' conftest.$ac_ext >&5
47874
47875
47876 echo "$as_me:$LINENO: result: no" >&5
47877 echo "${ECHO_T}no" >&6
47878
47879 fi
47880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47881
47882 fi
47883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47884 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47885 USE_PCH=1
47886
47887 D='$'
47888 cat <<EOF >bk-make-pch
47889 #!/bin/sh
47890
47891 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47892 # script. It is used to generated precompiled headers.
47893 #
47894 # Permission is given to use this file in any way.
47895
47896 outfile="${D}{1}"
47897 header="${D}{2}"
47898 shift
47899 shift
47900
47901 compiler=""
47902 headerfile=""
47903
47904 while test ${D}{#} -gt 0; do
47905 add_to_cmdline=1
47906 case "${D}{1}" in
47907 -I* )
47908 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47909 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47910 headerfile="${D}{incdir}/${D}{header}"
47911 fi
47912 ;;
47913 -use-pch|-use_pch )
47914 shift
47915 add_to_cmdline=0
47916 ;;
47917 esac
47918 if test ${D}add_to_cmdline = 1 ; then
47919 compiler="${D}{compiler} ${D}{1}"
47920 fi
47921 shift
47922 done
47923
47924 if test "x${D}{headerfile}" = "x" ; then
47925 echo "error: can't find header ${D}{header} in include paths" >&2
47926 else
47927 if test -f ${D}{outfile} ; then
47928 rm -f ${D}{outfile}
47929 else
47930 mkdir -p \`dirname ${D}{outfile}\`
47931 fi
47932 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47933 mkdir -p .deps
47934 if test "x${GCC_PCH}" = "x1" ; then
47935 # can do this because gcc is >= 3.4:
47936 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47937 elif test "x${ICC_PCH}" = "x1" ; then
47938 filename=pch_gen-${D}${D}
47939 file=${D}{filename}.c
47940 dfile=${D}{filename}.d
47941 cat > ${D}file <<EOT
47942 #include "${D}header"
47943 EOT
47944 # using -MF icc complains about differing command lines in creation/use
47945 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47946 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47947 rm -f ${D}file ${D}dfile ${D}{filename}.o
47948 fi
47949 exit ${D}{?}
47950 fi
47951 EOF
47952
47953 chmod +x bk-make-pch
47954 fi
47955 fi
47956 fi
47957
47958
47959
47960
47961 COND_BUILD_DEBUG="#"
47962 if test "x$BUILD" = "xdebug" ; then
47963 COND_BUILD_DEBUG=""
47964 fi
47965
47966 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47967 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47968 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47969 fi
47970
47971 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47972 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47973 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47974 fi
47975
47976 COND_BUILD_DEBUG_UNICODE_0="#"
47977 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47978 COND_BUILD_DEBUG_UNICODE_0=""
47979 fi
47980
47981 COND_BUILD_DEBUG_UNICODE_1="#"
47982 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47983 COND_BUILD_DEBUG_UNICODE_1=""
47984 fi
47985
47986 COND_BUILD_RELEASE="#"
47987 if test "x$BUILD" = "xrelease" ; then
47988 COND_BUILD_RELEASE=""
47989 fi
47990
47991 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47992 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47993 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47994 fi
47995
47996 COND_BUILD_RELEASE_UNICODE_0="#"
47997 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47998 COND_BUILD_RELEASE_UNICODE_0=""
47999 fi
48000
48001 COND_BUILD_RELEASE_UNICODE_1="#"
48002 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48003 COND_BUILD_RELEASE_UNICODE_1=""
48004 fi
48005
48006 COND_DEBUG_FLAG_1="#"
48007 if test "x$DEBUG_FLAG" = "x1" ; then
48008 COND_DEBUG_FLAG_1=""
48009 fi
48010
48011 COND_DEBUG_INFO_0="#"
48012 if test "x$DEBUG_INFO" = "x0" ; then
48013 COND_DEBUG_INFO_0=""
48014 fi
48015
48016 COND_DEBUG_INFO_1="#"
48017 if test "x$DEBUG_INFO" = "x1" ; then
48018 COND_DEBUG_INFO_1=""
48019 fi
48020
48021 COND_DEPS_TRACKING_0="#"
48022 if test "x$DEPS_TRACKING" = "x0" ; then
48023 COND_DEPS_TRACKING_0=""
48024 fi
48025
48026 COND_DEPS_TRACKING_1="#"
48027 if test "x$DEPS_TRACKING" = "x1" ; then
48028 COND_DEPS_TRACKING_1=""
48029 fi
48030
48031 COND_GCC_PCH_1="#"
48032 if test "x$GCC_PCH" = "x1" ; then
48033 COND_GCC_PCH_1=""
48034 fi
48035
48036 COND_ICC_PCH_1="#"
48037 if test "x$ICC_PCH" = "x1" ; then
48038 COND_ICC_PCH_1=""
48039 fi
48040
48041 COND_MONOLITHIC_0="#"
48042 if test "x$MONOLITHIC" = "x0" ; then
48043 COND_MONOLITHIC_0=""
48044 fi
48045
48046 COND_MONOLITHIC_0_SHARED_0="#"
48047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48048 COND_MONOLITHIC_0_SHARED_0=""
48049 fi
48050
48051 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48053 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48054 fi
48055
48056 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48058 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48059 fi
48060
48061 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48062 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48063 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48064 fi
48065
48066 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48067 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48068 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48069 fi
48070
48071 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48072 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48073 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48074 fi
48075
48076 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48077 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48078 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48079 fi
48080
48081 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48082 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48083 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48084 fi
48085
48086 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48087 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48088 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48089 fi
48090
48091 COND_MONOLITHIC_0_SHARED_1="#"
48092 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48093 COND_MONOLITHIC_0_SHARED_1=""
48094 fi
48095
48096 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48097 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48098 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48099 fi
48100
48101 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48102 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48103 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48104 fi
48105
48106 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48107 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48108 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48109 fi
48110
48111 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48112 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48114 fi
48115
48116 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48117 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48118 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48119 fi
48120
48121 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48122 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48123 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48124 fi
48125
48126 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48127 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48128 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48129 fi
48130
48131 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48132 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48133 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48134 fi
48135
48136 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48137 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48138 COND_MONOLITHIC_0_USE_MEDIA_1=""
48139 fi
48140
48141 COND_MONOLITHIC_0_USE_ODBC_1="#"
48142 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48143 COND_MONOLITHIC_0_USE_ODBC_1=""
48144 fi
48145
48146 COND_MONOLITHIC_1="#"
48147 if test "x$MONOLITHIC" = "x1" ; then
48148 COND_MONOLITHIC_1=""
48149 fi
48150
48151 COND_MONOLITHIC_1_SHARED_0="#"
48152 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48153 COND_MONOLITHIC_1_SHARED_0=""
48154 fi
48155
48156 COND_MONOLITHIC_1_SHARED_1="#"
48157 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48158 COND_MONOLITHIC_1_SHARED_1=""
48159 fi
48160
48161 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48162 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48163 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48164 fi
48165
48166 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48167 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48168 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48169 fi
48170
48171 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48172 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48173 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48174 fi
48175
48176 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48177 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48178 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48179 fi
48180
48181 COND_PLATFORM_MACOSX_1="#"
48182 if test "x$PLATFORM_MACOSX" = "x1" ; then
48183 COND_PLATFORM_MACOSX_1=""
48184 fi
48185
48186 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48187 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48188 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48189 fi
48190
48191 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48192 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48193 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48194 fi
48195
48196 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48197 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48198 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48199 fi
48200
48201 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48202 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48203 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48204 fi
48205
48206 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48207 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48208 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48209 fi
48210
48211 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48212 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48213 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48214 fi
48215
48216 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48217 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48218 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48219 fi
48220
48221 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48222 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48223 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48224 fi
48225
48226 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48227 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48228 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48229 fi
48230
48231 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48232 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48233 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48234 fi
48235
48236 COND_PLATFORM_MACOS_1="#"
48237 if test "x$PLATFORM_MACOS" = "x1" ; then
48238 COND_PLATFORM_MACOS_1=""
48239 fi
48240
48241 COND_PLATFORM_MAC_1="#"
48242 if test "x$PLATFORM_MAC" = "x1" ; then
48243 COND_PLATFORM_MAC_1=""
48244 fi
48245
48246 COND_PLATFORM_MSDOS_0="#"
48247 if test "x$PLATFORM_MSDOS" = "x0" ; then
48248 COND_PLATFORM_MSDOS_0=""
48249 fi
48250
48251 COND_PLATFORM_MSDOS_1="#"
48252 if test "x$PLATFORM_MSDOS" = "x1" ; then
48253 COND_PLATFORM_MSDOS_1=""
48254 fi
48255
48256 COND_PLATFORM_OS2_1="#"
48257 if test "x$PLATFORM_OS2" = "x1" ; then
48258 COND_PLATFORM_OS2_1=""
48259 fi
48260
48261 COND_PLATFORM_UNIX_0="#"
48262 if test "x$PLATFORM_UNIX" = "x0" ; then
48263 COND_PLATFORM_UNIX_0=""
48264 fi
48265
48266 COND_PLATFORM_UNIX_1="#"
48267 if test "x$PLATFORM_UNIX" = "x1" ; then
48268 COND_PLATFORM_UNIX_1=""
48269 fi
48270
48271 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48272 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48273 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48274 fi
48275
48276 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48277 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48278 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48279 fi
48280
48281 COND_PLATFORM_WIN32_0="#"
48282 if test "x$PLATFORM_WIN32" = "x0" ; then
48283 COND_PLATFORM_WIN32_0=""
48284 fi
48285
48286 COND_PLATFORM_WIN32_1="#"
48287 if test "x$PLATFORM_WIN32" = "x1" ; then
48288 COND_PLATFORM_WIN32_1=""
48289 fi
48290
48291 COND_SHARED_0="#"
48292 if test "x$SHARED" = "x0" ; then
48293 COND_SHARED_0=""
48294 fi
48295
48296 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48297 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48298 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48299 fi
48300
48301 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48302 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48303 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48304 fi
48305
48306 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48307 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48308 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48309 fi
48310
48311 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48312 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48313 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48314 fi
48315
48316 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48317 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48318 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48319 fi
48320
48321 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48322 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48323 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48324 fi
48325
48326 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48327 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48328 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48329 fi
48330
48331 COND_SHARED_0_USE_XRC_1="#"
48332 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48333 COND_SHARED_0_USE_XRC_1=""
48334 fi
48335
48336 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48337 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48338 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48339 fi
48340
48341 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48342 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48343 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48344 fi
48345
48346 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48347 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48348 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48349 fi
48350
48351 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48352 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48353 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48354 fi
48355
48356 COND_SHARED_1="#"
48357 if test "x$SHARED" = "x1" ; then
48358 COND_SHARED_1=""
48359 fi
48360
48361 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48362 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48363 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48364 fi
48365
48366 COND_SHARED_1_USE_XRC_1="#"
48367 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48368 COND_SHARED_1_USE_XRC_1=""
48369 fi
48370
48371 COND_TOOLKIT_="#"
48372 if test "x$TOOLKIT" = "x" ; then
48373 COND_TOOLKIT_=""
48374 fi
48375
48376 COND_TOOLKIT_COCOA="#"
48377 if test "x$TOOLKIT" = "xCOCOA" ; then
48378 COND_TOOLKIT_COCOA=""
48379 fi
48380
48381 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48382 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48383 COND_TOOLKIT_COCOA_USE_GUI_1=""
48384 fi
48385
48386 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48387 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48388 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48389 fi
48390
48391 COND_TOOLKIT_GTK="#"
48392 if test "x$TOOLKIT" = "xGTK" ; then
48393 COND_TOOLKIT_GTK=""
48394 fi
48395
48396 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48397 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48398 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48399 fi
48400
48401 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48402 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48403 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48404 fi
48405
48406 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48407 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48408 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48409 fi
48410
48411 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48412 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48413 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48414 fi
48415
48416 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48417 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48418 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48419 fi
48420
48421 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48422 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48423 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48424 fi
48425
48426 COND_TOOLKIT_GTK_USE_GUI_1="#"
48427 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48428 COND_TOOLKIT_GTK_USE_GUI_1=""
48429 fi
48430
48431 COND_TOOLKIT_MAC="#"
48432 if test "x$TOOLKIT" = "xMAC" ; then
48433 COND_TOOLKIT_MAC=""
48434 fi
48435
48436 COND_TOOLKIT_MAC_USE_GUI_1="#"
48437 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48438 COND_TOOLKIT_MAC_USE_GUI_1=""
48439 fi
48440
48441 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48442 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48443 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48444 fi
48445
48446 COND_TOOLKIT_MGL="#"
48447 if test "x$TOOLKIT" = "xMGL" ; then
48448 COND_TOOLKIT_MGL=""
48449 fi
48450
48451 COND_TOOLKIT_MGL_USE_GUI_1="#"
48452 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48453 COND_TOOLKIT_MGL_USE_GUI_1=""
48454 fi
48455
48456 COND_TOOLKIT_MOTIF="#"
48457 if test "x$TOOLKIT" = "xMOTIF" ; then
48458 COND_TOOLKIT_MOTIF=""
48459 fi
48460
48461 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48462 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48463 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48464 fi
48465
48466 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48467 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48468 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48469 fi
48470
48471 COND_TOOLKIT_MSW="#"
48472 if test "x$TOOLKIT" = "xMSW" ; then
48473 COND_TOOLKIT_MSW=""
48474 fi
48475
48476 COND_TOOLKIT_MSW_USE_GUI_1="#"
48477 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48478 COND_TOOLKIT_MSW_USE_GUI_1=""
48479 fi
48480
48481 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48482 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48483 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48484 fi
48485
48486 COND_TOOLKIT_MSW_WXUNIV_0="#"
48487 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48488 COND_TOOLKIT_MSW_WXUNIV_0=""
48489 fi
48490
48491 COND_TOOLKIT_PM="#"
48492 if test "x$TOOLKIT" = "xPM" ; then
48493 COND_TOOLKIT_PM=""
48494 fi
48495
48496 COND_TOOLKIT_PM_USE_GUI_1="#"
48497 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48498 COND_TOOLKIT_PM_USE_GUI_1=""
48499 fi
48500
48501 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48502 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48503 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48504 fi
48505
48506 COND_TOOLKIT_WINCE="#"
48507 if test "x$TOOLKIT" = "xWINCE" ; then
48508 COND_TOOLKIT_WINCE=""
48509 fi
48510
48511 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48512 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48513 COND_TOOLKIT_WINCE_USE_GUI_1=""
48514 fi
48515
48516 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48517 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48518 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48519 fi
48520
48521 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48522 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48523 COND_TOOLKIT_WINCE_WXUNIV_0=""
48524 fi
48525
48526 COND_TOOLKIT_X11="#"
48527 if test "x$TOOLKIT" = "xX11" ; then
48528 COND_TOOLKIT_X11=""
48529 fi
48530
48531 COND_TOOLKIT_X11_USE_GUI_1="#"
48532 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48533 COND_TOOLKIT_X11_USE_GUI_1=""
48534 fi
48535
48536 COND_UNICODE_1="#"
48537 if test "x$UNICODE" = "x1" ; then
48538 COND_UNICODE_1=""
48539 fi
48540
48541 COND_USE_EXCEPTIONS_0="#"
48542 if test "x$USE_EXCEPTIONS" = "x0" ; then
48543 COND_USE_EXCEPTIONS_0=""
48544 fi
48545
48546 COND_USE_EXCEPTIONS_1="#"
48547 if test "x$USE_EXCEPTIONS" = "x1" ; then
48548 COND_USE_EXCEPTIONS_1=""
48549 fi
48550
48551 COND_USE_GUI_0="#"
48552 if test "x$USE_GUI" = "x0" ; then
48553 COND_USE_GUI_0=""
48554 fi
48555
48556 COND_USE_GUI_1="#"
48557 if test "x$USE_GUI" = "x1" ; then
48558 COND_USE_GUI_1=""
48559 fi
48560
48561 COND_USE_GUI_1_WXUNIV_0="#"
48562 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48563 COND_USE_GUI_1_WXUNIV_0=""
48564 fi
48565
48566 COND_USE_GUI_1_WXUNIV_1="#"
48567 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48568 COND_USE_GUI_1_WXUNIV_1=""
48569 fi
48570
48571 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48572 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48573 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48574 fi
48575
48576 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48577 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48578 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48579 fi
48580
48581 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48582 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48583 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48584 fi
48585
48586 COND_USE_ODBC_1="#"
48587 if test "x$USE_ODBC" = "x1" ; then
48588 COND_USE_ODBC_1=""
48589 fi
48590
48591 COND_USE_OPENGL_1="#"
48592 if test "x$USE_OPENGL" = "x1" ; then
48593 COND_USE_OPENGL_1=""
48594 fi
48595
48596 COND_USE_PCH_1="#"
48597 if test "x$USE_PCH" = "x1" ; then
48598 COND_USE_PCH_1=""
48599 fi
48600
48601 COND_USE_PLUGINS_0="#"
48602 if test "x$USE_PLUGINS" = "x0" ; then
48603 COND_USE_PLUGINS_0=""
48604 fi
48605
48606 COND_USE_RTTI_0="#"
48607 if test "x$USE_RTTI" = "x0" ; then
48608 COND_USE_RTTI_0=""
48609 fi
48610
48611 COND_USE_RTTI_1="#"
48612 if test "x$USE_RTTI" = "x1" ; then
48613 COND_USE_RTTI_1=""
48614 fi
48615
48616 COND_USE_SOSYMLINKS_1="#"
48617 if test "x$USE_SOSYMLINKS" = "x1" ; then
48618 COND_USE_SOSYMLINKS_1=""
48619 fi
48620
48621 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48622 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48623 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48624 fi
48625
48626 COND_USE_SOVERLINUX_1="#"
48627 if test "x$USE_SOVERLINUX" = "x1" ; then
48628 COND_USE_SOVERLINUX_1=""
48629 fi
48630
48631 COND_USE_SOVERSION_0="#"
48632 if test "x$USE_SOVERSION" = "x0" ; then
48633 COND_USE_SOVERSION_0=""
48634 fi
48635
48636 COND_USE_SOVERSOLARIS_1="#"
48637 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48638 COND_USE_SOVERSOLARIS_1=""
48639 fi
48640
48641 COND_USE_THREADS_0="#"
48642 if test "x$USE_THREADS" = "x0" ; then
48643 COND_USE_THREADS_0=""
48644 fi
48645
48646 COND_USE_THREADS_1="#"
48647 if test "x$USE_THREADS" = "x1" ; then
48648 COND_USE_THREADS_1=""
48649 fi
48650
48651 COND_USE_XRC_1="#"
48652 if test "x$USE_XRC" = "x1" ; then
48653 COND_USE_XRC_1=""
48654 fi
48655
48656 COND_WINDOWS_IMPLIB_1="#"
48657 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48658 COND_WINDOWS_IMPLIB_1=""
48659 fi
48660
48661 COND_WITH_PLUGIN_SDL_1="#"
48662 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48663 COND_WITH_PLUGIN_SDL_1=""
48664 fi
48665
48666 COND_WXUNIV_0="#"
48667 if test "x$WXUNIV" = "x0" ; then
48668 COND_WXUNIV_0=""
48669 fi
48670
48671 COND_WXUNIV_1="#"
48672 if test "x$WXUNIV" = "x1" ; then
48673 COND_WXUNIV_1=""
48674 fi
48675
48676 COND_WXUSE_EXPAT_BUILTIN="#"
48677 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48678 COND_WXUSE_EXPAT_BUILTIN=""
48679 fi
48680
48681 COND_WXUSE_LIBJPEG_BUILTIN="#"
48682 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48683 COND_WXUSE_LIBJPEG_BUILTIN=""
48684 fi
48685
48686 COND_WXUSE_LIBPNG_BUILTIN="#"
48687 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48688 COND_WXUSE_LIBPNG_BUILTIN=""
48689 fi
48690
48691 COND_WXUSE_LIBTIFF_BUILTIN="#"
48692 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48693 COND_WXUSE_LIBTIFF_BUILTIN=""
48694 fi
48695
48696 COND_WXUSE_ODBC_BUILTIN="#"
48697 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48698 COND_WXUSE_ODBC_BUILTIN=""
48699 fi
48700
48701 COND_WXUSE_REGEX_BUILTIN="#"
48702 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48703 COND_WXUSE_REGEX_BUILTIN=""
48704 fi
48705
48706 COND_WXUSE_ZLIB_BUILTIN="#"
48707 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48708 COND_WXUSE_ZLIB_BUILTIN=""
48709 fi
48710
48711
48712
48713 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48714 { { 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
48715 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;}
48716 { (exit 1); exit 1; }; }
48717 fi
48718
48719 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48720 { { 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
48721 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;}
48722 { (exit 1); exit 1; }; }
48723 fi
48724
48725
48726
48727 if test "$wxUSE_MAC" = 1 ; then
48728 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48729 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48730 mv temp bk-deps
48731 chmod +x bk-deps
48732 fi
48733 fi
48734
48735 if test "$wxUSE_SHARED" = "yes"; then
48736
48737 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48738 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48739
48740 case "${host}" in
48741 *-pc-os2_emx | *-pc-os2-emx )
48742 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48743 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48744 cp -p ${srcdir}/src/os2/dllnames.sh .
48745 cp -p ${srcdir}/src/os2/dllar.sh .
48746 ;;
48747 esac
48748 else
48749
48750 EXE_LINKER="$CXX -o"
48751
48752 fi
48753 if test "$wxUSE_OMF" = "yes"; then
48754 case "${host}" in
48755 *-pc-os2_emx | *-pc-os2-emx )
48756 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48757 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48758 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48759 ;;
48760 esac
48761 fi
48762
48763 if test $GCC_PCH = 1 ; then
48764 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48765 fi
48766
48767 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48768
48769 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48770
48771
48772
48773
48774
48775
48776
48777
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787
48788
48789
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799
48800
48801
48802
48803
48804
48805
48806
48807
48808
48809
48810
48811
48812
48813
48814
48815
48816
48817
48818
48819
48820
48821
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48832 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48833 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48834 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48835 echo $ECHO_N "(cached) $ECHO_C" >&6
48836 else
48837 cat >conftest.make <<\_ACEOF
48838 all:
48839 @echo 'ac_maketemp="$(MAKE)"'
48840 _ACEOF
48841 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48842 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48843 if test -n "$ac_maketemp"; then
48844 eval ac_cv_prog_make_${ac_make}_set=yes
48845 else
48846 eval ac_cv_prog_make_${ac_make}_set=no
48847 fi
48848 rm -f conftest.make
48849 fi
48850 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48851 echo "$as_me:$LINENO: result: yes" >&5
48852 echo "${ECHO_T}yes" >&6
48853 SET_MAKE=
48854 else
48855 echo "$as_me:$LINENO: result: no" >&5
48856 echo "${ECHO_T}no" >&6
48857 SET_MAKE="MAKE=${MAKE-make}"
48858 fi
48859
48860
48861
48862 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48863
48864
48865 if test "$USE_WIN32" = 1; then
48866 ac_config_commands="$ac_config_commands
48867 rcdefs.h
48868 "
48869
48870 fi
48871
48872 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48873
48874
48875 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48876
48877
48878 ac_config_files="$ac_config_files version-script Makefile"
48879
48880
48881 ac_config_commands="$ac_config_commands wx-config"
48882
48883
48884
48885 if test "$wxWITH_SUBDIRS" != "no"; then
48886 if test "$wxUSE_GUI" = "yes"; then
48887 SUBDIRS="samples demos utils contrib"
48888 else SUBDIRS="samples utils"
48889 fi
48890
48891
48892
48893 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48894 if test "${with_cppunit_prefix+set}" = set; then
48895 withval="$with_cppunit_prefix"
48896 cppunit_config_prefix="$withval"
48897 else
48898 cppunit_config_prefix=""
48899 fi;
48900
48901 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48902 if test "${with_cppunit_exec_prefix+set}" = set; then
48903 withval="$with_cppunit_exec_prefix"
48904 cppunit_config_exec_prefix="$withval"
48905 else
48906 cppunit_config_exec_prefix=""
48907 fi;
48908
48909 if test x$cppunit_config_exec_prefix != x ; then
48910 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48911 if test x${CPPUNIT_CONFIG+set} != xset ; then
48912 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48913 fi
48914 fi
48915 if test x$cppunit_config_prefix != x ; then
48916 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48917 if test x${CPPUNIT_CONFIG+set} != xset ; then
48918 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48919 fi
48920 fi
48921
48922 # Extract the first word of "cppunit-config", so it can be a program name with args.
48923 set dummy cppunit-config; ac_word=$2
48924 echo "$as_me:$LINENO: checking for $ac_word" >&5
48925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48926 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48927 echo $ECHO_N "(cached) $ECHO_C" >&6
48928 else
48929 case $CPPUNIT_CONFIG in
48930 [\\/]* | ?:[\\/]*)
48931 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48932 ;;
48933 *)
48934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48935 for as_dir in $PATH
48936 do
48937 IFS=$as_save_IFS
48938 test -z "$as_dir" && as_dir=.
48939 for ac_exec_ext in '' $ac_executable_extensions; do
48940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48941 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48943 break 2
48944 fi
48945 done
48946 done
48947
48948 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48949 ;;
48950 esac
48951 fi
48952 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48953
48954 if test -n "$CPPUNIT_CONFIG"; then
48955 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48956 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48957 else
48958 echo "$as_me:$LINENO: result: no" >&5
48959 echo "${ECHO_T}no" >&6
48960 fi
48961
48962 cppunit_version_min=1.8.0
48963
48964 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48965 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48966 no_cppunit=""
48967 if test "$CPPUNIT_CONFIG" = "no" ; then
48968 no_cppunit=yes
48969 else
48970 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48971 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48972 cppunit_version=`$CPPUNIT_CONFIG --version`
48973
48974 cppunit_major_version=`echo $cppunit_version | \
48975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48976 cppunit_minor_version=`echo $cppunit_version | \
48977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48978 cppunit_micro_version=`echo $cppunit_version | \
48979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48980
48981 cppunit_major_min=`echo $cppunit_version_min | \
48982 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48983 cppunit_minor_min=`echo $cppunit_version_min | \
48984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48985 cppunit_micro_min=`echo $cppunit_version_min | \
48986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48987
48988 cppunit_version_proper=`expr \
48989 $cppunit_major_version \> $cppunit_major_min \| \
48990 $cppunit_major_version \= $cppunit_major_min \& \
48991 $cppunit_minor_version \> $cppunit_minor_min \| \
48992 $cppunit_major_version \= $cppunit_major_min \& \
48993 $cppunit_minor_version \= $cppunit_minor_min \& \
48994 $cppunit_micro_version \>= $cppunit_micro_min `
48995
48996 if test "$cppunit_version_proper" = "1" ; then
48997 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48998 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48999 else
49000 echo "$as_me:$LINENO: result: no" >&5
49001 echo "${ECHO_T}no" >&6
49002 no_cppunit=yes
49003 fi
49004 fi
49005
49006 if test "x$no_cppunit" = x ; then
49007 SUBDIRS="$SUBDIRS tests"
49008 else
49009 CPPUNIT_CFLAGS=""
49010 CPPUNIT_LIBS=""
49011 :
49012 fi
49013
49014
49015
49016
49017
49018 for subdir in `echo $SUBDIRS`; do
49019 if test -d ${srcdir}/${subdir} ; then
49020 if test "$wxUSE_GUI" = "yes"; then
49021 if test ${subdir} = "samples"; then
49022 makefiles="samples/Makefile.in $makefiles"
49023 for sample in `echo $SAMPLES_SUBDIRS`; do
49024 if test -d $srcdir/samples/$sample; then
49025 makefiles="samples/$sample/Makefile.in $makefiles"
49026 fi
49027 done
49028 else
49029 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49030 eval "disabled=\$$disabled_var"
49031 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49032 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49033 fi
49034 else if test ${subdir} = "samples"; then
49035 makefiles="samples/Makefile.in samples/console/Makefile.in"
49036 elif test ${subdir} = "utils"; then
49037 makefiles=""
49038 for util in HelpGen tex2rtf ; do
49039 if test -d $srcdir/utils/$util ; then
49040 makefiles="utils/$util/Makefile.in \
49041 utils/$util/src/Makefile.in \
49042 $makefiles"
49043 fi
49044 done
49045 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49046 fi
49047 fi
49048
49049 for mkin in $makefiles ; do
49050 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49051 ac_config_files="$ac_config_files $mk"
49052
49053 done
49054 fi
49055 done
49056 fi
49057 cat >confcache <<\_ACEOF
49058 # This file is a shell script that caches the results of configure
49059 # tests run on this system so they can be shared between configure
49060 # scripts and configure runs, see configure's option --config-cache.
49061 # It is not useful on other systems. If it contains results you don't
49062 # want to keep, you may remove or edit it.
49063 #
49064 # config.status only pays attention to the cache file if you give it
49065 # the --recheck option to rerun configure.
49066 #
49067 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49068 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49069 # following values.
49070
49071 _ACEOF
49072
49073 # The following way of writing the cache mishandles newlines in values,
49074 # but we know of no workaround that is simple, portable, and efficient.
49075 # So, don't put newlines in cache variables' values.
49076 # Ultrix sh set writes to stderr and can't be redirected directly,
49077 # and sets the high bit in the cache file unless we assign to the vars.
49078 {
49079 (set) 2>&1 |
49080 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49081 *ac_space=\ *)
49082 # `set' does not quote correctly, so add quotes (double-quote
49083 # substitution turns \\\\ into \\, and sed turns \\ into \).
49084 sed -n \
49085 "s/'/'\\\\''/g;
49086 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49087 ;;
49088 *)
49089 # `set' quotes correctly as required by POSIX, so do not add quotes.
49090 sed -n \
49091 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49092 ;;
49093 esac;
49094 } |
49095 sed '
49096 t clear
49097 : clear
49098 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49099 t end
49100 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49101 : end' >>confcache
49102 if diff $cache_file confcache >/dev/null 2>&1; then :; else
49103 if test -w $cache_file; then
49104 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49105 cat confcache >$cache_file
49106 else
49107 echo "not updating unwritable cache $cache_file"
49108 fi
49109 fi
49110 rm -f confcache
49111
49112 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49113 # Let make expand exec_prefix.
49114 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49115
49116 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49117 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49118 # trailing colons and then remove the whole line if VPATH becomes empty
49119 # (actually we leave an empty line to preserve line numbers).
49120 if test "x$srcdir" = x.; then
49121 ac_vpsub='/^[ ]*VPATH[ ]*=/{
49122 s/:*\$(srcdir):*/:/;
49123 s/:*\${srcdir}:*/:/;
49124 s/:*@srcdir@:*/:/;
49125 s/^\([^=]*=[ ]*\):*/\1/;
49126 s/:*$//;
49127 s/^[^=]*=[ ]*$//;
49128 }'
49129 fi
49130
49131 DEFS=-DHAVE_CONFIG_H
49132
49133 ac_libobjs=
49134 ac_ltlibobjs=
49135 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49136 # 1. Remove the extension, and $U if already installed.
49137 ac_i=`echo "$ac_i" |
49138 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49139 # 2. Add them.
49140 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
49141 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
49142 done
49143 LIBOBJS=$ac_libobjs
49144
49145 LTLIBOBJS=$ac_ltlibobjs
49146
49147
49148
49149 : ${CONFIG_STATUS=./config.status}
49150 ac_clean_files_save=$ac_clean_files
49151 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49152 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49153 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49154 cat >$CONFIG_STATUS <<_ACEOF
49155 #! $SHELL
49156 # Generated by $as_me.
49157 # Run this file to recreate the current configuration.
49158 # Compiler output produced by configure, useful for debugging
49159 # configure, is in config.log if it exists.
49160
49161 debug=false
49162 ac_cs_recheck=false
49163 ac_cs_silent=false
49164 SHELL=\${CONFIG_SHELL-$SHELL}
49165 _ACEOF
49166
49167 cat >>$CONFIG_STATUS <<\_ACEOF
49168 ## --------------------- ##
49169 ## M4sh Initialization. ##
49170 ## --------------------- ##
49171
49172 # Be Bourne compatible
49173 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49174 emulate sh
49175 NULLCMD=:
49176 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49177 # is contrary to our usage. Disable this feature.
49178 alias -g '${1+"$@"}'='"$@"'
49179 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49180 set -o posix
49181 fi
49182 DUALCASE=1; export DUALCASE # for MKS sh
49183
49184 # Support unset when possible.
49185 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49186 as_unset=unset
49187 else
49188 as_unset=false
49189 fi
49190
49191
49192 # Work around bugs in pre-3.0 UWIN ksh.
49193 $as_unset ENV MAIL MAILPATH
49194 PS1='$ '
49195 PS2='> '
49196 PS4='+ '
49197
49198 # NLS nuisances.
49199 for as_var in \
49200 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49201 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49202 LC_TELEPHONE LC_TIME
49203 do
49204 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49205 eval $as_var=C; export $as_var
49206 else
49207 $as_unset $as_var
49208 fi
49209 done
49210
49211 # Required to use basename.
49212 if expr a : '\(a\)' >/dev/null 2>&1; then
49213 as_expr=expr
49214 else
49215 as_expr=false
49216 fi
49217
49218 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
49219 as_basename=basename
49220 else
49221 as_basename=false
49222 fi
49223
49224
49225 # Name of the executable.
49226 as_me=`$as_basename "$0" ||
49227 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49228 X"$0" : 'X\(//\)$' \| \
49229 X"$0" : 'X\(/\)$' \| \
49230 . : '\(.\)' 2>/dev/null ||
49231 echo X/"$0" |
49232 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49233 /^X\/\(\/\/\)$/{ s//\1/; q; }
49234 /^X\/\(\/\).*/{ s//\1/; q; }
49235 s/.*/./; q'`
49236
49237
49238 # PATH needs CR, and LINENO needs CR and PATH.
49239 # Avoid depending upon Character Ranges.
49240 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49241 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49242 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49243 as_cr_digits='0123456789'
49244 as_cr_alnum=$as_cr_Letters$as_cr_digits
49245
49246 # The user is always right.
49247 if test "${PATH_SEPARATOR+set}" != set; then
49248 echo "#! /bin/sh" >conf$$.sh
49249 echo "exit 0" >>conf$$.sh
49250 chmod +x conf$$.sh
49251 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49252 PATH_SEPARATOR=';'
49253 else
49254 PATH_SEPARATOR=:
49255 fi
49256 rm -f conf$$.sh
49257 fi
49258
49259
49260 as_lineno_1=$LINENO
49261 as_lineno_2=$LINENO
49262 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49263 test "x$as_lineno_1" != "x$as_lineno_2" &&
49264 test "x$as_lineno_3" = "x$as_lineno_2" || {
49265 # Find who we are. Look in the path if we contain no path at all
49266 # relative or not.
49267 case $0 in
49268 *[\\/]* ) as_myself=$0 ;;
49269 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49270 for as_dir in $PATH
49271 do
49272 IFS=$as_save_IFS
49273 test -z "$as_dir" && as_dir=.
49274 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49275 done
49276
49277 ;;
49278 esac
49279 # We did not find ourselves, most probably we were run as `sh COMMAND'
49280 # in which case we are not to be found in the path.
49281 if test "x$as_myself" = x; then
49282 as_myself=$0
49283 fi
49284 if test ! -f "$as_myself"; then
49285 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49286 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49287 { (exit 1); exit 1; }; }
49288 fi
49289 case $CONFIG_SHELL in
49290 '')
49291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49292 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
49293 do
49294 IFS=$as_save_IFS
49295 test -z "$as_dir" && as_dir=.
49296 for as_base in sh bash ksh sh5; do
49297 case $as_dir in
49298 /*)
49299 if ("$as_dir/$as_base" -c '
49300 as_lineno_1=$LINENO
49301 as_lineno_2=$LINENO
49302 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49303 test "x$as_lineno_1" != "x$as_lineno_2" &&
49304 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
49305 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
49306 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
49307 CONFIG_SHELL=$as_dir/$as_base
49308 export CONFIG_SHELL
49309 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49310 fi;;
49311 esac
49312 done
49313 done
49314 ;;
49315 esac
49316
49317 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49318 # uniformly replaced by the line number. The first 'sed' inserts a
49319 # line-number line before each line; the second 'sed' does the real
49320 # work. The second script uses 'N' to pair each line-number line
49321 # with the numbered line, and appends trailing '-' during
49322 # substitution so that $LINENO is not a special case at line end.
49323 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49324 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49325 sed '=' <$as_myself |
49326 sed '
49327 N
49328 s,$,-,
49329 : loop
49330 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49331 t loop
49332 s,-$,,
49333 s,^['$as_cr_digits']*\n,,
49334 ' >$as_me.lineno &&
49335 chmod +x $as_me.lineno ||
49336 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49337 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49338 { (exit 1); exit 1; }; }
49339
49340 # Don't try to exec as it changes $[0], causing all sort of problems
49341 # (the dirname of $[0] is not the place where we might find the
49342 # original and so on. Autoconf is especially sensible to this).
49343 . ./$as_me.lineno
49344 # Exit status is that of the last command.
49345 exit
49346 }
49347
49348
49349 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49350 *c*,-n*) ECHO_N= ECHO_C='
49351 ' ECHO_T=' ' ;;
49352 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
49353 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
49354 esac
49355
49356 if expr a : '\(a\)' >/dev/null 2>&1; then
49357 as_expr=expr
49358 else
49359 as_expr=false
49360 fi
49361
49362 rm -f conf$$ conf$$.exe conf$$.file
49363 echo >conf$$.file
49364 if ln -s conf$$.file conf$$ 2>/dev/null; then
49365 # We could just check for DJGPP; but this test a) works b) is more generic
49366 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49367 if test -f conf$$.exe; then
49368 # Don't use ln at all; we don't have any links
49369 as_ln_s='cp -p'
49370 else
49371 as_ln_s='ln -s'
49372 fi
49373 elif ln conf$$.file conf$$ 2>/dev/null; then
49374 as_ln_s=ln
49375 else
49376 as_ln_s='cp -p'
49377 fi
49378 rm -f conf$$ conf$$.exe conf$$.file
49379
49380 if mkdir -p . 2>/dev/null; then
49381 as_mkdir_p=:
49382 else
49383 test -d ./-p && rmdir ./-p
49384 as_mkdir_p=false
49385 fi
49386
49387 as_executable_p="test -f"
49388
49389 # Sed expression to map a string onto a valid CPP name.
49390 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49391
49392 # Sed expression to map a string onto a valid variable name.
49393 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49394
49395
49396 # IFS
49397 # We need space, tab and new line, in precisely that order.
49398 as_nl='
49399 '
49400 IFS=" $as_nl"
49401
49402 # CDPATH.
49403 $as_unset CDPATH
49404
49405 exec 6>&1
49406
49407 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49408 # report actual input values of CONFIG_FILES etc. instead of their
49409 # values after options handling. Logging --version etc. is OK.
49410 exec 5>>config.log
49411 {
49412 echo
49413 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49414 ## Running $as_me. ##
49415 _ASBOX
49416 } >&5
49417 cat >&5 <<_CSEOF
49418
49419 This file was extended by wxWidgets $as_me 2.7.0, which was
49420 generated by GNU Autoconf 2.59. Invocation command line was
49421
49422 CONFIG_FILES = $CONFIG_FILES
49423 CONFIG_HEADERS = $CONFIG_HEADERS
49424 CONFIG_LINKS = $CONFIG_LINKS
49425 CONFIG_COMMANDS = $CONFIG_COMMANDS
49426 $ $0 $@
49427
49428 _CSEOF
49429 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49430 echo >&5
49431 _ACEOF
49432
49433 # Files that config.status was made for.
49434 if test -n "$ac_config_files"; then
49435 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49436 fi
49437
49438 if test -n "$ac_config_headers"; then
49439 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49440 fi
49441
49442 if test -n "$ac_config_links"; then
49443 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49444 fi
49445
49446 if test -n "$ac_config_commands"; then
49447 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49448 fi
49449
49450 cat >>$CONFIG_STATUS <<\_ACEOF
49451
49452 ac_cs_usage="\
49453 \`$as_me' instantiates files from templates according to the
49454 current configuration.
49455
49456 Usage: $0 [OPTIONS] [FILE]...
49457
49458 -h, --help print this help, then exit
49459 -V, --version print version number, then exit
49460 -q, --quiet do not print progress messages
49461 -d, --debug don't remove temporary files
49462 --recheck update $as_me by reconfiguring in the same conditions
49463 --file=FILE[:TEMPLATE]
49464 instantiate the configuration file FILE
49465 --header=FILE[:TEMPLATE]
49466 instantiate the configuration header FILE
49467
49468 Configuration files:
49469 $config_files
49470
49471 Configuration headers:
49472 $config_headers
49473
49474 Configuration commands:
49475 $config_commands
49476
49477 Report bugs to <bug-autoconf@gnu.org>."
49478 _ACEOF
49479
49480 cat >>$CONFIG_STATUS <<_ACEOF
49481 ac_cs_version="\\
49482 wxWidgets config.status 2.7.0
49483 configured by $0, generated by GNU Autoconf 2.59,
49484 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49485
49486 Copyright (C) 2003 Free Software Foundation, Inc.
49487 This config.status script is free software; the Free Software Foundation
49488 gives unlimited permission to copy, distribute and modify it."
49489 srcdir=$srcdir
49490 INSTALL="$INSTALL"
49491 _ACEOF
49492
49493 cat >>$CONFIG_STATUS <<\_ACEOF
49494 # If no file are specified by the user, then we need to provide default
49495 # value. By we need to know if files were specified by the user.
49496 ac_need_defaults=:
49497 while test $# != 0
49498 do
49499 case $1 in
49500 --*=*)
49501 ac_option=`expr "x$1" : 'x\([^=]*\)='`
49502 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
49503 ac_shift=:
49504 ;;
49505 -*)
49506 ac_option=$1
49507 ac_optarg=$2
49508 ac_shift=shift
49509 ;;
49510 *) # This is not an option, so the user has probably given explicit
49511 # arguments.
49512 ac_option=$1
49513 ac_need_defaults=false;;
49514 esac
49515
49516 case $ac_option in
49517 # Handling of the options.
49518 _ACEOF
49519 cat >>$CONFIG_STATUS <<\_ACEOF
49520 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49521 ac_cs_recheck=: ;;
49522 --version | --vers* | -V )
49523 echo "$ac_cs_version"; exit 0 ;;
49524 --he | --h)
49525 # Conflict between --help and --header
49526 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49527 Try \`$0 --help' for more information." >&5
49528 echo "$as_me: error: ambiguous option: $1
49529 Try \`$0 --help' for more information." >&2;}
49530 { (exit 1); exit 1; }; };;
49531 --help | --hel | -h )
49532 echo "$ac_cs_usage"; exit 0 ;;
49533 --debug | --d* | -d )
49534 debug=: ;;
49535 --file | --fil | --fi | --f )
49536 $ac_shift
49537 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49538 ac_need_defaults=false;;
49539 --header | --heade | --head | --hea )
49540 $ac_shift
49541 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49542 ac_need_defaults=false;;
49543 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49544 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49545 ac_cs_silent=: ;;
49546
49547 # This is an error.
49548 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49549 Try \`$0 --help' for more information." >&5
49550 echo "$as_me: error: unrecognized option: $1
49551 Try \`$0 --help' for more information." >&2;}
49552 { (exit 1); exit 1; }; } ;;
49553
49554 *) ac_config_targets="$ac_config_targets $1" ;;
49555
49556 esac
49557 shift
49558 done
49559
49560 ac_configure_extra_args=
49561
49562 if $ac_cs_silent; then
49563 exec 6>/dev/null
49564 ac_configure_extra_args="$ac_configure_extra_args --silent"
49565 fi
49566
49567 _ACEOF
49568 cat >>$CONFIG_STATUS <<_ACEOF
49569 if \$ac_cs_recheck; then
49570 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49571 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49572 fi
49573
49574 _ACEOF
49575
49576 cat >>$CONFIG_STATUS <<_ACEOF
49577 #
49578 # INIT-COMMANDS section.
49579 #
49580
49581
49582 CPP="$CPP"
49583 infile="$srcdir/include/wx/msw/genrcdefs.h"
49584 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49585
49586
49587 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49588 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49589 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49590 LN_S="${LN_S}"
49591
49592
49593 _ACEOF
49594
49595
49596
49597 cat >>$CONFIG_STATUS <<\_ACEOF
49598 for ac_config_target in $ac_config_targets
49599 do
49600 case "$ac_config_target" in
49601 # Handling of arguments.
49602 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49603 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49604 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
49605 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49606 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
49607 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49608 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49609 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49610 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49611 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49612 { (exit 1); exit 1; }; };;
49613 esac
49614 done
49615
49616 # If the user did not use the arguments to specify the items to instantiate,
49617 # then the envvar interface is used. Set only those that are not.
49618 # We use the long form for the default assignment because of an extremely
49619 # bizarre bug on SunOS 4.1.3.
49620 if $ac_need_defaults; then
49621 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49622 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49623 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49624 fi
49625
49626 # Have a temporary directory for convenience. Make it in the build tree
49627 # simply because there is no reason to put it here, and in addition,
49628 # creating and moving files from /tmp can sometimes cause problems.
49629 # Create a temporary directory, and hook for its removal unless debugging.
49630 $debug ||
49631 {
49632 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49633 trap '{ (exit 1); exit 1; }' 1 2 13 15
49634 }
49635
49636 # Create a (secure) tmp directory for tmp files.
49637
49638 {
49639 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49640 test -n "$tmp" && test -d "$tmp"
49641 } ||
49642 {
49643 tmp=./confstat$$-$RANDOM
49644 (umask 077 && mkdir $tmp)
49645 } ||
49646 {
49647 echo "$me: cannot create a temporary directory in ." >&2
49648 { (exit 1); exit 1; }
49649 }
49650
49651 _ACEOF
49652
49653 cat >>$CONFIG_STATUS <<_ACEOF
49654
49655 #
49656 # CONFIG_FILES section.
49657 #
49658
49659 # No need to generate the scripts if there are no CONFIG_FILES.
49660 # This happens for instance when ./config.status config.h
49661 if test -n "\$CONFIG_FILES"; then
49662 # Protect against being on the right side of a sed subst in config.status.
49663 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49664 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49665 s,@SHELL@,$SHELL,;t t
49666 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49667 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49668 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49669 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49670 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49671 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49672 s,@exec_prefix@,$exec_prefix,;t t
49673 s,@prefix@,$prefix,;t t
49674 s,@program_transform_name@,$program_transform_name,;t t
49675 s,@bindir@,$bindir,;t t
49676 s,@sbindir@,$sbindir,;t t
49677 s,@libexecdir@,$libexecdir,;t t
49678 s,@datadir@,$datadir,;t t
49679 s,@sysconfdir@,$sysconfdir,;t t
49680 s,@sharedstatedir@,$sharedstatedir,;t t
49681 s,@localstatedir@,$localstatedir,;t t
49682 s,@libdir@,$libdir,;t t
49683 s,@includedir@,$includedir,;t t
49684 s,@oldincludedir@,$oldincludedir,;t t
49685 s,@infodir@,$infodir,;t t
49686 s,@mandir@,$mandir,;t t
49687 s,@build_alias@,$build_alias,;t t
49688 s,@host_alias@,$host_alias,;t t
49689 s,@target_alias@,$target_alias,;t t
49690 s,@DEFS@,$DEFS,;t t
49691 s,@ECHO_C@,$ECHO_C,;t t
49692 s,@ECHO_N@,$ECHO_N,;t t
49693 s,@ECHO_T@,$ECHO_T,;t t
49694 s,@LIBS@,$LIBS,;t t
49695 s,@build@,$build,;t t
49696 s,@build_cpu@,$build_cpu,;t t
49697 s,@build_vendor@,$build_vendor,;t t
49698 s,@build_os@,$build_os,;t t
49699 s,@host@,$host,;t t
49700 s,@host_cpu@,$host_cpu,;t t
49701 s,@host_vendor@,$host_vendor,;t t
49702 s,@host_os@,$host_os,;t t
49703 s,@target@,$target,;t t
49704 s,@target_cpu@,$target_cpu,;t t
49705 s,@target_vendor@,$target_vendor,;t t
49706 s,@target_os@,$target_os,;t t
49707 s,@CC@,$CC,;t t
49708 s,@CFLAGS@,$CFLAGS,;t t
49709 s,@LDFLAGS@,$LDFLAGS,;t t
49710 s,@CPPFLAGS@,$CPPFLAGS,;t t
49711 s,@ac_ct_CC@,$ac_ct_CC,;t t
49712 s,@EXEEXT@,$EXEEXT,;t t
49713 s,@OBJEXT@,$OBJEXT,;t t
49714 s,@CPP@,$CPP,;t t
49715 s,@EGREP@,$EGREP,;t t
49716 s,@CXX@,$CXX,;t t
49717 s,@CXXFLAGS@,$CXXFLAGS,;t t
49718 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49719 s,@RANLIB@,$RANLIB,;t t
49720 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49721 s,@AR@,$AR,;t t
49722 s,@ac_ct_AR@,$ac_ct_AR,;t t
49723 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49724 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49725 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49726 s,@STRIP@,$STRIP,;t t
49727 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49728 s,@WINDRES@,$WINDRES,;t t
49729 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49730 s,@DLLTOOL@,$DLLTOOL,;t t
49731 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49732 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49733 s,@LN_S@,$LN_S,;t t
49734 s,@CXXCPP@,$CXXCPP,;t t
49735 s,@subdirs@,$subdirs,;t t
49736 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49737 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49738 s,@GTK_LIBS@,$GTK_LIBS,;t t
49739 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49740 s,@X_CFLAGS@,$X_CFLAGS,;t t
49741 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49742 s,@X_LIBS@,$X_LIBS,;t t
49743 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49744 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49745 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49746 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49747 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49748 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49749 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49750 s,@REZ@,$REZ,;t t
49751 s,@DEREZ@,$DEREZ,;t t
49752 s,@SETFILE@,$SETFILE,;t t
49753 s,@LIBICONV@,$LIBICONV,;t t
49754 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49755 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49756 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49757 s,@SDL_LIBS@,$SDL_LIBS,;t t
49758 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49759 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49760 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49761 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49762 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49763 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49764 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49765 s,@GST_LIBS@,$GST_LIBS,;t t
49766 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49767 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49768 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49769 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49770 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49771 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49772 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49773 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49774 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49775 s,@VENDOR@,$VENDOR,;t t
49776 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49777 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49778 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49779 s,@WXUNIV@,$WXUNIV,;t t
49780 s,@MONOLITHIC@,$MONOLITHIC,;t t
49781 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49782 s,@EXTRALIBS@,$EXTRALIBS,;t t
49783 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49784 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49785 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49786 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49787 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49788 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49789 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49790 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49791 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49792 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49793 s,@UNICODE@,$UNICODE,;t t
49794 s,@BUILD@,$BUILD,;t t
49795 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49796 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49797 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49798 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49799 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49800 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49801 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49802 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49803 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49804 s,@SET_MAKE@,$SET_MAKE,;t t
49805 s,@MAKE_SET@,$MAKE_SET,;t t
49806 s,@NM@,$NM,;t t
49807 s,@ac_ct_NM@,$ac_ct_NM,;t t
49808 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49809 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49810 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49811 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49812 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49813 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49814 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49815 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49816 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49817 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49818 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49819 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49820 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49821 s,@LIBPREFIX@,$LIBPREFIX,;t t
49822 s,@LIBEXT@,$LIBEXT,;t t
49823 s,@DLLPREFIX@,$DLLPREFIX,;t t
49824 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49825 s,@dlldir@,$dlldir,;t t
49826 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49827 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49828 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49829 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49830 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49831 s,@PIC_FLAG@,$PIC_FLAG,;t t
49832 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49833 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49834 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49835 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49836 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49837 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49838 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49839 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49840 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49841 s,@GCC_PCH@,$GCC_PCH,;t t
49842 s,@ICC_PCH@,$ICC_PCH,;t t
49843 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49844 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49845 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49846 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49847 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49848 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49849 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49850 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49851 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49852 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49853 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49854 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49855 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49856 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49857 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49858 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49859 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49860 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49861 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49862 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49863 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
49864 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
49865 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
49866 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
49867 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49868 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49869 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49870 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49871 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49872 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
49873 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
49874 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
49875 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
49876 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49877 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49878 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49879 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49880 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49881 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49882 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49883 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49884 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49885 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49886 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49887 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49888 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49889 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49890 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49891 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49892 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49893 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
49894 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49895 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49896 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49897 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49898 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49899 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49900 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49901 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49902 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49903 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49904 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49905 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49906 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49907 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49908 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49909 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49910 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49911 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49912 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49913 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49914 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49915 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49916 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49917 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49918 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49919 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49920 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49921 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49922 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49923 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49924 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49925 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49926 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49927 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49928 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49929 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49930 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49931 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49932 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49933 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
49934 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49935 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49936 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49937 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49938 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49939 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49940 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49941 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49942 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49943 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49944 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49945 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49946 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49947 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49948 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49949 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49950 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49951 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49952 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49953 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49954 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49955 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49956 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49957 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49958 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49959 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49960 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49961 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49962 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49963 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49964 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49965 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49966 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49967 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49968 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49969 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49970 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49971 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49972 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49973 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49974 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49975 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49976 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49977 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49978 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49979 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49980 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49981 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49982 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49983 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49984 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49985 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49986 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49987 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49988 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49989 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49990 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49991 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49992 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49993 s,@SHARED@,$SHARED,;t t
49994 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49995 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49996 s,@USE_GUI@,$USE_GUI,;t t
49997 s,@AFMINSTALL@,$AFMINSTALL,;t t
49998 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49999 s,@TOOLKIT@,$TOOLKIT,;t t
50000 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50001 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50002 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50003 s,@cross_compiling@,$cross_compiling,;t t
50004 s,@WIDGET_SET@,$WIDGET_SET,;t t
50005 s,@WX_RELEASE@,$WX_RELEASE,;t t
50006 s,@WX_VERSION@,$WX_VERSION,;t t
50007 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50008 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50009 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50010 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50011 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50012 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50013 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50014 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50015 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50016 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50017 s,@EXE_LINKER@,$EXE_LINKER,;t t
50018 s,@GUIDIST@,$GUIDIST,;t t
50019 s,@DISTDIR@,$DISTDIR,;t t
50020 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50021 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50022 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50023 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50024 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50025 s,@RESCOMP@,$RESCOMP,;t t
50026 s,@RESFLAGS@,$RESFLAGS,;t t
50027 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50028 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50029 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50030 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50031 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50032 s,@MACSETFILE@,$MACSETFILE,;t t
50033 s,@GCC@,$GCC,;t t
50034 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50035 s,@LIBOBJS@,$LIBOBJS,;t t
50036 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50037 CEOF
50038
50039 _ACEOF
50040
50041 cat >>$CONFIG_STATUS <<\_ACEOF
50042 # Split the substitutions into bite-sized pieces for seds with
50043 # small command number limits, like on Digital OSF/1 and HP-UX.
50044 ac_max_sed_lines=48
50045 ac_sed_frag=1 # Number of current file.
50046 ac_beg=1 # First line for current file.
50047 ac_end=$ac_max_sed_lines # Line after last line for current file.
50048 ac_more_lines=:
50049 ac_sed_cmds=
50050 while $ac_more_lines; do
50051 if test $ac_beg -gt 1; then
50052 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50053 else
50054 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50055 fi
50056 if test ! -s $tmp/subs.frag; then
50057 ac_more_lines=false
50058 else
50059 # The purpose of the label and of the branching condition is to
50060 # speed up the sed processing (if there are no `@' at all, there
50061 # is no need to browse any of the substitutions).
50062 # These are the two extra sed commands mentioned above.
50063 (echo ':t
50064 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
50065 if test -z "$ac_sed_cmds"; then
50066 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
50067 else
50068 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50069 fi
50070 ac_sed_frag=`expr $ac_sed_frag + 1`
50071 ac_beg=$ac_end
50072 ac_end=`expr $ac_end + $ac_max_sed_lines`
50073 fi
50074 done
50075 if test -z "$ac_sed_cmds"; then
50076 ac_sed_cmds=cat
50077 fi
50078 fi # test -n "$CONFIG_FILES"
50079
50080 _ACEOF
50081 cat >>$CONFIG_STATUS <<\_ACEOF
50082 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
50083 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50084 case $ac_file in
50085 - | *:- | *:-:* ) # input from stdin
50086 cat >$tmp/stdin
50087 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50088 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50089 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50090 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50091 * ) ac_file_in=$ac_file.in ;;
50092 esac
50093
50094 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50095 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50096 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50097 X"$ac_file" : 'X\(//\)[^/]' \| \
50098 X"$ac_file" : 'X\(//\)$' \| \
50099 X"$ac_file" : 'X\(/\)' \| \
50100 . : '\(.\)' 2>/dev/null ||
50101 echo X"$ac_file" |
50102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50104 /^X\(\/\/\)$/{ s//\1/; q; }
50105 /^X\(\/\).*/{ s//\1/; q; }
50106 s/.*/./; q'`
50107 { if $as_mkdir_p; then
50108 mkdir -p "$ac_dir"
50109 else
50110 as_dir="$ac_dir"
50111 as_dirs=
50112 while test ! -d "$as_dir"; do
50113 as_dirs="$as_dir $as_dirs"
50114 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50115 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50116 X"$as_dir" : 'X\(//\)[^/]' \| \
50117 X"$as_dir" : 'X\(//\)$' \| \
50118 X"$as_dir" : 'X\(/\)' \| \
50119 . : '\(.\)' 2>/dev/null ||
50120 echo X"$as_dir" |
50121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50122 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50123 /^X\(\/\/\)$/{ s//\1/; q; }
50124 /^X\(\/\).*/{ s//\1/; q; }
50125 s/.*/./; q'`
50126 done
50127 test ! -n "$as_dirs" || mkdir $as_dirs
50128 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50129 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50130 { (exit 1); exit 1; }; }; }
50131
50132 ac_builddir=.
50133
50134 if test "$ac_dir" != .; then
50135 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50136 # A "../" for each directory in $ac_dir_suffix.
50137 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50138 else
50139 ac_dir_suffix= ac_top_builddir=
50140 fi
50141
50142 case $srcdir in
50143 .) # No --srcdir option. We are building in place.
50144 ac_srcdir=.
50145 if test -z "$ac_top_builddir"; then
50146 ac_top_srcdir=.
50147 else
50148 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50149 fi ;;
50150 [\\/]* | ?:[\\/]* ) # Absolute path.
50151 ac_srcdir=$srcdir$ac_dir_suffix;
50152 ac_top_srcdir=$srcdir ;;
50153 *) # Relative path.
50154 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50155 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50156 esac
50157
50158 # Do not use `cd foo && pwd` to compute absolute paths, because
50159 # the directories may not exist.
50160 case `pwd` in
50161 .) ac_abs_builddir="$ac_dir";;
50162 *)
50163 case "$ac_dir" in
50164 .) ac_abs_builddir=`pwd`;;
50165 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50166 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50167 esac;;
50168 esac
50169 case $ac_abs_builddir in
50170 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50171 *)
50172 case ${ac_top_builddir}. in
50173 .) ac_abs_top_builddir=$ac_abs_builddir;;
50174 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50175 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50176 esac;;
50177 esac
50178 case $ac_abs_builddir in
50179 .) ac_abs_srcdir=$ac_srcdir;;
50180 *)
50181 case $ac_srcdir in
50182 .) ac_abs_srcdir=$ac_abs_builddir;;
50183 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50184 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50185 esac;;
50186 esac
50187 case $ac_abs_builddir in
50188 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50189 *)
50190 case $ac_top_srcdir in
50191 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50192 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50193 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50194 esac;;
50195 esac
50196
50197
50198 case $INSTALL in
50199 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50200 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
50201 esac
50202
50203 if test x"$ac_file" != x-; then
50204 { echo "$as_me:$LINENO: creating $ac_file" >&5
50205 echo "$as_me: creating $ac_file" >&6;}
50206 rm -f "$ac_file"
50207 fi
50208 # Let's still pretend it is `configure' which instantiates (i.e., don't
50209 # use $as_me), people would be surprised to read:
50210 # /* config.h. Generated by config.status. */
50211 if test x"$ac_file" = x-; then
50212 configure_input=
50213 else
50214 configure_input="$ac_file. "
50215 fi
50216 configure_input=$configure_input"Generated from `echo $ac_file_in |
50217 sed 's,.*/,,'` by configure."
50218
50219 # First look for the input files in the build tree, otherwise in the
50220 # src tree.
50221 ac_file_inputs=`IFS=:
50222 for f in $ac_file_in; do
50223 case $f in
50224 -) echo $tmp/stdin ;;
50225 [\\/$]*)
50226 # Absolute (can't be DOS-style, as IFS=:)
50227 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50228 echo "$as_me: error: cannot find input file: $f" >&2;}
50229 { (exit 1); exit 1; }; }
50230 echo "$f";;
50231 *) # Relative
50232 if test -f "$f"; then
50233 # Build tree
50234 echo "$f"
50235 elif test -f "$srcdir/$f"; then
50236 # Source tree
50237 echo "$srcdir/$f"
50238 else
50239 # /dev/null tree
50240 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50241 echo "$as_me: error: cannot find input file: $f" >&2;}
50242 { (exit 1); exit 1; }; }
50243 fi;;
50244 esac
50245 done` || { (exit 1); exit 1; }
50246 _ACEOF
50247 cat >>$CONFIG_STATUS <<_ACEOF
50248 sed "$ac_vpsub
50249 $extrasub
50250 _ACEOF
50251 cat >>$CONFIG_STATUS <<\_ACEOF
50252 :t
50253 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50254 s,@configure_input@,$configure_input,;t t
50255 s,@srcdir@,$ac_srcdir,;t t
50256 s,@abs_srcdir@,$ac_abs_srcdir,;t t
50257 s,@top_srcdir@,$ac_top_srcdir,;t t
50258 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
50259 s,@builddir@,$ac_builddir,;t t
50260 s,@abs_builddir@,$ac_abs_builddir,;t t
50261 s,@top_builddir@,$ac_top_builddir,;t t
50262 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
50263 s,@INSTALL@,$ac_INSTALL,;t t
50264 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50265 rm -f $tmp/stdin
50266 if test x"$ac_file" != x-; then
50267 mv $tmp/out $ac_file
50268 else
50269 cat $tmp/out
50270 rm -f $tmp/out
50271 fi
50272
50273 # Run the commands associated with the file.
50274 case $ac_file in
50275 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50276 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50277 esac
50278 done
50279 _ACEOF
50280 cat >>$CONFIG_STATUS <<\_ACEOF
50281
50282 #
50283 # CONFIG_HEADER section.
50284 #
50285
50286 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
50287 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50288 #
50289 # ac_d sets the value in "#define NAME VALUE" lines.
50290 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50291 ac_dB='[ ].*$,\1#\2'
50292 ac_dC=' '
50293 ac_dD=',;t'
50294 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50295 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50296 ac_uB='$,\1#\2define\3'
50297 ac_uC=' '
50298 ac_uD=',;t'
50299
50300 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
50301 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50302 case $ac_file in
50303 - | *:- | *:-:* ) # input from stdin
50304 cat >$tmp/stdin
50305 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50306 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50307 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50308 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50309 * ) ac_file_in=$ac_file.in ;;
50310 esac
50311
50312 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50313 echo "$as_me: creating $ac_file" >&6;}
50314
50315 # First look for the input files in the build tree, otherwise in the
50316 # src tree.
50317 ac_file_inputs=`IFS=:
50318 for f in $ac_file_in; do
50319 case $f in
50320 -) echo $tmp/stdin ;;
50321 [\\/$]*)
50322 # Absolute (can't be DOS-style, as IFS=:)
50323 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50324 echo "$as_me: error: cannot find input file: $f" >&2;}
50325 { (exit 1); exit 1; }; }
50326 # Do quote $f, to prevent DOS paths from being IFS'd.
50327 echo "$f";;
50328 *) # Relative
50329 if test -f "$f"; then
50330 # Build tree
50331 echo "$f"
50332 elif test -f "$srcdir/$f"; then
50333 # Source tree
50334 echo "$srcdir/$f"
50335 else
50336 # /dev/null tree
50337 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50338 echo "$as_me: error: cannot find input file: $f" >&2;}
50339 { (exit 1); exit 1; }; }
50340 fi;;
50341 esac
50342 done` || { (exit 1); exit 1; }
50343 # Remove the trailing spaces.
50344 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50345
50346 _ACEOF
50347
50348 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50349 # `conftest.undefs', that substitutes the proper values into
50350 # config.h.in to produce config.h. The first handles `#define'
50351 # templates, and the second `#undef' templates.
50352 # And first: Protect against being on the right side of a sed subst in
50353 # config.status. Protect against being in an unquoted here document
50354 # in config.status.
50355 rm -f conftest.defines conftest.undefs
50356 # Using a here document instead of a string reduces the quoting nightmare.
50357 # Putting comments in sed scripts is not portable.
50358 #
50359 # `end' is used to avoid that the second main sed command (meant for
50360 # 0-ary CPP macros) applies to n-ary macro definitions.
50361 # See the Autoconf documentation for `clear'.
50362 cat >confdef2sed.sed <<\_ACEOF
50363 s/[\\&,]/\\&/g
50364 s,[\\$`],\\&,g
50365 t clear
50366 : clear
50367 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50368 t end
50369 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50370 : end
50371 _ACEOF
50372 # If some macros were called several times there might be several times
50373 # the same #defines, which is useless. Nevertheless, we may not want to
50374 # sort them, since we want the *last* AC-DEFINE to be honored.
50375 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50376 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50377 rm -f confdef2sed.sed
50378
50379 # This sed command replaces #undef with comments. This is necessary, for
50380 # example, in the case of _POSIX_SOURCE, which is predefined and required
50381 # on some systems where configure will not decide to define it.
50382 cat >>conftest.undefs <<\_ACEOF
50383 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50384 _ACEOF
50385
50386 # Break up conftest.defines because some shells have a limit on the size
50387 # of here documents, and old seds have small limits too (100 cmds).
50388 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50389 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50390 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50391 echo ' :' >>$CONFIG_STATUS
50392 rm -f conftest.tail
50393 while grep . conftest.defines >/dev/null
50394 do
50395 # Write a limited-size here document to $tmp/defines.sed.
50396 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50397 # Speed up: don't consider the non `#define' lines.
50398 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50399 # Work around the forget-to-reset-the-flag bug.
50400 echo 't clr' >>$CONFIG_STATUS
50401 echo ': clr' >>$CONFIG_STATUS
50402 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
50403 echo 'CEOF
50404 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50405 rm -f $tmp/in
50406 mv $tmp/out $tmp/in
50407 ' >>$CONFIG_STATUS
50408 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
50409 rm -f conftest.defines
50410 mv conftest.tail conftest.defines
50411 done
50412 rm -f conftest.defines
50413 echo ' fi # grep' >>$CONFIG_STATUS
50414 echo >>$CONFIG_STATUS
50415
50416 # Break up conftest.undefs because some shells have a limit on the size
50417 # of here documents, and old seds have small limits too (100 cmds).
50418 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50419 rm -f conftest.tail
50420 while grep . conftest.undefs >/dev/null
50421 do
50422 # Write a limited-size here document to $tmp/undefs.sed.
50423 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50424 # Speed up: don't consider the non `#undef'
50425 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50426 # Work around the forget-to-reset-the-flag bug.
50427 echo 't clr' >>$CONFIG_STATUS
50428 echo ': clr' >>$CONFIG_STATUS
50429 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50430 echo 'CEOF
50431 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50432 rm -f $tmp/in
50433 mv $tmp/out $tmp/in
50434 ' >>$CONFIG_STATUS
50435 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50436 rm -f conftest.undefs
50437 mv conftest.tail conftest.undefs
50438 done
50439 rm -f conftest.undefs
50440
50441 cat >>$CONFIG_STATUS <<\_ACEOF
50442 # Let's still pretend it is `configure' which instantiates (i.e., don't
50443 # use $as_me), people would be surprised to read:
50444 # /* config.h. Generated by config.status. */
50445 if test x"$ac_file" = x-; then
50446 echo "/* Generated by configure. */" >$tmp/config.h
50447 else
50448 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50449 fi
50450 cat $tmp/in >>$tmp/config.h
50451 rm -f $tmp/in
50452 if test x"$ac_file" != x-; then
50453 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
50454 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50455 echo "$as_me: $ac_file is unchanged" >&6;}
50456 else
50457 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50458 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50459 X"$ac_file" : 'X\(//\)[^/]' \| \
50460 X"$ac_file" : 'X\(//\)$' \| \
50461 X"$ac_file" : 'X\(/\)' \| \
50462 . : '\(.\)' 2>/dev/null ||
50463 echo X"$ac_file" |
50464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50465 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50466 /^X\(\/\/\)$/{ s//\1/; q; }
50467 /^X\(\/\).*/{ s//\1/; q; }
50468 s/.*/./; q'`
50469 { if $as_mkdir_p; then
50470 mkdir -p "$ac_dir"
50471 else
50472 as_dir="$ac_dir"
50473 as_dirs=
50474 while test ! -d "$as_dir"; do
50475 as_dirs="$as_dir $as_dirs"
50476 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50477 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50478 X"$as_dir" : 'X\(//\)[^/]' \| \
50479 X"$as_dir" : 'X\(//\)$' \| \
50480 X"$as_dir" : 'X\(/\)' \| \
50481 . : '\(.\)' 2>/dev/null ||
50482 echo X"$as_dir" |
50483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50484 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50485 /^X\(\/\/\)$/{ s//\1/; q; }
50486 /^X\(\/\).*/{ s//\1/; q; }
50487 s/.*/./; q'`
50488 done
50489 test ! -n "$as_dirs" || mkdir $as_dirs
50490 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50491 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50492 { (exit 1); exit 1; }; }; }
50493
50494 rm -f $ac_file
50495 mv $tmp/config.h $ac_file
50496 fi
50497 else
50498 cat $tmp/config.h
50499 rm -f $tmp/config.h
50500 fi
50501 done
50502 _ACEOF
50503 cat >>$CONFIG_STATUS <<\_ACEOF
50504
50505 #
50506 # CONFIG_COMMANDS section.
50507 #
50508 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
50509 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
50510 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
50511 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
50512 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50513 X"$ac_dest" : 'X\(//\)[^/]' \| \
50514 X"$ac_dest" : 'X\(//\)$' \| \
50515 X"$ac_dest" : 'X\(/\)' \| \
50516 . : '\(.\)' 2>/dev/null ||
50517 echo X"$ac_dest" |
50518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50519 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50520 /^X\(\/\/\)$/{ s//\1/; q; }
50521 /^X\(\/\).*/{ s//\1/; q; }
50522 s/.*/./; q'`
50523 { if $as_mkdir_p; then
50524 mkdir -p "$ac_dir"
50525 else
50526 as_dir="$ac_dir"
50527 as_dirs=
50528 while test ! -d "$as_dir"; do
50529 as_dirs="$as_dir $as_dirs"
50530 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50531 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50532 X"$as_dir" : 'X\(//\)[^/]' \| \
50533 X"$as_dir" : 'X\(//\)$' \| \
50534 X"$as_dir" : 'X\(/\)' \| \
50535 . : '\(.\)' 2>/dev/null ||
50536 echo X"$as_dir" |
50537 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50538 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50539 /^X\(\/\/\)$/{ s//\1/; q; }
50540 /^X\(\/\).*/{ s//\1/; q; }
50541 s/.*/./; q'`
50542 done
50543 test ! -n "$as_dirs" || mkdir $as_dirs
50544 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50545 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50546 { (exit 1); exit 1; }; }; }
50547
50548 ac_builddir=.
50549
50550 if test "$ac_dir" != .; then
50551 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50552 # A "../" for each directory in $ac_dir_suffix.
50553 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50554 else
50555 ac_dir_suffix= ac_top_builddir=
50556 fi
50557
50558 case $srcdir in
50559 .) # No --srcdir option. We are building in place.
50560 ac_srcdir=.
50561 if test -z "$ac_top_builddir"; then
50562 ac_top_srcdir=.
50563 else
50564 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50565 fi ;;
50566 [\\/]* | ?:[\\/]* ) # Absolute path.
50567 ac_srcdir=$srcdir$ac_dir_suffix;
50568 ac_top_srcdir=$srcdir ;;
50569 *) # Relative path.
50570 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50571 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50572 esac
50573
50574 # Do not use `cd foo && pwd` to compute absolute paths, because
50575 # the directories may not exist.
50576 case `pwd` in
50577 .) ac_abs_builddir="$ac_dir";;
50578 *)
50579 case "$ac_dir" in
50580 .) ac_abs_builddir=`pwd`;;
50581 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50582 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50583 esac;;
50584 esac
50585 case $ac_abs_builddir in
50586 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50587 *)
50588 case ${ac_top_builddir}. in
50589 .) ac_abs_top_builddir=$ac_abs_builddir;;
50590 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50591 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50592 esac;;
50593 esac
50594 case $ac_abs_builddir in
50595 .) ac_abs_srcdir=$ac_srcdir;;
50596 *)
50597 case $ac_srcdir in
50598 .) ac_abs_srcdir=$ac_abs_builddir;;
50599 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50600 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50601 esac;;
50602 esac
50603 case $ac_abs_builddir in
50604 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50605 *)
50606 case $ac_top_srcdir in
50607 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50608 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50609 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50610 esac;;
50611 esac
50612
50613
50614 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50615 echo "$as_me: executing $ac_dest commands" >&6;}
50616 case $ac_dest in
50617 rcdefs.h )
50618 mkdir -p $outdir &&
50619 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50620 ;;
50621 wx-config ) rm -f wx-config
50622 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50623 ;;
50624 esac
50625 done
50626 _ACEOF
50627
50628 cat >>$CONFIG_STATUS <<\_ACEOF
50629
50630 { (exit 0); exit 0; }
50631 _ACEOF
50632 chmod +x $CONFIG_STATUS
50633 ac_clean_files=$ac_clean_files_save
50634
50635
50636 # configure is writing to config.log, and then calls config.status.
50637 # config.status does its own redirection, appending to config.log.
50638 # Unfortunately, on DOS this fails, as config.log is still kept open
50639 # by configure, so config.status won't be able to write to it; its
50640 # output is simply discarded. So we exec the FD to /dev/null,
50641 # effectively closing config.log, so it can be properly (re)opened and
50642 # appended to by config.status. When coming back to configure, we
50643 # need to make the FD available again.
50644 if test "$no_create" != yes; then
50645 ac_cs_success=:
50646 ac_config_status_args=
50647 test "$silent" = yes &&
50648 ac_config_status_args="$ac_config_status_args --quiet"
50649 exec 5>/dev/null
50650 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50651 exec 5>>config.log
50652 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50653 # would make configure fail if this is the last instruction.
50654 $ac_cs_success || { (exit 1); exit 1; }
50655 fi
50656
50657 #
50658 # CONFIG_SUBDIRS section.
50659 #
50660 if test "$no_recursion" != yes; then
50661
50662 # Remove --cache-file and --srcdir arguments so they do not pile up.
50663 ac_sub_configure_args=
50664 ac_prev=
50665 for ac_arg in $ac_configure_args; do
50666 if test -n "$ac_prev"; then
50667 ac_prev=
50668 continue
50669 fi
50670 case $ac_arg in
50671 -cache-file | --cache-file | --cache-fil | --cache-fi \
50672 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50673 ac_prev=cache_file ;;
50674 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50675 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50676 | --c=*)
50677 ;;
50678 --config-cache | -C)
50679 ;;
50680 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50681 ac_prev=srcdir ;;
50682 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50683 ;;
50684 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50685 ac_prev=prefix ;;
50686 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50687 ;;
50688 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
50689 esac
50690 done
50691
50692 # Always prepend --prefix to ensure using the same prefix
50693 # in subdir configurations.
50694 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
50695
50696 ac_popdir=`pwd`
50697 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50698
50699 # Do not complain, so a configure script can configure whichever
50700 # parts of a large source tree are present.
50701 test -d $srcdir/$ac_dir || continue
50702
50703 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50704 echo "$as_me: configuring in $ac_dir" >&6;}
50705 { if $as_mkdir_p; then
50706 mkdir -p "$ac_dir"
50707 else
50708 as_dir="$ac_dir"
50709 as_dirs=
50710 while test ! -d "$as_dir"; do
50711 as_dirs="$as_dir $as_dirs"
50712 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50713 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50714 X"$as_dir" : 'X\(//\)[^/]' \| \
50715 X"$as_dir" : 'X\(//\)$' \| \
50716 X"$as_dir" : 'X\(/\)' \| \
50717 . : '\(.\)' 2>/dev/null ||
50718 echo X"$as_dir" |
50719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50721 /^X\(\/\/\)$/{ s//\1/; q; }
50722 /^X\(\/\).*/{ s//\1/; q; }
50723 s/.*/./; q'`
50724 done
50725 test ! -n "$as_dirs" || mkdir $as_dirs
50726 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50727 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50728 { (exit 1); exit 1; }; }; }
50729
50730 ac_builddir=.
50731
50732 if test "$ac_dir" != .; then
50733 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50734 # A "../" for each directory in $ac_dir_suffix.
50735 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50736 else
50737 ac_dir_suffix= ac_top_builddir=
50738 fi
50739
50740 case $srcdir in
50741 .) # No --srcdir option. We are building in place.
50742 ac_srcdir=.
50743 if test -z "$ac_top_builddir"; then
50744 ac_top_srcdir=.
50745 else
50746 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50747 fi ;;
50748 [\\/]* | ?:[\\/]* ) # Absolute path.
50749 ac_srcdir=$srcdir$ac_dir_suffix;
50750 ac_top_srcdir=$srcdir ;;
50751 *) # Relative path.
50752 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50753 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50754 esac
50755
50756 # Do not use `cd foo && pwd` to compute absolute paths, because
50757 # the directories may not exist.
50758 case `pwd` in
50759 .) ac_abs_builddir="$ac_dir";;
50760 *)
50761 case "$ac_dir" in
50762 .) ac_abs_builddir=`pwd`;;
50763 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50764 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50765 esac;;
50766 esac
50767 case $ac_abs_builddir in
50768 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50769 *)
50770 case ${ac_top_builddir}. in
50771 .) ac_abs_top_builddir=$ac_abs_builddir;;
50772 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50773 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50774 esac;;
50775 esac
50776 case $ac_abs_builddir in
50777 .) ac_abs_srcdir=$ac_srcdir;;
50778 *)
50779 case $ac_srcdir in
50780 .) ac_abs_srcdir=$ac_abs_builddir;;
50781 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50782 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50783 esac;;
50784 esac
50785 case $ac_abs_builddir in
50786 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50787 *)
50788 case $ac_top_srcdir in
50789 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50790 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50791 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50792 esac;;
50793 esac
50794
50795
50796 cd $ac_dir
50797
50798 # Check for guested configure; otherwise get Cygnus style configure.
50799 if test -f $ac_srcdir/configure.gnu; then
50800 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
50801 elif test -f $ac_srcdir/configure; then
50802 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
50803 elif test -f $ac_srcdir/configure.in; then
50804 ac_sub_configure=$ac_configure
50805 else
50806 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50807 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50808 ac_sub_configure=
50809 fi
50810
50811 # The recursion is here.
50812 if test -n "$ac_sub_configure"; then
50813 # Make the cache file name correct relative to the subdirectory.
50814 case $cache_file in
50815 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50816 *) # Relative path.
50817 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
50818 esac
50819
50820 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50821 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50822 # The eval makes quoting arguments work.
50823 eval $ac_sub_configure $ac_sub_configure_args \
50824 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50825 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50826 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50827 { (exit 1); exit 1; }; }
50828 fi
50829
50830 cd $ac_popdir
50831 done
50832 fi
50833
50834
50835 echo
50836 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50837 echo ""
50838 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50839 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50840
50841 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50842 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50843 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50844
50845 echo " What level of wxWidgets compatibility should be enabled?"
50846 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50847 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50848
50849 echo " Which libraries should wxWidgets use?"
50850 echo " jpeg ${wxUSE_LIBJPEG-none}"
50851 echo " png ${wxUSE_LIBPNG-none}"
50852 echo " regex ${wxUSE_REGEX}"
50853 echo " tiff ${wxUSE_LIBTIFF-none}"
50854 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50855 echo " xpm ${wxUSE_LIBXPM-none}"
50856 fi
50857 echo " zlib ${wxUSE_ZLIB}"
50858 echo " odbc ${wxUSE_ODBC}"
50859 echo " expat ${wxUSE_EXPAT}"
50860 echo " libmspack ${wxUSE_LIBMSPACK}"
50861 echo " sdl ${wxUSE_LIBSDL}"
50862 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50863 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50864 echo " hildon ${wxUSE_LIBHILDON-none}"
50865
50866 echo ""
50867